swagger.yaml 1.1 MB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758187591876018761187621876318764187651876618767187681876918770187711877218773187741877518776187771877818779187801878118782187831878418785187861878718788187891879018791187921879318794187951879618797187981879918800188011880218803188041880518806188071880818809188101881118812188131881418815188161881718818188191882018821188221882318824188251882618827188281882918830188311883218833188341883518836188371883818839188401884118842188431884418845188461884718848188491885018851188521885318854188551885618857188581885918860188611886218863188641886518866188671886818869188701887118872188731887418875188761887718878188791888018881188821888318884188851888618887188881888918890188911889218893188941889518896188971889818899189001890118902189031890418905189061890718908189091891018911189121891318914189151891618917189181891918920189211892218923189241892518926189271892818929189301893118932189331893418935189361893718938189391894018941189421894318944189451894618947189481894918950189511895218953189541895518956189571895818959189601896118962189631896418965189661896718968189691897018971189721897318974189751897618977189781897918980189811898218983189841898518986189871898818989189901899118992189931899418995189961899718998189991900019001190021900319004190051900619007190081900919010190111901219013190141901519016190171901819019190201902119022190231902419025190261902719028190291903019031190321903319034190351903619037190381903919040190411904219043190441904519046190471904819049190501905119052190531905419055190561905719058190591906019061190621906319064190651906619067190681906919070190711907219073190741907519076190771907819079190801908119082190831908419085190861908719088190891909019091190921909319094190951909619097190981909919100191011910219103191041910519106191071910819109191101911119112191131911419115191161911719118191191912019121191221912319124191251912619127191281912919130191311913219133191341913519136191371913819139191401914119142191431914419145191461914719148191491915019151191521915319154191551915619157191581915919160191611916219163191641916519166191671916819169191701917119172191731917419175191761917719178191791918019181191821918319184191851918619187191881918919190191911919219193191941919519196191971919819199192001920119202192031920419205192061920719208192091921019211192121921319214192151921619217192181921919220192211922219223192241922519226192271922819229192301923119232192331923419235192361923719238192391924019241192421924319244192451924619247192481924919250192511925219253192541925519256192571925819259192601926119262192631926419265192661926719268192691927019271192721927319274192751927619277192781927919280192811928219283192841928519286192871928819289192901929119292192931929419295192961929719298192991930019301193021930319304193051930619307193081930919310193111931219313193141931519316193171931819319193201932119322193231932419325193261932719328193291933019331193321933319334193351933619337193381933919340193411934219343193441934519346193471934819349193501935119352193531935419355193561935719358193591936019361193621936319364193651936619367193681936919370193711937219373193741937519376193771937819379193801938119382193831938419385193861938719388193891939019391193921939319394193951939619397193981939919400194011940219403194041940519406194071940819409194101941119412194131941419415194161941719418194191942019421194221942319424194251942619427194281942919430194311943219433194341943519436194371943819439194401944119442194431944419445194461944719448194491945019451194521945319454194551945619457194581945919460194611946219463194641946519466194671946819469194701947119472194731947419475194761947719478194791948019481194821948319484194851948619487194881948919490194911949219493194941949519496194971949819499195001950119502195031950419505195061950719508195091951019511195121951319514195151951619517195181951919520195211952219523195241952519526195271952819529195301953119532195331953419535195361953719538195391954019541195421954319544195451954619547195481954919550195511955219553195541955519556195571955819559195601956119562195631956419565195661956719568195691957019571195721957319574195751957619577195781957919580195811958219583195841958519586195871958819589195901959119592195931959419595195961959719598195991960019601196021960319604196051960619607196081960919610196111961219613196141961519616196171961819619196201962119622196231962419625196261962719628196291963019631196321963319634196351963619637196381963919640196411964219643196441964519646196471964819649196501965119652196531965419655196561965719658196591966019661196621966319664196651966619667196681966919670196711967219673196741967519676196771967819679196801968119682196831968419685196861968719688196891969019691196921969319694196951969619697196981969919700197011970219703197041970519706197071970819709197101971119712197131971419715197161971719718197191972019721197221972319724197251972619727197281972919730197311973219733197341973519736197371973819739197401974119742197431974419745197461974719748197491975019751197521975319754197551975619757197581975919760197611976219763197641976519766197671976819769197701977119772197731977419775197761977719778197791978019781197821978319784197851978619787197881978919790197911979219793197941979519796197971979819799198001980119802198031980419805198061980719808198091981019811198121981319814198151981619817198181981919820198211982219823198241982519826198271982819829198301983119832198331983419835198361983719838198391984019841198421984319844198451984619847198481984919850198511985219853198541985519856198571985819859198601986119862198631986419865198661986719868198691987019871198721987319874198751987619877198781987919880198811988219883198841988519886198871988819889198901989119892198931989419895198961989719898198991990019901199021990319904199051990619907199081990919910199111991219913199141991519916199171991819919199201992119922199231992419925199261992719928199291993019931199321993319934199351993619937199381993919940199411994219943199441994519946199471994819949199501995119952199531995419955199561995719958199591996019961199621996319964199651996619967199681996919970199711997219973199741997519976199771997819979199801998119982199831998419985199861998719988199891999019991199921999319994199951999619997199981999920000200012000220003200042000520006200072000820009200102001120012200132001420015200162001720018200192002020021200222002320024200252002620027200282002920030200312003220033200342003520036200372003820039200402004120042200432004420045200462004720048200492005020051200522005320054200552005620057200582005920060200612006220063200642006520066200672006820069200702007120072200732007420075200762007720078200792008020081200822008320084200852008620087200882008920090200912009220093200942009520096200972009820099201002010120102201032010420105201062010720108201092011020111201122011320114201152011620117201182011920120201212012220123201242012520126201272012820129201302013120132201332013420135201362013720138201392014020141201422014320144201452014620147201482014920150201512015220153201542015520156201572015820159201602016120162201632016420165201662016720168201692017020171201722017320174201752017620177201782017920180201812018220183201842018520186201872018820189201902019120192201932019420195201962019720198201992020020201202022020320204202052020620207202082020920210202112021220213202142021520216202172021820219202202022120222202232022420225202262022720228202292023020231202322023320234202352023620237202382023920240202412024220243202442024520246202472024820249202502025120252202532025420255202562025720258202592026020261202622026320264202652026620267202682026920270202712027220273202742027520276202772027820279202802028120282202832028420285202862028720288202892029020291202922029320294202952029620297202982029920300203012030220303203042030520306203072030820309203102031120312203132031420315203162031720318203192032020321203222032320324203252032620327203282032920330203312033220333203342033520336203372033820339203402034120342203432034420345203462034720348203492035020351203522035320354203552035620357203582035920360203612036220363203642036520366203672036820369203702037120372203732037420375203762037720378203792038020381203822038320384203852038620387203882038920390203912039220393203942039520396203972039820399204002040120402204032040420405204062040720408204092041020411204122041320414204152041620417204182041920420204212042220423204242042520426204272042820429204302043120432204332043420435204362043720438204392044020441204422044320444204452044620447204482044920450204512045220453204542045520456204572045820459204602046120462204632046420465204662046720468204692047020471204722047320474204752047620477204782047920480204812048220483204842048520486204872048820489204902049120492204932049420495204962049720498204992050020501205022050320504205052050620507205082050920510205112051220513205142051520516205172051820519205202052120522205232052420525205262052720528205292053020531205322053320534205352053620537205382053920540205412054220543205442054520546205472054820549205502055120552205532055420555205562055720558205592056020561205622056320564205652056620567205682056920570205712057220573205742057520576205772057820579205802058120582205832058420585205862058720588205892059020591205922059320594205952059620597205982059920600206012060220603206042060520606206072060820609206102061120612206132061420615206162061720618206192062020621206222062320624206252062620627206282062920630206312063220633206342063520636206372063820639206402064120642206432064420645206462064720648206492065020651206522065320654206552065620657206582065920660206612066220663206642066520666206672066820669206702067120672206732067420675206762067720678206792068020681206822068320684206852068620687206882068920690206912069220693206942069520696206972069820699207002070120702207032070420705207062070720708207092071020711207122071320714207152071620717207182071920720207212072220723207242072520726207272072820729207302073120732207332073420735207362073720738207392074020741207422074320744207452074620747207482074920750207512075220753207542075520756207572075820759207602076120762207632076420765207662076720768207692077020771207722077320774207752077620777207782077920780207812078220783207842078520786207872078820789207902079120792207932079420795207962079720798207992080020801208022080320804208052080620807208082080920810208112081220813208142081520816208172081820819208202082120822208232082420825208262082720828208292083020831208322083320834208352083620837208382083920840208412084220843208442084520846208472084820849208502085120852208532085420855208562085720858208592086020861208622086320864208652086620867208682086920870208712087220873208742087520876208772087820879208802088120882208832088420885208862088720888208892089020891208922089320894208952089620897208982089920900209012090220903209042090520906209072090820909209102091120912209132091420915209162091720918209192092020921209222092320924209252092620927209282092920930209312093220933209342093520936209372093820939209402094120942209432094420945209462094720948209492095020951209522095320954209552095620957209582095920960209612096220963209642096520966209672096820969209702097120972209732097420975209762097720978209792098020981209822098320984209852098620987209882098920990209912099220993209942099520996209972099820999210002100121002210032100421005210062100721008210092101021011210122101321014210152101621017210182101921020210212102221023210242102521026210272102821029210302103121032210332103421035210362103721038210392104021041210422104321044210452104621047210482104921050210512105221053210542105521056210572105821059210602106121062210632106421065210662106721068210692107021071210722107321074210752107621077210782107921080210812108221083210842108521086210872108821089210902109121092210932109421095210962109721098210992110021101211022110321104211052110621107211082110921110211112111221113211142111521116211172111821119211202112121122211232112421125211262112721128211292113021131211322113321134211352113621137211382113921140211412114221143211442114521146211472114821149211502115121152211532115421155211562115721158211592116021161211622116321164211652116621167211682116921170211712117221173211742117521176211772117821179211802118121182211832118421185211862118721188211892119021191211922119321194211952119621197211982119921200212012120221203212042120521206212072120821209212102121121212212132121421215212162121721218212192122021221212222122321224212252122621227212282122921230212312123221233212342123521236212372123821239212402124121242212432124421245212462124721248212492125021251212522125321254212552125621257212582125921260212612126221263212642126521266212672126821269212702127121272212732127421275212762127721278212792128021281212822128321284212852128621287212882128921290212912129221293212942129521296212972129821299213002130121302213032130421305213062130721308213092131021311213122131321314213152131621317213182131921320213212132221323213242132521326213272132821329213302133121332213332133421335213362133721338213392134021341213422134321344213452134621347213482134921350213512135221353213542135521356213572135821359213602136121362213632136421365213662136721368213692137021371213722137321374213752137621377213782137921380213812138221383213842138521386213872138821389213902139121392213932139421395213962139721398213992140021401214022140321404214052140621407214082140921410214112141221413214142141521416214172141821419214202142121422214232142421425214262142721428214292143021431214322143321434214352143621437214382143921440214412144221443214442144521446214472144821449214502145121452214532145421455214562145721458214592146021461214622146321464214652146621467214682146921470214712147221473214742147521476214772147821479214802148121482214832148421485214862148721488214892149021491214922149321494214952149621497214982149921500215012150221503215042150521506215072150821509215102151121512215132151421515215162151721518215192152021521215222152321524215252152621527215282152921530215312153221533215342153521536215372153821539215402154121542215432154421545215462154721548215492155021551215522155321554215552155621557215582155921560215612156221563215642156521566215672156821569215702157121572215732157421575215762157721578215792158021581215822158321584215852158621587215882158921590215912159221593215942159521596215972159821599216002160121602216032160421605216062160721608216092161021611216122161321614216152161621617216182161921620216212162221623216242162521626216272162821629216302163121632216332163421635216362163721638216392164021641216422164321644216452164621647216482164921650216512165221653216542165521656216572165821659216602166121662216632166421665216662166721668216692167021671216722167321674216752167621677216782167921680216812168221683216842168521686216872168821689216902169121692216932169421695216962169721698216992170021701217022170321704217052170621707217082170921710217112171221713217142171521716217172171821719217202172121722217232172421725217262172721728217292173021731217322173321734217352173621737217382173921740217412174221743217442174521746217472174821749217502175121752217532175421755217562175721758217592176021761217622176321764217652176621767217682176921770217712177221773217742177521776217772177821779217802178121782217832178421785217862178721788217892179021791217922179321794217952179621797217982179921800218012180221803218042180521806218072180821809218102181121812218132181421815218162181721818218192182021821218222182321824218252182621827218282182921830218312183221833218342183521836218372183821839218402184121842218432184421845218462184721848218492185021851218522185321854218552185621857218582185921860218612186221863218642186521866218672186821869218702187121872218732187421875218762187721878218792188021881218822188321884218852188621887218882188921890218912189221893218942189521896218972189821899219002190121902219032190421905219062190721908219092191021911219122191321914219152191621917219182191921920219212192221923219242192521926219272192821929219302193121932219332193421935219362193721938219392194021941219422194321944219452194621947219482194921950219512195221953219542195521956219572195821959219602196121962219632196421965219662196721968219692197021971219722197321974219752197621977219782197921980219812198221983219842198521986219872198821989219902199121992219932199421995219962199721998219992200022001220022200322004220052200622007220082200922010220112201222013220142201522016220172201822019220202202122022220232202422025220262202722028220292203022031220322203322034220352203622037220382203922040220412204222043220442204522046220472204822049220502205122052220532205422055220562205722058220592206022061220622206322064220652206622067220682206922070220712207222073220742207522076220772207822079220802208122082220832208422085220862208722088220892209022091220922209322094220952209622097220982209922100221012210222103221042210522106221072210822109221102211122112221132211422115221162211722118221192212022121221222212322124221252212622127221282212922130221312213222133221342213522136221372213822139221402214122142221432214422145221462214722148221492215022151221522215322154221552215622157221582215922160221612216222163221642216522166221672216822169221702217122172221732217422175221762217722178221792218022181221822218322184221852218622187221882218922190221912219222193221942219522196221972219822199222002220122202222032220422205222062220722208222092221022211222122221322214222152221622217222182221922220222212222222223222242222522226222272222822229222302223122232222332223422235222362223722238222392224022241222422224322244222452224622247222482224922250222512225222253222542225522256222572225822259222602226122262222632226422265222662226722268222692227022271222722227322274222752227622277222782227922280222812228222283222842228522286222872228822289222902229122292222932229422295222962229722298222992230022301223022230322304223052230622307223082230922310223112231222313223142231522316223172231822319223202232122322223232232422325223262232722328223292233022331223322233322334223352233622337223382233922340223412234222343223442234522346223472234822349223502235122352223532235422355223562235722358223592236022361223622236322364223652236622367223682236922370223712237222373223742237522376223772237822379223802238122382223832238422385223862238722388223892239022391223922239322394223952239622397223982239922400224012240222403224042240522406224072240822409224102241122412224132241422415224162241722418224192242022421224222242322424224252242622427224282242922430224312243222433224342243522436224372243822439224402244122442224432244422445224462244722448224492245022451224522245322454224552245622457224582245922460224612246222463224642246522466224672246822469224702247122472224732247422475224762247722478224792248022481224822248322484224852248622487224882248922490224912249222493224942249522496224972249822499225002250122502225032250422505225062250722508225092251022511225122251322514225152251622517225182251922520225212252222523225242252522526225272252822529225302253122532225332253422535225362253722538225392254022541225422254322544225452254622547225482254922550225512255222553225542255522556225572255822559225602256122562225632256422565225662256722568225692257022571225722257322574225752257622577225782257922580225812258222583225842258522586225872258822589225902259122592225932259422595225962259722598225992260022601226022260322604226052260622607226082260922610226112261222613226142261522616226172261822619226202262122622226232262422625226262262722628226292263022631226322263322634226352263622637226382263922640226412264222643226442264522646226472264822649226502265122652226532265422655226562265722658226592266022661226622266322664226652266622667226682266922670226712267222673226742267522676226772267822679226802268122682226832268422685226862268722688226892269022691226922269322694226952269622697226982269922700227012270222703227042270522706227072270822709227102271122712227132271422715227162271722718227192272022721227222272322724227252272622727227282272922730227312273222733227342273522736227372273822739227402274122742227432274422745227462274722748227492275022751227522275322754227552275622757227582275922760227612276222763227642276522766227672276822769227702277122772227732277422775227762277722778227792278022781227822278322784227852278622787227882278922790227912279222793227942279522796227972279822799228002280122802228032280422805228062280722808228092281022811228122281322814228152281622817228182281922820228212282222823228242282522826228272282822829228302283122832228332283422835228362283722838228392284022841228422284322844228452284622847228482284922850228512285222853228542285522856228572285822859228602286122862228632286422865228662286722868228692287022871228722287322874228752287622877228782287922880228812288222883228842288522886228872288822889228902289122892228932289422895228962289722898228992290022901229022290322904229052290622907229082290922910229112291222913229142291522916229172291822919229202292122922229232292422925229262292722928229292293022931229322293322934229352293622937229382293922940229412294222943229442294522946229472294822949229502295122952229532295422955229562295722958229592296022961229622296322964229652296622967229682296922970229712297222973229742297522976229772297822979229802298122982229832298422985229862298722988229892299022991229922299322994229952299622997229982299923000230012300223003230042300523006230072300823009230102301123012230132301423015230162301723018230192302023021230222302323024230252302623027230282302923030230312303223033230342303523036230372303823039230402304123042230432304423045230462304723048230492305023051230522305323054230552305623057230582305923060230612306223063230642306523066230672306823069230702307123072230732307423075230762307723078230792308023081230822308323084230852308623087230882308923090230912309223093230942309523096230972309823099231002310123102231032310423105231062310723108231092311023111231122311323114231152311623117231182311923120231212312223123231242312523126231272312823129231302313123132231332313423135231362313723138231392314023141231422314323144231452314623147231482314923150231512315223153231542315523156231572315823159231602316123162231632316423165231662316723168231692317023171231722317323174231752317623177231782317923180231812318223183231842318523186231872318823189231902319123192231932319423195231962319723198231992320023201232022320323204232052320623207232082320923210232112321223213232142321523216232172321823219232202322123222232232322423225232262322723228232292323023231232322323323234232352323623237232382323923240232412324223243232442324523246232472324823249232502325123252232532325423255232562325723258232592326023261232622326323264232652326623267232682326923270232712327223273232742327523276232772327823279232802328123282232832328423285232862328723288232892329023291232922329323294232952329623297232982329923300233012330223303233042330523306233072330823309233102331123312233132331423315233162331723318233192332023321233222332323324233252332623327233282332923330233312333223333233342333523336233372333823339233402334123342233432334423345233462334723348233492335023351233522335323354233552335623357233582335923360233612336223363233642336523366233672336823369233702337123372233732337423375233762337723378233792338023381233822338323384233852338623387233882338923390233912339223393233942339523396233972339823399234002340123402234032340423405234062340723408234092341023411234122341323414234152341623417234182341923420234212342223423234242342523426234272342823429234302343123432234332343423435234362343723438234392344023441234422344323444234452344623447234482344923450234512345223453234542345523456234572345823459234602346123462234632346423465234662346723468234692347023471234722347323474234752347623477234782347923480234812348223483234842348523486234872348823489234902349123492234932349423495234962349723498234992350023501235022350323504235052350623507235082350923510235112351223513235142351523516235172351823519235202352123522235232352423525235262352723528235292353023531235322353323534235352353623537235382353923540235412354223543235442354523546235472354823549235502355123552235532355423555235562355723558235592356023561235622356323564235652356623567235682356923570235712357223573235742357523576235772357823579235802358123582235832358423585235862358723588235892359023591235922359323594235952359623597235982359923600236012360223603236042360523606236072360823609236102361123612236132361423615236162361723618236192362023621236222362323624236252362623627236282362923630236312363223633236342363523636236372363823639236402364123642236432364423645236462364723648236492365023651236522365323654236552365623657236582365923660236612366223663236642366523666236672366823669236702367123672236732367423675236762367723678236792368023681236822368323684236852368623687236882368923690236912369223693236942369523696236972369823699237002370123702237032370423705237062370723708237092371023711237122371323714237152371623717237182371923720237212372223723237242372523726237272372823729237302373123732237332373423735237362373723738237392374023741237422374323744237452374623747237482374923750237512375223753237542375523756237572375823759237602376123762237632376423765237662376723768237692377023771237722377323774237752377623777237782377923780237812378223783237842378523786237872378823789237902379123792237932379423795237962379723798237992380023801238022380323804238052380623807238082380923810238112381223813238142381523816238172381823819238202382123822238232382423825238262382723828238292383023831238322383323834238352383623837238382383923840238412384223843238442384523846238472384823849238502385123852238532385423855238562385723858238592386023861238622386323864238652386623867238682386923870238712387223873238742387523876238772387823879238802388123882238832388423885238862388723888238892389023891238922389323894238952389623897238982389923900239012390223903239042390523906239072390823909239102391123912239132391423915239162391723918239192392023921239222392323924239252392623927239282392923930239312393223933239342393523936239372393823939239402394123942239432394423945239462394723948239492395023951239522395323954239552395623957239582395923960239612396223963239642396523966239672396823969239702397123972239732397423975239762397723978239792398023981239822398323984239852398623987239882398923990239912399223993239942399523996239972399823999240002400124002240032400424005240062400724008240092401024011240122401324014240152401624017240182401924020240212402224023240242402524026240272402824029240302403124032240332403424035240362403724038240392404024041240422404324044240452404624047240482404924050240512405224053240542405524056240572405824059240602406124062240632406424065240662406724068240692407024071240722407324074240752407624077240782407924080240812408224083240842408524086240872408824089240902409124092240932409424095240962409724098240992410024101241022410324104241052410624107241082410924110241112411224113241142411524116241172411824119241202412124122241232412424125241262412724128241292413024131241322413324134241352413624137241382413924140241412414224143241442414524146241472414824149241502415124152241532415424155241562415724158241592416024161241622416324164241652416624167241682416924170241712417224173241742417524176241772417824179241802418124182241832418424185241862418724188241892419024191241922419324194241952419624197241982419924200242012420224203242042420524206242072420824209242102421124212242132421424215242162421724218242192422024221242222422324224242252422624227242282422924230242312423224233242342423524236242372423824239242402424124242242432424424245242462424724248242492425024251242522425324254242552425624257242582425924260242612426224263242642426524266242672426824269242702427124272242732427424275242762427724278242792428024281242822428324284242852428624287242882428924290242912429224293242942429524296242972429824299243002430124302243032430424305243062430724308243092431024311243122431324314243152431624317243182431924320243212432224323243242432524326243272432824329243302433124332243332433424335243362433724338243392434024341243422434324344243452434624347243482434924350243512435224353243542435524356243572435824359243602436124362243632436424365243662436724368243692437024371243722437324374243752437624377243782437924380243812438224383243842438524386243872438824389243902439124392243932439424395243962439724398243992440024401244022440324404244052440624407244082440924410244112441224413244142441524416244172441824419244202442124422244232442424425244262442724428244292443024431244322443324434244352443624437244382443924440244412444224443244442444524446244472444824449244502445124452244532445424455244562445724458244592446024461244622446324464244652446624467244682446924470244712447224473244742447524476244772447824479244802448124482244832448424485244862448724488244892449024491244922449324494244952449624497244982449924500245012450224503245042450524506245072450824509245102451124512245132451424515245162451724518245192452024521245222452324524245252452624527245282452924530245312453224533245342453524536245372453824539245402454124542245432454424545245462454724548245492455024551245522455324554245552455624557245582455924560245612456224563245642456524566245672456824569245702457124572245732457424575245762457724578245792458024581245822458324584245852458624587245882458924590245912459224593245942459524596245972459824599246002460124602246032460424605246062460724608246092461024611246122461324614246152461624617246182461924620246212462224623246242462524626246272462824629246302463124632246332463424635246362463724638246392464024641246422464324644246452464624647246482464924650246512465224653246542465524656246572465824659246602466124662246632466424665246662466724668246692467024671246722467324674246752467624677246782467924680246812468224683246842468524686246872468824689246902469124692246932469424695246962469724698246992470024701247022470324704247052470624707247082470924710247112471224713247142471524716247172471824719247202472124722247232472424725247262472724728247292473024731247322473324734247352473624737247382473924740247412474224743247442474524746247472474824749247502475124752247532475424755247562475724758247592476024761247622476324764247652476624767247682476924770247712477224773247742477524776247772477824779247802478124782247832478424785247862478724788247892479024791247922479324794247952479624797247982479924800248012480224803248042480524806248072480824809248102481124812248132481424815248162481724818248192482024821248222482324824248252482624827248282482924830248312483224833248342483524836248372483824839248402484124842248432484424845248462484724848248492485024851248522485324854248552485624857248582485924860248612486224863248642486524866248672486824869248702487124872248732487424875248762487724878248792488024881248822488324884248852488624887248882488924890248912489224893248942489524896248972489824899249002490124902249032490424905249062490724908249092491024911249122491324914249152491624917249182491924920249212492224923249242492524926249272492824929249302493124932249332493424935249362493724938249392494024941249422494324944249452494624947249482494924950249512495224953249542495524956249572495824959249602496124962249632496424965249662496724968249692497024971249722497324974249752497624977249782497924980249812498224983249842498524986249872498824989249902499124992249932499424995249962499724998249992500025001250022500325004250052500625007250082500925010250112501225013250142501525016250172501825019250202502125022250232502425025250262502725028250292503025031250322503325034250352503625037250382503925040250412504225043250442504525046250472504825049250502505125052250532505425055250562505725058250592506025061250622506325064250652506625067250682506925070250712507225073250742507525076250772507825079250802508125082250832508425085250862508725088250892509025091250922509325094250952509625097250982509925100251012510225103251042510525106251072510825109251102511125112251132511425115251162511725118251192512025121251222512325124251252512625127251282512925130251312513225133251342513525136251372513825139251402514125142251432514425145251462514725148251492515025151251522515325154251552515625157251582515925160251612516225163251642516525166251672516825169251702517125172251732517425175251762517725178251792518025181251822518325184251852518625187251882518925190251912519225193251942519525196251972519825199252002520125202252032520425205252062520725208252092521025211252122521325214252152521625217252182521925220252212522225223252242522525226252272522825229252302523125232252332523425235252362523725238252392524025241252422524325244252452524625247252482524925250252512525225253252542525525256252572525825259252602526125262252632526425265252662526725268252692527025271252722527325274252752527625277252782527925280252812528225283252842528525286252872528825289252902529125292252932529425295252962529725298252992530025301253022530325304253052530625307253082530925310253112531225313253142531525316253172531825319253202532125322253232532425325253262532725328253292533025331253322533325334253352533625337253382533925340253412534225343253442534525346253472534825349253502535125352253532535425355253562535725358253592536025361253622536325364253652536625367253682536925370253712537225373253742537525376253772537825379253802538125382253832538425385253862538725388253892539025391253922539325394253952539625397253982539925400254012540225403254042540525406254072540825409254102541125412254132541425415254162541725418254192542025421254222542325424254252542625427254282542925430254312543225433254342543525436254372543825439254402544125442254432544425445254462544725448254492545025451254522545325454254552545625457254582545925460254612546225463254642546525466254672546825469254702547125472254732547425475254762547725478254792548025481254822548325484254852548625487254882548925490254912549225493254942549525496254972549825499255002550125502255032550425505255062550725508255092551025511255122551325514255152551625517255182551925520255212552225523255242552525526255272552825529255302553125532255332553425535255362553725538255392554025541255422554325544255452554625547255482554925550255512555225553255542555525556255572555825559255602556125562255632556425565255662556725568255692557025571255722557325574255752557625577255782557925580255812558225583255842558525586255872558825589255902559125592255932559425595255962559725598255992560025601256022560325604256052560625607256082560925610256112561225613256142561525616256172561825619256202562125622256232562425625256262562725628256292563025631256322563325634256352563625637256382563925640256412564225643256442564525646256472564825649256502565125652256532565425655256562565725658256592566025661256622566325664256652566625667256682566925670256712567225673256742567525676256772567825679256802568125682256832568425685256862568725688256892569025691256922569325694256952569625697256982569925700257012570225703257042570525706257072570825709257102571125712257132571425715257162571725718257192572025721257222572325724257252572625727257282572925730257312573225733257342573525736257372573825739257402574125742257432574425745257462574725748257492575025751257522575325754257552575625757257582575925760257612576225763257642576525766257672576825769257702577125772257732577425775257762577725778257792578025781257822578325784257852578625787257882578925790257912579225793257942579525796257972579825799258002580125802258032580425805258062580725808258092581025811258122581325814258152581625817258182581925820258212582225823258242582525826258272582825829258302583125832258332583425835258362583725838258392584025841258422584325844258452584625847258482584925850258512585225853258542585525856258572585825859258602586125862258632586425865258662586725868258692587025871258722587325874258752587625877258782587925880258812588225883258842588525886258872588825889258902589125892258932589425895258962589725898258992590025901259022590325904259052590625907259082590925910259112591225913259142591525916259172591825919259202592125922259232592425925259262592725928259292593025931259322593325934259352593625937259382593925940259412594225943259442594525946259472594825949259502595125952259532595425955259562595725958259592596025961259622596325964259652596625967259682596925970259712597225973259742597525976259772597825979259802598125982259832598425985259862598725988259892599025991259922599325994259952599625997259982599926000260012600226003260042600526006260072600826009260102601126012260132601426015260162601726018260192602026021260222602326024260252602626027260282602926030260312603226033260342603526036260372603826039260402604126042260432604426045260462604726048260492605026051260522605326054260552605626057260582605926060260612606226063260642606526066260672606826069260702607126072260732607426075260762607726078260792608026081260822608326084260852608626087260882608926090260912609226093260942609526096260972609826099261002610126102261032610426105261062610726108261092611026111261122611326114261152611626117261182611926120261212612226123261242612526126261272612826129261302613126132261332613426135261362613726138261392614026141261422614326144261452614626147261482614926150261512615226153261542615526156261572615826159261602616126162261632616426165261662616726168261692617026171261722617326174261752617626177261782617926180261812618226183261842618526186261872618826189261902619126192261932619426195261962619726198261992620026201262022620326204262052620626207262082620926210262112621226213262142621526216262172621826219262202622126222262232622426225262262622726228262292623026231262322623326234262352623626237262382623926240262412624226243262442624526246262472624826249262502625126252262532625426255262562625726258262592626026261262622626326264262652626626267262682626926270262712627226273262742627526276262772627826279262802628126282262832628426285262862628726288262892629026291262922629326294262952629626297262982629926300263012630226303263042630526306263072630826309263102631126312263132631426315263162631726318263192632026321263222632326324263252632626327263282632926330263312633226333263342633526336263372633826339263402634126342263432634426345263462634726348263492635026351263522635326354263552635626357263582635926360263612636226363263642636526366263672636826369263702637126372263732637426375263762637726378263792638026381263822638326384263852638626387263882638926390263912639226393263942639526396263972639826399264002640126402264032640426405264062640726408264092641026411264122641326414264152641626417264182641926420264212642226423264242642526426264272642826429264302643126432264332643426435264362643726438264392644026441264422644326444264452644626447264482644926450264512645226453264542645526456264572645826459264602646126462264632646426465264662646726468264692647026471264722647326474264752647626477264782647926480264812648226483264842648526486264872648826489264902649126492264932649426495264962649726498264992650026501265022650326504265052650626507265082650926510265112651226513265142651526516265172651826519265202652126522265232652426525265262652726528265292653026531265322653326534265352653626537265382653926540265412654226543265442654526546265472654826549265502655126552265532655426555265562655726558265592656026561265622656326564265652656626567265682656926570265712657226573265742657526576265772657826579265802658126582265832658426585265862658726588265892659026591265922659326594265952659626597265982659926600266012660226603266042660526606266072660826609266102661126612266132661426615266162661726618266192662026621266222662326624266252662626627266282662926630266312663226633266342663526636266372663826639266402664126642266432664426645266462664726648266492665026651266522665326654266552665626657266582665926660266612666226663266642666526666266672666826669266702667126672266732667426675266762667726678266792668026681266822668326684266852668626687266882668926690266912669226693266942669526696266972669826699267002670126702267032670426705267062670726708267092671026711267122671326714267152671626717267182671926720267212672226723267242672526726267272672826729267302673126732267332673426735267362673726738267392674026741267422674326744267452674626747267482674926750267512675226753267542675526756267572675826759267602676126762267632676426765267662676726768267692677026771267722677326774267752677626777267782677926780267812678226783267842678526786267872678826789267902679126792267932679426795267962679726798267992680026801268022680326804268052680626807268082680926810268112681226813268142681526816268172681826819268202682126822268232682426825268262682726828268292683026831268322683326834268352683626837268382683926840268412684226843268442684526846268472684826849268502685126852268532685426855268562685726858268592686026861268622686326864268652686626867268682686926870268712687226873268742687526876268772687826879268802688126882268832688426885268862688726888268892689026891268922689326894268952689626897268982689926900269012690226903269042690526906269072690826909269102691126912269132691426915269162691726918269192692026921269222692326924269252692626927269282692926930269312693226933269342693526936269372693826939269402694126942269432694426945269462694726948269492695026951269522695326954269552695626957269582695926960269612696226963269642696526966269672696826969269702697126972269732697426975269762697726978269792698026981269822698326984269852698626987269882698926990269912699226993269942699526996269972699826999270002700127002270032700427005270062700727008270092701027011270122701327014270152701627017270182701927020270212702227023270242702527026270272702827029270302703127032270332703427035270362703727038270392704027041270422704327044270452704627047270482704927050270512705227053270542705527056270572705827059270602706127062270632706427065270662706727068270692707027071270722707327074270752707627077270782707927080270812708227083270842708527086270872708827089270902709127092270932709427095270962709727098270992710027101271022710327104271052710627107271082710927110271112711227113271142711527116271172711827119271202712127122271232712427125271262712727128271292713027131271322713327134271352713627137271382713927140271412714227143271442714527146271472714827149271502715127152271532715427155271562715727158271592716027161271622716327164271652716627167271682716927170271712717227173271742717527176271772717827179271802718127182271832718427185271862718727188271892719027191271922719327194271952719627197271982719927200272012720227203272042720527206272072720827209272102721127212272132721427215272162721727218272192722027221272222722327224272252722627227272282722927230272312723227233272342723527236272372723827239272402724127242272432724427245272462724727248272492725027251272522725327254272552725627257272582725927260272612726227263272642726527266272672726827269272702727127272272732727427275272762727727278272792728027281272822728327284272852728627287272882728927290272912729227293272942729527296272972729827299273002730127302273032730427305273062730727308273092731027311273122731327314273152731627317273182731927320273212732227323273242732527326273272732827329273302733127332273332733427335273362733727338273392734027341273422734327344273452734627347273482734927350273512735227353273542735527356273572735827359273602736127362273632736427365273662736727368273692737027371273722737327374273752737627377273782737927380273812738227383273842738527386273872738827389273902739127392273932739427395273962739727398273992740027401274022740327404274052740627407274082740927410274112741227413274142741527416274172741827419274202742127422274232742427425274262742727428274292743027431274322743327434274352743627437274382743927440274412744227443274442744527446274472744827449274502745127452274532745427455274562745727458274592746027461274622746327464274652746627467274682746927470274712747227473274742747527476274772747827479274802748127482274832748427485274862748727488274892749027491274922749327494274952749627497274982749927500275012750227503275042750527506275072750827509275102751127512275132751427515275162751727518275192752027521275222752327524275252752627527275282752927530275312753227533275342753527536275372753827539275402754127542275432754427545275462754727548275492755027551275522755327554275552755627557275582755927560275612756227563275642756527566275672756827569275702757127572275732757427575275762757727578275792758027581275822758327584275852758627587275882758927590275912759227593275942759527596275972759827599276002760127602276032760427605276062760727608276092761027611276122761327614276152761627617276182761927620276212762227623276242762527626276272762827629276302763127632276332763427635276362763727638276392764027641276422764327644276452764627647276482764927650276512765227653276542765527656276572765827659276602766127662276632766427665276662766727668276692767027671276722767327674276752767627677276782767927680276812768227683276842768527686276872768827689276902769127692276932769427695276962769727698276992770027701277022770327704277052770627707277082770927710277112771227713277142771527716277172771827719277202772127722277232772427725277262772727728277292773027731277322773327734277352773627737277382773927740277412774227743277442774527746277472774827749277502775127752277532775427755277562775727758277592776027761277622776327764277652776627767277682776927770277712777227773277742777527776277772777827779277802778127782277832778427785277862778727788277892779027791277922779327794277952779627797277982779927800278012780227803278042780527806278072780827809278102781127812278132781427815278162781727818278192782027821278222782327824278252782627827278282782927830278312783227833278342783527836278372783827839278402784127842278432784427845278462784727848278492785027851278522785327854278552785627857278582785927860278612786227863278642786527866278672786827869278702787127872278732787427875278762787727878278792788027881278822788327884278852788627887278882788927890278912789227893278942789527896278972789827899279002790127902279032790427905279062790727908279092791027911279122791327914279152791627917279182791927920279212792227923279242792527926279272792827929279302793127932279332793427935279362793727938279392794027941279422794327944279452794627947279482794927950279512795227953279542795527956279572795827959279602796127962279632796427965279662796727968279692797027971279722797327974279752797627977279782797927980279812798227983279842798527986279872798827989279902799127992279932799427995279962799727998279992800028001280022800328004280052800628007280082800928010280112801228013280142801528016280172801828019280202802128022280232802428025280262802728028280292803028031280322803328034280352803628037280382803928040280412804228043280442804528046280472804828049280502805128052280532805428055280562805728058280592806028061280622806328064280652806628067280682806928070280712807228073280742807528076280772807828079280802808128082280832808428085280862808728088280892809028091280922809328094280952809628097280982809928100281012810228103281042810528106281072810828109281102811128112281132811428115281162811728118281192812028121281222812328124281252812628127281282812928130281312813228133281342813528136281372813828139281402814128142281432814428145281462814728148281492815028151281522815328154281552815628157281582815928160281612816228163281642816528166281672816828169281702817128172281732817428175281762817728178281792818028181281822818328184281852818628187281882818928190281912819228193281942819528196281972819828199282002820128202282032820428205282062820728208282092821028211282122821328214282152821628217282182821928220282212822228223282242822528226282272822828229282302823128232282332823428235282362823728238282392824028241282422824328244282452824628247282482824928250282512825228253282542825528256282572825828259282602826128262282632826428265282662826728268282692827028271282722827328274282752827628277282782827928280282812828228283282842828528286282872828828289282902829128292282932829428295282962829728298282992830028301283022830328304283052830628307283082830928310283112831228313283142831528316283172831828319283202832128322283232832428325283262832728328283292833028331283322833328334283352833628337283382833928340283412834228343283442834528346283472834828349283502835128352283532835428355283562835728358283592836028361283622836328364283652836628367283682836928370283712837228373283742837528376283772837828379283802838128382283832838428385283862838728388283892839028391283922839328394283952839628397283982839928400284012840228403284042840528406284072840828409284102841128412284132841428415284162841728418284192842028421284222842328424284252842628427284282842928430284312843228433284342843528436284372843828439284402844128442284432844428445284462844728448284492845028451284522845328454284552845628457284582845928460284612846228463284642846528466284672846828469284702847128472284732847428475284762847728478284792848028481284822848328484284852848628487284882848928490284912849228493284942849528496284972849828499285002850128502285032850428505285062850728508285092851028511285122851328514285152851628517285182851928520285212852228523285242852528526285272852828529285302853128532285332853428535285362853728538285392854028541285422854328544285452854628547285482854928550285512855228553285542855528556285572855828559285602856128562285632856428565285662856728568285692857028571285722857328574285752857628577285782857928580285812858228583285842858528586285872858828589285902859128592285932859428595285962859728598285992860028601286022860328604286052860628607286082860928610286112861228613286142861528616286172861828619286202862128622286232862428625286262862728628286292863028631286322863328634286352863628637286382863928640286412864228643286442864528646286472864828649286502865128652286532865428655286562865728658286592866028661286622866328664286652866628667286682866928670286712867228673286742867528676286772867828679286802868128682286832868428685286862868728688286892869028691286922869328694286952869628697286982869928700287012870228703287042870528706287072870828709287102871128712287132871428715287162871728718287192872028721287222872328724287252872628727287282872928730287312873228733287342873528736287372873828739287402874128742287432874428745287462874728748287492875028751287522875328754287552875628757287582875928760287612876228763287642876528766287672876828769287702877128772287732877428775287762877728778287792878028781287822878328784287852878628787287882878928790287912879228793287942879528796287972879828799288002880128802288032880428805288062880728808288092881028811288122881328814288152881628817288182881928820288212882228823288242882528826288272882828829288302883128832288332883428835288362883728838288392884028841288422884328844288452884628847288482884928850288512885228853288542885528856288572885828859288602886128862288632886428865288662886728868288692887028871288722887328874288752887628877288782887928880288812888228883288842888528886288872888828889288902889128892288932889428895288962889728898288992890028901289022890328904289052890628907289082890928910289112891228913289142891528916289172891828919289202892128922289232892428925289262892728928289292893028931289322893328934289352893628937289382893928940289412894228943289442894528946289472894828949289502895128952289532895428955289562895728958289592896028961289622896328964289652896628967289682896928970289712897228973289742897528976289772897828979289802898128982289832898428985289862898728988289892899028991289922899328994289952899628997289982899929000290012900229003290042900529006290072900829009290102901129012290132901429015290162901729018290192902029021290222902329024290252902629027290282902929030290312903229033290342903529036290372903829039290402904129042290432904429045290462904729048290492905029051290522905329054290552905629057290582905929060290612906229063290642906529066290672906829069290702907129072290732907429075290762907729078290792908029081290822908329084290852908629087290882908929090290912909229093290942909529096290972909829099291002910129102291032910429105291062910729108291092911029111291122911329114291152911629117291182911929120291212912229123291242912529126291272912829129291302913129132291332913429135291362913729138291392914029141291422914329144291452914629147291482914929150291512915229153291542915529156291572915829159291602916129162291632916429165291662916729168291692917029171291722917329174291752917629177291782917929180291812918229183291842918529186291872918829189291902919129192291932919429195291962919729198291992920029201292022920329204292052920629207292082920929210292112921229213292142921529216292172921829219292202922129222292232922429225292262922729228292292923029231292322923329234292352923629237292382923929240292412924229243292442924529246292472924829249292502925129252292532925429255292562925729258292592926029261292622926329264292652926629267292682926929270292712927229273292742927529276292772927829279292802928129282292832928429285292862928729288292892929029291292922929329294292952929629297292982929929300293012930229303293042930529306293072930829309293102931129312293132931429315293162931729318293192932029321293222932329324293252932629327293282932929330293312933229333293342933529336293372933829339293402934129342293432934429345293462934729348293492935029351293522935329354293552935629357293582935929360293612936229363293642936529366293672936829369293702937129372293732937429375293762937729378293792938029381293822938329384293852938629387293882938929390293912939229393293942939529396293972939829399294002940129402294032940429405294062940729408294092941029411294122941329414294152941629417294182941929420294212942229423294242942529426294272942829429294302943129432294332943429435294362943729438294392944029441294422944329444294452944629447294482944929450294512945229453294542945529456294572945829459294602946129462294632946429465294662946729468294692947029471294722947329474294752947629477294782947929480294812948229483294842948529486294872948829489294902949129492294932949429495294962949729498294992950029501295022950329504295052950629507295082950929510295112951229513295142951529516295172951829519295202952129522295232952429525295262952729528295292953029531295322953329534295352953629537295382953929540295412954229543295442954529546295472954829549295502955129552295532955429555295562955729558295592956029561295622956329564295652956629567295682956929570295712957229573295742957529576295772957829579295802958129582295832958429585295862958729588295892959029591295922959329594295952959629597295982959929600296012960229603296042960529606296072960829609296102961129612296132961429615296162961729618296192962029621296222962329624296252962629627296282962929630296312963229633296342963529636296372963829639296402964129642296432964429645296462964729648296492965029651296522965329654296552965629657296582965929660296612966229663296642966529666296672966829669296702967129672296732967429675296762967729678296792968029681296822968329684296852968629687296882968929690296912969229693296942969529696296972969829699297002970129702297032970429705297062970729708297092971029711297122971329714297152971629717297182971929720297212972229723297242972529726297272972829729297302973129732297332973429735297362973729738297392974029741297422974329744297452974629747297482974929750297512975229753297542975529756297572975829759297602976129762297632976429765297662976729768297692977029771297722977329774297752977629777297782977929780297812978229783297842978529786297872978829789297902979129792297932979429795297962979729798297992980029801298022980329804298052980629807298082980929810298112981229813298142981529816298172981829819298202982129822298232982429825298262982729828298292983029831298322983329834298352983629837298382983929840298412984229843298442984529846298472984829849298502985129852298532985429855298562985729858298592986029861298622986329864298652986629867298682986929870298712987229873298742987529876298772987829879298802988129882298832988429885298862988729888298892989029891298922989329894298952989629897298982989929900299012990229903299042990529906299072990829909299102991129912299132991429915299162991729918299192992029921299222992329924299252992629927299282992929930299312993229933299342993529936299372993829939299402994129942299432994429945299462994729948299492995029951299522995329954299552995629957299582995929960299612996229963299642996529966299672996829969299702997129972299732997429975299762997729978299792998029981299822998329984299852998629987299882998929990299912999229993299942999529996299972999829999300003000130002300033000430005300063000730008300093001030011300123001330014300153001630017300183001930020300213002230023300243002530026300273002830029300303003130032300333003430035300363003730038300393004030041300423004330044300453004630047300483004930050300513005230053300543005530056300573005830059300603006130062300633006430065300663006730068300693007030071300723007330074300753007630077300783007930080300813008230083300843008530086300873008830089300903009130092300933009430095300963009730098300993010030101301023010330104301053010630107301083010930110301113011230113301143011530116301173011830119301203012130122301233012430125301263012730128301293013030131301323013330134301353013630137301383013930140301413014230143301443014530146301473014830149301503015130152301533015430155301563015730158301593016030161301623016330164301653016630167301683016930170301713017230173301743017530176301773017830179301803018130182301833018430185301863018730188301893019030191301923019330194301953019630197301983019930200302013020230203302043020530206302073020830209302103021130212302133021430215302163021730218302193022030221302223022330224302253022630227302283022930230302313023230233302343023530236302373023830239302403024130242302433024430245302463024730248302493025030251302523025330254302553025630257302583025930260302613026230263302643026530266302673026830269302703027130272302733027430275302763027730278302793028030281302823028330284302853028630287302883028930290302913029230293302943029530296302973029830299303003030130302303033030430305303063030730308303093031030311303123031330314303153031630317303183031930320303213032230323303243032530326303273032830329303303033130332303333033430335303363033730338303393034030341303423034330344303453034630347303483034930350303513035230353303543035530356303573035830359303603036130362303633036430365303663036730368303693037030371303723037330374303753037630377303783037930380303813038230383303843038530386303873038830389303903039130392303933039430395303963039730398303993040030401304023040330404304053040630407304083040930410304113041230413304143041530416304173041830419304203042130422304233042430425304263042730428304293043030431304323043330434304353043630437304383043930440304413044230443304443044530446304473044830449304503045130452304533045430455304563045730458304593046030461304623046330464304653046630467304683046930470304713047230473304743047530476304773047830479304803048130482304833048430485304863048730488304893049030491304923049330494304953049630497304983049930500305013050230503305043050530506305073050830509305103051130512305133051430515305163051730518305193052030521305223052330524305253052630527305283052930530305313053230533305343053530536305373053830539305403054130542305433054430545305463054730548305493055030551305523055330554305553055630557305583055930560305613056230563305643056530566305673056830569305703057130572305733057430575305763057730578305793058030581305823058330584305853058630587305883058930590305913059230593305943059530596305973059830599306003060130602306033060430605306063060730608306093061030611306123061330614306153061630617306183061930620306213062230623306243062530626306273062830629306303063130632306333063430635306363063730638306393064030641306423064330644306453064630647306483064930650306513065230653306543065530656306573065830659306603066130662306633066430665306663066730668306693067030671306723067330674306753067630677306783067930680306813068230683306843068530686306873068830689306903069130692306933069430695306963069730698306993070030701307023070330704307053070630707307083070930710307113071230713307143071530716307173071830719307203072130722307233072430725307263072730728307293073030731307323073330734307353073630737307383073930740307413074230743307443074530746307473074830749307503075130752307533075430755307563075730758307593076030761307623076330764307653076630767307683076930770307713077230773307743077530776307773077830779307803078130782307833078430785307863078730788307893079030791307923079330794307953079630797307983079930800308013080230803308043080530806308073080830809308103081130812308133081430815308163081730818308193082030821308223082330824308253082630827308283082930830308313083230833308343083530836308373083830839308403084130842308433084430845308463084730848308493085030851308523085330854308553085630857308583085930860308613086230863308643086530866308673086830869308703087130872308733087430875308763087730878308793088030881308823088330884308853088630887308883088930890308913089230893308943089530896308973089830899309003090130902309033090430905309063090730908309093091030911309123091330914309153091630917309183091930920309213092230923309243092530926309273092830929309303093130932309333093430935309363093730938309393094030941309423094330944309453094630947309483094930950309513095230953309543095530956309573095830959309603096130962309633096430965309663096730968309693097030971309723097330974309753097630977309783097930980309813098230983309843098530986309873098830989309903099130992309933099430995309963099730998309993100031001310023100331004310053100631007310083100931010310113101231013310143101531016310173101831019310203102131022310233102431025310263102731028310293103031031310323103331034310353103631037310383103931040310413104231043310443104531046310473104831049310503105131052310533105431055310563105731058310593106031061310623106331064310653106631067310683106931070310713107231073310743107531076310773107831079310803108131082310833108431085310863108731088310893109031091310923109331094310953109631097310983109931100311013110231103311043110531106311073110831109311103111131112311133111431115311163111731118311193112031121311223112331124311253112631127311283112931130311313113231133311343113531136311373113831139311403114131142311433114431145311463114731148311493115031151311523115331154311553115631157311583115931160311613116231163311643116531166311673116831169311703117131172311733117431175311763117731178311793118031181311823118331184311853118631187311883118931190311913119231193311943119531196311973119831199312003120131202312033120431205312063120731208312093121031211312123121331214312153121631217312183121931220312213122231223312243122531226312273122831229312303123131232312333123431235312363123731238312393124031241312423124331244312453124631247312483124931250312513125231253312543125531256312573125831259312603126131262312633126431265312663126731268312693127031271312723127331274312753127631277312783127931280312813128231283312843128531286312873128831289312903129131292312933129431295312963129731298312993130031301313023130331304313053130631307313083130931310313113131231313313143131531316313173131831319313203132131322313233132431325313263132731328313293133031331313323133331334313353133631337313383133931340313413134231343313443134531346313473134831349313503135131352313533135431355313563135731358313593136031361313623136331364313653136631367313683136931370313713137231373313743137531376313773137831379313803138131382313833138431385313863138731388313893139031391313923139331394313953139631397313983139931400314013140231403314043140531406314073140831409314103141131412314133141431415314163141731418314193142031421314223142331424314253142631427314283142931430314313143231433314343143531436314373143831439314403144131442314433144431445314463144731448314493145031451314523145331454314553145631457314583145931460314613146231463314643146531466314673146831469314703147131472314733147431475314763147731478314793148031481314823148331484314853148631487314883148931490314913149231493314943149531496314973149831499315003150131502315033150431505315063150731508315093151031511315123151331514315153151631517315183151931520315213152231523315243152531526315273152831529315303153131532315333153431535315363153731538315393154031541315423154331544315453154631547315483154931550315513155231553315543155531556315573155831559315603156131562315633156431565315663156731568315693157031571315723157331574315753157631577315783157931580315813158231583315843158531586315873158831589315903159131592315933159431595315963159731598315993160031601316023160331604316053160631607316083160931610316113161231613316143161531616316173161831619316203162131622316233162431625316263162731628316293163031631316323163331634316353163631637316383163931640316413164231643316443164531646316473164831649316503165131652316533165431655316563165731658316593166031661316623166331664316653166631667316683166931670316713167231673316743167531676316773167831679316803168131682316833168431685316863168731688316893169031691316923169331694316953169631697316983169931700317013170231703317043170531706317073170831709317103171131712317133171431715317163171731718317193172031721317223172331724317253172631727317283172931730317313173231733317343173531736317373173831739317403174131742317433174431745317463174731748317493175031751317523175331754317553175631757317583175931760317613176231763317643176531766317673176831769317703177131772317733177431775317763177731778317793178031781317823178331784317853178631787317883178931790317913179231793317943179531796317973179831799318003180131802318033180431805318063180731808318093181031811318123181331814318153181631817318183181931820318213182231823318243182531826318273182831829318303183131832318333183431835318363183731838318393184031841318423184331844318453184631847318483184931850318513185231853318543185531856318573185831859318603186131862318633186431865318663186731868318693187031871318723187331874318753187631877318783187931880318813188231883318843188531886318873188831889318903189131892318933189431895318963189731898318993190031901319023190331904319053190631907319083190931910319113191231913319143191531916319173191831919319203192131922319233192431925319263192731928319293193031931319323193331934319353193631937319383193931940319413194231943319443194531946319473194831949319503195131952319533195431955319563195731958319593196031961319623196331964319653196631967319683196931970319713197231973319743197531976319773197831979319803198131982319833198431985319863198731988319893199031991319923199331994319953199631997319983199932000320013200232003320043200532006320073200832009320103201132012320133201432015320163201732018320193202032021320223202332024320253202632027320283202932030320313203232033320343203532036320373203832039320403204132042320433204432045320463204732048320493205032051320523205332054320553205632057320583205932060320613206232063320643206532066320673206832069320703207132072320733207432075320763207732078320793208032081320823208332084320853208632087320883208932090320913209232093320943209532096320973209832099321003210132102321033210432105321063210732108321093211032111321123211332114321153211632117321183211932120321213212232123321243212532126321273212832129321303213132132321333213432135321363213732138321393214032141321423214332144321453214632147321483214932150321513215232153321543215532156321573215832159321603216132162321633216432165321663216732168321693217032171321723217332174321753217632177321783217932180321813218232183321843218532186321873218832189321903219132192321933219432195321963219732198321993220032201322023220332204322053220632207322083220932210322113221232213322143221532216322173221832219322203222132222322233222432225322263222732228322293223032231322323223332234322353223632237322383223932240322413224232243322443224532246322473224832249322503225132252322533225432255322563225732258322593226032261322623226332264322653226632267322683226932270322713227232273322743227532276322773227832279322803228132282322833228432285322863228732288322893229032291322923229332294322953229632297322983229932300323013230232303323043230532306323073230832309323103231132312323133231432315323163231732318323193232032321323223232332324323253232632327323283232932330323313233232333323343233532336323373233832339323403234132342323433234432345323463234732348323493235032351323523235332354323553235632357323583235932360323613236232363323643236532366323673236832369323703237132372323733237432375323763237732378323793238032381323823238332384323853238632387323883238932390323913239232393323943239532396323973239832399324003240132402324033240432405324063240732408324093241032411324123241332414324153241632417324183241932420324213242232423324243242532426324273242832429324303243132432324333243432435324363243732438324393244032441324423244332444324453244632447324483244932450324513245232453324543245532456324573245832459324603246132462324633246432465324663246732468324693247032471324723247332474324753247632477324783247932480324813248232483324843248532486324873248832489324903249132492324933249432495324963249732498324993250032501325023250332504325053250632507325083250932510325113251232513325143251532516325173251832519325203252132522325233252432525325263252732528325293253032531325323253332534325353253632537325383253932540325413254232543325443254532546325473254832549325503255132552325533255432555325563255732558325593256032561325623256332564325653256632567325683256932570325713257232573325743257532576325773257832579325803258132582325833258432585325863258732588325893259032591325923259332594325953259632597325983259932600326013260232603326043260532606326073260832609326103261132612326133261432615326163261732618326193262032621326223262332624326253262632627326283262932630326313263232633326343263532636326373263832639326403264132642326433264432645326463264732648326493265032651326523265332654326553265632657326583265932660326613266232663326643266532666326673266832669326703267132672326733267432675326763267732678326793268032681326823268332684326853268632687326883268932690326913269232693326943269532696326973269832699327003270132702327033270432705327063270732708327093271032711327123271332714327153271632717327183271932720327213272232723327243272532726327273272832729327303273132732327333273432735327363273732738327393274032741327423274332744327453274632747327483274932750327513275232753327543275532756327573275832759327603276132762327633276432765327663276732768327693277032771327723277332774327753277632777327783277932780327813278232783327843278532786327873278832789327903279132792327933279432795327963279732798327993280032801328023280332804328053280632807328083280932810328113281232813328143281532816328173281832819328203282132822328233282432825328263282732828328293283032831328323283332834328353283632837328383283932840328413284232843328443284532846328473284832849328503285132852328533285432855328563285732858328593286032861328623286332864328653286632867328683286932870328713287232873328743287532876328773287832879328803288132882328833288432885328863288732888328893289032891328923289332894328953289632897328983289932900329013290232903329043290532906329073290832909329103291132912329133291432915329163291732918329193292032921329223292332924329253292632927329283292932930329313293232933329343293532936329373293832939329403294132942329433294432945329463294732948329493295032951329523295332954329553295632957329583295932960329613296232963329643296532966329673296832969329703297132972329733297432975329763297732978329793298032981329823298332984329853298632987329883298932990329913299232993329943299532996329973299832999330003300133002330033300433005330063300733008330093301033011330123301333014330153301633017330183301933020330213302233023330243302533026330273302833029330303303133032330333303433035330363303733038330393304033041330423304333044330453304633047330483304933050330513305233053330543305533056330573305833059330603306133062330633306433065330663306733068330693307033071330723307333074330753307633077330783307933080330813308233083330843308533086330873308833089330903309133092330933309433095330963309733098330993310033101331023310333104331053310633107331083310933110331113311233113331143311533116331173311833119331203312133122331233312433125331263312733128331293313033131331323313333134331353313633137331383313933140331413314233143331443314533146331473314833149331503315133152331533315433155331563315733158331593316033161331623316333164331653316633167331683316933170331713317233173331743317533176331773317833179331803318133182331833318433185331863318733188331893319033191331923319333194331953319633197331983319933200332013320233203332043320533206332073320833209332103321133212332133321433215332163321733218332193322033221332223322333224332253322633227332283322933230332313323233233332343323533236332373323833239332403324133242332433324433245332463324733248332493325033251332523325333254332553325633257332583325933260332613326233263332643326533266332673326833269332703327133272332733327433275332763327733278332793328033281332823328333284332853328633287332883328933290332913329233293332943329533296332973329833299333003330133302333033330433305333063330733308333093331033311333123331333314333153331633317333183331933320333213332233323333243332533326333273332833329333303333133332333333333433335333363333733338333393334033341333423334333344333453334633347333483334933350333513335233353333543335533356333573335833359333603336133362333633336433365333663336733368333693337033371333723337333374333753337633377333783337933380333813338233383333843338533386333873338833389333903339133392333933339433395333963339733398333993340033401334023340333404334053340633407334083340933410334113341233413334143341533416334173341833419334203342133422334233342433425334263342733428334293343033431334323343333434334353343633437334383343933440334413344233443334443344533446334473344833449334503345133452334533345433455334563345733458334593346033461334623346333464334653346633467334683346933470334713347233473334743347533476334773347833479334803348133482334833348433485334863348733488334893349033491334923349333494334953349633497334983349933500335013350233503335043350533506335073350833509335103351133512335133351433515335163351733518335193352033521335223352333524335253352633527335283352933530335313353233533335343353533536335373353833539335403354133542335433354433545335463354733548335493355033551335523355333554335553355633557335583355933560335613356233563335643356533566335673356833569335703357133572335733357433575335763357733578335793358033581335823358333584335853358633587335883358933590335913359233593335943359533596335973359833599336003360133602336033360433605336063360733608336093361033611336123361333614336153361633617336183361933620336213362233623336243362533626336273362833629336303363133632336333363433635336363363733638336393364033641336423364333644336453364633647336483364933650336513365233653336543365533656336573365833659336603366133662336633366433665336663366733668336693367033671336723367333674336753367633677336783367933680336813368233683336843368533686336873368833689336903369133692336933369433695336963369733698336993370033701337023370333704337053370633707337083370933710337113371233713337143371533716337173371833719337203372133722337233372433725337263372733728337293373033731337323373333734337353373633737337383373933740337413374233743337443374533746337473374833749337503375133752337533375433755337563375733758337593376033761337623376333764337653376633767337683376933770337713377233773337743377533776337773377833779337803378133782337833378433785337863378733788337893379033791337923379333794337953379633797337983379933800338013380233803338043380533806338073380833809338103381133812338133381433815338163381733818338193382033821338223382333824338253382633827338283382933830338313383233833338343383533836338373383833839338403384133842338433384433845338463384733848338493385033851338523385333854338553385633857338583385933860338613386233863338643386533866338673386833869338703387133872338733387433875338763387733878338793388033881338823388333884338853388633887338883388933890338913389233893338943389533896338973389833899339003390133902339033390433905339063390733908339093391033911339123391333914339153391633917339183391933920339213392233923339243392533926339273392833929339303393133932339333393433935339363393733938339393394033941339423394333944339453394633947339483394933950339513395233953339543395533956339573395833959339603396133962339633396433965339663396733968339693397033971339723397333974339753397633977339783397933980339813398233983339843398533986339873398833989339903399133992339933399433995339963399733998339993400034001340023400334004340053400634007340083400934010340113401234013340143401534016340173401834019340203402134022340233402434025340263402734028340293403034031340323403334034340353403634037340383403934040340413404234043340443404534046340473404834049340503405134052340533405434055340563405734058340593406034061340623406334064340653406634067340683406934070340713407234073340743407534076340773407834079340803408134082340833408434085340863408734088340893409034091340923409334094340953409634097340983409934100341013410234103341043410534106341073410834109341103411134112341133411434115341163411734118341193412034121341223412334124341253412634127341283412934130341313413234133341343413534136341373413834139341403414134142341433414434145341463414734148341493415034151341523415334154341553415634157341583415934160341613416234163341643416534166341673416834169341703417134172341733417434175341763417734178341793418034181341823418334184341853418634187341883418934190341913419234193341943419534196341973419834199342003420134202342033420434205342063420734208342093421034211342123421334214342153421634217342183421934220342213422234223342243422534226342273422834229342303423134232342333423434235342363423734238342393424034241342423424334244342453424634247342483424934250342513425234253342543425534256342573425834259342603426134262342633426434265342663426734268342693427034271342723427334274342753427634277342783427934280342813428234283342843428534286342873428834289342903429134292342933429434295342963429734298342993430034301343023430334304343053430634307343083430934310343113431234313343143431534316343173431834319343203432134322343233432434325343263432734328343293433034331343323433334334343353433634337343383433934340343413434234343343443434534346343473434834349343503435134352343533435434355343563435734358343593436034361343623436334364343653436634367343683436934370343713437234373343743437534376343773437834379343803438134382343833438434385343863438734388343893439034391343923439334394343953439634397343983439934400344013440234403344043440534406344073440834409344103441134412344133441434415344163441734418344193442034421344223442334424344253442634427344283442934430344313443234433344343443534436344373443834439344403444134442344433444434445344463444734448344493445034451344523445334454344553445634457344583445934460344613446234463344643446534466344673446834469344703447134472344733447434475344763447734478344793448034481344823448334484344853448634487344883448934490344913449234493344943449534496344973449834499345003450134502345033450434505345063450734508345093451034511345123451334514345153451634517345183451934520345213452234523345243452534526345273452834529345303453134532345333453434535345363453734538345393454034541345423454334544345453454634547345483454934550345513455234553345543455534556345573455834559345603456134562345633456434565345663456734568345693457034571345723457334574345753457634577345783457934580345813458234583345843458534586345873458834589345903459134592345933459434595345963459734598345993460034601346023460334604346053460634607346083460934610346113461234613346143461534616346173461834619346203462134622346233462434625346263462734628346293463034631346323463334634346353463634637346383463934640346413464234643346443464534646346473464834649346503465134652346533465434655346563465734658346593466034661346623466334664346653466634667346683466934670346713467234673346743467534676346773467834679346803468134682346833468434685346863468734688346893469034691346923469334694346953469634697346983469934700347013470234703347043470534706347073470834709347103471134712347133471434715347163471734718347193472034721347223472334724347253472634727347283472934730347313473234733347343473534736347373473834739347403474134742347433474434745347463474734748347493475034751347523475334754347553475634757347583475934760347613476234763347643476534766347673476834769347703477134772347733477434775347763477734778347793478034781347823478334784347853478634787347883478934790347913479234793347943479534796347973479834799348003480134802348033480434805348063480734808348093481034811348123481334814348153481634817348183481934820348213482234823348243482534826348273482834829348303483134832348333483434835348363483734838348393484034841348423484334844348453484634847348483484934850348513485234853348543485534856348573485834859348603486134862348633486434865348663486734868348693487034871348723487334874348753487634877348783487934880348813488234883348843488534886348873488834889348903489134892348933489434895348963489734898348993490034901349023490334904349053490634907349083490934910349113491234913349143491534916349173491834919349203492134922349233492434925349263492734928349293493034931349323493334934349353493634937349383493934940349413494234943349443494534946349473494834949349503495134952349533495434955349563495734958349593496034961349623496334964349653496634967349683496934970349713497234973349743497534976349773497834979349803498134982349833498434985349863498734988349893499034991349923499334994349953499634997349983499935000350013500235003350043500535006350073500835009350103501135012350133501435015350163501735018350193502035021350223502335024350253502635027350283502935030350313503235033350343503535036350373503835039350403504135042350433504435045350463504735048350493505035051350523505335054350553505635057350583505935060350613506235063350643506535066350673506835069350703507135072350733507435075350763507735078350793508035081350823508335084350853508635087350883508935090350913509235093350943509535096350973509835099351003510135102351033510435105351063510735108351093511035111351123511335114351153511635117351183511935120351213512235123351243512535126351273512835129351303513135132351333513435135351363513735138351393514035141351423514335144351453514635147351483514935150351513515235153351543515535156351573515835159351603516135162351633516435165351663516735168351693517035171351723517335174351753517635177351783517935180351813518235183351843518535186351873518835189351903519135192351933519435195351963519735198351993520035201352023520335204352053520635207352083520935210352113521235213352143521535216352173521835219352203522135222352233522435225352263522735228352293523035231352323523335234352353523635237352383523935240352413524235243352443524535246352473524835249352503525135252352533525435255352563525735258352593526035261352623526335264352653526635267352683526935270352713527235273352743527535276352773527835279352803528135282352833528435285352863528735288352893529035291352923529335294352953529635297352983529935300353013530235303353043530535306353073530835309353103531135312353133531435315353163531735318353193532035321353223532335324353253532635327353283532935330353313533235333353343533535336353373533835339353403534135342353433534435345353463534735348353493535035351353523535335354353553535635357353583535935360353613536235363353643536535366353673536835369353703537135372353733537435375353763537735378353793538035381353823538335384353853538635387353883538935390353913539235393353943539535396353973539835399354003540135402354033540435405354063540735408354093541035411354123541335414354153541635417354183541935420354213542235423354243542535426354273542835429354303543135432354333543435435354363543735438354393544035441354423544335444354453544635447354483544935450354513545235453354543545535456354573545835459354603546135462354633546435465354663546735468354693547035471354723547335474354753547635477354783547935480354813548235483354843548535486354873548835489354903549135492354933549435495354963549735498354993550035501355023550335504355053550635507355083550935510355113551235513355143551535516355173551835519355203552135522355233552435525355263552735528355293553035531355323553335534355353553635537355383553935540355413554235543355443554535546355473554835549355503555135552355533555435555355563555735558355593556035561355623556335564355653556635567355683556935570355713557235573355743557535576355773557835579355803558135582355833558435585355863558735588355893559035591355923559335594355953559635597355983559935600356013560235603356043560535606356073560835609356103561135612356133561435615356163561735618356193562035621356223562335624356253562635627356283562935630356313563235633356343563535636356373563835639356403564135642356433564435645356463564735648356493565035651356523565335654356553565635657356583565935660356613566235663356643566535666356673566835669356703567135672356733567435675356763567735678356793568035681356823568335684356853568635687356883568935690356913569235693356943569535696356973569835699357003570135702357033570435705357063570735708357093571035711357123571335714357153571635717357183571935720357213572235723357243572535726357273572835729357303573135732357333573435735357363573735738357393574035741357423574335744357453574635747357483574935750357513575235753357543575535756357573575835759357603576135762357633576435765357663576735768357693577035771357723577335774357753577635777357783577935780357813578235783357843578535786357873578835789357903579135792357933579435795357963579735798357993580035801358023580335804358053580635807358083580935810358113581235813358143581535816358173581835819358203582135822358233582435825358263582735828358293583035831358323583335834358353583635837358383583935840358413584235843358443584535846358473584835849358503585135852358533585435855358563585735858358593586035861358623586335864358653586635867358683586935870358713587235873358743587535876358773587835879358803588135882358833588435885358863588735888358893589035891358923589335894358953589635897358983589935900359013590235903359043590535906359073590835909359103591135912359133591435915359163591735918359193592035921359223592335924359253592635927359283592935930359313593235933359343593535936359373593835939359403594135942359433594435945359463594735948359493595035951359523595335954359553595635957359583595935960359613596235963359643596535966359673596835969359703597135972359733597435975359763597735978359793598035981359823598335984359853598635987359883598935990359913599235993359943599535996359973599835999360003600136002360033600436005360063600736008360093601036011360123601336014360153601636017360183601936020360213602236023360243602536026360273602836029360303603136032360333603436035360363603736038360393604036041360423604336044360453604636047360483604936050360513605236053360543605536056360573605836059360603606136062360633606436065360663606736068360693607036071360723607336074360753607636077360783607936080360813608236083360843608536086360873608836089360903609136092360933609436095360963609736098360993610036101361023610336104361053610636107361083610936110361113611236113361143611536116361173611836119361203612136122361233612436125361263612736128361293613036131361323613336134361353613636137361383613936140361413614236143361443614536146361473614836149361503615136152361533615436155361563615736158361593616036161361623616336164361653616636167361683616936170361713617236173361743617536176361773617836179361803618136182361833618436185361863618736188361893619036191361923619336194361953619636197361983619936200362013620236203362043620536206362073620836209362103621136212362133621436215362163621736218362193622036221362223622336224362253622636227362283622936230362313623236233362343623536236362373623836239362403624136242362433624436245362463624736248362493625036251362523625336254362553625636257362583625936260362613626236263362643626536266362673626836269362703627136272362733627436275362763627736278362793628036281362823628336284362853628636287362883628936290362913629236293362943629536296362973629836299363003630136302363033630436305363063630736308363093631036311363123631336314363153631636317363183631936320363213632236323363243632536326363273632836329363303633136332363333633436335363363633736338363393634036341363423634336344363453634636347363483634936350363513635236353363543635536356363573635836359363603636136362363633636436365363663636736368363693637036371363723637336374363753637636377363783637936380363813638236383363843638536386363873638836389363903639136392363933639436395363963639736398363993640036401364023640336404364053640636407364083640936410364113641236413364143641536416364173641836419364203642136422364233642436425364263642736428364293643036431364323643336434364353643636437364383643936440364413644236443364443644536446364473644836449364503645136452364533645436455364563645736458364593646036461364623646336464364653646636467364683646936470364713647236473364743647536476364773647836479364803648136482364833648436485364863648736488364893649036491364923649336494364953649636497364983649936500365013650236503365043650536506365073650836509365103651136512365133651436515365163651736518365193652036521365223652336524365253652636527365283652936530365313653236533365343653536536365373653836539365403654136542365433654436545365463654736548365493655036551365523655336554365553655636557365583655936560365613656236563365643656536566365673656836569365703657136572365733657436575365763657736578365793658036581365823658336584365853658636587365883658936590365913659236593365943659536596365973659836599366003660136602366033660436605366063660736608366093661036611366123661336614366153661636617366183661936620366213662236623366243662536626366273662836629366303663136632366333663436635366363663736638366393664036641366423664336644366453664636647366483664936650366513665236653366543665536656366573665836659366603666136662366633666436665366663666736668366693667036671366723667336674366753667636677366783667936680366813668236683366843668536686366873668836689366903669136692366933669436695366963669736698366993670036701367023670336704367053670636707367083670936710367113671236713367143671536716367173671836719367203672136722367233672436725367263672736728367293673036731367323673336734367353673636737367383673936740367413674236743367443674536746367473674836749367503675136752367533675436755367563675736758367593676036761367623676336764367653676636767367683676936770367713677236773367743677536776367773677836779367803678136782367833678436785367863678736788367893679036791367923679336794367953679636797367983679936800368013680236803368043680536806368073680836809368103681136812368133681436815368163681736818368193682036821368223682336824368253682636827368283682936830368313683236833368343683536836368373683836839368403684136842368433684436845368463684736848368493685036851368523685336854368553685636857368583685936860368613686236863368643686536866368673686836869368703687136872368733687436875368763687736878368793688036881368823688336884368853688636887368883688936890368913689236893368943689536896368973689836899369003690136902369033690436905369063690736908369093691036911369123691336914369153691636917369183691936920369213692236923369243692536926369273692836929369303693136932369333693436935369363693736938369393694036941369423694336944369453694636947369483694936950369513695236953369543695536956369573695836959369603696136962369633696436965369663696736968369693697036971369723697336974369753697636977369783697936980369813698236983369843698536986369873698836989369903699136992369933699436995369963699736998369993700037001370023700337004370053700637007370083700937010370113701237013370143701537016370173701837019370203702137022370233702437025370263702737028370293703037031370323703337034370353703637037370383703937040370413704237043370443704537046370473704837049370503705137052370533705437055370563705737058370593706037061370623706337064370653706637067370683706937070370713707237073370743707537076370773707837079370803708137082370833708437085370863708737088370893709037091370923709337094370953709637097370983709937100371013710237103371043710537106371073710837109371103711137112371133711437115371163711737118371193712037121371223712337124371253712637127371283712937130371313713237133371343713537136371373713837139371403714137142371433714437145371463714737148371493715037151371523715337154371553715637157371583715937160371613716237163371643716537166371673716837169371703717137172371733717437175371763717737178371793718037181371823718337184371853718637187371883718937190371913719237193371943719537196371973719837199372003720137202372033720437205372063720737208372093721037211372123721337214372153721637217372183721937220372213722237223372243722537226372273722837229372303723137232372333723437235372363723737238372393724037241372423724337244372453724637247372483724937250372513725237253372543725537256372573725837259372603726137262372633726437265372663726737268372693727037271372723727337274372753727637277372783727937280372813728237283372843728537286372873728837289372903729137292372933729437295372963729737298372993730037301373023730337304373053730637307373083730937310373113731237313373143731537316373173731837319373203732137322373233732437325373263732737328373293733037331373323733337334373353733637337373383733937340373413734237343373443734537346373473734837349373503735137352373533735437355373563735737358373593736037361373623736337364373653736637367373683736937370373713737237373373743737537376373773737837379373803738137382373833738437385373863738737388373893739037391373923739337394373953739637397373983739937400374013740237403374043740537406374073740837409374103741137412374133741437415374163741737418374193742037421374223742337424374253742637427374283742937430374313743237433374343743537436374373743837439374403744137442374433744437445374463744737448374493745037451374523745337454374553745637457374583745937460374613746237463374643746537466374673746837469374703747137472374733747437475374763747737478374793748037481374823748337484374853748637487374883748937490374913749237493374943749537496374973749837499375003750137502375033750437505375063750737508375093751037511375123751337514375153751637517375183751937520375213752237523375243752537526375273752837529375303753137532375333753437535375363753737538375393754037541375423754337544375453754637547375483754937550375513755237553375543755537556375573755837559375603756137562375633756437565375663756737568375693757037571375723757337574375753757637577375783757937580375813758237583375843758537586375873758837589375903759137592375933759437595375963759737598375993760037601376023760337604376053760637607376083760937610376113761237613376143761537616376173761837619376203762137622376233762437625376263762737628376293763037631376323763337634376353763637637376383763937640376413764237643376443764537646376473764837649376503765137652376533765437655376563765737658376593766037661376623766337664376653766637667376683766937670376713767237673376743767537676376773767837679376803768137682376833768437685376863768737688376893769037691376923769337694376953769637697376983769937700377013770237703377043770537706377073770837709377103771137712377133771437715377163771737718377193772037721377223772337724377253772637727377283772937730377313773237733377343773537736377373773837739377403774137742377433774437745377463774737748377493775037751377523775337754377553775637757377583775937760377613776237763377643776537766377673776837769377703777137772377733777437775377763777737778377793778037781377823778337784377853778637787377883778937790377913779237793377943779537796377973779837799378003780137802378033780437805378063780737808378093781037811378123781337814378153781637817378183781937820378213782237823378243782537826378273782837829378303783137832378333783437835378363783737838378393784037841378423784337844378453784637847378483784937850378513785237853378543785537856378573785837859378603786137862378633786437865378663786737868378693787037871378723787337874378753787637877378783787937880378813788237883378843788537886378873788837889378903789137892378933789437895378963789737898378993790037901379023790337904379053790637907379083790937910379113791237913379143791537916379173791837919379203792137922379233792437925379263792737928379293793037931379323793337934379353793637937379383793937940379413794237943379443794537946379473794837949379503795137952379533795437955379563795737958379593796037961379623796337964379653796637967379683796937970379713797237973379743797537976379773797837979379803798137982379833798437985379863798737988379893799037991379923799337994379953799637997379983799938000380013800238003380043800538006380073800838009380103801138012380133801438015380163801738018380193802038021380223802338024380253802638027380283802938030380313803238033380343803538036380373803838039380403804138042380433804438045380463804738048380493805038051380523805338054380553805638057380583805938060380613806238063380643806538066380673806838069380703807138072380733807438075380763807738078380793808038081380823808338084380853808638087380883808938090380913809238093380943809538096380973809838099381003810138102381033810438105381063810738108381093811038111381123811338114381153811638117381183811938120381213812238123381243812538126381273812838129381303813138132381333813438135381363813738138381393814038141381423814338144381453814638147381483814938150381513815238153381543815538156381573815838159381603816138162381633816438165381663816738168381693817038171381723817338174381753817638177381783817938180381813818238183381843818538186381873818838189381903819138192381933819438195381963819738198381993820038201382023820338204382053820638207382083820938210382113821238213382143821538216382173821838219382203822138222382233822438225382263822738228382293823038231382323823338234382353823638237382383823938240382413824238243382443824538246382473824838249382503825138252382533825438255382563825738258382593826038261382623826338264382653826638267382683826938270382713827238273382743827538276382773827838279382803828138282382833828438285382863828738288382893829038291382923829338294382953829638297382983829938300383013830238303383043830538306383073830838309383103831138312383133831438315383163831738318383193832038321383223832338324383253832638327383283832938330383313833238333383343833538336383373833838339383403834138342383433834438345383463834738348383493835038351383523835338354383553835638357383583835938360383613836238363383643836538366383673836838369383703837138372383733837438375383763837738378383793838038381383823838338384383853838638387383883838938390383913839238393383943839538396383973839838399384003840138402384033840438405384063840738408384093841038411384123841338414384153841638417384183841938420384213842238423384243842538426384273842838429384303843138432384333843438435384363843738438384393844038441384423844338444384453844638447384483844938450384513845238453384543845538456384573845838459384603846138462384633846438465384663846738468384693847038471384723847338474384753847638477384783847938480384813848238483384843848538486384873848838489384903849138492384933849438495384963849738498384993850038501385023850338504385053850638507385083850938510385113851238513385143851538516385173851838519385203852138522385233852438525385263852738528385293853038531385323853338534385353853638537385383853938540385413854238543385443854538546385473854838549385503855138552385533855438555385563855738558385593856038561385623856338564385653856638567385683856938570385713857238573385743857538576385773857838579385803858138582385833858438585385863858738588385893859038591385923859338594385953859638597385983859938600386013860238603386043860538606386073860838609386103861138612386133861438615386163861738618386193862038621386223862338624386253862638627386283862938630386313863238633386343863538636386373863838639386403864138642386433864438645386463864738648386493865038651386523865338654386553865638657386583865938660386613866238663386643866538666386673866838669386703867138672386733867438675386763867738678386793868038681386823868338684386853868638687386883868938690386913869238693386943869538696386973869838699387003870138702387033870438705387063870738708387093871038711387123871338714387153871638717387183871938720387213872238723387243872538726387273872838729387303873138732387333873438735387363873738738387393874038741387423874338744387453874638747387483874938750387513875238753387543875538756387573875838759387603876138762387633876438765387663876738768387693877038771387723877338774387753877638777387783877938780387813878238783387843878538786387873878838789387903879138792387933879438795387963879738798387993880038801388023880338804388053880638807388083880938810388113881238813388143881538816388173881838819388203882138822388233882438825388263882738828388293883038831388323883338834388353883638837388383883938840388413884238843388443884538846388473884838849388503885138852388533885438855388563885738858388593886038861388623886338864388653886638867388683886938870388713887238873388743887538876388773887838879388803888138882388833888438885388863888738888388893889038891388923889338894388953889638897388983889938900389013890238903389043890538906389073890838909389103891138912389133891438915389163891738918389193892038921389223892338924389253892638927389283892938930389313893238933389343893538936389373893838939389403894138942389433894438945389463894738948389493895038951389523895338954389553895638957389583895938960389613896238963389643896538966389673896838969389703897138972389733897438975389763897738978389793898038981389823898338984389853898638987389883898938990389913899238993389943899538996389973899838999390003900139002390033900439005390063900739008390093901039011390123901339014390153901639017390183901939020390213902239023390243902539026390273902839029390303903139032390333903439035390363903739038390393904039041390423904339044390453904639047390483904939050390513905239053390543905539056390573905839059390603906139062390633906439065390663906739068390693907039071390723907339074390753907639077390783907939080390813908239083390843908539086390873908839089390903909139092390933909439095390963909739098390993910039101391023910339104391053910639107391083910939110391113911239113391143911539116391173911839119391203912139122391233912439125391263912739128391293913039131391323913339134391353913639137391383913939140391413914239143391443914539146391473914839149391503915139152391533915439155391563915739158391593916039161391623916339164391653916639167391683916939170391713917239173391743917539176391773917839179391803918139182391833918439185391863918739188391893919039191391923919339194391953919639197391983919939200392013920239203392043920539206392073920839209392103921139212392133921439215392163921739218392193922039221392223922339224392253922639227392283922939230392313923239233392343923539236392373923839239392403924139242392433924439245392463924739248392493925039251392523925339254392553925639257392583925939260392613926239263392643926539266392673926839269392703927139272392733927439275392763927739278392793928039281392823928339284392853928639287392883928939290392913929239293392943929539296392973929839299393003930139302393033930439305393063930739308393093931039311393123931339314393153931639317393183931939320393213932239323393243932539326393273932839329393303933139332393333933439335393363933739338393393934039341393423934339344393453934639347393483934939350393513935239353393543935539356393573935839359393603936139362393633936439365393663936739368393693937039371393723937339374393753937639377393783937939380393813938239383393843938539386393873938839389393903939139392393933939439395393963939739398393993940039401394023940339404394053940639407394083940939410394113941239413394143941539416394173941839419394203942139422394233942439425394263942739428394293943039431394323943339434394353943639437394383943939440394413944239443394443944539446394473944839449394503945139452394533945439455394563945739458394593946039461394623946339464394653946639467394683946939470394713947239473394743947539476394773947839479394803948139482394833948439485394863948739488394893949039491394923949339494394953949639497394983949939500395013950239503395043950539506395073950839509395103951139512395133951439515395163951739518395193952039521395223952339524395253952639527395283952939530395313953239533395343953539536395373953839539395403954139542395433954439545395463954739548395493955039551395523955339554395553955639557395583955939560395613956239563395643956539566395673956839569395703957139572395733957439575395763957739578395793958039581395823958339584395853958639587395883958939590395913959239593395943959539596395973959839599396003960139602396033960439605396063960739608396093961039611396123961339614396153961639617396183961939620396213962239623396243962539626396273962839629396303963139632396333963439635396363963739638396393964039641396423964339644396453964639647396483964939650396513965239653396543965539656396573965839659396603966139662396633966439665396663966739668396693967039671396723967339674396753967639677396783967939680396813968239683396843968539686396873968839689396903969139692396933969439695396963969739698396993970039701397023970339704397053970639707397083970939710397113971239713397143971539716397173971839719397203972139722397233972439725397263972739728397293973039731397323973339734397353973639737397383973939740397413974239743397443974539746397473974839749397503975139752397533975439755397563975739758397593976039761397623976339764397653976639767397683976939770397713977239773397743977539776397773977839779397803978139782397833978439785397863978739788397893979039791397923979339794397953979639797397983979939800398013980239803398043980539806398073980839809398103981139812398133981439815398163981739818398193982039821398223982339824398253982639827398283982939830398313983239833398343983539836398373983839839398403984139842398433984439845398463984739848398493985039851398523985339854398553985639857398583985939860398613986239863398643986539866398673986839869398703987139872398733987439875398763987739878398793988039881398823988339884398853988639887398883988939890398913989239893398943989539896398973989839899399003990139902399033990439905399063990739908399093991039911399123991339914399153991639917399183991939920399213992239923399243992539926399273992839929399303993139932399333993439935399363993739938399393994039941399423994339944399453994639947399483994939950399513995239953399543995539956399573995839959399603996139962399633996439965399663996739968399693997039971399723997339974399753997639977399783997939980399813998239983399843998539986399873998839989399903999139992399933999439995399963999739998399994000040001400024000340004400054000640007400084000940010400114001240013400144001540016400174001840019400204002140022400234002440025400264002740028400294003040031400324003340034400354003640037400384003940040400414004240043400444004540046400474004840049400504005140052400534005440055400564005740058400594006040061400624006340064400654006640067400684006940070400714007240073400744007540076400774007840079400804008140082400834008440085400864008740088400894009040091400924009340094400954009640097400984009940100401014010240103401044010540106401074010840109401104011140112401134011440115401164011740118401194012040121401224012340124401254012640127401284012940130401314013240133401344013540136401374013840139401404014140142401434014440145401464014740148401494015040151401524015340154401554015640157401584015940160401614016240163401644016540166401674016840169401704017140172401734017440175401764017740178401794018040181401824018340184401854018640187401884018940190401914019240193401944019540196401974019840199402004020140202402034020440205402064020740208402094021040211402124021340214402154021640217402184021940220402214022240223402244022540226402274022840229402304023140232402334023440235402364023740238402394024040241402424024340244402454024640247402484024940250402514025240253402544025540256402574025840259402604026140262402634026440265402664026740268402694027040271402724027340274402754027640277402784027940280402814028240283402844028540286402874028840289402904029140292402934029440295402964029740298402994030040301403024030340304403054030640307403084030940310403114031240313403144031540316403174031840319403204032140322403234032440325403264032740328403294033040331403324033340334403354033640337403384033940340403414034240343403444034540346403474034840349403504035140352403534035440355403564035740358403594036040361403624036340364403654036640367403684036940370403714037240373403744037540376403774037840379403804038140382403834038440385403864038740388403894039040391403924039340394403954039640397403984039940400404014040240403404044040540406404074040840409404104041140412404134041440415404164041740418404194042040421404224042340424404254042640427404284042940430404314043240433404344043540436404374043840439404404044140442404434044440445404464044740448404494045040451404524045340454404554045640457404584045940460404614046240463404644046540466404674046840469404704047140472404734047440475404764047740478404794048040481404824048340484404854048640487404884048940490404914049240493404944049540496404974049840499405004050140502405034050440505405064050740508405094051040511405124051340514405154051640517405184051940520405214052240523405244052540526405274052840529405304053140532405334053440535405364053740538405394054040541405424054340544405454054640547405484054940550405514055240553405544055540556405574055840559405604056140562405634056440565405664056740568405694057040571405724057340574405754057640577405784057940580405814058240583405844058540586405874058840589405904059140592405934059440595405964059740598405994060040601406024060340604406054060640607406084060940610406114061240613406144061540616406174061840619406204062140622406234062440625406264062740628406294063040631406324063340634406354063640637406384063940640406414064240643406444064540646406474064840649406504065140652406534065440655406564065740658406594066040661406624066340664406654066640667406684066940670406714067240673406744067540676406774067840679406804068140682406834068440685406864068740688406894069040691406924069340694406954069640697406984069940700407014070240703407044070540706407074070840709407104071140712407134071440715407164071740718407194072040721407224072340724407254072640727407284072940730407314073240733407344073540736407374073840739407404074140742407434074440745407464074740748407494075040751407524075340754407554075640757407584075940760407614076240763407644076540766407674076840769407704077140772407734077440775407764077740778407794078040781407824078340784407854078640787407884078940790407914079240793407944079540796407974079840799408004080140802408034080440805408064080740808408094081040811408124081340814408154081640817408184081940820408214082240823408244082540826408274082840829408304083140832408334083440835408364083740838408394084040841408424084340844408454084640847408484084940850408514085240853408544085540856408574085840859408604086140862408634086440865408664086740868408694087040871408724087340874408754087640877408784087940880408814088240883408844088540886408874088840889408904089140892408934089440895408964089740898408994090040901409024090340904409054090640907409084090940910409114091240913409144091540916409174091840919409204092140922409234092440925409264092740928409294093040931409324093340934409354093640937409384093940940409414094240943409444094540946409474094840949409504095140952409534095440955409564095740958409594096040961409624096340964409654096640967409684096940970409714097240973409744097540976409774097840979409804098140982409834098440985409864098740988409894099040991409924099340994409954099640997409984099941000410014100241003410044100541006410074100841009410104101141012410134101441015410164101741018410194102041021410224102341024410254102641027410284102941030410314103241033410344103541036410374103841039410404104141042410434104441045410464104741048410494105041051410524105341054410554105641057410584105941060410614106241063410644106541066410674106841069410704107141072410734107441075410764107741078410794108041081410824108341084410854108641087410884108941090410914109241093410944109541096410974109841099411004110141102411034110441105411064110741108411094111041111411124111341114411154111641117411184111941120411214112241123411244112541126411274112841129411304113141132411334113441135411364113741138411394114041141411424114341144411454114641147411484114941150411514115241153411544115541156411574115841159411604116141162411634116441165411664116741168411694117041171411724117341174411754117641177411784117941180411814118241183411844118541186411874118841189411904119141192411934119441195411964119741198411994120041201412024120341204412054120641207412084120941210412114121241213412144121541216412174121841219412204122141222412234122441225412264122741228412294123041231412324123341234412354123641237412384123941240412414124241243412444124541246412474124841249412504125141252412534125441255412564125741258412594126041261412624126341264412654126641267412684126941270412714127241273412744127541276412774127841279412804128141282412834128441285412864128741288412894129041291412924129341294412954129641297412984129941300413014130241303413044130541306413074130841309413104131141312413134131441315413164131741318413194132041321413224132341324413254132641327413284132941330413314133241333413344133541336413374133841339413404134141342413434134441345413464134741348413494135041351413524135341354413554135641357413584135941360413614136241363413644136541366413674136841369413704137141372413734137441375413764137741378413794138041381413824138341384413854138641387413884138941390413914139241393413944139541396413974139841399414004140141402414034140441405414064140741408414094141041411414124141341414414154141641417414184141941420414214142241423414244142541426414274142841429414304143141432414334143441435414364143741438414394144041441414424144341444414454144641447414484144941450414514145241453414544145541456414574145841459414604146141462414634146441465414664146741468414694147041471414724147341474414754147641477414784147941480414814148241483414844148541486414874148841489414904149141492414934149441495414964149741498414994150041501415024150341504415054150641507415084150941510415114151241513415144151541516415174151841519415204152141522415234152441525415264152741528415294153041531415324153341534415354153641537415384153941540415414154241543415444154541546415474154841549415504155141552415534155441555415564155741558415594156041561415624156341564415654156641567415684156941570415714157241573415744157541576415774157841579415804158141582415834158441585415864158741588415894159041591415924159341594415954159641597415984159941600416014160241603416044160541606416074160841609416104161141612416134161441615416164161741618416194162041621416224162341624416254162641627416284162941630416314163241633416344163541636416374163841639416404164141642416434164441645416464164741648416494165041651416524165341654416554165641657416584165941660416614166241663416644166541666416674166841669416704167141672416734167441675416764167741678416794168041681416824168341684416854168641687416884168941690416914169241693416944169541696416974169841699417004170141702417034170441705417064170741708417094171041711417124171341714417154171641717417184171941720417214172241723417244172541726417274172841729417304173141732417334173441735417364173741738417394174041741417424174341744417454174641747417484174941750417514175241753417544175541756417574175841759417604176141762417634176441765417664176741768417694177041771417724177341774417754177641777417784177941780417814178241783417844178541786417874178841789417904179141792417934179441795417964179741798417994180041801418024180341804418054180641807418084180941810418114181241813418144181541816418174181841819418204182141822418234182441825418264182741828418294183041831418324183341834418354183641837418384183941840418414184241843418444184541846418474184841849418504185141852418534185441855418564185741858418594186041861418624186341864418654186641867418684186941870418714187241873418744187541876418774187841879418804188141882418834188441885418864188741888418894189041891418924189341894418954189641897418984189941900419014190241903419044190541906419074190841909419104191141912419134191441915
  1. definitions:
  2. app.Response:
  3. properties:
  4. code:
  5. type: integer
  6. data: {}
  7. msg:
  8. type: string
  9. page:
  10. description: 页码
  11. type: integer
  12. pagesize:
  13. description: 每页条数
  14. type: integer
  15. total:
  16. description: 总条数
  17. type: integer
  18. type: object
  19. common.ClientMenu:
  20. properties:
  21. children:
  22. description: 子菜单列表
  23. items:
  24. $ref: '#/definitions/common.ClientMenu'
  25. type: array
  26. code:
  27. description: ID
  28. type: string
  29. isshow:
  30. description: 是否显示
  31. type: boolean
  32. remark:
  33. description: 备注
  34. type: string
  35. rulekey:
  36. description: 对应权限主键,对应FUNCMENULIST表RESOURCECODE
  37. type: string
  38. sort:
  39. description: 排序
  40. type: integer
  41. title:
  42. description: 标题
  43. type: string
  44. type:
  45. description: 类型,1:菜单 2:按钮
  46. type: integer
  47. url:
  48. description: URL
  49. type: string
  50. type: object
  51. common.PCWebMenu:
  52. properties:
  53. auth:
  54. description: 页面权限列表
  55. items:
  56. $ref: '#/definitions/common.PCWebMenuAuth'
  57. type: array
  58. children:
  59. description: 子菜单列表
  60. items:
  61. $ref: '#/definitions/common.PCWebMenu'
  62. type: array
  63. code:
  64. description: ID,新版本中权限KEY也是这个字段
  65. type: string
  66. component:
  67. description: 路由组件
  68. type: string
  69. isshow:
  70. description: 是否显示
  71. type: boolean
  72. path:
  73. description: 路由路径
  74. type: string
  75. remark:
  76. description: 备注
  77. type: string
  78. rulekey:
  79. description: 权限主键,非空表示需要判断控制,非空值不可重复
  80. type: string
  81. sort:
  82. description: 排序
  83. type: integer
  84. title:
  85. description: 标题
  86. type: string
  87. url:
  88. description: URL
  89. type: string
  90. type: object
  91. common.PCWebMenuAuth:
  92. properties:
  93. code:
  94. description: ID,新版本中权限KEY也是这个字段
  95. type: string
  96. isshow:
  97. description: 是否显示
  98. type: boolean
  99. label:
  100. description: 标题
  101. type: string
  102. remark:
  103. description: 备注
  104. type: string
  105. rulekey:
  106. description: 权限主键,非空表示需要判断控制,非空值不可重复
  107. type: string
  108. type: object
  109. common.QueryImageConfigsRsp:
  110. properties:
  111. areauserid:
  112. description: 所属机构ID
  113. type: integer
  114. configid:
  115. description: 配置ID(SEQ_SZDZ2_IMAGECONFIG)
  116. type: integer
  117. createdate:
  118. description: 创建时间
  119. type: string
  120. creatorid:
  121. description: 创建人
  122. type: integer
  123. imagedetailpath:
  124. description: 详情图片 [UrlType = 3时 有且必填,其它类型不需要]
  125. type: string
  126. imagepath:
  127. description: 图片
  128. type: string
  129. imagetype:
  130. description: 类型 - 1:首页轮播(移动) 2:我的(移动)
  131. type: integer
  132. isshow:
  133. description: 是否展示 - 0:不展示 1:展示
  134. type: integer
  135. marketid:
  136. description: 市场ID
  137. type: integer
  138. modifierid:
  139. description: 操作人
  140. type: integer
  141. sort:
  142. description: 排序
  143. type: integer
  144. title:
  145. description: 标题
  146. type: string
  147. trademode:
  148. description: 交易模式
  149. type: integer
  150. updatedate:
  151. description: 修改时间
  152. type: string
  153. url:
  154. description: 链接(地址或商品ID)
  155. type: string
  156. urltype:
  157. description: 链接类型 - 1:直接地址 2:商品ID
  158. type: integer
  159. required:
  160. - configid
  161. type: object
  162. common.QueryNoticeRsp:
  163. properties:
  164. auditoruserid:
  165. description: 审核人
  166. type: integer
  167. auditremark:
  168. description: 审核备注
  169. type: string
  170. audittime:
  171. description: 审核日期
  172. type: string
  173. autoid:
  174. description: 自增ID
  175. type: integer
  176. content:
  177. description: 内容
  178. type: string
  179. createtime:
  180. description: 创建时间
  181. type: string
  182. creatorid:
  183. description: 建仓人
  184. type: integer
  185. endtime:
  186. description: 结束时间
  187. type: string
  188. istop:
  189. description: 是否置顶 - 0:不置顶 1:置顶
  190. type: integer
  191. msgiconurl:
  192. description: 消息图标Url
  193. type: string
  194. msgtype:
  195. description: 消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知
  196. type: integer
  197. publisher:
  198. description: 消息发布者
  199. type: string
  200. readed:
  201. description: 是否已读
  202. type: boolean
  203. scheduletime:
  204. description: 计划发送时间
  205. type: string
  206. sendtype:
  207. description: 推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)
  208. type: integer
  209. sentstatus:
  210. description: 推送状态 - 0:未推送 1:已推送 2:审核拒绝
  211. type: integer
  212. title:
  213. description: 标题
  214. type: string
  215. userid:
  216. description: 会员/投资者ID推送方式 为 个人时,填写投资者ID
  217. type: integer
  218. required:
  219. - autoid
  220. type: object
  221. common.QueryProvincesAndCitiesRsp:
  222. properties:
  223. cities:
  224. description: 市
  225. items:
  226. $ref: '#/definitions/models.Division'
  227. type: array
  228. province:
  229. allOf:
  230. - $ref: '#/definitions/models.Division'
  231. description: 省
  232. type: object
  233. common.QueryTableDefineRsp:
  234. properties:
  235. columns:
  236. description: 列头信息数组
  237. items:
  238. $ref: '#/definitions/models.Tablecolumnconfig'
  239. type: array
  240. remark:
  241. description: Remark
  242. type: string
  243. tabelmenu:
  244. description: 列表菜单
  245. type: string
  246. tablekey:
  247. description: 列表Key
  248. type: string
  249. tablename:
  250. description: 列表名称
  251. type: string
  252. tabletype:
  253. description: 列表类型 - 1:管理端 2:终端
  254. type: integer
  255. required:
  256. - tablekey
  257. type: object
  258. common.QueryTraderMenuRsp:
  259. properties:
  260. OperationMenu:
  261. description: 功能菜单
  262. items:
  263. $ref: '#/definitions/models.OperationPrimaryMenu'
  264. type: array
  265. QuoteMenu:
  266. description: 报价牌分类菜单
  267. items:
  268. $ref: '#/definitions/models.QuotePrimaryMenu'
  269. type: array
  270. type: object
  271. cptrade.Cptradepositioncancel:
  272. properties:
  273. accountid:
  274. description: 申请人账户ID
  275. type: integer
  276. applystatus:
  277. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  278. type: integer
  279. applytime:
  280. description: 申请时间
  281. type: string
  282. cancelid:
  283. description: 注销ID(SEQ_CPTRADE_POSITIONCANCEL)
  284. type: integer
  285. cancelqty:
  286. description: 注销数量
  287. type: integer
  288. createtime:
  289. description: 创建时间
  290. type: string
  291. creatorid:
  292. description: 创建人ID
  293. type: integer
  294. creatorname:
  295. description: 创建人
  296. type: string
  297. goodscode:
  298. description: 订单商品代码
  299. type: string
  300. goodsid:
  301. description: 商品ID
  302. type: integer
  303. goodsname:
  304. description: 订单商品名称
  305. type: string
  306. goodunit:
  307. description: 报价单位
  308. type: string
  309. handlestatus:
  310. description: 处理状态
  311. type: integer
  312. marketid:
  313. description: 市场ID
  314. type: integer
  315. marketname:
  316. description: 市场名称
  317. type: string
  318. tradedate:
  319. description: 交易日(yyyyMMdd)
  320. type: string
  321. userid:
  322. description: 申请人ID
  323. type: integer
  324. required:
  325. - cancelid
  326. type: object
  327. cptrade.Cptradepresaleapply:
  328. properties:
  329. accountid:
  330. description: 申请人账户ID
  331. type: integer
  332. applyid:
  333. description: 申请ID(181+Unix秒时间戳(10位)+xxxxxx)
  334. type: integer
  335. applyremark:
  336. description: 申请备注
  337. type: string
  338. applystatus:
  339. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  340. type: integer
  341. applytime:
  342. description: 申请时间
  343. type: string
  344. attachmenturl:
  345. description: 附件地址
  346. type: string
  347. endtime:
  348. description: 预售结束时间
  349. type: string
  350. goodscode:
  351. description: 商品代码
  352. type: string
  353. goodsid:
  354. description: 商品ID
  355. type: integer
  356. goodsname:
  357. description: 商品名称
  358. type: string
  359. goodunit:
  360. description: 报价单位
  361. type: string
  362. handlestatus:
  363. description: 处理状态
  364. type: integer
  365. marketid:
  366. description: 预售市场ID
  367. type: integer
  368. marketname:
  369. description: 预售市场名称
  370. type: string
  371. presaleqty:
  372. description: 预售数量
  373. type: integer
  374. relatedgoodscode:
  375. description: 关联交易合约代码
  376. type: string
  377. relatedgoodsid:
  378. description: 关联交易合约ID
  379. type: integer
  380. relatedgoodsname:
  381. description: 关联交易合约名称
  382. type: string
  383. starttime:
  384. description: 预售开始时间
  385. type: string
  386. tradedate:
  387. description: 交易日(yyyyMMdd)
  388. type: string
  389. trademode:
  390. description: 交易模式 - 16:挂牌点选 21:大宗竞拍
  391. type: integer
  392. userid:
  393. description: 申请人ID
  394. type: integer
  395. required:
  396. - applyid
  397. type: object
  398. cptrade.Cptradeusergoodsdata:
  399. properties:
  400. EnabledQty:
  401. description: 可用量
  402. type: integer
  403. GoodsCode:
  404. description: 订单商品代码
  405. type: string
  406. GoodsName:
  407. description: 订单商品名称
  408. type: string
  409. WRStandardCode:
  410. description: 仓单标准代码
  411. type: string
  412. WRStandardName:
  413. description: 仓单标准名称
  414. type: string
  415. accountid:
  416. description: 账户ID
  417. type: integer
  418. cancelqty:
  419. description: 注销量
  420. type: integer
  421. curpresaleqty:
  422. description: 当前预售量
  423. type: integer
  424. deliveryqty:
  425. description: 交割量
  426. type: integer
  427. freezeamount:
  428. description: 冻结金额
  429. type: number
  430. goodsid:
  431. description: 商品ID
  432. type: integer
  433. goodunit:
  434. description: 报价单位
  435. type: string
  436. hasspotfreeze:
  437. description: 是否有现货冻结 - 0:否 1:有
  438. type: integer
  439. inqty:
  440. description: 转入量(总数量)
  441. type: integer
  442. marketid:
  443. description: 市场ID
  444. type: integer
  445. presaledamount:
  446. description: 已预售总金额
  447. type: integer
  448. presaledqty:
  449. description: 已预售量
  450. type: integer
  451. userid:
  452. description: 用户ID
  453. type: integer
  454. wrstandardid:
  455. description: 仓单标准ID
  456. type: integer
  457. required:
  458. - accountid
  459. - goodsid
  460. type: object
  461. cptrade.QueryCPTradeMyBidRsp:
  462. properties:
  463. accountid:
  464. description: 账户ID[报价币种]
  465. type: integer
  466. goodsid:
  467. description: 商品ID
  468. type: integer
  469. goodunit:
  470. description: 报价单位
  471. type: string
  472. marketid:
  473. description: 市场ID
  474. type: integer
  475. orderid:
  476. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  477. type: integer
  478. orderprice:
  479. description: 委托价格
  480. type: number
  481. orderqty:
  482. description: 委托数量
  483. type: integer
  484. ordertime:
  485. description: 委托时间
  486. type: string
  487. ordertotalprice:
  488. description: 货款金额(委托总价格=委托价格*委托数量*合约单位)
  489. type: number
  490. ordertotalweight:
  491. description: 竞拍总重量(委托总重量=委托数量*合约单位)
  492. type: integer
  493. totaltotalprice:
  494. description: 成交货款金额(成交总价格=成交价格*成交数量*合约单位)
  495. type: number
  496. tradeprice:
  497. description: 成交价格
  498. type: number
  499. tradeqty:
  500. description: 成交数量
  501. type: integer
  502. required:
  503. - accountid
  504. - goodsid
  505. - marketid
  506. - orderid
  507. - orderqty
  508. - ordertime
  509. - tradeprice
  510. - tradeqty
  511. type: object
  512. cptrade.QueryCPTradeOrderDetailRsq:
  513. properties:
  514. accountid:
  515. description: 账户ID[报价币种]
  516. type: integer
  517. buildtype:
  518. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  519. type: integer
  520. buyorsell:
  521. description: 买卖 - 0:买 1:卖
  522. type: integer
  523. cancelorderid:
  524. description: 撤单单号(撤单时填写)
  525. type: integer
  526. cancelqty:
  527. description: 撤单数量
  528. type: integer
  529. clientordertime:
  530. description: 客户端委托时间
  531. type: string
  532. clientticket:
  533. description: 客户端流水号
  534. type: string
  535. clienttype:
  536. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  537. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  538. type: integer
  539. closeexchagechargevalue:
  540. description: 平仓交易所手续费设置值
  541. type: number
  542. closefeealgorithm:
  543. description: 平仓手续费收取方式 1:比率 2:固定
  544. type: integer
  545. closefreezecharge:
  546. description: 平仓冻结手续费(先建后平操作,需要记录)
  547. type: number
  548. closememberchargevalue:
  549. description: 平仓会员手续费设置值
  550. type: number
  551. closeqty:
  552. description: 平仓数量(先建后平操作 需要记录)
  553. type: integer
  554. closetradeqty:
  555. description: 平仓成交数量(先建后平操作,需要记录)
  556. type: integer
  557. closeunfreezecharge:
  558. description: 平仓解冻手续费(先建后平操作,需要记录)
  559. type: number
  560. delistingtype:
  561. description: 摘牌类型 - 1:价格最优 2:点选成交
  562. type: integer
  563. freezecharge:
  564. description: 冻结手续费
  565. type: number
  566. freezemargin:
  567. description: 冻结保证金(冻结交易金额)
  568. type: number
  569. gcaccountid:
  570. description: 账户ID[合约币种]
  571. type: integer
  572. goodsid:
  573. description: 商品ID
  574. type: integer
  575. isconfirmexercise:
  576. description: 是否确认行权- 0:否 1:是
  577. type: integer
  578. ispreexercise:
  579. description: 是否预申报- 0:否 1:是
  580. type: integer
  581. listingselecttype:
  582. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  583. type: integer
  584. marginalgorithm:
  585. description: 保证金收取方式 1:比率 2:固定
  586. type: integer
  587. marginvalue:
  588. description: 即市保证金设置值
  589. type: number
  590. marketid:
  591. description: 市场ID
  592. type: integer
  593. marketmaxsub:
  594. description: 市价最大偏移范围
  595. type: number
  596. memberuserid:
  597. description: 所属会员UserID
  598. type: integer
  599. openexchagechargevalue:
  600. description: 建仓交易所手续费设置值
  601. type: number
  602. openfeealgorithm:
  603. description: 建仓手续费收取方式 1:比率 2:固定
  604. type: integer
  605. openfreezecharge:
  606. description: 开仓冻结手续费(先建后平操作,需要记录)
  607. type: number
  608. openmemberchargevalue:
  609. description: 建仓会员手续费设置值
  610. type: number
  611. openqty:
  612. description: 开仓数量(先建后平操作,需要记录)
  613. type: integer
  614. opentradeqty:
  615. description: 开仓成交数量(先建后平操作,需要记录)
  616. type: integer
  617. openunfreezecharge:
  618. description: 开仓解冻手续费(先建后平操作,需要记录)
  619. type: number
  620. operatetype:
  621. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  622. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  623. 15:管理端协议转让
  624. type: integer
  625. operatorid:
  626. description: 登录账号(LoginID)
  627. type: integer
  628. optiontype:
  629. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  630. type: integer
  631. orderprice:
  632. description: 委托价格
  633. type: number
  634. orderqty:
  635. description: 委托数量
  636. type: integer
  637. ordersrc:
  638. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  639. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  640. type: integer
  641. orderstatus:
  642. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  643. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  644. 16:成交失败违约(荷兰式竞拍专用)
  645. type: integer
  646. ordertime:
  647. description: 委托时间
  648. type: string
  649. preexerciseprice:
  650. description: 预申报价格
  651. type: number
  652. premium:
  653. description: 权利金
  654. type: number
  655. preorderid:
  656. description: 关联预埋单号(止盈止损单时填写)
  657. type: integer
  658. pricemode:
  659. description: '取价方式 - 1:市价 2: 限价'
  660. type: integer
  661. quoteid:
  662. description: 报价单ID
  663. type: integer
  664. relatedid:
  665. description: 关联单号(交割单)
  666. type: integer
  667. retcode:
  668. description: 错误代码
  669. type: integer
  670. sessionid:
  671. description: 会话ID
  672. type: integer
  673. strorderid:
  674. description: 委托单号
  675. type: string
  676. tradedate:
  677. description: 交易日(yyyyMMdd)
  678. type: string
  679. tradeproperty:
  680. description: 交易属性
  681. type: integer
  682. tradeqty:
  683. description: 成交数量
  684. type: integer
  685. unfreezecharge:
  686. description: 解冻手续费
  687. type: number
  688. unfreezemargin:
  689. description: 解冻保证金
  690. type: number
  691. updatetime:
  692. description: 更新时间
  693. type: string
  694. uuid:
  695. description: 发起端唯一id
  696. type: string
  697. validtime:
  698. description: 有效期限
  699. type: string
  700. validtype:
  701. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  702. type: integer
  703. volumetype:
  704. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  705. type: integer
  706. required:
  707. - accountid
  708. - buildtype
  709. - buyorsell
  710. - goodsid
  711. - marketid
  712. - memberuserid
  713. - operatetype
  714. - orderqty
  715. - ordertime
  716. - pricemode
  717. - strorderid
  718. - tradedate
  719. - validtype
  720. type: object
  721. cptrade.QueryMyCPTradeGoodsRsp:
  722. properties:
  723. accountid:
  724. description: 卖方账户ID
  725. type: integer
  726. agreeunit:
  727. description: 合约单位
  728. type: number
  729. applyid:
  730. description: 关联申请ID
  731. type: integer
  732. attachmenturl:
  733. description: 附件地址
  734. type: string
  735. createtime:
  736. description: 创建时间
  737. type: string
  738. currencyid:
  739. description: 报价货币ID
  740. type: integer
  741. decimalplace:
  742. description: 报价小数位
  743. type: integer
  744. endtime:
  745. description: 预售结束时间
  746. type: string
  747. floorprice:
  748. description: 底价[大宗式竞拍]
  749. type: number
  750. goodscode:
  751. description: 商品代码(预售)
  752. type: string
  753. goodsdetail:
  754. description: 详情[大宗]
  755. type: string
  756. goodsid:
  757. description: 商品ID(自增ID SEQ_GOODS)
  758. type: integer
  759. goodsname:
  760. description: 商品名称(预售)
  761. type: string
  762. goodunit:
  763. description: 报价单位
  764. type: string
  765. goodunitid:
  766. description: 报价单位ID
  767. type: integer
  768. marketid:
  769. description: 所属市场ID
  770. type: integer
  771. marketname:
  772. description: 预售市场名称
  773. type: string
  774. presaledamount:
  775. description: 已预售总金额(预售结束时更新)
  776. type: number
  777. presaledqty:
  778. description: 已预售量(预售结束时更新)
  779. type: integer
  780. presalemode:
  781. description: 预售模式 - 1:一口价 2:大宗式竞拍
  782. type: integer
  783. presaleqty:
  784. description: 预售数量
  785. type: integer
  786. refprice:
  787. description: 参考价格[一口价]
  788. type: number
  789. relatedgoodscode:
  790. description: 商品代码(订单)
  791. type: string
  792. relatedgoodsid:
  793. description: 关联交易合约ID
  794. type: integer
  795. relatedgoodsname:
  796. description: 商品名称(订单)
  797. type: string
  798. relatedmarketid:
  799. description: 关联交易合约市场ID
  800. type: integer
  801. sellstatus:
  802. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  803. type: integer
  804. startprice:
  805. description: 起拍价[大宗式竞拍]
  806. type: number
  807. starttime:
  808. description: 预售开始时间
  809. type: string
  810. tradedate:
  811. description: 交易日(yyyyMMdd)
  812. type: string
  813. tradeprice:
  814. description: 成交价[大宗]
  815. type: number
  816. userid:
  817. description: 卖方用户ID
  818. type: integer
  819. required:
  820. - goodscode
  821. - goodsid
  822. - goodsname
  823. - marketid
  824. - relatedgoodscode
  825. - relatedgoodsname
  826. type: object
  827. cptrade.QueryPresaleGoodsExRsp:
  828. properties:
  829. attachmenturl:
  830. description: 附件地址
  831. type: string
  832. createtime:
  833. description: 创建时间
  834. type: string
  835. endtime:
  836. description: 预售结束时间
  837. type: string
  838. floorprice:
  839. description: 底价[大宗式竞拍]
  840. type: number
  841. goodsdetail:
  842. description: 详情[大宗]
  843. type: string
  844. goodsid:
  845. description: 商品ID(预售)
  846. type: integer
  847. goodunit:
  848. description: 报价单位
  849. type: string
  850. marketid:
  851. description: 预售市场ID - 根据预售模式选择市场
  852. type: integer
  853. presaledamount:
  854. description: 已预售总金额(预售结束时更新)
  855. type: number
  856. presaledqty:
  857. description: 已预售量(预售结束时更新)
  858. type: integer
  859. presalemode:
  860. description: 预售模式 - 1:一口价 2:大宗式竞拍
  861. type: integer
  862. presaleqty:
  863. description: 预售数量
  864. type: integer
  865. refprice:
  866. description: 参考价格[一口价]
  867. type: number
  868. relatedgoodsid:
  869. description: 关联交易合约ID
  870. type: integer
  871. relatedmarketid:
  872. description: 关联交易合约市场ID
  873. type: integer
  874. sellstatus:
  875. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  876. type: integer
  877. startprice:
  878. description: 起拍价[大宗式竞拍]
  879. type: number
  880. starttime:
  881. description: 预售开始时间
  882. type: string
  883. tradedate:
  884. description: 交易日(yyyyMMdd)
  885. type: string
  886. tradeprice:
  887. description: 成交价[大宗]
  888. type: number
  889. required:
  890. - goodsid
  891. type: object
  892. delivery.QueryDeliveryRelationRsp:
  893. properties:
  894. begindate:
  895. description: 起始日期(yyyyMMdd)
  896. type: string
  897. buytemplateid:
  898. description: 买履约计划模板ID
  899. type: integer
  900. deliverygoodscode:
  901. description: 品种代码
  902. type: string
  903. deliverygoodsid:
  904. description: 交割商品
  905. type: integer
  906. deliverygoodsname:
  907. description: 品种名称
  908. type: string
  909. deliverymode:
  910. description: 交割方式 - 1:点选式 2:申报式
  911. type: integer
  912. deliverypricerule:
  913. description: 交割价规则- 1:行情价 2:建仓价
  914. type: integer
  915. deliverytype:
  916. description: 交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割
  917. type: integer
  918. enddate:
  919. description: 结束日期(yyyyMMdd)
  920. type: string
  921. enumdicname:
  922. description: 品类单位名称
  923. type: string
  924. goodscode:
  925. description: 商品代码
  926. type: string
  927. goodsid:
  928. description: 交易合约ID
  929. type: integer
  930. goodsname:
  931. description: 商品名称
  932. type: string
  933. marketid:
  934. description: 市场ID
  935. type: integer
  936. mindeliveryqty:
  937. description: 最小交割系数(K)
  938. type: integer
  939. p2deliveryprice:
  940. description: P2合约价格(商品价时填写0,固定值时填写固定值)
  941. type: number
  942. p2deliveryratio:
  943. description: P2合约系数(p)
  944. type: integer
  945. p2goodsid:
  946. description: P2合约ID
  947. type: integer
  948. p2pricemode:
  949. description: P2合约价格方式 - 1:商品价 2:固定值
  950. type: integer
  951. pdeliveryprice:
  952. description: P合约价格(商品价时填写0,固定值时填写固定值)
  953. type: number
  954. pdeliveryratio:
  955. description: P合约系数(n)
  956. type: integer
  957. pgoodscode:
  958. description: p合约代码
  959. type: string
  960. pgoodsid:
  961. description: P合约ID
  962. type: integer
  963. ppricemode:
  964. description: P合约价格方式 - 1:商品价 2:固定值
  965. type: integer
  966. rratio:
  967. description: 兑换系数(R)
  968. type: integer
  969. rratio1:
  970. description: 兑换系数(交易合约)(R1)
  971. type: integer
  972. rratio2:
  973. description: 兑换系数(仓单标准)(R2)
  974. type: integer
  975. selltemplateid:
  976. description: 卖履约计划模板ID
  977. type: integer
  978. wrstandardid:
  979. description: 仓单标准ID
  980. type: integer
  981. xdeliveryratio:
  982. description: 交易合约系数(m)
  983. type: integer
  984. required:
  985. - begindate
  986. - enddate
  987. - goodsid
  988. - mindeliveryqty
  989. - xdeliveryratio
  990. type: object
  991. ermcp.ExposureDetailRsp:
  992. properties:
  993. areauserid:
  994. description: 机构ID
  995. type: integer
  996. changeQty:
  997. description: 套保变动量
  998. type: number
  999. contracttype:
  1000. description: 现货合同类型 - 1:采购 -1:销售
  1001. type: integer
  1002. convertfactor:
  1003. description: 标仓系数
  1004. type: number
  1005. convertratio:
  1006. description: 套保系数
  1007. type: number
  1008. createtime:
  1009. description: 时间
  1010. type: string
  1011. enumdicname:
  1012. description: 现货商品单位名称
  1013. type: string
  1014. logtype:
  1015. description: 类型 - 1:套保计划 2:现货合同
  1016. type: integer
  1017. middlegoodsId:
  1018. description: 套保商品id
  1019. type: integer
  1020. middlegoodscode:
  1021. description: 套保商品代码
  1022. type: string
  1023. middlegoodsname:
  1024. description: 套保商品名称
  1025. type: string
  1026. qty:
  1027. description: 数量
  1028. type: number
  1029. relateNo:
  1030. description: 现货合同/套保计划编号
  1031. type: string
  1032. wrstandardcode:
  1033. description: 现货商品代码
  1034. type: string
  1035. wrstandardid:
  1036. description: 现货商品ID
  1037. type: integer
  1038. wrstandardname:
  1039. description: 现货商品名称
  1040. type: string
  1041. type: object
  1042. ermcp.ExposureHedgePosDetailRsp:
  1043. properties:
  1044. buyorsell:
  1045. description: 买卖方向 0-买 1-卖
  1046. type: integer
  1047. channelbuildtype:
  1048. description: 开平方向 1-建仓 2-平仓
  1049. type: integer
  1050. goodscode:
  1051. description: 商品代码
  1052. type: string
  1053. goodsname:
  1054. description: 商品名称
  1055. type: string
  1056. hedgegoodsid:
  1057. description: 商品id
  1058. type: integer
  1059. tradeqty:
  1060. description: 数量(成交数量)
  1061. type: integer
  1062. tradetime:
  1063. description: 时间(成交时间)
  1064. type: string
  1065. type: object
  1066. ermcp.ExposureHedgePositionRsp:
  1067. properties:
  1068. accountid:
  1069. description: 资金账号[外部母账户]
  1070. type: integer
  1071. curbuyposition:
  1072. description: 期末买头寸
  1073. type: integer
  1074. cursellposition:
  1075. description: 期末卖头寸
  1076. type: integer
  1077. curtdbuyposition:
  1078. description: 期末今日买头寸
  1079. type: integer
  1080. curtdsellposition:
  1081. description: 期末今日卖头寸
  1082. type: integer
  1083. curydbuyposition:
  1084. description: 期末上日买头寸
  1085. type: integer
  1086. curydsellposition:
  1087. description: 期末上日卖头寸
  1088. type: integer
  1089. decreaseqty:
  1090. description: 减少数量 = (期末卖头寸 - 期初卖头寸)*-1
  1091. type: integer
  1092. fretdbuyposition:
  1093. description: 冻结今日买头寸
  1094. type: integer
  1095. fretdsellposition:
  1096. description: 冻结今日卖头寸
  1097. type: integer
  1098. freydbuyposition:
  1099. description: 冻结上日买头寸
  1100. type: integer
  1101. freydsellposition:
  1102. description: 冻结上日卖头寸
  1103. type: integer
  1104. goodscode:
  1105. description: 商品代码
  1106. type: string
  1107. goodsid:
  1108. description: 商品id
  1109. type: integer
  1110. goodsname:
  1111. description: 商品名称
  1112. type: string
  1113. hedgeaccountcode:
  1114. description: 对冲账号
  1115. type: string
  1116. hedgegoodsid:
  1117. description: 对冲合约ID
  1118. type: integer
  1119. increaseqty:
  1120. description: 增加数量 = 期末买头寸 - 期初买头寸
  1121. type: integer
  1122. marketid:
  1123. description: 市场ID
  1124. type: integer
  1125. relateduserid:
  1126. description: 关联用户id
  1127. type: integer
  1128. totalcurqty:
  1129. description: 当前数量(净头寸) = 期末买头寸 - 期末卖头寸
  1130. type: integer
  1131. totalydqty:
  1132. description: 昨日数量(净头寸) = 期初买头寸 - 期初卖头寸
  1133. type: integer
  1134. tradedate:
  1135. description: 交易日(yyyyMMdd)
  1136. type: string
  1137. ydbuyposition:
  1138. description: 期初买头寸
  1139. type: integer
  1140. ydsellposition:
  1141. description: 期初卖头寸
  1142. type: integer
  1143. type: object
  1144. ermcp.ExposureSpotDetailRsp:
  1145. properties:
  1146. contracttype:
  1147. description: 合同类型 1-采购 -1-销售
  1148. type: integer
  1149. createtime:
  1150. description: 创建时间
  1151. type: string
  1152. enumdicname:
  1153. description: 现货商品单位名称
  1154. type: string
  1155. logtype:
  1156. description: 记录类型 1-套保 2-现货合同
  1157. type: integer
  1158. qty:
  1159. description: 数量
  1160. type: number
  1161. recordname:
  1162. description: 类型名称
  1163. type: string
  1164. relatedid:
  1165. description: 套保计划ID/现货合同ID
  1166. type: string
  1167. relatedno:
  1168. description: 编号
  1169. type: string
  1170. strtime:
  1171. description: 时间
  1172. type: string
  1173. wrstandardcode:
  1174. description: 现货商品代码
  1175. type: string
  1176. wrstandardname:
  1177. description: 现货商品名称
  1178. type: string
  1179. type: object
  1180. ermcp.ExposureSpotRsp:
  1181. properties:
  1182. areauserid:
  1183. description: 所属机构
  1184. type: integer
  1185. decreaseqty:
  1186. description: 减少数量=-(销售已定价数量+采购计划数量)
  1187. type: number
  1188. increaseqty:
  1189. description: 增加数量=销售计划数量+采购已定价数量
  1190. type: number
  1191. oritoalspotqty:
  1192. description: 昨日数量
  1193. type: number
  1194. totalspotqty:
  1195. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  1196. type: number
  1197. updatetime:
  1198. description: 更新时间
  1199. type: string
  1200. wrstandardcode:
  1201. description: 现货品种代码
  1202. type: string
  1203. wrstandardid:
  1204. description: 现货商品ID
  1205. type: integer
  1206. wrstandardname:
  1207. description: 现货品种
  1208. type: string
  1209. type: object
  1210. ermcp.HisExposureRsp:
  1211. properties:
  1212. data:
  1213. description: 历史敞口
  1214. items:
  1215. $ref: '#/definitions/models.ErmcpHisExposure'
  1216. type: array
  1217. enumdicname:
  1218. description: 单位名称
  1219. type: string
  1220. middlegoodscode:
  1221. description: 套保品种代码
  1222. type: string
  1223. middlegoodsid:
  1224. description: 套保品种ID
  1225. type: integer
  1226. middlegoodsname:
  1227. description: 套保品种名称
  1228. type: string
  1229. type: object
  1230. ermcp.PendingAuditCntRsp:
  1231. properties:
  1232. areastockqty:
  1233. description: '待审核数量: 库存申请'
  1234. type: integer
  1235. businessdjqty:
  1236. description: '待审核数量: 点价'
  1237. type: integer
  1238. businessfpqty:
  1239. description: '待审核数量: 发票'
  1240. type: integer
  1241. businessjsqty:
  1242. description: '待审核数量: 结算'
  1243. type: integer
  1244. businesskxqty:
  1245. description: '待审核数量: 款项'
  1246. type: integer
  1247. hedgeplanqty:
  1248. description: '待审核数量: 套保计划'
  1249. type: integer
  1250. spotcontractqty:
  1251. description: '待审核数量: 现货合同'
  1252. type: integer
  1253. userqty:
  1254. description: '待审核数量: 用户'
  1255. type: integer
  1256. type: object
  1257. ermcp.QryAvalidGPRsp:
  1258. properties:
  1259. goodsgroupid:
  1260. description: 期货品种id
  1261. type: integer
  1262. goodsgroupname:
  1263. description: 期货品种名称
  1264. type: string
  1265. goodunitid:
  1266. description: 品种单位id
  1267. type: integer
  1268. goodunitname:
  1269. description: 品种单位名称
  1270. type: string
  1271. outergroupcode:
  1272. description: 期货品种代码
  1273. type: string
  1274. type: object
  1275. ermcp.QryBusinessDjRsp:
  1276. properties:
  1277. amount:
  1278. description: 点价金额=(点价价格+升贴水)*点价数量
  1279. type: number
  1280. applyid:
  1281. description: 申请人
  1282. type: string
  1283. applyname:
  1284. description: 申请人名称
  1285. type: string
  1286. applystatus:
  1287. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1288. type: integer
  1289. applytime:
  1290. description: 申请时间
  1291. type: string
  1292. attachurl:
  1293. description: 附件
  1294. type: string
  1295. auditid:
  1296. description: 审核人ID
  1297. type: string
  1298. auditname:
  1299. description: 审核人名称
  1300. type: string
  1301. auditremark:
  1302. description: 审核备注
  1303. type: string
  1304. audittime:
  1305. description: 审核时间
  1306. type: string
  1307. buyusername:
  1308. description: 采购方名称
  1309. type: string
  1310. contractno:
  1311. description: 合同编号
  1312. type: string
  1313. contractstatus:
  1314. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1315. type: integer
  1316. contracttype:
  1317. description: 现货合同类型 - 1:采购 -1:销售
  1318. type: integer
  1319. deliverygoodscode:
  1320. description: 现货品种代码
  1321. type: string
  1322. deliverygoodsid:
  1323. description: 现货商品ID
  1324. type: integer
  1325. deliverygoodsname:
  1326. description: 现货品种名称
  1327. type: string
  1328. enumdicname:
  1329. description: 单位名称
  1330. type: string
  1331. goodscode:
  1332. description: 点价合约
  1333. type: string
  1334. goodsname:
  1335. description: 商品名称
  1336. type: string
  1337. operateapplyid:
  1338. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1339. type: string
  1340. operateapplytype:
  1341. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1342. type: integer
  1343. pricedPrice:
  1344. description: 点价价格(非必填)
  1345. type: number
  1346. pricedQty:
  1347. description: 点价数量(非必填)
  1348. type: number
  1349. pricemove:
  1350. description: 升贴水
  1351. type: number
  1352. pricetype:
  1353. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1354. type: integer
  1355. relatedid:
  1356. description: 现货合同ID
  1357. type: string
  1358. sellusername:
  1359. description: 销售方名字
  1360. type: string
  1361. userid:
  1362. description: 用户ID
  1363. type: integer
  1364. wrstandardcode:
  1365. description: 品类代码
  1366. type: string
  1367. wrstandardid:
  1368. description: 品类id
  1369. type: integer
  1370. wrstandardname:
  1371. description: 品类名称
  1372. type: string
  1373. type: object
  1374. ermcp.QryBussinessFpRsp:
  1375. properties:
  1376. applyid:
  1377. description: 申请人
  1378. type: string
  1379. applyname:
  1380. description: 申请人名称
  1381. type: string
  1382. applystatus:
  1383. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1384. type: integer
  1385. applytime:
  1386. description: 申请时间
  1387. type: string
  1388. attachurl:
  1389. description: 附件
  1390. type: string
  1391. auditid:
  1392. description: 审核人ID
  1393. type: string
  1394. auditname:
  1395. description: 审核人名称
  1396. type: string
  1397. auditremark:
  1398. description: 审核备注
  1399. type: string
  1400. audittime:
  1401. description: 审核时间
  1402. type: string
  1403. buyusername:
  1404. description: 采购方名称
  1405. type: string
  1406. contractno:
  1407. description: 合同编号
  1408. type: string
  1409. contractstatus:
  1410. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1411. type: integer
  1412. contracttype:
  1413. description: 现货合同类型 - 1:采购 -1:销售
  1414. type: integer
  1415. deliverygoodscode:
  1416. description: 现货品种代码
  1417. type: string
  1418. deliverygoodsid:
  1419. description: 现货商品ID
  1420. type: integer
  1421. deliverygoodsname:
  1422. description: 现货品种名称
  1423. type: string
  1424. enumdicname:
  1425. description: 单位名称
  1426. type: string
  1427. goodscode:
  1428. description: 点价合约
  1429. type: string
  1430. goodsname:
  1431. description: 商品名称
  1432. type: string
  1433. invoiceamount:
  1434. description: 已开收票金额(销售为开票,采购为收票)
  1435. type: number
  1436. operateapplyid:
  1437. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1438. type: string
  1439. operateapplytype:
  1440. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1441. type: integer
  1442. pricemove:
  1443. description: 升贴水
  1444. type: number
  1445. pricetype:
  1446. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1447. type: integer
  1448. relatedid:
  1449. description: 现货合同ID
  1450. type: string
  1451. sellusername:
  1452. description: 销售方名字
  1453. type: string
  1454. userid:
  1455. description: 用户ID
  1456. type: integer
  1457. wrstandardcode:
  1458. description: 品类代码
  1459. type: string
  1460. wrstandardid:
  1461. description: 品类id
  1462. type: integer
  1463. wrstandardname:
  1464. description: 品类名称
  1465. type: string
  1466. type: object
  1467. ermcp.QryBussinessJsExRsp:
  1468. properties:
  1469. applyid:
  1470. description: 申请人
  1471. type: string
  1472. applyname:
  1473. description: 申请人名称
  1474. type: string
  1475. applystatus:
  1476. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1477. type: integer
  1478. applytime:
  1479. description: 申请时间
  1480. type: string
  1481. attachurl:
  1482. description: 附件
  1483. type: string
  1484. auditid:
  1485. description: 审核人ID
  1486. type: string
  1487. auditname:
  1488. description: 审核人名称
  1489. type: string
  1490. auditremark:
  1491. description: 审核备注
  1492. type: string
  1493. audittime:
  1494. description: 审核时间
  1495. type: string
  1496. buyusername:
  1497. description: 采购方名称
  1498. type: string
  1499. contractno:
  1500. description: 合同编号
  1501. type: string
  1502. contractstatus:
  1503. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1504. type: integer
  1505. contracttype:
  1506. description: 现货合同类型 - 1:采购 -1:销售
  1507. type: integer
  1508. deliverygoodscode:
  1509. description: 现货品种代码
  1510. type: string
  1511. deliverygoodsid:
  1512. description: 现货商品ID
  1513. type: integer
  1514. deliverygoodsname:
  1515. description: 现货品种名称
  1516. type: string
  1517. enumdicname:
  1518. description: 单位名称
  1519. type: string
  1520. goodscode:
  1521. description: 点价合约
  1522. type: string
  1523. goodsname:
  1524. description: 商品名称
  1525. type: string
  1526. operateapplyid:
  1527. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1528. type: string
  1529. operateapplytype:
  1530. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1531. type: integer
  1532. pricemove:
  1533. description: 升贴水
  1534. type: number
  1535. pricetype:
  1536. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1537. type: integer
  1538. reckontype:
  1539. description: 结算类型
  1540. type: string
  1541. reckonvalue:
  1542. description: 值
  1543. type: number
  1544. relatedid:
  1545. description: 现货合同ID
  1546. type: string
  1547. sellusername:
  1548. description: 销售方名字
  1549. type: string
  1550. userid:
  1551. description: 用户ID
  1552. type: integer
  1553. wrstandardcode:
  1554. description: 品类代码
  1555. type: string
  1556. wrstandardid:
  1557. description: 品类id
  1558. type: integer
  1559. wrstandardname:
  1560. description: 品类名称
  1561. type: string
  1562. type: object
  1563. ermcp.QryBussinessJsRsp:
  1564. properties:
  1565. addmargin:
  1566. description: 追加保证金(非必填)
  1567. type: number
  1568. applyid:
  1569. description: 申请人
  1570. type: string
  1571. applyname:
  1572. description: 申请人名称
  1573. type: string
  1574. applystatus:
  1575. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1576. type: integer
  1577. applytime:
  1578. description: 申请时间
  1579. type: string
  1580. attachurl:
  1581. description: 附件
  1582. type: string
  1583. auditid:
  1584. description: 审核人ID
  1585. type: string
  1586. auditname:
  1587. description: 审核人名称
  1588. type: string
  1589. auditremark:
  1590. description: 审核备注
  1591. type: string
  1592. audittime:
  1593. description: 审核时间
  1594. type: string
  1595. buyusername:
  1596. description: 采购方名称
  1597. type: string
  1598. contractno:
  1599. description: 合同编号
  1600. type: string
  1601. contractstatus:
  1602. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1603. type: integer
  1604. contracttype:
  1605. description: 现货合同类型 - 1:采购 -1:销售
  1606. type: integer
  1607. decmargin:
  1608. description: 减少保证金(非必填)
  1609. type: number
  1610. deliverygoodscode:
  1611. description: 现货品种代码
  1612. type: string
  1613. deliverygoodsid:
  1614. description: 现货商品ID
  1615. type: integer
  1616. deliverygoodsname:
  1617. description: 现货品种名称
  1618. type: string
  1619. enumdicname:
  1620. description: 单位名称
  1621. type: string
  1622. goodscode:
  1623. description: 点价合约
  1624. type: string
  1625. goodsname:
  1626. description: 商品名称
  1627. type: string
  1628. operateapplyid:
  1629. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1630. type: string
  1631. operateapplytype:
  1632. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1633. type: integer
  1634. pricemove:
  1635. description: 升贴水
  1636. type: number
  1637. pricetype:
  1638. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1639. type: integer
  1640. reckonadjustamount:
  1641. description: 结算调整金额(非必填)
  1642. type: number
  1643. reckonosamount:
  1644. description: 结算溢短金额(非必填)
  1645. type: number
  1646. reckonotheramount:
  1647. description: 结算其他费用(非必填)
  1648. type: number
  1649. reckonrealqty:
  1650. description: 结算实际数量(非必填)
  1651. type: number
  1652. relatedid:
  1653. description: 现货合同ID
  1654. type: string
  1655. sellusername:
  1656. description: 销售方名字
  1657. type: string
  1658. userid:
  1659. description: 用户ID
  1660. type: integer
  1661. wrstandardcode:
  1662. description: 品类代码
  1663. type: string
  1664. wrstandardid:
  1665. description: 品类id
  1666. type: integer
  1667. wrstandardname:
  1668. description: 品类名称
  1669. type: string
  1670. type: object
  1671. ermcp.QryBussinessKxRsp:
  1672. properties:
  1673. applyid:
  1674. description: 申请人
  1675. type: string
  1676. applyname:
  1677. description: 申请人名称
  1678. type: string
  1679. applystatus:
  1680. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1681. type: integer
  1682. applytime:
  1683. description: 申请时间
  1684. type: string
  1685. attachurl:
  1686. description: 附件
  1687. type: string
  1688. auditid:
  1689. description: 审核人ID
  1690. type: string
  1691. auditname:
  1692. description: 审核人名称
  1693. type: string
  1694. auditremark:
  1695. description: 审核备注
  1696. type: string
  1697. audittime:
  1698. description: 审核时间
  1699. type: string
  1700. buyusername:
  1701. description: 采购方名称
  1702. type: string
  1703. contractno:
  1704. description: 合同编号
  1705. type: string
  1706. contractstatus:
  1707. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1708. type: integer
  1709. contracttype:
  1710. description: 现货合同类型 - 1:采购 -1:销售
  1711. type: integer
  1712. deductamount:
  1713. description: 退款(非必填)
  1714. type: number
  1715. deliverygoodscode:
  1716. description: 现货品种代码
  1717. type: string
  1718. deliverygoodsid:
  1719. description: 现货商品ID
  1720. type: integer
  1721. deliverygoodsname:
  1722. description: 现货品种名称
  1723. type: string
  1724. enumdicname:
  1725. description: 单位名称
  1726. type: string
  1727. goodscode:
  1728. description: 点价合约
  1729. type: string
  1730. goodsname:
  1731. description: 商品名称
  1732. type: string
  1733. kxtype:
  1734. description: 款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)
  1735. type: integer
  1736. operateapplyid:
  1737. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1738. type: string
  1739. operateapplytype:
  1740. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1741. type: integer
  1742. payamount:
  1743. description: 收付款(非必填)
  1744. type: number
  1745. pricemove:
  1746. description: 升贴水
  1747. type: number
  1748. pricetype:
  1749. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1750. type: integer
  1751. relatedid:
  1752. description: 现货合同ID
  1753. type: string
  1754. sellusername:
  1755. description: 销售方名字
  1756. type: string
  1757. userid:
  1758. description: 用户ID
  1759. type: integer
  1760. wrstandardcode:
  1761. description: 品类代码
  1762. type: string
  1763. wrstandardid:
  1764. description: 品类id
  1765. type: integer
  1766. wrstandardname:
  1767. description: 品类名称
  1768. type: string
  1769. type: object
  1770. ermcp.QryGGCovertCfgRsp:
  1771. properties:
  1772. convertratio:
  1773. description: 折算系数
  1774. type: number
  1775. destgoodsgroupid:
  1776. description: 目标品种ID
  1777. type: integer
  1778. dstcode:
  1779. description: 目录品种代码
  1780. type: string
  1781. dstexchangecode:
  1782. description: 目标期货交易所
  1783. type: string
  1784. dstname:
  1785. description: 目标品种名称
  1786. type: string
  1787. dstunitid:
  1788. description: 目标品种单位ID
  1789. type: integer
  1790. dstunitidname:
  1791. description: 目标品种单位名称
  1792. type: string
  1793. modifytime:
  1794. description: 修改时间
  1795. type: string
  1796. srccode:
  1797. description: 源品种代码
  1798. type: string
  1799. srcexchangecode:
  1800. description: 源期货交易所
  1801. type: string
  1802. srcgoodsgroupid:
  1803. description: 源品种ID
  1804. type: integer
  1805. srcname:
  1806. description: 源品种名称
  1807. type: string
  1808. srcunitid:
  1809. description: 源品种单位ID
  1810. type: integer
  1811. srcunitidname:
  1812. description: 源品种单位名称
  1813. type: string
  1814. type: object
  1815. ermcp.QryMGChangeLogRsp:
  1816. properties:
  1817. aftervalue:
  1818. description: 变更后
  1819. type: number
  1820. applyid:
  1821. description: 操作人
  1822. type: integer
  1823. applyname:
  1824. description: 操作人名称
  1825. type: string
  1826. applysrc:
  1827. description: 操作来源 - 1:管理端 2:终端
  1828. type: integer
  1829. beforevalue:
  1830. description: 变更前
  1831. type: number
  1832. changelogtype:
  1833. description: 变更流水类型 - 1:套保比率变更
  1834. type: integer
  1835. handlestatus:
  1836. description: 处理状态
  1837. type: integer
  1838. logdatetime:
  1839. description: 流水日期
  1840. type: string
  1841. logid:
  1842. description: 流水ID
  1843. type: integer
  1844. logremark:
  1845. description: 流水备注
  1846. type: string
  1847. middlegoodsid:
  1848. description: 套保品种ID
  1849. type: integer
  1850. tradedate:
  1851. description: 交易日(yyyyMMdd)
  1852. type: string
  1853. updatetime:
  1854. description: 更新时间
  1855. type: string
  1856. type: object
  1857. ermcp.QryMiddleGoodsDetailRsp:
  1858. properties:
  1859. cvList:
  1860. description: 期货品种折算列表
  1861. items:
  1862. $ref: '#/definitions/models.ErmcpGGConvertCfg'
  1863. type: array
  1864. mg:
  1865. allOf:
  1866. - $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  1867. description: 套保品种基本信息
  1868. wrcList:
  1869. description: 现货品种列表(现货商品折算配置)
  1870. items:
  1871. $ref: '#/definitions/models.WRSConverTDetail'
  1872. type: array
  1873. type: object
  1874. ermcp.QryMiddleGoodsRsp:
  1875. properties:
  1876. areauserid:
  1877. description: 机构用户ID
  1878. type: integer
  1879. createtime:
  1880. description: 修改时间
  1881. type: string
  1882. enumdicname:
  1883. description: 单位名称
  1884. type: string
  1885. evaluateratio:
  1886. description: 估价系数
  1887. type: number
  1888. goodsgroupid:
  1889. description: 关联期货品种ID
  1890. type: integer
  1891. goodsunitid:
  1892. description: 单位ID
  1893. type: integer
  1894. isvalid:
  1895. description: 状态 0-无效(停用) 1-有效(正常)
  1896. type: integer
  1897. middlegoodscode:
  1898. description: 套保品种代码
  1899. type: string
  1900. middlegoodsid:
  1901. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  1902. type: integer
  1903. middlegoodsname:
  1904. description: 套保品种名称
  1905. type: string
  1906. modifytime:
  1907. description: 修改时间
  1908. type: string
  1909. needarbitrageratio:
  1910. description: 套利比例
  1911. type: number
  1912. needhedgeratio:
  1913. description: 套保比率
  1914. type: number
  1915. qtydecimalplace:
  1916. description: 数量小数位
  1917. type: integer
  1918. relatedgoodsid:
  1919. description: 关联交易商品ID
  1920. type: integer
  1921. relatedgoodstype:
  1922. description: 关联商品类型 - 1:期货合约 2:现货品种
  1923. type: integer
  1924. remark:
  1925. description: 备注
  1926. type: string
  1927. type: object
  1928. ermcp.QryOPLogRsp:
  1929. properties:
  1930. aftervalue:
  1931. description: 变更后
  1932. type: number
  1933. applyid:
  1934. description: 操作人ID
  1935. type: string
  1936. applyname:
  1937. description: 操作人名称
  1938. type: string
  1939. beforevalue:
  1940. description: 变更前
  1941. type: number
  1942. biztype:
  1943. description: 业务类型 - 1:套保计划 2:现货合同
  1944. type: integer
  1945. contracttype:
  1946. description: 现货合同类型 - 1:采购 -1:销售
  1947. type: integer
  1948. logvalue:
  1949. description: 数值
  1950. type: number
  1951. operatelogtype:
  1952. description: 操作流水类型
  1953. type: integer
  1954. operatelogtypedesc:
  1955. description: 操作流水类型名称
  1956. type: string
  1957. relatedid:
  1958. description: 现货合同ID\套保计划
  1959. type: string
  1960. updatetime:
  1961. description: 更新时间
  1962. type: string
  1963. type: object
  1964. ermcp.QryUserInfoRsp:
  1965. properties:
  1966. address:
  1967. description: 通讯地址
  1968. type: string
  1969. attachment1:
  1970. description: 附件1
  1971. type: string
  1972. audittime:
  1973. description: 审核时间
  1974. type: string
  1975. cardbackphotourl:
  1976. description: 证件反面图片地址
  1977. type: string
  1978. cardfrontphotourl:
  1979. description: 证件正面图片地址
  1980. type: string
  1981. cardnum:
  1982. description: 证件号码
  1983. type: string
  1984. cardtype:
  1985. description: 证件类型
  1986. type: integer
  1987. cardtypename:
  1988. description: 证件类型名称
  1989. type: string
  1990. cityid:
  1991. description: 市
  1992. type: integer
  1993. contactname:
  1994. description: 联系人
  1995. type: string
  1996. countryid:
  1997. description: 国家
  1998. type: integer
  1999. createtime:
  2000. description: 创建时间
  2001. type: string
  2002. customername:
  2003. description: 企业名称
  2004. type: string
  2005. districtid:
  2006. description: 区域
  2007. type: integer
  2008. email:
  2009. description: 邮件
  2010. type: string
  2011. legalpersonname:
  2012. description: 法人姓名(企业)
  2013. type: string
  2014. memberuserid:
  2015. description: 所属机构ID
  2016. type: integer
  2017. mobile:
  2018. description: 手机号码
  2019. type: string
  2020. modifytime:
  2021. description: 修改时间
  2022. type: string
  2023. nickname:
  2024. description: 昵称
  2025. type: string
  2026. provinceid:
  2027. description: 省
  2028. type: integer
  2029. remark:
  2030. description: 备注
  2031. type: string
  2032. status:
  2033. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  2034. type: integer
  2035. statusdesc:
  2036. description: 账户状态中文描述
  2037. type: string
  2038. taxpayernum:
  2039. description: 纳税人识别号
  2040. type: string
  2041. telphone:
  2042. description: 联系电话
  2043. type: string
  2044. userid:
  2045. description: 用户ID
  2046. type: integer
  2047. userinfotype:
  2048. description: 客户类型
  2049. type: string
  2050. type: object
  2051. ermcp.QryWarehouseRsp:
  2052. properties:
  2053. address:
  2054. description: 详细地址
  2055. type: string
  2056. areauserid:
  2057. description: 所属机构
  2058. type: integer
  2059. autoid:
  2060. description: 自增ID(仓库ID)
  2061. type: integer
  2062. cityid:
  2063. description: 市
  2064. type: integer
  2065. contactname:
  2066. description: 联系人
  2067. type: string
  2068. contactnum:
  2069. description: 联系电话
  2070. type: string
  2071. countryid:
  2072. description: 国家
  2073. type: integer
  2074. createtime:
  2075. description: 创建时间
  2076. type: string
  2077. districtid:
  2078. description: 区
  2079. type: integer
  2080. hasvideo:
  2081. description: 是否有视频 - 0:无 1:有
  2082. type: integer
  2083. provinceid:
  2084. description: 省
  2085. type: integer
  2086. remark:
  2087. description: 审核备注
  2088. type: string
  2089. videourl:
  2090. description: 视频地址
  2091. type: string
  2092. warehousecode:
  2093. description: 仓库代码
  2094. type: string
  2095. warehousename:
  2096. description: 仓库名称
  2097. type: string
  2098. warehousestatus:
  2099. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  2100. type: integer
  2101. warehousetype:
  2102. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  2103. type: integer
  2104. type: object
  2105. ermcp.QueryErmcpTradePositionRsp:
  2106. properties:
  2107. agreeunit:
  2108. description: 合约单位
  2109. type: number
  2110. buyorsell:
  2111. description: 方向 - 0:买 1:卖
  2112. type: integer
  2113. curpositionqty:
  2114. description: 持仓(总仓数量, 期末头寸)
  2115. type: integer
  2116. curtdposition:
  2117. description: 今仓数量(期末今日头寸)
  2118. type: integer
  2119. curtdpositionenabled:
  2120. description: 今仓可用
  2121. type: integer
  2122. decimalplace:
  2123. description: 报价小数位
  2124. type: integer
  2125. enableqty:
  2126. description: 可用(总仓可用)
  2127. type: integer
  2128. exexchangename:
  2129. description: 外部交易所名称
  2130. type: string
  2131. exexehangecode:
  2132. description: 外部交易所代码
  2133. type: string
  2134. exexehangeid:
  2135. description: 外部交易所id
  2136. type: integer
  2137. goodscode:
  2138. description: 商品代码(内部)
  2139. type: string
  2140. goodsid:
  2141. description: 商品ID(自增ID SEQ_GOODS)
  2142. type: integer
  2143. goodsname:
  2144. description: 商品名称
  2145. type: string
  2146. last:
  2147. description: 现价
  2148. type: number
  2149. marketid:
  2150. description: 所属市场ID
  2151. type: integer
  2152. openaverageprice:
  2153. description: 开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位
  2154. type: number
  2155. opencost:
  2156. description: 开仓成本
  2157. type: number
  2158. openpl:
  2159. description: 逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向
  2160. = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位
  2161. type: number
  2162. outgoodscode:
  2163. description: 商品代码(外部)
  2164. type: string
  2165. positionaverageprice:
  2166. description: 持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位
  2167. type: number
  2168. positioncost:
  2169. description: 持仓成本
  2170. type: number
  2171. positionpl:
  2172. description: 盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向
  2173. = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位
  2174. type: number
  2175. positionplrate:
  2176. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  2177. type: number
  2178. usedmargin:
  2179. description: 占用保证金
  2180. type: number
  2181. type: object
  2182. ermcp.RealtimeExposurePositionRsp:
  2183. properties:
  2184. agreeunit:
  2185. description: 合约单位
  2186. type: string
  2187. areauserid:
  2188. description: 所属机构id
  2189. type: integer
  2190. convertratio:
  2191. description: 期货品种系数(折算系数)
  2192. type: number
  2193. curhedgeqty:
  2194. description: 期货套期量 = 当前持仓*期货合约单位*期货品种系数
  2195. type: number
  2196. curqty:
  2197. description: 当前持仓
  2198. type: integer
  2199. diffhedgeqty:
  2200. description: 套保品种变动量=持仓变动量*期货合约单位*期货品种系数
  2201. type: number
  2202. diffqty:
  2203. description: 持仓变动量=当前持仓-昨日持仓
  2204. type: integer
  2205. goodscode:
  2206. description: 商品代码
  2207. type: string
  2208. goodsid:
  2209. description: 商品id
  2210. type: integer
  2211. goodsname:
  2212. description: 商品名称
  2213. type: string
  2214. hedgeaccountcode:
  2215. description: 对冲账号(只有外部账号才有值)
  2216. type: string
  2217. middlegoodscode:
  2218. description: 套保商品代码
  2219. type: string
  2220. middlegoodsid:
  2221. description: 套保商品id
  2222. type: integer
  2223. middlegoodsname:
  2224. description: 套保商品名称
  2225. type: string
  2226. ydqty:
  2227. description: 昨日持仓
  2228. type: integer
  2229. type: object
  2230. ermcp.RealtimeExposureRsp:
  2231. properties:
  2232. AreaUserID:
  2233. description: 所属机构
  2234. type: integer
  2235. BuyFutureQty:
  2236. description: 买入期货数量
  2237. type: number
  2238. BuyPlanQty:
  2239. description: 采购计划数量
  2240. type: number
  2241. BuyPricedQty:
  2242. description: 采购合同已定价数量
  2243. type: number
  2244. MiddleGoodsCode:
  2245. description: 套保品种代码
  2246. type: string
  2247. MiddleGoodsHedgeRatio:
  2248. description: 套保比例
  2249. type: number
  2250. MiddleGoodsID:
  2251. description: 套保品种
  2252. type: integer
  2253. MiddleGoodsName:
  2254. description: 套保品种名称
  2255. type: string
  2256. NeedHedgeExposoure:
  2257. description: 应套保敞口(套保敞口)
  2258. type: number
  2259. NeedHedgeRatio:
  2260. description: 应套保敞口比例
  2261. type: number
  2262. OriBuyFutureQty:
  2263. description: 期初买入期货数量
  2264. type: number
  2265. OriBuyPlanQty:
  2266. description: 期初采购计划数量
  2267. type: number
  2268. OriBuyPricedQty:
  2269. description: 期初采购合同已定价数量
  2270. type: number
  2271. OriSellFutureQty:
  2272. description: 期初卖出期货数量
  2273. type: number
  2274. OriSellPlanQty:
  2275. description: 期初销售计划数量
  2276. type: number
  2277. OriSellPricedQty:
  2278. description: 期初销售合同已定价数量
  2279. type: number
  2280. OriTotalSpotQty:
  2281. description: 期初现货总量
  2282. type: number
  2283. SellFutureQty:
  2284. description: 卖出期货数量
  2285. type: number
  2286. SellPlanQty:
  2287. description: 销售计划数量
  2288. type: number
  2289. SellPricedQty:
  2290. description: 销售合同已定价数量
  2291. type: number
  2292. TotalExposure:
  2293. description: 总敞口 平安:净敞口
  2294. type: number
  2295. TotalFutureQty:
  2296. description: 期货总量 平安:保值净持仓量
  2297. type: number
  2298. TotalHedgeRatio:
  2299. description: 敞口比例
  2300. type: number
  2301. TotalNeedHedgeQty:
  2302. description: 应套保总量(现货应套保总量)
  2303. type: number
  2304. TotalSpotQty:
  2305. description: 现货总量 平安:采销定价净值
  2306. type: number
  2307. arbitrageqty:
  2308. description: 套利量
  2309. type: number
  2310. diffArbitrageQty:
  2311. description: 套利变动量
  2312. type: number
  2313. diffExposoureQty:
  2314. description: 变动量(套保敞口)
  2315. type: number
  2316. diffFutuQty:
  2317. description: 变动量(期货总量) 平安:保值净持仓量今日变动
  2318. type: number
  2319. diffHedgeQty:
  2320. description: 套保变动量
  2321. type: number
  2322. diffQty:
  2323. description: 变动量(总敞口) 平安:净敞口今日变动
  2324. type: number
  2325. diffSpotHedgeQty:
  2326. description: 变动量(现货应套保总量) 平安:应套保量今日变动
  2327. type: number
  2328. diffSpotQty:
  2329. description: 变动量(现货总量) = 现货数量 - 期初现货数量 平安:采销定价净值今日变动
  2330. type: number
  2331. enumdicname:
  2332. description: 单位名称
  2333. type: string
  2334. hedgeqty:
  2335. description: 套保量
  2336. type: number
  2337. needarbitrageqty:
  2338. description: 应套利量
  2339. type: number
  2340. needarbitrageratio:
  2341. description: 套利比例
  2342. type: number
  2343. needhedgeqty:
  2344. description: 应套保量
  2345. type: number
  2346. oriarbitrageqty:
  2347. description: 期初套利量
  2348. type: number
  2349. orihedgeqty:
  2350. description: 期初套保量
  2351. type: number
  2352. orineedhedgeexposoure:
  2353. description: 期初套保敞口
  2354. type: number
  2355. oritotalexposure:
  2356. description: 期初总敞口
  2357. type: number
  2358. oritotalfutureqty:
  2359. description: 期初期货总量
  2360. type: number
  2361. oritotalneedhedgeqty:
  2362. description: 期初现货应套保量
  2363. type: number
  2364. type: object
  2365. erms2.QueryArbitrageStrategyRsp:
  2366. properties:
  2367. applybasis:
  2368. description: 申请基差
  2369. type: number
  2370. asapplyid:
  2371. description: 策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)
  2372. type: string
  2373. asname:
  2374. description: 策略名称
  2375. type: string
  2376. asno:
  2377. description: 策略编号
  2378. type: string
  2379. basischangepl:
  2380. description: 基差变动损益[结算更新]
  2381. type: number
  2382. biztype:
  2383. description: 业务类型 - 1:正向套利 -1:反向套利
  2384. type: integer
  2385. closetradedate:
  2386. description: 完结交易日(yyyyMMdd)
  2387. type: string
  2388. curbasis:
  2389. description: 当前基差[结算更新]
  2390. type: number
  2391. deliverygoodsid:
  2392. description: 现货品种ID
  2393. type: integer
  2394. futureavgprice:
  2395. description: 期货建仓均价
  2396. type: number
  2397. futurecloseamount:
  2398. description: 期货平仓金额
  2399. type: number
  2400. futurecloseqty:
  2401. description: 期货平仓数量
  2402. type: number
  2403. futureopenamount:
  2404. description: 期货开仓金额
  2405. type: number
  2406. futureopenqty:
  2407. description: 期货开仓数量
  2408. type: number
  2409. futurepl:
  2410. description: 期货总盈亏[结算更新]
  2411. type: number
  2412. futureqty:
  2413. description: 期货持仓数量
  2414. type: number
  2415. futurequote:
  2416. description: 期货额度
  2417. type: number
  2418. goodsgroupid:
  2419. description: 期货品种ID
  2420. type: integer
  2421. marketid:
  2422. description: 市场ID
  2423. type: integer
  2424. netexposure:
  2425. description: 单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量
  2426. type: number
  2427. netexposurepl:
  2428. description: 净敞口损益 = TotalPL - BasisChangePL[结算更新]
  2429. type: number
  2430. netexposurerate:
  2431. description: 净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0
  2432. type: number
  2433. openbasis:
  2434. description: 建仓基差
  2435. type: number
  2436. pricedspotqty:
  2437. description: 已定价现货数量
  2438. type: number
  2439. pricedspotqtynotax:
  2440. description: 已定价现货不含税数量
  2441. type: number
  2442. remark:
  2443. description: 备注
  2444. type: string
  2445. spotavgprice:
  2446. description: 现货均价
  2447. type: number
  2448. spotbuyamount:
  2449. description: 现货采购金额
  2450. type: number
  2451. spotbuyqty:
  2452. description: 现货采购数量
  2453. type: number
  2454. spotpl:
  2455. description: 现货总盈亏[结算更新]
  2456. type: number
  2457. spotquota:
  2458. description: 现货额度
  2459. type: number
  2460. spotsellamount:
  2461. description: 现货销售金额
  2462. type: number
  2463. spotsellqty:
  2464. description: 现货销售数量
  2465. type: number
  2466. spotusedquota:
  2467. description: 现货占用资金
  2468. type: number
  2469. strategystatus:
  2470. description: 策略状态 - 0:未结束 1:已结束
  2471. type: integer
  2472. totalpl:
  2473. description: 业务合计损益 = FuturePL + SpotPL [结算更新]
  2474. type: number
  2475. tradedate:
  2476. description: 交易日(yyyyMMdd)
  2477. type: string
  2478. updatetime:
  2479. description: 更新时间
  2480. type: string
  2481. usedquota:
  2482. description: 已占用资金
  2483. type: number
  2484. userid:
  2485. description: 所属机构
  2486. type: integer
  2487. required:
  2488. - asapplyid
  2489. type: object
  2490. erms2.QueryInnerTradeDetailRsp:
  2491. properties:
  2492. accountid:
  2493. description: 账号ID
  2494. type: integer
  2495. agreeunit:
  2496. description: 合约单位
  2497. type: number
  2498. asapplyid:
  2499. description: 策略申请ID
  2500. type: integer
  2501. asname:
  2502. description: 策略名称
  2503. type: string
  2504. asno:
  2505. description: 策略编号
  2506. type: string
  2507. buyorsell:
  2508. description: 方向 - 0:买 1:卖
  2509. type: integer
  2510. channelbuildtype:
  2511. description: 委托单据类型 0:无 1:建仓 2:平仓
  2512. type: integer
  2513. closetype:
  2514. description: 平仓方式 - 0:无 1:平今 2:平昨
  2515. type: integer
  2516. decimalplace:
  2517. description: 报价小数位
  2518. type: integer
  2519. detailtype:
  2520. description: 明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整
  2521. type: integer
  2522. exexchangecode:
  2523. description: 外部交易所代码
  2524. type: string
  2525. exexchangename:
  2526. description: 外部交易所名称
  2527. type: string
  2528. goodscode:
  2529. description: 商品代码(合约)
  2530. type: string
  2531. goodsgroupid:
  2532. description: 商品组ID(品种ID)
  2533. type: integer
  2534. goodsgroupname:
  2535. description: 商品组名称(品种)
  2536. type: string
  2537. goodsid:
  2538. description: 商品ID
  2539. type: integer
  2540. goodsname:
  2541. description: 商品名称(合约)
  2542. type: string
  2543. goodunit:
  2544. description: 报价单位
  2545. type: string
  2546. marketid:
  2547. description: 市场ID
  2548. type: integer
  2549. orderid:
  2550. description: 委托单号
  2551. type: string
  2552. outgoodscode:
  2553. description: 商品代码(外部)
  2554. type: string
  2555. relatedouttradeid:
  2556. description: 关联外部成交单ID
  2557. type: string
  2558. remark:
  2559. description: 备注
  2560. type: string
  2561. spotcontractid:
  2562. description: 现货合同ID [1:套利对冲 为合同ID,2:期货换月\3:期货仓位调整时为0]
  2563. type: integer
  2564. spotcontractno:
  2565. description: 现货合同编号
  2566. type: string
  2567. tradeid:
  2568. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  2569. type: string
  2570. tradeprice:
  2571. description: 成交价格
  2572. type: number
  2573. tradeqty:
  2574. description: 成交数量
  2575. type: integer
  2576. tradetime:
  2577. description: 成交时间
  2578. type: string
  2579. updatetime:
  2580. description: 更新时间
  2581. type: string
  2582. required:
  2583. - asapplyid
  2584. - buyorsell
  2585. - goodscode
  2586. - goodsgroupid
  2587. - goodsgroupname
  2588. - goodsname
  2589. - tradeid
  2590. type: object
  2591. erms2.QuerySpotContractRsp:
  2592. properties:
  2593. accountid:
  2594. description: 资金账户ID
  2595. type: integer
  2596. areauserid:
  2597. description: 所属机构
  2598. type: integer
  2599. closedate:
  2600. description: 终止日期
  2601. type: string
  2602. closeremark:
  2603. description: 结束备注
  2604. type: string
  2605. closetradedate:
  2606. description: 完结交易日(yyyyMMdd)
  2607. type: string
  2608. closetype:
  2609. description: 终止类型 - 1:违约 2:提前终止
  2610. type: integer
  2611. contractamount:
  2612. description: 合同金额
  2613. type: number
  2614. contractattachment:
  2615. description: 合同附件
  2616. type: string
  2617. contractno:
  2618. description: 现货合同编号
  2619. type: string
  2620. contractqty:
  2621. description: 合同数量(数值) (用于计算)
  2622. type: number
  2623. contractqtychar:
  2624. description: 合同数量\已订价数量 (用于显示)
  2625. type: string
  2626. contractstatus:
  2627. description: 合同状态 - 0:未结束 1:已结束
  2628. type: integer
  2629. contracttype:
  2630. description: 现货合同类型 - 1:采购合同 -1:销售合同
  2631. type: integer
  2632. customeraccountid:
  2633. description: 客户资金账户ID
  2634. type: integer
  2635. customeruserid:
  2636. description: 客户ID
  2637. type: integer
  2638. deliverygoodsdesc:
  2639. description: 品种说明
  2640. type: string
  2641. deliverygoodsid:
  2642. description: 现货品种ID
  2643. type: integer
  2644. handlestatus:
  2645. description: 处理状态
  2646. type: integer
  2647. invoiceatt:
  2648. description: 发票附件
  2649. type: string
  2650. invoicedatetime:
  2651. description: 开收票更新时间
  2652. type: string
  2653. invoiceopentime:
  2654. description: 开票时间
  2655. type: string
  2656. invoiceremark:
  2657. description: 发票备注
  2658. type: string
  2659. invoicestatus:
  2660. description: 开收票状态 - 0:未开票 1:已开票
  2661. type: integer
  2662. lastdate:
  2663. description: 交货时间
  2664. type: string
  2665. marketid:
  2666. description: 市场ID
  2667. type: integer
  2668. paydatetime:
  2669. description: 收付款更新时间
  2670. type: string
  2671. payremark:
  2672. description: 收付款备注
  2673. type: string
  2674. paystatus:
  2675. description: 收付款状态 - 0:未支付 1:已收款 2:已付款
  2676. type: integer
  2677. positionqty:
  2678. description: 头寸数量 - 合同数量去小数部分
  2679. type: integer
  2680. producttype:
  2681. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  2682. type: integer
  2683. relatedqty:
  2684. description: 已关联数量
  2685. type: number
  2686. relatedstatus:
  2687. description: 关联完结状态 - 0:未结束 1:已结束
  2688. type: integer
  2689. remark:
  2690. description: 备注
  2691. type: string
  2692. signdate:
  2693. description: 签订日期
  2694. type: string
  2695. spotcontractid:
  2696. description: 现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)
  2697. type: string
  2698. spotdatetime:
  2699. description: 收发货更新时间
  2700. type: string
  2701. spotprice:
  2702. description: 价格
  2703. type: number
  2704. spotremark:
  2705. description: 收发货备注
  2706. type: string
  2707. spotstatus:
  2708. description: 收发货状态 - 0:未交收 1:已发货 2:已发货
  2709. type: integer
  2710. tradedate:
  2711. description: 交易日(yyyyMMdd)
  2712. type: string
  2713. userid:
  2714. description: 业务员用户ID
  2715. type: integer
  2716. warehouseid:
  2717. description: 仓库ID
  2718. type: integer
  2719. wrfactortypeid:
  2720. description: 仓单要素类型ID
  2721. type: integer
  2722. wrstandardid:
  2723. description: 仓单标准ID(SEQ_WRSTANDARD)
  2724. type: integer
  2725. required:
  2726. - spotcontractid
  2727. type: object
  2728. erms3.AddErms2ASApplyReq:
  2729. properties:
  2730. applybasis:
  2731. description: 申请基差
  2732. type: number
  2733. applystatus:
  2734. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2735. type: integer
  2736. asapplyid:
  2737. description: 策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)
  2738. type: integer
  2739. asname:
  2740. description: 策略名称
  2741. type: string
  2742. asno:
  2743. description: 策略编号
  2744. type: string
  2745. auditid:
  2746. description: 审核人
  2747. type: integer
  2748. auditremark:
  2749. description: 审核备注
  2750. type: string
  2751. audittime:
  2752. description: 审核时间
  2753. type: string
  2754. biztype:
  2755. description: 业务类型 - 1:正向套利 2:反向套利
  2756. type: integer
  2757. createtime:
  2758. description: 创建时间
  2759. type: string
  2760. creatorid:
  2761. description: 创建人
  2762. type: integer
  2763. deliverygoodsid:
  2764. description: 现货品种ID
  2765. type: integer
  2766. futurequote:
  2767. description: 期货额度
  2768. type: number
  2769. goodsgroupid:
  2770. description: 期货品种ID
  2771. type: integer
  2772. marketid:
  2773. description: 市场ID
  2774. type: integer
  2775. remark:
  2776. description: 备注
  2777. type: string
  2778. spotquota:
  2779. description: 现货额度
  2780. type: number
  2781. tradedate:
  2782. description: 交易日(yyyyMMdd)
  2783. type: string
  2784. userid:
  2785. description: 所属机构
  2786. type: integer
  2787. required:
  2788. - asapplyid
  2789. type: object
  2790. erms3.AddErms2SpotTradeApplyReq:
  2791. properties:
  2792. applyjsondetail:
  2793. description: 申请明细(JSON)
  2794. type: string
  2795. applystatus:
  2796. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2797. type: integer
  2798. areauserid:
  2799. description: 所属机构
  2800. type: integer
  2801. auditid:
  2802. description: 审核人
  2803. type: integer
  2804. auditremark:
  2805. description: 审核备注
  2806. type: string
  2807. audittime:
  2808. description: 审核时间
  2809. type: string
  2810. createtime:
  2811. description: 创建时间
  2812. type: string
  2813. creatorid:
  2814. description: 创建人
  2815. type: integer
  2816. deliverygoodsid:
  2817. description: 现货品种ID
  2818. type: integer
  2819. futureaccountid:
  2820. description: 期货资金账户
  2821. type: integer
  2822. goodsgroupid:
  2823. description: 期货品种
  2824. type: integer
  2825. marketid:
  2826. description: 市场ID
  2827. type: integer
  2828. remark:
  2829. description: 备注
  2830. type: string
  2831. spotaccountid:
  2832. description: 现货资金账户
  2833. type: integer
  2834. spottradeid:
  2835. description: 业务ID(341+Unix秒时间戳(10位)+xxxxxx)
  2836. type: integer
  2837. spottradename:
  2838. description: 业务名称
  2839. type: string
  2840. spottradeno:
  2841. description: 业务编号
  2842. type: string
  2843. tradedate:
  2844. description: 交易日(yyyyMMdd)
  2845. type: string
  2846. wrstandardid:
  2847. description: 仓单标准ID
  2848. type: integer
  2849. required:
  2850. - spottradeid
  2851. type: object
  2852. erms3.AddSpotContractApplyReq:
  2853. properties:
  2854. accountid:
  2855. description: 资金账户ID
  2856. type: integer
  2857. areauserid:
  2858. description: 所属机构
  2859. type: integer
  2860. contractattachment:
  2861. description: 合同附件
  2862. type: string
  2863. contractno:
  2864. description: 现货合同编号
  2865. type: string
  2866. contracttype:
  2867. description: 现货合同类型 - 1:采购 -1:销售
  2868. type: integer
  2869. creatorid:
  2870. description: 申请人
  2871. type: integer
  2872. customeraccountid:
  2873. description: 客户资金账户ID
  2874. type: integer
  2875. customeruserid:
  2876. description: 客户ID
  2877. type: integer
  2878. details:
  2879. description: 明细
  2880. items:
  2881. $ref: '#/definitions/erms3.SoptContractDetail'
  2882. type: array
  2883. orimargin:
  2884. description: 初始保证金
  2885. type: number
  2886. remark:
  2887. description: 备注
  2888. type: string
  2889. signdate:
  2890. description: 签订日期
  2891. type: string
  2892. required:
  2893. - accountid
  2894. - areauserid
  2895. - contractno
  2896. - contracttype
  2897. - customeraccountid
  2898. - customeruserid
  2899. - details
  2900. - orimargin
  2901. - signdate
  2902. type: object
  2903. erms3.AddSpotContractApplyRsp:
  2904. properties:
  2905. contractno:
  2906. description: 现货合同编号
  2907. type: string
  2908. spotcontractid:
  2909. description: 现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)
  2910. type: integer
  2911. required:
  2912. - contractno
  2913. type: object
  2914. erms3.AddUserInfoApplyReq:
  2915. properties:
  2916. accountid:
  2917. description: 交易系统帐号Id (加密存储)
  2918. type: integer
  2919. areacode:
  2920. description: 机构代码
  2921. type: string
  2922. areaid:
  2923. description: 机构Id
  2924. type: integer
  2925. attachment1:
  2926. description: 附件1
  2927. type: string
  2928. attachment2:
  2929. description: 附件2
  2930. type: string
  2931. attachment3:
  2932. description: 附件3
  2933. type: string
  2934. attachment4:
  2935. description: 附件4
  2936. type: string
  2937. attachment5:
  2938. description: 附件5
  2939. type: string
  2940. auditedby:
  2941. description: 审核人
  2942. type: string
  2943. auditime:
  2944. description: 审核时间
  2945. type: string
  2946. auditsrc:
  2947. description: 审核来源 - 1:管理端 2:终端
  2948. type: integer
  2949. bankaccount:
  2950. description: 银行帐号 (加密存储)
  2951. type: string
  2952. bankaccountname:
  2953. description: 收款人名称
  2954. type: string
  2955. bankcardbackphotourl:
  2956. description: 银行卡背面照地址
  2957. type: string
  2958. bankcardfrontphotourl:
  2959. description: 银行卡正面照地址
  2960. type: string
  2961. bankid:
  2962. description: 银行编码
  2963. type: string
  2964. bankname:
  2965. description: 银行名称
  2966. type: string
  2967. bankpictureurl:
  2968. description: 银行卡正面地址
  2969. type: string
  2970. biznature:
  2971. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2972. type: integer
  2973. bizscope:
  2974. description: 企业经营范围(企业)
  2975. type: string
  2976. biztype:
  2977. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  2978. type: integer
  2979. brokerid:
  2980. description: 经纪人ID(加密存储)
  2981. type: string
  2982. cardaddress:
  2983. description: 证件地址 (加密存储)
  2984. type: string
  2985. cardbackphotourl:
  2986. description: 背面证件照地址
  2987. type: string
  2988. cardfrontphotourl:
  2989. description: 正面证件照地址
  2990. type: string
  2991. cardnum:
  2992. description: 证件号码 (加密存储)
  2993. type: string
  2994. cardtype:
  2995. description: 证件类型
  2996. type: integer
  2997. cityid:
  2998. description: 市
  2999. type: integer
  3000. company:
  3001. description: 公司(个人)
  3002. type: string
  3003. contactcardbackphotourl:
  3004. description: 联系人证件背面图片地址
  3005. type: string
  3006. contactcardfrontphotourl:
  3007. description: 联系人证件正面图片地址
  3008. type: string
  3009. contactname:
  3010. description: 联系人
  3011. type: string
  3012. countryid:
  3013. description: 国家
  3014. type: integer
  3015. createtime:
  3016. description: 开户申请时间
  3017. type: string
  3018. cusbankid:
  3019. description: 签约类型
  3020. type: string
  3021. cusbankname:
  3022. description: 签约类型名称
  3023. type: string
  3024. customername:
  3025. description: 客户名称(企业名称)
  3026. type: string
  3027. districtid:
  3028. description: 地区
  3029. type: integer
  3030. email:
  3031. description: Email地址(加密存储)
  3032. type: string
  3033. halfbodyphotourl:
  3034. description: 半身照地址
  3035. type: string
  3036. headurl:
  3037. description: 头像地址
  3038. type: string
  3039. ipaddress:
  3040. description: IP地址
  3041. type: string
  3042. isvalidate:
  3043. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  3044. type: string
  3045. legalcardbackphotourl:
  3046. description: 法人身份证背面照地址
  3047. type: string
  3048. legalcardfrontphotourl:
  3049. description: 法人身份证正面照地址
  3050. type: string
  3051. legalpersonname:
  3052. description: 法人姓名(企业)
  3053. type: string
  3054. logincode:
  3055. description: 登录帐号 (加密存储)
  3056. type: string
  3057. memberareaid:
  3058. description: 所属会员ID
  3059. type: integer
  3060. mobile2:
  3061. description: 手机号码[明文-尚志]
  3062. type: string
  3063. mobilephone:
  3064. description: 手机号码 (加密存储)
  3065. type: string
  3066. modifiedby:
  3067. description: 修改人帐号
  3068. type: integer
  3069. modifiedtime:
  3070. description: 修改时间
  3071. type: string
  3072. nickname:
  3073. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  3074. type: string
  3075. openmode:
  3076. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  3077. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  3078. type: integer
  3079. otherurl:
  3080. description: 其它图片地址[使用分号分隔]
  3081. type: string
  3082. postalcode:
  3083. description: 邮政编码
  3084. type: string
  3085. provinceid:
  3086. description: 省
  3087. type: integer
  3088. proxystatementurl:
  3089. description: 授权委托书
  3090. type: string
  3091. qq:
  3092. description: QQ(加密存储
  3093. type: string
  3094. referral:
  3095. description: 推荐人编码
  3096. type: string
  3097. remark:
  3098. description: 备注
  3099. type: string
  3100. removebeforestatus:
  3101. description: REMOVEBEFORESTATUS
  3102. type: integer
  3103. sex:
  3104. description: 性别 - 0:女 1:男
  3105. type: integer
  3106. signedstatus:
  3107. description: 账户一号签签约状态
  3108. type: integer
  3109. signpdfurl:
  3110. description: 签约pdf文件
  3111. type: string
  3112. subbranch:
  3113. description: 开户支行
  3114. type: string
  3115. taxpayernum:
  3116. description: 纳税人识别号
  3117. type: string
  3118. telphone:
  3119. description: 联系电话(加密存储)
  3120. type: string
  3121. userid:
  3122. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  3123. type: integer
  3124. userinfotype:
  3125. description: 用户信息类型 - 1:个人 2:企业
  3126. type: integer
  3127. username:
  3128. description: 用户姓名
  3129. type: string
  3130. userstate:
  3131. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3132. type: integer
  3133. usertype:
  3134. description: 用户类型 - 1:投资者 2:机构
  3135. type: integer
  3136. videourl:
  3137. description: 视频地址
  3138. type: string
  3139. wechat:
  3140. description: 微信号 (加密存储)
  3141. type: string
  3142. required:
  3143. - userid
  3144. type: object
  3145. erms3.CustomerInfo:
  3146. properties:
  3147. accountids:
  3148. description: 资金账户ID列表
  3149. items:
  3150. type: integer
  3151. type: array
  3152. customername:
  3153. description: 名称(企业名称)
  3154. type: string
  3155. mobile:
  3156. description: 手机号码
  3157. type: string
  3158. userid:
  3159. description: 用户ID
  3160. type: integer
  3161. required:
  3162. - userid
  3163. type: object
  3164. erms3.ModifyUserInfoApplyReq:
  3165. properties:
  3166. accountid:
  3167. description: 交易系统帐号Id (加密存储)
  3168. type: integer
  3169. areacode:
  3170. description: 机构代码
  3171. type: string
  3172. areaid:
  3173. description: 机构Id
  3174. type: integer
  3175. attachment1:
  3176. description: 附件1
  3177. type: string
  3178. attachment2:
  3179. description: 附件2
  3180. type: string
  3181. attachment3:
  3182. description: 附件3
  3183. type: string
  3184. attachment4:
  3185. description: 附件4
  3186. type: string
  3187. attachment5:
  3188. description: 附件5
  3189. type: string
  3190. auditedby:
  3191. description: 审核人
  3192. type: string
  3193. auditime:
  3194. description: 审核时间
  3195. type: string
  3196. auditsrc:
  3197. description: 审核来源 - 1:管理端 2:终端
  3198. type: integer
  3199. bankaccount:
  3200. description: 银行帐号 (加密存储)
  3201. type: string
  3202. bankaccountname:
  3203. description: 收款人名称
  3204. type: string
  3205. bankcardbackphotourl:
  3206. description: 银行卡背面照地址
  3207. type: string
  3208. bankcardfrontphotourl:
  3209. description: 银行卡正面照地址
  3210. type: string
  3211. bankid:
  3212. description: 银行编码
  3213. type: string
  3214. bankname:
  3215. description: 银行名称
  3216. type: string
  3217. bankpictureurl:
  3218. description: 银行卡正面地址
  3219. type: string
  3220. biznature:
  3221. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3222. type: integer
  3223. bizscope:
  3224. description: 企业经营范围(企业)
  3225. type: string
  3226. biztype:
  3227. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  3228. type: integer
  3229. brokerid:
  3230. description: 经纪人ID(加密存储)
  3231. type: string
  3232. cardaddress:
  3233. description: 证件地址 (加密存储)
  3234. type: string
  3235. cardbackphotourl:
  3236. description: 背面证件照地址
  3237. type: string
  3238. cardfrontphotourl:
  3239. description: 正面证件照地址
  3240. type: string
  3241. cardnum:
  3242. description: 证件号码 (加密存储)
  3243. type: string
  3244. cardtype:
  3245. description: 证件类型
  3246. type: integer
  3247. cityid:
  3248. description: 市
  3249. type: integer
  3250. company:
  3251. description: 公司(个人)
  3252. type: string
  3253. contactcardbackphotourl:
  3254. description: 联系人证件背面图片地址
  3255. type: string
  3256. contactcardfrontphotourl:
  3257. description: 联系人证件正面图片地址
  3258. type: string
  3259. contactname:
  3260. description: 联系人
  3261. type: string
  3262. countryid:
  3263. description: 国家
  3264. type: integer
  3265. createtime:
  3266. description: 开户申请时间
  3267. type: string
  3268. cusbankid:
  3269. description: 签约类型
  3270. type: string
  3271. cusbankname:
  3272. description: 签约类型名称
  3273. type: string
  3274. customername:
  3275. description: 客户名称(企业名称)
  3276. type: string
  3277. districtid:
  3278. description: 地区
  3279. type: integer
  3280. email:
  3281. description: Email地址(加密存储)
  3282. type: string
  3283. halfbodyphotourl:
  3284. description: 半身照地址
  3285. type: string
  3286. headurl:
  3287. description: 头像地址
  3288. type: string
  3289. ipaddress:
  3290. description: IP地址
  3291. type: string
  3292. isvalidate:
  3293. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  3294. type: string
  3295. legalcardbackphotourl:
  3296. description: 法人身份证背面照地址
  3297. type: string
  3298. legalcardfrontphotourl:
  3299. description: 法人身份证正面照地址
  3300. type: string
  3301. legalpersonname:
  3302. description: 法人姓名(企业)
  3303. type: string
  3304. logincode:
  3305. description: 登录帐号 (加密存储)
  3306. type: string
  3307. memberareaid:
  3308. description: 所属会员ID
  3309. type: integer
  3310. mobile2:
  3311. description: 手机号码[明文-尚志]
  3312. type: string
  3313. mobilephone:
  3314. description: 手机号码 (加密存储)
  3315. type: string
  3316. modifiedby:
  3317. description: 修改人帐号
  3318. type: integer
  3319. modifiedtime:
  3320. description: 修改时间
  3321. type: string
  3322. nickname:
  3323. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  3324. type: string
  3325. openmode:
  3326. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  3327. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  3328. type: integer
  3329. otherurl:
  3330. description: 其它图片地址[使用分号分隔]
  3331. type: string
  3332. postalcode:
  3333. description: 邮政编码
  3334. type: string
  3335. provinceid:
  3336. description: 省
  3337. type: integer
  3338. proxystatementurl:
  3339. description: 授权委托书
  3340. type: string
  3341. qq:
  3342. description: QQ(加密存储
  3343. type: string
  3344. referral:
  3345. description: 推荐人编码
  3346. type: string
  3347. remark:
  3348. description: 备注
  3349. type: string
  3350. removebeforestatus:
  3351. description: REMOVEBEFORESTATUS
  3352. type: integer
  3353. sex:
  3354. description: 性别 - 0:女 1:男
  3355. type: integer
  3356. signedstatus:
  3357. description: 账户一号签签约状态
  3358. type: integer
  3359. signpdfurl:
  3360. description: 签约pdf文件
  3361. type: string
  3362. subbranch:
  3363. description: 开户支行
  3364. type: string
  3365. taxpayernum:
  3366. description: 纳税人识别号
  3367. type: string
  3368. telphone:
  3369. description: 联系电话(加密存储)
  3370. type: string
  3371. userid:
  3372. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  3373. type: integer
  3374. userinfotype:
  3375. description: 用户信息类型 - 1:个人 2:企业
  3376. type: integer
  3377. username:
  3378. description: 用户姓名
  3379. type: string
  3380. userstate:
  3381. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3382. type: integer
  3383. usertype:
  3384. description: 用户类型 - 1:投资者 2:机构
  3385. type: integer
  3386. videourl:
  3387. description: 视频地址
  3388. type: string
  3389. wechat:
  3390. description: 微信号 (加密存储)
  3391. type: string
  3392. required:
  3393. - userid
  3394. type: object
  3395. erms3.QryAuditContractRsp:
  3396. properties:
  3397. accountid:
  3398. description: 交易员ID
  3399. type: string
  3400. applystatus:
  3401. description: 申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3402. type: integer
  3403. curdeliveryqty:
  3404. description: 未交收量
  3405. type: integer
  3406. customername:
  3407. description: 采购方ID
  3408. type: string
  3409. deliverygoodsid:
  3410. description: 品种ID
  3411. type: string
  3412. deliveryqty:
  3413. description: 交收量
  3414. type: integer
  3415. enumdicname:
  3416. description: 单位名称
  3417. type: string
  3418. matchaccountid:
  3419. description: 业务员ID
  3420. type: string
  3421. matchcustomername:
  3422. description: 销售方ID
  3423. type: string
  3424. pricedqty:
  3425. description: 定价量
  3426. type: number
  3427. signdate:
  3428. description: 签订日期
  3429. type: string
  3430. spotcontractid:
  3431. description: 合同ID
  3432. type: string
  3433. totaldqty:
  3434. description: 合同量
  3435. type: number
  3436. unpricedqty:
  3437. description: 未定价量
  3438. type: number
  3439. wrstandardname:
  3440. description: 商品名称
  3441. type: string
  3442. required:
  3443. - matchcustomername
  3444. - spotcontractid
  3445. type: object
  3446. erms3.QryPendingBizRsp:
  3447. properties:
  3448. accountid:
  3449. description: 现货账户
  3450. type: string
  3451. areaname:
  3452. description: 所属部门
  3453. type: string
  3454. bizid:
  3455. description: 业务ID
  3456. type: string
  3457. bizname:
  3458. description: 业务名称
  3459. type: string
  3460. status:
  3461. description: 状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3462. type: integer
  3463. type:
  3464. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易
  3465. type: integer
  3466. type: object
  3467. erms3.QueryBusinessInfoRsp:
  3468. properties:
  3469. businessid:
  3470. description: 业务ID.
  3471. type: integer
  3472. buyamount:
  3473. description: 采购额.
  3474. type: number
  3475. buyqty:
  3476. description: 采购量.
  3477. type: string
  3478. futurepl:
  3479. description: 期货盈亏.
  3480. type: number
  3481. futureqty:
  3482. description: 期货敞口.
  3483. type: string
  3484. goodsid:
  3485. description: 商品名称/商品代码.
  3486. type: string
  3487. hedgingqty:
  3488. description: 套保量.
  3489. type: string
  3490. sellamount:
  3491. description: 销售额.
  3492. type: number
  3493. sellqty:
  3494. description: 销售量.
  3495. type: string
  3496. spotmarketvalue:
  3497. description: 现货市值.
  3498. type: number
  3499. spotpl:
  3500. description: 浮动权益.
  3501. type: number
  3502. spotqty:
  3503. description: 现货量.
  3504. type: string
  3505. statu:
  3506. description: 状态,0-未结束 1-已结束.
  3507. type: integer
  3508. totalpl:
  3509. description: 总盈亏.
  3510. type: number
  3511. totalqty:
  3512. description: 总敞口.
  3513. type: string
  3514. type:
  3515. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易.
  3516. type: integer
  3517. type: object
  3518. erms3.QuerySpotContractAppleFormRsp:
  3519. properties:
  3520. goodses:
  3521. description: 合约列表
  3522. items:
  3523. $ref: '#/definitions/models.GoodsIDAndName'
  3524. type: array
  3525. oppositeusers:
  3526. description: 对方账号列表
  3527. items:
  3528. $ref: '#/definitions/erms3.CustomerInfo'
  3529. type: array
  3530. ouruser:
  3531. allOf:
  3532. - $ref: '#/definitions/erms3.CustomerInfo'
  3533. description: 我方账号
  3534. warehouseinfos:
  3535. description: 仓库信息列表
  3536. items:
  3537. $ref: '#/definitions/models.Warehouseinfo'
  3538. type: array
  3539. wrstandards:
  3540. description: 仓单标准列表
  3541. items:
  3542. $ref: '#/definitions/models.WRStandardInfo'
  3543. type: array
  3544. type: object
  3545. erms3.QuerySpotContractInfoRsp:
  3546. properties:
  3547. accountid:
  3548. description: 表示交易员ID.
  3549. type: integer
  3550. curdeliveryqty:
  3551. description: 表示未交收量.
  3552. type: number
  3553. customername:
  3554. description: 若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.
  3555. type: string
  3556. deliverygoodsid:
  3557. description: 表示品种ID.
  3558. type: string
  3559. deliveryqty:
  3560. description: 表示交收量.
  3561. type: number
  3562. matchaccountid:
  3563. description: 表示业务员ID.
  3564. type: integer
  3565. matchcustomername:
  3566. description: 若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.
  3567. type: string
  3568. priceqty:
  3569. description: 表示定价量.
  3570. type: number
  3571. relatedbizid:
  3572. description: 表示业务ID.
  3573. type: string
  3574. signdate:
  3575. description: 表示签订日期.
  3576. type: string
  3577. spotcontractid:
  3578. description: 合同ID
  3579. type: string
  3580. status:
  3581. description: 表示状态,0-履约中 1-已完成.
  3582. type: integer
  3583. totalqty:
  3584. description: 表示合同量.
  3585. type: number
  3586. unpricedqty:
  3587. description: 表示未定价量.
  3588. type: number
  3589. wrstandardname:
  3590. description: 表示商品ID.
  3591. type: string
  3592. type: object
  3593. erms3.QueryUserInfoAppliesRsp:
  3594. properties:
  3595. biznature:
  3596. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3597. type: integer
  3598. contactname:
  3599. description: 联系人
  3600. type: string
  3601. createtime:
  3602. description: 开户申请时间
  3603. type: string
  3604. userid:
  3605. description: 用户ID(自增ID)
  3606. type: integer
  3607. userinfotype:
  3608. description: 用户信息类型 - 1:个人 2:企业
  3609. type: integer
  3610. username:
  3611. description: 用户姓名
  3612. type: string
  3613. userstate:
  3614. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3615. type: integer
  3616. required:
  3617. - userid
  3618. type: object
  3619. erms3.QueryUserInfosRsp:
  3620. properties:
  3621. biznature:
  3622. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3623. type: integer
  3624. contactname:
  3625. description: 联系人
  3626. type: string
  3627. customername:
  3628. description: 客户名称(企业名称)
  3629. type: string
  3630. userid:
  3631. description: 用户ID
  3632. type: integer
  3633. userinfotype:
  3634. description: 用户信息类型 - 1:个人 2:企业
  3635. type: integer
  3636. userstatus:
  3637. description: 用户状态 - 1:正常 2:注销
  3638. type: integer
  3639. required:
  3640. - userid
  3641. type: object
  3642. erms3.SoptContractDetail:
  3643. properties:
  3644. deliverygoodsdesc:
  3645. description: 现货品种说明
  3646. type: string
  3647. deliverygoodsid:
  3648. description: 现货品种ID
  3649. type: integer
  3650. deliverygoodsname:
  3651. description: 现货品种名称
  3652. type: string
  3653. pointdesc:
  3654. description: 点价描述
  3655. type: string
  3656. producttype:
  3657. description: 产品类型 1:标准仓单 2:等标 3:非标
  3658. type: integer
  3659. producttypename:
  3660. description: 产品类型名称
  3661. type: string
  3662. spotPointOrderVoList:
  3663. description: 点价列表
  3664. items:
  3665. $ref: '#/definitions/erms3.SpotPointOrder'
  3666. type: array
  3667. spotPriceOrderList:
  3668. description: 定价列表
  3669. items:
  3670. $ref: '#/definitions/erms3.SpotPriceOrder'
  3671. type: array
  3672. unitname:
  3673. description: 单位名称
  3674. type: string
  3675. warehouseid:
  3676. description: 仓库ID
  3677. type: integer
  3678. warehousename:
  3679. description: 仓库名称
  3680. type: string
  3681. wrstandardid:
  3682. description: 交易标的ID
  3683. type: integer
  3684. wrstandardname:
  3685. description: 交易标的名称
  3686. type: string
  3687. required:
  3688. - deliverygoodsid
  3689. - producttype
  3690. - unitname
  3691. - warehouseid
  3692. - wrstandardid
  3693. - wrstandardname
  3694. type: object
  3695. erms3.SpotPointOrder:
  3696. properties:
  3697. basic:
  3698. description: 基差
  3699. type: number
  3700. deliveryenddate:
  3701. description: 交收结束日期
  3702. type: string
  3703. deliverystartdate:
  3704. description: 交收开始日期
  3705. type: string
  3706. enddate:
  3707. description: 点价结束日期
  3708. type: string
  3709. goodsid:
  3710. description: 商品ID
  3711. type: integer
  3712. goodsname:
  3713. description: 商品名称
  3714. type: string
  3715. qty:
  3716. description: 数量
  3717. type: number
  3718. startdate:
  3719. description: 点价开始日期
  3720. type: string
  3721. required:
  3722. - basic
  3723. - goodsid
  3724. - qty
  3725. type: object
  3726. erms3.SpotPriceOrder:
  3727. properties:
  3728. amount:
  3729. description: 金额
  3730. type: number
  3731. deliveryenddate:
  3732. description: 交收结束日期
  3733. type: string
  3734. deliverystartdate:
  3735. description: 交收开始日期
  3736. type: string
  3737. price:
  3738. description: 价格
  3739. type: number
  3740. qty:
  3741. description: 数量
  3742. type: number
  3743. required:
  3744. - amount
  3745. - price
  3746. - qty
  3747. type: object
  3748. hsby.GetHsbyMyCountRsp:
  3749. properties:
  3750. myCouponCount:
  3751. description: 我的优惠卷数量
  3752. type: integer
  3753. myOrderDetailListingCount:
  3754. description: 我的订单求购中数量
  3755. type: integer
  3756. myOrderDetailPreCount:
  3757. description: 我的订单抢购中数量
  3758. type: integer
  3759. myPackageUnReceiveCount:
  3760. description: 我的包裹待收货数量
  3761. type: integer
  3762. myPackageUnSendCount:
  3763. description: 我的包裹待发货数量
  3764. type: integer
  3765. myPayOrderCount:
  3766. description: 我的订单待付款数量
  3767. type: integer
  3768. type: object
  3769. hsby.QueryProvincesAndCitiesRsp:
  3770. properties:
  3771. cities:
  3772. description: 市
  3773. items:
  3774. $ref: '#/definitions/models.Division'
  3775. type: array
  3776. province:
  3777. allOf:
  3778. - $ref: '#/definitions/models.Division'
  3779. description: 省
  3780. type: object
  3781. models.Arearole:
  3782. properties:
  3783. createtime:
  3784. description: 创建时间
  3785. type: string
  3786. creatorid:
  3787. description: 创建人ID
  3788. type: integer
  3789. fromuserid:
  3790. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  3791. type: integer
  3792. isreturnscore:
  3793. description: 是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还
  3794. type: integer
  3795. modifierid:
  3796. description: 修改人ID
  3797. type: integer
  3798. modifytime:
  3799. description: 修改时间
  3800. type: string
  3801. orgtype:
  3802. description: 组织机构类型 1:机构\分支节点 2:交易员\叶子节点 3:部门\分支节点
  3803. type: integer
  3804. outuserid:
  3805. description: 外部账户[场外期权做市商]
  3806. type: string
  3807. parentuserid:
  3808. description: 上级组织机构(组织机构)
  3809. type: integer
  3810. roletype:
  3811. description: 角色类型 - 1:交易所 2:运营机构 3:营销中心 4:仓库机构 5:三方服务机构 6:自营会员 7:经纪会员 8:做市会员
  3812. 9:产业会员 10:金融机构 11:商城店铺 12:子机构 13:报价商 14:积分服务商 15:供货商 16:圈内会员 17:物流机构 18:报价配置机构
  3813. 19:场外期权做市商 20:组织机构 21:顶级机构 22:业务员 23:跟单员 24:交易员 25:客户 98:代理 99:门店
  3814. type: integer
  3815. rootuserid:
  3816. description: 顶级组织机构用户ID(组织机构)
  3817. type: integer
  3818. shoppassword:
  3819. description: 商城店铺登陆密码(商城店铺角色使用)
  3820. type: string
  3821. sublevelpath:
  3822. description: 组织机构层级路径(逗号分隔,首尾加逗号)
  3823. type: string
  3824. suborgtype:
  3825. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  3826. type: integer
  3827. tradeaccountid:
  3828. description: 默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount
  3829. type: integer
  3830. transurl:
  3831. description: 物流地址(物流机构)
  3832. type: string
  3833. userid:
  3834. description: 机构用户ID其他做市关系,都设置为 1
  3835. type: integer
  3836. required:
  3837. - roletype
  3838. - userid
  3839. type: object
  3840. models.BScinoutorderdetail:
  3841. properties:
  3842. backagenum:
  3843. description: 件数
  3844. type: integer
  3845. bagweightgm:
  3846. description: 连袋重(克)
  3847. type: number
  3848. countryname:
  3849. description: 产销国
  3850. type: string
  3851. currencydes:
  3852. description: 币种
  3853. type: string
  3854. currencyname:
  3855. description: 币制
  3856. type: string
  3857. customsno:
  3858. description: 报关单号(进仓:录入时更新,出仓申请时有)
  3859. type: string
  3860. customsvalue:
  3861. description: 报关总值
  3862. type: number
  3863. detailid:
  3864. description: 明细ID(807+Unix秒时间戳(10位)+xxxxxx)
  3865. type: string
  3866. executionflag:
  3867. description: 海关执行标志
  3868. type: string
  3869. goodsid:
  3870. description: 商品ID
  3871. type: integer
  3872. goodsname:
  3873. description: 商品名称
  3874. type: string
  3875. goodsnum:
  3876. description: 商品编号
  3877. type: string
  3878. goodsspec:
  3879. description: 规格
  3880. type: string
  3881. legalunit:
  3882. description: 法定计量单位
  3883. type: string
  3884. netweightct:
  3885. description: 净重(克拉)
  3886. type: number
  3887. netweightgm:
  3888. description: 净重(克)
  3889. type: number
  3890. orderid:
  3891. description: 申请ID
  3892. type: string
  3893. origincountry:
  3894. description: 原产国
  3895. type: string
  3896. prepricegm:
  3897. description: 单价(克)
  3898. type: number
  3899. rawdetail:
  3900. description: 原料明细
  3901. type: string
  3902. remark:
  3903. description: 备注
  3904. type: string
  3905. reportunit:
  3906. description: 申报计量单位
  3907. type: string
  3908. storageperiod:
  3909. description: 存储(监管)期限
  3910. type: string
  3911. totalprice:
  3912. description: 总价
  3913. type: number
  3914. unitprice:
  3915. description: 单价
  3916. type: number
  3917. userid:
  3918. description: 用户ID
  3919. type: integer
  3920. required:
  3921. - orderid
  3922. - userid
  3923. type: object
  3924. models.BScoutorderdetailatt:
  3925. properties:
  3926. countryname:
  3927. description: 产销国
  3928. type: string
  3929. curcustomsvalue:
  3930. description: 本次扣减货值(报关总值)
  3931. type: number
  3932. curnetweightct:
  3933. description: 本次扣减量(克拉)
  3934. type: number
  3935. curnetweightgm:
  3936. description: 本次扣减净重(克)
  3937. type: number
  3938. currencyname:
  3939. description: 币制
  3940. type: string
  3941. curtotalprice:
  3942. description: 本次扣减货值
  3943. type: number
  3944. customsno:
  3945. description: 报关单号
  3946. type: string
  3947. customsvalue:
  3948. description: 报关总值
  3949. type: number
  3950. detailattid:
  3951. description: 明细ID(810+Unix秒时间戳(10位)+xxxxxx)
  3952. type: string
  3953. executionflag:
  3954. description: 海关执行标志
  3955. type: string
  3956. goodsid:
  3957. description: 商品ID
  3958. type: integer
  3959. goodsname:
  3960. description: 商品名称
  3961. type: string
  3962. goodsnum:
  3963. description: 商品编号
  3964. type: string
  3965. goodsspec:
  3966. description: 规格型号
  3967. type: string
  3968. jckdate:
  3969. description: 进口日期
  3970. type: string
  3971. legalunit:
  3972. description: 法定计量单位
  3973. type: string
  3974. netweightct:
  3975. description: 净重(克拉)
  3976. type: number
  3977. netweightgm:
  3978. description: 净重(克)
  3979. type: number
  3980. orderid:
  3981. description: 申请ID
  3982. type: string
  3983. remaincurnetweightgm:
  3984. description: 结余净重(克)
  3985. type: number
  3986. remaincustomsvalue:
  3987. description: 结余报关总值
  3988. type: number
  3989. remainnetweightct:
  3990. description: 结余净重(克拉)
  3991. type: number
  3992. remaintotalprice:
  3993. description: 结余总价
  3994. type: number
  3995. reportunit:
  3996. description: 申报计量单位
  3997. type: string
  3998. storageperiod:
  3999. description: 存储(监管)期限
  4000. type: string
  4001. totalprice:
  4002. description: 总价
  4003. type: number
  4004. unitprice:
  4005. description: 单价
  4006. type: number
  4007. userid:
  4008. description: 用户ID
  4009. type: integer
  4010. required:
  4011. - orderid
  4012. - userid
  4013. type: object
  4014. models.Bscinoutorder:
  4015. properties:
  4016. applicanttime:
  4017. description: 申请时间
  4018. type: string
  4019. bagweightgm:
  4020. description: 连袋重(克)
  4021. type: number
  4022. checklistno:
  4023. description: 核注清单号
  4024. type: string
  4025. confirmdate:
  4026. description: 进出仓确认时间
  4027. type: string
  4028. confirmername:
  4029. description: 进出仓确认人
  4030. type: string
  4031. confirmtradedate:
  4032. description: 进出仓确认交易日(yyyyMMdd)
  4033. type: string
  4034. contactname:
  4035. description: 申请方联系人
  4036. type: string
  4037. contactnum:
  4038. description: 申请方联系电话
  4039. type: string
  4040. customsno:
  4041. description: 报关单号
  4042. type: string
  4043. customstotalvalue:
  4044. description: 报关总值
  4045. type: number
  4046. goodsname:
  4047. description: 商品名称 - 明细的商品名称拼接("/")
  4048. type: string
  4049. jckdate:
  4050. description: 进出口日期
  4051. type: string
  4052. logisticscompany:
  4053. description: 物流公司名称
  4054. type: string
  4055. logisticsno:
  4056. description: 托运单号
  4057. type: string
  4058. netweightct:
  4059. description: 净重(克拉)
  4060. type: number
  4061. netweightgm:
  4062. description: 净重(克)
  4063. type: number
  4064. orderid:
  4065. description: 申请ID(806+Unix秒时间戳(10位)+xxxxxx)
  4066. type: string
  4067. ordernum:
  4068. description: 单据编号
  4069. type: string
  4070. orderstatus:
  4071. description: 进出仓状态 - 1.待确认 2.待上传 3.报关中 4.进仓中 5.出仓中 20.已关闭 21.确认拒绝(枚举:GZBSCOrderStatus)
  4072. type: integer
  4073. ordertype:
  4074. description: 单据类型 - 1:进仓 2:出仓(枚举:GZBSCOrderType)
  4075. type: integer
  4076. outtype:
  4077. description: 出仓类型 - 1:转厂 2:出境(枚举:GZBSCOutType)
  4078. type: integer
  4079. sealno:
  4080. description: 进出仓封条号
  4081. type: string
  4082. signeedate:
  4083. description: 收发货人日期
  4084. type: string
  4085. signeename:
  4086. description: 收发货人
  4087. type: string
  4088. totalprice:
  4089. description: 总价
  4090. type: number
  4091. useraddress:
  4092. description: 申请方地点
  4093. type: string
  4094. userid:
  4095. description: 申请用户ID
  4096. type: integer
  4097. username:
  4098. description: 申请方名称
  4099. type: string
  4100. required:
  4101. - jckdate
  4102. - userid
  4103. type: object
  4104. models.BuyOrder:
  4105. properties:
  4106. accountid:
  4107. description: 资金账户ID
  4108. type: integer
  4109. buyusername:
  4110. description: 买方
  4111. type: string
  4112. marketid:
  4113. description: 市场ID
  4114. type: integer
  4115. ordertime:
  4116. description: 委托时间
  4117. type: string
  4118. origin:
  4119. description: 原产地
  4120. type: string
  4121. performancetemplateid:
  4122. description: 履约计划模板ID
  4123. type: integer
  4124. remark:
  4125. description: 备注
  4126. type: string
  4127. userid:
  4128. description: 用户ID
  4129. type: integer
  4130. validtime:
  4131. description: 有效期限
  4132. type: string
  4133. warehouseids:
  4134. description: 仓库ID - 多个, 逗号分隔
  4135. type: string
  4136. warehouseinfosdisplay:
  4137. type: string
  4138. wrtradeorderid:
  4139. description: '[委托单号]买委托单ID(320+Unix秒时间戳(10位)+xxxxxx)'
  4140. type: string
  4141. wrtradeorderstatus:
  4142. description: 委托状态 - 参考枚举'WRTradeOrderStatus' - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:部成 8:已成 9:部成部撤 10:成交失败 11:委托拒绝 12:经过摘牌(先摘后挂专用) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用) 17:冻结PD成功 18:冻结PD失败 19:冻结能量成功 20:冻结能量失败 21:预约已报价 22:过期未付 23:优惠券处理中 24:仓单生成失败 25:首付扣款失败 26:履约失败 27:撤单解冻贷款失败WRTrade_OrderDetail、
  4143. type: integer
  4144. zscategory:
  4145. description: 钻石分类 - 枚举”ZSCategory“
  4146. type: integer
  4147. zscategorydisplay:
  4148. type: string
  4149. zsclaritytype:
  4150. description: 净度 - 两个, 逗号分隔
  4151. type: string
  4152. zsclaritytypedisplay:
  4153. type: string
  4154. zscolortype:
  4155. description: 颜色 - 两个, 逗号分隔
  4156. type: string
  4157. zscolortypedisplay:
  4158. type: string
  4159. zscrystaltype:
  4160. description: 晶型 - 多个,逗号分隔
  4161. type: string
  4162. zscrystaltypedisplay:
  4163. type: string
  4164. zscurrencytype:
  4165. description: 货币类型 - 多个, 逗号分隔
  4166. type: string
  4167. zscurrencytypedisplay:
  4168. type: string
  4169. zscuttype:
  4170. description: 切工 - 两个, 逗号分隔
  4171. type: string
  4172. zscuttypedisplay:
  4173. type: string
  4174. zsczcolor1type:
  4175. description: 彩钻颜色1, 逗号分隔
  4176. type: string
  4177. zsczcolor1typedisplay:
  4178. type: string
  4179. zsczcolor2type:
  4180. description: 彩钻颜色2, 逗号分隔
  4181. type: string
  4182. zsczcolor2typedisplay:
  4183. type: string
  4184. zsczcolor3type:
  4185. description: 彩钻颜色3, 逗号分隔
  4186. type: string
  4187. zsczcolor3typedisplay:
  4188. type: string
  4189. zsfluorescencetype:
  4190. description: 荧光 - 多个, 逗号分隔
  4191. type: string
  4192. zsfluorescencetypedisplay:
  4193. type: string
  4194. zspolishtype:
  4195. description: 抛光度 - 两个, 逗号分隔
  4196. type: string
  4197. zspolishtypedisplay:
  4198. type: string
  4199. zsshapetype:
  4200. description: 形状 - 多个, 逗号分隔
  4201. type: string
  4202. zsshapetypedisplay:
  4203. type: string
  4204. zssize:
  4205. description: 尺寸 - 两个小数, 逗号分隔
  4206. type: string
  4207. zssizedisplay:
  4208. description: 颜色
  4209. type: string
  4210. zsstyletype:
  4211. description: 款式 - 多个, 逗号分隔
  4212. type: string
  4213. zsstyletypedisplay:
  4214. type: string
  4215. zssymmetrytype:
  4216. description: 对称度 - 两个, 逗号分隔
  4217. type: string
  4218. zssymmetrytypedisplay:
  4219. type: string
  4220. zstabledisplay:
  4221. description: 求购信息
  4222. type: string
  4223. type: object
  4224. models.Clientfixedadconfig:
  4225. properties:
  4226. adsort:
  4227. description: 排序
  4228. type: integer
  4229. adtype:
  4230. description: 广告位类型 - 1:新品抢购(HSBY)
  4231. type: integer
  4232. areauserid:
  4233. description: 所属机构ID
  4234. type: integer
  4235. createdate:
  4236. description: 创建时间
  4237. type: string
  4238. creatorid:
  4239. description: 创建人
  4240. type: integer
  4241. imagepath:
  4242. description: 图片
  4243. type: string
  4244. isshow:
  4245. description: 是否展示 - 0:不展示 1:展示
  4246. type: integer
  4247. modifierid:
  4248. description: 操作人
  4249. type: integer
  4250. recsize:
  4251. description: 推荐尺寸
  4252. type: string
  4253. title:
  4254. description: 标题
  4255. type: string
  4256. updatedate:
  4257. description: 更新时间
  4258. type: string
  4259. urlcontent:
  4260. description: 链接(地址或商品ID)
  4261. type: string
  4262. urltype:
  4263. description: 链接类型 - 1:直接地址 2:商品ID
  4264. type: integer
  4265. required:
  4266. - adsort
  4267. - adtype
  4268. type: object
  4269. models.DgFactoryItem:
  4270. properties:
  4271. dgfactoryitemid:
  4272. description: 选择项ID(SEQ_DGFACTORYITEM)
  4273. type: integer
  4274. dgfactoryitemtypeid:
  4275. description: 要素项类型
  4276. type: integer
  4277. dgfactoryitemvalue:
  4278. description: 要素项值(类型为仓库时填写仓库名称)
  4279. type: string
  4280. orderindex:
  4281. description: 顺序
  4282. type: integer
  4283. type: object
  4284. models.Division:
  4285. properties:
  4286. autoid:
  4287. description: 自增ID
  4288. type: integer
  4289. divisioncode:
  4290. description: 行政代码
  4291. type: string
  4292. divisionlevel:
  4293. description: 行政级别
  4294. type: string
  4295. divisionname:
  4296. description: 行政名称
  4297. type: string
  4298. modifierid:
  4299. description: 修改人
  4300. type: integer
  4301. modifytime:
  4302. description: 修改时间
  4303. type: string
  4304. parentcode:
  4305. description: 上级行政代码
  4306. type: string
  4307. pathname:
  4308. description: 路径名称
  4309. type: string
  4310. postcode:
  4311. description: 邮政编码
  4312. type: string
  4313. separablename:
  4314. description: 可拆分的全称
  4315. type: string
  4316. shortcode:
  4317. description: 地区简码
  4318. type: string
  4319. required:
  4320. - autoid
  4321. - divisioncode
  4322. type: object
  4323. models.Enumdicitem:
  4324. properties:
  4325. autoid:
  4326. description: 自增ID
  4327. type: integer
  4328. bankmappedvalue:
  4329. description: 银行服务对应值
  4330. type: string
  4331. enumdiccode:
  4332. description: 所属枚举代码
  4333. type: string
  4334. enumdicid:
  4335. description: 所属枚举ID
  4336. type: integer
  4337. enumdicname:
  4338. description: 枚举项名称
  4339. type: string
  4340. enumitemname:
  4341. description: 枚举项值
  4342. type: integer
  4343. enumitemstatus:
  4344. description: 枚举项状态 - 1.启用 2.不启用
  4345. type: integer
  4346. enumitemvalue:
  4347. description: 通用值 - [币种通用简写]
  4348. type: string
  4349. param1:
  4350. description: 参数1[币种:币种小数位]
  4351. type: string
  4352. param2:
  4353. description: 参数1[币种:币种显示单位]
  4354. type: string
  4355. remark:
  4356. description: 备注
  4357. type: string
  4358. required:
  4359. - autoid
  4360. - enumdiccode
  4361. - enumdicid
  4362. - enumitemname
  4363. type: object
  4364. models.Ermcp2AreaExposure:
  4365. properties:
  4366. areauserid:
  4367. description: 所属机构
  4368. type: integer
  4369. enumdicname:
  4370. description: 单位
  4371. type: string
  4372. futureqty:
  4373. description: 期货套期量
  4374. type: number
  4375. futureqtychange:
  4376. description: 期货变动量 = FutureQty - OriFutureQty
  4377. type: number
  4378. goodsunitid:
  4379. description: 单位ID
  4380. type: integer
  4381. hedgedspotexposure:
  4382. description: 被套期现货敞口量
  4383. type: number
  4384. hedgedspratio:
  4385. description: 套期期现比例 = 期货套期量/被套期现货敞口量
  4386. type: number
  4387. hedgedtotalexposourechange:
  4388. description: 被套期敞口变动量 = HedgedTotalExposure - OriHedgedTotalExposure
  4389. type: number
  4390. hedgedtotalexposure:
  4391. description: 套期敞口量 = 被套期现货敞口量+期货套期量
  4392. type: number
  4393. hedgeplanqty:
  4394. description: 套期计划量
  4395. type: number
  4396. hedgeplanqtychange:
  4397. description: 计划变动量 = HedgePlanQty - OriHedgePlanQty
  4398. type: number
  4399. hedgespotqty:
  4400. description: 被套期现货量
  4401. type: number
  4402. middlegoodsid:
  4403. description: 套保品种
  4404. type: integer
  4405. middlegoodsname:
  4406. description: 套保品种名称
  4407. type: string
  4408. orifutureqty:
  4409. description: 期初期货套期量
  4410. type: number
  4411. orihedgedspotexposure:
  4412. description: 期初被套期现货敞口量
  4413. type: number
  4414. orihedgedtotalexposure:
  4415. description: 期初套期敞口量
  4416. type: number
  4417. orihedgeplanqty:
  4418. description: 期初套期计划量
  4419. type: number
  4420. orihedgespotqty:
  4421. description: 期初被套期现货量
  4422. type: number
  4423. orispotexposure:
  4424. description: 期初现货敞口量
  4425. type: number
  4426. orispotqty:
  4427. description: 期初现货总量
  4428. type: number
  4429. oritotalexposure:
  4430. description: 期初总敞口量
  4431. type: number
  4432. spotexposure:
  4433. description: 现货敞口量
  4434. type: number
  4435. spotqty:
  4436. description: 现货总量
  4437. type: number
  4438. spotqtychange:
  4439. description: 现货变动量 = SpotQty - OriSpotQty
  4440. type: number
  4441. spratio:
  4442. description: 总期现比例 = 期货套期量/现货敞口量
  4443. type: number
  4444. totalexposure:
  4445. description: 总敞口量 = 现货敞口量 + 期货套期量
  4446. type: number
  4447. totalexposurechange:
  4448. description: 总敞口变动量 = TotalExposure - OriTotalExposure
  4449. type: number
  4450. updatetime:
  4451. description: 更新时间 --DATE
  4452. type: string
  4453. type: object
  4454. models.Ermcp2hedgeditem:
  4455. properties:
  4456. accountname:
  4457. description: 套期主体
  4458. type: string
  4459. applyid:
  4460. description: 申请人
  4461. type: integer
  4462. applysrc:
  4463. description: 申请来源 - 1:管理端 2:终端
  4464. type: integer
  4465. areauserid:
  4466. description: 企业ID
  4467. type: integer
  4468. auditid:
  4469. description: 审核人
  4470. type: integer
  4471. auditremark:
  4472. description: 审核备注
  4473. type: string
  4474. auditsrc:
  4475. description: 审核来源 - 1:管理端 2:终端
  4476. type: integer
  4477. audittime:
  4478. description: 审核时间
  4479. type: string
  4480. audittradedate:
  4481. description: 审核交易日(yyyyMMdd)
  4482. type: string
  4483. createtime:
  4484. description: 申请时间
  4485. type: string
  4486. curprice:
  4487. description: 当前市场价
  4488. type: number
  4489. curstock:
  4490. description: 期末库存量 = 采购总量 - 销售总量
  4491. type: number
  4492. deliverygoodsid:
  4493. description: 现货品种ID
  4494. type: integer
  4495. enddate:
  4496. description: 完成日期
  4497. type: string
  4498. endtradedate:
  4499. description: 完成交易日
  4500. type: string
  4501. enumdicname:
  4502. description: 单位
  4503. type: string
  4504. exeamount:
  4505. description: 执行市价总额
  4506. type: number
  4507. exeavgprice:
  4508. description: 执行市场均价= 执行市价总额 / 执行现货量
  4509. type: number
  4510. execontractamount:
  4511. description: 执行定价总额
  4512. type: number
  4513. exeqty:
  4514. description: 执行现货量
  4515. type: number
  4516. exerestamount:
  4517. description: 执行剩余市价总额【现货贸易】
  4518. type: number
  4519. futurefloatpl:
  4520. description: 期货浮动损益
  4521. type: number
  4522. futurehedgepl:
  4523. description: 期货实际损益
  4524. type: number
  4525. futurehedgeplchange:
  4526. description: 期货实际损益变动
  4527. type: number
  4528. futurepl:
  4529. description: 期货套期损益
  4530. type: number
  4531. futureplchange:
  4532. description: 期货套期损益变动
  4533. type: number
  4534. hedgeamount:
  4535. description: 套期市价总额
  4536. type: number
  4537. hedgecontractamount:
  4538. description: 套期定价总额 【定价采购合同】【现货贸易】
  4539. type: number
  4540. hedgeditemid:
  4541. description: 被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)
  4542. type: string
  4543. hedgeditemname:
  4544. description: 项目名称
  4545. type: string
  4546. hedgeditemnum:
  4547. description: 项目编号
  4548. type: string
  4549. hedgeditemstatus:
  4550. description: 项目状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4551. type: integer
  4552. hedgedtype:
  4553. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4554. type: integer
  4555. hedgeqty:
  4556. description: 套期现货量
  4557. type: number
  4558. hedgerate:
  4559. description: 套保比率
  4560. type: number
  4561. hedgerestamount:
  4562. description: 套期剩余市价总额【现货贸易】
  4563. type: number
  4564. hedgesumpl:
  4565. description: 套期汇总损益 = 期货汇总损益 + 现货汇总损益
  4566. type: number
  4567. middlegoodslist:
  4568. description: 套期商品列表
  4569. items:
  4570. $ref: '#/definitions/models.Ermcp2himiddlegoods'
  4571. type: array
  4572. oriavgprice:
  4573. description: 期初市场均价 = 套期市价总额 / 套期现货量
  4574. type: number
  4575. orifuturehedgepl:
  4576. description: 期初期货实际损益
  4577. type: number
  4578. orifuturepl:
  4579. description: 期初期货套期损益
  4580. type: number
  4581. orispothedgepl:
  4582. description: 期初现货实际损益
  4583. type: number
  4584. orispotpl:
  4585. description: 期初现货套期损益
  4586. type: number
  4587. planenddate:
  4588. description: 计划结束日期
  4589. type: string
  4590. planstartdate:
  4591. description: 计划开始日期
  4592. type: string
  4593. remark:
  4594. description: 备注
  4595. type: string
  4596. spotbookamount:
  4597. description: 现货账面总额
  4598. type: number
  4599. spotfloatpl:
  4600. description: 现货浮动损益 =(当前市场价 - 期初市场价)*未执行现货量 * 方向(销售计划 为 -1, 其它为1)
  4601. type: number
  4602. spothedgepl:
  4603. description: 现货套期损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)
  4604. type: number
  4605. spothedgeplchange:
  4606. description: 现货实际损益变动
  4607. type: number
  4608. spotpl:
  4609. description: 现货套期损益 = 现货实际损益 + 现货浮动损益
  4610. type: number
  4611. spotplchange:
  4612. description: 现货套期损益变动
  4613. type: number
  4614. spottradepl:
  4615. description: 现货贸易损益【现货贸易】= 执行合同定价总额 - 套期合同定价总额
  4616. type: number
  4617. sumobspl:
  4618. description: 汇总绝对损益【现货贸易】=现货贸易损益+增值税损益+期货套期损益
  4619. type: number
  4620. tradeuserid:
  4621. description: 交易用户ID
  4622. type: integer
  4623. unexeqty:
  4624. description: 未执行现货量 = 套期现货量 - 执行现货量
  4625. type: number
  4626. updatetime:
  4627. description: 更新时间
  4628. type: string
  4629. vatpl:
  4630. description: 增值税损益【现货贸易】= 现货贸易损益 * (增值税率 /(1+增值税率))
  4631. type: number
  4632. vatrate:
  4633. description: 增值税
  4634. type: number
  4635. wrstandardid:
  4636. description: 现货商品ID
  4637. type: integer
  4638. wrstandardname:
  4639. description: 商品名称
  4640. type: string
  4641. type: object
  4642. models.Ermcp2hedgeditemlink:
  4643. properties:
  4644. areauserid:
  4645. description: 企业ID
  4646. type: integer
  4647. createtime:
  4648. description: '[关联时间]创建时间'
  4649. type: string
  4650. customeruserid:
  4651. description: 对手方 【3:采购合同 4:销售合同】
  4652. type: integer
  4653. deliverygoodsid:
  4654. description: 现货品种ID
  4655. type: integer
  4656. enumdicname:
  4657. description: 单位
  4658. type: string
  4659. hedgeditemid:
  4660. description: 被套期项目ID
  4661. type: integer
  4662. hedgeditemlinkid:
  4663. description: 现货关联表ID(626+Unix秒时间戳(10位)+xxxxxx)
  4664. type: integer
  4665. hedgeditemnum:
  4666. description: 项目编号
  4667. type: string
  4668. hedgedtype:
  4669. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4670. type: integer
  4671. relatedamount:
  4672. description: 市价总额 = 关联数量 * 期初市场价
  4673. type: number
  4674. relatedhedgeplanid:
  4675. description: 关联计划ID 【1:采购计划 2:销售计划】
  4676. type: integer
  4677. relatedqty:
  4678. description: 关联数量
  4679. type: number
  4680. relatedspotcontractid:
  4681. description: 关联合同ID 【3:采购合同 4:销售合同】
  4682. type: integer
  4683. relatedtype:
  4684. description: 关联类型 - 1:套期关联 2:执行关联
  4685. type: integer
  4686. spotgoodsbrandid:
  4687. description: 现货品牌ID
  4688. type: integer
  4689. spotpricedamount:
  4690. description: '[关联定价总额]定价总额'
  4691. type: number
  4692. spotpricedavgprice:
  4693. description: '[关联现货均价]现货均价 = 定价总额 / 关联数量'
  4694. type: number
  4695. spottype:
  4696. description: 现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  4697. type: integer
  4698. tradeuserid:
  4699. description: 交易用户ID
  4700. type: integer
  4701. unexeqty:
  4702. description: 未执行现货量【项目关联时值】
  4703. type: number
  4704. wrstandardid:
  4705. description: 现货商品ID
  4706. type: integer
  4707. wrstandardname:
  4708. description: 现货商品
  4709. type: string
  4710. required:
  4711. - relatedspotcontractid
  4712. type: object
  4713. models.Ermcp2hedgeditemsDetail:
  4714. properties:
  4715. accountname:
  4716. description: 套期主体
  4717. type: string
  4718. areauserid:
  4719. description: 企业ID
  4720. type: integer
  4721. createtime:
  4722. description: '[日期时间]创建时间'
  4723. type: string
  4724. customeruserid:
  4725. description: 对手方 【3:采购合同 4:销售合同】
  4726. type: integer
  4727. deliverygoodsid:
  4728. description: 现货品种ID
  4729. type: integer
  4730. enumdicname:
  4731. description: 单位
  4732. type: string
  4733. hedgeditemid:
  4734. description: 被套期项目ID
  4735. type: string
  4736. hedgeditemspotid:
  4737. description: 现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)
  4738. type: string
  4739. hedgedtype:
  4740. description: 套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4741. type: integer
  4742. hedgeplanno:
  4743. description: 计划编号
  4744. type: string
  4745. middlegoodschange:
  4746. description: 套期商品变化量 = RELATEDQTY * 折算系数 * (1/(1+增值税))
  4747. type: number
  4748. oriavgprice:
  4749. description: 期初市场价[当初市场价]
  4750. type: number
  4751. relatedamount:
  4752. description: 市价总额 = 关联数量 * 期初市场价
  4753. type: number
  4754. relatedhedgeplanid:
  4755. description: 关联计划ID 【1:采购计划 2:销售计划】
  4756. type: integer
  4757. relatedqty:
  4758. description: '[期间变化量]关联数量'
  4759. type: number
  4760. relatedspotcontractid:
  4761. description: 关联合同ID 【3:采购合同 4:销售合同】
  4762. type: integer
  4763. relatedtype:
  4764. description: 关联类型 - 1:套期关联 2:执行关联
  4765. type: integer
  4766. spotgoodsbrandid:
  4767. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID" = 2
  4768. type: integer
  4769. spotpricedamount:
  4770. description: 定价总额
  4771. type: number
  4772. spotpricedavgprice:
  4773. description: 现货均价 = 定价总额 / 关联数量
  4774. type: number
  4775. spottype:
  4776. description: 现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  4777. type: integer
  4778. tradeuserid:
  4779. description: 交易用户ID
  4780. type: integer
  4781. unexeqty:
  4782. description: 未执行现货量 = 套期现货量 - 执行现货量
  4783. type: number
  4784. wrstandardid:
  4785. description: 现货商品ID
  4786. type: integer
  4787. wrstandardname:
  4788. description: 现货商品
  4789. type: string
  4790. type: object
  4791. models.Ermcp2hedgeditemspot:
  4792. properties:
  4793. areauserid:
  4794. description: 企业ID
  4795. type: integer
  4796. createtime:
  4797. description: 创建时间
  4798. type: string
  4799. customeruserid:
  4800. description: 对手方 【3:采购合同 4:销售合同】
  4801. type: integer
  4802. deliverygoodsid:
  4803. description: 现货品种ID
  4804. type: integer
  4805. enumdicname:
  4806. description: 单位
  4807. type: string
  4808. hedgeditemid:
  4809. description: 被套期项目ID
  4810. type: string
  4811. hedgeditemspotid:
  4812. description: 现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)
  4813. type: string
  4814. hedgedtype:
  4815. description: 套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4816. type: integer
  4817. hedgeplanno:
  4818. description: 计划编号
  4819. type: string
  4820. oriavgprice:
  4821. description: 期初市场价[当初市场价]
  4822. type: number
  4823. relatedamount:
  4824. description: 市价总额 = 关联数量 * 期初市场价
  4825. type: number
  4826. relatedhedgeplanid:
  4827. description: 关联计划ID 【1:采购计划 2:销售计划】
  4828. type: integer
  4829. relatedqty:
  4830. description: 关联数量[数量]
  4831. type: number
  4832. relatedspotcontractid:
  4833. description: 关联合同ID 【3:采购合同 4:销售合同】
  4834. type: integer
  4835. relatedtype:
  4836. description: 关联类型 - 1:套期关联 2:执行关联
  4837. type: integer
  4838. spotgoodsbrandid:
  4839. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID" = 2
  4840. type: integer
  4841. spotpricedamount:
  4842. description: 定价总额
  4843. type: number
  4844. spotpricedavgprice:
  4845. description: 现货均价 = 定价总额 / 关联数量
  4846. type: number
  4847. spottype:
  4848. description: 现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  4849. type: integer
  4850. tradeuserid:
  4851. description: 交易用户ID
  4852. type: integer
  4853. wrstandardid:
  4854. description: 现货商品ID
  4855. type: integer
  4856. wrstandardname:
  4857. description: 现货商品
  4858. type: string
  4859. required:
  4860. - hedgeditemid
  4861. type: object
  4862. models.Ermcp2hedgeditemspotDetail:
  4863. properties:
  4864. accountname:
  4865. description: 对手方
  4866. type: string
  4867. areauserid:
  4868. description: 企业ID
  4869. type: integer
  4870. brandname:
  4871. description: 品牌
  4872. type: string
  4873. contractno:
  4874. description: 合同编号
  4875. type: string
  4876. createtime:
  4877. description: 创建时间
  4878. type: string
  4879. customeruserid:
  4880. description: 对手方 【3:采购合同 4:销售合同】
  4881. type: integer
  4882. deliverygoodsid:
  4883. description: 现货品种ID
  4884. type: integer
  4885. enumdicname:
  4886. description: 单位
  4887. type: string
  4888. hedgeditemid:
  4889. description: 被套期项目ID
  4890. type: string
  4891. hedgeditemspotid:
  4892. description: 现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)
  4893. type: string
  4894. hedgedtype:
  4895. description: 套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4896. type: integer
  4897. oriavgprice:
  4898. description: 期初市场价[当初市场价]
  4899. type: number
  4900. relatedamount:
  4901. description: 市价总额 = 关联数量 * 期初市场价
  4902. type: number
  4903. relatedhedgeplanid:
  4904. description: 关联计划ID 【1:采购计划 2:销售计划】
  4905. type: integer
  4906. relatedqty:
  4907. description: 关联数量[数量]
  4908. type: number
  4909. relatedspotcontractid:
  4910. description: 关联合同ID 【3:采购合同 4:销售合同】
  4911. type: integer
  4912. relatedtype:
  4913. description: 关联类型 - 1:套期关联 2:执行关联
  4914. type: integer
  4915. spotgoodsbrandid:
  4916. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID" = 2
  4917. type: integer
  4918. spotpricedamount:
  4919. description: 定价总额[金额]
  4920. type: number
  4921. spotpricedavgprice:
  4922. description: 现货均价 = 定价总额 / 关联数量
  4923. type: number
  4924. spottype:
  4925. description: 现货类型[合同类型] - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  4926. type: integer
  4927. tradeuserid:
  4928. description: 交易用户ID
  4929. type: integer
  4930. wrstandardid:
  4931. description: 现货商品ID
  4932. type: integer
  4933. wrstandardname:
  4934. description: 现货商品
  4935. type: string
  4936. required:
  4937. - hedgeditemid
  4938. type: object
  4939. models.Ermcp2himiddlegoods:
  4940. properties:
  4941. futurehedgeqty:
  4942. description: 期货持仓套期量
  4943. type: number
  4944. hedgeditemid:
  4945. description: 被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)
  4946. type: integer
  4947. hiexpsoure:
  4948. description: 期现敞口量 = 未执行套期量 + 期货持仓套期量
  4949. type: number
  4950. middlegoodscode:
  4951. description: 套保商品代码
  4952. type: string
  4953. middlegoodsid:
  4954. description: 套保品种ID
  4955. type: integer
  4956. middlegoodsname:
  4957. description: 套保商品名称
  4958. type: string
  4959. unexehedgeqty:
  4960. description: 未执行套期量 = 未执行现货量*折算系数* (1/(1+增值税)) * 套期比例(项目上)
  4961. type: number
  4962. required:
  4963. - hedgeditemid
  4964. - middlegoodsid
  4965. type: object
  4966. models.Ermcp2stockspotchangelog:
  4967. properties:
  4968. accountname:
  4969. description: 套期主体
  4970. type: string
  4971. aftervalue:
  4972. description: 现货量
  4973. type: number
  4974. beforevalue:
  4975. description: 变更前现货量
  4976. type: number
  4977. contractno:
  4978. description: '[编号]现货合同编号'
  4979. type: string
  4980. contracttype:
  4981. description: 现货合同类型 - 1:采购 -1:销售
  4982. type: integer
  4983. createtime:
  4984. description: 创建时间
  4985. type: string
  4986. customerusername:
  4987. description: 对手方
  4988. type: string
  4989. deliverygoodsid:
  4990. description: 现货品种ID
  4991. type: integer
  4992. exetype:
  4993. description: 执行类型 - 1:采购合同 2:销售合同 3:生产入库 4:生产出库
  4994. type: integer
  4995. logid:
  4996. description: 流水ID(604+Unix秒时间戳(10位)+xxxxxx)
  4997. type: string
  4998. logvalue:
  4999. description: '[期间变化量]现货量变更值'
  5000. type: number
  5001. middlegoodschange:
  5002. description: 套期商品变化量 = LogValue * 折算系数 * (1/(1+增值税))
  5003. type: number
  5004. operatelogtype:
  5005. description: 操作流水类型 - 2:点价数量 21:正常完结(合同) 22:异常终止(合同) 24:采购入库 25:销售出库 26:生产入库
  5006. 27:生产出库
  5007. type: integer
  5008. relatedid:
  5009. description: 现货合同ID
  5010. type: integer
  5011. spotgoodsbrandid:
  5012. description: 现货品牌ID
  5013. type: integer
  5014. tradedate:
  5015. description: 交易日(yyyyMMdd)
  5016. type: string
  5017. userid:
  5018. description: 机构ID
  5019. type: integer
  5020. warehouseinfoid:
  5021. description: 仓库ID
  5022. type: integer
  5023. wrfactortypeid:
  5024. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  5025. type: integer
  5026. wrstandardid:
  5027. description: 现货商品ID
  5028. type: integer
  5029. wrstandardname:
  5030. description: 商品名称
  5031. type: string
  5032. type: object
  5033. models.Ermcp3AreaSpot:
  5034. properties:
  5035. areauserid:
  5036. description: 所属机构
  5037. type: integer
  5038. convertratio:
  5039. description: 套保系数
  5040. type: number
  5041. decreaseqty:
  5042. description: 减少数量=-(销售已定价数量+采购计划数量)
  5043. type: number
  5044. enumdicname:
  5045. description: 单位名称
  5046. type: string
  5047. increaseqty:
  5048. description: 增加数量=销售计划数量+采购已定价数量
  5049. type: number
  5050. oritoalspotqty:
  5051. description: 昨日数量
  5052. type: number
  5053. totalspotqty:
  5054. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  5055. type: number
  5056. unitid:
  5057. description: 现货商品单位id
  5058. type: integer
  5059. updatetime:
  5060. description: 更新时间
  5061. type: string
  5062. wrstandardcode:
  5063. description: 现货商品代码
  5064. type: string
  5065. wrstandardid:
  5066. description: 现货商品ID(SEQ_WRSTANDARD)
  5067. type: integer
  5068. wrstandardname:
  5069. description: 现货商品名称
  5070. type: string
  5071. type: object
  5072. models.Ermcp3AreaSpotDetail:
  5073. properties:
  5074. contracttype:
  5075. description: 合同类型 1-采购 -1-销售
  5076. type: integer
  5077. createtime:
  5078. description: 创建时间
  5079. type: string
  5080. enumdicname:
  5081. description: 现货商品单位名称
  5082. type: string
  5083. logtype:
  5084. description: 记录类型 1-套保 2-现货合同
  5085. type: integer
  5086. qty:
  5087. description: 数量
  5088. type: number
  5089. recordname:
  5090. description: 类型名称
  5091. type: string
  5092. relatedid:
  5093. description: 套保计划ID/现货合同ID
  5094. type: string
  5095. relatedno:
  5096. description: 编号
  5097. type: string
  5098. strtime:
  5099. description: 时间
  5100. type: string
  5101. wrstandardcode:
  5102. description: 现货商品代码
  5103. type: string
  5104. wrstandardid:
  5105. description: 现货商品ID(SEQ_WRSTANDARD)
  5106. type: integer
  5107. wrstandardname:
  5108. description: 现货商品名称
  5109. type: string
  5110. type: object
  5111. models.Ermcp3AreaSpotPLReport:
  5112. properties:
  5113. accountid:
  5114. description: 期货账户ID (作废, 默认为0)
  5115. type: integer
  5116. accountname:
  5117. description: 机构名称
  5118. type: string
  5119. actualpl:
  5120. description: 现货损益
  5121. type: number
  5122. areauserid:
  5123. description: 所属机构\交易用户ID
  5124. type: integer
  5125. begindate:
  5126. description: 开始交易日
  5127. type: string
  5128. biztype:
  5129. description: 业务类型 - 1:套保 2:套利
  5130. type: integer
  5131. brandname:
  5132. description: 品牌名称
  5133. type: string
  5134. curamount:
  5135. description: 期末额
  5136. type: number
  5137. curaverageprice:
  5138. description: 期末均价
  5139. type: number
  5140. curbuyamount:
  5141. description: 期末采购总额
  5142. type: number
  5143. curbuyqty:
  5144. description: 期末采购总量
  5145. type: number
  5146. curmarketvalue:
  5147. description: 参考市值(期末市值)
  5148. type: number
  5149. curqty:
  5150. description: 期末量
  5151. type: number
  5152. currencyid:
  5153. description: 结算币种ID【原值】
  5154. type: integer
  5155. currencyname:
  5156. description: 币种名称
  5157. type: string
  5158. cursellamount:
  5159. description: 期末销售总额
  5160. type: number
  5161. cursellqty:
  5162. description: 期末销售总量
  5163. type: number
  5164. curspotprice:
  5165. description: 参考市价(最新价)
  5166. type: number
  5167. cycletime:
  5168. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5169. type: string
  5170. cycletype:
  5171. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5172. type: integer
  5173. deliverygoodscode:
  5174. description: 现货品种代码
  5175. type: string
  5176. deliverygoodsid:
  5177. description: 现货品种ID
  5178. type: integer
  5179. deliverygoodsname:
  5180. description: 现货品种名称
  5181. type: string
  5182. enddate:
  5183. description: 结束交易日
  5184. type: string
  5185. enumdicname:
  5186. description: 现货品种单位名称(作废)
  5187. type: string
  5188. floatpl:
  5189. description: 浮动损益
  5190. type: number
  5191. goodsunitid:
  5192. description: 现货品种单位id(作废)
  5193. type: integer
  5194. oriamount:
  5195. description: 期初额
  5196. type: number
  5197. oriaverageprice:
  5198. description: 期初均价
  5199. type: number
  5200. oribuyamount:
  5201. description: 期初采购总额
  5202. type: number
  5203. oribuyqty:
  5204. description: 期初采购总量
  5205. type: number
  5206. oriqty:
  5207. description: 期初量
  5208. type: number
  5209. orisellamount:
  5210. description: 期初销售总额
  5211. type: number
  5212. orisellqty:
  5213. description: 期初销售总量
  5214. type: number
  5215. reckondate:
  5216. description: 日照时期(yyyyMMdd)
  5217. type: string
  5218. spotgoodsbrandid:
  5219. description: 现货品牌ID
  5220. type: integer
  5221. todaybuyamount:
  5222. description: 今日采购额(今采购额)
  5223. type: number
  5224. todaybuyaverageprice:
  5225. description: 今日采购均价
  5226. type: number
  5227. todaybuyqty:
  5228. description: 今日采购量(今采购量)
  5229. type: number
  5230. todayinqty:
  5231. description: 今日入库量(今入库量)
  5232. type: number
  5233. todayoutqty:
  5234. description: 今日出库量(今出库量)
  5235. type: number
  5236. todaysellamount:
  5237. description: 今日销售额(今销售额)
  5238. type: number
  5239. todaysellaverageprice:
  5240. description: 今日销售均价
  5241. type: number
  5242. todaysellqty:
  5243. description: 今日销售量(今销售量)
  5244. type: number
  5245. unitid:
  5246. description: 品类单位id
  5247. type: integer
  5248. unitidname:
  5249. description: 品类单位名称
  5250. type: string
  5251. updatetime:
  5252. description: 更新时间
  5253. type: string
  5254. wrfactortypeid:
  5255. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  5256. type: integer
  5257. wrstandardcode:
  5258. description: 现货商品(品类)代码
  5259. type: string
  5260. wrstandardid:
  5261. description: 现货品类ID
  5262. type: integer
  5263. wrstandardname:
  5264. description: 现货商品(品类)名称
  5265. type: string
  5266. type: object
  5267. models.Ermcp3AreaStock:
  5268. properties:
  5269. brandname:
  5270. description: 品牌名称
  5271. type: string
  5272. curstock:
  5273. description: 期末库存量(今日量)
  5274. type: number
  5275. deliverygoodscode:
  5276. description: 现货品种代码
  5277. type: string
  5278. deliverygoodsid:
  5279. description: 现货品种id
  5280. type: integer
  5281. deliverygoodsname:
  5282. description: 现货品种名称
  5283. type: string
  5284. enumdicname:
  5285. description: 单位名称
  5286. type: string
  5287. goodsunitid:
  5288. description: 现货商品单位id
  5289. type: integer
  5290. oristock:
  5291. description: 期初库存量(昨日量)
  5292. type: number
  5293. spotgoodsbrandid:
  5294. description: 现货品牌ID
  5295. type: integer
  5296. todaybuyinqty:
  5297. description: 今日采购入库量
  5298. type: number
  5299. todayproduceinqty:
  5300. description: 今日生产入库量
  5301. type: number
  5302. todayproduceoutqty:
  5303. description: 今日生产出库量
  5304. type: number
  5305. todayselloutqty:
  5306. description: 今日销售出库量
  5307. type: number
  5308. unitid:
  5309. description: 单位id
  5310. type: integer
  5311. updatetime:
  5312. description: 更新时间
  5313. type: string
  5314. userid:
  5315. description: 机构ID
  5316. type: integer
  5317. username:
  5318. description: 机构名称
  5319. type: string
  5320. warehousecode:
  5321. description: 仓库代码
  5322. type: string
  5323. warehouseinfoid:
  5324. description: 仓库ID
  5325. type: string
  5326. warehousename:
  5327. description: 仓库名称
  5328. type: string
  5329. warehousetype:
  5330. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  5331. type: integer
  5332. wrstandardcode:
  5333. description: 品类代码
  5334. type: string
  5335. wrstandardid:
  5336. description: 品类ID
  5337. type: string
  5338. wrstandardname:
  5339. description: 品类名称
  5340. type: string
  5341. required:
  5342. - userid
  5343. type: object
  5344. models.Ermcp3AreaStockApply:
  5345. properties:
  5346. applyid:
  5347. description: 申请人
  5348. type: integer
  5349. applyname:
  5350. description: 申请人名称
  5351. type: string
  5352. applyremark:
  5353. description: 申请备注
  5354. type: string
  5355. applysrc:
  5356. description: 申请来源 - 1:管理端 2:终端
  5357. type: integer
  5358. applystatus:
  5359. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  5360. type: integer
  5361. applytime:
  5362. description: 申请时间
  5363. type: string
  5364. auditid:
  5365. description: 审核人
  5366. type: integer
  5367. auditname:
  5368. description: 审核人名称
  5369. type: string
  5370. auditremark:
  5371. description: 审核备注
  5372. type: string
  5373. auditsrc:
  5374. description: 审核来源 - 1:管理端 2:终端
  5375. type: integer
  5376. audittime:
  5377. description: 审核时间
  5378. type: string
  5379. audittradedate:
  5380. description: 审核交易日(yyyyMMdd)
  5381. type: string
  5382. brandname:
  5383. description: 品牌名称
  5384. type: string
  5385. buynickname:
  5386. description: 采购方昵称
  5387. type: string
  5388. buyuserid:
  5389. description: 采购方userid
  5390. type: integer
  5391. buyusername:
  5392. description: 采购方名称
  5393. type: string
  5394. contractno:
  5395. description: 合同编号
  5396. type: string
  5397. contractqty:
  5398. description: 合同量
  5399. type: number
  5400. contracttype:
  5401. description: 现货合同类型 - 1:采购 -1:销售
  5402. type: integer
  5403. deliverygoodscode:
  5404. description: 现货品种代码
  5405. type: string
  5406. deliverygoodsid:
  5407. description: 现货品种id
  5408. type: integer
  5409. deliverygoodsname:
  5410. description: 现货品种名称
  5411. type: string
  5412. detailjson:
  5413. description: 明细数据
  5414. type: string
  5415. enumdicname:
  5416. description: 现货商品单位名称
  5417. type: string
  5418. inoutapplyid:
  5419. description: 申请ID(607+Unix秒时间戳(10位)+xxxxxx)
  5420. type: string
  5421. inouttype:
  5422. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  5423. type: integer
  5424. pricetype:
  5425. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  5426. type: integer
  5427. qty:
  5428. description: 数量
  5429. type: number
  5430. sellnickname:
  5431. description: 销售方昵称
  5432. type: string
  5433. selluserid:
  5434. description: 销售方userid
  5435. type: integer
  5436. sellusername:
  5437. description: 销售方名称
  5438. type: string
  5439. spotcontractid:
  5440. description: 关联现货合同ID
  5441. type: string
  5442. spotgoodsbrandid:
  5443. description: 现货品牌ID
  5444. type: integer
  5445. unitid:
  5446. description: 单位id
  5447. type: integer
  5448. userid:
  5449. description: 机构ID
  5450. type: integer
  5451. warehousecode:
  5452. description: 仓库代码
  5453. type: string
  5454. warehouseinfoid:
  5455. description: 现货仓库ID
  5456. type: string
  5457. warehousename:
  5458. description: 仓库名称
  5459. type: string
  5460. warehousetype:
  5461. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  5462. type: integer
  5463. wrstandardcode:
  5464. description: 品类代码
  5465. type: string
  5466. wrstandardid:
  5467. description: 品类ID
  5468. type: integer
  5469. wrstandardname:
  5470. description: 品类名称
  5471. type: string
  5472. type: object
  5473. models.Ermcp3AreaStockApplySum:
  5474. properties:
  5475. brandname:
  5476. description: 品牌名称
  5477. type: string
  5478. inouttype:
  5479. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  5480. type: integer
  5481. spotcontractid:
  5482. description: 关联现货合同ID
  5483. type: string
  5484. spotgoodsbrandid:
  5485. description: 品牌id
  5486. type: integer
  5487. totalqty:
  5488. description: 总数量
  5489. type: number
  5490. wrstandardid:
  5491. description: 品类id
  5492. type: integer
  5493. wrstandardname:
  5494. description: 品类名称
  5495. type: string
  5496. type: object
  5497. models.Ermcp3AreaStockReportEx:
  5498. properties:
  5499. begindate:
  5500. description: 开始交易日
  5501. type: string
  5502. brandname:
  5503. description: 品牌名称
  5504. type: string
  5505. curstock:
  5506. description: 期末库存量
  5507. type: number
  5508. cycletime:
  5509. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5510. type: string
  5511. cycletype:
  5512. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5513. type: integer
  5514. deliverygoodscode:
  5515. description: 现货品种代码
  5516. type: string
  5517. deliverygoodsid:
  5518. description: 现货品种id
  5519. type: integer
  5520. deliverygoodsname:
  5521. description: 现货品种名称
  5522. type: string
  5523. diffqty:
  5524. description: 库存变化量 = 期末 - 期初
  5525. type: number
  5526. enddate:
  5527. description: 结束交易日
  5528. type: string
  5529. enumdicname:
  5530. description: 单位名称
  5531. type: string
  5532. goodsunitid:
  5533. description: 现货单位id
  5534. type: integer
  5535. oristock:
  5536. description: 期初库存量
  5537. type: number
  5538. reckondate:
  5539. description: 日照时期(yyyyMMdd)
  5540. type: string
  5541. spotgoodsbrandid:
  5542. description: 现货品牌ID
  5543. type: integer
  5544. todaybuyinqty:
  5545. description: 今采购入库量
  5546. type: number
  5547. todayproduceinqty:
  5548. description: 今内部入库量
  5549. type: number
  5550. todayproduceoutqty:
  5551. description: 今内部出库量
  5552. type: number
  5553. todayselloutqty:
  5554. description: 今销售出库量
  5555. type: number
  5556. unbuyinqty:
  5557. description: 采购未入库量(数据库未找到相关字段?)
  5558. type: number
  5559. unitid:
  5560. description: 品类单位id
  5561. type: integer
  5562. unselloutqty:
  5563. description: 销售未出库量(数据库未找到相关字段?)
  5564. type: number
  5565. updatetime:
  5566. description: 更新时间
  5567. type: string
  5568. userid:
  5569. description: 机构ID
  5570. type: integer
  5571. username:
  5572. description: 机构名称
  5573. type: string
  5574. warehousecode:
  5575. description: 仓库代码
  5576. type: string
  5577. warehouseinfoid:
  5578. description: 仓库ID
  5579. type: string
  5580. warehousename:
  5581. description: 仓库名称
  5582. type: string
  5583. warehousetype:
  5584. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  5585. type: integer
  5586. wrstandardcode:
  5587. description: 品类代码
  5588. type: string
  5589. wrstandardid:
  5590. description: 品类ID
  5591. type: integer
  5592. wrstandardname:
  5593. description: 品类名称
  5594. type: string
  5595. type: object
  5596. models.Ermcp3ArealSumPL:
  5597. properties:
  5598. accountname:
  5599. description: 机构名称
  5600. type: string
  5601. areauserid:
  5602. description: 所属机构\交易用户ID
  5603. type: integer
  5604. begindate:
  5605. description: 开始交易日
  5606. type: string
  5607. currencyid:
  5608. description: 结算币种ID
  5609. type: integer
  5610. currencyname:
  5611. description: 币种名称
  5612. type: string
  5613. cycletime:
  5614. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5615. type: string
  5616. cycletype:
  5617. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5618. type: integer
  5619. enddate:
  5620. description: 结束交易日
  5621. type: string
  5622. enumdicname:
  5623. description: 单位名称(套保品种)
  5624. type: string
  5625. futureactualpl:
  5626. description: 期货损益
  5627. type: number
  5628. futurefloatpl:
  5629. description: 期货浮动损益
  5630. type: number
  5631. futurespotratio:
  5632. description: 期现比例 = 期货头寸总量 / 现货头寸总量
  5633. type: number
  5634. goodsunitid:
  5635. description: 套保品种单位id
  5636. type: integer
  5637. hedgeexposurepl:
  5638. description: 套保敞口损益
  5639. type: number
  5640. middlegoodscode:
  5641. description: 套保品种代码
  5642. type: string
  5643. middlegoodsid:
  5644. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  5645. type: integer
  5646. middlegoodsname:
  5647. description: 套保品种名称
  5648. type: string
  5649. reckondate:
  5650. description: 日照时期(yyyyMMdd)
  5651. type: string
  5652. spotactualpl:
  5653. description: 现货损益
  5654. type: number
  5655. spotfloatpl:
  5656. description: 现货浮动损益
  5657. type: number
  5658. sumactualpl:
  5659. description: 实际损益 = (ActualPL + FutureActualPL)
  5660. type: number
  5661. sumpl:
  5662. description: 总敞口损益 | 汇总损益
  5663. type: number
  5664. totalfutureqty:
  5665. description: 期货头寸总量
  5666. type: number
  5667. totalneedhedgeqty:
  5668. description: 应套保总量
  5669. type: number
  5670. totalspotqty:
  5671. description: 现货头寸总量
  5672. type: number
  5673. updatetime:
  5674. description: 更新时间
  5675. type: string
  5676. type: object
  5677. models.Ermcp3Brand:
  5678. properties:
  5679. areauserid:
  5680. description: 用户id
  5681. type: integer
  5682. brandid:
  5683. description: 品牌id
  5684. type: integer
  5685. brandname:
  5686. description: 品牌名称
  5687. type: string
  5688. deliverygoodsid:
  5689. description: 品种ID
  5690. type: integer
  5691. isvalid:
  5692. description: 是否有效
  5693. type: integer
  5694. type: object
  5695. models.Ermcp3Contract:
  5696. properties:
  5697. accountid:
  5698. description: 期货账户id
  5699. type: string
  5700. amount:
  5701. description: 金额 [1:一口价、3:暂定价]
  5702. type: number
  5703. attachment:
  5704. description: 附件
  5705. type: string
  5706. auditremark:
  5707. description: 审核意见
  5708. type: string
  5709. audittime:
  5710. description: 审核时间
  5711. type: string
  5712. biztype:
  5713. description: 业务类型 1-套保 2-套利
  5714. type: integer
  5715. brandname:
  5716. description: 品牌名称
  5717. type: string
  5718. buynickname:
  5719. description: 销售方昵称
  5720. type: string
  5721. buyuserid:
  5722. description: 采购方ID
  5723. type: integer
  5724. buyusername:
  5725. description: 采购方名称
  5726. type: string
  5727. contracctstatus:
  5728. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5729. type: integer
  5730. contractmargin:
  5731. description: 合同保证金
  5732. type: number
  5733. contractno:
  5734. description: 现货合同编号
  5735. type: string
  5736. contracttype:
  5737. description: 现货合同类型 - 1:采购 -1:销售
  5738. type: integer
  5739. convertfactor:
  5740. description: 标仓系数(品类)
  5741. type: number
  5742. createtime:
  5743. description: 创建时间
  5744. type: string
  5745. currencyid:
  5746. description: 币种id
  5747. type: integer
  5748. currencyname:
  5749. description: 币种名称
  5750. type: string
  5751. deliveryenddate:
  5752. description: 交收期(结束)
  5753. type: string
  5754. deliverygoodscode:
  5755. description: 现货品种代码
  5756. type: string
  5757. deliverygoodsid:
  5758. description: 现货品种ID
  5759. type: integer
  5760. deliverygoodsname:
  5761. description: 现货品种名称
  5762. type: string
  5763. deliverystartdate:
  5764. description: 交收期(开始)
  5765. type: string
  5766. enddate:
  5767. description: 点价结束日期 [2:点价 3:暂定价]
  5768. type: string
  5769. enumdicname:
  5770. description: 单位名称
  5771. type: string
  5772. goodscode:
  5773. description: 点价合约代码
  5774. type: string
  5775. goodsid:
  5776. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  5777. type: integer
  5778. goodsname:
  5779. description: 点价商品名称
  5780. type: string
  5781. margin:
  5782. description: 当前保证金
  5783. type: number
  5784. meruserid:
  5785. description: 跟单员id
  5786. type: integer
  5787. meruserlogincode:
  5788. description: 跟单员登录代码
  5789. type: string
  5790. merusername:
  5791. description: 跟单员名称
  5792. type: string
  5793. pointdesc:
  5794. description: 点价备注
  5795. type: string
  5796. price:
  5797. description: 价格\暂定价 [1:一口价、3:暂定价]
  5798. type: number
  5799. pricemove:
  5800. description: 升贴水 [2:点价 3:暂定价]
  5801. type: number
  5802. pricetype:
  5803. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  5804. type: integer
  5805. producttype:
  5806. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  5807. type: integer
  5808. qty:
  5809. description: 数量
  5810. type: number
  5811. remark:
  5812. description: 备注
  5813. type: string
  5814. saleuserid:
  5815. description: 业务员id
  5816. type: integer
  5817. saleuserlogincode:
  5818. description: 业务员登录代码
  5819. type: string
  5820. saleusername:
  5821. description: 业务员名称
  5822. type: string
  5823. sellnickname:
  5824. description: 采购方昵称
  5825. type: string
  5826. selluserid:
  5827. description: 销售方ID
  5828. type: integer
  5829. sellusername:
  5830. description: 销售方名称
  5831. type: string
  5832. spotcontractid:
  5833. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  5834. type: string
  5835. spotgoodsbrandid:
  5836. description: 现货品牌ID(DGFactoryItem表的ID)
  5837. type: integer
  5838. spotgoodsdesc:
  5839. description: 商品型号
  5840. type: string
  5841. startdate:
  5842. description: 点价开始日期 [2:点价 3:暂定价]
  5843. type: string
  5844. subjectid:
  5845. description: 交易主体ID
  5846. type: integer
  5847. subjectname:
  5848. description: 交易主体名称
  5849. type: string
  5850. tradeuserid:
  5851. description: 交易员id
  5852. type: integer
  5853. tradeuserlogincode:
  5854. description: 交易员登录代码
  5855. type: string
  5856. tradeusername:
  5857. description: 交易员名称
  5858. type: string
  5859. unitid:
  5860. description: 单位id(取品类上的单位id)
  5861. type: integer
  5862. updatetime:
  5863. description: 更新时间
  5864. type: string
  5865. userid:
  5866. description: 所属机构ID
  5867. type: integer
  5868. vatrate:
  5869. description: 增值税率
  5870. type: number
  5871. wrstandardcode:
  5872. description: 品类代码
  5873. type: string
  5874. wrstandardid:
  5875. description: 品类ID
  5876. type: integer
  5877. wrstandardname:
  5878. description: 品类名称
  5879. type: string
  5880. type: object
  5881. models.Ermcp3ContractMiddleGoodsCfg:
  5882. properties:
  5883. agreeunit:
  5884. description: 合约乘数
  5885. type: number
  5886. convertratio:
  5887. description: 期货品种系数
  5888. type: number
  5889. covertqty:
  5890. description: 折算手数 =【待点价量 / (合约乘数*期货品种系数) 】
  5891. type: integer
  5892. middlegoodsid:
  5893. description: 套保品种ID
  5894. type: integer
  5895. middlegoodspricedqty3:
  5896. description: 已定价量(套保品种应套保量) = MiddleGoodsPricedQty2 * 套保比率
  5897. example: "0"
  5898. type: string
  5899. pendingpricedqty:
  5900. description: 待点价量
  5901. example: "0"
  5902. type: string
  5903. relatedmiddlegoodsqty:
  5904. description: 已关联量(套保品种-期货)
  5905. example: "0"
  5906. type: string
  5907. spotcontractid:
  5908. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  5909. type: string
  5910. type: object
  5911. models.Ermcp3ExposureContractDetail:
  5912. properties:
  5913. biztype:
  5914. description: 业务类型 1-套保 2-套利
  5915. type: integer
  5916. brandname:
  5917. description: 品牌名称
  5918. type: string
  5919. buyuserid:
  5920. description: 采购方id
  5921. type: integer
  5922. buyusername:
  5923. description: 采购方名称
  5924. type: string
  5925. contractno:
  5926. description: 合同编号
  5927. type: string
  5928. contracttype:
  5929. description: 现货合同类型 - 1:采购 -1:销售
  5930. type: integer
  5931. convertfactor:
  5932. description: 标仓系数
  5933. type: number
  5934. convertratio:
  5935. description: 折算系数(套保品种)
  5936. type: number
  5937. curqty:
  5938. description: 今定价量
  5939. type: number
  5940. deliverygoodscode:
  5941. description: 现货品种代码
  5942. type: string
  5943. deliverygoodsid:
  5944. description: 现货品种id
  5945. type: integer
  5946. deliverygoodsname:
  5947. description: 现货品种名称
  5948. type: string
  5949. diffhedgeqty:
  5950. description: 套保变动量
  5951. type: number
  5952. diffneedhedgeqty:
  5953. description: 应套保变动量
  5954. type: number
  5955. diffqty:
  5956. description: 套保品种今变动量
  5957. type: number
  5958. enumdicname:
  5959. description: 单位名称
  5960. type: string
  5961. mgunitname:
  5962. description: 套保品种单位名称
  5963. type: string
  5964. middlegoodscode:
  5965. description: 套保品种代码
  5966. type: string
  5967. middlegoodsid:
  5968. description: 套保品种id
  5969. type: integer
  5970. middlegoodsname:
  5971. description: 套保品种名称
  5972. type: string
  5973. needarbitrageratio:
  5974. description: 应套利比例
  5975. type: number
  5976. needhedgeratio:
  5977. description: 应套保比例
  5978. type: number
  5979. pricedqty:
  5980. description: 已定价量
  5981. type: number
  5982. qty:
  5983. description: 合同量
  5984. type: number
  5985. reckondate:
  5986. description: 交易日(reckondate)
  5987. type: string
  5988. selluserid:
  5989. description: 销售方id
  5990. type: integer
  5991. sellusername:
  5992. description: 销售方名称
  5993. type: string
  5994. spotcontractid:
  5995. description: 合同id
  5996. type: string
  5997. todaypricedqty:
  5998. description: 今定价量
  5999. type: number
  6000. tradedate:
  6001. description: 交易日
  6002. type: string
  6003. unitid:
  6004. description: 品类单位id
  6005. type: integer
  6006. userid:
  6007. description: 机构id
  6008. type: integer
  6009. username:
  6010. description: 交易用户
  6011. type: string
  6012. wrstandardcode:
  6013. description: 现货商品代码
  6014. type: string
  6015. wrstandardid:
  6016. description: 现货商品id
  6017. type: integer
  6018. wrstandardname:
  6019. description: 现货商品名称
  6020. type: string
  6021. type: object
  6022. models.Ermcp3ExposureDetail:
  6023. properties:
  6024. areauserid:
  6025. description: 机构ID
  6026. type: integer
  6027. changeQty:
  6028. description: 套保变动量
  6029. type: number
  6030. contracttype:
  6031. description: 现货合同类型 - 1:采购 -1:销售
  6032. type: integer
  6033. convertfactor:
  6034. description: 标仓系数
  6035. type: number
  6036. convertratio:
  6037. description: 折算系数
  6038. type: number
  6039. createtime:
  6040. description: 时间
  6041. type: string
  6042. enumdicname:
  6043. description: 现货商品单位名称
  6044. type: string
  6045. logtype:
  6046. description: 类型 - 1:套保计划 2:现货合同
  6047. type: integer
  6048. mgunitid:
  6049. description: 套保品种单位id
  6050. type: integer
  6051. mgunitidname:
  6052. description: 套保品种单位名称
  6053. type: string
  6054. middlegoodsId:
  6055. description: 套保商品id
  6056. type: integer
  6057. middlegoodscode:
  6058. description: 套保商品代码
  6059. type: string
  6060. middlegoodsname:
  6061. description: 套保商品名称
  6062. type: string
  6063. qty:
  6064. description: 数量
  6065. type: number
  6066. relateNo:
  6067. description: 现货合同/套保计划编号
  6068. type: string
  6069. unitid:
  6070. description: 现货商品单位id
  6071. type: integer
  6072. wrstandardcode:
  6073. description: 现货商品代码
  6074. type: string
  6075. wrstandardid:
  6076. description: 现货商品ID(SEQ_WRSTANDARD)
  6077. type: integer
  6078. wrstandardname:
  6079. description: 现货商品名称
  6080. type: string
  6081. type: object
  6082. models.Ermcp3ExposureFutuDetail:
  6083. properties:
  6084. accountid:
  6085. description: 交易账户id
  6086. type: integer
  6087. accountname:
  6088. description: 交易账户
  6089. type: string
  6090. begindate:
  6091. description: 开始交易日
  6092. type: string
  6093. buyorsell:
  6094. description: 方向 0-买 1-卖
  6095. type: integer
  6096. diffmgqty:
  6097. description: 套保品种今变化量
  6098. type: number
  6099. diffneedqty:
  6100. description: 应套保总量变化量
  6101. type: number
  6102. difftradeqty:
  6103. description: 交易品种今变化量
  6104. type: number
  6105. enddate:
  6106. description: 结束交易日
  6107. type: string
  6108. enumdicname:
  6109. description: 单位名称
  6110. type: string
  6111. goodscode:
  6112. description: 商品代码
  6113. type: string
  6114. goodsid:
  6115. description: 商品id
  6116. type: integer
  6117. goodsname:
  6118. description: 商品名称
  6119. type: string
  6120. holdqty:
  6121. description: 期末持仓量
  6122. type: number
  6123. middlegoodscode:
  6124. description: 套保商品代码
  6125. type: string
  6126. middlegoodsid:
  6127. description: 套保商品id
  6128. type: integer
  6129. middlegoodsname:
  6130. description: 套保商品名称
  6131. type: string
  6132. oriholdqty:
  6133. description: 期初持仓量
  6134. type: number
  6135. reckondate:
  6136. description: 交易日(RECKONDATE)
  6137. type: string
  6138. todaycloseqty:
  6139. description: 今平仓量
  6140. type: number
  6141. todayopenqty:
  6142. description: 今开仓量
  6143. type: number
  6144. tradedate:
  6145. description: 交易日(RECKONDATE)
  6146. type: string
  6147. username:
  6148. description: 用户名称(交易用户)
  6149. type: string
  6150. type: object
  6151. models.Ermcp3ExposureHedgeplanDetail:
  6152. properties:
  6153. biztype:
  6154. description: 业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利
  6155. type: integer
  6156. changqty:
  6157. description: 应套保总量变化量
  6158. type: number
  6159. contracttype:
  6160. description: 计划类型 - 1:采购 -1:销售
  6161. type: integer
  6162. convertratio:
  6163. description: 折算系数(套保品种)
  6164. type: number
  6165. deliverygoodscode:
  6166. description: 现货商品代码
  6167. type: string
  6168. deliverygoodsid:
  6169. description: 现货商品id
  6170. type: integer
  6171. deliverygoodsname:
  6172. description: 现货商吕名称
  6173. type: string
  6174. dgunitid:
  6175. description: 现货商品单位id
  6176. type: integer
  6177. dgunitidname:
  6178. description: 单位名称(现货商品)
  6179. type: string
  6180. diffqty:
  6181. description: 套保品种今变动量
  6182. type: number
  6183. enumdicname:
  6184. description: 单位名称(品类)
  6185. type: string
  6186. hedgeplanid:
  6187. description: 套保计划id
  6188. type: string
  6189. hedgeplanno:
  6190. description: 套保计划名称
  6191. type: string
  6192. hedgeplanstatus:
  6193. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  6194. type: integer
  6195. mgunitidname:
  6196. description: 单位名称(套保商品)
  6197. type: string
  6198. middlegoodscode:
  6199. description: 套保品种代码
  6200. type: string
  6201. middlegoodsid:
  6202. description: 套保品种id
  6203. type: integer
  6204. middlegoodsname:
  6205. description: 套保品种名称
  6206. type: string
  6207. needarbitrageratio:
  6208. description: 应套利比例
  6209. type: number
  6210. needhedgeratio:
  6211. description: 应套保比例
  6212. type: number
  6213. pricedqty:
  6214. description: 已定价量
  6215. type: number
  6216. qty:
  6217. description: 合同量
  6218. type: number
  6219. reckondate:
  6220. description: 交易日(reckondate)
  6221. type: string
  6222. tradedate:
  6223. description: 交易日(登记日)
  6224. type: string
  6225. unitid:
  6226. description: 品类单位id
  6227. type: integer
  6228. userid:
  6229. description: 机构id
  6230. type: integer
  6231. wrstandardcode:
  6232. description: 品类代码
  6233. type: string
  6234. wrstandardid:
  6235. description: 品类id
  6236. type: integer
  6237. wrstandardname:
  6238. description: 品类名称
  6239. type: string
  6240. type: object
  6241. models.Ermcp3ExposureParamChLog:
  6242. properties:
  6243. accountid:
  6244. description: 期货账户ID (作废, 默认为0)
  6245. type: integer
  6246. aftervalue:
  6247. description: 应套保\套利量变更后(调整后应套保总量)
  6248. type: number
  6249. areauserid:
  6250. description: 所属机构\交易用户ID
  6251. type: integer
  6252. beforevalue:
  6253. description: 应套保\套利量变更前(调整前应套保总量)
  6254. type: number
  6255. begindate:
  6256. description: 开始交易日
  6257. type: string
  6258. changelogtype:
  6259. description: 变更流水类型 - 1:套保比率变更 2:套利比率变更
  6260. type: integer
  6261. curvalue:
  6262. description: 当前套保\套利量(套保总量|套利总量)
  6263. type: number
  6264. diffvalue:
  6265. description: 应套保总量变化量
  6266. type: number
  6267. enddate:
  6268. description: 结束交易日
  6269. type: string
  6270. logdatetime:
  6271. description: 流水日期
  6272. type: string
  6273. logid:
  6274. description: 流水ID(609+Unix秒时间戳(10位)+xxxxxx)
  6275. type: string
  6276. middlegoodscode:
  6277. description: 套保品种代码
  6278. type: string
  6279. middlegoodsid:
  6280. description: 套保品种
  6281. type: integer
  6282. middlegoodsname:
  6283. description: 套保品种名称
  6284. type: string
  6285. paramaftervalue:
  6286. description: 参数变更后(调整后参数值)
  6287. type: number
  6288. parambeforevalue:
  6289. description: 参数变更前(调整前参数值)
  6290. type: number
  6291. reckondate:
  6292. description: 交易日(reckondate)
  6293. type: string
  6294. tradedate:
  6295. description: 交易日(yyyyMMdd)
  6296. type: string
  6297. type: object
  6298. models.Ermcp3ExpourseReport:
  6299. properties:
  6300. accountid:
  6301. description: 期货账户ID (作废, 默认为0)
  6302. type: integer
  6303. accountname:
  6304. description: 机构名称
  6305. type: string
  6306. arbitrageqty:
  6307. description: 套利量
  6308. type: number
  6309. areauserid:
  6310. description: 所属机构\交易用户ID
  6311. type: integer
  6312. begindate:
  6313. description: 开始交易日
  6314. type: string
  6315. buyfutureqty:
  6316. description: 买入期货数量
  6317. type: number
  6318. buyplanqty:
  6319. description: 采购计划数量
  6320. type: number
  6321. buypricedqty:
  6322. description: 采购合同已定价数量
  6323. type: number
  6324. cycletime:
  6325. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  6326. type: string
  6327. cycletype:
  6328. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  6329. type: integer
  6330. diffexposure:
  6331. description: 变动量(套保敞口)
  6332. type: number
  6333. difffutuqty:
  6334. description: 变动量(期货)
  6335. type: number
  6336. diffhedgeqty:
  6337. description: 变动量(现货应套保总量)
  6338. type: number
  6339. diffmgqtya:
  6340. description: 套保变动量
  6341. type: number
  6342. diffmgqtyb:
  6343. description: 套利变动量
  6344. type: number
  6345. diffneedqty:
  6346. description: 应套变动量 = 应套保量 - 期初应套保量 + 应套利量 - 期初应套利量
  6347. type: number
  6348. diffqty:
  6349. description: 变动量(总敞口)
  6350. type: number
  6351. diffspotqty:
  6352. description: 变动量(现货) | 除税变动量
  6353. type: number
  6354. enddate:
  6355. description: 结束交易日
  6356. type: string
  6357. enumdicname:
  6358. description: 单位名称
  6359. type: string
  6360. hedgeqty:
  6361. description: 套保量
  6362. type: number
  6363. mgneedhedgeratio:
  6364. description: 套保比例(套保品的)
  6365. type: number
  6366. middlegoodsid:
  6367. description: 套保品种ID
  6368. type: integer
  6369. middlegoodsname:
  6370. description: 套保商品名称
  6371. type: string
  6372. middlgoodscode:
  6373. description: 套保商品代码
  6374. type: string
  6375. needarbitrageqty:
  6376. description: 应套利量
  6377. type: number
  6378. needarbitrageratio:
  6379. description: 套利比例(套保品的)
  6380. type: number
  6381. needhedgeexposoure:
  6382. description: 应套保敞口(套保敞口)
  6383. type: number
  6384. needhedgeqty:
  6385. description: 应套保量
  6386. type: number
  6387. needhedgeratio:
  6388. description: 应套保敞口比例
  6389. type: number
  6390. needqty:
  6391. description: 应套总量 = 应套保量 + 应套利量
  6392. type: number
  6393. oriarbitrageqty:
  6394. description: 期初套利量
  6395. type: number
  6396. oribuyfutureqty:
  6397. description: 期初买入期货数量
  6398. type: number
  6399. oribuyplanqty:
  6400. description: 期初采购计划数量
  6401. type: number
  6402. oribuypricedqty:
  6403. description: 期初采购合同已定价数量
  6404. type: number
  6405. orihedgeqty:
  6406. description: 期初套保量
  6407. type: number
  6408. orineedarbitrageqty:
  6409. description: 期初应套利量
  6410. type: number
  6411. orineedhedgeexposoure:
  6412. description: 期初应套保敞口
  6413. type: number
  6414. orineedhedgeqty:
  6415. description: 期初应套保量
  6416. type: number
  6417. orisellfutureqty:
  6418. description: 期初卖出期货数量
  6419. type: number
  6420. orisellplanqty:
  6421. description: 期初销售计划数量
  6422. type: number
  6423. orisellpricedqty:
  6424. description: 期初销售合同已定价数量
  6425. type: number
  6426. oritotalexposure:
  6427. description: 期初实时总敞口
  6428. type: number
  6429. oritotalfutureqty:
  6430. description: 期初期货头寸总量
  6431. type: number
  6432. oritotalneedhedgeqty:
  6433. description: 期初应套保总量
  6434. type: number
  6435. oritotalspotqty:
  6436. description: 期初现货头寸总量
  6437. type: number
  6438. reckondate:
  6439. description: 日照时期(yyyyMMdd)
  6440. type: string
  6441. sellfutureqty:
  6442. description: 卖出期货数量
  6443. type: number
  6444. sellplanqty:
  6445. description: 销售计划数量
  6446. type: number
  6447. sellpricedqty:
  6448. description: 销售合同已定价数量
  6449. type: number
  6450. totalexposure:
  6451. description: 实时总敞口(总敞口)
  6452. type: number
  6453. totalfutureqty:
  6454. description: 期货头寸总量(期货总量)
  6455. type: number
  6456. totalhedgeratio:
  6457. description: 敞口比例
  6458. type: number
  6459. totalneedhedgeqty:
  6460. description: 应套保总量(现货应套保总量)
  6461. type: number
  6462. totalspotqty:
  6463. description: 现货头寸总量 | 除税总量
  6464. type: number
  6465. unitid:
  6466. description: 单位id
  6467. type: integer
  6468. updatetime:
  6469. description: 更新时间
  6470. type: string
  6471. type: object
  6472. models.Ermcp3FinanceReport:
  6473. properties:
  6474. accountname:
  6475. description: 机构名称
  6476. type: string
  6477. areauserid:
  6478. description: 所属机构\交易用户ID
  6479. type: integer
  6480. begindate:
  6481. description: 开始交易日
  6482. type: string
  6483. biztype:
  6484. description: 业务类型 - 1:套保 2:套利
  6485. type: integer
  6486. brandname:
  6487. description: 品牌名称
  6488. type: string
  6489. buypreinvoicedamount:
  6490. description: 采购预收票额(预收票额)
  6491. type: number
  6492. buyprepaidamount:
  6493. description: 采购预付款额(预付货款额)
  6494. type: number
  6495. buytodayinvoiceamount:
  6496. description: 采购今收票额(今收票额)
  6497. type: number
  6498. buytodayrefundamount:
  6499. description: 采购今收退款额(今收退款额)
  6500. type: number
  6501. buytodaysettleamount:
  6502. description: 采购今付款额(今付货款额)
  6503. type: number
  6504. buyuninvoicedamount:
  6505. description: 采购应收票额(应收票额)
  6506. type: number
  6507. buyunpaidamount:
  6508. description: 采购应付款额(应付货款额)
  6509. type: number
  6510. currencyid:
  6511. description: 结算币种ID
  6512. type: integer
  6513. currencyname:
  6514. description: 币种名称
  6515. type: string
  6516. cycletime:
  6517. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  6518. type: string
  6519. cycletype:
  6520. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  6521. type: integer
  6522. deliverygoodscode:
  6523. description: 现货品种代码
  6524. type: string
  6525. deliverygoodsid:
  6526. description: 现货品种ID
  6527. type: integer
  6528. deliverygoodsname:
  6529. description: 现货品种名称
  6530. type: string
  6531. enddate:
  6532. description: 结束交易日
  6533. type: string
  6534. reckondate:
  6535. description: 日照时期(yyyyMMdd)
  6536. type: string
  6537. sellpreinvoicedamount:
  6538. description: 销售预开票额(预开票额)
  6539. type: number
  6540. sellprepaidamount:
  6541. description: 销售预收款额(预收货款额)
  6542. type: number
  6543. selltodayinvoiceamount:
  6544. description: 销售今开票额(今开票额)
  6545. type: number
  6546. selltodayrefundamount:
  6547. description: 销售今付退款额(今付退款额)
  6548. type: number
  6549. selltodaysettleamount:
  6550. description: 销售今收款额(今收货款额)
  6551. type: number
  6552. selluninvoicedamount:
  6553. description: 销售应开票额(应开票额)
  6554. type: number
  6555. sellunpaidamount:
  6556. description: 销售应收款额(应收货款额)
  6557. type: number
  6558. spotgoodsbrandid:
  6559. description: 现货品牌ID
  6560. type: integer
  6561. todaypaysum:
  6562. description: 今付款合计
  6563. type: number
  6564. todayreceivesum:
  6565. description: 今收款合计
  6566. type: number
  6567. updatetime:
  6568. description: 更新时间
  6569. type: string
  6570. wrfactortypeid:
  6571. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  6572. type: integer
  6573. wrstandardcode:
  6574. description: 品类代码
  6575. type: string
  6576. wrstandardid:
  6577. description: 现货商品ID
  6578. type: integer
  6579. wrstandardname:
  6580. description: 品类名称
  6581. type: string
  6582. type: object
  6583. models.Ermcp3GoodsGroup:
  6584. properties:
  6585. agreeunit:
  6586. description: 合约单位
  6587. type: number
  6588. areauserid:
  6589. description: 所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)
  6590. type: integer
  6591. canshort:
  6592. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  6593. type: integer
  6594. closepricemode:
  6595. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  6596. type: integer
  6597. createtime:
  6598. description: 创建时间
  6599. type: string
  6600. creatorid:
  6601. description: 创建人
  6602. type: integer
  6603. currencyid:
  6604. description: 报价货币ID
  6605. type: integer
  6606. decimalplace:
  6607. description: 报价小数位
  6608. type: integer
  6609. enumdicname:
  6610. description: 单位名称
  6611. type: string
  6612. exchangefullname:
  6613. description: 交易所全称
  6614. type: string
  6615. excludecfg:
  6616. description: 排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除
  6617. type: integer
  6618. exexchangecode:
  6619. description: 交易所代码
  6620. type: string
  6621. exexchangeid:
  6622. description: 外部交易所ID[通道交易]
  6623. type: integer
  6624. exexchangename:
  6625. description: 交易所名称
  6626. type: string
  6627. goodsgroupid:
  6628. description: 商品组ID(自增ID)
  6629. type: integer
  6630. goodsgroupname:
  6631. description: 商品组名称
  6632. type: string
  6633. goodsgroupstatus:
  6634. description: 商品组状态 - 1:正常 2:注销
  6635. type: integer
  6636. goodunitid:
  6637. description: 报价单位ID
  6638. type: integer
  6639. groupcategroyid:
  6640. description: 品种分类ID
  6641. type: integer
  6642. innerdealmode:
  6643. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  6644. type: integer
  6645. marketid:
  6646. description: 所属市场ID
  6647. type: integer
  6648. modifierid:
  6649. description: 修改人
  6650. type: integer
  6651. modifytime:
  6652. description: 修改时间
  6653. type: string
  6654. outerdealmode:
  6655. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  6656. type: integer
  6657. outergroupcode:
  6658. description: 外部商品组代码[通道交易]
  6659. type: string
  6660. quoteminunit:
  6661. description: 行情最小变动单位 [整数,报价小数位一起使用]
  6662. type: integer
  6663. quotesourcegroupid:
  6664. description: 所属行情源分组ID[参考行情市场用\通道交易]
  6665. type: integer
  6666. syncgoodsqty:
  6667. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  6668. type: integer
  6669. required:
  6670. - areauserid
  6671. type: object
  6672. models.Ermcp3HPMiddleGoods:
  6673. properties:
  6674. biztype:
  6675. description: 业务类型 1:套保 2:套利
  6676. type: integer
  6677. contracttype:
  6678. description: 合同类型 1:采购 -1:销售
  6679. type: integer
  6680. convertratio:
  6681. description: 折算系数
  6682. type: number
  6683. customername:
  6684. description: 对手手名称
  6685. type: string
  6686. customeruserid:
  6687. description: 对手id
  6688. type: integer
  6689. enumdicname:
  6690. description: 现货单位名称
  6691. type: string
  6692. hedgeplanid:
  6693. description: 计划id
  6694. type: string
  6695. hedgeplanno:
  6696. description: 计划编号
  6697. type: string
  6698. middlegoodsid:
  6699. description: 套保品种ID
  6700. type: integer
  6701. middlegoodsplanqty3:
  6702. description: 应套保计划量
  6703. type: number
  6704. needhedgeratio:
  6705. description: 套保比例
  6706. type: number
  6707. pricedqty:
  6708. description: 已定价量
  6709. type: number
  6710. relatedmiddlegoodsqty:
  6711. description: 已关联量(套保品种)(期货)
  6712. type: number
  6713. unitid:
  6714. description: 现货单位id
  6715. type: integer
  6716. userid:
  6717. description: 用户id
  6718. type: integer
  6719. vatrate:
  6720. description: 增值税率
  6721. type: number
  6722. wrstandardcode:
  6723. description: 现货商品代码
  6724. type: string
  6725. wrstandardid:
  6726. description: 现货商品id
  6727. type: integer
  6728. wrstandardname:
  6729. description: 现货商品名称
  6730. type: string
  6731. type: object
  6732. models.Ermcp3HedgePlan:
  6733. properties:
  6734. accountid:
  6735. description: 资金账号
  6736. type: integer
  6737. areauserid:
  6738. description: 用户ID
  6739. type: integer
  6740. auditid:
  6741. description: 审核id
  6742. type: integer
  6743. auditname:
  6744. description: 审核人名称
  6745. type: string
  6746. auditremark:
  6747. description: 审核备注
  6748. type: string
  6749. auditsrc:
  6750. description: 审核来源 1-管理端 2-终端
  6751. type: integer
  6752. audittime:
  6753. description: 审核时间
  6754. type: string
  6755. contracttype:
  6756. description: 计划类型 - 1:采购 -1:销售
  6757. type: integer
  6758. convertfactor:
  6759. description: 标仓系数
  6760. type: number
  6761. createtime:
  6762. description: 创建时间
  6763. type: string
  6764. currencyid:
  6765. description: 币种id
  6766. type: integer
  6767. currencyname:
  6768. description: 币种名称
  6769. type: string
  6770. deliverygoodscode:
  6771. description: 现货品种代码
  6772. type: string
  6773. deliverygoodsid:
  6774. description: 现货品种ID
  6775. type: integer
  6776. deliverygoodsname:
  6777. description: 现货品种名称
  6778. type: string
  6779. enumdicname:
  6780. description: 单位名称(现货商品)
  6781. type: string
  6782. hedgeplanid:
  6783. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  6784. type: string
  6785. hedgeplanno:
  6786. description: 套保计划编号(名称)
  6787. type: string
  6788. hedgeplanstatus:
  6789. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  6790. type: integer
  6791. planqty:
  6792. description: 计划数量
  6793. type: number
  6794. plantime:
  6795. description: 计划时间
  6796. type: string
  6797. producttype:
  6798. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  6799. type: integer
  6800. remark:
  6801. description: 备注
  6802. type: string
  6803. spotgoodsdesc:
  6804. description: 商品型号
  6805. type: string
  6806. taaccountname:
  6807. description: 资金账号名称
  6808. type: string
  6809. tradeuserid:
  6810. description: 交易用户id
  6811. type: integer
  6812. tradeusername:
  6813. description: 交易用户名称
  6814. type: string
  6815. unitid:
  6816. description: 单位id(现货商品)
  6817. type: integer
  6818. updatetime:
  6819. description: 更新时间
  6820. type: string
  6821. vatrate:
  6822. description: 增值税率
  6823. type: number
  6824. wrstandardcode:
  6825. description: 品类代码
  6826. type: string
  6827. wrstandardid:
  6828. description: 品类id
  6829. type: integer
  6830. wrstandardname:
  6831. description: 品类名称
  6832. type: string
  6833. wrunitid:
  6834. description: 品类单位id
  6835. type: integer
  6836. wrunitidame:
  6837. description: 品类单位名称
  6838. type: string
  6839. type: object
  6840. models.Ermcp3InnerTradeLink:
  6841. properties:
  6842. accountid:
  6843. description: 期货账号代码 | 资金账号ID
  6844. type: integer
  6845. buyorsell:
  6846. description: 方向 - 0:买 1:卖
  6847. type: integer
  6848. channelbuildtype:
  6849. description: 委托单据类型 0:无 1:建仓 2:平仓
  6850. type: integer
  6851. currencyid:
  6852. description: 币种id
  6853. type: integer
  6854. currencyname:
  6855. description: 结算币种 名称
  6856. type: string
  6857. goodscode:
  6858. description: 商品代码
  6859. type: string
  6860. goodsid:
  6861. description: 商品ID
  6862. type: integer
  6863. goodsname:
  6864. description: 商品名称
  6865. type: string
  6866. outtradeid:
  6867. description: 外部成交单号
  6868. type: string
  6869. taname:
  6870. description: 期货账户名称
  6871. type: string
  6872. tradeid:
  6873. description: 期货单号 | 内部成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6874. type: string
  6875. tradeprice:
  6876. description: 成交价格
  6877. type: number
  6878. tradeqty:
  6879. description: 期货成交数量
  6880. type: integer
  6881. tradetime:
  6882. description: 关联时间 | 成交时间 ps:因为数据库表里没有关联时间, 所以取外部成交单的成交时间
  6883. type: string
  6884. username:
  6885. description: 用户名称
  6886. type: string
  6887. type: object
  6888. models.Ermcp3OutTradeLink:
  6889. properties:
  6890. buyorsell:
  6891. description: 买卖方向 - 0:买 1:卖
  6892. type: integer
  6893. channelbuildtype:
  6894. description: 开平标志- 0:无 1:建仓 2:平仓
  6895. type: integer
  6896. currencyname:
  6897. description: 币种名称
  6898. type: string
  6899. exexchangecode:
  6900. description: 交易所代码
  6901. type: string
  6902. exexchangename:
  6903. description: 交易所名称
  6904. type: string
  6905. goodscode:
  6906. description: 合约代码
  6907. type: string
  6908. goodsid:
  6909. description: 合约id
  6910. type: integer
  6911. goodsname:
  6912. description: 合约名称
  6913. type: string
  6914. hasinnerorder:
  6915. description: 是否有内部单关联 - 0:无 1:有
  6916. type: integer
  6917. hedgeaccountcode:
  6918. description: 外部账号 | 对冲账号
  6919. type: string
  6920. outtradeid:
  6921. description: 外部订单号 | 外部成交单ID(114+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6922. type: string
  6923. tradeprice:
  6924. description: 成交价格
  6925. type: number
  6926. tradeqty:
  6927. description: 成交数量
  6928. type: integer
  6929. tradetime:
  6930. description: 成交时间
  6931. type: string
  6932. type: object
  6933. models.Ermcp3PaAreaAuditCfg:
  6934. properties:
  6935. areauserid:
  6936. description: 用户ID
  6937. type: integer
  6938. buyinauditflag:
  6939. description: 采购入库是否需要审核 - 0:不需审核 1:需要审核
  6940. type: integer
  6941. costratioauditflag:
  6942. description: 现货商品成本权重修改是否需要审核 - 0:不需审核 1:需要审核
  6943. type: integer
  6944. customerauditflag:
  6945. description: 客户资料是否需要审核 - 0:不需审核 1:需要审核
  6946. type: integer
  6947. deliveryauditflag:
  6948. description: 交收是否需要审核 - 0:不需审核 1:需要审核
  6949. type: integer
  6950. invoiceauditflag:
  6951. description: 发票是否需要审核 - 0:不需审核 1:需要审核
  6952. type: integer
  6953. mgneedhedgeratioauditflag:
  6954. description: 套保品种套保比例修改是否需要审 - 0:不需审核 1:需要审核
  6955. type: integer
  6956. moneyauditflag:
  6957. description: 款项是否需要审核 - 0:不需审核 1:需要审核
  6958. type: integer
  6959. operatorid:
  6960. description: 操作人
  6961. type: integer
  6962. operatorsrc:
  6963. description: 操作来源 - 1:管理端 2:终端
  6964. type: integer
  6965. pointpriceauditflag:
  6966. description: 点价是否需要审核 - 0:不需审核 1:需要审核
  6967. type: integer
  6968. produceinauditflag:
  6969. description: 生产入库是否需要审核 - 0:不需审核 1:需要审核
  6970. type: integer
  6971. produceoutauditflag:
  6972. description: 生产出库是否需要审核 - 0:不需审核 1:需要审核
  6973. type: integer
  6974. selloutauditflag:
  6975. description: 销售出库是否需要审核 - 0:不需审核 1:需要审核
  6976. type: integer
  6977. sgconvertratioauditflag:
  6978. description: 现货商品折算系数修改是否需要审核 - 0:不需审核 1:需要审核
  6979. type: integer
  6980. sgvtaratioauditflag:
  6981. description: 现货商品增值税税率修改是否需要审核 - 0:不需审核 1:需要审核
  6982. type: integer
  6983. spotcontractauditflag:
  6984. description: 现货合同是否需要审核 - 0:不需审核 1:需要审核
  6985. type: integer
  6986. updatetime:
  6987. description: 更新时间
  6988. type: string
  6989. type: object
  6990. models.Ermcp3PaAreaSubject:
  6991. properties:
  6992. areauserid:
  6993. description: 所属机构
  6994. type: integer
  6995. canmodify:
  6996. description: 是否可修改 - 0:否 1:是
  6997. type: integer
  6998. createtime:
  6999. description: 创建时间
  7000. type: string
  7001. creatorid:
  7002. description: 创建人ID
  7003. type: string
  7004. creatorsrc:
  7005. description: 创建人来源 - 1:管理端 2:终端 3:交易
  7006. type: integer
  7007. modifierid:
  7008. description: 修改人
  7009. type: string
  7010. modifiersrc:
  7011. description: 修改人来源 - 1:管理端 2:终端
  7012. type: integer
  7013. modifytime:
  7014. description: 修改时间
  7015. type: string
  7016. parentsubjectid:
  7017. description: 上级主体ID
  7018. type: string
  7019. remark:
  7020. description: 备注
  7021. type: string
  7022. subjectid:
  7023. description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  7024. type: integer
  7025. subjectname:
  7026. description: 主体名称
  7027. type: string
  7028. subjectstatus:
  7029. description: '主体状态 - 1:正常 2: 停用'
  7030. type: integer
  7031. subjecttype:
  7032. description: 主体类型 - 1:交易主体 2:业务部门
  7033. type: integer
  7034. type: object
  7035. models.Ermcp3PaTradeLink:
  7036. properties:
  7037. accountid:
  7038. description: 期货账户代码 | 账号ID
  7039. type: integer
  7040. agreeunit:
  7041. description: 合约乘数
  7042. type: number
  7043. buyorsell:
  7044. description: 方向 - 0:买 1:卖
  7045. type: integer
  7046. channelbuildtype:
  7047. description: 委托单据类型 0:无 1:建仓 2:平仓
  7048. type: integer
  7049. charge:
  7050. description: 手续费
  7051. type: number
  7052. closepl:
  7053. description: 平仓盈亏
  7054. type: number
  7055. closetype:
  7056. description: 平仓方式 - 0:无 1:平今 2:平昨
  7057. type: integer
  7058. convertratio:
  7059. description: 折算系数
  7060. type: number
  7061. enumdicname:
  7062. description: 单位名称
  7063. type: string
  7064. executeprice:
  7065. description: 执行价 [期权]
  7066. type: integer
  7067. goodscode:
  7068. description: 合约代码
  7069. type: string
  7070. goodsgroupid:
  7071. description: 对冲品种ID[期货合约商品组ID]
  7072. type: integer
  7073. goodsid:
  7074. description: 商品ID
  7075. type: integer
  7076. goodsname:
  7077. description: 合约名称
  7078. type: string
  7079. goodunitid:
  7080. description: 单位id
  7081. type: integer
  7082. hedgeflag:
  7083. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  7084. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)
  7085. type: integer
  7086. marketid:
  7087. description: 市场ID
  7088. type: integer
  7089. middlegoodsid:
  7090. description: 套保品种ID
  7091. type: integer
  7092. middlegoodsqty:
  7093. description: 套保品种数量 = TradeQty * AgreeUnit * ConvertRatio
  7094. type: number
  7095. optioncode:
  7096. description: 期权代码 [期权]
  7097. type: string
  7098. ordertype:
  7099. description: 单据类型 - 1:期货单 2:看涨期权单 3:看跌期权单
  7100. type: integer
  7101. ordertypename:
  7102. description: 订单类型
  7103. type: string
  7104. parentaccountid:
  7105. description: 所属母账户
  7106. type: integer
  7107. premium:
  7108. description: 权利金 [期权]
  7109. type: number
  7110. relatedlot:
  7111. description: 已关联数量(已关联数量手) | db:关联手数
  7112. type: number
  7113. relatedouttradeid:
  7114. description: 关联外部成交单ID
  7115. type: string
  7116. relatedqty:
  7117. description: 关联数量
  7118. type: number
  7119. spotcontractid:
  7120. description: 现货合同ID [4:套期保值\10\11]
  7121. type: string
  7122. taname:
  7123. description: 期货账户名称
  7124. type: string
  7125. tradeamount:
  7126. description: 成交金额(账户)
  7127. type: number
  7128. tradedate:
  7129. description: 交易日(yyyyMMdd)
  7130. type: string
  7131. tradeid:
  7132. description: 期货单号 | db:成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7133. type: string
  7134. tradelot:
  7135. description: 成交数量(期货数量) ps:这是手数,转换为具体多少吨要乘以AGREEUNIT | db:成交手数
  7136. type: integer
  7137. tradeprice:
  7138. description: 成交价格
  7139. type: number
  7140. tradetime:
  7141. description: 时间 | db:成交时间
  7142. type: string
  7143. tradetype:
  7144. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  7145. type: integer
  7146. userid:
  7147. description: 所属机构 - 所属母账户的UserID
  7148. type: string
  7149. username:
  7150. description: 用户名称
  7151. type: string
  7152. type: object
  7153. models.Ermcp3ParamChangeApp:
  7154. properties:
  7155. aftervalue:
  7156. description: 变更后
  7157. type: number
  7158. applicationid:
  7159. description: 申请ID(619+Unix秒时间戳(10位)+xxxxxx)
  7160. type: string
  7161. applyid:
  7162. description: 申请人
  7163. type: string
  7164. applyname:
  7165. description: 申请人名称(代码)
  7166. type: string
  7167. applyremark:
  7168. description: 申请备注
  7169. type: string
  7170. applysrc:
  7171. description: 申请来源 - 1:管理端 2:终端
  7172. type: integer
  7173. applystatus:
  7174. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  7175. type: integer
  7176. applytime:
  7177. description: 申请时间
  7178. type: string
  7179. areauserid:
  7180. description: 所属机构用户ID
  7181. type: integer
  7182. auditid:
  7183. description: 审核人
  7184. type: string
  7185. auditname:
  7186. description: 审核人名称(代码)
  7187. type: string
  7188. auditremark:
  7189. description: 审核备注
  7190. type: string
  7191. auditsrc:
  7192. description: 审核来源 - 1:管理端 2:终端
  7193. type: integer
  7194. audittime:
  7195. description: 审核时间
  7196. type: string
  7197. audittradedate:
  7198. description: 审核交易日(yyyyMMdd)
  7199. type: string
  7200. beforevalue:
  7201. description: 变更前
  7202. type: number
  7203. deliverygoodscode:
  7204. description: 品种代码
  7205. type: string
  7206. deliverygoodsid:
  7207. description: 品种id
  7208. type: integer
  7209. deliverygoodsname:
  7210. description: 品种名称
  7211. type: string
  7212. middlegoodscode:
  7213. description: 套保品种代码
  7214. type: string
  7215. middlegoodsid:
  7216. description: 套保品种ID [ParamChangeType = 2,3,4]
  7217. type: integer
  7218. middlegoodsname:
  7219. description: 套保品种名称
  7220. type: string
  7221. operatetype:
  7222. description: 操作类型 - 1:新增 2:修改
  7223. type: integer
  7224. paramchangetype:
  7225. description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  7226. type: integer
  7227. wrstandardcode:
  7228. description: 现货商品代码
  7229. type: string
  7230. wrstandardid:
  7231. description: 现货商品ID [ParamChangeType = 1,2,3]
  7232. type: integer
  7233. wrstandardname:
  7234. description: 现货商品名称
  7235. type: string
  7236. type: object
  7237. models.Ermcp3RootUserAccount:
  7238. properties:
  7239. accountname:
  7240. description: 账户名称(机构名称)
  7241. type: string
  7242. accountstatus:
  7243. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  7244. type: integer
  7245. applysrc:
  7246. description: 申请来源 - 1:管理端 2:终端
  7247. type: integer
  7248. auditremark:
  7249. description: 审核备注
  7250. type: string
  7251. auditsrc:
  7252. description: 审核来源 - 1:管理端 2:终端
  7253. type: integer
  7254. audittime:
  7255. description: 审核时间
  7256. type: string
  7257. audituserid:
  7258. description: 审核人
  7259. type: integer
  7260. broker:
  7261. description: 所属经纪人ID
  7262. type: integer
  7263. canceltime:
  7264. description: 销户时间
  7265. type: string
  7266. canceluserid:
  7267. description: 销户人
  7268. type: integer
  7269. canrecommend:
  7270. description: 是否可推荐 - 0:不可 1;可
  7271. type: integer
  7272. createtime:
  7273. description: 创建时间
  7274. type: string
  7275. creatorid:
  7276. description: 创建人
  7277. type: integer
  7278. hasauth:
  7279. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  7280. type: integer
  7281. isanonymous:
  7282. description: 是否匿名下单 - 0:否 1:是
  7283. type: integer
  7284. maxinvestornum:
  7285. description: 最大用户数(经纪会员下投资者个数)
  7286. type: integer
  7287. memberuserid:
  7288. description: 所属会员ID
  7289. type: integer
  7290. modifierid:
  7291. description: 修改人
  7292. type: integer
  7293. modifyremark:
  7294. description: 变更备注
  7295. type: string
  7296. modifystatus:
  7297. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  7298. type: integer
  7299. modifytime:
  7300. description: 修改时间
  7301. type: string
  7302. nickname:
  7303. description: 昵称
  7304. type: string
  7305. parenttopuser:
  7306. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  7307. type: string
  7308. parentuserid:
  7309. description: 所属机构ID
  7310. type: integer
  7311. reckonaccountid:
  7312. description: 默认结算资金账号ID(机构分润使用) 作废
  7313. type: integer
  7314. refercount:
  7315. description: 推荐总人数
  7316. type: integer
  7317. refereeuserid:
  7318. description: 推荐人ID
  7319. type: integer
  7320. refernum:
  7321. description: 推荐码
  7322. type: string
  7323. rootuserid:
  7324. description: 根用户ID
  7325. type: integer
  7326. subaccountlevel:
  7327. description: 子账户层数
  7328. type: integer
  7329. subarealevelpath:
  7330. description: 子机构层级路径(逗号分隔,首尾加逗号)
  7331. type: string
  7332. userid:
  7333. description: 用户ID
  7334. type: integer
  7335. usertype:
  7336. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  7337. type: integer
  7338. type: object
  7339. models.Ermcp3SCMiddleGoods:
  7340. properties:
  7341. biztype:
  7342. description: 业务类型 1:套保 2:套利
  7343. type: integer
  7344. contractno:
  7345. description: 合同编号
  7346. type: string
  7347. contracttype:
  7348. description: 合同类型 1:采购 -1:销售
  7349. type: integer
  7350. convertratio:
  7351. description: 折算系数
  7352. type: number
  7353. customername:
  7354. description: 对手手名称
  7355. type: string
  7356. customeruserid:
  7357. description: 对手id
  7358. type: integer
  7359. deliverygoodscode:
  7360. description: 现货品种代码
  7361. type: string
  7362. deliverygoodsid:
  7363. description: 现货品种ID
  7364. type: integer
  7365. deliverygoodsname:
  7366. description: 现货品种名称
  7367. type: string
  7368. enumdicname:
  7369. description: 现货单位名称
  7370. type: string
  7371. middlegoodsid:
  7372. description: 套保品种ID
  7373. type: integer
  7374. middlegoodspricedqty3:
  7375. description: 应套保数量 = MiddleGoodsPricedQty2 * 套保比率
  7376. type: number
  7377. needhedgeratio:
  7378. description: 套保比例
  7379. type: number
  7380. pricedqty:
  7381. description: 已定价量
  7382. type: number
  7383. relatedmiddlegoodsqty:
  7384. description: 已关联量(套保品种)(期货)
  7385. type: number
  7386. spotcontractid:
  7387. description: 合同编号
  7388. type: string
  7389. unitid:
  7390. description: 现货单位id
  7391. type: integer
  7392. userid:
  7393. description: 用户id
  7394. type: integer
  7395. vatrate:
  7396. description: 增值税率
  7397. type: number
  7398. wrstandardcode:
  7399. description: 现货商品代码
  7400. type: string
  7401. wrstandardid:
  7402. description: 现货商品id
  7403. type: integer
  7404. wrstandardname:
  7405. description: 现货商品名称
  7406. type: string
  7407. type: object
  7408. models.Ermcp3SCMiddleGoodsReport:
  7409. properties:
  7410. begindate:
  7411. description: 开始交易日
  7412. type: string
  7413. contractno:
  7414. description: 合同编号
  7415. type: string
  7416. contracttype:
  7417. description: 合同类型 1:采购 -1:销售
  7418. type: integer
  7419. convertratio:
  7420. description: 折算系数
  7421. type: number
  7422. cycletime:
  7423. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  7424. type: string
  7425. cycletype:
  7426. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  7427. type: integer
  7428. deliverygoodscode:
  7429. description: 品种代码
  7430. type: string
  7431. deliverygoodsid:
  7432. description: 现货品种ID
  7433. type: integer
  7434. deliverygoodsname:
  7435. description: 品种名称
  7436. type: string
  7437. diffprice:
  7438. description: 现期价格差 = 今日点价登记均价(基价) - 今日期货成交均价
  7439. type: number
  7440. diffqty:
  7441. description: 期现数量差 = 套保计划量 - 今日期货关联成交量
  7442. type: number
  7443. enddate:
  7444. description: 结束交易日
  7445. type: string
  7446. hedgeplanqty:
  7447. description: 套保计划量 = TodayPricedQty * 折算系数 * (1/(1+增值税率)) * 套保比例
  7448. type: number
  7449. matchname:
  7450. description: 交易对手方(个人:用户名称 企业:简称)
  7451. type: string
  7452. matchnickname:
  7453. description: 交易对手方昵称
  7454. type: string
  7455. middlegoodscode:
  7456. description: 套保品种代码
  7457. type: string
  7458. middlegoodsid:
  7459. description: 套保品种ID
  7460. type: integer
  7461. middlegoodsname:
  7462. description: 套保品种名称
  7463. type: string
  7464. middlegoodspricedqty:
  7465. description: 已定价量(套保品种 - 税前) = PricedQty * 折算系数
  7466. type: number
  7467. middlegoodspricedqty2:
  7468. description: 已定价量(套保品种- 税后) = MiddleGoodsPricedQty * (1/(1+增值税率))
  7469. type: number
  7470. middlegoodspricedqty3:
  7471. description: 已定价量(套保品种应套保量) = MiddleGoodsPricedQty2 * 套保比率
  7472. type: number
  7473. needhedgeratio:
  7474. description: 套保系数
  7475. type: number
  7476. pricedamount:
  7477. description: 已定价额(现货)
  7478. type: number
  7479. pricedamount2:
  7480. description: 已定价额(现货-基价额)
  7481. type: number
  7482. pricedqty:
  7483. description: 已定价量(现货)
  7484. type: number
  7485. reckondate:
  7486. description: 日照时期(yyyyMMdd)
  7487. type: string
  7488. relatedmiddlegoodsamount:
  7489. description: 已关联额(期货)
  7490. type: number
  7491. relatedmiddlegoodsqty:
  7492. description: 已关联量(套保品种)(期货)
  7493. type: number
  7494. spotcontractid:
  7495. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  7496. type: string
  7497. todayavgfutuprice:
  7498. description: 今日期货成交均价 = TodayRelatedMiddleGoodsAmount /todayrelatedfutureqty
  7499. type: number
  7500. todayavgprice:
  7501. description: 今日定价均价 = TodayPricedAmount / TodayPricedQty
  7502. type: number
  7503. todayavgprice2:
  7504. description: 今日点价登记均价(基价) = TodayPricedAmount2 / TodayPricedQty
  7505. type: number
  7506. todaypricedamount:
  7507. description: 今日定价额(现货)
  7508. type: number
  7509. todaypricedamount2:
  7510. description: 今日定价额(现货-基价额)
  7511. type: number
  7512. todaypricedqty:
  7513. description: 今日定价量(现货)
  7514. type: number
  7515. todayrelatedfutureqty:
  7516. description: 今日关联量(期货)
  7517. type: number
  7518. todayrelatedmiddlegoodsamount:
  7519. description: 今日关联额(期货)
  7520. type: number
  7521. todayrelatedmiddlegoodsqty:
  7522. description: 今日关联量(套保品-期货)
  7523. type: number
  7524. updatetime:
  7525. description: 更新时间
  7526. type: string
  7527. userid:
  7528. description: 合同所属用户id
  7529. type: integer
  7530. vatrate:
  7531. description: 增值税率
  7532. type: number
  7533. wrstandardcode:
  7534. description: 商品(品类) 代码
  7535. type: string
  7536. wrstandardid:
  7537. description: 现货商品ID
  7538. type: integer
  7539. wrstandardname:
  7540. description: 商品(品类) 名称
  7541. type: string
  7542. type: object
  7543. models.Ermcp3SellBuyContract:
  7544. properties:
  7545. accountid:
  7546. description: 期货账户id
  7547. type: string
  7548. accountname:
  7549. description: 账户名称
  7550. type: string
  7551. attachment:
  7552. description: 附件
  7553. type: string
  7554. audittime:
  7555. description: 审核时间
  7556. type: string
  7557. bizsubjectid:
  7558. description: 归属业务部门ID - SubjectID
  7559. type: integer
  7560. biztype:
  7561. description: 业务类型 1-套保 2-套利
  7562. type: integer
  7563. brandname:
  7564. description: 品牌名称
  7565. type: string
  7566. contracctstatus:
  7567. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  7568. type: integer
  7569. contractmargin:
  7570. description: 合同保证金
  7571. type: number
  7572. contractno:
  7573. description: 合同编号
  7574. type: string
  7575. contracttype:
  7576. description: 合同类型 1-采购, -1-销售
  7577. type: integer
  7578. convertfactor:
  7579. description: 标仓系数(品类)
  7580. type: number
  7581. createtime:
  7582. description: 创建时间
  7583. type: string
  7584. currencyid:
  7585. description: 币种id
  7586. type: integer
  7587. currencyname:
  7588. description: 币种名称
  7589. type: string
  7590. daikaiamount:
  7591. description: 应收(开)票额 | 未收票额
  7592. type: number
  7593. deliveryenddate:
  7594. description: 交割结束日
  7595. type: string
  7596. deliverygoodscode:
  7597. description: 现货品种代码
  7598. type: string
  7599. deliverygoodsid:
  7600. description: 现货商品ID
  7601. type: integer
  7602. deliverygoodsname:
  7603. description: 现货品种名称
  7604. type: string
  7605. deliverystartdate:
  7606. description: 交割开始日
  7607. type: string
  7608. enddate:
  7609. description: 点价结束日
  7610. type: string
  7611. enumdicname:
  7612. description: 单位名称
  7613. type: string
  7614. goodscode:
  7615. description: 点价商品代码
  7616. type: string
  7617. goodsgroupid:
  7618. description: 点价商品组id
  7619. type: integer
  7620. goodsid:
  7621. description: 点价商品ID
  7622. type: integer
  7623. goodsname:
  7624. description: 点价商品名称
  7625. type: string
  7626. invoiceamount:
  7627. description: 已开票额
  7628. type: number
  7629. loanamount:
  7630. description: 贷款总额=已定价额+调整金额
  7631. type: number
  7632. margin:
  7633. description: 保证金
  7634. type: number
  7635. meruserid:
  7636. description: 跟单员id
  7637. type: integer
  7638. meruserlogincode:
  7639. description: 跟单员登录代码
  7640. type: string
  7641. merusername:
  7642. description: 跟单员名称
  7643. type: string
  7644. nickname:
  7645. description: 账户昵称
  7646. type: string
  7647. orireckonrealqty:
  7648. description: 应交收量
  7649. type: number
  7650. payamount:
  7651. description: 已收付额(收款或付款)
  7652. type: number
  7653. preinvoiceamount:
  7654. description: 预收(开)票额
  7655. type: number
  7656. prepayamount:
  7657. description: 预收付额
  7658. type: number
  7659. price:
  7660. description: 价格
  7661. type: number
  7662. pricedamount:
  7663. description: 已定价额
  7664. type: number
  7665. pricedavg:
  7666. description: 已点均价
  7667. type: number
  7668. pricedqty:
  7669. description: 已定价量
  7670. type: number
  7671. pricemove:
  7672. description: 升贴水
  7673. type: number
  7674. pricetype:
  7675. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  7676. type: integer
  7677. producttype:
  7678. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  7679. type: integer
  7680. qty:
  7681. description: 合同量
  7682. type: number
  7683. reckonadjustamount:
  7684. description: 调整金额
  7685. type: number
  7686. reckonedamount:
  7687. description: 实际已收付额(已确定额,已收付总额-已退款总额)
  7688. type: number
  7689. reckonotheramount:
  7690. description: 其它费用
  7691. type: number
  7692. reckonrealqty:
  7693. description: 已交收量
  7694. type: number
  7695. remark:
  7696. description: 备注
  7697. type: string
  7698. saleuserid:
  7699. description: 业务员id
  7700. type: integer
  7701. saleuserlogincode:
  7702. description: 业务员登录代码
  7703. type: string
  7704. saleusername:
  7705. description: 业务员名称
  7706. type: string
  7707. spotcontractid:
  7708. description: 合同ID
  7709. type: string
  7710. spotgoodsbrandid:
  7711. description: 现货品牌ID(DGFactoryItem表的ID)
  7712. type: integer
  7713. spotgoodsdesc:
  7714. description: 商品型号(商品规格)
  7715. type: string
  7716. startdate:
  7717. description: 点价开始日
  7718. type: string
  7719. subjectid:
  7720. description: 交易主体ID
  7721. type: integer
  7722. subjectname:
  7723. description: 交易主体名称
  7724. type: string
  7725. totalamount:
  7726. description: 合计总额
  7727. type: number
  7728. tradeuserid:
  7729. description: 交易员id
  7730. type: integer
  7731. tradeuserlogincode:
  7732. description: 交易员登录代码
  7733. type: string
  7734. tradeusername:
  7735. description: 交易员名称
  7736. type: string
  7737. unpayamount:
  7738. description: 应收付款额(应支付或应收款) | 未付款额
  7739. type: number
  7740. unpricedqty:
  7741. description: 未定价量
  7742. type: number
  7743. unsureqty:
  7744. description: 未确定量 | 未交收量
  7745. type: number
  7746. userid:
  7747. description: 机构ID
  7748. type: integer
  7749. vatrate:
  7750. description: 增值税率
  7751. type: number
  7752. wrstandardcode:
  7753. description: 品类代码
  7754. type: string
  7755. wrstandardid:
  7756. description: 品类ID
  7757. type: integer
  7758. wrstandardname:
  7759. description: 品类名称
  7760. type: string
  7761. type: object
  7762. models.Ermcp3SpotGoodsPrice:
  7763. properties:
  7764. areauserid:
  7765. description: 所属机构id
  7766. type: integer
  7767. brandname:
  7768. description: 品牌名称
  7769. type: string
  7770. currencyid:
  7771. description: 报价货币ID
  7772. type: integer
  7773. currencyname:
  7774. description: 币种名称
  7775. type: string
  7776. deliverygoodscode:
  7777. description: 现货商品代码
  7778. type: string
  7779. deliverygoodsid:
  7780. description: 现货商品id
  7781. type: integer
  7782. deliverygoodsname:
  7783. description: 现货商品名称
  7784. type: string
  7785. enumdicname:
  7786. description: 现货商品单位名称
  7787. type: string
  7788. gbenumdicname:
  7789. description: 品类单位名称
  7790. type: string
  7791. gmunitid:
  7792. description: 品类单位id
  7793. type: integer
  7794. isvalid:
  7795. description: 是否有效 - 0:无效 1:有效
  7796. type: integer
  7797. operateid:
  7798. description: 最后操作人
  7799. type: integer
  7800. operatesrc:
  7801. description: 最后操作来源 - 1:管理端 2:终端
  7802. type: integer
  7803. operatetime:
  7804. description: 最后操作时间
  7805. type: string
  7806. operatorname:
  7807. description: 操作人名称
  7808. type: string
  7809. spotgoodsbrandid:
  7810. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  7811. type: integer
  7812. spotgoodsprice:
  7813. description: 现货价格
  7814. type: number
  7815. tradedate:
  7816. description: 交易日(yyyyMMdd)
  7817. type: string
  7818. unitid:
  7819. description: 现货商品单位id
  7820. type: integer
  7821. wrstandardcode:
  7822. description: 品类代码
  7823. type: string
  7824. wrstandardid:
  7825. description: 现货品类ID(通用则为0)
  7826. type: integer
  7827. wrstandardname:
  7828. description: 品类名称
  7829. type: string
  7830. type: object
  7831. models.Ermcp3SpotGoodsPriceLog:
  7832. properties:
  7833. areauserid:
  7834. description: 所属机构id
  7835. type: integer
  7836. brandname:
  7837. description: 品牌名称
  7838. type: string
  7839. currencyid:
  7840. description: 报价货币ID
  7841. type: integer
  7842. deliverygoodscode:
  7843. description: 现货商品代码
  7844. type: string
  7845. deliverygoodsid:
  7846. description: 现货商品id
  7847. type: integer
  7848. deliverygoodsname:
  7849. description: 现货商品名称
  7850. type: string
  7851. enumdicname:
  7852. description: 现货商品单位名称
  7853. type: string
  7854. gbenumdicname:
  7855. description: 品类单位名称
  7856. type: string
  7857. gmunitid:
  7858. description: 品类单位id
  7859. type: integer
  7860. logid:
  7861. description: 日志id
  7862. type: integer
  7863. operateid:
  7864. description: 最后操作人
  7865. type: integer
  7866. operatesrc:
  7867. description: 最后操作来源 - 1:管理端 2:终端
  7868. type: integer
  7869. operatetime:
  7870. description: 最后操作时间
  7871. type: string
  7872. operatorname:
  7873. description: 操作人名称
  7874. type: string
  7875. spotgoodsbrandid:
  7876. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  7877. type: integer
  7878. spotgoodsprice:
  7879. description: 现货价格
  7880. type: number
  7881. tradedate:
  7882. description: 交易日(yyyyMMdd)
  7883. type: string
  7884. unitid:
  7885. description: 现货商品单位id
  7886. type: integer
  7887. wrstandardcode:
  7888. description: 品类代码
  7889. type: string
  7890. wrstandardid:
  7891. description: 现货品类ID(通用则为0)
  7892. type: integer
  7893. wrstandardname:
  7894. description: 品类名称
  7895. type: string
  7896. type: object
  7897. models.Ermcp3SubTaaccount:
  7898. properties:
  7899. accountid:
  7900. description: 资金账户ID
  7901. type: integer
  7902. parentaccountcode:
  7903. description: 所属根账号代码(母账号代码)
  7904. type: string
  7905. parentaccountid:
  7906. description: 所属根账号(母账号)
  7907. type: integer
  7908. taname:
  7909. description: 资金账号名称
  7910. type: string
  7911. tradestatus:
  7912. description: 交易状态 - 1:正常 2:受限 3:冻结(停用) 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已删除(注销)
  7913. type: integer
  7914. username:
  7915. description: 交易用户
  7916. type: string
  7917. type: object
  7918. models.Ermcp3TaFutuReDataReport:
  7919. properties:
  7920. accountid:
  7921. description: 交易账户
  7922. type: integer
  7923. accountname:
  7924. description: 交易账号名称
  7925. type: string
  7926. agreeunit:
  7927. description: 商品合约单位
  7928. type: number
  7929. begindate:
  7930. description: 开始交易日
  7931. type: string
  7932. buyorsell:
  7933. description: 持仓方向
  7934. type: integer
  7935. charge:
  7936. description: 手续费
  7937. type: number
  7938. closeavgprice:
  7939. description: 平仓均价
  7940. type: number
  7941. closepl:
  7942. description: 平仓损益
  7943. type: number
  7944. currencyid:
  7945. description: 结算币种ID
  7946. type: integer
  7947. currencyname:
  7948. description: 币种名称
  7949. type: string
  7950. cycletime:
  7951. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  7952. type: string
  7953. cycletype:
  7954. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  7955. type: integer
  7956. enddate:
  7957. description: 结束交易日
  7958. type: string
  7959. enumdicname:
  7960. description: 单位名称
  7961. type: string
  7962. floatpl:
  7963. description: 浮动损益
  7964. type: number
  7965. goodscode:
  7966. description: 交易合约代码
  7967. type: string
  7968. goodsgroupid:
  7969. description: 交易品种
  7970. type: integer
  7971. goodsgroupname:
  7972. description: 交易品种名称
  7973. type: string
  7974. goodsgroupspotqty:
  7975. description: 交易品种期末量 (= 期末持仓量 * 合约乘数)
  7976. type: number
  7977. goodsid:
  7978. description: 交易合约
  7979. type: integer
  7980. goodsname:
  7981. description: 交易合约名称
  7982. type: string
  7983. goodunitid:
  7984. description: 交易合约单位id
  7985. type: integer
  7986. holdamount:
  7987. description: 期末持仓额
  7988. type: number
  7989. holdqty:
  7990. description: 期末持仓量
  7991. type: number
  7992. lastholdamount:
  7993. description: 当前持仓额
  7994. type: number
  7995. lastprice:
  7996. description: 最新价
  7997. type: number
  7998. middlegoodsid:
  7999. description: 套保品种id
  8000. type: integer
  8001. middlegoodsname:
  8002. description: 套保商品名称
  8003. type: string
  8004. middlegoodsqty:
  8005. description: 套保品种期末量 (=交易品种期末量 * 期货品种折算系数)
  8006. type: number
  8007. middlgoodscode:
  8008. description: 套保商品代码
  8009. type: string
  8010. openamount:
  8011. description: 期末开仓额
  8012. type: number
  8013. openavgprice:
  8014. description: 开仓均价
  8015. type: number
  8016. oriholdamount:
  8017. description: 期初持仓额
  8018. type: number
  8019. oriholdqty:
  8020. description: 期初持仓量
  8021. type: number
  8022. oriopenamount:
  8023. description: 期初开仓额
  8024. type: number
  8025. outergroupcode:
  8026. description: 交易品种代码
  8027. type: string
  8028. qtydecimalplace:
  8029. description: 成交量小数位
  8030. type: integer
  8031. reckondate:
  8032. description: 日照时期(yyyyMMdd)
  8033. type: string
  8034. reckonholdamount:
  8035. description: 结算持仓额
  8036. type: number
  8037. reckonpl:
  8038. description: 结算损益
  8039. type: number
  8040. reckonpl2:
  8041. description: 结算逐笔盈亏
  8042. type: number
  8043. reckonprice:
  8044. description: 结算价
  8045. type: number
  8046. relateduserid:
  8047. description: 账户关联用户ID
  8048. type: integer
  8049. todaycloseamount:
  8050. description: 今平仓额
  8051. type: number
  8052. todaycloseqty:
  8053. description: 今平仓量
  8054. type: number
  8055. todaygoodsgroupspotqty:
  8056. description: 交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)
  8057. type: number
  8058. todaymiddlegoodsqty:
  8059. description: 套保品种变化量 (= 交易品种变化量*期货品种折算系数)
  8060. type: number
  8061. todayopenamount:
  8062. description: 今开仓额
  8063. type: number
  8064. todayopenqty:
  8065. description: 今开仓量
  8066. type: number
  8067. userid:
  8068. description: 账户所属用户ID
  8069. type: integer
  8070. type: object
  8071. models.Ermcp3TradeLinkDetail:
  8072. properties:
  8073. accountid:
  8074. description: 资金账号
  8075. type: integer
  8076. agreeunit:
  8077. description: 合约乘数
  8078. type: number
  8079. areauserid:
  8080. description: 所属机构
  8081. type: string
  8082. bizsubjectid:
  8083. description: 归属业务部门ID - SubjectID
  8084. type: string
  8085. buyorsell:
  8086. description: 方向 - 0:买 1:卖
  8087. type: integer
  8088. channelbuildtype:
  8089. description: 委托单据类型 0:无 1:建仓 2:平仓
  8090. type: integer
  8091. contractno:
  8092. description: 现货编号 (合同编号)
  8093. type: string
  8094. convertratio:
  8095. description: 折算系数
  8096. type: number
  8097. createtime:
  8098. description: 关联时间 | 创建时间
  8099. type: string
  8100. creatorid:
  8101. description: 创建人ID
  8102. type: string
  8103. creatorsrc:
  8104. description: 创建人来源 - 1:管理端 2:终端 3:交易
  8105. type: integer
  8106. enumdicname:
  8107. description: 单位名称
  8108. type: string
  8109. goodscode:
  8110. description: 合约代码
  8111. type: string
  8112. goodsgroupid:
  8113. description: 对冲品种ID[期货合约商品组ID]
  8114. type: integer
  8115. goodsid:
  8116. description: 商品ID
  8117. type: integer
  8118. goodsname:
  8119. description: 合约名称
  8120. type: string
  8121. hedgeflag:
  8122. description: 业务类型 | 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安)
  8123. 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)
  8124. type: integer
  8125. linkdetailid:
  8126. description: 关联ID(614+Unix秒时间戳(10位)+xxxxxx)
  8127. type: string
  8128. linkstatus:
  8129. description: 关联状态 - 1:成功 2:失败 3:解绑
  8130. type: integer
  8131. middlegoodscode:
  8132. description: 套保品种代码
  8133. type: string
  8134. middlegoodsid:
  8135. description: 套保品种ID
  8136. type: integer
  8137. middlegoodsname:
  8138. description: 套保品种名称
  8139. type: string
  8140. relatedlot:
  8141. description: 关联手数
  8142. type: number
  8143. relatedmode:
  8144. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  8145. type: integer
  8146. relatedqty:
  8147. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  8148. type: number
  8149. retcode:
  8150. description: 返回码
  8151. type: integer
  8152. saleuserid:
  8153. description: 业务员ID
  8154. type: string
  8155. spotcontractid:
  8156. description: 现货合同\套保计划ID [4,10,11 - 现货合同ID] [9:套期保值(计划) - 套保计划ID]
  8157. type: string
  8158. taname:
  8159. description: 期货账户
  8160. type: string
  8161. tradedate:
  8162. description: 关联交易日(yyyyMMdd)
  8163. type: string
  8164. tradeid:
  8165. description: 期货订单号 | 内部成交单ID
  8166. type: string
  8167. tradelot:
  8168. description: 成交数量 | 成交手数
  8169. type: integer
  8170. tradeprice:
  8171. description: 成交价格
  8172. type: number
  8173. tradetime:
  8174. description: 期货成交时间
  8175. type: string
  8176. tradetradedate:
  8177. description: 成交交易日(yyyyMMdd)
  8178. type: string
  8179. username:
  8180. description: 用户名称
  8181. type: string
  8182. type: object
  8183. models.Ermcp3Wrstandard:
  8184. properties:
  8185. areauserid:
  8186. description: 所属机构
  8187. type: integer
  8188. cantrade:
  8189. description: 是否允许交易 - 0:不允许 1:允许 -1:未配置(数据库里没有记录)
  8190. type: integer
  8191. convertfactor:
  8192. description: 标仓系数
  8193. type: number
  8194. createtime:
  8195. description: 创建时间
  8196. type: string
  8197. creatorid:
  8198. description: 创建人
  8199. type: integer
  8200. deliverygoodsid:
  8201. description: 现货品种ID
  8202. type: integer
  8203. enumdicname:
  8204. description: 品类单位名称
  8205. type: string
  8206. isvalid:
  8207. description: 是否有效 0-无效(停用) 1-有效(正常)
  8208. type: integer
  8209. minivalue:
  8210. description: 最小变动值
  8211. type: integer
  8212. minivaluedp:
  8213. description: 最小变动值小数位
  8214. type: integer
  8215. realminivalue:
  8216. description: 实际最小变动值
  8217. type: integer
  8218. realminivaluedp:
  8219. description: 实际最小变动值小数位
  8220. type: integer
  8221. remark:
  8222. description: 备注
  8223. type: string
  8224. unitid:
  8225. description: 品类单位ID
  8226. type: integer
  8227. updatetime:
  8228. description: 更新时间
  8229. type: string
  8230. wrstandardcode:
  8231. description: 品类代码
  8232. type: string
  8233. wrstandardid:
  8234. description: 品类ID(SEQ_WRSTANDARD)
  8235. type: integer
  8236. wrstandardname:
  8237. description: 品类名称
  8238. type: string
  8239. type: object
  8240. models.Ermcp8EnableHedgeditem:
  8241. properties:
  8242. accountname:
  8243. description: 套期主体
  8244. type: string
  8245. hedgeditemid:
  8246. description: 被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)
  8247. type: string
  8248. hedgeditemname:
  8249. description: 项目名称
  8250. type: string
  8251. hedgeditemnum:
  8252. description: 项目编号
  8253. type: string
  8254. hedgedtype:
  8255. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  8256. type: integer
  8257. planenddate:
  8258. description: 计划结束日期
  8259. type: string
  8260. planstartdate:
  8261. description: 计划开始日期
  8262. type: string
  8263. wrstandardid:
  8264. description: 现货商品ID
  8265. type: integer
  8266. wrstandardname:
  8267. description: 现货商品
  8268. type: string
  8269. type: object
  8270. models.Ermcp8HedgeditemReport:
  8271. properties:
  8272. accountname:
  8273. description: 套期主体
  8274. type: string
  8275. areauserid:
  8276. description: 企业ID
  8277. type: integer
  8278. curprice:
  8279. description: '[当日现货市场价]当前市场价'
  8280. type: number
  8281. enumdicname:
  8282. description: 单位
  8283. type: string
  8284. exeamount:
  8285. description: '[执行现货金额]执行市价总额'
  8286. type: number
  8287. exeavgprice:
  8288. description: '[执行价]执行市场均价= 执行市价总额 / 执行现货量'
  8289. type: number
  8290. exeqty:
  8291. description: '[执行数量]执行现货量'
  8292. type: number
  8293. futurehedgepl:
  8294. description: 期货实际损益
  8295. type: number
  8296. futurehedgeplchange:
  8297. description: 期货实际变动 = 期货实际损益 - 期初期货实际损益
  8298. type: number
  8299. futurepl:
  8300. description: 期货套期损益
  8301. type: number
  8302. futureplchange:
  8303. description: 期货套期变动 = 期货套期损益 - 期初期货套期损益
  8304. type: number
  8305. hedgeamount:
  8306. description: '[套期现货金额]套期市价总额'
  8307. type: number
  8308. hedgeditemnum:
  8309. description: 项目编号,模糊查询
  8310. type: string
  8311. hedgeditemstatus:
  8312. description: 项目状态 - 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  8313. type: integer
  8314. hedgedtype:
  8315. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  8316. type: integer
  8317. hedgeqty:
  8318. description: '[套期数量]套期现货量'
  8319. type: number
  8320. oriavgprice:
  8321. description: '[期初价]期初市场均价 = 套期市价总额 / 套期现货量'
  8322. type: number
  8323. orifuturehedgepl:
  8324. description: 期初期货实际损益
  8325. type: number
  8326. orifuturepl:
  8327. description: 期初期货套期损益
  8328. type: number
  8329. orispothedgepl:
  8330. description: 期初现货实际损益
  8331. type: number
  8332. orispotpl:
  8333. description: 期初现货套期损益
  8334. type: number
  8335. planenddate:
  8336. description: 计划结束日期
  8337. type: string
  8338. planstartdate:
  8339. description: 计划开始日期
  8340. type: string
  8341. spothedgepl:
  8342. description: 现货实际损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)
  8343. type: number
  8344. spothedgeplchange:
  8345. description: 现货实际变动 = 现货实际损益 - 期初现货实际损益
  8346. type: number
  8347. spotpl:
  8348. description: 现货套期损益 = 现货实际损益 + 现货浮动损益
  8349. type: number
  8350. spotplchange:
  8351. description: 现货套期变动 = 现货套期损益 - 期初现货套期损益
  8352. type: number
  8353. tradeuserid:
  8354. description: 交易用户ID
  8355. type: integer
  8356. unexeqty:
  8357. description: 未执行现货量 = 套期现货量 - 执行现货量
  8358. type: number
  8359. wrstandardcode:
  8360. description: 现货品类代码
  8361. type: string
  8362. wrstandardid:
  8363. description: 现货商品ID
  8364. type: integer
  8365. wrstandardname:
  8366. description: '[现货商品]现货品类名称'
  8367. type: string
  8368. type: object
  8369. models.Ermcp8RunningHedgeditem:
  8370. properties:
  8371. accountname:
  8372. description: 套期主体
  8373. type: string
  8374. applyid:
  8375. description: 申请人
  8376. type: integer
  8377. applysrc:
  8378. description: 申请来源 - 1:管理端 2:终端
  8379. type: integer
  8380. areauserid:
  8381. description: 企业ID
  8382. type: integer
  8383. auditid:
  8384. description: 审核人
  8385. type: integer
  8386. auditremark:
  8387. description: 审核备注
  8388. type: string
  8389. auditsrc:
  8390. description: 审核来源 - 1:管理端 2:终端
  8391. type: integer
  8392. audittime:
  8393. description: 审核时间
  8394. type: string
  8395. audittradedate:
  8396. description: 审核交易日(yyyyMMdd)
  8397. type: string
  8398. createtime:
  8399. description: 申请时间
  8400. type: string
  8401. curprice:
  8402. description: 当前市场价
  8403. type: number
  8404. curstock:
  8405. description: 期末库存量 = 采购总量 - 销售总量
  8406. type: number
  8407. deliverygoodsid:
  8408. description: 现货品种ID
  8409. type: integer
  8410. enddate:
  8411. description: 完成日期
  8412. type: string
  8413. endtradedate:
  8414. description: 完成交易日
  8415. type: string
  8416. enumdicname:
  8417. description: 单位
  8418. type: string
  8419. exeamount:
  8420. description: 执行市价总额
  8421. type: number
  8422. exeavgprice:
  8423. description: 执行市场均价= 执行市价总额 / 执行现货量
  8424. type: number
  8425. execontractamount:
  8426. description: 执行定价总额
  8427. type: number
  8428. exeqty:
  8429. description: 执行现货量
  8430. type: number
  8431. exerestamount:
  8432. description: 执行剩余市价总额【现货贸易】
  8433. type: number
  8434. futurefloatpl:
  8435. description: 期货浮动损益
  8436. type: number
  8437. futurehedgepl:
  8438. description: 期货实际损益
  8439. type: number
  8440. futurehedgeplchange:
  8441. description: 期货实际损益变动
  8442. type: number
  8443. futurepl:
  8444. description: 期货套期损益
  8445. type: number
  8446. futureplchange:
  8447. description: 期货套期损益变动
  8448. type: number
  8449. hedgeamount:
  8450. description: 套期市价总额
  8451. type: number
  8452. hedgecontractamount:
  8453. description: 套期定价总额 【定价采购合同】【现货贸易】
  8454. type: number
  8455. hedgeditemid:
  8456. description: 被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)
  8457. type: string
  8458. hedgeditemname:
  8459. description: 项目名称
  8460. type: string
  8461. hedgeditemnum:
  8462. description: 项目编号
  8463. type: string
  8464. hedgeditemstatus:
  8465. description: 项目状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  8466. type: integer
  8467. hedgedtype:
  8468. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  8469. type: integer
  8470. hedgeqty:
  8471. description: 套期现货量
  8472. type: number
  8473. hedgerate:
  8474. description: 套保比率
  8475. type: number
  8476. hedgerestamount:
  8477. description: 套期剩余市价总额【现货贸易】
  8478. type: number
  8479. hedgesumpl:
  8480. description: 套期汇总损益 = 期货汇总损益 + 现货汇总损益
  8481. type: number
  8482. middlegoodslist:
  8483. description: 套期商品列表
  8484. items:
  8485. $ref: '#/definitions/models.Ermcp2himiddlegoods'
  8486. type: array
  8487. oriavgprice:
  8488. description: 期初市场均价 = 套期市价总额 / 套期现货量
  8489. type: number
  8490. orifuturehedgepl:
  8491. description: 期初期货实际损益
  8492. type: number
  8493. orifuturepl:
  8494. description: 期初期货套期损益
  8495. type: number
  8496. orispothedgepl:
  8497. description: 期初现货实际损益
  8498. type: number
  8499. orispotpl:
  8500. description: 期初现货套期损益
  8501. type: number
  8502. planenddate:
  8503. description: 计划结束日期
  8504. type: string
  8505. planstartdate:
  8506. description: 计划开始日期
  8507. type: string
  8508. remark:
  8509. description: 备注
  8510. type: string
  8511. spotbookamount:
  8512. description: 现货账面总额
  8513. type: number
  8514. spotfloatpl:
  8515. description: 现货浮动损益 =(当前市场价 - 期初市场价)*未执行现货量 * 方向(销售计划 为 -1, 其它为1)
  8516. type: number
  8517. spothedgepl:
  8518. description: 现货套期损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)
  8519. type: number
  8520. spothedgeplchange:
  8521. description: 现货实际损益变动
  8522. type: number
  8523. spotpl:
  8524. description: 现货套期损益 = 现货实际损益 + 现货浮动损益
  8525. type: number
  8526. spotplchange:
  8527. description: 现货套期损益变动
  8528. type: number
  8529. spottradepl:
  8530. description: 现货贸易损益【现货贸易】= 执行合同定价总额 - 套期合同定价总额
  8531. type: number
  8532. sumobspl:
  8533. description: 汇总绝对损益【现货贸易】=现货贸易损益+增值税损益+期货套期损益
  8534. type: number
  8535. tradeuserid:
  8536. description: 交易用户ID
  8537. type: integer
  8538. unexeqty:
  8539. description: 未执行现货量 = 套期现货量 - 执行现货量
  8540. type: number
  8541. updatetime:
  8542. description: 更新时间
  8543. type: string
  8544. vatpl:
  8545. description: 增值税损益【现货贸易】= 现货贸易损益 * (增值税率 /(1+增值税率))
  8546. type: number
  8547. vatrate:
  8548. description: 增值税
  8549. type: number
  8550. wrstandardid:
  8551. description: 现货商品ID
  8552. type: integer
  8553. wrstandardname:
  8554. description: 商品名称
  8555. type: string
  8556. type: object
  8557. models.ErmcpBizGroupEx:
  8558. properties:
  8559. acclist:
  8560. description: 账号列表
  8561. items:
  8562. $ref: '#/definitions/models.ErmcpBizGroupTaAccount'
  8563. type: array
  8564. bizgroupid:
  8565. description: 业务分组id
  8566. type: integer
  8567. biztype:
  8568. description: 业务类型 1-套保 2-套利
  8569. type: integer
  8570. wrlist:
  8571. description: 现货商品表
  8572. items:
  8573. $ref: '#/definitions/models.ErmcpBizGroupSpotGoods'
  8574. type: array
  8575. type: object
  8576. models.ErmcpBizGroupSpotGoods:
  8577. properties:
  8578. areauserid:
  8579. description: 所属机构id
  8580. type: integer
  8581. bizgroupid:
  8582. description: 分组id
  8583. type: integer
  8584. biztype:
  8585. description: 业务类型 1-套保 2-套利
  8586. type: integer
  8587. deliverygoodscode:
  8588. description: 现货商品代码
  8589. type: string
  8590. deliverygoodsid:
  8591. description: 现货商品id
  8592. type: integer
  8593. deliverygoodsname:
  8594. description: 现货商品名称
  8595. type: string
  8596. unitid:
  8597. description: 现货商品单位id
  8598. type: integer
  8599. type: object
  8600. models.ErmcpBizGroupTaAccount:
  8601. properties:
  8602. accountid:
  8603. description: 账号id
  8604. type: integer
  8605. accountname:
  8606. description: 账号名称
  8607. type: string
  8608. areauserid:
  8609. description: 所属机构id
  8610. type: integer
  8611. bizgroupid:
  8612. description: 业务分组id
  8613. type: integer
  8614. ismain:
  8615. description: 是否主账号 1-是 0-否
  8616. type: integer
  8617. type: object
  8618. models.ErmcpDGFactoryItem:
  8619. properties:
  8620. areauserid:
  8621. description: 用户id
  8622. type: integer
  8623. deliverygoodsid:
  8624. description: 现货品种ID
  8625. type: integer
  8626. dgfactoryitemid:
  8627. description: 选择项ID(SEQ_DGFACTORYITEM)
  8628. type: integer
  8629. dgfactoryitemtypeid:
  8630. description: 要素项类型
  8631. type: integer
  8632. dgfactoryitemvalue:
  8633. description: 要素项值(类型为仓库时填写仓库名称)
  8634. type: string
  8635. isvalid:
  8636. description: 是否有效 - 0:无效 1:有效
  8637. type: integer
  8638. orderindex:
  8639. description: 顺序
  8640. type: integer
  8641. warehouseid:
  8642. description: 仓库ID(类型为仓库时填写)
  8643. type: integer
  8644. type: object
  8645. models.ErmcpDeliveryGoods:
  8646. properties:
  8647. agreeunit:
  8648. description: 合约单位[散货时默认为1, 整装时默认为标准数量]
  8649. type: integer
  8650. areauserid:
  8651. description: 所属机构
  8652. type: integer
  8653. auditflag:
  8654. description: 交割是否需要审核 - 0:不需要 1:需要审核 默认为0
  8655. type: integer
  8656. categoryid:
  8657. description: 类别ID(SEQ_WRCATEGORY)
  8658. type: integer
  8659. deliverygoodscode:
  8660. description: 现货品种代码
  8661. type: string
  8662. deliverygoodsid:
  8663. description: 现货品种ID(SEQ_DELIVERYGOODS)
  8664. type: integer
  8665. deliverygoodsname:
  8666. description: 现货品种名称
  8667. type: string
  8668. deliverygoodstype:
  8669. description: '现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细'
  8670. type: integer
  8671. dgstatus:
  8672. description: 品种状态 - 作废 - 0:未激活 1:正常
  8673. type: integer
  8674. enumdicname:
  8675. description: 现货品种单位名称
  8676. type: string
  8677. goodsunitid:
  8678. description: 现货品种单位ID
  8679. type: integer
  8680. isvalid:
  8681. description: 是否有效 - 0:无效 1:有效
  8682. type: integer
  8683. qtydecimalplace:
  8684. description: 成交量小数位
  8685. type: integer
  8686. remark:
  8687. description: 备注
  8688. type: string
  8689. standardqty:
  8690. description: 标准数量(库位数量) [标准品特有]
  8691. type: integer
  8692. standardqtyrange:
  8693. description: 标准数量偏差范围 [标准品特有]
  8694. type: integer
  8695. type: object
  8696. models.ErmcpFuturesCompany:
  8697. properties:
  8698. brokerid:
  8699. description: 经纪公司代码
  8700. type: string
  8701. channeladdress:
  8702. description: 对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001
  8703. type: string
  8704. channelid:
  8705. description: 对冲渠道ID
  8706. type: string
  8707. createtime:
  8708. description: 创建时间
  8709. type: string
  8710. creatorid:
  8711. description: 创建人
  8712. type: string
  8713. fcid:
  8714. description: 期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)
  8715. type: integer
  8716. fcname:
  8717. description: 期货公司名称
  8718. type: string
  8719. isvalid:
  8720. description: 是否有效 - 0:无效 1:有效
  8721. type: integer
  8722. mhpaddress:
  8723. description: MHP服务地址(IP:Port)
  8724. type: string
  8725. riskrulegroupid:
  8726. description: 风控规则组ID
  8727. type: string
  8728. tradefeetmpid:
  8729. description: 手续费模板ID[TradeConfigTmpType为2]
  8730. type: string
  8731. trademargintmpid:
  8732. description: 保证金模板ID [TradeConfigTmpType为1]
  8733. type: string
  8734. traderatetmpid:
  8735. description: 汇率模板ID[TradeConfigTmpType为3]
  8736. type: string
  8737. updatetime:
  8738. description: 更新时间
  8739. type: string
  8740. updatorid:
  8741. description: 更新人
  8742. type: string
  8743. type: object
  8744. models.ErmcpGGConvertCfg:
  8745. properties:
  8746. convertratio:
  8747. description: 折算系数
  8748. type: number
  8749. destgoodsgroupid:
  8750. description: 目标品种ID
  8751. type: integer
  8752. dstcode:
  8753. description: 目录品种代码
  8754. type: string
  8755. dstexchangecode:
  8756. description: 目标期货交易所
  8757. type: string
  8758. dstname:
  8759. description: 目标品种名称
  8760. type: string
  8761. dstunitid:
  8762. description: 目标品种单位ID
  8763. type: integer
  8764. dstunitidname:
  8765. description: 目标品种单位名称
  8766. type: string
  8767. modifytime:
  8768. description: 修改时间
  8769. type: string
  8770. srccode:
  8771. description: 源品种代码
  8772. type: string
  8773. srcexchangecode:
  8774. description: 源期货交易所
  8775. type: string
  8776. srcgoodsgroupid:
  8777. description: 源品种ID
  8778. type: integer
  8779. srcname:
  8780. description: 源品种名称
  8781. type: string
  8782. srcunitid:
  8783. description: 源品种单位ID
  8784. type: integer
  8785. srcunitidname:
  8786. description: 源品种单位名称
  8787. type: string
  8788. type: object
  8789. models.ErmcpGoods:
  8790. properties:
  8791. agreeunit:
  8792. description: 合约单位
  8793. type: number
  8794. areauserid:
  8795. description: 所属机构
  8796. type: integer
  8797. auditaccountid:
  8798. description: 审核操作员账号
  8799. type: integer
  8800. audittime:
  8801. description: 审核时间
  8802. type: string
  8803. cancelaccountid:
  8804. description: 注销操作员账号
  8805. type: integer
  8806. canceltime:
  8807. description: 注销时间
  8808. type: string
  8809. closepricemode:
  8810. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  8811. type: integer
  8812. closepriceparam:
  8813. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  8814. type: number
  8815. createtime:
  8816. description: 创建时间
  8817. type: string
  8818. creatorid:
  8819. description: 创建人
  8820. type: integer
  8821. currencyid:
  8822. description: 报价货币ID
  8823. type: integer
  8824. cutmode:
  8825. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  8826. type: integer
  8827. decimalplace:
  8828. description: 报价小数位
  8829. type: integer
  8830. delistingdate:
  8831. description: 商品退市时间(状态:退市) -- 已作废
  8832. type: string
  8833. delistingmode:
  8834. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  8835. type: integer
  8836. deliveryflag:
  8837. description: 交割标志 - 0:不可交割 1:可交割
  8838. type: integer
  8839. enumdicname:
  8840. description: 单位名称
  8841. type: string
  8842. forceclosemode:
  8843. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  8844. type: integer
  8845. forceclosevalue:
  8846. description: 定期强平参数 [收益权]
  8847. type: integer
  8848. goodscode:
  8849. description: 商品代码(内部)
  8850. type: string
  8851. goodscurrencyid:
  8852. description: 合约货币ID
  8853. type: integer
  8854. goodsgroupid:
  8855. description: 所属商品组ID
  8856. type: integer
  8857. goodsid:
  8858. description: 商品ID(自增ID SEQ_GOODS)
  8859. type: integer
  8860. goodsname:
  8861. description: 商品名称
  8862. type: string
  8863. goodsquotetype:
  8864. description: '合约报价类型: 1-直接报价 2-间接报价'
  8865. type: integer
  8866. goodsstatus:
  8867. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  8868. type: integer
  8869. goodstradetype:
  8870. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  8871. type: integer
  8872. goodunitid:
  8873. description: 报价单位ID
  8874. type: integer
  8875. hasquoter:
  8876. description: 是否有报价商 - 0:无报价商 1:有报价商
  8877. type: integer
  8878. hqprotecttime:
  8879. description: 行情保护时间(秒)
  8880. type: integer
  8881. innerdealmode:
  8882. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  8883. type: integer
  8884. isbuylimited:
  8885. description: 是否限制建仓量 - 0:不限制 1:限制
  8886. type: integer
  8887. isvisible:
  8888. description: 游客是否可见 - 0:不可见 1:可见
  8889. type: integer
  8890. lasttradedate:
  8891. description: 最后交易日期(状态:待退市)
  8892. type: string
  8893. listingdate:
  8894. description: 交易开始日期
  8895. type: string
  8896. marketid:
  8897. description: 所属市场ID
  8898. type: integer
  8899. modifierid:
  8900. description: 修改人
  8901. type: integer
  8902. modifystatus:
  8903. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  8904. type: integer
  8905. modifytime:
  8906. description: 修改时间
  8907. type: string
  8908. outerdealmode:
  8909. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  8910. type: integer
  8911. outgoodscode:
  8912. description: 商品代码(外部)
  8913. type: string
  8914. pictureurl:
  8915. description: 商品图片
  8916. type: string
  8917. qtydecimalplace:
  8918. description: 成交量小数位
  8919. type: integer
  8920. quotegear:
  8921. description: 行情档位(1-10)
  8922. type: integer
  8923. quoteminunit:
  8924. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8925. type: integer
  8926. quoteshowtype:
  8927. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  8928. type: integer
  8929. quoteshowtypeinterval:
  8930. description: 行情报价间隔时间(秒)(成交价时为0)
  8931. type: integer
  8932. relatedgoodsid:
  8933. description: 关联参考商品ID
  8934. type: integer
  8935. remark:
  8936. description: 备注
  8937. type: string
  8938. trademode:
  8939. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8940. 21:竞拍-大宗式 22:受托竞价
  8941. type: integer
  8942. required:
  8943. - goodscode
  8944. - goodsid
  8945. - goodsname
  8946. - marketid
  8947. type: object
  8948. models.ErmcpGoodsBrand:
  8949. properties:
  8950. areauserid:
  8951. description: 所属机构
  8952. type: integer
  8953. brandid:
  8954. description: BrandID(SEQ_SPOTGOODSBRAND)
  8955. type: integer
  8956. brandname:
  8957. description: 品牌名称
  8958. type: string
  8959. createtime:
  8960. description: 创建时间
  8961. type: string
  8962. creatorid:
  8963. description: 创建人
  8964. type: integer
  8965. creatorsrc:
  8966. description: 创建人来源 - 1:管理端 2:终端
  8967. type: integer
  8968. deliverygoodsid:
  8969. description: 现货品种ID
  8970. type: integer
  8971. isvalid:
  8972. description: 是否有效 - 0:无效 1:有效
  8973. type: integer
  8974. updatetime:
  8975. description: 更新时间
  8976. type: string
  8977. updatorid:
  8978. description: 更新人
  8979. type: integer
  8980. updatorsrc:
  8981. description: 更新人来源 - 1:管理端 2:终端
  8982. type: integer
  8983. wrstandardid:
  8984. description: 现货商品ID
  8985. type: integer
  8986. type: object
  8987. models.ErmcpGoodsModel:
  8988. properties:
  8989. areauserid:
  8990. description: 所属机构
  8991. type: integer
  8992. convertfactor:
  8993. description: 标仓系数
  8994. type: number
  8995. createtime:
  8996. description: 创建时间
  8997. type: string
  8998. creatorid:
  8999. description: 创建人
  9000. type: integer
  9001. creatorsrc:
  9002. description: 创建人来源 - 1:管理端 2:终端
  9003. type: integer
  9004. deliverygoodsid:
  9005. description: 现货品种ID
  9006. type: integer
  9007. isvalid:
  9008. description: 是否有效 - 0:无效 1:有效
  9009. type: integer
  9010. modelid:
  9011. description: ModelID(SEQ_SPOTGOODSMODEL)
  9012. type: integer
  9013. modelname:
  9014. description: 型号名称
  9015. type: string
  9016. updatetime:
  9017. description: 更新时间
  9018. type: string
  9019. updatorid:
  9020. description: 更新人
  9021. type: integer
  9022. updatorsrc:
  9023. description: 更新人来源 - 1:管理端 2:终端
  9024. type: integer
  9025. wrstandardid:
  9026. description: 现货商品ID
  9027. type: integer
  9028. type: object
  9029. models.ErmcpHisExposure:
  9030. properties:
  9031. needhedgeexposoure:
  9032. description: 应套保敞口
  9033. type: number
  9034. reckondate:
  9035. description: 日照时期(yyyyMMdd)
  9036. type: string
  9037. totalexposure:
  9038. description: 总敞口
  9039. type: number
  9040. type: object
  9041. models.ErmcpLoginTaAccount:
  9042. properties:
  9043. accountid:
  9044. description: 账号id
  9045. type: integer
  9046. accountname:
  9047. description: 账号名称
  9048. type: string
  9049. type: object
  9050. models.ErmcpLoginUser:
  9051. properties:
  9052. acclist:
  9053. description: 关联资金账号
  9054. items:
  9055. $ref: '#/definitions/models.ErmcpLoginTaAccount'
  9056. type: array
  9057. accountname:
  9058. description: 用户名称
  9059. type: string
  9060. clientroleid:
  9061. description: 角色id(usertype=2)
  9062. type: integer
  9063. createtime:
  9064. description: 创建时间
  9065. type: string
  9066. logincode:
  9067. description: 登录代码
  9068. type: string
  9069. loginid:
  9070. description: 登录id(LOGINID)
  9071. type: integer
  9072. loginname:
  9073. description: 登录名称(loginaccount表中的accountname字段)
  9074. type: string
  9075. loginstatus:
  9076. description: 登录账户状态 - 1:正常 2:冻结 3:无效
  9077. type: integer
  9078. memberuserid:
  9079. description: 所属会员id
  9080. type: integer
  9081. mobile:
  9082. description: 手机号
  9083. type: string
  9084. modifytime:
  9085. description: 修改时间
  9086. type: string
  9087. password:
  9088. description: 密码(不可解密)
  9089. type: string
  9090. rolename:
  9091. description: 角色名称
  9092. type: string
  9093. rolestatus:
  9094. description: 角色状态 1-启用 2-停用
  9095. type: integer
  9096. roletype:
  9097. description: 角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员
  9098. type: string
  9099. userid:
  9100. description: 用户id
  9101. type: integer
  9102. usertype:
  9103. description: 用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  9104. type: integer
  9105. type: object
  9106. models.ErmcpLoginUserEx:
  9107. properties:
  9108. accountstatus:
  9109. description: 账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  9110. type: integer
  9111. mobile:
  9112. description: 手机号
  9113. type: string
  9114. querytype:
  9115. description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  9116. type: integer
  9117. roleid:
  9118. description: 角色id(交易账户->用户id)
  9119. type: integer
  9120. rolename:
  9121. description: 角色名称(交易账户->用户名称)
  9122. type: string
  9123. userlist:
  9124. description: 用户列表
  9125. items:
  9126. $ref: '#/definitions/models.ErmcpLoginUser'
  9127. type: array
  9128. usertype:
  9129. description: 用户类型 2-机构 7-企业成员(云平台)
  9130. type: integer
  9131. type: object
  9132. models.ErmcpMiddleGoodsModel:
  9133. properties:
  9134. areauserid:
  9135. description: 机构用户ID
  9136. type: integer
  9137. createtime:
  9138. description: 修改时间
  9139. type: string
  9140. enumdicname:
  9141. description: 单位名称
  9142. type: string
  9143. evaluateratio:
  9144. description: 估价系数
  9145. type: number
  9146. goodsgroupid:
  9147. description: 关联期货品种ID
  9148. type: integer
  9149. goodsunitid:
  9150. description: 单位ID
  9151. type: integer
  9152. isvalid:
  9153. description: 状态 0-无效(停用) 1-有效(正常)
  9154. type: integer
  9155. middlegoodscode:
  9156. description: 套保品种代码
  9157. type: string
  9158. middlegoodsid:
  9159. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  9160. type: integer
  9161. middlegoodsname:
  9162. description: 套保品种名称
  9163. type: string
  9164. modifytime:
  9165. description: 修改时间
  9166. type: string
  9167. needarbitrageratio:
  9168. description: 套利比例
  9169. type: number
  9170. needhedgeratio:
  9171. description: 套保比率
  9172. type: number
  9173. qtydecimalplace:
  9174. description: 数量小数位
  9175. type: integer
  9176. relatedgoodsid:
  9177. description: 关联交易商品ID
  9178. type: integer
  9179. relatedgoodstype:
  9180. description: 关联商品类型 - 1:期货合约 2:现货品种
  9181. type: integer
  9182. remark:
  9183. description: 备注
  9184. type: string
  9185. type: object
  9186. models.ErmcpMiddlegoodsRelateGoods:
  9187. properties:
  9188. agreeunit:
  9189. description: 合约乘数
  9190. type: number
  9191. convertratio:
  9192. description: 折算系数
  9193. type: number
  9194. enumdicname:
  9195. description: 单位名称(交易商品)
  9196. type: string
  9197. goodscode:
  9198. description: 交易商品代码
  9199. type: string
  9200. goodsgroupid:
  9201. description: 交易品种id
  9202. type: integer
  9203. goodsid:
  9204. description: 商品Id
  9205. type: integer
  9206. goodsname:
  9207. description: 交易商品名称
  9208. type: string
  9209. goodunitid:
  9210. description: 交易商品单位id
  9211. type: integer
  9212. middlegoodsid:
  9213. description: 套保商品id
  9214. type: integer
  9215. middlegoodsname:
  9216. description: 套保商品名称
  9217. type: string
  9218. middlegoodsswcode:
  9219. description: 套保商品代码
  9220. type: string
  9221. needarbitrageratio:
  9222. description: 应套利比例
  9223. type: number
  9224. needhedgeratio:
  9225. description: 应套保比例
  9226. type: number
  9227. type: object
  9228. models.ErmcpRole:
  9229. properties:
  9230. areauserid:
  9231. description: 所属机构
  9232. type: integer
  9233. autoid:
  9234. description: 角色ID(自增ID)
  9235. type: integer
  9236. modifierid:
  9237. description: 修改人(创建人)
  9238. type: integer
  9239. modifiername:
  9240. description: 修改人名称
  9241. type: string
  9242. modifytime:
  9243. description: 修改时间(创建时间)
  9244. type: string
  9245. rolename:
  9246. description: 角色名称
  9247. type: string
  9248. rolestatus:
  9249. description: 角色状态 - 1:启用 2:停用
  9250. type: integer
  9251. roletype:
  9252. description: 角色类型 - 1- 管理端 2- 交易端
  9253. type: integer
  9254. type: object
  9255. models.ErmcpRoleMenu:
  9256. properties:
  9257. iconame:
  9258. description: 菜单图标
  9259. type: string
  9260. ishadrole:
  9261. description: 是否有权限
  9262. type: boolean
  9263. menutype:
  9264. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 5:PCWEB(v6)
  9265. type: integer
  9266. parentcode:
  9267. description: 上级资源代码
  9268. type: string
  9269. remark:
  9270. description: 菜单备注
  9271. type: string
  9272. resourcecode:
  9273. description: 菜单代码
  9274. type: string
  9275. resourcelevel:
  9276. description: 级别
  9277. type: integer
  9278. resourcename:
  9279. description: 菜单名称
  9280. type: string
  9281. roleid:
  9282. description: 角色id
  9283. type: integer
  9284. sort:
  9285. description: 排序
  9286. type: integer
  9287. url:
  9288. description: URL
  9289. type: string
  9290. userid:
  9291. description: 用户id
  9292. type: integer
  9293. type: object
  9294. models.ErmcpRoleMenuEx:
  9295. properties:
  9296. menu:
  9297. allOf:
  9298. - $ref: '#/definitions/models.ErmcpRoleMenu'
  9299. description: 父级菜单
  9300. subMenu:
  9301. description: 子级菜单
  9302. items:
  9303. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  9304. type: array
  9305. type: object
  9306. models.ErmcpSpotContractModelEx:
  9307. properties:
  9308. accountname:
  9309. description: 套期主体
  9310. type: string
  9311. amount:
  9312. description: 金额 [1:一口价、3:暂定价]
  9313. type: number
  9314. attachment:
  9315. description: 附件
  9316. type: string
  9317. auditremark:
  9318. description: 审核意见
  9319. type: string
  9320. audittime:
  9321. description: 审核时间
  9322. type: string
  9323. avgprice:
  9324. description: 定价均价 = 已定价金额 / 已定价量
  9325. type: number
  9326. brandname:
  9327. description: 品牌名称
  9328. type: string
  9329. buyuserid:
  9330. description: 采购方ID
  9331. type: integer
  9332. buyusername:
  9333. description: 采购方名称
  9334. type: string
  9335. contracctstatus:
  9336. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  9337. type: integer
  9338. contractmargin:
  9339. description: 合同保证金
  9340. type: number
  9341. contractno:
  9342. description: '[合同编号]现货合同编号'
  9343. type: string
  9344. contracttype:
  9345. description: '[合同类型]现货合同类型 - 1:采购 -1:销售'
  9346. type: integer
  9347. convertfactor:
  9348. description: 标仓系数
  9349. type: number
  9350. createtime:
  9351. description: 创建时间
  9352. type: string
  9353. customername:
  9354. description: 对手方
  9355. type: string
  9356. customeruserid:
  9357. description: 客户ID
  9358. type: integer
  9359. deliveryenddate:
  9360. description: 交收期(结束)
  9361. type: string
  9362. deliverygoodscode:
  9363. description: 现货品种代码
  9364. type: string
  9365. deliverygoodsid:
  9366. description: 现货品种ID
  9367. type: integer
  9368. deliverygoodsname:
  9369. description: 现货品种名称
  9370. type: string
  9371. deliverystartdate:
  9372. description: 交收期(开始)
  9373. type: string
  9374. enddate:
  9375. description: 点价结束日期 [2:点价 3:暂定价]
  9376. type: string
  9377. enumdicname:
  9378. description: 单位名称
  9379. type: string
  9380. goodscode:
  9381. description: 点价合约代码
  9382. type: string
  9383. goodsid:
  9384. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  9385. type: integer
  9386. goodsname:
  9387. description: 点价商品名称
  9388. type: string
  9389. isrelated:
  9390. description: 是否已关联计划项目 - 0:否 1:是
  9391. type: integer
  9392. isrelated2:
  9393. description: 是否已关联现货项目 - 0:否 1:是
  9394. type: integer
  9395. margin:
  9396. description: 当前保证金
  9397. type: number
  9398. modelname:
  9399. description: 型号名称
  9400. type: string
  9401. price:
  9402. description: 价格\暂定价 [1:一口价、3:暂定价]
  9403. type: number
  9404. pricedamount:
  9405. description: 已定价金额 = (点价价格+升贴水) * 数量
  9406. type: number
  9407. pricedqty:
  9408. description: 已定价量
  9409. type: number
  9410. pricemove:
  9411. description: 升贴水 [2:点价 3:暂定价]
  9412. type: number
  9413. pricetype:
  9414. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  9415. type: integer
  9416. producttype:
  9417. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  9418. type: integer
  9419. qty:
  9420. description: '[合同数量]数量'
  9421. type: number
  9422. remark:
  9423. description: 备注
  9424. type: string
  9425. selluserid:
  9426. description: 销售方ID
  9427. type: integer
  9428. sellusername:
  9429. description: 销售方名称
  9430. type: string
  9431. spotamount:
  9432. description: 合同现货金额 [不含升贴水]
  9433. type: number
  9434. spotavgprice:
  9435. description: 现货均价 = 合同现货金额 / 已定价量
  9436. type: number
  9437. spotcontractid:
  9438. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  9439. type: string
  9440. spotgoodsbrandid:
  9441. description: 现货品牌ID
  9442. type: integer
  9443. spotgoodsdesc:
  9444. description: 商品型号
  9445. type: string
  9446. spotgoodsmodelid:
  9447. description: 现货型号ID
  9448. type: integer
  9449. startdate:
  9450. description: 点价开始日期 [2:点价 3:暂定价]
  9451. type: string
  9452. tradeuserid:
  9453. description: 交易用户ID
  9454. type: integer
  9455. unpricedqty:
  9456. description: 未定价量 = 合同数量 - 已定价量
  9457. type: number
  9458. updatetime:
  9459. description: 更新时间
  9460. type: string
  9461. userid:
  9462. description: 机构ID
  9463. type: integer
  9464. wrstandardcode:
  9465. description: 现货商品代码
  9466. type: string
  9467. wrstandardid:
  9468. description: 现货商品ID
  9469. type: integer
  9470. wrstandardname:
  9471. description: '[现货商品]现货商品名称'
  9472. type: string
  9473. type: object
  9474. models.ErmcpTaAccount:
  9475. properties:
  9476. accountid:
  9477. description: 账户id
  9478. type: integer
  9479. accountname:
  9480. description: 账户名称
  9481. type: string
  9482. currencyid:
  9483. description: 币种id
  9484. type: integer
  9485. hedgeaccountcode:
  9486. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  9487. type: string
  9488. ismain:
  9489. description: 是否主账户 0-否 1-是
  9490. type: integer
  9491. parentaccountid:
  9492. description: 父账户id
  9493. type: integer
  9494. relateduserid:
  9495. description: 关联userid
  9496. type: integer
  9497. tradefeetmpid:
  9498. description: 手续费模板id
  9499. type: integer
  9500. tradefeetmpname:
  9501. description: 手续费模板名称
  9502. type: string
  9503. trademargintmpid:
  9504. description: 保证金模板id
  9505. type: integer
  9506. trademargintmpname:
  9507. description: 保证金模板名称
  9508. type: string
  9509. traderatetmpid:
  9510. description: 汇率模板id
  9511. type: integer
  9512. traderatetmpname:
  9513. description: 汇率模板名称
  9514. type: string
  9515. tradestatus:
  9516. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  9517. type: integer
  9518. userid:
  9519. description: 用户id
  9520. type: integer
  9521. type: object
  9522. models.ErmcpTaAccountEx:
  9523. properties:
  9524. mainAcc:
  9525. allOf:
  9526. - $ref: '#/definitions/models.ErmcpTaAccountM'
  9527. description: 主账号
  9528. subacclist:
  9529. description: 子账号列表
  9530. items:
  9531. $ref: '#/definitions/models.ErmcpTaAccount'
  9532. type: array
  9533. type: object
  9534. models.ErmcpTaAccountInfo:
  9535. properties:
  9536. accountid:
  9537. description: 资金账户ID
  9538. type: integer
  9539. accountname:
  9540. description: 账户名称
  9541. type: string
  9542. balance:
  9543. description: 期初余额
  9544. type: number
  9545. capitalbalance:
  9546. description: 本金余额[外部子账户实际出入金余额]
  9547. type: number
  9548. closepl:
  9549. description: 今日平仓盈亏
  9550. type: number
  9551. creditdecrease:
  9552. description: 今日授信减少
  9553. type: number
  9554. creditincrease:
  9555. description: 今日授信增加
  9556. type: number
  9557. curdebt:
  9558. description: 期末欠款
  9559. type: number
  9560. currencyid:
  9561. description: 货币ID
  9562. type: integer
  9563. currentbalance:
  9564. description: 期末余额
  9565. type: number
  9566. freezecharge:
  9567. description: 手续费冻结
  9568. type: number
  9569. freezemargin:
  9570. description: 冻结保证金
  9571. type: number
  9572. fromaccountid:
  9573. description: 所属上级账户
  9574. type: integer
  9575. inamount:
  9576. description: 今日入金金额(包括三方入金)
  9577. type: number
  9578. ismain:
  9579. description: 是否母账号 0:不是母账户 1:是母账户
  9580. type: integer
  9581. mortgagecredit:
  9582. description: 授信金额
  9583. type: number
  9584. oridebt:
  9585. description: 期初欠款
  9586. type: number
  9587. orifreezecharge:
  9588. description: 期初手续费冻结
  9589. type: number
  9590. orifreezemargin:
  9591. description: 期初冻结保证金
  9592. type: number
  9593. orimortgagecredit:
  9594. description: 期初授信金额
  9595. type: number
  9596. oriothercredit:
  9597. description: 期初其它授信金额
  9598. type: number
  9599. oriotherfreezemargin:
  9600. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  9601. type: number
  9602. orioutamountfreeze:
  9603. description: 期初出金冻结
  9604. type: number
  9605. oriusedmargin:
  9606. description: 期初占用保证金
  9607. type: number
  9608. othercredit:
  9609. description: 其它授信金额
  9610. type: number
  9611. othercreditdecrease:
  9612. description: 今日其它授信减少
  9613. type: number
  9614. othercreditincrease:
  9615. description: 今日其它授信增加
  9616. type: number
  9617. otherfreezemargin:
  9618. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  9619. type: number
  9620. outamount:
  9621. description: 今日出金金额(包括三方出金)
  9622. type: number
  9623. outamountfreeze:
  9624. description: 出金冻结
  9625. type: number
  9626. outthreshold:
  9627. description: 出金阈值
  9628. type: number
  9629. parentaccountid:
  9630. description: 所属根账号
  9631. type: integer
  9632. paycharge:
  9633. description: 今日手续费支出
  9634. type: number
  9635. relateduserid:
  9636. description: 关联用户
  9637. type: integer
  9638. signstatus:
  9639. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  9640. type: integer
  9641. sublevelpath:
  9642. description: 账号层级路径(逗号分隔,首尾加逗号)
  9643. type: string
  9644. taaccounttype:
  9645. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  9646. type: integer
  9647. thirdinamount:
  9648. description: 今日三方入金
  9649. type: number
  9650. thirdoutamount:
  9651. description: 今日三方出金
  9652. type: number
  9653. tradestatus:
  9654. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  9655. type: integer
  9656. transferamount:
  9657. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  9658. type: number
  9659. usedmargin:
  9660. description: 占用保证金
  9661. type: number
  9662. userid:
  9663. description: 用户ID
  9664. type: integer
  9665. type: object
  9666. models.ErmcpTaAccountM:
  9667. properties:
  9668. accountid:
  9669. description: 账户id
  9670. type: integer
  9671. accountname:
  9672. description: 账户名称
  9673. type: string
  9674. currencyid:
  9675. description: 币种id
  9676. type: integer
  9677. fcid:
  9678. description: 期货公司id
  9679. type: integer
  9680. fcname:
  9681. description: 期货公司代码
  9682. type: string
  9683. hedgeaccountcode:
  9684. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  9685. type: string
  9686. ismain:
  9687. description: 是否主账户 0-否 1-是
  9688. type: integer
  9689. parentaccountid:
  9690. description: 父账户id
  9691. type: integer
  9692. relateduserid:
  9693. description: 关联userid
  9694. type: integer
  9695. tradefeetmpid:
  9696. description: 手续费模板id
  9697. type: integer
  9698. tradefeetmpname:
  9699. description: 手续费模板名称
  9700. type: string
  9701. trademargintmpid:
  9702. description: 保证金模板id
  9703. type: integer
  9704. trademargintmpname:
  9705. description: 保证金模板名称
  9706. type: string
  9707. traderatetmpid:
  9708. description: 汇率模板id
  9709. type: integer
  9710. traderatetmpname:
  9711. description: 汇率模板名称
  9712. type: string
  9713. tradestatus:
  9714. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  9715. type: integer
  9716. userid:
  9717. description: 用户id
  9718. type: integer
  9719. type: object
  9720. models.ErmcpTradeConfigTMP:
  9721. properties:
  9722. areauserid:
  9723. description: 所属机构
  9724. type: integer
  9725. basiccurrencyid:
  9726. description: 基本币种ID[汇率] - 目标币种
  9727. type: integer
  9728. mainaccountid:
  9729. description: 主账户ID
  9730. type: integer
  9731. modifierid:
  9732. description: 修改人
  9733. type: integer
  9734. remark:
  9735. description: 备注
  9736. type: string
  9737. tradeconfigtmpid:
  9738. description: 交易配置模板ID(SEQ_TRADECONFIGTMP)
  9739. type: integer
  9740. tradeconfigtmpname:
  9741. description: 交易配置模板名称
  9742. type: string
  9743. tradeconfigtmptype:
  9744. description: 交易配置模板类型 - 1:保证金 2:手续费 3:汇率
  9745. type: integer
  9746. updatetime:
  9747. description: 更新时间
  9748. type: string
  9749. type: object
  9750. models.Ermcpjrlinkpos:
  9751. properties:
  9752. areauserid:
  9753. description: 所属企业
  9754. type: integer
  9755. averageprice:
  9756. description: 持仓均价 (TotalBuyHoldAmount - TotalSellHoldAmount) / NetQty
  9757. type: number
  9758. closepl:
  9759. description: 总平仓盈亏 [期货损益]
  9760. type: number
  9761. executeprice:
  9762. description: 执行价 - 1:期货单 为 0
  9763. type: integer
  9764. futurehedgeqty:
  9765. description: 期货套期量
  9766. type: number
  9767. goodsid:
  9768. description: 期货合约
  9769. type: integer
  9770. middlegoodscode:
  9771. description: 套保商品代码
  9772. type: string
  9773. middlegoodsname:
  9774. description: 套保商品名称
  9775. type: string
  9776. netqty:
  9777. description: 净头寸
  9778. type: number
  9779. optioncode:
  9780. description: 期权代码
  9781. type: string
  9782. ordertype:
  9783. description: 单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单
  9784. type: integer
  9785. reckonpl:
  9786. description: 总盈亏(平仓盈亏 + 结算盈亏 - 手续费)
  9787. type: number
  9788. spotcontractid:
  9789. description: 现货ID [套期项目ID - 金瑞:合同\虚拟合同ID
  9790. type: string
  9791. todayfutureclosepl:
  9792. description: 今日平仓盈亏
  9793. type: number
  9794. totalbuyamount:
  9795. description: 买金额 [期货]
  9796. type: number
  9797. totalbuyholdamount:
  9798. description: 买持仓总金额[期货]
  9799. type: number
  9800. totalbuyqty:
  9801. description: 买数量
  9802. type: number
  9803. totalcharge:
  9804. description: 手续费
  9805. type: number
  9806. totalpremium:
  9807. description: 权利金 [期权]
  9808. type: number
  9809. totalsellamount:
  9810. description: 卖金额 [期货]
  9811. type: number
  9812. totalsellholdamount:
  9813. description: 卖持仓总金额[期货]
  9814. type: number
  9815. totalsellqty:
  9816. description: 卖数量
  9817. type: number
  9818. updatetime:
  9819. description: 更新时间
  9820. type: string
  9821. required:
  9822. - spotcontractid
  9823. type: object
  9824. models.Ermcppatradelinkdetail:
  9825. properties:
  9826. agreeunit:
  9827. description: 合约乘数
  9828. type: number
  9829. amount:
  9830. description: 金额 = RelatedLot * TradePrice * AgreeUnit
  9831. type: number
  9832. areauserid:
  9833. description: 所属机构
  9834. type: integer
  9835. bizsubjectid:
  9836. description: 归属业务部门ID - SubjectID
  9837. type: integer
  9838. buyorsell:
  9839. description: 方向 - 0:买 1:卖
  9840. type: integer
  9841. convertratio:
  9842. description: 品种系数
  9843. type: number
  9844. createtime:
  9845. description: 创建时间
  9846. type: string
  9847. creatorid:
  9848. description: 创建人ID
  9849. type: integer
  9850. creatorsrc:
  9851. description: 创建人来源 - 1:管理端 2:终端 3:交易
  9852. type: integer
  9853. goodsgroupid:
  9854. description: 对冲品种ID[期货合约商品组ID]
  9855. type: integer
  9856. goodsid:
  9857. description: 商品ID
  9858. type: integer
  9859. hedgeditemid:
  9860. description: 现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]
  9861. type: integer
  9862. hedgeflag:
  9863. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  9864. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目
  9865. type: integer
  9866. linkdetailid:
  9867. description: 期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)
  9868. type: string
  9869. linkstatus:
  9870. description: 关联状态 - 1:成功 2:失败 3:解绑
  9871. type: integer
  9872. middlegoodsid:
  9873. description: 套保品种ID
  9874. type: integer
  9875. name:
  9876. description: 账户名/子账户
  9877. type: string
  9878. optioncode:
  9879. description: '[期货合约]期权代码 [期权]'
  9880. type: string
  9881. ordertype:
  9882. description: 单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单
  9883. type: integer
  9884. relatedlot:
  9885. description: '[数量]关联手数'
  9886. type: number
  9887. relatedmode:
  9888. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  9889. type: integer
  9890. relatedqty:
  9891. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  9892. type: number
  9893. retcode:
  9894. description: 返回码
  9895. type: integer
  9896. saleuserid:
  9897. description: 业务员ID
  9898. type: integer
  9899. tradedate:
  9900. description: 关联交易日(yyyyMMdd)
  9901. type: string
  9902. tradeid:
  9903. description: '[成交单号]内部成交单ID'
  9904. type: string
  9905. tradelot:
  9906. description: 成交手数
  9907. type: integer
  9908. tradeprice:
  9909. description: '[价格]成交价格'
  9910. type: number
  9911. tradetime:
  9912. description: 日期时间
  9913. type: string
  9914. tradetradedate:
  9915. description: 成交交易日(yyyyMMdd)
  9916. type: string
  9917. required:
  9918. - hedgeditemid
  9919. type: object
  9920. models.Exchangerateconfig:
  9921. properties:
  9922. descurrencyid:
  9923. description: 目标币种ID
  9924. type: integer
  9925. exchangerate:
  9926. description: 汇率
  9927. type: number
  9928. oricurrencyid:
  9929. description: 源币种ID
  9930. type: integer
  9931. remark:
  9932. description: 备注
  9933. type: string
  9934. type: object
  9935. models.Externalexchange:
  9936. properties:
  9937. autoid:
  9938. description: AutoID - SEQ_EXTERNALEXCHANGE
  9939. type: integer
  9940. exchangefullname:
  9941. description: 外部交易所全称
  9942. type: string
  9943. exexchangecode:
  9944. description: 外部交易所代码
  9945. type: string
  9946. exexchangename:
  9947. description: 外部交易所名称(简称)
  9948. type: string
  9949. ismarketprice:
  9950. description: 是否支持市价 - 0:不支持 1:支持
  9951. type: integer
  9952. quotegear:
  9953. description: 行情档位(1-10)
  9954. type: integer
  9955. showbrokerflag:
  9956. description: 是否显示买卖经纪盘 - 0:不显示 1:显示
  9957. type: integer
  9958. updatetime:
  9959. description: 更新时间
  9960. type: string
  9961. required:
  9962. - autoid
  9963. type: object
  9964. models.Funcmenulist:
  9965. properties:
  9966. iconame:
  9967. description: 菜单图标
  9968. type: string
  9969. menutype:
  9970. description: 菜单类型 1-管理端 2-交易端 3-终端权限
  9971. type: integer
  9972. parentcode:
  9973. description: 上级资源代码
  9974. type: string
  9975. remark:
  9976. description: 备注
  9977. type: string
  9978. resourcecode:
  9979. description: 资源代码
  9980. type: string
  9981. resourcelevel:
  9982. description: 级别 1-一级 2-二级 3-三级 4-四级
  9983. type: integer
  9984. resourcename:
  9985. description: 资源名
  9986. type: string
  9987. sort:
  9988. description: 排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序
  9989. type: integer
  9990. url:
  9991. description: URL
  9992. type: string
  9993. required:
  9994. - resourcecode
  9995. type: object
  9996. models.Fworderoperate:
  9997. properties:
  9998. advanceamount:
  9999. description: 总预付款
  10000. type: number
  10001. advanceproofaddr:
  10002. description: 预付款收款凭证(确认结算费用时)
  10003. type: string
  10004. bankfee:
  10005. description: 汇款银行手续费
  10006. type: number
  10007. bankproofaddr:
  10008. description: 广钻汇款银行手续费凭证(确认结算费用时)
  10009. type: string
  10010. customsproofaddr:
  10011. description: 海关税费保证金收据(确认结算费用时)
  10012. type: string
  10013. logisticsfee:
  10014. description: 代缴物流保险费
  10015. type: number
  10016. logisticsproofaddr:
  10017. description: 代缴物流保险费凭证(确认结算费用时)
  10018. type: string
  10019. operatetime:
  10020. description: 操作时间
  10021. type: string
  10022. operatoraccount:
  10023. description: 操作人账号 - systemmanager的logincode 或 loginaccount的logincode,无则用loginid
  10024. type: string
  10025. operatorid:
  10026. description: 操作人ID - systemmanager的autoid 或 loginaccount的loginid
  10027. type: integer
  10028. operatorname:
  10029. description: 操作人名称 - systemmanager的username 或 loginaccount的logincode,无则用loginid
  10030. type: string
  10031. operatorsrc:
  10032. description: 操作人来源 - 1:管理端 2:终端
  10033. type: integer
  10034. orderid:
  10035. description: 单据ID(804+Unix秒时间戳(10位)+xxxxxx)
  10036. type: string
  10037. otherfee:
  10038. description: 其它费用
  10039. type: number
  10040. remark:
  10041. description: 操作备注
  10042. type: string
  10043. servicefee:
  10044. description: 综合服务费
  10045. type: number
  10046. settleamount:
  10047. description: 总结算费用 - 实际扣除资金,不含税费保证金
  10048. type: number
  10049. status:
  10050. description: 操作后单据状态 - 枚举"GZBSStatus"
  10051. type: integer
  10052. taxmargin:
  10053. description: 税费保证金
  10054. type: number
  10055. totalfee:
  10056. description: 总费用 = 费用之和 (结算费用时不含税费保证金)
  10057. type: number
  10058. required:
  10059. - orderid
  10060. - status
  10061. type: object
  10062. models.GErmcpspotgoodsprice:
  10063. properties:
  10064. chg:
  10065. description: 涨跌幅
  10066. type: number
  10067. currencyid:
  10068. description: 报价货币ID
  10069. type: integer
  10070. deliverygoodsid:
  10071. description: 现货品种ID
  10072. type: integer
  10073. prespotgoodsprice:
  10074. description: 上日价格
  10075. type: number
  10076. spotgoodsbrandid:
  10077. description: 现货品牌ID(通用则为0, 不为0则须先有商品ID)
  10078. type: integer
  10079. spotgoodsprice:
  10080. description: 【最新价】当前价格
  10081. type: number
  10082. srcmarketname:
  10083. description: 来源市场名称
  10084. type: string
  10085. todaypricedtotalamount:
  10086. description: 今日定价金额
  10087. type: number
  10088. todaypricedtotalqty:
  10089. description: 今日定价总量
  10090. type: number
  10091. todayspotgoodsprice:
  10092. description: 今日指定价
  10093. type: number
  10094. tradedate:
  10095. description: 【日期】交易日
  10096. type: string
  10097. wrstandardcode:
  10098. description: 现货商品代码
  10099. type: string
  10100. wrstandardid:
  10101. description: 现货商品ID(通用则为0)
  10102. type: integer
  10103. wrstandardname:
  10104. description: 【名称】现货商品名称
  10105. type: string
  10106. ystspotgoodsprice:
  10107. description: 昨价
  10108. type: number
  10109. type: object
  10110. models.GGzbscinoutorder:
  10111. properties:
  10112. applicanttime:
  10113. description: 申请时间
  10114. type: string
  10115. bagweightgm:
  10116. description: 连袋重(克)
  10117. type: number
  10118. checklistno:
  10119. description: 核注清单号
  10120. type: string
  10121. confirmdate:
  10122. description: 进出仓确认时间
  10123. type: string
  10124. confirmername:
  10125. description: 进出仓确认人
  10126. type: string
  10127. confirmtradedate:
  10128. description: 进出仓确认交易日(yyyyMMdd)
  10129. type: string
  10130. contactname:
  10131. description: 申请方联系人
  10132. type: string
  10133. contactnum:
  10134. description: 申请方联系电话
  10135. type: string
  10136. customsno:
  10137. description: 报关单号
  10138. type: string
  10139. customstotalvalue:
  10140. description: 报关总值
  10141. type: number
  10142. goodsname:
  10143. description: 商品名称 - 明细的商品名称拼接("/")
  10144. type: string
  10145. jckdate:
  10146. description: 进出口日期
  10147. type: string
  10148. logisticscompany:
  10149. description: 物流公司名称
  10150. type: string
  10151. logisticsno:
  10152. description: 托运单号
  10153. type: string
  10154. netweightct:
  10155. description: 净重(克拉)
  10156. type: number
  10157. netweightgm:
  10158. description: 净重(克)
  10159. type: number
  10160. orderid:
  10161. description: 申请ID(806+Unix秒时间戳(10位)+xxxxxx)
  10162. type: string
  10163. ordernum:
  10164. description: 单据编号
  10165. type: string
  10166. orderstatus:
  10167. description: 进出仓状态 - 1.待确认 2.待上传 3.报关中 4.进仓中 5.出仓中 20.已关闭 21.确认拒绝(枚举:GZBSCOrderStatus)
  10168. type: integer
  10169. ordertype:
  10170. description: 单据类型 - 1:进仓 2:出仓(枚举:GZBSCOrderType)
  10171. type: integer
  10172. outtype:
  10173. description: 出仓类型 - 1:转厂 2:出境(枚举:GZBSCOutType)
  10174. type: integer
  10175. sealno:
  10176. description: 进出仓封条号
  10177. type: string
  10178. signeedate:
  10179. description: 收发货人日期
  10180. type: string
  10181. signeename:
  10182. description: 收发货人
  10183. type: string
  10184. totalprice:
  10185. description: 总价
  10186. type: number
  10187. useraddress:
  10188. description: 申请方地点
  10189. type: string
  10190. userid:
  10191. description: 申请用户ID
  10192. type: integer
  10193. username:
  10194. description: 申请方名称
  10195. type: string
  10196. required:
  10197. - ordertype
  10198. - userid
  10199. type: object
  10200. models.GGzbscposition:
  10201. properties:
  10202. countryname:
  10203. description: 产销国
  10204. type: string
  10205. currencyname:
  10206. description: 币制
  10207. type: string
  10208. customsno:
  10209. description: 报关单号
  10210. type: string
  10211. customsvalue:
  10212. description: 报关总值
  10213. type: number
  10214. executionflag:
  10215. description: 海关执行标志
  10216. type: string
  10217. freezenetweightct:
  10218. description: 冻结净重(克拉)
  10219. type: number
  10220. goodsid:
  10221. description: 商品ID
  10222. type: string
  10223. goodsname:
  10224. description: 商品名称
  10225. type: string
  10226. goodsnum:
  10227. description: 商品编号
  10228. type: string
  10229. goodsspec:
  10230. description: 规格型号
  10231. type: string
  10232. jckdate:
  10233. description: 进口日期
  10234. type: string
  10235. legalunit:
  10236. description: 法定计量单位
  10237. type: string
  10238. netweightct:
  10239. description: 净重(克拉)
  10240. type: number
  10241. netweightgm:
  10242. description: 净重(克)
  10243. type: number
  10244. oricustomsvalue:
  10245. description: 期初报关总值
  10246. type: number
  10247. orifreezeweight:
  10248. description: 期初冻结净重(克拉)
  10249. type: number
  10250. orinetweightct:
  10251. description: 期初净重(克拉)
  10252. type: number
  10253. orinetweightgm:
  10254. description: 期初净重(克)
  10255. type: number
  10256. oritotalprice:
  10257. description: 期初总价
  10258. type: number
  10259. reportunit:
  10260. description: 申报计量单位
  10261. type: string
  10262. storageperiod:
  10263. description: 存储(监管)期限
  10264. type: string
  10265. totalprice:
  10266. description: 总价
  10267. type: number
  10268. unitprice:
  10269. description: 单价
  10270. type: number
  10271. userid:
  10272. description: 用户ID
  10273. type: integer
  10274. required:
  10275. - userid
  10276. type: object
  10277. models.GGzbscusermonthpay:
  10278. properties:
  10279. accountid:
  10280. description: 资金账户ID
  10281. type: integer
  10282. confirmtime:
  10283. description: 确认时间
  10284. type: string
  10285. handlestatus:
  10286. description: 处理状态
  10287. type: integer
  10288. infee:
  10289. description: 进仓报关费
  10290. type: number
  10291. innum:
  10292. description: 进仓报关单数
  10293. type: number
  10294. outfee:
  10295. description: 出仓报关费
  10296. type: number
  10297. outnum:
  10298. description: 出仓报关单数
  10299. type: number
  10300. paymode:
  10301. description: 支付方式 - 1:线上 2:线下(枚举:GZBSCPayMode)
  10302. type: integer
  10303. paystatus:
  10304. description: 支付状态 - 1:待确认 2:待支付 3:已支付(枚举:GZBSCPayStatus)
  10305. type: integer
  10306. paytime:
  10307. description: 支付时间
  10308. type: string
  10309. powerfee:
  10310. description: 分拣室电费
  10311. type: number
  10312. premium:
  10313. description: 保险费
  10314. type: number
  10315. rentdays:
  10316. description: 月租天数
  10317. type: integer
  10318. servicefee:
  10319. description: 分拣室服务费
  10320. type: number
  10321. startdate:
  10322. description: 协议起始日
  10323. type: string
  10324. storagefee:
  10325. description: 仓储费
  10326. type: number
  10327. totalfee:
  10328. description: 合计费用
  10329. type: number
  10330. trademonth:
  10331. description: 月份(yyyMM)
  10332. type: string
  10333. userid:
  10334. description: 用户ID
  10335. type: integer
  10336. required:
  10337. - userid
  10338. type: object
  10339. models.GGzbscuserpowerfee:
  10340. properties:
  10341. createtime:
  10342. description: 创建时间
  10343. type: string
  10344. endpower:
  10345. description: 月末初数
  10346. type: number
  10347. instrumentno:
  10348. description: 仪表编号
  10349. type: number
  10350. powerfee:
  10351. description: 电费(元)
  10352. type: number
  10353. powerfeeid:
  10354. description: 电费单ID(809+Unix秒时间戳(10位)+xxxxxx)
  10355. type: string
  10356. powernum:
  10357. description: 本月用量
  10358. type: number
  10359. powerunit:
  10360. description: 单位
  10361. type: number
  10362. startpower:
  10363. description: 月初读数
  10364. type: number
  10365. trademonth:
  10366. description: 月份(yyyMM)
  10367. type: string
  10368. userid:
  10369. description: 用户ID
  10370. type: integer
  10371. username:
  10372. description: 使用单位
  10373. type: number
  10374. required:
  10375. - trademonth
  10376. - userid
  10377. type: object
  10378. models.GThjinvesotrdeposit:
  10379. properties:
  10380. depositrate:
  10381. description: 定金比例
  10382. type: number
  10383. qty:
  10384. description: 可用量
  10385. type: integer
  10386. userid:
  10387. description: 用户ID
  10388. type: integer
  10389. required:
  10390. - userid
  10391. type: object
  10392. models.GThjinvesotrdepositlog:
  10393. properties:
  10394. accountname:
  10395. description: 用户名
  10396. type: string
  10397. buyuserid:
  10398. description: 采购用户ID
  10399. type: integer
  10400. changeqty:
  10401. description: 变更量
  10402. type: integer
  10403. curdepositqty:
  10404. description: 可用量(变更后)
  10405. type: string
  10406. depositrate:
  10407. description: 定金比例(选中比例)
  10408. type: number
  10409. logid:
  10410. description: 流水ID(336+Unix秒时间戳(10位)+xxxxxx)
  10411. type: string
  10412. oridepositqty:
  10413. description: 可用量(变更前)
  10414. type: integer
  10415. updatetime:
  10416. description: 更新时间
  10417. type: string
  10418. updatorid:
  10419. description: 更新人
  10420. type: integer
  10421. userid:
  10422. description: 用户ID
  10423. type: integer
  10424. wrtradedetailid:
  10425. description: 采购成交单ID
  10426. type: integer
  10427. required:
  10428. - depositrate
  10429. - userid
  10430. type: object
  10431. models.GThjuserscorelog:
  10432. properties:
  10433. createtime:
  10434. description: 记账时间
  10435. type: string
  10436. redpacketvalue:
  10437. description: 红包值【抽奖】
  10438. type: number
  10439. score:
  10440. description: 变动积分
  10441. type: number
  10442. scoreconfigtype:
  10443. description: 配置类型 - 1:注册红包 2:签到积分 3:推广积分 4:下级用户下单积分 5:自己采购下单积分 6:自己供求下单积分
  10444. 7:抽奖配置
  10445. type: integer
  10446. stype:
  10447. description: '[格式:1,2,3] 配置类型 - 1:注册红包 2:签到积分 3:推广积分 4:下级用户下单积分 5:自己采购下单积分
  10448. 6:自己供求下单积分 7:抽奖配置'
  10449. type: string
  10450. type: object
  10451. models.GZGoods:
  10452. properties:
  10453. address:
  10454. description: 详细地址
  10455. type: string
  10456. cerno:
  10457. description: 证书编号 - 类型:2,4,5
  10458. type: string
  10459. cityname:
  10460. description: 城市名称
  10461. type: string
  10462. countryname:
  10463. description: 国家名称
  10464. type: string
  10465. cpcertno:
  10466. description: 金伯利证书编号 - 类型:3
  10467. type: string
  10468. districtname:
  10469. description: 地区名称
  10470. type: string
  10471. goodsno:
  10472. description: 商品编号
  10473. type: string
  10474. imagepath:
  10475. description: 商品照片(相对地址)
  10476. type: string
  10477. isvalid:
  10478. description: 是否有效 - 0:无效 1:有效
  10479. type: integer
  10480. kppath:
  10481. description: 金伯利证书图片(相对地址) - 类型:3
  10482. type: string
  10483. kpweight:
  10484. description: 金伯利证书重量 - 类型:3
  10485. type: string
  10486. marketprice:
  10487. description: 市场价
  10488. type: string
  10489. mobile:
  10490. description: 手机号码
  10491. type: string
  10492. origin:
  10493. description: 原产地 - 类型:3
  10494. type: string
  10495. performancetemplateid:
  10496. description: 履约计划模板ID
  10497. type: integer
  10498. price:
  10499. description: 总价(价格) - 类型:1,2,3,4,5
  10500. type: number
  10501. priceper:
  10502. description: 克拉单价 - 类型:1,2,3,5
  10503. type: string
  10504. provincename:
  10505. description: 省名称
  10506. type: string
  10507. remainqty:
  10508. description: 剩余重量
  10509. type: number
  10510. remark:
  10511. description: 备注
  10512. type: string
  10513. sellusername:
  10514. description: 账户名称(机构名称)
  10515. type: string
  10516. settingmaterial:
  10517. description: 镶嵌材料 - 类型:4
  10518. type: string
  10519. size1:
  10520. description: 尺寸1 - 类型:2,4,5
  10521. type: string
  10522. size2:
  10523. description: 尺寸2 - 类型:2,4,5
  10524. type: string
  10525. size3:
  10526. description: 尺寸3 - 类型:2,4,5
  10527. type: string
  10528. sizedisplay:
  10529. description: 尺寸
  10530. type: string
  10531. stonedesc:
  10532. description: 配石描述 - 类型:4
  10533. type: string
  10534. userid:
  10535. description: 用户ID
  10536. type: integer
  10537. warehouseid:
  10538. description: 仓库ID
  10539. type: integer
  10540. warehousenamedisplay:
  10541. type: string
  10542. weight:
  10543. description: 总重量(克拉重量) - 类型:1,2,3,4,5
  10544. type: number
  10545. weightavg:
  10546. description: 平均单颗重量 - 类型:1,3
  10547. type: number
  10548. wrpath:
  10549. description: 仓单扫描件(相对地址)
  10550. type: string
  10551. wrstandardid:
  10552. description: 现货商品ID
  10553. type: integer
  10554. wrtradeorderid:
  10555. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  10556. type: string
  10557. zscategory:
  10558. description: 钻石分类 - 枚举”ZSCategory“
  10559. type: integer
  10560. zscategorydisplay:
  10561. type: string
  10562. zscerttype:
  10563. description: 证书类型 - 枚举”ZSCertType“ - 类型:2,4,5
  10564. type: integer
  10565. zscerttypedisplay:
  10566. type: string
  10567. zsclaritytype1:
  10568. description: 净度1 - 枚举”ZSClarityType“ - 类型:1,2,3,4,5
  10569. type: integer
  10570. zsclaritytype1display:
  10571. type: string
  10572. zsclaritytype2:
  10573. description: 净度2 - 枚举”ZSClarityType“ - 类型:1,3
  10574. type: integer
  10575. zsclaritytype2display:
  10576. type: string
  10577. zscolortype1:
  10578. description: 颜色1 - 枚举”ZSColorType“ - 类型:1,2,3,4
  10579. type: integer
  10580. zscolortype1display:
  10581. type: string
  10582. zscolortype2:
  10583. description: 颜色2 - 枚举”ZSColorType“ - 类型:1,3
  10584. type: integer
  10585. zscolortype2display:
  10586. type: string
  10587. zscrystaltype:
  10588. description: 晶型范围 - 枚举“ZSCrystalType“ - 类型:3, 多个,逗号分隔
  10589. type: string
  10590. zscrystaltypedisplay:
  10591. type: string
  10592. zscurrencytype:
  10593. description: 货币类型 - 枚举“ZSCurrencyType”
  10594. type: integer
  10595. zscurrencytypedisplay:
  10596. type: string
  10597. zscurrencytypedisplayunit:
  10598. type: string
  10599. zscuttype1:
  10600. description: 切工1 - 枚举”ZSCutType“ - 类型:1,2,4,5
  10601. type: integer
  10602. zscuttype1display:
  10603. type: string
  10604. zscuttype2:
  10605. description: 切工2 - 枚举”ZSCutType“ - 类型:1
  10606. type: integer
  10607. zscuttype2display:
  10608. type: string
  10609. zsczcolor1type:
  10610. description: 彩钻颜色1 - 枚举”ZSCZColor1Type“ - 类型:5
  10611. type: integer
  10612. zsczcolor1typedisplay:
  10613. type: string
  10614. zsczcolor2type:
  10615. description: 彩钻颜色2 - 枚举”ZSCZColor2Type“ - 类型:5
  10616. type: integer
  10617. zsczcolor2typedisplay:
  10618. type: string
  10619. zsczcolor3type:
  10620. description: 彩钻颜色3 - 枚举”ZSCZColor3Type“ - 类型:5
  10621. type: integer
  10622. zsczcolor3typedisplay:
  10623. type: string
  10624. zsfluorescencetype1:
  10625. description: 荧光1 - 枚举”ZSFluorescenceType“ - 类型:1,2,3,4,5
  10626. type: integer
  10627. zsfluorescencetype1display:
  10628. type: string
  10629. zsfluorescencetype2:
  10630. description: 荧光2 - 枚举”ZSFluorescenceType” - 类型:1,3
  10631. type: integer
  10632. zsfluorescencetype2display:
  10633. type: string
  10634. zspolishtype1:
  10635. description: 抛光度1 - 枚举”ZSPolishType“ - 类型:1,2,4,5
  10636. type: integer
  10637. zspolishtype1display:
  10638. type: string
  10639. zspolishtype2:
  10640. description: 抛光度2 - 枚举”ZSPolishType“ - 类型:1
  10641. type: integer
  10642. zspolishtype2display:
  10643. type: string
  10644. zsshapetype:
  10645. description: 形状 - 枚举”ZSShapeType“ - 类型:1,2,4,5 ;(1为多个,逗号分隔)
  10646. type: string
  10647. zsshapetypedisplay:
  10648. type: string
  10649. zsstyletype:
  10650. description: 款式 - 类型:4
  10651. type: integer
  10652. zsstyletypedisplay:
  10653. type: string
  10654. zssymmetrytype1:
  10655. description: 对称度1 - 枚举”ZSSymmetryType“ - 类型:1,2,4,5
  10656. type: integer
  10657. zssymmetrytype1display:
  10658. type: string
  10659. zssymmetrytype2:
  10660. description: 对称度2 - 枚举”ZSSymmetryType“ - 类型:1
  10661. type: integer
  10662. zssymmetrytype2display:
  10663. type: string
  10664. required:
  10665. - goodsno
  10666. type: object
  10667. models.GZHomeData:
  10668. properties:
  10669. purchasedtransactions:
  10670. description: 已购买的交易
  10671. type: integer
  10672. transactioninpurchase:
  10673. description: 求购中的交易
  10674. type: integer
  10675. transactionsonsale:
  10676. description: 出售中的交易
  10677. type: integer
  10678. transactionssold:
  10679. description: 已卖出的交易
  10680. type: integer
  10681. unhandledmessage:
  10682. description: 未处理消息
  10683. type: integer
  10684. type: object
  10685. models.GZMyPresell:
  10686. properties:
  10687. customername:
  10688. description: 企业名称(认购方)
  10689. type: string
  10690. freezemargin:
  10691. description: 冻结保证金
  10692. type: number
  10693. orderqty:
  10694. description: 委托数量
  10695. type: number
  10696. ordertime:
  10697. description: 委托时间(认购时间)
  10698. type: string
  10699. tradeprice:
  10700. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)*
  10701. 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  10702. type: number
  10703. type: object
  10704. models.GZMyTradingPresell:
  10705. properties:
  10706. bannerpicurl:
  10707. description: Banner图(逗号分隔)
  10708. type: string
  10709. customername:
  10710. description: 企业名称(预售方、卖方)
  10711. type: string
  10712. freezemargin:
  10713. description: 冻结保证金\已付保证金
  10714. type: number
  10715. marginalgorithm:
  10716. description: 保证金方式 - 1:比率 2:固定
  10717. type: integer
  10718. marginvalue:
  10719. description: 保证金设置值
  10720. type: number
  10721. orderqty:
  10722. description: 委托数量\认购数量
  10723. type: number
  10724. ordertime:
  10725. description: 委托时间(认购时间)
  10726. type: string
  10727. performanceplanid:
  10728. description: 履约计划ID/合同ID
  10729. type: integer
  10730. performancetemplateid:
  10731. description: 履约计划模板ID
  10732. type: integer
  10733. pictureurls:
  10734. description: 详情图片(逗号分隔)
  10735. type: string
  10736. presaleapplyid:
  10737. description: 预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)
  10738. type: string
  10739. qtydesc:
  10740. description: 数量描述 [2:毛坯钻石]
  10741. type: string
  10742. remark:
  10743. description: 备注
  10744. type: string
  10745. sizestr:
  10746. description: 尺寸 [1:成品裸钻 \ 2:毛坯钻石]
  10747. type: string
  10748. status:
  10749. description: 状态 1:预售中\集采中 2:执行中 3:已完成
  10750. type: integer
  10751. thumurls:
  10752. description: 缩略图片(1:1)(逗号分隔)
  10753. type: string
  10754. tradeamount:
  10755. description: 货款
  10756. type: number
  10757. tradeprice:
  10758. description: 成交价格\认购价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)*
  10759. 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  10760. type: number
  10761. weightdesc:
  10762. description: 重量描述 [2:毛坯钻石]
  10763. type: string
  10764. wrstandardname:
  10765. description: 商品
  10766. type: string
  10767. wrtradeorderid:
  10768. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  10769. type: integer
  10770. yieldrate:
  10771. description: 成品率 [2:毛坯钻石]
  10772. type: string
  10773. ysproductionmode:
  10774. description: 生产方式 - 枚举”YSProductionMode“ [2:毛坯钻石] 1:HPHT 2:CVD
  10775. type: integer
  10776. yszscategory:
  10777. description: 钻石分类 - 枚举”YSZSCategory“ 1:成品裸钻 2:毛坯钻石
  10778. type: integer
  10779. zsclaritytypestr:
  10780. description: 净度 [1:成品裸钻 \ 2:毛坯钻石]
  10781. type: string
  10782. zscolortypestr:
  10783. description: 颜色 [1:成品裸钻 \ 2:毛坯钻石]
  10784. type: string
  10785. zscuttypestr:
  10786. description: 切工 [1:成品裸钻]
  10787. type: string
  10788. zsfluorescencetypestr:
  10789. description: 荧光 [1:成品裸钻]
  10790. type: string
  10791. zspolishtypestr:
  10792. description: 抛光 [1:成品裸钻]
  10793. type: string
  10794. zsshapetypestr:
  10795. description: 形状 [1:成品裸钻]
  10796. type: string
  10797. zssymmetrytypestr:
  10798. description: 对称 [1:成品裸钻]
  10799. type: string
  10800. type: object
  10801. models.GZPresell:
  10802. properties:
  10803. bannerpicurl:
  10804. description: Banner图(逗号分隔)
  10805. type: string
  10806. baseqty:
  10807. description: 中签基数
  10808. type: number
  10809. buymarginalgorithm:
  10810. description: 采购保证金方式
  10811. type: integer
  10812. buymarginvalue:
  10813. description: 采购保证金值
  10814. type: number
  10815. createtime:
  10816. description: 创建时间\申请时间
  10817. type: string
  10818. customername:
  10819. description: 企业名称(预售方\卖方)
  10820. type: string
  10821. deliverygoodsid:
  10822. description: 现货品种ID
  10823. type: integer
  10824. enddate:
  10825. description: 预售结束日期
  10826. type: string
  10827. endhandletime:
  10828. description: 到期处理时间
  10829. type: string
  10830. lastprice:
  10831. description: 实际价格(64)
  10832. type: number
  10833. lotteryflag:
  10834. description: 摇号标识 - 0:未摇号 1:已摇号 2:摇号中 3:摇号失败
  10835. type: integer
  10836. lotteryqty:
  10837. description: 摇号总量
  10838. type: number
  10839. luckynums:
  10840. description: 中签号码(按顺序逗号分隔)
  10841. type: string
  10842. luckyqty:
  10843. description: 已中签量\成交量
  10844. type: number
  10845. marketid:
  10846. description: 市场ID
  10847. type: integer
  10848. maxbuyqty:
  10849. description: 单人最大申购量
  10850. type: number
  10851. maxluckyqty:
  10852. description: 单人最大中签量 - 作废
  10853. type: number
  10854. minbuyqty:
  10855. description: 最小采购单位
  10856. type: number
  10857. minsuccessqty:
  10858. description: 最低成团量
  10859. type: number
  10860. performancetemplateid:
  10861. description: 履约模板ID
  10862. type: integer
  10863. pictureurls:
  10864. description: 详情图片(逗号分隔)
  10865. type: string
  10866. placeqty:
  10867. description: 已配售量
  10868. type: number
  10869. presaleapplyid:
  10870. description: 预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)
  10871. type: string
  10872. presaleqty:
  10873. description: 预售总量\预售数量
  10874. type: number
  10875. presalestatus:
  10876. description: 预售状态 - 1:未开始 2:进行中 3:已结束 4:已关闭 5:处理中 6::处理失败 7:已完成
  10877. type: integer
  10878. qtydesc:
  10879. description: 数量描述 [2:毛坯钻石]
  10880. type: string
  10881. remark:
  10882. description: 备注
  10883. type: string
  10884. sellaccountid:
  10885. description: 发行方资金账户ID
  10886. type: integer
  10887. sellmarginalgorithm:
  10888. description: 卖方保证金方式
  10889. type: integer
  10890. sellmarginvalue:
  10891. description: 卖方保证金值
  10892. type: number
  10893. selluserid:
  10894. description: 发行方用户ID
  10895. type: integer
  10896. sellwrtradeorderid:
  10897. description: 发行方卖委托单ID
  10898. type: string
  10899. sizestr:
  10900. description: 尺寸 [1:成品裸钻 \ 2:毛坯钻石]
  10901. type: string
  10902. startdate:
  10903. description: 预售开始日期
  10904. type: string
  10905. takestartdate:
  10906. description: 提货开始日期
  10907. type: string
  10908. thumurls:
  10909. description: 缩略图片(1:1)(逗号分隔)
  10910. type: string
  10911. tradedate:
  10912. description: 交易日
  10913. type: string
  10914. tradeqty:
  10915. description: 成交数量(已预售数量)
  10916. type: number
  10917. unitid:
  10918. description: 单位ID
  10919. type: integer
  10920. unitprice:
  10921. description: 商品单价\预售价格
  10922. type: number
  10923. warehouseid:
  10924. description: 仓库ID
  10925. type: integer
  10926. weightdesc:
  10927. description: 重量描述 [2:毛坯钻石]
  10928. type: string
  10929. wrfactortypeid:
  10930. description: 仓单要素类型ID - 根据现货商品\仓库生成
  10931. type: string
  10932. wrstandardid:
  10933. description: 现货商品ID
  10934. type: integer
  10935. wrstandardname:
  10936. description: 现货商品名称
  10937. type: string
  10938. yieldrate:
  10939. description: 成品率 [2:毛坯钻石]
  10940. type: string
  10941. ysproductionmode:
  10942. description: 生产方式 - 枚举”YSProductionMode“ [2:毛坯钻石] 1:HPHT 2:CVD
  10943. type: integer
  10944. yszscategory:
  10945. description: 钻石分类 - 枚举”YSZSCategory“ 1:成品裸钻 2:毛坯钻石
  10946. type: integer
  10947. zsclaritytypestr:
  10948. description: 净度 [1:成品裸钻 \ 2:毛坯钻石]
  10949. type: string
  10950. zscolortypestr:
  10951. description: 颜色 [1:成品裸钻 \ 2:毛坯钻石]
  10952. type: string
  10953. zscuttypestr:
  10954. description: 切工 [1:成品裸钻]
  10955. type: string
  10956. zsfluorescencetypestr:
  10957. description: 荧光 [1:成品裸钻]
  10958. type: string
  10959. zspolishtypestr:
  10960. description: 抛光 [1:成品裸钻]
  10961. type: string
  10962. zsshapetypestr:
  10963. description: 形状 [1:成品裸钻]
  10964. type: string
  10965. zssymmetrytypestr:
  10966. description: 对称 [1:成品裸钻]
  10967. type: string
  10968. required:
  10969. - marketid
  10970. - presalestatus
  10971. type: object
  10972. models.GZWarehouseinfo:
  10973. properties:
  10974. address:
  10975. description: 详细地址
  10976. type: string
  10977. areauserid:
  10978. description: 所属机构
  10979. type: integer
  10980. autoid:
  10981. description: 自增ID
  10982. type: integer
  10983. cityid:
  10984. description: 市
  10985. type: integer
  10986. cityname:
  10987. description: 城市名称
  10988. type: string
  10989. contactname:
  10990. description: 联系人
  10991. type: string
  10992. contactnum:
  10993. description: 联系电话
  10994. type: string
  10995. countryid:
  10996. description: 国家
  10997. type: integer
  10998. countryname:
  10999. description: 国家名称
  11000. type: string
  11001. createtime:
  11002. description: 创建时间
  11003. type: string
  11004. districtid:
  11005. description: 区
  11006. type: integer
  11007. districtname:
  11008. description: 地区名称
  11009. type: string
  11010. hasvideo:
  11011. description: 是否有视频 - 0:无 1:有
  11012. type: integer
  11013. provinceid:
  11014. description: 省
  11015. type: integer
  11016. provincename:
  11017. description: 省名称
  11018. type: string
  11019. remark:
  11020. description: 审核备注
  11021. type: string
  11022. videourl:
  11023. description: 视频地址
  11024. type: string
  11025. warehousecode:
  11026. description: 仓库代码
  11027. type: string
  11028. warehousename:
  11029. description: 仓库名称
  11030. type: string
  11031. warehousestatus:
  11032. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  11033. type: integer
  11034. warehousetype:
  11035. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  11036. type: integer
  11037. type: object
  11038. models.Goods:
  11039. properties:
  11040. agreeunit:
  11041. description: 合约单位
  11042. type: number
  11043. areauserid:
  11044. description: 所属机构
  11045. type: integer
  11046. auditaccountid:
  11047. description: 审核操作员账号
  11048. type: integer
  11049. audittime:
  11050. description: 审核时间
  11051. type: string
  11052. cancelaccountid:
  11053. description: 注销操作员账号
  11054. type: integer
  11055. canceltime:
  11056. description: 注销时间
  11057. type: string
  11058. closepricemode:
  11059. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  11060. type: integer
  11061. closepriceparam:
  11062. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  11063. type: number
  11064. createtime:
  11065. description: 创建时间
  11066. type: string
  11067. creatorid:
  11068. description: 创建人
  11069. type: integer
  11070. currencyid:
  11071. description: 报价货币ID
  11072. type: integer
  11073. cutmode:
  11074. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  11075. type: integer
  11076. decimalplace:
  11077. description: 报价小数位
  11078. type: integer
  11079. delistingdate:
  11080. description: 商品退市时间(状态:退市) -- 已作废
  11081. type: string
  11082. delistingmode:
  11083. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  11084. type: integer
  11085. deliveryflag:
  11086. description: 交割标志 - 0:不可交割 1:可交割
  11087. type: integer
  11088. forceclosemode:
  11089. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  11090. type: integer
  11091. forceclosevalue:
  11092. description: 定期强平参数 [收益权]
  11093. type: integer
  11094. goodscode:
  11095. description: 商品代码(内部)
  11096. type: string
  11097. goodscurrencyid:
  11098. description: 合约货币ID
  11099. type: integer
  11100. goodsgroupid:
  11101. description: 所属商品组ID
  11102. type: integer
  11103. goodsid:
  11104. description: 商品ID(自增ID SEQ_GOODS)
  11105. type: integer
  11106. goodsname:
  11107. description: 商品名称
  11108. type: string
  11109. goodsquotetype:
  11110. description: '合约报价类型: 1-直接报价 2-间接报价'
  11111. type: integer
  11112. goodsstatus:
  11113. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  11114. type: integer
  11115. goodstradetype:
  11116. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  11117. type: integer
  11118. goodunitid:
  11119. description: 报价单位ID
  11120. type: integer
  11121. hasquoter:
  11122. description: 是否有报价商 - 0:无报价商 1:有报价商
  11123. type: integer
  11124. hqprotecttime:
  11125. description: 行情保护时间(秒)
  11126. type: integer
  11127. innerdealmode:
  11128. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  11129. type: integer
  11130. isbuylimited:
  11131. description: 是否限制建仓量 - 0:不限制 1:限制
  11132. type: integer
  11133. isvisible:
  11134. description: 游客是否可见 - 0:不可见 1:可见
  11135. type: integer
  11136. lasttradedate:
  11137. description: 最后交易日期(状态:待退市)
  11138. type: string
  11139. listingdate:
  11140. description: 交易开始日期
  11141. type: string
  11142. marketid:
  11143. description: 所属市场ID
  11144. type: integer
  11145. modifierid:
  11146. description: 修改人
  11147. type: integer
  11148. modifystatus:
  11149. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  11150. type: integer
  11151. modifytime:
  11152. description: 修改时间
  11153. type: string
  11154. outerdealmode:
  11155. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  11156. type: integer
  11157. outgoodscode:
  11158. description: 商品代码(外部)
  11159. type: string
  11160. pictureurl:
  11161. description: 商品图片
  11162. type: string
  11163. qtydecimalplace:
  11164. description: 成交量小数位
  11165. type: integer
  11166. quotegear:
  11167. description: 行情档位(1-10)
  11168. type: integer
  11169. quoteminunit:
  11170. description: 行情最小变动单位 [整数,报价小数位一起使用]
  11171. type: integer
  11172. quoteshowtype:
  11173. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  11174. type: integer
  11175. quoteshowtypeinterval:
  11176. description: 行情报价间隔时间(秒)(成交价时为0)
  11177. type: integer
  11178. remark:
  11179. description: 备注
  11180. type: string
  11181. required:
  11182. - goodscode
  11183. - goodsid
  11184. - goodsname
  11185. - marketid
  11186. type: object
  11187. models.GoodsIDAndName:
  11188. properties:
  11189. goodscode:
  11190. description: 商品代码(内部)
  11191. type: string
  11192. goodsid:
  11193. description: 商品ID(自增ID SEQ_GOODS)
  11194. type: integer
  11195. goodsname:
  11196. description: 商品名称
  11197. type: string
  11198. marketid:
  11199. description: 所属市场ID
  11200. type: integer
  11201. required:
  11202. - goodscode
  11203. - goodsid
  11204. - goodsname
  11205. - marketid
  11206. type: object
  11207. models.Goodsgroup:
  11208. properties:
  11209. agreeunit:
  11210. description: 合约单位
  11211. type: number
  11212. canshort:
  11213. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  11214. type: integer
  11215. closepricemode:
  11216. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  11217. type: integer
  11218. closepriceparam:
  11219. description: 强平最新价浮动比例 - 方式为2时使用
  11220. type: number
  11221. createtime:
  11222. description: 创建时间
  11223. type: string
  11224. creatorid:
  11225. description: 创建人
  11226. type: integer
  11227. currencyid:
  11228. description: 报价货币ID
  11229. type: integer
  11230. decimalplace:
  11231. description: 报价小数位
  11232. type: integer
  11233. exercisetype:
  11234. description: 行权类型[场外期权]-1:欧式期权 2:美式期权
  11235. type: integer
  11236. exexchangeid:
  11237. description: 外部交易所ID[通道交易]
  11238. type: integer
  11239. goodsgroupid:
  11240. description: 商品组ID(自增ID)
  11241. type: integer
  11242. goodsgroupname:
  11243. description: 商品组名称
  11244. type: string
  11245. goodsgroupstatus:
  11246. description: 商品组状态 - 1:正常 2:注销
  11247. type: integer
  11248. goodunitid:
  11249. description: 报价单位ID
  11250. type: integer
  11251. innerdealmode:
  11252. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  11253. type: integer
  11254. isbuylimited:
  11255. description: 是否限制建仓量 - 0:不限制 1:限制
  11256. type: integer
  11257. marketid:
  11258. description: 所属市场ID
  11259. type: integer
  11260. modifierid:
  11261. description: 修改人
  11262. type: integer
  11263. modifytime:
  11264. description: 修改时间
  11265. type: string
  11266. outerdealmode:
  11267. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  11268. type: integer
  11269. outergroupcode:
  11270. description: 外部商品组代码[通道交易]
  11271. type: string
  11272. premiumdecimalplace:
  11273. description: 权利金小数位[场外期权]
  11274. type: integer
  11275. premiumspreadalgorithm:
  11276. description: 权利金点差方式[场外期权] 1:比率 2:固定
  11277. type: integer
  11278. premiumspreadvalue:
  11279. description: 权利金点差值[场外期权]
  11280. type: number
  11281. qtydecimalplace:
  11282. description: 成交量小数位
  11283. type: integer
  11284. quotegear:
  11285. description: 行情档位(1-10)
  11286. type: integer
  11287. quoteminunit:
  11288. description: 行情最小变动单位 [整数,报价小数位一起使用]
  11289. type: integer
  11290. quoterid:
  11291. description: 报价商ID[场外期权]
  11292. type: integer
  11293. quotesourcegroupid:
  11294. description: 所属行情源分组ID[参考行情市场用\通道交易]
  11295. type: integer
  11296. syncgoodsqty:
  11297. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  11298. type: integer
  11299. required:
  11300. - goodsgroupid
  11301. - goodsgroupname
  11302. - goodsgroupstatus
  11303. - marketid
  11304. type: object
  11305. models.Goodssortbypreposition:
  11306. properties:
  11307. goodscode:
  11308. description: 合约代码 - 易盛接口:合约代码=品种代码+合约代码
  11309. type: string
  11310. goodsgroupcode:
  11311. description: 品种代码
  11312. type: string
  11313. prepositionqty:
  11314. description: 昨持仓量
  11315. type: integer
  11316. sortindex:
  11317. description: 排序
  11318. type: integer
  11319. tradedate:
  11320. description: 交易日
  11321. type: string
  11322. updatetime:
  11323. description: 更新时间
  11324. type: string
  11325. required:
  11326. - goodscode
  11327. - tradedate
  11328. type: object
  11329. models.Gzbscgoods:
  11330. properties:
  11331. countryname:
  11332. description: 产销国
  11333. type: string
  11334. currencyname:
  11335. description: 币制
  11336. type: string
  11337. executionflag:
  11338. description: 海关执行标志
  11339. type: string
  11340. goodsid:
  11341. description: 商品ID(料号)
  11342. type: integer
  11343. goodsname:
  11344. description: 商品名称
  11345. type: string
  11346. goodsnum:
  11347. description: 商品编号
  11348. type: string
  11349. goodsspec:
  11350. description: 规格型号
  11351. type: string
  11352. legalunit:
  11353. description: 法定计量单位
  11354. type: string
  11355. reportunit:
  11356. description: 申报计量单位
  11357. type: string
  11358. storageperiod:
  11359. description: 存储(监管)期限
  11360. type: string
  11361. unitprice:
  11362. description: 单价
  11363. type: number
  11364. type: object
  11365. models.Gzbscreckonorder:
  11366. properties:
  11367. accountid:
  11368. description: 资金账户ID
  11369. type: integer
  11370. applicant:
  11371. description: 申请人
  11372. type: string
  11373. applicanttime:
  11374. description: 申请时间
  11375. type: string
  11376. confirmtime:
  11377. description: 确认时间
  11378. type: string
  11379. contractno:
  11380. description: 合同编号
  11381. type: string
  11382. customsfee:
  11383. description: 报关费
  11384. type: string
  11385. handlestatus:
  11386. description: 处理状态
  11387. type: integer
  11388. importfile:
  11389. description: 导入文件名
  11390. type: string
  11391. importtime:
  11392. description: 导入时间
  11393. type: string
  11394. orderid:
  11395. description: 单据ID(SEQ_GZ_BSCRECKONORDER)
  11396. type: integer
  11397. paystatus:
  11398. description: 支付状态 - 2:待支付 3:已支付(枚举:GZBSCPayStatus)
  11399. type: integer
  11400. paytime:
  11401. description: 支付时间
  11402. type: string
  11403. paytradedate:
  11404. description: 支付交易日(yyyyMMdd)
  11405. type: string
  11406. powerfee:
  11407. description: 分拣室电费
  11408. type: string
  11409. premium:
  11410. description: 保险费
  11411. type: string
  11412. reckonmonth:
  11413. description: 结算月份(yyyyMM)
  11414. type: string
  11415. servicefee:
  11416. description: 分拣室服务费
  11417. type: string
  11418. storagefee:
  11419. description: 仓储费
  11420. type: string
  11421. totalfee:
  11422. description: 合计费用
  11423. type: number
  11424. userid:
  11425. description: 用户ID
  11426. type: integer
  11427. userkey:
  11428. description: 用户唯一标识
  11429. type: string
  11430. wmsorderid:
  11431. description: WMS结算单流水号
  11432. type: string
  11433. required:
  11434. - userid
  11435. type: object
  11436. models.GzbsfworderM:
  11437. properties:
  11438. accountid:
  11439. description: 资金账户ID
  11440. type: integer
  11441. addresscn:
  11442. description: 地址(中文)
  11443. type: string
  11444. addressen:
  11445. description: 地址(英文)
  11446. type: string
  11447. advanceamount:
  11448. description: 总预付款
  11449. type: number
  11450. colorrange:
  11451. description: 颜色范围
  11452. type: string
  11453. companynamecn:
  11454. description: 收货人(中文)
  11455. type: string
  11456. companynameen:
  11457. description: 收货人(英文)
  11458. type: string
  11459. contactfax:
  11460. description: 收货人传真
  11461. type: string
  11462. contactname:
  11463. description: 收货人姓名
  11464. type: string
  11465. contactphoneno:
  11466. description: 收货人电话
  11467. type: string
  11468. contentrange:
  11469. description: 【内容】内容范围
  11470. type: string
  11471. createtime:
  11472. description: 创建时间
  11473. type: string
  11474. executestatus:
  11475. description: 执行状态 - 1:未生效 2:进行中 3:已结束
  11476. type: integer
  11477. gzbsdeliverytype:
  11478. description: 收货方式 - 枚举"GZBSDeliveryType"
  11479. type: integer
  11480. gzbsstatus:
  11481. description: 单据状态(保税服务) - 枚举"GZBSStatus"
  11482. type: integer
  11483. gzbsstatusdisplay:
  11484. description: 单据状态
  11485. type: string
  11486. handlestatus:
  11487. description: 处理状态
  11488. type: integer
  11489. orderdate:
  11490. description: 单据日期
  11491. type: string
  11492. orderid:
  11493. description: 单据ID(804+Unix秒时间戳(10位)+xxxxxx)
  11494. type: string
  11495. orderno:
  11496. description: 单据编号 - GZDEBSFW+单据流水号
  11497. type: string
  11498. ordersn:
  11499. description: 单据流水号 - yymm000 - yy表示年份,mm表示月份,年份、月份以两位数表示;000表示流水序号,序号不足三位以0补全
  11500. type: string
  11501. origincountry:
  11502. description: 原产国
  11503. type: string
  11504. otherlogistics:
  11505. description: 指定其它物流
  11506. type: string
  11507. priceper:
  11508. description: 单价(美元/克拉) = 总值(美元) / 总净重(克拉)
  11509. type: number
  11510. settleamount:
  11511. description: 总结算费用 - 实际扣除资金,不含税费保证金
  11512. type: number
  11513. shaperange:
  11514. description: 形状范围
  11515. type: string
  11516. taxmargin:
  11517. description: 税费保证金 - 确认结算费用时退回
  11518. type: number
  11519. totalamount:
  11520. description: 总值(美元)
  11521. type: number
  11522. totalgrossweightgm:
  11523. description: 总毛重(克)
  11524. type: number
  11525. totalnetweightgm:
  11526. description: 总净重(克)
  11527. type: number
  11528. totalnetweigthct:
  11529. description: 总净重(克拉)
  11530. type: number
  11531. totalnumber:
  11532. description: 总粒数
  11533. type: integer
  11534. userid:
  11535. description: 用户ID
  11536. type: integer
  11537. weightrange:
  11538. description: 重量规格范围 - Min(NetWeigthCT)- Max(NetWeigthCT)
  11539. type: string
  11540. required:
  11541. - userid
  11542. type: object
  11543. models.GzbsfworderdetailM:
  11544. properties:
  11545. colorinfo:
  11546. description: 彩钻信息
  11547. type: string
  11548. createtime:
  11549. description: 创建时间
  11550. type: string
  11551. grossweightgm:
  11552. description: 毛重(克)
  11553. type: number
  11554. gzcjshape:
  11555. description: 形状(字符)
  11556. type: string
  11557. netweigthct:
  11558. description: 净重(克拉)
  11559. type: number
  11560. netweigthgm:
  11561. description: 净重(克)
  11562. type: number
  11563. ordercontent:
  11564. description: 内容
  11565. type: string
  11566. orderdetailid:
  11567. description: 单据明细ID(805+Unix秒时间戳(10位)+xxxxxx)
  11568. type: string
  11569. orderid:
  11570. description: 单据ID(804+Unix秒时间戳(10位)+xxxxxx)
  11571. type: string
  11572. orderindex:
  11573. description: 顺序
  11574. type: integer
  11575. perprice:
  11576. description: 单价(美元/克拉) = 总值(美元) / 净重(克拉)
  11577. type: number
  11578. remark:
  11579. description: 备注(其它)
  11580. type: string
  11581. totalamount:
  11582. description: 总值(美元)
  11583. type: number
  11584. type: object
  11585. models.Gzbsfworderoperate:
  11586. properties:
  11587. advanceproofaddr:
  11588. description: 预付款收款凭证(确认结算费用时)
  11589. type: string
  11590. bankfee:
  11591. description: 汇款银行手续费
  11592. type: number
  11593. bankproofaddr:
  11594. description: 广钻汇款银行手续费凭证(确认结算费用时)
  11595. type: string
  11596. customsproofaddr:
  11597. description: 海关税费保证金收据(确认结算费用时)
  11598. type: string
  11599. gzbsstatus:
  11600. description: 操作后单据状态 - 枚举"GZBSStatus"
  11601. type: integer
  11602. logisticsfee:
  11603. description: 代缴物流保险费
  11604. type: number
  11605. logisticsproofaddr:
  11606. description: 代缴物流保险费凭证(确认结算费用时)
  11607. type: string
  11608. operatetime:
  11609. description: 操作时间
  11610. type: string
  11611. operatoraccount:
  11612. description: 操作人账号 - systemmanager的logincode 或 loginaccount的logincode,无则用loginid
  11613. type: string
  11614. operatorid:
  11615. description: 操作人ID - systemmanager的autoid 或 loginaccount的loginid
  11616. type: integer
  11617. operatorname:
  11618. description: 操作人名称 - systemmanager的username 或 loginaccount的logincode,无则用loginid
  11619. type: string
  11620. operatorsrc:
  11621. description: 操作人来源 - 1:管理端 2:终端
  11622. type: integer
  11623. orderid:
  11624. description: 单据ID(804+Unix秒时间戳(10位)+xxxxxx)
  11625. type: integer
  11626. otherfee:
  11627. description: 其它费用
  11628. type: number
  11629. remark:
  11630. description: 操作备注
  11631. type: string
  11632. servicefee:
  11633. description: 综合服务费
  11634. type: number
  11635. taxmargin:
  11636. description: 税费保证金
  11637. type: number
  11638. totalfee:
  11639. description: 总费用 = 费用之和 (结算费用时不含税费保证金)
  11640. type: number
  11641. required:
  11642. - orderid
  11643. type: object
  11644. models.Gzcertaddressconfig:
  11645. properties:
  11646. certregion:
  11647. description: 证书地域 - 1:国内 2:国际
  11648. type: integer
  11649. certtype:
  11650. description: 证书类型
  11651. type: string
  11652. orderindex:
  11653. description: 显示顺序
  11654. type: integer
  11655. orgcnname:
  11656. description: 机构名称(中文)
  11657. type: string
  11658. orgenname:
  11659. description: 机构名称(英文)
  11660. type: string
  11661. queryaddress:
  11662. description: 查询地址
  11663. type: string
  11664. remark:
  11665. description: 备注
  11666. type: string
  11667. updatetime:
  11668. description: 更新时间
  11669. type: string
  11670. type: object
  11671. models.Gzcertaddressparam:
  11672. properties:
  11673. certtype:
  11674. description: 证书类型
  11675. type: string
  11676. orderindex:
  11677. description: 参数顺序
  11678. type: integer
  11679. paramkey:
  11680. description: 参数Key
  11681. type: string
  11682. paramname:
  11683. description: 参数名称
  11684. type: string
  11685. updatetime:
  11686. description: 更新时间
  11687. type: string
  11688. type: object
  11689. models.GzcjbsorderfileM:
  11690. properties:
  11691. canmembervisit:
  11692. description: 会员是否可访问 - 1:可 2:不可
  11693. type: integer
  11694. fileaddress:
  11695. description: 文件地址
  11696. type: string
  11697. filegentype:
  11698. description: 文件生成类型 - 1:系统生成 2:手动上传
  11699. type: integer
  11700. filename:
  11701. description: 文件名称
  11702. type: string
  11703. operatetime:
  11704. description: 操作时间
  11705. type: string
  11706. operatoraccount:
  11707. description: 操作人账号 - systemmanager的logincode 或 loginaccount的logincode,无则用loginid
  11708. type: string
  11709. operatorid:
  11710. description: 操作人ID - systemmanager的autoid 或 loginaccount的loginid
  11711. type: integer
  11712. operatorsrc:
  11713. description: 操作人来源 - 1:管理端 2:终端
  11714. type: integer
  11715. orderfileid:
  11716. description: 单据文件ID(803+Unix秒时间戳(10位)+xxxxxx)
  11717. type: integer
  11718. orderid:
  11719. description: 单据ID(801+Unix秒时间戳(10位)+xxxxxx)
  11720. type: integer
  11721. required:
  11722. - orderid
  11723. type: object
  11724. models.GzcjjcorderM:
  11725. properties:
  11726. accountid:
  11727. description: 资金账户ID
  11728. type: integer
  11729. addresscn:
  11730. description: 地址(中文)
  11731. type: string
  11732. addressen:
  11733. description: 地址(英文)
  11734. type: string
  11735. advanceamount:
  11736. description: 总预付款
  11737. type: number
  11738. colorrange:
  11739. description: 颜色范围
  11740. type: string
  11741. companynamecn:
  11742. description: 公司名称(中文)
  11743. type: string
  11744. companynameen:
  11745. description: 公司名称(英文)
  11746. type: string
  11747. contactname:
  11748. description: 联系人姓名
  11749. type: string
  11750. contactphoneno:
  11751. description: 联系人电话
  11752. type: string
  11753. contactposition:
  11754. description: 联系人职位
  11755. type: string
  11756. createtime:
  11757. description: 创建时间
  11758. type: string
  11759. email:
  11760. description: 邮箱
  11761. type: string
  11762. executestatus:
  11763. description: 执行状态 - 1:未生效 2:进行中 3:已结束
  11764. type: integer
  11765. gzcjaccount:
  11766. description: 送检账户
  11767. type: string
  11768. gzcjaccounttype:
  11769. description: 检测账户类型 - 枚举"GZCJAccountType"
  11770. type: integer
  11771. gzcjcategorytype:
  11772. description: 货物品类 - 枚举"GZCJCategoryType"
  11773. type: integer
  11774. gzcjcategorytypedisplay:
  11775. description: 货物品类
  11776. type: string
  11777. gzcjdeliverytype:
  11778. description: 收货方式 - 枚举"GZCJDeliveryType"
  11779. type: integer
  11780. gzcjdeliverytypedisplay:
  11781. description: 收货方式
  11782. type: string
  11783. gzcjstatus:
  11784. description: 单据状态(出境检测) - 枚举"GZCJStatus"
  11785. type: integer
  11786. gzcjstatusdisplay:
  11787. description: 单据状态(出境检测)
  11788. type: string
  11789. handlestatus:
  11790. description: 处理状态
  11791. type: integer
  11792. invoiceremark:
  11793. description: 复核备注 - 发票装箱单使用
  11794. type: string
  11795. orderid:
  11796. description: 单据ID(801+Unix秒时间戳(10位)+xxxxxx)
  11797. type: integer
  11798. orderidstr:
  11799. description: 单据ID 字符(801+Unix秒时间戳(10位)+xxxxxx)
  11800. type: string
  11801. orderno:
  11802. description: 单据编号 - 合同编号:GZDECJJC+单据流水号
  11803. type: string
  11804. ordersn:
  11805. description: 单据流水号 - yymm000 - yy表示年份,mm表示月份,年份、月份以两位数表示;000表示流水序号,序号不足三位以0补全
  11806. type: string
  11807. origincountry:
  11808. description: 原产国
  11809. type: string
  11810. processingcountry:
  11811. description: 成品钻石加工国
  11812. type: string
  11813. realservicefee:
  11814. description: 应收综合服务费
  11815. type: number
  11816. servicefeesum:
  11817. description: 汇总综合服务费 - 明细上值汇总
  11818. type: number
  11819. settleamount:
  11820. description: 总结算费用
  11821. type: number
  11822. shaperange:
  11823. description: 形状范围
  11824. type: string
  11825. totalamount:
  11826. description: 总金额(美元)
  11827. type: number
  11828. totalgrossweight:
  11829. description: 总毛重(克) = 每100颗单颗裸石毛重200克,毛重不足200克按200克计 (TotalNumber/100 向上取整)
  11830. * 200
  11831. type: number
  11832. totalnumber:
  11833. description: 总粒数
  11834. type: integer
  11835. totalweight:
  11836. description: 总克拉数(保留3位小数)
  11837. type: number
  11838. totalweightgm:
  11839. description: 总净重(克) = TotalWeight * 0.2 (2位小数)
  11840. type: number
  11841. userid:
  11842. description: 用户ID
  11843. type: integer
  11844. weightrange:
  11845. description: 重量规格范围 - Min(Weight) - Max(Weight)
  11846. type: string
  11847. zsorigin:
  11848. description: 天然钻石毛坯原产地
  11849. type: string
  11850. required:
  11851. - userid
  11852. type: object
  11853. models.GzcjjcorderdetailM:
  11854. properties:
  11855. amount:
  11856. description: 参考货值(USD)
  11857. type: number
  11858. colorinfo:
  11859. description: 彩钻信息
  11860. type: string
  11861. createtime:
  11862. description: 创建时间
  11863. type: string
  11864. gzcjmarktype:
  11865. description: 刻印服务 - 枚举"GZCJMarkType" 【送检账户为“广钻账户”】
  11866. type: integer
  11867. gzcjpublishtype:
  11868. description: 是否披露处理 - 枚举 GZCJPublishType【送检账户为“广钻账户”】
  11869. type: integer
  11870. gzcjpublishtypestring:
  11871. description: 是否披露处理 - 枚举 GZCJPublishType 对应的显示值
  11872. type: string
  11873. gzcjservicetype:
  11874. description: 服务类别 - 枚举 GZCJServiceType【送检账户为“广钻账户”】
  11875. type: integer
  11876. gzcjservicetypestring:
  11877. description: 服务类别 - 枚举 GZCJServiceType 对应的显示值
  11878. type: string
  11879. gzcjshapetype:
  11880. description: 形状 - 枚举"GZCJShapeType"
  11881. type: integer
  11882. gzcjshapetypestring:
  11883. description: 形状(字符) - 枚举"GZCJShapeType"对应的显示值
  11884. type: string
  11885. gzno:
  11886. description: 货物编号
  11887. type: string
  11888. orderdetailid:
  11889. description: 单据明细ID(802+Unix秒时间戳(10位)+xxxxxx)
  11890. type: string
  11891. orderid:
  11892. description: 单据ID(801+Unix秒时间戳(10位)+xxxxxx)
  11893. type: string
  11894. orderindex:
  11895. description: 顺序
  11896. type: integer
  11897. origincertno:
  11898. description: 原证书号【送检账户为“广钻账户”】
  11899. type: string
  11900. remark:
  11901. description: 备注(其它)
  11902. type: string
  11903. servicefee:
  11904. description: 综合服务费 - 根据市场配置计算
  11905. type: number
  11906. weight:
  11907. description: 重量(CT)
  11908. type: number
  11909. type: object
  11910. models.Gzcjjcorderoperate:
  11911. properties:
  11912. advanceamount:
  11913. description: 总预付款
  11914. type: number
  11915. advanceproofaddr:
  11916. description: 预付检测费和海关税费银行凭证(确认结算费用时)
  11917. type: string
  11918. bankfee:
  11919. description: 汇款银行手续费 [GZCJStatus = 10.预付款确认中\13.付款确认中] 时
  11920. type: number
  11921. bankproofaddr:
  11922. description: 广钻汇款银行手续费凭证(确认结算费用时)
  11923. type: string
  11924. customsfee:
  11925. description: 海关税费 [GZCJStatus = 10.预付款确认中\13.付款确认中] 时
  11926. type: number
  11927. customsproofaddr:
  11928. description: 海关税费凭证(确认结算费用时)
  11929. type: string
  11930. exchangerate:
  11931. description: 汇率 [GZCJStatus = 10.预付款确认中\13.付款确认中] 时
  11932. type: number
  11933. giaproofaddr:
  11934. description: GIA检测费凭证(确认结算费用时)
  11935. type: string
  11936. giarmbfee:
  11937. description: GIA检测费(¥) [GZCJStatus = 10.预付款确认中\13.付款确认中] 时
  11938. type: number
  11939. giausdfee:
  11940. description: GIA检测费(USD$) [GZCJStatus = 10.预付款确认中\13.付款确认中] 时
  11941. type: number
  11942. logisticsfee:
  11943. description: 代缴物流保险费 [GZCJStatus = 10.预付款确认中\13.付款确认中] 时
  11944. type: number
  11945. logisticsproofaddr:
  11946. description: 代缴物流保险费凭证(确认结算费用时)
  11947. type: string
  11948. operatetime:
  11949. description: 操作时间
  11950. type: string
  11951. operatoraccount:
  11952. description: 操作人账号 - systemmanager的logincode 或 loginaccount的logincode,无则用loginid
  11953. type: string
  11954. operatorid:
  11955. description: 操作人ID - systemmanager的autoid 或 loginaccount的loginid
  11956. type: integer
  11957. operatorname:
  11958. description: 操作人名称 - systemmanager的username 或 loginaccount的logincode,无则用loginid
  11959. type: string
  11960. operatorsrc:
  11961. description: 操作人来源 - 1:管理端 2:终端
  11962. type: integer
  11963. orderid:
  11964. description: 单据ID(801+Unix秒时间戳(10位)+xxxxxx)
  11965. type: string
  11966. otherfee:
  11967. description: 其它费用
  11968. type: number
  11969. remark:
  11970. description: 操作备注
  11971. type: string
  11972. servicefee:
  11973. description: 综合服务费 [GZCJStatus = 10.预付款确认中\13.付款确认中] 时
  11974. type: number
  11975. settleamount:
  11976. description: 总结算费用
  11977. type: number
  11978. status:
  11979. description: 操作后单据状态 - 枚举"GZCJStatus"
  11980. type: integer
  11981. totalfee:
  11982. description: 总费用 = GIA检测费(¥) + 海关税费 + 汇款银行手续费 + 代缴物流保险费 + 综合服务费 + 其它费用 [GZCJStatus
  11983. = 10.预付款确认中\13.付款确认中] 时
  11984. type: number
  11985. required:
  11986. - orderid
  11987. - status
  11988. type: object
  11989. models.Gzmemberinfo:
  11990. properties:
  11991. contactname:
  11992. description: 联系人
  11993. type: string
  11994. contactphone:
  11995. description: 电话
  11996. type: string
  11997. contactwx:
  11998. description: 微信号
  11999. type: string
  12000. imageurl:
  12001. description: 图片地址\来源LOGO
  12002. type: string
  12003. memberid:
  12004. description: 会员ID(SEQ_GZ_MEMBERINFO)
  12005. type: integer
  12006. membername:
  12007. description: 会员名称\来源名称
  12008. type: string
  12009. membertags:
  12010. description: 标签(逗号分隔)\来源网址
  12011. type: string
  12012. orderindex:
  12013. description: 显示顺序
  12014. type: integer
  12015. updatetime:
  12016. description: 更新时间
  12017. type: string
  12018. type: object
  12019. models.Gzrapaportprice:
  12020. properties:
  12021. dollar:
  12022. description: 美元
  12023. type: string
  12024. rmb:
  12025. description: 人民币
  12026. type: string
  12027. type: object
  12028. models.Hedgeinnerholderdetail:
  12029. properties:
  12030. accountid:
  12031. description: 账号ID
  12032. type: integer
  12033. buyorsell:
  12034. description: 方向 - 0:买 1:卖
  12035. type: integer
  12036. freezeqty:
  12037. description: 冻结数量 - 按单平使用
  12038. type: integer
  12039. goodsid:
  12040. description: 商品ID
  12041. type: integer
  12042. holderamount:
  12043. description: 持仓金额 [商品币种]
  12044. type: number
  12045. holderdays:
  12046. description: 剩余冻结天数
  12047. type: integer
  12048. holderprice:
  12049. description: 持仓价格
  12050. type: number
  12051. holderqty:
  12052. description: 持仓数量
  12053. type: integer
  12054. marketid:
  12055. description: 市场ID
  12056. type: integer
  12057. openprice:
  12058. description: 建仓价格
  12059. type: number
  12060. openqty:
  12061. description: 建仓数量
  12062. type: integer
  12063. parentaccountid:
  12064. description: 所属母账户
  12065. type: integer
  12066. releaseamount:
  12067. description: 释放持仓金额[商品币种]
  12068. type: number
  12069. tradeamount:
  12070. description: 成交金额[账户]
  12071. type: number
  12072. tradedate:
  12073. description: 交易日(yyyyMMdd)
  12074. type: string
  12075. tradeid:
  12076. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12077. type: string
  12078. tradetime:
  12079. description: 交易时间
  12080. type: string
  12081. required:
  12082. - buyorsell
  12083. - tradeid
  12084. type: object
  12085. models.Hedgemarketopenlog:
  12086. properties:
  12087. accountid:
  12088. description: 资金账号[外部母账户]
  12089. type: integer
  12090. fcname:
  12091. description: 期货公司名称
  12092. type: string
  12093. handlestatus:
  12094. description: 处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp
  12095. type: integer
  12096. marketid:
  12097. description: 市场ID
  12098. type: integer
  12099. status:
  12100. description: 状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败
  12101. type: integer
  12102. tradedate:
  12103. description: 交易日(yyyyMMdd)
  12104. type: string
  12105. updatetime:
  12106. description: 更新时间
  12107. type: string
  12108. required:
  12109. - accountid
  12110. type: object
  12111. models.HsbyBuyMyPayOrder:
  12112. properties:
  12113. agreeunit:
  12114. description: 合约单位
  12115. type: number
  12116. buyaccountid:
  12117. description: 买方账号ID[报价币种]
  12118. type: integer
  12119. buyorderid:
  12120. description: 买方委托单号
  12121. type: string
  12122. createtime:
  12123. description: 创建时间
  12124. type: string
  12125. currencysign:
  12126. description: 货币符号
  12127. type: string
  12128. decimalplace:
  12129. description: 报价小数位
  12130. type: integer
  12131. goodscode:
  12132. description: 商品代码(内部)
  12133. type: string
  12134. goodsid:
  12135. description: 商品ID
  12136. type: integer
  12137. goodsname:
  12138. description: 商品名称
  12139. type: string
  12140. marketid:
  12141. description: 市场ID
  12142. type: integer
  12143. offamount:
  12144. description: 优惠金额
  12145. type: number
  12146. originalamount:
  12147. description: 原金额 = TradeAmount + TradeCharge + OffAmount
  12148. type: number
  12149. payamount:
  12150. description: 支付金额 = TradeAmount + TradeCharge
  12151. type: number
  12152. payflag:
  12153. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  12154. type: integer
  12155. paylimitedtime:
  12156. description: 支付期限
  12157. type: string
  12158. paytime:
  12159. description: 付款时间
  12160. type: string
  12161. picurls1:
  12162. description: 预售商品介绍图片[多张用逗号分隔]
  12163. type: string
  12164. picurls2:
  12165. description: 挂牌商品介绍图片[多张用逗号分隔]
  12166. type: string
  12167. sellaccountid:
  12168. description: 卖方账号ID[报价币种]
  12169. type: integer
  12170. sellorderid:
  12171. description: 卖方委托单号
  12172. type: string
  12173. tradeamount:
  12174. description: 成交金额
  12175. type: number
  12176. tradecharge:
  12177. description: 成交手续费(买方)
  12178. type: number
  12179. tradedate:
  12180. description: 交易日(yyyyMMdd)
  12181. type: string
  12182. tradeid:
  12183. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12184. type: string
  12185. trademode:
  12186. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  12187. 21:竞拍-大宗式 22:受托竞价
  12188. type: integer
  12189. tradeprice:
  12190. description: 成交价格
  12191. type: number
  12192. tradeqty:
  12193. description: 成交数量
  12194. type: integer
  12195. vendorname1:
  12196. description: 预售商品供应商名称
  12197. type: string
  12198. vendorname2:
  12199. description: 挂牌商品供应商名称
  12200. type: string
  12201. required:
  12202. - goodscode
  12203. - goodsname
  12204. - tradeid
  12205. - trademode
  12206. type: object
  12207. models.HsbyBuyMyTradeDetail:
  12208. properties:
  12209. accountid:
  12210. description: 账户ID[报价币种]
  12211. type: integer
  12212. agreeunit:
  12213. description: 合约单位
  12214. type: number
  12215. amount:
  12216. description: 金额 = 价格 * 数量 * 合约单位
  12217. type: number
  12218. buyorsell:
  12219. description: 买卖 - 0:买 1:卖
  12220. type: integer
  12221. currencysign:
  12222. description: 货币符号
  12223. type: string
  12224. decimalplace:
  12225. description: 报价小数位
  12226. type: integer
  12227. goodscode:
  12228. description: 商品代码(内部)
  12229. type: string
  12230. goodsid:
  12231. description: 商品ID
  12232. type: integer
  12233. goodsname:
  12234. description: 商品名称
  12235. type: string
  12236. marketid:
  12237. description: 市场ID
  12238. type: integer
  12239. orderamount:
  12240. description: 委托金额
  12241. type: number
  12242. orderid:
  12243. description: 单号(成交单号)
  12244. type: string
  12245. picurls1:
  12246. description: 预售商品介绍图片[多张用逗号分隔]
  12247. type: string
  12248. picurls2:
  12249. description: 挂牌商品介绍图片[多张用逗号分隔]
  12250. type: string
  12251. price:
  12252. description: 价格
  12253. type: number
  12254. qty:
  12255. description: 数量
  12256. type: integer
  12257. time:
  12258. description: 时间
  12259. type: string
  12260. trademode:
  12261. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  12262. 21:竞拍-大宗式 22:受托竞价
  12263. type: integer
  12264. vendorname1:
  12265. description: 预售商品供应商名称
  12266. type: string
  12267. vendorname2:
  12268. description: 挂牌商品供应商名称
  12269. type: string
  12270. required:
  12271. - accountid
  12272. - buyorsell
  12273. - goodscode
  12274. - goodsid
  12275. - goodsname
  12276. - marketid
  12277. - orderid
  12278. - qty
  12279. - time
  12280. - trademode
  12281. type: object
  12282. models.HsbyGoodsOrderDetail:
  12283. properties:
  12284. buyorsell:
  12285. description: 买卖 - 0:买 1:卖
  12286. type: integer
  12287. currencysign:
  12288. description: 货币符号
  12289. type: string
  12290. customername:
  12291. description: 客户名称(企业名称),已脱敏
  12292. type: string
  12293. enableqty:
  12294. description: 可用数量
  12295. type: integer
  12296. goodunit:
  12297. description: 报价单位
  12298. type: string
  12299. orderid:
  12300. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12301. type: string
  12302. orderprice:
  12303. description: 委托价格
  12304. type: number
  12305. ordertime:
  12306. description: 委托时间
  12307. type: string
  12308. required:
  12309. - buyorsell
  12310. - orderid
  12311. - ordertime
  12312. type: object
  12313. models.HsbyListingGoodsDetail:
  12314. properties:
  12315. agreeunit:
  12316. description: 合约单位
  12317. type: number
  12318. buymaxqty:
  12319. description: 购买上限 [71] - 0为不限
  12320. type: integer
  12321. currency:
  12322. description: 货币
  12323. type: string
  12324. currencysign:
  12325. description: 货币符号
  12326. type: string
  12327. decimalplace:
  12328. description: 报价小数位
  12329. type: integer
  12330. desccityid:
  12331. description: 目的地(市)ID
  12332. type: integer
  12333. descprovinceid:
  12334. description: 目的地(省)ID
  12335. type: integer
  12336. goodscode:
  12337. description: 商品代码(内部)
  12338. type: string
  12339. goodsdesc:
  12340. description: 商品详情
  12341. type: string
  12342. goodsid:
  12343. description: 商品ID(自增ID SEQ_GOODS)
  12344. type: integer
  12345. goodsname:
  12346. description: 商品名称
  12347. type: string
  12348. goodsprice:
  12349. description: 商品价格
  12350. type: number
  12351. hotindex:
  12352. description: 景点热度
  12353. type: integer
  12354. last:
  12355. description: 现价
  12356. type: number
  12357. limitdown:
  12358. description: 跌停价
  12359. type: number
  12360. limitup:
  12361. description: 涨停价
  12362. type: number
  12363. lotsize:
  12364. description: 手数最小变动单位
  12365. type: integer
  12366. marketid:
  12367. description: 所属市场ID
  12368. type: integer
  12369. picurls:
  12370. description: 介绍图片[多张用逗号分隔]
  12371. type: string
  12372. quoteminunit:
  12373. description: 行情最小变动单位 [整数,报价小数位一起使用]
  12374. type: integer
  12375. stepvalue:
  12376. description: 价格最小变动单位
  12377. type: number
  12378. trademode:
  12379. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  12380. 21:竞拍-大宗式 22:受托竞价
  12381. type: integer
  12382. vendorattr:
  12383. description: 供应商附件(多张,逗号分隔)
  12384. type: string
  12385. vendorname:
  12386. description: 供应商名称
  12387. type: string
  12388. vendorphone:
  12389. description: 供应商客服电话
  12390. type: string
  12391. videourls:
  12392. description: 介绍视频[多张用逗号分隔]
  12393. type: string
  12394. required:
  12395. - goodscode
  12396. - goodsid
  12397. - goodsname
  12398. - marketid
  12399. - trademode
  12400. type: object
  12401. models.HsbyMarketGoods:
  12402. properties:
  12403. accountid:
  12404. description: 账户ID[报价币种]
  12405. type: integer
  12406. agreeunit:
  12407. description: 合约单位
  12408. type: number
  12409. buyorsell:
  12410. description: 买卖 - 0:买 1:卖
  12411. type: integer
  12412. categoryid:
  12413. description: 类别ID(WRCATEGORY)
  12414. type: integer
  12415. currency:
  12416. description: 货币
  12417. type: string
  12418. currencysign:
  12419. description: 货币符号
  12420. type: string
  12421. customername:
  12422. description: 卖家名称
  12423. type: string
  12424. decimalplace:
  12425. description: 报价小数位
  12426. type: integer
  12427. goodscode:
  12428. description: 商品代码(内部)
  12429. type: string
  12430. goodsid:
  12431. description: 商品ID
  12432. type: integer
  12433. goodsname:
  12434. description: 商品名称
  12435. type: string
  12436. goodsprice:
  12437. description: 商品价格
  12438. type: number
  12439. hascoupon:
  12440. description: 是否可用优惠卷
  12441. type: boolean
  12442. hotindex:
  12443. description: 景点热度
  12444. type: integer
  12445. marketid:
  12446. description: 市场ID
  12447. type: integer
  12448. orderid:
  12449. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12450. type: string
  12451. orderprice:
  12452. description: 委托价格
  12453. type: number
  12454. orderstatus:
  12455. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  12456. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  12457. 16:成交失败违约(荷兰式竞拍专用)
  12458. type: integer
  12459. picurls:
  12460. description: 介绍图片[多张用逗号分隔]
  12461. type: string
  12462. quoteminunit:
  12463. description: 行情最小变动单位 [整数,报价小数位一起使用]
  12464. type: integer
  12465. sellUserID:
  12466. description: 卖方UserID
  12467. type: integer
  12468. trademode:
  12469. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  12470. 21:竞拍-大宗式 22:受托竞价
  12471. type: integer
  12472. videourls:
  12473. description: 介绍视频[多张用逗号分隔]
  12474. type: string
  12475. required:
  12476. - accountid
  12477. - buyorsell
  12478. - goodscode
  12479. - goodsid
  12480. - goodsname
  12481. - marketid
  12482. - orderid
  12483. - trademode
  12484. type: object
  12485. models.HsbyMarketGoodsDetail:
  12486. properties:
  12487. accountid:
  12488. description: 账户ID[报价币种]
  12489. type: integer
  12490. agreeunit:
  12491. description: 合约单位
  12492. type: number
  12493. buymaxqty:
  12494. description: 购买上限 [71] - 0为不限
  12495. type: integer
  12496. buyorsell:
  12497. description: 买卖 - 0:买 1:卖
  12498. type: integer
  12499. cancelqty:
  12500. description: 撤单数量
  12501. type: integer
  12502. categoryid:
  12503. description: 类别ID(WRCATEGORY)
  12504. type: integer
  12505. currency:
  12506. description: 货币
  12507. type: string
  12508. currencysign:
  12509. description: 货币符号
  12510. type: string
  12511. customername:
  12512. description: 卖家名称
  12513. type: string
  12514. decimalplace:
  12515. description: 报价小数位
  12516. type: integer
  12517. goodscode:
  12518. description: 商品代码(内部)
  12519. type: string
  12520. goodsdesc:
  12521. description: 商品详情
  12522. type: string
  12523. goodsid:
  12524. description: 商品ID
  12525. type: integer
  12526. goodsname:
  12527. description: 商品名称
  12528. type: string
  12529. goodsprice:
  12530. description: 商品价格
  12531. type: number
  12532. hotindex:
  12533. description: 景点热度
  12534. type: integer
  12535. lotsize:
  12536. description: 手数最小变动单位
  12537. type: integer
  12538. marketid:
  12539. description: 市场ID
  12540. type: integer
  12541. orderid:
  12542. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12543. type: string
  12544. orderprice:
  12545. description: 委托价格
  12546. type: number
  12547. orderqty:
  12548. description: 委托数量
  12549. type: integer
  12550. orderstatus:
  12551. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  12552. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  12553. 16:成交失败违约(荷兰式竞拍专用)
  12554. type: integer
  12555. picurls:
  12556. description: 介绍图片[多张用逗号分隔]
  12557. type: string
  12558. quoteminunit:
  12559. description: 行情最小变动单位 [整数,报价小数位一起使用]
  12560. type: integer
  12561. sellUserID:
  12562. description: 卖方UserID
  12563. type: integer
  12564. trademode:
  12565. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  12566. 21:竞拍-大宗式 22:受托竞价
  12567. type: integer
  12568. tradeqty:
  12569. description: 成交数量
  12570. type: integer
  12571. vendorattr:
  12572. description: 供应商附件(多张,逗号分隔)
  12573. type: string
  12574. vendorname:
  12575. description: 供应商名称
  12576. type: string
  12577. vendorphone:
  12578. description: 供应商客服电话
  12579. type: string
  12580. videourls:
  12581. description: 介绍视频[多张用逗号分隔]
  12582. type: string
  12583. required:
  12584. - accountid
  12585. - buyorsell
  12586. - goodscode
  12587. - goodsid
  12588. - goodsname
  12589. - marketid
  12590. - orderid
  12591. - orderqty
  12592. - trademode
  12593. type: object
  12594. models.HsbyMarketInfo:
  12595. properties:
  12596. marketid:
  12597. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  12598. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  12599. type: integer
  12600. marketname:
  12601. description: 市场名称
  12602. type: string
  12603. marketstatus:
  12604. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  12605. type: integer
  12606. trademode:
  12607. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  12608. 21:竞拍-大宗式 22:受托竞价
  12609. type: integer
  12610. required:
  12611. - marketid
  12612. - marketstatus
  12613. - trademode
  12614. type: object
  12615. models.HsbyMyGoods:
  12616. properties:
  12617. accountid:
  12618. description: 账号Id
  12619. type: integer
  12620. agreeunit:
  12621. description: 合约单位
  12622. type: number
  12623. buyaverageprice:
  12624. description: 持仓均价
  12625. type: number
  12626. buycurholderamount:
  12627. description: 买当前持仓总金额[商品币种]
  12628. type: number
  12629. buycurpositionqty:
  12630. description: 买当前持仓总数量
  12631. type: integer
  12632. buymaxqty:
  12633. description: 购买上限 [71] - 0为不限
  12634. type: integer
  12635. currencysign:
  12636. description: 货币符号
  12637. type: string
  12638. decimalplace:
  12639. description: 报价小数位
  12640. type: integer
  12641. enableqty:
  12642. description: 可用数量
  12643. type: integer
  12644. goodscode:
  12645. description: 商品代码(内部)
  12646. type: string
  12647. goodsid:
  12648. description: 商品Id
  12649. type: integer
  12650. goodsname:
  12651. description: 商品名称
  12652. type: string
  12653. goodsprice:
  12654. description: 商品价格
  12655. type: number
  12656. goodsstatus:
  12657. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  12658. type: integer
  12659. last:
  12660. description: 现价(仅使用于挂牌点选)
  12661. type: number
  12662. limitdown:
  12663. description: 跌停价(仅使用于挂牌点选)
  12664. type: number
  12665. limitup:
  12666. description: 涨停价(仅使用于挂牌点选)
  12667. type: number
  12668. lotsize:
  12669. description: 手数最小变动单位
  12670. type: integer
  12671. marketid:
  12672. description: 所属市场ID
  12673. type: integer
  12674. picurls:
  12675. description: 介绍图片[多张用逗号分隔]
  12676. type: string
  12677. quoteminunit:
  12678. description: 行情最小变动单位 [整数,报价小数位一起使用]
  12679. type: integer
  12680. stepvalue:
  12681. description: 价格最小变动单位
  12682. type: number
  12683. trademode:
  12684. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  12685. 21:竞拍-大宗式 22:受托竞价
  12686. type: integer
  12687. required:
  12688. - accountid
  12689. - goodscode
  12690. - goodsid
  12691. - goodsname
  12692. - marketid
  12693. - trademode
  12694. type: object
  12695. models.HsbyMyPackage:
  12696. properties:
  12697. accountid:
  12698. description: 账户ID
  12699. type: integer
  12700. address:
  12701. description: 提货人详细地址
  12702. type: string
  12703. agreeunit:
  12704. description: 合约单位
  12705. type: number
  12706. amount:
  12707. description: 提货金额
  12708. type: number
  12709. auditer:
  12710. description: 审核人
  12711. type: integer
  12712. audittime:
  12713. description: 审核时间
  12714. type: string
  12715. averageprice:
  12716. description: 均价
  12717. type: number
  12718. cardnum:
  12719. description: 提货人证件号码
  12720. type: string
  12721. cardtypeid:
  12722. description: 提货人证件类型
  12723. type: integer
  12724. checkremark:
  12725. description: 审核备注
  12726. type: string
  12727. currencysign:
  12728. description: 货币符号
  12729. type: string
  12730. decimalplace:
  12731. description: 报价小数位
  12732. type: integer
  12733. goodscode:
  12734. description: 商品代码(内部)
  12735. type: string
  12736. goodsid:
  12737. description: 商品ID
  12738. type: integer
  12739. goodsname:
  12740. description: 商品名称
  12741. type: string
  12742. handlestatus:
  12743. description: 处理状态
  12744. type: integer
  12745. marketid:
  12746. description: 市场ID
  12747. type: integer
  12748. phonenum:
  12749. description: 提货人联系方式
  12750. type: string
  12751. picurls:
  12752. description: 介绍图片[多张用逗号分隔]
  12753. type: string
  12754. qty:
  12755. description: 提货数量
  12756. type: number
  12757. recivername:
  12758. description: 提货人姓名
  12759. type: string
  12760. reqtime:
  12761. description: 更新时间
  12762. type: string
  12763. takemode:
  12764. description: 提货方式 - 2:自提 3:配送
  12765. type: integer
  12766. takeorderid:
  12767. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  12768. type: string
  12769. takeorderstatus:
  12770. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  12771. type: integer
  12772. takeremark:
  12773. description: 提货备注
  12774. type: string
  12775. tradedate:
  12776. description: 交易日(yyyyMMdd)
  12777. type: string
  12778. trademode:
  12779. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  12780. 21:竞拍-大宗式 22:受托竞价
  12781. type: integer
  12782. userid:
  12783. description: 用户ID
  12784. type: integer
  12785. vendorname:
  12786. description: 供应商名称
  12787. type: string
  12788. required:
  12789. - goodscode
  12790. - goodsname
  12791. - takeorderid
  12792. - trademode
  12793. type: object
  12794. models.HsbyPreGoods:
  12795. properties:
  12796. agreeunit:
  12797. description: 合约单位
  12798. type: number
  12799. currency:
  12800. description: 货币
  12801. type: string
  12802. currencysign:
  12803. description: 货币符号
  12804. type: string
  12805. decimalplace:
  12806. description: 报价小数位
  12807. type: integer
  12808. desccityid:
  12809. description: 目的地(市)
  12810. type: integer
  12811. descprovinceid:
  12812. description: 目的地(省)
  12813. type: integer
  12814. enableqty:
  12815. description: 剩余数量
  12816. type: integer
  12817. goodscode:
  12818. description: 商品代码(内部)
  12819. type: string
  12820. goodsid:
  12821. description: 商品ID(自增ID SEQ_GOODS)
  12822. type: integer
  12823. goodsname:
  12824. description: 商品名称
  12825. type: string
  12826. goodsstatus:
  12827. description: 商品状态- 2:未上市 3:上市
  12828. type: integer
  12829. lasttradedate:
  12830. description: 最后交易日期(状态:待退市)
  12831. type: string
  12832. listingdate:
  12833. description: 交易开始日期
  12834. type: string
  12835. marketid:
  12836. description: 所属市场ID
  12837. type: integer
  12838. picurls:
  12839. description: 介绍图片[多张用逗号分隔]
  12840. type: string
  12841. presaledqty:
  12842. description: 已预售量(预售结束时更新)
  12843. type: integer
  12844. presaleqty:
  12845. description: 预售数量
  12846. type: integer
  12847. quoteminunit:
  12848. description: 行情最小变动单位 [整数,报价小数位一起使用]
  12849. type: integer
  12850. refprice:
  12851. description: 参考价格[一口价]
  12852. type: number
  12853. relatedgoodsid:
  12854. description: 关联交易合约ID
  12855. type: integer
  12856. trademode:
  12857. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  12858. 21:竞拍-大宗式 22:受托竞价
  12859. type: integer
  12860. videourls:
  12861. description: 介绍视频[多张用逗号分隔]
  12862. type: string
  12863. required:
  12864. - goodscode
  12865. - goodsid
  12866. - goodsname
  12867. - marketid
  12868. - trademode
  12869. type: object
  12870. models.HsbyPreGoodsDetail:
  12871. properties:
  12872. agreeunit:
  12873. description: 合约单位
  12874. type: number
  12875. buymaxqty:
  12876. description: 购买上限 [71] - 0为不限
  12877. type: integer
  12878. currency:
  12879. description: 货币
  12880. type: string
  12881. currencysign:
  12882. description: 货币符号
  12883. type: string
  12884. customername:
  12885. description: 发行单位
  12886. type: string
  12887. decimalplace:
  12888. description: 报价小数位
  12889. type: integer
  12890. desccityid:
  12891. description: 目的地(市)ID
  12892. type: integer
  12893. descprovinceid:
  12894. description: 目的地(省)ID
  12895. type: integer
  12896. enableqty:
  12897. description: 剩余数量
  12898. type: integer
  12899. goodscode:
  12900. description: 商品代码(内部)
  12901. type: string
  12902. goodsdesc:
  12903. description: 商品详情
  12904. type: string
  12905. goodsid:
  12906. description: 商品ID(自增ID SEQ_GOODS)
  12907. type: integer
  12908. goodsname:
  12909. description: 商品名称
  12910. type: string
  12911. goodsstatus:
  12912. description: 商品状态- 2:未上市 3:上市
  12913. type: integer
  12914. goodunit:
  12915. description: 报价单位
  12916. type: string
  12917. lasttradedate:
  12918. description: 最后交易日期(状态:待退市)
  12919. type: string
  12920. listingdate:
  12921. description: 交易开始日期
  12922. type: string
  12923. lotsize:
  12924. description: 手数最小变动单位
  12925. type: integer
  12926. marketid:
  12927. description: 所属市场ID
  12928. type: integer
  12929. picurls:
  12930. description: 介绍图片[多张用逗号分隔]
  12931. type: string
  12932. presaledqty:
  12933. description: 已预售量(预售结束时更新)
  12934. type: integer
  12935. presaleqty:
  12936. description: 预售数量
  12937. type: integer
  12938. quoteminunit:
  12939. description: 行情最小变动单位 [整数,报价小数位一起使用]
  12940. type: integer
  12941. refprice:
  12942. description: 参考价格[一口价]
  12943. type: number
  12944. relatedgoodsid:
  12945. description: 关联交易合约ID
  12946. type: integer
  12947. stepvalue:
  12948. description: 价格最小变动单位
  12949. type: number
  12950. trademode:
  12951. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  12952. 21:竞拍-大宗式 22:受托竞价
  12953. type: integer
  12954. vendorattr:
  12955. description: 供应商附件(多张,逗号分隔)
  12956. type: string
  12957. vendorname:
  12958. description: 供应商名称
  12959. type: string
  12960. vendorphone:
  12961. description: 供应商客服电话
  12962. type: string
  12963. videourls:
  12964. description: 介绍视频[多张用逗号分隔]
  12965. type: string
  12966. required:
  12967. - goodscode
  12968. - goodsid
  12969. - goodsname
  12970. - marketid
  12971. - trademode
  12972. type: object
  12973. models.HsbySellCollectionOrder:
  12974. properties:
  12975. agreeunit:
  12976. description: 合约单位
  12977. type: number
  12978. buyaccountid:
  12979. description: 买方账号ID[报价币种]
  12980. type: integer
  12981. buyorderid:
  12982. description: 买方委托单号
  12983. type: string
  12984. createtime:
  12985. description: 创建时间
  12986. type: string
  12987. currencysign:
  12988. description: 货币符号
  12989. type: string
  12990. decimalplace:
  12991. description: 报价小数位
  12992. type: integer
  12993. goodscode:
  12994. description: 商品代码(内部)
  12995. type: string
  12996. goodsid:
  12997. description: 商品ID
  12998. type: integer
  12999. goodsname:
  13000. description: 商品名称
  13001. type: string
  13002. marketid:
  13003. description: 市场ID
  13004. type: integer
  13005. offamount:
  13006. description: 优惠金额
  13007. type: number
  13008. payamount:
  13009. description: 支付金额 = TradeAmount + TradeCharge - OffAmount
  13010. type: number
  13011. payflag:
  13012. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  13013. type: integer
  13014. paylimitedtime:
  13015. description: 支付期限
  13016. type: string
  13017. paytime:
  13018. description: 付款时间
  13019. type: string
  13020. picurls:
  13021. description: 商品介绍图片[多张用逗号分隔]
  13022. type: string
  13023. sellaccountid:
  13024. description: 卖方账号ID[报价币种]
  13025. type: integer
  13026. sellorderid:
  13027. description: 卖方委托单号
  13028. type: string
  13029. tradeamount:
  13030. description: 成交金额
  13031. type: number
  13032. tradecharge:
  13033. description: 成交手续费(买方)
  13034. type: number
  13035. tradedate:
  13036. description: 交易日(yyyyMMdd)
  13037. type: string
  13038. tradeid:
  13039. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13040. type: string
  13041. trademode:
  13042. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  13043. 21:竞拍-大宗式 22:受托竞价
  13044. type: integer
  13045. tradeprice:
  13046. description: 成交价格
  13047. type: number
  13048. tradeqty:
  13049. description: 成交数量
  13050. type: integer
  13051. required:
  13052. - goodscode
  13053. - goodsname
  13054. - tradeid
  13055. - trademode
  13056. type: object
  13057. models.HsbySellMyDetail:
  13058. properties:
  13059. accountid:
  13060. description: 账户ID[报价币种]
  13061. type: integer
  13062. agreeunit:
  13063. description: 合约单位
  13064. type: number
  13065. buyorsell:
  13066. description: 买卖 - 0:买 1:卖
  13067. type: integer
  13068. currencysign:
  13069. description: 货币符号
  13070. type: string
  13071. decimalplace:
  13072. description: 报价小数位
  13073. type: integer
  13074. goodscode:
  13075. description: 商品代码(内部)
  13076. type: string
  13077. goodsid:
  13078. description: 商品ID
  13079. type: integer
  13080. goodsname:
  13081. description: 商品名称
  13082. type: string
  13083. marketid:
  13084. description: 市场ID
  13085. type: integer
  13086. orderid:
  13087. description: 单号(发布中 - 委托单号;已完成 - 成交单号)
  13088. type: string
  13089. ordertype:
  13090. description: 单据类型:0 - 发布中, 1 - 已完成
  13091. type: integer
  13092. picurls:
  13093. description: 介绍图片[多张用逗号分隔]
  13094. type: string
  13095. price:
  13096. description: 价格
  13097. type: number
  13098. qty:
  13099. description: 数量
  13100. type: integer
  13101. time:
  13102. description: 时间
  13103. type: string
  13104. trademode:
  13105. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  13106. 21:竞拍-大宗式 22:受托竞价
  13107. type: integer
  13108. vendorname:
  13109. description: 供应商名称
  13110. type: string
  13111. required:
  13112. - accountid
  13113. - buyorsell
  13114. - goodscode
  13115. - goodsid
  13116. - goodsname
  13117. - marketid
  13118. - orderid
  13119. - time
  13120. - trademode
  13121. type: object
  13122. models.HsbyTopGoods:
  13123. properties:
  13124. agreeunit:
  13125. description: 合约单位
  13126. type: number
  13127. currency:
  13128. description: 货币
  13129. type: string
  13130. currencysign:
  13131. description: 货币符号
  13132. type: string
  13133. decimalplace:
  13134. description: 报价小数位
  13135. type: integer
  13136. desccityid:
  13137. description: 目的地(市)
  13138. type: integer
  13139. descprovinceid:
  13140. description: 目的地(省)
  13141. type: integer
  13142. goodscode:
  13143. description: 商品代码(内部)
  13144. type: string
  13145. goodsid:
  13146. description: 商品ID(自增ID SEQ_GOODS)
  13147. type: integer
  13148. goodsname:
  13149. description: 商品名称
  13150. type: string
  13151. hotindex:
  13152. description: 景点热度
  13153. type: integer
  13154. last:
  13155. description: 现价
  13156. type: number
  13157. marketid:
  13158. description: 所属市场ID
  13159. type: integer
  13160. picurls:
  13161. description: 介绍图片[多张用逗号分隔]
  13162. type: string
  13163. quoteminunit:
  13164. description: 行情最小变动单位 [整数,报价小数位一起使用]
  13165. type: integer
  13166. trademode:
  13167. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  13168. 21:竞拍-大宗式 22:受托竞价
  13169. type: integer
  13170. videourls:
  13171. description: 介绍视频[多张用逗号分隔]
  13172. type: string
  13173. required:
  13174. - goodscode
  13175. - goodsid
  13176. - goodsname
  13177. - marketid
  13178. - trademode
  13179. type: object
  13180. models.HybsMyBuyOrderDetail:
  13181. properties:
  13182. accountid:
  13183. description: 账户ID[报价币种]
  13184. type: integer
  13185. agreeunit:
  13186. description: 合约单位
  13187. type: number
  13188. buyorsell:
  13189. description: 买卖 - 0:买 1:卖
  13190. type: integer
  13191. cancelqty:
  13192. description: 撤单数量
  13193. type: integer
  13194. currencysign:
  13195. description: 货币符号
  13196. type: string
  13197. decimalplace:
  13198. description: 报价小数位
  13199. type: integer
  13200. goodscode:
  13201. description: 商品代码(内部)
  13202. type: string
  13203. goodsid:
  13204. description: 商品ID
  13205. type: integer
  13206. goodsname:
  13207. description: 商品名称
  13208. type: string
  13209. listingselecttype:
  13210. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  13211. type: integer
  13212. marketid:
  13213. description: 市场ID
  13214. type: integer
  13215. mybuystatus:
  13216. description: '"我的订单"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败'
  13217. type: integer
  13218. orderamount:
  13219. description: 委托金额
  13220. type: number
  13221. orderid:
  13222. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13223. type: string
  13224. orderprice:
  13225. description: 委托价格
  13226. type: number
  13227. orderqty:
  13228. description: 委托数量
  13229. type: integer
  13230. orderstatus:
  13231. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  13232. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  13233. 16:成交失败违约(荷兰式竞拍专用)
  13234. type: integer
  13235. ordertime:
  13236. description: 委托时间
  13237. type: string
  13238. picurls1:
  13239. description: 预售商品介绍图片[多张用逗号分隔]
  13240. type: string
  13241. picurls2:
  13242. description: 挂牌商品介绍图片[多张用逗号分隔]
  13243. type: string
  13244. trademode:
  13245. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  13246. 21:竞拍-大宗式 22:受托竞价
  13247. type: integer
  13248. tradeqty:
  13249. description: 成交数量
  13250. type: integer
  13251. vendorname1:
  13252. description: 预售商品供应商名称
  13253. type: string
  13254. vendorname2:
  13255. description: 挂牌商品供应商名称
  13256. type: string
  13257. required:
  13258. - accountid
  13259. - buyorsell
  13260. - goodscode
  13261. - goodsid
  13262. - goodsname
  13263. - marketid
  13264. - orderid
  13265. - orderqty
  13266. - ordertime
  13267. - trademode
  13268. type: object
  13269. models.InternalEnableTradeDetail:
  13270. properties:
  13271. agreeunit:
  13272. description: 合约乘数
  13273. type: number
  13274. areauserid:
  13275. description: 企业ID
  13276. type: integer
  13277. convertratio:
  13278. description: 品种系数
  13279. type: number
  13280. deliverygoodscode:
  13281. description: 现货品种代码
  13282. type: string
  13283. deliverygoodsid:
  13284. description: 现货品种ID(SEQ_DELIVERYGOODS)
  13285. type: integer
  13286. deliverygoodsname:
  13287. description: 现货品种名称
  13288. type: string
  13289. futurehedgeqty:
  13290. description: '[已关联数量]期货持仓套期量'
  13291. type: number
  13292. goodsid:
  13293. description: 期货合约ID
  13294. type: integer
  13295. hedgeditemid:
  13296. description: 被套期项目ID
  13297. type: string
  13298. hedgeditemnum:
  13299. description: 项目编号
  13300. type: string
  13301. tradeuserid:
  13302. description: 交易用户ID
  13303. type: integer
  13304. unexehedgeqty:
  13305. description: 未执行套期量 = 未执行现货量*折算系数* (1/(1+增值税)) * 套期比例(项目上)
  13306. type: number
  13307. unexespotqty:
  13308. description: 未执行现货量
  13309. type: number
  13310. wrstandardcode:
  13311. description: 现货品类代码
  13312. type: string
  13313. wrstandardid:
  13314. description: 现货品类ID(SEQ_WRSTANDARD)
  13315. type: integer
  13316. wrstandardname:
  13317. description: 现货品类名称
  13318. type: string
  13319. required:
  13320. - areauserid
  13321. - goodsid
  13322. - tradeuserid
  13323. type: object
  13324. models.InternalUncorrelatedTradeDetail:
  13325. properties:
  13326. accountid:
  13327. description: 账号ID
  13328. type: integer
  13329. accountname:
  13330. description: 套期主体
  13331. type: string
  13332. agreeunit:
  13333. description: 合约乘数
  13334. type: number
  13335. areauserid:
  13336. description: 所属机构
  13337. type: integer
  13338. bizsubjectid:
  13339. description: 归属业务部门ID - SubjectID
  13340. type: integer
  13341. buyorsell:
  13342. description: 方向 - 0:买 1:卖
  13343. type: integer
  13344. channelbuildtype:
  13345. description: 委托单据类型 0:无 1:建仓 2:平仓
  13346. type: integer
  13347. convertratio:
  13348. description: 品种系数
  13349. type: number
  13350. createtime:
  13351. description: 创建时间
  13352. type: string
  13353. creatorid:
  13354. description: 创建人ID
  13355. type: integer
  13356. creatorsrc:
  13357. description: 创建人来源 - 1:管理端 2:终端 3:交易
  13358. type: integer
  13359. enableqty:
  13360. description: 项目可关联数量 = 套保品种数量 - 关联数量
  13361. type: number
  13362. enumdicname:
  13363. description: 单位
  13364. type: string
  13365. goodscode:
  13366. description: 合约代码
  13367. type: string
  13368. goodsgroupid:
  13369. description: 对冲品种ID[期货合约商品组ID]
  13370. type: integer
  13371. goodsid:
  13372. description: 商品ID
  13373. type: integer
  13374. goodsname:
  13375. description: 合约名称
  13376. type: string
  13377. hedgeditemid:
  13378. description: 现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]
  13379. type: integer
  13380. hedgeflag:
  13381. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  13382. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目
  13383. type: integer
  13384. linkdetailid:
  13385. description: 期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)
  13386. type: string
  13387. linkstatus:
  13388. description: 关联状态 - 1:成功 2:失败 3:解绑
  13389. type: integer
  13390. middlegoodsid:
  13391. description: 套保品种ID
  13392. type: integer
  13393. middlegoodsqty:
  13394. description: '[套期商品数量]套保品种数量 = TradeQty * AgreeUnit * ConvertRatio'
  13395. type: number
  13396. relatedlot:
  13397. description: '[数量]关联手数'
  13398. type: number
  13399. relatedmode:
  13400. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  13401. type: integer
  13402. relatedqty:
  13403. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  13404. type: number
  13405. retcode:
  13406. description: 返回码
  13407. type: integer
  13408. saleuserid:
  13409. description: 业务员ID
  13410. type: integer
  13411. tradedate:
  13412. description: 关联交易日(yyyyMMdd)
  13413. type: string
  13414. tradeid:
  13415. description: 成交单号
  13416. type: string
  13417. tradelot:
  13418. description: 成交手数
  13419. type: integer
  13420. tradeprice:
  13421. description: 成交价
  13422. type: number
  13423. tradetime:
  13424. description: 成交时间
  13425. type: string
  13426. tradetradedate:
  13427. description: 成交交易日(yyyyMMdd)
  13428. type: string
  13429. tradeuserid:
  13430. description: 交易用户ID
  13431. type: integer
  13432. type: object
  13433. models.Loginaccount:
  13434. properties:
  13435. accountname:
  13436. description: 账户名称
  13437. type: string
  13438. canoutin:
  13439. description: 是否可出入金 - 0:不可 1:可
  13440. type: integer
  13441. clientroleid:
  13442. description: 终端角色ID
  13443. type: integer
  13444. haslogined:
  13445. description: 是否已登录 - 0:未登录 1:已登录
  13446. type: integer
  13447. hasupdatedpwd:
  13448. description: 是否已更改密码 - 0:未修改 1:已修改
  13449. type: integer
  13450. lastloginip:
  13451. description: 最新登录地址
  13452. type: string
  13453. lastloginmode:
  13454. description: 最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端
  13455. 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  13456. type: integer
  13457. lastloginremark:
  13458. description: 最新登录描述
  13459. type: string
  13460. lastlogintime:
  13461. description: 最新登录时间
  13462. type: string
  13463. logincode:
  13464. description: 登录代码
  13465. type: string
  13466. loginfailnum:
  13467. description: 连续登录失败次数(登录成功时清零)
  13468. type: integer
  13469. loginid:
  13470. description: 登陆账号
  13471. type: integer
  13472. loginport:
  13473. description: 最新登录端口
  13474. type: integer
  13475. loginstatus:
  13476. description: 登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)
  13477. type: integer
  13478. loginusertype:
  13479. description: 登录账号类型 - 1:投资者 2:机构交易员
  13480. type: integer
  13481. mobile:
  13482. description: 手机号码(加密存储)
  13483. type: string
  13484. modifierid:
  13485. description: 修改人
  13486. type: integer
  13487. modifysrc:
  13488. description: 审核来源 - 1:管理端 2:终端
  13489. type: integer
  13490. modifytime:
  13491. description: 修改时间
  13492. type: string
  13493. pwdwrongcount:
  13494. description: 密码错误次数
  13495. type: integer
  13496. relateduserid:
  13497. description: 关联用户ID(机构)
  13498. type: integer
  13499. taaccountrighttype:
  13500. description: 资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限
  13501. type: integer
  13502. unfreezetime:
  13503. description: 账户解冻时间
  13504. type: string
  13505. userid:
  13506. description: 用户ID
  13507. type: integer
  13508. required:
  13509. - loginid
  13510. type: object
  13511. models.MainAccountInfo:
  13512. properties:
  13513. accountid:
  13514. description: 账号id
  13515. type: integer
  13516. accountname:
  13517. description: 账号名称(taaccount表中的名称)
  13518. type: string
  13519. appid:
  13520. description: AppID
  13521. type: string
  13522. authcode:
  13523. description: 授权码
  13524. type: string
  13525. brokerid:
  13526. description: 经纪商id
  13527. type: string
  13528. fcid:
  13529. description: 期货公司id
  13530. type: integer
  13531. fcname:
  13532. description: 期货公司代码
  13533. type: string
  13534. hedgeaccountcode:
  13535. description: 外部账号代码(主账号登录代码)
  13536. type: string
  13537. hedgeaccountpwd:
  13538. description: 密码
  13539. type: string
  13540. ismain:
  13541. description: 是否主账号
  13542. type: integer
  13543. relateduserid:
  13544. description: 关联用户id
  13545. type: integer
  13546. userid:
  13547. description: 关联用户id
  13548. type: integer
  13549. type: object
  13550. models.Market:
  13551. properties:
  13552. auctionwrtype:
  13553. description: 竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可
  13554. type: integer
  13555. canacceptquote:
  13556. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  13557. type: integer
  13558. cangoodsexercise:
  13559. description: '[期权]是否可现货行权- 0:否 1:是'
  13560. type: integer
  13561. cangoodsexercisetype:
  13562. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  13563. type: integer
  13564. canmanualquotestrike:
  13565. description: 是否可手动报行权价- 0:否 1:是 [期权]
  13566. type: integer
  13567. canmutistage:
  13568. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  13569. type: integer
  13570. canpreexercise:
  13571. description: '[期权]是否可预申报- 0:否 1:是'
  13572. type: integer
  13573. clearinterval:
  13574. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  13575. type: integer
  13576. contracttmp:
  13577. description: 合同模板[荷兰式][竞价式][仓单贸易]
  13578. type: string
  13579. exchareaid:
  13580. description: 所属交易所,可以没有
  13581. type: integer
  13582. goodstype:
  13583. description: 商品类型 - 1:交易商品 2:仓单商品
  13584. type: integer
  13585. hasrebate:
  13586. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  13587. type: integer
  13588. hastradecredit:
  13589. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  13590. type: integer
  13591. haswr:
  13592. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  13593. type: integer
  13594. isdeductmargin:
  13595. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  13596. type: integer
  13597. isrecordsource:
  13598. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  13599. type: integer
  13600. isreleasemargin:
  13601. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  13602. type: integer
  13603. marginformula:
  13604. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  13605. type: integer
  13606. marginformula2:
  13607. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  13608. type: integer
  13609. marketid:
  13610. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  13611. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  13612. type: integer
  13613. marketname:
  13614. description: 市场名称
  13615. type: string
  13616. marketserviceid:
  13617. description: 市场服务ID
  13618. type: integer
  13619. marketstatus:
  13620. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  13621. type: integer
  13622. markettype:
  13623. description: 市场类型- 1:非交易服务 2:交易服务
  13624. type: integer
  13625. matchermode:
  13626. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手
  13627. type: integer
  13628. openmethod:
  13629. description: 开盘模式 - 0 自动 1手动
  13630. type: integer
  13631. otcuserid:
  13632. description: 场外期权做市商[场外期权]
  13633. type: integer
  13634. outersynctime:
  13635. description: 外部同步时间点(h24:mi:ss)[场外期权]
  13636. type: string
  13637. pendingflag:
  13638. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  13639. type: integer
  13640. pendingtime:
  13641. description: 待开市时间[通道交易-对冲](HH:mm)
  13642. type: string
  13643. performancetempid:
  13644. description: 履约计划模板ID - 作废
  13645. type: integer
  13646. premiumquotemode:
  13647. description: 权利金报价方式 - 1:自动 2:手动
  13648. type: integer
  13649. rebateratio:
  13650. description: 返利比率[竞价式]
  13651. type: number
  13652. reckonorder:
  13653. description: 结算顺序
  13654. type: integer
  13655. reckonpricealgorithm:
  13656. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  13657. 6.卖一价 7.买一卖一均价 8.外部结算价'
  13658. type: integer
  13659. reckonpriceparam:
  13660. description: 结算价参数
  13661. type: integer
  13662. reckontime:
  13663. description: 结算时间[通道交易-对冲](HH:mm)
  13664. type: string
  13665. roleprioritytype:
  13666. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  13667. type: integer
  13668. selllistingauditflag:
  13669. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  13670. type: integer
  13671. trademarkettype:
  13672. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  13673. type: integer
  13674. trademode:
  13675. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  13676. 21:竞拍-大宗式 22:受托竞价
  13677. type: integer
  13678. tradeproperty:
  13679. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  13680. 8:场外期权
  13681. type: integer
  13682. tradetype:
  13683. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  13684. type: integer
  13685. required:
  13686. - marketid
  13687. - marketstatus
  13688. - openmethod
  13689. - reckonpricealgorithm
  13690. - trademode
  13691. - tradeproperty
  13692. type: object
  13693. models.Marketcalendar:
  13694. properties:
  13695. holidaydate:
  13696. description: 节假日期(yyyy-MM-dd)
  13697. type: string
  13698. marketid:
  13699. description: 市场ID
  13700. type: integer
  13701. type: object
  13702. models.Marketrun:
  13703. properties:
  13704. afternexttradedate:
  13705. description: 下下交易日
  13706. type: string
  13707. clearquoteflag:
  13708. description: 行情清盘标志- 1:未发送 2:已发送 3:已回复
  13709. type: integer
  13710. lastreckondate:
  13711. description: 最新交易日(结算成功)
  13712. type: string
  13713. machinedate:
  13714. description: 机器时间
  13715. type: string
  13716. manualflag:
  13717. description: 手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)
  13718. type: integer
  13719. marketid:
  13720. description: 市场ID
  13721. type: integer
  13722. nexttradedate:
  13723. description: 下一交易日
  13724. type: string
  13725. pretradedate:
  13726. description: 上一交易日
  13727. type: string
  13728. reckonflag:
  13729. description: '结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)'
  13730. type: integer
  13731. runstatus:
  13732. description: 运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始
  13733. 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败
  13734. 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内)
  13735. 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功
  13736. 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始
  13737. 62.今日免清算
  13738. type: integer
  13739. sectionid:
  13740. description: 时间段号[多时段时用]
  13741. type: integer
  13742. tradedate:
  13743. description: 当前交易日(服务) 资金结算完成即变更,供交易服务使用
  13744. type: string
  13745. tradedate2:
  13746. description: 当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  13747. type: string
  13748. updatetime:
  13749. description: 更新时间
  13750. type: string
  13751. required:
  13752. - marketid
  13753. - nexttradedate
  13754. - reckonflag
  13755. - runstatus
  13756. - tradedate
  13757. - tradedate2
  13758. type: object
  13759. models.Messageboard:
  13760. properties:
  13761. contactnum:
  13762. description: 联系电话
  13763. type: string
  13764. createtime:
  13765. description: 创建时间
  13766. type: string
  13767. message:
  13768. description: 留言信息
  13769. type: string
  13770. messageboardid:
  13771. description: 留言簿ID(SEQ_MessageBoard)
  13772. type: integer
  13773. userid:
  13774. description: 用户ID
  13775. type: integer
  13776. required:
  13777. - messageboardid
  13778. type: object
  13779. models.MineCpTradePreSaleResult:
  13780. properties:
  13781. applyid:
  13782. description: 预售申请ID
  13783. type: integer
  13784. buyaccountid:
  13785. description: 买方账户ID
  13786. type: integer
  13787. buyhandleflag:
  13788. description: 买处理标识
  13789. type: integer
  13790. buyuserid:
  13791. description: 买方用户ID
  13792. type: integer
  13793. createtime:
  13794. description: 创建时间
  13795. type: string
  13796. depositremain:
  13797. description: 未付定金
  13798. type: number
  13799. endtime:
  13800. description: 预售结束时间
  13801. type: string
  13802. goodscode:
  13803. description: 期货合约代码(内部)
  13804. type: string
  13805. goodsid:
  13806. description: 商品ID
  13807. type: integer
  13808. goodsname:
  13809. description: 期货合约名称
  13810. type: string
  13811. goodsnamedisplay:
  13812. description: 商品名称
  13813. type: string
  13814. handleflag:
  13815. description: 处理标识 - 0:未处理 1:已处理
  13816. type: integer
  13817. handlestatus:
  13818. description: 处理状态
  13819. type: integer
  13820. marketid:
  13821. description: 市场ID
  13822. type: integer
  13823. openprice:
  13824. description: 建仓价格\预售价
  13825. type: number
  13826. paystatus:
  13827. description: 支付状态 - 1:待支付 2:已支付
  13828. type: integer
  13829. relatedgoodsid:
  13830. description: 关联交易合约ID
  13831. type: integer
  13832. relatedmarketid:
  13833. description: 关联交易合约市场ID
  13834. type: integer
  13835. relatedtradeid:
  13836. description: 二级市场成交单ID
  13837. type: integer
  13838. sellaccountid:
  13839. description: 卖方账户ID
  13840. type: integer
  13841. sellhandleflag:
  13842. description: 卖处理标识
  13843. type: integer
  13844. sellname:
  13845. description: 客户名称(企业名称)
  13846. type: string
  13847. selluserid:
  13848. description: 卖方用户ID
  13849. type: integer
  13850. starttime:
  13851. description: 预售开始时间
  13852. type: string
  13853. tradeamount:
  13854. description: 成交金额\转让定金
  13855. type: number
  13856. tradedate:
  13857. description: 交易日(yyyyMMdd)
  13858. type: string
  13859. tradeid:
  13860. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13861. type: integer
  13862. tradeqty:
  13863. description: 成交数量
  13864. type: integer
  13865. transferdeposit:
  13866. description: 转让定金
  13867. type: number
  13868. transferdepositratio:
  13869. description: 转让定金比例(49)
  13870. type: number
  13871. required:
  13872. - buyuserid
  13873. type: object
  13874. models.MineTradeGoodsDeliveryOffline:
  13875. properties:
  13876. accountid:
  13877. description: 账户ID
  13878. type: integer
  13879. buyorsell:
  13880. description: 交收方向 - 0:买 1:卖
  13881. type: integer
  13882. buyorselldisplay:
  13883. description: 交收方向
  13884. type: string
  13885. closetime:
  13886. description: 完成时间
  13887. type: string
  13888. closetradedate:
  13889. description: 完成交易日
  13890. type: string
  13891. deliveryamount:
  13892. description: 交收货款
  13893. type: number
  13894. deliveryinfo:
  13895. description: 交收信息
  13896. type: string
  13897. deliverylot:
  13898. description: 交收手数
  13899. type: integer
  13900. deliveryorderid:
  13901. description: 交收单号(905+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13902. type: string
  13903. deliveryprice:
  13904. description: 交收价格
  13905. type: number
  13906. deliveryqty:
  13907. description: 交收数量 (手数*合约乘数)
  13908. type: integer
  13909. goodscode:
  13910. description: 期货合约代码(内部)
  13911. type: string
  13912. goodsid:
  13913. description: 商品ID
  13914. type: integer
  13915. goodsname:
  13916. description: 期货合约名称
  13917. type: string
  13918. goodsnamedisplay:
  13919. description: 商品名称
  13920. type: string
  13921. goodsunit:
  13922. description: 单位
  13923. type: string
  13924. marketid:
  13925. description: 市场ID
  13926. type: integer
  13927. matchaccountid:
  13928. description: 对手方AccountID
  13929. type: integer
  13930. matchuserid:
  13931. description: 对手方UserID
  13932. type: integer
  13933. matchusername:
  13934. description: '[交收对手方]客户名称(企业名称)'
  13935. type: string
  13936. orderstatus:
  13937. description: 单据状态 - 1:待处理 2:交收中 3:已完成
  13938. type: integer
  13939. orderstatusdisplay:
  13940. description: 单据状态
  13941. type: string
  13942. reqtime:
  13943. description: 申请时间
  13944. type: string
  13945. reqtradedate:
  13946. description: 申请交易日
  13947. type: string
  13948. userid:
  13949. description: 申请用户ID
  13950. type: integer
  13951. required:
  13952. - userid
  13953. type: object
  13954. models.MineTradeOrder:
  13955. properties:
  13956. accountid:
  13957. description: 账户ID[报价币种]
  13958. type: integer
  13959. amountflag:
  13960. description: 资金标识 - 1:余额 2;待付
  13961. type: integer
  13962. buildtype:
  13963. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  13964. type: integer
  13965. buyorsell:
  13966. description: 买卖 - 0:买 1:卖
  13967. type: integer
  13968. cancelorderid:
  13969. description: 撤单单号(撤单时填写)
  13970. type: integer
  13971. cancelqty:
  13972. description: 撤单数量
  13973. type: integer
  13974. clientordertime:
  13975. description: 客户端委托时间
  13976. type: string
  13977. clientticket:
  13978. description: 客户端流水号
  13979. type: string
  13980. clienttype:
  13981. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  13982. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  13983. type: integer
  13984. closeexchagechargevalue:
  13985. description: 平仓交易所手续费设置值
  13986. type: number
  13987. closefeealgorithm:
  13988. description: 平仓手续费收取方式 1:比率 2:固定
  13989. type: integer
  13990. closefreezecharge:
  13991. description: 平仓冻结手续费(先建后平操作,需要记录)
  13992. type: number
  13993. closememberchargevalue:
  13994. description: 平仓会员手续费设置值
  13995. type: number
  13996. closeqty:
  13997. description: 平仓数量(先建后平操作 需要记录)
  13998. type: integer
  13999. closetradeqty:
  14000. description: 平仓成交数量(先建后平操作,需要记录)
  14001. type: integer
  14002. closeunfreezecharge:
  14003. description: 平仓解冻手续费(先建后平操作,需要记录)
  14004. type: number
  14005. delistingtype:
  14006. description: 摘牌类型 - 1:价格最优 2:点选成交
  14007. type: integer
  14008. freezecharge:
  14009. description: 冻结手续费
  14010. type: number
  14011. freezemargin:
  14012. description: 冻结保证金(冻结交易金额)
  14013. type: number
  14014. freezeqty:
  14015. description: 冻结数量
  14016. type: integer
  14017. gcaccountid:
  14018. description: 账户ID[合约币种]
  14019. type: integer
  14020. goodscode:
  14021. description: 期货合约代码(内部)
  14022. type: string
  14023. goodsid:
  14024. description: 商品ID
  14025. type: integer
  14026. goodsname:
  14027. description: 期货合约名称
  14028. type: string
  14029. goodsnamedisplay:
  14030. description: 商品名称
  14031. type: string
  14032. isconfirmexercise:
  14033. description: 是否确认行权- 0:否 1:是
  14034. type: integer
  14035. ispreexercise:
  14036. description: 是否预申报- 0:否 1:是
  14037. type: integer
  14038. listingselecttype:
  14039. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  14040. type: integer
  14041. marginalgorithm:
  14042. description: 保证金收取方式 1:比率 2:固定
  14043. type: integer
  14044. marginvalue:
  14045. description: 即市保证金设置值
  14046. type: number
  14047. marketid:
  14048. description: 市场ID
  14049. type: integer
  14050. marketmaxsub:
  14051. description: 市价最大偏移范围 [浮动价 - 点差]
  14052. type: number
  14053. memberuserid:
  14054. description: 所属会员UserID
  14055. type: integer
  14056. openexchagechargevalue:
  14057. description: 建仓交易所手续费设置值
  14058. type: number
  14059. openfeealgorithm:
  14060. description: 建仓手续费收取方式 1:比率 2:固定
  14061. type: integer
  14062. openfreezecharge:
  14063. description: 开仓冻结手续费(先建后平操作,需要记录)
  14064. type: number
  14065. openmemberchargevalue:
  14066. description: 建仓会员手续费设置值
  14067. type: number
  14068. openqty:
  14069. description: 开仓数量(先建后平操作,需要记录)
  14070. type: integer
  14071. opentradeqty:
  14072. description: 开仓成交数量(先建后平操作,需要记录)
  14073. type: integer
  14074. openunfreezecharge:
  14075. description: 开仓解冻手续费(先建后平操作,需要记录)
  14076. type: number
  14077. operatetype:
  14078. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  14079. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  14080. 15:管理端协议转让 ... 23:融资买入
  14081. type: integer
  14082. operatorid:
  14083. description: 登录账号(LoginID)
  14084. type: integer
  14085. optiontype:
  14086. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  14087. type: integer
  14088. orderflag:
  14089. description: 委托标识 - 1:按量 2:按金额
  14090. type: integer
  14091. orderid:
  14092. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  14093. type: string
  14094. orderprice:
  14095. description: 委托价格
  14096. type: number
  14097. orderqty:
  14098. description: 委托数量
  14099. type: integer
  14100. ordersrc:
  14101. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  14102. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  14103. type: integer
  14104. orderstatus:
  14105. description: 委托状态 - 参考枚举'orderstatus' - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:部成 8:已成 9:部成部撤 10:成交失败 11:委托拒绝 12:经过摘牌(先摘后挂专用) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用) 17:冻结PD成功 18:冻结PD失败 19:冻结能量成功 20:冻结能量失败 21:预约已报价 22:过期未付 23:优惠券处理中 24:仓单生成失败 25:首付扣款失败 26:履约失败 27:撤单解冻贷款失败
  14106. type: integer
  14107. ordertime:
  14108. description: 委托时间
  14109. type: string
  14110. preexerciseprice:
  14111. description: 预申报价格
  14112. type: number
  14113. premium:
  14114. description: 权利金
  14115. type: number
  14116. preorderid:
  14117. description: 关联预埋单号(止盈止损单时填写)
  14118. type: integer
  14119. presaleprice:
  14120. description: 发售价(49)
  14121. type: number
  14122. pricemode:
  14123. description: '取价方式 - 1:市价 2: 限价 3:浮动价'
  14124. type: integer
  14125. quoteid:
  14126. description: 报价单ID
  14127. type: integer
  14128. relatedid:
  14129. description: 关联单号(交割单)
  14130. type: integer
  14131. retcode:
  14132. description: 错误代码
  14133. type: integer
  14134. sessionid:
  14135. description: 会话ID
  14136. type: integer
  14137. tradedate:
  14138. description: 交易日(yyyyMMdd)
  14139. type: string
  14140. tradeproperty:
  14141. description: 交易属性
  14142. type: integer
  14143. tradeqty:
  14144. description: 成交数量
  14145. type: integer
  14146. unfreezecharge:
  14147. description: 解冻手续费
  14148. type: number
  14149. unfreezemargin:
  14150. description: 解冻保证金
  14151. type: number
  14152. updatetime:
  14153. description: 更新时间
  14154. type: string
  14155. uuid:
  14156. description: 发起端唯一id
  14157. type: string
  14158. validtime:
  14159. description: 有效期限
  14160. type: string
  14161. validtype:
  14162. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  14163. type: integer
  14164. volumetype:
  14165. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  14166. type: integer
  14167. type: object
  14168. models.MineTradeOrderDetail:
  14169. properties:
  14170. accountid:
  14171. description: 账户ID[报价币种]
  14172. type: integer
  14173. amountflag:
  14174. description: 资金标识 - 1:余额 2;待付
  14175. type: integer
  14176. buildtype:
  14177. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  14178. type: integer
  14179. buyorsell:
  14180. description: 买卖 - 0:买 1:卖
  14181. type: integer
  14182. cancelorderid:
  14183. description: 撤单单号(撤单时填写)
  14184. type: integer
  14185. cancelqty:
  14186. description: 撤单数量
  14187. type: integer
  14188. clientordertime:
  14189. description: 客户端委托时间
  14190. type: string
  14191. clientticket:
  14192. description: 客户端流水号
  14193. type: string
  14194. clienttype:
  14195. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  14196. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  14197. type: integer
  14198. closeexchagechargevalue:
  14199. description: 平仓交易所手续费设置值
  14200. type: number
  14201. closefeealgorithm:
  14202. description: 平仓手续费收取方式 1:比率 2:固定
  14203. type: integer
  14204. closefreezecharge:
  14205. description: 平仓冻结手续费(先建后平操作,需要记录)
  14206. type: number
  14207. closememberchargevalue:
  14208. description: 平仓会员手续费设置值
  14209. type: number
  14210. closeqty:
  14211. description: 平仓数量(先建后平操作 需要记录)
  14212. type: integer
  14213. closetradeqty:
  14214. description: 平仓成交数量(先建后平操作,需要记录)
  14215. type: integer
  14216. closeunfreezecharge:
  14217. description: 平仓解冻手续费(先建后平操作,需要记录)
  14218. type: number
  14219. delistingtype:
  14220. description: 摘牌类型 - 1:价格最优 2:点选成交
  14221. type: integer
  14222. endtime:
  14223. description: 预售结束时间
  14224. type: string
  14225. freezecharge:
  14226. description: 冻结手续费
  14227. type: number
  14228. freezemargin:
  14229. description: 冻结保证金(冻结交易金额)
  14230. type: number
  14231. freezeqty:
  14232. description: 冻结数量
  14233. type: integer
  14234. gcaccountid:
  14235. description: 账户ID[合约币种]
  14236. type: integer
  14237. goodscode:
  14238. description: 期货合约代码(内部)
  14239. type: string
  14240. goodsid:
  14241. description: 商品ID
  14242. type: integer
  14243. goodsname:
  14244. description: 期货合约名称
  14245. type: string
  14246. goodsnamedisplay:
  14247. description: 商品名称
  14248. type: string
  14249. isconfirmexercise:
  14250. description: 是否确认行权- 0:否 1:是
  14251. type: integer
  14252. ispreexercise:
  14253. description: 是否预申报- 0:否 1:是
  14254. type: integer
  14255. listingselecttype:
  14256. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  14257. type: integer
  14258. marginalgorithm:
  14259. description: 保证金收取方式 1:比率 2:固定
  14260. type: integer
  14261. marginvalue:
  14262. description: 即市保证金设置值
  14263. type: number
  14264. marketid:
  14265. description: 市场ID
  14266. type: integer
  14267. marketmaxsub:
  14268. description: 市价最大偏移范围 [浮动价 - 点差]
  14269. type: number
  14270. memberuserid:
  14271. description: 所属会员UserID
  14272. type: integer
  14273. openexchagechargevalue:
  14274. description: 建仓交易所手续费设置值
  14275. type: number
  14276. openfeealgorithm:
  14277. description: 建仓手续费收取方式 1:比率 2:固定
  14278. type: integer
  14279. openfreezecharge:
  14280. description: 开仓冻结手续费(先建后平操作,需要记录)
  14281. type: number
  14282. openmemberchargevalue:
  14283. description: 建仓会员手续费设置值
  14284. type: number
  14285. openqty:
  14286. description: 开仓数量(先建后平操作,需要记录)
  14287. type: integer
  14288. opentradeqty:
  14289. description: 开仓成交数量(先建后平操作,需要记录)
  14290. type: integer
  14291. openunfreezecharge:
  14292. description: 开仓解冻手续费(先建后平操作,需要记录)
  14293. type: number
  14294. operatetype:
  14295. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  14296. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  14297. 15:管理端协议转让 ... 23:融资买入
  14298. type: integer
  14299. operatorid:
  14300. description: 登录账号(LoginID)
  14301. type: integer
  14302. optiontype:
  14303. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  14304. type: integer
  14305. orderflag:
  14306. description: 委托标识 - 1:按量 2:按金额
  14307. type: integer
  14308. orderid:
  14309. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  14310. type: string
  14311. orderprice:
  14312. description: 委托价格
  14313. type: number
  14314. orderqty:
  14315. description: 委托数量
  14316. type: integer
  14317. ordersrc:
  14318. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  14319. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  14320. type: integer
  14321. orderstatus:
  14322. description: 委托状态 - 参考枚举'orderstatus' - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:部成 8:已成 9:部成部撤 10:成交失败 11:委托拒绝 12:经过摘牌(先摘后挂专用) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用) 17:冻结PD成功 18:冻结PD失败 19:冻结能量成功 20:冻结能量失败 21:预约已报价 22:过期未付 23:优惠券处理中 24:仓单生成失败 25:首付扣款失败 26:履约失败 27:撤单解冻贷款失败
  14323. type: integer
  14324. ordertime:
  14325. description: 委托时间
  14326. type: string
  14327. preexerciseprice:
  14328. description: 预申报价格
  14329. type: number
  14330. premium:
  14331. description: 权利金
  14332. type: number
  14333. preorderid:
  14334. description: 关联预埋单号(止盈止损单时填写)
  14335. type: integer
  14336. presaledepositalgorithm:
  14337. description: 预售定金方式(48) - 1:比率 2:固定
  14338. type: integer
  14339. presaledepositvalue:
  14340. description: 预售定金设置值(48)
  14341. type: number
  14342. pricemode:
  14343. description: '取价方式 - 1:市价 2: 限价 3:浮动价'
  14344. type: integer
  14345. quoteid:
  14346. description: 报价单ID
  14347. type: integer
  14348. relatedid:
  14349. description: 关联单号(交割单)
  14350. type: string
  14351. retcode:
  14352. description: 错误代码
  14353. type: integer
  14354. sellname:
  14355. description: 客户名称(企业名称)
  14356. type: string
  14357. sessionid:
  14358. description: 会话ID
  14359. type: integer
  14360. startprice:
  14361. description: 起拍价[大宗式竞拍]
  14362. type: number
  14363. starttime:
  14364. description: 预售开始时间
  14365. type: string
  14366. tradedate:
  14367. description: 交易日(yyyyMMdd)
  14368. type: string
  14369. tradeprice:
  14370. description: 成交价[大宗]
  14371. type: number
  14372. tradeproperty:
  14373. description: 交易属性
  14374. type: integer
  14375. tradeqty:
  14376. description: 成交数量
  14377. type: integer
  14378. unfreezecharge:
  14379. description: 解冻手续费
  14380. type: number
  14381. unfreezemargin:
  14382. description: 解冻保证金
  14383. type: number
  14384. updatetime:
  14385. description: 更新时间
  14386. type: string
  14387. uuid:
  14388. description: 发起端唯一id
  14389. type: string
  14390. validtime:
  14391. description: 有效期限
  14392. type: string
  14393. validtype:
  14394. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  14395. type: integer
  14396. volumetype:
  14397. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  14398. type: integer
  14399. type: object
  14400. models.MineTradePositionEx:
  14401. properties:
  14402. accountid:
  14403. description: 账号Id
  14404. type: integer
  14405. buycurholderamount:
  14406. description: 买当前持仓总金额[商品币种]
  14407. type: number
  14408. buycurpositionqty:
  14409. description: 买当前持仓总数量
  14410. type: integer
  14411. buyfrozenqty:
  14412. description: 买持仓冻结数量
  14413. type: integer
  14414. depositremain:
  14415. description: 未付定金
  14416. type: number
  14417. goodscode:
  14418. description: 期货合约代码(内部)
  14419. type: string
  14420. goodsid:
  14421. description: 商品Id
  14422. type: integer
  14423. goodsname:
  14424. description: 期货合约名称
  14425. type: string
  14426. goodsnamedisplay:
  14427. description: 商品名称
  14428. type: string
  14429. lasttradedate:
  14430. description: 最后交易日期
  14431. type: string
  14432. paystatus:
  14433. description: 支付状态 -1:待支付 2:已支付
  14434. type: integer
  14435. presaleprice:
  14436. description: 发售价(49)
  14437. type: number
  14438. relatedgoodsid:
  14439. description: 关联交易合约ID
  14440. type: integer
  14441. sellname:
  14442. description: 客户名称(企业名称)
  14443. type: string
  14444. transferdeposit:
  14445. description: 转让定金(49)
  14446. type: number
  14447. transferdepositratio:
  14448. description: 转让定金比例(49)
  14449. type: number
  14450. type: object
  14451. models.MineTradeTradeDetail:
  14452. properties:
  14453. accountid:
  14454. description: 账户ID[报价币种]
  14455. type: integer
  14456. accountname:
  14457. description: 账户名称(机构名称)
  14458. type: string
  14459. buildtype:
  14460. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  14461. type: integer
  14462. buyorsell:
  14463. description: 方向 - 0:买 1:卖
  14464. type: integer
  14465. closecharge:
  14466. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  14467. type: number
  14468. closeexchagechargevalue:
  14469. description: 平仓交易所手续费设置值
  14470. type: number
  14471. closefeealgorithm:
  14472. description: 平仓手续费收取方式 1:比率 2:固定
  14473. type: integer
  14474. closememberchargevalue:
  14475. description: 平仓会员手续费设置值
  14476. type: number
  14477. closepl:
  14478. description: 平仓盈亏
  14479. type: number
  14480. closepl2:
  14481. description: 平仓盈亏[逐笔]
  14482. type: number
  14483. closeqty:
  14484. description: 平仓数量(先建后平操作 需要记录)
  14485. type: integer
  14486. creditamount:
  14487. description: 授信金额
  14488. type: number
  14489. gcaccountid:
  14490. description: 账户ID[合约币种]
  14491. type: integer
  14492. goodscode:
  14493. description: 期货合约代码(内部)
  14494. type: string
  14495. goodsid:
  14496. description: 商品ID
  14497. type: integer
  14498. goodsname:
  14499. description: 期货合约名称
  14500. type: string
  14501. goodsnamedisplay:
  14502. description: 商品名称
  14503. type: string
  14504. intclosepl:
  14505. description: 整型盈亏(用于交易结算试算平衡-收益权)
  14506. type: integer
  14507. isconfirmexercise:
  14508. description: 是否确认行权- 0:否 1:是
  14509. type: integer
  14510. ismain:
  14511. description: 是否主单 - 0:不是 1:是
  14512. type: integer
  14513. ispreexercise:
  14514. description: 是否预申报- 0:否 1:是
  14515. type: integer
  14516. isreckoned:
  14517. description: 是否结算 - 0:未结算 1:已结算
  14518. type: integer
  14519. marketid:
  14520. description: 市场ID
  14521. type: integer
  14522. matchaccountid:
  14523. description: 对手账号id
  14524. type: integer
  14525. memberuserid:
  14526. description: 会员id 个人投资者 需要填写
  14527. type: integer
  14528. opencharge:
  14529. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  14530. type: number
  14531. openexchagechargevalue:
  14532. description: 建仓交易所手续费设置值
  14533. type: number
  14534. openfeealgorithm:
  14535. description: 建仓手续费收取方式 1:比率 2:固定
  14536. type: integer
  14537. openmemberchargevalue:
  14538. description: 建仓会员手续费设置值
  14539. type: number
  14540. openqty:
  14541. description: 开仓数量(先建后平操作 需要记录)
  14542. type: integer
  14543. optiontype:
  14544. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  14545. type: integer
  14546. orderid:
  14547. description: 委托单号
  14548. type: integer
  14549. performanceplanid:
  14550. description: 履约计划ID[期权]
  14551. type: integer
  14552. performancestatus:
  14553. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  14554. type: integer
  14555. preexerciseprice:
  14556. description: 预申报价格
  14557. type: number
  14558. premium:
  14559. description: 权利金 - [持仓单的权利金]
  14560. type: number
  14561. presaleprice:
  14562. description: 发售价(49)
  14563. type: number
  14564. relatedouttradeid:
  14565. description: 关联外部成交单ID
  14566. type: integer
  14567. status:
  14568. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  14569. type: integer
  14570. tradeamount:
  14571. description: 成交金额[账户币种,用于所有权]
  14572. type: number
  14573. tradedate:
  14574. description: 交易日(yyyyMMdd)
  14575. type: string
  14576. tradeid:
  14577. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  14578. type: string
  14579. tradeprice:
  14580. description: 成交价格
  14581. type: number
  14582. tradeproperty:
  14583. description: 交易属性
  14584. type: integer
  14585. tradeqty:
  14586. description: 成交数量
  14587. type: integer
  14588. tradetime:
  14589. description: 成交时间
  14590. type: string
  14591. tradetype:
  14592. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  14593. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  14594. type: integer
  14595. type: object
  14596. models.MyBargainApply:
  14597. properties:
  14598. accountid:
  14599. description: 摘牌资金账号
  14600. type: integer
  14601. applyprice:
  14602. description: 申请价格
  14603. type: string
  14604. applyremark:
  14605. description: 申请备注
  14606. type: string
  14607. applystatus:
  14608. description: 申请状态 - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  14609. type: integer
  14610. applytime:
  14611. description: 申请时间
  14612. type: string
  14613. buyorsell:
  14614. description: 买卖 - 0:买 1:卖
  14615. type: integer
  14616. buyusername:
  14617. description: 买方
  14618. type: string
  14619. confirmprice:
  14620. description: 可接受价格(拒绝时填写)-作废
  14621. type: number
  14622. confirmqty:
  14623. description: 可接受数量(拒绝时填写)-作废
  14624. type: integer
  14625. confirmremark:
  14626. description: 确认备注
  14627. type: string
  14628. confirmtime:
  14629. description: 确认时间
  14630. type: string
  14631. confirmuserid:
  14632. description: 确认人
  14633. type: integer
  14634. goodsno:
  14635. description: 商品编号
  14636. type: string
  14637. handlestatus:
  14638. description: 处理状态
  14639. type: integer
  14640. ladingbillid:
  14641. description: 摘牌方提单ID [卖]
  14642. type: integer
  14643. marketid:
  14644. description: 市场ID
  14645. type: integer
  14646. matchaccountid:
  14647. description: 挂牌方资金账号
  14648. type: integer
  14649. matchuserid:
  14650. description: 挂牌方用户ID
  14651. type: integer
  14652. performancetemplateid:
  14653. description: 履约计划模板ID
  14654. type: integer
  14655. price:
  14656. description: 价格
  14657. type: number
  14658. priceper:
  14659. description: 克拉单价 - 类型:1,2,3,5
  14660. type: string
  14661. qty:
  14662. description: 申请数量
  14663. type: number
  14664. refprice:
  14665. description: 参考价格
  14666. type: string
  14667. retcode:
  14668. description: 委托返回代码
  14669. type: integer
  14670. sellusername:
  14671. description: 卖方
  14672. type: string
  14673. sizedisplay:
  14674. description: 尺寸
  14675. type: string
  14676. subnum:
  14677. description: 摘牌方提单子单号 [卖]
  14678. type: integer
  14679. tradedate:
  14680. description: 交易日(yyyyMMdd)
  14681. type: string
  14682. userid:
  14683. description: 摘牌人用户ID
  14684. type: integer
  14685. warehousenamedisplay:
  14686. type: string
  14687. wrbargainid:
  14688. description: '[询价单号]议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)'
  14689. type: string
  14690. wrtradeorderid:
  14691. description: 关联委托单ID
  14692. type: string
  14693. zscerttypedisplay:
  14694. type: string
  14695. zsclaritytype1display:
  14696. type: string
  14697. zsclaritytype2display:
  14698. type: string
  14699. zscolortype1display:
  14700. type: string
  14701. zscolortype2display:
  14702. type: string
  14703. zscrystaltypedisplay:
  14704. type: string
  14705. zscurrencytypedisplay:
  14706. type: string
  14707. zscurrencytypedisplayunit:
  14708. type: string
  14709. zscuttype1display:
  14710. type: string
  14711. zscuttype2display:
  14712. type: string
  14713. zsczcolor1typedisplay:
  14714. type: string
  14715. zsczcolor2typedisplay:
  14716. type: string
  14717. zsczcolor3typedisplay:
  14718. type: string
  14719. zsfluorescencetype1display:
  14720. type: string
  14721. zsfluorescencetype2display:
  14722. type: string
  14723. zspolishtype1display:
  14724. type: string
  14725. zspolishtype2display:
  14726. type: string
  14727. zsshapetypedisplay:
  14728. type: string
  14729. zsstyletypedisplay:
  14730. type: string
  14731. zssymmetrytype1display:
  14732. type: string
  14733. zssymmetrytype2display:
  14734. type: string
  14735. required:
  14736. - userid
  14737. type: object
  14738. models.MyBuyOrder:
  14739. properties:
  14740. accountid:
  14741. description: 资金账户ID
  14742. type: integer
  14743. marketid:
  14744. description: 市场ID
  14745. type: integer
  14746. ordertime:
  14747. description: 委托时间
  14748. type: string
  14749. origin:
  14750. description: 原产地
  14751. type: string
  14752. performancetemplateid:
  14753. description: 履约计划模板ID
  14754. type: integer
  14755. remark:
  14756. description: 备注
  14757. type: string
  14758. userid:
  14759. description: 用户ID
  14760. type: integer
  14761. validtime:
  14762. description: 有效期限
  14763. type: string
  14764. warehouseids:
  14765. description: 仓库ID - 多个, 逗号分隔
  14766. type: string
  14767. warehouseinfosdisplay:
  14768. type: string
  14769. wrtradeorderid:
  14770. description: '[委托单号]买委托单ID(320+Unix秒时间戳(10位)+xxxxxx)'
  14771. type: string
  14772. wrtradeorderstatus:
  14773. description: 委托状态 - 参考枚举'WRTradeOrderStatus' - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:部成 8:已成 9:部成部撤 10:成交失败 11:委托拒绝 12:经过摘牌(先摘后挂专用) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用) 17:冻结PD成功 18:冻结PD失败 19:冻结能量成功 20:冻结能量失败 21:预约已报价 22:过期未付 23:优惠券处理中 24:仓单生成失败 25:首付扣款失败 26:履约失败 27:撤单解冻贷款失败WRTrade_OrderDetail、
  14774. type: integer
  14775. zscategory:
  14776. description: 钻石分类 - 枚举”ZSCategory“
  14777. type: integer
  14778. zscategorydisplay:
  14779. type: string
  14780. zsclaritytype:
  14781. description: 净度 - 两个, 逗号分隔
  14782. type: string
  14783. zsclaritytypedisplay:
  14784. type: string
  14785. zscolortype:
  14786. description: 颜色 - 两个, 逗号分隔
  14787. type: string
  14788. zscolortypedisplay:
  14789. type: string
  14790. zscrystaltype:
  14791. description: 晶型 - 多个,逗号分隔
  14792. type: string
  14793. zscrystaltypedisplay:
  14794. type: string
  14795. zscurrencytype:
  14796. description: 货币类型 - 多个, 逗号分隔
  14797. type: string
  14798. zscurrencytypedisplay:
  14799. type: string
  14800. zscuttype:
  14801. description: 切工 - 两个, 逗号分隔
  14802. type: string
  14803. zscuttypedisplay:
  14804. type: string
  14805. zsczcolor1type:
  14806. description: 彩钻颜色1, 逗号分隔
  14807. type: string
  14808. zsczcolor1typedisplay:
  14809. type: string
  14810. zsczcolor2type:
  14811. description: 彩钻颜色2, 逗号分隔
  14812. type: string
  14813. zsczcolor2typedisplay:
  14814. type: string
  14815. zsczcolor3type:
  14816. description: 彩钻颜色3, 逗号分隔
  14817. type: string
  14818. zsczcolor3typedisplay:
  14819. type: string
  14820. zsfluorescencetype:
  14821. description: 荧光 - 多个, 逗号分隔
  14822. type: string
  14823. zsfluorescencetypedisplay:
  14824. type: string
  14825. zspolishtype:
  14826. description: 抛光度 - 两个, 逗号分隔
  14827. type: string
  14828. zspolishtypedisplay:
  14829. type: string
  14830. zsshapetype:
  14831. description: 形状 - 多个, 逗号分隔
  14832. type: string
  14833. zsshapetypedisplay:
  14834. type: string
  14835. zssize:
  14836. description: 尺寸 - 两个小数, 逗号分隔
  14837. type: string
  14838. zssizedisplay:
  14839. description: 颜色
  14840. type: string
  14841. zsstyletype:
  14842. description: 款式 - 多个, 逗号分隔
  14843. type: string
  14844. zsstyletypedisplay:
  14845. type: string
  14846. zssymmetrytype:
  14847. description: 对称度 - 两个, 逗号分隔
  14848. type: string
  14849. zssymmetrytypedisplay:
  14850. type: string
  14851. zstabledisplay:
  14852. description: 求购信息
  14853. type: string
  14854. required:
  14855. - userid
  14856. type: object
  14857. models.MyCoupon:
  14858. properties:
  14859. accountid:
  14860. description: 资金账户ID
  14861. type: integer
  14862. areauserid:
  14863. description: 所属机构
  14864. type: integer
  14865. conditionvalue:
  14866. description: 条件阈值(可为0)
  14867. type: number
  14868. couponcategroy:
  14869. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单张)
  14870. type: integer
  14871. couponname:
  14872. description: 优惠券名称
  14873. type: string
  14874. coupontypeid:
  14875. description: 优惠券类型ID
  14876. type: string
  14877. couponvalue:
  14878. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  14879. type: number
  14880. curfreezeqty:
  14881. description: 期末冻结数量
  14882. type: integer
  14883. curqty:
  14884. description: 期末数量
  14885. type: integer
  14886. isgeneral:
  14887. description: 是否通用券 - 0:否 1:是
  14888. type: integer
  14889. isunusable:
  14890. description: 是否不可用
  14891. type: boolean
  14892. limitedflag:
  14893. description: 是否指定商品 - 0:不限 1:限制
  14894. type: integer
  14895. limitedgoodsids:
  14896. description: 指定商品IDs[逗号分隔,前后加逗号]
  14897. type: string
  14898. orifreezeqty:
  14899. description: 期初冻结数量
  14900. type: integer
  14901. oriqty:
  14902. description: 期初数量
  14903. type: integer
  14904. reasontype:
  14905. description: 不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家
  14906. type: integer
  14907. todaydecrease:
  14908. description: 今日减少
  14909. type: integer
  14910. todayincrease:
  14911. description: 今日增加
  14912. type: integer
  14913. userid:
  14914. description: 用户ID
  14915. type: integer
  14916. userscope:
  14917. description: 卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]
  14918. type: string
  14919. required:
  14920. - accountid
  14921. - coupontypeid
  14922. type: object
  14923. models.MyCouponHold:
  14924. properties:
  14925. accountid:
  14926. description: 资金账户ID
  14927. type: integer
  14928. conditionvalue:
  14929. description: 条件阈值(可为0)
  14930. type: number
  14931. couponcategroy:
  14932. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)
  14933. type: integer
  14934. couponholdid:
  14935. description: 优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)
  14936. type: string
  14937. couponname:
  14938. description: 优惠券名称
  14939. type: string
  14940. coupontypeid:
  14941. description: 优惠券类型ID - SEQ_COUPONTYPE
  14942. type: string
  14943. couponvalue:
  14944. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  14945. type: number
  14946. createtime:
  14947. description: 创建时间
  14948. type: string
  14949. enddate:
  14950. description: 结束日期
  14951. type: string
  14952. giveapplyid:
  14953. description: 发放申请ID(SEQ_COUPONGIVEAPPLY)
  14954. type: integer
  14955. holdstatus:
  14956. description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期
  14957. type: integer
  14958. isgeneral:
  14959. description: 是否通用券 - 0:否 1:是
  14960. type: integer
  14961. limitedflag:
  14962. description: 是否指定商品 - 0:不限 1:限制
  14963. type: integer
  14964. limitedgoodsids:
  14965. description: 指定商品IDs[逗号分隔]
  14966. type: string
  14967. qty:
  14968. description: 数量(按1平铺)
  14969. type: integer
  14970. startdate:
  14971. description: 开始日期
  14972. type: string
  14973. userid:
  14974. description: 用户ID
  14975. type: integer
  14976. userscope:
  14977. description: 卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]
  14978. type: string
  14979. required:
  14980. - couponholdid
  14981. type: object
  14982. models.MyDeListing:
  14983. properties:
  14984. buyaccountid:
  14985. description: 买方账号ID
  14986. type: integer
  14987. buychargevalue:
  14988. description: 买方手续费
  14989. type: number
  14990. buyuserid:
  14991. description: 买方用户ID
  14992. type: integer
  14993. deliverygoodsid:
  14994. description: 现货品种ID
  14995. type: integer
  14996. exchangerate:
  14997. description: 汇率
  14998. type: number
  14999. goodsno:
  15000. description: 商品编号
  15001. type: string
  15002. marketid:
  15003. description: 市场ID
  15004. type: integer
  15005. matchusername:
  15006. description: 对手方
  15007. type: string
  15008. oritradeamount:
  15009. description: 成交金额[商品币种]
  15010. type: number
  15011. performanceplanid:
  15012. description: 履约计划ID/合同ID
  15013. type: string
  15014. price:
  15015. description: 价格
  15016. type: number
  15017. qty:
  15018. description: 成交重量
  15019. type: number
  15020. sellaccountid:
  15021. description: 卖方账号ID
  15022. type: integer
  15023. sellchargevalue:
  15024. description: 卖方手续费
  15025. type: number
  15026. selluserid:
  15027. description: 卖方用户ID
  15028. type: integer
  15029. sizedisplay:
  15030. description: 尺寸
  15031. type: string
  15032. tradeamount:
  15033. description: 成交金额
  15034. type: number
  15035. tradedate:
  15036. description: 交易日(yyyyMMdd)
  15037. type: string
  15038. tradeprice:
  15039. description: 成交价格
  15040. type: number
  15041. tradetime:
  15042. description: 成交时间
  15043. type: string
  15044. userid:
  15045. description: 用户ID
  15046. type: integer
  15047. warehousenamedisplay:
  15048. type: string
  15049. wrfactortypeid:
  15050. description: 仓单要素类型ID
  15051. type: integer
  15052. wrstandardid:
  15053. description: 现货商品ID
  15054. type: integer
  15055. wrtradedetailid:
  15056. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  15057. type: string
  15058. zscategory:
  15059. description: 钻石分类 - 枚举”ZSCategory“
  15060. type: integer
  15061. zscategorydisplay:
  15062. type: string
  15063. zscerttypedisplay:
  15064. type: string
  15065. zsclaritytype1display:
  15066. type: string
  15067. zsclaritytype2display:
  15068. type: string
  15069. zscolortype1display:
  15070. type: string
  15071. zscolortype2display:
  15072. type: string
  15073. zscrystaltypedisplay:
  15074. type: string
  15075. zscurrencytype:
  15076. description: 货币类型 - 枚举“ZSCurrencyType”
  15077. type: integer
  15078. zscurrencytypedisplay:
  15079. type: string
  15080. zscurrencytypedisplayunit:
  15081. type: string
  15082. zscuttype1display:
  15083. type: string
  15084. zscuttype2display:
  15085. type: string
  15086. zsczcolor1typedisplay:
  15087. type: string
  15088. zsczcolor2typedisplay:
  15089. type: string
  15090. zsczcolor3typedisplay:
  15091. type: string
  15092. zsfluorescencetype1display:
  15093. type: string
  15094. zsfluorescencetype2display:
  15095. type: string
  15096. zspolishtype1display:
  15097. type: string
  15098. zspolishtype2display:
  15099. type: string
  15100. zsshapetypedisplay:
  15101. type: string
  15102. zsstyletypedisplay:
  15103. type: string
  15104. zssymmetrytype1display:
  15105. type: string
  15106. zssymmetrytype2display:
  15107. type: string
  15108. required:
  15109. - userid
  15110. type: object
  15111. models.MyDelistingApply:
  15112. properties:
  15113. applyprice:
  15114. description: 申请价格
  15115. type: number
  15116. applyqty:
  15117. description: 申请数量
  15118. type: number
  15119. applyremark:
  15120. description: 申请备注
  15121. type: string
  15122. applystatus:
  15123. description: 申请状态 - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  15124. type: integer
  15125. applytime:
  15126. description: 申请时间
  15127. type: string
  15128. auditremark:
  15129. description: 确认备注
  15130. type: string
  15131. audittime:
  15132. description: 确认时间
  15133. type: string
  15134. buyuserid:
  15135. description: 买方用户ID
  15136. type: integer
  15137. buyusername:
  15138. description: 买方
  15139. type: string
  15140. buywrtradeorderid:
  15141. description: 买委托单ID
  15142. type: string
  15143. cerno:
  15144. description: 证书编号 - 类型:2,4,5
  15145. type: string
  15146. goodsno:
  15147. description: 商品编号
  15148. type: string
  15149. ladingbillid:
  15150. description: 卖方提单ID
  15151. type: string
  15152. marketid:
  15153. description: 市场ID
  15154. type: integer
  15155. performancetemplateid:
  15156. description: 履约计划模板ID
  15157. type: integer
  15158. price:
  15159. description: 价格
  15160. type: number
  15161. priceper:
  15162. description: 克拉单价
  15163. type: string
  15164. sellaccountid:
  15165. description: 卖方账户ID
  15166. type: integer
  15167. selldelistingapplyid:
  15168. description: '[询价单号]卖摘牌申请ID(916+Unix秒时间戳(10位)+xxxxxx)'
  15169. type: string
  15170. selltradeorderid:
  15171. description: 卖方委托ID(买方确认成交后更新)
  15172. type: string
  15173. selluserid:
  15174. description: 卖方用户ID
  15175. type: integer
  15176. sellusername:
  15177. description: 卖方
  15178. type: string
  15179. sizedisplay:
  15180. description: 尺寸
  15181. type: string
  15182. subnum:
  15183. description: 卖方提单子单号
  15184. type: integer
  15185. warehouseinfosdisplay:
  15186. type: string
  15187. weight:
  15188. description: 克拉重量
  15189. type: number
  15190. wrfactortypeid:
  15191. description: 仓单要素类型ID
  15192. type: string
  15193. wrstandardid:
  15194. description: 现货商品ID
  15195. type: integer
  15196. zsallproperties:
  15197. type: string
  15198. zscategorydisplay:
  15199. type: string
  15200. zscerttype:
  15201. description: 证书类型 - 枚举”ZSCertType“ - 类型:2,4,5
  15202. type: integer
  15203. zscerttypedisplay:
  15204. description: 证书类型
  15205. type: string
  15206. zsclaritytypedisplay:
  15207. type: string
  15208. zscolortypedisplay:
  15209. type: string
  15210. zscrystaltypedisplay:
  15211. type: string
  15212. zscurrencytypedisplay:
  15213. type: string
  15214. zscurrencytypedisplayunit:
  15215. description: 价格单位
  15216. type: string
  15217. zscuttypedisplay:
  15218. type: string
  15219. zsczcolor1typedisplay:
  15220. type: string
  15221. zsczcolor2typedisplay:
  15222. type: string
  15223. zsczcolor3typedisplay:
  15224. type: string
  15225. zsfluorescencetypedisplay:
  15226. type: string
  15227. zspolishtypedisplay:
  15228. type: string
  15229. zsshapetypedisplay:
  15230. type: string
  15231. zssizedisplay:
  15232. type: string
  15233. zsstyletypedisplay:
  15234. type: string
  15235. zssymmetrytypedisplay:
  15236. type: string
  15237. zstabledisplay:
  15238. type: string
  15239. required:
  15240. - selluserid
  15241. type: object
  15242. models.MyFavorite:
  15243. properties:
  15244. accountname:
  15245. description: 账户名称(机构名称)
  15246. type: string
  15247. buyorsell:
  15248. description: 买卖 - 0:买 1:卖
  15249. type: integer
  15250. favoritestatus:
  15251. description: 收藏状态 - 1:正常 2:失效
  15252. type: integer
  15253. goodsno:
  15254. description: 商品编号
  15255. type: string
  15256. imagepath:
  15257. description: 商品照片(相对地址)
  15258. type: string
  15259. marketid:
  15260. description: 市场ID
  15261. type: integer
  15262. marketprice:
  15263. description: 市场价
  15264. type: string
  15265. price:
  15266. description: 价格
  15267. type: number
  15268. priceper:
  15269. description: 克拉单价
  15270. type: string
  15271. sellusername:
  15272. description: 卖家
  15273. type: string
  15274. sizedisplay:
  15275. description: 尺寸
  15276. type: string
  15277. userid:
  15278. description: 用户ID
  15279. type: integer
  15280. warehousenamedisplay:
  15281. description: 仓库名称
  15282. type: string
  15283. weight:
  15284. description: 总重量(克拉重量) - 类型:1,2,3,4,5
  15285. type: number
  15286. weightavg:
  15287. description: 平均单颗重量 - 类型:1,3
  15288. type: number
  15289. wrfactortypeid:
  15290. description: 仓单要素类型ID/商品ID(77)
  15291. type: string
  15292. wrstandardid:
  15293. description: 现货商品ID(自增 SEQ_GOODS 确保不重复)
  15294. type: integer
  15295. wrtradeorderid:
  15296. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  15297. type: string
  15298. zscategory:
  15299. description: 钻石分类 - 枚举”ZSCategory“
  15300. type: integer
  15301. zscategorydisplay:
  15302. type: string
  15303. zscerttypedisplay:
  15304. type: string
  15305. zsclaritytype1display:
  15306. type: string
  15307. zsclaritytype2display:
  15308. type: string
  15309. zscolortype1display:
  15310. type: string
  15311. zscolortype2display:
  15312. type: string
  15313. zscrystaltypedisplay:
  15314. type: string
  15315. zscurrencytypedisplay:
  15316. type: string
  15317. zscurrencytypedisplayunit:
  15318. type: string
  15319. zscuttype1display:
  15320. type: string
  15321. zscuttype2display:
  15322. type: string
  15323. zsczcolor1typedisplay:
  15324. type: string
  15325. zsczcolor2typedisplay:
  15326. type: string
  15327. zsczcolor3typedisplay:
  15328. type: string
  15329. zsfluorescencetype1display:
  15330. type: string
  15331. zsfluorescencetype2display:
  15332. type: string
  15333. zspolishtype1display:
  15334. type: string
  15335. zspolishtype2display:
  15336. type: string
  15337. zsshapetypedisplay:
  15338. type: string
  15339. zsstyletypedisplay:
  15340. type: string
  15341. zssymmetrytype1display:
  15342. type: string
  15343. zssymmetrytype2display:
  15344. type: string
  15345. required:
  15346. - userid
  15347. type: object
  15348. models.MyPerformanc:
  15349. properties:
  15350. accountname:
  15351. description: '[对手方]账户名称(机构名称)'
  15352. type: string
  15353. amount:
  15354. description: 履约金额
  15355. type: number
  15356. buyaccountid:
  15357. description: 买方账号
  15358. type: integer
  15359. buyerfreezeamount:
  15360. description: 买方履约前冻结资金
  15361. type: number
  15362. buyerfreezeamountremain:
  15363. description: 买方履约前冻结资金剩余
  15364. type: number
  15365. buyerinfo:
  15366. description: '买方联系信息 - 存JSON字符串, 根据枚举‘BuyerContactInfo'',显示\隐藏字段,若数据不为JSON,则直接显示{ "ContactInfo":
  15367. "xxxxxxxx", "ReceiveInfo": "xxxxxxxxx", "ReceiptInfo": "xxxxxxxxxxxx"}'
  15368. type: string
  15369. buyorsell:
  15370. description: 方向 - 0:买 1:卖
  15371. type: integer
  15372. buypaidamount:
  15373. description: 买方已冻/已扣金额
  15374. type: number
  15375. buytodayamount:
  15376. description: 买方今日扣/冻金额 (待开市时清零)
  15377. type: number
  15378. curstepid:
  15379. description: 当前步骤ID
  15380. type: string
  15381. executeside:
  15382. description: 步骤执行方 - 1:买方 2:卖方
  15383. type: integer
  15384. goodsno:
  15385. description: 商品编号
  15386. type: string
  15387. overshortamount:
  15388. description: 溢短金额
  15389. type: number
  15390. paymenttype:
  15391. description: 买方支付方式 - 1:冻结 2:扣款
  15392. type: integer
  15393. performanceplanid:
  15394. description: 履约计划ID(130+yyMMddHHmmss+xxxx)
  15395. type: string
  15396. performancestatus:
  15397. description: 履约状态 - 1:待激活 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败
  15398. 9:超时待处理 10:超时关闭
  15399. type: integer
  15400. price:
  15401. description: 价格
  15402. type: number
  15403. priceper:
  15404. description: 克拉单价
  15405. type: string
  15406. relatedorderid:
  15407. description: 关联单号(履约类型的关联单号)
  15408. type: string
  15409. remaindays:
  15410. description: 剩余天数
  15411. type: integer
  15412. sellerfreezeamount:
  15413. description: 卖方履约前冻结资金
  15414. type: number
  15415. sellerfreezeamountremain:
  15416. description: 卖方履约前冻结资金剩余
  15417. type: number
  15418. sellerinfo:
  15419. description: '卖方联系信息 - 存JSON字符串, 根据枚举‘SellerContactInfo'',显示\隐藏字段,若数据不为JSON,则直接显示{ "ContactInfo":
  15420. "xxxxxxxx"}'
  15421. type: string
  15422. sellreceivedamount:
  15423. description: 卖方已收金额
  15424. type: number
  15425. selltodayamount:
  15426. description: 卖方今日收取金额(待开市时清零)
  15427. type: number
  15428. sizedisplay:
  15429. description: 尺寸
  15430. type: string
  15431. steptypeid:
  15432. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  15433. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  15434. type: integer
  15435. warehousenamedisplay:
  15436. type: string
  15437. weight:
  15438. description: 总重量(克拉重量) - 类型:1,2,3,4,5
  15439. type: number
  15440. zscategorydisplay:
  15441. type: string
  15442. zscerttypedisplay:
  15443. type: string
  15444. zsclaritytype1display:
  15445. type: string
  15446. zsclaritytype2display:
  15447. type: string
  15448. zscolortype1display:
  15449. type: string
  15450. zscolortype2display:
  15451. type: string
  15452. zscrystaltypedisplay:
  15453. type: string
  15454. zscurrencytypedisplay:
  15455. type: string
  15456. zscurrencytypedisplayunit:
  15457. type: string
  15458. zscuttype1display:
  15459. type: string
  15460. zscuttype2display:
  15461. type: string
  15462. zsczcolor1typedisplay:
  15463. type: string
  15464. zsczcolor2typedisplay:
  15465. type: string
  15466. zsczcolor3typedisplay:
  15467. type: string
  15468. zsfluorescencetype1display:
  15469. type: string
  15470. zsfluorescencetype2display:
  15471. type: string
  15472. zspolishtype1display:
  15473. type: string
  15474. zspolishtype2display:
  15475. type: string
  15476. zsshapetypedisplay:
  15477. type: string
  15478. zsstyletypedisplay:
  15479. type: string
  15480. zssymmetrytype1display:
  15481. type: string
  15482. zssymmetrytype2display:
  15483. type: string
  15484. type: object
  15485. models.MyRefer:
  15486. properties:
  15487. accountname:
  15488. description: 用户名(脱敏)
  15489. type: string
  15490. createtime:
  15491. description: 时间(yyyy-mm-dd)
  15492. type: string
  15493. score:
  15494. description: 积分
  15495. type: number
  15496. type: object
  15497. models.MySellOrder:
  15498. properties:
  15499. accountid:
  15500. description: 资金账号
  15501. type: integer
  15502. applyid:
  15503. description: 申请单ID
  15504. type: integer
  15505. attachment1:
  15506. description: 附件1
  15507. type: string
  15508. attachment2:
  15509. description: 附件2
  15510. type: string
  15511. buyorsell:
  15512. description: 买卖 - 0:买 1:卖
  15513. type: integer
  15514. canbargain:
  15515. description: 是否可议价 - 0:不可 1:可
  15516. type: integer
  15517. cancelqty:
  15518. description: 撤销数量
  15519. type: integer
  15520. canceltime:
  15521. description: 撤销时间
  15522. type: string
  15523. cerno:
  15524. type: string
  15525. chargealgorithm:
  15526. description: 手续费收取方式 1:比率 2:固定
  15527. type: integer
  15528. chargealgorithmvalue:
  15529. description: 手续费设置值(交易所部分)
  15530. type: number
  15531. chargealgorithmvalue2:
  15532. description: 手续费设置值(会员部分)
  15533. type: number
  15534. clientordertime:
  15535. description: 客户端委托时间
  15536. type: string
  15537. cpcertno:
  15538. type: string
  15539. exchangerate:
  15540. description: 汇率[67]
  15541. type: number
  15542. firstratio:
  15543. description: 首付比率 - [挂牌时指定,摘牌时使用]
  15544. type: number
  15545. fixedprice:
  15546. description: '[克拉单价]固定价格 - [挂牌]'
  15547. type: number
  15548. freezecharge:
  15549. description: 冻结手续费
  15550. type: number
  15551. freezefirstamount:
  15552. description: 冻结首付金额 - [摘牌]
  15553. type: number
  15554. freezemargin:
  15555. description: 冻结保证金
  15556. type: number
  15557. goodsno:
  15558. description: 商品编号
  15559. type: string
  15560. imagepath:
  15561. type: string
  15562. isspecified:
  15563. description: 是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  15564. type: integer
  15565. kppath:
  15566. type: string
  15567. kpweight:
  15568. type: string
  15569. marginalgorithm:
  15570. description: 保证金方式 - 1:比率 2:固定
  15571. type: integer
  15572. marginvalue:
  15573. description: 保证金设置值
  15574. type: number
  15575. marketid:
  15576. description: 市场ID
  15577. type: integer
  15578. marketprice:
  15579. type: string
  15580. orderamount:
  15581. description: 挂牌金额[账户] [67]= OrderQty * FixedPrice * ExchangeRate /100
  15582. type: number
  15583. ordertime:
  15584. description: 委托时间
  15585. type: string
  15586. performancetemplateid:
  15587. description: 履约计划模板ID
  15588. type: integer
  15589. price:
  15590. description: 价格
  15591. type: number
  15592. pricefactor:
  15593. description: 价格系数(浮动价时填写) - [挂牌]
  15594. type: number
  15595. pricemove:
  15596. description: 升贴水(浮动价时填写) - [挂牌]
  15597. type: number
  15598. priceper:
  15599. type: string
  15600. relatedwrtradeorderid:
  15601. description: 关联委托单号(摘牌委托关联挂牌委托单ID)
  15602. type: integer
  15603. remark:
  15604. type: string
  15605. retcode:
  15606. description: 错误代码
  15607. type: integer
  15608. selledqty:
  15609. description: 成交重量
  15610. type: number
  15611. settingmaterial:
  15612. type: string
  15613. size1:
  15614. type: string
  15615. size2:
  15616. type: string
  15617. size3:
  15618. type: string
  15619. sizedisplay:
  15620. description: 尺寸
  15621. type: string
  15622. stonedesc:
  15623. type: string
  15624. totalqty:
  15625. description: 总重量
  15626. type: number
  15627. tradedate:
  15628. description: 交易日(yyyyMMdd)
  15629. type: string
  15630. tradeprice:
  15631. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)*
  15632. 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  15633. type: number
  15634. unfreezecharge:
  15635. description: 解冻手续费
  15636. type: number
  15637. unfreezefirstamount:
  15638. description: 解冻首付金额 - [摘牌]
  15639. type: number
  15640. unfreezemargin:
  15641. description: 解冻保证金
  15642. type: number
  15643. userid:
  15644. description: 用户ID
  15645. type: integer
  15646. uuid:
  15647. description: 发起端唯一id
  15648. type: string
  15649. validtime:
  15650. description: 有效期限
  15651. type: string
  15652. validtype:
  15653. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  15654. type: integer
  15655. warehousenamedisplay:
  15656. type: string
  15657. wrbargainid:
  15658. description: 议价申请单ID
  15659. type: integer
  15660. wrfactortypeid:
  15661. description: 仓单要素类型ID/商品ID(77)
  15662. type: integer
  15663. wrpath:
  15664. type: string
  15665. wrpricetype:
  15666. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  15667. type: integer
  15668. wrstandardid:
  15669. description: 现货商品ID
  15670. type: integer
  15671. wrtradeorderid:
  15672. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  15673. type: string
  15674. wrtradeorderstatus:
  15675. description: 委托状态 - 参考枚举'WRTradeOrderStatus' - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:部成 8:已成 9:部成部撤 10:成交失败 11:委托拒绝 12:经过摘牌(先摘后挂专用) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用) 17:冻结PD成功 18:冻结PD失败 19:冻结能量成功 20:冻结能量失败 21:预约已报价 22:过期未付 23:优惠券处理中 24:仓单生成失败 25:首付扣款失败 26:履约失败 27:撤单解冻贷款失败
  15676. type: integer
  15677. wrtradetype:
  15678. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  15679. type: integer
  15680. wrtransferuserid:
  15681. description: 仓单受让用户 - [摘牌]
  15682. type: integer
  15683. zscategory:
  15684. description: 钻石分类 - 枚举”ZSCategory“
  15685. type: integer
  15686. zscategorydisplay:
  15687. description: 钻石分类 - 描述
  15688. type: string
  15689. zscerttypedisplay:
  15690. type: string
  15691. zsclaritytype1display:
  15692. type: string
  15693. zsclaritytype2display:
  15694. type: string
  15695. zscolortype1display:
  15696. type: string
  15697. zscolortype2display:
  15698. type: string
  15699. zscrystaltype:
  15700. type: string
  15701. zscrystaltypedisplay:
  15702. type: string
  15703. zscurrencytype:
  15704. description: 货币类型 - 枚举“ZSCurrencyType”
  15705. type: integer
  15706. zscurrencytypedisplay:
  15707. type: string
  15708. zscurrencytypedisplayunit:
  15709. type: string
  15710. zscuttype1display:
  15711. type: string
  15712. zscuttype2display:
  15713. type: string
  15714. zsczcolor1typedisplay:
  15715. type: string
  15716. zsczcolor2typedisplay:
  15717. type: string
  15718. zsczcolor3typedisplay:
  15719. type: string
  15720. zsfluorescencetype1display:
  15721. type: string
  15722. zsfluorescencetype2display:
  15723. type: string
  15724. zspolishtype1display:
  15725. type: string
  15726. zspolishtype2display:
  15727. type: string
  15728. zsshapetypedisplay:
  15729. type: string
  15730. zsstyletypedisplay:
  15731. type: string
  15732. zssymmetrytype1display:
  15733. type: string
  15734. zssymmetrytype2display:
  15735. type: string
  15736. required:
  15737. - userid
  15738. type: object
  15739. models.MyUsedCoupon:
  15740. properties:
  15741. accountid:
  15742. description: 资金账户ID(买方)
  15743. type: integer
  15744. conditionvalue:
  15745. description: 条件阈值(可为0)
  15746. type: number
  15747. couponcategroy:
  15748. description: 种类 - 1:现金券 2:折扣券
  15749. type: integer
  15750. couponname:
  15751. description: 优惠券名称
  15752. type: string
  15753. coupontypeid:
  15754. description: 优惠券类型ID(买方)
  15755. type: string
  15756. couponvalue:
  15757. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]
  15758. type: number
  15759. createtime:
  15760. description: 创建时间
  15761. type: string
  15762. goodsid:
  15763. description: 商品ID
  15764. type: integer
  15765. handlestatus:
  15766. description: 处理状态
  15767. type: integer
  15768. marketid:
  15769. description: 市场ID
  15770. type: integer
  15771. offamount:
  15772. description: 优惠金额
  15773. type: number
  15774. orderid:
  15775. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  15776. type: string
  15777. sellaccountid:
  15778. description: 资金账户ID(卖方)
  15779. type: integer
  15780. tradeamount:
  15781. description: 成交金额
  15782. type: number
  15783. tradeid:
  15784. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  15785. type: string
  15786. usedqty:
  15787. description: 使用数量
  15788. type: integer
  15789. required:
  15790. - coupontypeid
  15791. - orderid
  15792. type: object
  15793. models.MyWRPosition:
  15794. properties:
  15795. cerno:
  15796. description: 证书编号 - 类型:2,4,5
  15797. type: string
  15798. cpcertno:
  15799. description: 金伯利证书编号 - 类型:3
  15800. type: string
  15801. ffreezeqty:
  15802. description: 冻结数量:WRPosition表:FREEZEQTY/100 , 保留两位小数
  15803. type: number
  15804. ftotalqty:
  15805. description: 库存数量:WRPosition表:TOTALQTY /100 , 保留两位小数
  15806. type: number
  15807. goodsno:
  15808. description: 商品编号
  15809. type: string
  15810. imagepath:
  15811. description: 商品照片(相对地址)
  15812. type: string
  15813. isvalid:
  15814. description: 是否有效 - 0:无效 1:有效
  15815. type: integer
  15816. kppath:
  15817. description: 金伯利证书图片(相对地址) - 类型:3
  15818. type: string
  15819. kpweight:
  15820. description: 金伯利证书重量 - 类型:3
  15821. type: string
  15822. ladingbillid:
  15823. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  15824. type: string
  15825. marketflag:
  15826. description: 是否上架,1-已上架 2-未上架 3-履约中
  15827. type: integer
  15828. marketprice:
  15829. description: 市场价
  15830. type: string
  15831. origin:
  15832. description: 原产地 - 类型:3
  15833. type: string
  15834. price:
  15835. description: 总价(价格) - 类型:1,2,3,4,5
  15836. type: number
  15837. priceper:
  15838. description: 克拉单价 - 类型:1,2,3,5
  15839. type: string
  15840. remark:
  15841. description: 备注
  15842. type: string
  15843. sellmobile:
  15844. description: 手机号码(加密存储)
  15845. type: string
  15846. sellusername:
  15847. description: 账户名称(机构名称)
  15848. type: string
  15849. settingmaterial:
  15850. description: 镶嵌材料 - 类型:4
  15851. type: string
  15852. size1:
  15853. description: 尺寸1 - 类型:2,4,5
  15854. type: string
  15855. size2:
  15856. description: 尺寸2 - 类型:2,4,5
  15857. type: string
  15858. size3:
  15859. description: 尺寸3 - 类型:2,4,5
  15860. type: string
  15861. sizedisplay:
  15862. description: 尺寸
  15863. type: string
  15864. stonedesc:
  15865. description: 配石描述 - 类型:4
  15866. type: string
  15867. subnum:
  15868. description: 提单子单号
  15869. type: integer
  15870. userid:
  15871. description: 用户ID
  15872. type: integer
  15873. warehouseid:
  15874. description: 仓库ID
  15875. type: integer
  15876. warehousenamedisplay:
  15877. type: string
  15878. weight:
  15879. description: 总重量(克拉重量) - 类型:1,2,3,4,5
  15880. type: number
  15881. weightavg:
  15882. description: 平均单颗重量 - 类型:1,3
  15883. type: number
  15884. wrpath:
  15885. description: 仓单扫描件(相对地址)
  15886. type: string
  15887. wrstandardid:
  15888. description: 现货商品ID
  15889. type: integer
  15890. wrtradeorderid:
  15891. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  15892. type: string
  15893. wrtradeorderstatus:
  15894. description: 委托状态 - 参考枚举'WRTradeOrderStatus' - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:部成 8:已成 9:部成部撤 10:成交失败 11:委托拒绝 12:经过摘牌(先摘后挂专用) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用) 17:冻结PD成功 18:冻结PD失败 19:冻结能量成功 20:冻结能量失败 21:预约已报价 22:过期未付 23:优惠券处理中 24:仓单生成失败 25:首付扣款失败 26:履约失败 27:撤单解冻贷款失败WRTrade_OrderDetail、
  15895. type: integer
  15896. wruserid:
  15897. description: 登录用户ID
  15898. type: integer
  15899. zscategory:
  15900. description: 钻石分类 - 枚举”ZSCategory“
  15901. type: integer
  15902. zscategorydisplay:
  15903. type: string
  15904. zscerttype:
  15905. description: 证书类型 - 枚举”ZSCertType“ - 类型:2,4,5
  15906. type: integer
  15907. zscerttypedisplay:
  15908. type: string
  15909. zsclaritytype1:
  15910. description: 净度1 - 枚举”ZSClarityType“ - 类型:1,2,3,4,5
  15911. type: integer
  15912. zsclaritytype1display:
  15913. type: string
  15914. zsclaritytype2:
  15915. description: 净度2 - 枚举”ZSClarityType“ - 类型:1,3
  15916. type: integer
  15917. zsclaritytype2display:
  15918. type: string
  15919. zscolortype1:
  15920. description: 颜色1 - 枚举”ZSColorType“ - 类型:1,2,3,4
  15921. type: integer
  15922. zscolortype1display:
  15923. type: string
  15924. zscolortype2:
  15925. description: 颜色2 - 枚举”ZSColorType“ - 类型:1,3
  15926. type: integer
  15927. zscolortype2display:
  15928. type: string
  15929. zscrystaltype:
  15930. description: 晶型范围 - 枚举“ZSCrystalType“ - 类型:3, 多个,逗号分隔
  15931. type: string
  15932. zscrystaltypedisplay:
  15933. type: string
  15934. zscurrencytype:
  15935. description: 货币类型 - 枚举“ZSCurrencyType”
  15936. type: integer
  15937. zscurrencytypedisplay:
  15938. type: string
  15939. zscurrencytypedisplayunit:
  15940. type: string
  15941. zscuttype1:
  15942. description: 切工1 - 枚举”ZSCutType“ - 类型:1,2,4,5
  15943. type: integer
  15944. zscuttype1display:
  15945. type: string
  15946. zscuttype2:
  15947. description: 切工2 - 枚举”ZSCutType“ - 类型:1
  15948. type: integer
  15949. zscuttype2display:
  15950. type: string
  15951. zsczcolor1type:
  15952. description: 彩钻颜色1 - 枚举”ZSCZColor1Type“ - 类型:5
  15953. type: integer
  15954. zsczcolor1typedisplay:
  15955. type: string
  15956. zsczcolor2type:
  15957. description: 彩钻颜色2 - 枚举”ZSCZColor2Type“ - 类型:5
  15958. type: integer
  15959. zsczcolor2typedisplay:
  15960. type: string
  15961. zsczcolor3type:
  15962. description: 彩钻颜色3 - 枚举”ZSCZColor3Type“ - 类型:5
  15963. type: integer
  15964. zsczcolor3typedisplay:
  15965. type: string
  15966. zsfluorescencetype1:
  15967. description: 荧光1 - 枚举”ZSFluorescenceType“ - 类型:1,2,3,4,5
  15968. type: integer
  15969. zsfluorescencetype1display:
  15970. type: string
  15971. zsfluorescencetype2:
  15972. description: 荧光2 - 枚举”ZSFluorescenceType” - 类型:1,3
  15973. type: integer
  15974. zsfluorescencetype2display:
  15975. type: string
  15976. zspolishtype1:
  15977. description: 抛光度1 - 枚举”ZSPolishType“ - 类型:1,2,4,5
  15978. type: integer
  15979. zspolishtype1display:
  15980. type: string
  15981. zspolishtype2:
  15982. description: 抛光度2 - 枚举”ZSPolishType“ - 类型:1
  15983. type: integer
  15984. zspolishtype2display:
  15985. type: string
  15986. zsshapetype:
  15987. description: 形状 - 枚举”ZSShapeType“ - 类型:1,2,4,5 ;(1为多个,逗号分隔)
  15988. type: string
  15989. zsshapetypedisplay:
  15990. type: string
  15991. zsstyletype:
  15992. description: 款式 - 类型:4
  15993. type: integer
  15994. zsstyletypedisplay:
  15995. type: string
  15996. zssymmetrytype1:
  15997. description: 对称度1 - 枚举”ZSSymmetryType“ - 类型:1,2,4,5
  15998. type: integer
  15999. zssymmetrytype1display:
  16000. type: string
  16001. zssymmetrytype2:
  16002. description: 对称度2 - 枚举”ZSSymmetryType“ - 类型:1
  16003. type: integer
  16004. zssymmetrytype2display:
  16005. type: string
  16006. required:
  16007. - wruserid
  16008. type: object
  16009. models.NewFuncmenulist:
  16010. properties:
  16011. authtype:
  16012. description: 权限类型 - 1:菜单 2:组件 3:按钮
  16013. type: integer
  16014. buttonname:
  16015. description: 按钮名称
  16016. type: string
  16017. buttontype:
  16018. description: 按钮类型 - 存按钮样式
  16019. type: string
  16020. component:
  16021. description: 组件名或组件地址
  16022. type: string
  16023. hidden:
  16024. description: 是否隐藏 - 0:显示 1:隐藏
  16025. type: integer
  16026. iconame:
  16027. description: 菜单图标
  16028. type: string
  16029. menutype:
  16030. description: 菜单类型 - 1:管理端 2:PC(C#) 3:移动(云平台) 4:终端(交易所) 5:PC(云平台)
  16031. type: integer
  16032. parentcode:
  16033. description: 上级资源代码
  16034. type: string
  16035. remark:
  16036. description: Remark
  16037. type: string
  16038. resourcecode:
  16039. description: 资源代码
  16040. type: string
  16041. resourcelevel:
  16042. description: 级别1-一级 2-二级 3-三级4-四级
  16043. type: integer
  16044. resourcename:
  16045. description: 资源名(Title)
  16046. type: string
  16047. sort:
  16048. description: 排序
  16049. type: integer
  16050. url:
  16051. description: Url
  16052. type: string
  16053. urltype:
  16054. description: 地址类型 - 1:路由 2:外链 3:内联框架
  16055. type: integer
  16056. required:
  16057. - resourcecode
  16058. type: object
  16059. models.OperationPrimaryMenu:
  16060. properties:
  16061. Children:
  16062. description: 二级功能菜单
  16063. items:
  16064. $ref: '#/definitions/models.OperationSecondaryMenu'
  16065. type: array
  16066. Key:
  16067. description: 菜单KEY
  16068. type: string
  16069. Label:
  16070. description: 菜单标题
  16071. type: string
  16072. type: object
  16073. models.OperationSecondaryMenu:
  16074. properties:
  16075. Key:
  16076. description: 菜单KEY
  16077. type: string
  16078. Label:
  16079. description: 菜单标题
  16080. type: string
  16081. TabList:
  16082. description: 三级功能菜单
  16083. items:
  16084. $ref: '#/definitions/models.OperationTabMenu'
  16085. type: array
  16086. type: object
  16087. models.OperationTabMenu:
  16088. properties:
  16089. Key:
  16090. description: 菜单KEY
  16091. type: string
  16092. Label:
  16093. description: 菜单标题
  16094. type: string
  16095. type: object
  16096. models.Patradelinkdetail:
  16097. properties:
  16098. accountname:
  16099. description: 套期主体
  16100. type: string
  16101. agreeunit:
  16102. description: 合约乘数
  16103. type: number
  16104. amount:
  16105. description: 金额 = RelatedLot * TradePrice * AgreeUnit
  16106. type: number
  16107. areauserid:
  16108. description: 所属机构
  16109. type: integer
  16110. bizsubjectid:
  16111. description: 归属业务部门ID - SubjectID
  16112. type: integer
  16113. buyorsell:
  16114. description: 方向 - 0:买 1:卖
  16115. type: integer
  16116. convertratio:
  16117. description: 品种系数
  16118. type: number
  16119. convertratiochange:
  16120. description: 套期商品变化量 = RelatedLot * AgreeUnit * ConvertRatio
  16121. type: number
  16122. createtime:
  16123. description: '[日期时间]创建时间'
  16124. type: string
  16125. creatorid:
  16126. description: 创建人ID
  16127. type: integer
  16128. creatorsrc:
  16129. description: 创建人来源 - 1:管理端 2:终端 3:交易
  16130. type: integer
  16131. goodscode:
  16132. description: 商品代码(内部)
  16133. type: string
  16134. goodsgroupid:
  16135. description: 对冲品种ID[期货合约商品组ID]
  16136. type: integer
  16137. goodsid:
  16138. description: 商品ID
  16139. type: integer
  16140. hedgeditemid:
  16141. description: 现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]
  16142. type: integer
  16143. hedgeflag:
  16144. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  16145. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目
  16146. type: integer
  16147. linkdetailid:
  16148. description: 期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)
  16149. type: string
  16150. linkstatus:
  16151. description: 关联状态 - 1:成功 2:失败 3:解绑
  16152. type: integer
  16153. middlegoodsid:
  16154. description: 套保品种ID
  16155. type: integer
  16156. name:
  16157. description: 账户名/子账户
  16158. type: string
  16159. optioncode:
  16160. description: '[期货合约]期权代码 [期权]'
  16161. type: string
  16162. ordertype:
  16163. description: 单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单
  16164. type: integer
  16165. relatedlot:
  16166. description: '[数量]关联手数'
  16167. type: number
  16168. relatedmode:
  16169. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  16170. type: integer
  16171. relatedqty:
  16172. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  16173. type: number
  16174. retcode:
  16175. description: 返回码
  16176. type: integer
  16177. saleuserid:
  16178. description: 业务员ID
  16179. type: integer
  16180. tradedate:
  16181. description: 关联交易日(yyyyMMdd)
  16182. type: string
  16183. tradeid:
  16184. description: '[成交单号]内部成交单ID'
  16185. type: string
  16186. tradelot:
  16187. description: 成交手数
  16188. type: integer
  16189. tradeprice:
  16190. description: '[价格]成交价格'
  16191. type: number
  16192. tradetradedate:
  16193. description: 成交交易日(yyyyMMdd)
  16194. type: string
  16195. type: object
  16196. models.PresaleAuction:
  16197. properties:
  16198. accountid:
  16199. description: 卖方账户ID
  16200. type: integer
  16201. applyid:
  16202. description: 关联申请ID
  16203. type: string
  16204. attachmenturl:
  16205. description: 缩略图片(1:1)
  16206. type: string
  16207. bannerpicurl:
  16208. description: Banner图(逗号分隔)(2:1)
  16209. type: string
  16210. buymaxqty:
  16211. description: 购买上限 [71] - 0为不限
  16212. type: integer
  16213. createtime:
  16214. description: 创建时间
  16215. type: string
  16216. endtime:
  16217. description: 预售结束时间
  16218. type: string
  16219. floorprice:
  16220. description: 底价[大宗式竞拍]
  16221. type: number
  16222. goodscode:
  16223. description: 期货合约代码(内部)
  16224. type: string
  16225. goodsdetail:
  16226. description: 详情[大宗]
  16227. type: string
  16228. goodsid:
  16229. description: 商品ID
  16230. type: integer
  16231. goodsname:
  16232. description: 期货合约名称
  16233. type: string
  16234. marketid:
  16235. description: 预售市场ID - 根据预售模式选择市场
  16236. type: integer
  16237. pictureurls:
  16238. description: 详情图片(逗号分隔)(宽:1125)
  16239. type: string
  16240. presaledamount:
  16241. description: 已预售总金额(预售结束时更新)71-委托时更新
  16242. type: number
  16243. presaledepositalgorithm:
  16244. description: 预售定金方式(48) - 1:比率 2:固定
  16245. type: integer
  16246. presaledepositvalue:
  16247. description: 预售定金设置值(48)
  16248. type: number
  16249. presaledqty:
  16250. description: 已预售量(预售结束时更新) 71-委托时更新
  16251. type: integer
  16252. presalemode:
  16253. description: 预售模式 - 1:一口价 2:大宗式竞拍 3:挂牌预售(HSBY) 4:定金预售(大宗) 5:定金预售(中签)
  16254. type: integer
  16255. presalemodestr:
  16256. description: 预售模式 - 1:一口价 2:大宗式竞拍 3:挂牌预售(HSBY) 4:定金预售(大宗) 5:定金预售(中签)
  16257. type: string
  16258. presaleqty:
  16259. description: 预售数量
  16260. type: integer
  16261. presalestatus:
  16262. description: 预售状态 - 1:未开始 2:预售中 3:已结束 4:已关闭
  16263. type: integer
  16264. presalestatusstr:
  16265. description: 预售状态 - 1:未开始 2:预售中 3:已结束 4:已关闭 (多个逗号分隔)
  16266. type: string
  16267. provideruserid:
  16268. description: 发售方用户ID(49)
  16269. type: integer
  16270. refprice:
  16271. description: 参考价格[一口价]
  16272. type: number
  16273. relatedgoodsid:
  16274. description: 关联交易合约ID
  16275. type: integer
  16276. relatedmarketid:
  16277. description: 关联交易合约市场ID
  16278. type: integer
  16279. sellname:
  16280. description: '[卖方名称]客户名称(企业名称)'
  16281. type: string
  16282. sellstatus:
  16283. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  16284. type: integer
  16285. startprice:
  16286. description: 起拍价[大宗式竞拍]
  16287. type: number
  16288. starttime:
  16289. description: 预售开始时间
  16290. type: string
  16291. tradedate:
  16292. description: 交易日(yyyyMMdd)
  16293. type: string
  16294. tradeprice:
  16295. description: 成交价[大宗]
  16296. type: number
  16297. transferdepositratio:
  16298. description: 转让定金比例(49)
  16299. type: number
  16300. userid:
  16301. description: 卖方用户ID
  16302. type: integer
  16303. required:
  16304. - presalemode
  16305. type: object
  16306. models.PresaleDefault:
  16307. properties:
  16308. bannerpicurl:
  16309. description: Banner图(逗号分隔)(2:1)
  16310. type: string
  16311. goodscode:
  16312. description: 期货合约代码(内部)
  16313. type: string
  16314. goodsid:
  16315. description: 期货合约ID(自增ID SEQ_GOODS)
  16316. type: integer
  16317. goodsname:
  16318. description: 期货合约名称
  16319. type: string
  16320. pictureurls:
  16321. description: 详情图片(逗号分隔)(宽:1125)
  16322. type: string
  16323. presaleprice:
  16324. description: 发售价\订货价(49)
  16325. type: number
  16326. sellname:
  16327. description: '[发售方]客户名称(企业名称)'
  16328. type: string
  16329. transferdepositratio:
  16330. description: 转让定金比例(49)
  16331. type: number
  16332. required:
  16333. - goodsid
  16334. type: object
  16335. models.PresaleGoods:
  16336. properties:
  16337. accountid:
  16338. description: 卖方账户ID
  16339. type: integer
  16340. applyid:
  16341. description: 关联申请ID
  16342. type: integer
  16343. attachmenturl:
  16344. description: 缩略图片(1:1)
  16345. type: string
  16346. bannerpicurl:
  16347. description: Banner图(逗号分隔)(2:1)
  16348. type: string
  16349. buymaxqty:
  16350. description: 购买上限 [71] - 0为不限
  16351. type: integer
  16352. createtime:
  16353. description: 创建时间
  16354. type: string
  16355. endtime:
  16356. description: 预售结束时间
  16357. type: string
  16358. floorprice:
  16359. description: 底价[大宗式竞拍]
  16360. type: number
  16361. goodscode:
  16362. description: 期货合约代码(内部)
  16363. type: string
  16364. goodsdetail:
  16365. description: 详情[大宗]
  16366. type: string
  16367. goodsid:
  16368. description: 商品ID
  16369. type: integer
  16370. goodsname:
  16371. description: 期货合约名称
  16372. type: string
  16373. marketid:
  16374. description: 预售市场ID - 根据预售模式选择市场
  16375. type: integer
  16376. pictureurls:
  16377. description: 详情图片(逗号分隔)(宽:1125)
  16378. type: string
  16379. presaledamount:
  16380. description: 已预售总金额(预售结束时更新)71-委托时更新
  16381. type: number
  16382. presaledepositalgorithm:
  16383. description: 预售定金方式(48) - 1:比率 2:固定
  16384. type: integer
  16385. presaledepositvalue:
  16386. description: 预售定金设置值(48)
  16387. type: number
  16388. presaledqty:
  16389. description: 已预售量(预售结束时更新) 71-委托时更新
  16390. type: integer
  16391. presalemode:
  16392. description: 预售模式 - 1:一口价 2:大宗式竞拍 3:挂牌预售(HSBY)
  16393. type: integer
  16394. presalemodestr:
  16395. description: 预售模式
  16396. type: string
  16397. presaleprice:
  16398. description: 发售价(49)
  16399. type: number
  16400. presaleqty:
  16401. description: 预售数量
  16402. type: integer
  16403. presalestatus:
  16404. description: 预售状态 - 1:未开始 2:预售中 3:已结束
  16405. type: integer
  16406. provideruserid:
  16407. description: 发售方用户ID(49)
  16408. type: integer
  16409. refprice:
  16410. description: 参考价格[一口价]
  16411. type: number
  16412. relatedgoodsid:
  16413. description: 关联交易合约ID
  16414. type: integer
  16415. relatedmarketid:
  16416. description: 关联交易合约市场ID
  16417. type: integer
  16418. sellname:
  16419. description: 发售方
  16420. type: string
  16421. sellstatus:
  16422. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  16423. type: integer
  16424. startprice:
  16425. description: 起拍价[大宗式竞拍]
  16426. type: number
  16427. starttime:
  16428. description: 预售开始时间
  16429. type: string
  16430. tradedate:
  16431. description: 交易日(yyyyMMdd)
  16432. type: string
  16433. tradeprice:
  16434. description: 成交价[大宗]
  16435. type: number
  16436. transferdepositratio:
  16437. description: 转让定金比例(49)
  16438. type: number
  16439. userid:
  16440. description: 卖方用户ID
  16441. type: integer
  16442. type: object
  16443. models.Presaleorderapplyprice:
  16444. properties:
  16445. applyid:
  16446. description: 预售申请ID
  16447. type: string
  16448. createtime:
  16449. description: 创建时间
  16450. type: string
  16451. goodscode:
  16452. description: 商品代码 系统自动生成 [#P(2位) + ApplyID十六进制(6位) ]
  16453. type: string
  16454. marketid:
  16455. description: 市场ID
  16456. type: integer
  16457. price:
  16458. description: 档位价格
  16459. type: number
  16460. qty:
  16461. description: 档位数量
  16462. type: number
  16463. stepindex:
  16464. description: 档位序号
  16465. type: integer
  16466. required:
  16467. - applyid
  16468. type: object
  16469. models.PromotionIncome:
  16470. properties:
  16471. profitmonth:
  16472. description: 时间
  16473. type: string
  16474. profitstatus:
  16475. description: 状态 - 1:已支付 2:未支付 3:支取中
  16476. type: integer
  16477. sumamount:
  16478. description: 金额
  16479. type: number
  16480. type: object
  16481. models.PromotionIncomeDetail:
  16482. properties:
  16483. buyorsell:
  16484. description: 方向
  16485. type: string
  16486. market:
  16487. description: 市场
  16488. type: string
  16489. profitamount:
  16490. description: 金额
  16491. type: number
  16492. profitroletype:
  16493. description: 级别
  16494. type: string
  16495. tradetime:
  16496. description: 时间
  16497. type: string
  16498. wrstandardcode:
  16499. description: 现货商品代码
  16500. type: string
  16501. wrstandardid:
  16502. description: 现货商品ID(自增 SEQ_GOODS 确保不重复)
  16503. type: integer
  16504. wrstandardname:
  16505. description: 现货商品名称
  16506. type: string
  16507. type: object
  16508. models.PurchaseTransfer:
  16509. properties:
  16510. pictureurls:
  16511. description: 详情图片(逗号分隔)
  16512. type: string
  16513. refgoodsid:
  16514. description: 参考商品ID
  16515. type: integer
  16516. thumurls:
  16517. description: 缩略图片(1:1)(逗号分隔)
  16518. type: string
  16519. unitid:
  16520. description: 现货商品单位ID
  16521. type: integer
  16522. wrstandardcode:
  16523. description: 现货商品代码
  16524. type: string
  16525. wrstandardid:
  16526. description: 现货商品ID(自增 SEQ_GOODS 确保不重复)
  16527. type: integer
  16528. wrstandardname:
  16529. description: 现货商品名称(模糊查询)
  16530. type: string
  16531. type: object
  16532. models.QhjAccountOutInApply:
  16533. properties:
  16534. accountcode:
  16535. description: 资金账号
  16536. type: string
  16537. accountname:
  16538. description: 用户名称(名称)
  16539. type: string
  16540. accountpwd:
  16541. description: 资金密码
  16542. type: string
  16543. accountticket:
  16544. description: 最新账户服务流水号
  16545. type: string
  16546. amount:
  16547. description: 金额
  16548. type: number
  16549. applyremark:
  16550. description: 申请备注
  16551. type: string
  16552. applystatus:
  16553. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  16554. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  16555. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  16556. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  16557. type: integer
  16558. auditid:
  16559. description: 审核人
  16560. type: integer
  16561. audittime:
  16562. description: 审核时间
  16563. type: string
  16564. bank_apply_ticket:
  16565. description: 银行申请流水
  16566. type: string
  16567. bankaccountname:
  16568. description: 银行账户名
  16569. type: string
  16570. bankaccountno:
  16571. description: 银行卡号
  16572. type: string
  16573. bankid:
  16574. description: 银行编号
  16575. type: string
  16576. bankticket:
  16577. description: 银行流水
  16578. type: string
  16579. branchbankid:
  16580. description: 银行支行号
  16581. type: string
  16582. branchbankname:
  16583. description: 银行支行名称
  16584. type: string
  16585. capamountout:
  16586. description: 出金(劣后本金) - 外部子账户
  16587. type: number
  16588. certificatephotourl:
  16589. description: 凭证地址
  16590. type: string
  16591. charge:
  16592. description: 手续费
  16593. type: number
  16594. checkerrorflag:
  16595. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  16596. type: integer
  16597. currency:
  16598. description: 币种
  16599. type: string
  16600. cusbankid:
  16601. description: 托管银行编号
  16602. type: string
  16603. cusbankname:
  16604. description: 托管银行名称
  16605. type: string
  16606. cusbankshortname:
  16607. description: 托管银行简称
  16608. type: string
  16609. exchticket:
  16610. description: 银行服务流水号
  16611. type: string
  16612. executetype:
  16613. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  16614. 7:外部子账户:入金 8:外部子账户:出金'
  16615. type: integer
  16616. extendinfo:
  16617. description: 扩展信息
  16618. type: string
  16619. extoperateid:
  16620. description: 交易服务流水号
  16621. type: integer
  16622. infamount:
  16623. description: 劣后金额(自有)
  16624. type: number
  16625. logincode:
  16626. description: 登录账号(账号)
  16627. type: string
  16628. netaddr:
  16629. description: 调转网址
  16630. type: string
  16631. priamount:
  16632. description: 优先金额(授信)
  16633. type: number
  16634. reauditid:
  16635. description: 复审人
  16636. type: integer
  16637. reauditremark:
  16638. description: 复审备注
  16639. type: string
  16640. reaudittime:
  16641. description: 复审时间
  16642. type: string
  16643. relatedorderid:
  16644. description: 三方关联ID
  16645. type: string
  16646. remark:
  16647. description: 备注
  16648. type: string
  16649. remark2:
  16650. description: 备注(失败原因)
  16651. type: string
  16652. soucreamount:
  16653. description: 原始出入金金额
  16654. type: number
  16655. soucrecurrencyid:
  16656. description: 原始出入金币种
  16657. type: integer
  16658. tradedate:
  16659. description: 交易日(yyyyMMdd)
  16660. type: string
  16661. updatetime:
  16662. description: 更新时间(申请时间)
  16663. type: string
  16664. userid:
  16665. description: 用户id
  16666. type: integer
  16667. userinfotype:
  16668. description: 账户类型 1-个人 2-企业
  16669. type: integer
  16670. type: object
  16671. models.QhjAgreementChangeLog:
  16672. properties:
  16673. agreementcontent:
  16674. description: 协议内容
  16675. type: string
  16676. agreementfrequency:
  16677. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  16678. type: integer
  16679. agreementid:
  16680. description: 协议ID
  16681. type: integer
  16682. agreementname:
  16683. description: 协议名称
  16684. type: string
  16685. agreementno:
  16686. description: 协议编号
  16687. type: string
  16688. agreementtype:
  16689. description: 协议类型 - 1:注册 2:登录 3:交易
  16690. type: integer
  16691. agreementversion:
  16692. description: 协议版本号
  16693. type: integer
  16694. logid:
  16695. description: 流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)
  16696. type: integer
  16697. reviserid:
  16698. description: 修改人
  16699. type: integer
  16700. revisersrc:
  16701. description: 修改来源 - 1:管理端 2:终端
  16702. type: integer
  16703. updatetime:
  16704. description: 更新时间
  16705. type: string
  16706. type: object
  16707. models.QhjAgreementConfig:
  16708. properties:
  16709. agreementcontent:
  16710. description: 协议内容
  16711. type: string
  16712. agreementfrequency:
  16713. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  16714. type: integer
  16715. agreementid:
  16716. description: 协议ID(SEQ_QHJ_AGREEMENTCONFIG)
  16717. type: integer
  16718. agreementname:
  16719. description: 协议名称
  16720. type: string
  16721. agreementno:
  16722. description: 协议编号
  16723. type: string
  16724. agreementtype:
  16725. description: 协议类型 - 1:注册 2:登录 3:交易
  16726. type: integer
  16727. agreementversion:
  16728. description: 协议版本号(从1开始每次修改加1)
  16729. type: integer
  16730. createtime:
  16731. description: 创建时间
  16732. type: string
  16733. creatorid:
  16734. description: 创建人
  16735. type: integer
  16736. creatorsrc:
  16737. description: 创建来源 - 1:管理端 2:终端
  16738. type: integer
  16739. isvalid:
  16740. description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  16741. type: integer
  16742. reviserid:
  16743. description: 修改人
  16744. type: integer
  16745. revisersrc:
  16746. description: 修改来源 - 1:管理端 2:终端
  16747. type: integer
  16748. updatetime:
  16749. description: 更新时间
  16750. type: string
  16751. type: object
  16752. models.QhjAreaFinanceConfig:
  16753. properties:
  16754. additionalratio:
  16755. description: 追加款比例
  16756. type: number
  16757. advanceratio:
  16758. description: 预付款比例
  16759. type: number
  16760. alarmratio:
  16761. description: 告警比例
  16762. type: number
  16763. consumptiondirectreward:
  16764. description: 消费直推奖励值
  16765. type: number
  16766. consumptionenabled:
  16767. description: 是否启用消费奖励 - 0:不启用 1:启用
  16768. type: integer
  16769. consumptionindirectreward:
  16770. description: 消费间推奖励值
  16771. type: number
  16772. consumptionmodel:
  16773. description: 消费奖励方式 - 1:比率 2:固定
  16774. type: integer
  16775. customerservicenum:
  16776. description: 客服电话
  16777. type: string
  16778. dayinterestrate:
  16779. description: 日利率
  16780. type: number
  16781. disableconsumptiontips:
  16782. description: 关闭消费奖励提示
  16783. type: string
  16784. modifierid:
  16785. description: 修改人ID
  16786. type: integer
  16787. modifysrc:
  16788. description: 审核来源 - 1:管理端 2:终端
  16789. type: integer
  16790. modifytime:
  16791. description: 修改时间
  16792. type: string
  16793. promotionvalue:
  16794. description: 推广奖励值(固定)
  16795. type: number
  16796. scoreconfigvalue1:
  16797. description: 提货积分配置1
  16798. type: integer
  16799. scoreconfigvalue2:
  16800. description: 提货积分配置2
  16801. type: integer
  16802. userid:
  16803. description: 机构用户ID其他做市关系,都设置为 1
  16804. type: integer
  16805. username:
  16806. description: 用户名称
  16807. type: string
  16808. type: object
  16809. models.QhjBankAccountSign:
  16810. properties:
  16811. accountcode:
  16812. description: 资金账号
  16813. type: string
  16814. accountname:
  16815. description: 资金账号对应的账号名(UserName)
  16816. type: string
  16817. accountname2:
  16818. description: 资金账号对应的账号名(UserName) - 密文
  16819. type: string
  16820. accounttype:
  16821. description: 账户类型(UserType)
  16822. type: integer
  16823. applicationtime:
  16824. description: 最后一次更新的时间
  16825. type: string
  16826. applyexchticket:
  16827. description: 申请流水
  16828. type: string
  16829. auditid:
  16830. description: 审核人
  16831. type: integer
  16832. audittime:
  16833. description: 审核时间
  16834. type: string
  16835. bankaccountname:
  16836. description: 签约银行卡账号名
  16837. type: string
  16838. bankaccountname2:
  16839. description: 签约银行卡账号名 - 密文
  16840. type: string
  16841. bankaccountno:
  16842. description: 银行卡号
  16843. type: string
  16844. bankaccountno2:
  16845. description: 银行卡号 - 密文
  16846. type: string
  16847. bankaccounttype:
  16848. description: 银行账户类型 - 1-对私; 2-对公
  16849. type: integer
  16850. bankcardtype:
  16851. description: 银行卡类型
  16852. type: integer
  16853. bankchildaccount:
  16854. description: 银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)
  16855. type: string
  16856. bankcity:
  16857. description: 开户行城市
  16858. type: string
  16859. bankid:
  16860. description: 签约银行ID
  16861. type: string
  16862. bankname:
  16863. description: 签约银行名称
  16864. type: string
  16865. bankprovince:
  16866. description: 开户行省份
  16867. type: string
  16868. branchbankid:
  16869. description: 签约银行支行号
  16870. type: string
  16871. branchbankname:
  16872. description: 签约银行支行名称
  16873. type: string
  16874. cardno:
  16875. description: 证件号码
  16876. type: string
  16877. cardno2:
  16878. description: 证件号码 - 密文
  16879. type: string
  16880. cardtype:
  16881. description: 证件类型
  16882. type: string
  16883. currency:
  16884. description: 币种
  16885. type: string
  16886. cusbankid:
  16887. description: 托管银行编号
  16888. type: string
  16889. cusbankname:
  16890. description: 托管银行名称
  16891. type: string
  16892. direct:
  16893. description: 方向(可以判断那方先发起的签约)
  16894. type: integer
  16895. exchticket:
  16896. description: 最后一次签约成功的流水号
  16897. type: string
  16898. extendinfo:
  16899. description: 扩展信息(JSON字符串)
  16900. type: string
  16901. mobilephone:
  16902. description: 手机号
  16903. type: string
  16904. mobilephone2:
  16905. description: 手机号 - 密文
  16906. type: string
  16907. netaddr:
  16908. description: 调转网址
  16909. type: string
  16910. relateduserid:
  16911. description: 关联使用者userid
  16912. type: integer
  16913. signstatus:
  16914. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  16915. 10:审核拒绝 11:换签待审核
  16916. type: integer
  16917. updatetime:
  16918. description: 更新时间(签解约更新时间)
  16919. type: string
  16920. type: object
  16921. models.QhjBankInfo:
  16922. properties:
  16923. bankid:
  16924. description: 银行ID
  16925. type: string
  16926. bankname:
  16927. description: 银行名称
  16928. type: string
  16929. clearbankno:
  16930. description: 清算系统银行编号
  16931. type: string
  16932. orderindex:
  16933. description: 排序顺序
  16934. type: integer
  16935. status:
  16936. description: 状态 - 0:正常 1:注销
  16937. type: integer
  16938. type: object
  16939. models.QhjBrokerApply:
  16940. properties:
  16941. applicantid:
  16942. description: 申请人
  16943. type: integer
  16944. applysrc:
  16945. description: 申请来源 - 1:管理端 2:终端
  16946. type: integer
  16947. applystatus:
  16948. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  16949. type: integer
  16950. applytime:
  16951. description: 申请时间
  16952. type: string
  16953. auditorid:
  16954. description: 审核人
  16955. type: integer
  16956. auditremark:
  16957. description: 审核备注
  16958. type: string
  16959. auditsrc:
  16960. description: 审核来源 - 1:管理端 2:终端
  16961. type: integer
  16962. audittime:
  16963. description: 审核时间
  16964. type: string
  16965. audittradedate:
  16966. description: 审核交易日(yyyyMMdd)
  16967. type: string
  16968. brokerapplyid:
  16969. description: 申请ID(SEQ_BROKERAPPLY)
  16970. type: integer
  16971. cardbackphotourl:
  16972. description: 证件背面图片地址
  16973. type: string
  16974. cardfrontphotourl:
  16975. description: 证件正面图片地址
  16976. type: string
  16977. cardnum:
  16978. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  16979. type: string
  16980. customername:
  16981. description: 姓名
  16982. type: string
  16983. logincode:
  16984. description: 登录代码
  16985. type: string
  16986. mobile:
  16987. description: 手机号码
  16988. type: string
  16989. parentuserid:
  16990. description: 所属机构id
  16991. type: integer
  16992. parentusername:
  16993. description: 所属机构名称
  16994. type: string
  16995. refereeuserid:
  16996. description: 推荐人id(经纪人)
  16997. type: integer
  16998. refernum:
  16999. description: 推荐码
  17000. type: string
  17001. remark:
  17002. description: 备注
  17003. type: string
  17004. subarealevelpath:
  17005. description: 层级路径
  17006. type: string
  17007. tradedate:
  17008. description: 交易日(yyyyMMdd)
  17009. type: string
  17010. userid:
  17011. description: 申请人用户ID
  17012. type: integer
  17013. userinfotype:
  17014. description: 用户类型 1-个人 2-企业
  17015. type: integer
  17016. username:
  17017. description: 用户名称
  17018. type: string
  17019. type: object
  17020. models.QhjBrokerApplyEx:
  17021. properties:
  17022. applylist:
  17023. description: 经纪人申请记录(只返回最新一条)
  17024. items:
  17025. $ref: '#/definitions/models.QhjBrokerApply'
  17026. type: array
  17027. canrecommend:
  17028. description: 是否经纪人 0-不是 1-是
  17029. type: integer
  17030. refernum:
  17031. description: 推荐码
  17032. type: string
  17033. userid:
  17034. description: 用户id
  17035. type: integer
  17036. userinfotype:
  17037. description: 用户类型 1-个人 2-企业
  17038. type: integer
  17039. type: object
  17040. models.QhjBrokerRewardLog:
  17041. properties:
  17042. accountid:
  17043. description: 资金账号ID
  17044. type: integer
  17045. createtime:
  17046. description: 创建时间(时间)
  17047. type: string
  17048. handlestatus:
  17049. description: 处理状态
  17050. type: integer
  17051. logid:
  17052. description: 奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17053. type: string
  17054. marketid:
  17055. description: 市场ID
  17056. type: integer
  17057. mmaccountid:
  17058. description: 做市商资金账号ID
  17059. type: string
  17060. mmuserid:
  17061. description: 做市商用户ID
  17062. type: string
  17063. rewardamount:
  17064. description: 奖励金额
  17065. type: number
  17066. rewardmodel:
  17067. description: 消费奖励方式 - 1:比率 2:固定
  17068. type: integer
  17069. rewardtype:
  17070. description: 奖励类型 - 1:推广 2:消费1级 3:消费2级
  17071. type: integer
  17072. rewardvalue:
  17073. description: 配置奖励值
  17074. type: number
  17075. srcamount:
  17076. description: 成交金额 [消费奖励] (金额)
  17077. type: number
  17078. srcgoodsid:
  17079. description: 来源商品ID [消费奖励]
  17080. type: string
  17081. srctime:
  17082. description: 来源时间 (成交时间) [消费奖励]
  17083. type: string
  17084. srctradeid:
  17085. description: 来源成交单ID [消费奖励] - 排除提货成交
  17086. type: string
  17087. srcuserid:
  17088. description: 来源用户ID(推广账户)
  17089. type: string
  17090. srcusername:
  17091. description: 推广账户名称
  17092. type: string
  17093. tradedate:
  17094. description: 交易日(yyyyMMdd)
  17095. type: string
  17096. userid:
  17097. description: 经纪人用户ID
  17098. type: integer
  17099. type: object
  17100. models.QhjContract:
  17101. properties:
  17102. contractconfirmtime:
  17103. description: 合同确认时间(时间)
  17104. type: string
  17105. currisklevel:
  17106. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  17107. type: integer
  17108. decimalplace:
  17109. description: 商品报价小数位
  17110. type: integer
  17111. enumdicname:
  17112. description: 单位名称
  17113. type: string
  17114. goodscode:
  17115. description: 商品代码
  17116. type: string
  17117. goodsid:
  17118. description: 商品ID [5:融资单]
  17119. type: integer
  17120. goodsname:
  17121. description: 商品名称
  17122. type: string
  17123. goodunitid:
  17124. description: 商品单位id
  17125. type: integer
  17126. initmargin:
  17127. description: 初始保证金(首付款)
  17128. type: number
  17129. lenderamount:
  17130. description: 贷款金额(总额|订单总额)
  17131. type: number
  17132. marginratio:
  17133. description: 保证金比率(首付比例)
  17134. type: number
  17135. payamount:
  17136. description: 已付(已付货款)
  17137. type: number
  17138. reckonrecovermargin:
  17139. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  17140. type: number
  17141. recoveredmargin:
  17142. description: 已追缴保证金
  17143. type: number
  17144. remainamount:
  17145. description: 合同剩余金额(融资额)
  17146. type: number
  17147. scfcontractid:
  17148. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  17149. type: string
  17150. scfcontractstatus:
  17151. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  17152. 9:违约结束 10:已注销 11:已关闭 99:未提交
  17153. type: integer
  17154. scfcontracttype:
  17155. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  17156. type: integer
  17157. totalinterest:
  17158. description: 已计总利息(利息)
  17159. type: number
  17160. tradeprice:
  17161. description: 成交价格(成本价格)
  17162. type: number
  17163. userid:
  17164. description: 用户ID
  17165. type: integer
  17166. username:
  17167. description: 用户名称
  17168. type: string
  17169. wrqty:
  17170. description: 仓单数量(数量)
  17171. type: number
  17172. type: object
  17173. models.QhjContractLog:
  17174. properties:
  17175. amount:
  17176. description: 支付金额
  17177. type: number
  17178. amounttype:
  17179. description: 资金类型 - 1:首付款 2:尾款 3:利息 4:追加款
  17180. type: integer
  17181. logid:
  17182. description: LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17183. type: string
  17184. remainamount:
  17185. description: 剩余货款
  17186. type: number
  17187. scfcontractid:
  17188. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  17189. type: integer
  17190. updatetime:
  17191. description: 更新时间
  17192. type: string
  17193. type: object
  17194. models.QhjCusBankSignBankEx:
  17195. properties:
  17196. banklst:
  17197. description: 银行列表
  17198. items:
  17199. $ref: '#/definitions/models.QhjBankInfo'
  17200. type: array
  17201. canallot:
  17202. description: 是否支持跨行调拨 - 0:不支持 1:支持
  17203. type: integer
  17204. canallotquery:
  17205. description: 是否支持跨行调拨查询 - 0:不支持 1:支持
  17206. type: integer
  17207. canbindcard:
  17208. description: 是否可绑卡与解卡 - 0:不可 1:可以
  17209. type: integer
  17210. caninamount:
  17211. description: 是否可入金 - 0:不可 1:可以
  17212. type: integer
  17213. caninamount2:
  17214. description: 是否可入金(网银端) - 0:不可 1:可以
  17215. type: integer
  17216. canmodifybankcard:
  17217. description: 是否可修改银行卡号 - 0:不可 1:可以
  17218. type: integer
  17219. canmodifyphone:
  17220. description: 是否可修改手机号 - 0:不可 1:可以
  17221. type: integer
  17222. canmodifysigninfo:
  17223. description: 是否可修改签约信息 - 0:不可 1:可以
  17224. type: integer
  17225. canoutamount:
  17226. description: 是否可出金 - 0:不可 1:可以
  17227. type: integer
  17228. canoutamount2:
  17229. description: 是否可出金(网银端) - 0:不可 1:可以
  17230. type: integer
  17231. canrelease:
  17232. description: 是否可解约 - 0:不可 1:可以
  17233. type: integer
  17234. canrelease2:
  17235. description: 是否可解约(网银端) - 0:不可 1:可以
  17236. type: integer
  17237. cansign:
  17238. description: 是否可签约 - 0:不可 1:可以
  17239. type: integer
  17240. cansign2:
  17241. description: 是否可签约(网银端) - 0:不可 1:可以
  17242. type: integer
  17243. currency:
  17244. description: 币种
  17245. type: string
  17246. cusbankid:
  17247. description: 托管银行编号(对应清算中心TRAN_NO)
  17248. type: string
  17249. cusbankname:
  17250. description: 银行业务名称
  17251. type: string
  17252. cusbankshortname:
  17253. description: 银行业务简称
  17254. type: string
  17255. exchbankid:
  17256. description: 交易所开户银行ID
  17257. type: string
  17258. exchpaybankaccname:
  17259. description: 交易所支出结算账户户名
  17260. type: string
  17261. exchpaybankaccno:
  17262. description: 交易所支出结算账户
  17263. type: string
  17264. isneedcheck:
  17265. description: 是否需要对账 - 0:需要 1:不需要 [不需要界面配置]
  17266. type: integer
  17267. isneedclear:
  17268. description: 是否需要清算 - 0:不需要 1:需要
  17269. type: integer
  17270. lastcheckstatus:
  17271. description: 最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败
  17272. type: integer
  17273. lastchecktime:
  17274. description: 最后对账时间
  17275. type: string
  17276. lastclearstatus:
  17277. description: 最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功
  17278. type: integer
  17279. lastcleartime:
  17280. description: 最后清算时间
  17281. type: string
  17282. lastsignintime:
  17283. description: 最后签到时间
  17284. type: string
  17285. lastsignouttime:
  17286. description: 最后签退时间
  17287. type: string
  17288. riskinfo:
  17289. description: 签约风险提示书
  17290. type: string
  17291. signstatus:
  17292. description: 当前签到/签退状态 - 1:签到 2:签退
  17293. type: integer
  17294. tradedate:
  17295. description: 交易日(yyyyMMdd)
  17296. type: string
  17297. updatetime:
  17298. description: 当前签到/签退更新时间
  17299. type: string
  17300. type: object
  17301. models.QhjCustomer:
  17302. properties:
  17303. address:
  17304. description: 通讯地址
  17305. type: string
  17306. attachment1:
  17307. description: 附件1
  17308. type: string
  17309. attachment2:
  17310. description: 附件2
  17311. type: string
  17312. audittime:
  17313. description: 审核时间
  17314. type: string
  17315. cardbackphotourl:
  17316. description: 证件反面图片地址
  17317. type: string
  17318. cardfrontphotourl:
  17319. description: 证件正面图片地址
  17320. type: string
  17321. cardnum:
  17322. description: 证件号码
  17323. type: string
  17324. cardtype:
  17325. description: 证件类型
  17326. type: integer
  17327. cardtypename:
  17328. description: 证件类型名称
  17329. type: string
  17330. cityid:
  17331. description: 市
  17332. type: integer
  17333. cityname:
  17334. description: 城市名称
  17335. type: string
  17336. contactname:
  17337. description: 联系人
  17338. type: string
  17339. countryid:
  17340. description: 国家
  17341. type: integer
  17342. countryname:
  17343. description: 国家名称
  17344. type: string
  17345. createtime:
  17346. description: 创建时间
  17347. type: string
  17348. customername:
  17349. description: 客户名称
  17350. type: string
  17351. districtid:
  17352. description: 区域
  17353. type: integer
  17354. districtname:
  17355. description: 地区名称
  17356. type: string
  17357. email:
  17358. description: 邮件
  17359. type: string
  17360. legalpersonname:
  17361. description: 法人姓名(企业)
  17362. type: string
  17363. logincode:
  17364. description: 登录账号(代码)
  17365. type: string
  17366. memberuserid:
  17367. description: 所属机构ID(所属会员)
  17368. type: integer
  17369. memberusername:
  17370. description: 所属会员名称
  17371. type: string
  17372. mobile:
  17373. description: 手机号码
  17374. type: string
  17375. modifytime:
  17376. description: 修改时间
  17377. type: string
  17378. nickname:
  17379. description: 昵称
  17380. type: string
  17381. parentuserid:
  17382. description: 上级机构(所属机构)
  17383. type: integer
  17384. parentusername:
  17385. description: 所属机构名称
  17386. type: string
  17387. provinceid:
  17388. description: 省
  17389. type: integer
  17390. provincename:
  17391. description: 省名称
  17392. type: string
  17393. proxystatementurl:
  17394. description: 授权委托书
  17395. type: string
  17396. remark:
  17397. description: 备注
  17398. type: string
  17399. status:
  17400. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  17401. type: integer
  17402. statusdesc:
  17403. description: 账户状态中文描述
  17404. type: string
  17405. taxpayernum:
  17406. description: 纳税人识别号
  17407. type: string
  17408. telphone:
  17409. description: 联系电话
  17410. type: string
  17411. userid:
  17412. description: 用户ID
  17413. type: integer
  17414. userinfotype:
  17415. description: 客户类型 1-个人 2-企业
  17416. type: integer
  17417. username:
  17418. description: 用户名称
  17419. type: string
  17420. type: object
  17421. models.QhjCustomerSignLog:
  17422. properties:
  17423. agreementcontent:
  17424. description: 协议内容
  17425. type: string
  17426. agreementid:
  17427. description: 协议ID
  17428. type: integer
  17429. agreementname:
  17430. description: 协议名称
  17431. type: string
  17432. agreementno:
  17433. description: 协议编号
  17434. type: string
  17435. agreementtype:
  17436. description: 协议类型 - 1:注册 2:登录 3:交易
  17437. type: integer
  17438. agreementversion:
  17439. description: 协议版本号
  17440. type: integer
  17441. createtime:
  17442. description: 创建时间
  17443. type: string
  17444. goodscode:
  17445. description: 商品代码
  17446. type: string
  17447. goodsid:
  17448. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  17449. type: integer
  17450. goodsname:
  17451. description: 商品名称
  17452. type: string
  17453. logid:
  17454. description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  17455. type: integer
  17456. nodetype:
  17457. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  17458. type: integer
  17459. signadressurl:
  17460. description: 签约文件地址
  17461. type: string
  17462. signtimestamp:
  17463. description: 签约状态时间戳
  17464. type: string
  17465. userid:
  17466. description: 客户ID
  17467. type: integer
  17468. username:
  17469. description: 客户名称
  17470. type: string
  17471. type: object
  17472. models.QhjCustomerSignStatus:
  17473. properties:
  17474. createtime:
  17475. description: 创建时间
  17476. type: string
  17477. goodscode:
  17478. description: 商品代码
  17479. type: string
  17480. goodsid:
  17481. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  17482. type: integer
  17483. goodsname:
  17484. description: 商品名称
  17485. type: string
  17486. nodetype:
  17487. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  17488. type: integer
  17489. signtimestamp:
  17490. description: 签约状态时间戳
  17491. type: string
  17492. tradedate:
  17493. description: 创建交易日(yyyyMMdd)
  17494. type: string
  17495. updatetime:
  17496. description: 更新时间
  17497. type: string
  17498. userid:
  17499. description: 客户ID
  17500. type: integer
  17501. username:
  17502. description: 客户名称
  17503. type: string
  17504. type: object
  17505. models.QhjMgrAccountOutInApply:
  17506. properties:
  17507. accountcode:
  17508. description: 资金账号
  17509. type: string
  17510. accountname:
  17511. description: 用户名称(名称)
  17512. type: string
  17513. accountpwd:
  17514. description: 资金密码
  17515. type: string
  17516. accountticket:
  17517. description: 最新账户服务流水号
  17518. type: string
  17519. amount:
  17520. description: 金额
  17521. type: number
  17522. applyremark:
  17523. description: 申请备注
  17524. type: string
  17525. applystatus:
  17526. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  17527. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  17528. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  17529. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  17530. type: integer
  17531. auditid:
  17532. description: 审核人
  17533. type: integer
  17534. audittime:
  17535. description: 审核时间
  17536. type: string
  17537. bank_apply_ticket:
  17538. description: 银行申请流水
  17539. type: string
  17540. bankaccountname:
  17541. description: 银行账户名
  17542. type: string
  17543. bankaccountno:
  17544. description: 银行卡号
  17545. type: string
  17546. bankid:
  17547. description: 银行编号
  17548. type: string
  17549. bankname:
  17550. description: 银行名称
  17551. type: string
  17552. bankticket:
  17553. description: 银行流水
  17554. type: string
  17555. branchbankid:
  17556. description: 银行支行号
  17557. type: string
  17558. branchbankname:
  17559. description: 银行支行名称
  17560. type: string
  17561. capamountout:
  17562. description: 出金(劣后本金) - 外部子账户
  17563. type: number
  17564. certificatephotourl:
  17565. description: 凭证地址
  17566. type: string
  17567. charge:
  17568. description: 手续费
  17569. type: number
  17570. checkerrorflag:
  17571. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  17572. type: integer
  17573. currency:
  17574. description: 币种
  17575. type: string
  17576. cusbankid:
  17577. description: 托管银行编号
  17578. type: string
  17579. exchticket:
  17580. description: 银行服务流水号
  17581. type: string
  17582. executetype:
  17583. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  17584. 7:外部子账户:入金 8:外部子账户:出金'
  17585. type: integer
  17586. extendinfo:
  17587. description: 扩展信息
  17588. type: string
  17589. extoperateid:
  17590. description: 交易服务流水号
  17591. type: integer
  17592. infamount:
  17593. description: 劣后金额(自有)
  17594. type: number
  17595. logincode:
  17596. description: 登录账号(账号)
  17597. type: string
  17598. netaddr:
  17599. description: 调转网址
  17600. type: string
  17601. priamount:
  17602. description: 优先金额(授信)
  17603. type: number
  17604. reauditid:
  17605. description: 复审人
  17606. type: integer
  17607. reauditremark:
  17608. description: 复审备注
  17609. type: string
  17610. reaudittime:
  17611. description: 复审时间
  17612. type: string
  17613. relatedorderid:
  17614. description: 三方关联ID
  17615. type: string
  17616. remark:
  17617. description: 备注
  17618. type: string
  17619. remark2:
  17620. description: 备注(失败原因)
  17621. type: string
  17622. soucreamount:
  17623. description: 原始出入金金额
  17624. type: number
  17625. soucrecurrencyid:
  17626. description: 原始出入金币种
  17627. type: integer
  17628. tradedate:
  17629. description: 交易日(yyyyMMdd)
  17630. type: string
  17631. updatetime:
  17632. description: 更新时间(申请时间)
  17633. type: string
  17634. userid:
  17635. description: 用户id
  17636. type: integer
  17637. userinfotype:
  17638. description: 账户类型 1-个人 2-企业
  17639. type: integer
  17640. type: object
  17641. models.QhjMgrBrokerApply:
  17642. properties:
  17643. applicantid:
  17644. description: 申请人
  17645. type: integer
  17646. applysrc:
  17647. description: 申请来源 - 1:管理端 2:终端
  17648. type: integer
  17649. applystatus:
  17650. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  17651. type: integer
  17652. applytime:
  17653. description: 申请时间
  17654. type: string
  17655. auditorid:
  17656. description: 审核人
  17657. type: integer
  17658. auditremark:
  17659. description: 审核备注
  17660. type: string
  17661. auditsrc:
  17662. description: 审核来源 - 1:管理端 2:终端
  17663. type: integer
  17664. audittime:
  17665. description: 审核时间
  17666. type: string
  17667. audittradedate:
  17668. description: 审核交易日(yyyyMMdd)
  17669. type: string
  17670. brokerapplyid:
  17671. description: 申请ID(SEQ_BROKERAPPLY)
  17672. type: integer
  17673. cardbackphotourl:
  17674. description: 证件背面图片地址
  17675. type: string
  17676. cardfrontphotourl:
  17677. description: 证件正面图片地址
  17678. type: string
  17679. cardnum:
  17680. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  17681. type: string
  17682. customername:
  17683. description: 姓名
  17684. type: string
  17685. filterstatus:
  17686. description: 筛选条件
  17687. type: string
  17688. logincode:
  17689. description: 登录代码
  17690. type: string
  17691. mobile:
  17692. description: 手机号码
  17693. type: string
  17694. parentuserid:
  17695. description: 所属机构id
  17696. type: integer
  17697. parentusername:
  17698. description: 所属机构名称
  17699. type: string
  17700. refereeuserid:
  17701. description: 推荐人id(经纪人)
  17702. type: integer
  17703. refernum:
  17704. description: 推荐码
  17705. type: string
  17706. remark:
  17707. description: 备注
  17708. type: string
  17709. subarealevelpath:
  17710. description: 层级路径
  17711. type: string
  17712. tradedate:
  17713. description: 交易日(yyyyMMdd)
  17714. type: string
  17715. userid:
  17716. description: 申请人用户ID
  17717. type: integer
  17718. userinfotype:
  17719. description: 用户类型 1-个人 2-企业
  17720. type: integer
  17721. username:
  17722. description: 用户名称
  17723. type: string
  17724. type: object
  17725. models.QhjMgrBrokerRewardReport:
  17726. properties:
  17727. createtime:
  17728. description: 创建时间(注册时间)
  17729. type: string
  17730. cycletime:
  17731. description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  17732. type: string
  17733. cycletype:
  17734. description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  17735. type: integer
  17736. directtotalnum:
  17737. description: 直推总人数【期末】
  17738. type: integer
  17739. indirecttotalnum:
  17740. description: 间推总人数【期末】
  17741. type: integer
  17742. mobile:
  17743. description: 电话号码
  17744. type: string
  17745. refereeuserid:
  17746. description: 推荐人id(经纪人id)
  17747. type: integer
  17748. refereeusername:
  17749. description: 推荐人名称(经纪人) 上级经纪人名称
  17750. type: string
  17751. refernum:
  17752. description: 推荐码
  17753. type: string
  17754. subarealevelpath:
  17755. description: 用户层级路径
  17756. type: string
  17757. todayrewardamount:
  17758. description: 奖励总金额【汇总】
  17759. type: number
  17760. updatetime:
  17761. description: 更新时间
  17762. type: string
  17763. userid:
  17764. description: 经纪人用户ID
  17765. type: integer
  17766. userinfotype:
  17767. description: 用户类型 1-个人 2-企业
  17768. type: integer
  17769. username:
  17770. description: 用户名称
  17771. type: string
  17772. type: object
  17773. models.QhjMgrContract:
  17774. properties:
  17775. contractconfirmtime:
  17776. description: 合同确认时间(时间)
  17777. type: string
  17778. currisklevel:
  17779. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  17780. type: integer
  17781. decimalplace:
  17782. description: 商品报价小数位
  17783. type: integer
  17784. enumdicname:
  17785. description: 单位名称
  17786. type: string
  17787. goodscode:
  17788. description: 商品代码
  17789. type: string
  17790. goodsid:
  17791. description: 商品ID [5:融资单]
  17792. type: integer
  17793. goodsname:
  17794. description: 商品名称
  17795. type: string
  17796. goodunitid:
  17797. description: 商品单位id
  17798. type: integer
  17799. initmargin:
  17800. description: 初始保证金(首付款)
  17801. type: number
  17802. lenderamount:
  17803. description: 贷款金额(总额|订单总额)
  17804. type: number
  17805. logincode:
  17806. description: 账号(登录代码)
  17807. type: string
  17808. marginratio:
  17809. description: 保证金比率(首付比例)
  17810. type: number
  17811. mobile:
  17812. description: 电话号码(用户资料里的电话)
  17813. type: string
  17814. payamount:
  17815. description: 已付(已付货款)
  17816. type: number
  17817. reckonrecovermargin:
  17818. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  17819. type: number
  17820. recoveredmargin:
  17821. description: 已追缴保证金
  17822. type: number
  17823. remainamount:
  17824. description: 合同剩余金额(融资额)
  17825. type: number
  17826. scfcontractid:
  17827. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  17828. type: string
  17829. scfcontractstatus:
  17830. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  17831. 9:违约结束 10:已注销 11:已关闭 99:未提交
  17832. type: integer
  17833. scfcontracttype:
  17834. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  17835. type: integer
  17836. totalinterest:
  17837. description: 已计总利息(利息)
  17838. type: number
  17839. tradedate:
  17840. description: 交易日
  17841. type: string
  17842. tradeprice:
  17843. description: 成交价格(成本价格)
  17844. type: number
  17845. userid:
  17846. description: 用户ID
  17847. type: integer
  17848. userinfotype:
  17849. description: 用户类型 1-个人 2-企业
  17850. type: integer
  17851. username:
  17852. description: 用户名称
  17853. type: string
  17854. wrqty:
  17855. description: 仓单数量(数量)
  17856. type: number
  17857. type: object
  17858. models.QhjMgrCustomer:
  17859. properties:
  17860. address:
  17861. description: 通讯地址
  17862. type: string
  17863. attachment1:
  17864. description: 附件1
  17865. type: string
  17866. audittime:
  17867. description: 审核时间
  17868. type: string
  17869. birthday:
  17870. description: 生日
  17871. type: string
  17872. brokerid:
  17873. description: 所属客户经理id
  17874. type: integer
  17875. brokername:
  17876. description: 所属客户经理名称
  17877. type: string
  17878. cardbackphotourl:
  17879. description: 证件反面图片地址
  17880. type: string
  17881. cardfrontphotourl:
  17882. description: 证件正面图片地址
  17883. type: string
  17884. cardnum:
  17885. description: 证件号码
  17886. type: string
  17887. cardtype:
  17888. description: 证件类型
  17889. type: integer
  17890. cardtypename:
  17891. description: 证件类型名称
  17892. type: string
  17893. cityid:
  17894. description: 市
  17895. type: integer
  17896. cityname:
  17897. description: 城市名称
  17898. type: string
  17899. contactname:
  17900. description: 联系人
  17901. type: string
  17902. countryid:
  17903. description: 国家
  17904. type: integer
  17905. countryname:
  17906. description: 国家名称
  17907. type: string
  17908. createtime:
  17909. description: 创建时间
  17910. type: string
  17911. customername:
  17912. description: 客户名称
  17913. type: string
  17914. districtid:
  17915. description: 区域
  17916. type: integer
  17917. districtname:
  17918. description: 地区名称
  17919. type: string
  17920. email:
  17921. description: 邮件
  17922. type: string
  17923. legalpersonname:
  17924. description: 法人姓名(企业)
  17925. type: string
  17926. logincode:
  17927. description: 登录账号(代码)
  17928. type: string
  17929. memberuserid:
  17930. description: 所属机构ID(所属会员)
  17931. type: integer
  17932. memberusername:
  17933. description: 所属会员名称
  17934. type: string
  17935. mobile:
  17936. description: 手机号码
  17937. type: string
  17938. modifytime:
  17939. description: 修改时间
  17940. type: string
  17941. nickname:
  17942. description: 昵称
  17943. type: string
  17944. parentuserid:
  17945. description: 上级机构(所属机构)
  17946. type: integer
  17947. parentusername:
  17948. description: 所属机构名称
  17949. type: string
  17950. provinceid:
  17951. description: 省
  17952. type: integer
  17953. provincename:
  17954. description: 省名称
  17955. type: string
  17956. proxystatementurl:
  17957. description: 授权委托书
  17958. type: string
  17959. querytype:
  17960. description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  17961. type: integer
  17962. remark:
  17963. description: 备注
  17964. type: string
  17965. sex:
  17966. description: 性别 0-女 1-男
  17967. type: integer
  17968. status:
  17969. description: '开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过
  17970. ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)'
  17971. type: integer
  17972. statusdesc:
  17973. description: 账户状态中文描述
  17974. type: string
  17975. taxpayernum:
  17976. description: 纳税人识别号
  17977. type: string
  17978. telphone:
  17979. description: 联系电话
  17980. type: string
  17981. userid:
  17982. description: 用户ID
  17983. type: integer
  17984. userinfotype:
  17985. description: 客户类型 1-个人 2-企业
  17986. type: integer
  17987. username:
  17988. description: 用户名称
  17989. type: string
  17990. type: object
  17991. models.QhjMgrPickGoods:
  17992. properties:
  17993. enumdicname:
  17994. description: 单位名称(提货商品)
  17995. type: string
  17996. goodsid:
  17997. description: 商品id
  17998. type: integer
  17999. imageaddress:
  18000. description: 图片
  18001. type: string
  18002. modifierid:
  18003. description: 修改人
  18004. type: integer
  18005. modifiername:
  18006. description: 修改人名称
  18007. type: string
  18008. modifysrc:
  18009. description: 修改来源 - 1:管理端 2:终端
  18010. type: integer
  18011. pickupgoodsagreeunit:
  18012. description: 合约乘数
  18013. type: number
  18014. pickupgoodsdesc:
  18015. description: 描述
  18016. type: string
  18017. pickupgoodsid:
  18018. description: 提货商品ID
  18019. type: string
  18020. pickupgoodsname:
  18021. description: 提货商品名称
  18022. type: string
  18023. pickupgoodsstatus:
  18024. description: 状态 - 1:正常 2:停用 3:注销
  18025. type: integer
  18026. pickupgoodsunitid:
  18027. description: 单位ID
  18028. type: integer
  18029. pickupratio:
  18030. description: 提货系数
  18031. type: number
  18032. preparedays:
  18033. description: 备货期(天)
  18034. type: integer
  18035. remark:
  18036. description: 备注
  18037. type: string
  18038. updatetime:
  18039. description: 更新时间
  18040. type: string
  18041. type: object
  18042. models.QhjMgrPositionRsp:
  18043. properties:
  18044. accountid:
  18045. description: 账号Id
  18046. type: integer
  18047. accountname:
  18048. description: 用户名称
  18049. type: string
  18050. agreeunit:
  18051. description: 合约乘数
  18052. type: number
  18053. averageprice:
  18054. description: 均价
  18055. type: number
  18056. avialqty:
  18057. description: 可用数量
  18058. type: number
  18059. decimalplace:
  18060. description: 报价小数位
  18061. type: integer
  18062. enumdicname:
  18063. description: 单位名称(商品)
  18064. type: string
  18065. frozenqty:
  18066. description: 冻结数量
  18067. type: number
  18068. goodscode:
  18069. description: 商品代码(内部)
  18070. type: string
  18071. goodsid:
  18072. description: 商品Id
  18073. type: integer
  18074. goodsname:
  18075. description: 商品名称
  18076. type: string
  18077. goodunitid:
  18078. description: 报价单位ID
  18079. type: integer
  18080. holderamount:
  18081. description: 金额
  18082. type: number
  18083. holderqty:
  18084. description: 持有数量
  18085. type: number
  18086. holdertype:
  18087. description: 持仓类别 - 1:单边持仓 2:双边持仓
  18088. type: integer
  18089. logincode:
  18090. description: 登录代码(账户)
  18091. type: string
  18092. marketid:
  18093. description: 市场id
  18094. type: integer
  18095. qtydecimalplace:
  18096. description: 成交量小数位
  18097. type: integer
  18098. trademode:
  18099. description: 交易模式
  18100. type: integer
  18101. userid:
  18102. description: 用户id
  18103. type: integer
  18104. userinfotype:
  18105. description: 账户类型 1-个人 2-企业
  18106. type: integer
  18107. type: object
  18108. models.QhjMgrSubArea:
  18109. properties:
  18110. accountname:
  18111. description: 账户名称(机构名称)
  18112. type: string
  18113. memberuserid:
  18114. description: 所属会员ID
  18115. type: integer
  18116. parenttopuser:
  18117. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  18118. type: string
  18119. parentuserid:
  18120. description: 所属机构ID
  18121. type: integer
  18122. rootuserid:
  18123. description: 根用户ID
  18124. type: string
  18125. subaccountlevel:
  18126. description: 子账户层数
  18127. type: integer
  18128. subarealevelpath:
  18129. description: 子机构层级路径(逗号分隔,首尾加逗号)
  18130. type: string
  18131. userid:
  18132. description: 用户ID
  18133. type: integer
  18134. usertype:
  18135. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  18136. type: integer
  18137. type: object
  18138. models.QhjMgrTradeDetailRsp:
  18139. properties:
  18140. accountid:
  18141. description: 资金账号
  18142. type: integer
  18143. accountname:
  18144. description: 用户名称
  18145. type: string
  18146. agreeunit:
  18147. description: 合约乘数
  18148. type: number
  18149. buyorsell:
  18150. description: 成交类型(方向) 0:买 1:卖
  18151. type: integer
  18152. decimalplace:
  18153. description: 报价小数位
  18154. type: integer
  18155. enumdicname:
  18156. description: 单位名称(商品)
  18157. type: string
  18158. goodscode:
  18159. description: 商品代码(内部)
  18160. type: string
  18161. goodsid:
  18162. description: 商品id
  18163. type: integer
  18164. goodsname:
  18165. description: 商品名称
  18166. type: string
  18167. goodunitid:
  18168. description: 报价单位ID
  18169. type: integer
  18170. logincode:
  18171. description: 登录代码(账户)
  18172. type: string
  18173. marketid:
  18174. description: 市场id
  18175. type: integer
  18176. orderid:
  18177. description: 关联委托单号
  18178. type: string
  18179. qtydecimalplace:
  18180. description: 成交量小数位
  18181. type: integer
  18182. tradeamount:
  18183. description: 金额
  18184. type: number
  18185. tradedate:
  18186. description: 交易日
  18187. type: string
  18188. tradeid:
  18189. description: 成交单号
  18190. type: string
  18191. trademode:
  18192. description: 交易模式
  18193. type: integer
  18194. tradeprice:
  18195. description: 价格
  18196. type: number
  18197. tradeqty:
  18198. description: 数量
  18199. type: number
  18200. tradetime:
  18201. description: 成交时间
  18202. type: string
  18203. userid:
  18204. description: 用户id
  18205. type: integer
  18206. userinfotype:
  18207. description: 账户类型 1-个人 2-企业
  18208. type: integer
  18209. type: object
  18210. models.QhjMgrTradeOrderDetailRsp:
  18211. properties:
  18212. accountid:
  18213. description: 资金账号
  18214. type: integer
  18215. accountname:
  18216. description: 用户名称
  18217. type: string
  18218. agreeunit:
  18219. description: 合约乘数
  18220. type: number
  18221. amount:
  18222. description: 金额
  18223. type: number
  18224. decimalplace:
  18225. description: 报价小数位
  18226. type: integer
  18227. enumdicname:
  18228. description: 单位名称(商品)
  18229. type: string
  18230. goodscode:
  18231. description: 商品代码(内部)
  18232. type: string
  18233. goodsid:
  18234. description: 商品id
  18235. type: integer
  18236. goodsname:
  18237. description: 商品名称
  18238. type: string
  18239. goodunitid:
  18240. description: 报价单位ID
  18241. type: integer
  18242. logincode:
  18243. description: 登录代码(账户)
  18244. type: string
  18245. marketid:
  18246. description: 市场id
  18247. type: integer
  18248. orderid:
  18249. description: 关联委托单号
  18250. type: string
  18251. orderprice:
  18252. description: 价格
  18253. type: number
  18254. orderqty:
  18255. description: 数量
  18256. type: number
  18257. orderstatus:
  18258. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  18259. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  18260. 16:成交失败违约(荷兰式竞拍专用)
  18261. type: integer
  18262. ordertime:
  18263. description: 委托时间
  18264. type: string
  18265. qtydecimalplace:
  18266. description: 成交量小数位
  18267. type: integer
  18268. tradedate:
  18269. description: 交易日
  18270. type: string
  18271. trademode:
  18272. description: 交易模式
  18273. type: integer
  18274. userid:
  18275. description: 用户id
  18276. type: integer
  18277. userinfotype:
  18278. description: 账户类型 1-个人 2-企业
  18279. type: integer
  18280. type: object
  18281. models.QhjMgrTradePayOrder:
  18282. properties:
  18283. accountname:
  18284. description: 用户名称
  18285. type: string
  18286. advanceratio:
  18287. description: 首付比率
  18288. type: number
  18289. agreeunit:
  18290. description: 合约乘数
  18291. type: number
  18292. buyaccountid:
  18293. description: 买方账号ID[报价币种]
  18294. type: integer
  18295. buyorderid:
  18296. description: 买方委托单号(关联单号)
  18297. type: string
  18298. createtime:
  18299. description: 创建时间
  18300. type: string
  18301. decimalplace:
  18302. description: 报价小数位
  18303. type: integer
  18304. enumdicname:
  18305. description: 单位名称(商品)
  18306. type: string
  18307. goodscode:
  18308. description: 商品代码(内部)
  18309. type: string
  18310. goodsid:
  18311. description: 商品ID
  18312. type: integer
  18313. goodsname:
  18314. description: 商品名称
  18315. type: string
  18316. goodunitid:
  18317. description: 报价单位ID
  18318. type: integer
  18319. logincode:
  18320. description: 登录代码(账户)
  18321. type: string
  18322. marketid:
  18323. description: 市场id
  18324. type: integer
  18325. offamount:
  18326. description: 优惠金额
  18327. type: number
  18328. operatetype:
  18329. description: 买委托操作类型 - 1:正常下单 16:融资买入
  18330. type: integer
  18331. payamount:
  18332. description: 支付金额(金额)
  18333. type: number
  18334. payflag:
  18335. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  18336. type: integer
  18337. paylimitedtime:
  18338. description: 支付期限
  18339. type: string
  18340. paytime:
  18341. description: 付款时间
  18342. type: string
  18343. qtydecimalplace:
  18344. description: 成交量小数位
  18345. type: integer
  18346. sellaccountid:
  18347. description: 卖方账号ID[报价币种]
  18348. type: integer
  18349. sellorderid:
  18350. description: 卖方委托单号
  18351. type: string
  18352. tradeamount:
  18353. description: 成交金额(优惠后金额)
  18354. type: number
  18355. tradecharge:
  18356. description: 成交手续费(买方)
  18357. type: number
  18358. tradedate:
  18359. description: 交易日(yyyyMMdd)
  18360. type: string
  18361. tradeid:
  18362. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  18363. type: string
  18364. trademode:
  18365. description: 交易模式
  18366. type: integer
  18367. tradeprice:
  18368. description: 成交价格(价格)
  18369. type: number
  18370. tradeqty:
  18371. description: 成交数量(数量)
  18372. type: number
  18373. tradetime:
  18374. description: 成交时间
  18375. type: string
  18376. userid:
  18377. description: 用户id
  18378. type: integer
  18379. userinfotype:
  18380. description: 账户类型 1-个人 2-企业
  18381. type: integer
  18382. type: object
  18383. models.QhjMyTeamEx:
  18384. properties:
  18385. accountname:
  18386. description: 用户名称
  18387. type: string
  18388. accountstatus:
  18389. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  18390. type: integer
  18391. createtime:
  18392. description: 创建时间
  18393. type: string
  18394. mobile:
  18395. description: 手机号码
  18396. type: string
  18397. refereeuserid:
  18398. description: 推荐人id
  18399. type: integer
  18400. refernum:
  18401. description: 推荐码
  18402. type: string
  18403. subList:
  18404. items:
  18405. $ref: '#/definitions/models.QhjMyTeamEx'
  18406. type: array
  18407. userid:
  18408. description: 用户id
  18409. type: integer
  18410. userinfotype:
  18411. description: 用户类型 1-个人 2-企业
  18412. type: integer
  18413. type: object
  18414. models.QhjNodeAgreementConfig:
  18415. properties:
  18416. agreementcontent:
  18417. description: 协议内容
  18418. type: string
  18419. agreementid:
  18420. description: 协议ID
  18421. type: integer
  18422. agreementname:
  18423. description: 协议名称
  18424. type: string
  18425. agreementno:
  18426. description: 协议编号
  18427. type: string
  18428. agreementtype:
  18429. description: 协议类型 - 1:注册 2:登录 3:交易
  18430. type: integer
  18431. agreementversion:
  18432. description: 协议版本号
  18433. type: integer
  18434. configid:
  18435. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  18436. type: integer
  18437. createtime:
  18438. description: 创建时间
  18439. type: string
  18440. goodsid:
  18441. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  18442. type: integer
  18443. nodetype:
  18444. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  18445. type: integer
  18446. type: object
  18447. models.QhjParentAreaList:
  18448. properties:
  18449. accountname:
  18450. description: 账户名称(机构名称)
  18451. type: string
  18452. userid:
  18453. description: 用户ID
  18454. type: integer
  18455. usertype:
  18456. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  18457. type: integer
  18458. type: object
  18459. models.QhjPayOrder:
  18460. properties:
  18461. advanceratio:
  18462. description: 首付比率
  18463. type: number
  18464. buyaccountid:
  18465. description: 买方账号ID[报价币种]
  18466. type: integer
  18467. buyorderid:
  18468. description: 买方委托单号
  18469. type: string
  18470. createtime:
  18471. description: 创建时间
  18472. type: string
  18473. decimalplace:
  18474. description: 商品报价小数位
  18475. type: integer
  18476. enumdicname:
  18477. description: 单位名称
  18478. type: string
  18479. goodscode:
  18480. description: 商品代码
  18481. type: string
  18482. goodsid:
  18483. description: 商品ID
  18484. type: integer
  18485. goodsname:
  18486. description: 商品名称
  18487. type: string
  18488. goodunitid:
  18489. description: 商品单位id
  18490. type: integer
  18491. marketid:
  18492. description: 市场ID
  18493. type: integer
  18494. offamount:
  18495. description: 优惠金额
  18496. type: number
  18497. operatetype:
  18498. description: 买委托操作类型 - 1:正常下单 16:融资买入
  18499. type: integer
  18500. payamount:
  18501. description: 支付金额
  18502. type: number
  18503. payflag:
  18504. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  18505. type: integer
  18506. paylimitedtime:
  18507. description: 支付期限
  18508. type: string
  18509. paytime:
  18510. description: 付款时间
  18511. type: string
  18512. qtydecimalplace:
  18513. description: 成交量小数位
  18514. type: integer
  18515. sellaccountid:
  18516. description: 卖方账号ID[报价币种]
  18517. type: integer
  18518. sellorderid:
  18519. description: 卖方委托单号
  18520. type: string
  18521. tradeamount:
  18522. description: 成交金额(优惠后金额)
  18523. type: number
  18524. tradecharge:
  18525. description: 成交手续费(买方)
  18526. type: number
  18527. tradedate:
  18528. description: 交易日(yyyyMMdd)
  18529. type: string
  18530. tradeid:
  18531. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  18532. type: string
  18533. tradeprice:
  18534. description: 成交价格
  18535. type: number
  18536. tradeqty:
  18537. description: 成交数量
  18538. type: number
  18539. type: object
  18540. models.QhjPickArea:
  18541. properties:
  18542. address:
  18543. description: 详细地址
  18544. type: string
  18545. cityid:
  18546. description: 市
  18547. type: integer
  18548. cityname:
  18549. description: 城市名称
  18550. type: string
  18551. countryid:
  18552. description: 国家
  18553. type: integer
  18554. countryname:
  18555. description: 国家名称
  18556. type: string
  18557. districtid:
  18558. description: 地区
  18559. type: integer
  18560. districtname:
  18561. description: 地区名称
  18562. type: string
  18563. fromuserid:
  18564. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  18565. type: integer
  18566. fromusername:
  18567. description: 所属机构名称
  18568. type: string
  18569. provinceid:
  18570. description: 省
  18571. type: integer
  18572. provincename:
  18573. description: 省名称
  18574. type: string
  18575. suborgtype:
  18576. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  18577. type: integer
  18578. userid:
  18579. description: 机构用户ID 其他做市关系,都设置为 1
  18580. type: integer
  18581. username:
  18582. description: 机构用户名称(门店门称)
  18583. type: string
  18584. type: object
  18585. models.QhjPickGoods:
  18586. properties:
  18587. enumdicname:
  18588. description: 单位名称(提货商品)
  18589. type: string
  18590. goodsid:
  18591. description: 商品id
  18592. type: integer
  18593. imageaddress:
  18594. description: 图片
  18595. type: string
  18596. modifierid:
  18597. description: 修改人
  18598. type: integer
  18599. modifiername:
  18600. description: 修改人名称
  18601. type: string
  18602. modifysrc:
  18603. description: 修改来源 - 1:管理端 2:终端
  18604. type: integer
  18605. pickupgoodsagreeunit:
  18606. description: 合约乘数
  18607. type: number
  18608. pickupgoodsdesc:
  18609. description: 描述
  18610. type: string
  18611. pickupgoodsid:
  18612. description: 提货商品ID
  18613. type: string
  18614. pickupgoodsname:
  18615. description: 提货商品名称
  18616. type: string
  18617. pickupgoodsstatus:
  18618. description: 状态 - 1:正常 2:停用 3:注销
  18619. type: integer
  18620. pickupgoodsunitid:
  18621. description: 单位ID
  18622. type: integer
  18623. pickupratio:
  18624. description: 提货系数
  18625. type: number
  18626. preparedays:
  18627. description: 备货期(天)
  18628. type: integer
  18629. remark:
  18630. description: 备注
  18631. type: string
  18632. updatetime:
  18633. description: 更新时间
  18634. type: string
  18635. type: object
  18636. models.QhjRSTriggerLog:
  18637. properties:
  18638. accountid:
  18639. description: 用户资金账户
  18640. type: integer
  18641. accountname:
  18642. description: 账号名称(ACCOUNTID对应的名称)
  18643. type: string
  18644. currencyid:
  18645. description: 币种id
  18646. type: integer
  18647. currencyname:
  18648. description: 币种名称
  18649. type: string
  18650. decimalplace:
  18651. description: 商品报价小数位
  18652. type: integer
  18653. enumdicname:
  18654. description: 单位名称
  18655. type: string
  18656. goodscode:
  18657. description: 定投商品代码
  18658. type: string
  18659. goodsid:
  18660. description: 定投商品ID
  18661. type: integer
  18662. goodsname:
  18663. description: 定投商品名称
  18664. type: string
  18665. goodunitid:
  18666. description: 定投商品单位id
  18667. type: integer
  18668. logid:
  18669. description: LogID(SEQ_QHJ_RSTRIGGERLOG)
  18670. type: string
  18671. logincode:
  18672. description: 账号(登录代码)
  18673. type: string
  18674. qtydecimalplace:
  18675. description: 成交量小数位
  18676. type: integer
  18677. regularlycycle:
  18678. description: 定投频率 - 1:每周 2:每月
  18679. type: integer
  18680. regularlycyclevalue:
  18681. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  18682. type: string
  18683. regularlymode:
  18684. description: 定投方式 - 1:按数量 2:按金额
  18685. type: integer
  18686. regularlymodevalue:
  18687. description: 定投方式值 - 数量或金额
  18688. type: number
  18689. regularlystrategyid:
  18690. description: 定投策略ID
  18691. type: integer
  18692. retcode:
  18693. description: 错误码
  18694. type: string
  18695. tradeid:
  18696. description: 成交单ID
  18697. type: string
  18698. triggeramount:
  18699. description: 触发金额
  18700. type: number
  18701. triggerqty:
  18702. description: 触发数量
  18703. type: number
  18704. triggerstatus:
  18705. description: 触发状态 - 1:成功 2:失败
  18706. type: integer
  18707. triggertime:
  18708. description: 触发时间
  18709. type: string
  18710. triggertradedate:
  18711. description: 触发交易日
  18712. type: string
  18713. userid:
  18714. description: 所属用户ID
  18715. type: integer
  18716. userinfotype:
  18717. description: 用户类型 1-个人 2-企业
  18718. type: integer
  18719. username:
  18720. description: 用户名称(userid对应的名称)
  18721. type: string
  18722. type: object
  18723. models.QhjRStrategy:
  18724. properties:
  18725. accountid:
  18726. description: 用户资金账户
  18727. type: integer
  18728. accountname:
  18729. description: 账号名称(ACCOUNTID对应的名称)
  18730. type: string
  18731. currencyid:
  18732. description: 币种id
  18733. type: integer
  18734. currencyname:
  18735. description: 币种名称
  18736. type: string
  18737. decimalplace:
  18738. description: 商品报价小数位
  18739. type: integer
  18740. enumdicname:
  18741. description: 单位名称
  18742. type: string
  18743. goodscode:
  18744. description: 定投商品代码
  18745. type: string
  18746. goodsid:
  18747. description: 定投商品ID
  18748. type: integer
  18749. goodsname:
  18750. description: 定投商品名称
  18751. type: string
  18752. goodunitid:
  18753. description: 定投商品单位id
  18754. type: integer
  18755. lasteffecttradedate:
  18756. description: 最新生效交易日
  18757. type: string
  18758. laststoptradedate:
  18759. description: 最新暂停交易日
  18760. type: string
  18761. lasttriggertradedate:
  18762. description: 最新触发交易日
  18763. type: string
  18764. logincode:
  18765. description: 账号(登录代码)
  18766. type: string
  18767. nexttriggeramount:
  18768. description: 下次触发金额
  18769. type: number
  18770. nexttriggerdate:
  18771. description: 下次触发日期
  18772. type: string
  18773. nexttriggerqty:
  18774. description: 下次触发数量 [按小数位放大值]
  18775. type: number
  18776. qtydecimalplace:
  18777. description: 成交量小数位
  18778. type: integer
  18779. regularlycycle:
  18780. description: 定投频率 - 1:每周 2:每月
  18781. type: integer
  18782. regularlycyclevalue:
  18783. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  18784. type: string
  18785. regularlymode:
  18786. description: 定投方式 - 1:按数量 2:按金额
  18787. type: integer
  18788. regularlymodevalue:
  18789. description: 定投方式值 - 数量或金额
  18790. type: number
  18791. regularlystrategyid:
  18792. description: 定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)
  18793. type: integer
  18794. regularlystrategystatus:
  18795. description: 策略状态 - 1:正常 2:暂停 3:终止
  18796. type: integer
  18797. remark:
  18798. description: 备注
  18799. type: string
  18800. triggersuccesstimes:
  18801. description: 累计定投成功次数
  18802. type: string
  18803. triggertotalamount:
  18804. description: 累计定投金额(成功)
  18805. type: number
  18806. triggertotalqty:
  18807. description: 累计定投数量(成功) [按小数位放大值]
  18808. type: number
  18809. triggertotaltimes:
  18810. description: 累计定投总次数
  18811. type: string
  18812. updatesrc:
  18813. description: 更新来源 - 1:管理端 2:终端
  18814. type: integer
  18815. updatetime:
  18816. description: 更新时间
  18817. type: string
  18818. updatorid:
  18819. description: 更新人
  18820. type: string
  18821. userid:
  18822. description: 所属用户ID
  18823. type: integer
  18824. userinfotype:
  18825. description: 用户类型 1-个人 2-企业
  18826. type: integer
  18827. username:
  18828. description: 用户名称(userid对应的名称)
  18829. type: string
  18830. type: object
  18831. models.QhjReckonPriceLog:
  18832. properties:
  18833. decimalplace:
  18834. description: 商品报价小数位
  18835. type: integer
  18836. goodscode:
  18837. description: 商品代码
  18838. type: string
  18839. goodsid:
  18840. description: 商品ID
  18841. type: integer
  18842. goodsname:
  18843. description: 商品名称
  18844. type: string
  18845. lastreckonprice:
  18846. description: 上日结算价
  18847. type: number
  18848. nextdnlimitprice:
  18849. description: 下个交易日跌停价
  18850. type: number
  18851. nexttrade:
  18852. description: 下个交易日
  18853. type: string
  18854. nextuplimitprice:
  18855. description: 下个交易日涨停价
  18856. type: number
  18857. reckonprice:
  18858. description: 今日结算价(定投价)
  18859. type: number
  18860. reckontime:
  18861. description: 结算时间
  18862. type: string
  18863. totalholderqty:
  18864. description: 总持仓数
  18865. type: integer
  18866. totalstock:
  18867. description: 总库存
  18868. type: integer
  18869. tradedate:
  18870. description: 交易日
  18871. type: string
  18872. updowncount:
  18873. description: 连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)
  18874. type: integer
  18875. updownflag:
  18876. description: 连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停
  18877. type: integer
  18878. updownrate:
  18879. description: 今日涨跌幅
  18880. type: number
  18881. updownrate_2d:
  18882. description: 连续两日涨跌幅
  18883. type: number
  18884. updownrate_3d:
  18885. description: 连续三日涨跌幅
  18886. type: number
  18887. type: object
  18888. models.QhjScoreLog:
  18889. properties:
  18890. accountid:
  18891. description: 账户ID
  18892. type: integer
  18893. createtime:
  18894. description: 创建时间(时间)
  18895. type: string
  18896. goodsid:
  18897. description: 商品ID
  18898. type: integer
  18899. hasuploaded:
  18900. description: 是否已同步(千海金) 0:未同步 1;已同步
  18901. type: integer
  18902. logid:
  18903. description: 流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  18904. type: string
  18905. marketid:
  18906. description: 市场ID
  18907. type: integer
  18908. relatedamount:
  18909. description: 关联金额
  18910. type: number
  18911. relatedorderid:
  18912. description: 关联单号(ScoreType=1为Trade_GoodsPickup)
  18913. type: string
  18914. scoreconfigvalue1:
  18915. description: 积分配置1
  18916. type: integer
  18917. scoreconfigvalue2:
  18918. description: 积分配置1
  18919. type: integer
  18920. scoretype:
  18921. description: 积分类型 - 1:提货积分
  18922. type: integer
  18923. scorevalue:
  18924. description: 积分
  18925. type: number
  18926. tradedate:
  18927. description: 交易日(yyyyMMdd)
  18928. type: string
  18929. uploadedtime:
  18930. description: 同步时间
  18931. type: string
  18932. userid:
  18933. description: 用户ID
  18934. type: integer
  18935. type: object
  18936. models.QhjSiteColumnDetail:
  18937. properties:
  18938. author:
  18939. description: 作者
  18940. type: string
  18941. brief:
  18942. description: 简介
  18943. type: string
  18944. columnid:
  18945. description: 所属栏目
  18946. type: integer
  18947. context:
  18948. description: 内容
  18949. type: string
  18950. coverimage:
  18951. description: 封面图片
  18952. type: string
  18953. creaedate:
  18954. description: 创建时间
  18955. type: string
  18956. creatorid:
  18957. description: 创建人
  18958. type: integer
  18959. hits:
  18960. description: 点击数
  18961. type: integer
  18962. id:
  18963. description: ID(SEQ_SITE_COLUMNDETAIL)
  18964. type: integer
  18965. isshow:
  18966. description: 是否展示 - 0:不展示 1:展示
  18967. type: integer
  18968. istop:
  18969. description: 是否置顶 - 0:不置 1:置顶
  18970. type: integer
  18971. modifierid:
  18972. description: 操作人
  18973. type: integer
  18974. publishdate:
  18975. description: 发布日期
  18976. type: string
  18977. srcid:
  18978. description: 来源ID
  18979. type: string
  18980. srclogo:
  18981. description: 来源LOGO
  18982. type: string
  18983. srcname:
  18984. description: 来源名称
  18985. type: string
  18986. srcurl:
  18987. description: 来源网址
  18988. type: string
  18989. status:
  18990. description: 状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝
  18991. type: integer
  18992. title:
  18993. description: 标题
  18994. type: string
  18995. updatedate:
  18996. description: 修改时间
  18997. type: string
  18998. userid:
  18999. description: 用户ID(默认为0, 核心为为机构用户ID)
  19000. type: integer
  19001. username:
  19002. description: 用户名称
  19003. type: string
  19004. type: object
  19005. models.QhjTeamOrder:
  19006. properties:
  19007. accountid:
  19008. description: 账户ID[报价币种]
  19009. type: integer
  19010. accountname:
  19011. description: 账户名称
  19012. type: string
  19013. agreeunit:
  19014. description: 合约乘数
  19015. type: number
  19016. buyorsell:
  19017. description: 方向 - 0:买 1:卖
  19018. type: integer
  19019. decimalplace:
  19020. description: 报价小数位
  19021. type: integer
  19022. enumdicname:
  19023. description: 单位名称
  19024. type: string
  19025. goodscode:
  19026. description: 商品代码(内部)
  19027. type: string
  19028. goodsid:
  19029. description: 商品ID
  19030. type: integer
  19031. goodsname:
  19032. description: 商品名称
  19033. type: string
  19034. goodunitid:
  19035. description: 报价单位ID
  19036. type: integer
  19037. marketid:
  19038. description: 市场ID
  19039. type: integer
  19040. marketname:
  19041. description: 市场名称
  19042. type: string
  19043. qtydecimalplace:
  19044. description: 成交量小数位
  19045. type: integer
  19046. refereeuserid:
  19047. description: 推荐人ID
  19048. type: integer
  19049. tradeamount:
  19050. description: 成交金额[账户币种,用于所有权]
  19051. type: number
  19052. tradedate:
  19053. description: 交易日(yyyyMMdd)
  19054. type: string
  19055. trademode:
  19056. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  19057. 21:竞拍-大宗式 22:受托竞价
  19058. type: integer
  19059. tradeprice:
  19060. description: 成交价格
  19061. type: number
  19062. tradeqty:
  19063. description: 成交数量
  19064. type: number
  19065. tradetime:
  19066. description: 成交时间
  19067. type: string
  19068. userid:
  19069. description: 用户ID
  19070. type: integer
  19071. type: object
  19072. models.QhjTradeGoodsPickup:
  19073. properties:
  19074. accountid:
  19075. description: 账户ID
  19076. type: integer
  19077. address:
  19078. description: 提货人详细地址
  19079. type: string
  19080. amount:
  19081. description: 提货金额
  19082. type: number
  19083. artradedate:
  19084. description: 自动收货交易日(yyyyMMdd)
  19085. type: string
  19086. auditer:
  19087. description: 审核人
  19088. type: integer
  19089. auditsrc:
  19090. description: 更新来源 - 1:管理端 2:终端
  19091. type: integer
  19092. audittime:
  19093. description: 审核时间(发货时间 | 备货完成时间 都是这个字段)
  19094. type: string
  19095. audittradedate:
  19096. description: 审核交易日(yyyyMMdd)
  19097. type: string
  19098. cardnum:
  19099. description: 提货人证件号码
  19100. type: string
  19101. cardtypeid:
  19102. description: 提货人证件类型
  19103. type: integer
  19104. checkremark:
  19105. description: 审核备注
  19106. type: string
  19107. cityid:
  19108. description: 市
  19109. type: integer
  19110. cityname:
  19111. description: 城市名称
  19112. type: string
  19113. confirmtime:
  19114. description: 取货时间 或 收货时间
  19115. type: string
  19116. countryid:
  19117. description: 国家
  19118. type: integer
  19119. countryname:
  19120. description: 国家名称
  19121. type: string
  19122. decimalplace:
  19123. description: 商品报价小数位
  19124. type: integer
  19125. districtid:
  19126. description: 地区
  19127. type: integer
  19128. districtname:
  19129. description: 地区名称
  19130. type: string
  19131. enumdicname:
  19132. description: 单位名称(提货商品)
  19133. type: string
  19134. expresscompany:
  19135. description: 物流公司
  19136. type: string
  19137. expressnum:
  19138. description: 物流单号
  19139. type: string
  19140. goodsagreeunit:
  19141. description: 交易商品乘数
  19142. type: number
  19143. goodscode:
  19144. description: 商品代码
  19145. type: string
  19146. goodsid:
  19147. description: 商品ID
  19148. type: integer
  19149. goodsname:
  19150. description: 商品名称
  19151. type: string
  19152. goodsqty:
  19153. description: 交易商品手数(69模式按成交量小数位放大取整)
  19154. type: number
  19155. handlestatus:
  19156. description: 处理状态
  19157. type: integer
  19158. logincode:
  19159. description: 账号(登录代码, 有可能为空)
  19160. type: string
  19161. marketid:
  19162. description: 市场ID
  19163. type: integer
  19164. phonenum:
  19165. description: 提货人联系方式
  19166. type: string
  19167. pickupgoodsagreeunit:
  19168. description: 提货商品合约乘数
  19169. type: number
  19170. pickupgoodsid:
  19171. description: 提货商品ID
  19172. type: string
  19173. pickupgoodsname:
  19174. description: 提货商品名称
  19175. type: string
  19176. pickupgoodsqty:
  19177. description: 提货商品手数(数量)
  19178. type: number
  19179. pickupgoodsunitid:
  19180. description: 单位ID(提货商品)
  19181. type: integer
  19182. pickupratio:
  19183. description: 提货系数
  19184. type: number
  19185. preparedays:
  19186. description: 备货期(天)-提货单明细表
  19187. type: integer
  19188. provinceid:
  19189. description: 省
  19190. type: integer
  19191. provincename:
  19192. description: 省名称
  19193. type: string
  19194. qty:
  19195. description: 交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总
  19196. type: number
  19197. qtydecimalplace:
  19198. description: 商品数量小数位
  19199. type: integer
  19200. recivername:
  19201. description: 提货人姓名
  19202. type: string
  19203. reqtime:
  19204. description: 提货申请时间
  19205. type: string
  19206. storeuserid:
  19207. description: 门店用户ID (千海金)
  19208. type: integer
  19209. storeusername:
  19210. description: 门店用户名称
  19211. type: string
  19212. takemode:
  19213. description: 提货方式 - 2:自提 3:配送(邮寄)
  19214. type: integer
  19215. takeorderid:
  19216. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  19217. type: string
  19218. takeorderstatus:
  19219. description: 提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  19220. 7:已拒绝 8:已撤销
  19221. type: integer
  19222. takeremark:
  19223. description: 提货备注
  19224. type: string
  19225. tradedate:
  19226. description: 交易日(yyyyMMdd)
  19227. type: string
  19228. updatetime:
  19229. description: 更新时间
  19230. type: string
  19231. userid:
  19232. description: 用户ID
  19233. type: integer
  19234. userinfotype:
  19235. description: 客户类型 1-个人 2-企业
  19236. type: integer
  19237. username:
  19238. description: 用户名称
  19239. type: string
  19240. type: object
  19241. models.QhjUserNodeCfgAndStatus:
  19242. properties:
  19243. agreementcontent:
  19244. description: 协议内容
  19245. type: string
  19246. agreementid:
  19247. description: 协议ID
  19248. type: integer
  19249. agreementname:
  19250. description: 协议名称
  19251. type: string
  19252. agreementno:
  19253. description: 协议编号
  19254. type: string
  19255. agreementtype:
  19256. description: 协议类型 - 1:注册 2:登录 3:交易
  19257. type: integer
  19258. agreementversion:
  19259. description: 协议版本号
  19260. type: integer
  19261. configid:
  19262. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  19263. type: integer
  19264. createtime:
  19265. description: 创建时间
  19266. type: string
  19267. goodsid:
  19268. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  19269. type: integer
  19270. nodetype:
  19271. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  19272. type: integer
  19273. signtimestamp:
  19274. description: 签约状态时间戳(最近一次)
  19275. type: string
  19276. tradedate:
  19277. description: 签约交易日(yyyyMMdd)
  19278. type: string
  19279. userid:
  19280. description: 客户ID
  19281. type: integer
  19282. type: object
  19283. models.Qhjgoodsex:
  19284. properties:
  19285. canfinance:
  19286. description: 是否支持融资 - 0:不支持 1:支持【69:铂金宝】
  19287. type: integer
  19288. canregularlybuy:
  19289. description: 是否支持定投 - 0:不支持 1:支持【69:铂金宝】
  19290. type: integer
  19291. defaulttradeuserid:
  19292. description: 默认交易用户ID
  19293. type: integer
  19294. deliverygoodsid:
  19295. description: 现货品种ID
  19296. type: integer
  19297. goodsid:
  19298. description: 商品ID(自增ID SEQ_GOODS)
  19299. type: integer
  19300. minamount:
  19301. description: 最小购买金额
  19302. type: number
  19303. regularlybuyminamount:
  19304. description: 定投最小金额
  19305. type: number
  19306. regularlybuyminqty:
  19307. description: 定投最小数量
  19308. type: number
  19309. spotgoodsbrandid:
  19310. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID"
  19311. type: integer
  19312. visibilityforenterprise:
  19313. description: 企业客户是否可见 - 0:不可见 1:可见
  19314. type: integer
  19315. visibilityforpersonal:
  19316. description: 个人客户是否可见 - 0:不可见 1:可见
  19317. type: integer
  19318. wrstandardid:
  19319. description: 现货商品ID
  19320. type: integer
  19321. type: object
  19322. models.QueryErrorInfosRsp:
  19323. properties:
  19324. description:
  19325. description: 异常描述
  19326. type: string
  19327. errorcode:
  19328. description: 异常代码
  19329. type: string
  19330. errorid:
  19331. description: 异常ID
  19332. type: integer
  19333. modulecode:
  19334. description: 所属模块
  19335. type: string
  19336. operatecode:
  19337. description: 所属操作
  19338. type: string
  19339. rownumber:
  19340. description: 行号
  19341. type: string
  19342. required:
  19343. - errorid
  19344. type: object
  19345. models.QueryHedgeOrderDetailRsp:
  19346. properties:
  19347. accountid:
  19348. description: 账户ID
  19349. type: integer
  19350. buyorsell:
  19351. description: 买卖 - 0:买 1:卖
  19352. type: integer
  19353. cancellogincode:
  19354. description: 撤单人
  19355. type: string
  19356. channelbuildtype:
  19357. description: 开平标志 - 0:无 1:建仓 2:平仓
  19358. type: integer
  19359. channelinnerorderstatus:
  19360. description: 委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:部分成交 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败
  19361. 9:全部成交
  19362. type: integer
  19363. channeloperatetype:
  19364. description: 操作类型 - 1:正常委托 2:斩仓委托 3:强平委托
  19365. type: integer
  19366. closetype:
  19367. description: 平仓方式 - 0:无 1:平今 2:平昨
  19368. type: integer
  19369. curexchangerate:
  19370. description: 当前汇率
  19371. type: number
  19372. decimalplace:
  19373. description: 商品报价小数位
  19374. type: integer
  19375. exchangefullname:
  19376. description: 外部交易所全称
  19377. type: string
  19378. goodscode:
  19379. description: 商品代码(内部)
  19380. type: string
  19381. goodsid:
  19382. description: 商品ID
  19383. type: integer
  19384. goodsname:
  19385. description: 商品名称
  19386. type: string
  19387. marketid:
  19388. description: 市场ID
  19389. type: integer
  19390. openfreezemargin:
  19391. description: 冻结保证金(冻结交易金额)
  19392. type: number
  19393. orderid:
  19394. description: 委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  19395. type: string
  19396. orderlogincode:
  19397. description: 委托人
  19398. type: string
  19399. orderprice:
  19400. description: 委托价格(账户)
  19401. type: number
  19402. orderqty:
  19403. description: 委托数量
  19404. type: integer
  19405. ordertime:
  19406. description: 委托时间
  19407. type: string
  19408. pricemode:
  19409. description: '取价方式 - 1:市价 2: 限价'
  19410. type: integer
  19411. tradedate:
  19412. description: 交易日(yyyyMMdd)
  19413. type: string
  19414. tradeqty:
  19415. description: 成交数量
  19416. type: integer
  19417. type: object
  19418. models.QueryHedgeTradeDetailRsp:
  19419. properties:
  19420. accountid:
  19421. description: 账号ID
  19422. type: integer
  19423. buyorsell:
  19424. description: 方向 - 0:买 1:卖
  19425. type: integer
  19426. channelbuildtype:
  19427. description: 委托单据类型 0:无 1:建仓 2:平仓
  19428. type: integer
  19429. closecharge:
  19430. description: 平仓手续费(账户)
  19431. type: number
  19432. closecharge2:
  19433. description: 平仓手续费(商品)
  19434. type: number
  19435. closepl:
  19436. description: 平仓盈亏(账户)
  19437. type: number
  19438. closepl2:
  19439. description: 平仓盈亏(商品)
  19440. type: number
  19441. closepl3:
  19442. description: 平仓盈亏(账户)(逐笔)
  19443. type: number
  19444. closepl4:
  19445. description: 平仓盈亏(商品)(逐笔)
  19446. type: number
  19447. closetype:
  19448. description: 平仓方式 - 0:无 1:平今 2:平昨
  19449. type: integer
  19450. curexchangerate:
  19451. description: 当前汇率
  19452. type: number
  19453. decimalplace:
  19454. description: 商品报价小数位
  19455. type: integer
  19456. exchangefullname:
  19457. description: 外部交易所全称
  19458. type: string
  19459. goodscode:
  19460. description: 商品代码(内部)
  19461. type: string
  19462. goodsid:
  19463. description: 商品ID
  19464. type: integer
  19465. goodsname:
  19466. description: 商品名称
  19467. type: string
  19468. marketid:
  19469. description: 市场ID
  19470. type: integer
  19471. opencharge:
  19472. description: 建仓手续费(账户)
  19473. type: number
  19474. opencharge2:
  19475. description: 建仓手续费(商品)
  19476. type: number
  19477. orderid:
  19478. description: 委托单号
  19479. type: string
  19480. orderlogincode:
  19481. description: 委托人
  19482. type: string
  19483. tradeamount:
  19484. description: 成交金额(账户)
  19485. type: number
  19486. tradedate:
  19487. description: 交易日(yyyyMMdd)
  19488. type: string
  19489. tradeid:
  19490. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  19491. type: string
  19492. tradeprice:
  19493. description: 成交价格
  19494. type: number
  19495. tradeqty:
  19496. description: 成交数量
  19497. type: integer
  19498. tradetime:
  19499. description: 成交时间
  19500. type: string
  19501. tradetype:
  19502. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  19503. type: integer
  19504. type: object
  19505. models.QueryNewContentsRsp:
  19506. properties:
  19507. author:
  19508. description: 作者
  19509. type: string
  19510. brief:
  19511. description: 简介
  19512. type: string
  19513. columnid:
  19514. description: 所属栏目
  19515. type: integer
  19516. context:
  19517. description: 内容
  19518. type: string
  19519. coverimage:
  19520. description: 封面图片
  19521. type: string
  19522. creaedate:
  19523. description: 创建时间
  19524. type: string
  19525. creatorid:
  19526. description: 创建人
  19527. type: integer
  19528. hits:
  19529. description: 点击数
  19530. type: integer
  19531. id:
  19532. description: ID(SEQ_SITE_COLUMNDETAIL)
  19533. type: integer
  19534. isshow:
  19535. description: 是否展示 - 0:不展示 1:展示
  19536. type: integer
  19537. istop:
  19538. description: 是否置顶 - 0:不置 1:置顶
  19539. type: integer
  19540. modifierid:
  19541. description: 操作人
  19542. type: integer
  19543. publishdate:
  19544. description: 发布日期
  19545. type: string
  19546. srcid:
  19547. description: 来源ID
  19548. type: integer
  19549. srclogo:
  19550. description: 图片地址\来源LOGO
  19551. type: string
  19552. srcname:
  19553. description: 会员名称\来源名称
  19554. type: string
  19555. srcurl:
  19556. description: 标签(逗号分隔)\来源网址
  19557. type: string
  19558. status:
  19559. description: 状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝
  19560. type: integer
  19561. title:
  19562. description: 标题
  19563. type: string
  19564. updatedate:
  19565. description: 修改时间
  19566. type: string
  19567. userid:
  19568. description: 用户ID(默认为0, 核心为为机构用户ID)
  19569. type: integer
  19570. type: object
  19571. models.QueryNewTitlesRsp:
  19572. properties:
  19573. author:
  19574. description: 作者
  19575. type: string
  19576. brief:
  19577. description: 简介
  19578. type: string
  19579. columnid:
  19580. description: 所属栏目
  19581. type: integer
  19582. coverimage:
  19583. description: 封面图片
  19584. type: string
  19585. creaedate:
  19586. description: 创建时间
  19587. type: string
  19588. creatorid:
  19589. description: 创建人
  19590. type: integer
  19591. hits:
  19592. description: 点击数
  19593. type: integer
  19594. id:
  19595. description: ID(SEQ_SITE_COLUMNDETAIL)
  19596. type: integer
  19597. isshow:
  19598. description: 是否展示 - 0:不展示 1:展示
  19599. type: integer
  19600. istop:
  19601. description: 是否置顶 - 0:不置 1:置顶
  19602. type: integer
  19603. modifierid:
  19604. description: 操作人
  19605. type: integer
  19606. publishdate:
  19607. description: 发布日期
  19608. type: string
  19609. status:
  19610. description: 状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝
  19611. type: integer
  19612. title:
  19613. description: 标题
  19614. type: string
  19615. updatedate:
  19616. description: 修改时间
  19617. type: string
  19618. userid:
  19619. description: 用户ID(默认为0, 核心为为机构用户ID)
  19620. type: integer
  19621. type: object
  19622. models.QuotePrimaryMenu:
  19623. properties:
  19624. Index:
  19625. description: 序号
  19626. type: integer
  19627. Key:
  19628. description: 键名
  19629. type: string
  19630. Name:
  19631. description: 菜单名称
  19632. type: string
  19633. SubMenus:
  19634. description: 子菜单
  19635. items:
  19636. $ref: '#/definitions/models.QuoteSecondaryMenu'
  19637. type: array
  19638. SubTitleType:
  19639. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  19640. type: integer
  19641. TradeModes:
  19642. description: 包含市场交易类型
  19643. type: string
  19644. type: object
  19645. models.QuoteSecondaryMenu:
  19646. properties:
  19647. ExExchangeCode:
  19648. description: 外部交易所代码
  19649. type: string
  19650. ExExchangeID:
  19651. description: 外部交易所ID
  19652. type: integer
  19653. GoodsGroupIDs:
  19654. description: 商品组ID列表
  19655. items:
  19656. type: integer
  19657. type: array
  19658. Index:
  19659. description: 序号
  19660. type: integer
  19661. MarketID:
  19662. description: 市场ID
  19663. type: integer
  19664. MenuTitle:
  19665. description: 菜单标题(市场名称或外部交易所名称)
  19666. type: string
  19667. TradeMode:
  19668. description: 交易模式
  19669. type: integer
  19670. type: object
  19671. models.Reckondaytaaccount:
  19672. properties:
  19673. accountid:
  19674. description: 资金账户ID
  19675. type: integer
  19676. accountname:
  19677. description: 账户名称
  19678. type: string
  19679. accountpl:
  19680. description: 今日账户盈亏 = 今日净值-昨日净值+今日出金-今日入金-今日划转+今日授信减少-今日授信增加+今日其它授信减少-今日其它授信增加+今日三方出金-今日三方入金;由统计服务更新
  19681. type: number
  19682. avaiablemoney:
  19683. description: 可用资金
  19684. type: number
  19685. avaiableoutmoney:
  19686. description: 可出资金
  19687. type: number
  19688. balance:
  19689. description: 期初余额
  19690. type: number
  19691. capitalbalance:
  19692. description: 本金余额[外部子账户实际出入金余额]
  19693. type: number
  19694. changeflag:
  19695. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  19696. type: integer
  19697. clearbalance:
  19698. description: 清算余额 = 期末余额 - 授信金额 - 其它授信金额
  19699. type: number
  19700. clearpl:
  19701. description: 真实资金变动值(除出入金、应付交易所手续费)清算盈亏 = 期末余额 - 期初余额 - (今日入金 + 今日出金) - 今日应付交易所手续费
  19702. - 【(今日授信增加 + 今日授信减少) - (今日其它授信增加 + 今日其它授信减少) ----母账户】 =
  19703. 今日手续费支出 + 今日平仓盈亏 + 今日结算盈亏 + 其他支出 + 其他收入 + 今日划转金额 + 今日已收手续费分成 - 今日应付交易所手续费
  19704. type: number
  19705. closepl:
  19706. description: 今日平仓盈亏
  19707. type: number
  19708. closepl2:
  19709. description: 平仓盈亏(逐笔)
  19710. type: number
  19711. creditdecrease:
  19712. description: 今日授信减少
  19713. type: number
  19714. creditincrease:
  19715. description: 今日授信增加
  19716. type: number
  19717. curdebt:
  19718. description: 期末欠款
  19719. type: number
  19720. currencyid:
  19721. description: 货币ID
  19722. type: integer
  19723. currentbalance:
  19724. description: 期末余额
  19725. type: number
  19726. cycletype:
  19727. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表 (日报表不传此参数)
  19728. type: integer
  19729. defercharge:
  19730. description: 今日递延费2支出[111, 112]
  19731. type: number
  19732. deliveryamountin:
  19733. description: 今日交收货款收入
  19734. type: number
  19735. deliveryamountout:
  19736. description: 今日交收货款支出
  19737. type: number
  19738. deliverycharge:
  19739. description: 今日交收手续费支出 [105,106]
  19740. type: number
  19741. deliverycompensationfeein:
  19742. description: 今日交收补偿费收入
  19743. type: number
  19744. deliverycompensationfeeout:
  19745. description: 今日交收补偿费支出
  19746. type: number
  19747. dividedcharge:
  19748. description: 今日已收手续费分成
  19749. type: number
  19750. floatnetvalue:
  19751. description: 浮动净值 = 净值 + 浮动盈亏
  19752. type: number
  19753. floatpl:
  19754. description: 浮动盈亏 - 每日有负债类商品
  19755. type: number
  19756. freezecharge:
  19757. description: 手续费冻结
  19758. type: number
  19759. freezemargin:
  19760. description: 冻结保证金
  19761. type: number
  19762. fromaccountid:
  19763. description: 所属上级账户
  19764. type: integer
  19765. holdcharge:
  19766. description: 今日持仓过夜费支出[108,109,110]
  19767. type: number
  19768. inamount:
  19769. description: 今日入金金额
  19770. type: number
  19771. interestcharge:
  19772. description: 今日递延费支出[103, 104]
  19773. type: number
  19774. ismain:
  19775. description: 是否账号 0:不是母账户 1:是母账户
  19776. type: integer
  19777. ismarketaccount:
  19778. description: 是否机构接单账号 0:不是 1:是
  19779. type: integer
  19780. isreckonaccount:
  19781. description: 是否机构分润账号 0:不是 1:是
  19782. type: integer
  19783. mortgagecredit:
  19784. description: 授信金额
  19785. type: number
  19786. netvalue:
  19787. description: 净值 = 期末余额 + 所有权市值 + 仓单市值仓单市值由统计服务更新
  19788. type: number
  19789. oridebt:
  19790. description: 期初欠款
  19791. type: number
  19792. orifreezecharge:
  19793. description: 期初手续费冻结
  19794. type: number
  19795. orifreezemargin:
  19796. description: 期初冻结保证金
  19797. type: number
  19798. orimortgagecredit:
  19799. description: 期初授信金额
  19800. type: number
  19801. oriothercredit:
  19802. description: 期初其它授信金额
  19803. type: number
  19804. oriotherfreezemargin:
  19805. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  19806. type: number
  19807. orioutamountfreeze:
  19808. description: 期初出金冻结
  19809. type: number
  19810. oriusedmargin:
  19811. description: 期初占用保证金
  19812. type: number
  19813. othercredit:
  19814. description: 其它授信金额
  19815. type: number
  19816. othercreditdecrease:
  19817. description: 今日其它授信减少
  19818. type: number
  19819. othercreditincrease:
  19820. description: 今日其它授信增加
  19821. type: number
  19822. otherfreezemargin:
  19823. description: 其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  19824. type: number
  19825. otherincome:
  19826. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  19827. type: number
  19828. otherpay:
  19829. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  19830. type: number
  19831. outamount:
  19832. description: 今日出金金额
  19833. type: number
  19834. outamountfreeze:
  19835. description: 出金冻结
  19836. type: number
  19837. outthreshold:
  19838. description: 出金阈值
  19839. type: number
  19840. ownershipvalue:
  19841. description: 所有权市值
  19842. type: number
  19843. parentaccountid:
  19844. description: 所属根账户
  19845. type: integer
  19846. password:
  19847. description: 资金密码
  19848. type: string
  19849. paycharge:
  19850. description: 今日手续费支出
  19851. type: number
  19852. paycharge2:
  19853. description: 今日手续费支出(外部配置)
  19854. type: number
  19855. payexchcharge:
  19856. description: 今日应付交易所手续费
  19857. type: number
  19858. reckondate:
  19859. description: 日照日期(yyyyMMdd)
  19860. type: string
  19861. reckonpl:
  19862. description: 今日结算盈亏
  19863. type: number
  19864. reckonpl2:
  19865. description: 结算盈亏(逐笔) - 汇总取期末
  19866. type: number
  19867. relatedaccountstatus:
  19868. description: 关联用户交易状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  19869. type: integer
  19870. relateuserid:
  19871. description: 关联用户
  19872. type: integer
  19873. riskrate:
  19874. description: 风险率 = 占用/ 浮动净值 或 浮动净值/占用
  19875. type: number
  19876. signstatus:
  19877. description: 签约状态 - 1:未签约 2:已签约 3:已解约
  19878. type: integer
  19879. spotvalue:
  19880. description: 现货市值-统计服务更新
  19881. type: number
  19882. sublevelpath:
  19883. description: 账号层级路径(逗号分隔,首尾加逗号)
  19884. type: string
  19885. taaccounttype:
  19886. description: 外部/内部账号 - 1:外部账号 2:内部账号
  19887. type: integer
  19888. thirdinamount:
  19889. description: 今日三方入金
  19890. type: number
  19891. thirdoutamount:
  19892. description: 今日三方出金
  19893. type: number
  19894. tradeamount:
  19895. description: 今日成交金额
  19896. type: number
  19897. tradecharge:
  19898. description: 今日交易手续费支出 [101,102]
  19899. type: number
  19900. tradeqty:
  19901. description: 今日成交量
  19902. type: integer
  19903. tradestatus:
  19904. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结)
  19905. type: integer
  19906. transferamount:
  19907. description: 今日划转金额(母子账号资金划转,从账号划入为正,从账号划出为负)
  19908. type: number
  19909. usedmargin:
  19910. description: 占用保证金
  19911. type: number
  19912. userid:
  19913. description: 用户ID
  19914. type: integer
  19915. required:
  19916. - userid
  19917. type: object
  19918. models.Reckongzmemtradesum:
  19919. properties:
  19920. buylistingamount:
  19921. description: 买挂牌金额 - 无数据,预留
  19922. type: number
  19923. buylistinglot:
  19924. description: 买挂牌宗数
  19925. type: integer
  19926. buylistingqty:
  19927. description: 买挂牌数量 - 无数据,预留
  19928. type: number
  19929. buytradeamount:
  19930. description: 购买金额
  19931. type: number
  19932. buytradelot:
  19933. description: 购买宗数
  19934. type: integer
  19935. buytradeqty:
  19936. description: 购买数量
  19937. type: number
  19938. marketid:
  19939. description: 市场ID
  19940. type: integer
  19941. reckondate:
  19942. description: 日照日期(yyyyMMdd)
  19943. type: string
  19944. selllistingamount:
  19945. description: 卖挂牌金额
  19946. type: number
  19947. selllistinglot:
  19948. description: 卖挂牌宗数
  19949. type: integer
  19950. selllistingqty:
  19951. description: 卖挂牌数量
  19952. type: number
  19953. selltradeamount:
  19954. description: 销售金额
  19955. type: number
  19956. selltradelot:
  19957. description: 销售宗数
  19958. type: integer
  19959. selltradeqty:
  19960. description: 销售数量
  19961. type: number
  19962. updatetime:
  19963. description: 更新时间
  19964. type: string
  19965. userid:
  19966. description: 用户ID
  19967. type: integer
  19968. zscategory:
  19969. description: 钻石分类 - 枚举”ZSCategory“
  19970. type: integer
  19971. zscategorydisplay:
  19972. type: string
  19973. zscurrencytype:
  19974. description: 货币类型 - 枚举“ZSCurrencyType”
  19975. type: integer
  19976. zscurrencytypedisplay:
  19977. type: string
  19978. zscurrencytypedisplayunit:
  19979. type: string
  19980. required:
  19981. - userid
  19982. type: object
  19983. models.RegisterMoney:
  19984. properties:
  19985. amount:
  19986. description: 红包
  19987. type: number
  19988. type: object
  19989. models.RelatedTaAccount:
  19990. properties:
  19991. accountid:
  19992. description: 资金账户ID
  19993. type: integer
  19994. type: object
  19995. models.RoleMenu:
  19996. properties:
  19997. hasright:
  19998. description: 是否有权限 0-没有权限 1-有权限
  19999. type: integer
  20000. iconame:
  20001. description: 菜单图标
  20002. type: string
  20003. menutype:
  20004. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  20005. type: integer
  20006. parentcode:
  20007. description: 上级资源代码
  20008. type: string
  20009. remark:
  20010. description: 菜单备注
  20011. type: string
  20012. resourcecode:
  20013. description: 菜单代码
  20014. type: string
  20015. resourcelevel:
  20016. description: 级别
  20017. type: integer
  20018. resourcename:
  20019. description: 菜单名称
  20020. type: string
  20021. roleid:
  20022. description: 角色id
  20023. type: integer
  20024. sort:
  20025. description: 排序
  20026. type: integer
  20027. subMenu:
  20028. description: 子级菜单(结构同上层一样, swag解析不出来)
  20029. items:
  20030. $ref: '#/definitions/models.RoleMenu'
  20031. type: array
  20032. url:
  20033. description: URL
  20034. type: string
  20035. userid:
  20036. description: 用户id
  20037. type: integer
  20038. type: object
  20039. models.SearchGoods:
  20040. properties:
  20041. goodscode:
  20042. description: 商品代码(内部)
  20043. type: string
  20044. goodsid:
  20045. description: 商品ID(自增ID SEQ_GOODS)
  20046. type: integer
  20047. goodsname:
  20048. description: 商品名称
  20049. type: string
  20050. marketid:
  20051. description: 所属市场ID
  20052. type: integer
  20053. marketname:
  20054. description: 市场名称
  20055. type: string
  20056. trademode:
  20057. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  20058. 21:竞拍-大宗式 22:受托竞价
  20059. type: integer
  20060. required:
  20061. - goodscode
  20062. - goodsid
  20063. - goodsname
  20064. - marketid
  20065. - trademode
  20066. type: object
  20067. models.SellOrder:
  20068. properties:
  20069. accountid:
  20070. description: 资金账号
  20071. type: integer
  20072. applyid:
  20073. description: 申请单ID
  20074. type: integer
  20075. attachment1:
  20076. description: 附件1
  20077. type: string
  20078. attachment2:
  20079. description: 附件2
  20080. type: string
  20081. buyorsell:
  20082. description: 买卖 - 0:买 1:卖
  20083. type: integer
  20084. canbargain:
  20085. description: 是否可议价 - 0:不可 1:可
  20086. type: integer
  20087. cancelqty:
  20088. description: 撤销数量
  20089. type: integer
  20090. canceltime:
  20091. description: 撤销时间
  20092. type: string
  20093. cerno:
  20094. type: string
  20095. chargealgorithm:
  20096. description: 手续费收取方式 1:比率 2:固定
  20097. type: integer
  20098. chargealgorithmvalue:
  20099. description: 手续费设置值(交易所部分)
  20100. type: number
  20101. chargealgorithmvalue2:
  20102. description: 手续费设置值(会员部分)
  20103. type: number
  20104. clientordertime:
  20105. description: 客户端委托时间
  20106. type: string
  20107. cpcertno:
  20108. type: string
  20109. exchangerate:
  20110. description: 汇率[67]
  20111. type: number
  20112. firstratio:
  20113. description: 首付比率 - [挂牌时指定,摘牌时使用]
  20114. type: number
  20115. fixedprice:
  20116. description: '[克拉单价]固定价格 - [挂牌]'
  20117. type: number
  20118. freezecharge:
  20119. description: 冻结手续费
  20120. type: number
  20121. freezefirstamount:
  20122. description: 冻结首付金额 - [摘牌]
  20123. type: number
  20124. freezemargin:
  20125. description: 冻结保证金
  20126. type: number
  20127. goodsno:
  20128. description: 商品编号
  20129. type: string
  20130. imagepath:
  20131. type: string
  20132. isQueryDiamond:
  20133. description: 是否钻石查询
  20134. type: boolean
  20135. isspecified:
  20136. description: 是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  20137. type: integer
  20138. kppath:
  20139. type: string
  20140. kpweight:
  20141. type: string
  20142. marginalgorithm:
  20143. description: 保证金方式 - 1:比率 2:固定
  20144. type: integer
  20145. marginvalue:
  20146. description: 保证金设置值
  20147. type: number
  20148. marketid:
  20149. description: 市场ID
  20150. type: integer
  20151. marketprice:
  20152. type: string
  20153. orderamount:
  20154. description: 挂牌金额[账户] [67]= OrderQty * FixedPrice * ExchangeRate /100
  20155. type: number
  20156. ordertime:
  20157. description: 委托时间
  20158. type: string
  20159. performancetemplateid:
  20160. description: 履约计划模板ID
  20161. type: integer
  20162. price:
  20163. description: 价格
  20164. type: number
  20165. pricefactor:
  20166. description: 价格系数(浮动价时填写) - [挂牌]
  20167. type: number
  20168. pricemove:
  20169. description: 升贴水(浮动价时填写) - [挂牌]
  20170. type: number
  20171. priceper:
  20172. type: string
  20173. relatedwrtradeorderid:
  20174. description: 关联委托单号(摘牌委托关联挂牌委托单ID)
  20175. type: integer
  20176. remainqty:
  20177. description: 剩余重量
  20178. type: number
  20179. remark:
  20180. type: string
  20181. retcode:
  20182. description: 错误代码
  20183. type: integer
  20184. sellusername:
  20185. description: 卖方(查询字段-模糊查询)
  20186. type: string
  20187. settingmaterial:
  20188. description: 镶嵌材料
  20189. type: string
  20190. size1:
  20191. type: string
  20192. size2:
  20193. type: string
  20194. size3:
  20195. type: string
  20196. sizedisplay:
  20197. description: 尺寸
  20198. type: string
  20199. stonedesc:
  20200. description: 配石描述
  20201. type: string
  20202. totalqty:
  20203. description: 总重量
  20204. type: number
  20205. tradedate:
  20206. description: 交易日(yyyyMMdd)
  20207. type: string
  20208. tradeprice:
  20209. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)*
  20210. 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  20211. type: number
  20212. unfreezecharge:
  20213. description: 解冻手续费
  20214. type: number
  20215. unfreezefirstamount:
  20216. description: 解冻首付金额 - [摘牌]
  20217. type: number
  20218. unfreezemargin:
  20219. description: 解冻保证金
  20220. type: number
  20221. userid:
  20222. description: 用户ID
  20223. type: integer
  20224. uuid:
  20225. description: 发起端唯一id
  20226. type: string
  20227. validtime:
  20228. description: 有效期限
  20229. type: string
  20230. validtype:
  20231. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  20232. type: integer
  20233. warehousenamedisplay:
  20234. type: string
  20235. wrbargainid:
  20236. description: 议价申请单ID
  20237. type: integer
  20238. wrfactortypeid:
  20239. description: 仓单要素类型ID/商品ID(77)
  20240. type: integer
  20241. wrpath:
  20242. type: string
  20243. wrpricetype:
  20244. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  20245. type: integer
  20246. wrstandardid:
  20247. description: 现货商品ID
  20248. type: integer
  20249. wrtradeorderid:
  20250. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  20251. type: string
  20252. wrtradeorderstatus:
  20253. description: 委托状态 - 参考枚举'WRTradeOrderStatus' - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:部成 8:已成 9:部成部撤 10:成交失败 11:委托拒绝 12:经过摘牌(先摘后挂专用) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用) 17:冻结PD成功 18:冻结PD失败 19:冻结能量成功 20:冻结能量失败 21:预约已报价 22:过期未付 23:优惠券处理中 24:仓单生成失败 25:首付扣款失败 26:履约失败 27:撤单解冻贷款失败
  20254. type: integer
  20255. wrtradetype:
  20256. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  20257. type: integer
  20258. wrtransferuserid:
  20259. description: 仓单受让用户 - [摘牌]
  20260. type: integer
  20261. zscategory:
  20262. description: 钻石分类 - 枚举”ZSCategory“
  20263. type: integer
  20264. zscategorydisplay:
  20265. description: 钻石分类 - 描述
  20266. type: string
  20267. zscerttypedisplay:
  20268. type: string
  20269. zsclaritytype1display:
  20270. type: string
  20271. zsclaritytype2display:
  20272. type: string
  20273. zscolortype1display:
  20274. type: string
  20275. zscolortype2display:
  20276. type: string
  20277. zscrystaltype:
  20278. type: string
  20279. zscrystaltypedisplay:
  20280. type: string
  20281. zscurrencytype:
  20282. description: 货币类型 - 枚举“ZSCurrencyType”
  20283. type: integer
  20284. zscurrencytypedisplay:
  20285. type: string
  20286. zscurrencytypedisplayunit:
  20287. type: string
  20288. zscuttype1display:
  20289. type: string
  20290. zscuttype2display:
  20291. type: string
  20292. zsczcolor1typedisplay:
  20293. type: string
  20294. zsczcolor2typedisplay:
  20295. type: string
  20296. zsczcolor3typedisplay:
  20297. type: string
  20298. zsfluorescencetype1display:
  20299. type: string
  20300. zsfluorescencetype2display:
  20301. type: string
  20302. zspolishtype1display:
  20303. type: string
  20304. zspolishtype2display:
  20305. type: string
  20306. zsshapetypedisplay:
  20307. type: string
  20308. zsstyletypedisplay:
  20309. type: string
  20310. zssymmetrytype1display:
  20311. type: string
  20312. zssymmetrytype2display:
  20313. type: string
  20314. type: object
  20315. models.SellOrderQueryReq:
  20316. properties:
  20317. origin:
  20318. description: 原产地
  20319. type: string
  20320. page:
  20321. description: 页码
  20322. type: integer
  20323. pagesize:
  20324. description: 每页大小
  20325. type: integer
  20326. total:
  20327. description: 总条数
  20328. type: integer
  20329. warehouseid:
  20330. description: 仓库ID
  20331. type: integer
  20332. weight1:
  20333. description: 总重量(克拉重量)-从
  20334. type: number
  20335. weight2:
  20336. description: 总重量(克拉重量)-至
  20337. type: number
  20338. weightavg1:
  20339. description: 平均单颗重量-从
  20340. type: number
  20341. weightavg2:
  20342. description: 平均单颗重量-至
  20343. type: number
  20344. zscategory:
  20345. description: 钻石分类 - 枚举”ZSCategory“
  20346. type: integer
  20347. zscerttype:
  20348. description: 证书类型
  20349. items:
  20350. type: string
  20351. type: array
  20352. zsclaritytype:
  20353. description: 净度
  20354. items:
  20355. type: integer
  20356. type: array
  20357. zscolortype:
  20358. description: 颜色
  20359. items:
  20360. type: integer
  20361. type: array
  20362. zscurrencytype:
  20363. description: 货币类型 - 枚举“ZSCurrencyType”
  20364. items:
  20365. type: string
  20366. type: array
  20367. zscuttype:
  20368. description: 切工
  20369. items:
  20370. type: integer
  20371. type: array
  20372. zsczcolor1type:
  20373. description: 彩钻颜色1
  20374. items:
  20375. type: string
  20376. type: array
  20377. zsfluorescencetype:
  20378. description: 荧光
  20379. items:
  20380. type: integer
  20381. type: array
  20382. zspolishtype:
  20383. description: 抛光度
  20384. items:
  20385. type: integer
  20386. type: array
  20387. zsshapetype:
  20388. description: 形状 - 枚举”ZSShapeType“ - 类型:1,2,4,5 ;(1为多个,逗号分隔)
  20389. items:
  20390. type: string
  20391. type: array
  20392. zsstyletype:
  20393. description: 款式
  20394. items:
  20395. type: string
  20396. type: array
  20397. zssymmetrytype:
  20398. description: 对称度
  20399. items:
  20400. type: integer
  20401. type: array
  20402. required:
  20403. - zscategory
  20404. type: object
  20405. models.Sitecolumnconfig:
  20406. properties:
  20407. columnname:
  20408. description: 栏目名称
  20409. type: string
  20410. columntype:
  20411. description: 栏目类型 - 1:行情资讯 10:会员服务 30:关于我们 100:核心企业栏目-百色
  20412. type: integer
  20413. creaedate:
  20414. description: 创建时间
  20415. type: string
  20416. creatorid:
  20417. description: 创建人
  20418. type: integer
  20419. id:
  20420. description: ID(SEQ_SITE_COLUMNCONFIG)
  20421. type: integer
  20422. isshow:
  20423. description: 是否展示 - 0:不展示 1:展示
  20424. type: integer
  20425. modifierid:
  20426. description: 操作人
  20427. type: integer
  20428. sort:
  20429. description: 排序
  20430. type: integer
  20431. updatedate:
  20432. description: 修改时间
  20433. type: string
  20434. type: object
  20435. models.Spotgoodsprice:
  20436. properties:
  20437. prespotgoodsprice:
  20438. description: 上日价格
  20439. type: number
  20440. priceflag:
  20441. description: 点价标识(1:为可点价-本月招标价已发布,否则为0)
  20442. type: integer
  20443. spotgoodsprice:
  20444. description: 当前价格
  20445. type: number
  20446. spotgoodsqty:
  20447. description: 招标量
  20448. type: number
  20449. tradedate:
  20450. description: 交易日(yyyyMMdd)
  20451. type: string
  20452. wrstandardcode:
  20453. description: 现货商品代码
  20454. type: string
  20455. wrstandardid:
  20456. description: 现货商品ID(通用则为0)
  20457. type: integer
  20458. wrstandardname:
  20459. description: 现货商品名称
  20460. type: string
  20461. type: object
  20462. models.Systemparam:
  20463. properties:
  20464. loginid:
  20465. description: 更新用户账号,登录账号
  20466. type: string
  20467. modifyflag:
  20468. description: 修改标志0 不允许修改 1 允许修改
  20469. type: integer
  20470. paramcode:
  20471. description: 参数代码
  20472. type: string
  20473. paramname:
  20474. description: 参数名
  20475. type: string
  20476. paramtype:
  20477. description: 参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城
  20478. type: integer
  20479. paramvalue:
  20480. description: 参数值
  20481. type: string
  20482. paramvalue2:
  20483. description: 参数值(CLOB)
  20484. type: string
  20485. regexpress:
  20486. description: 正则表达式
  20487. type: string
  20488. remark:
  20489. description: 备注
  20490. type: string
  20491. serverip:
  20492. description: 限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置
  20493. type: string
  20494. showflag:
  20495. description: 是否显示0 不显示 1 显示
  20496. type: integer
  20497. updatetime:
  20498. description: 更新时间
  20499. type: string
  20500. userid:
  20501. description: 更新用户ID
  20502. type: integer
  20503. required:
  20504. - paramcode
  20505. type: object
  20506. models.Szdz3convertconfig:
  20507. properties:
  20508. canin:
  20509. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  20510. type: integer
  20511. canout:
  20512. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  20513. type: integer
  20514. converttype:
  20515. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  20516. 6:交易转花生米(不设置)
  20517. type: integer
  20518. createtime:
  20519. description: 创建时间
  20520. type: string
  20521. creatorid:
  20522. description: 创建人
  20523. type: integer
  20524. daymaxvalue:
  20525. description: 当日最大转入限制
  20526. type: number
  20527. freezedays:
  20528. description: 冻结天数 [5:花生米转交易]
  20529. type: integer
  20530. innergoodsid:
  20531. description: 内部商品ID[交易]
  20532. type: integer
  20533. inratio:
  20534. description: 目标值
  20535. type: integer
  20536. modifierid:
  20537. description: 修改人
  20538. type: integer
  20539. modifytime:
  20540. description: 修改时间
  20541. type: string
  20542. outergoodscode:
  20543. description: 外部商品代码[JD\PD]
  20544. type: string
  20545. outratio:
  20546. description: 源值
  20547. type: integer
  20548. pddecimalplace:
  20549. description: PD小数位
  20550. type: integer
  20551. timemaxvalue:
  20552. description: 单次最大转入限制
  20553. type: number
  20554. timeminvalue:
  20555. description: 单次最小转入限制
  20556. type: number
  20557. required:
  20558. - converttype
  20559. - innergoodsid
  20560. - outergoodscode
  20561. type: object
  20562. models.Szdz3searchwhitelist:
  20563. properties:
  20564. createtime:
  20565. description: 创建时间
  20566. type: string
  20567. creatorid:
  20568. description: 创建人
  20569. type: integer
  20570. modifierid:
  20571. description: 修改人
  20572. type: integer
  20573. modifytime:
  20574. description: 修改时间
  20575. type: string
  20576. userid:
  20577. description: 用户ID
  20578. type: integer
  20579. required:
  20580. - userid
  20581. type: object
  20582. models.TBGoods:
  20583. properties:
  20584. agreeunit:
  20585. description: 合约乘数
  20586. type: number
  20587. enumdicname:
  20588. description: 单位名称
  20589. type: string
  20590. goodscode:
  20591. description: 商品代码(内部)
  20592. type: string
  20593. goodsid:
  20594. description: 商品ID(自增ID SEQ_GOODS)
  20595. type: integer
  20596. goodsname:
  20597. description: 商品名称
  20598. type: string
  20599. type: object
  20600. models.TBGoodsGroup:
  20601. properties:
  20602. GDLST:
  20603. description: 商品列表
  20604. items:
  20605. $ref: '#/definitions/models.TBGoods'
  20606. type: array
  20607. convertratio:
  20608. description: 折算系数
  20609. type: number
  20610. enumdicname:
  20611. description: 单位名称
  20612. type: string
  20613. exexchangecode:
  20614. description: 交易所代码
  20615. type: string
  20616. exexchangename:
  20617. description: 交易所名称
  20618. type: string
  20619. goodsgroupid:
  20620. description: 商品组ID(自增ID)
  20621. type: integer
  20622. goodsgroupname:
  20623. description: 商品组名称
  20624. type: string
  20625. goodunitid:
  20626. description: 报价单位ID
  20627. type: integer
  20628. type: object
  20629. models.TBMiddleGoods:
  20630. properties:
  20631. GPLST:
  20632. description: 期货品种列表
  20633. items:
  20634. $ref: '#/definitions/models.TBGoodsGroup'
  20635. type: array
  20636. WDLST:
  20637. description: 商品信息列表(现货品类)
  20638. items:
  20639. $ref: '#/definitions/models.TBWrstandard'
  20640. type: array
  20641. areauserid:
  20642. description: 机构用户ID
  20643. type: integer
  20644. enumdicname:
  20645. description: 单位名称
  20646. type: string
  20647. goodsunitid:
  20648. description: 套保品种单位id
  20649. type: integer
  20650. middlegoodscode:
  20651. description: 套保品种代码
  20652. type: string
  20653. middlegoodsid:
  20654. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  20655. type: integer
  20656. middlegoodsname:
  20657. description: 套保品种名称
  20658. type: string
  20659. needarbitrageratio:
  20660. description: 套利比率
  20661. type: number
  20662. needhedgeratio:
  20663. description: 套保比率
  20664. type: number
  20665. type: object
  20666. models.TBWrstandard:
  20667. properties:
  20668. convertratio:
  20669. description: 折算系数
  20670. type: number
  20671. deliverygoodsname:
  20672. description: 品种名称
  20673. type: string
  20674. enumdicname:
  20675. description: 单位名称
  20676. type: string
  20677. vatrate:
  20678. description: 增值税率
  20679. type: number
  20680. wrstandardcode:
  20681. description: 现货商品代码
  20682. type: string
  20683. wrstandardid:
  20684. description: 现货商品ID(SEQ_WRSTANDARD)
  20685. type: integer
  20686. wrstandardname:
  20687. description: 现货商品名称
  20688. type: string
  20689. type: object
  20690. models.THJDeliveryMode:
  20691. properties:
  20692. enumdicname:
  20693. description: 枚举项名称
  20694. type: string
  20695. enumitemname:
  20696. description: 枚举项值
  20697. type: integer
  20698. type: object
  20699. models.THJDeliveryMonth:
  20700. properties:
  20701. enddate:
  20702. description: 预售结束日期(yyyy-mm-dd)
  20703. type: string
  20704. endmonth:
  20705. description: 预售结束月份(yyyy-mm)
  20706. type: string
  20707. orderqty:
  20708. description: 委托数量
  20709. type: integer
  20710. presaleapplyid:
  20711. description: 预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)
  20712. type: string
  20713. remainqty:
  20714. description: 可用数量
  20715. type: integer
  20716. tradeqty:
  20717. description: 成交数量
  20718. type: integer
  20719. unitprice:
  20720. description: '[参考价]商品单价'
  20721. type: number
  20722. type: object
  20723. models.THJFriend:
  20724. properties:
  20725. accoutstatus:
  20726. description: 状态
  20727. type: string
  20728. createtime:
  20729. description: 创建时间
  20730. type: string
  20731. customername:
  20732. description: 客户名称(企业名称),模糊查询
  20733. type: string
  20734. frienduserid:
  20735. description: 用户UserID
  20736. type: string
  20737. groupname:
  20738. description: 分级名称
  20739. type: string
  20740. hasauth:
  20741. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  20742. type: integer
  20743. mobile:
  20744. description: 手机号码(加密存储),加密串精确查询
  20745. type: string
  20746. type: object
  20747. models.THJGoodsDetailRsp:
  20748. properties:
  20749. goodsinfo:
  20750. allOf:
  20751. - $ref: '#/definitions/models.THJWrstandardDetail_GoodsInfo'
  20752. description: 商品信息
  20753. spotgoodspricelogs:
  20754. description: 历史价格走势
  20755. items:
  20756. $ref: '#/definitions/models.THJSpotGoodsPriceLog'
  20757. type: array
  20758. type: object
  20759. models.THJPresaleApplyDeposit:
  20760. properties:
  20761. depositid:
  20762. description: 自增ID autoid
  20763. type: string
  20764. depositrate:
  20765. description: 定金比例
  20766. type: number
  20767. discountamount:
  20768. description: 优惠金额(每吨)
  20769. type: number
  20770. presaleapplyid:
  20771. description: 预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)
  20772. type: string
  20773. type: object
  20774. models.THJProduct:
  20775. properties:
  20776. bannerpicurl:
  20777. description: Banner图(逗号分隔)
  20778. type: string
  20779. pictureurls:
  20780. description: 详情图片(逗号分隔)
  20781. type: string
  20782. thumurls:
  20783. description: 缩略图片(1:1)(逗号分隔)
  20784. type: string
  20785. wrstandardcode:
  20786. description: 现货商品代码
  20787. type: string
  20788. wrstandardid:
  20789. description: 现货商品ID(自增 SEQ_GOODS 确保不重复)
  20790. type: string
  20791. wrstandardname:
  20792. description: 现货商品名称
  20793. type: string
  20794. type: object
  20795. models.THJProfit:
  20796. properties:
  20797. brokerprofitrate:
  20798. description: 会员释出比例
  20799. type: string
  20800. brokerrate:
  20801. description: 会员比例
  20802. type: string
  20803. buyorselldisplay:
  20804. description: 方向
  20805. type: string
  20806. chargeamount:
  20807. description: 手续费总额
  20808. type: number
  20809. firend:
  20810. description: 下单好友
  20811. type: string
  20812. levelonevalue:
  20813. description: 一级比例
  20814. type: string
  20815. leveltwovalue:
  20816. description: 二级比例
  20817. type: string
  20818. marketname:
  20819. description: 市场
  20820. type: string
  20821. profitamount:
  20822. description: 分润金额
  20823. type: number
  20824. profitroletypedisplay:
  20825. description: 分润角色
  20826. type: string
  20827. tradeid:
  20828. description: 成交单号
  20829. type: string
  20830. tradeqty:
  20831. description: 成交数量
  20832. type: integer
  20833. tradetimedisplay:
  20834. description: 成交时间
  20835. type: string
  20836. wrstandardname:
  20837. description: 商品
  20838. type: string
  20839. type: object
  20840. models.THJPurchaseTradeDetail_Date:
  20841. properties:
  20842. depositrate:
  20843. description: 定金比例
  20844. type: number
  20845. enddate:
  20846. description: 预售结束日期
  20847. type: string
  20848. endmonth:
  20849. description: 交收月份(yyyy-mm)
  20850. type: string
  20851. takestartdate:
  20852. description: 提货开始日期
  20853. type: string
  20854. tradeprice:
  20855. description: 摘牌价格
  20856. type: number
  20857. tradeqty:
  20858. description: 摘牌数量
  20859. type: integer
  20860. transferamount:
  20861. description: 转让金额
  20862. type: number
  20863. transferid:
  20864. description: 协议转让ID(332+Unix秒时间戳(10位)+xxxxxx)
  20865. type: string
  20866. transferprice:
  20867. description: 转让价格
  20868. type: number
  20869. type: object
  20870. models.THJPurchaseTradeDetail_Goodsinfo:
  20871. properties:
  20872. minivalue:
  20873. description: 最小变动值
  20874. type: integer
  20875. minivaluedp:
  20876. description: 最小变动值小数位
  20877. type: integer
  20878. pictureurls:
  20879. description: 详情图片(逗号分隔)
  20880. type: string
  20881. refgoodscode:
  20882. description: 参考商品代码
  20883. type: string
  20884. refgoodsid:
  20885. description: 参考商品ID
  20886. type: integer
  20887. unitid:
  20888. description: 现货商品单位ID
  20889. type: integer
  20890. wrstandardcode:
  20891. description: 现货商品代码
  20892. type: string
  20893. wrstandardid:
  20894. description: 现货商品ID(自增 SEQ_GOODS 确保不重复)
  20895. type: integer
  20896. wrstandardname:
  20897. description: 现货商品名称(模糊查询)
  20898. type: string
  20899. type: object
  20900. models.THJPurchaseTradeDetailRsp:
  20901. properties:
  20902. deliverydate:
  20903. description: 交割日期
  20904. items:
  20905. $ref: '#/definitions/models.THJPurchaseTradeDetail_Date'
  20906. type: array
  20907. goodsinfo:
  20908. allOf:
  20909. - $ref: '#/definitions/models.THJPurchaseTradeDetail_Goodsinfo'
  20910. description: 商品信息
  20911. spotgoodspricelogs:
  20912. description: 历史价格走势
  20913. items:
  20914. $ref: '#/definitions/models.THJSpotGoodsPriceLog'
  20915. type: array
  20916. type: object
  20917. models.THJSigninReq:
  20918. properties:
  20919. userid:
  20920. description: 用户ID
  20921. type: integer
  20922. required:
  20923. - userid
  20924. type: object
  20925. models.THJSigninRsp:
  20926. properties:
  20927. signinstatus:
  20928. description: 状态操作标志 1-签到成功 2-当日已签到,不能重复签到
  20929. type: integer
  20930. type: object
  20931. models.THJSpotGoodsPriceLog:
  20932. properties:
  20933. spotgoodsprice:
  20934. description: 现货价格
  20935. type: number
  20936. tradedate:
  20937. description: 交易日(yyyyMMdd)
  20938. type: string
  20939. type: object
  20940. models.THJTradeData:
  20941. properties:
  20942. accountname:
  20943. description: 被推荐人
  20944. type: string
  20945. buytradelot:
  20946. description: 购买笔数
  20947. type: integer
  20948. buytradeqty:
  20949. description: 购买数量
  20950. type: number
  20951. marketid:
  20952. description: 市场ID 采购-64201 供求-65201
  20953. type: integer
  20954. reckondate:
  20955. description: 日照日期(yyyyMMdd)日照日期(yyyyMMdd)
  20956. type: string
  20957. selltradelot:
  20958. description: 销售笔数
  20959. type: integer
  20960. selltradeqty:
  20961. description: 销售数量
  20962. type: number
  20963. userid:
  20964. description: 用户ID
  20965. type: integer
  20966. wrstandardname:
  20967. description: 现货商品名称
  20968. type: string
  20969. required:
  20970. - marketid
  20971. - userid
  20972. type: object
  20973. models.THJUserLevelInfo:
  20974. properties:
  20975. appup:
  20976. description: 晋升已累计的数量
  20977. type: integer
  20978. checkday:
  20979. description: 最近一次考核日
  20980. type: string
  20981. levelgroup:
  20982. description: 当前等级
  20983. type: string
  20984. nextlevelgroup:
  20985. description: 下一等级
  20986. type: string
  20987. notyet:
  20988. description: 晋升还差多少数量
  20989. type: integer
  20990. progress:
  20991. description: 进度
  20992. type: number
  20993. type: object
  20994. models.THJWrstandard:
  20995. properties:
  20996. areauserid:
  20997. description: 所属机构
  20998. type: integer
  20999. bannerpicurl:
  21000. description: Banner图(逗号分隔)
  21001. type: string
  21002. convertfactor:
  21003. description: 标仓系数
  21004. type: number
  21005. deliverygoodsid:
  21006. description: 现货品种ID
  21007. type: integer
  21008. isvalid:
  21009. description: 是否有效 - 0:无效 1:有效
  21010. type: integer
  21011. minivalue:
  21012. description: 最小变动值
  21013. type: integer
  21014. minivaluedp:
  21015. description: 最小变动值小数位
  21016. type: integer
  21017. pictureurls:
  21018. description: 详情图片(逗号分隔)
  21019. type: string
  21020. realminivalue:
  21021. description: 实际最小变动值
  21022. type: integer
  21023. realminivaluedp:
  21024. description: 实际最小变动值小数位
  21025. type: integer
  21026. storagefee:
  21027. description: '仓储费(固定: 111)'
  21028. type: number
  21029. thumurls:
  21030. description: 缩略图片(1:1)(逗号分隔)
  21031. type: string
  21032. unitid:
  21033. description: 现货商品单位ID
  21034. type: integer
  21035. vatrate:
  21036. description: 现货增值税率
  21037. type: number
  21038. wrsstatus:
  21039. description: 状态 - 作废 - 0:未激活 1:正常
  21040. type: integer
  21041. wrstandardcode:
  21042. description: 现货商品代码
  21043. type: string
  21044. wrstandardid:
  21045. description: 现货商品ID(自增 SEQ_GOODS 确保不重复)
  21046. type: integer
  21047. wrstandardname:
  21048. description: 现货商品名称(模糊查询)
  21049. type: string
  21050. type: object
  21051. models.THJWrstandardDetail_GoodsInfo:
  21052. properties:
  21053. bannerpicurl:
  21054. description: Banner图(逗号分隔)
  21055. type: string
  21056. pictureurls:
  21057. description: 详情图片(逗号分隔)
  21058. type: string
  21059. spotgoodsprice:
  21060. description: 现货价格
  21061. type: number
  21062. unitid:
  21063. description: 现货商品单位ID
  21064. type: integer
  21065. wrstandardcode:
  21066. description: 现货商品代码
  21067. type: string
  21068. wrstandardid:
  21069. description: 现货商品ID(自增 SEQ_GOODS 确保不重复)
  21070. type: integer
  21071. wrstandardname:
  21072. description: 现货商品名称
  21073. type: string
  21074. type: object
  21075. models.THJWrstandardDetailRsp:
  21076. properties:
  21077. deliverymodes:
  21078. description: 交割方式
  21079. items:
  21080. $ref: '#/definitions/models.THJDeliveryMode'
  21081. type: array
  21082. deliverymonth:
  21083. description: 交割月份
  21084. items:
  21085. $ref: '#/definitions/models.THJDeliveryMonth'
  21086. type: array
  21087. goodsinfo:
  21088. allOf:
  21089. - $ref: '#/definitions/models.THJWrstandardDetail_GoodsInfo'
  21090. description: 商品信息
  21091. presaleapplydeposits:
  21092. description: 支付方式
  21093. items:
  21094. $ref: '#/definitions/models.THJPresaleApplyDeposit'
  21095. type: array
  21096. spotgoodspricelogs:
  21097. description: 历史价格走势
  21098. items:
  21099. $ref: '#/definitions/models.THJSpotGoodsPriceLog'
  21100. type: array
  21101. type: object
  21102. models.Taaccount:
  21103. properties:
  21104. accountflag:
  21105. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  21106. type: integer
  21107. accountid:
  21108. description: 资金账户ID
  21109. type: integer
  21110. accountname:
  21111. description: 账户名称
  21112. type: string
  21113. balance:
  21114. description: 期初余额
  21115. type: number
  21116. capitalbalance:
  21117. description: 本金余额[外部子账户实际出入金余额]
  21118. type: number
  21119. changeflag:
  21120. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  21121. type: integer
  21122. changetime:
  21123. description: 账户状态变更时间
  21124. type: string
  21125. closepl:
  21126. description: 今日平仓盈亏
  21127. type: number
  21128. creditdecrease:
  21129. description: 今日授信减少
  21130. type: number
  21131. creditincrease:
  21132. description: 今日授信增加
  21133. type: number
  21134. curamount:
  21135. description: 总市值(从持仓中统计)
  21136. type: number
  21137. currencyid:
  21138. description: 货币ID
  21139. type: integer
  21140. currentbalance:
  21141. description: 期末余额
  21142. type: number
  21143. freezecharge:
  21144. description: 手续费冻结
  21145. type: number
  21146. freezemargin:
  21147. description: 冻结保证金
  21148. type: number
  21149. fromaccountid:
  21150. description: 所属上级账户
  21151. type: integer
  21152. inamount:
  21153. description: 今日入金金额(包括三方入金)
  21154. type: number
  21155. ismain:
  21156. description: 是否母账号 0:不是母账户 1:是母账户
  21157. type: integer
  21158. ismarketaccount:
  21159. description: 是否机构接单账号 0:不是 1:是
  21160. type: integer
  21161. isreckonaccount:
  21162. description: 是否机构分润账号 0:不是 1:是
  21163. type: integer
  21164. mortgagecredit:
  21165. description: 授信金额
  21166. type: number
  21167. orifreezecharge:
  21168. description: 期初手续费冻结
  21169. type: number
  21170. orifreezemargin:
  21171. description: 期初冻结保证金
  21172. type: number
  21173. orimortgagecredit:
  21174. description: 期初授信金额
  21175. type: number
  21176. oriothercredit:
  21177. description: 期初其它授信金额
  21178. type: number
  21179. oriotherfreezemargin:
  21180. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  21181. type: number
  21182. orioutamountfreeze:
  21183. description: 期初出金冻结
  21184. type: number
  21185. oriusedmargin:
  21186. description: 期初占用保证金
  21187. type: number
  21188. othercredit:
  21189. description: 其它授信金额
  21190. type: number
  21191. othercreditdecrease:
  21192. description: 今日其它授信减少
  21193. type: number
  21194. othercreditincrease:
  21195. description: 今日其它授信增加
  21196. type: number
  21197. otherfreezemargin:
  21198. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  21199. type: number
  21200. otherincome:
  21201. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  21202. type: number
  21203. otherpay:
  21204. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  21205. type: number
  21206. outamount:
  21207. description: 今日出金金额(包括三方出金)
  21208. type: number
  21209. outamountfreeze:
  21210. description: 出金冻结
  21211. type: number
  21212. outthreshold:
  21213. description: 出金阈值
  21214. type: number
  21215. parentaccountid:
  21216. description: 所属根账号
  21217. type: integer
  21218. paycharge:
  21219. description: 今日手续费支出
  21220. type: number
  21221. relatedaccountstatus:
  21222. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  21223. type: integer
  21224. relateduserid:
  21225. description: 关联用户
  21226. type: integer
  21227. remainamount:
  21228. description: 融资额(从融资合同中统计)
  21229. type: number
  21230. serivcegroup:
  21231. description: 服务分组
  21232. type: integer
  21233. signstatus:
  21234. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  21235. type: integer
  21236. sublevelpath:
  21237. description: 账号层级路径(逗号分隔,首尾加逗号)
  21238. type: string
  21239. taaccounttype:
  21240. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  21241. type: integer
  21242. thirdinamount:
  21243. description: 今日三方入金
  21244. type: number
  21245. thirdoutamount:
  21246. description: 今日三方出金
  21247. type: number
  21248. tradestatus:
  21249. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  21250. type: integer
  21251. tradestatuschangetime:
  21252. description: 激活时间
  21253. type: string
  21254. transferamount:
  21255. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  21256. type: number
  21257. usedmargin:
  21258. description: 占用保证金
  21259. type: number
  21260. userid:
  21261. description: 用户ID
  21262. type: integer
  21263. required:
  21264. - accountid
  21265. - userid
  21266. type: object
  21267. models.Tablecolumnconfig:
  21268. properties:
  21269. aligntype:
  21270. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  21271. type: integer
  21272. autoid:
  21273. description: AutoID
  21274. type: integer
  21275. columnfield:
  21276. description: 列字段
  21277. type: string
  21278. columntitle:
  21279. description: 列Title
  21280. type: string
  21281. columnwidth:
  21282. description: 列宽
  21283. type: string
  21284. fixed:
  21285. description: 固定类型 - 空 | left | right
  21286. type: string
  21287. formatterstring:
  21288. description: 格式化字符
  21289. type: string
  21290. formattertype:
  21291. description: 格式化类型
  21292. type: string
  21293. groupname:
  21294. description: 表头分组名称
  21295. type: string
  21296. ismerge:
  21297. description: 是否合并显示 - 0:不合并 1:合并
  21298. type: integer
  21299. isshow:
  21300. description: 是否显示 - 0:不显示 1:显示
  21301. type: integer
  21302. needsummary:
  21303. description: 是否需要汇总 - 0:不需要 1:需要
  21304. type: integer
  21305. orderindex:
  21306. description: 顺序
  21307. type: integer
  21308. remark:
  21309. description: 备注
  21310. type: string
  21311. summarytype:
  21312. description: 汇总类型 - 1:加总 2:最后一个
  21313. type: integer
  21314. tablekey:
  21315. description: 列表Key
  21316. type: string
  21317. required:
  21318. - autoid
  21319. type: object
  21320. models.ThjSpotQuote:
  21321. properties:
  21322. spotname:
  21323. description: 现货名称
  21324. type: string
  21325. type: object
  21326. models.Thjinvesotrdeposit:
  21327. properties:
  21328. depositqty:
  21329. description: 可用量
  21330. type: integer
  21331. depositrate:
  21332. description: 定金比例
  21333. type: number
  21334. userid:
  21335. description: 用户ID
  21336. type: integer
  21337. type: object
  21338. models.Thjinvestorlevelgroup:
  21339. properties:
  21340. grouplevel:
  21341. description: 分组级别 - 唯一
  21342. type: integer
  21343. groupname:
  21344. description: 分级名称
  21345. type: string
  21346. keepbuyqty:
  21347. description: 保级一级采购总量
  21348. type: integer
  21349. levelgroupid:
  21350. description: 自增ID(SEQ_THJ_INVESTORLEVELGROUP)
  21351. type: integer
  21352. levelonealgorithm:
  21353. description: 一级分润算法(采购) 1:比率 2:固定
  21354. type: integer
  21355. levelonealgorithm2:
  21356. description: 一级分润算法(供求) 1:比率 2:固定
  21357. type: integer
  21358. levelonealgorithm3:
  21359. description: 一级分润算法(转让) 1:比率 2:固定
  21360. type: integer
  21361. levelonevalue:
  21362. description: 一级分润值(采购)
  21363. type: number
  21364. levelonevalue2:
  21365. description: 一级分润值(供求)
  21366. type: number
  21367. levelonevalue3:
  21368. description: 一级分润值(转让)
  21369. type: number
  21370. leveltwoalgorithm:
  21371. description: 二级级分润算法(采购) 1:比率 2:固定
  21372. type: integer
  21373. leveltwovalue:
  21374. description: 二级分润值(采购)
  21375. type: number
  21376. upbuyqty:
  21377. description: 晋级一级采购总量
  21378. type: integer
  21379. updatetime:
  21380. description: 平台更新时间
  21381. type: string
  21382. updatorid:
  21383. description: 更新人
  21384. type: integer
  21385. type: object
  21386. models.Thjpurchasetradedetail:
  21387. properties:
  21388. availabletime:
  21389. description: 可用次数
  21390. type: integer
  21391. buyaccountid:
  21392. description: 买方账号ID
  21393. type: integer
  21394. buychargevalue:
  21395. description: 买方到期手续费
  21396. type: number
  21397. buyconfirmremark:
  21398. description: 买方确认备注
  21399. type: string
  21400. buyconfirmtime:
  21401. description: 买方确认时间
  21402. type: string
  21403. buyfreezecharge:
  21404. description: 买方摘牌冻结手续费
  21405. type: number
  21406. buyuserid:
  21407. description: 买方用户ID
  21408. type: integer
  21409. contactinfo:
  21410. description: 联系方式
  21411. type: string
  21412. contactname:
  21413. description: 联系人姓名
  21414. type: string
  21415. contractaddrbuy:
  21416. description: 贸易合同地址(买家)
  21417. type: string
  21418. contractaddrsell:
  21419. description: 贸易合同地址(卖家)
  21420. type: string
  21421. createtime:
  21422. description: 预售挂牌时间
  21423. type: string
  21424. deliverygoodsid:
  21425. description: 现货品种ID
  21426. type: integer
  21427. depositrate:
  21428. description: 定金比例
  21429. type: number
  21430. desaddress:
  21431. description: 目的地地址
  21432. type: string
  21433. discountamount:
  21434. description: 优惠总金额(优惠金额*TradeQty)
  21435. type: number
  21436. enddate:
  21437. description: 到期日期
  21438. type: string
  21439. enddatemonth:
  21440. description: 交收月份(提货日期)
  21441. type: string
  21442. firstbuyuserid:
  21443. description: 买方用户ID(预售摘牌人)
  21444. type: integer
  21445. handlestatus:
  21446. description: 处理状态
  21447. type: integer
  21448. lastamount:
  21449. description: 到期总货款 = 到期价格 * 摘牌数量
  21450. type: number
  21451. lastprice:
  21452. description: '[实际价]到期价格'
  21453. type: number
  21454. lastpricedate:
  21455. description: 到期价格日期 - 暂不使用
  21456. type: string
  21457. marketid:
  21458. description: 市场ID
  21459. type: integer
  21460. orderstatus:
  21461. description: 单据状态 - 1:待付尾款 2:支付尾款成功 3:支付尾款失败 4:已违约 5:卖方已确认 6:买方已确认 7:系统自动确认
  21462. (枚举:THJOrderStatus)
  21463. type: integer
  21464. payeddeposit:
  21465. description: '[定金]买方已付定金(预付款)'
  21466. type: number
  21467. payedtradedate:
  21468. description: 支付尾款成功交易日
  21469. type: string
  21470. pointflag:
  21471. description: 是否已点价
  21472. type: boolean
  21473. pointincome:
  21474. description: 点价总收益
  21475. type: number
  21476. pointprice:
  21477. description: 已点价格
  21478. type: number
  21479. presaleapplyid:
  21480. description: 预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)
  21481. type: string
  21482. presalestatus:
  21483. description: 预留状态 1:未开始 2:进行中 3:已结束 4:已关闭 5:处理中 6::处理失败 7:已完成
  21484. type: integer
  21485. receiptinfo:
  21486. description: 发票信息
  21487. type: string
  21488. remainamount:
  21489. description: '[尾款]剩余货款 = 到期总货款 - 已付定金 - 优惠金额'
  21490. type: number
  21491. sellaccountid:
  21492. description: 卖方账号ID
  21493. type: integer
  21494. sellchargevalue:
  21495. description: 卖方到期手续费
  21496. type: number
  21497. sellconfirmattach:
  21498. description: 卖方确认附件
  21499. type: string
  21500. sellconfirmremark:
  21501. description: 卖方确认备注
  21502. type: string
  21503. sellconfirmtime:
  21504. description: 卖方确认时间
  21505. type: string
  21506. sellconfirmtradedate:
  21507. description: 卖方确认交易日
  21508. type: string
  21509. selluserid:
  21510. description: 卖方用户ID
  21511. type: integer
  21512. thjdeliverymode:
  21513. description: 交割方式 - 1:平台仓储 2:自提 3:代办运输 (枚举:THJDeliveryMode)
  21514. type: integer
  21515. thjdeliverymodedisplay:
  21516. description: 提货方式
  21517. type: string
  21518. thjorderstatusdisplay:
  21519. description: 状态
  21520. type: string
  21521. tradeamount:
  21522. description: 摘牌总货款
  21523. type: number
  21524. tradedate:
  21525. description: 交易日(yyyyMMdd)
  21526. type: string
  21527. tradeprice:
  21528. description: 摘牌价格 - 参考价
  21529. type: number
  21530. tradeqty:
  21531. description: '[预售价]摘牌数量'
  21532. type: integer
  21533. tradetime:
  21534. description: 摘牌时间(委托时间)
  21535. type: string
  21536. transferprice:
  21537. description: 转让价格 - 购买价
  21538. type: number
  21539. unitid:
  21540. description: 商品单位
  21541. type: integer
  21542. warehouseid:
  21543. description: 仓库ID
  21544. type: integer
  21545. warehousename:
  21546. description: 仓库名称
  21547. type: string
  21548. wrfactortypeid:
  21549. description: 仓单要素类型ID
  21550. type: string
  21551. wrstandardid:
  21552. description: 现货商品ID
  21553. type: integer
  21554. wrstandardname:
  21555. description: 现货商品名称
  21556. type: string
  21557. wrtradedetailid:
  21558. description: 采购成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  21559. type: string
  21560. required:
  21561. - buyuserid
  21562. type: object
  21563. models.Thjpurchasetransfer:
  21564. properties:
  21565. buyaccountid:
  21566. description: 买方账号ID
  21567. type: integer
  21568. buyuserid:
  21569. description: 买方用户ID
  21570. type: integer
  21571. contractaddr:
  21572. description: 协议转让合同地址
  21573. type: string
  21574. createtime:
  21575. description: 转让挂牌时间
  21576. type: string
  21577. deliverygoodsid:
  21578. description: 现货品种ID
  21579. type: integer
  21580. enddate:
  21581. description: 到期日期
  21582. type: string
  21583. enddatemonth:
  21584. description: 交收月份(提货日期)
  21585. type: string
  21586. handlestatus:
  21587. description: 处理状态
  21588. type: integer
  21589. marketid:
  21590. description: 市场ID(固定为(64202)
  21591. type: integer
  21592. ordertype:
  21593. description: 类型 - 1:转让委托 - 挂牌中(卖方) 2:转让成交(卖方) 3:转让委托 - 已完成(卖方)
  21594. type: integer
  21595. payeddeposit:
  21596. description: 买方已付定金(预付款)
  21597. type: number
  21598. pointflag:
  21599. description: 是否已点价
  21600. type: boolean
  21601. pointincome:
  21602. description: 点价总收益
  21603. type: number
  21604. pointprice:
  21605. description: 已点价格
  21606. type: number
  21607. presaleapplyid:
  21608. description: 预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)
  21609. type: string
  21610. presalestatus:
  21611. description: 预售状态 1:未开始 2:进行中 3:已结束 4:已关闭 5:处理中 6::处理失败 7:已完成
  21612. type: integer
  21613. remark:
  21614. description: 备注
  21615. type: string
  21616. sellaccountid:
  21617. description: 卖方账号ID
  21618. type: integer
  21619. sellcharge:
  21620. description: 卖方手续费值
  21621. type: number
  21622. sellchargealgorithm:
  21623. description: 卖方手续费收取方式 1:比率 2:固定
  21624. type: integer
  21625. sellchargealgorithmvalue:
  21626. description: 手续费设置值(交易所部分)
  21627. type: number
  21628. selluserid:
  21629. description: 卖方用户ID
  21630. type: integer
  21631. tradedate:
  21632. description: 交易日(yyyyMMdd)
  21633. type: string
  21634. tradeprice:
  21635. description: 参考价
  21636. type: number
  21637. transferamount:
  21638. description: 转让金额
  21639. type: number
  21640. transferid:
  21641. description: 协议转让ID(332+Unix秒时间戳(10位)+xxxxxx)
  21642. type: string
  21643. transferprice:
  21644. description: 转让价格
  21645. type: number
  21646. transferqty:
  21647. description: 数量
  21648. type: integer
  21649. transferstatus:
  21650. description: 转让状态 - 1:挂牌中 2:已撤销 3:处理中 4:已转让
  21651. type: integer
  21652. transfertradedate:
  21653. description: 转让交易日
  21654. type: string
  21655. transfertradetime:
  21656. description: 转让成交时间
  21657. type: string
  21658. unitid:
  21659. description: 现货商品单位ID
  21660. type: integer
  21661. warehouseid:
  21662. description: 仓库ID
  21663. type: integer
  21664. wrfactortypeid:
  21665. description: 仓单要素类型ID
  21666. type: string
  21667. wrstandardid:
  21668. description: 现货商品ID
  21669. type: integer
  21670. wrstandardname:
  21671. description: 现货商品名称
  21672. type: string
  21673. wrtradedetailid:
  21674. description: 采购成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  21675. type: string
  21676. required:
  21677. - ordertype
  21678. type: object
  21679. models.ThjpurchasetransferDetail:
  21680. properties:
  21681. buyusername:
  21682. description: 受让人
  21683. type: string
  21684. contactinfo:
  21685. description: 联系方式
  21686. type: string
  21687. contactname:
  21688. description: 联系人姓名
  21689. type: string
  21690. contractaddr:
  21691. description: 协议转让合同地址
  21692. type: string
  21693. contractaddrbuy:
  21694. description: 贸易合同地址(买家)
  21695. type: string
  21696. contractaddrsell:
  21697. description: 贸易合同地址(卖家)
  21698. type: string
  21699. createtime:
  21700. description: 转让委托时间
  21701. type: string
  21702. depositrate:
  21703. description: 定金比例
  21704. type: number
  21705. desaddress:
  21706. description: 目的地地址
  21707. type: string
  21708. enddate:
  21709. description: 到期日期
  21710. type: string
  21711. enddatemonth:
  21712. description: 交收月份(提货日期)
  21713. type: string
  21714. firstbuyuserid:
  21715. description: 预售采购用户ID
  21716. type: integer
  21717. lastprice:
  21718. description: '[实际价]到期价格'
  21719. type: number
  21720. payeddeposit:
  21721. description: 买方已付定金(预付款(含定金))
  21722. type: number
  21723. pointflag:
  21724. description: 是否已点价
  21725. type: boolean
  21726. pointincome:
  21727. description: 点价总收益
  21728. type: number
  21729. pointprice:
  21730. description: 已点价格
  21731. type: number
  21732. receiptinfo:
  21733. description: 发票信息
  21734. type: string
  21735. sellusername:
  21736. description: 转让人
  21737. type: string
  21738. thjdeliverymode:
  21739. description: 交割方式 - 1:平台仓储 2:自提 3:代办运输 (枚举:THJDeliveryMode)
  21740. type: integer
  21741. tradeprice:
  21742. description: 预售价格
  21743. type: number
  21744. transferamount:
  21745. description: 转让金额
  21746. type: number
  21747. transferid:
  21748. description: 转让单号
  21749. type: string
  21750. transferprice:
  21751. description: 转让价格
  21752. type: number
  21753. transferqty:
  21754. description: 转让数量
  21755. type: integer
  21756. transferstatus:
  21757. description: 转让状态 - 1:挂牌中 2:已撤销 3:处理中 4:已转让
  21758. type: integer
  21759. transfertradetime:
  21760. description: 转让成交时间
  21761. type: string
  21762. warehousename:
  21763. description: 仓库名称
  21764. type: string
  21765. wrstandardcode:
  21766. description: 现货商品代码
  21767. type: string
  21768. wrstandardid:
  21769. description: 现货商品ID
  21770. type: integer
  21771. wrstandardname:
  21772. description: 现货商品名称
  21773. type: string
  21774. wrtradedetailid:
  21775. description: 采购成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  21776. type: string
  21777. type: object
  21778. models.Thjscoreconfig:
  21779. properties:
  21780. parma1:
  21781. description: 参数1
  21782. type: integer
  21783. parma2:
  21784. description: 参数2
  21785. type: integer
  21786. parma3:
  21787. description: 参数3
  21788. type: integer
  21789. parma4:
  21790. description: 参数4
  21791. type: integer
  21792. parma5:
  21793. description: 参数5
  21794. type: integer
  21795. parma6:
  21796. description: 参数6
  21797. type: integer
  21798. parma7:
  21799. description: 参数6
  21800. type: integer
  21801. scoreconfigtype:
  21802. description: 积分配置类型 - 1:注册送红包 2:签到送积分 3:推广送积分 4:下级用户下单送积分 5:自己采购下单送积分 6:自己供求下单送积分
  21803. 7:抽奖得红包
  21804. type: integer
  21805. type: object
  21806. models.Thjspotquoteconfig:
  21807. properties:
  21808. autoid:
  21809. description: 自增ID(SEQ_THJ_SPOTQUOTECONFIG)
  21810. type: integer
  21811. relatedid:
  21812. description: 关联新闻ID(Site_ColumnDetail)
  21813. type: integer
  21814. spotmonth:
  21815. description: 现货月份(yyyy-MM)
  21816. type: string
  21817. spotname:
  21818. description: 现货名称
  21819. type: string
  21820. spotprice:
  21821. description: 现货招标价
  21822. type: string
  21823. spotqty:
  21824. description: 现货采购量
  21825. type: string
  21826. spotsrc:
  21827. description: 现货来源
  21828. type: string
  21829. updatetime:
  21830. description: 更新时间
  21831. type: string
  21832. type: object
  21833. models.TjmdHolderDetailTradeInfo:
  21834. properties:
  21835. agreeunit:
  21836. description: 合约乘数
  21837. type: number
  21838. buyaccountid:
  21839. description: 买方账户
  21840. type: string
  21841. buyusername:
  21842. description: 买方
  21843. type: string
  21844. delistingdate:
  21845. description: 最后结算日
  21846. type: string
  21847. expiredate:
  21848. description: 到期结算价定价日
  21849. type: string
  21850. exprieprice:
  21851. description: 到期清算价格
  21852. type: string
  21853. goodscode:
  21854. description: 商品代码
  21855. type: string
  21856. goodsid:
  21857. description: 商品ID
  21858. type: integer
  21859. goodsname:
  21860. description: 商品名称(交易标的)
  21861. type: string
  21862. lasttradedate:
  21863. description: 最后交易日
  21864. type: string
  21865. listingdate:
  21866. description: 开始交易日
  21867. type: string
  21868. openprice:
  21869. description: 成交价
  21870. type: number
  21871. openqty:
  21872. description: 交易数量
  21873. type: integer
  21874. sellaccountid:
  21875. description: 卖方账户
  21876. type: string
  21877. sellusername:
  21878. description: 卖方
  21879. type: string
  21880. tradeamount:
  21881. description: 初始名义价值
  21882. type: number
  21883. tradedate:
  21884. description: 成交日期
  21885. type: string
  21886. tradeid:
  21887. description: 成交编号
  21888. type: string
  21889. type: object
  21890. models.TjmdMarketSection:
  21891. properties:
  21892. marketsectionid:
  21893. description: 市场版块ID(SEQ_MARKETSECTION)
  21894. type: integer
  21895. marketsectionname:
  21896. description: 市场版块名称
  21897. type: string
  21898. mlist:
  21899. description: 市场列表(板块下面有多少个市场)
  21900. items:
  21901. $ref: '#/definitions/models.TjmdMarketSectionConfig'
  21902. type: array
  21903. orderindex:
  21904. description: 排序
  21905. type: integer
  21906. pictureurl:
  21907. description: 图片url, 规格(90*90)
  21908. type: string
  21909. remark:
  21910. description: 备注
  21911. type: string
  21912. type: object
  21913. models.TjmdMarketSectionConfig:
  21914. properties:
  21915. auctionwrtype:
  21916. description: 仓单类型(现货交易) - 1:无仓单 2:有仓单 3;有无仓单均可
  21917. type: integer
  21918. canacceptquote:
  21919. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  21920. type: integer
  21921. cangoodsexercise:
  21922. description: '[期权]是否可现货行权- 0:否 1:是'
  21923. type: integer
  21924. cangoodsexercisetype:
  21925. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  21926. type: integer
  21927. canmanualquotestrike:
  21928. description: 是否可手动报行权价- 0:否 1:是 [期权]
  21929. type: integer
  21930. canmutistage:
  21931. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  21932. type: integer
  21933. canpreexercise:
  21934. description: '[期权]是否可预申报- 0:否 1:是'
  21935. type: integer
  21936. clearinterval:
  21937. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  21938. type: integer
  21939. contracttmp:
  21940. description: 合同模板[荷兰式][竞价式][仓单贸易]
  21941. type: string
  21942. exchareaid:
  21943. description: 所属交易所,可以没有
  21944. type: integer
  21945. financemarketid:
  21946. description: 融资回购市场ID [仓单贸易]
  21947. type: integer
  21948. goodstype:
  21949. description: 商品类型 - 1:交易商品 2:仓单商品
  21950. type: integer
  21951. hasrebate:
  21952. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  21953. type: integer
  21954. hastradecredit:
  21955. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  21956. type: integer
  21957. haswr:
  21958. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  21959. type: integer
  21960. isdeductmargin:
  21961. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  21962. type: integer
  21963. isrecordsource:
  21964. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  21965. type: integer
  21966. isreleasemargin:
  21967. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  21968. type: integer
  21969. isupdatereckonprice:
  21970. description: 输入结算价标识 - 0:系统生成 1:手工输入(自动) 2:手工输入(手动)
  21971. type: integer
  21972. listingmode:
  21973. description: 挂牌方式 1:一口价 2:浮动价 3:贸易圈 4:协议指定
  21974. type: integer
  21975. marginformula:
  21976. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  21977. type: integer
  21978. marginformula2:
  21979. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  21980. type: integer
  21981. marketid:
  21982. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  21983. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  21984. type: integer
  21985. marketname:
  21986. description: 市场名称
  21987. type: string
  21988. marketsectionid:
  21989. description: 市场版块ID(SEQ_MARKETSECTION)
  21990. type: integer
  21991. marketserviceid:
  21992. description: 市场服务ID
  21993. type: integer
  21994. marketstatus:
  21995. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  21996. type: integer
  21997. markettype:
  21998. description: 市场类型- 1:非交易服务 2:交易服务
  21999. type: integer
  22000. matchermode:
  22001. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手 - 作废
  22002. type: integer
  22003. nowrquotaflag:
  22004. description: 是否校验无仓单额度(仓单贸易) 0:否 1:是
  22005. type: integer
  22006. openmethod:
  22007. description: 开盘模式 - 0 自动 1手动
  22008. type: integer
  22009. orderindex:
  22010. description: 排序
  22011. type: integer
  22012. otcuserid:
  22013. description: 场外期权做市商[场外期权]
  22014. type: integer
  22015. outersynctime:
  22016. description: 外部同步时间点(h24:mi:ss)[场外期权]
  22017. type: string
  22018. paylaterflag:
  22019. description: 是否支持后付 - 0:不支持 1;支持 - [挂牌点选 所有权、预售挂牌支持]
  22020. type: integer
  22021. pendingflag:
  22022. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  22023. type: integer
  22024. pendingtime:
  22025. description: 待开市时间[通道交易-对冲](HH:mm)
  22026. type: string
  22027. performancetempid:
  22028. description: 履约计划模板ID - 作废
  22029. type: integer
  22030. premiumquotemode:
  22031. description: 权利金报价方式 - 1:自动 2:手动
  22032. type: integer
  22033. rebateratio:
  22034. description: 返利比率[竞价式]
  22035. type: number
  22036. reckonorder:
  22037. description: 结算顺序
  22038. type: integer
  22039. reckonpricealgorithm:
  22040. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  22041. 6.卖一价 7.买一卖一均价 8.外部结算价'
  22042. type: integer
  22043. reckonpriceparam:
  22044. description: 结算价参数
  22045. type: integer
  22046. reckontime:
  22047. description: 结算时间[通道交易-对冲](HH:mm)
  22048. type: string
  22049. roleprioritytype:
  22050. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  22051. type: integer
  22052. selllistingauditflag:
  22053. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  22054. type: integer
  22055. trademarkettype:
  22056. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  22057. type: integer
  22058. trademode:
  22059. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  22060. 21:竞拍-大宗式 22:受托竞价
  22061. type: integer
  22062. tradeproperty:
  22063. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  22064. 8:场外期权
  22065. type: integer
  22066. tradetype:
  22067. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  22068. type: integer
  22069. updatereckonpriceinterval:
  22070. description: 输入结算价时长(分钟) [1:手工输入(自动)]
  22071. type: integer
  22072. type: object
  22073. models.TjmdQuoteGoods:
  22074. properties:
  22075. buyqty:
  22076. description: 买量(暂不做, 无值, 保留字段)
  22077. type: number
  22078. decimalplace:
  22079. description: 报价小数位
  22080. type: integer
  22081. goodscode:
  22082. description: 合约代码
  22083. type: string
  22084. goodsgroupid:
  22085. description: 商品组ID(自增ID)
  22086. type: integer
  22087. goodsgroupname:
  22088. description: 商品组名称
  22089. type: string
  22090. goodsid:
  22091. description: 合约id
  22092. type: integer
  22093. goodsname:
  22094. description: 合约名称
  22095. type: string
  22096. refgoodscode:
  22097. description: 标的合约代码
  22098. type: string
  22099. refgoodsid:
  22100. description: 标的合约id
  22101. type: integer
  22102. refgoodsname:
  22103. description: 标的合约名称
  22104. type: string
  22105. sellqty:
  22106. description: 卖量(暂不做, 无值, 保留字段)
  22107. type: number
  22108. type: object
  22109. models.TjmdTodayAccountMargin:
  22110. properties:
  22111. accountid:
  22112. description: 账号ID
  22113. type: integer
  22114. goodsid:
  22115. description: 商品ID
  22116. type: integer
  22117. infoc:
  22118. allOf:
  22119. - $ref: '#/definitions/pb.GoodsMarginCfgStruct'
  22120. description: 配置参数
  22121. marketid:
  22122. description: 市场ID
  22123. type: integer
  22124. type: object
  22125. models.TjmdTradeOrderDetail:
  22126. properties:
  22127. buyorsell:
  22128. description: 买卖方向 0-买 1-卖
  22129. type: integer
  22130. goodsid:
  22131. description: 商品id
  22132. type: integer
  22133. marketmaxsub:
  22134. description: 市价最大偏移范围 [浮动价 - 点差]
  22135. type: number
  22136. orderid:
  22137. description: 委托单号
  22138. type: string
  22139. orderprice:
  22140. description: 委托价格
  22141. type: number
  22142. orderqty:
  22143. description: 委托数量
  22144. type: integer
  22145. pricemode:
  22146. description: '取价方式 - 1:市价 2: 限价 3:浮动价'
  22147. type: integer
  22148. userid:
  22149. description: 用户id
  22150. type: integer
  22151. username:
  22152. description: 用户名称(已脱敏)
  22153. type: string
  22154. type: object
  22155. models.TjmdTransferApply:
  22156. properties:
  22157. applyid:
  22158. description: 申请ID(自增ID SEQ_TRADE_HOLDTRANSFERAPPLY)
  22159. type: integer
  22160. applystatus:
  22161. description: 状态 - 0:未提交 1:待审核 2:审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销
  22162. type: integer
  22163. applytime:
  22164. description: 申请时间(时间)
  22165. type: string
  22166. auditremark:
  22167. description: 审核备注(拒绝原因?)
  22168. type: string
  22169. begindate:
  22170. description: 开始交易日(yyyymmdd)
  22171. type: string
  22172. buyorsell:
  22173. description: 买卖 - 0:买 1:卖
  22174. type: integer
  22175. enddate:
  22176. description: 结束交易日(yyyymmdd)
  22177. type: string
  22178. goodscode:
  22179. description: 商品代码
  22180. type: string
  22181. goodsid:
  22182. description: 商品ID
  22183. type: integer
  22184. goodsname:
  22185. description: 商品名称
  22186. type: string
  22187. marketid:
  22188. description: 市场ID
  22189. type: integer
  22190. qty:
  22191. description: 转让数量(数量)
  22192. type: number
  22193. tradeid:
  22194. description: 成交单号(关联持仓)
  22195. type: string
  22196. transferamount:
  22197. description: 转让总金额(金额)
  22198. type: number
  22199. transferprice:
  22200. description: 转让价格(协议价格)
  22201. type: number
  22202. type: object
  22203. models.TradeHolderDetail:
  22204. properties:
  22205. accountid:
  22206. description: 账号ID
  22207. type: integer
  22208. agreeunit:
  22209. description: 合约乘数
  22210. type: number
  22211. buyorsell:
  22212. description: 方向 - 0:买 1:卖
  22213. type: integer
  22214. currencyid:
  22215. description: 商品币种id
  22216. type: integer
  22217. currencyname:
  22218. description: 币种名称
  22219. type: string
  22220. decimalplace:
  22221. description: 商品价格小数位
  22222. type: integer
  22223. enumdicname:
  22224. description: 商品单位名称
  22225. type: string
  22226. expirecycle:
  22227. description: 行权周期(天) - 1:滚动行权时填写
  22228. type: integer
  22229. expiredate:
  22230. description: 行权日(yyyyMMdd) - 到期日
  22231. type: string
  22232. expiretype:
  22233. description: 行权日类型 - 1:滚动行权 2:固定日行权
  22234. type: integer
  22235. freezeqty:
  22236. description: 冻结数量
  22237. type: number
  22238. goodscode:
  22239. description: 商品代码
  22240. type: string
  22241. goodsid:
  22242. description: 商品ID
  22243. type: integer
  22244. goodsname:
  22245. description: 商品名称
  22246. type: string
  22247. goodunitid:
  22248. description: 商品单位id
  22249. type: integer
  22250. holderamount:
  22251. description: 持仓金额
  22252. type: number
  22253. holdercredit:
  22254. description: 持仓授信金额
  22255. type: number
  22256. holderdays:
  22257. description: 剩余冻结天数
  22258. type: integer
  22259. holderprice:
  22260. description: 持仓价格
  22261. type: number
  22262. holderqty:
  22263. description: 持仓数量
  22264. type: number
  22265. isconfirmexercise:
  22266. description: 是否确认行权- 0:否 1:是
  22267. type: integer
  22268. ispreexercise:
  22269. description: 是否预申报- 0:否 1:是 2:不可行权
  22270. type: integer
  22271. marketid:
  22272. description: 市场id
  22273. type: integer
  22274. marketname:
  22275. description: 市场名称
  22276. type: string
  22277. openprice:
  22278. description: 建仓价格
  22279. type: number
  22280. openqty:
  22281. description: 建仓数量
  22282. type: number
  22283. optiontype:
  22284. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  22285. type: integer
  22286. preexerciseprice:
  22287. description: 预申报价格
  22288. type: number
  22289. premium:
  22290. description: 权利金
  22291. type: number
  22292. qtydecimalplace:
  22293. description: 商品成交量小数位
  22294. type: integer
  22295. refgoodscode:
  22296. description: 标的合约代码
  22297. type: string
  22298. refgoodsid:
  22299. description: 标的合约id
  22300. type: integer
  22301. releaseamount:
  22302. description: 释放持仓金额
  22303. type: number
  22304. releaseholdercredit:
  22305. description: 释放持仓授信金额
  22306. type: number
  22307. taname:
  22308. description: 资金账号名称
  22309. type: string
  22310. tradeamount:
  22311. description: 成交金额
  22312. type: number
  22313. tradedate:
  22314. description: 交易日(yyyyMMdd)
  22315. type: string
  22316. tradeid:
  22317. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  22318. type: string
  22319. trademode:
  22320. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  22321. 21:竞拍-大宗式 22:受托竞价 46:掉期
  22322. type: integer
  22323. tradeproperty:
  22324. description: 交易属性
  22325. type: integer
  22326. tradetime:
  22327. description: 交易时间
  22328. type: string
  22329. userid:
  22330. description: 用户id
  22331. type: integer
  22332. username:
  22333. description: 用户名称
  22334. type: string
  22335. type: object
  22336. models.Unlinkermcphedgeplan:
  22337. properties:
  22338. accountid:
  22339. description: 期货账户ID - 作废
  22340. type: integer
  22341. accountname:
  22342. description: 交易用户
  22343. type: string
  22344. applyid:
  22345. description: 申请人
  22346. type: integer
  22347. applysrc:
  22348. description: 申请来源 - 1:管理端 2:终端
  22349. type: integer
  22350. applytime:
  22351. description: 申请时间
  22352. type: string
  22353. areauserid:
  22354. description: '[企业ID]机构ID'
  22355. type: integer
  22356. auditid:
  22357. description: 审核人
  22358. type: integer
  22359. auditremark:
  22360. description: 审核备注
  22361. type: string
  22362. auditsrc:
  22363. description: 审核来源 - 1:管理端 2:终端
  22364. type: integer
  22365. audittime:
  22366. description: 审核时间
  22367. type: string
  22368. audittradedate:
  22369. description: 审核交易日(yyyyMMdd)
  22370. type: string
  22371. biztype:
  22372. description: 业务类型 - 1:套保
  22373. type: integer
  22374. contracttype:
  22375. description: 计划类型 - 1:采购 -1:销售
  22376. type: integer
  22377. convertfactor:
  22378. description: 标仓系数 - 作废
  22379. type: number
  22380. createtime:
  22381. description: 创建时间
  22382. type: string
  22383. currencyid:
  22384. description: 结算币种ID - 作废
  22385. type: integer
  22386. deliverygoodsid:
  22387. description: 现货品种ID
  22388. type: integer
  22389. enumdicname:
  22390. description: 结算币种
  22391. type: string
  22392. hedgeplanid:
  22393. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  22394. type: string
  22395. hedgeplanno:
  22396. description: '[计划编号]套保计划编号,模糊查询'
  22397. type: string
  22398. hedgeplanstatus:
  22399. description: '[状态]套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回'
  22400. type: integer
  22401. isrelated:
  22402. description: 是否已关联计划项目 - 0:否 1:是
  22403. type: integer
  22404. planqty:
  22405. description: '[计划量]计划数量'
  22406. type: number
  22407. plantime:
  22408. description: 计划时间
  22409. type: string
  22410. producttype:
  22411. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  22412. type: integer
  22413. remark:
  22414. description: 备注
  22415. type: string
  22416. spotgoodsdesc:
  22417. description: 商品型号
  22418. type: string
  22419. tradedate:
  22420. description: 交易日(yyyyMMdd)
  22421. type: string
  22422. tradeuserid:
  22423. description: 交易用户ID
  22424. type: integer
  22425. updatetime:
  22426. description: 更新时间
  22427. type: string
  22428. wrstandardid:
  22429. description: 现货商品ID
  22430. type: integer
  22431. wrstandardname:
  22432. description: 现货商品,模糊查询
  22433. type: string
  22434. required:
  22435. - areauserid
  22436. type: object
  22437. models.UserCollectConfig:
  22438. properties:
  22439. accountstatus:
  22440. description: 账户状态 - 1:正常 2:停用 3:注销
  22441. type: integer
  22442. collectaccountname:
  22443. description: 收款人账户名称
  22444. type: string
  22445. collectaccountno:
  22446. description: 收款人账户
  22447. type: string
  22448. collectbankname:
  22449. description: 收款人开户行
  22450. type: string
  22451. collectbranchbankname:
  22452. description: 收款人开户支行
  22453. type: string
  22454. collectconfigid:
  22455. description: 收款账户配置ID(SEQ_USERCOLLECTCONFIG)
  22456. type: string
  22457. remark:
  22458. description: 备注
  22459. type: string
  22460. userid:
  22461. description: 收款人用户ID
  22462. type: integer
  22463. type: object
  22464. models.UserReceiveInfo:
  22465. properties:
  22466. address:
  22467. description: 提货人详细地址
  22468. type: string
  22469. autoid:
  22470. description: AutoID
  22471. type: integer
  22472. cardnum:
  22473. description: 证件号码(加密存储)
  22474. type: string
  22475. cardtypeid:
  22476. description: 证件类型
  22477. type: integer
  22478. cityid:
  22479. description: 市
  22480. type: integer
  22481. cityname:
  22482. description: 城市名称
  22483. type: string
  22484. countryid:
  22485. description: 国家
  22486. type: integer
  22487. countryname:
  22488. description: 国家名称
  22489. type: string
  22490. districtid:
  22491. description: 地区
  22492. type: integer
  22493. districtname:
  22494. description: 地区名称
  22495. type: string
  22496. hasencrypt:
  22497. description: 数据是否已加密 - 0:未加密 1:已加密
  22498. type: integer
  22499. isdefault:
  22500. description: 是否默认地址 - 0:否 1:是
  22501. type: integer
  22502. phonenum:
  22503. description: 提货人联系方式(加密存储)
  22504. type: string
  22505. provinceid:
  22506. description: 省
  22507. type: integer
  22508. provincename:
  22509. description: 省名称
  22510. type: string
  22511. receivername:
  22512. description: 提货人姓名
  22513. type: string
  22514. takeremark:
  22515. description: 提货备注
  22516. type: string
  22517. userid:
  22518. description: 用户ID
  22519. type: integer
  22520. type: object
  22521. models.Useraccount:
  22522. properties:
  22523. accountname:
  22524. description: 账户名称(机构名称)
  22525. type: string
  22526. accountstatus:
  22527. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  22528. type: integer
  22529. applysrc:
  22530. description: 申请来源 - 1:管理端 2:终端
  22531. type: integer
  22532. auditremark:
  22533. description: 审核备注
  22534. type: string
  22535. auditsrc:
  22536. description: 审核来源 - 1:管理端 2:终端
  22537. type: integer
  22538. audittime:
  22539. description: 审核时间
  22540. type: string
  22541. audituserid:
  22542. description: 审核人
  22543. type: integer
  22544. broker:
  22545. description: 所属经纪人ID
  22546. type: integer
  22547. canceltime:
  22548. description: 销户时间
  22549. type: string
  22550. canceluserid:
  22551. description: 销户人
  22552. type: integer
  22553. canrecommend:
  22554. description: 是否可推荐 - 0:不可 1;可
  22555. type: integer
  22556. createtime:
  22557. description: 创建时间
  22558. type: string
  22559. creatorid:
  22560. description: 创建人
  22561. type: integer
  22562. curscore:
  22563. description: 积分
  22564. type: integer
  22565. hasauth:
  22566. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  22567. type: integer
  22568. isanonymous:
  22569. description: 是否匿名下单 - 0:否 1:是
  22570. type: integer
  22571. issigned:
  22572. description: 今日是否已签到
  22573. type: boolean
  22574. maxinvestornum:
  22575. description: 最大用户数(经纪会员下投资者个数)
  22576. type: integer
  22577. memberuserid:
  22578. description: 所属会员ID
  22579. type: integer
  22580. modifierid:
  22581. description: 修改人
  22582. type: integer
  22583. modifyremark:
  22584. description: 变更备注
  22585. type: string
  22586. modifystatus:
  22587. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  22588. type: integer
  22589. modifytime:
  22590. description: 修改时间
  22591. type: string
  22592. parenttopuser:
  22593. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  22594. type: string
  22595. parentuserid:
  22596. description: 所属机构ID
  22597. type: integer
  22598. reckonaccountid:
  22599. description: 默认结算资金账号ID(机构分润使用) 作废
  22600. type: integer
  22601. refercount:
  22602. description: 推荐总人数
  22603. type: integer
  22604. refereeuserid:
  22605. description: 推荐人ID
  22606. type: integer
  22607. refernum:
  22608. description: 推荐码
  22609. type: string
  22610. rootuserid:
  22611. description: 根用户ID
  22612. type: integer
  22613. subaccountlevel:
  22614. description: 子账户层数
  22615. type: integer
  22616. subarealevelpath:
  22617. description: 子机构层级路径(逗号分隔,首尾加逗号)
  22618. type: string
  22619. todayrefercount:
  22620. description: 今日推荐人数
  22621. type: integer
  22622. userid:
  22623. description: 用户ID
  22624. type: integer
  22625. usertype:
  22626. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  22627. type: integer
  22628. required:
  22629. - userid
  22630. type: object
  22631. models.Userfavoritegoods:
  22632. properties:
  22633. goodsid:
  22634. description: 商品ID
  22635. type: integer
  22636. required:
  22637. - goodsid
  22638. type: object
  22639. models.Userinfo:
  22640. properties:
  22641. address:
  22642. description: 地址
  22643. type: string
  22644. attachment1:
  22645. description: 附件1
  22646. type: string
  22647. attachment2:
  22648. description: 附件2
  22649. type: string
  22650. bankaccount:
  22651. description: 银行帐号 (加密存储)
  22652. type: string
  22653. bankaccountname:
  22654. description: 收款人名称
  22655. type: string
  22656. bankcardfrontphotourl:
  22657. description: 银行卡正面照地址
  22658. type: string
  22659. bankid:
  22660. description: 银行编码
  22661. type: string
  22662. bankname:
  22663. description: 银行名称
  22664. type: string
  22665. biznature:
  22666. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  22667. type: integer
  22668. bizscope:
  22669. description: 企业经营范围(企业)
  22670. type: string
  22671. cardbackphotourl:
  22672. description: 证件背面图片地址
  22673. type: string
  22674. cardfrontphotourl:
  22675. description: 证件正面图片地址
  22676. type: string
  22677. cardnum:
  22678. description: 证件号码(加密存储)
  22679. type: string
  22680. cardtypeid:
  22681. description: 证件类型ID
  22682. type: integer
  22683. city:
  22684. description: 市
  22685. type: string
  22686. cityid:
  22687. description: 市ID
  22688. type: integer
  22689. company:
  22690. description: 公司(个人)
  22691. type: string
  22692. contactname:
  22693. description: 联系人
  22694. type: string
  22695. countryid:
  22696. description: 国家
  22697. type: integer
  22698. createtime:
  22699. description: 创建时间
  22700. type: string
  22701. creatorid:
  22702. description: 创建人
  22703. type: integer
  22704. customername:
  22705. description: 客户名称(企业名称)
  22706. type: string
  22707. district:
  22708. description: 地区
  22709. type: string
  22710. districtid:
  22711. description: 地区ID
  22712. type: integer
  22713. email:
  22714. description: 邮件(加密存储)
  22715. type: string
  22716. fax:
  22717. description: 传真(加密存储)
  22718. type: string
  22719. halfbodyphotourl:
  22720. description: 半身照地址
  22721. type: string
  22722. hasencrypt:
  22723. description: 数据是否已加密 - 0:未加密 1:已加密
  22724. type: integer
  22725. headurl:
  22726. description: 头像地址
  22727. type: string
  22728. legalcardbackphotourl:
  22729. description: 法人身份证背面照地址
  22730. type: string
  22731. legalcardfrontphotourl:
  22732. description: 法人身份证正面照地址
  22733. type: string
  22734. legalpersonname:
  22735. description: 法人姓名(企业)
  22736. type: string
  22737. mobile:
  22738. description: 手机号码(加密存储)
  22739. type: string
  22740. mobile2:
  22741. description: 手机号码[明文-尚志]
  22742. type: string
  22743. modifierid:
  22744. description: 修改人
  22745. type: integer
  22746. modifiertime:
  22747. description: 修改时间
  22748. type: string
  22749. needinvoice:
  22750. description: 是否需要发票 - 0:不需要 1:需要
  22751. type: integer
  22752. nickname:
  22753. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  22754. type: string
  22755. openmode:
  22756. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  22757. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  22758. type: integer
  22759. otherurl:
  22760. description: 其它图片地址[使用分号分隔]
  22761. type: string
  22762. postalcode:
  22763. description: 邮政编码
  22764. type: string
  22765. province:
  22766. description: 省
  22767. type: string
  22768. provinceid:
  22769. description: 省ID
  22770. type: integer
  22771. qq:
  22772. description: QQ(加密存储
  22773. type: string
  22774. remark:
  22775. description: 备注
  22776. type: string
  22777. sex:
  22778. description: '用户性别 0: 女 1: 男'
  22779. type: integer
  22780. signpdfurl:
  22781. description: 签约pdf文件
  22782. type: string
  22783. telphone:
  22784. description: 联系电话(加密存储)
  22785. type: string
  22786. userid:
  22787. description: 用户ID
  22788. type: integer
  22789. userinfotype:
  22790. description: 用户信息类型 - 1:个人 2:企业
  22791. type: integer
  22792. userstatus:
  22793. description: 用户状态 - 1:正常 2:注销
  22794. type: integer
  22795. usertype:
  22796. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  22797. type: integer
  22798. wechat:
  22799. description: 微信(加密存储)
  22800. type: string
  22801. wskhinfo:
  22802. description: 开户申请信息(JSON)
  22803. type: string
  22804. required:
  22805. - userid
  22806. type: object
  22807. models.WRPositionReport:
  22808. properties:
  22809. accountid:
  22810. description: 帐户ID
  22811. type: integer
  22812. brandid:
  22813. description: 品牌ID(1交割品种升贴水参数表 AutoID) - 作废
  22814. type: integer
  22815. buylistinglot:
  22816. description: 买挂牌宗数
  22817. type: integer
  22818. buytradeamount:
  22819. description: 购买金额
  22820. type: number
  22821. buytradelot:
  22822. description: 购买宗数
  22823. type: integer
  22824. buytradeqty:
  22825. description: 购买数量
  22826. type: number
  22827. creditcurqty:
  22828. description: 授信当前数量
  22829. type: integer
  22830. creditfreezeqty:
  22831. description: 授信冻结数量
  22832. type: integer
  22833. credittotalqty:
  22834. description: 授信总数量
  22835. type: integer
  22836. credittradeqty:
  22837. description: 授信成交数量
  22838. type: integer
  22839. decreaseqty:
  22840. description: 今日减少数量
  22841. type: integer
  22842. deliverygoodsid:
  22843. description: 交割商品ID
  22844. type: integer
  22845. deliverymonthid:
  22846. description: 月份ID(1交割品种升贴水参数表 AutoID) - 作废
  22847. type: integer
  22848. freezeqty:
  22849. description: 总冻结数量
  22850. type: integer
  22851. increaseqty:
  22852. description: 今日增加数量
  22853. type: integer
  22854. marketvalue:
  22855. description: 市值
  22856. type: number
  22857. pickupqty:
  22858. description: 今日提货数量
  22859. type: integer
  22860. qualityid:
  22861. description: 品质ID(1交割品种升贴水参数表 AutoID) - 作废
  22862. type: integer
  22863. reckondate:
  22864. description: 日照时期(yyyyMMdd)
  22865. type: string
  22866. relatedqty:
  22867. description: 关联数量
  22868. type: integer
  22869. selllistingamount:
  22870. description: 卖挂牌金额
  22871. type: number
  22872. selllistinglot:
  22873. description: 卖挂牌宗数
  22874. type: integer
  22875. selllistingqty:
  22876. description: 卖挂牌数量
  22877. type: number
  22878. selltradeamount:
  22879. description: 销售金额
  22880. type: number
  22881. selltradelot:
  22882. description: 销售宗数
  22883. type: integer
  22884. selltradeqty:
  22885. description: 销售数量
  22886. type: number
  22887. specid:
  22888. description: 规格ID(1交割品种升贴水参数表 AutoID) - 作废
  22889. type: integer
  22890. totalprice:
  22891. description: 销售金额(¥)
  22892. type: number
  22893. totalqty:
  22894. description: 总数量
  22895. type: integer
  22896. totalweight:
  22897. description: 销售重量(ct)
  22898. type: number
  22899. tradewrqty:
  22900. description: 订单仓单头寸总数量
  22901. type: integer
  22902. transfertradewrqty:
  22903. description: 今日转订单数量
  22904. type: integer
  22905. warehouseid:
  22906. description: 仓库ID(1交割品种升贴水参数表 AutoID) - 作废
  22907. type: integer
  22908. wrfactortypeid:
  22909. description: 仓单要素类型ID
  22910. type: integer
  22911. wrpositionid:
  22912. description: 仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)
  22913. type: integer
  22914. wrstandardcode:
  22915. description: 现货商品代码
  22916. type: string
  22917. wrstandardid:
  22918. description: 现货商品ID
  22919. type: integer
  22920. wruserid:
  22921. description: 持有人ID
  22922. type: integer
  22923. zscategory:
  22924. description: 商品分类
  22925. type: integer
  22926. zscategorydisplay:
  22927. type: string
  22928. zscurrencytype:
  22929. description: 商品币种
  22930. type: integer
  22931. zscurrencytypedisplay:
  22932. type: string
  22933. zscurrencytypedisplayunit:
  22934. type: string
  22935. type: object
  22936. models.WRSConverTDetail:
  22937. properties:
  22938. convertratio:
  22939. description: 套保系数
  22940. type: number
  22941. deliverygoodscode:
  22942. description: 现货商品代码
  22943. type: string
  22944. deliverygoodsid:
  22945. description: 现货品种ID
  22946. type: integer
  22947. deliverygoodsname:
  22948. description: 现货商品名称
  22949. type: string
  22950. enumdicname:
  22951. description: 单位名称
  22952. type: string
  22953. goodsunitid:
  22954. description: 套保品种单位id
  22955. type: integer
  22956. middlegoodscode:
  22957. description: 套保品种代码
  22958. type: string
  22959. middlegoodsid:
  22960. description: 套保品种ID
  22961. type: integer
  22962. middlegoodsname:
  22963. description: 套保品种名称
  22964. type: string
  22965. modifytime:
  22966. description: 修改时间
  22967. type: string
  22968. wrstandardid:
  22969. description: 品类ID
  22970. type: integer
  22971. type: object
  22972. models.WRStandardInfo:
  22973. properties:
  22974. areauserid:
  22975. description: 所属机构
  22976. type: integer
  22977. convertfactor:
  22978. description: 标仓系数
  22979. type: number
  22980. createtime:
  22981. description: 创建时间
  22982. type: string
  22983. creatorid:
  22984. description: 创建人
  22985. type: integer
  22986. deliverygoodsid:
  22987. description: 品种ID
  22988. type: integer
  22989. deliverygoodsname:
  22990. description: 交割商品名称
  22991. type: string
  22992. factoryitemjson:
  22993. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  22994. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  22995. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  22996. 逗号分隔'
  22997. type: string
  22998. isvalid:
  22999. description: 是否有效 - 0:无效 1:有效
  23000. type: integer
  23001. minivalue:
  23002. description: 最小变动值
  23003. type: integer
  23004. minivaluedp:
  23005. description: 最小变动值小数位
  23006. type: integer
  23007. realminivalue:
  23008. description: 实际最小变动值
  23009. type: integer
  23010. realminivaluedp:
  23011. description: 实际最小变动值小数位
  23012. type: integer
  23013. remark:
  23014. description: 备注
  23015. type: string
  23016. unitid:
  23017. description: 单位ID
  23018. type: integer
  23019. unitname:
  23020. description: 单位
  23021. type: string
  23022. updatetime:
  23023. description: 更新时间
  23024. type: string
  23025. updatorid:
  23026. description: 更新人
  23027. type: integer
  23028. wrsstatus:
  23029. description: 状态 - 作废 - 0:未激活 1:正常
  23030. type: integer
  23031. wrstandardcode:
  23032. description: 现货品类代码
  23033. type: string
  23034. wrstandardid:
  23035. description: 现货品类ID(SEQ_WRSTANDARD)
  23036. type: integer
  23037. wrstandardname:
  23038. description: 现货品类名称
  23039. type: string
  23040. required:
  23041. - wrstandardid
  23042. type: object
  23043. models.WRTradeBargainApply:
  23044. properties:
  23045. accountid:
  23046. description: 摘牌资金账号
  23047. type: integer
  23048. applyprice:
  23049. description: 申请价格(议价价格)
  23050. type: string
  23051. applyqty:
  23052. description: 摘牌数量(议价数量)
  23053. type: number
  23054. applyremark:
  23055. description: 申请备注
  23056. type: string
  23057. applystatus:
  23058. description: 申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  23059. type: integer
  23060. applytime:
  23061. description: 申请时间(议价时间)
  23062. type: string
  23063. begindate:
  23064. description: 开始交易日(yyyymmdd)
  23065. type: string
  23066. buyorsell:
  23067. description: 买卖(挂牌类型) - 0:买 1:卖
  23068. type: integer
  23069. confirmremark:
  23070. description: 确认备注
  23071. type: string
  23072. confirmtime:
  23073. description: 确认时间
  23074. type: string
  23075. confirmuserid:
  23076. description: 确认人
  23077. type: integer
  23078. deliverygoodscode:
  23079. description: 品种代码
  23080. type: string
  23081. deliverygoodsid:
  23082. description: 品种ID
  23083. type: integer
  23084. deliverygoodsname:
  23085. description: 品种名称
  23086. type: string
  23087. deliverymonth:
  23088. description: 交收月
  23089. type: string
  23090. enddate:
  23091. description: 结束交易日(yyyymmdd)
  23092. type: string
  23093. enumdicname:
  23094. description: 单位名称
  23095. type: string
  23096. fixedprice:
  23097. description: 挂牌价格
  23098. type: number
  23099. handlestatus:
  23100. description: 处理状态
  23101. type: integer
  23102. marginvalue:
  23103. description: 履约保证金比例
  23104. type: number
  23105. marketid:
  23106. description: 市场ID
  23107. type: integer
  23108. matchaccountid:
  23109. description: 挂牌方资金账号
  23110. type: integer
  23111. matchuserid:
  23112. description: 挂牌方用户id
  23113. type: integer
  23114. matchusername:
  23115. description: 挂牌方用户名称(已脱敏)
  23116. type: string
  23117. minivalue:
  23118. description: 现货商品最小变动值
  23119. type: integer
  23120. optioncompare:
  23121. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  23122. type: string
  23123. orderqty:
  23124. description: 挂牌数量
  23125. type: integer
  23126. refprice:
  23127. description: 参考价格
  23128. type: string
  23129. retcode:
  23130. description: 委托返回代码
  23131. type: integer
  23132. templatename:
  23133. description: 履约方式(履约模板名称)
  23134. type: string
  23135. tradedate:
  23136. description: 交易日(yyyyMMdd)
  23137. type: string
  23138. userid:
  23139. description: 摘牌人用户ID(议价人ID)
  23140. type: integer
  23141. username:
  23142. description: 议价人名字(已脱敏)
  23143. type: string
  23144. validtime:
  23145. description: 有效期限
  23146. type: string
  23147. warehouseid:
  23148. description: 仓库ID
  23149. type: integer
  23150. warehousename:
  23151. description: 仓库名称
  23152. type: string
  23153. wrbargainid:
  23154. description: 议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)
  23155. type: string
  23156. wrfactortypeid:
  23157. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  23158. type: string
  23159. wrfactortypename:
  23160. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  23161. type: string
  23162. wrstandardcode:
  23163. description: 现货商品代码
  23164. type: string
  23165. wrstandardid:
  23166. description: 现货商品ID
  23167. type: integer
  23168. wrstandardname:
  23169. description: 商品名称
  23170. type: string
  23171. wrtradeorderid:
  23172. description: 关联委托单ID
  23173. type: string
  23174. wrtypename:
  23175. description: 商品
  23176. type: string
  23177. type: object
  23178. models.Warehouseinfo:
  23179. properties:
  23180. address:
  23181. description: 详细地址
  23182. type: string
  23183. areauserid:
  23184. description: 所属机构
  23185. type: integer
  23186. autoid:
  23187. description: 自增ID
  23188. type: integer
  23189. cityid:
  23190. description: 市
  23191. type: integer
  23192. contactname:
  23193. description: 联系人
  23194. type: string
  23195. contactnum:
  23196. description: 联系电话
  23197. type: string
  23198. countryid:
  23199. description: 国家
  23200. type: integer
  23201. createtime:
  23202. description: 创建时间
  23203. type: string
  23204. districtid:
  23205. description: 区
  23206. type: integer
  23207. hasvideo:
  23208. description: 是否有视频 - 0:无 1:有
  23209. type: integer
  23210. provinceid:
  23211. description: 省
  23212. type: integer
  23213. remark:
  23214. description: 审核备注
  23215. type: string
  23216. videourl:
  23217. description: 视频地址
  23218. type: string
  23219. warehousecode:
  23220. description: 仓库代码
  23221. type: string
  23222. warehousename:
  23223. description: 仓库名称
  23224. type: string
  23225. warehousestatus:
  23226. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  23227. type: integer
  23228. warehousetype:
  23229. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  23230. type: integer
  23231. required:
  23232. - autoid
  23233. - warehousecode
  23234. type: object
  23235. models.WrAverageTradePrice:
  23236. properties:
  23237. averageprice:
  23238. description: 成交均价
  23239. type: number
  23240. tradedate:
  23241. description: 交易日yyyymm
  23242. type: string
  23243. type: object
  23244. models.WrBrandAndYears:
  23245. properties:
  23246. brandlst:
  23247. description: 品牌列表
  23248. items:
  23249. $ref: '#/definitions/models.DgFactoryItem'
  23250. type: array
  23251. yearslst:
  23252. description: 年份列表
  23253. items:
  23254. $ref: '#/definitions/models.DgFactoryItem'
  23255. type: array
  23256. type: object
  23257. models.WrBsGoodsInfo:
  23258. properties:
  23259. buyorsell:
  23260. description: 买卖方向 0-买 1-卖
  23261. type: integer
  23262. goodsid:
  23263. description: 交易合约ID
  23264. type: integer
  23265. lstitem:
  23266. description: 商品信息项
  23267. items:
  23268. $ref: '#/definitions/models.WrTypeItem'
  23269. type: array
  23270. lststep:
  23271. description: 履约规则
  23272. items:
  23273. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  23274. type: array
  23275. type: object
  23276. models.WrBuybackDetail:
  23277. properties:
  23278. buybackamount:
  23279. description: 回购金额
  23280. type: number
  23281. buybackqty:
  23282. description: 回购数量
  23283. type: number
  23284. buybackreleasemargin:
  23285. description: 回购释放保证金
  23286. type: number
  23287. buybacktime:
  23288. description: 回购时间
  23289. type: string
  23290. errordesc:
  23291. description: 错误描述
  23292. type: string
  23293. handlestatus:
  23294. description: 处理 - 1:待处理 2:处理成功 3:处理失败
  23295. type: integer
  23296. relatedwrid:
  23297. description: 关联仓单ID
  23298. type: integer
  23299. scfcontractid:
  23300. description: SCF合同ID
  23301. type: string
  23302. scfwrbuybackid:
  23303. description: SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)
  23304. type: integer
  23305. tradedate:
  23306. description: 交易日(yyyyMMdd)
  23307. type: string
  23308. type: object
  23309. models.WrClientAdSpaceConfig:
  23310. properties:
  23311. adspaceid:
  23312. description: 广告位ID
  23313. type: integer
  23314. adspacename:
  23315. description: 广告位名称
  23316. type: string
  23317. adspacetype:
  23318. description: 广告位类型 - 1:固定广告位
  23319. type: integer
  23320. areauserid:
  23321. description: 所属机构ID
  23322. type: integer
  23323. createdate:
  23324. description: 创建时间
  23325. type: string
  23326. imagepath:
  23327. description: 图片
  23328. type: string
  23329. modifierid:
  23330. description: 操作人
  23331. type: integer
  23332. recsize:
  23333. description: 推荐尺寸
  23334. type: string
  23335. title:
  23336. description: 标题
  23337. type: string
  23338. updatedate:
  23339. description: 更新时间
  23340. type: string
  23341. urlcontent:
  23342. description: 链接(地址\商品ID\功能菜单Key\appid)
  23343. type: string
  23344. urltype:
  23345. description: 链接类型 - 0:无 1:直接地址 2:商品ID 3:图片详情 4:App功能 5:微信小程序
  23346. type: integer
  23347. type: object
  23348. models.WrDeliveryAvalidHoldLB:
  23349. properties:
  23350. accountid:
  23351. description: 资金账号
  23352. type: integer
  23353. avalidqty:
  23354. description: 数量(可点选数量)
  23355. type: number
  23356. deliverygoodsid:
  23357. description: 品种id
  23358. type: integer
  23359. enumdicname:
  23360. description: 单位名称
  23361. type: string
  23362. goodsid:
  23363. description: x合约商品id
  23364. type: integer
  23365. ladingbillid:
  23366. description: 提单id
  23367. type: string
  23368. pgoodscode:
  23369. description: p商品代码(点价合约)
  23370. type: string
  23371. pgoodsid:
  23372. description: p商品id(点价合约)
  23373. type: integer
  23374. pgoodsname:
  23375. description: p商品名称(点价合约)
  23376. type: string
  23377. pricemove:
  23378. description: 升贴水
  23379. type: number
  23380. subnum:
  23381. description: 提单子id
  23382. type: integer
  23383. userid:
  23384. description: 用户id
  23385. type: integer
  23386. username:
  23387. description: 仓单持有人
  23388. type: string
  23389. warehousecode:
  23390. description: 仓库代码
  23391. type: string
  23392. warehouseid:
  23393. description: 仓库id
  23394. type: integer
  23395. warehousename:
  23396. description: 仓库名称
  23397. type: string
  23398. wrfactortypeid:
  23399. description: 仓单要素id
  23400. type: string
  23401. wrstandardcode:
  23402. description: 品代码
  23403. type: string
  23404. wrstandardid:
  23405. description: 品类d
  23406. type: integer
  23407. wrstandardname:
  23408. description: 品类名称
  23409. type: string
  23410. wrtypename:
  23411. description: 商品
  23412. type: string
  23413. xgoodscode:
  23414. description: x合约代码
  23415. type: string
  23416. xgoodsname:
  23417. description: x合约名称
  23418. type: string
  23419. type: object
  23420. models.WrDeliveryDetail:
  23421. properties:
  23422. accountid:
  23423. description: 账号ID
  23424. type: integer
  23425. averageprice:
  23426. description: 交割均价 = 交割金额 / 交割数量
  23427. type: number
  23428. begindate:
  23429. description: 开始交易日(yyyymmdd)
  23430. type: string
  23431. buyorsell:
  23432. description: 方向 - 0:买 1:卖
  23433. type: integer
  23434. deliveryamount:
  23435. description: 货款金额(X总货款+P总货款)
  23436. type: number
  23437. deliveryid:
  23438. description: 交割单号(121+Unix秒时间戳(10位)+xxxxxx)
  23439. type: string
  23440. deliveryorderid:
  23441. description: 申报单号
  23442. type: string
  23443. deliverypricemove:
  23444. description: 升贴水(升贴水总额)
  23445. type: number
  23446. deliveryqty:
  23447. description: 交收数量(点选数量)
  23448. type: number
  23449. deliverystatus:
  23450. description: 状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成
  23451. type: integer
  23452. deliverytime:
  23453. description: 交割时间
  23454. type: string
  23455. deliverytotalamount:
  23456. description: 交收金额
  23457. type: number
  23458. enddate:
  23459. description: 结束交易日(yyyymmdd)
  23460. type: string
  23461. enumdicname:
  23462. description: 单位名称
  23463. type: string
  23464. matchaccountid:
  23465. description: 对手账号ID
  23466. type: integer
  23467. matchusername:
  23468. description: 对手方名称(仓单持有人)
  23469. type: string
  23470. p1goodsremainamount:
  23471. description: 点价货款 ps:当PPRICEMODE=2时, 界面需显示"-"
  23472. type: number
  23473. pdeliverycloseqty:
  23474. description: p合约平仓数量
  23475. type: number
  23476. pdeliveryprice:
  23477. description: 点价价格 ps:当PPRICEMODE=2时, 界面需显示"-"
  23478. type: number
  23479. pgoodscode:
  23480. description: 商品代码
  23481. type: string
  23482. pgoodsid:
  23483. description: p点选合约id
  23484. type: integer
  23485. pgoodsname:
  23486. description: 商品名称
  23487. type: string
  23488. ppricemode:
  23489. description: 点价价格方式 - 1:商品价 2:固定值
  23490. type: integer
  23491. remaintotalamount:
  23492. description: 实际剩余总货款 = (X、P剩余总货款 + 升贴水总额) * (实际成交数量/交割数量)
  23493. type: number
  23494. tradedate:
  23495. description: 交易日(yyyymmdd)
  23496. type: string
  23497. userid:
  23498. description: 用户id
  23499. type: integer
  23500. username:
  23501. description: 用户名称
  23502. type: string
  23503. warehousename:
  23504. description: 仓库名称
  23505. type: string
  23506. wrfactortypeid:
  23507. description: 仓单要素类型ID
  23508. type: string
  23509. wrtypename:
  23510. description: 商品
  23511. type: string
  23512. xdeliverycloseqty:
  23513. description: 合约数量
  23514. type: number
  23515. xdeliveryprice:
  23516. description: 交易合约交割价
  23517. type: number
  23518. xgoodsamount:
  23519. description: 合约金额 = 货款金额(DELIVERYAMOUNT) - 点价货款(P1GOODSREMAINAMOUNT)
  23520. type: number
  23521. xgoodscode:
  23522. description: 商品代码
  23523. type: string
  23524. xgoodsid:
  23525. description: x交易合约ID
  23526. type: integer
  23527. xgoodsname:
  23528. description: 商品名称
  23529. type: string
  23530. xgoodsremainamount:
  23531. description: X剩余总货款
  23532. type: number
  23533. type: object
  23534. models.WrDeliveryGoodsSection:
  23535. properties:
  23536. dglst:
  23537. description: 板块商品列表
  23538. items:
  23539. $ref: '#/definitions/models.WrDeliveryGoodsSectionConfig'
  23540. type: array
  23541. imagepath:
  23542. description: 图片地址
  23543. type: string
  23544. orderindex:
  23545. description: 排序
  23546. type: integer
  23547. sectionid:
  23548. description: 版块ID (SEQ_DELIVERYGOODSSECTION) - 自增100开始, 前面ID预留给SectionType
  23549. = 1的版块1 - 云融指数
  23550. type: integer
  23551. sectionname:
  23552. description: 版块名称
  23553. type: string
  23554. sectiontype:
  23555. description: 版块类型 - 1:指数版块 2:普通版块
  23556. type: integer
  23557. type: object
  23558. models.WrDeliveryGoodsSectionConfig:
  23559. properties:
  23560. deliverygoodscode:
  23561. description: 现货商品代码
  23562. type: string
  23563. deliverygoodsid:
  23564. description: 现货品种ID(SEQ_DELIVERYGOODS)
  23565. type: integer
  23566. deliverygoodsname:
  23567. description: 现货商品名称
  23568. type: string
  23569. orderindex:
  23570. description: 排序
  23571. type: integer
  23572. type: object
  23573. models.WrDraftUserInfo:
  23574. properties:
  23575. address:
  23576. description: 地址
  23577. type: string
  23578. attachment1:
  23579. description: 附件1
  23580. type: string
  23581. attachment2:
  23582. description: 附件2
  23583. type: string
  23584. attachment3:
  23585. description: 附件3
  23586. type: string
  23587. attachment4:
  23588. description: 附件4
  23589. type: string
  23590. attachment5:
  23591. description: 附件5
  23592. type: string
  23593. bankaccount:
  23594. description: 银行帐号 (加密存储)
  23595. type: string
  23596. bankaccountname:
  23597. description: 收款人名称
  23598. type: string
  23599. bankcardfrontphotourl:
  23600. description: 银行卡正面照地址
  23601. type: string
  23602. bankid:
  23603. description: 银行编码
  23604. type: string
  23605. bankname:
  23606. description: 银行名称
  23607. type: string
  23608. birthday:
  23609. description: 生日(个人:年月日)
  23610. type: string
  23611. biznature:
  23612. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  23613. type: integer
  23614. bizscope:
  23615. description: 企业经营范围(企业)
  23616. type: string
  23617. biztype:
  23618. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  23619. type: integer
  23620. cardbackphotourl:
  23621. description: 证件背面图片地址
  23622. type: string
  23623. cardfrontphotourl:
  23624. description: 证件正面图片地址
  23625. type: string
  23626. cardnum:
  23627. description: 证件号码(加密存储)
  23628. type: string
  23629. cardtypeid:
  23630. description: 证件类型ID
  23631. type: integer
  23632. cityid:
  23633. description: 市
  23634. type: integer
  23635. company:
  23636. description: 公司(个人)
  23637. type: string
  23638. contactcardbackphotourl:
  23639. description: 联系人证件背面图片地址
  23640. type: string
  23641. contactcardfrontphotourl:
  23642. description: 联系人证件正面图片地址
  23643. type: string
  23644. contactname:
  23645. description: 联系人
  23646. type: string
  23647. countryid:
  23648. description: 国家
  23649. type: integer
  23650. createtime:
  23651. description: 创建时间
  23652. type: string
  23653. creatorid:
  23654. description: 创建人
  23655. type: integer
  23656. creditquota:
  23657. description: 授信额度(金瑞)
  23658. type: number
  23659. customername:
  23660. description: 客户名称(企业名称)
  23661. type: string
  23662. districtid:
  23663. description: 地区
  23664. type: integer
  23665. email:
  23666. description: 邮件(加密存储)
  23667. type: string
  23668. fax:
  23669. description: 传真(加密存储)
  23670. type: string
  23671. halfbodyphotourl:
  23672. description: 半身照地址
  23673. type: string
  23674. hasencrypt:
  23675. description: 数据是否已加密 - 0:未加密 1:已加密
  23676. type: integer
  23677. headurl:
  23678. description: 头像地址
  23679. type: string
  23680. legalcardbackphotourl:
  23681. description: 法人身份证背面照地址
  23682. type: string
  23683. legalcardfrontphotourl:
  23684. description: 法人身份证正面照地址
  23685. type: string
  23686. legalpersonname:
  23687. description: 法人姓名(企业)
  23688. type: string
  23689. mobile:
  23690. description: 手机号码(加密存储)
  23691. type: string
  23692. mobile2:
  23693. description: 手机号码[明文-尚志]
  23694. type: string
  23695. modifierid:
  23696. description: 修改人
  23697. type: integer
  23698. modifiertime:
  23699. description: 修改时间
  23700. type: string
  23701. needinvoice:
  23702. description: 是否需要发票 - 0:不需要 1:需要
  23703. type: integer
  23704. nickname:
  23705. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  23706. type: string
  23707. openmode:
  23708. description: "开户方式 - 1:管理端开户 2\t:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  23709. 6:苹果手机端注册 7:PC交易端注册"
  23710. type: integer
  23711. otherurl:
  23712. description: 其它图片地址[使用分号分隔]
  23713. type: string
  23714. postalcode:
  23715. description: 邮政编码
  23716. type: string
  23717. provinceid:
  23718. description: 省
  23719. type: integer
  23720. proxystatementurl:
  23721. description: 授权委托书
  23722. type: string
  23723. qq:
  23724. description: QQ(加密存储
  23725. type: string
  23726. remark:
  23727. description: 备注
  23728. type: string
  23729. sex:
  23730. description: '用户性别 0: 女 1: 男'
  23731. type: integer
  23732. signpdfurl:
  23733. description: 签约pdf文件
  23734. type: string
  23735. taxpayernum:
  23736. description: 纳税人识别号
  23737. type: string
  23738. telphone:
  23739. description: 联系电话(加密存储)
  23740. type: string
  23741. userid:
  23742. description: 用户ID
  23743. type: integer
  23744. userinfotype:
  23745. description: 用户信息类型 - 1:个人 2:企业
  23746. type: integer
  23747. userstatus:
  23748. description: 用户状态 - 1:正常 2:注销
  23749. type: integer
  23750. usertype:
  23751. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者
  23752. type: integer
  23753. wechat:
  23754. description: 微信(加密存储)
  23755. type: string
  23756. wskhinfo:
  23757. description: 开户申请信息(JSON)
  23758. type: string
  23759. type: object
  23760. models.WrFAProductDetail:
  23761. properties:
  23762. accountid:
  23763. description: 资金账号
  23764. type: integer
  23765. areauserid:
  23766. description: 金融机构ID
  23767. type: integer
  23768. financingdays:
  23769. description: 天数(天)
  23770. type: integer
  23771. interestminlen:
  23772. description: 最小起息天数
  23773. type: integer
  23774. interestrate:
  23775. description: 利率
  23776. type: number
  23777. interestratemode:
  23778. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  23779. type: integer
  23780. interestsettlemode:
  23781. description: 结息方式 - 1:按日结息 3:按月结息
  23782. type: integer
  23783. interestsettlevalue:
  23784. description: 结息方式值
  23785. type: integer
  23786. isautoloan:
  23787. description: 是否自动放款 0-手动 1-自动 (当为自动放款时,显示"放款快")
  23788. type: integer
  23789. loantag:
  23790. description: '放款标识: "放款快" 或者为空'
  23791. type: string
  23792. marginratio:
  23793. description: 保证金比率质押率 - [仓单质押]
  23794. type: number
  23795. productdetailid:
  23796. description: 产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)
  23797. type: integer
  23798. productid:
  23799. description: 金融产品ID
  23800. type: integer
  23801. productname:
  23802. description: 产品名称
  23803. type: string
  23804. updatetime:
  23805. description: 更新时间
  23806. type: string
  23807. username:
  23808. description: 融出方
  23809. type: string
  23810. type: object
  23811. models.WrFactorTypeInfo:
  23812. properties:
  23813. deliverygoodscode:
  23814. description: 品种代码
  23815. type: string
  23816. deliverygoodsname:
  23817. description: 品种名称
  23818. type: string
  23819. dgfactoryitemid:
  23820. description: 选择项id
  23821. type: integer
  23822. dgfactoryitemtypeid:
  23823. description: 要素选择项ID (1-仓库 2-品牌)
  23824. type: integer
  23825. dgfactoryitemvalue:
  23826. description: 要素项值
  23827. type: string
  23828. itemtypename:
  23829. description: 要素项名称
  23830. type: string
  23831. optioncompare:
  23832. description: 选择比较串
  23833. type: string
  23834. warehouseid:
  23835. description: 仓库id
  23836. type: integer
  23837. wrfactortypeid:
  23838. description: 仓单要素ID
  23839. type: string
  23840. wrfactortypename:
  23841. description: 要素名称
  23842. type: string
  23843. wrfactortypename2:
  23844. description: 要素名称(不含仓库)
  23845. type: string
  23846. wrstandardcode:
  23847. description: 品类代码
  23848. type: string
  23849. wrstandardid:
  23850. description: 品类id
  23851. type: integer
  23852. wrstandardname:
  23853. description: 品类名称
  23854. type: string
  23855. type: object
  23856. models.WrFilterItem:
  23857. properties:
  23858. itemcode:
  23859. description: 代码
  23860. type: string
  23861. itemid:
  23862. description: 项id
  23863. type: integer
  23864. itemname:
  23865. description: 名称
  23866. type: string
  23867. itemtype:
  23868. description: 类型 1-品种 2-品类(商品) 3-仓库
  23869. type: integer
  23870. type: object
  23871. models.WrFinanceBuyApply:
  23872. properties:
  23873. applydate:
  23874. description: 申请时间
  23875. type: string
  23876. applystatus:
  23877. description: 申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败
  23878. type: integer
  23879. applyuserid:
  23880. description: 申请人
  23881. type: integer
  23882. auditdate:
  23883. description: 审核时间
  23884. type: string
  23885. auditremark:
  23886. description: 审核备注
  23887. type: string
  23888. audituserid:
  23889. description: 审核人
  23890. type: integer
  23891. buyaccountid:
  23892. description: 买方资金账号
  23893. type: integer
  23894. buyorsell:
  23895. description: 买卖 - 0:买 1:卖
  23896. type: integer
  23897. buyuserid:
  23898. description: 买方用户ID
  23899. type: integer
  23900. buyusername:
  23901. description: 买方名称
  23902. type: string
  23903. buywrtradeorderid:
  23904. description: 融资方买委托单ID
  23905. type: string
  23906. deliverygoodscode:
  23907. description: 品种代码
  23908. type: string
  23909. deliverygoodsid:
  23910. description: 品种ID
  23911. type: integer
  23912. deliverygoodsname:
  23913. description: 品种名称
  23914. type: string
  23915. deliverymonth:
  23916. description: 交收月(yyyy-MM) [无仓单HasWR =0]
  23917. type: string
  23918. enumdicname:
  23919. description: 单位名称
  23920. type: string
  23921. financeaccountid:
  23922. description: 融资方资金帐户ID
  23923. type: integer
  23924. financeapplyid:
  23925. description: 融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)
  23926. type: string
  23927. financeareauserid:
  23928. description: 融资方用户ID
  23929. type: string
  23930. financename:
  23931. description: 融出方名称
  23932. type: string
  23933. financetype:
  23934. description: 融资类型 1-融资回购
  23935. type: integer
  23936. financingdays:
  23937. description: 天数(天)
  23938. type: integer
  23939. freezebuymargin:
  23940. description: 冻结融资保证金(买方)
  23941. type: number
  23942. handleremark:
  23943. description: 处理备注
  23944. type: string
  23945. handlestatus:
  23946. description: 处理状态
  23947. type: integer
  23948. interestminlen:
  23949. description: 最小起息天数
  23950. type: integer
  23951. interestrate:
  23952. description: 利率
  23953. type: number
  23954. interestratemode:
  23955. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  23956. type: integer
  23957. interestsettlemode:
  23958. description: 结息方式 - 1:按日结息 3:按月结息
  23959. type: integer
  23960. interestsettlevalue:
  23961. description: 结息方式值
  23962. type: integer
  23963. isautoloan:
  23964. description: 是否自动放款 - 0:手动 1:自动
  23965. type: integer
  23966. marginratio:
  23967. description: 保证金比率质押率 - [仓单质押]
  23968. type: number
  23969. marketid:
  23970. description: 市场ID
  23971. type: integer
  23972. minivalue:
  23973. description: 现货商品最小变动值
  23974. type: integer
  23975. optioncompare:
  23976. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  23977. type: string
  23978. orderqty:
  23979. description: 委托数量(商品数量)
  23980. type: number
  23981. productdetailid:
  23982. description: 产品组合ID
  23983. type: integer
  23984. productid:
  23985. description: 金融产品ID
  23986. type: integer
  23987. productname:
  23988. description: 产品名称
  23989. type: string
  23990. remark:
  23991. description: 备注
  23992. type: string
  23993. scfcontractid:
  23994. description: 仓单回购合同ID
  23995. type: string
  23996. sellaccountid:
  23997. description: 卖方资金账号
  23998. type: integer
  23999. selluserid:
  24000. description: 卖方用户ID
  24001. type: integer
  24002. sellwrtradeorderid:
  24003. description: 卖方委托单ID
  24004. type: string
  24005. tradeamount:
  24006. description: 成交金额(借款金额)
  24007. type: number
  24008. tradedate:
  24009. description: 交易日(yyyyMMdd)
  24010. type: string
  24011. tradeprice:
  24012. description: 成交价格
  24013. type: number
  24014. warehouseid:
  24015. description: 仓库ID
  24016. type: integer
  24017. warehousename:
  24018. description: 仓库名称
  24019. type: string
  24020. wrfactortypeid:
  24021. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  24022. type: string
  24023. wrfactortypename:
  24024. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  24025. type: string
  24026. wrpricetype:
  24027. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌单]
  24028. type: integer
  24029. wrstandardcode:
  24030. description: 现货商品代码
  24031. type: string
  24032. wrstandardid:
  24033. description: 现货商品ID
  24034. type: integer
  24035. wrstandardname:
  24036. description: 商品名称
  24037. type: string
  24038. wrtypename:
  24039. description: 商品
  24040. type: string
  24041. type: object
  24042. models.WrFriendApply:
  24043. properties:
  24044. applicantid:
  24045. description: 申请人
  24046. type: integer
  24047. applyname:
  24048. description: 申请人名称
  24049. type: string
  24050. applysrc:
  24051. description: 申请来源 - 1:管理端 2:终端
  24052. type: integer
  24053. applystatus:
  24054. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  24055. type: integer
  24056. applytime:
  24057. description: 申请时间
  24058. type: string
  24059. auditname:
  24060. description: 审核人名称
  24061. type: string
  24062. auditorid:
  24063. description: 审核人
  24064. type: integer
  24065. auditremark:
  24066. description: 审核备注
  24067. type: string
  24068. auditsrc:
  24069. description: 审核来源 - 1:管理端 2:终端
  24070. type: integer
  24071. audittime:
  24072. description: 审核时间
  24073. type: string
  24074. friendapplyid:
  24075. description: 申请ID(SEQ_FRIENDAPPLY)
  24076. type: string
  24077. friendname:
  24078. description: 好友名字(已脱敏)
  24079. type: string
  24080. frienduserid:
  24081. description: 好友用户ID
  24082. type: string
  24083. remark:
  24084. description: 备注
  24085. type: string
  24086. userid:
  24087. description: 申请人用户ID
  24088. type: integer
  24089. type: object
  24090. models.WrFtDeliveryGoods:
  24091. properties:
  24092. deliverygoodscode:
  24093. description: 品种代码
  24094. type: string
  24095. deliverygoodsid:
  24096. description: 品种ID
  24097. type: integer
  24098. deliverygoodsname:
  24099. description: 品种名称
  24100. type: string
  24101. wdlst:
  24102. description: 商品列表
  24103. items:
  24104. $ref: '#/definitions/models.WrFtWrstandard'
  24105. type: array
  24106. type: object
  24107. models.WrFtWrstandard:
  24108. properties:
  24109. enumdicname:
  24110. description: 单位名称
  24111. type: string
  24112. minivalue:
  24113. description: 最小变动值
  24114. type: integer
  24115. wrstandardcode:
  24116. description: 现货商品代码
  24117. type: string
  24118. wrstandardid:
  24119. description: 现货商品ID
  24120. type: integer
  24121. wrstandardname:
  24122. description: 商品名称
  24123. type: string
  24124. type: object
  24125. models.WrGoodsInfo:
  24126. properties:
  24127. haswr:
  24128. description: 0:仓单预售 1:仓单贸易
  24129. type: integer
  24130. lstitem:
  24131. description: 商品信息项
  24132. items:
  24133. $ref: '#/definitions/models.WrTypeItem'
  24134. type: array
  24135. lststep:
  24136. description: 履约规则
  24137. items:
  24138. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  24139. type: array
  24140. marketid:
  24141. description: 市场id
  24142. type: integer
  24143. type: object
  24144. models.WrGoodsPerformanceStep:
  24145. properties:
  24146. autoid:
  24147. description: AutoID
  24148. type: integer
  24149. isauto:
  24150. description: 是否自动 - 0:不自动 1:自动
  24151. type: integer
  24152. remark:
  24153. description: 备注
  24154. type: string
  24155. stepdate:
  24156. description: 天数信息(T+N)
  24157. type: string
  24158. stepdays:
  24159. description: 距离上一步天数
  24160. type: integer
  24161. stepindex:
  24162. description: 步骤序号
  24163. type: integer
  24164. stepinfo:
  24165. description: 步骤信息(步骤名称+步骤值)
  24166. type: string
  24167. steptypeid:
  24168. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  24169. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  24170. type: integer
  24171. steptypename:
  24172. description: 步骤名称
  24173. type: string
  24174. stepvalue:
  24175. description: 步骤值
  24176. type: number
  24177. templateid:
  24178. description: 履约计划模板ID
  24179. type: integer
  24180. type: object
  24181. models.WrHoldLB:
  24182. properties:
  24183. accountid:
  24184. description: 持有人帐户ID
  24185. type: integer
  24186. bannerpicurl:
  24187. description: Banner图
  24188. type: string
  24189. createtime:
  24190. description: 创建时间(过户时间)
  24191. type: string
  24192. deliverygoodscode:
  24193. description: 品种代码
  24194. type: string
  24195. deliverygoodsid:
  24196. description: 品种ID
  24197. type: integer
  24198. deliverygoodsname:
  24199. description: 品种名称
  24200. type: string
  24201. enableqty:
  24202. description: 可用数量
  24203. type: number
  24204. enumdicname:
  24205. description: 单位名称
  24206. type: string
  24207. freezerqty:
  24208. description: 冻结数量
  24209. type: number
  24210. ladingbillid:
  24211. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  24212. type: string
  24213. minivalue:
  24214. description: 现货商品最小变动值
  24215. type: integer
  24216. optioncompare:
  24217. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  24218. type: string
  24219. parentsubnum:
  24220. description: 拆分父子单号
  24221. type: integer
  24222. pledgeqty:
  24223. description: 质押数量
  24224. type: number
  24225. qty:
  24226. description: 数量
  24227. type: number
  24228. spotgoodsprice:
  24229. description: 参考价(THJ)
  24230. type: number
  24231. subnum:
  24232. description: 提单子单号
  24233. type: integer
  24234. thumurls:
  24235. description: 缩略图
  24236. type: string
  24237. tradedate:
  24238. description: 交易日(yyyyMMdd)
  24239. type: string
  24240. userid:
  24241. description: 持有人ID
  24242. type: integer
  24243. warehouseid:
  24244. description: 仓库ID
  24245. type: integer
  24246. warehousename:
  24247. description: 仓库名称
  24248. type: string
  24249. wrfactortypeid:
  24250. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  24251. type: string
  24252. wrfactortypename:
  24253. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  24254. type: string
  24255. wrholdeno:
  24256. description: 仓单编号
  24257. type: string
  24258. wrid:
  24259. description: 仓单变更ID
  24260. type: string
  24261. wrstandardcode:
  24262. description: 现货商品代码
  24263. type: string
  24264. wrstandardid:
  24265. description: 现货商品ID
  24266. type: integer
  24267. wrstandardname:
  24268. description: 商品名称
  24269. type: string
  24270. wrtypename:
  24271. description: 商品
  24272. type: string
  24273. type: object
  24274. models.WrMarketTradeConfig:
  24275. properties:
  24276. basisdownratio:
  24277. description: 浮动价基差下限比例(仓单贸易)
  24278. type: number
  24279. basisupratio:
  24280. description: 浮动价基差上限比例(仓单贸易)
  24281. type: number
  24282. buychargealgorithm:
  24283. description: 买方手续费收取方式 1:比率 2:固定
  24284. type: integer
  24285. buychargealgorithm2:
  24286. description: 回购买方手续费收取方式 1:比率 2:固定 --77:现货商城
  24287. type: integer
  24288. buychargealgorithmvalue:
  24289. description: 买方手续费设置值(交易所部分)
  24290. type: number
  24291. buychargealgorithmvalue2:
  24292. description: 买方手续费设置值(会员部分)
  24293. type: number
  24294. buychargealgorithmvalue3:
  24295. description: 回购买方手续费设置值(交易所部分) --77:现货商城
  24296. type: number
  24297. buychargealgorithmvalue4:
  24298. description: 回购买方手续费设置值(会员部分) --77:现货商城
  24299. type: number
  24300. buyfirstmarginalgorithm:
  24301. description: 买方出价保证金方式 - 1:比率 2:固定 - [竞拍]
  24302. type: integer
  24303. buyfirstmarginvalue:
  24304. description: 买方出价保证金设置值 - [竞拍]
  24305. type: number
  24306. buymarginalgorithm:
  24307. description: 买方保证金方式 - 1:比率 2:固定
  24308. type: integer
  24309. buymarginvalue:
  24310. description: 买方保证金设置值
  24311. type: number
  24312. buyreleaseratio:
  24313. description: 买方释放比率[2:分步履约]
  24314. type: number
  24315. executemode:
  24316. description: 执行方式[2:分步履约] - 1:顺序执行 2:交叉执行
  24317. type: integer
  24318. executeside:
  24319. description: 执行方[2:分步履约] - 1:买方 2:卖方
  24320. type: integer
  24321. failedchargealgorithm:
  24322. description: 流拍手续费收取方式 1:比率 2:固定
  24323. type: integer
  24324. failedchargevalue:
  24325. description: 流拍手续费设置值
  24326. type: number
  24327. failedchargevalue2:
  24328. description: 流拍卖方手续费设置值
  24329. type: number
  24330. holddays:
  24331. description: 合同期限[2:分步履约]
  24332. type: integer
  24333. listingmode:
  24334. description: 挂牌方式 - 1:一口价 2:浮动价 3:贸易圈 4:协议指定
  24335. type: integer
  24336. marketid:
  24337. description: 市场ID-仓单贸易、竞拍、预售
  24338. type: integer
  24339. minqty:
  24340. description: 最小执行量[2:分步履约]
  24341. type: number
  24342. modifierid:
  24343. description: 修改人
  24344. type: integer
  24345. nowrquotaflag:
  24346. description: 是否校验无仓单额度(仓单贸易) - 0:否 1:是
  24347. type: integer
  24348. performancetempid:
  24349. description: 履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  24350. 立即执行(-1)
  24351. type: integer
  24352. performancetempid2:
  24353. description: 履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  24354. 立即执行
  24355. type: integer
  24356. performancetempid2s:
  24357. description: 履约计划模板IDs(无仓单) - 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货
  24358. - 履约方式: 立即执行
  24359. type: string
  24360. performancetempids:
  24361. description: 履约计划模板IDs(有仓单)- 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货
  24362. - 履约方式: 立即执行(-1)
  24363. type: string
  24364. performanceway:
  24365. description: 交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]
  24366. type: integer
  24367. sellchargealgorithm:
  24368. description: 卖方手续费收取方式 1:比率 2:固定
  24369. type: integer
  24370. sellchargealgorithm2:
  24371. description: 回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城
  24372. type: integer
  24373. sellchargealgorithmvalue:
  24374. description: 卖方手续费设置值(交易所部分)
  24375. type: number
  24376. sellchargealgorithmvalue2:
  24377. description: 卖方手续费设置值(会员部分)
  24378. type: number
  24379. sellchargealgorithmvalue3:
  24380. description: 回购卖方手续费设置值(交易所部分) --77:现货商城
  24381. type: number
  24382. sellchargealgorithmvalue4:
  24383. description: 回购卖方手续费设置值(会员部分) --77:现货商城
  24384. type: number
  24385. sellmarginalgorithm:
  24386. description: 卖方保证金方式 - 1:比率 2:固定
  24387. type: integer
  24388. sellmarginvalue:
  24389. description: 卖方保证金设置值
  24390. type: number
  24391. sellmarginvalue2:
  24392. description: 卖方保证金设置值(无仓单)
  24393. type: number
  24394. sellreleaseratio:
  24395. description: 卖方释放比率[2:分步履约]
  24396. type: number
  24397. updatetime:
  24398. description: 更新时间
  24399. type: string
  24400. type: object
  24401. models.WrOrderDetail:
  24402. properties:
  24403. accountid:
  24404. description: 交易账号(资金账号)
  24405. type: integer
  24406. allfriendsflag:
  24407. description: 是否全好友可见 - 0:否 1:是
  24408. type: integer
  24409. amount:
  24410. description: 挂牌金额 = 委托数量 * 固定价或升贴水
  24411. type: number
  24412. bannerpicurl:
  24413. description: Banner图
  24414. type: string
  24415. begindate:
  24416. description: 开始交易日(yyyymmdd)
  24417. type: string
  24418. buyorsell:
  24419. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  24420. type: integer
  24421. canbargain:
  24422. description: 是否可议价 - 0:不可 1:可
  24423. type: integer
  24424. cancelqty:
  24425. description: 撤销数量
  24426. type: number
  24427. canpart:
  24428. description: 是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)
  24429. type: integer
  24430. delistminqty:
  24431. description: 起摘数量
  24432. type: integer
  24433. deliverygoodscode:
  24434. description: 品种代码
  24435. type: string
  24436. deliverygoodsid:
  24437. description: 品种ID
  24438. type: integer
  24439. deliverygoodsname:
  24440. description: 品种名称
  24441. type: string
  24442. deliverymonth:
  24443. description: 交收月
  24444. type: string
  24445. enddate:
  24446. description: 结束交易日(yyyymmdd)
  24447. type: string
  24448. enumdicname:
  24449. description: 单位名称
  24450. type: string
  24451. fixedprice:
  24452. description: 固定价格 - [挂牌]
  24453. type: number
  24454. freezecharge:
  24455. description: 冻结手续费
  24456. type: number
  24457. freezemargin:
  24458. description: 冻结保证金(保证金)
  24459. type: number
  24460. futupricemove:
  24461. description: 期货升贴水
  24462. type: number
  24463. futushow:
  24464. description: 期货合约/升贴水
  24465. type: string
  24466. goodscode:
  24467. description: 期货合约
  24468. type: string
  24469. goodsid:
  24470. description: 期货商品id
  24471. type: integer
  24472. goodsname:
  24473. description: 商品名称
  24474. type: string
  24475. haswr:
  24476. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  24477. type: integer
  24478. isspecified:
  24479. description: 是否指定对手 - 0:不指定 1:指定 - [挂牌]
  24480. type: integer
  24481. ladingbillid:
  24482. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  24483. type: string
  24484. marginvalue:
  24485. description: 保证金设置值(履约保证金)
  24486. type: number
  24487. marketid:
  24488. description: 市场ID
  24489. type: integer
  24490. matchusername:
  24491. description: 对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)
  24492. type: string
  24493. minivalue:
  24494. description: 现货商品最小变动值
  24495. type: integer
  24496. optioncompare:
  24497. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  24498. type: string
  24499. orderqty:
  24500. description: 委托数量
  24501. type: number
  24502. ordertime:
  24503. description: 委托时间(挂牌时间)
  24504. type: string
  24505. performancetemplateid:
  24506. description: 履约模板id
  24507. type: integer
  24508. pricemove:
  24509. description: 升贴水(浮动价时填写) - [挂牌]
  24510. type: number
  24511. taname:
  24512. description: 交易用户名称(资金账号名称)
  24513. type: string
  24514. thumurls:
  24515. description: 缩略图
  24516. type: string
  24517. tradedate:
  24518. description: 交易日(yyyyMMdd)
  24519. type: string
  24520. tradeprice:
  24521. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)*
  24522. 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  24523. type: number
  24524. tradeqty:
  24525. description: 成交数量
  24526. type: number
  24527. unitid:
  24528. description: 现货商品单位ID
  24529. type: integer
  24530. userid:
  24531. description: 用户ID
  24532. type: integer
  24533. validtime:
  24534. description: 挂牌有效期
  24535. type: string
  24536. validtype:
  24537. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  24538. type: integer
  24539. warehouseid:
  24540. description: 仓库ID
  24541. type: integer
  24542. warehousename:
  24543. description: 仓库名称
  24544. type: string
  24545. wrfactortypeid:
  24546. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  24547. type: string
  24548. wrfactortypename:
  24549. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  24550. type: string
  24551. wrpricetype:
  24552. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  24553. type: integer
  24554. wrstandardcode:
  24555. description: 现货商品代码
  24556. type: string
  24557. wrstandardid:
  24558. description: 现货商品ID
  24559. type: integer
  24560. wrstandardname:
  24561. description: 商品名称
  24562. type: string
  24563. wrtradeorderid:
  24564. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  24565. type: string
  24566. wrtradeorderstatus:
  24567. description: 委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:部成 8:已成 9:部成部撤 10:成交失败 11:委托拒绝 12:经过摘牌(先摘后挂专用) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用) 17:冻结PD成功 18:冻结PD失败 19:冻结能量成功 20:冻结能量失败 21:预约已报价 22:过期未付 23:优惠券处理中 24:仓单生成失败 25:首付扣款失败 26:履约失败 27:撤单解冻贷款失败
  24568. type: integer
  24569. wrtradetype:
  24570. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  24571. type: integer
  24572. wrtypename:
  24573. description: 商品
  24574. type: string
  24575. type: object
  24576. models.WrOrderQuote:
  24577. properties:
  24578. bannerpicurl:
  24579. description: Banner图
  24580. type: string
  24581. buyprice:
  24582. description: 买价
  24583. type: number
  24584. buypricemove:
  24585. description: 买升贴水(基差)
  24586. type: number
  24587. buyqty:
  24588. description: 买量
  24589. type: number
  24590. deliverygoodscode:
  24591. description: 品种代码
  24592. type: string
  24593. deliverygoodsid:
  24594. description: 品种id
  24595. type: integer
  24596. deliverygoodsname:
  24597. description: 品种名称
  24598. type: string
  24599. deliverymonth:
  24600. description: 交收月
  24601. type: string
  24602. enumdicname:
  24603. description: 单位名称
  24604. type: string
  24605. goodscode:
  24606. description: 商品合约(浮动价列表才有)
  24607. type: string
  24608. goodsid:
  24609. description: 商品id(浮动价列表才有)
  24610. type: integer
  24611. minivalue:
  24612. description: 现货商品最小变动值
  24613. type: integer
  24614. pictureurls:
  24615. description: 详情图片(逗号分隔)
  24616. type: string
  24617. sellprice:
  24618. description: 卖价
  24619. type: number
  24620. sellpricemove:
  24621. description: 卖升贴水(基差)
  24622. type: number
  24623. sellqty:
  24624. description: 卖量
  24625. type: number
  24626. spotgoodsprice:
  24627. description: 参考价(THJ)
  24628. type: number
  24629. thumurls:
  24630. description: 缩略图片(1:1)(逗号分隔)
  24631. type: string
  24632. warehousecode:
  24633. description: 仓库代码
  24634. type: string
  24635. warehouseid:
  24636. description: 仓库id
  24637. type: integer
  24638. warehousename:
  24639. description: 仓库名称
  24640. type: string
  24641. wrfactortypeid:
  24642. description: 仓单要素id
  24643. type: string
  24644. wrfactortypename:
  24645. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  24646. type: string
  24647. wrgoodsname:
  24648. description: 商品(商品名称+仓库要素名称 拼接)
  24649. type: string
  24650. wrstandardcode:
  24651. description: 商品代码
  24652. type: string
  24653. wrstandardid:
  24654. description: 商品id
  24655. type: integer
  24656. wrstandardname:
  24657. description: 商品名称
  24658. type: string
  24659. type: object
  24660. models.WrOrderQuoteDetail:
  24661. properties:
  24662. buyorsell:
  24663. description: 买卖 - 0:买 1:卖
  24664. type: integer
  24665. delistminqty:
  24666. description: 起摘数量
  24667. type: number
  24668. deliverymonth:
  24669. description: 交收月
  24670. type: string
  24671. enumdicname:
  24672. description: 单位名称
  24673. type: string
  24674. fixedprice:
  24675. description: 买(卖)价
  24676. type: number
  24677. marketid:
  24678. description: 市场id
  24679. type: integer
  24680. minivalue:
  24681. description: 现货商品最小变动值
  24682. type: integer
  24683. orderqty:
  24684. description: 买(卖)量(=委托量-成交量)
  24685. type: number
  24686. ordertime:
  24687. description: 委托时间
  24688. type: string
  24689. pricemove:
  24690. description: 买(卖)升贴水- 基差
  24691. type: number
  24692. userid:
  24693. description: 购买方(销售方)用户ID
  24694. type: integer
  24695. username:
  24696. description: 购买方(销售方)
  24697. type: string
  24698. wrtradeorderid:
  24699. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  24700. type: string
  24701. type: object
  24702. models.WrOutInApply:
  24703. properties:
  24704. address:
  24705. description: 详细地址
  24706. type: string
  24707. applyid:
  24708. description: 申请单id
  24709. type: string
  24710. applystatus:
  24711. description: 申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败
  24712. 8:已撤销
  24713. type: integer
  24714. applytime:
  24715. description: 申请时间
  24716. type: string
  24717. applytype:
  24718. description: 申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销
  24719. type: integer
  24720. appointmentmodel:
  24721. description: 预约方式 - 1:物流 2:自送 3:自提
  24722. type: integer
  24723. appointmentmodeldisplay:
  24724. description: 预约方式(显示枚举)
  24725. type: string
  24726. appointmentremark:
  24727. description: 申请备注
  24728. type: string
  24729. bannerpicurl:
  24730. description: Banner图
  24731. type: string
  24732. begindate:
  24733. description: 开始交易日(yyyymmdd)
  24734. type: string
  24735. cityid:
  24736. description: 市
  24737. type: integer
  24738. cityname:
  24739. description: 城市名称
  24740. type: string
  24741. contactname:
  24742. description: 联系人
  24743. type: string
  24744. contactnum:
  24745. description: 联系方式
  24746. type: string
  24747. countryid:
  24748. description: 国家
  24749. type: integer
  24750. countryname:
  24751. description: 国家名称
  24752. type: string
  24753. deliverygoodscode:
  24754. description: 品种代码
  24755. type: string
  24756. deliverygoodsid:
  24757. description: 品种ID
  24758. type: integer
  24759. deliverygoodsname:
  24760. description: 品种名称
  24761. type: string
  24762. districtid:
  24763. description: 区
  24764. type: integer
  24765. districtname:
  24766. description: 地区名称
  24767. type: string
  24768. enddate:
  24769. description: 结束交易日(yyyymmdd)
  24770. type: string
  24771. enumdicname:
  24772. description: 单位名称
  24773. type: string
  24774. expresscompany:
  24775. description: 物流公司
  24776. type: string
  24777. expressnum:
  24778. description: 物流单号
  24779. type: string
  24780. minivalue:
  24781. description: 现货商品最小变动值
  24782. type: integer
  24783. optioncompare:
  24784. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  24785. type: string
  24786. provinceid:
  24787. description: 省
  24788. type: integer
  24789. provincename:
  24790. description: 省名称
  24791. type: string
  24792. qty:
  24793. description: 数量
  24794. type: integer
  24795. userid:
  24796. description: 用户id
  24797. type: integer
  24798. warehouseid:
  24799. description: 仓库ID
  24800. type: integer
  24801. warehousename:
  24802. description: 仓库名称
  24803. type: string
  24804. wrfactortypeid:
  24805. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  24806. type: string
  24807. wrfactortypename:
  24808. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  24809. type: string
  24810. wrstandardcode:
  24811. description: 现货商品代码
  24812. type: string
  24813. wrstandardid:
  24814. description: 现货商品ID
  24815. type: integer
  24816. wrstandardname:
  24817. description: 商品名称
  24818. type: string
  24819. wrtypename:
  24820. description: 商品
  24821. type: string
  24822. type: object
  24823. models.WrPerformancePlan:
  24824. properties:
  24825. activatemonth:
  24826. description: 履约激活月 [无仓单的交易收月](yyyy-MM)
  24827. type: string
  24828. amount:
  24829. description: 履约金额(总金额)
  24830. type: number
  24831. begindate:
  24832. description: 开始交易日(yyyymmdd)
  24833. type: string
  24834. buyaccountid:
  24835. description: 买方账号
  24836. type: integer
  24837. buyerfreezeamount:
  24838. description: 履约冻结(买履约)
  24839. type: number
  24840. buyerfreezeamountremain:
  24841. description: 履约冻结剩余(买履约)
  24842. type: number
  24843. buyorsell:
  24844. description: 买卖方向 0-买 1-卖
  24845. type: integer
  24846. buypaidamount:
  24847. description: 买方已冻/已扣金额 (已付金额)
  24848. type: number
  24849. buyusername:
  24850. description: 买方名字
  24851. type: string
  24852. contractid:
  24853. description: 合同ID
  24854. type: integer
  24855. createtime:
  24856. description: 创建时间
  24857. type: string
  24858. creatorid:
  24859. description: 创建人
  24860. type: integer
  24861. curstepdeadline:
  24862. description: 当前步骤到期时间
  24863. type: string
  24864. curstepid:
  24865. description: 当前步骤ID
  24866. type: string
  24867. curstepname:
  24868. description: 当前步骤名称
  24869. type: string
  24870. deliverygoodscode:
  24871. description: 品种代码
  24872. type: string
  24873. deliverygoodsid:
  24874. description: 品种ID
  24875. type: integer
  24876. deliverygoodsname:
  24877. description: 品种名称
  24878. type: string
  24879. enddate:
  24880. description: 结束交易日(yyyymmdd)
  24881. type: string
  24882. enumdicname:
  24883. description: 单位名称
  24884. type: string
  24885. expressfee:
  24886. description: 运费
  24887. type: number
  24888. expressfeeconfirmed:
  24889. description: 是否确认运费 - 0:无 1:买方确认 2:卖方确认
  24890. type: integer
  24891. hasovershort:
  24892. description: 是否确认溢短 - 0:没有 1:买方确认 2:卖方确认
  24893. type: integer
  24894. haswr:
  24895. description: 类型 0-仓单预售 1-仓单贸易
  24896. type: integer
  24897. marketid:
  24898. description: 市场ID
  24899. type: integer
  24900. middleaccountid:
  24901. description: 中间商资金账号ID
  24902. type: integer
  24903. middleuserid:
  24904. description: 中间商用户ID
  24905. type: integer
  24906. minivalue:
  24907. description: 现货商品最小变动值
  24908. type: integer
  24909. optioncompare:
  24910. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  24911. type: string
  24912. overshortamount:
  24913. description: 溢短金额
  24914. type: number
  24915. overshortqty:
  24916. description: 溢短数量
  24917. type: number
  24918. paymenttype:
  24919. description: 付款方式 - 1:冻结 2:扣款
  24920. type: integer
  24921. performanceplanid:
  24922. description: 履约计划ID(130+yyMMddHHmmss+xxxx)
  24923. type: string
  24924. performancestatus:
  24925. description: 履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败
  24926. 9:超时待处理 10:超时关闭
  24927. type: integer
  24928. performancetype:
  24929. description: 履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式
  24930. 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统
  24931. type: integer
  24932. qty:
  24933. description: 履约数量
  24934. type: number
  24935. relatedorderid:
  24936. description: 关联单号(履约类型的关联单号)
  24937. type: string
  24938. remark:
  24939. description: 备注
  24940. type: string
  24941. sellaccountid:
  24942. description: 卖方账号
  24943. type: integer
  24944. sellerfreezeamount:
  24945. description: 履约冻结(卖履约)
  24946. type: number
  24947. sellerfreezeamountremain:
  24948. description: 履约冻结剩余(卖履约)
  24949. type: number
  24950. sellreceivedamount:
  24951. description: 卖方已收金额
  24952. type: number
  24953. sellusername:
  24954. description: 卖方名字
  24955. type: string
  24956. shipremark:
  24957. description: 发货备注[物流单号]
  24958. type: string
  24959. starttime:
  24960. description: 开始时间
  24961. type: string
  24962. steptypeid:
  24963. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  24964. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  24965. type: integer
  24966. typename:
  24967. description: 履约类型 名称
  24968. type: string
  24969. unpaidamount:
  24970. description: 剩余款(待支付金额)
  24971. type: number
  24972. userid:
  24973. description: 用户id
  24974. type: integer
  24975. warehouseid:
  24976. description: 仓库ID
  24977. type: integer
  24978. warehousename:
  24979. description: 仓库名称
  24980. type: string
  24981. wrfactortypeid:
  24982. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  24983. type: string
  24984. wrfactortypename:
  24985. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  24986. type: string
  24987. wrstandardcode:
  24988. description: 现货商品代码
  24989. type: string
  24990. wrstandardid:
  24991. description: 现货商品ID
  24992. type: integer
  24993. wrstandardname:
  24994. description: 商品名称
  24995. type: string
  24996. wrtransferuserid:
  24997. description: 仓单受让用户
  24998. type: integer
  24999. wrtypename:
  25000. description: 商品
  25001. type: string
  25002. required:
  25003. - userid
  25004. type: object
  25005. models.WrPerformancePlanStep:
  25006. properties:
  25007. delaydays:
  25008. description: 延期申请天数
  25009. type: integer
  25010. deliverygoodscode:
  25011. description: 品种代码
  25012. type: string
  25013. deliverygoodsid:
  25014. description: 品种ID
  25015. type: integer
  25016. deliverygoodsname:
  25017. description: 品种名称
  25018. type: string
  25019. endtime:
  25020. description: 结束日期
  25021. type: string
  25022. enumdicname:
  25023. description: 单位名称
  25024. type: string
  25025. executeside:
  25026. description: 步骤执行方 - 1:买方 2:卖方
  25027. type: integer
  25028. handlestatus:
  25029. description: 处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败
  25030. 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求
  25031. 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败
  25032. type: integer
  25033. isauto:
  25034. description: 是否自动 - 0:不自动 1:自动
  25035. type: integer
  25036. islastreceivestep:
  25037. description: 是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)
  25038. type: integer
  25039. minivalue:
  25040. description: 现货商品最小变动值
  25041. type: integer
  25042. optioncompare:
  25043. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  25044. type: string
  25045. overdays:
  25046. description: 超期天数 = 当前时间(数据库时间) - 结束日期
  25047. type: integer
  25048. performancestepid:
  25049. description: 履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)
  25050. type: string
  25051. planid:
  25052. description: 所属履约计划ID
  25053. type: string
  25054. realamount:
  25055. description: 实际完成金额
  25056. type: number
  25057. relatedorderid:
  25058. description: 关联单号
  25059. type: string
  25060. remaindays:
  25061. description: 剩余天数
  25062. type: integer
  25063. remark:
  25064. description: 错误备注
  25065. type: string
  25066. starttime:
  25067. description: 开始日期
  25068. type: string
  25069. stepamount:
  25070. description: 步骤金额
  25071. type: number
  25072. stepdays:
  25073. description: 距离上一步天数(分钟)
  25074. type: integer
  25075. stepindex:
  25076. description: 步骤序号
  25077. type: integer
  25078. steplanchtype:
  25079. description: 步骤启动类型 - 1:系统自动 2:手动
  25080. type: integer
  25081. stepremark:
  25082. description: 步骤备注
  25083. type: string
  25084. stepstatus:
  25085. description: 步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭
  25086. type: integer
  25087. steptypeid:
  25088. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  25089. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  25090. type: integer
  25091. steptypename:
  25092. description: 步骤名称
  25093. type: string
  25094. stepvalue:
  25095. description: 步骤值
  25096. type: number
  25097. warehouseid:
  25098. description: 仓库ID
  25099. type: integer
  25100. warehousename:
  25101. description: 仓库名称
  25102. type: string
  25103. wrfactortypeid:
  25104. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  25105. type: string
  25106. wrfactortypename:
  25107. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  25108. type: string
  25109. wrstandardcode:
  25110. description: 现货商品代码
  25111. type: string
  25112. wrstandardid:
  25113. description: 现货商品ID
  25114. type: integer
  25115. wrstandardname:
  25116. description: 商品名称
  25117. type: string
  25118. wrtypename:
  25119. description: 商品
  25120. type: string
  25121. type: object
  25122. models.WrPerformanceStepType:
  25123. properties:
  25124. canauto:
  25125. description: '能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)'
  25126. type: integer
  25127. steptypeid:
  25128. description: 步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移
  25129. type: integer
  25130. steptypename:
  25131. description: 步骤类型名称
  25132. type: string
  25133. type: object
  25134. models.WrPerformanceTemplateEx:
  25135. properties:
  25136. autoid:
  25137. description: AutoID 模板id
  25138. type: integer
  25139. createtime:
  25140. description: 创建时间
  25141. type: string
  25142. creatorid:
  25143. description: 创建人
  25144. type: integer
  25145. lstStep:
  25146. description: 步骤信息列表
  25147. items:
  25148. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  25149. type: array
  25150. paymenttype:
  25151. description: 支付方式 - 1:冻结 2:扣款
  25152. type: integer
  25153. takemode:
  25154. description: 提货方式 - 1:无 2:买方自提 3:卖方发货
  25155. type: integer
  25156. templatename:
  25157. description: 模板名称
  25158. type: string
  25159. templatetype:
  25160. description: 模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  25161. (无仓单) 5:挂牌期权 6:竞拍-降价式
  25162. type: integer
  25163. userid:
  25164. description: 所属用户
  25165. type: integer
  25166. type: object
  25167. models.WrPosition:
  25168. properties:
  25169. accountid:
  25170. description: 帐户ID
  25171. type: integer
  25172. buyexcuteqty:
  25173. description: 采购履约中数量
  25174. type: number
  25175. creditcurqty:
  25176. description: 授信当前数量(预售仓单:预售当前量)
  25177. type: number
  25178. creditenableqty:
  25179. description: '授信可用数量(预售仓单: 可用数量)'
  25180. type: number
  25181. creditfreezeqty:
  25182. description: '授信冻结数量(预售仓单: 当前数量)'
  25183. type: number
  25184. credittotalqty:
  25185. description: 授信总数量(预售仓单:预售总量)
  25186. type: number
  25187. credittradeqty:
  25188. description: 授信成交数量(预售仓单:成交总量)
  25189. type: number
  25190. deliverygoodscode:
  25191. description: 品种代码
  25192. type: string
  25193. deliverygoodsid:
  25194. description: 品种ID
  25195. type: integer
  25196. deliverygoodsname:
  25197. description: 品种名称
  25198. type: string
  25199. enalbeqty:
  25200. description: 可用数量
  25201. type: number
  25202. enumdicname:
  25203. description: 单位名称
  25204. type: string
  25205. freezeqty:
  25206. description: 总冻结数量
  25207. type: number
  25208. haswr:
  25209. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  25210. type: integer
  25211. minivalue:
  25212. description: 现货商品最小变动值
  25213. type: integer
  25214. modifytime:
  25215. description: 修改时间(过户时间)
  25216. type: string
  25217. optioncompare:
  25218. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  25219. type: string
  25220. pledgeqty:
  25221. description: 质押数量
  25222. type: number
  25223. querytype:
  25224. description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  25225. type: integer
  25226. sellexcuteqty:
  25227. description: 销售履约中数量
  25228. type: number
  25229. totalqty:
  25230. description: 总数量(库存数量)
  25231. type: number
  25232. warehouseid:
  25233. description: 仓库ID
  25234. type: integer
  25235. warehousename:
  25236. description: 仓库名称
  25237. type: string
  25238. wrfactortypeid:
  25239. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  25240. type: string
  25241. wrfactortypename:
  25242. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  25243. type: string
  25244. wrpositionid:
  25245. description: 仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)
  25246. type: string
  25247. wrpositionno:
  25248. description: 仓单编号
  25249. type: string
  25250. wrstandardcode:
  25251. description: 现货商品代码
  25252. type: string
  25253. wrstandardid:
  25254. description: 现货商品ID
  25255. type: integer
  25256. wrstandardname:
  25257. description: 商品名称
  25258. type: string
  25259. wrtypename:
  25260. description: 商品
  25261. type: string
  25262. wruserid:
  25263. description: 持有人ID
  25264. type: integer
  25265. type: object
  25266. models.WrPreSaleInfo:
  25267. properties:
  25268. bannerpicurl:
  25269. description: Banner图
  25270. type: string
  25271. baseqty:
  25272. description: 中签基数
  25273. type: number
  25274. createtime:
  25275. description: 创建时间
  25276. type: string
  25277. deliverygoodsid:
  25278. description: 现货品种ID
  25279. type: integer
  25280. enddate:
  25281. description: 预售结束日期
  25282. type: string
  25283. enumdicname:
  25284. description: 单位名称
  25285. type: string
  25286. lotteryflag:
  25287. description: 摇号标识 - 0:未摇号 1:已摇号
  25288. type: integer
  25289. lotteryqty:
  25290. description: 摇号总量
  25291. type: number
  25292. luckyqty:
  25293. description: 已中签量
  25294. type: number
  25295. marketid:
  25296. description: 市场ID
  25297. type: integer
  25298. maxbuyqty:
  25299. description: 单人最大申购量
  25300. type: number
  25301. maxluckyqty:
  25302. description: 单人最大中签量
  25303. type: number
  25304. pictureurls:
  25305. description: 详情图片(逗号分隔)
  25306. type: string
  25307. placeqty:
  25308. description: 已配售量
  25309. type: number
  25310. presaleapplyid:
  25311. description: 预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)
  25312. example: "0"
  25313. type: string
  25314. presaleqty:
  25315. description: 预售总量
  25316. type: number
  25317. presalestatus:
  25318. description: 预售状态 - 1:未开始 2:进行中 3:已结束 4:已关闭
  25319. type: integer
  25320. sellaccountid:
  25321. description: 发行方资金账户ID
  25322. type: integer
  25323. selluserid:
  25324. description: 发行方用户ID
  25325. type: integer
  25326. sellwrtradeorderid:
  25327. description: 发行方卖委托单ID
  25328. type: string
  25329. startdate:
  25330. description: 预售开始日期
  25331. type: string
  25332. takestartdate:
  25333. description: 提货开始日期
  25334. type: string
  25335. thumurls:
  25336. description: 缩略图片(1:1)(逗号分隔)
  25337. type: string
  25338. tradedate:
  25339. description: 交易日
  25340. type: string
  25341. unitid:
  25342. description: 单位ID
  25343. type: integer
  25344. unitprice:
  25345. description: 商品单价
  25346. type: number
  25347. username:
  25348. description: 发行方用户名称
  25349. type: string
  25350. warehousecode:
  25351. description: 仓库代码(仓库简称)
  25352. type: string
  25353. warehouseid:
  25354. description: 仓库ID
  25355. type: integer
  25356. warehousename:
  25357. description: 仓库名称
  25358. type: string
  25359. wrfactortypeid:
  25360. description: 仓单要素类型ID - 根据现货商品\仓库生成
  25361. example: "0"
  25362. type: string
  25363. wrstandardid:
  25364. description: 现货商品ID
  25365. type: integer
  25366. wrstandardname:
  25367. description: 现货商品名称
  25368. type: string
  25369. type: object
  25370. models.WrQuoteOrderMyq:
  25371. properties:
  25372. buyorsell:
  25373. description: 买卖 - 0:买 1:卖
  25374. type: integer
  25375. canbargain:
  25376. description: 是否可议价 - 0:不可 1:可
  25377. type: integer
  25378. canpart:
  25379. description: 是否允许部份摘牌 - 0:不允许 1:允许
  25380. type: integer
  25381. delistminqty:
  25382. description: 起摘数量
  25383. type: number
  25384. deliverygoodscode:
  25385. description: 品种代码
  25386. type: string
  25387. deliverygoodsid:
  25388. description: 品种ID
  25389. type: integer
  25390. deliverygoodsname:
  25391. description: 品种名称
  25392. type: string
  25393. deliverymonth:
  25394. description: 交收月
  25395. type: string
  25396. enumdicname:
  25397. description: 单位名称
  25398. type: string
  25399. fixedprice:
  25400. description: 买(卖)价
  25401. type: number
  25402. goodscode:
  25403. description: 商品合约代码
  25404. type: string
  25405. marginflag:
  25406. description: 挂牌是否指定保证金 - 0:未指定 1:指定
  25407. type: integer
  25408. marginvalue:
  25409. description: 保证金设置值
  25410. type: number
  25411. minivalue:
  25412. description: 现货商品最小变动值
  25413. type: integer
  25414. orderqty:
  25415. description: 买(卖)量(=委托量-成交量)
  25416. type: number
  25417. ordertime:
  25418. description: 委托时间
  25419. type: string
  25420. performancetemplateid:
  25421. description: 履约模板id
  25422. type: integer
  25423. pricemove:
  25424. description: 买(卖)升贴水- 基差
  25425. type: number
  25426. templatename:
  25427. description: 履约模板名称
  25428. type: string
  25429. userid:
  25430. description: 购买方(销售方)用户ID
  25431. type: integer
  25432. username:
  25433. description: 购买方(销售方)
  25434. type: string
  25435. validtime:
  25436. description: 有效期限
  25437. type: string
  25438. validtype:
  25439. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  25440. type: integer
  25441. warehousename:
  25442. description: 仓库名称
  25443. type: string
  25444. wrfactortypeid:
  25445. description: 仓单要素id
  25446. type: string
  25447. wrstandardcode:
  25448. description: 现货商品代码
  25449. type: string
  25450. wrstandardid:
  25451. description: 现货商品ID
  25452. type: integer
  25453. wrstandardname:
  25454. description: 商品名称
  25455. type: string
  25456. wrtradeorderid:
  25457. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  25458. type: string
  25459. wrtypename:
  25460. description: 商品
  25461. type: string
  25462. type: object
  25463. models.WrReckonSpotGoodsTradeSum:
  25464. properties:
  25465. begindate:
  25466. description: 开始日期(结果含开始日期) yyyymmdd
  25467. type: string
  25468. enddate:
  25469. description: 结束日期(结果含结束日期) yyyymmdd
  25470. type: string
  25471. istoday:
  25472. description: 是否当日
  25473. type: boolean
  25474. marketid:
  25475. description: 市场ID
  25476. type: integer
  25477. price:
  25478. description: 价格 = 日成交金额 / 日成交数量
  25479. type: string
  25480. reckondate:
  25481. description: 日期 格式 yyyymmdd
  25482. type: string
  25483. tradeamount:
  25484. description: 日成交金额(当日单方向成交金额)
  25485. type: number
  25486. tradeqty:
  25487. description: 日成交数量(当日单方向成交数量)
  25488. type: number
  25489. wrstandardid:
  25490. description: 现货商品ID
  25491. type: integer
  25492. type: object
  25493. models.WrScfContract:
  25494. properties:
  25495. borroweruserid:
  25496. description: 借款用户ID
  25497. type: integer
  25498. buybackwrpositionqty:
  25499. description: 已回购仓单头寸数量 - [仓单回购\仓单质押] -> 已回购数量
  25500. type: number
  25501. closeinterest:
  25502. description: 已结利息 -> 已结费用
  25503. type: number
  25504. currisklevel:
  25505. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  25506. type: integer
  25507. deadline:
  25508. description: 截止日期(yyyyMMdd) -> 借款到期时间
  25509. type: string
  25510. deliverygoodscode:
  25511. description: 品种代码
  25512. type: string
  25513. deliverygoodsid:
  25514. description: 品种ID
  25515. type: integer
  25516. deliverygoodsname:
  25517. description: 品种名称
  25518. type: string
  25519. enumdicname:
  25520. description: 单位名称
  25521. type: string
  25522. financingdays:
  25523. description: 天数(天)
  25524. type: integer
  25525. initmargin:
  25526. description: 保证金 - [仓单回购]
  25527. type: number
  25528. interestamount:
  25529. description: 计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \ 合同剩余金额
  25530. type: number
  25531. interestdebt:
  25532. description: 利息欠款(记录负数) -> 费用欠款
  25533. type: number
  25534. interestminlen:
  25535. description: 最小起息天数
  25536. type: integer
  25537. interestrate:
  25538. description: 利率
  25539. type: number
  25540. interestratemode:
  25541. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  25542. type: integer
  25543. interestsettlemode:
  25544. description: 结息方式 - 1:按日结息 3:按月结息
  25545. type: integer
  25546. interestsettlevalue:
  25547. description: 结息方式值
  25548. type: integer
  25549. isautoloan:
  25550. description: 是否自动放款 - 0:手动 1:自动 - [仓单质押]
  25551. type: integer
  25552. lastcloseinterestday:
  25553. description: 最近结息日(yyyyMMdd)
  25554. type: string
  25555. lenderamount:
  25556. description: 贷款金额 -> 借款金额
  25557. type: number
  25558. lenderuserid:
  25559. description: 贷款方用户ID -> 融出方用户ID
  25560. type: integer
  25561. lenderusername:
  25562. description: 融出方
  25563. type: string
  25564. marginratio:
  25565. description: 保证金比率质押率 - [仓单质押]
  25566. type: number
  25567. marketid:
  25568. description: 市场ID - 拆成三个独立模式后,根据市场ID处理
  25569. type: integer
  25570. minivalue:
  25571. description: 现货商品最小变动值
  25572. type: integer
  25573. optioncompare:
  25574. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  25575. type: string
  25576. pricemove:
  25577. description: 估值升贴水值
  25578. type: number
  25579. productdetailid:
  25580. description: 产品组合ID
  25581. type: integer
  25582. productid:
  25583. description: 金融产品ID
  25584. type: integer
  25585. productname:
  25586. description: 产品名称
  25587. type: string
  25588. remainamount:
  25589. description: 合同剩余金额 -> 剩余金额
  25590. type: number
  25591. remainwrpositionqty:
  25592. description: 剩余仓单头寸数量 - [仓单回购\仓单质押] -> 剩余数量(待回购数量)
  25593. type: number
  25594. remark:
  25595. description: 备注
  25596. type: string
  25597. scfcontractid:
  25598. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  25599. type: string
  25600. scfcontractstatus:
  25601. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  25602. 9:违约结束 10:已注销 11:已关闭 99:未提交
  25603. type: integer
  25604. scfcontracttype:
  25605. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购
  25606. type: integer
  25607. startinterestday:
  25608. description: 计息开始日(yyyyMMdd) -> 开始计费日期
  25609. type: string
  25610. totalinterest:
  25611. description: 已计利息 -> 已计费用
  25612. type: number
  25613. unpaidinterest:
  25614. description: 未结费用
  25615. type: number
  25616. updatetime:
  25617. description: 更新时间
  25618. type: string
  25619. warehouseid:
  25620. description: 仓库ID
  25621. type: integer
  25622. warehousename:
  25623. description: 仓库名称
  25624. type: string
  25625. wrfactortypeid:
  25626. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  25627. type: string
  25628. wrfactortypename:
  25629. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  25630. type: string
  25631. wrqty:
  25632. description: 仓单数量 - [仓单回购\仓单质押] -> 数量
  25633. type: number
  25634. wrstandardcode:
  25635. description: 现货商品代码
  25636. type: string
  25637. wrstandardid:
  25638. description: 现货商品ID
  25639. type: integer
  25640. wrstandardname:
  25641. description: 商品名称
  25642. type: string
  25643. wrtypename:
  25644. description: 商品
  25645. type: string
  25646. type: object
  25647. models.WrScfContractInterest:
  25648. properties:
  25649. closeinterest:
  25650. description: 已结利息
  25651. type: number
  25652. closeintereststatus:
  25653. description: 结息状态 - 1:未结 2:已结
  25654. type: integer
  25655. closetime:
  25656. description: 结息时间
  25657. type: string
  25658. closetradedate:
  25659. description: 结息交易日
  25660. type: string
  25661. creatorid:
  25662. description: 操作人ID
  25663. type: integer
  25664. dayrate:
  25665. description: 日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)
  25666. type: number
  25667. interest:
  25668. description: 利息
  25669. type: number
  25670. interestamount:
  25671. description: 计息金额
  25672. type: number
  25673. interestday:
  25674. description: 计息日(yyyyMMdd)
  25675. type: string
  25676. scfcontractid:
  25677. description: SCF合同ID
  25678. type: string
  25679. scfcontractinterestid:
  25680. description: SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)
  25681. type: integer
  25682. updatetime:
  25683. description: 更新时间
  25684. type: string
  25685. type: object
  25686. models.WrSearchUser:
  25687. properties:
  25688. userid:
  25689. description: 用户ID
  25690. type: integer
  25691. username:
  25692. description: 用户名称(已脱敏)
  25693. type: string
  25694. username2:
  25695. description: 用户名称(未脱敏)
  25696. type: string
  25697. usertype:
  25698. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  25699. type: integer
  25700. required:
  25701. - username
  25702. type: object
  25703. models.WrSiteColumnDetail:
  25704. properties:
  25705. author:
  25706. description: 作者
  25707. type: string
  25708. brief:
  25709. description: 简介
  25710. type: string
  25711. context:
  25712. description: 内容
  25713. type: string
  25714. coverimage:
  25715. description: 封面图片
  25716. type: string
  25717. creaedate:
  25718. description: 创建时间
  25719. type: string
  25720. id:
  25721. description: ID(SEQ_SITE_COLUMNDETAIL)
  25722. type: integer
  25723. istop:
  25724. description: 是否置顶 - 0:不置 1:置顶
  25725. type: integer
  25726. publishdate:
  25727. description: 发布日期
  25728. type: string
  25729. title:
  25730. description: 标题
  25731. type: string
  25732. updatedate:
  25733. description: 修改时间
  25734. type: string
  25735. type: object
  25736. models.WrSpecialMatchOrder:
  25737. properties:
  25738. amount:
  25739. description: 金额 = 数量 * 价格
  25740. type: number
  25741. buyorsell:
  25742. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  25743. type: integer
  25744. cancelqty:
  25745. description: 撤销数量
  25746. type: number
  25747. deliverygoodscode:
  25748. description: 品种代码
  25749. type: string
  25750. deliverygoodsid:
  25751. description: 品种ID
  25752. type: integer
  25753. deliverygoodsname:
  25754. description: 品种名称
  25755. type: string
  25756. enumdicname:
  25757. description: 单位名称
  25758. type: string
  25759. fixedprice:
  25760. description: 固定价格(价格)
  25761. type: number
  25762. haswr:
  25763. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  25764. type: integer
  25765. isspecified:
  25766. description: 是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  25767. type: integer
  25768. marketid:
  25769. description: 市场ID
  25770. type: integer
  25771. matchuserid:
  25772. description: 指定方资金账号(字段名为userid,实际存的是accountid by:邓工)
  25773. type: integer
  25774. matchusername:
  25775. description: 指定方
  25776. type: string
  25777. minivalue:
  25778. description: 现货商品最小变动值
  25779. type: integer
  25780. optioncompare:
  25781. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  25782. type: string
  25783. orderqty:
  25784. description: 委托数量
  25785. type: number
  25786. ordertime:
  25787. description: 委托时间
  25788. type: string
  25789. pricemove:
  25790. description: 升贴水(浮动价时填写) - [挂牌]
  25791. type: number
  25792. tradedate:
  25793. description: 交易日(yyyyMMdd)
  25794. type: string
  25795. tradeprice:
  25796. description: 成交价格
  25797. type: number
  25798. tradeqty:
  25799. description: 成交数量
  25800. type: number
  25801. userid:
  25802. description: 用户ID
  25803. type: integer
  25804. username:
  25805. description: 发起方
  25806. type: string
  25807. warehouseid:
  25808. description: 仓库ID
  25809. type: integer
  25810. warehousename:
  25811. description: 仓库名称
  25812. type: string
  25813. wrfactortypeid:
  25814. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  25815. type: string
  25816. wrfactortypename:
  25817. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  25818. type: string
  25819. wrpricetype:
  25820. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  25821. type: integer
  25822. wrstandardcode:
  25823. description: 现货商品代码
  25824. type: string
  25825. wrstandardid:
  25826. description: 现货商品ID
  25827. type: integer
  25828. wrstandardname:
  25829. description: 商品名称
  25830. type: string
  25831. wrtradeorderid:
  25832. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  25833. type: string
  25834. wrtradeorderstatus:
  25835. description: 委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝
  25836. 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤
  25837. type: integer
  25838. wrtradetype:
  25839. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  25840. type: integer
  25841. wrtypename:
  25842. description: 商品
  25843. type: string
  25844. type: object
  25845. models.WrSpotGroupTradeSum:
  25846. properties:
  25847. deliverygoodscode:
  25848. description: 现货品种代码
  25849. type: string
  25850. deliverygoodsid:
  25851. description: 现货品种ID(SEQ_DELIVERYGOODS)
  25852. type: integer
  25853. deliverygoodsname:
  25854. description: 现货品种名称
  25855. type: string
  25856. lastavgprice:
  25857. description: 上上个交易日价格(前2天价格)
  25858. type: string
  25859. lastreckondate:
  25860. description: 上上个交易日(前2天交易日)
  25861. type: string
  25862. reckondate:
  25863. description: 上个交易日(前1天交易日)
  25864. type: string
  25865. todayavgprice:
  25866. description: 上个交易日价格(前1天价格)
  25867. type: string
  25868. updown:
  25869. description: 涨跌
  25870. type: string
  25871. updownratio:
  25872. description: 涨幅(已格式化, 直接显示即可)
  25873. type: string
  25874. type: object
  25875. models.WrSpotGroupTradeSumDetail:
  25876. properties:
  25877. deliverygoodsid:
  25878. description: 现货商品id
  25879. type: integer
  25880. price:
  25881. description: 价格
  25882. type: number
  25883. reckondate:
  25884. description: 日期(yyymmdd, 如:20211031)
  25885. type: string
  25886. type: object
  25887. models.WrSpotGroupTradeSumEx:
  25888. properties:
  25889. lst:
  25890. description: 指数列表
  25891. items:
  25892. $ref: '#/definitions/models.WrSpotGroupTradeSum'
  25893. type: array
  25894. prereckondate:
  25895. description: 上上个交易日(yyymmdd)
  25896. type: string
  25897. reckondate:
  25898. description: 上个交易日(yyyymmdd)
  25899. type: string
  25900. type: object
  25901. models.WrStandardFactoryItem:
  25902. properties:
  25903. dgfactoryitemid:
  25904. description: 选择项id
  25905. type: integer
  25906. dgfactoryitemvalue:
  25907. description: 要素项值
  25908. type: string
  25909. warehouseid:
  25910. description: 仓库id
  25911. type: integer
  25912. type: object
  25913. models.WrStandardFactoryItemEx:
  25914. properties:
  25915. dgfactoryitemtypeid:
  25916. description: 要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)
  25917. type: integer
  25918. itemlst:
  25919. description: 要素项列表
  25920. items:
  25921. $ref: '#/definitions/models.WrStandardFactoryItem'
  25922. type: array
  25923. itemtypename:
  25924. description: 要素项类型名称
  25925. type: string
  25926. wrstandardid:
  25927. description: 品类
  25928. type: integer
  25929. type: object
  25930. models.WrTradeDetail:
  25931. properties:
  25932. accountid:
  25933. description: 资金账号
  25934. type: integer
  25935. bannerpicurl:
  25936. description: Banner图
  25937. type: string
  25938. begindate:
  25939. description: 开始交易日(yyyymmdd)
  25940. type: string
  25941. buyorsell:
  25942. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  25943. type: integer
  25944. chargevalue:
  25945. description: 手续费
  25946. type: number
  25947. contractaddr:
  25948. description: 合同地址
  25949. type: string
  25950. deliverygoodscode:
  25951. description: 品种代码
  25952. type: string
  25953. deliverygoodsid:
  25954. description: 品种ID
  25955. type: integer
  25956. deliverygoodsname:
  25957. description: 品种名称
  25958. type: string
  25959. deliverymonth:
  25960. description: 交收月
  25961. type: string
  25962. enddate:
  25963. description: 结束交易日(yyyymmdd)
  25964. type: string
  25965. enumdicname:
  25966. description: 单位名称
  25967. type: string
  25968. haswr:
  25969. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  25970. type: integer
  25971. marketid:
  25972. description: 市场ID
  25973. type: integer
  25974. matchaccountid:
  25975. description: 对手账号
  25976. type: integer
  25977. matchusername:
  25978. description: 对手方
  25979. type: string
  25980. minivalue:
  25981. description: 现货商品最小变动值
  25982. type: integer
  25983. optioncompare:
  25984. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  25985. type: string
  25986. thumurls:
  25987. description: 缩略图
  25988. type: string
  25989. tradedate:
  25990. description: 交易日(yyyyMMdd)
  25991. type: string
  25992. tradeprice:
  25993. description: 成交价格
  25994. type: number
  25995. tradeqty:
  25996. description: 成交数量
  25997. type: number
  25998. tradetime:
  25999. description: 成交时间
  26000. type: string
  26001. unitid:
  26002. description: 现货商品单位ID
  26003. type: integer
  26004. userid:
  26005. description: 用户ID
  26006. type: integer
  26007. warehouseid:
  26008. description: 仓库ID
  26009. type: integer
  26010. warehousename:
  26011. description: 仓库名称
  26012. type: string
  26013. wrfactortypeid:
  26014. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  26015. type: string
  26016. wrfactortypename:
  26017. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  26018. type: string
  26019. wrstandardcode:
  26020. description: 现货商品代码
  26021. type: string
  26022. wrstandardid:
  26023. description: 现货商品ID
  26024. type: integer
  26025. wrstandardname:
  26026. description: 商品名称
  26027. type: string
  26028. wrtradedetailid:
  26029. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  26030. type: string
  26031. wrtradetype:
  26032. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  26033. type: integer
  26034. wrtypename:
  26035. description: 商品
  26036. type: string
  26037. type: object
  26038. models.WrTradeOrderDetail:
  26039. properties:
  26040. buyorsell:
  26041. description: 买卖方向 0-买 1-卖
  26042. type: integer
  26043. goodsid:
  26044. description: 商品id
  26045. type: integer
  26046. orderid:
  26047. description: 委托单号
  26048. type: string
  26049. orderprice:
  26050. description: 委托价格
  26051. type: number
  26052. orderqty:
  26053. description: 委托数量
  26054. type: integer
  26055. userid:
  26056. description: 用户id
  26057. type: integer
  26058. username:
  26059. description: 用户名称(已脱敏)
  26060. type: string
  26061. type: object
  26062. models.WrTypeItem:
  26063. properties:
  26064. name:
  26065. description: 名称
  26066. type: string
  26067. value:
  26068. description: 值
  26069. type: string
  26070. type: object
  26071. models.WrUserFriend:
  26072. properties:
  26073. friendname:
  26074. description: 朋友名称(已脱敏)
  26075. type: string
  26076. frienduserid:
  26077. description: 朋友id
  26078. type: integer
  26079. isfriend:
  26080. description: 是否好友 0-不是 1-是
  26081. type: integer
  26082. userid:
  26083. description: 用户id
  26084. type: integer
  26085. type: object
  26086. models.WrUserReceiptInfo:
  26087. properties:
  26088. address:
  26089. description: 地址[发票类型:企业]
  26090. type: string
  26091. autoid:
  26092. description: AutoID
  26093. type: integer
  26094. contactinfo:
  26095. description: 联系方式
  26096. type: string
  26097. email:
  26098. description: 收件邮箱
  26099. type: string
  26100. idnum:
  26101. description: 身份证号码[发票类型:个人]
  26102. type: string
  26103. isdefault:
  26104. description: 是否默认地址 - 0:否 1:是
  26105. type: integer
  26106. receiptaccount:
  26107. description: 发票帐号[发票类型:企业]
  26108. type: string
  26109. receiptbank:
  26110. description: 发票开户行[发票类型:企业]
  26111. type: string
  26112. receipttype:
  26113. description: 发票类型 - 1:个人 2:企业
  26114. type: integer
  26115. taxpayerid:
  26116. description: 纳税人识别号
  26117. type: string
  26118. userid:
  26119. description: 用户ID
  26120. type: integer
  26121. username:
  26122. description: 户名(个人姓名或企业名称)
  26123. type: string
  26124. type: object
  26125. models.Wrpresaleapply:
  26126. properties:
  26127. applyid:
  26128. description: 申请人
  26129. type: integer
  26130. applyremark:
  26131. description: 备注
  26132. type: string
  26133. applysrc:
  26134. description: 申请来源 - 1:管理端 2:终端
  26135. type: integer
  26136. applystatus:
  26137. description: 申请状态(inoutapplystatus) - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  26138. type: integer
  26139. applytime:
  26140. description: 申请时间
  26141. type: string
  26142. auditid:
  26143. description: 审核人
  26144. type: integer
  26145. auditremark:
  26146. description: 审核备注
  26147. type: string
  26148. auditsrc:
  26149. description: 审核来源 - 1:管理端 2:终端
  26150. type: integer
  26151. audittime:
  26152. description: 审核时间
  26153. type: string
  26154. audittradedate:
  26155. description: 审核交易日(yyyyMMdd)
  26156. type: string
  26157. bannerpicurl:
  26158. description: Banner图(逗号分隔)
  26159. type: string
  26160. baseqty:
  26161. description: 中签基数
  26162. type: number
  26163. buymarginalgorithm:
  26164. description: 买方保证金方式 - 1:比率 2:固定
  26165. type: integer
  26166. buymarginvalue:
  26167. description: 买方保证金设置值
  26168. type: number
  26169. clientticket:
  26170. description: 客户端流水号
  26171. type: string
  26172. deliverygoodsid:
  26173. description: 现货品种ID
  26174. type: integer
  26175. enddate:
  26176. description: 预售结束日期
  26177. type: string
  26178. handlestatus:
  26179. description: 处理状态
  26180. type: integer
  26181. marketid:
  26182. description: 市场ID
  26183. type: integer
  26184. maxbuyqty:
  26185. description: 单人最大申购量
  26186. type: number
  26187. maxluckyqty:
  26188. description: 单人最大中签量 - 作废
  26189. type: number
  26190. minbuyqty:
  26191. description: 单人最小申购量
  26192. type: number
  26193. minsuccessqty:
  26194. description: 最低成团量
  26195. type: number
  26196. performancetemplateid:
  26197. description: 履约计划模板ID(方式为1时填-1, 为2时选择模板)
  26198. type: integer
  26199. pictureurls:
  26200. description: 详情图片(逗号分隔)
  26201. type: string
  26202. presaleapplyid:
  26203. description: 预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)
  26204. type: string
  26205. presaleqty:
  26206. description: 预售总量
  26207. type: number
  26208. qtydesc:
  26209. description: 数量描述 [2:毛坯钻石]
  26210. type: string
  26211. remark:
  26212. description: 备注
  26213. type: string
  26214. sellaccountid:
  26215. description: 发行方资金账户ID
  26216. type: integer
  26217. selluserid:
  26218. description: 发行方用户ID
  26219. type: integer
  26220. sizestr:
  26221. description: 尺寸 [1:成品裸钻 \ 2:毛坯钻石]
  26222. type: string
  26223. startdate:
  26224. description: 预售开始日期
  26225. type: string
  26226. takestartdate:
  26227. description: 提货开始日期
  26228. type: string
  26229. thumurls:
  26230. description: 缩略图片(1:1)(逗号分隔)
  26231. type: string
  26232. unitid:
  26233. description: 单位ID
  26234. type: integer
  26235. unitprice:
  26236. description: 商品单价
  26237. type: number
  26238. warehouseid:
  26239. description: 仓库ID
  26240. type: integer
  26241. weightdesc:
  26242. description: 重量描述 [2:毛坯钻石]
  26243. type: string
  26244. wrfactortypeid:
  26245. description: 仓单要素类型ID - 根据现货商品\仓库生成
  26246. type: integer
  26247. wrstandardid:
  26248. description: 现货商品ID
  26249. type: integer
  26250. wrstandardname:
  26251. description: 现货商品名称
  26252. type: string
  26253. yieldrate:
  26254. description: 成品率 [2:毛坯钻石]
  26255. type: string
  26256. ysproductionmode:
  26257. description: 生产方式 - 枚举”YSProductionMode“ [2:毛坯钻石] 1:HPHT 2:CVD
  26258. type: integer
  26259. yszscategory:
  26260. description: 钻石分类 - 枚举”YSZSCategory“ 1:成品裸钻 2:毛坯钻石
  26261. type: integer
  26262. zsclaritytypestr:
  26263. description: 净度 [1:成品裸钻 \ 2:毛坯钻石]
  26264. type: string
  26265. zscolortypestr:
  26266. description: 颜色 [1:成品裸钻 \ 2:毛坯钻石]
  26267. type: string
  26268. zscuttypestr:
  26269. description: 切工 [1:成品裸钻]
  26270. type: string
  26271. zsfluorescencetypestr:
  26272. description: 荧光 [1:成品裸钻]
  26273. type: string
  26274. zspolishtypestr:
  26275. description: 抛光 [1:成品裸钻]
  26276. type: string
  26277. zsshapetypestr:
  26278. description: 形状 [1:成品裸钻]
  26279. type: string
  26280. zssymmetrytypestr:
  26281. description: 对称 [1:成品裸钻]
  26282. type: string
  26283. required:
  26284. - marketid
  26285. - selluserid
  26286. type: object
  26287. models.Wrtradetradequote:
  26288. properties:
  26289. buyaccountid:
  26290. description: 买方账号ID
  26291. type: integer
  26292. buychargevalue:
  26293. description: 买方手续费
  26294. type: number
  26295. buyuserid:
  26296. description: 买方用户ID
  26297. type: integer
  26298. deliverygoodsid:
  26299. description: 现货品种ID
  26300. type: integer
  26301. exchangerate:
  26302. description: 汇率
  26303. type: number
  26304. marketid:
  26305. description: 市场ID
  26306. type: integer
  26307. oritradeamount:
  26308. description: 成交金额[商品币种]
  26309. type: number
  26310. performanceplanid:
  26311. description: 履约计划ID/合同ID
  26312. type: integer
  26313. sellaccountid:
  26314. description: 卖方账号ID
  26315. type: integer
  26316. sellchargevalue:
  26317. description: 卖方手续费
  26318. type: number
  26319. selluserid:
  26320. description: 卖方用户ID
  26321. type: integer
  26322. tradeamount:
  26323. description: 成交金额
  26324. type: number
  26325. tradedate:
  26326. description: 交易日(yyyyMMdd)
  26327. type: string
  26328. tradeprice:
  26329. description: 成交价格
  26330. type: number
  26331. tradeqty:
  26332. description: 成交数量
  26333. type: integer
  26334. tradetime:
  26335. description: 成交时间
  26336. type: string
  26337. wrfactortypeid:
  26338. description: 仓单要素类型ID
  26339. type: integer
  26340. wrstandardid:
  26341. description: 现货商品ID
  26342. type: integer
  26343. wrtradedetailid:
  26344. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  26345. type: integer
  26346. type: object
  26347. models.XHBRAND:
  26348. properties:
  26349. brandid:
  26350. description: 品牌id
  26351. type: integer
  26352. brandname:
  26353. description: 品牌名称
  26354. type: string
  26355. isvalid:
  26356. description: 是否有效 0-无效 1-有效
  26357. type: integer
  26358. type: object
  26359. models.XHDeliveryGoods:
  26360. properties:
  26361. areauserid:
  26362. description: 所属机构
  26363. type: integer
  26364. bdlst:
  26365. description: 品牌列表
  26366. items:
  26367. $ref: '#/definitions/models.XHBRAND'
  26368. type: array
  26369. deliverygoodscode:
  26370. description: 现货品种代码
  26371. type: string
  26372. deliverygoodsid:
  26373. description: 现货品种ID(SEQ_DELIVERYGOODS)
  26374. type: integer
  26375. deliverygoodsname:
  26376. description: 现货品种名称
  26377. type: string
  26378. dgstatus:
  26379. description: 品种状态 - 作废 - 0:未激活 1:正常
  26380. type: integer
  26381. filterSubEmpty:
  26382. description: 过滤下级为空的
  26383. type: integer
  26384. isvalid:
  26385. description: 是否有效 - 0:无效 1:有效
  26386. type: integer
  26387. remark:
  26388. description: 备注
  26389. type: string
  26390. unitid:
  26391. description: 单位id(目前看,数据库中是空值)
  26392. type: integer
  26393. wdlst:
  26394. description: 品类(现货商品)列表
  26395. items:
  26396. $ref: '#/definitions/models.XHWrstandard'
  26397. type: array
  26398. type: object
  26399. models.XHMiddleGoods:
  26400. properties:
  26401. GPLST:
  26402. description: 期货品种列表
  26403. items:
  26404. $ref: '#/definitions/models.TBGoodsGroup'
  26405. type: array
  26406. convertratio:
  26407. description: 拆算系数
  26408. type: number
  26409. costratio:
  26410. description: 成本权重
  26411. type: number
  26412. deliverygoodsid:
  26413. description: 现货商品id
  26414. type: integer
  26415. enumdicname:
  26416. description: 单位名称
  26417. type: string
  26418. middlegoodscode:
  26419. description: 套保品种代码
  26420. type: string
  26421. middlegoodsid:
  26422. description: 套保品种id
  26423. type: integer
  26424. middlegoodsname:
  26425. description: 套保品种名称
  26426. type: string
  26427. unitid:
  26428. description: 单位id
  26429. type: integer
  26430. type: object
  26431. models.XHWrstandard:
  26432. properties:
  26433. bannerpicurl:
  26434. description: banner图
  26435. type: string
  26436. deliverygoodsid:
  26437. description: 品种ID
  26438. type: integer
  26439. enumdicname:
  26440. description: 单位名称
  26441. type: string
  26442. mglst:
  26443. description: 套保品列表
  26444. items:
  26445. $ref: '#/definitions/models.XHMiddleGoods'
  26446. type: array
  26447. pictureurls:
  26448. description: 详情图片(逗号分隔)
  26449. type: string
  26450. thumurls:
  26451. description: 缩略图片(1:1)(逗号分隔)
  26452. type: string
  26453. unitid:
  26454. description: 单位id
  26455. type: integer
  26456. vatrate:
  26457. description: 增值税率
  26458. type: number
  26459. wrstandardcode:
  26460. description: 现货商品代码
  26461. type: string
  26462. wrstandardid:
  26463. description: 现货商品ID(SEQ_WRSTANDARD)
  26464. type: integer
  26465. wrstandardname:
  26466. description: 现货商品名称
  26467. type: string
  26468. type: object
  26469. models.XhcpSellBackApplyEx:
  26470. properties:
  26471. applyremark:
  26472. description: 申请备注
  26473. type: string
  26474. expirytype:
  26475. description: 寄售有效期 - 1:3天 2:7天 3:15天 4:长期
  26476. type: integer
  26477. goodsspec:
  26478. description: 商品规格 - 1:整件 2;整提 3:单罐 4:单盒
  26479. type: integer
  26480. holeflag:
  26481. description: 是否破洞[原封] - 1:无破洞 2:破洞
  26482. type: integer
  26483. isunopened:
  26484. description: 是否原封 - 1:否 2:是
  26485. type: integer
  26486. mpflag:
  26487. description: 磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮
  26488. type: integer
  26489. openflag:
  26490. description: 是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。
  26491. 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。
  26492. type: integer
  26493. phonenum:
  26494. description: 联系电话
  26495. type: string
  26496. userid:
  26497. description: 所属用户ID
  26498. type: integer
  26499. zpflag:
  26500. description: 皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮
  26501. type: integer
  26502. required:
  26503. - userid
  26504. type: object
  26505. models.Xhcpsellbackapply:
  26506. properties:
  26507. applyid:
  26508. description: 申请人
  26509. type: integer
  26510. applyremark:
  26511. description: 申请备注
  26512. type: string
  26513. applysrc:
  26514. description: 申请来源 - 1:管理端 2:终端
  26515. type: integer
  26516. applystatus:
  26517. description: 申请状态 - 1:待确认 2:已处理
  26518. type: integer
  26519. applytime:
  26520. description: 申请时间
  26521. type: string
  26522. auditremark:
  26523. description: 审核备注
  26524. type: string
  26525. auditsrc:
  26526. description: 审核来源 - 1:管理端 2:终端
  26527. type: integer
  26528. expirytype:
  26529. description: 寄售有效期 - 1:3天 2:7天 3:15天 4:长期
  26530. type: integer
  26531. goodsspec:
  26532. description: 商品规格 - 1:整件 2;整提 3:单罐 4:单盒
  26533. type: integer
  26534. holeflag:
  26535. description: 是否破洞[原封] - 1:无破洞 2:破洞
  26536. type: integer
  26537. isunopened:
  26538. description: 是否原封 - 1:否 2:是
  26539. type: integer
  26540. mpflag:
  26541. description: 磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮
  26542. type: integer
  26543. openflag:
  26544. description: 是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。
  26545. 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。
  26546. type: integer
  26547. phonenum:
  26548. description: 联系电话
  26549. type: string
  26550. sellbackapplyid:
  26551. description: 回收申请ID - SEQ_XHCP_SELLBACKAPPLY
  26552. type: string
  26553. userid:
  26554. description: 所属用户ID
  26555. type: integer
  26556. zpflag:
  26557. description: 皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮
  26558. type: integer
  26559. required:
  26560. - userid
  26561. type: object
  26562. order.QueryHisTradeDetailRsp:
  26563. properties:
  26564. accountid:
  26565. description: 账户ID[报价币种]
  26566. type: integer
  26567. advanceratio:
  26568. description: 首付比率
  26569. type: number
  26570. buildtype:
  26571. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  26572. type: integer
  26573. buyorsell:
  26574. description: 方向 - 0:买 1:卖
  26575. type: integer
  26576. charge:
  26577. description: 手续费
  26578. type: number
  26579. closecharge:
  26580. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  26581. type: number
  26582. closeexchagechargevalue:
  26583. description: 平仓交易所手续费设置值
  26584. type: number
  26585. closefeealgorithm:
  26586. description: 平仓手续费收取方式 1:比率 2:固定
  26587. type: integer
  26588. closememberchargevalue:
  26589. description: 平仓会员手续费设置值
  26590. type: number
  26591. closepl:
  26592. description: 平仓盈亏
  26593. type: number
  26594. closepl2:
  26595. description: 平仓盈亏[逐笔]
  26596. type: number
  26597. closeqty:
  26598. description: 平仓数量(先建后平操作 需要记录)
  26599. type: number
  26600. creditamount:
  26601. description: 授信金额
  26602. type: number
  26603. decimalplace:
  26604. description: 商品报价小数位
  26605. type: integer
  26606. enumdicname:
  26607. description: 单位名称
  26608. type: string
  26609. gcaccountid:
  26610. description: 账户ID[合约币种]
  26611. type: integer
  26612. goodscode:
  26613. description: 商品代码
  26614. type: string
  26615. goodsid:
  26616. description: 商品ID
  26617. type: integer
  26618. goodsname:
  26619. description: 商品名称
  26620. type: string
  26621. goodunitid:
  26622. description: 商品单位id
  26623. type: integer
  26624. histradedate:
  26625. description: 历史交易日
  26626. type: string
  26627. intclosepl:
  26628. description: 整型盈亏(用于交易结算试算平衡-收益权)
  26629. type: integer
  26630. isconfirmexercise:
  26631. description: 是否确认行权- 0:否 1:是
  26632. type: integer
  26633. ismain:
  26634. description: 是否主单 - 0:不是 1:是
  26635. type: integer
  26636. ispreexercise:
  26637. description: 是否预申报- 0:否 1:是
  26638. type: integer
  26639. isreckoned:
  26640. description: 是否结算 - 0:未结算 1:已结算
  26641. type: integer
  26642. isvaliddata:
  26643. description: 是否有效 - 0:无效 1:有效
  26644. type: integer
  26645. listingselecttype:
  26646. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  26647. type: integer
  26648. marketid:
  26649. description: 市场ID
  26650. type: integer
  26651. marketname:
  26652. description: 市场名称
  26653. type: string
  26654. matchaccountid:
  26655. description: 对手账号id
  26656. type: integer
  26657. memberuserid:
  26658. description: 会员id 个人投资者 需要填写
  26659. type: integer
  26660. opencharge:
  26661. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  26662. type: number
  26663. openexchagechargevalue:
  26664. description: 建仓交易所手续费设置值
  26665. type: number
  26666. openfeealgorithm:
  26667. description: 建仓手续费收取方式 1:比率 2:固定
  26668. type: integer
  26669. openmemberchargevalue:
  26670. description: 建仓会员手续费设置值
  26671. type: number
  26672. openqty:
  26673. description: 开仓数量(先建后平操作 需要记录)
  26674. type: number
  26675. optiontype:
  26676. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  26677. type: integer
  26678. orderid:
  26679. description: 委托单号
  26680. type: string
  26681. payamount:
  26682. description: 支付金额(付款金额)
  26683. type: number
  26684. performanceplanid:
  26685. description: 履约计划ID[期权]
  26686. type: integer
  26687. performancestatus:
  26688. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  26689. type: integer
  26690. preexerciseprice:
  26691. description: 预申报价格
  26692. type: number
  26693. premium:
  26694. description: 权利金 - [持仓单的权利金]
  26695. type: number
  26696. qtydecimalplace:
  26697. description: 商品报价小数位
  26698. type: integer
  26699. recvamount:
  26700. description: 到账金额 = 成交金额 - 手续费
  26701. type: number
  26702. relatedouttradeid:
  26703. description: 关联外部成交单ID
  26704. type: integer
  26705. status:
  26706. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  26707. type: integer
  26708. totalamount:
  26709. description: 订单总额 = 成交金额 + 手续费
  26710. type: number
  26711. tradeamount:
  26712. description: 成交金额[账户币种,用于所有权]
  26713. type: number
  26714. tradedate:
  26715. description: 交易日(yyyyMMdd)
  26716. type: string
  26717. tradeid:
  26718. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  26719. type: string
  26720. trademode:
  26721. description: 交易模式
  26722. type: integer
  26723. tradeprice:
  26724. description: 成交价格
  26725. type: number
  26726. tradeproperty:
  26727. description: 交易属性
  26728. type: integer
  26729. tradeqty:
  26730. description: 成交数量
  26731. type: number
  26732. tradetime:
  26733. description: 成交时间
  26734. type: string
  26735. tradetype:
  26736. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  26737. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  26738. type: integer
  26739. required:
  26740. - accountid
  26741. - buyorsell
  26742. - goodsid
  26743. - histradedate
  26744. - marketid
  26745. - memberuserid
  26746. - orderid
  26747. - tradeamount
  26748. - tradedate
  26749. - tradeid
  26750. - tradeprice
  26751. - tradeqty
  26752. - tradetime
  26753. type: object
  26754. order.QueryHisTradeOrderDetailRsp:
  26755. properties:
  26756. accountid:
  26757. description: 账户ID[报价币种]
  26758. type: integer
  26759. buildtype:
  26760. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  26761. type: integer
  26762. buyorsell:
  26763. description: 买卖 - 0:买 1:卖
  26764. type: integer
  26765. cancelorderid:
  26766. description: 撤单单号(撤单时填写)
  26767. type: string
  26768. cancelqty:
  26769. description: 撤单数量
  26770. type: number
  26771. clientordertime:
  26772. description: 客户端委托时间
  26773. type: string
  26774. clientticket:
  26775. description: 客户端流水号
  26776. type: string
  26777. clienttype:
  26778. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  26779. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  26780. type: integer
  26781. closeexchagechargevalue:
  26782. description: 平仓交易所手续费设置值
  26783. type: number
  26784. closefeealgorithm:
  26785. description: 平仓手续费收取方式 1:比率 2:固定
  26786. type: integer
  26787. closefreezecharge:
  26788. description: 平仓冻结手续费(先建后平操作,需要记录)
  26789. type: number
  26790. closememberchargevalue:
  26791. description: 平仓会员手续费设置值
  26792. type: number
  26793. closeqty:
  26794. description: 平仓数量(先建后平操作 需要记录)
  26795. type: number
  26796. closetradeqty:
  26797. description: 平仓成交数量(先建后平操作,需要记录)
  26798. type: number
  26799. closeunfreezecharge:
  26800. description: 平仓解冻手续费(先建后平操作,需要记录)
  26801. type: number
  26802. decimalplace:
  26803. description: 商品报价小数位
  26804. type: integer
  26805. delistingtype:
  26806. description: 摘牌类型 - 1:价格最优 2:点选成交
  26807. type: integer
  26808. enumdicname:
  26809. description: 单位名称
  26810. type: string
  26811. freezecharge:
  26812. description: 冻结手续费
  26813. type: number
  26814. freezemargin:
  26815. description: 冻结保证金(冻结交易金额)
  26816. type: number
  26817. gcaccountid:
  26818. description: 账户ID[合约币种]
  26819. type: integer
  26820. goodscode:
  26821. description: 商品代码
  26822. type: string
  26823. goodsid:
  26824. description: 商品ID
  26825. type: integer
  26826. goodsname:
  26827. description: 商品名称
  26828. type: string
  26829. goodunitid:
  26830. description: 商品单位id
  26831. type: integer
  26832. histradedate:
  26833. description: 历史交易日
  26834. type: string
  26835. isconfirmexercise:
  26836. description: 是否确认行权- 0:否 1:是
  26837. type: integer
  26838. ispreexercise:
  26839. description: 是否预申报- 0:否 1:是
  26840. type: integer
  26841. isvaliddata:
  26842. description: 是否有效 - 0:无效 1:有效
  26843. type: integer
  26844. listingselecttype:
  26845. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  26846. type: integer
  26847. marginalgorithm:
  26848. description: 保证金收取方式 1:比率 2:固定
  26849. type: integer
  26850. marginvalue:
  26851. description: 即市保证金设置值
  26852. type: number
  26853. marketid:
  26854. description: 市场ID
  26855. type: integer
  26856. marketmaxsub:
  26857. description: 市价最大偏移范围
  26858. type: number
  26859. marketname:
  26860. description: 市场名称
  26861. type: string
  26862. memberuserid:
  26863. description: 所属会员UserID
  26864. type: integer
  26865. openexchagechargevalue:
  26866. description: 建仓交易所手续费设置值
  26867. type: number
  26868. openfeealgorithm:
  26869. description: 建仓手续费收取方式 1:比率 2:固定
  26870. type: integer
  26871. openfreezecharge:
  26872. description: 开仓冻结手续费(先建后平操作,需要记录)
  26873. type: number
  26874. openmemberchargevalue:
  26875. description: 建仓会员手续费设置值
  26876. type: number
  26877. openqty:
  26878. description: 开仓数量(先建后平操作,需要记录)
  26879. type: number
  26880. opentradeqty:
  26881. description: 开仓成交数量(先建后平操作,需要记录)
  26882. type: number
  26883. openunfreezecharge:
  26884. description: 开仓解冻手续费(先建后平操作,需要记录)
  26885. type: number
  26886. operatetype:
  26887. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  26888. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  26889. 15:管理端协议转让
  26890. type: integer
  26891. operatorid:
  26892. description: 登录账号(LoginID)
  26893. type: integer
  26894. optiontype:
  26895. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  26896. type: integer
  26897. orderid:
  26898. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  26899. type: string
  26900. orderprice:
  26901. description: 委托价格
  26902. type: number
  26903. orderqty:
  26904. description: 委托数量
  26905. type: number
  26906. ordersrc:
  26907. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  26908. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  26909. type: integer
  26910. orderstatus:
  26911. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  26912. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  26913. 16:成交失败违约(荷兰式竞拍专用)
  26914. type: integer
  26915. ordertime:
  26916. description: 委托时间
  26917. type: string
  26918. preexerciseprice:
  26919. description: 预申报价格
  26920. type: number
  26921. premium:
  26922. description: 权利金
  26923. type: number
  26924. preorderid:
  26925. description: 关联预埋单号(止盈止损单时填写)
  26926. type: string
  26927. pricemode:
  26928. description: '取价方式 - 1:市价 2: 限价'
  26929. type: integer
  26930. qtydecimalplace:
  26931. description: 成交量小数位
  26932. type: integer
  26933. quoteid:
  26934. description: 报价单ID
  26935. type: integer
  26936. relatedid:
  26937. description: 关联单号(交割单)
  26938. type: string
  26939. retcode:
  26940. description: 错误代码
  26941. type: integer
  26942. sessionid:
  26943. description: 会话ID
  26944. type: integer
  26945. tradedate:
  26946. description: 交易日(yyyyMMdd)
  26947. type: string
  26948. trademode:
  26949. description: 交易模式
  26950. type: integer
  26951. tradeproperty:
  26952. description: 交易属性
  26953. type: integer
  26954. tradeqty:
  26955. description: 成交数量
  26956. type: number
  26957. unfreezecharge:
  26958. description: 解冻手续费
  26959. type: number
  26960. unfreezemargin:
  26961. description: 解冻保证金
  26962. type: number
  26963. updatetime:
  26964. description: 更新时间
  26965. type: string
  26966. uuid:
  26967. description: 发起端唯一id
  26968. type: string
  26969. validtime:
  26970. description: 有效期限
  26971. type: string
  26972. validtype:
  26973. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  26974. type: integer
  26975. volumetype:
  26976. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  26977. type: integer
  26978. required:
  26979. - accountid
  26980. - buildtype
  26981. - buyorsell
  26982. - goodsid
  26983. - histradedate
  26984. - marketid
  26985. - memberuserid
  26986. - operatetype
  26987. - orderid
  26988. - orderqty
  26989. - ordertime
  26990. - pricemode
  26991. - tradedate
  26992. - validtype
  26993. type: object
  26994. order.QueryTradeDetailRsp:
  26995. properties:
  26996. accountid:
  26997. description: 账户ID[报价币种]
  26998. type: integer
  26999. advanceratio:
  27000. description: 首付比率
  27001. type: number
  27002. buildtype:
  27003. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  27004. type: integer
  27005. buyorsell:
  27006. description: 方向 - 0:买 1:卖
  27007. type: integer
  27008. charge:
  27009. description: 手续费
  27010. type: number
  27011. closecharge:
  27012. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  27013. type: number
  27014. closeexchagechargevalue:
  27015. description: 平仓交易所手续费设置值
  27016. type: number
  27017. closefeealgorithm:
  27018. description: 平仓手续费收取方式 1:比率 2:固定
  27019. type: integer
  27020. closememberchargevalue:
  27021. description: 平仓会员手续费设置值
  27022. type: number
  27023. closepl:
  27024. description: 平仓盈亏
  27025. type: number
  27026. closepl2:
  27027. description: 平仓盈亏[逐笔]
  27028. type: number
  27029. closeqty:
  27030. description: 平仓数量(先建后平操作 需要记录)
  27031. type: number
  27032. creditamount:
  27033. description: 授信金额
  27034. type: number
  27035. decimalplace:
  27036. description: 商品报价小数位
  27037. type: integer
  27038. enumdicname:
  27039. description: 单位名称
  27040. type: string
  27041. gcaccountid:
  27042. description: 账户ID[合约币种]
  27043. type: integer
  27044. goodscode:
  27045. description: 商品代码
  27046. type: string
  27047. goodsid:
  27048. description: 商品ID
  27049. type: integer
  27050. goodsname:
  27051. description: 商品名称
  27052. type: string
  27053. goodunitid:
  27054. description: 商品单位id
  27055. type: integer
  27056. intclosepl:
  27057. description: 整型盈亏(用于交易结算试算平衡-收益权)
  27058. type: integer
  27059. isconfirmexercise:
  27060. description: 是否确认行权- 0:否 1:是
  27061. type: integer
  27062. ismain:
  27063. description: 是否主单 - 0:不是 1:是
  27064. type: integer
  27065. ispreexercise:
  27066. description: 是否预申报- 0:否 1:是
  27067. type: integer
  27068. isreckoned:
  27069. description: 是否结算 - 0:未结算 1:已结算
  27070. type: integer
  27071. listingselecttype:
  27072. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  27073. type: integer
  27074. marketid:
  27075. description: 市场ID
  27076. type: integer
  27077. marketname:
  27078. description: 市场名称
  27079. type: string
  27080. matchaccountid:
  27081. description: 对手账号id
  27082. type: integer
  27083. memberuserid:
  27084. description: 会员id 个人投资者 需要填写
  27085. type: integer
  27086. opencharge:
  27087. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  27088. type: number
  27089. openexchagechargevalue:
  27090. description: 建仓交易所手续费设置值
  27091. type: number
  27092. openfeealgorithm:
  27093. description: 建仓手续费收取方式 1:比率 2:固定
  27094. type: integer
  27095. openmemberchargevalue:
  27096. description: 建仓会员手续费设置值
  27097. type: number
  27098. openqty:
  27099. description: 开仓数量(先建后平操作 需要记录)
  27100. type: number
  27101. optiontype:
  27102. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  27103. type: integer
  27104. orderid:
  27105. description: 委托单号
  27106. type: string
  27107. payamount:
  27108. description: 支付金额(付款金额)
  27109. type: number
  27110. performanceplanid:
  27111. description: 履约计划ID[期权]
  27112. type: integer
  27113. performancestatus:
  27114. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  27115. type: integer
  27116. preexerciseprice:
  27117. description: 预申报价格
  27118. type: number
  27119. premium:
  27120. description: 权利金 - [持仓单的权利金]
  27121. type: number
  27122. qtydecimalplace:
  27123. description: 商品报价小数位
  27124. type: integer
  27125. recvamount:
  27126. description: 到账金额 = 成交金额 - 手续费
  27127. type: number
  27128. relatedouttradeid:
  27129. description: 关联外部成交单ID
  27130. type: integer
  27131. status:
  27132. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  27133. type: integer
  27134. totalamount:
  27135. description: 订单总额 = 成交金额 + 手续费
  27136. type: number
  27137. tradeamount:
  27138. description: 成交金额[账户币种,用于所有权]
  27139. type: number
  27140. tradedate:
  27141. description: 交易日(yyyyMMdd)
  27142. type: string
  27143. tradeid:
  27144. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  27145. type: string
  27146. trademode:
  27147. description: 交易模式
  27148. type: integer
  27149. tradeprice:
  27150. description: 成交价格
  27151. type: number
  27152. tradeproperty:
  27153. description: 交易属性
  27154. type: integer
  27155. tradeqty:
  27156. description: 成交数量
  27157. type: number
  27158. tradetime:
  27159. description: 成交时间
  27160. type: string
  27161. tradetype:
  27162. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  27163. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  27164. type: integer
  27165. required:
  27166. - accountid
  27167. - buyorsell
  27168. - goodsid
  27169. - marketid
  27170. - memberuserid
  27171. - orderid
  27172. - tradeamount
  27173. - tradedate
  27174. - tradeid
  27175. - tradeprice
  27176. - tradeqty
  27177. - tradetime
  27178. type: object
  27179. order.QueryTradeOrderDetailRsp:
  27180. properties:
  27181. accountid:
  27182. description: 账户ID[报价币种]
  27183. type: integer
  27184. buildtype:
  27185. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  27186. type: integer
  27187. buyorsell:
  27188. description: 买卖 - 0:买 1:卖
  27189. type: integer
  27190. cancelorderid:
  27191. description: 撤单单号(撤单时填写)
  27192. type: string
  27193. cancelqty:
  27194. description: 撤单数量
  27195. type: number
  27196. clienttype:
  27197. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  27198. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  27199. type: integer
  27200. closefreezecharge:
  27201. description: 平仓冻结手续费(先建后平操作,需要记录)
  27202. type: number
  27203. closeqty:
  27204. description: 平仓数量(先建后平操作 需要记录)
  27205. type: number
  27206. closetradeqty:
  27207. description: 平仓成交数量(先建后平操作,需要记录)
  27208. type: number
  27209. closeunfreezecharge:
  27210. description: 平仓解冻手续费(先建后平操作,需要记录)
  27211. type: number
  27212. decimalplace:
  27213. description: 商品报价小数位
  27214. type: integer
  27215. delistingtype:
  27216. description: 摘牌类型 - 1:价格最优 2:点选成交
  27217. type: integer
  27218. enableqty:
  27219. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  27220. type: number
  27221. enumdicname:
  27222. description: 单位名称
  27223. type: string
  27224. freezecharge:
  27225. description: 冻结手续费
  27226. type: number
  27227. freezemargin:
  27228. description: 冻结保证金(冻结交易金额)
  27229. type: number
  27230. goodscode:
  27231. description: 商品代码
  27232. type: string
  27233. goodsid:
  27234. description: 商品ID
  27235. type: integer
  27236. goodsname:
  27237. description: 商品名称
  27238. type: string
  27239. goodunitid:
  27240. description: 商品单位id
  27241. type: integer
  27242. listingselecttype:
  27243. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  27244. type: integer
  27245. marketid:
  27246. description: 市场ID
  27247. type: integer
  27248. marketname:
  27249. description: 市场名称
  27250. type: string
  27251. openfreezecharge:
  27252. description: 开仓冻结手续费(先建后平操作,需要记录)
  27253. type: number
  27254. openqty:
  27255. description: 开仓数量(先建后平操作,需要记录)
  27256. type: number
  27257. opentradeqty:
  27258. description: 开仓成交数量(先建后平操作,需要记录)
  27259. type: number
  27260. openunfreezecharge:
  27261. description: 开仓解冻手续费(先建后平操作,需要记录)
  27262. type: number
  27263. operatetype:
  27264. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  27265. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  27266. 15:管理端协议转让
  27267. type: integer
  27268. operatorid:
  27269. description: 登录账号(LoginID)
  27270. type: integer
  27271. orderid:
  27272. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  27273. type: string
  27274. orderprice:
  27275. description: 委托价格
  27276. type: number
  27277. orderqty:
  27278. description: 委托数量
  27279. type: number
  27280. ordersrc:
  27281. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  27282. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  27283. type: integer
  27284. orderstatus:
  27285. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  27286. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  27287. 16:成交失败违约(荷兰式竞拍专用)
  27288. type: integer
  27289. ordertime:
  27290. description: 委托时间
  27291. type: string
  27292. preorderid:
  27293. description: 关联预埋单号(止盈止损单时填写)
  27294. type: string
  27295. pricemode:
  27296. description: '取价方式 - 1:市价 2: 限价'
  27297. type: integer
  27298. qtydecimalplace:
  27299. description: 商品报价小数位
  27300. type: integer
  27301. relatedid:
  27302. description: 关联单号(交割单)
  27303. type: string
  27304. tradedate:
  27305. description: 交易日(yyyyMMdd)
  27306. type: string
  27307. trademode:
  27308. description: 交易模式
  27309. type: integer
  27310. tradeqty:
  27311. description: 成交数量
  27312. type: number
  27313. unfreezecharge:
  27314. description: 解冻手续费
  27315. type: number
  27316. unfreezemargin:
  27317. description: 解冻保证金
  27318. type: number
  27319. validtime:
  27320. description: 有效期限
  27321. type: string
  27322. validtype:
  27323. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  27324. type: integer
  27325. volumetype:
  27326. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  27327. type: integer
  27328. required:
  27329. - accountid
  27330. - buildtype
  27331. - buyorsell
  27332. - goodsid
  27333. - marketid
  27334. - operatetype
  27335. - orderqty
  27336. - ordertime
  27337. - pricemode
  27338. - tradedate
  27339. - validtype
  27340. type: object
  27341. order.QueryTradePositionRsp:
  27342. properties:
  27343. accountid:
  27344. description: 资金账户
  27345. type: integer
  27346. agreeunit:
  27347. description: 合约单位
  27348. type: number
  27349. averageprice:
  27350. description: 持仓均价
  27351. type: number
  27352. buyorsell:
  27353. description: 方向 - 0:买 1:卖
  27354. type: integer
  27355. closetotalqty:
  27356. description: 平仓总数量
  27357. type: number
  27358. curholderamount:
  27359. description: 当前持仓总金额[商品币种]
  27360. type: number
  27361. curpositionqty:
  27362. description: 当前持仓总数量
  27363. type: number
  27364. currencyid:
  27365. description: 报价货币ID
  27366. type: integer
  27367. curtdposition:
  27368. description: 期末今日头寸
  27369. type: number
  27370. decimalplace:
  27371. description: 报价小数位
  27372. type: integer
  27373. enableqty:
  27374. description: 可用量
  27375. type: number
  27376. fretdposition:
  27377. description: 冻结今日头寸
  27378. type: number
  27379. frozenqty:
  27380. description: 持仓冻结数量
  27381. type: number
  27382. goodscode:
  27383. description: 商品代码
  27384. type: string
  27385. goodsid:
  27386. description: 商品Id
  27387. type: integer
  27388. goodsname:
  27389. description: 商品名称
  27390. type: string
  27391. goodunit:
  27392. description: 报价单位
  27393. type: string
  27394. goodunitid:
  27395. description: 报价单位ID
  27396. type: integer
  27397. holderamount:
  27398. description: 期初持仓总金额[商品币种]
  27399. type: number
  27400. lastprice:
  27401. description: 最新价
  27402. type: number
  27403. marketamount:
  27404. description: 市值
  27405. type: number
  27406. marketid:
  27407. description: 所属市场ID
  27408. type: integer
  27409. openreqqty:
  27410. description: 开仓申请数量(用于比较最大持仓数量)
  27411. type: number
  27412. opentotalqty:
  27413. description: 开仓总数量
  27414. type: number
  27415. otherfrozenqty:
  27416. description: 持仓其他冻结数量(交割冻结)
  27417. type: number
  27418. positionpl:
  27419. description: 持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸
  27420. * 合约单位
  27421. type: number
  27422. positionplrate:
  27423. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  27424. type: number
  27425. positionqty:
  27426. description: 期初持仓数量
  27427. type: number
  27428. qtydecimalplace:
  27429. description: 成交量小数位
  27430. type: integer
  27431. refgoodscode:
  27432. description: 参考商品代码
  27433. type: string
  27434. refgoodsid:
  27435. description: 参考商品ID
  27436. type: integer
  27437. tnqty:
  27438. description: T+N冻结总量
  27439. type: number
  27440. tnusedqty:
  27441. description: T+N使用量(可以使用T+N的冻结数量)
  27442. type: number
  27443. trademode:
  27444. description: 交易模式
  27445. type: integer
  27446. tradeproperty:
  27447. description: 交易属性
  27448. type: integer
  27449. usedmargin:
  27450. description: 占用保证金[商品币种]
  27451. type: number
  27452. required:
  27453. - goodsid
  27454. type: object
  27455. pb.GoodsMarginCfgStruct:
  27456. properties:
  27457. CustomerTypeID:
  27458. description: 投资者客户类型
  27459. type: integer
  27460. GoodsID:
  27461. description: 商品ID
  27462. type: integer
  27463. IsDefault:
  27464. description: 是否默认标志位
  27465. type: integer
  27466. LockMarginValue:
  27467. description: 锁仓保证金
  27468. type: number
  27469. MarginAlgorithm:
  27470. description: 保证金计算方式
  27471. type: integer
  27472. MarketMarginValue:
  27473. description: 即市保证金值
  27474. type: number
  27475. RealMarginAlgorithm:
  27476. description: 实付保证金计算方式
  27477. type: integer
  27478. RealMarginValue:
  27479. description: 实付比例
  27480. type: number
  27481. ReckonMarginValue:
  27482. description: 结算保证金值
  27483. type: number
  27484. type: object
  27485. quote.HistoryData:
  27486. properties:
  27487. c:
  27488. description: 收盘价
  27489. type: number
  27490. f:
  27491. description: 是否补充数据
  27492. type: boolean
  27493. h:
  27494. description: 最高价
  27495. type: number
  27496. hv:
  27497. description: 持仓量
  27498. type: integer
  27499. l:
  27500. description: 最低价
  27501. type: number
  27502. o:
  27503. description: 开盘价
  27504. type: number
  27505. s:
  27506. description: 结算价,日线周期(包括)以上才有
  27507. type: number
  27508. ts:
  27509. description: 时间
  27510. type: string
  27511. tt:
  27512. description: 总金额
  27513. type: number
  27514. tv:
  27515. description: 总量(成交量)
  27516. type: integer
  27517. type: object
  27518. quote.HistoryTikData:
  27519. properties:
  27520. AV:
  27521. description: 卖量
  27522. type: integer
  27523. Ask:
  27524. description: 卖价
  27525. type: number
  27526. BV:
  27527. description: 买量
  27528. type: integer
  27529. Bid:
  27530. description: 买价
  27531. type: number
  27532. HI:
  27533. description: 单笔持仓
  27534. type: integer
  27535. HV:
  27536. description: 持仓量
  27537. type: integer
  27538. PE:
  27539. description: 现价
  27540. type: number
  27541. TDR:
  27542. description: 交易方向,0:买 1:卖
  27543. type: integer
  27544. TK:
  27545. description: 交易类型
  27546. type: integer
  27547. TS:
  27548. description: 行情时间文本
  27549. type: string
  27550. TT:
  27551. description: 现金额
  27552. type: number
  27553. Vol:
  27554. description: 现量
  27555. type: integer
  27556. type: object
  27557. quote.QueryQuoteDayRsp:
  27558. properties:
  27559. ask:
  27560. description: 卖1
  27561. type: number
  27562. ask2:
  27563. description: 卖2
  27564. type: number
  27565. ask3:
  27566. description: 卖3
  27567. type: number
  27568. ask4:
  27569. description: 卖4
  27570. type: number
  27571. ask5:
  27572. description: 卖5
  27573. type: number
  27574. ask6:
  27575. description: 卖6
  27576. type: number
  27577. ask7:
  27578. description: 卖7
  27579. type: number
  27580. ask8:
  27581. description: 卖8
  27582. type: number
  27583. ask9:
  27584. description: 卖9
  27585. type: number
  27586. ask10:
  27587. description: 卖10
  27588. type: number
  27589. askorderid:
  27590. description: 卖单号1
  27591. type: integer
  27592. askorderid2:
  27593. description: 卖单号2
  27594. type: integer
  27595. askorderid3:
  27596. description: 卖单号3
  27597. type: integer
  27598. askorderid4:
  27599. description: 卖单号4
  27600. type: integer
  27601. askorderid5:
  27602. description: 卖单号5
  27603. type: integer
  27604. askordervolume:
  27605. description: 卖单量1
  27606. type: integer
  27607. askordervolume2:
  27608. description: 卖单量2
  27609. type: integer
  27610. askordervolume3:
  27611. description: 卖单量3
  27612. type: integer
  27613. askordervolume4:
  27614. description: 卖单量4
  27615. type: integer
  27616. askordervolume5:
  27617. description: 卖单量5
  27618. type: integer
  27619. askordervolume6:
  27620. description: 卖单量6
  27621. type: integer
  27622. askordervolume7:
  27623. description: 卖单量7
  27624. type: integer
  27625. askordervolume8:
  27626. description: 卖单量8
  27627. type: integer
  27628. askordervolume9:
  27629. description: 卖单量9
  27630. type: integer
  27631. askordervolume10:
  27632. description: 卖单量10
  27633. type: integer
  27634. askqueueinfo:
  27635. description: 大利市卖港股用
  27636. type: string
  27637. askvolume:
  27638. description: 卖量1
  27639. type: integer
  27640. askvolume2:
  27641. description: 卖量2
  27642. type: integer
  27643. askvolume3:
  27644. description: 卖量3
  27645. type: integer
  27646. askvolume4:
  27647. description: 卖量4
  27648. type: integer
  27649. askvolume5:
  27650. description: 卖量5
  27651. type: integer
  27652. askvolume6:
  27653. description: 卖量6
  27654. type: integer
  27655. askvolume7:
  27656. description: 卖量7
  27657. type: integer
  27658. askvolume8:
  27659. description: 卖量8
  27660. type: integer
  27661. askvolume9:
  27662. description: 卖量9
  27663. type: integer
  27664. askvolume10:
  27665. description: 卖量10
  27666. type: integer
  27667. averageprice:
  27668. description: 均价
  27669. type: number
  27670. bid:
  27671. description: 买1
  27672. type: number
  27673. bid2:
  27674. description: 买2
  27675. type: number
  27676. bid3:
  27677. description: 买3
  27678. type: number
  27679. bid4:
  27680. description: 买4
  27681. type: number
  27682. bid5:
  27683. description: 买5
  27684. type: number
  27685. bid6:
  27686. description: 买6
  27687. type: number
  27688. bid7:
  27689. description: 买7
  27690. type: number
  27691. bid8:
  27692. description: 买8
  27693. type: number
  27694. bid9:
  27695. description: 买9
  27696. type: number
  27697. bid10:
  27698. description: 买10
  27699. type: number
  27700. bidorderid:
  27701. description: 买单号1
  27702. type: integer
  27703. bidorderid2:
  27704. description: 买单号2
  27705. type: integer
  27706. bidorderid3:
  27707. description: 买单号3
  27708. type: integer
  27709. bidorderid4:
  27710. description: 买单号4
  27711. type: integer
  27712. bidorderid5:
  27713. description: 买单号5
  27714. type: integer
  27715. bidordervolume:
  27716. description: 买单量1
  27717. type: integer
  27718. bidordervolume2:
  27719. description: 买单量2
  27720. type: integer
  27721. bidordervolume3:
  27722. description: 买单量3
  27723. type: integer
  27724. bidordervolume4:
  27725. description: 买单量4
  27726. type: integer
  27727. bidordervolume5:
  27728. description: 买单量5
  27729. type: integer
  27730. bidordervolume6:
  27731. description: 买单量6
  27732. type: integer
  27733. bidordervolume7:
  27734. description: 买单量7
  27735. type: integer
  27736. bidordervolume8:
  27737. description: 买单量8
  27738. type: integer
  27739. bidordervolume9:
  27740. description: 买单量9
  27741. type: integer
  27742. bidordervolume10:
  27743. description: 买单量10
  27744. type: integer
  27745. bidqueueinfo:
  27746. description: 大利市买港股用
  27747. type: string
  27748. bidvolume:
  27749. description: 买量1
  27750. type: integer
  27751. bidvolume2:
  27752. description: 买量2
  27753. type: integer
  27754. bidvolume3:
  27755. description: 买量3
  27756. type: integer
  27757. bidvolume4:
  27758. description: 买量4
  27759. type: integer
  27760. bidvolume5:
  27761. description: 买量5
  27762. type: integer
  27763. bidvolume6:
  27764. description: 买量6
  27765. type: integer
  27766. bidvolume7:
  27767. description: 买量7
  27768. type: integer
  27769. bidvolume8:
  27770. description: 买量8
  27771. type: integer
  27772. bidvolume9:
  27773. description: 买量9
  27774. type: integer
  27775. bidvolume10:
  27776. description: 买量10
  27777. type: integer
  27778. calloptionpremiums:
  27779. description: 认购期权1
  27780. type: integer
  27781. calloptionpremiums2:
  27782. description: 认购期权2
  27783. type: integer
  27784. calloptionpremiums3:
  27785. description: 认购期权3
  27786. type: integer
  27787. calloptionpremiums4:
  27788. description: 认购期权4
  27789. type: integer
  27790. calloptionpremiums5:
  27791. description: 认购期权5
  27792. type: integer
  27793. cleartime:
  27794. description: 清盘时间
  27795. type: integer
  27796. exchangecode:
  27797. description: 交易所代码
  27798. type: integer
  27799. exchangedate:
  27800. description: 交易日
  27801. type: integer
  27802. goodscode:
  27803. description: 商品代码
  27804. type: string
  27805. grepmarketprice:
  27806. description: 暗盘价 港股专用
  27807. type: number
  27808. highest:
  27809. description: 最高价
  27810. type: number
  27811. holdincrement:
  27812. description: 单笔持仓
  27813. type: integer
  27814. holdvolume:
  27815. description: 持仓
  27816. type: integer
  27817. iep:
  27818. description: 平衡价 港股专用
  27819. type: number
  27820. iev:
  27821. description: 平衡量 港股专用
  27822. type: number
  27823. inventory:
  27824. description: 库存
  27825. type: integer
  27826. iscleared:
  27827. description: 是否清盘标志
  27828. type: integer
  27829. issettled:
  27830. description: 是否结算标志
  27831. type: integer
  27832. last:
  27833. description: 最新价
  27834. type: number
  27835. lastlot:
  27836. description: 最新成交手数
  27837. type: integer
  27838. lasttime:
  27839. description: 行情时间(只有现价变化行情时间才变化)
  27840. type: string
  27841. lastturnover:
  27842. description: 最新成交金额
  27843. type: number
  27844. lastvolume:
  27845. description: 最新成交量
  27846. type: integer
  27847. limitdown:
  27848. description: 跌停价
  27849. type: number
  27850. limitup:
  27851. description: 涨停价
  27852. type: number
  27853. lowest:
  27854. description: 最低价
  27855. type: number
  27856. nontotalholdervolume:
  27857. description: 非交易持仓量
  27858. type: integer
  27859. nontotallot:
  27860. description: 非交易总手数
  27861. type: integer
  27862. nontotalturnover:
  27863. description: 非交易总金额
  27864. type: integer
  27865. nontotalvolume:
  27866. description: 非交易总量
  27867. type: integer
  27868. opened:
  27869. description: 开盘价
  27870. type: number
  27871. opentime:
  27872. description: 开盘时间
  27873. type: string
  27874. orderid:
  27875. description: 序号
  27876. type: integer
  27877. preclose:
  27878. description: 昨收
  27879. type: number
  27880. preholdvolume:
  27881. description: 昨持仓
  27882. type: integer
  27883. presettle:
  27884. description: 昨结价
  27885. type: number
  27886. publictradetype:
  27887. description: 公共交易标志类型 港股专用
  27888. type: string
  27889. putoptionpremiums:
  27890. description: 认沽期权1
  27891. type: integer
  27892. putoptionpremiums2:
  27893. description: 认沽期权2
  27894. type: integer
  27895. putoptionpremiums3:
  27896. description: 认沽期权3
  27897. type: integer
  27898. putoptionpremiums4:
  27899. description: 认沽期权4
  27900. type: integer
  27901. putoptionpremiums5:
  27902. description: 认沽期权5
  27903. type: integer
  27904. settle:
  27905. description: 结算价
  27906. type: number
  27907. strikeprice:
  27908. description: 发行价
  27909. type: number
  27910. totalaskvolume:
  27911. description: 内盘
  27912. type: integer
  27913. totalbidvolume:
  27914. description: 外盘
  27915. type: integer
  27916. totallot:
  27917. description: 总手数
  27918. type: integer
  27919. totalturnover:
  27920. description: 总金额
  27921. type: number
  27922. totalvolume:
  27923. description: 总量
  27924. type: integer
  27925. utclasttime:
  27926. description: utc的行情时间
  27927. type: string
  27928. type: object
  27929. quote.QueryTSDataRsp:
  27930. properties:
  27931. Count:
  27932. description: 交易日应有数据个数
  27933. type: integer
  27934. decimalPlace:
  27935. description: 小数位
  27936. type: integer
  27937. endTime:
  27938. description: 结束时间
  27939. type: string
  27940. goodsCode:
  27941. description: 商品代码
  27942. type: string
  27943. historyDatas:
  27944. description: 历史数据
  27945. items:
  27946. $ref: '#/definitions/quote.HistoryData'
  27947. type: array
  27948. outGoodsCode:
  27949. description: 外部商品代码
  27950. type: string
  27951. preSettle:
  27952. description: 昨结价
  27953. type: number
  27954. runSteps:
  27955. description: 交易日开休市计划
  27956. items:
  27957. $ref: '#/definitions/quote.TSDataRunStep'
  27958. type: array
  27959. startTime:
  27960. description: 开始时间
  27961. type: string
  27962. tradeDate:
  27963. description: 交易日
  27964. type: string
  27965. type: object
  27966. quote.TSDataRunStep:
  27967. properties:
  27968. end:
  27969. description: 真实结束时间
  27970. type: string
  27971. endflag:
  27972. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  27973. type: integer
  27974. endtime:
  27975. description: 结束时间(HH:mm)
  27976. type: string
  27977. endweekday:
  27978. description: 结束周几
  27979. type: integer
  27980. groupid:
  27981. description: 分组ID
  27982. type: integer
  27983. runstep:
  27984. description: 运行阶段 - 2:连续交易
  27985. type: integer
  27986. sectionid:
  27987. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几,
  27988. 结束时间=结算时间 结束周几=结算周几
  27989. type: integer
  27990. start:
  27991. description: 真实开始时间
  27992. type: string
  27993. startflag:
  27994. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  27995. type: integer
  27996. starttime:
  27997. description: 起始时间(HH:mm)
  27998. type: string
  27999. startweekday:
  28000. description: 起始周几
  28001. type: integer
  28002. tradeweekday:
  28003. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  28004. type: integer
  28005. type: object
  28006. szdz.QueryConvertLogRsp:
  28007. properties:
  28008. accountid:
  28009. description: 资金账户ID
  28010. type: integer
  28011. clientticket:
  28012. description: 客户端流水号
  28013. type: string
  28014. converttype:
  28015. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  28016. type: integer
  28017. createtime:
  28018. description: 记账时间
  28019. type: string
  28020. daymaxvalue:
  28021. description: 配置当日最大转入限制
  28022. type: number
  28023. daymaxvalue2:
  28024. description: 配置当日最大转入限制(转入)
  28025. type: number
  28026. goodscode:
  28027. description: 商品代码
  28028. type: string
  28029. goodsname:
  28030. description: 商品名称
  28031. type: string
  28032. handlestatus:
  28033. description: 处理状态
  28034. type: integer
  28035. innergoodsid:
  28036. description: 内部商品ID
  28037. type: integer
  28038. inratio:
  28039. description: 配置转入比值
  28040. type: integer
  28041. invalue:
  28042. description: 目标值
  28043. type: number
  28044. logid:
  28045. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  28046. type: integer
  28047. mobile:
  28048. description: 手机号码(加密存储)
  28049. type: string
  28050. outergoodscode:
  28051. description: 外部商品代码[JD\PD]
  28052. type: string
  28053. outratio:
  28054. description: 配置转出比值
  28055. type: integer
  28056. outvalue:
  28057. description: 源值
  28058. type: number
  28059. pddecimalplace:
  28060. description: PD小数位
  28061. type: integer
  28062. qty:
  28063. description: 数量
  28064. type: string
  28065. remark:
  28066. description: 备注
  28067. type: string
  28068. sessionid:
  28069. description: 会话ID
  28070. type: integer
  28071. timemaxvalue:
  28072. description: 配置单次最大转入限制
  28073. type: number
  28074. timemaxvalue2:
  28075. description: 配置单次最大转入限制(转入)
  28076. type: number
  28077. timeminvalue:
  28078. description: 配置单次最小数量限制
  28079. type: number
  28080. timeminvalue2:
  28081. description: 配置单次最小数量限制(转入)
  28082. type: number
  28083. tradedate:
  28084. description: 交易日(yyyyMMdd)
  28085. type: string
  28086. userid:
  28087. description: 用户ID
  28088. type: integer
  28089. required:
  28090. - logid
  28091. type: object
  28092. szdz.QueryGoodsPickupRsp:
  28093. properties:
  28094. accountid:
  28095. description: 账户ID
  28096. type: integer
  28097. address:
  28098. description: 提货人详细地址
  28099. type: string
  28100. auditer:
  28101. description: 审核人
  28102. type: integer
  28103. audittime:
  28104. description: 审核时间
  28105. type: string
  28106. cardnum:
  28107. description: 提货人证件号码
  28108. type: string
  28109. cardtypeid:
  28110. description: 提货人证件类型
  28111. type: integer
  28112. checkremark:
  28113. description: 审核备注
  28114. type: string
  28115. goodscode:
  28116. description: 商品代码
  28117. type: string
  28118. goodsid:
  28119. description: 商品ID
  28120. type: integer
  28121. goodsname:
  28122. description: 商品名称
  28123. type: string
  28124. handlestatus:
  28125. description: 处理状态
  28126. type: integer
  28127. marketid:
  28128. description: 市场ID
  28129. type: integer
  28130. phonenum:
  28131. description: 提货人联系方式
  28132. type: string
  28133. qty:
  28134. description: 提货数量
  28135. type: number
  28136. recivername:
  28137. description: 提货人姓名
  28138. type: string
  28139. reqtime:
  28140. description: 更新时间
  28141. type: string
  28142. takemode:
  28143. description: 提货方式 - 2:自提 3:配送
  28144. type: integer
  28145. takeorderid:
  28146. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  28147. type: string
  28148. takeorderstatus:
  28149. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  28150. type: integer
  28151. takeremark:
  28152. description: 提货备注
  28153. type: string
  28154. tradedate:
  28155. description: 交易日(yyyyMMdd)
  28156. type: string
  28157. userid:
  28158. description: 用户ID
  28159. type: integer
  28160. required:
  28161. - takeorderid
  28162. type: object
  28163. szdz.QueryRecieptOrderRsp:
  28164. properties:
  28165. accountName:
  28166. description: 所属账号名称(已脱敏)
  28167. type: string
  28168. accountid:
  28169. description: 资金账号
  28170. type: integer
  28171. buyorsell:
  28172. description: 方向 - 0:买 1:卖
  28173. type: integer
  28174. enableqty:
  28175. description: 可摘数量
  28176. type: integer
  28177. goodscode:
  28178. description: 商品代码
  28179. type: string
  28180. goodsid:
  28181. description: 商品ID
  28182. type: integer
  28183. goodsname:
  28184. description: 商品名称
  28185. type: string
  28186. orderid:
  28187. description: 委托单号
  28188. type: string
  28189. orderprice:
  28190. description: 委托价格
  28191. type: number
  28192. ordertime:
  28193. description: 委托时间
  28194. type: string
  28195. tradedate:
  28196. description: 交易日(yyyyMMdd)
  28197. type: string
  28198. required:
  28199. - ordertime
  28200. type: object
  28201. szdz.QuerySZDZTradePositionRsp:
  28202. properties:
  28203. accountid:
  28204. description: 账号Id
  28205. type: integer
  28206. agreeunit:
  28207. description: 合约单位
  28208. type: number
  28209. averageprice:
  28210. description: 持仓均价
  28211. type: number
  28212. buyorsell:
  28213. description: 方向 - 0:买 1:卖
  28214. type: integer
  28215. closetotalqty:
  28216. description: 平仓总数量
  28217. type: integer
  28218. curholderamount:
  28219. description: 当前持仓总金额
  28220. type: number
  28221. curpositionqty:
  28222. description: 当前持仓总数量
  28223. type: integer
  28224. currencyid:
  28225. description: 报价货币ID
  28226. type: integer
  28227. curtdposition:
  28228. description: 期末今日头寸
  28229. type: integer
  28230. decimalplace:
  28231. description: 报价小数位
  28232. type: integer
  28233. enableqty:
  28234. description: 可用量
  28235. type: integer
  28236. fretdposition:
  28237. description: 冻结今日头寸
  28238. type: integer
  28239. frozenqty:
  28240. description: 持仓冻结数量
  28241. type: integer
  28242. goodscode:
  28243. description: 商品代码(内部)
  28244. type: string
  28245. goodsid:
  28246. description: 商品Id
  28247. type: integer
  28248. goodsname:
  28249. description: 商品名称
  28250. type: string
  28251. goodunit:
  28252. description: 报价单位
  28253. type: string
  28254. goodunitid:
  28255. description: 报价单位ID
  28256. type: integer
  28257. holderamount:
  28258. description: 期初持仓总金额
  28259. type: number
  28260. marketid:
  28261. description: 市场ID
  28262. type: integer
  28263. openreqqty:
  28264. description: 开仓申请数量
  28265. type: integer
  28266. opentotalqty:
  28267. description: 开仓总数量
  28268. type: integer
  28269. otherfrozenqty:
  28270. description: 持仓其他冻结数量(交割冻结)
  28271. type: integer
  28272. positionqty:
  28273. description: 期初持仓数量
  28274. type: integer
  28275. szdz3freezqty:
  28276. description: 尚志大宗转换冻结总数量
  28277. type: integer
  28278. tnqty:
  28279. description: T+N冻结总量
  28280. type: integer
  28281. tnusedqty:
  28282. description: T+N使用量
  28283. type: integer
  28284. trademode:
  28285. description: 交易模式
  28286. type: integer
  28287. usedmargin:
  28288. description: 占用保证金
  28289. type: number
  28290. type: object
  28291. taaccount.QueryAmountLogRsp:
  28292. properties:
  28293. accountid:
  28294. description: 资金账户ID
  28295. type: integer
  28296. agoodscode:
  28297. description: 竞拍商品代码
  28298. type: string
  28299. agoodsname:
  28300. description: 竞拍商品名称
  28301. type: string
  28302. amount:
  28303. description: 资金金额
  28304. type: number
  28305. amountadjusttype:
  28306. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  28307. type: integer
  28308. autoid:
  28309. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  28310. type: integer
  28311. balance:
  28312. description: 期初余额
  28313. type: number
  28314. businesscode:
  28315. description: 业务编号
  28316. type: integer
  28317. createtime:
  28318. description: 发生时间
  28319. type: string
  28320. currencyid:
  28321. description: 币种ID
  28322. type: integer
  28323. currentbalance:
  28324. description: 期末余额(变动后金额)
  28325. type: number
  28326. dgoodscode:
  28327. description: 交割商品代码
  28328. type: string
  28329. dgoodsname:
  28330. description: 交割商品名称
  28331. type: string
  28332. goodscode:
  28333. description: 商品代码
  28334. type: string
  28335. goodsid:
  28336. description: 商品ID
  28337. type: integer
  28338. goodsname:
  28339. description: 商品名称
  28340. type: string
  28341. marketid:
  28342. description: 市场ID
  28343. type: integer
  28344. marketname:
  28345. description: 市场名称
  28346. type: string
  28347. moneyticket:
  28348. description: 资金流水号:银行端流水号
  28349. type: integer
  28350. operatetype:
  28351. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  28352. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  28353. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  28354. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  28355. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  28356. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  28357. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  28358. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  28359. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  28360. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  28361. type: integer
  28362. relationorderid:
  28363. description: 关联单号
  28364. type: string
  28365. remark:
  28366. description: 备注
  28367. type: string
  28368. trademode:
  28369. description: 交易模式
  28370. type: integer
  28371. required:
  28372. - accountid
  28373. - amount
  28374. - amountadjusttype
  28375. - autoid
  28376. - balance
  28377. - createtime
  28378. - currentbalance
  28379. - operatetype
  28380. type: object
  28381. taaccount.QueryHisAmountLogRsp:
  28382. properties:
  28383. accountid:
  28384. description: 资金账户ID
  28385. type: integer
  28386. agoodscode:
  28387. description: 竞拍商品代码
  28388. type: string
  28389. agoodsname:
  28390. description: 竞拍商品名称
  28391. type: string
  28392. amount:
  28393. description: 资金金额
  28394. type: number
  28395. amountadjusttype:
  28396. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  28397. type: integer
  28398. autoid:
  28399. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  28400. type: integer
  28401. balance:
  28402. description: 期初余额
  28403. type: number
  28404. businesscode:
  28405. description: 业务编号
  28406. type: integer
  28407. createtime:
  28408. description: 发生时间
  28409. type: string
  28410. currencyid:
  28411. description: 币种ID
  28412. type: integer
  28413. currentbalance:
  28414. description: 期末余额(变动后金额)
  28415. type: number
  28416. dgoodscode:
  28417. description: 交割商品代码
  28418. type: string
  28419. dgoodsname:
  28420. description: 交割商品名称
  28421. type: string
  28422. goodscode:
  28423. description: 商品代码
  28424. type: string
  28425. goodsid:
  28426. description: 商品ID
  28427. type: integer
  28428. goodsname:
  28429. description: 商品名称
  28430. type: string
  28431. histradedate:
  28432. description: 历史交易日
  28433. type: string
  28434. isvaliddata:
  28435. description: 是否有效 - 0:无效 1:有效
  28436. type: integer
  28437. marketid:
  28438. description: 市场ID
  28439. type: integer
  28440. marketname:
  28441. description: 市场名称
  28442. type: string
  28443. moneyticket:
  28444. description: 资金流水号:银行端流水号
  28445. type: integer
  28446. operatetype:
  28447. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  28448. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  28449. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  28450. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  28451. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  28452. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  28453. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  28454. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  28455. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  28456. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  28457. type: integer
  28458. relationorderid:
  28459. description: 关联单号
  28460. type: string
  28461. remark:
  28462. description: 备注
  28463. type: string
  28464. trademode:
  28465. description: 交易模式
  28466. type: integer
  28467. required:
  28468. - accountid
  28469. - amount
  28470. - amountadjusttype
  28471. - autoid
  28472. - balance
  28473. - createtime
  28474. - currentbalance
  28475. - histradedate
  28476. - operatetype
  28477. type: object
  28478. trade.QueryRecieptOrderRsp:
  28479. properties:
  28480. accountName:
  28481. description: 所属账号名称(已脱敏)
  28482. type: string
  28483. accountid:
  28484. description: 资金账号
  28485. type: integer
  28486. buyorsell:
  28487. description: 方向 - 0:买 1:卖
  28488. type: integer
  28489. enableqty:
  28490. description: 可摘数量
  28491. type: integer
  28492. goodscode:
  28493. description: 商品代码
  28494. type: string
  28495. goodsid:
  28496. description: 商品ID
  28497. type: integer
  28498. goodsname:
  28499. description: 商品名称
  28500. type: string
  28501. orderid:
  28502. description: 委托单号
  28503. type: string
  28504. orderprice:
  28505. description: 委托价格
  28506. type: number
  28507. ordertime:
  28508. description: 委托时间
  28509. type: string
  28510. tradedate:
  28511. description: 交易日(yyyyMMdd)
  28512. type: string
  28513. required:
  28514. - ordertime
  28515. type: object
  28516. user.LoginQueryRsp:
  28517. properties:
  28518. areaRoles:
  28519. description: 所属角色信息
  28520. items:
  28521. $ref: '#/definitions/models.Arearole'
  28522. type: array
  28523. exchangeRateConfigs:
  28524. description: 汇率信息
  28525. items:
  28526. $ref: '#/definitions/models.Exchangerateconfig'
  28527. type: array
  28528. externalExchanges:
  28529. description: 外部交易所
  28530. items:
  28531. $ref: '#/definitions/models.Externalexchange'
  28532. type: array
  28533. goodsgroups:
  28534. description: 商品组
  28535. items:
  28536. $ref: '#/definitions/models.Goodsgroup'
  28537. type: array
  28538. loginAccount:
  28539. allOf:
  28540. - $ref: '#/definitions/models.Loginaccount'
  28541. description: 登录账号
  28542. markets:
  28543. description: 市场
  28544. items:
  28545. $ref: '#/definitions/models.Market'
  28546. type: array
  28547. systemParams:
  28548. description: 系统参数
  28549. items:
  28550. $ref: '#/definitions/models.Systemparam'
  28551. type: array
  28552. userAccount:
  28553. allOf:
  28554. - $ref: '#/definitions/models.Useraccount'
  28555. description: 用户账号
  28556. userInfo:
  28557. allOf:
  28558. - $ref: '#/definitions/models.Userinfo'
  28559. description: 用户信息
  28560. username:
  28561. description: 用户姓名
  28562. type: string
  28563. type: object
  28564. user.UpdateUserHeadUrlReq:
  28565. properties:
  28566. headurl:
  28567. type: string
  28568. userID:
  28569. type: integer
  28570. required:
  28571. - headurl
  28572. - userID
  28573. type: object
  28574. info:
  28575. contact: {}
  28576. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  28577. termsOfService: http://www.muchinfo.cn
  28578. title: MTP2.0 查询服务 API
  28579. version: "1.0"
  28580. paths:
  28581. /CPTrade/QueryCPTradeMyBidInfos:
  28582. get:
  28583. parameters:
  28584. - description: 资金账户
  28585. in: query
  28586. name: accountid
  28587. required: true
  28588. type: integer
  28589. - description: 预售市场ID
  28590. in: query
  28591. name: marketid
  28592. type: integer
  28593. - description: 预售商品ID
  28594. in: query
  28595. name: goodsid
  28596. type: integer
  28597. produces:
  28598. - application/json
  28599. responses:
  28600. "200":
  28601. description: OK
  28602. schema:
  28603. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  28604. "500":
  28605. description: Internal Server Error
  28606. schema:
  28607. $ref: '#/definitions/app.Response'
  28608. security:
  28609. - ApiKeyAuth: []
  28610. summary: 查询产能预售我的出价信息
  28611. tags:
  28612. - 产能预售
  28613. /CPTrade/QueryCPTradeOrderDetail:
  28614. get:
  28615. parameters:
  28616. - description: 预售商品ID
  28617. in: query
  28618. name: goodsid
  28619. type: integer
  28620. - description: 预售市场ID
  28621. in: query
  28622. name: marketid
  28623. type: integer
  28624. - description: 预售商品ID列表 - 格式:1,2,3
  28625. in: query
  28626. name: goodsids
  28627. type: string
  28628. produces:
  28629. - application/json
  28630. responses:
  28631. "200":
  28632. description: OK
  28633. schema:
  28634. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  28635. "500":
  28636. description: Internal Server Error
  28637. schema:
  28638. $ref: '#/definitions/app.Response'
  28639. security:
  28640. - ApiKeyAuth: []
  28641. summary: 查询产能预售委托单信息
  28642. tags:
  28643. - 产能预售
  28644. /CPTrade/QueryMyCPTradeGoods:
  28645. get:
  28646. parameters:
  28647. - description: 资金账户
  28648. in: query
  28649. name: accountid
  28650. required: true
  28651. type: integer
  28652. produces:
  28653. - application/json
  28654. responses:
  28655. "200":
  28656. description: OK
  28657. schema:
  28658. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  28659. "500":
  28660. description: Internal Server Error
  28661. schema:
  28662. $ref: '#/definitions/app.Response'
  28663. security:
  28664. - ApiKeyAuth: []
  28665. summary: 查询我的预售信息
  28666. tags:
  28667. - 产能预售
  28668. /CPTrade/QueryPositionCancel:
  28669. get:
  28670. parameters:
  28671. - description: 账户ID
  28672. in: query
  28673. name: userid
  28674. required: true
  28675. type: integer
  28676. - description: 注销ID
  28677. in: query
  28678. name: cancelid
  28679. type: integer
  28680. - description: 资金账户ID
  28681. in: query
  28682. name: accountid
  28683. type: integer
  28684. produces:
  28685. - application/json
  28686. responses:
  28687. "200":
  28688. description: OK
  28689. schema:
  28690. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  28691. "500":
  28692. description: Internal Server Error
  28693. schema:
  28694. $ref: '#/definitions/app.Response'
  28695. security:
  28696. - ApiKeyAuth: []
  28697. summary: 查询远期订单注销申请信息
  28698. tags:
  28699. - 产能预售
  28700. /CPTrade/QueryPreasleApply:
  28701. get:
  28702. parameters:
  28703. - description: 账户ID
  28704. in: query
  28705. name: userid
  28706. required: true
  28707. type: integer
  28708. - description: 申请ID
  28709. in: query
  28710. name: applyid
  28711. type: integer
  28712. - description: 资金账户ID
  28713. in: query
  28714. name: accountid
  28715. type: integer
  28716. produces:
  28717. - application/json
  28718. responses:
  28719. "200":
  28720. description: OK
  28721. schema:
  28722. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  28723. "500":
  28724. description: Internal Server Error
  28725. schema:
  28726. $ref: '#/definitions/app.Response'
  28727. security:
  28728. - ApiKeyAuth: []
  28729. summary: 查询产能预售申请信息
  28730. tags:
  28731. - 产能预售
  28732. /CPTrade/QueryPresaleGoodsEx:
  28733. get:
  28734. parameters:
  28735. - description: 预售商品ID
  28736. in: query
  28737. name: goodsid
  28738. type: integer
  28739. - description: 预售市场ID
  28740. in: query
  28741. name: marketid
  28742. type: integer
  28743. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  28744. in: query
  28745. name: presalemode
  28746. type: integer
  28747. - description: 预售商品ID列表 - 格式:1,2,3
  28748. in: query
  28749. name: goodsids
  28750. type: string
  28751. - description: 预售商品代码
  28752. in: query
  28753. name: goodscode
  28754. type: string
  28755. produces:
  28756. - application/json
  28757. responses:
  28758. "200":
  28759. description: OK
  28760. schema:
  28761. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  28762. "500":
  28763. description: Internal Server Error
  28764. schema:
  28765. $ref: '#/definitions/app.Response'
  28766. security:
  28767. - ApiKeyAuth: []
  28768. summary: 查询产能预售商品扩展信息
  28769. tags:
  28770. - 产能预售
  28771. /CPTrade/QueryUserGoodsData:
  28772. get:
  28773. parameters:
  28774. - description: 资金账户ID
  28775. in: query
  28776. name: accountid
  28777. required: true
  28778. type: integer
  28779. produces:
  28780. - application/json
  28781. responses:
  28782. "200":
  28783. description: OK
  28784. schema:
  28785. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  28786. "500":
  28787. description: Internal Server Error
  28788. schema:
  28789. $ref: '#/definitions/app.Response'
  28790. security:
  28791. - ApiKeyAuth: []
  28792. summary: 查询远期订单信息
  28793. tags:
  28794. - 产能预售
  28795. /Common/DeleteNewFuncmenu:
  28796. delete:
  28797. consumes:
  28798. - application/json
  28799. parameters:
  28800. - description: 菜单表数据,只需要resourcecode字段即可
  28801. in: body
  28802. name: data
  28803. required: true
  28804. schema:
  28805. $ref: '#/definitions/models.NewFuncmenulist'
  28806. produces:
  28807. - application/json
  28808. responses:
  28809. "200":
  28810. description: OK
  28811. schema:
  28812. $ref: '#/definitions/app.Response'
  28813. "500":
  28814. description: Internal Server Error
  28815. schema:
  28816. $ref: '#/definitions/app.Response'
  28817. security:
  28818. - ApiKeyAuth: []
  28819. summary: 删除菜单表数据
  28820. tags:
  28821. - 通用服务
  28822. /Common/FindNewFuncmenu:
  28823. get:
  28824. parameters:
  28825. - description: 资源代码
  28826. in: query
  28827. name: resourcecode
  28828. type: string
  28829. - description: 上级资源代码
  28830. in: query
  28831. name: parentcode
  28832. type: string
  28833. - description: 资源名(Title), 模糊查询
  28834. in: query
  28835. name: resourcename
  28836. type: string
  28837. - description: 菜单类型(格式:1,2,3) - 1:管理端 2:PC(C#) 3:移动(云平台) 4:终端(交易所) 5:PC(云平台)
  28838. in: query
  28839. name: menutype
  28840. type: string
  28841. produces:
  28842. - application/json
  28843. responses:
  28844. "200":
  28845. description: OK
  28846. schema:
  28847. items:
  28848. $ref: '#/definitions/models.NewFuncmenulist'
  28849. type: array
  28850. "500":
  28851. description: Internal Server Error
  28852. schema:
  28853. $ref: '#/definitions/app.Response'
  28854. security:
  28855. - ApiKeyAuth: []
  28856. summary: 获取菜单表数据
  28857. tags:
  28858. - 通用服务
  28859. /Common/GetAllEnums:
  28860. get:
  28861. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  28862. parameters:
  28863. - description: 起始自增ID
  28864. in: query
  28865. name: autoid
  28866. type: integer
  28867. produces:
  28868. - application/json
  28869. responses:
  28870. "200":
  28871. description: OK
  28872. schema:
  28873. $ref: '#/definitions/models.Enumdicitem'
  28874. "500":
  28875. description: Internal Server Error
  28876. schema:
  28877. $ref: '#/definitions/app.Response'
  28878. summary: 获取所有枚举信息
  28879. tags:
  28880. - 通用服务
  28881. /Common/GetClientMenus:
  28882. get:
  28883. parameters:
  28884. - description: 登录账号
  28885. in: query
  28886. name: loginID
  28887. required: true
  28888. type: integer
  28889. - description: 终端类型,0:PCWEB 1:Mobile,不传默认返回PC端数据
  28890. in: query
  28891. name: clientType
  28892. type: integer
  28893. - description: 分支名称,ermcp-风管云平台;pingan-平安期货;trader-交易所;不传默认返回风管云平台
  28894. in: query
  28895. name: name
  28896. type: string
  28897. produces:
  28898. - application/json
  28899. responses:
  28900. "200":
  28901. description: OK
  28902. schema:
  28903. items:
  28904. $ref: '#/definitions/common.ClientMenu'
  28905. type: array
  28906. "500":
  28907. description: Internal Server Error
  28908. schema:
  28909. $ref: '#/definitions/app.Response'
  28910. security:
  28911. - ApiKeyAuth: []
  28912. summary: 获取交易端菜单
  28913. tags:
  28914. - 通用服务
  28915. /Common/GetClientNewFuncmenu:
  28916. get:
  28917. parameters:
  28918. - description: 登录账号
  28919. in: query
  28920. name: loginid
  28921. required: true
  28922. type: integer
  28923. - description: 菜单类型 - 1:管理端 2:PC(C#) 3:移动(云平台) 4:终端(交易所) 5:PC(云平台)
  28924. in: query
  28925. name: menutype
  28926. required: true
  28927. type: integer
  28928. produces:
  28929. - application/json
  28930. responses:
  28931. "200":
  28932. description: OK
  28933. schema:
  28934. items:
  28935. $ref: '#/definitions/models.NewFuncmenulist'
  28936. type: array
  28937. "500":
  28938. description: Internal Server Error
  28939. schema:
  28940. $ref: '#/definitions/app.Response'
  28941. security:
  28942. - ApiKeyAuth: []
  28943. summary: 获取终端菜单
  28944. tags:
  28945. - 通用服务
  28946. /Common/GetDivisions:
  28947. get:
  28948. produces:
  28949. - application/json
  28950. responses:
  28951. "200":
  28952. description: OK
  28953. schema:
  28954. $ref: '#/definitions/models.Division'
  28955. "500":
  28956. description: Internal Server Error
  28957. schema:
  28958. $ref: '#/definitions/app.Response'
  28959. summary: 查询区域信息
  28960. tags:
  28961. - 通用服务
  28962. /Common/GetPCWebMenus:
  28963. get:
  28964. parameters:
  28965. - description: 登录账号
  28966. in: query
  28967. name: loginID
  28968. required: true
  28969. type: integer
  28970. - description: 分支名称,ermcp:风管云平台,不传默认返回ermcp
  28971. in: query
  28972. name: name
  28973. type: string
  28974. produces:
  28975. - application/json
  28976. responses:
  28977. "200":
  28978. description: OK
  28979. schema:
  28980. items:
  28981. $ref: '#/definitions/common.PCWebMenu'
  28982. type: array
  28983. "500":
  28984. description: Internal Server Error
  28985. schema:
  28986. $ref: '#/definitions/app.Response'
  28987. security:
  28988. - ApiKeyAuth: []
  28989. summary: 获取PCWeb交易端菜单
  28990. tags:
  28991. - 通用服务
  28992. /Common/GetServerTime:
  28993. get:
  28994. produces:
  28995. - application/json
  28996. responses:
  28997. "200":
  28998. description: OK
  28999. schema:
  29000. $ref: '#/definitions/app.Response'
  29001. "500":
  29002. description: Internal Server Error
  29003. schema:
  29004. $ref: '#/definitions/app.Response'
  29005. summary: 获取服务器时间
  29006. tags:
  29007. - 通用服务
  29008. /Common/InsertNewFuncmenu:
  29009. post:
  29010. consumes:
  29011. - application/json
  29012. parameters:
  29013. - description: 菜单表数据
  29014. in: body
  29015. name: data
  29016. required: true
  29017. schema:
  29018. $ref: '#/definitions/models.NewFuncmenulist'
  29019. produces:
  29020. - application/json
  29021. responses:
  29022. "200":
  29023. description: OK
  29024. schema:
  29025. $ref: '#/definitions/app.Response'
  29026. "500":
  29027. description: Internal Server Error
  29028. schema:
  29029. $ref: '#/definitions/app.Response'
  29030. security:
  29031. - ApiKeyAuth: []
  29032. summary: 插入菜单表数据
  29033. tags:
  29034. - 通用服务
  29035. /Common/NoticeReaded:
  29036. post:
  29037. parameters:
  29038. - description: 登录账号
  29039. in: query
  29040. name: loginID
  29041. required: true
  29042. type: integer
  29043. - description: 通知公告ID
  29044. in: query
  29045. name: noticeID
  29046. required: true
  29047. type: integer
  29048. produces:
  29049. - application/json
  29050. responses:
  29051. "200":
  29052. description: OK
  29053. schema:
  29054. $ref: '#/definitions/app.Response'
  29055. "500":
  29056. description: Internal Server Error
  29057. schema:
  29058. $ref: '#/definitions/app.Response'
  29059. security:
  29060. - ApiKeyAuth: []
  29061. summary: 通知公告设置已读请求
  29062. tags:
  29063. - 通用服务
  29064. /Common/QueryErrorInfos:
  29065. get:
  29066. description: 如果传入rowNumber,则返回此rowNumber后的数据
  29067. parameters:
  29068. - description: 起始行号前索引
  29069. in: query
  29070. name: rowNumber
  29071. type: string
  29072. produces:
  29073. - application/json
  29074. responses:
  29075. "200":
  29076. description: OK
  29077. schema:
  29078. $ref: '#/definitions/models.QueryErrorInfosRsp'
  29079. "500":
  29080. description: Internal Server Error
  29081. schema:
  29082. $ref: '#/definitions/app.Response'
  29083. summary: 获取数据库错误信息
  29084. tags:
  29085. - 通用服务
  29086. /Common/QueryImageConfigs:
  29087. get:
  29088. parameters:
  29089. - description: 用户id
  29090. in: query
  29091. name: userId
  29092. type: integer
  29093. - description: 类型 - 1:App首页轮播 2:我的 3:首页(PC) 4:首页推广(移动-新会)
  29094. in: query
  29095. name: imageType
  29096. type: integer
  29097. produces:
  29098. - application/json
  29099. responses:
  29100. "200":
  29101. description: OK
  29102. schema:
  29103. $ref: '#/definitions/common.QueryImageConfigsRsp'
  29104. "500":
  29105. description: Internal Server Error
  29106. schema:
  29107. $ref: '#/definitions/app.Response'
  29108. summary: 查询轮播图配置信息
  29109. tags:
  29110. - 通用服务
  29111. /Common/QueryNewContents:
  29112. get:
  29113. parameters:
  29114. - description: 资讯ID列表,格式 1,2,3
  29115. in: query
  29116. name: ids
  29117. type: string
  29118. produces:
  29119. - application/json
  29120. responses:
  29121. "200":
  29122. description: OK
  29123. schema:
  29124. $ref: '#/definitions/models.QueryNewContentsRsp'
  29125. "500":
  29126. description: Internal Server Error
  29127. schema:
  29128. $ref: '#/definitions/app.Response'
  29129. summary: 获取资讯内容
  29130. tags:
  29131. - 通用服务
  29132. /Common/QueryNewTitles:
  29133. get:
  29134. parameters:
  29135. - description: 所属栏目
  29136. in: query
  29137. name: columnid
  29138. type: integer
  29139. - description: 页码
  29140. in: query
  29141. name: page
  29142. type: integer
  29143. - description: 每页条数
  29144. in: query
  29145. name: pagesize
  29146. type: integer
  29147. produces:
  29148. - application/json
  29149. responses:
  29150. "200":
  29151. description: OK
  29152. schema:
  29153. $ref: '#/definitions/models.QueryNewTitlesRsp'
  29154. "500":
  29155. description: Internal Server Error
  29156. schema:
  29157. $ref: '#/definitions/app.Response'
  29158. summary: 取资讯标题列表
  29159. tags:
  29160. - 通用服务
  29161. /Common/QueryNotice:
  29162. get:
  29163. parameters:
  29164. - description: 页码
  29165. in: query
  29166. name: page
  29167. type: integer
  29168. - description: 每页条数
  29169. in: query
  29170. name: pagesize
  29171. type: integer
  29172. - description: 分页标志 0-page从0开始 1-page从1开始
  29173. in: query
  29174. name: pageflag
  29175. type: integer
  29176. - description: 登录账号
  29177. in: query
  29178. name: loginID
  29179. required: true
  29180. type: integer
  29181. - description: 消息类型 - 1:公告通知 2:系统消息
  29182. in: query
  29183. name: msgType
  29184. type: integer
  29185. - description: 是否只获取未读信息
  29186. in: query
  29187. name: onlyUnRead
  29188. type: boolean
  29189. - description: 自增ID,传入后会返回这个ID后面的记录
  29190. in: query
  29191. name: lastID
  29192. type: integer
  29193. produces:
  29194. - application/json
  29195. responses:
  29196. "200":
  29197. description: OK
  29198. schema:
  29199. $ref: '#/definitions/common.QueryNoticeRsp'
  29200. "500":
  29201. description: Internal Server Error
  29202. schema:
  29203. $ref: '#/definitions/app.Response'
  29204. security:
  29205. - ApiKeyAuth: []
  29206. summary: 通知公告系统消息查询
  29207. tags:
  29208. - 通用服务
  29209. /Common/QueryProvincesAndCities:
  29210. get:
  29211. parameters:
  29212. - description: 省ID
  29213. in: query
  29214. name: provinceID
  29215. type: integer
  29216. produces:
  29217. - application/json
  29218. responses:
  29219. "200":
  29220. description: OK
  29221. schema:
  29222. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  29223. "500":
  29224. description: Internal Server Error
  29225. schema:
  29226. $ref: '#/definitions/app.Response'
  29227. summary: 查询省市信息(不包括区)
  29228. tags:
  29229. - 通用服务
  29230. /Common/QueryRates:
  29231. get:
  29232. parameters:
  29233. - description: 页码
  29234. in: query
  29235. name: page
  29236. type: integer
  29237. - description: 每页条数
  29238. in: query
  29239. name: pagesize
  29240. type: integer
  29241. - description: 源币种ID
  29242. in: query
  29243. name: oricurrencyid
  29244. type: integer
  29245. - description: 目标币种ID
  29246. in: query
  29247. name: descurrencyid
  29248. type: integer
  29249. produces:
  29250. - application/json
  29251. responses:
  29252. "200":
  29253. description: OK
  29254. schema:
  29255. items:
  29256. $ref: '#/definitions/models.Exchangerateconfig'
  29257. type: array
  29258. "500":
  29259. description: Internal Server Error
  29260. schema:
  29261. $ref: '#/definitions/app.Response'
  29262. security:
  29263. - ApiKeyAuth: []
  29264. - LoginID: []
  29265. - Group: []
  29266. summary: 查询汇率信息
  29267. tags:
  29268. - 通用服务
  29269. /Common/QueryTableDefine:
  29270. get:
  29271. parameters:
  29272. - description: 表key
  29273. in: query
  29274. name: tableKey
  29275. type: string
  29276. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  29277. in: query
  29278. name: tableType
  29279. type: integer
  29280. produces:
  29281. - application/json
  29282. responses:
  29283. "200":
  29284. description: OK
  29285. schema:
  29286. $ref: '#/definitions/common.QueryTableDefineRsp'
  29287. "500":
  29288. description: Internal Server Error
  29289. schema:
  29290. $ref: '#/definitions/app.Response'
  29291. summary: 查询交易端列表头信息
  29292. tags:
  29293. - 通用服务
  29294. /Common/QueryTraderMenu:
  29295. get:
  29296. parameters:
  29297. - description: 登录账号
  29298. in: query
  29299. name: loginid
  29300. required: true
  29301. type: integer
  29302. produces:
  29303. - application/json
  29304. responses:
  29305. "200":
  29306. description: OK
  29307. schema:
  29308. $ref: '#/definitions/common.QueryTraderMenuRsp'
  29309. "500":
  29310. description: Internal Server Error
  29311. schema:
  29312. $ref: '#/definitions/app.Response'
  29313. summary: 查询交易端菜单
  29314. tags:
  29315. - 通用服务
  29316. /Common/UpdateNewFuncmenu:
  29317. put:
  29318. consumes:
  29319. - application/json
  29320. parameters:
  29321. - description: 菜单表数据
  29322. in: body
  29323. name: data
  29324. required: true
  29325. schema:
  29326. $ref: '#/definitions/models.NewFuncmenulist'
  29327. produces:
  29328. - application/json
  29329. responses:
  29330. "200":
  29331. description: OK
  29332. schema:
  29333. $ref: '#/definitions/app.Response'
  29334. "500":
  29335. description: Internal Server Error
  29336. schema:
  29337. $ref: '#/definitions/app.Response'
  29338. security:
  29339. - ApiKeyAuth: []
  29340. summary: 更新菜单表数据
  29341. tags:
  29342. - 通用服务
  29343. /Delivery/QueryDeliveryRelation:
  29344. get:
  29345. parameters:
  29346. - description: 商品ID
  29347. in: query
  29348. name: goodsid
  29349. type: integer
  29350. - description: 品种ID
  29351. in: query
  29352. name: deliverygoodsid
  29353. type: integer
  29354. - description: 市场ID
  29355. in: query
  29356. name: marketid
  29357. type: integer
  29358. produces:
  29359. - application/json
  29360. responses:
  29361. "200":
  29362. description: OK
  29363. schema:
  29364. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  29365. "500":
  29366. description: Internal Server Error
  29367. schema:
  29368. $ref: '#/definitions/app.Response'
  29369. security:
  29370. - ApiKeyAuth: []
  29371. summary: 查询商品交割关系表
  29372. tags:
  29373. - 交割服务
  29374. /Ermcp/GetErmcpGoods:
  29375. get:
  29376. parameters:
  29377. - description: 用户id(风管云平台版本传值, 只显示用户下设置了套保关联的品种)
  29378. in: query
  29379. name: userid
  29380. type: integer
  29381. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  29382. in: query
  29383. name: lastUpdateTime
  29384. type: string
  29385. produces:
  29386. - application/json
  29387. responses:
  29388. "200":
  29389. description: OK
  29390. schema:
  29391. $ref: '#/definitions/models.ErmcpGoods'
  29392. "500":
  29393. description: Internal Server Error
  29394. schema:
  29395. $ref: '#/definitions/app.Response'
  29396. security:
  29397. - ApiKeyAuth: []
  29398. summary: 查询企业风管期货商品信息
  29399. tags:
  29400. - 企业风险管理(app)
  29401. /Ermcp/GetErmcpGoodsSortByPosition:
  29402. get:
  29403. parameters:
  29404. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  29405. in: query
  29406. name: sortIndex
  29407. type: string
  29408. produces:
  29409. - application/json
  29410. responses:
  29411. "200":
  29412. description: OK
  29413. schema:
  29414. $ref: '#/definitions/models.Goodssortbypreposition'
  29415. "500":
  29416. description: Internal Server Error
  29417. schema:
  29418. $ref: '#/definitions/app.Response'
  29419. security:
  29420. - ApiKeyAuth: []
  29421. summary: 查询企业风管期货主力、次主力商品信息
  29422. tags:
  29423. - 企业风险管理(app)
  29424. /Ermcp/GetErmcpOutAccountStatus:
  29425. get:
  29426. parameters:
  29427. - description: 登录账号
  29428. in: query
  29429. name: loginID
  29430. required: true
  29431. type: integer
  29432. produces:
  29433. - application/json
  29434. responses:
  29435. "200":
  29436. description: OK
  29437. schema:
  29438. $ref: '#/definitions/models.Hedgemarketopenlog'
  29439. "500":
  29440. description: Internal Server Error
  29441. schema:
  29442. $ref: '#/definitions/app.Response'
  29443. security:
  29444. - ApiKeyAuth: []
  29445. summary: 获取目标登录账号当前对冲账号在线状态
  29446. tags:
  29447. - 企业风险管理(app)
  29448. /Ermcp/GetErmcpRoleFuncMenuLists:
  29449. get:
  29450. parameters:
  29451. - description: 登录账号
  29452. in: query
  29453. name: loginID
  29454. required: true
  29455. type: integer
  29456. produces:
  29457. - application/json
  29458. responses:
  29459. "200":
  29460. description: OK
  29461. schema:
  29462. $ref: '#/definitions/models.Funcmenulist'
  29463. "500":
  29464. description: Internal Server Error
  29465. schema:
  29466. $ref: '#/definitions/app.Response'
  29467. security:
  29468. - ApiKeyAuth: []
  29469. summary: 获取企业风管终端权限
  29470. tags:
  29471. - 企业风险管理(app)
  29472. /Ermcp/QueryAccMgrBizGroupSet:
  29473. get:
  29474. parameters:
  29475. - description: 用户ID
  29476. in: query
  29477. name: userid
  29478. required: true
  29479. type: integer
  29480. - description: 现货商品id
  29481. in: query
  29482. name: deliverygoodsid
  29483. type: integer
  29484. produces:
  29485. - application/json
  29486. responses:
  29487. "200":
  29488. description: OK
  29489. schema:
  29490. items:
  29491. $ref: '#/definitions/models.ErmcpBizGroupEx'
  29492. type: array
  29493. "500":
  29494. description: Internal Server Error
  29495. schema:
  29496. $ref: '#/definitions/app.Response'
  29497. security:
  29498. - ApiKeyAuth: []
  29499. summary: 查询业务类型分组(账户管理/账户设置)
  29500. tags:
  29501. - 企业风险管理(app)
  29502. /Ermcp/QueryAccMgrLoginUser:
  29503. get:
  29504. parameters:
  29505. - description: 用户ID
  29506. in: query
  29507. name: userid
  29508. required: true
  29509. type: integer
  29510. - description: 用户类型 2-机构 7-企业成员
  29511. in: query
  29512. name: usertype
  29513. type: integer
  29514. - description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  29515. in: query
  29516. name: querytype
  29517. required: true
  29518. type: integer
  29519. produces:
  29520. - application/json
  29521. responses:
  29522. "200":
  29523. description: OK
  29524. schema:
  29525. items:
  29526. $ref: '#/definitions/models.ErmcpLoginUserEx'
  29527. type: array
  29528. "500":
  29529. description: Internal Server Error
  29530. schema:
  29531. $ref: '#/definitions/app.Response'
  29532. security:
  29533. - ApiKeyAuth: []
  29534. summary: 查询账户管理登录账号(账户管理/登录账号)
  29535. tags:
  29536. - 企业风险管理(app)
  29537. /Ermcp/QueryAccMgrMainAccountInfo:
  29538. get:
  29539. parameters:
  29540. - description: 用户ID
  29541. in: query
  29542. name: userid
  29543. type: integer
  29544. - description: 主账号id
  29545. in: query
  29546. name: accountid
  29547. type: integer
  29548. produces:
  29549. - application/json
  29550. responses:
  29551. "200":
  29552. description: OK
  29553. schema:
  29554. items:
  29555. $ref: '#/definitions/models.MainAccountInfo'
  29556. type: array
  29557. "500":
  29558. description: Internal Server Error
  29559. schema:
  29560. $ref: '#/definitions/app.Response'
  29561. security:
  29562. - ApiKeyAuth: []
  29563. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  29564. tags:
  29565. - 企业风险管理(app)
  29566. /Ermcp/QueryAccMgrRole:
  29567. get:
  29568. parameters:
  29569. - description: 用户ID
  29570. in: query
  29571. name: userid
  29572. required: true
  29573. type: integer
  29574. produces:
  29575. - application/json
  29576. responses:
  29577. "200":
  29578. description: OK
  29579. schema:
  29580. items:
  29581. $ref: '#/definitions/models.ErmcpRole'
  29582. type: array
  29583. "500":
  29584. description: Internal Server Error
  29585. schema:
  29586. $ref: '#/definitions/app.Response'
  29587. security:
  29588. - ApiKeyAuth: []
  29589. summary: 查询账户管理角色设置(账户管理/角色设置)
  29590. tags:
  29591. - 企业风险管理(app)
  29592. /Ermcp/QueryAccMgrRoleMenu:
  29593. get:
  29594. parameters:
  29595. - description: 用户ID
  29596. in: query
  29597. name: userid
  29598. required: true
  29599. type: integer
  29600. - description: 角色id(可多个,逗号隔开)
  29601. in: query
  29602. name: roleid
  29603. type: string
  29604. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易 ps:新加的参数,为了兼容以前,不传则默认查3
  29605. in: query
  29606. name: menutype
  29607. type: integer
  29608. produces:
  29609. - application/json
  29610. responses:
  29611. "200":
  29612. description: OK
  29613. schema:
  29614. items:
  29615. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  29616. type: array
  29617. "500":
  29618. description: Internal Server Error
  29619. schema:
  29620. $ref: '#/definitions/app.Response'
  29621. security:
  29622. - ApiKeyAuth: []
  29623. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  29624. tags:
  29625. - 企业风险管理(app)
  29626. /Ermcp/QueryAccMgrTaAccountInfo:
  29627. get:
  29628. parameters:
  29629. - description: 用户ID
  29630. in: query
  29631. name: userid
  29632. required: true
  29633. type: integer
  29634. - description: 账号id
  29635. in: query
  29636. name: accountid
  29637. type: integer
  29638. produces:
  29639. - application/json
  29640. responses:
  29641. "200":
  29642. description: OK
  29643. schema:
  29644. items:
  29645. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  29646. type: array
  29647. "500":
  29648. description: Internal Server Error
  29649. schema:
  29650. $ref: '#/definitions/app.Response'
  29651. security:
  29652. - ApiKeyAuth: []
  29653. summary: 查询账户管理授信(账户管理/账户设置/授信)
  29654. tags:
  29655. - 企业风险管理(app)
  29656. /Ermcp/QueryAccMgrTaaccount:
  29657. get:
  29658. parameters:
  29659. - description: 用户ID
  29660. in: query
  29661. name: userid
  29662. required: true
  29663. type: integer
  29664. produces:
  29665. - application/json
  29666. responses:
  29667. "200":
  29668. description: OK
  29669. schema:
  29670. items:
  29671. $ref: '#/definitions/models.ErmcpTaAccountEx'
  29672. type: array
  29673. "500":
  29674. description: Internal Server Error
  29675. schema:
  29676. $ref: '#/definitions/app.Response'
  29677. security:
  29678. - ApiKeyAuth: []
  29679. summary: 查询账户管理期货账号(账户管理/期货账号)
  29680. tags:
  29681. - 企业风险管理(app)
  29682. /Ermcp/QueryAvaildGoodsGroup:
  29683. get:
  29684. parameters:
  29685. - description: 所属机构ID
  29686. in: query
  29687. name: userid
  29688. required: true
  29689. type: integer
  29690. produces:
  29691. - application/json
  29692. responses:
  29693. "200":
  29694. description: OK
  29695. schema:
  29696. items:
  29697. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  29698. type: array
  29699. "500":
  29700. description: Internal Server Error
  29701. schema:
  29702. $ref: '#/definitions/app.Response'
  29703. security:
  29704. - ApiKeyAuth: []
  29705. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  29706. tags:
  29707. - 企业风险管理(app)
  29708. /Ermcp/QueryBusinessDj:
  29709. get:
  29710. parameters:
  29711. - description: 用户ID
  29712. in: query
  29713. name: UserId
  29714. required: true
  29715. type: integer
  29716. - description: 用户类型 2-机构 7-企业成员
  29717. in: query
  29718. name: usertype
  29719. type: integer
  29720. - description: 现货合同ID, 不填则查所有
  29721. in: query
  29722. name: relatedid
  29723. type: string
  29724. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  29725. in: query
  29726. name: applystatus
  29727. type: string
  29728. produces:
  29729. - application/json
  29730. responses:
  29731. "200":
  29732. description: OK
  29733. schema:
  29734. items:
  29735. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  29736. type: array
  29737. "500":
  29738. description: Internal Server Error
  29739. schema:
  29740. $ref: '#/definitions/app.Response'
  29741. security:
  29742. - ApiKeyAuth: []
  29743. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  29744. tags:
  29745. - 企业风险管理(app)
  29746. /Ermcp/QueryBusinessFp:
  29747. get:
  29748. parameters:
  29749. - description: 用户ID
  29750. in: query
  29751. name: UserId
  29752. required: true
  29753. type: integer
  29754. - description: 用户类型 2-机构 7-企业成员
  29755. in: query
  29756. name: usertype
  29757. type: integer
  29758. - description: 现货合同ID, 不填则查所有
  29759. in: query
  29760. name: relatedid
  29761. type: string
  29762. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  29763. in: query
  29764. name: applystatus
  29765. type: string
  29766. produces:
  29767. - application/json
  29768. responses:
  29769. "200":
  29770. description: OK
  29771. schema:
  29772. items:
  29773. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  29774. type: array
  29775. "500":
  29776. description: Internal Server Error
  29777. schema:
  29778. $ref: '#/definitions/app.Response'
  29779. security:
  29780. - ApiKeyAuth: []
  29781. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  29782. tags:
  29783. - 企业风险管理(app)
  29784. /Ermcp/QueryBusinessJs:
  29785. get:
  29786. parameters:
  29787. - description: 用户ID
  29788. in: query
  29789. name: UserId
  29790. required: true
  29791. type: integer
  29792. - description: 用户类型 2-机构 7-企业成员
  29793. in: query
  29794. name: usertype
  29795. type: integer
  29796. - description: 现货合同ID, 不填则查所有
  29797. in: query
  29798. name: relatedid
  29799. type: string
  29800. - description: 操作申请id
  29801. in: query
  29802. name: operateapplyid
  29803. type: string
  29804. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  29805. in: query
  29806. name: applystatus
  29807. type: string
  29808. produces:
  29809. - application/json
  29810. responses:
  29811. "200":
  29812. description: OK
  29813. schema:
  29814. items:
  29815. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  29816. type: array
  29817. "500":
  29818. description: Internal Server Error
  29819. schema:
  29820. $ref: '#/definitions/app.Response'
  29821. security:
  29822. - ApiKeyAuth: []
  29823. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  29824. tags:
  29825. - 企业风险管理(app)
  29826. /Ermcp/QueryBusinessJsEx:
  29827. get:
  29828. parameters:
  29829. - description: 用户ID
  29830. in: query
  29831. name: UserId
  29832. required: true
  29833. type: integer
  29834. - description: 用户类型 2-机构 7-企业成员
  29835. in: query
  29836. name: usertype
  29837. type: integer
  29838. - description: 现货合同ID, 不填则查所有
  29839. in: query
  29840. name: relatedid
  29841. type: string
  29842. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  29843. in: query
  29844. name: applystatus
  29845. type: string
  29846. produces:
  29847. - application/json
  29848. responses:
  29849. "200":
  29850. description: OK
  29851. schema:
  29852. items:
  29853. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  29854. type: array
  29855. "500":
  29856. description: Internal Server Error
  29857. schema:
  29858. $ref: '#/definitions/app.Response'
  29859. security:
  29860. - ApiKeyAuth: []
  29861. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  29862. tags:
  29863. - 企业风险管理(app)
  29864. /Ermcp/QueryBusinessKx:
  29865. get:
  29866. parameters:
  29867. - description: 用户ID
  29868. in: query
  29869. name: UserId
  29870. required: true
  29871. type: integer
  29872. - description: 用户类型 2-机构 7-企业成员
  29873. in: query
  29874. name: usertype
  29875. type: integer
  29876. - description: 现货合同ID, 不填则查所有
  29877. in: query
  29878. name: relatedid
  29879. type: string
  29880. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  29881. in: query
  29882. name: applystatus
  29883. type: string
  29884. produces:
  29885. - application/json
  29886. responses:
  29887. "200":
  29888. description: OK
  29889. schema:
  29890. items:
  29891. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  29892. type: array
  29893. "500":
  29894. description: Internal Server Error
  29895. schema:
  29896. $ref: '#/definitions/app.Response'
  29897. security:
  29898. - ApiKeyAuth: []
  29899. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  29900. tags:
  29901. - 企业风险管理(app)
  29902. /Ermcp/QueryChangeLog:
  29903. get:
  29904. parameters:
  29905. - description: 合同ID
  29906. in: query
  29907. name: RelatedId
  29908. required: true
  29909. type: string
  29910. produces:
  29911. - application/json
  29912. responses:
  29913. "200":
  29914. description: OK
  29915. schema:
  29916. items:
  29917. $ref: '#/definitions/ermcp.QryOPLogRsp'
  29918. type: array
  29919. "500":
  29920. description: Internal Server Error
  29921. schema:
  29922. $ref: '#/definitions/app.Response'
  29923. security:
  29924. - ApiKeyAuth: []
  29925. summary: 查询变更记录
  29926. tags:
  29927. - 企业风险管理(app)
  29928. /Ermcp/QueryErmcpHisOrderDetails:
  29929. get:
  29930. parameters:
  29931. - description: 资金账户ID
  29932. in: query
  29933. name: accountID
  29934. required: true
  29935. type: integer
  29936. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  29937. in: query
  29938. name: startDate
  29939. type: string
  29940. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  29941. in: query
  29942. name: endDate
  29943. type: string
  29944. produces:
  29945. - application/json
  29946. responses:
  29947. "200":
  29948. description: OK
  29949. schema:
  29950. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  29951. "500":
  29952. description: Internal Server Error
  29953. schema:
  29954. $ref: '#/definitions/app.Response'
  29955. security:
  29956. - ApiKeyAuth: []
  29957. summary: 获取企业风管期货历史委托单信息
  29958. tags:
  29959. - 企业风险管理(app)
  29960. /Ermcp/QueryErmcpHisTradeDetails:
  29961. get:
  29962. parameters:
  29963. - description: 资金账户ID
  29964. in: query
  29965. name: accountID
  29966. required: true
  29967. type: integer
  29968. - description: 商品ID
  29969. in: query
  29970. name: goodsID
  29971. type: integer
  29972. - description: 买卖方向,0:买 1:卖
  29973. in: query
  29974. name: buyOrSell
  29975. type: integer
  29976. - description: 关联委托单号
  29977. in: query
  29978. name: orderID
  29979. type: integer
  29980. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  29981. in: query
  29982. name: startDate
  29983. type: string
  29984. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  29985. in: query
  29986. name: endDate
  29987. type: string
  29988. produces:
  29989. - application/json
  29990. responses:
  29991. "200":
  29992. description: OK
  29993. schema:
  29994. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  29995. "500":
  29996. description: Internal Server Error
  29997. schema:
  29998. $ref: '#/definitions/app.Response'
  29999. security:
  30000. - ApiKeyAuth: []
  30001. summary: 获取企业风管期货历史成交单信息
  30002. tags:
  30003. - 企业风险管理(app)
  30004. /Ermcp/QueryErmcpInnerHolderDetails:
  30005. get:
  30006. parameters:
  30007. - description: 资金账户ID
  30008. in: query
  30009. name: accountID
  30010. required: true
  30011. type: integer
  30012. - description: 商品ID
  30013. in: query
  30014. name: goodsID
  30015. type: integer
  30016. - description: 买卖方向,0:买 1:卖
  30017. in: query
  30018. name: buyOrSell
  30019. type: integer
  30020. produces:
  30021. - application/json
  30022. responses:
  30023. "200":
  30024. description: OK
  30025. schema:
  30026. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  30027. "500":
  30028. description: Internal Server Error
  30029. schema:
  30030. $ref: '#/definitions/app.Response'
  30031. security:
  30032. - ApiKeyAuth: []
  30033. summary: 获取企业风管期货内部持仓单信息
  30034. tags:
  30035. - 企业风险管理(app)
  30036. /Ermcp/QueryErmcpOrderDetails:
  30037. get:
  30038. parameters:
  30039. - description: 资金账户ID
  30040. in: query
  30041. name: accountID
  30042. required: true
  30043. type: integer
  30044. produces:
  30045. - application/json
  30046. responses:
  30047. "200":
  30048. description: OK
  30049. schema:
  30050. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  30051. "500":
  30052. description: Internal Server Error
  30053. schema:
  30054. $ref: '#/definitions/app.Response'
  30055. security:
  30056. - ApiKeyAuth: []
  30057. summary: 获取企业风管期货委托单信息
  30058. tags:
  30059. - 企业风险管理(app)
  30060. /Ermcp/QueryErmcpTradeDetails:
  30061. get:
  30062. parameters:
  30063. - description: 资金账户ID
  30064. in: query
  30065. name: accountID
  30066. required: true
  30067. type: integer
  30068. - description: 商品ID
  30069. in: query
  30070. name: goodsID
  30071. type: integer
  30072. - description: 买卖方向,0:买 1:卖
  30073. in: query
  30074. name: buyOrSell
  30075. type: integer
  30076. - description: 关联委托单号
  30077. in: query
  30078. name: orderID
  30079. type: integer
  30080. produces:
  30081. - application/json
  30082. responses:
  30083. "200":
  30084. description: OK
  30085. schema:
  30086. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  30087. "500":
  30088. description: Internal Server Error
  30089. schema:
  30090. $ref: '#/definitions/app.Response'
  30091. security:
  30092. - ApiKeyAuth: []
  30093. summary: 获取企业风管期货成交单信息
  30094. tags:
  30095. - 企业风险管理(app)
  30096. /Ermcp/QueryErmcpTradePosition:
  30097. get:
  30098. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  30099. parameters:
  30100. - description: 资金账户ID
  30101. in: query
  30102. name: accountID
  30103. required: true
  30104. type: integer
  30105. - description: 所属市场ID
  30106. in: query
  30107. name: marketID
  30108. type: integer
  30109. produces:
  30110. - application/json
  30111. responses:
  30112. "200":
  30113. description: OK
  30114. schema:
  30115. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  30116. "500":
  30117. description: Internal Server Error
  30118. schema:
  30119. $ref: '#/definitions/app.Response'
  30120. security:
  30121. - ApiKeyAuth: []
  30122. summary: 获取企业风管期货持仓头寸信息
  30123. tags:
  30124. - 企业风险管理(app)
  30125. /Ermcp/QueryExposureDetail:
  30126. get:
  30127. parameters:
  30128. - description: 所属机构ID
  30129. in: query
  30130. name: areaUserId
  30131. required: true
  30132. type: integer
  30133. - description: 套保商品
  30134. in: query
  30135. name: middleGoodsId
  30136. required: true
  30137. type: integer
  30138. produces:
  30139. - application/json
  30140. responses:
  30141. "200":
  30142. description: OK
  30143. schema:
  30144. items:
  30145. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  30146. type: array
  30147. "500":
  30148. description: Internal Server Error
  30149. schema:
  30150. $ref: '#/definitions/app.Response'
  30151. security:
  30152. - ApiKeyAuth: []
  30153. summary: 查询敞口现货明细
  30154. tags:
  30155. - 企业风险管理(app)
  30156. /Ermcp/QueryExposureGoods:
  30157. get:
  30158. parameters:
  30159. - description: 套保商品id
  30160. in: query
  30161. name: middlegoodsid
  30162. required: true
  30163. type: integer
  30164. produces:
  30165. - application/json
  30166. responses:
  30167. "200":
  30168. description: OK
  30169. schema:
  30170. items:
  30171. $ref: '#/definitions/models.ErmcpMiddlegoodsRelateGoods'
  30172. type: array
  30173. "500":
  30174. description: Internal Server Error
  30175. schema:
  30176. $ref: '#/definitions/app.Response'
  30177. security:
  30178. - ApiKeyAuth: []
  30179. summary: 查询敞口主力合约
  30180. tags:
  30181. - 企业风险管理(app)
  30182. /Ermcp/QueryExposureHedgePosition:
  30183. get:
  30184. parameters:
  30185. - description: 用户id
  30186. in: query
  30187. name: userid
  30188. required: true
  30189. type: integer
  30190. produces:
  30191. - application/json
  30192. responses:
  30193. "200":
  30194. description: OK
  30195. schema:
  30196. items:
  30197. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  30198. type: array
  30199. "500":
  30200. description: Internal Server Error
  30201. schema:
  30202. $ref: '#/definitions/app.Response'
  30203. security:
  30204. - ApiKeyAuth: []
  30205. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  30206. tags:
  30207. - 企业风险管理(app)
  30208. /Ermcp/QueryExposureHedgePositionDetail:
  30209. get:
  30210. parameters:
  30211. - description: 所属机构ID
  30212. in: query
  30213. name: userid
  30214. required: true
  30215. type: integer
  30216. - description: 商品id
  30217. in: query
  30218. name: goodsId
  30219. required: true
  30220. type: integer
  30221. produces:
  30222. - application/json
  30223. responses:
  30224. "200":
  30225. description: OK
  30226. schema:
  30227. items:
  30228. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  30229. type: array
  30230. "500":
  30231. description: Internal Server Error
  30232. schema:
  30233. $ref: '#/definitions/app.Response'
  30234. security:
  30235. - ApiKeyAuth: []
  30236. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  30237. tags:
  30238. - 企业风险管理(app)
  30239. /Ermcp/QueryExposureSpot:
  30240. get:
  30241. parameters:
  30242. - description: 所属机构ID
  30243. in: query
  30244. name: areaUserId
  30245. required: true
  30246. type: integer
  30247. produces:
  30248. - application/json
  30249. responses:
  30250. "200":
  30251. description: OK
  30252. schema:
  30253. items:
  30254. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  30255. type: array
  30256. "500":
  30257. description: Internal Server Error
  30258. schema:
  30259. $ref: '#/definitions/app.Response'
  30260. security:
  30261. - ApiKeyAuth: []
  30262. summary: 查询敞口现货头寸(敞口/现货头寸)
  30263. tags:
  30264. - 企业风险管理(app)
  30265. /Ermcp/QueryExposureSpotDetail:
  30266. get:
  30267. parameters:
  30268. - description: 所属机构ID
  30269. in: query
  30270. name: areaUserId
  30271. required: true
  30272. type: integer
  30273. - description: 现货品种ID
  30274. in: query
  30275. name: wrstandardId
  30276. required: true
  30277. type: integer
  30278. produces:
  30279. - application/json
  30280. responses:
  30281. "200":
  30282. description: OK
  30283. schema:
  30284. items:
  30285. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  30286. type: array
  30287. "500":
  30288. description: Internal Server Error
  30289. schema:
  30290. $ref: '#/definitions/app.Response'
  30291. security:
  30292. - ApiKeyAuth: []
  30293. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  30294. tags:
  30295. - 企业风险管理(app)
  30296. /Ermcp/QueryFuturesCompany:
  30297. get:
  30298. produces:
  30299. - application/json
  30300. responses:
  30301. "200":
  30302. description: OK
  30303. schema:
  30304. items:
  30305. $ref: '#/definitions/models.ErmcpFuturesCompany'
  30306. type: array
  30307. "500":
  30308. description: Internal Server Error
  30309. schema:
  30310. $ref: '#/definitions/app.Response'
  30311. security:
  30312. - ApiKeyAuth: []
  30313. summary: 查询期货公司
  30314. tags:
  30315. - 企业风险管理(app)
  30316. /Ermcp/QueryGGConvertConfig:
  30317. get:
  30318. parameters:
  30319. - description: 品种id(不填则查所有)
  30320. in: query
  30321. name: goodsgroupid
  30322. type: integer
  30323. produces:
  30324. - application/json
  30325. responses:
  30326. "200":
  30327. description: OK
  30328. schema:
  30329. items:
  30330. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  30331. type: array
  30332. "500":
  30333. description: Internal Server Error
  30334. schema:
  30335. $ref: '#/definitions/app.Response'
  30336. security:
  30337. - ApiKeyAuth: []
  30338. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  30339. tags:
  30340. - 企业风险管理(app)
  30341. /Ermcp/QueryGoodsBrand:
  30342. get:
  30343. parameters:
  30344. - description: 用户ID
  30345. in: query
  30346. name: userid
  30347. required: true
  30348. type: integer
  30349. - description: 现货商品ID
  30350. in: query
  30351. name: wrstandardid
  30352. type: integer
  30353. produces:
  30354. - application/json
  30355. responses:
  30356. "200":
  30357. description: OK
  30358. schema:
  30359. items:
  30360. $ref: '#/definitions/models.ErmcpGoodsBrand'
  30361. type: array
  30362. "500":
  30363. description: Internal Server Error
  30364. schema:
  30365. $ref: '#/definitions/app.Response'
  30366. security:
  30367. - ApiKeyAuth: []
  30368. summary: 查询商品品牌
  30369. tags:
  30370. - 企业风险管理(app)
  30371. /Ermcp/QueryGoodsModel:
  30372. get:
  30373. parameters:
  30374. - description: 用户ID
  30375. in: query
  30376. name: userid
  30377. required: true
  30378. type: integer
  30379. produces:
  30380. - application/json
  30381. responses:
  30382. "200":
  30383. description: OK
  30384. schema:
  30385. items:
  30386. $ref: '#/definitions/models.ErmcpGoodsModel'
  30387. type: array
  30388. "500":
  30389. description: Internal Server Error
  30390. schema:
  30391. $ref: '#/definitions/app.Response'
  30392. security:
  30393. - ApiKeyAuth: []
  30394. summary: 查询商品型号
  30395. tags:
  30396. - 企业风险管理(app)
  30397. /Ermcp/QueryHisExposure:
  30398. get:
  30399. parameters:
  30400. - description: 用户id
  30401. in: query
  30402. name: userid
  30403. required: true
  30404. type: integer
  30405. - description: 每个品种记录数
  30406. in: query
  30407. name: lastNum
  30408. required: true
  30409. type: integer
  30410. produces:
  30411. - application/json
  30412. responses:
  30413. "200":
  30414. description: OK
  30415. schema:
  30416. items:
  30417. $ref: '#/definitions/ermcp.HisExposureRsp'
  30418. type: array
  30419. "500":
  30420. description: Internal Server Error
  30421. schema:
  30422. $ref: '#/definitions/app.Response'
  30423. security:
  30424. - ApiKeyAuth: []
  30425. summary: 查询历史敞口(菜单:敞口/历史敞口)
  30426. tags:
  30427. - 企业风险管理(app)
  30428. /Ermcp/QueryMiddleGoods:
  30429. get:
  30430. parameters:
  30431. - description: 所属机构ID
  30432. in: query
  30433. name: userid
  30434. required: true
  30435. type: integer
  30436. - description: 状态 0-停用 1-正常
  30437. in: query
  30438. name: status
  30439. required: true
  30440. type: integer
  30441. produces:
  30442. - application/json
  30443. responses:
  30444. "200":
  30445. description: OK
  30446. schema:
  30447. items:
  30448. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  30449. type: array
  30450. "500":
  30451. description: Internal Server Error
  30452. schema:
  30453. $ref: '#/definitions/app.Response'
  30454. security:
  30455. - ApiKeyAuth: []
  30456. summary: 查询套保品种(菜单:套保品种)
  30457. tags:
  30458. - 企业风险管理(app)
  30459. /Ermcp/QueryMiddleGoodsChangeLog:
  30460. get:
  30461. parameters:
  30462. - description: 所属机构ID
  30463. in: query
  30464. name: userid
  30465. required: true
  30466. type: integer
  30467. - description: 套保品种id
  30468. in: query
  30469. name: middlegoodsid
  30470. required: true
  30471. type: integer
  30472. produces:
  30473. - application/json
  30474. responses:
  30475. "200":
  30476. description: OK
  30477. schema:
  30478. items:
  30479. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  30480. type: array
  30481. "500":
  30482. description: Internal Server Error
  30483. schema:
  30484. $ref: '#/definitions/app.Response'
  30485. security:
  30486. - ApiKeyAuth: []
  30487. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  30488. tags:
  30489. - 企业风险管理(app)
  30490. /Ermcp/QueryMiddleGoodsDetail:
  30491. get:
  30492. parameters:
  30493. - description: 所属机构ID
  30494. in: query
  30495. name: userid
  30496. required: true
  30497. type: integer
  30498. - description: 套保品种id
  30499. in: query
  30500. name: middlegoodsid
  30501. type: integer
  30502. produces:
  30503. - application/json
  30504. responses:
  30505. "200":
  30506. description: OK
  30507. schema:
  30508. items:
  30509. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  30510. type: array
  30511. "500":
  30512. description: Internal Server Error
  30513. schema:
  30514. $ref: '#/definitions/app.Response'
  30515. security:
  30516. - ApiKeyAuth: []
  30517. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  30518. tags:
  30519. - 企业风险管理(app)
  30520. /Ermcp/QueryPendingAuditInfo:
  30521. get:
  30522. parameters:
  30523. - description: 用户ID
  30524. in: query
  30525. name: UserId
  30526. required: true
  30527. type: integer
  30528. produces:
  30529. - application/json
  30530. responses:
  30531. "200":
  30532. description: OK
  30533. schema:
  30534. items:
  30535. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  30536. type: array
  30537. "500":
  30538. description: Internal Server Error
  30539. schema:
  30540. $ref: '#/definitions/app.Response'
  30541. security:
  30542. - ApiKeyAuth: []
  30543. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  30544. tags:
  30545. - 企业风险管理(app)
  30546. /Ermcp/QueryRealtimeExposure:
  30547. get:
  30548. parameters:
  30549. - description: 所属机构ID
  30550. in: query
  30551. name: userid
  30552. required: true
  30553. type: integer
  30554. produces:
  30555. - application/json
  30556. responses:
  30557. "200":
  30558. description: OK
  30559. schema:
  30560. items:
  30561. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  30562. type: array
  30563. "500":
  30564. description: Internal Server Error
  30565. schema:
  30566. $ref: '#/definitions/app.Response'
  30567. security:
  30568. - ApiKeyAuth: []
  30569. summary: 查询实时敞口
  30570. tags:
  30571. - 企业风险管理(app)
  30572. /Ermcp/QueryRealtimeExposurePosition:
  30573. get:
  30574. parameters:
  30575. - description: 用户id
  30576. in: query
  30577. name: userid
  30578. required: true
  30579. type: integer
  30580. - description: 套保商品ID
  30581. in: query
  30582. name: middleGoodsId
  30583. required: true
  30584. type: integer
  30585. produces:
  30586. - application/json
  30587. responses:
  30588. "200":
  30589. description: OK
  30590. schema:
  30591. items:
  30592. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  30593. type: array
  30594. "500":
  30595. description: Internal Server Error
  30596. schema:
  30597. $ref: '#/definitions/app.Response'
  30598. security:
  30599. - ApiKeyAuth: []
  30600. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  30601. tags:
  30602. - 企业风险管理(app)
  30603. /Ermcp/QueryRoleMenu:
  30604. get:
  30605. parameters:
  30606. - description: 登录ID
  30607. in: query
  30608. name: loginid
  30609. required: true
  30610. type: integer
  30611. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易
  30612. in: query
  30613. name: menutype
  30614. type: integer
  30615. produces:
  30616. - application/json
  30617. responses:
  30618. "200":
  30619. description: OK
  30620. schema:
  30621. items:
  30622. $ref: '#/definitions/models.RoleMenu'
  30623. type: array
  30624. "500":
  30625. description: Internal Server Error
  30626. schema:
  30627. $ref: '#/definitions/app.Response'
  30628. security:
  30629. - ApiKeyAuth: []
  30630. summary: 查询角色菜单和权限
  30631. tags:
  30632. - 企业风险管理(app)
  30633. /Ermcp/QueryTradeConfigTMP:
  30634. get:
  30635. parameters:
  30636. - description: 所属机构id
  30637. in: query
  30638. name: areauserid
  30639. type: integer
  30640. produces:
  30641. - application/json
  30642. responses:
  30643. "200":
  30644. description: OK
  30645. schema:
  30646. items:
  30647. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  30648. type: array
  30649. "500":
  30650. description: Internal Server Error
  30651. schema:
  30652. $ref: '#/definitions/app.Response'
  30653. security:
  30654. - ApiKeyAuth: []
  30655. summary: 查询交易模板配置
  30656. tags:
  30657. - 企业风险管理(app)
  30658. /Ermcp/QueryUserInfo:
  30659. get:
  30660. parameters:
  30661. - description: 所属机构用户ID
  30662. in: query
  30663. name: MemberUserID
  30664. required: true
  30665. type: integer
  30666. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  30667. in: query
  30668. name: queryType
  30669. required: true
  30670. type: integer
  30671. produces:
  30672. - application/json
  30673. responses:
  30674. "200":
  30675. description: OK
  30676. schema:
  30677. items:
  30678. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  30679. type: array
  30680. "500":
  30681. description: Internal Server Error
  30682. schema:
  30683. $ref: '#/definitions/app.Response'
  30684. security:
  30685. - ApiKeyAuth: []
  30686. summary: 查询客户资料
  30687. tags:
  30688. - 企业风险管理(app)
  30689. /Ermcp/QueryWarehouseInfo:
  30690. get:
  30691. parameters:
  30692. - description: 用户ID
  30693. in: query
  30694. name: userid
  30695. required: true
  30696. type: integer
  30697. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  30698. in: query
  30699. name: status
  30700. type: string
  30701. produces:
  30702. - application/json
  30703. responses:
  30704. "200":
  30705. description: OK
  30706. schema:
  30707. items:
  30708. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  30709. type: array
  30710. "500":
  30711. description: Internal Server Error
  30712. schema:
  30713. $ref: '#/definitions/app.Response'
  30714. security:
  30715. - ApiKeyAuth: []
  30716. summary: 查询仓库信息
  30717. tags:
  30718. - 企业风险管理(app)
  30719. /Ermcp3/QryAreaExpourseContractDetail:
  30720. get:
  30721. parameters:
  30722. - description: 用户ID
  30723. in: query
  30724. name: userid
  30725. required: true
  30726. type: integer
  30727. - description: 套保商品id
  30728. in: query
  30729. name: middlegoodsid
  30730. required: true
  30731. type: integer
  30732. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  30733. in: query
  30734. name: cycletype
  30735. required: true
  30736. type: integer
  30737. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  30738. 全(0)【原值】
  30739. in: query
  30740. name: cycletime
  30741. required: true
  30742. type: string
  30743. produces:
  30744. - application/json
  30745. responses:
  30746. "200":
  30747. description: OK
  30748. schema:
  30749. items:
  30750. $ref: '#/definitions/models.Ermcp3ExposureContractDetail'
  30751. type: array
  30752. "500":
  30753. description: Internal Server Error
  30754. schema:
  30755. $ref: '#/definitions/app.Response'
  30756. security:
  30757. - ApiKeyAuth: []
  30758. summary: 查询敞口合同明细(敞口报表/现货合同明细)
  30759. tags:
  30760. - 企业风险管理v3(app)
  30761. /Ermcp3/QryAreaExpourseFutuDetail:
  30762. get:
  30763. parameters:
  30764. - description: 用户ID
  30765. in: query
  30766. name: userid
  30767. required: true
  30768. type: integer
  30769. - description: 套保商品id
  30770. in: query
  30771. name: middlegoodsid
  30772. required: true
  30773. type: integer
  30774. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  30775. in: query
  30776. name: cycletype
  30777. required: true
  30778. type: integer
  30779. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  30780. 全(0)【原值】
  30781. in: query
  30782. name: cycletime
  30783. required: true
  30784. type: string
  30785. produces:
  30786. - application/json
  30787. responses:
  30788. "200":
  30789. description: OK
  30790. schema:
  30791. items:
  30792. $ref: '#/definitions/models.Ermcp3ExposureFutuDetail'
  30793. type: array
  30794. "500":
  30795. description: Internal Server Error
  30796. schema:
  30797. $ref: '#/definitions/app.Response'
  30798. security:
  30799. - ApiKeyAuth: []
  30800. summary: 查询敞口期货明细(敞口报表/期货明细)
  30801. tags:
  30802. - 企业风险管理v3(app)
  30803. /Ermcp3/QryAreaExpourseHedgeplanDetail:
  30804. get:
  30805. parameters:
  30806. - description: 用户ID
  30807. in: query
  30808. name: userid
  30809. required: true
  30810. type: integer
  30811. - description: 套保商品id
  30812. in: query
  30813. name: middlegoodsid
  30814. required: true
  30815. type: integer
  30816. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  30817. in: query
  30818. name: cycletype
  30819. required: true
  30820. type: integer
  30821. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  30822. 全(0)【原值】
  30823. in: query
  30824. name: cycletime
  30825. required: true
  30826. type: string
  30827. produces:
  30828. - application/json
  30829. responses:
  30830. "200":
  30831. description: OK
  30832. schema:
  30833. items:
  30834. $ref: '#/definitions/models.Ermcp3ExposureHedgeplanDetail'
  30835. type: array
  30836. "500":
  30837. description: Internal Server Error
  30838. schema:
  30839. $ref: '#/definitions/app.Response'
  30840. security:
  30841. - ApiKeyAuth: []
  30842. summary: 查询敞口套保计划明细(敞口报表/套保计划明细)
  30843. tags:
  30844. - 企业风险管理v3(app)
  30845. /Ermcp3/QryAreaExpourseParamChLogDetail:
  30846. get:
  30847. parameters:
  30848. - description: 用户ID
  30849. in: query
  30850. name: userid
  30851. required: true
  30852. type: integer
  30853. - description: 套保商品id
  30854. in: query
  30855. name: middlegoodsid
  30856. required: true
  30857. type: integer
  30858. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  30859. in: query
  30860. name: cycletype
  30861. required: true
  30862. type: integer
  30863. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  30864. 全(0)【原值】
  30865. in: query
  30866. name: cycletime
  30867. required: true
  30868. type: string
  30869. produces:
  30870. - application/json
  30871. responses:
  30872. "200":
  30873. description: OK
  30874. schema:
  30875. items:
  30876. $ref: '#/definitions/models.Ermcp3ExposureParamChLog'
  30877. type: array
  30878. "500":
  30879. description: Internal Server Error
  30880. schema:
  30881. $ref: '#/definitions/app.Response'
  30882. security:
  30883. - ApiKeyAuth: []
  30884. summary: 查询敞口参数调整明细(敞口报表/参数调整明细)
  30885. tags:
  30886. - 企业风险管理v3(app)
  30887. /Ermcp3/QryAreaExpourseReport:
  30888. get:
  30889. parameters:
  30890. - description: 用户ID
  30891. in: query
  30892. name: userid
  30893. required: true
  30894. type: integer
  30895. - description: 查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口
  30896. in: query
  30897. name: querytype
  30898. required: true
  30899. type: integer
  30900. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  30901. in: query
  30902. name: cycletype
  30903. required: true
  30904. type: integer
  30905. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  30906. 全(0)【原值】
  30907. in: query
  30908. name: cycletime
  30909. required: true
  30910. type: string
  30911. produces:
  30912. - application/json
  30913. responses:
  30914. "200":
  30915. description: OK
  30916. schema:
  30917. items:
  30918. $ref: '#/definitions/models.Ermcp3ExpourseReport'
  30919. type: array
  30920. "500":
  30921. description: Internal Server Error
  30922. schema:
  30923. $ref: '#/definitions/app.Response'
  30924. security:
  30925. - ApiKeyAuth: []
  30926. summary: 查询敞口报表
  30927. tags:
  30928. - 企业风险管理v3(app)
  30929. /Ermcp3/QryAreaSpotplReport:
  30930. get:
  30931. description: 目前pcweb的日/周/月报表与手机端的汇总维度不同, 所以增加了可选参数sumflag参数, pcweb请填1
  30932. parameters:
  30933. - description: 用户ID
  30934. in: query
  30935. name: userid
  30936. required: true
  30937. type: integer
  30938. - description: 查询类型 1-报表 2-报表明细
  30939. in: query
  30940. name: querytype
  30941. required: true
  30942. type: integer
  30943. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  30944. in: query
  30945. name: cycletype
  30946. required: true
  30947. type: integer
  30948. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  30949. 全(0)【原值】
  30950. in: query
  30951. name: cycletime
  30952. required: true
  30953. type: string
  30954. - description: 现货品种id(明细必填)
  30955. in: query
  30956. name: deliverygoodsid
  30957. type: integer
  30958. - description: 币种id(明细必填)
  30959. in: query
  30960. name: currencyid
  30961. type: integer
  30962. - description: 日/周/月报表汇总维度 1:品种+品类
  30963. in: query
  30964. name: sumflag
  30965. type: integer
  30966. produces:
  30967. - application/json
  30968. responses:
  30969. "200":
  30970. description: OK
  30971. schema:
  30972. items:
  30973. $ref: '#/definitions/models.Ermcp3AreaSpotPLReport'
  30974. type: array
  30975. "500":
  30976. description: Internal Server Error
  30977. schema:
  30978. $ref: '#/definitions/app.Response'
  30979. security:
  30980. - ApiKeyAuth: []
  30981. summary: 查询现货报表
  30982. tags:
  30983. - 企业风险管理v3(app)
  30984. /Ermcp3/QryAreaStockReport:
  30985. get:
  30986. parameters:
  30987. - description: 用户ID
  30988. in: query
  30989. name: userid
  30990. required: true
  30991. type: integer
  30992. - description: 查询类型 1-报表 2-报表明细
  30993. in: query
  30994. name: querytype
  30995. required: true
  30996. type: integer
  30997. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  30998. in: query
  30999. name: cycletype
  31000. required: true
  31001. type: integer
  31002. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  31003. 全(0)【原值】
  31004. in: query
  31005. name: cycletime
  31006. required: true
  31007. type: string
  31008. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库
  31009. in: query
  31010. name: sumfields
  31011. type: string
  31012. - description: 品种ID
  31013. in: query
  31014. name: deliverygoodsid
  31015. type: integer
  31016. - description: 品类ID
  31017. in: query
  31018. name: wrstandardid
  31019. type: integer
  31020. - description: 品牌ID
  31021. in: query
  31022. name: spotgoodsbrandid
  31023. type: integer
  31024. - description: 仓库ID
  31025. in: query
  31026. name: warehouseinfoid
  31027. type: integer
  31028. produces:
  31029. - application/json
  31030. responses:
  31031. "200":
  31032. description: OK
  31033. schema:
  31034. items:
  31035. $ref: '#/definitions/models.Ermcp3AreaStockReportEx'
  31036. type: array
  31037. "500":
  31038. description: Internal Server Error
  31039. schema:
  31040. $ref: '#/definitions/app.Response'
  31041. security:
  31042. - ApiKeyAuth: []
  31043. summary: 查询库存报表
  31044. tags:
  31045. - 企业风险管理v3(app)
  31046. /Ermcp3/QryAreaSumPL:
  31047. get:
  31048. parameters:
  31049. - description: 用户ID
  31050. in: query
  31051. name: userid
  31052. required: true
  31053. type: integer
  31054. - description: 查询类型 1-报表 2-报表明细
  31055. in: query
  31056. name: querytype
  31057. required: true
  31058. type: integer
  31059. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  31060. in: query
  31061. name: cycletype
  31062. required: true
  31063. type: integer
  31064. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  31065. 全(0)【原值】
  31066. in: query
  31067. name: cycletime
  31068. required: true
  31069. type: string
  31070. - description: 币种id(明细必填)
  31071. in: query
  31072. name: currencyid
  31073. type: integer
  31074. - description: 套保品种ID, 查询类型为2时起效
  31075. in: query
  31076. name: middlegoodsid
  31077. type: integer
  31078. produces:
  31079. - application/json
  31080. responses:
  31081. "200":
  31082. description: OK
  31083. schema:
  31084. items:
  31085. $ref: '#/definitions/models.Ermcp3ArealSumPL'
  31086. type: array
  31087. "500":
  31088. description: Internal Server Error
  31089. schema:
  31090. $ref: '#/definitions/app.Response'
  31091. security:
  31092. - ApiKeyAuth: []
  31093. summary: 查询汇总损益表
  31094. tags:
  31095. - 企业风险管理v3(app)
  31096. /Ermcp3/QryFinanceReport:
  31097. get:
  31098. parameters:
  31099. - description: 用户ID
  31100. in: query
  31101. name: userid
  31102. required: true
  31103. type: integer
  31104. - description: 查询类型 1-报表 2-报表明细
  31105. in: query
  31106. name: querytype
  31107. required: true
  31108. type: integer
  31109. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  31110. in: query
  31111. name: cycletype
  31112. required: true
  31113. type: integer
  31114. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  31115. 全(0)【原值】
  31116. in: query
  31117. name: cycletime
  31118. required: true
  31119. type: string
  31120. - description: 币种id(报表明细必填)
  31121. in: query
  31122. name: currencyid
  31123. type: integer
  31124. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌
  31125. in: query
  31126. name: sumfields
  31127. type: string
  31128. produces:
  31129. - application/json
  31130. responses:
  31131. "200":
  31132. description: OK
  31133. schema:
  31134. items:
  31135. $ref: '#/definitions/models.Ermcp3FinanceReport'
  31136. type: array
  31137. "500":
  31138. description: Internal Server Error
  31139. schema:
  31140. $ref: '#/definitions/app.Response'
  31141. security:
  31142. - ApiKeyAuth: []
  31143. summary: 查询财务报表
  31144. tags:
  31145. - 企业风险管理v3(app)
  31146. /Ermcp3/QrySCMiddleGoodsReport:
  31147. get:
  31148. parameters:
  31149. - description: 用户ID
  31150. in: query
  31151. name: userid
  31152. required: true
  31153. type: integer
  31154. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  31155. in: query
  31156. name: cycletype
  31157. required: true
  31158. type: integer
  31159. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  31160. 全(0)【原值】
  31161. in: query
  31162. name: cycletime
  31163. required: true
  31164. type: string
  31165. - description: 合同id
  31166. in: query
  31167. name: spotcontractid
  31168. type: integer
  31169. - description: 套保品种id
  31170. in: query
  31171. name: middlegoodsid
  31172. type: integer
  31173. - description: 现货品种id
  31174. in: query
  31175. name: deliverygoodsid
  31176. type: integer
  31177. - description: 现货商品id
  31178. in: query
  31179. name: wrstandardid
  31180. type: integer
  31181. - description: 合同编号(模糊匹配)
  31182. in: query
  31183. name: contractno
  31184. type: string
  31185. produces:
  31186. - application/json
  31187. responses:
  31188. "200":
  31189. description: OK
  31190. schema:
  31191. items:
  31192. $ref: '#/definitions/models.Ermcp3SCMiddleGoodsReport'
  31193. type: array
  31194. "500":
  31195. description: Internal Server Error
  31196. schema:
  31197. $ref: '#/definitions/app.Response'
  31198. security:
  31199. - ApiKeyAuth: []
  31200. summary: 查询定价报表
  31201. tags:
  31202. - 企业风险管理v3(app)
  31203. /Ermcp3/QryTaFutureDataReport:
  31204. get:
  31205. parameters:
  31206. - description: 用户ID
  31207. in: query
  31208. name: userid
  31209. required: true
  31210. type: integer
  31211. - description: 查询类型 1-报表 2-报表明细
  31212. in: query
  31213. name: querytype
  31214. required: true
  31215. type: integer
  31216. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  31217. in: query
  31218. name: cycletype
  31219. required: true
  31220. type: integer
  31221. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  31222. 全(0)【原值】
  31223. in: query
  31224. name: cycletime
  31225. required: true
  31226. type: string
  31227. - description: 币种id(查明细必填)
  31228. in: query
  31229. name: currencyid
  31230. type: integer
  31231. - description: 品种id(查明细必填)
  31232. in: query
  31233. name: goodsgroupid
  31234. type: integer
  31235. - description: 商品id(查明细必填)
  31236. in: query
  31237. name: goodsid
  31238. type: integer
  31239. - description: 买卖方向(查明细必填)
  31240. in: query
  31241. name: buyorsell
  31242. type: integer
  31243. produces:
  31244. - application/json
  31245. responses:
  31246. "200":
  31247. description: OK
  31248. schema:
  31249. items:
  31250. $ref: '#/definitions/models.Ermcp3TaFutuReDataReport'
  31251. type: array
  31252. "500":
  31253. description: Internal Server Error
  31254. schema:
  31255. $ref: '#/definitions/app.Response'
  31256. security:
  31257. - ApiKeyAuth: []
  31258. summary: 查询期货报表
  31259. tags:
  31260. - 企业风险管理v3(app)
  31261. /Ermcp3/QueryAreaStock:
  31262. get:
  31263. parameters:
  31264. - description: 用户ID
  31265. in: query
  31266. name: userid
  31267. required: true
  31268. type: integer
  31269. produces:
  31270. - application/json
  31271. responses:
  31272. "200":
  31273. description: OK
  31274. schema:
  31275. items:
  31276. $ref: '#/definitions/models.Ermcp3AreaStock'
  31277. type: array
  31278. "500":
  31279. description: Internal Server Error
  31280. schema:
  31281. $ref: '#/definitions/app.Response'
  31282. security:
  31283. - ApiKeyAuth: []
  31284. summary: 查询机构库存(库存管理/当前库存)
  31285. tags:
  31286. - 企业风险管理v3(app)
  31287. /Ermcp3/QueryAreaStockApply:
  31288. get:
  31289. parameters:
  31290. - description: 用户ID
  31291. in: query
  31292. name: userid
  31293. required: true
  31294. type: integer
  31295. - description: 用户类型 2-机构 7-企业成员
  31296. in: query
  31297. name: usertype
  31298. type: integer
  31299. - description: 现货商品ID
  31300. in: query
  31301. name: deliverygoodsid
  31302. type: integer
  31303. - description: 出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  31304. in: query
  31305. name: inouttype
  31306. type: string
  31307. - description: 合同ID
  31308. in: query
  31309. name: spotcontractid
  31310. type: integer
  31311. - description: 品类ID
  31312. in: query
  31313. name: wrstandardid
  31314. type: integer
  31315. - description: 品牌ID
  31316. in: query
  31317. name: spotgoodsbrandid
  31318. type: integer
  31319. - description: 仓库ID
  31320. in: query
  31321. name: warehouseinfoid
  31322. type: integer
  31323. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  31324. in: query
  31325. name: applystatus
  31326. type: string
  31327. produces:
  31328. - application/json
  31329. responses:
  31330. "200":
  31331. description: OK
  31332. schema:
  31333. items:
  31334. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  31335. type: array
  31336. "500":
  31337. description: Internal Server Error
  31338. schema:
  31339. $ref: '#/definitions/app.Response'
  31340. security:
  31341. - ApiKeyAuth: []
  31342. summary: 查询库存申请(出入库记录|库存审核)
  31343. tags:
  31344. - 企业风险管理v3(app)
  31345. /Ermcp3/QueryAreaStockApplySum:
  31346. get:
  31347. parameters:
  31348. - description: 合同ID
  31349. in: query
  31350. name: spotcontractid
  31351. required: true
  31352. type: integer
  31353. produces:
  31354. - application/json
  31355. responses:
  31356. "200":
  31357. description: OK
  31358. schema:
  31359. items:
  31360. $ref: '#/definitions/models.Ermcp3AreaStockApplySum'
  31361. type: array
  31362. "500":
  31363. description: Internal Server Error
  31364. schema:
  31365. $ref: '#/definitions/app.Response'
  31366. security:
  31367. - ApiKeyAuth: []
  31368. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  31369. tags:
  31370. - 企业风险管理v3(app)
  31371. /Ermcp3/QueryDGFactoryItem:
  31372. get:
  31373. parameters:
  31374. - description: 用户id
  31375. in: query
  31376. name: userid
  31377. type: integer
  31378. - description: 用户类型 2-机构 7-企业成员
  31379. in: query
  31380. name: usertype
  31381. type: integer
  31382. - description: 选择项ID(SEQ_DGFACTORYITEM)
  31383. in: query
  31384. name: dgfactoryitemid
  31385. type: integer
  31386. - description: 现货品种ID
  31387. in: query
  31388. name: deliverygoodsid
  31389. type: integer
  31390. - description: 要素项类型
  31391. in: query
  31392. name: dgfactoryitemtypeid
  31393. type: integer
  31394. - description: 顺序
  31395. in: query
  31396. name: orderindex
  31397. type: integer
  31398. produces:
  31399. - application/json
  31400. responses:
  31401. "200":
  31402. description: OK
  31403. schema:
  31404. items:
  31405. $ref: '#/definitions/models.ErmcpDGFactoryItem'
  31406. type: array
  31407. "500":
  31408. description: Internal Server Error
  31409. schema:
  31410. $ref: '#/definitions/app.Response'
  31411. security:
  31412. - ApiKeyAuth: []
  31413. summary: 查询品种要素定义项
  31414. tags:
  31415. - 企业风险管理v3(app)
  31416. /Ermcp3/QueryDeliveryGoods:
  31417. get:
  31418. parameters:
  31419. - description: 用户id
  31420. in: query
  31421. name: userid
  31422. required: true
  31423. type: integer
  31424. - description: 用户类型 2-机构 7-企业成员
  31425. in: query
  31426. name: usertype
  31427. type: integer
  31428. - description: 排除已配置的业务类型商品 1-套保 2-套利
  31429. in: query
  31430. name: excludecfg
  31431. type: integer
  31432. produces:
  31433. - application/json
  31434. responses:
  31435. "200":
  31436. description: OK
  31437. schema:
  31438. items:
  31439. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  31440. type: array
  31441. "500":
  31442. description: Internal Server Error
  31443. schema:
  31444. $ref: '#/definitions/app.Response'
  31445. security:
  31446. - ApiKeyAuth: []
  31447. summary: 查询现货商品
  31448. tags:
  31449. - 企业风险管理v3(app)
  31450. /Ermcp3/QueryDeliveryGoodsDetail:
  31451. get:
  31452. parameters:
  31453. - description: 用户id
  31454. in: query
  31455. name: userid
  31456. required: true
  31457. type: integer
  31458. - description: 用户类型 2-机构 7-企业成员
  31459. in: query
  31460. name: usertype
  31461. type: integer
  31462. - description: 现货商品id
  31463. in: query
  31464. name: deliverygoodsid
  31465. type: integer
  31466. - description: 过滤下级为空, 1-过滤. 比如 品种大豆的下级品类列表为空, 则大豆不显示; 比如品类的下级套保品列表为空, 则该品类不显示
  31467. in: query
  31468. name: filtersubempty
  31469. type: integer
  31470. produces:
  31471. - application/json
  31472. responses:
  31473. "200":
  31474. description: OK
  31475. schema:
  31476. items:
  31477. $ref: '#/definitions/models.XHDeliveryGoods'
  31478. type: array
  31479. "500":
  31480. description: Internal Server Error
  31481. schema:
  31482. $ref: '#/definitions/app.Response'
  31483. security:
  31484. - ApiKeyAuth: []
  31485. summary: 查询现货商品详情
  31486. tags:
  31487. - 企业风险管理v3(app)
  31488. /Ermcp3/QueryErmcp3ContractMiddleGoodsCfg:
  31489. get:
  31490. parameters:
  31491. - description: 合同id
  31492. in: query
  31493. name: spotcontractid
  31494. required: true
  31495. type: string
  31496. produces:
  31497. - application/json
  31498. responses:
  31499. "200":
  31500. description: OK
  31501. schema:
  31502. items:
  31503. $ref: '#/definitions/models.Ermcp3ContractMiddleGoodsCfg'
  31504. type: array
  31505. "500":
  31506. description: Internal Server Error
  31507. schema:
  31508. $ref: '#/definitions/app.Response'
  31509. security:
  31510. - ApiKeyAuth: []
  31511. summary: 查询现货合同期现配置信息
  31512. tags:
  31513. - 企业风险管理v3(app)
  31514. /Ermcp3/QueryExposureDetail:
  31515. get:
  31516. parameters:
  31517. - description: 用户id
  31518. in: query
  31519. name: userid
  31520. required: true
  31521. type: integer
  31522. - description: 用户类型 2-机构 7-企业成员
  31523. in: query
  31524. name: usertype
  31525. type: integer
  31526. - description: 套保商品
  31527. in: query
  31528. name: middlegoodsid
  31529. required: true
  31530. type: integer
  31531. produces:
  31532. - application/json
  31533. responses:
  31534. "200":
  31535. description: OK
  31536. schema:
  31537. items:
  31538. $ref: '#/definitions/models.Ermcp3ExposureDetail'
  31539. type: array
  31540. "500":
  31541. description: Internal Server Error
  31542. schema:
  31543. $ref: '#/definitions/app.Response'
  31544. security:
  31545. - ApiKeyAuth: []
  31546. summary: 查询敞口现货明细
  31547. tags:
  31548. - 企业风险管理v3(app)
  31549. /Ermcp3/QueryExposureSpot:
  31550. get:
  31551. parameters:
  31552. - description: 用户id
  31553. in: query
  31554. name: userid
  31555. required: true
  31556. type: integer
  31557. - description: 用户类型 2-机构 7-企业成员
  31558. in: query
  31559. name: usertype
  31560. type: integer
  31561. produces:
  31562. - application/json
  31563. responses:
  31564. "200":
  31565. description: OK
  31566. schema:
  31567. items:
  31568. $ref: '#/definitions/models.Ermcp3AreaSpot'
  31569. type: array
  31570. "500":
  31571. description: Internal Server Error
  31572. schema:
  31573. $ref: '#/definitions/app.Response'
  31574. security:
  31575. - ApiKeyAuth: []
  31576. summary: 查询敞口现货头寸(敞口/现货头寸)
  31577. tags:
  31578. - 企业风险管理v3(app)
  31579. /Ermcp3/QueryExposureSpotDetail:
  31580. get:
  31581. parameters:
  31582. - description: 用户id
  31583. in: query
  31584. name: userid
  31585. required: true
  31586. type: integer
  31587. - description: 用户类型 2-机构 7-企业成员
  31588. in: query
  31589. name: usertype
  31590. type: integer
  31591. - description: 现货商品ID
  31592. in: query
  31593. name: wrstandardid
  31594. required: true
  31595. type: integer
  31596. produces:
  31597. - application/json
  31598. responses:
  31599. "200":
  31600. description: OK
  31601. schema:
  31602. items:
  31603. $ref: '#/definitions/models.Ermcp3AreaSpotDetail'
  31604. type: array
  31605. "500":
  31606. description: Internal Server Error
  31607. schema:
  31608. $ref: '#/definitions/app.Response'
  31609. security:
  31610. - ApiKeyAuth: []
  31611. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  31612. tags:
  31613. - 企业风险管理v3(app)
  31614. /Ermcp3/QueryGoodsGroup:
  31615. get:
  31616. parameters:
  31617. - description: 用户id
  31618. in: query
  31619. name: userid
  31620. required: true
  31621. type: integer
  31622. - description: 用户类型 2-机构 7-企业成员
  31623. in: query
  31624. name: usertype
  31625. type: integer
  31626. - description: 排除套保品中已关联的商品组 1-排除
  31627. in: query
  31628. name: excludecfg
  31629. type: integer
  31630. produces:
  31631. - application/json
  31632. responses:
  31633. "200":
  31634. description: OK
  31635. schema:
  31636. items:
  31637. $ref: '#/definitions/models.Ermcp3GoodsGroup'
  31638. type: array
  31639. "500":
  31640. description: Internal Server Error
  31641. schema:
  31642. $ref: '#/definitions/app.Response'
  31643. security:
  31644. - ApiKeyAuth: []
  31645. summary: 查询期货商品组
  31646. tags:
  31647. - 企业风险管理v3(app)
  31648. /Ermcp3/QueryGoodsWrstandard:
  31649. get:
  31650. parameters:
  31651. - description: 用户id
  31652. in: query
  31653. name: userid
  31654. required: true
  31655. type: integer
  31656. - description: 用户类型 2-机构 7-企业成员
  31657. in: query
  31658. name: usertype
  31659. type: integer
  31660. - description: 现货商品id
  31661. in: query
  31662. name: deliverygoodsid
  31663. type: integer
  31664. produces:
  31665. - application/json
  31666. responses:
  31667. "200":
  31668. description: OK
  31669. schema:
  31670. items:
  31671. $ref: '#/definitions/models.Ermcp3Wrstandard'
  31672. type: array
  31673. "500":
  31674. description: Internal Server Error
  31675. schema:
  31676. $ref: '#/definitions/app.Response'
  31677. security:
  31678. - ApiKeyAuth: []
  31679. summary: 查询商品品类
  31680. tags:
  31681. - 企业风险管理v3(app)
  31682. /Ermcp3/QueryGoodsbrand:
  31683. get:
  31684. parameters:
  31685. - description: 用户id
  31686. in: query
  31687. name: userid
  31688. required: true
  31689. type: integer
  31690. - description: 用户类型 2-机构 7-企业成员
  31691. in: query
  31692. name: usertype
  31693. type: integer
  31694. produces:
  31695. - application/json
  31696. responses:
  31697. "200":
  31698. description: OK
  31699. schema:
  31700. items:
  31701. $ref: '#/definitions/models.Ermcp3Brand'
  31702. type: array
  31703. "500":
  31704. description: Internal Server Error
  31705. schema:
  31706. $ref: '#/definitions/app.Response'
  31707. security:
  31708. - ApiKeyAuth: []
  31709. summary: 查询商品品牌
  31710. tags:
  31711. - 企业风险管理v3(app)
  31712. /Ermcp3/QueryHPMiddleGoods:
  31713. get:
  31714. parameters:
  31715. - description: 用户ID(填登录用户的userid)
  31716. in: query
  31717. name: userid
  31718. required: true
  31719. type: integer
  31720. - description: 买卖方向 0-买 1-卖
  31721. in: query
  31722. name: buyorsell
  31723. required: true
  31724. type: integer
  31725. - description: 商品组id
  31726. in: query
  31727. name: goodsgroupid
  31728. required: true
  31729. type: integer
  31730. - description: 套保计划编号(模糊匹配)
  31731. in: query
  31732. name: hedgeplanno
  31733. type: string
  31734. - description: 现货商品名称(模糊匹配)
  31735. in: query
  31736. name: wrstandardname
  31737. type: string
  31738. produces:
  31739. - application/json
  31740. responses:
  31741. "200":
  31742. description: OK
  31743. schema:
  31744. items:
  31745. $ref: '#/definitions/models.Ermcp3HPMiddleGoods'
  31746. type: array
  31747. "500":
  31748. description: Internal Server Error
  31749. schema:
  31750. $ref: '#/definitions/app.Response'
  31751. security:
  31752. - ApiKeyAuth: []
  31753. summary: 查询可关联套保计划
  31754. tags:
  31755. - 企业风险管理v3(app)
  31756. /Ermcp3/QueryHedgePlan:
  31757. get:
  31758. parameters:
  31759. - description: 用户ID
  31760. in: query
  31761. name: userid
  31762. required: true
  31763. type: integer
  31764. - description: 用户类型 2-机构 7-企业成员
  31765. in: query
  31766. name: usertype
  31767. type: integer
  31768. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  31769. in: query
  31770. name: hedgeplanstatus
  31771. required: true
  31772. type: string
  31773. produces:
  31774. - application/json
  31775. responses:
  31776. "200":
  31777. description: OK
  31778. schema:
  31779. items:
  31780. $ref: '#/definitions/models.Ermcp3HedgePlan'
  31781. type: array
  31782. "500":
  31783. description: Internal Server Error
  31784. schema:
  31785. $ref: '#/definitions/app.Response'
  31786. security:
  31787. - ApiKeyAuth: []
  31788. summary: 查询套保计划
  31789. tags:
  31790. - 企业风险管理v3(app)
  31791. /Ermcp3/QueryInnerTradeLink:
  31792. get:
  31793. description: 页面 app 现货->期现关联->外部成交单关联->点"解除关联"按钮->解除外部关联的页面信息
  31794. parameters:
  31795. - description: 外部成交单号
  31796. in: query
  31797. name: outtradeid
  31798. required: true
  31799. type: integer
  31800. produces:
  31801. - application/json
  31802. responses:
  31803. "200":
  31804. description: OK
  31805. schema:
  31806. items:
  31807. $ref: '#/definitions/models.Ermcp3InnerTradeLink'
  31808. type: array
  31809. "500":
  31810. description: Internal Server Error
  31811. schema:
  31812. $ref: '#/definitions/app.Response'
  31813. security:
  31814. - ApiKeyAuth: []
  31815. summary: 查询外部成交单关联的内部单信息(在解除外部关联页面使用)
  31816. tags:
  31817. - 企业风险管理v3(app)
  31818. /Ermcp3/QueryMiddleGoodsDetail:
  31819. get:
  31820. parameters:
  31821. - description: 用户id
  31822. in: query
  31823. name: userid
  31824. required: true
  31825. type: integer
  31826. - description: 用户类型 2-机构 7-企业成员
  31827. in: query
  31828. name: usertype
  31829. type: integer
  31830. - description: 套保品种id
  31831. in: query
  31832. name: middlegoodsid
  31833. type: integer
  31834. produces:
  31835. - application/json
  31836. responses:
  31837. "200":
  31838. description: OK
  31839. schema:
  31840. items:
  31841. $ref: '#/definitions/models.TBMiddleGoods'
  31842. type: array
  31843. "500":
  31844. description: Internal Server Error
  31845. schema:
  31846. $ref: '#/definitions/app.Response'
  31847. security:
  31848. - ApiKeyAuth: []
  31849. summary: 查询套保品种详情(套保品种/商品详情)
  31850. tags:
  31851. - 企业风险管理v3(app)
  31852. /Ermcp3/QueryOutTradeLink:
  31853. get:
  31854. description: 页面 app 现货->期现关联->外部成交单关联
  31855. parameters:
  31856. - description: 用户ID(填登录用户的userid)
  31857. in: query
  31858. name: userid
  31859. required: true
  31860. type: integer
  31861. - description: 外部订单号(模糊匹配)
  31862. in: query
  31863. name: outtradeid
  31864. type: string
  31865. - description: 合约名称/代码(模糊匹配)
  31866. in: query
  31867. name: goodsname
  31868. type: string
  31869. - description: 关联状态 0-未关联 1-已关联
  31870. in: query
  31871. name: hasinnerorder
  31872. type: integer
  31873. produces:
  31874. - application/json
  31875. responses:
  31876. "200":
  31877. description: OK
  31878. schema:
  31879. items:
  31880. $ref: '#/definitions/models.Ermcp3OutTradeLink'
  31881. type: array
  31882. "500":
  31883. description: Internal Server Error
  31884. schema:
  31885. $ref: '#/definitions/app.Response'
  31886. security:
  31887. - ApiKeyAuth: []
  31888. summary: 查询外部成交单关联
  31889. tags:
  31890. - 企业风险管理v3(app)
  31891. /Ermcp3/QueryPaAreaAuditCfg:
  31892. get:
  31893. parameters:
  31894. - description: 用户id
  31895. in: query
  31896. name: userid
  31897. required: true
  31898. type: integer
  31899. produces:
  31900. - application/json
  31901. responses:
  31902. "200":
  31903. description: OK
  31904. schema:
  31905. items:
  31906. $ref: '#/definitions/models.Ermcp3PaAreaAuditCfg'
  31907. type: array
  31908. "500":
  31909. description: Internal Server Error
  31910. schema:
  31911. $ref: '#/definitions/app.Response'
  31912. security:
  31913. - ApiKeyAuth: []
  31914. summary: 查询审核设置
  31915. tags:
  31916. - 企业风险管理v3(app)
  31917. /Ermcp3/QueryPaAreaSubject:
  31918. get:
  31919. parameters:
  31920. - description: 用户id
  31921. in: query
  31922. name: userid
  31923. required: true
  31924. type: integer
  31925. - description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  31926. in: query
  31927. name: subjectid
  31928. type: integer
  31929. - description: 主体类型 - 1:交易主体 2:业务部门
  31930. in: query
  31931. name: subjecttype
  31932. type: integer
  31933. - description: '主体状态 - 1:正常 2: 停用'
  31934. in: query
  31935. name: subjectstatus
  31936. type: integer
  31937. produces:
  31938. - application/json
  31939. responses:
  31940. "200":
  31941. description: OK
  31942. schema:
  31943. items:
  31944. $ref: '#/definitions/models.Ermcp3PaAreaSubject'
  31945. type: array
  31946. "500":
  31947. description: Internal Server Error
  31948. schema:
  31949. $ref: '#/definitions/app.Response'
  31950. security:
  31951. - ApiKeyAuth: []
  31952. summary: 查询交易主体
  31953. tags:
  31954. - 企业风险管理v3(app)
  31955. /Ermcp3/QueryPaTradeLink:
  31956. get:
  31957. description: 页面 app 现货->期现关联->期现单据关联
  31958. parameters:
  31959. - description: 用户ID
  31960. in: query
  31961. name: userid
  31962. required: true
  31963. type: integer
  31964. produces:
  31965. - application/json
  31966. responses:
  31967. "200":
  31968. description: OK
  31969. schema:
  31970. items:
  31971. $ref: '#/definitions/models.Ermcp3PaTradeLink'
  31972. type: array
  31973. "500":
  31974. description: Internal Server Error
  31975. schema:
  31976. $ref: '#/definitions/app.Response'
  31977. security:
  31978. - ApiKeyAuth: []
  31979. summary: 查询期现单据关联
  31980. tags:
  31981. - 企业风险管理v3(app)
  31982. /Ermcp3/QueryPaTradeLinkDetail:
  31983. get:
  31984. description: 页面 app 现货->期现关联->关联记录
  31985. parameters:
  31986. - description: 用户ID(填登录用户的userid)
  31987. in: query
  31988. name: userid
  31989. required: true
  31990. type: integer
  31991. - description: 关联状态 1:成功 2:失败 3:解绑
  31992. in: query
  31993. name: linkstatus
  31994. type: integer
  31995. - description: 期货订单号(模糊匹配)
  31996. in: query
  31997. name: tradeid
  31998. type: string
  31999. - description: 现货编号(模糊匹配)
  32000. in: query
  32001. name: contractno
  32002. type: string
  32003. - description: 期货账户(模糊匹配)
  32004. in: query
  32005. name: taname
  32006. type: string
  32007. produces:
  32008. - application/json
  32009. responses:
  32010. "200":
  32011. description: OK
  32012. schema:
  32013. items:
  32014. $ref: '#/definitions/models.Ermcp3TradeLinkDetail'
  32015. type: array
  32016. "500":
  32017. description: Internal Server Error
  32018. schema:
  32019. $ref: '#/definitions/app.Response'
  32020. security:
  32021. - ApiKeyAuth: []
  32022. summary: 查询期现关联记录
  32023. tags:
  32024. - 企业风险管理v3(app)
  32025. /Ermcp3/QueryParamChangeApp:
  32026. get:
  32027. description: |-
  32028. 原型页面:
  32029. 1.商品信息->商品参数修改流水-> 增值税税率 | 折算系数 | 成本权重; 流水页面查申请状态为“审核通过”的记录
  32030. 2.风管审核->套保比例审核 | 折算系数审核 | 增值税税率审核 | 成本权重审核
  32031. parameters:
  32032. - description: 用户ID
  32033. in: query
  32034. name: userid
  32035. required: true
  32036. type: integer
  32037. - description: 现货品种id
  32038. in: query
  32039. name: deliverygoodsid
  32040. type: integer
  32041. - description: 现货商品id
  32042. in: query
  32043. name: wrstandardid
  32044. type: integer
  32045. - description: 套保商品id
  32046. in: query
  32047. name: middlegoodsid
  32048. type: integer
  32049. - description: 操作类型 1:新增 2:修改
  32050. in: query
  32051. name: operatetype
  32052. type: integer
  32053. - description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  32054. in: query
  32055. name: paramchangetype
  32056. type: integer
  32057. - description: 申请状态(逗号隔开,如1,2,3) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  32058. in: query
  32059. name: ftstatus
  32060. type: string
  32061. produces:
  32062. - application/json
  32063. responses:
  32064. "200":
  32065. description: OK
  32066. schema:
  32067. items:
  32068. $ref: '#/definitions/models.Ermcp3ParamChangeApp'
  32069. type: array
  32070. "500":
  32071. description: Internal Server Error
  32072. schema:
  32073. $ref: '#/definitions/app.Response'
  32074. security:
  32075. - ApiKeyAuth: []
  32076. summary: 查询现货商品参数变更申请(流水)
  32077. tags:
  32078. - 企业风险管理v3(app)
  32079. /Ermcp3/QueryRootUserAccount:
  32080. get:
  32081. parameters:
  32082. - description: 用户ID
  32083. in: query
  32084. name: userid
  32085. required: true
  32086. type: integer
  32087. produces:
  32088. - application/json
  32089. responses:
  32090. "200":
  32091. description: OK
  32092. schema:
  32093. items:
  32094. $ref: '#/definitions/models.Ermcp3RootUserAccount'
  32095. type: array
  32096. "500":
  32097. description: Internal Server Error
  32098. schema:
  32099. $ref: '#/definitions/app.Response'
  32100. security:
  32101. - ApiKeyAuth: []
  32102. summary: 查询顶级用户信息
  32103. tags:
  32104. - 企业风险管理v3(app)
  32105. /Ermcp3/QuerySCMiddleGoods:
  32106. get:
  32107. description: |-
  32108. 页面 app 现货->期现关联->期现单据关联->点"关联"按钮->弹出界面 : 现货订单
  32109. 现货编号 即 合同编号
  32110. parameters:
  32111. - description: 用户ID(填登录用户的userid)
  32112. in: query
  32113. name: userid
  32114. required: true
  32115. type: integer
  32116. - description: 买卖方向 0-买 1-卖
  32117. in: query
  32118. name: buyorsell
  32119. required: true
  32120. type: integer
  32121. - description: 商品组id
  32122. in: query
  32123. name: goodsgroupid
  32124. required: true
  32125. type: integer
  32126. - description: 业务类型 1:套保 2:套利
  32127. in: query
  32128. name: biztype
  32129. type: integer
  32130. - description: 现货编号(模糊匹配)
  32131. in: query
  32132. name: contractno
  32133. type: string
  32134. - description: 对手方(模糊匹配)
  32135. in: query
  32136. name: customername
  32137. type: string
  32138. - description: 现货商品名称(模糊匹配)
  32139. in: query
  32140. name: wrstandardname
  32141. type: string
  32142. produces:
  32143. - application/json
  32144. responses:
  32145. "200":
  32146. description: OK
  32147. schema:
  32148. items:
  32149. $ref: '#/definitions/models.Ermcp3SCMiddleGoods'
  32150. type: array
  32151. "500":
  32152. description: Internal Server Error
  32153. schema:
  32154. $ref: '#/definitions/app.Response'
  32155. security:
  32156. - ApiKeyAuth: []
  32157. summary: 查询现货订单
  32158. tags:
  32159. - 企业风险管理v3(app)
  32160. /Ermcp3/QuerySpotContract:
  32161. get:
  32162. parameters:
  32163. - description: 用户id(当指定contractid, userid可不填)
  32164. in: query
  32165. name: userid
  32166. required: true
  32167. type: integer
  32168. - description: 用户类型 2-机构 7-企业成员
  32169. in: query
  32170. name: usertype
  32171. type: integer
  32172. - description: 合同类型 1-采购, -1-销售
  32173. in: query
  32174. name: contracttype
  32175. type: integer
  32176. - description: 查询类型(逗号隔开, 如1,2,3) 1-未提交 2-待审核 3-履约中 4-已完成
  32177. in: query
  32178. name: querytype
  32179. type: string
  32180. - description: 合同ID(SpotContractId)
  32181. in: query
  32182. name: contractid
  32183. type: string
  32184. - description: 合同编号(模糊匹配)
  32185. in: query
  32186. name: contractno
  32187. type: string
  32188. - description: 商品名称(模糊匹配)
  32189. in: query
  32190. name: wrstandardname
  32191. type: string
  32192. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中
  32193. 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  32194. in: query
  32195. name: status
  32196. type: string
  32197. - description: 是否只查今日的合同 1-查今日合同
  32198. in: query
  32199. name: istoday
  32200. type: integer
  32201. produces:
  32202. - application/json
  32203. responses:
  32204. "200":
  32205. description: OK
  32206. schema:
  32207. items:
  32208. $ref: '#/definitions/models.Ermcp3Contract'
  32209. type: array
  32210. "500":
  32211. description: Internal Server Error
  32212. schema:
  32213. $ref: '#/definitions/app.Response'
  32214. security:
  32215. - ApiKeyAuth: []
  32216. summary: 查询现货合同
  32217. tags:
  32218. - 企业风险管理v3(app)
  32219. /Ermcp3/QuerySpotContractBS:
  32220. get:
  32221. parameters:
  32222. - description: 用户id
  32223. in: query
  32224. name: userid
  32225. required: true
  32226. type: integer
  32227. - description: 用户类型 2-机构 7-企业成员
  32228. in: query
  32229. name: usertype
  32230. type: integer
  32231. - description: 合同类型 1-采购, -1-销售
  32232. in: query
  32233. name: contracttype
  32234. required: true
  32235. type: integer
  32236. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  32237. in: query
  32238. name: querytype
  32239. type: integer
  32240. - description: 合同ID(SpotContractId)
  32241. in: query
  32242. name: contractid
  32243. type: string
  32244. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中
  32245. 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  32246. in: query
  32247. name: status
  32248. type: string
  32249. - description: 是否只查今日的合同 1-查今日合同
  32250. in: query
  32251. name: istoday
  32252. type: integer
  32253. produces:
  32254. - application/json
  32255. responses:
  32256. "200":
  32257. description: OK
  32258. schema:
  32259. items:
  32260. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  32261. type: array
  32262. "500":
  32263. description: Internal Server Error
  32264. schema:
  32265. $ref: '#/definitions/app.Response'
  32266. security:
  32267. - ApiKeyAuth: []
  32268. summary: 查询合同(采购/销售)
  32269. tags:
  32270. - 企业风险管理v3(app)
  32271. /Ermcp3/QuerySpotGoodsPrice:
  32272. get:
  32273. parameters:
  32274. - description: 用户ID
  32275. in: query
  32276. name: userid
  32277. required: true
  32278. type: integer
  32279. produces:
  32280. - application/json
  32281. responses:
  32282. "200":
  32283. description: OK
  32284. schema:
  32285. items:
  32286. $ref: '#/definitions/models.Ermcp3SpotGoodsPrice'
  32287. type: array
  32288. "500":
  32289. description: Internal Server Error
  32290. schema:
  32291. $ref: '#/definitions/app.Response'
  32292. security:
  32293. - ApiKeyAuth: []
  32294. summary: 查询现货市价(现货市价)
  32295. tags:
  32296. - 企业风险管理v3(app)
  32297. /Ermcp3/QuerySpotGoodsPriceLog:
  32298. get:
  32299. parameters:
  32300. - description: 用户ID
  32301. in: query
  32302. name: userid
  32303. required: true
  32304. type: integer
  32305. - description: 现货商品ID
  32306. in: query
  32307. name: deliverygoodsid
  32308. required: true
  32309. type: integer
  32310. - description: 品牌ID
  32311. in: query
  32312. name: brandid
  32313. type: integer
  32314. - description: 品类ID
  32315. in: query
  32316. name: wrstandardid
  32317. type: integer
  32318. produces:
  32319. - application/json
  32320. responses:
  32321. "200":
  32322. description: OK
  32323. schema:
  32324. items:
  32325. $ref: '#/definitions/models.Ermcp3SpotGoodsPriceLog'
  32326. type: array
  32327. "500":
  32328. description: Internal Server Error
  32329. schema:
  32330. $ref: '#/definitions/app.Response'
  32331. security:
  32332. - ApiKeyAuth: []
  32333. summary: 查询现货市价详情(现货市价/详情)
  32334. tags:
  32335. - 企业风险管理v3(app)
  32336. /Ermcp3/QuerySubTaaccount:
  32337. get:
  32338. description: 页面 app 现货->期现关联->外部成交单关联->点"关联"按钮->选择期货子账户
  32339. parameters:
  32340. - description: 母账号id
  32341. in: query
  32342. name: parentaccountid
  32343. type: integer
  32344. - description: 母账号代码
  32345. in: query
  32346. name: parentaccountcode
  32347. type: string
  32348. produces:
  32349. - application/json
  32350. responses:
  32351. "200":
  32352. description: OK
  32353. schema:
  32354. items:
  32355. $ref: '#/definitions/models.Ermcp3SubTaaccount'
  32356. type: array
  32357. "500":
  32358. description: Internal Server Error
  32359. schema:
  32360. $ref: '#/definitions/app.Response'
  32361. security:
  32362. - ApiKeyAuth: []
  32363. summary: 查询期货子账户
  32364. tags:
  32365. - 企业风险管理v3(app)
  32366. /Ermcp8/QueryERMCP2HedgedItemSpotDetail:
  32367. get:
  32368. parameters:
  32369. - description: 套期项目ID
  32370. in: query
  32371. name: hedgeditemid
  32372. required: true
  32373. type: integer
  32374. produces:
  32375. - application/json
  32376. responses:
  32377. "200":
  32378. description: OK
  32379. schema:
  32380. items:
  32381. $ref: '#/definitions/models.Ermcp2hedgeditemspotDetail'
  32382. type: array
  32383. "500":
  32384. description: Internal Server Error
  32385. schema:
  32386. $ref: '#/definitions/app.Response'
  32387. security:
  32388. - ApiKeyAuth: []
  32389. summary: 现货成交明细查询
  32390. tags:
  32391. - 企业风险管理v8
  32392. /Ermcp8/QueryERMCP2HedgedItemspot:
  32393. get:
  32394. parameters:
  32395. - description: 套期项目ID
  32396. in: query
  32397. name: hedgeditemid
  32398. required: true
  32399. type: integer
  32400. produces:
  32401. - application/json
  32402. responses:
  32403. "200":
  32404. description: OK
  32405. schema:
  32406. items:
  32407. $ref: '#/definitions/models.Ermcp2hedgeditemspot'
  32408. type: array
  32409. "500":
  32410. description: Internal Server Error
  32411. schema:
  32412. $ref: '#/definitions/app.Response'
  32413. security:
  32414. - ApiKeyAuth: []
  32415. summary: 套期计划明细查询
  32416. tags:
  32417. - 企业风险管理v8
  32418. /Ermcp8/QueryERMCPJRLinkPos:
  32419. get:
  32420. parameters:
  32421. - description: 套期项目ID
  32422. in: query
  32423. name: hedgeditemid
  32424. required: true
  32425. type: integer
  32426. produces:
  32427. - application/json
  32428. responses:
  32429. "200":
  32430. description: OK
  32431. schema:
  32432. items:
  32433. $ref: '#/definitions/models.Ermcpjrlinkpos'
  32434. type: array
  32435. "500":
  32436. description: Internal Server Error
  32437. schema:
  32438. $ref: '#/definitions/app.Response'
  32439. security:
  32440. - ApiKeyAuth: []
  32441. summary: 期货持仓明细查询
  32442. tags:
  32443. - 企业风险管理v8
  32444. /Ermcp8/QueryERMCPPatradeLinkDetail:
  32445. get:
  32446. parameters:
  32447. - description: 套期项目ID
  32448. in: query
  32449. name: hedgeditemid
  32450. required: true
  32451. type: integer
  32452. produces:
  32453. - application/json
  32454. responses:
  32455. "200":
  32456. description: OK
  32457. schema:
  32458. items:
  32459. $ref: '#/definitions/models.Ermcppatradelinkdetail'
  32460. type: array
  32461. "500":
  32462. description: Internal Server Error
  32463. schema:
  32464. $ref: '#/definitions/app.Response'
  32465. security:
  32466. - ApiKeyAuth: []
  32467. summary: 期货成交单明细查询
  32468. tags:
  32469. - 企业风险管理v8
  32470. /Ermcp8/QueryErmcp2AreaExposure:
  32471. get:
  32472. parameters:
  32473. - description: 用户ID
  32474. in: query
  32475. name: userid
  32476. required: true
  32477. type: string
  32478. produces:
  32479. - application/json
  32480. responses:
  32481. "200":
  32482. description: OK
  32483. schema:
  32484. items:
  32485. $ref: '#/definitions/models.Ermcp2AreaExposure'
  32486. type: array
  32487. "500":
  32488. description: Internal Server Error
  32489. schema:
  32490. $ref: '#/definitions/app.Response'
  32491. security:
  32492. - ApiKeyAuth: []
  32493. summary: 企业敞口查询
  32494. tags:
  32495. - 企业风险管理v8
  32496. /Ermcp8/QueryErmcp2HedgedItem:
  32497. get:
  32498. description: 已完成项目查询 -> 项目状态 = 3:正常完结 or 5:异常完结
  32499. parameters:
  32500. - description: 用户ID
  32501. in: query
  32502. name: userid
  32503. required: true
  32504. type: string
  32505. - description: 套期类型 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  32506. in: query
  32507. name: hedgedtype
  32508. type: integer
  32509. - description: 项目状态 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  32510. in: query
  32511. name: hedgeditemstatus
  32512. type: integer
  32513. produces:
  32514. - application/json
  32515. responses:
  32516. "200":
  32517. description: OK
  32518. schema:
  32519. items:
  32520. $ref: '#/definitions/models.Ermcp2hedgeditem'
  32521. type: array
  32522. "500":
  32523. description: Internal Server Error
  32524. schema:
  32525. $ref: '#/definitions/app.Response'
  32526. security:
  32527. - ApiKeyAuth: []
  32528. summary: 查询被套期项目信息
  32529. tags:
  32530. - 企业风险管理v8
  32531. /Ermcp8/QueryErmcp2HedgedItemLink:
  32532. get:
  32533. parameters:
  32534. - description: 现货合同ID
  32535. in: query
  32536. name: spotcontractid
  32537. required: true
  32538. type: integer
  32539. produces:
  32540. - application/json
  32541. responses:
  32542. "200":
  32543. description: OK
  32544. schema:
  32545. items:
  32546. $ref: '#/definitions/models.Ermcp2hedgeditemlink'
  32547. type: array
  32548. "500":
  32549. description: Internal Server Error
  32550. schema:
  32551. $ref: '#/definitions/app.Response'
  32552. security:
  32553. - ApiKeyAuth: []
  32554. summary: 现货合同关联被套期项目查询
  32555. tags:
  32556. - 企业风险管理v8
  32557. /Ermcp8/QueryErmcp2HedgedItemsDetail:
  32558. get:
  32559. parameters:
  32560. - description: 用户ID
  32561. in: query
  32562. name: userid
  32563. required: true
  32564. type: integer
  32565. - description: 套保品种ID
  32566. in: query
  32567. name: middlegoodsid
  32568. required: true
  32569. type: integer
  32570. produces:
  32571. - application/json
  32572. responses:
  32573. "200":
  32574. description: OK
  32575. schema:
  32576. items:
  32577. $ref: '#/definitions/models.Ermcp2hedgeditemsDetail'
  32578. type: array
  32579. "500":
  32580. description: Internal Server Error
  32581. schema:
  32582. $ref: '#/definitions/app.Response'
  32583. security:
  32584. - ApiKeyAuth: []
  32585. summary: 敞口明细 - 计划变动明细
  32586. tags:
  32587. - 企业风险管理v8
  32588. /Ermcp8/QueryErmcp2StockSpotChangeLog:
  32589. get:
  32590. parameters:
  32591. - description: 用户ID
  32592. in: query
  32593. name: userid
  32594. required: true
  32595. type: integer
  32596. - description: 套保品种ID
  32597. in: query
  32598. name: middlegoodsid
  32599. required: true
  32600. type: integer
  32601. produces:
  32602. - application/json
  32603. responses:
  32604. "200":
  32605. description: OK
  32606. schema:
  32607. items:
  32608. $ref: '#/definitions/models.Ermcp2stockspotchangelog'
  32609. type: array
  32610. "500":
  32611. description: Internal Server Error
  32612. schema:
  32613. $ref: '#/definitions/app.Response'
  32614. security:
  32615. - ApiKeyAuth: []
  32616. summary: 敞口明细 - 现货变动明细查询
  32617. tags:
  32618. - 企业风险管理v8
  32619. /Ermcp8/QueryErmcp8EnableHedgeditem:
  32620. get:
  32621. parameters:
  32622. - description: 用户ID
  32623. in: query
  32624. name: userid
  32625. required: true
  32626. type: integer
  32627. - description: 现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  32628. in: query
  32629. name: spottype
  32630. required: true
  32631. type: integer
  32632. - description: 现货商品ID
  32633. in: query
  32634. name: wrstandardid
  32635. type: integer
  32636. produces:
  32637. - application/json
  32638. responses:
  32639. "200":
  32640. description: OK
  32641. schema:
  32642. items:
  32643. $ref: '#/definitions/models.Ermcp8EnableHedgeditem'
  32644. type: array
  32645. "500":
  32646. description: Internal Server Error
  32647. schema:
  32648. $ref: '#/definitions/app.Response'
  32649. security:
  32650. - ApiKeyAuth: []
  32651. summary: 可关联项目查询
  32652. tags:
  32653. - 企业风险管理v8
  32654. /Ermcp8/QueryErmcp8HedgeditemReport:
  32655. get:
  32656. parameters:
  32657. - description: 用户ID
  32658. in: query
  32659. name: userid
  32660. required: true
  32661. type: integer
  32662. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  32663. in: query
  32664. name: cycletype
  32665. type: integer
  32666. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  32667. 全(0)【原值】
  32668. in: query
  32669. name: cycletime
  32670. required: true
  32671. type: string
  32672. - description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  32673. in: query
  32674. name: hedgedtype
  32675. type: integer
  32676. - description: 项目状态 - 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  32677. in: query
  32678. name: hedgeditemstatus
  32679. type: integer
  32680. - description: 项目编号,模糊查询
  32681. in: query
  32682. name: hedgeditemnum
  32683. type: string
  32684. - description: 现货商品ID
  32685. in: query
  32686. name: wrstandardid
  32687. type: integer
  32688. produces:
  32689. - application/json
  32690. responses:
  32691. "200":
  32692. description: OK
  32693. schema:
  32694. items:
  32695. $ref: '#/definitions/models.Ermcp8HedgeditemReport'
  32696. type: array
  32697. "500":
  32698. description: Internal Server Error
  32699. schema:
  32700. $ref: '#/definitions/app.Response'
  32701. security:
  32702. - ApiKeyAuth: []
  32703. summary: 套期项目报表查询
  32704. tags:
  32705. - 企业风险管理v8
  32706. /Ermcp8/QueryErmcp8RunningHedgeditem:
  32707. get:
  32708. parameters:
  32709. - description: 用户ID
  32710. in: query
  32711. name: userid
  32712. required: true
  32713. type: string
  32714. produces:
  32715. - application/json
  32716. responses:
  32717. "200":
  32718. description: OK
  32719. schema:
  32720. items:
  32721. $ref: '#/definitions/models.Ermcp8RunningHedgeditem'
  32722. type: array
  32723. "500":
  32724. description: Internal Server Error
  32725. schema:
  32726. $ref: '#/definitions/app.Response'
  32727. security:
  32728. - ApiKeyAuth: []
  32729. summary: 查询执行中项目查询信息
  32730. tags:
  32731. - 企业风险管理v8
  32732. /Ermcp8/QueryInternalEnableTradeDetail:
  32733. get:
  32734. parameters:
  32735. - description: 企业ID
  32736. in: query
  32737. name: areauserid
  32738. required: true
  32739. type: integer
  32740. - description: 期货合约ID
  32741. in: query
  32742. name: goodsid
  32743. required: true
  32744. type: integer
  32745. - description: 交易用户ID
  32746. in: query
  32747. name: tradeuserid
  32748. required: true
  32749. type: integer
  32750. produces:
  32751. - application/json
  32752. responses:
  32753. "200":
  32754. description: OK
  32755. schema:
  32756. items:
  32757. $ref: '#/definitions/models.InternalEnableTradeDetail'
  32758. type: array
  32759. "500":
  32760. description: Internal Server Error
  32761. schema:
  32762. $ref: '#/definitions/app.Response'
  32763. security:
  32764. - ApiKeyAuth: []
  32765. summary: 内部成交单可关联项目查询
  32766. tags:
  32767. - 企业风险管理v8
  32768. /Ermcp8/QueryInternalUncorrelatedTradeDetail:
  32769. get:
  32770. parameters:
  32771. - description: 用户编号
  32772. in: query
  32773. name: userid
  32774. required: true
  32775. type: integer
  32776. - description: 起始日期(格式yyyymmdd)
  32777. in: query
  32778. name: begindate
  32779. type: string
  32780. - description: 终止日期(格式yyyymmdd)
  32781. in: query
  32782. name: enddate
  32783. type: string
  32784. - description: 合约代码
  32785. in: query
  32786. name: goodscode
  32787. type: string
  32788. - description: 合约名称
  32789. in: query
  32790. name: goodsname
  32791. type: string
  32792. - description: 成交单号
  32793. in: query
  32794. name: tradeid
  32795. type: integer
  32796. - description: 方向 - 0:买 1:卖
  32797. in: query
  32798. name: buyorsell
  32799. type: integer
  32800. - description: 套期主体
  32801. in: query
  32802. name: accountname
  32803. type: string
  32804. produces:
  32805. - application/json
  32806. responses:
  32807. "200":
  32808. description: OK
  32809. schema:
  32810. items:
  32811. $ref: '#/definitions/models.InternalUncorrelatedTradeDetail'
  32812. type: array
  32813. "500":
  32814. description: Internal Server Error
  32815. schema:
  32816. $ref: '#/definitions/app.Response'
  32817. security:
  32818. - ApiKeyAuth: []
  32819. summary: 内部未关联成交单查询
  32820. tags:
  32821. - 企业风险管理v8
  32822. /Ermcp8/QueryMarketCalendar:
  32823. get:
  32824. parameters:
  32825. - description: 市场ID
  32826. in: query
  32827. name: marketid
  32828. type: integer
  32829. produces:
  32830. - application/json
  32831. responses:
  32832. "200":
  32833. description: OK
  32834. schema:
  32835. items:
  32836. $ref: '#/definitions/models.Marketcalendar'
  32837. type: array
  32838. "500":
  32839. description: Internal Server Error
  32840. schema:
  32841. $ref: '#/definitions/app.Response'
  32842. security:
  32843. - ApiKeyAuth: []
  32844. summary: 市场节假日查询
  32845. tags:
  32846. - 企业风险管理v8
  32847. /Ermcp8/QueryPatradeLinkDetail:
  32848. get:
  32849. parameters:
  32850. - description: 用户ID
  32851. in: query
  32852. name: userid
  32853. required: true
  32854. type: integer
  32855. - description: 套保品种ID
  32856. in: query
  32857. name: middlegoodsid
  32858. required: true
  32859. type: integer
  32860. produces:
  32861. - application/json
  32862. responses:
  32863. "200":
  32864. description: OK
  32865. schema:
  32866. items:
  32867. $ref: '#/definitions/models.Patradelinkdetail'
  32868. type: array
  32869. "500":
  32870. description: Internal Server Error
  32871. schema:
  32872. $ref: '#/definitions/app.Response'
  32873. security:
  32874. - ApiKeyAuth: []
  32875. summary: 敞口明细 - 期货变动明细
  32876. tags:
  32877. - 企业风险管理v8
  32878. /Ermcp8/QueryUnLinkErmcpHedgePlan:
  32879. get:
  32880. parameters:
  32881. - description: 企业ID
  32882. in: query
  32883. name: areauserid
  32884. required: true
  32885. type: integer
  32886. - description: 计划类型 - 1:采购 -1:销售
  32887. in: query
  32888. name: contracttype
  32889. type: integer
  32890. - description: 计划编号,模糊查询
  32891. in: query
  32892. name: hedgeplanno
  32893. type: string
  32894. - description: 现货商品,模糊查询
  32895. in: query
  32896. name: wrstandardname
  32897. type: string
  32898. produces:
  32899. - application/json
  32900. responses:
  32901. "200":
  32902. description: OK
  32903. schema:
  32904. items:
  32905. $ref: '#/definitions/models.Unlinkermcphedgeplan'
  32906. type: array
  32907. "500":
  32908. description: Internal Server Error
  32909. schema:
  32910. $ref: '#/definitions/app.Response'
  32911. security:
  32912. - ApiKeyAuth: []
  32913. summary: 未关联购销计划
  32914. tags:
  32915. - 企业风险管理v8
  32916. /Ermcp8/QueryUnLinkSpotContract:
  32917. get:
  32918. parameters:
  32919. - description: 用户ID
  32920. in: query
  32921. name: userid
  32922. required: true
  32923. type: integer
  32924. - description: 定价类型 - 1:一口价 2:点价 3:暂定价
  32925. in: query
  32926. name: pricetype
  32927. type: integer
  32928. - description: 合同编号, 模拟查询
  32929. in: query
  32930. name: contractno
  32931. type: string
  32932. - description: 对手方, 模拟查询
  32933. in: query
  32934. name: customername
  32935. type: string
  32936. - description: 项合同类型 - 1:采购 -1:销售
  32937. in: query
  32938. name: contracttype
  32939. type: integer
  32940. produces:
  32941. - application/json
  32942. responses:
  32943. "200":
  32944. description: OK
  32945. schema:
  32946. items:
  32947. $ref: '#/definitions/models.ErmcpSpotContractModelEx'
  32948. type: array
  32949. "500":
  32950. description: Internal Server Error
  32951. schema:
  32952. $ref: '#/definitions/app.Response'
  32953. security:
  32954. - ApiKeyAuth: []
  32955. summary: 未关联合同查询
  32956. tags:
  32957. - 企业风险管理v8
  32958. /Erms2/QueryArbitrageStrategy:
  32959. get:
  32960. parameters:
  32961. - description: 账户ID
  32962. in: query
  32963. name: userid
  32964. required: true
  32965. type: integer
  32966. - description: 商品组ID(品种ID)
  32967. in: query
  32968. name: goodsgroupid
  32969. type: string
  32970. produces:
  32971. - application/json
  32972. responses:
  32973. "200":
  32974. description: OK
  32975. schema:
  32976. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  32977. "500":
  32978. description: Internal Server Error
  32979. schema:
  32980. $ref: '#/definitions/app.Response'
  32981. security:
  32982. - ApiKeyAuth: []
  32983. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  32984. tags:
  32985. - 风险管理
  32986. /Erms2/QueryInnerTradeDetail:
  32987. get:
  32988. parameters:
  32989. - description: 资金账户
  32990. in: query
  32991. name: accountid
  32992. required: true
  32993. type: integer
  32994. produces:
  32995. - application/json
  32996. responses:
  32997. "200":
  32998. description: OK
  32999. schema:
  33000. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  33001. "500":
  33002. description: Internal Server Error
  33003. schema:
  33004. $ref: '#/definitions/app.Response'
  33005. security:
  33006. - ApiKeyAuth: []
  33007. summary: 查询内部成交单信息
  33008. tags:
  33009. - 风险管理
  33010. /Erms2/QuerySpotContract:
  33011. get:
  33012. parameters:
  33013. - description: 策略申请ID
  33014. in: query
  33015. name: asapplyid
  33016. required: true
  33017. type: integer
  33018. - description: 现货合同ID
  33019. in: query
  33020. name: spotcontractid
  33021. type: integer
  33022. produces:
  33023. - application/json
  33024. responses:
  33025. "200":
  33026. description: OK
  33027. schema:
  33028. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  33029. "500":
  33030. description: Internal Server Error
  33031. schema:
  33032. $ref: '#/definitions/app.Response'
  33033. security:
  33034. - ApiKeyAuth: []
  33035. summary: 查询现货合同表信息(指定策略ID、未结束的)
  33036. tags:
  33037. - 风险管理
  33038. /Erms3/AddErms2ASApply:
  33039. post:
  33040. parameters:
  33041. - description: 申请参数
  33042. in: body
  33043. name: jsonBody
  33044. required: true
  33045. schema:
  33046. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  33047. produces:
  33048. - application/json
  33049. responses:
  33050. "200":
  33051. description: OK
  33052. schema:
  33053. $ref: '#/definitions/app.Response'
  33054. "500":
  33055. description: Internal Server Error
  33056. schema:
  33057. $ref: '#/definitions/app.Response'
  33058. security:
  33059. - ApiKeyAuth: []
  33060. summary: 新增期现套利业务申请
  33061. tags:
  33062. - 风险管理v3
  33063. /Erms3/AddErms2SpotTradeApply:
  33064. post:
  33065. parameters:
  33066. - description: 申请参数
  33067. in: body
  33068. name: jsonBody
  33069. required: true
  33070. schema:
  33071. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  33072. produces:
  33073. - application/json
  33074. responses:
  33075. "200":
  33076. description: OK
  33077. schema:
  33078. $ref: '#/definitions/app.Response'
  33079. "500":
  33080. description: Internal Server Error
  33081. schema:
  33082. $ref: '#/definitions/app.Response'
  33083. security:
  33084. - ApiKeyAuth: []
  33085. summary: 新增现货贸易业务申请
  33086. tags:
  33087. - 风险管理v3
  33088. /Erms3/AddSpotContractApply:
  33089. post:
  33090. parameters:
  33091. - description: 申请参数
  33092. in: body
  33093. name: jsonBody
  33094. required: true
  33095. schema:
  33096. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  33097. produces:
  33098. - application/json
  33099. responses:
  33100. "200":
  33101. description: OK
  33102. schema:
  33103. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  33104. "500":
  33105. description: Internal Server Error
  33106. schema:
  33107. $ref: '#/definitions/app.Response'
  33108. security:
  33109. - ApiKeyAuth: []
  33110. summary: 新增现货合同申请
  33111. tags:
  33112. - 风险管理v3
  33113. /Erms3/AddUserInfoApply:
  33114. post:
  33115. parameters:
  33116. - description: 用户信息
  33117. in: body
  33118. name: jsonBody
  33119. required: true
  33120. schema:
  33121. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  33122. produces:
  33123. - application/json
  33124. responses:
  33125. "200":
  33126. description: OK
  33127. schema:
  33128. $ref: '#/definitions/app.Response'
  33129. "500":
  33130. description: Internal Server Error
  33131. schema:
  33132. $ref: '#/definitions/app.Response'
  33133. security:
  33134. - ApiKeyAuth: []
  33135. summary: 新增客户申请
  33136. tags:
  33137. - 风险管理v3
  33138. /Erms3/DeleteUserInfoApply:
  33139. get:
  33140. description: 只可删除 UserState = 1 (未提交)状态的申请信息
  33141. parameters:
  33142. - description: 用户ID
  33143. in: query
  33144. name: userID
  33145. required: true
  33146. type: integer
  33147. produces:
  33148. - application/json
  33149. responses:
  33150. "200":
  33151. description: OK
  33152. schema:
  33153. $ref: '#/definitions/app.Response'
  33154. "500":
  33155. description: Internal Server Error
  33156. schema:
  33157. $ref: '#/definitions/app.Response'
  33158. security:
  33159. - ApiKeyAuth: []
  33160. summary: 删除客户申请
  33161. tags:
  33162. - 风险管理v3
  33163. /Erms3/ModifyUserInfoApply:
  33164. post:
  33165. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid":
  33166. int, "userstate": 2 }'
  33167. parameters:
  33168. - description: 用户信息
  33169. in: body
  33170. name: jsonBody
  33171. required: true
  33172. schema:
  33173. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  33174. produces:
  33175. - application/json
  33176. responses:
  33177. "200":
  33178. description: OK
  33179. schema:
  33180. $ref: '#/definitions/app.Response'
  33181. "500":
  33182. description: Internal Server Error
  33183. schema:
  33184. $ref: '#/definitions/app.Response'
  33185. security:
  33186. - ApiKeyAuth: []
  33187. summary: 修改客户申请
  33188. tags:
  33189. - 风险管理v3
  33190. /Erms3/QueryBusinessInfo:
  33191. get:
  33192. parameters:
  33193. - description: 资金账号ID列表,用逗号分隔
  33194. in: query
  33195. name: accountids
  33196. required: true
  33197. type: string
  33198. - description: 状态,0为未结束 1为已结束
  33199. in: query
  33200. name: status
  33201. required: true
  33202. type: integer
  33203. produces:
  33204. - application/json
  33205. responses:
  33206. "200":
  33207. description: OK
  33208. schema:
  33209. items:
  33210. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  33211. type: array
  33212. "500":
  33213. description: Internal Server Error
  33214. schema:
  33215. $ref: '#/definitions/app.Response'
  33216. security:
  33217. - ApiKeyAuth: []
  33218. summary: 查询业务表单数据
  33219. tags:
  33220. - 风险管理v3
  33221. /Erms3/QueryPendingAuditContract:
  33222. get:
  33223. parameters:
  33224. - description: 资金账号ID列表,逗号隔开
  33225. in: query
  33226. name: accountids
  33227. required: true
  33228. type: string
  33229. - description: 合同类型 1-采购 -1-销售
  33230. in: query
  33231. name: contracttype
  33232. required: true
  33233. type: integer
  33234. - description: 合同模式 1-普通 2-回购
  33235. in: query
  33236. name: contractmode
  33237. required: true
  33238. type: integer
  33239. produces:
  33240. - application/json
  33241. responses:
  33242. "200":
  33243. description: OK
  33244. schema:
  33245. items:
  33246. $ref: '#/definitions/erms3.QryAuditContractRsp'
  33247. type: array
  33248. "500":
  33249. description: Internal Server Error
  33250. schema:
  33251. $ref: '#/definitions/app.Response'
  33252. security:
  33253. - ApiKeyAuth: []
  33254. summary: 查询待审核合同
  33255. tags:
  33256. - 风险管理v3
  33257. /Erms3/QueryPendingBusiness:
  33258. get:
  33259. parameters:
  33260. - description: 资金账号ID列表,逗号隔开
  33261. in: query
  33262. name: accountids
  33263. required: true
  33264. type: string
  33265. produces:
  33266. - application/json
  33267. responses:
  33268. "200":
  33269. description: OK
  33270. schema:
  33271. items:
  33272. $ref: '#/definitions/erms3.QryPendingBizRsp'
  33273. type: array
  33274. "500":
  33275. description: Internal Server Error
  33276. schema:
  33277. $ref: '#/definitions/app.Response'
  33278. security:
  33279. - ApiKeyAuth: []
  33280. summary: 查询待审核基差贸易业务
  33281. tags:
  33282. - 风险管理v3
  33283. /Erms3/QuerySpotContractAppleForm:
  33284. get:
  33285. parameters:
  33286. - description: 登录账号
  33287. in: query
  33288. name: loginID
  33289. required: true
  33290. type: integer
  33291. produces:
  33292. - application/json
  33293. responses:
  33294. "200":
  33295. description: OK
  33296. schema:
  33297. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  33298. "500":
  33299. description: Internal Server Error
  33300. schema:
  33301. $ref: '#/definitions/app.Response'
  33302. security:
  33303. - ApiKeyAuth: []
  33304. summary: 查询合同申请表单数据
  33305. tags:
  33306. - 风险管理v3
  33307. /Erms3/QuerySpotContractDetail:
  33308. get:
  33309. parameters:
  33310. - description: 资金账号ID列表,用逗号分隔
  33311. in: query
  33312. name: accountids
  33313. required: true
  33314. type: string
  33315. - description: 合同类型,1为采购合同 -1为销售合同
  33316. in: query
  33317. name: contracttype
  33318. required: true
  33319. type: integer
  33320. - description: 合同模式,1为普通合同 2为回购销售合同
  33321. in: query
  33322. name: contractmode
  33323. required: true
  33324. type: integer
  33325. - description: 状态,0为履约中 1为已完成
  33326. in: query
  33327. name: status
  33328. required: true
  33329. type: integer
  33330. produces:
  33331. - application/json
  33332. responses:
  33333. "200":
  33334. description: OK
  33335. schema:
  33336. items:
  33337. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  33338. type: array
  33339. "500":
  33340. description: Internal Server Error
  33341. schema:
  33342. $ref: '#/definitions/app.Response'
  33343. security:
  33344. - ApiKeyAuth: []
  33345. summary: 查询合同详细信息
  33346. tags:
  33347. - 风险管理v3
  33348. /Erms3/QueryUserInfoApplies:
  33349. get:
  33350. parameters:
  33351. - description: 页码
  33352. in: query
  33353. name: page
  33354. type: integer
  33355. - description: 每页条数
  33356. in: query
  33357. name: pagesize
  33358. type: integer
  33359. - description: 客户名称,支持模糊查询
  33360. in: query
  33361. name: userName
  33362. type: string
  33363. produces:
  33364. - application/json
  33365. responses:
  33366. "200":
  33367. description: OK
  33368. schema:
  33369. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  33370. "500":
  33371. description: Internal Server Error
  33372. schema:
  33373. $ref: '#/definitions/app.Response'
  33374. security:
  33375. - ApiKeyAuth: []
  33376. summary: 客户申请信息查询
  33377. tags:
  33378. - 风险管理v3
  33379. /Erms3/QueryUserInfos:
  33380. get:
  33381. parameters:
  33382. - description: 页码
  33383. in: query
  33384. name: page
  33385. type: integer
  33386. - description: 每页条数
  33387. in: query
  33388. name: pagesize
  33389. type: integer
  33390. - description: 客户名称,支持模糊查询
  33391. in: query
  33392. name: userName
  33393. type: string
  33394. produces:
  33395. - application/json
  33396. responses:
  33397. "200":
  33398. description: OK
  33399. schema:
  33400. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  33401. "500":
  33402. description: Internal Server Error
  33403. schema:
  33404. $ref: '#/definitions/app.Response'
  33405. security:
  33406. - ApiKeyAuth: []
  33407. summary: 客户信息查询
  33408. tags:
  33409. - 风险管理v3
  33410. /Ferroalloy/GetSpotGoodsPrice:
  33411. get:
  33412. parameters:
  33413. - description: 页码
  33414. in: query
  33415. name: page
  33416. type: integer
  33417. - description: 每页条数
  33418. in: query
  33419. name: pagesize
  33420. type: integer
  33421. produces:
  33422. - application/json
  33423. responses:
  33424. "200":
  33425. description: OK
  33426. schema:
  33427. items:
  33428. $ref: '#/definitions/models.GErmcpspotgoodsprice'
  33429. type: array
  33430. "500":
  33431. description: Internal Server Error
  33432. schema:
  33433. $ref: '#/definitions/app.Response'
  33434. security:
  33435. - ApiKeyAuth: []
  33436. summary: 获取现货行情
  33437. tags:
  33438. - 铁合金
  33439. /Ferroalloy/QueryInvestorLevelGroup:
  33440. get:
  33441. produces:
  33442. - application/json
  33443. responses:
  33444. "200":
  33445. description: OK
  33446. schema:
  33447. items:
  33448. $ref: '#/definitions/models.Thjinvestorlevelgroup'
  33449. type: array
  33450. "500":
  33451. description: Internal Server Error
  33452. schema:
  33453. $ref: '#/definitions/app.Response'
  33454. summary: 查询查询我推荐的好友等级
  33455. tags:
  33456. - 铁合金
  33457. /Ferroalloy/QueryMyDeposit:
  33458. get:
  33459. parameters:
  33460. - description: 用户ID
  33461. in: query
  33462. name: userid
  33463. required: true
  33464. type: integer
  33465. produces:
  33466. - application/json
  33467. responses:
  33468. "200":
  33469. description: OK
  33470. schema:
  33471. items:
  33472. $ref: '#/definitions/models.Thjinvesotrdeposit'
  33473. type: array
  33474. "500":
  33475. description: Internal Server Error
  33476. schema:
  33477. $ref: '#/definitions/app.Response'
  33478. security:
  33479. - ApiKeyAuth: []
  33480. summary: 查询本人定金比例
  33481. tags:
  33482. - 铁合金
  33483. /Ferroalloy/QueryMyRefer:
  33484. get:
  33485. parameters:
  33486. - description: 用户ID
  33487. in: query
  33488. name: userid
  33489. required: true
  33490. type: integer
  33491. - description: 页码
  33492. in: query
  33493. name: page
  33494. type: integer
  33495. - description: 每页条数
  33496. in: query
  33497. name: pagesize
  33498. type: integer
  33499. produces:
  33500. - application/json
  33501. responses:
  33502. "200":
  33503. description: OK
  33504. schema:
  33505. items:
  33506. $ref: '#/definitions/models.MyRefer'
  33507. type: array
  33508. "500":
  33509. description: Internal Server Error
  33510. schema:
  33511. $ref: '#/definitions/app.Response'
  33512. security:
  33513. - ApiKeyAuth: []
  33514. summary: 查询我的推荐列表
  33515. tags:
  33516. - 铁合金
  33517. /Ferroalloy/QueryMyRegisterMoney:
  33518. get:
  33519. parameters:
  33520. - description: 资金账户
  33521. in: query
  33522. name: accountid
  33523. required: true
  33524. type: integer
  33525. produces:
  33526. - application/json
  33527. responses:
  33528. "200":
  33529. description: OK
  33530. schema:
  33531. items:
  33532. $ref: '#/definitions/models.RegisterMoney'
  33533. type: array
  33534. "500":
  33535. description: Internal Server Error
  33536. schema:
  33537. $ref: '#/definitions/app.Response'
  33538. summary: 查询我的注册红包
  33539. tags:
  33540. - 铁合金
  33541. /Ferroalloy/QuerySpotgoodsPrice:
  33542. get:
  33543. parameters:
  33544. - description: 现货商品ID
  33545. in: query
  33546. name: wrstandardid
  33547. type: integer
  33548. - description: 页码
  33549. in: query
  33550. name: page
  33551. type: integer
  33552. - description: 每页条数
  33553. in: query
  33554. name: pagesize
  33555. type: integer
  33556. produces:
  33557. - application/json
  33558. responses:
  33559. "200":
  33560. description: OK
  33561. schema:
  33562. items:
  33563. $ref: '#/definitions/models.Spotgoodsprice'
  33564. type: array
  33565. "500":
  33566. description: Internal Server Error
  33567. schema:
  33568. $ref: '#/definitions/app.Response'
  33569. security:
  33570. - ApiKeyAuth: []
  33571. summary: 查询行情-现货列表
  33572. tags:
  33573. - 铁合金
  33574. /Ferroalloy/QueryTHJFriends:
  33575. get:
  33576. parameters:
  33577. - description: 用户ID
  33578. in: query
  33579. name: userid
  33580. required: true
  33581. type: integer
  33582. - description: 客户名称(企业名称),模糊查询
  33583. in: query
  33584. name: customername
  33585. type: string
  33586. - description: 手机号码(加密存储),加密串精确查询
  33587. in: query
  33588. name: mobile
  33589. type: string
  33590. - description: 等级ID
  33591. in: query
  33592. name: levelgroupid
  33593. type: integer
  33594. - description: 页码
  33595. in: query
  33596. name: page
  33597. type: integer
  33598. - description: 每页条数
  33599. in: query
  33600. name: pagesize
  33601. type: integer
  33602. produces:
  33603. - application/json
  33604. responses:
  33605. "200":
  33606. description: OK
  33607. schema:
  33608. items:
  33609. $ref: '#/definitions/models.THJFriend'
  33610. type: array
  33611. "500":
  33612. description: Internal Server Error
  33613. schema:
  33614. $ref: '#/definitions/app.Response'
  33615. security:
  33616. - ApiKeyAuth: []
  33617. summary: 查询好友
  33618. tags:
  33619. - 铁合金
  33620. /Ferroalloy/QueryTHJGoodsDetail:
  33621. get:
  33622. parameters:
  33623. - description: 现货商品ID
  33624. in: query
  33625. name: wrstandardid
  33626. required: true
  33627. type: integer
  33628. produces:
  33629. - application/json
  33630. responses:
  33631. "200":
  33632. description: OK
  33633. schema:
  33634. items:
  33635. $ref: '#/definitions/models.THJGoodsDetailRsp'
  33636. type: array
  33637. "500":
  33638. description: Internal Server Error
  33639. schema:
  33640. $ref: '#/definitions/app.Response'
  33641. security:
  33642. - ApiKeyAuth: []
  33643. summary: 查询商品详情
  33644. tags:
  33645. - 铁合金
  33646. /Ferroalloy/QueryTHJInvesotrDepositLog:
  33647. get:
  33648. parameters:
  33649. - description: 用户ID
  33650. in: query
  33651. name: userid
  33652. required: true
  33653. type: integer
  33654. - description: 定金比例(选中比例)
  33655. in: query
  33656. name: depositrate
  33657. required: true
  33658. type: number
  33659. - description: 页码
  33660. in: query
  33661. name: page
  33662. type: integer
  33663. - description: 每页条数
  33664. in: query
  33665. name: pagesize
  33666. type: integer
  33667. produces:
  33668. - application/json
  33669. responses:
  33670. "200":
  33671. description: OK
  33672. schema:
  33673. items:
  33674. $ref: '#/definitions/models.GThjinvesotrdepositlog'
  33675. type: array
  33676. "500":
  33677. description: Internal Server Error
  33678. schema:
  33679. $ref: '#/definitions/app.Response'
  33680. security:
  33681. - ApiKeyAuth: []
  33682. summary: 比例变更流水查询
  33683. tags:
  33684. - 铁合金
  33685. /Ferroalloy/QueryTHJListing:
  33686. get:
  33687. parameters:
  33688. - description: 现货商品名称(模糊查询)
  33689. in: query
  33690. name: wrstandardname
  33691. type: string
  33692. - description: 页码
  33693. in: query
  33694. name: page
  33695. type: integer
  33696. - description: 每页条数
  33697. in: query
  33698. name: pagesize
  33699. type: integer
  33700. produces:
  33701. - application/json
  33702. responses:
  33703. "200":
  33704. description: OK
  33705. schema:
  33706. items:
  33707. $ref: '#/definitions/models.THJWrstandard'
  33708. type: array
  33709. "500":
  33710. description: Internal Server Error
  33711. schema:
  33712. $ref: '#/definitions/app.Response'
  33713. security:
  33714. - ApiKeyAuth: []
  33715. summary: 查询供求列表
  33716. tags:
  33717. - 铁合金
  33718. /Ferroalloy/QueryTHJProduct:
  33719. get:
  33720. parameters:
  33721. - description: 用户ID
  33722. in: query
  33723. name: userid
  33724. required: true
  33725. type: integer
  33726. - description: 关注标志 true-已关注 false-未关注
  33727. in: query
  33728. name: favoriteflag
  33729. type: boolean
  33730. - description: 页码
  33731. in: query
  33732. name: page
  33733. type: integer
  33734. - description: 每页条数
  33735. in: query
  33736. name: pagesize
  33737. type: integer
  33738. produces:
  33739. - application/json
  33740. responses:
  33741. "200":
  33742. description: OK
  33743. schema:
  33744. items:
  33745. $ref: '#/definitions/models.THJProduct'
  33746. type: array
  33747. "500":
  33748. description: Internal Server Error
  33749. schema:
  33750. $ref: '#/definitions/app.Response'
  33751. security:
  33752. - ApiKeyAuth: []
  33753. summary: 获取产品介绍列表
  33754. tags:
  33755. - 铁合金
  33756. /Ferroalloy/QueryTHJProfits:
  33757. get:
  33758. parameters:
  33759. - description: 用户ID
  33760. in: query
  33761. name: userid
  33762. required: true
  33763. type: integer
  33764. - description: 市场ID
  33765. in: query
  33766. name: marketid
  33767. type: integer
  33768. - description: 好友名称,模糊查询
  33769. in: query
  33770. name: accountname
  33771. type: string
  33772. - description: 商品代码或商品名称,模糊查询
  33773. in: query
  33774. name: goods
  33775. type: string
  33776. - description: 分润机构角色 - 1:平台 2:经纪会员 3:一级交易商 4:二级交易商(枚举:THJProfitRoleType)
  33777. in: query
  33778. name: marketid
  33779. type: integer
  33780. - description: 页码
  33781. in: query
  33782. name: page
  33783. type: integer
  33784. - description: 每页条数
  33785. in: query
  33786. name: pagesize
  33787. type: integer
  33788. produces:
  33789. - application/json
  33790. responses:
  33791. "200":
  33792. description: OK
  33793. schema:
  33794. items:
  33795. $ref: '#/definitions/models.THJProfit'
  33796. type: array
  33797. "500":
  33798. description: Internal Server Error
  33799. schema:
  33800. $ref: '#/definitions/app.Response'
  33801. security:
  33802. - ApiKeyAuth: []
  33803. summary: 查询收益
  33804. tags:
  33805. - 铁合金
  33806. /Ferroalloy/QueryTHJPromotionIncome:
  33807. get:
  33808. parameters:
  33809. - description: 用户ID
  33810. in: query
  33811. name: userid
  33812. required: true
  33813. type: integer
  33814. - description: 状态 - 0:全部 1:已支付 2:未支付
  33815. in: query
  33816. name: profitstatus
  33817. type: integer
  33818. - description: 页码
  33819. in: query
  33820. name: page
  33821. type: integer
  33822. - description: 每页条数
  33823. in: query
  33824. name: pagesize
  33825. type: integer
  33826. produces:
  33827. - application/json
  33828. responses:
  33829. "200":
  33830. description: OK
  33831. schema:
  33832. items:
  33833. $ref: '#/definitions/models.PromotionIncome'
  33834. type: array
  33835. "500":
  33836. description: Internal Server Error
  33837. schema:
  33838. $ref: '#/definitions/app.Response'
  33839. security:
  33840. - ApiKeyAuth: []
  33841. summary: 查询我的推广-推广收益
  33842. tags:
  33843. - 铁合金
  33844. /Ferroalloy/QueryTHJPromotionIncomeDetail:
  33845. get:
  33846. parameters:
  33847. - description: 用户ID
  33848. in: query
  33849. name: userid
  33850. required: true
  33851. type: integer
  33852. - description: 月份,格式:yyyymm
  33853. in: query
  33854. name: mouth
  33855. required: true
  33856. type: string
  33857. - description: 页码
  33858. in: query
  33859. name: page
  33860. type: integer
  33861. - description: 每页条数
  33862. in: query
  33863. name: pagesize
  33864. type: integer
  33865. produces:
  33866. - application/json
  33867. responses:
  33868. "200":
  33869. description: OK
  33870. schema:
  33871. items:
  33872. $ref: '#/definitions/models.PromotionIncomeDetail'
  33873. type: array
  33874. "500":
  33875. description: Internal Server Error
  33876. schema:
  33877. $ref: '#/definitions/app.Response'
  33878. security:
  33879. - ApiKeyAuth: []
  33880. summary: 查询我的推广-推广收益-明细
  33881. tags:
  33882. - 铁合金
  33883. /Ferroalloy/QueryTHJPurchaseTradeDetail:
  33884. get:
  33885. parameters:
  33886. - description: 用户ID
  33887. in: query
  33888. name: userid
  33889. required: true
  33890. type: integer
  33891. - description: 类型 - 0:未完成 1:已完成 2:可点订单 3:已点订单
  33892. in: query
  33893. name: type
  33894. type: integer
  33895. - description: 页码
  33896. in: query
  33897. name: page
  33898. type: integer
  33899. - description: 每页条数
  33900. in: query
  33901. name: pagesize
  33902. type: integer
  33903. produces:
  33904. - application/json
  33905. responses:
  33906. "200":
  33907. description: OK
  33908. schema:
  33909. items:
  33910. $ref: '#/definitions/models.Thjpurchasetradedetail'
  33911. type: array
  33912. "500":
  33913. description: Internal Server Error
  33914. schema:
  33915. $ref: '#/definitions/app.Response'
  33916. security:
  33917. - ApiKeyAuth: []
  33918. summary: 查询我的订单-采购订单
  33919. tags:
  33920. - 铁合金
  33921. /Ferroalloy/QueryTHJPurchaseTransfer:
  33922. get:
  33923. parameters:
  33924. - description: 现货商品名称(模糊查询)
  33925. in: query
  33926. name: wrstandardname
  33927. type: string
  33928. - description: 页码
  33929. in: query
  33930. name: page
  33931. type: integer
  33932. - description: 每页条数
  33933. in: query
  33934. name: pagesize
  33935. type: integer
  33936. produces:
  33937. - application/json
  33938. responses:
  33939. "200":
  33940. description: OK
  33941. schema:
  33942. items:
  33943. $ref: '#/definitions/models.PurchaseTransfer'
  33944. type: array
  33945. "500":
  33946. description: Internal Server Error
  33947. schema:
  33948. $ref: '#/definitions/app.Response'
  33949. security:
  33950. - ApiKeyAuth: []
  33951. summary: 查询合同转让列表
  33952. tags:
  33953. - 铁合金
  33954. /Ferroalloy/QueryTHJPurchaseTransferDetail:
  33955. get:
  33956. parameters:
  33957. - description: 现货商品ID
  33958. in: query
  33959. name: wrstandardid
  33960. required: true
  33961. type: integer
  33962. produces:
  33963. - application/json
  33964. responses:
  33965. "200":
  33966. description: OK
  33967. schema:
  33968. items:
  33969. $ref: '#/definitions/models.THJPurchaseTradeDetailRsp'
  33970. type: array
  33971. "500":
  33972. description: Internal Server Error
  33973. schema:
  33974. $ref: '#/definitions/app.Response'
  33975. security:
  33976. - ApiKeyAuth: []
  33977. summary: 查询合同转让详情
  33978. tags:
  33979. - 铁合金
  33980. /Ferroalloy/QueryTHJPurchaseTransferOrder:
  33981. get:
  33982. parameters:
  33983. - description: 用户ID
  33984. in: query
  33985. name: userid
  33986. required: true
  33987. type: integer
  33988. - description: 类型 - 1:转让 2:受让 3:转让委托已完成
  33989. in: query
  33990. name: ordertype
  33991. required: true
  33992. type: integer
  33993. - description: 页码
  33994. in: query
  33995. name: page
  33996. type: integer
  33997. - description: 每页条数
  33998. in: query
  33999. name: pagesize
  34000. type: integer
  34001. produces:
  34002. - application/json
  34003. responses:
  34004. "200":
  34005. description: OK
  34006. schema:
  34007. items:
  34008. $ref: '#/definitions/models.Thjpurchasetransfer'
  34009. type: array
  34010. "500":
  34011. description: Internal Server Error
  34012. schema:
  34013. $ref: '#/definitions/app.Response'
  34014. security:
  34015. - ApiKeyAuth: []
  34016. summary: 查询我的订单-转让/受让订单
  34017. tags:
  34018. - 铁合金
  34019. /Ferroalloy/QueryTHJPurchaseTransferOrderDetail:
  34020. get:
  34021. parameters:
  34022. - description: 转让单号
  34023. in: query
  34024. name: transferid
  34025. required: true
  34026. type: string
  34027. produces:
  34028. - application/json
  34029. responses:
  34030. "200":
  34031. description: OK
  34032. schema:
  34033. items:
  34034. $ref: '#/definitions/models.ThjpurchasetransferDetail'
  34035. type: array
  34036. "500":
  34037. description: Internal Server Error
  34038. schema:
  34039. $ref: '#/definitions/app.Response'
  34040. security:
  34041. - ApiKeyAuth: []
  34042. summary: 查询我的订单-转让/受让订单-详情
  34043. tags:
  34044. - 铁合金
  34045. /Ferroalloy/QueryTHJScoreConfig:
  34046. get:
  34047. parameters:
  34048. - description: '[格式:1,2,3] 配置类型 - 1:注册红包 2:签到积分 3:推广积分 4:下级用户下单积分 5:自己采购下单积分
  34049. 6:自己供求下单积分 7:抽奖配置'
  34050. in: query
  34051. name: stype
  34052. type: string
  34053. produces:
  34054. - application/json
  34055. responses:
  34056. "200":
  34057. description: OK
  34058. schema:
  34059. items:
  34060. $ref: '#/definitions/models.Thjscoreconfig'
  34061. type: array
  34062. "500":
  34063. description: Internal Server Error
  34064. schema:
  34065. $ref: '#/definitions/app.Response'
  34066. security:
  34067. - ApiKeyAuth: []
  34068. summary: 查询积分配置
  34069. tags:
  34070. - 铁合金
  34071. /Ferroalloy/QueryTHJTradeData:
  34072. get:
  34073. parameters:
  34074. - description: 用户ID
  34075. in: query
  34076. name: userid
  34077. required: true
  34078. type: integer
  34079. - description: 市场ID 采购-64201 供求-65201
  34080. in: query
  34081. name: marketid
  34082. required: true
  34083. type: integer
  34084. - description: 页码
  34085. in: query
  34086. name: page
  34087. type: integer
  34088. - description: 每页条数
  34089. in: query
  34090. name: pagesize
  34091. type: integer
  34092. produces:
  34093. - application/json
  34094. responses:
  34095. "200":
  34096. description: OK
  34097. schema:
  34098. items:
  34099. $ref: '#/definitions/models.THJTradeData'
  34100. type: array
  34101. "500":
  34102. description: Internal Server Error
  34103. schema:
  34104. $ref: '#/definitions/app.Response'
  34105. security:
  34106. - ApiKeyAuth: []
  34107. summary: 获取我的推广-交易数据
  34108. tags:
  34109. - 铁合金
  34110. /Ferroalloy/QueryTHJWrstandard:
  34111. get:
  34112. parameters:
  34113. - description: 现货商品名称(模糊查询)
  34114. in: query
  34115. name: wrstandardname
  34116. type: string
  34117. - description: 页码
  34118. in: query
  34119. name: page
  34120. type: integer
  34121. - description: 每页条数
  34122. in: query
  34123. name: pagesize
  34124. type: integer
  34125. produces:
  34126. - application/json
  34127. responses:
  34128. "200":
  34129. description: OK
  34130. schema:
  34131. items:
  34132. $ref: '#/definitions/models.THJWrstandard'
  34133. type: array
  34134. "500":
  34135. description: Internal Server Error
  34136. schema:
  34137. $ref: '#/definitions/app.Response'
  34138. security:
  34139. - ApiKeyAuth: []
  34140. summary: 查询采购列表
  34141. tags:
  34142. - 铁合金
  34143. /Ferroalloy/QueryTHJWrstandardDetail:
  34144. get:
  34145. parameters:
  34146. - description: 现货商品ID
  34147. in: query
  34148. name: wrstandardid
  34149. required: true
  34150. type: integer
  34151. produces:
  34152. - application/json
  34153. responses:
  34154. "200":
  34155. description: OK
  34156. schema:
  34157. items:
  34158. $ref: '#/definitions/models.THJWrstandardDetailRsp'
  34159. type: array
  34160. "500":
  34161. description: Internal Server Error
  34162. schema:
  34163. $ref: '#/definitions/app.Response'
  34164. security:
  34165. - ApiKeyAuth: []
  34166. summary: 查询采购详情
  34167. tags:
  34168. - 铁合金
  34169. /Ferroalloy/QueryTHJinvesotrdeposit:
  34170. get:
  34171. parameters:
  34172. - description: 用户ID
  34173. in: query
  34174. name: userid
  34175. required: true
  34176. type: integer
  34177. - description: 预售申请ID
  34178. in: query
  34179. name: presaleapplyid
  34180. required: true
  34181. type: string
  34182. - description: 页码
  34183. in: query
  34184. name: page
  34185. type: integer
  34186. - description: 每页条数
  34187. in: query
  34188. name: pagesize
  34189. type: integer
  34190. produces:
  34191. - application/json
  34192. responses:
  34193. "200":
  34194. description: OK
  34195. schema:
  34196. items:
  34197. $ref: '#/definitions/models.GThjinvesotrdeposit'
  34198. type: array
  34199. "500":
  34200. description: Internal Server Error
  34201. schema:
  34202. $ref: '#/definitions/app.Response'
  34203. security:
  34204. - ApiKeyAuth: []
  34205. summary: 定金比例个性化查询
  34206. tags:
  34207. - 铁合金
  34208. /Ferroalloy/QueryThjSpotQuote:
  34209. get:
  34210. produces:
  34211. - application/json
  34212. responses:
  34213. "200":
  34214. description: OK
  34215. schema:
  34216. items:
  34217. $ref: '#/definitions/models.ThjSpotQuote'
  34218. type: array
  34219. "500":
  34220. description: Internal Server Error
  34221. schema:
  34222. $ref: '#/definitions/app.Response'
  34223. summary: 查询现货行情配置列表
  34224. tags:
  34225. - 铁合金
  34226. /Ferroalloy/QueryThjSpotQuoteConfig:
  34227. get:
  34228. parameters:
  34229. - description: 现货名称
  34230. in: query
  34231. name: spotname
  34232. type: string
  34233. produces:
  34234. - application/json
  34235. responses:
  34236. "200":
  34237. description: OK
  34238. schema:
  34239. items:
  34240. $ref: '#/definitions/models.Thjspotquoteconfig'
  34241. type: array
  34242. "500":
  34243. description: Internal Server Error
  34244. schema:
  34245. $ref: '#/definitions/app.Response'
  34246. summary: 查询现货行情配置表
  34247. tags:
  34248. - 铁合金
  34249. /Ferroalloy/QueryUserLevelInfo:
  34250. get:
  34251. parameters:
  34252. - description: 用户ID
  34253. in: query
  34254. name: userid
  34255. required: true
  34256. type: integer
  34257. produces:
  34258. - application/json
  34259. responses:
  34260. "200":
  34261. description: OK
  34262. schema:
  34263. items:
  34264. $ref: '#/definitions/models.THJUserLevelInfo'
  34265. type: array
  34266. "500":
  34267. description: Internal Server Error
  34268. schema:
  34269. $ref: '#/definitions/app.Response'
  34270. security:
  34271. - ApiKeyAuth: []
  34272. summary: 查询用户等级信息
  34273. tags:
  34274. - 铁合金
  34275. /Ferroalloy/QueryUserScoreLog:
  34276. get:
  34277. parameters:
  34278. - description: 用户ID
  34279. in: query
  34280. name: userid
  34281. required: true
  34282. type: integer
  34283. - description: '[格式:1,2,3] 配置类型 - 1:注册红包 2:签到积分 3:推广积分 4:下级用户下单积分 5:自己采购下单积分
  34284. 6:自己供求下单积分 7:抽奖配置'
  34285. in: query
  34286. name: stype
  34287. type: string
  34288. - description: 页码
  34289. in: query
  34290. name: page
  34291. type: integer
  34292. - description: 每页条数
  34293. in: query
  34294. name: pagesize
  34295. type: integer
  34296. produces:
  34297. - application/json
  34298. responses:
  34299. "200":
  34300. description: OK
  34301. schema:
  34302. items:
  34303. $ref: '#/definitions/models.GThjuserscorelog'
  34304. type: array
  34305. "500":
  34306. description: Internal Server Error
  34307. schema:
  34308. $ref: '#/definitions/app.Response'
  34309. security:
  34310. - ApiKeyAuth: []
  34311. summary: 查询我的积分流水
  34312. tags:
  34313. - 铁合金
  34314. /Ferroalloy/Signin:
  34315. post:
  34316. parameters:
  34317. - description: 用户签到请求
  34318. in: body
  34319. name: jsonBody
  34320. required: true
  34321. schema:
  34322. $ref: '#/definitions/models.THJSigninReq'
  34323. produces:
  34324. - application/json
  34325. responses:
  34326. "200":
  34327. description: OK
  34328. schema:
  34329. $ref: '#/definitions/models.THJSigninRsp'
  34330. "500":
  34331. description: Internal Server Error
  34332. schema:
  34333. $ref: '#/definitions/app.Response'
  34334. security:
  34335. - ApiKeyAuth: []
  34336. summary: 用户签到
  34337. tags:
  34338. - 铁合金
  34339. /Guangzuan/GZBSFWOrderOperate:
  34340. get:
  34341. parameters:
  34342. - description: 单据ID
  34343. in: query
  34344. name: orderid
  34345. required: true
  34346. type: integer
  34347. produces:
  34348. - application/json
  34349. responses:
  34350. "200":
  34351. description: OK
  34352. schema:
  34353. items:
  34354. $ref: '#/definitions/models.Gzbsfworderoperate'
  34355. type: array
  34356. "500":
  34357. description: Internal Server Error
  34358. schema:
  34359. $ref: '#/definitions/app.Response'
  34360. security:
  34361. - ApiKeyAuth: []
  34362. - LoginID: []
  34363. - Group: []
  34364. summary: 保税服务单据操作信息
  34365. tags:
  34366. - 广钻
  34367. /Guangzuan/GetGZBSCGoods:
  34368. get:
  34369. produces:
  34370. - application/json
  34371. responses:
  34372. "200":
  34373. description: OK
  34374. schema:
  34375. items:
  34376. $ref: '#/definitions/models.Gzbscgoods'
  34377. type: array
  34378. "500":
  34379. description: Internal Server Error
  34380. schema:
  34381. $ref: '#/definitions/app.Response'
  34382. security:
  34383. - ApiKeyAuth: []
  34384. - LoginID: []
  34385. - Group: []
  34386. summary: 获取保税商品表
  34387. tags:
  34388. - 广钻
  34389. /Guangzuan/GetGZMemberInfo:
  34390. get:
  34391. produces:
  34392. - application/json
  34393. responses:
  34394. "200":
  34395. description: OK
  34396. schema:
  34397. items:
  34398. $ref: '#/definitions/models.Gzmemberinfo'
  34399. type: array
  34400. "500":
  34401. description: Internal Server Error
  34402. schema:
  34403. $ref: '#/definitions/app.Response'
  34404. security:
  34405. - ApiKeyAuth: []
  34406. - LoginID: []
  34407. - Group: []
  34408. summary: 获取会员风采表
  34409. tags:
  34410. - 广钻
  34411. /Guangzuan/GetGoods:
  34412. get:
  34413. parameters:
  34414. - description: 商品编号
  34415. in: query
  34416. name: goodsno
  34417. required: true
  34418. type: string
  34419. produces:
  34420. - application/json
  34421. responses:
  34422. "200":
  34423. description: OK
  34424. schema:
  34425. $ref: '#/definitions/models.GZGoods'
  34426. "500":
  34427. description: Internal Server Error
  34428. schema:
  34429. $ref: '#/definitions/app.Response'
  34430. security:
  34431. - ApiKeyAuth: []
  34432. - LoginID: []
  34433. - Group: []
  34434. summary: 获取钻石详情
  34435. tags:
  34436. - 广钻
  34437. /Guangzuan/GzCertAddressConfig:
  34438. get:
  34439. produces:
  34440. - application/json
  34441. responses:
  34442. "200":
  34443. description: OK
  34444. schema:
  34445. items:
  34446. $ref: '#/definitions/models.Gzcertaddressconfig'
  34447. type: array
  34448. "500":
  34449. description: Internal Server Error
  34450. schema:
  34451. $ref: '#/definitions/app.Response'
  34452. security:
  34453. - ApiKeyAuth: []
  34454. - LoginID: []
  34455. - Group: []
  34456. summary: Rapaport最新报价表(广钻)
  34457. tags:
  34458. - 广钻
  34459. /Guangzuan/GzCertAddressParam:
  34460. get:
  34461. produces:
  34462. - application/json
  34463. responses:
  34464. "200":
  34465. description: OK
  34466. schema:
  34467. items:
  34468. $ref: '#/definitions/models.Gzcertaddressparam'
  34469. type: array
  34470. "500":
  34471. description: Internal Server Error
  34472. schema:
  34473. $ref: '#/definitions/app.Response'
  34474. security:
  34475. - ApiKeyAuth: []
  34476. - LoginID: []
  34477. - Group: []
  34478. summary: 钻石证书地址参数
  34479. tags:
  34480. - 广钻
  34481. /Guangzuan/HomeData:
  34482. get:
  34483. parameters:
  34484. - description: 用户ID
  34485. in: query
  34486. name: userid
  34487. required: true
  34488. type: integer
  34489. produces:
  34490. - application/json
  34491. responses:
  34492. "200":
  34493. description: OK
  34494. schema:
  34495. $ref: '#/definitions/models.GZHomeData'
  34496. "500":
  34497. description: Internal Server Error
  34498. schema:
  34499. $ref: '#/definitions/app.Response'
  34500. security:
  34501. - ApiKeyAuth: []
  34502. - LoginID: []
  34503. - Group: []
  34504. summary: 首页统计数据
  34505. tags:
  34506. - 广钻
  34507. /Guangzuan/PriceCalc:
  34508. get:
  34509. parameters:
  34510. - description: 形状 - 1:BR(圆形) 2:PS(异形)
  34511. in: query
  34512. name: zsshape
  34513. required: true
  34514. type: integer
  34515. - description: 颜色(D-M)
  34516. in: query
  34517. name: zscolor
  34518. required: true
  34519. type: string
  34520. - description: 净度
  34521. in: query
  34522. name: zsclarity
  34523. required: true
  34524. type: string
  34525. - description: 重量
  34526. in: query
  34527. name: weight
  34528. required: true
  34529. type: number
  34530. - description: 汇率
  34531. in: query
  34532. name: rate
  34533. required: true
  34534. type: number
  34535. - description: 折扣(%), 方向(加:10, 减:-10 )
  34536. in: query
  34537. name: discount
  34538. type: number
  34539. produces:
  34540. - application/json
  34541. responses:
  34542. "200":
  34543. description: OK
  34544. schema:
  34545. items:
  34546. $ref: '#/definitions/models.Gzrapaportprice'
  34547. type: array
  34548. "500":
  34549. description: Internal Server Error
  34550. schema:
  34551. $ref: '#/definitions/app.Response'
  34552. security:
  34553. - ApiKeyAuth: []
  34554. - LoginID: []
  34555. - Group: []
  34556. summary: 钻石价格计算器
  34557. tags:
  34558. - 广钻
  34559. /Guangzuan/QueryBScOutOrderDetailatt:
  34560. get:
  34561. parameters:
  34562. - description: 用户ID
  34563. in: query
  34564. name: userid
  34565. required: true
  34566. type: integer
  34567. - description: 申请ID
  34568. in: query
  34569. name: orderid
  34570. required: true
  34571. type: string
  34572. - description: 页码
  34573. in: query
  34574. name: page
  34575. type: integer
  34576. - description: 每页条数
  34577. in: query
  34578. name: pagesize
  34579. type: integer
  34580. produces:
  34581. - application/json
  34582. responses:
  34583. "200":
  34584. description: OK
  34585. schema:
  34586. items:
  34587. $ref: '#/definitions/models.BScoutorderdetailatt'
  34588. type: array
  34589. "500":
  34590. description: Internal Server Error
  34591. schema:
  34592. $ref: '#/definitions/app.Response'
  34593. security:
  34594. - ApiKeyAuth: []
  34595. summary: 保税仓出库申请明细附表查询
  34596. tags:
  34597. - 广钻
  34598. /Guangzuan/QueryBScinOutOrderDetail:
  34599. get:
  34600. parameters:
  34601. - description: 用户ID
  34602. in: query
  34603. name: userid
  34604. required: true
  34605. type: integer
  34606. - description: 申请ID
  34607. in: query
  34608. name: orderid
  34609. required: true
  34610. type: string
  34611. - description: 页码
  34612. in: query
  34613. name: page
  34614. type: integer
  34615. - description: 每页条数
  34616. in: query
  34617. name: pagesize
  34618. type: integer
  34619. produces:
  34620. - application/json
  34621. responses:
  34622. "200":
  34623. description: OK
  34624. schema:
  34625. items:
  34626. $ref: '#/definitions/models.BScinoutorderdetail'
  34627. type: array
  34628. "500":
  34629. description: Internal Server Error
  34630. schema:
  34631. $ref: '#/definitions/app.Response'
  34632. security:
  34633. - ApiKeyAuth: []
  34634. summary: 保税仓出入库申请明细表查询
  34635. tags:
  34636. - 广钻
  34637. /Guangzuan/QueryBscinoutorder:
  34638. get:
  34639. parameters:
  34640. - description: 用户ID
  34641. in: query
  34642. name: userid
  34643. required: true
  34644. type: integer
  34645. - description: 进出口月份(yyyMM)
  34646. in: query
  34647. name: jckdate
  34648. required: true
  34649. type: string
  34650. - description: 页码
  34651. in: query
  34652. name: page
  34653. type: integer
  34654. - description: 每页条数
  34655. in: query
  34656. name: pagesize
  34657. type: integer
  34658. produces:
  34659. - application/json
  34660. responses:
  34661. "200":
  34662. description: OK
  34663. schema:
  34664. items:
  34665. $ref: '#/definitions/models.Bscinoutorder'
  34666. type: array
  34667. "500":
  34668. description: Internal Server Error
  34669. schema:
  34670. $ref: '#/definitions/app.Response'
  34671. security:
  34672. - ApiKeyAuth: []
  34673. summary: 保税仓本月进口明细/本月出境明细/本月转厂明细查询
  34674. tags:
  34675. - 广钻
  34676. /Guangzuan/QueryBuyOrder:
  34677. get:
  34678. parameters:
  34679. - description: 页码
  34680. in: query
  34681. name: page
  34682. type: integer
  34683. - description: 每页条数
  34684. in: query
  34685. name: pagesize
  34686. type: integer
  34687. - description: 商品(查询字段-模糊查询)
  34688. in: query
  34689. name: zsallproperties
  34690. type: string
  34691. - description: 钻石分类, 格式:1,2,3
  34692. in: query
  34693. name: zscategorys
  34694. type: string
  34695. - description: 委托单号
  34696. in: query
  34697. name: wrtradeorderid
  34698. type: integer
  34699. - description: 买方(查询字段-模糊查询)
  34700. in: query
  34701. name: buyusername
  34702. type: string
  34703. produces:
  34704. - application/json
  34705. responses:
  34706. "200":
  34707. description: OK
  34708. schema:
  34709. items:
  34710. $ref: '#/definitions/models.BuyOrder'
  34711. type: array
  34712. "500":
  34713. description: Internal Server Error
  34714. schema:
  34715. $ref: '#/definitions/app.Response'
  34716. security:
  34717. - ApiKeyAuth: []
  34718. - LoginID: []
  34719. - Group: []
  34720. summary: 查询求购大厅委托单
  34721. tags:
  34722. - 广钻
  34723. /Guangzuan/QueryDiamond:
  34724. post:
  34725. parameters:
  34726. - description: 钻石搜索入参
  34727. in: body
  34728. name: data
  34729. required: true
  34730. schema:
  34731. $ref: '#/definitions/models.SellOrderQueryReq'
  34732. produces:
  34733. - application/json
  34734. responses:
  34735. "200":
  34736. description: OK
  34737. schema:
  34738. items:
  34739. $ref: '#/definitions/models.SellOrder'
  34740. type: array
  34741. "500":
  34742. description: Internal Server Error
  34743. schema:
  34744. $ref: '#/definitions/app.Response'
  34745. security:
  34746. - ApiKeyAuth: []
  34747. - LoginID: []
  34748. - Group: []
  34749. summary: 钻石搜索
  34750. tags:
  34751. - 广钻
  34752. /Guangzuan/QueryFworderoperate:
  34753. get:
  34754. parameters:
  34755. - description: 单据ID
  34756. in: query
  34757. name: orderid
  34758. required: true
  34759. type: string
  34760. - description: 操作后单据状态
  34761. in: query
  34762. name: status
  34763. required: true
  34764. type: integer
  34765. produces:
  34766. - application/json
  34767. responses:
  34768. "200":
  34769. description: OK
  34770. schema:
  34771. items:
  34772. $ref: '#/definitions/models.Fworderoperate'
  34773. type: array
  34774. "500":
  34775. description: Internal Server Error
  34776. schema:
  34777. $ref: '#/definitions/app.Response'
  34778. security:
  34779. - ApiKeyAuth: []
  34780. - LoginID: []
  34781. - Group: []
  34782. summary: 查询保税服务单据操作
  34783. tags:
  34784. - 广钻
  34785. /Guangzuan/QueryGZBSFWOrder:
  34786. get:
  34787. parameters:
  34788. - description: 用户ID
  34789. in: query
  34790. name: userid
  34791. required: true
  34792. type: integer
  34793. - description: 执行状态 - 1:未生效 2:进行中 3:已结束
  34794. in: query
  34795. name: executestatus
  34796. type: integer
  34797. - description: 页码
  34798. in: query
  34799. name: page
  34800. type: integer
  34801. - description: 每页条数
  34802. in: query
  34803. name: pagesize
  34804. type: integer
  34805. produces:
  34806. - application/json
  34807. responses:
  34808. "200":
  34809. description: OK
  34810. schema:
  34811. items:
  34812. $ref: '#/definitions/models.GzbsfworderM'
  34813. type: array
  34814. "500":
  34815. description: Internal Server Error
  34816. schema:
  34817. $ref: '#/definitions/app.Response'
  34818. security:
  34819. - ApiKeyAuth: []
  34820. - LoginID: []
  34821. - Group: []
  34822. summary: 查询保税服务单据
  34823. tags:
  34824. - 广钻
  34825. /Guangzuan/QueryGZBSFWOrderDetail:
  34826. get:
  34827. parameters:
  34828. - description: 用户ID
  34829. in: query
  34830. name: userid
  34831. required: true
  34832. type: integer
  34833. - description: 单据ID
  34834. in: query
  34835. name: orderid
  34836. type: string
  34837. - description: 页码
  34838. in: query
  34839. name: page
  34840. type: integer
  34841. - description: 每页条数
  34842. in: query
  34843. name: pagesize
  34844. type: integer
  34845. produces:
  34846. - application/json
  34847. responses:
  34848. "200":
  34849. description: OK
  34850. schema:
  34851. items:
  34852. $ref: '#/definitions/models.GzbsfworderdetailM'
  34853. type: array
  34854. "500":
  34855. description: Internal Server Error
  34856. schema:
  34857. $ref: '#/definitions/app.Response'
  34858. security:
  34859. - ApiKeyAuth: []
  34860. - LoginID: []
  34861. - Group: []
  34862. summary: 查询保税服务单据明细
  34863. tags:
  34864. - 广钻
  34865. /Guangzuan/QueryGZCJBSOrderFile:
  34866. get:
  34867. parameters:
  34868. - description: 单据ID
  34869. in: query
  34870. name: orderid
  34871. required: true
  34872. type: integer
  34873. - description: 页码
  34874. in: query
  34875. name: page
  34876. type: integer
  34877. - description: 每页条数
  34878. in: query
  34879. name: pagesize
  34880. type: integer
  34881. produces:
  34882. - application/json
  34883. responses:
  34884. "200":
  34885. description: OK
  34886. schema:
  34887. items:
  34888. $ref: '#/definitions/models.GzcjbsorderfileM'
  34889. type: array
  34890. "500":
  34891. description: Internal Server Error
  34892. schema:
  34893. $ref: '#/definitions/app.Response'
  34894. security:
  34895. - ApiKeyAuth: []
  34896. - LoginID: []
  34897. - Group: []
  34898. summary: 出境保税单据文件
  34899. tags:
  34900. - 广钻
  34901. /Guangzuan/QueryGZCJJCOrder:
  34902. get:
  34903. parameters:
  34904. - description: 用户ID
  34905. in: query
  34906. name: userid
  34907. required: true
  34908. type: integer
  34909. - description: 执行状态 - 1:未生效 2:进行中 3:已结束
  34910. in: query
  34911. name: executestatus
  34912. type: integer
  34913. - description: 页码
  34914. in: query
  34915. name: page
  34916. type: integer
  34917. - description: 每页条数
  34918. in: query
  34919. name: pagesize
  34920. type: integer
  34921. produces:
  34922. - application/json
  34923. responses:
  34924. "200":
  34925. description: OK
  34926. schema:
  34927. items:
  34928. $ref: '#/definitions/models.GzcjjcorderM'
  34929. type: array
  34930. "500":
  34931. description: Internal Server Error
  34932. schema:
  34933. $ref: '#/definitions/app.Response'
  34934. security:
  34935. - ApiKeyAuth: []
  34936. - LoginID: []
  34937. - Group: []
  34938. summary: 查询出境检测单据
  34939. tags:
  34940. - 广钻
  34941. /Guangzuan/QueryGZCJJCOrderDetail:
  34942. get:
  34943. parameters:
  34944. - description: 用户ID
  34945. in: query
  34946. name: userid
  34947. required: true
  34948. type: integer
  34949. - description: 单据ID
  34950. in: query
  34951. name: orderid
  34952. type: string
  34953. - description: 页码
  34954. in: query
  34955. name: page
  34956. type: integer
  34957. - description: 每页条数
  34958. in: query
  34959. name: pagesize
  34960. type: integer
  34961. produces:
  34962. - application/json
  34963. responses:
  34964. "200":
  34965. description: OK
  34966. schema:
  34967. items:
  34968. $ref: '#/definitions/models.GzcjjcorderdetailM'
  34969. type: array
  34970. "500":
  34971. description: Internal Server Error
  34972. schema:
  34973. $ref: '#/definitions/app.Response'
  34974. security:
  34975. - ApiKeyAuth: []
  34976. - LoginID: []
  34977. - Group: []
  34978. summary: 查询出境检测单据明细(批次信息)
  34979. tags:
  34980. - 广钻
  34981. /Guangzuan/QueryGZMyPresell:
  34982. get:
  34983. parameters:
  34984. - description: 预售申请ID
  34985. in: query
  34986. name: presaleapplyid
  34987. required: true
  34988. type: integer
  34989. - description: 页码
  34990. in: query
  34991. name: page
  34992. type: integer
  34993. - description: 每页条数
  34994. in: query
  34995. name: pagesize
  34996. type: integer
  34997. produces:
  34998. - application/json
  34999. responses:
  35000. "200":
  35001. description: OK
  35002. schema:
  35003. items:
  35004. $ref: '#/definitions/models.GZMyPresell'
  35005. type: array
  35006. "500":
  35007. description: Internal Server Error
  35008. schema:
  35009. $ref: '#/definitions/app.Response'
  35010. security:
  35011. - ApiKeyAuth: []
  35012. summary: 我的预售认购列表查询
  35013. tags:
  35014. - 广钻
  35015. /Guangzuan/QueryGZMyTradingPreSell:
  35016. get:
  35017. parameters:
  35018. - description: 用户ID
  35019. in: query
  35020. name: userid
  35021. required: true
  35022. type: integer
  35023. - description: 市场ID
  35024. in: query
  35025. name: marketid
  35026. required: true
  35027. type: integer
  35028. - description: 状态 1:预售中\集采中 2:执行中 3:已完成
  35029. in: query
  35030. name: status
  35031. type: integer
  35032. - description: 卖方
  35033. in: query
  35034. name: customername
  35035. type: string
  35036. - description: 商品
  35037. in: query
  35038. name: wrstandardname
  35039. type: string
  35040. - description: 页码
  35041. in: query
  35042. name: page
  35043. type: integer
  35044. - description: 每页条数
  35045. in: query
  35046. name: pagesize
  35047. type: integer
  35048. produces:
  35049. - application/json
  35050. responses:
  35051. "200":
  35052. description: OK
  35053. schema:
  35054. items:
  35055. $ref: '#/definitions/models.GZMyTradingPresell'
  35056. type: array
  35057. "500":
  35058. description: Internal Server Error
  35059. schema:
  35060. $ref: '#/definitions/app.Response'
  35061. security:
  35062. - ApiKeyAuth: []
  35063. summary: 我参与的预售(预售中\执行中)\我参与的集采(集采中\执行中) 列表查询
  35064. tags:
  35065. - 广钻
  35066. /Guangzuan/QueryGZPreSell:
  35067. get:
  35068. parameters:
  35069. - description: 预售状态 - 1:未开始 2:进行中 3:已结束 4:已关闭 5:处理中 6::处理失败 7:已完成
  35070. in: query
  35071. name: presalestatus
  35072. required: true
  35073. type: integer
  35074. - description: 市场ID
  35075. in: query
  35076. name: marketid
  35077. required: true
  35078. type: integer
  35079. - description: 现货商品名称
  35080. in: query
  35081. name: wrstandardname
  35082. type: string
  35083. - description: 预售方
  35084. in: query
  35085. name: customername
  35086. type: string
  35087. - description: 发行方用户ID
  35088. in: query
  35089. name: selluserid
  35090. type: integer
  35091. - description: 页码
  35092. in: query
  35093. name: page
  35094. type: integer
  35095. - description: 每页条数
  35096. in: query
  35097. name: pagesize
  35098. type: integer
  35099. produces:
  35100. - application/json
  35101. responses:
  35102. "200":
  35103. description: OK
  35104. schema:
  35105. items:
  35106. $ref: '#/definitions/models.GZPresell'
  35107. type: array
  35108. "500":
  35109. description: Internal Server Error
  35110. schema:
  35111. $ref: '#/definitions/app.Response'
  35112. security:
  35113. - ApiKeyAuth: []
  35114. summary: 预售大厅/我的预售/集采大厅/我的集采 列表查询
  35115. tags:
  35116. - 广钻
  35117. /Guangzuan/QueryGZWrPreSaleApply:
  35118. get:
  35119. parameters:
  35120. - description: 用户ID
  35121. in: query
  35122. name: userid
  35123. required: true
  35124. type: integer
  35125. - description: 市场ID
  35126. in: query
  35127. name: marketid
  35128. required: true
  35129. type: integer
  35130. - description: 页码
  35131. in: query
  35132. name: page
  35133. type: integer
  35134. - description: 每页条数
  35135. in: query
  35136. name: pagesize
  35137. type: integer
  35138. produces:
  35139. - application/json
  35140. responses:
  35141. "200":
  35142. description: OK
  35143. schema:
  35144. items:
  35145. $ref: '#/definitions/models.Wrpresaleapply'
  35146. type: array
  35147. "500":
  35148. description: Internal Server Error
  35149. schema:
  35150. $ref: '#/definitions/app.Response'
  35151. security:
  35152. - ApiKeyAuth: []
  35153. summary: 我的预售申请列表查询
  35154. tags:
  35155. - 广钻
  35156. /Guangzuan/QueryGzbscPosition:
  35157. get:
  35158. parameters:
  35159. - description: 用户ID
  35160. in: query
  35161. name: userid
  35162. required: true
  35163. type: integer
  35164. - description: 页码
  35165. in: query
  35166. name: page
  35167. type: integer
  35168. - description: 每页条数
  35169. in: query
  35170. name: pagesize
  35171. type: integer
  35172. produces:
  35173. - application/json
  35174. responses:
  35175. "200":
  35176. description: OK
  35177. schema:
  35178. items:
  35179. $ref: '#/definitions/models.GGzbscposition'
  35180. type: array
  35181. "500":
  35182. description: Internal Server Error
  35183. schema:
  35184. $ref: '#/definitions/app.Response'
  35185. security:
  35186. - ApiKeyAuth: []
  35187. summary: 保税商品报关头寸表查询
  35188. tags:
  35189. - 广钻
  35190. /Guangzuan/QueryGzbscinOutOrder:
  35191. get:
  35192. parameters:
  35193. - description: 用户ID
  35194. in: query
  35195. name: userid
  35196. required: true
  35197. type: integer
  35198. - description: 单据类型 - 1:进仓 2:出仓(枚举:GZBSCOrderType)
  35199. in: query
  35200. name: ordertype
  35201. required: true
  35202. type: integer
  35203. - description: 列表类型 - 0.全部 1.待上传 2.进行中 3.已结束
  35204. in: query
  35205. name: listtype
  35206. type: integer
  35207. - description: 出仓类型 - 1:转厂 2:出境(枚举:GZBSCOutType)
  35208. in: query
  35209. name: outtype
  35210. type: integer
  35211. - description: 页码
  35212. in: query
  35213. name: page
  35214. type: integer
  35215. - description: 每页条数
  35216. in: query
  35217. name: pagesize
  35218. type: integer
  35219. produces:
  35220. - application/json
  35221. responses:
  35222. "200":
  35223. description: OK
  35224. schema:
  35225. items:
  35226. $ref: '#/definitions/models.GGzbscinoutorder'
  35227. type: array
  35228. "500":
  35229. description: Internal Server Error
  35230. schema:
  35231. $ref: '#/definitions/app.Response'
  35232. security:
  35233. - ApiKeyAuth: []
  35234. summary: 保税仓出入库申请表查询
  35235. tags:
  35236. - 广钻
  35237. /Guangzuan/QueryGzbscreckonorder:
  35238. get:
  35239. parameters:
  35240. - description: 用户ID
  35241. in: query
  35242. name: userid
  35243. required: true
  35244. type: integer
  35245. - description: 支付状态 - 2:待支付 3:已支付(枚举:GZBSCPayStatus)
  35246. in: query
  35247. name: paystatus
  35248. type: integer
  35249. - description: 页码
  35250. in: query
  35251. name: page
  35252. type: integer
  35253. - description: 每页条数
  35254. in: query
  35255. name: pagesize
  35256. type: integer
  35257. produces:
  35258. - application/json
  35259. responses:
  35260. "200":
  35261. description: OK
  35262. schema:
  35263. items:
  35264. $ref: '#/definitions/models.Gzbscreckonorder'
  35265. type: array
  35266. "500":
  35267. description: Internal Server Error
  35268. schema:
  35269. $ref: '#/definitions/app.Response'
  35270. security:
  35271. - ApiKeyAuth: []
  35272. summary: 保税仓结算单表查询
  35273. tags:
  35274. - 广钻
  35275. /Guangzuan/QueryGzbscusermonthpay:
  35276. get:
  35277. parameters:
  35278. - description: 用户ID
  35279. in: query
  35280. name: userid
  35281. required: true
  35282. type: integer
  35283. - description: 支付状态 - 1:待确认 2:待支付 3:已支付(枚举:GZBSCPayStatus)
  35284. in: query
  35285. name: paystatus
  35286. type: integer
  35287. - description: 页码
  35288. in: query
  35289. name: page
  35290. type: integer
  35291. - description: 每页条数
  35292. in: query
  35293. name: pagesize
  35294. type: integer
  35295. produces:
  35296. - application/json
  35297. responses:
  35298. "200":
  35299. description: OK
  35300. schema:
  35301. items:
  35302. $ref: '#/definitions/models.GGzbscusermonthpay'
  35303. type: array
  35304. "500":
  35305. description: Internal Server Error
  35306. schema:
  35307. $ref: '#/definitions/app.Response'
  35308. security:
  35309. - ApiKeyAuth: []
  35310. summary: 保税仓用户月付款通知书表查询(计费管理)
  35311. tags:
  35312. - 广钻
  35313. /Guangzuan/QueryGzbscuserpowerfee:
  35314. get:
  35315. parameters:
  35316. - description: 用户ID
  35317. in: query
  35318. name: userid
  35319. required: true
  35320. type: integer
  35321. - description: 月份(yyyMM)
  35322. in: query
  35323. name: trademonth
  35324. required: true
  35325. type: string
  35326. - description: 页码
  35327. in: query
  35328. name: page
  35329. type: integer
  35330. - description: 每页条数
  35331. in: query
  35332. name: pagesize
  35333. type: integer
  35334. produces:
  35335. - application/json
  35336. responses:
  35337. "200":
  35338. description: OK
  35339. schema:
  35340. items:
  35341. $ref: '#/definitions/models.GGzbscuserpowerfee'
  35342. type: array
  35343. "500":
  35344. description: Internal Server Error
  35345. schema:
  35346. $ref: '#/definitions/app.Response'
  35347. security:
  35348. - ApiKeyAuth: []
  35349. summary: 保税仓月电费登记表查询
  35350. tags:
  35351. - 广钻
  35352. /Guangzuan/QueryGzcjjcorderoperate:
  35353. get:
  35354. parameters:
  35355. - description: 单据ID
  35356. in: query
  35357. name: orderid
  35358. required: true
  35359. type: string
  35360. - description: 操作后单据状态
  35361. in: query
  35362. name: status
  35363. required: true
  35364. type: integer
  35365. produces:
  35366. - application/json
  35367. responses:
  35368. "200":
  35369. description: OK
  35370. schema:
  35371. items:
  35372. $ref: '#/definitions/models.Gzcjjcorderoperate'
  35373. type: array
  35374. "500":
  35375. description: Internal Server Error
  35376. schema:
  35377. $ref: '#/definitions/app.Response'
  35378. security:
  35379. - ApiKeyAuth: []
  35380. - LoginID: []
  35381. - Group: []
  35382. summary: 查询出境检测单据操作
  35383. tags:
  35384. - 广钻
  35385. /Guangzuan/QueryMemberReport:
  35386. get:
  35387. parameters:
  35388. - description: 用户ID
  35389. in: query
  35390. name: userid
  35391. required: true
  35392. type: integer
  35393. - description: 页码
  35394. in: query
  35395. name: page
  35396. type: integer
  35397. - description: 每页条数
  35398. in: query
  35399. name: pagesize
  35400. type: integer
  35401. - description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表 (日报表不传此参数)
  35402. in: query
  35403. name: cycletype
  35404. type: string
  35405. - description: 开始时段(日报表:yyyymmdd 月报表:yyyymm 年报表:yyyy)
  35406. in: query
  35407. name: begindate
  35408. required: true
  35409. type: string
  35410. - description: 结束时段(日报表:yyyymmdd 月报表:yyyymm 年报表:yyyy)
  35411. in: query
  35412. name: enddate
  35413. required: true
  35414. type: string
  35415. produces:
  35416. - application/json
  35417. responses:
  35418. "200":
  35419. description: OK
  35420. schema:
  35421. items:
  35422. $ref: '#/definitions/models.Reckondaytaaccount'
  35423. type: array
  35424. "500":
  35425. description: Internal Server Error
  35426. schema:
  35427. $ref: '#/definitions/app.Response'
  35428. security:
  35429. - ApiKeyAuth: []
  35430. - LoginID: []
  35431. - Group: []
  35432. summary: 查询会员报表
  35433. tags:
  35434. - 广钻
  35435. /Guangzuan/QueryMyBargainApply:
  35436. get:
  35437. parameters:
  35438. - description: 用户ID
  35439. in: query
  35440. name: userid
  35441. required: true
  35442. type: integer
  35443. - description: 页码
  35444. in: query
  35445. name: page
  35446. type: integer
  35447. - description: 每页条数
  35448. in: query
  35449. name: pagesize
  35450. type: integer
  35451. - description: 申请状态(不传查全部) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  35452. in: query
  35453. name: applystatus
  35454. type: integer
  35455. - description: 查询类型 - 0:我的询价 1:我订单的询价
  35456. in: query
  35457. name: type
  35458. type: integer
  35459. - description: 关联委托单ID
  35460. in: query
  35461. name: wrtradeorderid
  35462. type: string
  35463. produces:
  35464. - application/json
  35465. responses:
  35466. "200":
  35467. description: OK
  35468. schema:
  35469. items:
  35470. $ref: '#/definitions/models.MyBargainApply'
  35471. type: array
  35472. "500":
  35473. description: Internal Server Error
  35474. schema:
  35475. $ref: '#/definitions/app.Response'
  35476. security:
  35477. - ApiKeyAuth: []
  35478. - LoginID: []
  35479. - Group: []
  35480. summary: 查询询价-求购
  35481. tags:
  35482. - 广钻
  35483. /Guangzuan/QueryMyBuyOrder:
  35484. get:
  35485. parameters:
  35486. - description: 用户ID
  35487. in: query
  35488. name: userid
  35489. required: true
  35490. type: integer
  35491. - description: 页码
  35492. in: query
  35493. name: page
  35494. type: integer
  35495. - description: 每页条数
  35496. in: query
  35497. name: pagesize
  35498. type: integer
  35499. - description: 商品(查询字段-模糊查询)
  35500. in: query
  35501. name: zsallproperties
  35502. type: string
  35503. - description: 钻石分类, 格式:1,2,3
  35504. in: query
  35505. name: zscategorys
  35506. type: string
  35507. - description: 委托单号
  35508. in: query
  35509. name: wrtradeorderid
  35510. type: integer
  35511. - description: 是否历史查询
  35512. in: query
  35513. name: ishis
  35514. type: boolean
  35515. - description: 开始交易日(yyyymmdd)
  35516. in: query
  35517. name: begindate
  35518. type: string
  35519. - description: 结束交易日(yyyymmdd)
  35520. in: query
  35521. name: enddate
  35522. type: string
  35523. produces:
  35524. - application/json
  35525. responses:
  35526. "200":
  35527. description: OK
  35528. schema:
  35529. items:
  35530. $ref: '#/definitions/models.MyBuyOrder'
  35531. type: array
  35532. "500":
  35533. description: Internal Server Error
  35534. schema:
  35535. $ref: '#/definitions/app.Response'
  35536. security:
  35537. - ApiKeyAuth: []
  35538. - LoginID: []
  35539. - Group: []
  35540. summary: 查询我的求购
  35541. tags:
  35542. - 广钻
  35543. /Guangzuan/QueryMyDeListing:
  35544. get:
  35545. parameters:
  35546. - description: 用户ID
  35547. in: query
  35548. name: userid
  35549. required: true
  35550. type: integer
  35551. - description: 页码
  35552. in: query
  35553. name: page
  35554. type: integer
  35555. - description: 每页条数
  35556. in: query
  35557. name: pagesize
  35558. type: integer
  35559. - description: 商品(查询字段-模糊查询)
  35560. in: query
  35561. name: zsallproperties
  35562. type: string
  35563. - description: 钻石分类, 格式:1,2,3
  35564. in: query
  35565. name: zscategorys
  35566. type: string
  35567. - description: 成交单号
  35568. in: query
  35569. name: wrtradedetailid
  35570. type: integer
  35571. - description: 方向,0-购买 1-出售
  35572. in: query
  35573. name: buyorsell
  35574. type: integer
  35575. - description: 对手方(模糊匹配)
  35576. in: query
  35577. name: matchusername
  35578. type: string
  35579. - description: 开始交易日(yyyymmdd)
  35580. in: query
  35581. name: begindate
  35582. type: string
  35583. - description: 结束交易日(yyyymmdd)
  35584. in: query
  35585. name: enddate
  35586. type: string
  35587. produces:
  35588. - application/json
  35589. responses:
  35590. "200":
  35591. description: OK
  35592. schema:
  35593. items:
  35594. $ref: '#/definitions/models.MyDeListing'
  35595. type: array
  35596. "500":
  35597. description: Internal Server Error
  35598. schema:
  35599. $ref: '#/definitions/app.Response'
  35600. security:
  35601. - ApiKeyAuth: []
  35602. - LoginID: []
  35603. - Group: []
  35604. summary: 查询我的摘牌
  35605. tags:
  35606. - 广钻
  35607. /Guangzuan/QueryMyDelistingApply:
  35608. get:
  35609. parameters:
  35610. - description: 用户ID
  35611. in: query
  35612. name: userid
  35613. required: true
  35614. type: integer
  35615. - description: 页码
  35616. in: query
  35617. name: page
  35618. type: integer
  35619. - description: 每页条数
  35620. in: query
  35621. name: pagesize
  35622. type: integer
  35623. - description: 申请状态(不传查全部) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  35624. in: query
  35625. name: applystatus
  35626. type: integer
  35627. - description: 查询类型 - 0:我的询价 1:我订单的询价
  35628. in: query
  35629. name: type
  35630. type: integer
  35631. - description: 买委托单ID
  35632. in: query
  35633. name: buywrtradeorderid
  35634. type: string
  35635. produces:
  35636. - application/json
  35637. responses:
  35638. "200":
  35639. description: OK
  35640. schema:
  35641. items:
  35642. $ref: '#/definitions/models.MyDelistingApply'
  35643. type: array
  35644. "500":
  35645. description: Internal Server Error
  35646. schema:
  35647. $ref: '#/definitions/app.Response'
  35648. security:
  35649. - ApiKeyAuth: []
  35650. - LoginID: []
  35651. - Group: []
  35652. summary: 查询询价-出售
  35653. tags:
  35654. - 广钻
  35655. /Guangzuan/QueryMyFavorite:
  35656. get:
  35657. parameters:
  35658. - description: 用户ID
  35659. in: query
  35660. name: userid
  35661. required: true
  35662. type: integer
  35663. - description: 页码
  35664. in: query
  35665. name: page
  35666. type: integer
  35667. - description: 每页条数
  35668. in: query
  35669. name: pagesize
  35670. type: integer
  35671. - description: 钻石分类, 格式:1,2,3
  35672. in: query
  35673. name: zscategorys
  35674. type: string
  35675. produces:
  35676. - application/json
  35677. responses:
  35678. "200":
  35679. description: OK
  35680. schema:
  35681. items:
  35682. $ref: '#/definitions/models.MyFavorite'
  35683. type: array
  35684. "500":
  35685. description: Internal Server Error
  35686. schema:
  35687. $ref: '#/definitions/app.Response'
  35688. security:
  35689. - ApiKeyAuth: []
  35690. - LoginID: []
  35691. - Group: []
  35692. summary: 查询我的收藏
  35693. tags:
  35694. - 广钻
  35695. /Guangzuan/QueryMyPerformanc:
  35696. get:
  35697. parameters:
  35698. - description: 用户ID
  35699. in: query
  35700. name: userid
  35701. required: true
  35702. type: integer
  35703. - description: 页码
  35704. in: query
  35705. name: page
  35706. type: integer
  35707. - description: 每页条数
  35708. in: query
  35709. name: pagesize
  35710. type: integer
  35711. - description: 商品(查询字段-模糊查询)
  35712. in: query
  35713. name: zsallproperties
  35714. type: string
  35715. - description: 方向,0-买 1-卖
  35716. in: query
  35717. name: buyorsell
  35718. type: integer
  35719. - description: 是否历史查询
  35720. in: query
  35721. name: ishis
  35722. type: boolean
  35723. - description: 开始交易日(yyyymmdd)
  35724. in: query
  35725. name: begindate
  35726. type: string
  35727. - description: 结束交易日(yyyymmdd)
  35728. in: query
  35729. name: enddate
  35730. type: string
  35731. produces:
  35732. - application/json
  35733. responses:
  35734. "200":
  35735. description: OK
  35736. schema:
  35737. items:
  35738. $ref: '#/definitions/models.MyPerformanc'
  35739. type: array
  35740. "500":
  35741. description: Internal Server Error
  35742. schema:
  35743. $ref: '#/definitions/app.Response'
  35744. security:
  35745. - ApiKeyAuth: []
  35746. - LoginID: []
  35747. - Group: []
  35748. summary: 查询我的履约
  35749. tags:
  35750. - 广钻
  35751. /Guangzuan/QueryMySellOrder:
  35752. get:
  35753. parameters:
  35754. - description: 用户ID
  35755. in: query
  35756. name: userid
  35757. required: true
  35758. type: integer
  35759. - description: 页码
  35760. in: query
  35761. name: page
  35762. type: integer
  35763. - description: 每页条数
  35764. in: query
  35765. name: pagesize
  35766. type: integer
  35767. - description: 商品(查询字段-模糊查询)
  35768. in: query
  35769. name: zsallproperties
  35770. type: string
  35771. - description: 钻石分类, 格式:1,2,3
  35772. in: query
  35773. name: zscategorys
  35774. type: string
  35775. - description: 委托单号
  35776. in: query
  35777. name: wrtradeorderid
  35778. type: integer
  35779. - description: 是否历史查询
  35780. in: query
  35781. name: ishis
  35782. type: boolean
  35783. - description: 开始交易日(yyyymmdd)
  35784. in: query
  35785. name: begindate
  35786. type: string
  35787. - description: 结束交易日(yyyymmdd)
  35788. in: query
  35789. name: enddate
  35790. type: string
  35791. produces:
  35792. - application/json
  35793. responses:
  35794. "200":
  35795. description: OK
  35796. schema:
  35797. items:
  35798. $ref: '#/definitions/models.MySellOrder'
  35799. type: array
  35800. "500":
  35801. description: Internal Server Error
  35802. schema:
  35803. $ref: '#/definitions/app.Response'
  35804. security:
  35805. - ApiKeyAuth: []
  35806. - LoginID: []
  35807. - Group: []
  35808. summary: 查询我的出售
  35809. tags:
  35810. - 广钻
  35811. /Guangzuan/QueryMyWRPosition:
  35812. get:
  35813. parameters:
  35814. - description: 页码
  35815. in: query
  35816. name: page
  35817. type: integer
  35818. - description: 每页条数
  35819. in: query
  35820. name: pagesize
  35821. type: integer
  35822. - description: 登录用户ID
  35823. in: query
  35824. name: wruserid
  35825. required: true
  35826. type: integer
  35827. - description: 商品(查询字段-模糊查询)
  35828. in: query
  35829. name: zsallproperties
  35830. type: string
  35831. - description: 钻石分类, 格式:1,2,3
  35832. in: query
  35833. name: zscategorys
  35834. type: string
  35835. - description: 仓库ID
  35836. in: query
  35837. name: warehouseid
  35838. type: integer
  35839. - description: 是否上架 1-已上架 2-未上架 3-履约中
  35840. in: query
  35841. name: marketflag
  35842. type: integer
  35843. produces:
  35844. - application/json
  35845. responses:
  35846. "200":
  35847. description: OK
  35848. schema:
  35849. items:
  35850. $ref: '#/definitions/models.MyWRPosition'
  35851. type: array
  35852. "500":
  35853. description: Internal Server Error
  35854. schema:
  35855. $ref: '#/definitions/app.Response'
  35856. security:
  35857. - ApiKeyAuth: []
  35858. - LoginID: []
  35859. - Group: []
  35860. summary: 查询我的库存
  35861. tags:
  35862. - 广钻
  35863. /Guangzuan/QueryPresaleorderapplyprice:
  35864. get:
  35865. parameters:
  35866. - description: 预售申请ID
  35867. in: query
  35868. name: applyid
  35869. required: true
  35870. type: string
  35871. produces:
  35872. - application/json
  35873. responses:
  35874. "200":
  35875. description: OK
  35876. schema:
  35877. items:
  35878. $ref: '#/definitions/models.Presaleorderapplyprice'
  35879. type: array
  35880. "500":
  35881. description: Internal Server Error
  35882. schema:
  35883. $ref: '#/definitions/app.Response'
  35884. summary: 查询预售申请价格表
  35885. tags:
  35886. - 广钻
  35887. /Guangzuan/QuerySellOrder:
  35888. get:
  35889. parameters:
  35890. - description: 页码
  35891. in: query
  35892. name: page
  35893. type: integer
  35894. - description: 每页条数
  35895. in: query
  35896. name: pagesize
  35897. type: integer
  35898. - description: 商品(查询字段-模糊查询)
  35899. in: query
  35900. name: zsallproperties
  35901. type: string
  35902. - description: 钻石分类, 格式:1,2,3
  35903. in: query
  35904. name: zscategorys
  35905. type: string
  35906. - description: 委托单号
  35907. in: query
  35908. name: wrtradeorderid
  35909. type: integer
  35910. - description: 卖方(查询字段-模糊查询)
  35911. in: query
  35912. name: buyusername
  35913. type: string
  35914. produces:
  35915. - application/json
  35916. responses:
  35917. "200":
  35918. description: OK
  35919. schema:
  35920. items:
  35921. $ref: '#/definitions/models.SellOrder'
  35922. type: array
  35923. "500":
  35924. description: Internal Server Error
  35925. schema:
  35926. $ref: '#/definitions/app.Response'
  35927. security:
  35928. - ApiKeyAuth: []
  35929. - LoginID: []
  35930. - Group: []
  35931. summary: 查询出售大厅委托单
  35932. tags:
  35933. - 广钻
  35934. /Guangzuan/QueryTradeReport:
  35935. get:
  35936. parameters:
  35937. - description: 用户ID
  35938. in: query
  35939. name: userid
  35940. required: true
  35941. type: integer
  35942. - description: 页码
  35943. in: query
  35944. name: page
  35945. type: integer
  35946. - description: 每页条数
  35947. in: query
  35948. name: pagesize
  35949. type: integer
  35950. - description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表 (日报表不传此参数)
  35951. in: query
  35952. name: cycletype
  35953. type: string
  35954. - description: 开始时段(日报表:yyyymmdd 月报表:yyyymm 年报表:yyyy)
  35955. in: query
  35956. name: begindate
  35957. required: true
  35958. type: string
  35959. - description: 结束时段(日报表:yyyymmdd 月报表:yyyymm 年报表:yyyy)
  35960. in: query
  35961. name: enddate
  35962. required: true
  35963. type: string
  35964. - description: 商品分类
  35965. in: query
  35966. name: zscategory
  35967. type: integer
  35968. - description: 商品币种
  35969. in: query
  35970. name: zscurrencytype
  35971. type: integer
  35972. produces:
  35973. - application/json
  35974. responses:
  35975. "200":
  35976. description: OK
  35977. schema:
  35978. items:
  35979. $ref: '#/definitions/models.Reckongzmemtradesum'
  35980. type: array
  35981. "500":
  35982. description: Internal Server Error
  35983. schema:
  35984. $ref: '#/definitions/app.Response'
  35985. security:
  35986. - ApiKeyAuth: []
  35987. - LoginID: []
  35988. - Group: []
  35989. summary: 查询交易报表
  35990. tags:
  35991. - 广钻
  35992. /Guangzuan/QueryWRPositionReport:
  35993. get:
  35994. parameters:
  35995. - description: 用户ID
  35996. in: query
  35997. name: userid
  35998. required: true
  35999. type: integer
  36000. - description: 页码
  36001. in: query
  36002. name: page
  36003. type: integer
  36004. - description: 每页条数
  36005. in: query
  36006. name: pagesize
  36007. type: integer
  36008. - description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表 (日报表不传此参数)
  36009. in: query
  36010. name: cycletype
  36011. type: string
  36012. - description: 开始时段(日报表:yyyymmdd 月报表:yyyymm 年报表:yyyy)
  36013. in: query
  36014. name: begindate
  36015. required: true
  36016. type: string
  36017. - description: 结束时段(日报表:yyyymmdd 月报表:yyyymm 年报表:yyyy)
  36018. in: query
  36019. name: enddate
  36020. required: true
  36021. type: string
  36022. - description: 商品分类
  36023. in: query
  36024. name: zscategory
  36025. type: integer
  36026. - description: 商品币种
  36027. in: query
  36028. name: zscurrencytype
  36029. type: integer
  36030. produces:
  36031. - application/json
  36032. responses:
  36033. "200":
  36034. description: OK
  36035. schema:
  36036. items:
  36037. $ref: '#/definitions/models.WRPositionReport'
  36038. type: array
  36039. "500":
  36040. description: Internal Server Error
  36041. schema:
  36042. $ref: '#/definitions/app.Response'
  36043. security:
  36044. - ApiKeyAuth: []
  36045. - LoginID: []
  36046. - Group: []
  36047. summary: 查询仓储报表
  36048. tags:
  36049. - 广钻
  36050. /Guangzuan/QueryWarehouseInfo:
  36051. get:
  36052. parameters:
  36053. - description: 页码
  36054. in: query
  36055. name: page
  36056. type: integer
  36057. - description: 每页条数
  36058. in: query
  36059. name: pagesize
  36060. type: integer
  36061. - description: 用户ID
  36062. in: query
  36063. name: userid
  36064. required: true
  36065. type: integer
  36066. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  36067. in: query
  36068. name: status
  36069. type: string
  36070. - description: 是返回交易所仓库
  36071. in: query
  36072. name: isincludeexchange
  36073. type: boolean
  36074. produces:
  36075. - application/json
  36076. responses:
  36077. "200":
  36078. description: OK
  36079. schema:
  36080. items:
  36081. $ref: '#/definitions/models.GZWarehouseinfo'
  36082. type: array
  36083. "500":
  36084. description: Internal Server Error
  36085. schema:
  36086. $ref: '#/definitions/app.Response'
  36087. security:
  36088. - ApiKeyAuth: []
  36089. - LoginID: []
  36090. - Group: []
  36091. summary: 查询仓库信息
  36092. tags:
  36093. - 广钻
  36094. /HSBY/GetHsbyMyCount:
  36095. get:
  36096. description: 说明: 不包括已完成的数量。
  36097. parameters:
  36098. - description: 资金账户列表,格式:1,2,3
  36099. in: query
  36100. name: accountIDs
  36101. required: true
  36102. type: string
  36103. produces:
  36104. - application/json
  36105. responses:
  36106. "200":
  36107. description: OK
  36108. schema:
  36109. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  36110. "500":
  36111. description: Internal Server Error
  36112. schema:
  36113. $ref: '#/definitions/app.Response'
  36114. security:
  36115. - ApiKeyAuth: []
  36116. summary: 获取我的订单与包裹数量
  36117. tags:
  36118. - 定制【海商报业】
  36119. /HSBY/QueryClientFixedADConfigs:
  36120. get:
  36121. produces:
  36122. - application/json
  36123. responses:
  36124. "200":
  36125. description: OK
  36126. schema:
  36127. $ref: '#/definitions/models.Clientfixedadconfig'
  36128. "500":
  36129. description: Internal Server Error
  36130. schema:
  36131. $ref: '#/definitions/app.Response'
  36132. security:
  36133. - ApiKeyAuth: []
  36134. summary: 获取终端固定广告配置
  36135. tags:
  36136. - 定制【海商报业】
  36137. /HSBY/QueryHsbyBuyMyTradeDetail:
  36138. get:
  36139. parameters:
  36140. - description: 页码
  36141. in: query
  36142. name: page
  36143. type: integer
  36144. - description: 每页条数
  36145. in: query
  36146. name: pagesize
  36147. type: integer
  36148. - description: 资金账户列表,格式:1,2,3
  36149. in: query
  36150. name: accountIDs
  36151. required: true
  36152. type: string
  36153. produces:
  36154. - application/json
  36155. responses:
  36156. "200":
  36157. description: OK
  36158. schema:
  36159. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  36160. "500":
  36161. description: Internal Server Error
  36162. schema:
  36163. $ref: '#/definitions/app.Response'
  36164. security:
  36165. - ApiKeyAuth: []
  36166. summary: 查询"我的订单 - 已完成"单据信息
  36167. tags:
  36168. - 定制【海商报业】
  36169. /HSBY/QueryHsbyGoodsOrderDetails:
  36170. get:
  36171. description: 说明:查询结果已按委托价格和委托时间排序
  36172. parameters:
  36173. - description: 商品ID
  36174. in: query
  36175. name: goodsID
  36176. required: true
  36177. type: integer
  36178. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  36179. in: query
  36180. name: accountIDs
  36181. type: string
  36182. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  36183. in: query
  36184. name: buyOrSell
  36185. type: integer
  36186. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  36187. in: query
  36188. name: price
  36189. type: number
  36190. - description: 档位,不传则默认为3档
  36191. in: query
  36192. name: speed
  36193. type: integer
  36194. produces:
  36195. - application/json
  36196. responses:
  36197. "200":
  36198. description: OK
  36199. schema:
  36200. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  36201. "500":
  36202. description: Internal Server Error
  36203. schema:
  36204. $ref: '#/definitions/app.Response'
  36205. security:
  36206. - ApiKeyAuth: []
  36207. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  36208. tags:
  36209. - 定制【海商报业】
  36210. /HSBY/QueryHsbyListingGoodsDetail:
  36211. get:
  36212. description: 说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口
  36213. parameters:
  36214. - description: 商品ID
  36215. in: query
  36216. name: goodsID
  36217. required: true
  36218. type: integer
  36219. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  36220. in: query
  36221. name: accountID
  36222. type: integer
  36223. produces:
  36224. - application/json
  36225. responses:
  36226. "200":
  36227. description: OK
  36228. schema:
  36229. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  36230. "500":
  36231. description: Internal Server Error
  36232. schema:
  36233. $ref: '#/definitions/app.Response'
  36234. security:
  36235. - ApiKeyAuth: []
  36236. summary: 查询二级市场(挂牌点选)商品信息详情
  36237. tags:
  36238. - 定制【海商报业】
  36239. /HSBY/QueryHsbyMarketGoodsDetail:
  36240. get:
  36241. parameters:
  36242. - description: 委托单号
  36243. in: query
  36244. name: orderID
  36245. required: true
  36246. type: integer
  36247. - description: 资金账户,主要用于判断商品最大开仓手数;如未登录可不传。
  36248. in: query
  36249. name: accountID
  36250. type: integer
  36251. produces:
  36252. - application/json
  36253. responses:
  36254. "200":
  36255. description: OK
  36256. schema:
  36257. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  36258. "500":
  36259. description: Internal Server Error
  36260. schema:
  36261. $ref: '#/definitions/app.Response'
  36262. security:
  36263. - ApiKeyAuth: []
  36264. summary: 查询三级市场(商城)商品信息详情
  36265. tags:
  36266. - 定制【海商报业】
  36267. /HSBY/QueryHsbyMarketGoodses:
  36268. get:
  36269. parameters:
  36270. - description: 页码
  36271. in: query
  36272. name: page
  36273. type: integer
  36274. - description: 每页条数
  36275. in: query
  36276. name: pagesize
  36277. type: integer
  36278. - description: 市场ID列表,格式:1,2,3
  36279. in: query
  36280. name: marketIDs
  36281. required: true
  36282. type: string
  36283. - description: 资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。
  36284. in: query
  36285. name: accountID
  36286. required: true
  36287. type: integer
  36288. - description: 类别ID
  36289. in: query
  36290. name: categoryID
  36291. type: integer
  36292. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  36293. in: query
  36294. name: goodsIDs
  36295. type: string
  36296. - description: 优惠券类型ID,主要用于显示优惠卷对应的商品列表。
  36297. in: query
  36298. name: couponTypeID
  36299. type: integer
  36300. produces:
  36301. - application/json
  36302. responses:
  36303. "200":
  36304. description: OK
  36305. schema:
  36306. $ref: '#/definitions/models.HsbyMarketGoods'
  36307. "500":
  36308. description: Internal Server Error
  36309. schema:
  36310. $ref: '#/definitions/app.Response'
  36311. security:
  36312. - ApiKeyAuth: []
  36313. summary: 查询特卖商品列表(三级商城)
  36314. tags:
  36315. - 定制【海商报业】
  36316. /HSBY/QueryHsbyMarkets:
  36317. get:
  36318. produces:
  36319. - application/json
  36320. responses:
  36321. "200":
  36322. description: OK
  36323. schema:
  36324. $ref: '#/definitions/models.HsbyMarketInfo'
  36325. "500":
  36326. description: Internal Server Error
  36327. schema:
  36328. $ref: '#/definitions/app.Response'
  36329. security:
  36330. - ApiKeyAuth: []
  36331. summary: 查询海商报业相关市场信息
  36332. tags:
  36333. - 定制【海商报业】
  36334. /HSBY/QueryHsbyMyBuyOrderDetails:
  36335. get:
  36336. description: '说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败'
  36337. parameters:
  36338. - description: 资金账户列表,格式:1,2,3
  36339. in: query
  36340. name: accountIDs
  36341. required: true
  36342. type: string
  36343. produces:
  36344. - application/json
  36345. responses:
  36346. "200":
  36347. description: OK
  36348. schema:
  36349. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  36350. "500":
  36351. description: Internal Server Error
  36352. schema:
  36353. $ref: '#/definitions/app.Response'
  36354. security:
  36355. - ApiKeyAuth: []
  36356. summary: 查询“我的订单”信息
  36357. tags:
  36358. - 定制【海商报业】
  36359. /HSBY/QueryHsbyMyGoods:
  36360. get:
  36361. description: 说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice
  36362. parameters:
  36363. - description: 资金账户列表,格式:1,2,3
  36364. in: query
  36365. name: accountIDs
  36366. required: true
  36367. type: string
  36368. produces:
  36369. - application/json
  36370. responses:
  36371. "200":
  36372. description: OK
  36373. schema:
  36374. $ref: '#/definitions/models.HsbyMyGoods'
  36375. "500":
  36376. description: Internal Server Error
  36377. schema:
  36378. $ref: '#/definitions/app.Response'
  36379. security:
  36380. - ApiKeyAuth: []
  36381. summary: 查询“我的商品”信息
  36382. tags:
  36383. - 定制【海商报业】
  36384. /HSBY/QueryHsbyMyPackages:
  36385. get:
  36386. parameters:
  36387. - description: 资金账户列表,格式:1,2,3
  36388. in: query
  36389. name: accountIDs
  36390. required: true
  36391. type: string
  36392. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  36393. in: query
  36394. name: takeOrderStatus
  36395. type: integer
  36396. produces:
  36397. - application/json
  36398. responses:
  36399. "200":
  36400. description: OK
  36401. schema:
  36402. $ref: '#/definitions/models.HsbyMyPackage'
  36403. "500":
  36404. description: Internal Server Error
  36405. schema:
  36406. $ref: '#/definitions/app.Response'
  36407. security:
  36408. - ApiKeyAuth: []
  36409. summary: 查询我的包裹信息
  36410. tags:
  36411. - 定制【海商报业】
  36412. /HSBY/QueryHsbyPreGoodsDetail:
  36413. get:
  36414. parameters:
  36415. - description: 商品ID
  36416. in: query
  36417. name: goodsID
  36418. required: true
  36419. type: integer
  36420. - description: 资金账户,主要用于获取预售商品购买上限
  36421. in: query
  36422. name: accountID
  36423. type: integer
  36424. produces:
  36425. - application/json
  36426. responses:
  36427. "200":
  36428. description: OK
  36429. schema:
  36430. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  36431. "500":
  36432. description: Internal Server Error
  36433. schema:
  36434. $ref: '#/definitions/app.Response'
  36435. security:
  36436. - ApiKeyAuth: []
  36437. summary: 查询一级市场(预售)商品信息详情
  36438. tags:
  36439. - 定制【海商报业】
  36440. /HSBY/QueryHsbyPreGoodses:
  36441. get:
  36442. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  36443. parameters:
  36444. - description: 页码
  36445. in: query
  36446. name: page
  36447. type: integer
  36448. - description: 每页条数
  36449. in: query
  36450. name: pagesize
  36451. type: integer
  36452. - description: 市场ID列表,格式:1,2,3
  36453. in: query
  36454. name: marketIDs
  36455. required: true
  36456. type: string
  36457. - description: 目的地(省)ID
  36458. in: query
  36459. name: descProvinceID
  36460. type: integer
  36461. - description: 目的地(市)ID
  36462. in: query
  36463. name: descCityID
  36464. type: integer
  36465. produces:
  36466. - application/json
  36467. responses:
  36468. "200":
  36469. description: OK
  36470. schema:
  36471. $ref: '#/definitions/models.HsbyPreGoods'
  36472. "500":
  36473. description: Internal Server Error
  36474. schema:
  36475. $ref: '#/definitions/app.Response'
  36476. security:
  36477. - ApiKeyAuth: []
  36478. summary: 查询新品上市商品列表(一级市场预售)
  36479. tags:
  36480. - 定制【海商报业】
  36481. /HSBY/QueryHsbySellMyDetails:
  36482. get:
  36483. description: 说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  36484. parameters:
  36485. - description: 页码
  36486. in: query
  36487. name: page
  36488. type: integer
  36489. - description: 每页条数
  36490. in: query
  36491. name: pagesize
  36492. type: integer
  36493. - description: 资金账户列表,格式:1,2,3
  36494. in: query
  36495. name: accountIDs
  36496. required: true
  36497. type: string
  36498. - description: 单据类型:0 - 发布中(默认), 1 - 已完成
  36499. in: query
  36500. name: orderType
  36501. type: integer
  36502. produces:
  36503. - application/json
  36504. responses:
  36505. "200":
  36506. description: OK
  36507. schema:
  36508. $ref: '#/definitions/models.HsbySellMyDetail'
  36509. "500":
  36510. description: Internal Server Error
  36511. schema:
  36512. $ref: '#/definitions/app.Response'
  36513. security:
  36514. - ApiKeyAuth: []
  36515. summary: 查询"我的闲置"单据信息
  36516. tags:
  36517. - 定制【海商报业】
  36518. /HSBY/QueryHsbyTopGoodses:
  36519. get:
  36520. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  36521. parameters:
  36522. - description: 页码
  36523. in: query
  36524. name: page
  36525. type: integer
  36526. - description: 每页条数
  36527. in: query
  36528. name: pagesize
  36529. type: integer
  36530. - description: 市场ID列表,格式:1,2,3
  36531. in: query
  36532. name: marketIDs
  36533. required: true
  36534. type: string
  36535. - description: 目的地(省)ID
  36536. in: query
  36537. name: descProvinceID
  36538. type: integer
  36539. - description: 目的地(市)ID
  36540. in: query
  36541. name: descCityID
  36542. type: integer
  36543. produces:
  36544. - application/json
  36545. responses:
  36546. "200":
  36547. description: OK
  36548. schema:
  36549. $ref: '#/definitions/models.HsbyTopGoods'
  36550. "500":
  36551. description: Internal Server Error
  36552. schema:
  36553. $ref: '#/definitions/app.Response'
  36554. security:
  36555. - ApiKeyAuth: []
  36556. summary: 查询热卖商品列表(二级市场挂牌点选)
  36557. tags:
  36558. - 定制【海商报业】
  36559. /HSBY/QueryHsbyVisitorMarketGoodsDetail:
  36560. get:
  36561. description: 说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。
  36562. parameters:
  36563. - description: 商品ID
  36564. in: query
  36565. name: goodsID
  36566. required: true
  36567. type: integer
  36568. produces:
  36569. - application/json
  36570. responses:
  36571. "200":
  36572. description: OK
  36573. schema:
  36574. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  36575. "500":
  36576. description: Internal Server Error
  36577. schema:
  36578. $ref: '#/definitions/app.Response'
  36579. security:
  36580. - ApiKeyAuth: []
  36581. summary: 查询游客三级市场(商城)商品信息详情
  36582. tags:
  36583. - 定制【海商报业】
  36584. /HSBY/QueryHsbyVisitorMarketGoodses:
  36585. get:
  36586. description: 说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。
  36587. parameters:
  36588. - description: 页码
  36589. in: query
  36590. name: page
  36591. type: integer
  36592. - description: 每页条数
  36593. in: query
  36594. name: pagesize
  36595. type: integer
  36596. - description: 市场ID列表,格式:1,2,3
  36597. in: query
  36598. name: marketIDs
  36599. required: true
  36600. type: string
  36601. - description: 类别ID
  36602. in: query
  36603. name: categoryID
  36604. type: integer
  36605. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  36606. in: query
  36607. name: goodsIDs
  36608. type: string
  36609. produces:
  36610. - application/json
  36611. responses:
  36612. "200":
  36613. description: OK
  36614. schema:
  36615. $ref: '#/definitions/models.HsbyMarketGoods'
  36616. "500":
  36617. description: Internal Server Error
  36618. schema:
  36619. $ref: '#/definitions/app.Response'
  36620. security:
  36621. - ApiKeyAuth: []
  36622. summary: 查询游客特卖商品列表(三级商城)
  36623. tags:
  36624. - 定制【海商报业】
  36625. /HSBY/QueryMyCollectionOrders:
  36626. get:
  36627. parameters:
  36628. - description: 页码
  36629. in: query
  36630. name: page
  36631. type: integer
  36632. - description: 每页条数
  36633. in: query
  36634. name: pagesize
  36635. type: integer
  36636. - description: 资金账户,格式:1,2,3
  36637. in: query
  36638. name: accountIDs
  36639. required: true
  36640. type: string
  36641. produces:
  36642. - application/json
  36643. responses:
  36644. "200":
  36645. description: OK
  36646. schema:
  36647. $ref: '#/definitions/models.HsbySellCollectionOrder'
  36648. "500":
  36649. description: Internal Server Error
  36650. schema:
  36651. $ref: '#/definitions/app.Response'
  36652. security:
  36653. - ApiKeyAuth: []
  36654. summary: 我的闲置中收款信息查询
  36655. tags:
  36656. - 定制【海商报业】
  36657. /HSBY/QueryMyCouponHolds:
  36658. get:
  36659. description: 说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。
  36660. parameters:
  36661. - description: 资金账户列表,格式:1,2,3
  36662. in: query
  36663. name: accountIDs
  36664. required: true
  36665. type: string
  36666. - description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3
  36667. in: query
  36668. name: holdStatus
  36669. type: string
  36670. produces:
  36671. - application/json
  36672. responses:
  36673. "200":
  36674. description: OK
  36675. schema:
  36676. $ref: '#/definitions/models.MyCouponHold'
  36677. "500":
  36678. description: Internal Server Error
  36679. schema:
  36680. $ref: '#/definitions/app.Response'
  36681. security:
  36682. - ApiKeyAuth: []
  36683. summary: 我的优惠卷持仓查询
  36684. tags:
  36685. - 定制【海商报业】
  36686. /HSBY/QueryMyCoupons:
  36687. get:
  36688. parameters:
  36689. - description: 资金账户列表,格式:1,2,3
  36690. in: query
  36691. name: accountIDs
  36692. required: true
  36693. type: string
  36694. - description: 商品ID, 一般与sellUserID配套传入
  36695. in: query
  36696. name: goodsID
  36697. type: integer
  36698. - description: 卖方UserID
  36699. in: query
  36700. name: sellUserID
  36701. type: integer
  36702. produces:
  36703. - application/json
  36704. responses:
  36705. "200":
  36706. description: OK
  36707. schema:
  36708. $ref: '#/definitions/models.MyCoupon'
  36709. "500":
  36710. description: Internal Server Error
  36711. schema:
  36712. $ref: '#/definitions/app.Response'
  36713. security:
  36714. - ApiKeyAuth: []
  36715. summary: 我的优惠卷查询
  36716. tags:
  36717. - 定制【海商报业】
  36718. /HSBY/QueryMyPayOrders:
  36719. get:
  36720. parameters:
  36721. - description: 页码
  36722. in: query
  36723. name: page
  36724. type: integer
  36725. - description: 每页条数
  36726. in: query
  36727. name: pagesize
  36728. type: integer
  36729. - description: 资金账户列表,格式:1,2,3
  36730. in: query
  36731. name: accountIDs
  36732. required: true
  36733. type: string
  36734. - description: 买方委托单号
  36735. in: query
  36736. name: buyOrderID
  36737. type: integer
  36738. - description: 卖方委托单号
  36739. in: query
  36740. name: sellOrderID
  36741. type: integer
  36742. produces:
  36743. - application/json
  36744. responses:
  36745. "200":
  36746. description: OK
  36747. schema:
  36748. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  36749. "500":
  36750. description: Internal Server Error
  36751. schema:
  36752. $ref: '#/definitions/app.Response'
  36753. security:
  36754. - ApiKeyAuth: []
  36755. summary: 获取我的订单中待付款信息
  36756. tags:
  36757. - 定制【海商报业】
  36758. /HSBY/QueryMyUsedCoupon:
  36759. get:
  36760. parameters:
  36761. - description: 资金账户列表,格式:1,2,3
  36762. in: query
  36763. name: accountIDs
  36764. required: true
  36765. type: string
  36766. produces:
  36767. - application/json
  36768. responses:
  36769. "200":
  36770. description: OK
  36771. schema:
  36772. $ref: '#/definitions/models.MyUsedCoupon'
  36773. "500":
  36774. description: Internal Server Error
  36775. schema:
  36776. $ref: '#/definitions/app.Response'
  36777. security:
  36778. - ApiKeyAuth: []
  36779. summary: 已使用优惠卷查询
  36780. tags:
  36781. - 定制【海商报业】
  36782. /HSBY/QueryProvincesAndCities:
  36783. get:
  36784. description: 查询结果只包括二级市场商品已关连的省市信息。
  36785. parameters:
  36786. - description: 省ID
  36787. in: query
  36788. name: provinceID
  36789. type: integer
  36790. produces:
  36791. - application/json
  36792. responses:
  36793. "200":
  36794. description: OK
  36795. schema:
  36796. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  36797. "500":
  36798. description: Internal Server Error
  36799. schema:
  36800. $ref: '#/definitions/app.Response'
  36801. security:
  36802. - ApiKeyAuth: []
  36803. summary: 查询省市信息(不包括区)
  36804. tags:
  36805. - 定制【海商报业】
  36806. /HSBY/SetHsbyMyPackagesStatus:
  36807. post:
  36808. parameters:
  36809. - description: 提货单号
  36810. in: query
  36811. name: takeOrderID
  36812. required: true
  36813. type: string
  36814. - description: 资金账号
  36815. in: query
  36816. name: accountID
  36817. required: true
  36818. type: integer
  36819. produces:
  36820. - application/json
  36821. responses:
  36822. "200":
  36823. description: OK
  36824. schema:
  36825. $ref: '#/definitions/app.Response'
  36826. "500":
  36827. description: Internal Server Error
  36828. schema:
  36829. $ref: '#/definitions/app.Response'
  36830. security:
  36831. - ApiKeyAuth: []
  36832. summary: 设置我的包裹已收货状态
  36833. tags:
  36834. - 定制【海商报业】
  36835. /Hnsh/QueryPresaleGoods:
  36836. get:
  36837. parameters:
  36838. - description: 页码
  36839. in: query
  36840. name: page
  36841. type: integer
  36842. - description: 每页条数
  36843. in: query
  36844. name: pagesize
  36845. type: integer
  36846. produces:
  36847. - application/json
  36848. responses:
  36849. "200":
  36850. description: OK
  36851. schema:
  36852. items:
  36853. $ref: '#/definitions/models.PresaleGoods'
  36854. type: array
  36855. "500":
  36856. description: Internal Server Error
  36857. schema:
  36858. $ref: '#/definitions/app.Response'
  36859. security:
  36860. - ApiKeyAuth: []
  36861. summary: 查询定金预售商品
  36862. tags:
  36863. - 华南石化
  36864. /Market/GetAllExExchanges:
  36865. get:
  36866. produces:
  36867. - application/json
  36868. responses:
  36869. "200":
  36870. description: OK
  36871. schema:
  36872. $ref: '#/definitions/models.Goods'
  36873. "500":
  36874. description: Internal Server Error
  36875. schema:
  36876. $ref: '#/definitions/app.Response'
  36877. security:
  36878. - ApiKeyAuth: []
  36879. summary: 获取所有外部交易所信息
  36880. tags:
  36881. - 通用市场
  36882. /Market/QueryGoodsesByLoginID:
  36883. get:
  36884. parameters:
  36885. - description: 登录账号
  36886. in: query
  36887. name: loginID
  36888. required: true
  36889. type: integer
  36890. - description: 市场ID列表,格式:1,2,3
  36891. in: query
  36892. name: marketIDs
  36893. type: string
  36894. produces:
  36895. - application/json
  36896. responses:
  36897. "200":
  36898. description: OK
  36899. schema:
  36900. $ref: '#/definitions/models.Goods'
  36901. "500":
  36902. description: Internal Server Error
  36903. schema:
  36904. $ref: '#/definitions/app.Response'
  36905. security:
  36906. - ApiKeyAuth: []
  36907. summary: 获取登录账号有权限的商品信息
  36908. tags:
  36909. - 通用市场
  36910. /Market/QueryMarketRun:
  36911. get:
  36912. parameters:
  36913. - description: 市场ID,不传返回所有
  36914. in: query
  36915. name: marketID
  36916. type: integer
  36917. produces:
  36918. - application/json
  36919. responses:
  36920. "200":
  36921. description: OK
  36922. schema:
  36923. $ref: '#/definitions/models.Marketrun'
  36924. "500":
  36925. description: Internal Server Error
  36926. schema:
  36927. $ref: '#/definitions/app.Response'
  36928. summary: 查询市场运行信息
  36929. tags:
  36930. - 通用市场
  36931. /Market/QueryMarketsByLoginID:
  36932. get:
  36933. parameters:
  36934. - description: 登录账号
  36935. in: query
  36936. name: loginID
  36937. required: true
  36938. type: integer
  36939. produces:
  36940. - application/json
  36941. responses:
  36942. "200":
  36943. description: OK
  36944. schema:
  36945. $ref: '#/definitions/models.Market'
  36946. "500":
  36947. description: Internal Server Error
  36948. schema:
  36949. $ref: '#/definitions/app.Response'
  36950. security:
  36951. - ApiKeyAuth: []
  36952. summary: 获取登录账号有权限的市场信息
  36953. tags:
  36954. - 通用市场
  36955. /Mine/QueryMineCpTradePreSaleResults:
  36956. get:
  36957. parameters:
  36958. - description: 用户ID
  36959. in: query
  36960. name: userid
  36961. required: true
  36962. type: integer
  36963. - description: 页码
  36964. in: query
  36965. name: page
  36966. type: integer
  36967. - description: 每页条数
  36968. in: query
  36969. name: pagesize
  36970. type: integer
  36971. produces:
  36972. - application/json
  36973. responses:
  36974. "200":
  36975. description: OK
  36976. schema:
  36977. items:
  36978. $ref: '#/definitions/models.MineCpTradePreSaleResult'
  36979. type: array
  36980. "500":
  36981. description: Internal Server Error
  36982. schema:
  36983. $ref: '#/definitions/app.Response'
  36984. security:
  36985. - ApiKeyAuth: []
  36986. summary: 我的持仓-预售持仓
  36987. tags:
  36988. - 我的
  36989. /Mine/QueryMineTradeGoodsDeliveryOfflines:
  36990. get:
  36991. parameters:
  36992. - description: 用户ID
  36993. in: query
  36994. name: userid
  36995. required: true
  36996. type: integer
  36997. - description: 页码
  36998. in: query
  36999. name: page
  37000. type: integer
  37001. - description: 每页条数
  37002. in: query
  37003. name: pagesize
  37004. type: integer
  37005. produces:
  37006. - application/json
  37007. responses:
  37008. "200":
  37009. description: OK
  37010. schema:
  37011. items:
  37012. $ref: '#/definitions/models.MineTradeGoodsDeliveryOffline'
  37013. type: array
  37014. "500":
  37015. description: Internal Server Error
  37016. schema:
  37017. $ref: '#/definitions/app.Response'
  37018. security:
  37019. - ApiKeyAuth: []
  37020. summary: 交收提货-线下交收单
  37021. tags:
  37022. - 我的
  37023. /Mine/QueryMineTradeOrderDetails:
  37024. get:
  37025. parameters:
  37026. - description: 用户ID
  37027. in: query
  37028. name: userid
  37029. required: true
  37030. type: integer
  37031. - description: 页码
  37032. in: query
  37033. name: page
  37034. type: integer
  37035. - description: 每页条数
  37036. in: query
  37037. name: pagesize
  37038. type: integer
  37039. - description: 是否历史查询
  37040. in: query
  37041. name: ishis
  37042. type: boolean
  37043. - description: 开始交易日(yyyymmdd)
  37044. in: query
  37045. name: begindate
  37046. type: string
  37047. - description: 结束交易日(yyyymmdd)
  37048. in: query
  37049. name: enddate
  37050. type: string
  37051. produces:
  37052. - application/json
  37053. responses:
  37054. "200":
  37055. description: OK
  37056. schema:
  37057. items:
  37058. $ref: '#/definitions/models.MineTradeOrderDetail'
  37059. type: array
  37060. "500":
  37061. description: Internal Server Error
  37062. schema:
  37063. $ref: '#/definitions/app.Response'
  37064. security:
  37065. - ApiKeyAuth: []
  37066. summary: 我的订单-预售认购
  37067. tags:
  37068. - 我的
  37069. /Mine/QueryMineTradeOrders:
  37070. get:
  37071. parameters:
  37072. - description: 用户ID
  37073. in: query
  37074. name: userid
  37075. required: true
  37076. type: integer
  37077. - description: 页码
  37078. in: query
  37079. name: page
  37080. type: integer
  37081. - description: 每页条数
  37082. in: query
  37083. name: pagesize
  37084. type: integer
  37085. - description: 是否历史查询
  37086. in: query
  37087. name: ishis
  37088. type: boolean
  37089. - description: 开始交易日(yyyymmdd)
  37090. in: query
  37091. name: begindate
  37092. type: string
  37093. - description: 结束交易日(yyyymmdd)
  37094. in: query
  37095. name: enddate
  37096. type: string
  37097. produces:
  37098. - application/json
  37099. responses:
  37100. "200":
  37101. description: OK
  37102. schema:
  37103. items:
  37104. $ref: '#/definitions/models.MineTradeOrder'
  37105. type: array
  37106. "500":
  37107. description: Internal Server Error
  37108. schema:
  37109. $ref: '#/definitions/app.Response'
  37110. security:
  37111. - ApiKeyAuth: []
  37112. summary: 我的订单-转让委托
  37113. tags:
  37114. - 我的
  37115. /Mine/QueryMineTradePositionExs:
  37116. get:
  37117. parameters:
  37118. - description: 用户ID
  37119. in: query
  37120. name: userid
  37121. required: true
  37122. type: integer
  37123. - description: 商品ID
  37124. in: query
  37125. name: goodsid
  37126. type: integer
  37127. - description: 页码
  37128. in: query
  37129. name: page
  37130. type: integer
  37131. - description: 每页条数
  37132. in: query
  37133. name: pagesize
  37134. type: integer
  37135. produces:
  37136. - application/json
  37137. responses:
  37138. "200":
  37139. description: OK
  37140. schema:
  37141. items:
  37142. $ref: '#/definitions/models.MineTradePositionEx'
  37143. type: array
  37144. "500":
  37145. description: Internal Server Error
  37146. schema:
  37147. $ref: '#/definitions/app.Response'
  37148. security:
  37149. - ApiKeyAuth: []
  37150. summary: 我的持仓-转让持仓
  37151. tags:
  37152. - 我的
  37153. /Mine/QueryMineTradeTradeDetails:
  37154. get:
  37155. parameters:
  37156. - description: 用户ID
  37157. in: query
  37158. name: userid
  37159. required: true
  37160. type: integer
  37161. - description: 页码
  37162. in: query
  37163. name: page
  37164. type: integer
  37165. - description: 每页条数
  37166. in: query
  37167. name: pagesize
  37168. type: integer
  37169. - description: 是否历史查询
  37170. in: query
  37171. name: ishis
  37172. type: boolean
  37173. - description: 开始交易日(yyyymmdd)
  37174. in: query
  37175. name: begindate
  37176. type: string
  37177. - description: 结束交易日(yyyymmdd)
  37178. in: query
  37179. name: enddate
  37180. type: string
  37181. produces:
  37182. - application/json
  37183. responses:
  37184. "200":
  37185. description: OK
  37186. schema:
  37187. items:
  37188. $ref: '#/definitions/models.MineTradeTradeDetail'
  37189. type: array
  37190. "500":
  37191. description: Internal Server Error
  37192. schema:
  37193. $ref: '#/definitions/app.Response'
  37194. security:
  37195. - ApiKeyAuth: []
  37196. summary: 我的订单-转让成交
  37197. tags:
  37198. - 我的
  37199. /Order/QueryHisTradeDetail:
  37200. get:
  37201. parameters:
  37202. - description: 资金账户 - 格式:1,2,3
  37203. in: query
  37204. name: accountID
  37205. required: true
  37206. type: string
  37207. - description: 成交单号
  37208. in: query
  37209. name: tradeID
  37210. type: integer
  37211. - description: 委托单号
  37212. in: query
  37213. name: orderID
  37214. type: integer
  37215. - description: 商品ID
  37216. in: query
  37217. name: goodsID
  37218. type: integer
  37219. - description: 交易模式 - 格式:1,2,3
  37220. in: query
  37221. name: tradeMode
  37222. type: string
  37223. - description: 委托单据类型
  37224. in: query
  37225. name: buildType
  37226. type: integer
  37227. - description: 成交类别 - 格式:1,2,3
  37228. in: query
  37229. name: tradeType
  37230. type: string
  37231. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  37232. in: query
  37233. name: startDate
  37234. type: string
  37235. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  37236. in: query
  37237. name: endDate
  37238. type: string
  37239. produces:
  37240. - application/json
  37241. responses:
  37242. "200":
  37243. description: OK
  37244. schema:
  37245. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  37246. "500":
  37247. description: Internal Server Error
  37248. schema:
  37249. $ref: '#/definitions/app.Response'
  37250. security:
  37251. - ApiKeyAuth: []
  37252. summary: 历史成交单查询(合约市场)
  37253. tags:
  37254. - 通用单据
  37255. /Order/QueryHisTradeOrderDetail:
  37256. get:
  37257. parameters:
  37258. - description: 资金账户 - 格式:1,2,3
  37259. in: query
  37260. name: accountID
  37261. required: true
  37262. type: string
  37263. - description: 交易模式 - 格式:1,2,3
  37264. in: query
  37265. name: tradeMode
  37266. type: string
  37267. - description: 委托状态 - 格式:1,2,3
  37268. in: query
  37269. name: orderStatus
  37270. type: string
  37271. - description: 委托单号
  37272. in: query
  37273. name: orderID
  37274. type: integer
  37275. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  37276. in: query
  37277. name: startDate
  37278. type: string
  37279. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  37280. in: query
  37281. name: endDate
  37282. type: string
  37283. produces:
  37284. - application/json
  37285. responses:
  37286. "200":
  37287. description: OK
  37288. schema:
  37289. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  37290. "500":
  37291. description: Internal Server Error
  37292. schema:
  37293. $ref: '#/definitions/app.Response'
  37294. security:
  37295. - ApiKeyAuth: []
  37296. summary: 历史委托单查询请求(合约市场)
  37297. tags:
  37298. - 通用单据
  37299. /Order/QueryTradeDetail:
  37300. get:
  37301. parameters:
  37302. - description: 资金账户 - 格式:1,2,3
  37303. in: query
  37304. name: accountID
  37305. required: true
  37306. type: string
  37307. - description: 成交单号
  37308. in: query
  37309. name: tradeID
  37310. type: integer
  37311. - description: 委托单号
  37312. in: query
  37313. name: orderID
  37314. type: integer
  37315. - description: 交易模式 - 格式:1,2,3
  37316. in: query
  37317. name: tradeMode
  37318. type: string
  37319. - description: 委托单据类型
  37320. in: query
  37321. name: buildType
  37322. type: integer
  37323. - description: 成交类别 - 格式:1,2,3
  37324. in: query
  37325. name: tradeType
  37326. type: string
  37327. - description: 商品ID
  37328. in: query
  37329. name: goodsID
  37330. type: integer
  37331. produces:
  37332. - application/json
  37333. responses:
  37334. "200":
  37335. description: OK
  37336. schema:
  37337. $ref: '#/definitions/order.QueryTradeDetailRsp'
  37338. "500":
  37339. description: Internal Server Error
  37340. schema:
  37341. $ref: '#/definitions/app.Response'
  37342. security:
  37343. - ApiKeyAuth: []
  37344. summary: 成交单查询(合约市场)
  37345. tags:
  37346. - 通用单据
  37347. /Order/QueryTradeHolderDetail:
  37348. get:
  37349. parameters:
  37350. - description: 用户id
  37351. in: query
  37352. name: userid
  37353. type: integer
  37354. - description: 资金账号, 格式 1,2,3
  37355. in: query
  37356. name: accids
  37357. type: string
  37358. - description: 交易模式, 格式 1,2,3
  37359. in: query
  37360. name: trademodes
  37361. type: string
  37362. - description: 市场id, 格式 1,2,3
  37363. in: query
  37364. name: marketids
  37365. type: string
  37366. - description: 商品id
  37367. in: query
  37368. name: goodsid
  37369. type: integer
  37370. - description: 买卖方向 0-买 1-卖
  37371. in: query
  37372. name: buyorsell
  37373. type: integer
  37374. produces:
  37375. - application/json
  37376. responses:
  37377. "200":
  37378. description: OK
  37379. schema:
  37380. items:
  37381. $ref: '#/definitions/models.TradeHolderDetail'
  37382. type: array
  37383. "500":
  37384. description: Internal Server Error
  37385. schema:
  37386. $ref: '#/definitions/app.Response'
  37387. security:
  37388. - ApiKeyAuth: []
  37389. summary: 查询持仓明细
  37390. tags:
  37391. - 通用单据
  37392. /Order/QueryTradeOrderDetail:
  37393. get:
  37394. parameters:
  37395. - description: 资金账户 - 格式:1,2,3
  37396. in: query
  37397. name: accountID
  37398. required: true
  37399. type: string
  37400. - description: 交易模式 - 格式:1,2,3
  37401. in: query
  37402. name: tradeMode
  37403. type: string
  37404. - description: 委托状态 - 格式:1,2,3
  37405. in: query
  37406. name: orderStatus
  37407. type: string
  37408. - description: 委托单号
  37409. in: query
  37410. name: orderID
  37411. type: integer
  37412. produces:
  37413. - application/json
  37414. responses:
  37415. "200":
  37416. description: OK
  37417. schema:
  37418. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  37419. "500":
  37420. description: Internal Server Error
  37421. schema:
  37422. $ref: '#/definitions/app.Response'
  37423. security:
  37424. - ApiKeyAuth: []
  37425. summary: 委托单查询请求(合约市场)
  37426. tags:
  37427. - 通用单据
  37428. /Order/QueryTradePosition:
  37429. get:
  37430. parameters:
  37431. - description: 资金账户 - 格式:1,2,3
  37432. in: query
  37433. name: accountID
  37434. required: true
  37435. type: string
  37436. - description: 交易模式 - 格式:1,2,3
  37437. in: query
  37438. name: tradeMode
  37439. type: string
  37440. produces:
  37441. - application/json
  37442. responses:
  37443. "200":
  37444. description: OK
  37445. schema:
  37446. $ref: '#/definitions/order.QueryTradePositionRsp'
  37447. "500":
  37448. description: Internal Server Error
  37449. schema:
  37450. $ref: '#/definitions/app.Response'
  37451. security:
  37452. - ApiKeyAuth: []
  37453. summary: 持仓汇总查询(合约市场)
  37454. tags:
  37455. - 通用单据
  37456. /Presale/QueryPresaleAuctions:
  37457. get:
  37458. parameters:
  37459. - description: 预售模式 - 1:一口价 2:大宗式竞拍 3:挂牌预售(HSBY) 4:定金预售(大宗) 5:定金预售(中签)
  37460. in: query
  37461. name: presalemode
  37462. required: true
  37463. type: integer
  37464. - description: 预售状态 - 1:未开始 2:预售中 3:已结束 4:已关闭
  37465. in: query
  37466. name: presalestatus
  37467. type: integer
  37468. - description: 预售状态 - 1:未开始 2:预售中 3:已结束 4:已关闭 (多个逗号分隔)
  37469. in: query
  37470. name: presalestatusstr
  37471. type: string
  37472. - description: 页码
  37473. in: query
  37474. name: page
  37475. type: integer
  37476. - description: 每页条数
  37477. in: query
  37478. name: pagesize
  37479. type: integer
  37480. produces:
  37481. - application/json
  37482. responses:
  37483. "200":
  37484. description: OK
  37485. schema:
  37486. items:
  37487. $ref: '#/definitions/models.PresaleAuction'
  37488. type: array
  37489. "500":
  37490. description: Internal Server Error
  37491. schema:
  37492. $ref: '#/definitions/app.Response'
  37493. security:
  37494. - ApiKeyAuth: []
  37495. summary: 查询预售竞拍列表
  37496. tags:
  37497. - 预售
  37498. /Presale/QueryPresaleDefault:
  37499. get:
  37500. parameters:
  37501. - description: 商品ID
  37502. in: query
  37503. name: goodsid
  37504. required: true
  37505. type: integer
  37506. produces:
  37507. - application/json
  37508. responses:
  37509. "200":
  37510. description: OK
  37511. schema:
  37512. $ref: '#/definitions/models.PresaleDefault'
  37513. "500":
  37514. description: Internal Server Error
  37515. schema:
  37516. $ref: '#/definitions/app.Response'
  37517. security:
  37518. - ApiKeyAuth: []
  37519. summary: 查询转让详情
  37520. tags:
  37521. - 预售
  37522. /Qhj/QueryAccountInOutApply:
  37523. get:
  37524. parameters:
  37525. - description: 用户ID
  37526. in: query
  37527. name: userid
  37528. required: true
  37529. type: integer
  37530. - description: 申请起始日期(格式yyyymmdd)
  37531. in: query
  37532. name: begindate
  37533. type: string
  37534. - description: 申请截止日期(格式yyyymmdd)
  37535. in: query
  37536. name: enddate
  37537. type: string
  37538. - description: 模糊搜索名称
  37539. in: query
  37540. name: likename
  37541. type: string
  37542. - description: 状态 1-待审核 2-审核通过 3-审核拒绝
  37543. in: query
  37544. name: applystatus
  37545. type: integer
  37546. - description: 查询类型 1-提现(出金) 2-充值(入金)
  37547. in: query
  37548. name: querytype
  37549. type: integer
  37550. produces:
  37551. - application/json
  37552. responses:
  37553. "200":
  37554. description: OK
  37555. schema:
  37556. items:
  37557. $ref: '#/definitions/models.QhjAccountOutInApply'
  37558. type: array
  37559. "500":
  37560. description: Internal Server Error
  37561. schema:
  37562. $ref: '#/definitions/app.Response'
  37563. security:
  37564. - ApiKeyAuth: []
  37565. summary: 查询充值提现
  37566. tags:
  37567. - 大连千海金
  37568. /Qhj/QueryAreaFinanceConfig:
  37569. get:
  37570. parameters:
  37571. - description: 机构用户ID 其他做市关系,都设置为 1
  37572. in: query
  37573. name: userid
  37574. type: integer
  37575. produces:
  37576. - application/json
  37577. responses:
  37578. "200":
  37579. description: OK
  37580. schema:
  37581. items:
  37582. $ref: '#/definitions/models.QhjAreaFinanceConfig'
  37583. type: array
  37584. "500":
  37585. description: Internal Server Error
  37586. schema:
  37587. $ref: '#/definitions/app.Response'
  37588. security:
  37589. - ApiKeyAuth: []
  37590. summary: 查询企业配置表
  37591. tags:
  37592. - 大连千海金
  37593. /Qhj/QueryBankAccountSign:
  37594. get:
  37595. parameters:
  37596. - description: 用户ID
  37597. in: query
  37598. name: userid
  37599. required: true
  37600. type: integer
  37601. produces:
  37602. - application/json
  37603. responses:
  37604. "200":
  37605. description: OK
  37606. schema:
  37607. items:
  37608. $ref: '#/definitions/models.QhjBankAccountSign'
  37609. type: array
  37610. "500":
  37611. description: Internal Server Error
  37612. schema:
  37613. $ref: '#/definitions/app.Response'
  37614. security:
  37615. - ApiKeyAuth: []
  37616. summary: 查询签约银行信息(提现账户管理)
  37617. tags:
  37618. - 大连千海金
  37619. /Qhj/QueryBankInfo:
  37620. get:
  37621. produces:
  37622. - application/json
  37623. responses:
  37624. "200":
  37625. description: OK
  37626. schema:
  37627. items:
  37628. $ref: '#/definitions/models.QhjBankInfo'
  37629. type: array
  37630. "500":
  37631. description: Internal Server Error
  37632. schema:
  37633. $ref: '#/definitions/app.Response'
  37634. security:
  37635. - ApiKeyAuth: []
  37636. summary: 查询开户行
  37637. tags:
  37638. - 大连千海金
  37639. /Qhj/QueryBrokerApply:
  37640. get:
  37641. parameters:
  37642. - description: 所属机构ID
  37643. in: query
  37644. name: userid
  37645. type: integer
  37646. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  37647. in: query
  37648. name: filterstatus
  37649. type: string
  37650. produces:
  37651. - application/json
  37652. responses:
  37653. "200":
  37654. description: OK
  37655. schema:
  37656. items:
  37657. $ref: '#/definitions/models.QhjBrokerApply'
  37658. type: array
  37659. "500":
  37660. description: Internal Server Error
  37661. schema:
  37662. $ref: '#/definitions/app.Response'
  37663. security:
  37664. - ApiKeyAuth: []
  37665. summary: 查询经纪人申请
  37666. tags:
  37667. - 大连千海金
  37668. /Qhj/QueryBrokerApplyEx:
  37669. get:
  37670. parameters:
  37671. - description: 所属机构ID
  37672. in: query
  37673. name: userid
  37674. type: integer
  37675. produces:
  37676. - application/json
  37677. responses:
  37678. "200":
  37679. description: OK
  37680. schema:
  37681. items:
  37682. $ref: '#/definitions/models.QhjBrokerApplyEx'
  37683. type: array
  37684. "500":
  37685. description: Internal Server Error
  37686. schema:
  37687. $ref: '#/definitions/app.Response'
  37688. security:
  37689. - ApiKeyAuth: []
  37690. summary: 查询经纪人信息和申请记录
  37691. tags:
  37692. - 大连千海金
  37693. /Qhj/QueryBrokerRewardLog:
  37694. get:
  37695. parameters:
  37696. - description: 用户ID
  37697. in: query
  37698. name: userid
  37699. required: true
  37700. type: integer
  37701. - description: 开始交易日(yyyymmdd)
  37702. in: query
  37703. name: begindate
  37704. type: string
  37705. - description: 结束交易日(yyyymmdd)
  37706. in: query
  37707. name: enddate
  37708. type: string
  37709. produces:
  37710. - application/json
  37711. responses:
  37712. "200":
  37713. description: OK
  37714. schema:
  37715. items:
  37716. $ref: '#/definitions/models.QhjBrokerRewardLog'
  37717. type: array
  37718. "500":
  37719. description: Internal Server Error
  37720. schema:
  37721. $ref: '#/definitions/app.Response'
  37722. security:
  37723. - ApiKeyAuth: []
  37724. summary: 查询奖励流水(我的奖励)
  37725. tags:
  37726. - 大连千海金
  37727. /Qhj/QueryContract:
  37728. get:
  37729. parameters:
  37730. - description: 用户ID
  37731. in: query
  37732. name: userid
  37733. type: integer
  37734. - description: scf合同id
  37735. in: query
  37736. name: scfcontractid
  37737. type: integer
  37738. produces:
  37739. - application/json
  37740. responses:
  37741. "200":
  37742. description: OK
  37743. schema:
  37744. items:
  37745. $ref: '#/definitions/models.QhjContract'
  37746. type: array
  37747. "500":
  37748. description: Internal Server Error
  37749. schema:
  37750. $ref: '#/definitions/app.Response'
  37751. security:
  37752. - ApiKeyAuth: []
  37753. summary: 查询融资明细(合同)
  37754. tags:
  37755. - 大连千海金
  37756. /Qhj/QueryContractLog:
  37757. get:
  37758. parameters:
  37759. - description: scf合同id
  37760. in: query
  37761. name: scfcontractid
  37762. required: true
  37763. type: integer
  37764. - description: 资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款
  37765. in: query
  37766. name: amounttype
  37767. type: string
  37768. produces:
  37769. - application/json
  37770. responses:
  37771. "200":
  37772. description: OK
  37773. schema:
  37774. items:
  37775. $ref: '#/definitions/models.QhjContractLog'
  37776. type: array
  37777. "500":
  37778. description: Internal Server Error
  37779. schema:
  37780. $ref: '#/definitions/app.Response'
  37781. security:
  37782. - ApiKeyAuth: []
  37783. summary: 查询融资明细流水(融资明细详情页中的流水)
  37784. tags:
  37785. - 大连千海金
  37786. /Qhj/QueryCusBankSignBank:
  37787. get:
  37788. produces:
  37789. - application/json
  37790. responses:
  37791. "200":
  37792. description: OK
  37793. schema:
  37794. items:
  37795. $ref: '#/definitions/models.QhjCusBankSignBankEx'
  37796. type: array
  37797. "500":
  37798. description: Internal Server Error
  37799. schema:
  37800. $ref: '#/definitions/app.Response'
  37801. security:
  37802. - ApiKeyAuth: []
  37803. summary: 查询托管银行
  37804. tags:
  37805. - 大连千海金
  37806. /Qhj/QueryCustomerInfo:
  37807. get:
  37808. parameters:
  37809. - description: 用户ID
  37810. in: query
  37811. name: userid
  37812. required: true
  37813. type: integer
  37814. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  37815. in: query
  37816. name: querytype
  37817. required: true
  37818. type: integer
  37819. - description: 客户类型 1-个人 2-企业
  37820. in: query
  37821. name: userinfotype
  37822. type: integer
  37823. - description: 客户名称(模糊匹配)
  37824. in: query
  37825. name: customername
  37826. type: string
  37827. - description: 昵称(模糊匹配)
  37828. in: query
  37829. name: nickname
  37830. type: string
  37831. - description: 是否包含子级 1-包含
  37832. in: query
  37833. name: includesub
  37834. type: integer
  37835. produces:
  37836. - application/json
  37837. responses:
  37838. "200":
  37839. description: OK
  37840. schema:
  37841. items:
  37842. $ref: '#/definitions/models.QhjCustomer'
  37843. type: array
  37844. "500":
  37845. description: Internal Server Error
  37846. schema:
  37847. $ref: '#/definitions/app.Response'
  37848. security:
  37849. - ApiKeyAuth: []
  37850. summary: 查询客户资料
  37851. tags:
  37852. - 大连千海金
  37853. /Qhj/QueryGoodsEx:
  37854. get:
  37855. parameters:
  37856. - description: 商品id
  37857. in: query
  37858. name: goodsid
  37859. type: integer
  37860. produces:
  37861. - application/json
  37862. responses:
  37863. "200":
  37864. description: OK
  37865. schema:
  37866. items:
  37867. $ref: '#/definitions/models.Qhjgoodsex'
  37868. type: array
  37869. "500":
  37870. description: Internal Server Error
  37871. schema:
  37872. $ref: '#/definitions/app.Response'
  37873. security:
  37874. - ApiKeyAuth: []
  37875. summary: 交易商品扩展表
  37876. tags:
  37877. - 大连千海金
  37878. /Qhj/QueryMyTeam:
  37879. get:
  37880. parameters:
  37881. - description: 用户ID
  37882. in: query
  37883. name: userid
  37884. required: true
  37885. type: integer
  37886. produces:
  37887. - application/json
  37888. responses:
  37889. "200":
  37890. description: OK
  37891. schema:
  37892. items:
  37893. $ref: '#/definitions/models.QhjMyTeamEx'
  37894. type: array
  37895. "500":
  37896. description: Internal Server Error
  37897. schema:
  37898. $ref: '#/definitions/app.Response'
  37899. security:
  37900. - ApiKeyAuth: []
  37901. summary: 查询我的团队
  37902. tags:
  37903. - 大连千海金
  37904. /Qhj/QueryMyTeamOrder:
  37905. get:
  37906. parameters:
  37907. - description: 页码
  37908. in: query
  37909. name: page
  37910. type: integer
  37911. - description: 每页条数
  37912. in: query
  37913. name: pagesize
  37914. type: integer
  37915. - description: 用户ID
  37916. in: query
  37917. name: userid
  37918. required: true
  37919. type: integer
  37920. - description: 交易模式
  37921. in: query
  37922. name: trademode
  37923. type: integer
  37924. - description: 名称(模糊搜索账户)
  37925. in: query
  37926. name: filtername
  37927. type: string
  37928. produces:
  37929. - application/json
  37930. responses:
  37931. "200":
  37932. description: OK
  37933. schema:
  37934. items:
  37935. $ref: '#/definitions/models.QhjTeamOrder'
  37936. type: array
  37937. "500":
  37938. description: Internal Server Error
  37939. schema:
  37940. $ref: '#/definitions/app.Response'
  37941. security:
  37942. - ApiKeyAuth: []
  37943. summary: 查询团队订单(我的团队/团队订单)
  37944. tags:
  37945. - 大连千海金
  37946. /Qhj/QueryParentAreaList:
  37947. get:
  37948. parameters:
  37949. - description: 用户ID
  37950. in: query
  37951. name: userid
  37952. required: true
  37953. type: integer
  37954. produces:
  37955. - application/json
  37956. responses:
  37957. "200":
  37958. description: OK
  37959. schema:
  37960. items:
  37961. $ref: '#/definitions/models.QhjParentAreaList'
  37962. type: array
  37963. "500":
  37964. description: Internal Server Error
  37965. schema:
  37966. $ref: '#/definitions/app.Response'
  37967. security:
  37968. - ApiKeyAuth: []
  37969. summary: 查询所属机构列表
  37970. tags:
  37971. - 大连千海金
  37972. /Qhj/QueryPayOrder:
  37973. get:
  37974. parameters:
  37975. - description: 资金账号id
  37976. in: query
  37977. name: accountid
  37978. required: true
  37979. type: integer
  37980. - description: 成交单号
  37981. in: query
  37982. name: tradeid
  37983. type: integer
  37984. - description: 付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  37985. in: query
  37986. name: payflag
  37987. type: string
  37988. produces:
  37989. - application/json
  37990. responses:
  37991. "200":
  37992. description: OK
  37993. schema:
  37994. items:
  37995. $ref: '#/definitions/models.QhjPayOrder'
  37996. type: array
  37997. "500":
  37998. description: Internal Server Error
  37999. schema:
  38000. $ref: '#/definitions/app.Response'
  38001. security:
  38002. - ApiKeyAuth: []
  38003. summary: 查询待付款单据
  38004. tags:
  38005. - 大连千海金
  38006. /Qhj/QueryPickArea:
  38007. get:
  38008. parameters:
  38009. - description: 用户ID
  38010. in: query
  38011. name: userid
  38012. type: integer
  38013. produces:
  38014. - application/json
  38015. responses:
  38016. "200":
  38017. description: OK
  38018. schema:
  38019. items:
  38020. $ref: '#/definitions/models.QhjPickArea'
  38021. type: array
  38022. "500":
  38023. description: Internal Server Error
  38024. schema:
  38025. $ref: '#/definitions/app.Response'
  38026. security:
  38027. - ApiKeyAuth: []
  38028. summary: 查询提货门店
  38029. tags:
  38030. - 大连千海金
  38031. /Qhj/QueryPickGoods:
  38032. get:
  38033. parameters:
  38034. - description: 交易商品id
  38035. in: query
  38036. name: goodsid
  38037. required: true
  38038. type: integer
  38039. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  38040. in: query
  38041. name: status
  38042. type: string
  38043. produces:
  38044. - application/json
  38045. responses:
  38046. "200":
  38047. description: OK
  38048. schema:
  38049. items:
  38050. $ref: '#/definitions/models.QhjPickGoods'
  38051. type: array
  38052. "500":
  38053. description: Internal Server Error
  38054. schema:
  38055. $ref: '#/definitions/app.Response'
  38056. security:
  38057. - ApiKeyAuth: []
  38058. summary: 查询提货商品
  38059. tags:
  38060. - 大连千海金
  38061. /Qhj/QueryRSTriggerLog:
  38062. get:
  38063. parameters:
  38064. - description: 用户ID
  38065. in: query
  38066. name: userid
  38067. type: integer
  38068. - description: 定投策略id
  38069. in: query
  38070. name: regularlystrategyid
  38071. type: integer
  38072. - description: 商品id
  38073. in: query
  38074. name: goodsid
  38075. type: integer
  38076. - description: 开始交易日(yyyymmdd)
  38077. in: query
  38078. name: begindate
  38079. type: string
  38080. - description: 结束交易日(yyyymmdd)
  38081. in: query
  38082. name: enddate
  38083. type: string
  38084. - description: 名称(模糊搜索账户)
  38085. in: query
  38086. name: filtername
  38087. type: string
  38088. produces:
  38089. - application/json
  38090. responses:
  38091. "200":
  38092. description: OK
  38093. schema:
  38094. items:
  38095. $ref: '#/definitions/models.QhjRSTriggerLog'
  38096. type: array
  38097. "500":
  38098. description: Internal Server Error
  38099. schema:
  38100. $ref: '#/definitions/app.Response'
  38101. security:
  38102. - ApiKeyAuth: []
  38103. summary: 查询定投记录(定投管理/详情/定投记录)
  38104. tags:
  38105. - 大连千海金
  38106. /Qhj/QueryRStrategy:
  38107. get:
  38108. parameters:
  38109. - description: 用户ID
  38110. in: query
  38111. name: userid
  38112. type: integer
  38113. - description: 商品id
  38114. in: query
  38115. name: goodsid
  38116. type: integer
  38117. - description: 策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止
  38118. in: query
  38119. name: status
  38120. type: string
  38121. - description: 名称(模糊搜索账户)
  38122. in: query
  38123. name: filtername
  38124. type: string
  38125. produces:
  38126. - application/json
  38127. responses:
  38128. "200":
  38129. description: OK
  38130. schema:
  38131. items:
  38132. $ref: '#/definitions/models.QhjRStrategy'
  38133. type: array
  38134. "500":
  38135. description: Internal Server Error
  38136. schema:
  38137. $ref: '#/definitions/app.Response'
  38138. security:
  38139. - ApiKeyAuth: []
  38140. summary: 查询定投设置(我的定投/历史定投[状态=已终止])
  38141. tags:
  38142. - 大连千海金
  38143. /Qhj/QueryReckonPriceLog:
  38144. get:
  38145. parameters:
  38146. - description: 商品ID
  38147. in: query
  38148. name: goodsid
  38149. type: integer
  38150. - description: 交易日 格式(yyyymmdd)
  38151. in: query
  38152. name: tradedate
  38153. type: string
  38154. produces:
  38155. - application/json
  38156. responses:
  38157. "200":
  38158. description: OK
  38159. schema:
  38160. items:
  38161. $ref: '#/definitions/models.QhjReckonPriceLog'
  38162. type: array
  38163. "500":
  38164. description: Internal Server Error
  38165. schema:
  38166. $ref: '#/definitions/app.Response'
  38167. security:
  38168. - ApiKeyAuth: []
  38169. summary: 查询定投价(结算价)
  38170. tags:
  38171. - 大连千海金
  38172. /Qhj/QueryScoreLog:
  38173. get:
  38174. parameters:
  38175. - description: 用户ID
  38176. in: query
  38177. name: userid
  38178. required: true
  38179. type: integer
  38180. - description: 开始交易日(yyyymmdd)
  38181. in: query
  38182. name: begindate
  38183. type: string
  38184. - description: 结束交易日(yyyymmdd)
  38185. in: query
  38186. name: enddate
  38187. type: string
  38188. - description: 最近多少条
  38189. in: query
  38190. name: lastnum
  38191. type: integer
  38192. produces:
  38193. - application/json
  38194. responses:
  38195. "200":
  38196. description: OK
  38197. schema:
  38198. items:
  38199. $ref: '#/definitions/models.QhjScoreLog'
  38200. type: array
  38201. "500":
  38202. description: Internal Server Error
  38203. schema:
  38204. $ref: '#/definitions/app.Response'
  38205. security:
  38206. - ApiKeyAuth: []
  38207. summary: 查询积分流水(我的积分)
  38208. tags:
  38209. - 大连千海金
  38210. /Qhj/QuerySiteColumnDetail:
  38211. get:
  38212. parameters:
  38213. - description: 用户ID
  38214. in: query
  38215. name: userid
  38216. required: true
  38217. type: integer
  38218. produces:
  38219. - application/json
  38220. responses:
  38221. "200":
  38222. description: OK
  38223. schema:
  38224. items:
  38225. $ref: '#/definitions/models.QhjSiteColumnDetail'
  38226. type: array
  38227. "500":
  38228. description: Internal Server Error
  38229. schema:
  38230. $ref: '#/definitions/app.Response'
  38231. summary: 查询资讯
  38232. tags:
  38233. - 大连千海金
  38234. /Qhj/QueryTradeGoodsPickup:
  38235. get:
  38236. parameters:
  38237. - description: 用户ID
  38238. in: query
  38239. name: userid
  38240. required: true
  38241. type: integer
  38242. - description: 提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  38243. 7:已拒绝 8:已撤销
  38244. in: query
  38245. name: takeorderstatus
  38246. type: integer
  38247. produces:
  38248. - application/json
  38249. responses:
  38250. "200":
  38251. description: OK
  38252. schema:
  38253. items:
  38254. $ref: '#/definitions/models.QhjTradeGoodsPickup'
  38255. type: array
  38256. "500":
  38257. description: Internal Server Error
  38258. schema:
  38259. $ref: '#/definitions/app.Response'
  38260. security:
  38261. - ApiKeyAuth: []
  38262. summary: 查询提货
  38263. tags:
  38264. - 大连千海金
  38265. /Qhj/QueryUserCollectConfig:
  38266. get:
  38267. parameters:
  38268. - description: 用户ID
  38269. in: query
  38270. name: userid
  38271. required: true
  38272. type: integer
  38273. produces:
  38274. - application/json
  38275. responses:
  38276. "200":
  38277. description: OK
  38278. schema:
  38279. items:
  38280. $ref: '#/definitions/models.UserCollectConfig'
  38281. type: array
  38282. "500":
  38283. description: Internal Server Error
  38284. schema:
  38285. $ref: '#/definitions/app.Response'
  38286. security:
  38287. - ApiKeyAuth: []
  38288. summary: 查询提现账户设置
  38289. tags:
  38290. - 大连千海金
  38291. /Qhj/QueryUserReceiveInfo:
  38292. get:
  38293. parameters:
  38294. - description: 用户ID
  38295. in: query
  38296. name: userid
  38297. required: true
  38298. type: integer
  38299. produces:
  38300. - application/json
  38301. responses:
  38302. "200":
  38303. description: OK
  38304. schema:
  38305. items:
  38306. $ref: '#/definitions/models.UserReceiveInfo'
  38307. type: array
  38308. "500":
  38309. description: Internal Server Error
  38310. schema:
  38311. $ref: '#/definitions/app.Response'
  38312. security:
  38313. - ApiKeyAuth: []
  38314. summary: 查询收货地址信息
  38315. tags:
  38316. - 大连千海金
  38317. /QhjMgr/QueryAccountInOutApply:
  38318. get:
  38319. parameters:
  38320. - description: 查询类型 1-提现(出金) 2-充值(出金)
  38321. in: query
  38322. name: querytype
  38323. required: true
  38324. type: integer
  38325. - description: 状态 1-待审核 2-审核通过 3-审核拒绝
  38326. in: query
  38327. name: applystatus
  38328. type: integer
  38329. - description: 申请起始日期(格式yyyymmdd)
  38330. in: query
  38331. name: begindate
  38332. type: string
  38333. - description: 申请截止日期(格式yyyymmdd)
  38334. in: query
  38335. name: enddate
  38336. type: string
  38337. - description: 模糊搜索名称
  38338. in: query
  38339. name: likename
  38340. type: string
  38341. produces:
  38342. - application/json
  38343. responses:
  38344. "200":
  38345. description: OK
  38346. schema:
  38347. items:
  38348. $ref: '#/definitions/models.QhjMgrAccountOutInApply'
  38349. type: array
  38350. "500":
  38351. description: Internal Server Error
  38352. schema:
  38353. $ref: '#/definitions/app.Response'
  38354. security:
  38355. - ApiKeyAuth: []
  38356. summary: 查询充值提现
  38357. tags:
  38358. - 大连千海金(PCWeb)
  38359. /QhjMgr/QueryBrokerApply:
  38360. get:
  38361. parameters:
  38362. - description: 所属机构ID
  38363. in: query
  38364. name: userid
  38365. type: integer
  38366. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  38367. in: query
  38368. name: filterstatus
  38369. type: string
  38370. - description: 名称(模糊匹配)
  38371. in: query
  38372. name: filtername
  38373. type: string
  38374. - description: 是否包含子级 1-包含
  38375. in: query
  38376. name: includesub
  38377. type: integer
  38378. produces:
  38379. - application/json
  38380. responses:
  38381. "200":
  38382. description: OK
  38383. schema:
  38384. items:
  38385. $ref: '#/definitions/models.QhjMgrBrokerApply'
  38386. type: array
  38387. "500":
  38388. description: Internal Server Error
  38389. schema:
  38390. $ref: '#/definitions/app.Response'
  38391. security:
  38392. - ApiKeyAuth: []
  38393. summary: 查询经纪人申请
  38394. tags:
  38395. - 大连千海金(PCWeb)
  38396. /QhjMgr/QueryBrokerRewardReport:
  38397. get:
  38398. parameters:
  38399. - description: 所属机构ID
  38400. in: query
  38401. name: userid
  38402. required: true
  38403. type: integer
  38404. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  38405. in: query
  38406. name: cycletype
  38407. required: true
  38408. type: integer
  38409. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  38410. in: query
  38411. name: cycletime
  38412. required: true
  38413. type: string
  38414. - description: 名称(模糊匹配)
  38415. in: query
  38416. name: filtername
  38417. type: string
  38418. - description: 是否包含子级 1-包含
  38419. in: query
  38420. name: includesub
  38421. type: integer
  38422. produces:
  38423. - application/json
  38424. responses:
  38425. "200":
  38426. description: OK
  38427. schema:
  38428. items:
  38429. $ref: '#/definitions/models.QhjMgrBrokerRewardReport'
  38430. type: array
  38431. "500":
  38432. description: Internal Server Error
  38433. schema:
  38434. $ref: '#/definitions/app.Response'
  38435. security:
  38436. - ApiKeyAuth: []
  38437. summary: 查询经纪人奖励报表(废弃)
  38438. tags:
  38439. - 大连千海金(PCWeb)
  38440. /QhjMgr/QueryContract:
  38441. get:
  38442. parameters:
  38443. - description: 用户ID
  38444. in: query
  38445. name: userid
  38446. type: integer
  38447. - description: 商品id
  38448. in: query
  38449. name: goodsid
  38450. type: integer
  38451. - description: 名称(模糊搜索账户)
  38452. in: query
  38453. name: filtername
  38454. type: string
  38455. - description: 风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款
  38456. in: query
  38457. name: risklevel
  38458. type: string
  38459. - description: 开始交易日(yyyymmdd)
  38460. in: query
  38461. name: begindate
  38462. type: string
  38463. - description: 结束交易日(yyyymmdd)
  38464. in: query
  38465. name: enddate
  38466. type: string
  38467. produces:
  38468. - application/json
  38469. responses:
  38470. "200":
  38471. description: OK
  38472. schema:
  38473. items:
  38474. $ref: '#/definitions/models.QhjMgrContract'
  38475. type: array
  38476. "500":
  38477. description: Internal Server Error
  38478. schema:
  38479. $ref: '#/definitions/app.Response'
  38480. security:
  38481. - ApiKeyAuth: []
  38482. summary: 查询融资信息(合同)
  38483. tags:
  38484. - 大连千海金(PCWeb)
  38485. /QhjMgr/QueryCustomerInfo:
  38486. get:
  38487. parameters:
  38488. - description: 用户ID
  38489. in: query
  38490. name: userid
  38491. required: true
  38492. type: integer
  38493. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  38494. in: query
  38495. name: querytype
  38496. required: true
  38497. type: integer
  38498. - description: 客户类型 1-个人 2-企业
  38499. in: query
  38500. name: userinfotype
  38501. type: integer
  38502. - description: 客户名称(模糊匹配)
  38503. in: query
  38504. name: customername
  38505. type: string
  38506. - description: 昵称(模糊匹配)
  38507. in: query
  38508. name: nickname
  38509. type: string
  38510. - description: 所属客户经理(模糊匹配)
  38511. in: query
  38512. name: brokername
  38513. type: string
  38514. - description: 生日查询(格式 mmdd 或 mm) 只填2位表示月份匹配(mm, 如05 - 5月), 4位表示查月日匹配(mmdd,
  38515. 如0503 -5月3日)
  38516. in: query
  38517. name: birthday
  38518. type: string
  38519. - description: 是否包含子级 1-包含
  38520. in: query
  38521. name: includesub
  38522. type: integer
  38523. produces:
  38524. - application/json
  38525. responses:
  38526. "200":
  38527. description: OK
  38528. schema:
  38529. items:
  38530. $ref: '#/definitions/models.QhjMgrCustomer'
  38531. type: array
  38532. "500":
  38533. description: Internal Server Error
  38534. schema:
  38535. $ref: '#/definitions/app.Response'
  38536. security:
  38537. - ApiKeyAuth: []
  38538. summary: 查询客户资料
  38539. tags:
  38540. - 大连千海金(PCWeb)
  38541. /QhjMgr/QueryPickGoods:
  38542. get:
  38543. parameters:
  38544. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  38545. in: query
  38546. name: status
  38547. type: string
  38548. produces:
  38549. - application/json
  38550. responses:
  38551. "200":
  38552. description: OK
  38553. schema:
  38554. items:
  38555. $ref: '#/definitions/models.QhjMgrPickGoods'
  38556. type: array
  38557. "500":
  38558. description: Internal Server Error
  38559. schema:
  38560. $ref: '#/definitions/app.Response'
  38561. security:
  38562. - ApiKeyAuth: []
  38563. summary: 查询提货商品
  38564. tags:
  38565. - 大连千海金(PCWeb)
  38566. /QhjMgr/QuerySubArea:
  38567. get:
  38568. parameters:
  38569. - description: 用户ID
  38570. in: query
  38571. name: userid
  38572. required: true
  38573. type: integer
  38574. produces:
  38575. - application/json
  38576. responses:
  38577. "200":
  38578. description: OK
  38579. schema:
  38580. items:
  38581. $ref: '#/definitions/models.QhjMgrSubArea'
  38582. type: array
  38583. "500":
  38584. description: Internal Server Error
  38585. schema:
  38586. $ref: '#/definitions/app.Response'
  38587. security:
  38588. - ApiKeyAuth: []
  38589. summary: 查询子机构列表
  38590. tags:
  38591. - 大连千海金(PCWeb)
  38592. /QhjMgr/QueryTradeDetail:
  38593. get:
  38594. parameters:
  38595. - description: 用户ID
  38596. in: query
  38597. name: userid
  38598. required: true
  38599. type: integer
  38600. - description: 用户类型 1-个人 2-企业
  38601. in: query
  38602. name: userinfotype
  38603. type: integer
  38604. - description: 交易模式
  38605. in: query
  38606. name: trademode
  38607. type: integer
  38608. - description: 商品id
  38609. in: query
  38610. name: goodsid
  38611. type: integer
  38612. - description: 名称(模糊搜索账户)
  38613. in: query
  38614. name: filtername
  38615. type: string
  38616. - description: 开始交易日(yyyymmdd)
  38617. in: query
  38618. name: begindate
  38619. type: string
  38620. - description: 结束交易日(yyyymmdd)
  38621. in: query
  38622. name: enddate
  38623. type: string
  38624. - description: 是否包含子级 1-包含
  38625. in: query
  38626. name: includesub
  38627. type: integer
  38628. produces:
  38629. - application/json
  38630. responses:
  38631. "200":
  38632. description: OK
  38633. schema:
  38634. items:
  38635. $ref: '#/definitions/models.QhjMgrTradeDetailRsp'
  38636. type: array
  38637. "500":
  38638. description: Internal Server Error
  38639. schema:
  38640. $ref: '#/definitions/app.Response'
  38641. security:
  38642. - ApiKeyAuth: []
  38643. summary: 查询成交明细
  38644. tags:
  38645. - 大连千海金(PCWeb)
  38646. /QhjMgr/QueryTradeOrderDetail:
  38647. get:
  38648. parameters:
  38649. - description: 用户ID
  38650. in: query
  38651. name: userid
  38652. required: true
  38653. type: integer
  38654. - description: 用户类型 1-个人 2-企业
  38655. in: query
  38656. name: userinfotype
  38657. type: integer
  38658. - description: 交易模式
  38659. in: query
  38660. name: trademode
  38661. type: integer
  38662. - description: 商品id
  38663. in: query
  38664. name: goodsid
  38665. type: integer
  38666. - description: 名称(模糊搜索账户)
  38667. in: query
  38668. name: filtername
  38669. type: string
  38670. - description: 开始交易日(yyyymmdd)
  38671. in: query
  38672. name: begindate
  38673. type: string
  38674. - description: 结束交易日(yyyymmdd)
  38675. in: query
  38676. name: enddate
  38677. type: string
  38678. - description: 是否包含子级 1-包含
  38679. in: query
  38680. name: includesub
  38681. type: integer
  38682. produces:
  38683. - application/json
  38684. responses:
  38685. "200":
  38686. description: OK
  38687. schema:
  38688. items:
  38689. $ref: '#/definitions/models.QhjMgrTradeOrderDetailRsp'
  38690. type: array
  38691. "500":
  38692. description: Internal Server Error
  38693. schema:
  38694. $ref: '#/definitions/app.Response'
  38695. security:
  38696. - ApiKeyAuth: []
  38697. summary: 查询委托明细
  38698. tags:
  38699. - 大连千海金(PCWeb)
  38700. /QhjMgr/QueryTradePayOrder:
  38701. get:
  38702. parameters:
  38703. - description: 用户ID
  38704. in: query
  38705. name: userid
  38706. required: true
  38707. type: integer
  38708. - description: 付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  38709. in: query
  38710. name: payflag
  38711. type: string
  38712. - description: 用户类型 1-个人 2-企业
  38713. in: query
  38714. name: userinfotype
  38715. type: integer
  38716. - description: 交易模式
  38717. in: query
  38718. name: trademode
  38719. type: integer
  38720. - description: 商品id
  38721. in: query
  38722. name: goodsid
  38723. type: integer
  38724. - description: 名称(模糊搜索账户)
  38725. in: query
  38726. name: filtername
  38727. type: string
  38728. - description: 开始交易日(yyyymmdd)
  38729. in: query
  38730. name: begindate
  38731. type: string
  38732. - description: 结束交易日(yyyymmdd)
  38733. in: query
  38734. name: enddate
  38735. type: string
  38736. - description: 是否包含子级 1-包含
  38737. in: query
  38738. name: includesub
  38739. type: integer
  38740. produces:
  38741. - application/json
  38742. responses:
  38743. "200":
  38744. description: OK
  38745. schema:
  38746. items:
  38747. $ref: '#/definitions/models.QhjMgrTradePayOrder'
  38748. type: array
  38749. "500":
  38750. description: Internal Server Error
  38751. schema:
  38752. $ref: '#/definitions/app.Response'
  38753. security:
  38754. - ApiKeyAuth: []
  38755. summary: 查询待付款单
  38756. tags:
  38757. - 大连千海金(PCWeb)
  38758. /QhjMgr/QueryTradePosition:
  38759. get:
  38760. parameters:
  38761. - description: 用户ID
  38762. in: query
  38763. name: userid
  38764. required: true
  38765. type: integer
  38766. - description: 用户类型 1-个人 2-企业
  38767. in: query
  38768. name: userinfotype
  38769. type: integer
  38770. - description: 交易模式
  38771. in: query
  38772. name: trademode
  38773. type: integer
  38774. - description: 商品id
  38775. in: query
  38776. name: goodsid
  38777. type: integer
  38778. - description: 名称(模糊搜索账户)
  38779. in: query
  38780. name: filtername
  38781. type: string
  38782. - description: 是否包含子级 1-包含
  38783. in: query
  38784. name: includesub
  38785. type: integer
  38786. produces:
  38787. - application/json
  38788. responses:
  38789. "200":
  38790. description: OK
  38791. schema:
  38792. items:
  38793. $ref: '#/definitions/models.QhjMgrPositionRsp'
  38794. type: array
  38795. "500":
  38796. description: Internal Server Error
  38797. schema:
  38798. $ref: '#/definitions/app.Response'
  38799. security:
  38800. - ApiKeyAuth: []
  38801. summary: 查询持仓汇总
  38802. tags:
  38803. - 大连千海金(PCWeb)
  38804. /QhjSys/QueryAgreementChangeLog:
  38805. get:
  38806. parameters:
  38807. - description: 协议ID
  38808. in: query
  38809. name: agreementid
  38810. type: integer
  38811. - description: 协议版本号
  38812. in: query
  38813. name: agreementversion
  38814. type: integer
  38815. - description: 协议类型 - 1:注册 2:登录 3:交易
  38816. in: query
  38817. name: agreementtype
  38818. type: integer
  38819. - description: 协议编号(模糊匹配)
  38820. in: query
  38821. name: agreementno
  38822. type: string
  38823. - description: 协议名称(模糊匹配)
  38824. in: query
  38825. name: agreementname
  38826. type: string
  38827. produces:
  38828. - application/json
  38829. responses:
  38830. "200":
  38831. description: OK
  38832. schema:
  38833. items:
  38834. $ref: '#/definitions/models.QhjAgreementChangeLog'
  38835. type: array
  38836. "500":
  38837. description: Internal Server Error
  38838. schema:
  38839. $ref: '#/definitions/app.Response'
  38840. security:
  38841. - ApiKeyAuth: []
  38842. summary: 查询协议配置变更流水
  38843. tags:
  38844. - 大连千海金(协议和签约信息)
  38845. /QhjSys/QueryAgreementConfig:
  38846. get:
  38847. parameters:
  38848. - description: 协议ID
  38849. in: query
  38850. name: agreementid
  38851. type: integer
  38852. - description: 协议版本号
  38853. in: query
  38854. name: agreementversion
  38855. type: integer
  38856. - description: 协议类型 - 1:注册 2:登录 3:交易
  38857. in: query
  38858. name: agreementtype
  38859. type: integer
  38860. - description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  38861. in: query
  38862. name: isvalid
  38863. type: integer
  38864. - description: 协议编号(模糊匹配)
  38865. in: query
  38866. name: agreementno
  38867. type: string
  38868. - description: 协议名称(模糊匹配)
  38869. in: query
  38870. name: agreementname
  38871. type: string
  38872. produces:
  38873. - application/json
  38874. responses:
  38875. "200":
  38876. description: OK
  38877. schema:
  38878. items:
  38879. $ref: '#/definitions/models.QhjAgreementConfig'
  38880. type: array
  38881. "500":
  38882. description: Internal Server Error
  38883. schema:
  38884. $ref: '#/definitions/app.Response'
  38885. security:
  38886. - ApiKeyAuth: []
  38887. summary: 查询协议配置
  38888. tags:
  38889. - 大连千海金(协议和签约信息)
  38890. /QhjSys/QueryCustomerSignStatus:
  38891. get:
  38892. parameters:
  38893. - description: 客户ID
  38894. in: query
  38895. name: userid
  38896. type: integer
  38897. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  38898. in: query
  38899. name: nodetype
  38900. type: integer
  38901. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  38902. in: query
  38903. name: goodsid
  38904. type: integer
  38905. - description: 创建交易日(yyyyMMdd)
  38906. in: query
  38907. name: tradedate
  38908. type: string
  38909. - description: 用户名称(模糊匹配)
  38910. in: query
  38911. name: username
  38912. type: string
  38913. produces:
  38914. - application/json
  38915. responses:
  38916. "200":
  38917. description: OK
  38918. schema:
  38919. items:
  38920. $ref: '#/definitions/models.QhjCustomerSignStatus'
  38921. type: array
  38922. "500":
  38923. description: Internal Server Error
  38924. schema:
  38925. $ref: '#/definitions/app.Response'
  38926. security:
  38927. - ApiKeyAuth: []
  38928. summary: 查询客户协议签约状态
  38929. tags:
  38930. - 大连千海金(协议和签约信息)
  38931. /QhjSys/QueryNodeAgreementConfig:
  38932. get:
  38933. parameters:
  38934. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  38935. in: query
  38936. name: configid
  38937. type: integer
  38938. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  38939. in: query
  38940. name: nodetype
  38941. type: integer
  38942. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  38943. in: query
  38944. name: goodsid
  38945. type: integer
  38946. - description: 协议ID
  38947. in: query
  38948. name: agreementid
  38949. type: integer
  38950. - description: 协议类型 - 1:注册 2:登录 3:交易
  38951. in: query
  38952. name: agreementtype
  38953. type: integer
  38954. - description: 协议版本号
  38955. in: query
  38956. name: agreementversion
  38957. type: integer
  38958. - description: 协议编号(模糊匹配)
  38959. in: query
  38960. name: agreementno
  38961. type: string
  38962. - description: 协议名称(模糊匹配)
  38963. in: query
  38964. name: agreementname
  38965. type: string
  38966. produces:
  38967. - application/json
  38968. responses:
  38969. "200":
  38970. description: OK
  38971. schema:
  38972. items:
  38973. $ref: '#/definitions/models.QhjNodeAgreementConfig'
  38974. type: array
  38975. "500":
  38976. description: Internal Server Error
  38977. schema:
  38978. $ref: '#/definitions/app.Response'
  38979. security:
  38980. - ApiKeyAuth: []
  38981. summary: 查询协议节点配置
  38982. tags:
  38983. - 大连千海金(协议和签约信息)
  38984. /QhjSys/QueryQhjCustomerSignLog:
  38985. get:
  38986. parameters:
  38987. - description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  38988. in: query
  38989. name: logid
  38990. type: integer
  38991. - description: 客户ID
  38992. in: query
  38993. name: userid
  38994. type: integer
  38995. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  38996. in: query
  38997. name: nodetype
  38998. type: integer
  38999. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  39000. in: query
  39001. name: goodsid
  39002. type: integer
  39003. - description: 协议ID
  39004. in: query
  39005. name: agreementid
  39006. type: integer
  39007. - description: 用户名称(模糊匹配)
  39008. in: query
  39009. name: username
  39010. type: string
  39011. - description: 协议编号(模糊匹配)
  39012. in: query
  39013. name: agreementno
  39014. type: string
  39015. - description: 协议名称(模糊匹配)
  39016. in: query
  39017. name: agreementname
  39018. type: string
  39019. produces:
  39020. - application/json
  39021. responses:
  39022. "200":
  39023. description: OK
  39024. schema:
  39025. items:
  39026. $ref: '#/definitions/models.QhjCustomerSignLog'
  39027. type: array
  39028. "500":
  39029. description: Internal Server Error
  39030. schema:
  39031. $ref: '#/definitions/app.Response'
  39032. security:
  39033. - ApiKeyAuth: []
  39034. summary: 查询客户协议签约流水
  39035. tags:
  39036. - 大连千海金(协议和签约信息)
  39037. /QhjSys/QueryUserNodeCfgAndStatus:
  39038. get:
  39039. parameters:
  39040. - description: 客户ID
  39041. in: query
  39042. name: userid
  39043. type: integer
  39044. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  39045. in: query
  39046. name: configid
  39047. type: integer
  39048. - description: 环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  39049. in: query
  39050. name: nodetype
  39051. type: string
  39052. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  39053. in: query
  39054. name: goodsid
  39055. type: integer
  39056. - description: 协议ID
  39057. in: query
  39058. name: agreementid
  39059. type: integer
  39060. - description: 协议类型 - 1:注册 2:登录 3:交易
  39061. in: query
  39062. name: agreementtype
  39063. type: integer
  39064. - description: 协议版本号
  39065. in: query
  39066. name: agreementversion
  39067. type: integer
  39068. - description: 协议编号(模糊匹配)
  39069. in: query
  39070. name: agreementno
  39071. type: string
  39072. - description: 协议名称(模糊匹配)
  39073. in: query
  39074. name: agreementname
  39075. type: string
  39076. produces:
  39077. - application/json
  39078. responses:
  39079. "200":
  39080. description: OK
  39081. schema:
  39082. items:
  39083. $ref: '#/definitions/models.QhjUserNodeCfgAndStatus'
  39084. type: array
  39085. "500":
  39086. description: Internal Server Error
  39087. schema:
  39088. $ref: '#/definitions/app.Response'
  39089. security:
  39090. - ApiKeyAuth: []
  39091. summary: 查询用户协议节点配置和状态
  39092. tags:
  39093. - 大连千海金(协议和签约信息)
  39094. /Quote/QueryHistoryDatas:
  39095. get:
  39096. parameters:
  39097. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  39098. 日线 12:周线 13:月线 14:年线'
  39099. in: query
  39100. name: cycleType
  39101. required: true
  39102. type: integer
  39103. - description: 商品代码
  39104. in: query
  39105. name: goodsCode
  39106. required: true
  39107. type: string
  39108. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  39109. in: query
  39110. name: startTime
  39111. type: string
  39112. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  39113. in: query
  39114. name: endTime
  39115. type: string
  39116. - description: 条数
  39117. in: query
  39118. name: count
  39119. type: integer
  39120. - description: 是否按时间顺序排序(默认为时间倒序排序)
  39121. in: query
  39122. name: isAsc
  39123. type: boolean
  39124. produces:
  39125. - application/json
  39126. responses:
  39127. "200":
  39128. description: OK
  39129. schema:
  39130. $ref: '#/definitions/quote.HistoryData'
  39131. "500":
  39132. description: Internal Server Error
  39133. schema:
  39134. $ref: '#/definitions/app.Response'
  39135. security:
  39136. - ApiKeyAuth: []
  39137. summary: 查询行情历史数据
  39138. tags:
  39139. - 行情服务
  39140. /Quote/QueryHistoryTikDatas:
  39141. get:
  39142. parameters:
  39143. - description: 商品代码
  39144. in: query
  39145. name: goodsCode
  39146. required: true
  39147. type: string
  39148. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  39149. in: query
  39150. name: startTime
  39151. type: string
  39152. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  39153. in: query
  39154. name: endTime
  39155. type: string
  39156. - description: 条数
  39157. in: query
  39158. name: count
  39159. type: integer
  39160. - description: 是否按时间顺序排序(默认为时间倒序排序)
  39161. in: query
  39162. name: isAsc
  39163. type: boolean
  39164. produces:
  39165. - application/json
  39166. responses:
  39167. "200":
  39168. description: OK
  39169. schema:
  39170. $ref: '#/definitions/quote.HistoryTikData'
  39171. "500":
  39172. description: Internal Server Error
  39173. schema:
  39174. $ref: '#/definitions/app.Response'
  39175. security:
  39176. - ApiKeyAuth: []
  39177. summary: 查询行情Tik数据
  39178. tags:
  39179. - 行情服务
  39180. /Quote/QueryQuoteDay:
  39181. get:
  39182. parameters:
  39183. - description: 此参数不填则查所有;商品代码列表,格式:CU2102,CU2103,AL2107
  39184. in: query
  39185. name: goodsCodes
  39186. type: string
  39187. produces:
  39188. - application/json
  39189. responses:
  39190. "200":
  39191. description: OK
  39192. schema:
  39193. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  39194. "500":
  39195. description: Internal Server Error
  39196. schema:
  39197. $ref: '#/definitions/app.Response'
  39198. security:
  39199. - ApiKeyAuth: []
  39200. summary: 获取商品盘面信息
  39201. tags:
  39202. - 行情服务
  39203. /Quote/QueryTSData:
  39204. get:
  39205. parameters:
  39206. - description: 商品代码
  39207. in: query
  39208. name: goodsCode
  39209. required: true
  39210. type: string
  39211. produces:
  39212. - application/json
  39213. responses:
  39214. "200":
  39215. description: OK
  39216. schema:
  39217. $ref: '#/definitions/quote.QueryTSDataRsp'
  39218. "500":
  39219. description: Internal Server Error
  39220. schema:
  39221. $ref: '#/definitions/app.Response'
  39222. security:
  39223. - ApiKeyAuth: []
  39224. summary: 分时图数据查询
  39225. tags:
  39226. - 行情服务
  39227. /SZDZ/QueryConvertConfig:
  39228. get:
  39229. parameters:
  39230. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  39231. 6:交易转花生米(不设置)
  39232. in: query
  39233. name: convertType
  39234. type: integer
  39235. - description: 外部商品代码[JD\PD]
  39236. in: query
  39237. name: outerGoodsCode
  39238. type: string
  39239. - description: 内部商品ID列表[交易],格式:1,2,3
  39240. in: query
  39241. name: innerGoodsIDs
  39242. type: string
  39243. produces:
  39244. - application/json
  39245. responses:
  39246. "200":
  39247. description: OK
  39248. schema:
  39249. $ref: '#/definitions/models.Szdz3convertconfig'
  39250. "500":
  39251. description: Internal Server Error
  39252. schema:
  39253. $ref: '#/definitions/app.Response'
  39254. security:
  39255. - ApiKeyAuth: []
  39256. summary: 查询交易系统转换设置
  39257. tags:
  39258. - 定制【尚志大宗】
  39259. /SZDZ/QueryConvertLog:
  39260. get:
  39261. parameters:
  39262. - description: 资金账户 - 格式:1,2,3
  39263. in: query
  39264. name: accountID
  39265. required: true
  39266. type: string
  39267. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  39268. in: query
  39269. name: startDate
  39270. type: string
  39271. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  39272. in: query
  39273. name: endDate
  39274. type: string
  39275. produces:
  39276. - application/json
  39277. responses:
  39278. "200":
  39279. description: OK
  39280. schema:
  39281. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  39282. "500":
  39283. description: Internal Server Error
  39284. schema:
  39285. $ref: '#/definitions/app.Response'
  39286. security:
  39287. - ApiKeyAuth: []
  39288. summary: 交易系统转换流水查询
  39289. tags:
  39290. - 定制【尚志大宗】
  39291. /SZDZ/QueryGoodsPickup:
  39292. get:
  39293. parameters:
  39294. - description: 资金账户 - 格式:1,2,3
  39295. in: query
  39296. name: accountID
  39297. required: true
  39298. type: string
  39299. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  39300. in: query
  39301. name: takeOrderStatus
  39302. type: integer
  39303. produces:
  39304. - application/json
  39305. responses:
  39306. "200":
  39307. description: OK
  39308. schema:
  39309. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  39310. "500":
  39311. description: Internal Server Error
  39312. schema:
  39313. $ref: '#/definitions/app.Response'
  39314. security:
  39315. - ApiKeyAuth: []
  39316. summary: 商品提货单查询
  39317. tags:
  39318. - 定制【尚志大宗】
  39319. /SZDZ/QueryRecieptOrder:
  39320. get:
  39321. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  39322. parameters:
  39323. - description: 页码
  39324. in: query
  39325. name: page
  39326. type: integer
  39327. - description: 每页条数
  39328. in: query
  39329. name: pagesize
  39330. type: integer
  39331. - description: 商品ID
  39332. in: query
  39333. name: goodsID
  39334. required: true
  39335. type: integer
  39336. - description: 所属账户名称
  39337. in: query
  39338. name: accountName
  39339. type: string
  39340. - description: 市场ID
  39341. in: query
  39342. name: marketID
  39343. type: integer
  39344. - description: 方向 - 0:买 1:卖
  39345. in: query
  39346. name: buyorsell
  39347. required: true
  39348. type: integer
  39349. produces:
  39350. - application/json
  39351. responses:
  39352. "200":
  39353. description: OK
  39354. schema:
  39355. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  39356. "500":
  39357. description: Internal Server Error
  39358. schema:
  39359. $ref: '#/definitions/app.Response'
  39360. security:
  39361. - ApiKeyAuth: []
  39362. summary: 点选挂牌委托单据查询(摘牌大厅)
  39363. tags:
  39364. - 定制【尚志大宗】
  39365. /SZDZ/QuerySZDZTradePosition:
  39366. get:
  39367. parameters:
  39368. - description: 资金账户
  39369. in: query
  39370. name: accountID
  39371. required: true
  39372. type: integer
  39373. produces:
  39374. - application/json
  39375. responses:
  39376. "200":
  39377. description: OK
  39378. schema:
  39379. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  39380. "500":
  39381. description: Internal Server Error
  39382. schema:
  39383. $ref: '#/definitions/app.Response'
  39384. security:
  39385. - ApiKeyAuth: []
  39386. summary: 持仓汇总查询(尚志大宗)
  39387. tags:
  39388. - 定制【尚志大宗】
  39389. /SZDZ/SearchWhite:
  39390. get:
  39391. parameters:
  39392. - description: 用户ID
  39393. in: query
  39394. name: userID
  39395. required: true
  39396. type: integer
  39397. produces:
  39398. - application/json
  39399. responses:
  39400. "200":
  39401. description: OK
  39402. schema:
  39403. $ref: '#/definitions/models.Szdz3searchwhitelist'
  39404. "500":
  39405. description: Internal Server Error
  39406. schema:
  39407. $ref: '#/definitions/app.Response'
  39408. security:
  39409. - ApiKeyAuth: []
  39410. summary: 搜索白名单
  39411. tags:
  39412. - 定制【尚志大宗】
  39413. /Search/SearchGoodses:
  39414. get:
  39415. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  39416. parameters:
  39417. - description: 检索内容
  39418. in: query
  39419. name: content
  39420. required: true
  39421. type: string
  39422. - description: 交易模式,格式:1,2,3
  39423. in: query
  39424. name: tradeModes
  39425. type: string
  39426. produces:
  39427. - application/json
  39428. responses:
  39429. "200":
  39430. description: OK
  39431. schema:
  39432. $ref: '#/definitions/models.SearchGoods'
  39433. "500":
  39434. description: Internal Server Error
  39435. schema:
  39436. $ref: '#/definitions/app.Response'
  39437. summary: 检索商品信息
  39438. tags:
  39439. - 检索服务
  39440. /TaAccount/GetTaAccounts:
  39441. get:
  39442. parameters:
  39443. - description: 登录账户
  39444. in: query
  39445. name: loginID
  39446. required: true
  39447. type: integer
  39448. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  39449. in: query
  39450. name: taAccountType
  39451. type: integer
  39452. produces:
  39453. - application/json
  39454. responses:
  39455. "200":
  39456. description: OK
  39457. schema:
  39458. $ref: '#/definitions/models.Taaccount'
  39459. "500":
  39460. description: Internal Server Error
  39461. schema:
  39462. $ref: '#/definitions/app.Response'
  39463. security:
  39464. - ApiKeyAuth: []
  39465. summary: 获取资金账户信息
  39466. tags:
  39467. - 资金账户
  39468. /TaAccount/QueryAmountLog:
  39469. get:
  39470. parameters:
  39471. - description: 页码
  39472. in: query
  39473. name: page
  39474. type: integer
  39475. - description: 每页条数
  39476. in: query
  39477. name: pagesize
  39478. type: integer
  39479. - description: 分页标志 0-page从0开始 1-page从1开始
  39480. in: query
  39481. name: pageflag
  39482. type: integer
  39483. - description: 资金账户 - 格式:1,2,3
  39484. in: query
  39485. name: accountID
  39486. required: true
  39487. type: string
  39488. - description: 资金操作类型 - 格式:1,2,3
  39489. in: query
  39490. name: OperateType
  39491. type: string
  39492. produces:
  39493. - application/json
  39494. responses:
  39495. "200":
  39496. description: OK
  39497. schema:
  39498. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  39499. "500":
  39500. description: Internal Server Error
  39501. schema:
  39502. $ref: '#/definitions/app.Response'
  39503. security:
  39504. - ApiKeyAuth: []
  39505. summary: 资金流水查询(当前)
  39506. tags:
  39507. - 资金账户
  39508. /TaAccount/QueryHisAmountLog:
  39509. get:
  39510. parameters:
  39511. - description: 页码
  39512. in: query
  39513. name: page
  39514. type: integer
  39515. - description: 每页条数
  39516. in: query
  39517. name: pagesize
  39518. type: integer
  39519. - description: 分页标志 0-page从0开始 1-page从1开始
  39520. in: query
  39521. name: pageflag
  39522. type: integer
  39523. - description: 资金账户 - 格式:1,2,3
  39524. in: query
  39525. name: accountID
  39526. required: true
  39527. type: string
  39528. - description: 资金操作类型 - 格式:1,2,3
  39529. in: query
  39530. name: OperateType
  39531. type: string
  39532. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  39533. in: query
  39534. name: startDate
  39535. type: string
  39536. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  39537. in: query
  39538. name: endDate
  39539. type: string
  39540. produces:
  39541. - application/json
  39542. responses:
  39543. "200":
  39544. description: OK
  39545. schema:
  39546. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  39547. "500":
  39548. description: Internal Server Error
  39549. schema:
  39550. $ref: '#/definitions/app.Response'
  39551. security:
  39552. - ApiKeyAuth: []
  39553. summary: 资金流水查询(历史)
  39554. tags:
  39555. - 资金账户
  39556. /TaAccount/QueryRelatedTaAccount:
  39557. get:
  39558. parameters:
  39559. - description: 关联UserID
  39560. in: query
  39561. name: relateduserid
  39562. required: true
  39563. type: integer
  39564. produces:
  39565. - application/json
  39566. responses:
  39567. "200":
  39568. description: OK
  39569. schema:
  39570. items:
  39571. $ref: '#/definitions/models.RelatedTaAccount'
  39572. type: array
  39573. "500":
  39574. description: Internal Server Error
  39575. schema:
  39576. $ref: '#/definitions/app.Response'
  39577. security:
  39578. - ApiKeyAuth: []
  39579. summary: 查询关联资金账户信息
  39580. tags:
  39581. - 资金账户
  39582. /Tjmd/QueryQuoteGoodsList:
  39583. get:
  39584. description: 用户类型必传, 查掉期报价列表 marketids=掉期市场id
  39585. parameters:
  39586. - description: 用户类型
  39587. in: query
  39588. name: usertype
  39589. required: true
  39590. type: integer
  39591. - description: 市场id, 格式 1,2,3
  39592. in: query
  39593. name: marketids
  39594. type: string
  39595. - description: 商品组id
  39596. in: query
  39597. name: goodsgroupid
  39598. type: integer
  39599. - description: 商品id
  39600. in: query
  39601. name: goodsid
  39602. type: integer
  39603. produces:
  39604. - application/json
  39605. responses:
  39606. "200":
  39607. description: OK
  39608. schema:
  39609. items:
  39610. $ref: '#/definitions/models.TjmdQuoteGoods'
  39611. type: array
  39612. "500":
  39613. description: Internal Server Error
  39614. schema:
  39615. $ref: '#/definitions/app.Response'
  39616. security:
  39617. - ApiKeyAuth: []
  39618. summary: 查询掉期报价列表
  39619. tags:
  39620. - 天津麦顿
  39621. /Tjmd/QueryTjmdHolderDetailTradeInfo:
  39622. get:
  39623. parameters:
  39624. - description: 成交单号
  39625. in: query
  39626. name: tradeid
  39627. required: true
  39628. type: string
  39629. produces:
  39630. - application/json
  39631. responses:
  39632. "200":
  39633. description: OK
  39634. schema:
  39635. items:
  39636. $ref: '#/definitions/models.TjmdHolderDetailTradeInfo'
  39637. type: array
  39638. "500":
  39639. description: Internal Server Error
  39640. schema:
  39641. $ref: '#/definitions/app.Response'
  39642. security:
  39643. - ApiKeyAuth: []
  39644. summary: 掉期商品订单详情(交易确认书)
  39645. tags:
  39646. - 天津麦顿
  39647. /Tjmd/QueryTjmdMarketSection:
  39648. get:
  39649. produces:
  39650. - application/json
  39651. responses:
  39652. "200":
  39653. description: OK
  39654. schema:
  39655. items:
  39656. $ref: '#/definitions/models.TjmdMarketSection'
  39657. type: array
  39658. "500":
  39659. description: Internal Server Error
  39660. schema:
  39661. $ref: '#/definitions/app.Response'
  39662. security:
  39663. - ApiKeyAuth: []
  39664. summary: 查询市场板块
  39665. tags:
  39666. - 天津麦顿
  39667. /Tjmd/QueryTjmdTodayAccountMargin:
  39668. get:
  39669. parameters:
  39670. - description: 市场id
  39671. in: query
  39672. name: marketid
  39673. type: string
  39674. - description: 商品id
  39675. in: query
  39676. name: goodsid
  39677. type: string
  39678. - description: 资金账号
  39679. in: query
  39680. name: accountid
  39681. type: string
  39682. produces:
  39683. - application/json
  39684. responses:
  39685. "200":
  39686. description: OK
  39687. schema:
  39688. items:
  39689. $ref: '#/definitions/models.TjmdTodayAccountMargin'
  39690. type: array
  39691. "500":
  39692. description: Internal Server Error
  39693. schema:
  39694. $ref: '#/definitions/app.Response'
  39695. security:
  39696. - ApiKeyAuth: []
  39697. summary: 查询今日账户保证金配置
  39698. tags:
  39699. - 天津麦顿
  39700. /Tjmd/QueryTjmdTradeOrderDetail:
  39701. get:
  39702. description: 用户类型必传, 投资者只能看到自营会员的单, 反之亦然
  39703. parameters:
  39704. - description: 页码
  39705. in: query
  39706. name: page
  39707. type: integer
  39708. - description: 每页条数
  39709. in: query
  39710. name: pagesize
  39711. type: integer
  39712. - description: 用户id
  39713. in: query
  39714. name: userid
  39715. required: true
  39716. type: integer
  39717. - description: 用户类型
  39718. in: query
  39719. name: usertype
  39720. required: true
  39721. type: integer
  39722. - description: 市场id, 格式 1,2,3
  39723. in: query
  39724. name: marketids
  39725. type: string
  39726. - description: 商品id
  39727. in: query
  39728. name: goodsid
  39729. required: true
  39730. type: integer
  39731. - description: 买卖方向 0-买 1-卖
  39732. in: query
  39733. name: buyorsell
  39734. required: true
  39735. type: integer
  39736. produces:
  39737. - application/json
  39738. responses:
  39739. "200":
  39740. description: OK
  39741. schema:
  39742. items:
  39743. $ref: '#/definitions/models.TjmdTradeOrderDetail'
  39744. type: array
  39745. "500":
  39746. description: Internal Server Error
  39747. schema:
  39748. $ref: '#/definitions/app.Response'
  39749. security:
  39750. - ApiKeyAuth: []
  39751. summary: 查询掉期买卖大厅
  39752. tags:
  39753. - 天津麦顿
  39754. /Tjmd/QueryTjmdTransferApply:
  39755. get:
  39756. parameters:
  39757. - description: 类型 1-我的申请 2-对方申请
  39758. in: query
  39759. name: applytype
  39760. required: true
  39761. type: integer
  39762. - description: 市场id, 格式 1,2,3
  39763. in: query
  39764. name: marketids
  39765. type: string
  39766. - description: 资金账号, 格式 25000000001,25000000003
  39767. in: query
  39768. name: accountids
  39769. type: string
  39770. - description: 开始交易日(yyyymmdd)
  39771. in: query
  39772. name: begindate
  39773. type: string
  39774. - description: 结束交易日(yyyymmdd)
  39775. in: query
  39776. name: enddate
  39777. type: string
  39778. produces:
  39779. - application/json
  39780. responses:
  39781. "200":
  39782. description: OK
  39783. schema:
  39784. items:
  39785. $ref: '#/definitions/models.TjmdTransferApply'
  39786. type: array
  39787. "500":
  39788. description: Internal Server Error
  39789. schema:
  39790. $ref: '#/definitions/app.Response'
  39791. security:
  39792. - ApiKeyAuth: []
  39793. summary: 查询掉期协议单
  39794. tags:
  39795. - 天津麦顿
  39796. /Trade/QueryRecieptOrder:
  39797. get:
  39798. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  39799. parameters:
  39800. - description: 页码
  39801. in: query
  39802. name: page
  39803. type: integer
  39804. - description: 每页条数
  39805. in: query
  39806. name: pagesize
  39807. type: integer
  39808. - description: 商品ID
  39809. in: query
  39810. name: goodsID
  39811. required: true
  39812. type: integer
  39813. - description: 所属账户名称
  39814. in: query
  39815. name: accountName
  39816. type: string
  39817. - description: 市场ID
  39818. in: query
  39819. name: marketID
  39820. type: integer
  39821. - description: 方向 - 0:买 1:卖
  39822. in: query
  39823. name: buyorsell
  39824. required: true
  39825. type: integer
  39826. produces:
  39827. - application/json
  39828. responses:
  39829. "200":
  39830. description: OK
  39831. schema:
  39832. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  39833. "500":
  39834. description: Internal Server Error
  39835. schema:
  39836. $ref: '#/definitions/app.Response'
  39837. security:
  39838. - ApiKeyAuth: []
  39839. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  39840. tags:
  39841. - 通用交易
  39842. /User/AddMessageBoard:
  39843. post:
  39844. parameters:
  39845. - description: 用户ID
  39846. in: query
  39847. name: userID
  39848. required: true
  39849. type: integer
  39850. - description: 留言信息
  39851. in: query
  39852. name: message
  39853. required: true
  39854. type: string
  39855. - description: 联系电话
  39856. in: query
  39857. name: contactNum
  39858. required: true
  39859. type: string
  39860. produces:
  39861. - application/json
  39862. responses:
  39863. "200":
  39864. description: OK
  39865. schema:
  39866. $ref: '#/definitions/app.Response'
  39867. "500":
  39868. description: Internal Server Error
  39869. schema:
  39870. $ref: '#/definitions/app.Response'
  39871. security:
  39872. - ApiKeyAuth: []
  39873. summary: 添加用户留言板信息
  39874. tags:
  39875. - 用户信息
  39876. /User/AddUserFavoriteGoods:
  39877. post:
  39878. parameters:
  39879. - description: 用户ID
  39880. in: query
  39881. name: userID
  39882. required: true
  39883. type: integer
  39884. - description: 商品ID
  39885. in: query
  39886. name: goodsID
  39887. required: true
  39888. type: integer
  39889. produces:
  39890. - application/json
  39891. responses:
  39892. "200":
  39893. description: OK
  39894. schema:
  39895. $ref: '#/definitions/app.Response'
  39896. "500":
  39897. description: Internal Server Error
  39898. schema:
  39899. $ref: '#/definitions/app.Response'
  39900. security:
  39901. - ApiKeyAuth: []
  39902. summary: 添加用户商品收藏信息
  39903. tags:
  39904. - 用户信息
  39905. /User/GetLoginID:
  39906. get:
  39907. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  39908. parameters:
  39909. - description: 登录代码
  39910. in: query
  39911. name: username
  39912. required: true
  39913. type: string
  39914. produces:
  39915. - application/json
  39916. responses:
  39917. "200":
  39918. description: OK
  39919. schema:
  39920. $ref: '#/definitions/app.Response'
  39921. "500":
  39922. description: Internal Server Error
  39923. schema:
  39924. $ref: '#/definitions/app.Response'
  39925. summary: 获取登录ID
  39926. tags:
  39927. - 用户信息
  39928. /User/GetUserAccount:
  39929. get:
  39930. parameters:
  39931. - description: 用户ID
  39932. in: query
  39933. name: userID
  39934. required: true
  39935. type: integer
  39936. produces:
  39937. - application/json
  39938. responses:
  39939. "200":
  39940. description: OK
  39941. schema:
  39942. $ref: '#/definitions/models.Useraccount'
  39943. "500":
  39944. description: Internal Server Error
  39945. schema:
  39946. $ref: '#/definitions/app.Response'
  39947. security:
  39948. - ApiKeyAuth: []
  39949. summary: 获取用户账号信息
  39950. tags:
  39951. - 用户信息
  39952. /User/GetUserAuthStatus:
  39953. get:
  39954. parameters:
  39955. - description: 用户ID
  39956. in: query
  39957. name: userID
  39958. required: true
  39959. type: integer
  39960. produces:
  39961. - application/json
  39962. responses:
  39963. "200":
  39964. description: OK
  39965. schema:
  39966. $ref: '#/definitions/app.Response'
  39967. "500":
  39968. description: Internal Server Error
  39969. schema:
  39970. $ref: '#/definitions/app.Response'
  39971. security:
  39972. - ApiKeyAuth: []
  39973. summary: 获取用户实名认证状态
  39974. tags:
  39975. - 用户信息
  39976. /User/LoginQuery:
  39977. get:
  39978. parameters:
  39979. - description: 登录账号
  39980. in: query
  39981. name: loginID
  39982. required: true
  39983. type: integer
  39984. produces:
  39985. - application/json
  39986. responses:
  39987. "200":
  39988. description: OK
  39989. schema:
  39990. $ref: '#/definitions/user.LoginQueryRsp'
  39991. "500":
  39992. description: Internal Server Error
  39993. schema:
  39994. $ref: '#/definitions/app.Response'
  39995. security:
  39996. - ApiKeyAuth: []
  39997. summary: 账户登录后信息查询
  39998. tags:
  39999. - 用户信息
  40000. /User/QueryMessageBoard:
  40001. get:
  40002. parameters:
  40003. - description: 用户ID
  40004. in: query
  40005. name: userID
  40006. required: true
  40007. type: integer
  40008. produces:
  40009. - application/json
  40010. responses:
  40011. "200":
  40012. description: OK
  40013. schema:
  40014. $ref: '#/definitions/models.Messageboard'
  40015. "500":
  40016. description: Internal Server Error
  40017. schema:
  40018. $ref: '#/definitions/app.Response'
  40019. security:
  40020. - ApiKeyAuth: []
  40021. summary: 获取用户留言板信息
  40022. tags:
  40023. - 用户信息
  40024. /User/QueryUserFavoriteGoodses:
  40025. get:
  40026. parameters:
  40027. - description: 用户ID
  40028. in: query
  40029. name: userID
  40030. required: true
  40031. type: integer
  40032. produces:
  40033. - application/json
  40034. responses:
  40035. "200":
  40036. description: OK
  40037. schema:
  40038. $ref: '#/definitions/models.Userfavoritegoods'
  40039. "500":
  40040. description: Internal Server Error
  40041. schema:
  40042. $ref: '#/definitions/app.Response'
  40043. security:
  40044. - ApiKeyAuth: []
  40045. summary: 获取用户商品收藏信息
  40046. tags:
  40047. - 用户信息
  40048. /User/QueryUserInfo:
  40049. get:
  40050. parameters:
  40051. - description: 用户ID
  40052. in: query
  40053. name: userID
  40054. required: true
  40055. type: integer
  40056. - description: 是否解密
  40057. in: query
  40058. name: isDecrypt
  40059. type: boolean
  40060. produces:
  40061. - application/json
  40062. responses:
  40063. "200":
  40064. description: OK
  40065. schema:
  40066. $ref: '#/definitions/models.Userinfo'
  40067. "500":
  40068. description: Internal Server Error
  40069. schema:
  40070. $ref: '#/definitions/app.Response'
  40071. security:
  40072. - ApiKeyAuth: []
  40073. summary: 获取用户信息
  40074. tags:
  40075. - 用户信息
  40076. /User/QueryUserReferNum:
  40077. get:
  40078. parameters:
  40079. - description: 用户ID
  40080. in: query
  40081. name: userID
  40082. required: true
  40083. type: integer
  40084. produces:
  40085. - application/json
  40086. responses:
  40087. "200":
  40088. description: OK
  40089. schema:
  40090. $ref: '#/definitions/app.Response'
  40091. "500":
  40092. description: Internal Server Error
  40093. schema:
  40094. $ref: '#/definitions/app.Response'
  40095. summary: 获取用户邀请码
  40096. tags:
  40097. - 用户信息
  40098. /User/RemoveUserFavoriteGoods:
  40099. post:
  40100. parameters:
  40101. - description: 用户ID
  40102. in: query
  40103. name: userID
  40104. required: true
  40105. type: integer
  40106. - description: 商品ID
  40107. in: query
  40108. name: goodsID
  40109. required: true
  40110. type: integer
  40111. produces:
  40112. - application/json
  40113. responses:
  40114. "200":
  40115. description: OK
  40116. schema:
  40117. $ref: '#/definitions/app.Response'
  40118. "500":
  40119. description: Internal Server Error
  40120. schema:
  40121. $ref: '#/definitions/app.Response'
  40122. security:
  40123. - ApiKeyAuth: []
  40124. summary: 移除用户商品收藏信息
  40125. tags:
  40126. - 用户信息
  40127. /User/UpdateUserAccountStatus:
  40128. post:
  40129. parameters:
  40130. - description: 用户ID
  40131. in: query
  40132. name: userID
  40133. required: true
  40134. type: integer
  40135. - description: 账户状态 - 4:正常 6:注销(停用)
  40136. in: query
  40137. name: accountStatus
  40138. required: true
  40139. type: integer
  40140. produces:
  40141. - application/json
  40142. responses:
  40143. "200":
  40144. description: OK
  40145. schema:
  40146. $ref: '#/definitions/app.Response'
  40147. "500":
  40148. description: Internal Server Error
  40149. schema:
  40150. $ref: '#/definitions/app.Response'
  40151. security:
  40152. - ApiKeyAuth: []
  40153. summary: 更新用户状态
  40154. tags:
  40155. - 用户信息
  40156. /User/UpdateUserHeadUrl:
  40157. post:
  40158. parameters:
  40159. - description: 入参
  40160. in: body
  40161. name: data
  40162. required: true
  40163. schema:
  40164. $ref: '#/definitions/user.UpdateUserHeadUrlReq'
  40165. produces:
  40166. - application/json
  40167. responses:
  40168. "200":
  40169. description: OK
  40170. schema:
  40171. $ref: '#/definitions/app.Response'
  40172. "500":
  40173. description: Internal Server Error
  40174. schema:
  40175. $ref: '#/definitions/app.Response'
  40176. security:
  40177. - ApiKeyAuth: []
  40178. summary: 更新用户头像
  40179. tags:
  40180. - 用户信息
  40181. /WRTrade/GetAllDeliveryGoods:
  40182. get:
  40183. produces:
  40184. - application/json
  40185. responses:
  40186. "200":
  40187. description: OK
  40188. schema:
  40189. $ref: '#/definitions/app.Response'
  40190. "500":
  40191. description: Internal Server Error
  40192. schema:
  40193. $ref: '#/definitions/app.Response'
  40194. security:
  40195. - ApiKeyAuth: []
  40196. summary: 获取带仓单分类的种类信息
  40197. tags:
  40198. - 仓单贸易
  40199. - 仓单贸易
  40200. /WrTrade2/InsertXhcpSellBackApply:
  40201. post:
  40202. parameters:
  40203. - description: 回收申请
  40204. in: body
  40205. name: jsonBody
  40206. required: true
  40207. schema:
  40208. $ref: '#/definitions/models.XhcpSellBackApplyEx'
  40209. produces:
  40210. - application/json
  40211. responses:
  40212. "200":
  40213. description: OK
  40214. schema:
  40215. $ref: '#/definitions/app.Response'
  40216. "500":
  40217. description: Internal Server Error
  40218. schema:
  40219. $ref: '#/definitions/app.Response'
  40220. security:
  40221. - ApiKeyAuth: []
  40222. summary: 新增回收申请(新会陈皮)
  40223. tags:
  40224. - 仓单贸易v2
  40225. /WrTrade2/QueryDeliveryGoodsSection:
  40226. get:
  40227. produces:
  40228. - application/json
  40229. responses:
  40230. "200":
  40231. description: OK
  40232. schema:
  40233. items:
  40234. $ref: '#/definitions/models.WrDeliveryGoodsSection'
  40235. type: array
  40236. "500":
  40237. description: Internal Server Error
  40238. schema:
  40239. $ref: '#/definitions/app.Response'
  40240. security:
  40241. - ApiKeyAuth: []
  40242. summary: 查询板块(分类)
  40243. tags:
  40244. - 仓单贸易v2
  40245. /WrTrade2/QueryFaProductDetail:
  40246. get:
  40247. description: 页面 买卖大厅 -> 选择融资方案
  40248. parameters:
  40249. - description: 仓单要素id
  40250. in: query
  40251. name: wrfactortypeid
  40252. required: true
  40253. type: integer
  40254. produces:
  40255. - application/json
  40256. responses:
  40257. "200":
  40258. description: OK
  40259. schema:
  40260. items:
  40261. $ref: '#/definitions/models.WrFAProductDetail'
  40262. type: array
  40263. "500":
  40264. description: Internal Server Error
  40265. schema:
  40266. $ref: '#/definitions/app.Response'
  40267. security:
  40268. - ApiKeyAuth: []
  40269. summary: 查询融资产品列表
  40270. tags:
  40271. - 仓单贸易v2
  40272. /WrTrade2/QueryFilterItem:
  40273. get:
  40274. parameters:
  40275. - description: 类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库
  40276. in: query
  40277. name: itype
  40278. required: true
  40279. type: string
  40280. produces:
  40281. - application/json
  40282. responses:
  40283. "200":
  40284. description: OK
  40285. schema:
  40286. items:
  40287. $ref: '#/definitions/models.WrFilterItem'
  40288. type: array
  40289. "500":
  40290. description: Internal Server Error
  40291. schema:
  40292. $ref: '#/definitions/app.Response'
  40293. security:
  40294. - ApiKeyAuth: []
  40295. summary: 查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)
  40296. tags:
  40297. - 仓单贸易v2
  40298. /WrTrade2/QueryFtDeliveryGoods:
  40299. get:
  40300. produces:
  40301. - application/json
  40302. responses:
  40303. "200":
  40304. description: OK
  40305. schema:
  40306. items:
  40307. $ref: '#/definitions/models.WrFtDeliveryGoods'
  40308. type: array
  40309. "500":
  40310. description: Internal Server Error
  40311. schema:
  40312. $ref: '#/definitions/app.Response'
  40313. security:
  40314. - ApiKeyAuth: []
  40315. summary: 查询品种品类筛选框列表
  40316. tags:
  40317. - 仓单贸易v2
  40318. /WrTrade2/QueryHoldLB:
  40319. get:
  40320. description: 页面 现货仓单->现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。
  40321. parameters:
  40322. - description: 资金账号
  40323. in: query
  40324. name: accountid
  40325. required: true
  40326. type: integer
  40327. - description: 仓库id
  40328. in: query
  40329. name: warehouseid
  40330. type: integer
  40331. - description: 品种id
  40332. in: query
  40333. name: deliverygoodsid
  40334. type: integer
  40335. - description: 品类id
  40336. in: query
  40337. name: wrstandardid
  40338. type: integer
  40339. - description: 仓单要素id
  40340. in: query
  40341. name: wrfactortypeid
  40342. type: integer
  40343. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  40344. in: query
  40345. name: dgitemname
  40346. type: string
  40347. produces:
  40348. - application/json
  40349. responses:
  40350. "200":
  40351. description: OK
  40352. schema:
  40353. items:
  40354. $ref: '#/definitions/models.WrHoldLB'
  40355. type: array
  40356. "500":
  40357. description: Internal Server Error
  40358. schema:
  40359. $ref: '#/definitions/app.Response'
  40360. security:
  40361. - ApiKeyAuth: []
  40362. summary: 查询仓单持有记录
  40363. tags:
  40364. - 仓单贸易v2
  40365. /WrTrade2/QueryOrderQuote:
  40366. get:
  40367. description: 仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth
  40368. 唯一确定1条记录
  40369. parameters:
  40370. - description: 页码
  40371. in: query
  40372. name: page
  40373. type: integer
  40374. - description: 每页条数
  40375. in: query
  40376. name: pagesize
  40377. type: integer
  40378. - description: 仓单贸易市场id
  40379. in: query
  40380. name: marketid
  40381. type: integer
  40382. - description: 价格方式 - 1:固定价 2-浮动价
  40383. in: query
  40384. name: wrpricetype
  40385. required: true
  40386. type: integer
  40387. - description: 0:仓单预售 1:仓单贸易
  40388. in: query
  40389. name: haswr
  40390. type: integer
  40391. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  40392. in: query
  40393. name: dgitemname
  40394. type: string
  40395. - description: 仓库id(筛选条件)
  40396. in: query
  40397. name: warehouseid
  40398. type: integer
  40399. - description: 品种id
  40400. in: query
  40401. name: deliverygoodsid
  40402. type: integer
  40403. - description: 品类id
  40404. in: query
  40405. name: wrstandardid
  40406. type: integer
  40407. - description: 品牌id(dgfactoryitemid)
  40408. in: query
  40409. name: brandid
  40410. type: integer
  40411. - description: 年份id(dgfactoryitemid)
  40412. in: query
  40413. name: yearsid
  40414. type: integer
  40415. - description: 仓单要素id
  40416. in: query
  40417. name: wrfactortypeid
  40418. type: string
  40419. - description: 交收月(yyyy-mm) 仓单预售填写
  40420. in: query
  40421. name: deliverymonth
  40422. type: string
  40423. produces:
  40424. - application/json
  40425. responses:
  40426. "200":
  40427. description: OK
  40428. schema:
  40429. items:
  40430. $ref: '#/definitions/models.WrOrderQuote'
  40431. type: array
  40432. "500":
  40433. description: Internal Server Error
  40434. schema:
  40435. $ref: '#/definitions/app.Response'
  40436. security:
  40437. - ApiKeyAuth: []
  40438. summary: 查询大厅行情列表
  40439. tags:
  40440. - 仓单贸易v2
  40441. /WrTrade2/QueryOrderQuoteDetail:
  40442. get:
  40443. parameters:
  40444. - description: 页码
  40445. in: query
  40446. name: page
  40447. type: integer
  40448. - description: 每页条数
  40449. in: query
  40450. name: pagesize
  40451. type: integer
  40452. - description: 仓单贸易市场id
  40453. in: query
  40454. name: marketid
  40455. type: integer
  40456. - description: 价格方式 - 1:固定价 2-浮动价
  40457. in: query
  40458. name: wrpricetype
  40459. required: true
  40460. type: integer
  40461. - description: 0:仓单预售 1:仓单贸易
  40462. in: query
  40463. name: haswr
  40464. type: integer
  40465. - description: 仓单要素id
  40466. in: query
  40467. name: wrfactortypeid
  40468. required: true
  40469. type: integer
  40470. - description: 期货商品id(浮动价方式时填)
  40471. in: query
  40472. name: goodsid
  40473. type: integer
  40474. - description: 买卖方向 0-买 1-卖
  40475. in: query
  40476. name: buyorsell
  40477. required: true
  40478. type: integer
  40479. - description: 交收月(yyyy-mm) 查仓单预售的买卖大厅时填写
  40480. in: query
  40481. name: deliverymonth
  40482. type: string
  40483. produces:
  40484. - application/json
  40485. responses:
  40486. "200":
  40487. description: OK
  40488. schema:
  40489. items:
  40490. $ref: '#/definitions/models.WrOrderQuoteDetail'
  40491. type: array
  40492. "500":
  40493. description: Internal Server Error
  40494. schema:
  40495. $ref: '#/definitions/app.Response'
  40496. security:
  40497. - ApiKeyAuth: []
  40498. summary: 查询买卖大厅
  40499. tags:
  40500. - 仓单贸易v2
  40501. /WrTrade2/QueryOrderQuoteMyq:
  40502. get:
  40503. parameters:
  40504. - description: 页码
  40505. in: query
  40506. name: page
  40507. type: integer
  40508. - description: 每页条数
  40509. in: query
  40510. name: pagesize
  40511. type: integer
  40512. - description: 用户id
  40513. in: query
  40514. name: userid
  40515. required: true
  40516. type: integer
  40517. - description: 仓单贸易市场id
  40518. in: query
  40519. name: marketid
  40520. type: integer
  40521. - description: 0:仓单预售 1:仓单贸易
  40522. in: query
  40523. name: haswr
  40524. type: integer
  40525. - description: 买卖方向 0-买 1-卖
  40526. in: query
  40527. name: buyorsell
  40528. required: true
  40529. type: integer
  40530. - description: 品种id
  40531. in: query
  40532. name: deliverygoodsid
  40533. type: integer
  40534. - description: 品类id
  40535. in: query
  40536. name: wrstandardid
  40537. type: integer
  40538. - description: 交收月(yyyy-mm) 仓单预售填写
  40539. in: query
  40540. name: deliverymonth
  40541. type: string
  40542. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  40543. in: query
  40544. name: dgitemname
  40545. type: string
  40546. produces:
  40547. - application/json
  40548. responses:
  40549. "200":
  40550. description: OK
  40551. schema:
  40552. items:
  40553. $ref: '#/definitions/models.WrQuoteOrderMyq'
  40554. type: array
  40555. "500":
  40556. description: Internal Server Error
  40557. schema:
  40558. $ref: '#/definitions/app.Response'
  40559. security:
  40560. - ApiKeyAuth: []
  40561. summary: 查询贸易圈挂牌大厅
  40562. tags:
  40563. - 仓单贸易v2
  40564. /WrTrade2/QueryPerformancePlan:
  40565. get:
  40566. parameters:
  40567. - description: 用户id
  40568. in: query
  40569. name: userid
  40570. required: true
  40571. type: integer
  40572. - description: 买卖方向 0-买 1-卖
  40573. in: query
  40574. name: buyorsell
  40575. required: true
  40576. type: integer
  40577. - description: 履约状态(可多个,逗号隔开) 1:待激活 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成
  40578. 8:释放冻结失败 9:超时待处理 10:超时关闭
  40579. in: query
  40580. name: status
  40581. type: string
  40582. - description: 开始交易日(yyyymmdd)
  40583. in: query
  40584. name: begindate
  40585. type: string
  40586. - description: 结束交易日(yyyymmdd)
  40587. in: query
  40588. name: enddate
  40589. type: string
  40590. produces:
  40591. - application/json
  40592. responses:
  40593. "200":
  40594. description: OK
  40595. schema:
  40596. items:
  40597. $ref: '#/definitions/models.WrPerformancePlan'
  40598. type: array
  40599. "500":
  40600. description: Internal Server Error
  40601. schema:
  40602. $ref: '#/definitions/app.Response'
  40603. security:
  40604. - ApiKeyAuth: []
  40605. summary: 查询履约信息
  40606. tags:
  40607. - 仓单贸易v2
  40608. /WrTrade2/QueryPermancePlanTmp:
  40609. get:
  40610. description: |-
  40611. 返回指定用户的模板和公共模板(用户id为空)
  40612. 注意:天津麦顿客户 填写marketid参数,其它参数不用填;其它客户不用填marketid字段
  40613. parameters:
  40614. - description: 用户id
  40615. in: query
  40616. name: userid
  40617. type: integer
  40618. - description: 模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  40619. (无仓单) 5:挂牌期权 6:竞拍-降价式
  40620. in: query
  40621. name: tmptype
  40622. type: string
  40623. - description: 是否包含公共模板(用户id为空的) 1-包含
  40624. in: query
  40625. name: includepub
  40626. type: integer
  40627. - description: 市场id(天津麦顿指定此参数,其它不用)
  40628. in: query
  40629. name: marketid
  40630. type: integer
  40631. produces:
  40632. - application/json
  40633. responses:
  40634. "200":
  40635. description: OK
  40636. schema:
  40637. items:
  40638. $ref: '#/definitions/models.WrPerformanceTemplateEx'
  40639. type: array
  40640. "500":
  40641. description: Internal Server Error
  40642. schema:
  40643. $ref: '#/definitions/app.Response'
  40644. security:
  40645. - ApiKeyAuth: []
  40646. summary: 查询履约模板
  40647. tags:
  40648. - 仓单贸易v2
  40649. /WrTrade2/QuerySiteColumnConfig:
  40650. get:
  40651. parameters:
  40652. - description: 页码
  40653. in: query
  40654. name: page
  40655. type: integer
  40656. - description: 每页条数
  40657. in: query
  40658. name: pagesize
  40659. type: integer
  40660. - description: 栏目类型 - 1:行情资讯 10:会员服务 30:关于我们 100:核心企业栏目-百色
  40661. in: query
  40662. name: columntype
  40663. type: integer
  40664. produces:
  40665. - application/json
  40666. responses:
  40667. "200":
  40668. description: OK
  40669. schema:
  40670. items:
  40671. $ref: '#/definitions/models.Sitecolumnconfig'
  40672. type: array
  40673. "500":
  40674. description: Internal Server Error
  40675. schema:
  40676. $ref: '#/definitions/app.Response'
  40677. summary: 查询资讯栏目配置
  40678. tags:
  40679. - 仓单贸易v2
  40680. /WrTrade2/QuerySiteColumnDetail:
  40681. get:
  40682. parameters:
  40683. - description: 页码
  40684. in: query
  40685. name: page
  40686. type: integer
  40687. - description: 每页条数
  40688. in: query
  40689. name: pagesize
  40690. type: integer
  40691. - description: 所属栏目id
  40692. in: query
  40693. name: columnid
  40694. type: integer
  40695. produces:
  40696. - application/json
  40697. responses:
  40698. "200":
  40699. description: OK
  40700. schema:
  40701. items:
  40702. $ref: '#/definitions/models.WrSiteColumnDetail'
  40703. type: array
  40704. "500":
  40705. description: Internal Server Error
  40706. schema:
  40707. $ref: '#/definitions/app.Response'
  40708. summary: 查询资讯
  40709. tags:
  40710. - 仓单贸易v2
  40711. /WrTrade2/QuerySpotGroupTradeSum:
  40712. get:
  40713. produces:
  40714. - application/json
  40715. responses:
  40716. "200":
  40717. description: OK
  40718. schema:
  40719. items:
  40720. $ref: '#/definitions/models.WrSpotGroupTradeSumEx'
  40721. type: array
  40722. "500":
  40723. description: Internal Server Error
  40724. schema:
  40725. $ref: '#/definitions/app.Response'
  40726. security:
  40727. - ApiKeyAuth: []
  40728. summary: 查询指数
  40729. tags:
  40730. - 仓单贸易v2
  40731. /WrTrade2/QuerySpotGroupTradeSumDetail:
  40732. get:
  40733. description: 查询的结果将会按日期 从小到大 排序
  40734. parameters:
  40735. - description: 现货商品id
  40736. in: query
  40737. name: deliverygoodsid
  40738. required: true
  40739. type: integer
  40740. - description: 查询最新多少条记录(如不填写此项, 默认查30条)
  40741. in: query
  40742. name: lastnum
  40743. type: integer
  40744. produces:
  40745. - application/json
  40746. responses:
  40747. "200":
  40748. description: OK
  40749. schema:
  40750. items:
  40751. $ref: '#/definitions/models.WrSpotGroupTradeSumDetail'
  40752. type: array
  40753. "500":
  40754. description: Internal Server Error
  40755. schema:
  40756. $ref: '#/definitions/app.Response'
  40757. security:
  40758. - ApiKeyAuth: []
  40759. summary: 查询指数详细(价格走势图)
  40760. tags:
  40761. - 仓单贸易v2
  40762. /WrTrade2/QueryWrAverageTradePrice:
  40763. get:
  40764. parameters:
  40765. - description: 页码
  40766. in: query
  40767. name: page
  40768. type: integer
  40769. - description: 每页条数
  40770. in: query
  40771. name: pagesize
  40772. type: integer
  40773. - description: 0:仓单预售 1:仓单贸易
  40774. in: query
  40775. name: haswr
  40776. required: true
  40777. type: integer
  40778. - description: 仓单要素id
  40779. in: query
  40780. name: wrfactortypeid
  40781. required: true
  40782. type: integer
  40783. produces:
  40784. - application/json
  40785. responses:
  40786. "200":
  40787. description: OK
  40788. schema:
  40789. items:
  40790. $ref: '#/definitions/models.WrAverageTradePrice'
  40791. type: array
  40792. "500":
  40793. description: Internal Server Error
  40794. schema:
  40795. $ref: '#/definitions/app.Response'
  40796. security:
  40797. - ApiKeyAuth: []
  40798. summary: 查询成交价(历史走势)
  40799. tags:
  40800. - 仓单贸易v2
  40801. /WrTrade2/QueryWrBrandAndYears:
  40802. get:
  40803. produces:
  40804. - application/json
  40805. responses:
  40806. "200":
  40807. description: OK
  40808. schema:
  40809. items:
  40810. $ref: '#/definitions/models.WrBrandAndYears'
  40811. type: array
  40812. "500":
  40813. description: Internal Server Error
  40814. schema:
  40815. $ref: '#/definitions/app.Response'
  40816. security:
  40817. - ApiKeyAuth: []
  40818. summary: 查询品牌和年份
  40819. tags:
  40820. - 仓单贸易v2
  40821. /WrTrade2/QueryWrBsGoodsInfo:
  40822. get:
  40823. description: 合约交易/买卖大厅/详情
  40824. parameters:
  40825. - description: 商品id
  40826. in: query
  40827. name: goodsid
  40828. required: true
  40829. type: integer
  40830. produces:
  40831. - application/json
  40832. responses:
  40833. "200":
  40834. description: OK
  40835. schema:
  40836. items:
  40837. $ref: '#/definitions/models.WrBsGoodsInfo'
  40838. type: array
  40839. "500":
  40840. description: Internal Server Error
  40841. schema:
  40842. $ref: '#/definitions/app.Response'
  40843. security:
  40844. - ApiKeyAuth: []
  40845. summary: 查询合约交易买卖大厅详情
  40846. tags:
  40847. - 仓单贸易v2
  40848. /WrTrade2/QueryWrBuybackDetail:
  40849. get:
  40850. parameters:
  40851. - description: 融资合同id
  40852. in: query
  40853. name: scfcontractid
  40854. type: integer
  40855. produces:
  40856. - application/json
  40857. responses:
  40858. "200":
  40859. description: OK
  40860. schema:
  40861. items:
  40862. $ref: '#/definitions/models.WrBuybackDetail'
  40863. type: array
  40864. "500":
  40865. description: Internal Server Error
  40866. schema:
  40867. $ref: '#/definitions/app.Response'
  40868. security:
  40869. - ApiKeyAuth: []
  40870. summary: 查询仓单回购明细
  40871. tags:
  40872. - 仓单贸易v2
  40873. /WrTrade2/QueryWrClientAdSpaceConfig:
  40874. get:
  40875. produces:
  40876. - application/json
  40877. responses:
  40878. "200":
  40879. description: OK
  40880. schema:
  40881. items:
  40882. $ref: '#/definitions/models.WrClientAdSpaceConfig'
  40883. type: array
  40884. "500":
  40885. description: Internal Server Error
  40886. schema:
  40887. $ref: '#/definitions/app.Response'
  40888. security:
  40889. - ApiKeyAuth: []
  40890. summary: 查询固定广告配置
  40891. tags:
  40892. - 仓单贸易v2
  40893. /WrTrade2/QueryWrDeliveryAvalidHoldLB:
  40894. get:
  40895. parameters:
  40896. - description: 资金账号
  40897. in: query
  40898. name: accountid
  40899. required: true
  40900. type: integer
  40901. - description: 商品id
  40902. in: query
  40903. name: goodsid
  40904. required: true
  40905. type: integer
  40906. produces:
  40907. - application/json
  40908. responses:
  40909. "200":
  40910. description: OK
  40911. schema:
  40912. items:
  40913. $ref: '#/definitions/models.WrDeliveryAvalidHoldLB'
  40914. type: array
  40915. "500":
  40916. description: Internal Server Error
  40917. schema:
  40918. $ref: '#/definitions/app.Response'
  40919. security:
  40920. - ApiKeyAuth: []
  40921. summary: 查询合约交收可点选仓单
  40922. tags:
  40923. - 仓单贸易v2
  40924. /WrTrade2/QueryWrDeliveryDetail:
  40925. get:
  40926. parameters:
  40927. - description: 用户id
  40928. in: query
  40929. name: userid
  40930. required: true
  40931. type: integer
  40932. - description: 资金账号id
  40933. in: query
  40934. name: accountid
  40935. type: integer
  40936. - description: 开始交易日(yyyymmdd)
  40937. in: query
  40938. name: begindate
  40939. type: string
  40940. - description: 结束交易日(yyyymmdd)
  40941. in: query
  40942. name: enddate
  40943. type: string
  40944. produces:
  40945. - application/json
  40946. responses:
  40947. "200":
  40948. description: OK
  40949. schema:
  40950. items:
  40951. $ref: '#/definitions/models.WrDeliveryDetail'
  40952. type: array
  40953. "500":
  40954. description: Internal Server Error
  40955. schema:
  40956. $ref: '#/definitions/app.Response'
  40957. security:
  40958. - ApiKeyAuth: []
  40959. summary: 查询交收
  40960. tags:
  40961. - 仓单贸易v2
  40962. /WrTrade2/QueryWrDraftUserInfo:
  40963. get:
  40964. parameters:
  40965. - description: 用户ID
  40966. in: query
  40967. name: userid
  40968. required: true
  40969. type: integer
  40970. - description: 用户状态 1:正常 2:注销
  40971. in: query
  40972. name: userstatus
  40973. type: integer
  40974. produces:
  40975. - application/json
  40976. responses:
  40977. "200":
  40978. description: OK
  40979. schema:
  40980. items:
  40981. $ref: '#/definitions/models.WrDraftUserInfo'
  40982. type: array
  40983. "500":
  40984. description: Internal Server Error
  40985. schema:
  40986. $ref: '#/definitions/app.Response'
  40987. security:
  40988. - ApiKeyAuth: []
  40989. summary: 查询实名认证信息
  40990. tags:
  40991. - 仓单贸易v2
  40992. /WrTrade2/QueryWrFactorTypeInfo:
  40993. get:
  40994. parameters:
  40995. - description: 仓单要素id
  40996. in: query
  40997. name: wrfactortypeid
  40998. required: true
  40999. type: integer
  41000. produces:
  41001. - application/json
  41002. responses:
  41003. "200":
  41004. description: OK
  41005. schema:
  41006. items:
  41007. $ref: '#/definitions/models.WrFactorTypeInfo'
  41008. type: array
  41009. "500":
  41010. description: Internal Server Error
  41011. schema:
  41012. $ref: '#/definitions/app.Response'
  41013. security:
  41014. - ApiKeyAuth: []
  41015. summary: 查询仓单要素详细信息
  41016. tags:
  41017. - 仓单贸易v2
  41018. /WrTrade2/QueryWrFactorTypeInfoEx:
  41019. get:
  41020. parameters:
  41021. - description: 仓单要素id
  41022. in: query
  41023. name: wrfactortypeid
  41024. required: true
  41025. type: integer
  41026. produces:
  41027. - application/json
  41028. responses:
  41029. "200":
  41030. description: OK
  41031. schema:
  41032. items:
  41033. $ref: '#/definitions/models.WrTypeItem'
  41034. type: array
  41035. "500":
  41036. description: Internal Server Error
  41037. schema:
  41038. $ref: '#/definitions/app.Response'
  41039. security:
  41040. - ApiKeyAuth: []
  41041. summary: 查询仓单要素详细信息列表项
  41042. tags:
  41043. - 仓单贸易v2
  41044. /WrTrade2/QueryWrFinanceBuyApply:
  41045. get:
  41046. description: 页面 融资信息+ / 申请单
  41047. parameters:
  41048. - description: 用户id
  41049. in: query
  41050. name: userid
  41051. required: true
  41052. type: integer
  41053. produces:
  41054. - application/json
  41055. responses:
  41056. "200":
  41057. description: OK
  41058. schema:
  41059. items:
  41060. $ref: '#/definitions/models.WrFinanceBuyApply'
  41061. type: array
  41062. "500":
  41063. description: Internal Server Error
  41064. schema:
  41065. $ref: '#/definitions/app.Response'
  41066. security:
  41067. - ApiKeyAuth: []
  41068. summary: 查询融资购买申请
  41069. tags:
  41070. - 仓单贸易v2
  41071. /WrTrade2/QueryWrFriendApply:
  41072. get:
  41073. parameters:
  41074. - description: 用户id
  41075. in: query
  41076. name: userid
  41077. required: true
  41078. type: integer
  41079. produces:
  41080. - application/json
  41081. responses:
  41082. "200":
  41083. description: OK
  41084. schema:
  41085. items:
  41086. $ref: '#/definitions/models.WrFriendApply'
  41087. type: array
  41088. "500":
  41089. description: Internal Server Error
  41090. schema:
  41091. $ref: '#/definitions/app.Response'
  41092. security:
  41093. - ApiKeyAuth: []
  41094. summary: 查询好友申请记录
  41095. tags:
  41096. - 仓单贸易v2
  41097. /WrTrade2/QueryWrGoodsInfo:
  41098. get:
  41099. parameters:
  41100. - description: 仓单贸易市场id
  41101. in: query
  41102. name: marketid
  41103. type: integer
  41104. - description: 0:仓单预售 1:仓单贸易
  41105. in: query
  41106. name: haswr
  41107. required: true
  41108. type: integer
  41109. - description: 仓单要素id
  41110. in: query
  41111. name: wrfactortypeid
  41112. required: true
  41113. type: integer
  41114. - description: 履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)
  41115. in: query
  41116. name: tmplateid
  41117. type: integer
  41118. produces:
  41119. - application/json
  41120. responses:
  41121. "200":
  41122. description: OK
  41123. schema:
  41124. items:
  41125. $ref: '#/definitions/models.WrGoodsInfo'
  41126. type: array
  41127. "500":
  41128. description: Internal Server Error
  41129. schema:
  41130. $ref: '#/definitions/app.Response'
  41131. security:
  41132. - ApiKeyAuth: []
  41133. summary: 查询仓单商品信息
  41134. tags:
  41135. - 仓单贸易v2
  41136. /WrTrade2/QueryWrMarketTradeConfig:
  41137. get:
  41138. parameters:
  41139. - description: 市场id
  41140. in: query
  41141. name: marketid
  41142. type: integer
  41143. produces:
  41144. - application/json
  41145. responses:
  41146. "200":
  41147. description: OK
  41148. schema:
  41149. items:
  41150. $ref: '#/definitions/models.WrMarketTradeConfig'
  41151. type: array
  41152. "500":
  41153. description: Internal Server Error
  41154. schema:
  41155. $ref: '#/definitions/app.Response'
  41156. security:
  41157. - ApiKeyAuth: []
  41158. summary: 查询市场交易参数配置
  41159. tags:
  41160. - 仓单贸易v2
  41161. /WrTrade2/QueryWrOrderDetail:
  41162. get:
  41163. description: 页面 现货仓单 | 预售仓单 -> 委托单
  41164. parameters:
  41165. - description: 页码
  41166. in: query
  41167. name: page
  41168. type: integer
  41169. - description: 每页条数
  41170. in: query
  41171. name: pagesize
  41172. type: integer
  41173. - description: 用户id
  41174. in: query
  41175. name: userid
  41176. required: true
  41177. type: integer
  41178. - description: 仓单贸易市场id
  41179. in: query
  41180. name: marketid
  41181. type: integer
  41182. - description: 0:仓单预售 1:仓单贸易
  41183. in: query
  41184. name: haswr
  41185. required: true
  41186. type: integer
  41187. - description: 是否仅查可撤单据 1:可撤 注:此参数仅对当前记录有效, 且不含47模式市场
  41188. in: query
  41189. name: bcancel
  41190. type: integer
  41191. - description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  41192. in: query
  41193. name: wrtradetype
  41194. type: integer
  41195. - description: 开始交易日(yyyymmdd)
  41196. in: query
  41197. name: begindate
  41198. type: string
  41199. - description: 结束交易日(yyyymmdd)
  41200. in: query
  41201. name: enddate
  41202. type: string
  41203. produces:
  41204. - application/json
  41205. responses:
  41206. "200":
  41207. description: OK
  41208. schema:
  41209. items:
  41210. $ref: '#/definitions/models.WrOrderDetail'
  41211. type: array
  41212. "500":
  41213. description: Internal Server Error
  41214. schema:
  41215. $ref: '#/definitions/app.Response'
  41216. security:
  41217. - ApiKeyAuth: []
  41218. summary: 查询仓单委托单
  41219. tags:
  41220. - 仓单贸易v2
  41221. /WrTrade2/QueryWrOutInApply:
  41222. get:
  41223. parameters:
  41224. - description: 页码
  41225. in: query
  41226. name: page
  41227. type: integer
  41228. - description: 每页条数
  41229. in: query
  41230. name: pagesize
  41231. type: integer
  41232. - description: 用户id
  41233. in: query
  41234. name: userid
  41235. required: true
  41236. type: integer
  41237. - description: 开始交易日(yyyymmdd)
  41238. in: query
  41239. name: begindate
  41240. type: string
  41241. - description: 结束交易日(yyyymmdd)
  41242. in: query
  41243. name: enddate
  41244. type: string
  41245. produces:
  41246. - application/json
  41247. responses:
  41248. "200":
  41249. description: OK
  41250. schema:
  41251. items:
  41252. $ref: '#/definitions/models.WrOutInApply'
  41253. type: array
  41254. "500":
  41255. description: Internal Server Error
  41256. schema:
  41257. $ref: '#/definitions/app.Response'
  41258. security:
  41259. - ApiKeyAuth: []
  41260. summary: 查询提货申请
  41261. tags:
  41262. - 仓单贸易v2
  41263. /WrTrade2/QueryWrPerformancePlanStep:
  41264. get:
  41265. parameters:
  41266. - description: 履约计划id(performanceplanid)
  41267. in: query
  41268. name: planid
  41269. required: true
  41270. type: integer
  41271. - description: 当前步骤id
  41272. in: query
  41273. name: curstepid
  41274. type: integer
  41275. produces:
  41276. - application/json
  41277. responses:
  41278. "200":
  41279. description: OK
  41280. schema:
  41281. items:
  41282. $ref: '#/definitions/models.WrPerformancePlanStep'
  41283. type: array
  41284. "500":
  41285. description: Internal Server Error
  41286. schema:
  41287. $ref: '#/definitions/app.Response'
  41288. security:
  41289. - ApiKeyAuth: []
  41290. summary: 查询履约信息详情
  41291. tags:
  41292. - 仓单贸易v2
  41293. /WrTrade2/QueryWrPerformanceStepType:
  41294. get:
  41295. produces:
  41296. - application/json
  41297. responses:
  41298. "200":
  41299. description: OK
  41300. schema:
  41301. items:
  41302. $ref: '#/definitions/models.WrPerformanceStepType'
  41303. type: array
  41304. "500":
  41305. description: Internal Server Error
  41306. schema:
  41307. $ref: '#/definitions/app.Response'
  41308. security:
  41309. - ApiKeyAuth: []
  41310. summary: 查询履约步骤枚举
  41311. tags:
  41312. - 仓单贸易v2
  41313. /WrTrade2/QueryWrPosition:
  41314. get:
  41315. description: 页面 现货仓单->现货汇总/库存汇总; 预售仓单->订单汇总
  41316. parameters:
  41317. - description: 用户id
  41318. in: query
  41319. name: userid
  41320. required: true
  41321. type: integer
  41322. - description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  41323. in: query
  41324. name: querytype
  41325. required: true
  41326. type: integer
  41327. - description: 0:仓单预售 1:仓单贸易
  41328. in: query
  41329. name: haswr
  41330. required: true
  41331. type: integer
  41332. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  41333. in: query
  41334. name: dgitemname
  41335. type: string
  41336. - description: 仓库id(筛选条件)
  41337. in: query
  41338. name: warehouseid
  41339. type: integer
  41340. - description: 品种id
  41341. in: query
  41342. name: deliverygoodsid
  41343. type: integer
  41344. - description: 品类id
  41345. in: query
  41346. name: wrstandardid
  41347. type: integer
  41348. produces:
  41349. - application/json
  41350. responses:
  41351. "200":
  41352. description: OK
  41353. schema:
  41354. items:
  41355. $ref: '#/definitions/models.WrPosition'
  41356. type: array
  41357. "500":
  41358. description: Internal Server Error
  41359. schema:
  41360. $ref: '#/definitions/app.Response'
  41361. security:
  41362. - ApiKeyAuth: []
  41363. summary: 查询现货(预售)仓单持仓
  41364. tags:
  41365. - 仓单贸易v2
  41366. /WrTrade2/QueryWrPreSaleInfo:
  41367. get:
  41368. parameters:
  41369. - description: 市场id
  41370. in: query
  41371. name: marketid
  41372. type: integer
  41373. - description: 预售状态(逗号隔开,如1,2,3) 1:未开始 2:进行中 3:已结束 4:已关闭
  41374. in: query
  41375. name: presalestatus
  41376. type: string
  41377. - description: 摇号标识 - 0:未摇号 1:已摇号
  41378. in: query
  41379. name: lotteryflag
  41380. type: integer
  41381. - description: 最近多少条记录(按创建时间倒序)
  41382. in: query
  41383. name: lastnum
  41384. type: integer
  41385. produces:
  41386. - application/json
  41387. responses:
  41388. "200":
  41389. description: OK
  41390. schema:
  41391. items:
  41392. $ref: '#/definitions/models.WrPreSaleInfo'
  41393. type: array
  41394. "500":
  41395. description: Internal Server Error
  41396. schema:
  41397. $ref: '#/definitions/app.Response'
  41398. security:
  41399. - ApiKeyAuth: []
  41400. summary: 查询新品发布
  41401. tags:
  41402. - 仓单贸易v2
  41403. /WrTrade2/QueryWrReckonSpotGoodsTradeSum:
  41404. get:
  41405. parameters:
  41406. - description: 市场id
  41407. in: query
  41408. name: marketid
  41409. required: true
  41410. type: integer
  41411. - description: 现货商品id
  41412. in: query
  41413. name: wrstandardid
  41414. required: true
  41415. type: integer
  41416. - description: 开始交易日(yyyymmdd)
  41417. in: query
  41418. name: begindate
  41419. type: string
  41420. - description: 结束交易日(yyyymmdd)
  41421. in: query
  41422. name: enddate
  41423. type: string
  41424. - description: 最近多少条记录(按交易日倒序)
  41425. in: query
  41426. name: lastnum
  41427. type: integer
  41428. - description: 是否今日
  41429. in: query
  41430. name: istoday
  41431. type: boolean
  41432. produces:
  41433. - application/json
  41434. responses:
  41435. "200":
  41436. description: OK
  41437. schema:
  41438. items:
  41439. $ref: '#/definitions/models.WrReckonSpotGoodsTradeSum'
  41440. type: array
  41441. "500":
  41442. description: Internal Server Error
  41443. schema:
  41444. $ref: '#/definitions/app.Response'
  41445. security:
  41446. - ApiKeyAuth: []
  41447. summary: 查询价格走势
  41448. tags:
  41449. - 仓单贸易v2
  41450. /WrTrade2/QueryWrScfContract:
  41451. get:
  41452. parameters:
  41453. - description: 用户id
  41454. in: query
  41455. name: userid
  41456. required: true
  41457. type: integer
  41458. - description: 融资合同id
  41459. in: query
  41460. name: scfcontractid
  41461. type: integer
  41462. produces:
  41463. - application/json
  41464. responses:
  41465. "200":
  41466. description: OK
  41467. schema:
  41468. items:
  41469. $ref: '#/definitions/models.WrScfContract'
  41470. type: array
  41471. "500":
  41472. description: Internal Server Error
  41473. schema:
  41474. $ref: '#/definitions/app.Response'
  41475. security:
  41476. - ApiKeyAuth: []
  41477. summary: 查询仓单贸易融资合同
  41478. tags:
  41479. - 仓单贸易v2
  41480. /WrTrade2/QueryWrScfContractInterest:
  41481. get:
  41482. parameters:
  41483. - description: 融资合同id
  41484. in: query
  41485. name: scfcontractid
  41486. type: integer
  41487. produces:
  41488. - application/json
  41489. responses:
  41490. "200":
  41491. description: OK
  41492. schema:
  41493. items:
  41494. $ref: '#/definitions/models.WrScfContractInterest'
  41495. type: array
  41496. "500":
  41497. description: Internal Server Error
  41498. schema:
  41499. $ref: '#/definitions/app.Response'
  41500. security:
  41501. - ApiKeyAuth: []
  41502. summary: 查询融资合同费用明细
  41503. tags:
  41504. - 仓单贸易v2
  41505. /WrTrade2/QueryWrSearchUser:
  41506. get:
  41507. parameters:
  41508. - description: 用户名称(模糊匹配)
  41509. in: query
  41510. name: username
  41511. required: true
  41512. type: string
  41513. produces:
  41514. - application/json
  41515. responses:
  41516. "200":
  41517. description: OK
  41518. schema:
  41519. items:
  41520. $ref: '#/definitions/models.WrSearchUser'
  41521. type: array
  41522. "500":
  41523. description: Internal Server Error
  41524. schema:
  41525. $ref: '#/definitions/app.Response'
  41526. security:
  41527. - ApiKeyAuth: []
  41528. summary: 查询用户
  41529. tags:
  41530. - 仓单贸易v2
  41531. /WrTrade2/QueryWrSpecialMatchOrder:
  41532. get:
  41533. description: 页面 现货仓单 | 预售仓单 -> 指定成交
  41534. parameters:
  41535. - description: 页码
  41536. in: query
  41537. name: page
  41538. type: integer
  41539. - description: 每页条数
  41540. in: query
  41541. name: pagesize
  41542. type: integer
  41543. - description: 用户id
  41544. in: query
  41545. name: userid
  41546. required: true
  41547. type: integer
  41548. - description: 仓单贸易市场id
  41549. in: query
  41550. name: marketid
  41551. type: integer
  41552. - description: 0:仓单预售 1:仓单贸易
  41553. in: query
  41554. name: haswr
  41555. required: true
  41556. type: integer
  41557. - description: 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  41558. in: query
  41559. name: isspecified
  41560. type: integer
  41561. produces:
  41562. - application/json
  41563. responses:
  41564. "200":
  41565. description: OK
  41566. schema:
  41567. items:
  41568. $ref: '#/definitions/models.WrSpecialMatchOrder'
  41569. type: array
  41570. "500":
  41571. description: Internal Server Error
  41572. schema:
  41573. $ref: '#/definitions/app.Response'
  41574. security:
  41575. - ApiKeyAuth: []
  41576. summary: 查询指定成交
  41577. tags:
  41578. - 仓单贸易v2
  41579. /WrTrade2/QueryWrStandardFactoryItem:
  41580. get:
  41581. parameters:
  41582. - description: 品类id
  41583. in: query
  41584. name: wrstandardid
  41585. required: true
  41586. type: integer
  41587. produces:
  41588. - application/json
  41589. responses:
  41590. "200":
  41591. description: OK
  41592. schema:
  41593. items:
  41594. $ref: '#/definitions/models.WrStandardFactoryItemEx'
  41595. type: array
  41596. "500":
  41597. description: Internal Server Error
  41598. schema:
  41599. $ref: '#/definitions/app.Response'
  41600. security:
  41601. - ApiKeyAuth: []
  41602. summary: 查询品类要素定义项
  41603. tags:
  41604. - 仓单贸易v2
  41605. /WrTrade2/QueryWrTradeBargainApply:
  41606. get:
  41607. description: 1.页面 挂单/议价单, 只需传单号就行 <br>2.页面 议价->我的议价 参数 userid=登录userid <br>3.页面
  41608. 议价->对方议价 填写matchuserid=登录用户id
  41609. parameters:
  41610. - description: 议价人id(摘牌方)
  41611. in: query
  41612. name: userid
  41613. type: integer
  41614. - description: 挂牌方id(查对方议价时,填写此项)
  41615. in: query
  41616. name: matchuserid
  41617. type: integer
  41618. - description: 关联委托单id
  41619. in: query
  41620. name: wrtradeorderid
  41621. type: integer
  41622. - description: 0:仓单预售 1:仓单贸易
  41623. in: query
  41624. name: haswr
  41625. required: true
  41626. type: integer
  41627. - description: 开始交易日(yyyymmdd)
  41628. in: query
  41629. name: begindate
  41630. type: string
  41631. - description: 结束交易日(yyyymmdd)
  41632. in: query
  41633. name: enddate
  41634. type: string
  41635. produces:
  41636. - application/json
  41637. responses:
  41638. "200":
  41639. description: OK
  41640. schema:
  41641. items:
  41642. $ref: '#/definitions/models.WRTradeBargainApply'
  41643. type: array
  41644. "500":
  41645. description: Internal Server Error
  41646. schema:
  41647. $ref: '#/definitions/app.Response'
  41648. security:
  41649. - ApiKeyAuth: []
  41650. summary: 查询议价单
  41651. tags:
  41652. - 仓单贸易v2
  41653. /WrTrade2/QueryWrTradeDetail:
  41654. get:
  41655. parameters:
  41656. - description: 页码
  41657. in: query
  41658. name: page
  41659. type: integer
  41660. - description: 每页条数
  41661. in: query
  41662. name: pagesize
  41663. type: integer
  41664. - description: 用户id
  41665. in: query
  41666. name: userid
  41667. required: true
  41668. type: integer
  41669. - description: 仓单贸易市场id
  41670. in: query
  41671. name: marketid
  41672. type: integer
  41673. - description: 0:仓单预售 1:仓单贸易
  41674. in: query
  41675. name: haswr
  41676. required: true
  41677. type: integer
  41678. - description: 开始交易日(yyyymmdd)
  41679. in: query
  41680. name: begindate
  41681. type: string
  41682. - description: 结束交易日(yyyymmdd)
  41683. in: query
  41684. name: enddate
  41685. type: string
  41686. produces:
  41687. - application/json
  41688. responses:
  41689. "200":
  41690. description: OK
  41691. schema:
  41692. items:
  41693. $ref: '#/definitions/models.WrTradeDetail'
  41694. type: array
  41695. "500":
  41696. description: Internal Server Error
  41697. schema:
  41698. $ref: '#/definitions/app.Response'
  41699. security:
  41700. - ApiKeyAuth: []
  41701. summary: 查询仓单成交明细
  41702. tags:
  41703. - 仓单贸易v2
  41704. /WrTrade2/QueryWrTradeOrderDetail:
  41705. get:
  41706. parameters:
  41707. - description: 页码
  41708. in: query
  41709. name: page
  41710. type: integer
  41711. - description: 每页条数
  41712. in: query
  41713. name: pagesize
  41714. type: integer
  41715. - description: 商品id
  41716. in: query
  41717. name: goodsid
  41718. required: true
  41719. type: integer
  41720. - description: 买卖方向 0-买 1-卖
  41721. in: query
  41722. name: buyorsell
  41723. required: true
  41724. type: integer
  41725. produces:
  41726. - application/json
  41727. responses:
  41728. "200":
  41729. description: OK
  41730. schema:
  41731. items:
  41732. $ref: '#/definitions/models.WrTradeOrderDetail'
  41733. type: array
  41734. "500":
  41735. description: Internal Server Error
  41736. schema:
  41737. $ref: '#/definitions/app.Response'
  41738. security:
  41739. - ApiKeyAuth: []
  41740. summary: 查询合约交易买卖大厅
  41741. tags:
  41742. - 仓单贸易v2
  41743. /WrTrade2/QueryWrTradeQuote:
  41744. get:
  41745. parameters:
  41746. - description: 现货商品id
  41747. in: query
  41748. name: wrstandardid
  41749. required: true
  41750. type: integer
  41751. - description: 开始日期(yyyymmdd)
  41752. in: query
  41753. name: begindate
  41754. required: true
  41755. type: string
  41756. - description: 结束日期(yyyymmdd)
  41757. in: query
  41758. name: enddate
  41759. required: true
  41760. type: string
  41761. - description: 市场id
  41762. in: query
  41763. name: marketid
  41764. type: integer
  41765. produces:
  41766. - application/json
  41767. responses:
  41768. "200":
  41769. description: OK
  41770. schema:
  41771. items:
  41772. $ref: '#/definitions/models.Wrtradetradequote'
  41773. type: array
  41774. "500":
  41775. description: Internal Server Error
  41776. schema:
  41777. $ref: '#/definitions/app.Response'
  41778. security:
  41779. - ApiKeyAuth: []
  41780. summary: 查询仓单贸易成交行情
  41781. tags:
  41782. - 仓单贸易v2
  41783. /WrTrade2/QueryWrUserFriend:
  41784. get:
  41785. parameters:
  41786. - description: 用户id
  41787. in: query
  41788. name: userid
  41789. required: true
  41790. type: integer
  41791. - description: 新朋友userid, 如果填写了此项则查找新朋友
  41792. in: query
  41793. name: newuserid
  41794. type: integer
  41795. produces:
  41796. - application/json
  41797. responses:
  41798. "200":
  41799. description: OK
  41800. schema:
  41801. items:
  41802. $ref: '#/definitions/models.WrUserFriend'
  41803. type: array
  41804. "500":
  41805. description: Internal Server Error
  41806. schema:
  41807. $ref: '#/definitions/app.Response'
  41808. security:
  41809. - ApiKeyAuth: []
  41810. summary: 查询我的朋友
  41811. tags:
  41812. - 仓单贸易v2
  41813. /WrTrade2/QueryWrUserReceiptInfo:
  41814. get:
  41815. parameters:
  41816. - description: 用户id
  41817. in: query
  41818. name: userid
  41819. type: integer
  41820. - description: 发票类型 - 1:个人 2:企业
  41821. in: query
  41822. name: receipttype
  41823. type: integer
  41824. produces:
  41825. - application/json
  41826. responses:
  41827. "200":
  41828. description: OK
  41829. schema:
  41830. items:
  41831. $ref: '#/definitions/models.WrUserReceiptInfo'
  41832. type: array
  41833. "500":
  41834. description: Internal Server Error
  41835. schema:
  41836. $ref: '#/definitions/app.Response'
  41837. security:
  41838. - ApiKeyAuth: []
  41839. summary: 查询发票信息
  41840. tags:
  41841. - 仓单贸易v2
  41842. /WrTrade2/QueryXhcpSellBackApply:
  41843. get:
  41844. parameters:
  41845. - description: 用户ID
  41846. in: query
  41847. name: userid
  41848. required: true
  41849. type: integer
  41850. produces:
  41851. - application/json
  41852. responses:
  41853. "200":
  41854. description: OK
  41855. schema:
  41856. items:
  41857. $ref: '#/definitions/models.Xhcpsellbackapply'
  41858. type: array
  41859. "500":
  41860. description: Internal Server Error
  41861. schema:
  41862. $ref: '#/definitions/app.Response'
  41863. security:
  41864. - ApiKeyAuth: []
  41865. summary: 查询我的回收申请(新会陈皮)
  41866. tags:
  41867. - 仓单贸易v2
  41868. /ZJ/GetBankTip:
  41869. get:
  41870. produces:
  41871. - application/json
  41872. responses:
  41873. "200":
  41874. description: OK
  41875. schema:
  41876. type: string
  41877. "500":
  41878. description: Internal Server Error
  41879. schema:
  41880. $ref: '#/definitions/app.Response'
  41881. summary: 获取中江网银端出入金提示信息
  41882. tags:
  41883. - 中江
  41884. /ZJ/GetCusBankChannels:
  41885. get:
  41886. produces:
  41887. - application/json
  41888. responses:
  41889. "200":
  41890. description: OK
  41891. schema:
  41892. items:
  41893. type: string
  41894. type: array
  41895. "500":
  41896. description: Internal Server Error
  41897. schema:
  41898. $ref: '#/definitions/app.Response'
  41899. summary: 获取中江出入金渠道显示列表
  41900. tags:
  41901. - 中江
  41902. securityDefinitions:
  41903. ApiKeyAuth:
  41904. in: header
  41905. name: Authorization
  41906. type: apiKey
  41907. Group:
  41908. in: header
  41909. name: Group
  41910. type: apiKey
  41911. LoginID:
  41912. in: header
  41913. name: LoginID
  41914. type: apiKey
  41915. swagger: "2.0"