swagger.yaml 1021 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758187591876018761187621876318764187651876618767187681876918770187711877218773187741877518776187771877818779187801878118782187831878418785187861878718788187891879018791187921879318794187951879618797187981879918800188011880218803188041880518806188071880818809188101881118812188131881418815188161881718818188191882018821188221882318824188251882618827188281882918830188311883218833188341883518836188371883818839188401884118842188431884418845188461884718848188491885018851188521885318854188551885618857188581885918860188611886218863188641886518866188671886818869188701887118872188731887418875188761887718878188791888018881188821888318884188851888618887188881888918890188911889218893188941889518896188971889818899189001890118902189031890418905189061890718908189091891018911189121891318914189151891618917189181891918920189211892218923189241892518926189271892818929189301893118932189331893418935189361893718938189391894018941189421894318944189451894618947189481894918950189511895218953189541895518956189571895818959189601896118962189631896418965189661896718968189691897018971189721897318974189751897618977189781897918980189811898218983189841898518986189871898818989189901899118992189931899418995189961899718998189991900019001190021900319004190051900619007190081900919010190111901219013190141901519016190171901819019190201902119022190231902419025190261902719028190291903019031190321903319034190351903619037190381903919040190411904219043190441904519046190471904819049190501905119052190531905419055190561905719058190591906019061190621906319064190651906619067190681906919070190711907219073190741907519076190771907819079190801908119082190831908419085190861908719088190891909019091190921909319094190951909619097190981909919100191011910219103191041910519106191071910819109191101911119112191131911419115191161911719118191191912019121191221912319124191251912619127191281912919130191311913219133191341913519136191371913819139191401914119142191431914419145191461914719148191491915019151191521915319154191551915619157191581915919160191611916219163191641916519166191671916819169191701917119172191731917419175191761917719178191791918019181191821918319184191851918619187191881918919190191911919219193191941919519196191971919819199192001920119202192031920419205192061920719208192091921019211192121921319214192151921619217192181921919220192211922219223192241922519226192271922819229192301923119232192331923419235192361923719238192391924019241192421924319244192451924619247192481924919250192511925219253192541925519256192571925819259192601926119262192631926419265192661926719268192691927019271192721927319274192751927619277192781927919280192811928219283192841928519286192871928819289192901929119292192931929419295192961929719298192991930019301193021930319304193051930619307193081930919310193111931219313193141931519316193171931819319193201932119322193231932419325193261932719328193291933019331193321933319334193351933619337193381933919340193411934219343193441934519346193471934819349193501935119352193531935419355193561935719358193591936019361193621936319364193651936619367193681936919370193711937219373193741937519376193771937819379193801938119382193831938419385193861938719388193891939019391193921939319394193951939619397193981939919400194011940219403194041940519406194071940819409194101941119412194131941419415194161941719418194191942019421194221942319424194251942619427194281942919430194311943219433194341943519436194371943819439194401944119442194431944419445194461944719448194491945019451194521945319454194551945619457194581945919460194611946219463194641946519466194671946819469194701947119472194731947419475194761947719478194791948019481194821948319484194851948619487194881948919490194911949219493194941949519496194971949819499195001950119502195031950419505195061950719508195091951019511195121951319514195151951619517195181951919520195211952219523195241952519526195271952819529195301953119532195331953419535195361953719538195391954019541195421954319544195451954619547195481954919550195511955219553195541955519556195571955819559195601956119562195631956419565195661956719568195691957019571195721957319574195751957619577195781957919580195811958219583195841958519586195871958819589195901959119592195931959419595195961959719598195991960019601196021960319604196051960619607196081960919610196111961219613196141961519616196171961819619196201962119622196231962419625196261962719628196291963019631196321963319634196351963619637196381963919640196411964219643196441964519646196471964819649196501965119652196531965419655196561965719658196591966019661196621966319664196651966619667196681966919670196711967219673196741967519676196771967819679196801968119682196831968419685196861968719688196891969019691196921969319694196951969619697196981969919700197011970219703197041970519706197071970819709197101971119712197131971419715197161971719718197191972019721197221972319724197251972619727197281972919730197311973219733197341973519736197371973819739197401974119742197431974419745197461974719748197491975019751197521975319754197551975619757197581975919760197611976219763197641976519766197671976819769197701977119772197731977419775197761977719778197791978019781197821978319784197851978619787197881978919790197911979219793197941979519796197971979819799198001980119802198031980419805198061980719808198091981019811198121981319814198151981619817198181981919820198211982219823198241982519826198271982819829198301983119832198331983419835198361983719838198391984019841198421984319844198451984619847198481984919850198511985219853198541985519856198571985819859198601986119862198631986419865198661986719868198691987019871198721987319874198751987619877198781987919880198811988219883198841988519886198871988819889198901989119892198931989419895198961989719898198991990019901199021990319904199051990619907199081990919910199111991219913199141991519916199171991819919199201992119922199231992419925199261992719928199291993019931199321993319934199351993619937199381993919940199411994219943199441994519946199471994819949199501995119952199531995419955199561995719958199591996019961199621996319964199651996619967199681996919970199711997219973199741997519976199771997819979199801998119982199831998419985199861998719988199891999019991199921999319994199951999619997199981999920000200012000220003200042000520006200072000820009200102001120012200132001420015200162001720018200192002020021200222002320024200252002620027200282002920030200312003220033200342003520036200372003820039200402004120042200432004420045200462004720048200492005020051200522005320054200552005620057200582005920060200612006220063200642006520066200672006820069200702007120072200732007420075200762007720078200792008020081200822008320084200852008620087200882008920090200912009220093200942009520096200972009820099201002010120102201032010420105201062010720108201092011020111201122011320114201152011620117201182011920120201212012220123201242012520126201272012820129201302013120132201332013420135201362013720138201392014020141201422014320144201452014620147201482014920150201512015220153201542015520156201572015820159201602016120162201632016420165201662016720168201692017020171201722017320174201752017620177201782017920180201812018220183201842018520186201872018820189201902019120192201932019420195201962019720198201992020020201202022020320204202052020620207202082020920210202112021220213202142021520216202172021820219202202022120222202232022420225202262022720228202292023020231202322023320234202352023620237202382023920240202412024220243202442024520246202472024820249202502025120252202532025420255202562025720258202592026020261202622026320264202652026620267202682026920270202712027220273202742027520276202772027820279202802028120282202832028420285202862028720288202892029020291202922029320294202952029620297202982029920300203012030220303203042030520306203072030820309203102031120312203132031420315203162031720318203192032020321203222032320324203252032620327203282032920330203312033220333203342033520336203372033820339203402034120342203432034420345203462034720348203492035020351203522035320354203552035620357203582035920360203612036220363203642036520366203672036820369203702037120372203732037420375203762037720378203792038020381203822038320384203852038620387203882038920390203912039220393203942039520396203972039820399204002040120402204032040420405204062040720408204092041020411204122041320414204152041620417204182041920420204212042220423204242042520426204272042820429204302043120432204332043420435204362043720438204392044020441204422044320444204452044620447204482044920450204512045220453204542045520456204572045820459204602046120462204632046420465204662046720468204692047020471204722047320474204752047620477204782047920480204812048220483204842048520486204872048820489204902049120492204932049420495204962049720498204992050020501205022050320504205052050620507205082050920510205112051220513205142051520516205172051820519205202052120522205232052420525205262052720528205292053020531205322053320534205352053620537205382053920540205412054220543205442054520546205472054820549205502055120552205532055420555205562055720558205592056020561205622056320564205652056620567205682056920570205712057220573205742057520576205772057820579205802058120582205832058420585205862058720588205892059020591205922059320594205952059620597205982059920600206012060220603206042060520606206072060820609206102061120612206132061420615206162061720618206192062020621206222062320624206252062620627206282062920630206312063220633206342063520636206372063820639206402064120642206432064420645206462064720648206492065020651206522065320654206552065620657206582065920660206612066220663206642066520666206672066820669206702067120672206732067420675206762067720678206792068020681206822068320684206852068620687206882068920690206912069220693206942069520696206972069820699207002070120702207032070420705207062070720708207092071020711207122071320714207152071620717207182071920720207212072220723207242072520726207272072820729207302073120732207332073420735207362073720738207392074020741207422074320744207452074620747207482074920750207512075220753207542075520756207572075820759207602076120762207632076420765207662076720768207692077020771207722077320774207752077620777207782077920780207812078220783207842078520786207872078820789207902079120792207932079420795207962079720798207992080020801208022080320804208052080620807208082080920810208112081220813208142081520816208172081820819208202082120822208232082420825208262082720828208292083020831208322083320834208352083620837208382083920840208412084220843208442084520846208472084820849208502085120852208532085420855208562085720858208592086020861208622086320864208652086620867208682086920870208712087220873208742087520876208772087820879208802088120882208832088420885208862088720888208892089020891208922089320894208952089620897208982089920900209012090220903209042090520906209072090820909209102091120912209132091420915209162091720918209192092020921209222092320924209252092620927209282092920930209312093220933209342093520936209372093820939209402094120942209432094420945209462094720948209492095020951209522095320954209552095620957209582095920960209612096220963209642096520966209672096820969209702097120972209732097420975209762097720978209792098020981209822098320984209852098620987209882098920990209912099220993209942099520996209972099820999210002100121002210032100421005210062100721008210092101021011210122101321014210152101621017210182101921020210212102221023210242102521026210272102821029210302103121032210332103421035210362103721038210392104021041210422104321044210452104621047210482104921050210512105221053210542105521056210572105821059210602106121062210632106421065210662106721068210692107021071210722107321074210752107621077210782107921080210812108221083210842108521086210872108821089210902109121092210932109421095210962109721098210992110021101211022110321104211052110621107211082110921110211112111221113211142111521116211172111821119211202112121122211232112421125211262112721128211292113021131211322113321134211352113621137211382113921140211412114221143211442114521146211472114821149211502115121152211532115421155211562115721158211592116021161211622116321164211652116621167211682116921170211712117221173211742117521176211772117821179211802118121182211832118421185211862118721188211892119021191211922119321194211952119621197211982119921200212012120221203212042120521206212072120821209212102121121212212132121421215212162121721218212192122021221212222122321224212252122621227212282122921230212312123221233212342123521236212372123821239212402124121242212432124421245212462124721248212492125021251212522125321254212552125621257212582125921260212612126221263212642126521266212672126821269212702127121272212732127421275212762127721278212792128021281212822128321284212852128621287212882128921290212912129221293212942129521296212972129821299213002130121302213032130421305213062130721308213092131021311213122131321314213152131621317213182131921320213212132221323213242132521326213272132821329213302133121332213332133421335213362133721338213392134021341213422134321344213452134621347213482134921350213512135221353213542135521356213572135821359213602136121362213632136421365213662136721368213692137021371213722137321374213752137621377213782137921380213812138221383213842138521386213872138821389213902139121392213932139421395213962139721398213992140021401214022140321404214052140621407214082140921410214112141221413214142141521416214172141821419214202142121422214232142421425214262142721428214292143021431214322143321434214352143621437214382143921440214412144221443214442144521446214472144821449214502145121452214532145421455214562145721458214592146021461214622146321464214652146621467214682146921470214712147221473214742147521476214772147821479214802148121482214832148421485214862148721488214892149021491214922149321494214952149621497214982149921500215012150221503215042150521506215072150821509215102151121512215132151421515215162151721518215192152021521215222152321524215252152621527215282152921530215312153221533215342153521536215372153821539215402154121542215432154421545215462154721548215492155021551215522155321554215552155621557215582155921560215612156221563215642156521566215672156821569215702157121572215732157421575215762157721578215792158021581215822158321584215852158621587215882158921590215912159221593215942159521596215972159821599216002160121602216032160421605216062160721608216092161021611216122161321614216152161621617216182161921620216212162221623216242162521626216272162821629216302163121632216332163421635216362163721638216392164021641216422164321644216452164621647216482164921650216512165221653216542165521656216572165821659216602166121662216632166421665216662166721668216692167021671216722167321674216752167621677216782167921680216812168221683216842168521686216872168821689216902169121692216932169421695216962169721698216992170021701217022170321704217052170621707217082170921710217112171221713217142171521716217172171821719217202172121722217232172421725217262172721728217292173021731217322173321734217352173621737217382173921740217412174221743217442174521746217472174821749217502175121752217532175421755217562175721758217592176021761217622176321764217652176621767217682176921770217712177221773217742177521776217772177821779217802178121782217832178421785217862178721788217892179021791217922179321794217952179621797217982179921800218012180221803218042180521806218072180821809218102181121812218132181421815218162181721818218192182021821218222182321824218252182621827218282182921830218312183221833218342183521836218372183821839218402184121842218432184421845218462184721848218492185021851218522185321854218552185621857218582185921860218612186221863218642186521866218672186821869218702187121872218732187421875218762187721878218792188021881218822188321884218852188621887218882188921890218912189221893218942189521896218972189821899219002190121902219032190421905219062190721908219092191021911219122191321914219152191621917219182191921920219212192221923219242192521926219272192821929219302193121932219332193421935219362193721938219392194021941219422194321944219452194621947219482194921950219512195221953219542195521956219572195821959219602196121962219632196421965219662196721968219692197021971219722197321974219752197621977219782197921980219812198221983219842198521986219872198821989219902199121992219932199421995219962199721998219992200022001220022200322004220052200622007220082200922010220112201222013220142201522016220172201822019220202202122022220232202422025220262202722028220292203022031220322203322034220352203622037220382203922040220412204222043220442204522046220472204822049220502205122052220532205422055220562205722058220592206022061220622206322064220652206622067220682206922070220712207222073220742207522076220772207822079220802208122082220832208422085220862208722088220892209022091220922209322094220952209622097220982209922100221012210222103221042210522106221072210822109221102211122112221132211422115221162211722118221192212022121221222212322124221252212622127221282212922130221312213222133221342213522136221372213822139221402214122142221432214422145221462214722148221492215022151221522215322154221552215622157221582215922160221612216222163221642216522166221672216822169221702217122172221732217422175221762217722178221792218022181221822218322184221852218622187221882218922190221912219222193221942219522196221972219822199222002220122202222032220422205222062220722208222092221022211222122221322214222152221622217222182221922220222212222222223222242222522226222272222822229222302223122232222332223422235222362223722238222392224022241222422224322244222452224622247222482224922250222512225222253222542225522256222572225822259222602226122262222632226422265222662226722268222692227022271222722227322274222752227622277222782227922280222812228222283222842228522286222872228822289222902229122292222932229422295222962229722298222992230022301223022230322304223052230622307223082230922310223112231222313223142231522316223172231822319223202232122322223232232422325223262232722328223292233022331223322233322334223352233622337223382233922340223412234222343223442234522346223472234822349223502235122352223532235422355223562235722358223592236022361223622236322364223652236622367223682236922370223712237222373223742237522376223772237822379223802238122382223832238422385223862238722388223892239022391223922239322394223952239622397223982239922400224012240222403224042240522406224072240822409224102241122412224132241422415224162241722418224192242022421224222242322424224252242622427224282242922430224312243222433224342243522436224372243822439224402244122442224432244422445224462244722448224492245022451224522245322454224552245622457224582245922460224612246222463224642246522466224672246822469224702247122472224732247422475224762247722478224792248022481224822248322484224852248622487224882248922490224912249222493224942249522496224972249822499225002250122502225032250422505225062250722508225092251022511225122251322514225152251622517225182251922520225212252222523225242252522526225272252822529225302253122532225332253422535225362253722538225392254022541225422254322544225452254622547225482254922550225512255222553225542255522556225572255822559225602256122562225632256422565225662256722568225692257022571225722257322574225752257622577225782257922580225812258222583225842258522586225872258822589225902259122592225932259422595225962259722598225992260022601226022260322604226052260622607226082260922610226112261222613226142261522616226172261822619226202262122622226232262422625226262262722628226292263022631226322263322634226352263622637226382263922640226412264222643226442264522646226472264822649226502265122652226532265422655226562265722658226592266022661226622266322664226652266622667226682266922670226712267222673226742267522676226772267822679226802268122682226832268422685226862268722688226892269022691226922269322694226952269622697226982269922700227012270222703227042270522706227072270822709227102271122712227132271422715227162271722718227192272022721227222272322724227252272622727227282272922730227312273222733227342273522736227372273822739227402274122742227432274422745227462274722748227492275022751227522275322754227552275622757227582275922760227612276222763227642276522766227672276822769227702277122772227732277422775227762277722778227792278022781227822278322784227852278622787227882278922790227912279222793227942279522796227972279822799228002280122802228032280422805228062280722808228092281022811228122281322814228152281622817228182281922820228212282222823228242282522826228272282822829228302283122832228332283422835228362283722838228392284022841228422284322844228452284622847228482284922850228512285222853228542285522856228572285822859228602286122862228632286422865228662286722868228692287022871228722287322874228752287622877228782287922880228812288222883228842288522886228872288822889228902289122892228932289422895228962289722898228992290022901229022290322904229052290622907229082290922910229112291222913229142291522916229172291822919229202292122922229232292422925229262292722928229292293022931229322293322934229352293622937229382293922940229412294222943229442294522946229472294822949229502295122952229532295422955229562295722958229592296022961229622296322964229652296622967229682296922970229712297222973229742297522976229772297822979229802298122982229832298422985229862298722988229892299022991229922299322994229952299622997229982299923000230012300223003230042300523006230072300823009230102301123012230132301423015230162301723018230192302023021230222302323024230252302623027230282302923030230312303223033230342303523036230372303823039230402304123042230432304423045230462304723048230492305023051230522305323054230552305623057230582305923060230612306223063230642306523066230672306823069230702307123072230732307423075230762307723078230792308023081230822308323084230852308623087230882308923090230912309223093230942309523096230972309823099231002310123102231032310423105231062310723108231092311023111231122311323114231152311623117231182311923120231212312223123231242312523126231272312823129231302313123132231332313423135231362313723138231392314023141231422314323144231452314623147231482314923150231512315223153231542315523156231572315823159231602316123162231632316423165231662316723168231692317023171231722317323174231752317623177231782317923180231812318223183231842318523186231872318823189231902319123192231932319423195231962319723198231992320023201232022320323204232052320623207232082320923210232112321223213232142321523216232172321823219232202322123222232232322423225232262322723228232292323023231232322323323234232352323623237232382323923240232412324223243232442324523246232472324823249232502325123252232532325423255232562325723258232592326023261232622326323264232652326623267232682326923270232712327223273232742327523276232772327823279232802328123282232832328423285232862328723288232892329023291232922329323294232952329623297232982329923300233012330223303233042330523306233072330823309233102331123312233132331423315233162331723318233192332023321233222332323324233252332623327233282332923330233312333223333233342333523336233372333823339233402334123342233432334423345233462334723348233492335023351233522335323354233552335623357233582335923360233612336223363233642336523366233672336823369233702337123372233732337423375233762337723378233792338023381233822338323384233852338623387233882338923390233912339223393233942339523396233972339823399234002340123402234032340423405234062340723408234092341023411234122341323414234152341623417234182341923420234212342223423234242342523426234272342823429234302343123432234332343423435234362343723438234392344023441234422344323444234452344623447234482344923450234512345223453234542345523456234572345823459234602346123462234632346423465234662346723468234692347023471234722347323474234752347623477234782347923480234812348223483234842348523486234872348823489234902349123492234932349423495234962349723498234992350023501235022350323504235052350623507235082350923510235112351223513235142351523516235172351823519235202352123522235232352423525235262352723528235292353023531235322353323534235352353623537235382353923540235412354223543235442354523546235472354823549235502355123552235532355423555235562355723558235592356023561235622356323564235652356623567235682356923570235712357223573235742357523576235772357823579235802358123582235832358423585235862358723588235892359023591235922359323594235952359623597235982359923600236012360223603236042360523606236072360823609236102361123612236132361423615236162361723618236192362023621236222362323624236252362623627236282362923630236312363223633236342363523636236372363823639236402364123642236432364423645236462364723648236492365023651236522365323654236552365623657236582365923660236612366223663236642366523666236672366823669236702367123672236732367423675236762367723678236792368023681236822368323684236852368623687236882368923690236912369223693236942369523696236972369823699237002370123702237032370423705237062370723708237092371023711237122371323714237152371623717237182371923720237212372223723237242372523726237272372823729237302373123732237332373423735237362373723738237392374023741237422374323744237452374623747237482374923750237512375223753237542375523756237572375823759237602376123762237632376423765237662376723768237692377023771237722377323774237752377623777237782377923780237812378223783237842378523786237872378823789237902379123792237932379423795237962379723798237992380023801238022380323804238052380623807238082380923810238112381223813238142381523816238172381823819238202382123822238232382423825238262382723828238292383023831238322383323834238352383623837238382383923840238412384223843238442384523846238472384823849238502385123852238532385423855238562385723858238592386023861238622386323864238652386623867238682386923870238712387223873238742387523876238772387823879238802388123882238832388423885238862388723888238892389023891238922389323894238952389623897238982389923900239012390223903239042390523906239072390823909239102391123912239132391423915239162391723918239192392023921239222392323924239252392623927239282392923930239312393223933239342393523936239372393823939239402394123942239432394423945239462394723948239492395023951239522395323954239552395623957239582395923960239612396223963239642396523966239672396823969239702397123972239732397423975239762397723978239792398023981239822398323984239852398623987239882398923990239912399223993239942399523996239972399823999240002400124002240032400424005240062400724008240092401024011240122401324014240152401624017240182401924020240212402224023240242402524026240272402824029240302403124032240332403424035240362403724038240392404024041240422404324044240452404624047240482404924050240512405224053240542405524056240572405824059240602406124062240632406424065240662406724068240692407024071240722407324074240752407624077240782407924080240812408224083240842408524086240872408824089240902409124092240932409424095240962409724098240992410024101241022410324104241052410624107241082410924110241112411224113241142411524116241172411824119241202412124122241232412424125241262412724128241292413024131241322413324134241352413624137241382413924140241412414224143241442414524146241472414824149241502415124152241532415424155241562415724158241592416024161241622416324164241652416624167241682416924170241712417224173241742417524176241772417824179241802418124182241832418424185241862418724188241892419024191241922419324194241952419624197241982419924200242012420224203242042420524206242072420824209242102421124212242132421424215242162421724218242192422024221242222422324224242252422624227242282422924230242312423224233242342423524236242372423824239242402424124242242432424424245242462424724248242492425024251242522425324254242552425624257242582425924260242612426224263242642426524266242672426824269242702427124272242732427424275242762427724278242792428024281242822428324284242852428624287242882428924290242912429224293242942429524296242972429824299243002430124302243032430424305243062430724308243092431024311243122431324314243152431624317243182431924320243212432224323243242432524326243272432824329243302433124332243332433424335243362433724338243392434024341243422434324344243452434624347243482434924350243512435224353243542435524356243572435824359243602436124362243632436424365243662436724368243692437024371243722437324374243752437624377243782437924380243812438224383243842438524386243872438824389243902439124392243932439424395243962439724398243992440024401244022440324404244052440624407244082440924410244112441224413244142441524416244172441824419244202442124422244232442424425244262442724428244292443024431244322443324434244352443624437244382443924440244412444224443244442444524446244472444824449244502445124452244532445424455244562445724458244592446024461244622446324464244652446624467244682446924470244712447224473244742447524476244772447824479244802448124482244832448424485244862448724488244892449024491244922449324494244952449624497244982449924500245012450224503245042450524506245072450824509245102451124512245132451424515245162451724518245192452024521245222452324524245252452624527245282452924530245312453224533245342453524536245372453824539245402454124542245432454424545245462454724548245492455024551245522455324554245552455624557245582455924560245612456224563245642456524566245672456824569245702457124572245732457424575245762457724578245792458024581245822458324584245852458624587245882458924590245912459224593245942459524596245972459824599246002460124602246032460424605246062460724608246092461024611246122461324614246152461624617246182461924620246212462224623246242462524626246272462824629246302463124632246332463424635246362463724638246392464024641246422464324644246452464624647246482464924650246512465224653246542465524656246572465824659246602466124662246632466424665246662466724668246692467024671246722467324674246752467624677246782467924680246812468224683246842468524686246872468824689246902469124692246932469424695246962469724698246992470024701247022470324704247052470624707247082470924710247112471224713247142471524716247172471824719247202472124722247232472424725247262472724728247292473024731247322473324734247352473624737247382473924740247412474224743247442474524746247472474824749247502475124752247532475424755247562475724758247592476024761247622476324764247652476624767247682476924770247712477224773247742477524776247772477824779247802478124782247832478424785247862478724788247892479024791247922479324794247952479624797247982479924800248012480224803248042480524806248072480824809248102481124812248132481424815248162481724818248192482024821248222482324824248252482624827248282482924830248312483224833248342483524836248372483824839248402484124842248432484424845248462484724848248492485024851248522485324854248552485624857248582485924860248612486224863248642486524866248672486824869248702487124872248732487424875248762487724878248792488024881248822488324884248852488624887248882488924890248912489224893248942489524896248972489824899249002490124902249032490424905249062490724908249092491024911249122491324914249152491624917249182491924920249212492224923249242492524926249272492824929249302493124932249332493424935249362493724938249392494024941249422494324944249452494624947249482494924950249512495224953249542495524956249572495824959249602496124962249632496424965249662496724968249692497024971249722497324974249752497624977249782497924980249812498224983249842498524986249872498824989249902499124992249932499424995249962499724998249992500025001250022500325004250052500625007250082500925010250112501225013250142501525016250172501825019250202502125022250232502425025250262502725028250292503025031250322503325034250352503625037250382503925040250412504225043250442504525046250472504825049250502505125052250532505425055250562505725058250592506025061250622506325064250652506625067250682506925070250712507225073250742507525076250772507825079250802508125082250832508425085250862508725088250892509025091250922509325094250952509625097250982509925100251012510225103251042510525106251072510825109251102511125112251132511425115251162511725118251192512025121251222512325124251252512625127251282512925130251312513225133251342513525136251372513825139251402514125142251432514425145251462514725148251492515025151251522515325154251552515625157251582515925160251612516225163251642516525166251672516825169251702517125172251732517425175251762517725178251792518025181251822518325184251852518625187251882518925190251912519225193251942519525196251972519825199252002520125202252032520425205252062520725208252092521025211252122521325214252152521625217252182521925220252212522225223252242522525226252272522825229252302523125232252332523425235252362523725238252392524025241252422524325244252452524625247252482524925250252512525225253252542525525256252572525825259252602526125262252632526425265252662526725268252692527025271252722527325274252752527625277252782527925280252812528225283252842528525286252872528825289252902529125292252932529425295252962529725298252992530025301253022530325304253052530625307253082530925310253112531225313253142531525316253172531825319253202532125322253232532425325253262532725328253292533025331253322533325334253352533625337253382533925340253412534225343253442534525346253472534825349253502535125352253532535425355253562535725358253592536025361253622536325364253652536625367253682536925370253712537225373253742537525376253772537825379253802538125382253832538425385253862538725388253892539025391253922539325394253952539625397253982539925400254012540225403254042540525406254072540825409254102541125412254132541425415254162541725418254192542025421254222542325424254252542625427254282542925430254312543225433254342543525436254372543825439254402544125442254432544425445254462544725448254492545025451254522545325454254552545625457254582545925460254612546225463254642546525466254672546825469254702547125472254732547425475254762547725478254792548025481254822548325484254852548625487254882548925490254912549225493254942549525496254972549825499255002550125502255032550425505255062550725508255092551025511255122551325514255152551625517255182551925520255212552225523255242552525526255272552825529255302553125532255332553425535255362553725538255392554025541255422554325544255452554625547255482554925550255512555225553255542555525556255572555825559255602556125562255632556425565255662556725568255692557025571255722557325574255752557625577255782557925580255812558225583255842558525586255872558825589255902559125592255932559425595255962559725598255992560025601256022560325604256052560625607256082560925610256112561225613256142561525616256172561825619256202562125622256232562425625256262562725628256292563025631256322563325634256352563625637256382563925640256412564225643256442564525646256472564825649256502565125652256532565425655256562565725658256592566025661256622566325664256652566625667256682566925670256712567225673256742567525676256772567825679256802568125682256832568425685256862568725688256892569025691256922569325694256952569625697256982569925700257012570225703257042570525706257072570825709257102571125712257132571425715257162571725718257192572025721257222572325724257252572625727257282572925730257312573225733257342573525736257372573825739257402574125742257432574425745257462574725748257492575025751257522575325754257552575625757257582575925760257612576225763257642576525766257672576825769257702577125772257732577425775257762577725778257792578025781257822578325784257852578625787257882578925790257912579225793257942579525796257972579825799258002580125802258032580425805258062580725808258092581025811258122581325814258152581625817258182581925820258212582225823258242582525826258272582825829258302583125832258332583425835258362583725838258392584025841258422584325844258452584625847258482584925850258512585225853258542585525856258572585825859258602586125862258632586425865258662586725868258692587025871258722587325874258752587625877258782587925880258812588225883258842588525886258872588825889258902589125892258932589425895258962589725898258992590025901259022590325904259052590625907259082590925910259112591225913259142591525916259172591825919259202592125922259232592425925259262592725928259292593025931259322593325934259352593625937259382593925940259412594225943259442594525946259472594825949259502595125952259532595425955259562595725958259592596025961259622596325964259652596625967259682596925970259712597225973259742597525976259772597825979259802598125982259832598425985259862598725988259892599025991259922599325994259952599625997259982599926000260012600226003260042600526006260072600826009260102601126012260132601426015260162601726018260192602026021260222602326024260252602626027260282602926030260312603226033260342603526036260372603826039260402604126042260432604426045260462604726048260492605026051260522605326054260552605626057260582605926060260612606226063260642606526066260672606826069260702607126072260732607426075260762607726078260792608026081260822608326084260852608626087260882608926090260912609226093260942609526096260972609826099261002610126102261032610426105261062610726108261092611026111261122611326114261152611626117261182611926120261212612226123261242612526126261272612826129261302613126132261332613426135261362613726138261392614026141261422614326144261452614626147261482614926150261512615226153261542615526156261572615826159261602616126162261632616426165261662616726168261692617026171261722617326174261752617626177261782617926180261812618226183261842618526186261872618826189261902619126192261932619426195261962619726198261992620026201262022620326204262052620626207262082620926210262112621226213262142621526216262172621826219262202622126222262232622426225262262622726228262292623026231262322623326234262352623626237262382623926240262412624226243262442624526246262472624826249262502625126252262532625426255262562625726258262592626026261262622626326264262652626626267262682626926270262712627226273262742627526276262772627826279262802628126282262832628426285262862628726288262892629026291262922629326294262952629626297262982629926300263012630226303263042630526306263072630826309263102631126312263132631426315263162631726318263192632026321263222632326324263252632626327263282632926330263312633226333263342633526336263372633826339263402634126342263432634426345263462634726348263492635026351263522635326354263552635626357263582635926360263612636226363263642636526366263672636826369263702637126372263732637426375263762637726378263792638026381263822638326384263852638626387263882638926390263912639226393263942639526396263972639826399264002640126402264032640426405264062640726408264092641026411264122641326414264152641626417264182641926420264212642226423264242642526426264272642826429264302643126432264332643426435264362643726438264392644026441264422644326444264452644626447264482644926450264512645226453264542645526456264572645826459264602646126462264632646426465264662646726468264692647026471264722647326474264752647626477264782647926480264812648226483264842648526486264872648826489264902649126492264932649426495264962649726498264992650026501265022650326504265052650626507265082650926510265112651226513265142651526516265172651826519265202652126522265232652426525265262652726528265292653026531265322653326534265352653626537265382653926540265412654226543265442654526546265472654826549265502655126552265532655426555265562655726558265592656026561265622656326564265652656626567265682656926570265712657226573265742657526576265772657826579265802658126582265832658426585265862658726588265892659026591265922659326594265952659626597265982659926600266012660226603266042660526606266072660826609266102661126612266132661426615266162661726618266192662026621266222662326624266252662626627266282662926630266312663226633266342663526636266372663826639266402664126642266432664426645266462664726648266492665026651266522665326654266552665626657266582665926660266612666226663266642666526666266672666826669266702667126672266732667426675266762667726678266792668026681266822668326684266852668626687266882668926690266912669226693266942669526696266972669826699267002670126702267032670426705267062670726708267092671026711267122671326714267152671626717267182671926720267212672226723267242672526726267272672826729267302673126732267332673426735267362673726738267392674026741267422674326744267452674626747267482674926750267512675226753267542675526756267572675826759267602676126762267632676426765267662676726768267692677026771267722677326774267752677626777267782677926780267812678226783267842678526786267872678826789267902679126792267932679426795267962679726798267992680026801268022680326804268052680626807268082680926810268112681226813268142681526816268172681826819268202682126822268232682426825268262682726828268292683026831268322683326834268352683626837268382683926840268412684226843268442684526846268472684826849268502685126852268532685426855268562685726858268592686026861268622686326864268652686626867268682686926870268712687226873268742687526876268772687826879268802688126882268832688426885268862688726888268892689026891268922689326894268952689626897268982689926900269012690226903269042690526906269072690826909269102691126912269132691426915269162691726918269192692026921269222692326924269252692626927269282692926930269312693226933269342693526936269372693826939269402694126942269432694426945269462694726948269492695026951269522695326954269552695626957269582695926960269612696226963269642696526966269672696826969269702697126972269732697426975269762697726978269792698026981269822698326984269852698626987269882698926990269912699226993269942699526996269972699826999270002700127002270032700427005270062700727008270092701027011270122701327014270152701627017270182701927020270212702227023270242702527026270272702827029270302703127032270332703427035270362703727038270392704027041270422704327044270452704627047270482704927050270512705227053270542705527056270572705827059270602706127062270632706427065270662706727068270692707027071270722707327074270752707627077270782707927080270812708227083270842708527086270872708827089270902709127092270932709427095270962709727098270992710027101271022710327104271052710627107271082710927110271112711227113271142711527116271172711827119271202712127122271232712427125271262712727128271292713027131271322713327134271352713627137271382713927140271412714227143271442714527146271472714827149271502715127152271532715427155271562715727158271592716027161271622716327164271652716627167271682716927170271712717227173271742717527176271772717827179271802718127182271832718427185271862718727188271892719027191271922719327194271952719627197271982719927200272012720227203272042720527206272072720827209272102721127212272132721427215272162721727218272192722027221272222722327224272252722627227272282722927230272312723227233272342723527236272372723827239272402724127242272432724427245272462724727248272492725027251272522725327254272552725627257272582725927260272612726227263272642726527266272672726827269272702727127272272732727427275272762727727278272792728027281272822728327284272852728627287272882728927290272912729227293272942729527296272972729827299273002730127302273032730427305273062730727308273092731027311273122731327314273152731627317273182731927320273212732227323273242732527326273272732827329273302733127332273332733427335273362733727338273392734027341273422734327344273452734627347273482734927350273512735227353273542735527356273572735827359273602736127362273632736427365273662736727368273692737027371273722737327374273752737627377273782737927380273812738227383273842738527386273872738827389273902739127392273932739427395273962739727398273992740027401274022740327404274052740627407274082740927410274112741227413274142741527416274172741827419274202742127422274232742427425274262742727428274292743027431274322743327434274352743627437274382743927440274412744227443274442744527446274472744827449274502745127452274532745427455274562745727458274592746027461274622746327464274652746627467274682746927470274712747227473274742747527476274772747827479274802748127482274832748427485274862748727488274892749027491274922749327494274952749627497274982749927500275012750227503275042750527506275072750827509275102751127512275132751427515275162751727518275192752027521275222752327524275252752627527275282752927530275312753227533275342753527536275372753827539275402754127542275432754427545275462754727548275492755027551275522755327554275552755627557275582755927560275612756227563275642756527566275672756827569275702757127572275732757427575275762757727578275792758027581275822758327584275852758627587275882758927590275912759227593275942759527596275972759827599276002760127602276032760427605276062760727608276092761027611276122761327614276152761627617276182761927620276212762227623276242762527626276272762827629276302763127632276332763427635276362763727638276392764027641276422764327644276452764627647276482764927650276512765227653276542765527656276572765827659276602766127662276632766427665276662766727668276692767027671276722767327674276752767627677276782767927680276812768227683276842768527686276872768827689276902769127692276932769427695276962769727698276992770027701277022770327704277052770627707277082770927710277112771227713277142771527716277172771827719277202772127722277232772427725277262772727728277292773027731277322773327734277352773627737277382773927740277412774227743277442774527746277472774827749277502775127752277532775427755277562775727758277592776027761277622776327764277652776627767277682776927770277712777227773277742777527776277772777827779277802778127782277832778427785277862778727788277892779027791277922779327794277952779627797277982779927800278012780227803278042780527806278072780827809278102781127812278132781427815278162781727818278192782027821278222782327824278252782627827278282782927830278312783227833278342783527836278372783827839278402784127842278432784427845278462784727848278492785027851278522785327854278552785627857278582785927860278612786227863278642786527866278672786827869278702787127872278732787427875278762787727878278792788027881278822788327884278852788627887278882788927890278912789227893278942789527896278972789827899279002790127902279032790427905279062790727908279092791027911279122791327914279152791627917279182791927920279212792227923279242792527926279272792827929279302793127932279332793427935279362793727938279392794027941279422794327944279452794627947279482794927950279512795227953279542795527956279572795827959279602796127962279632796427965279662796727968279692797027971279722797327974279752797627977279782797927980279812798227983279842798527986279872798827989279902799127992279932799427995279962799727998279992800028001280022800328004280052800628007280082800928010280112801228013280142801528016280172801828019280202802128022280232802428025280262802728028280292803028031280322803328034280352803628037280382803928040280412804228043280442804528046280472804828049280502805128052280532805428055280562805728058280592806028061280622806328064280652806628067280682806928070280712807228073280742807528076280772807828079280802808128082280832808428085280862808728088280892809028091280922809328094280952809628097280982809928100281012810228103281042810528106281072810828109281102811128112281132811428115281162811728118281192812028121281222812328124281252812628127281282812928130281312813228133281342813528136281372813828139281402814128142281432814428145281462814728148281492815028151281522815328154281552815628157281582815928160281612816228163281642816528166281672816828169281702817128172281732817428175281762817728178281792818028181281822818328184281852818628187281882818928190281912819228193281942819528196281972819828199282002820128202282032820428205282062820728208282092821028211282122821328214282152821628217282182821928220282212822228223282242822528226282272822828229282302823128232282332823428235282362823728238282392824028241282422824328244282452824628247282482824928250282512825228253282542825528256282572825828259282602826128262282632826428265282662826728268282692827028271282722827328274282752827628277282782827928280282812828228283282842828528286282872828828289282902829128292282932829428295282962829728298282992830028301283022830328304283052830628307283082830928310283112831228313283142831528316283172831828319283202832128322283232832428325283262832728328283292833028331283322833328334283352833628337283382833928340283412834228343283442834528346283472834828349283502835128352283532835428355283562835728358283592836028361283622836328364283652836628367283682836928370283712837228373283742837528376283772837828379283802838128382283832838428385283862838728388283892839028391283922839328394283952839628397283982839928400284012840228403284042840528406284072840828409284102841128412284132841428415284162841728418284192842028421284222842328424284252842628427284282842928430284312843228433284342843528436284372843828439284402844128442284432844428445284462844728448284492845028451284522845328454284552845628457284582845928460284612846228463284642846528466284672846828469284702847128472284732847428475284762847728478284792848028481284822848328484284852848628487284882848928490284912849228493284942849528496284972849828499285002850128502285032850428505285062850728508285092851028511285122851328514285152851628517285182851928520285212852228523285242852528526285272852828529285302853128532285332853428535285362853728538285392854028541285422854328544285452854628547285482854928550285512855228553285542855528556285572855828559285602856128562285632856428565285662856728568285692857028571285722857328574285752857628577285782857928580285812858228583285842858528586285872858828589285902859128592285932859428595285962859728598285992860028601286022860328604286052860628607286082860928610286112861228613286142861528616286172861828619286202862128622286232862428625286262862728628286292863028631286322863328634286352863628637286382863928640286412864228643286442864528646286472864828649286502865128652286532865428655286562865728658286592866028661286622866328664286652866628667286682866928670286712867228673286742867528676286772867828679286802868128682286832868428685286862868728688286892869028691286922869328694286952869628697286982869928700287012870228703287042870528706287072870828709287102871128712287132871428715287162871728718287192872028721287222872328724287252872628727287282872928730287312873228733287342873528736287372873828739287402874128742287432874428745287462874728748287492875028751287522875328754287552875628757287582875928760287612876228763287642876528766287672876828769287702877128772287732877428775287762877728778287792878028781287822878328784287852878628787287882878928790287912879228793287942879528796287972879828799288002880128802288032880428805288062880728808288092881028811288122881328814288152881628817288182881928820288212882228823288242882528826288272882828829288302883128832288332883428835288362883728838288392884028841288422884328844288452884628847288482884928850288512885228853288542885528856288572885828859288602886128862288632886428865288662886728868288692887028871288722887328874288752887628877288782887928880288812888228883288842888528886288872888828889288902889128892288932889428895288962889728898288992890028901289022890328904289052890628907289082890928910289112891228913289142891528916289172891828919289202892128922289232892428925289262892728928289292893028931289322893328934289352893628937289382893928940289412894228943289442894528946289472894828949289502895128952289532895428955289562895728958289592896028961289622896328964289652896628967289682896928970289712897228973289742897528976289772897828979289802898128982289832898428985289862898728988289892899028991289922899328994289952899628997289982899929000290012900229003290042900529006290072900829009290102901129012290132901429015290162901729018290192902029021290222902329024290252902629027290282902929030290312903229033290342903529036290372903829039290402904129042290432904429045290462904729048290492905029051290522905329054290552905629057290582905929060290612906229063290642906529066290672906829069290702907129072290732907429075290762907729078290792908029081290822908329084290852908629087290882908929090290912909229093290942909529096290972909829099291002910129102291032910429105291062910729108291092911029111291122911329114291152911629117291182911929120291212912229123291242912529126291272912829129291302913129132291332913429135291362913729138291392914029141291422914329144291452914629147291482914929150291512915229153291542915529156291572915829159291602916129162291632916429165291662916729168291692917029171291722917329174291752917629177291782917929180291812918229183291842918529186291872918829189291902919129192291932919429195291962919729198291992920029201292022920329204292052920629207292082920929210292112921229213292142921529216292172921829219292202922129222292232922429225292262922729228292292923029231292322923329234292352923629237292382923929240292412924229243292442924529246292472924829249292502925129252292532925429255292562925729258292592926029261292622926329264292652926629267292682926929270292712927229273292742927529276292772927829279292802928129282292832928429285292862928729288292892929029291292922929329294292952929629297292982929929300293012930229303293042930529306293072930829309293102931129312293132931429315293162931729318293192932029321293222932329324293252932629327293282932929330293312933229333293342933529336293372933829339293402934129342293432934429345293462934729348293492935029351293522935329354293552935629357293582935929360293612936229363293642936529366293672936829369293702937129372293732937429375293762937729378293792938029381293822938329384293852938629387293882938929390293912939229393293942939529396293972939829399294002940129402294032940429405294062940729408294092941029411294122941329414294152941629417294182941929420294212942229423294242942529426294272942829429294302943129432294332943429435294362943729438294392944029441294422944329444294452944629447294482944929450294512945229453294542945529456294572945829459294602946129462294632946429465294662946729468294692947029471294722947329474294752947629477294782947929480294812948229483294842948529486294872948829489294902949129492294932949429495294962949729498294992950029501295022950329504295052950629507295082950929510295112951229513295142951529516295172951829519295202952129522295232952429525295262952729528295292953029531295322953329534295352953629537295382953929540295412954229543295442954529546295472954829549295502955129552295532955429555295562955729558295592956029561295622956329564295652956629567295682956929570295712957229573295742957529576295772957829579295802958129582295832958429585295862958729588295892959029591295922959329594295952959629597295982959929600296012960229603296042960529606296072960829609296102961129612296132961429615296162961729618296192962029621296222962329624296252962629627296282962929630296312963229633296342963529636296372963829639296402964129642296432964429645296462964729648296492965029651296522965329654296552965629657296582965929660296612966229663296642966529666296672966829669296702967129672296732967429675296762967729678296792968029681296822968329684296852968629687296882968929690296912969229693296942969529696296972969829699297002970129702297032970429705297062970729708297092971029711297122971329714297152971629717297182971929720297212972229723297242972529726297272972829729297302973129732297332973429735297362973729738297392974029741297422974329744297452974629747297482974929750297512975229753297542975529756297572975829759297602976129762297632976429765297662976729768297692977029771297722977329774297752977629777297782977929780297812978229783297842978529786297872978829789297902979129792297932979429795297962979729798297992980029801298022980329804298052980629807298082980929810298112981229813298142981529816298172981829819298202982129822298232982429825298262982729828298292983029831298322983329834298352983629837298382983929840298412984229843298442984529846298472984829849298502985129852298532985429855298562985729858298592986029861298622986329864298652986629867298682986929870298712987229873298742987529876298772987829879298802988129882298832988429885298862988729888298892989029891298922989329894298952989629897298982989929900299012990229903299042990529906299072990829909299102991129912299132991429915299162991729918299192992029921299222992329924299252992629927299282992929930299312993229933299342993529936299372993829939299402994129942299432994429945299462994729948299492995029951299522995329954299552995629957299582995929960299612996229963299642996529966299672996829969299702997129972299732997429975299762997729978299792998029981299822998329984299852998629987299882998929990299912999229993299942999529996299972999829999300003000130002300033000430005300063000730008300093001030011300123001330014300153001630017300183001930020300213002230023300243002530026300273002830029300303003130032300333003430035300363003730038300393004030041300423004330044300453004630047300483004930050300513005230053300543005530056300573005830059300603006130062300633006430065300663006730068300693007030071300723007330074300753007630077300783007930080300813008230083300843008530086300873008830089300903009130092300933009430095300963009730098300993010030101301023010330104301053010630107301083010930110301113011230113301143011530116301173011830119301203012130122301233012430125301263012730128301293013030131301323013330134301353013630137301383013930140301413014230143301443014530146301473014830149301503015130152301533015430155301563015730158301593016030161301623016330164301653016630167301683016930170301713017230173301743017530176301773017830179301803018130182301833018430185301863018730188301893019030191301923019330194301953019630197301983019930200302013020230203302043020530206302073020830209302103021130212302133021430215302163021730218302193022030221302223022330224302253022630227302283022930230302313023230233302343023530236302373023830239302403024130242302433024430245302463024730248302493025030251302523025330254302553025630257302583025930260302613026230263302643026530266302673026830269302703027130272302733027430275302763027730278302793028030281302823028330284302853028630287302883028930290302913029230293302943029530296302973029830299303003030130302303033030430305303063030730308303093031030311303123031330314303153031630317303183031930320303213032230323303243032530326303273032830329303303033130332303333033430335303363033730338303393034030341303423034330344303453034630347303483034930350303513035230353303543035530356303573035830359303603036130362303633036430365303663036730368303693037030371303723037330374303753037630377303783037930380303813038230383303843038530386303873038830389303903039130392303933039430395303963039730398303993040030401304023040330404304053040630407304083040930410304113041230413304143041530416304173041830419304203042130422304233042430425304263042730428304293043030431304323043330434304353043630437304383043930440304413044230443304443044530446304473044830449304503045130452304533045430455304563045730458304593046030461304623046330464304653046630467304683046930470304713047230473304743047530476304773047830479304803048130482304833048430485304863048730488304893049030491304923049330494304953049630497304983049930500305013050230503305043050530506305073050830509305103051130512305133051430515305163051730518305193052030521305223052330524305253052630527305283052930530305313053230533305343053530536305373053830539305403054130542305433054430545305463054730548305493055030551305523055330554305553055630557305583055930560305613056230563305643056530566305673056830569305703057130572305733057430575305763057730578305793058030581305823058330584305853058630587305883058930590305913059230593305943059530596305973059830599306003060130602306033060430605306063060730608306093061030611306123061330614306153061630617306183061930620306213062230623306243062530626306273062830629306303063130632306333063430635306363063730638306393064030641306423064330644306453064630647306483064930650306513065230653306543065530656306573065830659306603066130662306633066430665306663066730668306693067030671306723067330674306753067630677306783067930680306813068230683306843068530686306873068830689306903069130692306933069430695306963069730698306993070030701307023070330704307053070630707307083070930710307113071230713307143071530716307173071830719307203072130722307233072430725307263072730728307293073030731307323073330734307353073630737307383073930740307413074230743307443074530746307473074830749307503075130752307533075430755307563075730758307593076030761307623076330764307653076630767307683076930770307713077230773307743077530776307773077830779307803078130782307833078430785307863078730788307893079030791307923079330794307953079630797307983079930800308013080230803308043080530806308073080830809308103081130812308133081430815308163081730818308193082030821308223082330824308253082630827308283082930830308313083230833308343083530836308373083830839308403084130842308433084430845308463084730848308493085030851308523085330854308553085630857308583085930860308613086230863308643086530866308673086830869308703087130872308733087430875308763087730878308793088030881308823088330884308853088630887308883088930890308913089230893308943089530896308973089830899309003090130902309033090430905309063090730908309093091030911309123091330914309153091630917309183091930920309213092230923309243092530926309273092830929309303093130932309333093430935309363093730938309393094030941309423094330944309453094630947309483094930950309513095230953309543095530956309573095830959309603096130962309633096430965309663096730968309693097030971309723097330974309753097630977309783097930980309813098230983309843098530986309873098830989309903099130992309933099430995309963099730998309993100031001310023100331004310053100631007310083100931010310113101231013310143101531016310173101831019310203102131022310233102431025310263102731028310293103031031310323103331034310353103631037310383103931040310413104231043310443104531046310473104831049310503105131052310533105431055310563105731058310593106031061310623106331064310653106631067310683106931070310713107231073310743107531076310773107831079310803108131082310833108431085310863108731088310893109031091310923109331094310953109631097310983109931100311013110231103311043110531106311073110831109311103111131112311133111431115311163111731118311193112031121311223112331124311253112631127311283112931130311313113231133311343113531136311373113831139311403114131142311433114431145311463114731148311493115031151311523115331154311553115631157311583115931160311613116231163311643116531166311673116831169311703117131172311733117431175311763117731178311793118031181311823118331184311853118631187311883118931190311913119231193311943119531196311973119831199312003120131202312033120431205312063120731208312093121031211312123121331214312153121631217312183121931220312213122231223312243122531226312273122831229312303123131232312333123431235312363123731238312393124031241312423124331244312453124631247312483124931250312513125231253312543125531256312573125831259312603126131262312633126431265312663126731268312693127031271312723127331274312753127631277312783127931280312813128231283312843128531286312873128831289312903129131292312933129431295312963129731298312993130031301313023130331304313053130631307313083130931310313113131231313313143131531316313173131831319313203132131322313233132431325313263132731328313293133031331313323133331334313353133631337313383133931340313413134231343313443134531346313473134831349313503135131352313533135431355313563135731358313593136031361313623136331364313653136631367313683136931370313713137231373313743137531376313773137831379313803138131382313833138431385313863138731388313893139031391313923139331394313953139631397313983139931400314013140231403314043140531406314073140831409314103141131412314133141431415314163141731418314193142031421314223142331424314253142631427314283142931430314313143231433314343143531436314373143831439314403144131442314433144431445314463144731448314493145031451314523145331454314553145631457314583145931460314613146231463314643146531466314673146831469314703147131472314733147431475314763147731478314793148031481314823148331484314853148631487314883148931490314913149231493314943149531496314973149831499315003150131502315033150431505315063150731508315093151031511315123151331514315153151631517315183151931520315213152231523315243152531526315273152831529315303153131532315333153431535315363153731538315393154031541315423154331544315453154631547315483154931550315513155231553315543155531556315573155831559315603156131562315633156431565315663156731568315693157031571315723157331574315753157631577315783157931580315813158231583315843158531586315873158831589315903159131592315933159431595315963159731598315993160031601316023160331604316053160631607316083160931610316113161231613316143161531616316173161831619316203162131622316233162431625316263162731628316293163031631316323163331634316353163631637316383163931640316413164231643316443164531646316473164831649316503165131652316533165431655316563165731658316593166031661316623166331664316653166631667316683166931670316713167231673316743167531676316773167831679316803168131682316833168431685316863168731688316893169031691316923169331694316953169631697316983169931700317013170231703317043170531706317073170831709317103171131712317133171431715317163171731718317193172031721317223172331724317253172631727317283172931730317313173231733317343173531736317373173831739317403174131742317433174431745317463174731748317493175031751317523175331754317553175631757317583175931760317613176231763317643176531766317673176831769317703177131772317733177431775317763177731778317793178031781317823178331784317853178631787317883178931790317913179231793317943179531796317973179831799318003180131802318033180431805318063180731808318093181031811318123181331814318153181631817318183181931820318213182231823318243182531826318273182831829318303183131832318333183431835318363183731838318393184031841318423184331844318453184631847318483184931850318513185231853318543185531856318573185831859318603186131862318633186431865318663186731868318693187031871318723187331874318753187631877318783187931880318813188231883318843188531886318873188831889318903189131892318933189431895318963189731898318993190031901319023190331904319053190631907319083190931910319113191231913319143191531916319173191831919319203192131922319233192431925319263192731928319293193031931319323193331934319353193631937319383193931940319413194231943319443194531946319473194831949319503195131952319533195431955319563195731958319593196031961319623196331964319653196631967319683196931970319713197231973319743197531976319773197831979319803198131982319833198431985319863198731988319893199031991319923199331994319953199631997319983199932000320013200232003320043200532006320073200832009320103201132012320133201432015320163201732018320193202032021320223202332024320253202632027320283202932030320313203232033320343203532036320373203832039320403204132042320433204432045320463204732048320493205032051320523205332054320553205632057320583205932060320613206232063320643206532066320673206832069320703207132072320733207432075320763207732078320793208032081320823208332084320853208632087320883208932090320913209232093320943209532096320973209832099321003210132102321033210432105321063210732108321093211032111321123211332114321153211632117321183211932120321213212232123321243212532126321273212832129321303213132132321333213432135321363213732138321393214032141321423214332144321453214632147321483214932150321513215232153321543215532156321573215832159321603216132162321633216432165321663216732168321693217032171321723217332174321753217632177321783217932180321813218232183321843218532186321873218832189321903219132192321933219432195321963219732198321993220032201322023220332204322053220632207322083220932210322113221232213322143221532216322173221832219322203222132222322233222432225322263222732228322293223032231322323223332234322353223632237322383223932240322413224232243322443224532246322473224832249322503225132252322533225432255322563225732258322593226032261322623226332264322653226632267322683226932270322713227232273322743227532276322773227832279322803228132282322833228432285322863228732288322893229032291322923229332294322953229632297322983229932300323013230232303323043230532306323073230832309323103231132312323133231432315323163231732318323193232032321323223232332324323253232632327323283232932330323313233232333323343233532336323373233832339323403234132342323433234432345323463234732348323493235032351323523235332354323553235632357323583235932360323613236232363323643236532366323673236832369323703237132372323733237432375323763237732378323793238032381323823238332384323853238632387323883238932390323913239232393323943239532396323973239832399324003240132402324033240432405324063240732408324093241032411324123241332414324153241632417324183241932420324213242232423324243242532426324273242832429324303243132432324333243432435324363243732438324393244032441324423244332444324453244632447324483244932450324513245232453324543245532456324573245832459324603246132462324633246432465324663246732468324693247032471324723247332474324753247632477324783247932480324813248232483324843248532486324873248832489324903249132492324933249432495324963249732498324993250032501325023250332504325053250632507325083250932510325113251232513325143251532516325173251832519325203252132522325233252432525325263252732528325293253032531325323253332534325353253632537325383253932540325413254232543325443254532546325473254832549325503255132552325533255432555325563255732558325593256032561325623256332564325653256632567325683256932570325713257232573325743257532576325773257832579325803258132582325833258432585325863258732588325893259032591325923259332594325953259632597325983259932600326013260232603326043260532606326073260832609326103261132612326133261432615326163261732618326193262032621326223262332624326253262632627326283262932630326313263232633326343263532636326373263832639326403264132642326433264432645326463264732648326493265032651326523265332654326553265632657326583265932660326613266232663326643266532666326673266832669326703267132672326733267432675326763267732678326793268032681326823268332684326853268632687326883268932690326913269232693326943269532696326973269832699327003270132702327033270432705327063270732708327093271032711327123271332714327153271632717327183271932720327213272232723327243272532726327273272832729327303273132732327333273432735327363273732738327393274032741327423274332744327453274632747327483274932750327513275232753327543275532756327573275832759327603276132762327633276432765327663276732768327693277032771327723277332774327753277632777327783277932780327813278232783327843278532786327873278832789327903279132792327933279432795327963279732798327993280032801328023280332804328053280632807328083280932810328113281232813328143281532816328173281832819328203282132822328233282432825328263282732828328293283032831328323283332834328353283632837328383283932840328413284232843328443284532846328473284832849328503285132852328533285432855328563285732858328593286032861328623286332864328653286632867328683286932870328713287232873328743287532876328773287832879328803288132882328833288432885328863288732888328893289032891328923289332894328953289632897328983289932900329013290232903329043290532906329073290832909329103291132912329133291432915329163291732918329193292032921329223292332924329253292632927329283292932930329313293232933329343293532936329373293832939329403294132942329433294432945329463294732948329493295032951329523295332954329553295632957329583295932960329613296232963329643296532966329673296832969329703297132972329733297432975329763297732978329793298032981329823298332984329853298632987329883298932990329913299232993329943299532996329973299832999330003300133002330033300433005330063300733008330093301033011330123301333014330153301633017330183301933020330213302233023330243302533026330273302833029330303303133032330333303433035330363303733038330393304033041330423304333044330453304633047330483304933050330513305233053330543305533056330573305833059330603306133062330633306433065330663306733068330693307033071330723307333074330753307633077330783307933080330813308233083330843308533086330873308833089330903309133092330933309433095330963309733098330993310033101331023310333104331053310633107331083310933110331113311233113331143311533116331173311833119331203312133122331233312433125331263312733128331293313033131331323313333134331353313633137331383313933140331413314233143331443314533146331473314833149331503315133152331533315433155331563315733158331593316033161331623316333164331653316633167331683316933170331713317233173331743317533176331773317833179331803318133182331833318433185331863318733188331893319033191331923319333194331953319633197331983319933200332013320233203332043320533206332073320833209332103321133212332133321433215332163321733218332193322033221332223322333224332253322633227332283322933230332313323233233332343323533236332373323833239332403324133242332433324433245332463324733248332493325033251332523325333254332553325633257332583325933260332613326233263332643326533266332673326833269332703327133272332733327433275332763327733278332793328033281332823328333284332853328633287332883328933290332913329233293332943329533296332973329833299333003330133302333033330433305333063330733308333093331033311333123331333314333153331633317333183331933320333213332233323333243332533326333273332833329333303333133332333333333433335333363333733338333393334033341333423334333344333453334633347333483334933350333513335233353333543335533356333573335833359333603336133362333633336433365333663336733368333693337033371333723337333374333753337633377333783337933380333813338233383333843338533386333873338833389333903339133392333933339433395333963339733398333993340033401334023340333404334053340633407334083340933410334113341233413334143341533416334173341833419334203342133422334233342433425334263342733428334293343033431334323343333434334353343633437334383343933440334413344233443334443344533446334473344833449334503345133452334533345433455334563345733458334593346033461334623346333464334653346633467334683346933470334713347233473334743347533476334773347833479334803348133482334833348433485334863348733488334893349033491334923349333494334953349633497334983349933500335013350233503335043350533506335073350833509335103351133512335133351433515335163351733518335193352033521335223352333524335253352633527335283352933530335313353233533335343353533536335373353833539335403354133542335433354433545335463354733548335493355033551335523355333554335553355633557335583355933560335613356233563335643356533566335673356833569335703357133572335733357433575335763357733578335793358033581335823358333584335853358633587335883358933590335913359233593335943359533596335973359833599336003360133602336033360433605336063360733608336093361033611336123361333614336153361633617336183361933620336213362233623336243362533626336273362833629336303363133632336333363433635336363363733638336393364033641336423364333644336453364633647336483364933650336513365233653336543365533656336573365833659336603366133662336633366433665336663366733668336693367033671336723367333674336753367633677336783367933680336813368233683336843368533686336873368833689336903369133692336933369433695336963369733698336993370033701337023370333704337053370633707337083370933710337113371233713337143371533716337173371833719337203372133722337233372433725337263372733728337293373033731337323373333734337353373633737337383373933740337413374233743337443374533746337473374833749337503375133752337533375433755337563375733758337593376033761337623376333764337653376633767337683376933770337713377233773337743377533776337773377833779337803378133782337833378433785337863378733788337893379033791337923379333794337953379633797337983379933800338013380233803338043380533806338073380833809338103381133812338133381433815338163381733818338193382033821338223382333824338253382633827338283382933830338313383233833338343383533836338373383833839338403384133842338433384433845338463384733848338493385033851338523385333854338553385633857338583385933860338613386233863338643386533866338673386833869338703387133872338733387433875338763387733878338793388033881338823388333884338853388633887338883388933890338913389233893338943389533896338973389833899339003390133902339033390433905339063390733908339093391033911339123391333914339153391633917339183391933920339213392233923339243392533926339273392833929339303393133932339333393433935339363393733938339393394033941339423394333944339453394633947339483394933950339513395233953339543395533956339573395833959339603396133962339633396433965339663396733968339693397033971339723397333974339753397633977339783397933980339813398233983339843398533986339873398833989339903399133992339933399433995339963399733998339993400034001340023400334004340053400634007340083400934010340113401234013340143401534016340173401834019340203402134022340233402434025340263402734028340293403034031340323403334034340353403634037340383403934040340413404234043340443404534046340473404834049340503405134052340533405434055340563405734058340593406034061340623406334064340653406634067340683406934070340713407234073340743407534076340773407834079340803408134082340833408434085340863408734088340893409034091340923409334094340953409634097340983409934100341013410234103341043410534106341073410834109341103411134112341133411434115341163411734118341193412034121341223412334124341253412634127341283412934130341313413234133341343413534136341373413834139341403414134142341433414434145341463414734148341493415034151341523415334154341553415634157341583415934160341613416234163341643416534166341673416834169341703417134172341733417434175341763417734178341793418034181341823418334184341853418634187341883418934190341913419234193341943419534196341973419834199342003420134202342033420434205342063420734208342093421034211342123421334214342153421634217342183421934220342213422234223342243422534226342273422834229342303423134232342333423434235342363423734238342393424034241342423424334244342453424634247342483424934250342513425234253342543425534256342573425834259342603426134262342633426434265342663426734268342693427034271342723427334274342753427634277342783427934280342813428234283342843428534286342873428834289342903429134292342933429434295342963429734298342993430034301343023430334304343053430634307343083430934310343113431234313343143431534316343173431834319343203432134322343233432434325343263432734328343293433034331343323433334334343353433634337343383433934340343413434234343343443434534346343473434834349343503435134352343533435434355343563435734358343593436034361343623436334364343653436634367343683436934370343713437234373343743437534376343773437834379343803438134382343833438434385343863438734388343893439034391343923439334394343953439634397343983439934400344013440234403344043440534406344073440834409344103441134412344133441434415344163441734418344193442034421344223442334424344253442634427344283442934430344313443234433344343443534436344373443834439344403444134442344433444434445344463444734448344493445034451344523445334454344553445634457344583445934460344613446234463344643446534466344673446834469344703447134472344733447434475344763447734478344793448034481344823448334484344853448634487344883448934490344913449234493344943449534496344973449834499345003450134502345033450434505345063450734508345093451034511345123451334514345153451634517345183451934520345213452234523345243452534526345273452834529345303453134532345333453434535345363453734538345393454034541345423454334544345453454634547345483454934550345513455234553345543455534556345573455834559345603456134562345633456434565345663456734568345693457034571345723457334574345753457634577345783457934580345813458234583345843458534586345873458834589345903459134592345933459434595345963459734598345993460034601346023460334604346053460634607346083460934610346113461234613346143461534616346173461834619346203462134622346233462434625346263462734628346293463034631346323463334634346353463634637346383463934640346413464234643346443464534646346473464834649346503465134652346533465434655346563465734658346593466034661346623466334664346653466634667346683466934670346713467234673346743467534676346773467834679346803468134682346833468434685346863468734688346893469034691346923469334694346953469634697346983469934700347013470234703347043470534706347073470834709347103471134712347133471434715347163471734718347193472034721347223472334724347253472634727347283472934730347313473234733347343473534736347373473834739347403474134742347433474434745347463474734748347493475034751347523475334754347553475634757347583475934760347613476234763347643476534766347673476834769347703477134772347733477434775347763477734778347793478034781347823478334784347853478634787347883478934790347913479234793347943479534796347973479834799348003480134802348033480434805348063480734808348093481034811348123481334814348153481634817348183481934820348213482234823348243482534826348273482834829348303483134832348333483434835348363483734838348393484034841348423484334844348453484634847348483484934850348513485234853348543485534856348573485834859348603486134862348633486434865348663486734868348693487034871348723487334874348753487634877348783487934880348813488234883348843488534886348873488834889348903489134892348933489434895348963489734898348993490034901349023490334904349053490634907349083490934910349113491234913349143491534916349173491834919349203492134922349233492434925349263492734928349293493034931349323493334934349353493634937349383493934940349413494234943349443494534946349473494834949349503495134952349533495434955349563495734958349593496034961349623496334964349653496634967349683496934970349713497234973349743497534976349773497834979349803498134982349833498434985349863498734988349893499034991349923499334994349953499634997349983499935000350013500235003350043500535006350073500835009350103501135012350133501435015350163501735018350193502035021350223502335024350253502635027350283502935030350313503235033350343503535036350373503835039350403504135042350433504435045350463504735048350493505035051350523505335054350553505635057350583505935060350613506235063350643506535066350673506835069350703507135072350733507435075350763507735078350793508035081350823508335084350853508635087350883508935090350913509235093350943509535096350973509835099351003510135102351033510435105351063510735108351093511035111351123511335114351153511635117351183511935120351213512235123351243512535126351273512835129351303513135132351333513435135351363513735138351393514035141351423514335144351453514635147351483514935150351513515235153351543515535156351573515835159351603516135162351633516435165351663516735168351693517035171351723517335174351753517635177351783517935180351813518235183351843518535186351873518835189351903519135192351933519435195351963519735198351993520035201352023520335204352053520635207352083520935210352113521235213352143521535216352173521835219352203522135222352233522435225352263522735228352293523035231352323523335234352353523635237352383523935240352413524235243352443524535246352473524835249352503525135252352533525435255352563525735258352593526035261352623526335264352653526635267352683526935270352713527235273352743527535276352773527835279352803528135282352833528435285352863528735288352893529035291352923529335294352953529635297352983529935300353013530235303353043530535306353073530835309353103531135312353133531435315353163531735318353193532035321353223532335324353253532635327353283532935330353313533235333353343533535336353373533835339353403534135342353433534435345353463534735348353493535035351353523535335354353553535635357353583535935360353613536235363353643536535366353673536835369353703537135372353733537435375353763537735378353793538035381353823538335384353853538635387353883538935390353913539235393353943539535396353973539835399354003540135402354033540435405354063540735408354093541035411354123541335414354153541635417354183541935420354213542235423354243542535426354273542835429354303543135432354333543435435354363543735438354393544035441354423544335444354453544635447354483544935450354513545235453354543545535456354573545835459354603546135462354633546435465354663546735468354693547035471354723547335474354753547635477354783547935480354813548235483354843548535486354873548835489354903549135492354933549435495354963549735498354993550035501355023550335504355053550635507355083550935510355113551235513355143551535516355173551835519355203552135522355233552435525355263552735528355293553035531355323553335534355353553635537355383553935540355413554235543355443554535546355473554835549355503555135552355533555435555355563555735558355593556035561355623556335564355653556635567355683556935570355713557235573355743557535576355773557835579355803558135582355833558435585355863558735588355893559035591355923559335594355953559635597355983559935600356013560235603356043560535606356073560835609356103561135612356133561435615356163561735618356193562035621356223562335624356253562635627356283562935630356313563235633356343563535636356373563835639356403564135642356433564435645356463564735648356493565035651356523565335654356553565635657356583565935660356613566235663356643566535666356673566835669356703567135672356733567435675356763567735678356793568035681356823568335684356853568635687356883568935690356913569235693356943569535696356973569835699357003570135702357033570435705357063570735708357093571035711357123571335714357153571635717357183571935720357213572235723357243572535726357273572835729357303573135732357333573435735357363573735738357393574035741357423574335744357453574635747357483574935750357513575235753357543575535756357573575835759357603576135762357633576435765357663576735768357693577035771357723577335774357753577635777357783577935780357813578235783357843578535786357873578835789357903579135792357933579435795357963579735798357993580035801358023580335804358053580635807358083580935810358113581235813358143581535816358173581835819358203582135822358233582435825358263582735828358293583035831358323583335834358353583635837358383583935840358413584235843358443584535846358473584835849358503585135852358533585435855358563585735858358593586035861358623586335864358653586635867358683586935870358713587235873358743587535876358773587835879358803588135882358833588435885358863588735888358893589035891358923589335894358953589635897358983589935900359013590235903359043590535906359073590835909359103591135912359133591435915359163591735918359193592035921359223592335924359253592635927359283592935930359313593235933359343593535936359373593835939359403594135942359433594435945359463594735948359493595035951359523595335954359553595635957359583595935960359613596235963359643596535966359673596835969359703597135972359733597435975359763597735978359793598035981359823598335984359853598635987359883598935990359913599235993359943599535996359973599835999360003600136002360033600436005360063600736008360093601036011360123601336014360153601636017360183601936020360213602236023360243602536026360273602836029360303603136032360333603436035360363603736038360393604036041360423604336044360453604636047360483604936050360513605236053360543605536056360573605836059360603606136062360633606436065360663606736068360693607036071360723607336074360753607636077360783607936080360813608236083360843608536086360873608836089360903609136092360933609436095360963609736098360993610036101361023610336104361053610636107361083610936110361113611236113361143611536116361173611836119361203612136122361233612436125361263612736128361293613036131361323613336134361353613636137361383613936140361413614236143361443614536146361473614836149361503615136152361533615436155361563615736158361593616036161361623616336164361653616636167361683616936170361713617236173361743617536176361773617836179361803618136182361833618436185361863618736188361893619036191361923619336194361953619636197361983619936200362013620236203362043620536206362073620836209362103621136212362133621436215362163621736218362193622036221362223622336224362253622636227362283622936230362313623236233362343623536236362373623836239362403624136242362433624436245362463624736248362493625036251362523625336254362553625636257362583625936260362613626236263362643626536266362673626836269362703627136272362733627436275362763627736278362793628036281362823628336284362853628636287362883628936290362913629236293362943629536296362973629836299363003630136302363033630436305363063630736308363093631036311363123631336314363153631636317363183631936320363213632236323363243632536326363273632836329363303633136332363333633436335363363633736338363393634036341363423634336344363453634636347363483634936350363513635236353363543635536356363573635836359363603636136362363633636436365363663636736368363693637036371363723637336374363753637636377363783637936380363813638236383363843638536386363873638836389363903639136392363933639436395363963639736398363993640036401364023640336404364053640636407364083640936410364113641236413364143641536416364173641836419364203642136422364233642436425364263642736428364293643036431364323643336434364353643636437364383643936440364413644236443364443644536446364473644836449364503645136452364533645436455364563645736458364593646036461364623646336464364653646636467364683646936470364713647236473364743647536476364773647836479364803648136482364833648436485364863648736488364893649036491364923649336494364953649636497364983649936500365013650236503365043650536506365073650836509365103651136512365133651436515365163651736518365193652036521365223652336524365253652636527365283652936530365313653236533365343653536536365373653836539365403654136542365433654436545365463654736548365493655036551365523655336554365553655636557365583655936560365613656236563365643656536566365673656836569365703657136572365733657436575365763657736578365793658036581365823658336584365853658636587365883658936590365913659236593365943659536596365973659836599366003660136602366033660436605366063660736608366093661036611366123661336614366153661636617366183661936620366213662236623366243662536626366273662836629366303663136632366333663436635366363663736638366393664036641366423664336644366453664636647366483664936650366513665236653366543665536656366573665836659366603666136662366633666436665366663666736668366693667036671366723667336674366753667636677366783667936680366813668236683366843668536686366873668836689366903669136692366933669436695366963669736698366993670036701367023670336704367053670636707367083670936710367113671236713367143671536716367173671836719367203672136722367233672436725367263672736728367293673036731367323673336734367353673636737367383673936740367413674236743367443674536746367473674836749367503675136752367533675436755367563675736758
  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. $ref: '#/definitions/models.Division'
  230. description: 省
  231. type: object
  232. common.QueryTableDefineRsp:
  233. properties:
  234. columns:
  235. description: 列头信息数组
  236. items:
  237. $ref: '#/definitions/models.Tablecolumnconfig'
  238. type: array
  239. remark:
  240. description: Remark
  241. type: string
  242. tabelmenu:
  243. description: 列表菜单
  244. type: string
  245. tablekey:
  246. description: 列表Key
  247. type: string
  248. tablename:
  249. description: 列表名称
  250. type: string
  251. tabletype:
  252. description: 列表类型 - 1:管理端 2:终端
  253. type: integer
  254. required:
  255. - tablekey
  256. type: object
  257. common.QueryTraderMenuRsp:
  258. properties:
  259. OperationMenu:
  260. description: 功能菜单
  261. items:
  262. $ref: '#/definitions/models.OperationPrimaryMenu'
  263. type: array
  264. QuoteMenu:
  265. description: 报价牌分类菜单
  266. items:
  267. $ref: '#/definitions/models.QuotePrimaryMenu'
  268. type: array
  269. type: object
  270. cptrade.Cptradepositioncancel:
  271. properties:
  272. accountid:
  273. description: 申请人账户ID
  274. type: integer
  275. applystatus:
  276. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  277. type: integer
  278. applytime:
  279. description: 申请时间
  280. type: string
  281. cancelid:
  282. description: 注销ID(SEQ_CPTRADE_POSITIONCANCEL)
  283. type: integer
  284. cancelqty:
  285. description: 注销数量
  286. type: integer
  287. createtime:
  288. description: 创建时间
  289. type: string
  290. creatorid:
  291. description: 创建人ID
  292. type: integer
  293. creatorname:
  294. description: 创建人
  295. type: string
  296. goodscode:
  297. description: 订单商品代码
  298. type: string
  299. goodsid:
  300. description: 商品ID
  301. type: integer
  302. goodsname:
  303. description: 订单商品名称
  304. type: string
  305. goodunit:
  306. description: 报价单位
  307. type: string
  308. handlestatus:
  309. description: 处理状态
  310. type: integer
  311. marketid:
  312. description: 市场ID
  313. type: integer
  314. marketname:
  315. description: 市场名称
  316. type: string
  317. tradedate:
  318. description: 交易日(yyyyMMdd)
  319. type: string
  320. userid:
  321. description: 申请人ID
  322. type: integer
  323. required:
  324. - cancelid
  325. type: object
  326. cptrade.Cptradepresaleapply:
  327. properties:
  328. accountid:
  329. description: 申请人账户ID
  330. type: integer
  331. applyid:
  332. description: 申请ID(181+Unix秒时间戳(10位)+xxxxxx)
  333. type: integer
  334. applyremark:
  335. description: 申请备注
  336. type: string
  337. applystatus:
  338. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  339. type: integer
  340. applytime:
  341. description: 申请时间
  342. type: string
  343. attachmenturl:
  344. description: 附件地址
  345. type: string
  346. endtime:
  347. description: 预售结束时间
  348. type: string
  349. goodscode:
  350. description: 商品代码
  351. type: string
  352. goodsid:
  353. description: 商品ID
  354. type: integer
  355. goodsname:
  356. description: 商品名称
  357. type: string
  358. goodunit:
  359. description: 报价单位
  360. type: string
  361. handlestatus:
  362. description: 处理状态
  363. type: integer
  364. marketid:
  365. description: 预售市场ID
  366. type: integer
  367. marketname:
  368. description: 预售市场名称
  369. type: string
  370. presaleqty:
  371. description: 预售数量
  372. type: integer
  373. relatedgoodscode:
  374. description: 关联交易合约代码
  375. type: string
  376. relatedgoodsid:
  377. description: 关联交易合约ID
  378. type: integer
  379. relatedgoodsname:
  380. description: 关联交易合约名称
  381. type: string
  382. starttime:
  383. description: 预售开始时间
  384. type: string
  385. tradedate:
  386. description: 交易日(yyyyMMdd)
  387. type: string
  388. trademode:
  389. description: 交易模式 - 16:挂牌点选 21:大宗竞拍
  390. type: integer
  391. userid:
  392. description: 申请人ID
  393. type: integer
  394. required:
  395. - applyid
  396. type: object
  397. cptrade.Cptradeusergoodsdata:
  398. properties:
  399. EnabledQty:
  400. description: 可用量
  401. type: integer
  402. GoodsCode:
  403. description: 订单商品代码
  404. type: string
  405. GoodsName:
  406. description: 订单商品名称
  407. type: string
  408. WRStandardCode:
  409. description: 仓单标准代码
  410. type: string
  411. WRStandardName:
  412. description: 仓单标准名称
  413. type: string
  414. accountid:
  415. description: 账户ID
  416. type: integer
  417. cancelqty:
  418. description: 注销量
  419. type: integer
  420. curpresaleqty:
  421. description: 当前预售量
  422. type: integer
  423. deliveryqty:
  424. description: 交割量
  425. type: integer
  426. freezeamount:
  427. description: 冻结金额
  428. type: number
  429. goodsid:
  430. description: 商品ID
  431. type: integer
  432. goodunit:
  433. description: 报价单位
  434. type: string
  435. hasspotfreeze:
  436. description: 是否有现货冻结 - 0:否 1:有
  437. type: integer
  438. inqty:
  439. description: 转入量(总数量)
  440. type: integer
  441. marketid:
  442. description: 市场ID
  443. type: integer
  444. presaledamount:
  445. description: 已预售总金额
  446. type: integer
  447. presaledqty:
  448. description: 已预售量
  449. type: integer
  450. userid:
  451. description: 用户ID
  452. type: integer
  453. wrstandardid:
  454. description: 仓单标准ID
  455. type: integer
  456. required:
  457. - accountid
  458. - goodsid
  459. type: object
  460. cptrade.QueryCPTradeMyBidRsp:
  461. properties:
  462. accountid:
  463. description: 账户ID[报价币种]
  464. type: integer
  465. goodsid:
  466. description: 商品ID
  467. type: integer
  468. goodunit:
  469. description: 报价单位
  470. type: string
  471. marketid:
  472. description: 市场ID
  473. type: integer
  474. orderid:
  475. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  476. type: integer
  477. orderprice:
  478. description: 委托价格
  479. type: number
  480. orderqty:
  481. description: 委托数量
  482. type: integer
  483. ordertime:
  484. description: 委托时间
  485. type: string
  486. ordertotalprice:
  487. description: 货款金额(委托总价格=委托价格*委托数量*合约单位)
  488. type: number
  489. ordertotalweight:
  490. description: 竞拍总重量(委托总重量=委托数量*合约单位)
  491. type: integer
  492. totaltotalprice:
  493. description: 成交货款金额(成交总价格=成交价格*成交数量*合约单位)
  494. type: number
  495. tradeprice:
  496. description: 成交价格
  497. type: number
  498. tradeqty:
  499. description: 成交数量
  500. type: integer
  501. required:
  502. - accountid
  503. - goodsid
  504. - marketid
  505. - orderid
  506. - orderqty
  507. - ordertime
  508. - tradeprice
  509. - tradeqty
  510. type: object
  511. cptrade.QueryCPTradeOrderDetailRsq:
  512. properties:
  513. accountid:
  514. description: 账户ID[报价币种]
  515. type: integer
  516. buildtype:
  517. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  518. type: integer
  519. buyorsell:
  520. description: 买卖 - 0:买 1:卖
  521. type: integer
  522. cancelorderid:
  523. description: 撤单单号(撤单时填写)
  524. type: integer
  525. cancelqty:
  526. description: 撤单数量
  527. type: integer
  528. clientordertime:
  529. description: 客户端委托时间
  530. type: string
  531. clientticket:
  532. description: 客户端流水号
  533. type: string
  534. clienttype:
  535. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  536. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  537. type: integer
  538. closeexchagechargevalue:
  539. description: 平仓交易所手续费设置值
  540. type: number
  541. closefeealgorithm:
  542. description: 平仓手续费收取方式 1:比率 2:固定
  543. type: integer
  544. closefreezecharge:
  545. description: 平仓冻结手续费(先建后平操作,需要记录)
  546. type: number
  547. closememberchargevalue:
  548. description: 平仓会员手续费设置值
  549. type: number
  550. closeqty:
  551. description: 平仓数量(先建后平操作 需要记录)
  552. type: integer
  553. closetradeqty:
  554. description: 平仓成交数量(先建后平操作,需要记录)
  555. type: integer
  556. closeunfreezecharge:
  557. description: 平仓解冻手续费(先建后平操作,需要记录)
  558. type: number
  559. delistingtype:
  560. description: 摘牌类型 - 1:价格最优 2:点选成交
  561. type: integer
  562. freezecharge:
  563. description: 冻结手续费
  564. type: number
  565. freezemargin:
  566. description: 冻结保证金(冻结交易金额)
  567. type: number
  568. gcaccountid:
  569. description: 账户ID[合约币种]
  570. type: integer
  571. goodsid:
  572. description: 商品ID
  573. type: integer
  574. isconfirmexercise:
  575. description: 是否确认行权- 0:否 1:是
  576. type: integer
  577. ispreexercise:
  578. description: 是否预申报- 0:否 1:是
  579. type: integer
  580. listingselecttype:
  581. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  582. type: integer
  583. marginalgorithm:
  584. description: 保证金收取方式 1:比率 2:固定
  585. type: integer
  586. marginvalue:
  587. description: 即市保证金设置值
  588. type: number
  589. marketid:
  590. description: 市场ID
  591. type: integer
  592. marketmaxsub:
  593. description: 市价最大偏移范围
  594. type: number
  595. memberuserid:
  596. description: 所属会员UserID
  597. type: integer
  598. openexchagechargevalue:
  599. description: 建仓交易所手续费设置值
  600. type: number
  601. openfeealgorithm:
  602. description: 建仓手续费收取方式 1:比率 2:固定
  603. type: integer
  604. openfreezecharge:
  605. description: 开仓冻结手续费(先建后平操作,需要记录)
  606. type: number
  607. openmemberchargevalue:
  608. description: 建仓会员手续费设置值
  609. type: number
  610. openqty:
  611. description: 开仓数量(先建后平操作,需要记录)
  612. type: integer
  613. opentradeqty:
  614. description: 开仓成交数量(先建后平操作,需要记录)
  615. type: integer
  616. openunfreezecharge:
  617. description: 开仓解冻手续费(先建后平操作,需要记录)
  618. type: number
  619. operatetype:
  620. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  621. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  622. 15:管理端协议转让
  623. type: integer
  624. operatorid:
  625. description: 登录账号(LoginID)
  626. type: integer
  627. optiontype:
  628. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  629. type: integer
  630. orderprice:
  631. description: 委托价格
  632. type: number
  633. orderqty:
  634. description: 委托数量
  635. type: integer
  636. ordersrc:
  637. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  638. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  639. type: integer
  640. orderstatus:
  641. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  642. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  643. 16:成交失败违约(荷兰式竞拍专用)
  644. type: integer
  645. ordertime:
  646. description: 委托时间
  647. type: string
  648. preexerciseprice:
  649. description: 预申报价格
  650. type: number
  651. premium:
  652. description: 权利金
  653. type: number
  654. preorderid:
  655. description: 关联预埋单号(止盈止损单时填写)
  656. type: integer
  657. pricemode:
  658. description: '取价方式 - 1:市价 2: 限价'
  659. type: integer
  660. quoteid:
  661. description: 报价单ID
  662. type: integer
  663. relatedid:
  664. description: 关联单号(交割单)
  665. type: integer
  666. retcode:
  667. description: 错误代码
  668. type: integer
  669. sessionid:
  670. description: 会话ID
  671. type: integer
  672. strorderid:
  673. description: 委托单号
  674. type: string
  675. tradedate:
  676. description: 交易日(yyyyMMdd)
  677. type: string
  678. tradeproperty:
  679. description: 交易属性
  680. type: integer
  681. tradeqty:
  682. description: 成交数量
  683. type: integer
  684. unfreezecharge:
  685. description: 解冻手续费
  686. type: number
  687. unfreezemargin:
  688. description: 解冻保证金
  689. type: number
  690. updatetime:
  691. description: 更新时间
  692. type: string
  693. uuid:
  694. description: 发起端唯一id
  695. type: string
  696. validtime:
  697. description: 有效期限
  698. type: string
  699. validtype:
  700. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  701. type: integer
  702. volumetype:
  703. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  704. type: integer
  705. required:
  706. - accountid
  707. - buildtype
  708. - buyorsell
  709. - goodsid
  710. - marketid
  711. - memberuserid
  712. - operatetype
  713. - orderqty
  714. - ordertime
  715. - pricemode
  716. - strorderid
  717. - tradedate
  718. - validtype
  719. type: object
  720. cptrade.QueryMyCPTradeGoodsRsp:
  721. properties:
  722. accountid:
  723. description: 卖方账户ID
  724. type: integer
  725. agreeunit:
  726. description: 合约单位
  727. type: number
  728. applyid:
  729. description: 关联申请ID
  730. type: integer
  731. attachmenturl:
  732. description: 附件地址
  733. type: string
  734. createtime:
  735. description: 创建时间
  736. type: string
  737. currencyid:
  738. description: 报价货币ID
  739. type: integer
  740. decimalplace:
  741. description: 报价小数位
  742. type: integer
  743. endtime:
  744. description: 预售结束时间
  745. type: string
  746. floorprice:
  747. description: 底价[大宗式竞拍]
  748. type: number
  749. goodscode:
  750. description: 商品代码(预售)
  751. type: string
  752. goodsdetail:
  753. description: 详情[大宗]
  754. type: string
  755. goodsid:
  756. description: 商品ID(自增ID SEQ_GOODS)
  757. type: integer
  758. goodsname:
  759. description: 商品名称(预售)
  760. type: string
  761. goodunit:
  762. description: 报价单位
  763. type: string
  764. goodunitid:
  765. description: 报价单位ID
  766. type: integer
  767. marketid:
  768. description: 所属市场ID
  769. type: integer
  770. marketname:
  771. description: 预售市场名称
  772. type: string
  773. presaledamount:
  774. description: 已预售总金额(预售结束时更新)
  775. type: number
  776. presaledqty:
  777. description: 已预售量(预售结束时更新)
  778. type: integer
  779. presalemode:
  780. description: 预售模式 - 1:一口价 2:大宗式竞拍
  781. type: integer
  782. presaleqty:
  783. description: 预售数量
  784. type: integer
  785. refprice:
  786. description: 参考价格[一口价]
  787. type: number
  788. relatedgoodscode:
  789. description: 商品代码(订单)
  790. type: string
  791. relatedgoodsid:
  792. description: 关联交易合约ID
  793. type: integer
  794. relatedgoodsname:
  795. description: 商品名称(订单)
  796. type: string
  797. relatedmarketid:
  798. description: 关联交易合约市场ID
  799. type: integer
  800. sellstatus:
  801. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  802. type: integer
  803. startprice:
  804. description: 起拍价[大宗式竞拍]
  805. type: number
  806. starttime:
  807. description: 预售开始时间
  808. type: string
  809. tradedate:
  810. description: 交易日(yyyyMMdd)
  811. type: string
  812. tradeprice:
  813. description: 成交价[大宗]
  814. type: number
  815. userid:
  816. description: 卖方用户ID
  817. type: integer
  818. required:
  819. - goodscode
  820. - goodsid
  821. - goodsname
  822. - marketid
  823. - relatedgoodscode
  824. - relatedgoodsname
  825. type: object
  826. cptrade.QueryPresaleGoodsExRsp:
  827. properties:
  828. attachmenturl:
  829. description: 附件地址
  830. type: string
  831. createtime:
  832. description: 创建时间
  833. type: string
  834. endtime:
  835. description: 预售结束时间
  836. type: string
  837. floorprice:
  838. description: 底价[大宗式竞拍]
  839. type: number
  840. goodsdetail:
  841. description: 详情[大宗]
  842. type: string
  843. goodsid:
  844. description: 商品ID(预售)
  845. type: integer
  846. goodunit:
  847. description: 报价单位
  848. type: string
  849. marketid:
  850. description: 预售市场ID - 根据预售模式选择市场
  851. type: integer
  852. presaledamount:
  853. description: 已预售总金额(预售结束时更新)
  854. type: number
  855. presaledqty:
  856. description: 已预售量(预售结束时更新)
  857. type: integer
  858. presalemode:
  859. description: 预售模式 - 1:一口价 2:大宗式竞拍
  860. type: integer
  861. presaleqty:
  862. description: 预售数量
  863. type: integer
  864. refprice:
  865. description: 参考价格[一口价]
  866. type: number
  867. relatedgoodsid:
  868. description: 关联交易合约ID
  869. type: integer
  870. relatedmarketid:
  871. description: 关联交易合约市场ID
  872. type: integer
  873. sellstatus:
  874. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  875. type: integer
  876. startprice:
  877. description: 起拍价[大宗式竞拍]
  878. type: number
  879. starttime:
  880. description: 预售开始时间
  881. type: string
  882. tradedate:
  883. description: 交易日(yyyyMMdd)
  884. type: string
  885. tradeprice:
  886. description: 成交价[大宗]
  887. type: number
  888. required:
  889. - goodsid
  890. type: object
  891. delivery.QueryDeliveryRelationRsp:
  892. properties:
  893. begindate:
  894. description: 起始日期(yyyyMMdd)
  895. type: string
  896. buytemplateid:
  897. description: 买履约计划模板ID
  898. type: integer
  899. deliverygoodscode:
  900. description: 品种代码
  901. type: string
  902. deliverygoodsid:
  903. description: 交割商品
  904. type: integer
  905. deliverygoodsname:
  906. description: 品种名称
  907. type: string
  908. deliverymode:
  909. description: 交割方式 - 1:点选式 2:申报式
  910. type: integer
  911. deliverypricerule:
  912. description: 交割价规则- 1:行情价 2:建仓价
  913. type: integer
  914. deliverytype:
  915. description: 交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割
  916. type: integer
  917. enddate:
  918. description: 结束日期(yyyyMMdd)
  919. type: string
  920. enumdicname:
  921. description: 品类单位名称
  922. type: string
  923. goodscode:
  924. description: 商品代码
  925. type: string
  926. goodsid:
  927. description: 交易合约ID
  928. type: integer
  929. goodsname:
  930. description: 商品名称
  931. type: string
  932. marketid:
  933. description: 市场ID
  934. type: integer
  935. mindeliveryqty:
  936. description: 最小交割系数(K)
  937. type: integer
  938. p2deliveryprice:
  939. description: P2合约价格(商品价时填写0,固定值时填写固定值)
  940. type: number
  941. p2deliveryratio:
  942. description: P2合约系数(p)
  943. type: integer
  944. p2goodsid:
  945. description: P2合约ID
  946. type: integer
  947. p2pricemode:
  948. description: P2合约价格方式 - 1:商品价 2:固定值
  949. type: integer
  950. pdeliveryprice:
  951. description: P合约价格(商品价时填写0,固定值时填写固定值)
  952. type: number
  953. pdeliveryratio:
  954. description: P合约系数(n)
  955. type: integer
  956. pgoodscode:
  957. description: p合约代码
  958. type: string
  959. pgoodsid:
  960. description: P合约ID
  961. type: integer
  962. ppricemode:
  963. description: P合约价格方式 - 1:商品价 2:固定值
  964. type: integer
  965. rratio:
  966. description: 兑换系数(R)
  967. type: integer
  968. rratio1:
  969. description: 兑换系数(交易合约)(R1)
  970. type: integer
  971. rratio2:
  972. description: 兑换系数(仓单标准)(R2)
  973. type: integer
  974. selltemplateid:
  975. description: 卖履约计划模板ID
  976. type: integer
  977. wrstandardid:
  978. description: 仓单标准ID
  979. type: integer
  980. xdeliveryratio:
  981. description: 交易合约系数(m)
  982. type: integer
  983. required:
  984. - begindate
  985. - enddate
  986. - goodsid
  987. - mindeliveryqty
  988. - xdeliveryratio
  989. type: object
  990. ermcp.ExposureDetailRsp:
  991. properties:
  992. areauserid:
  993. description: 机构ID
  994. type: integer
  995. changeQty:
  996. description: 套保变动量
  997. type: number
  998. contracttype:
  999. description: 现货合同类型 - 1:采购 -1:销售
  1000. type: integer
  1001. convertfactor:
  1002. description: 标仓系数
  1003. type: number
  1004. convertratio:
  1005. description: 套保系数
  1006. type: number
  1007. createtime:
  1008. description: 时间
  1009. type: string
  1010. enumdicname:
  1011. description: 现货商品单位名称
  1012. type: string
  1013. logtype:
  1014. description: 类型 - 1:套保计划 2:现货合同
  1015. type: integer
  1016. middlegoodsId:
  1017. description: 套保商品id
  1018. type: integer
  1019. middlegoodscode:
  1020. description: 套保商品代码
  1021. type: string
  1022. middlegoodsname:
  1023. description: 套保商品名称
  1024. type: string
  1025. qty:
  1026. description: 数量
  1027. type: number
  1028. relateNo:
  1029. description: 现货合同/套保计划编号
  1030. type: string
  1031. wrstandardcode:
  1032. description: 现货商品代码
  1033. type: string
  1034. wrstandardid:
  1035. description: 现货商品ID
  1036. type: integer
  1037. wrstandardname:
  1038. description: 现货商品名称
  1039. type: string
  1040. type: object
  1041. ermcp.ExposureHedgePosDetailRsp:
  1042. properties:
  1043. buyorsell:
  1044. description: 买卖方向 0-买 1-卖
  1045. type: integer
  1046. channelbuildtype:
  1047. description: 开平方向 1-建仓 2-平仓
  1048. type: integer
  1049. goodscode:
  1050. description: 商品代码
  1051. type: string
  1052. goodsname:
  1053. description: 商品名称
  1054. type: string
  1055. hedgegoodsid:
  1056. description: 商品id
  1057. type: integer
  1058. tradeqty:
  1059. description: 数量(成交数量)
  1060. type: integer
  1061. tradetime:
  1062. description: 时间(成交时间)
  1063. type: string
  1064. type: object
  1065. ermcp.ExposureHedgePositionRsp:
  1066. properties:
  1067. accountid:
  1068. description: 资金账号[外部母账户]
  1069. type: integer
  1070. curbuyposition:
  1071. description: 期末买头寸
  1072. type: integer
  1073. cursellposition:
  1074. description: 期末卖头寸
  1075. type: integer
  1076. curtdbuyposition:
  1077. description: 期末今日买头寸
  1078. type: integer
  1079. curtdsellposition:
  1080. description: 期末今日卖头寸
  1081. type: integer
  1082. curydbuyposition:
  1083. description: 期末上日买头寸
  1084. type: integer
  1085. curydsellposition:
  1086. description: 期末上日卖头寸
  1087. type: integer
  1088. decreaseqty:
  1089. description: 减少数量 = (期末卖头寸 - 期初卖头寸)*-1
  1090. type: integer
  1091. fretdbuyposition:
  1092. description: 冻结今日买头寸
  1093. type: integer
  1094. fretdsellposition:
  1095. description: 冻结今日卖头寸
  1096. type: integer
  1097. freydbuyposition:
  1098. description: 冻结上日买头寸
  1099. type: integer
  1100. freydsellposition:
  1101. description: 冻结上日卖头寸
  1102. type: integer
  1103. goodscode:
  1104. description: 商品代码
  1105. type: string
  1106. goodsid:
  1107. description: 商品id
  1108. type: integer
  1109. goodsname:
  1110. description: 商品名称
  1111. type: string
  1112. hedgeaccountcode:
  1113. description: 对冲账号
  1114. type: string
  1115. hedgegoodsid:
  1116. description: 对冲合约ID
  1117. type: integer
  1118. increaseqty:
  1119. description: 增加数量 = 期末买头寸 - 期初买头寸
  1120. type: integer
  1121. marketid:
  1122. description: 市场ID
  1123. type: integer
  1124. relateduserid:
  1125. description: 关联用户id
  1126. type: integer
  1127. totalcurqty:
  1128. description: 当前数量(净头寸) = 期末买头寸 - 期末卖头寸
  1129. type: integer
  1130. totalydqty:
  1131. description: 昨日数量(净头寸) = 期初买头寸 - 期初卖头寸
  1132. type: integer
  1133. tradedate:
  1134. description: 交易日(yyyyMMdd)
  1135. type: string
  1136. ydbuyposition:
  1137. description: 期初买头寸
  1138. type: integer
  1139. ydsellposition:
  1140. description: 期初卖头寸
  1141. type: integer
  1142. type: object
  1143. ermcp.ExposureSpotDetailRsp:
  1144. properties:
  1145. contracttype:
  1146. description: 合同类型 1-采购 -1-销售
  1147. type: integer
  1148. createtime:
  1149. description: 创建时间
  1150. type: string
  1151. enumdicname:
  1152. description: 现货商品单位名称
  1153. type: string
  1154. logtype:
  1155. description: 记录类型 1-套保 2-现货合同
  1156. type: integer
  1157. qty:
  1158. description: 数量
  1159. type: number
  1160. recordname:
  1161. description: 类型名称
  1162. type: string
  1163. relatedid:
  1164. description: 套保计划ID/现货合同ID
  1165. type: string
  1166. relatedno:
  1167. description: 编号
  1168. type: string
  1169. strtime:
  1170. description: 时间
  1171. type: string
  1172. wrstandardcode:
  1173. description: 现货商品代码
  1174. type: string
  1175. wrstandardname:
  1176. description: 现货商品名称
  1177. type: string
  1178. type: object
  1179. ermcp.ExposureSpotRsp:
  1180. properties:
  1181. areauserid:
  1182. description: 所属机构
  1183. type: integer
  1184. decreaseqty:
  1185. description: 减少数量=-(销售已定价数量+采购计划数量)
  1186. type: number
  1187. increaseqty:
  1188. description: 增加数量=销售计划数量+采购已定价数量
  1189. type: number
  1190. oritoalspotqty:
  1191. description: 昨日数量
  1192. type: number
  1193. totalspotqty:
  1194. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  1195. type: number
  1196. updatetime:
  1197. description: 更新时间
  1198. type: string
  1199. wrstandardcode:
  1200. description: 现货品种代码
  1201. type: string
  1202. wrstandardid:
  1203. description: 现货商品ID
  1204. type: integer
  1205. wrstandardname:
  1206. description: 现货品种
  1207. type: string
  1208. type: object
  1209. ermcp.HisExposureRsp:
  1210. properties:
  1211. data:
  1212. description: 历史敞口
  1213. items:
  1214. $ref: '#/definitions/models.ErmcpHisExposure'
  1215. type: array
  1216. enumdicname:
  1217. description: 单位名称
  1218. type: string
  1219. middlegoodscode:
  1220. description: 套保品种代码
  1221. type: string
  1222. middlegoodsid:
  1223. description: 套保品种ID
  1224. type: integer
  1225. middlegoodsname:
  1226. description: 套保品种名称
  1227. type: string
  1228. type: object
  1229. ermcp.PendingAuditCntRsp:
  1230. properties:
  1231. areastockqty:
  1232. description: '待审核数量: 库存申请'
  1233. type: integer
  1234. businessdjqty:
  1235. description: '待审核数量: 点价'
  1236. type: integer
  1237. businessfpqty:
  1238. description: '待审核数量: 发票'
  1239. type: integer
  1240. businessjsqty:
  1241. description: '待审核数量: 结算'
  1242. type: integer
  1243. businesskxqty:
  1244. description: '待审核数量: 款项'
  1245. type: integer
  1246. hedgeplanqty:
  1247. description: '待审核数量: 套保计划'
  1248. type: integer
  1249. spotcontractqty:
  1250. description: '待审核数量: 现货合同'
  1251. type: integer
  1252. userqty:
  1253. description: '待审核数量: 用户'
  1254. type: integer
  1255. type: object
  1256. ermcp.QryAvalidGPRsp:
  1257. properties:
  1258. goodsgroupid:
  1259. description: 期货品种id
  1260. type: integer
  1261. goodsgroupname:
  1262. description: 期货品种名称
  1263. type: string
  1264. goodunitid:
  1265. description: 品种单位id
  1266. type: integer
  1267. goodunitname:
  1268. description: 品种单位名称
  1269. type: string
  1270. outergroupcode:
  1271. description: 期货品种代码
  1272. type: string
  1273. type: object
  1274. ermcp.QryBusinessDjRsp:
  1275. properties:
  1276. amount:
  1277. description: 期初均价
  1278. type: number
  1279. applyid:
  1280. description: 申请人
  1281. type: string
  1282. applyname:
  1283. description: 申请人名称
  1284. type: string
  1285. applystatus:
  1286. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1287. type: integer
  1288. applytime:
  1289. description: 申请时间
  1290. type: string
  1291. attachurl:
  1292. description: 附件
  1293. type: string
  1294. auditid:
  1295. description: 审核人ID
  1296. type: string
  1297. auditname:
  1298. description: 审核人名称
  1299. type: string
  1300. auditremark:
  1301. description: 审核备注
  1302. type: string
  1303. audittime:
  1304. description: 审核时间
  1305. type: string
  1306. buyusername:
  1307. description: 采购方名称
  1308. type: string
  1309. contractno:
  1310. description: 合同编号
  1311. type: string
  1312. contractstatus:
  1313. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1314. type: integer
  1315. contracttype:
  1316. description: 现货合同类型 - 1:采购 -1:销售
  1317. type: integer
  1318. deliverygoodscode:
  1319. description: 现货品种代码
  1320. type: string
  1321. deliverygoodsid:
  1322. description: 现货商品ID
  1323. type: integer
  1324. deliverygoodsname:
  1325. description: 现货品种名称
  1326. type: string
  1327. enumdicname:
  1328. description: 单位名称
  1329. type: string
  1330. goodscode:
  1331. description: 点价合约
  1332. type: string
  1333. goodsname:
  1334. description: 商品名称
  1335. type: string
  1336. operateapplyid:
  1337. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1338. type: string
  1339. operateapplytype:
  1340. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1341. type: integer
  1342. pricedPrice:
  1343. description: 点价价格(非必填)
  1344. type: number
  1345. pricedQty:
  1346. description: 点价数量(非必填)
  1347. type: number
  1348. pricemove:
  1349. description: 升贴水
  1350. type: number
  1351. pricetype:
  1352. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1353. type: integer
  1354. relatedid:
  1355. description: 现货合同ID
  1356. type: string
  1357. sellusername:
  1358. description: 销售方名字
  1359. type: string
  1360. userid:
  1361. description: 用户ID
  1362. type: integer
  1363. wrstandardcode:
  1364. description: 品类代码
  1365. type: string
  1366. wrstandardid:
  1367. description: 品类id
  1368. type: integer
  1369. wrstandardname:
  1370. description: 品类名称
  1371. type: string
  1372. type: object
  1373. ermcp.QryBussinessFpRsp:
  1374. properties:
  1375. applyid:
  1376. description: 申请人
  1377. type: string
  1378. applyname:
  1379. description: 申请人名称
  1380. type: string
  1381. applystatus:
  1382. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1383. type: integer
  1384. applytime:
  1385. description: 申请时间
  1386. type: string
  1387. attachurl:
  1388. description: 附件
  1389. type: string
  1390. auditid:
  1391. description: 审核人ID
  1392. type: string
  1393. auditname:
  1394. description: 审核人名称
  1395. type: string
  1396. auditremark:
  1397. description: 审核备注
  1398. type: string
  1399. audittime:
  1400. description: 审核时间
  1401. type: string
  1402. buyusername:
  1403. description: 采购方名称
  1404. type: string
  1405. contractno:
  1406. description: 合同编号
  1407. type: string
  1408. contractstatus:
  1409. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1410. type: integer
  1411. contracttype:
  1412. description: 现货合同类型 - 1:采购 -1:销售
  1413. type: integer
  1414. deliverygoodscode:
  1415. description: 现货品种代码
  1416. type: string
  1417. deliverygoodsid:
  1418. description: 现货商品ID
  1419. type: integer
  1420. deliverygoodsname:
  1421. description: 现货品种名称
  1422. type: string
  1423. enumdicname:
  1424. description: 单位名称
  1425. type: string
  1426. goodscode:
  1427. description: 点价合约
  1428. type: string
  1429. goodsname:
  1430. description: 商品名称
  1431. type: string
  1432. invoiceamount:
  1433. description: 已开收票金额(销售为开票,采购为收票)
  1434. type: number
  1435. operateapplyid:
  1436. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1437. type: string
  1438. operateapplytype:
  1439. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1440. type: integer
  1441. pricemove:
  1442. description: 升贴水
  1443. type: number
  1444. pricetype:
  1445. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1446. type: integer
  1447. relatedid:
  1448. description: 现货合同ID
  1449. type: string
  1450. sellusername:
  1451. description: 销售方名字
  1452. type: string
  1453. userid:
  1454. description: 用户ID
  1455. type: integer
  1456. wrstandardcode:
  1457. description: 品类代码
  1458. type: string
  1459. wrstandardid:
  1460. description: 品类id
  1461. type: integer
  1462. wrstandardname:
  1463. description: 品类名称
  1464. type: string
  1465. type: object
  1466. ermcp.QryBussinessJsExRsp:
  1467. properties:
  1468. applyid:
  1469. description: 申请人
  1470. type: string
  1471. applyname:
  1472. description: 申请人名称
  1473. type: string
  1474. applystatus:
  1475. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1476. type: integer
  1477. applytime:
  1478. description: 申请时间
  1479. type: string
  1480. attachurl:
  1481. description: 附件
  1482. type: string
  1483. auditid:
  1484. description: 审核人ID
  1485. type: string
  1486. auditname:
  1487. description: 审核人名称
  1488. type: string
  1489. auditremark:
  1490. description: 审核备注
  1491. type: string
  1492. audittime:
  1493. description: 审核时间
  1494. type: string
  1495. buyusername:
  1496. description: 采购方名称
  1497. type: string
  1498. contractno:
  1499. description: 合同编号
  1500. type: string
  1501. contractstatus:
  1502. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1503. type: integer
  1504. contracttype:
  1505. description: 现货合同类型 - 1:采购 -1:销售
  1506. type: integer
  1507. deliverygoodscode:
  1508. description: 现货品种代码
  1509. type: string
  1510. deliverygoodsid:
  1511. description: 现货商品ID
  1512. type: integer
  1513. deliverygoodsname:
  1514. description: 现货品种名称
  1515. type: string
  1516. enumdicname:
  1517. description: 单位名称
  1518. type: string
  1519. goodscode:
  1520. description: 点价合约
  1521. type: string
  1522. goodsname:
  1523. description: 商品名称
  1524. type: string
  1525. operateapplyid:
  1526. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1527. type: string
  1528. operateapplytype:
  1529. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1530. type: integer
  1531. pricemove:
  1532. description: 升贴水
  1533. type: number
  1534. pricetype:
  1535. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1536. type: integer
  1537. reckontype:
  1538. description: 结算类型
  1539. type: string
  1540. reckonvalue:
  1541. description: 值
  1542. type: number
  1543. relatedid:
  1544. description: 现货合同ID
  1545. type: string
  1546. sellusername:
  1547. description: 销售方名字
  1548. type: string
  1549. userid:
  1550. description: 用户ID
  1551. type: integer
  1552. wrstandardcode:
  1553. description: 品类代码
  1554. type: string
  1555. wrstandardid:
  1556. description: 品类id
  1557. type: integer
  1558. wrstandardname:
  1559. description: 品类名称
  1560. type: string
  1561. type: object
  1562. ermcp.QryBussinessJsRsp:
  1563. properties:
  1564. addmargin:
  1565. description: 追加保证金(非必填)
  1566. type: number
  1567. applyid:
  1568. description: 申请人
  1569. type: string
  1570. applyname:
  1571. description: 申请人名称
  1572. type: string
  1573. applystatus:
  1574. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1575. type: integer
  1576. applytime:
  1577. description: 申请时间
  1578. type: string
  1579. attachurl:
  1580. description: 附件
  1581. type: string
  1582. auditid:
  1583. description: 审核人ID
  1584. type: string
  1585. auditname:
  1586. description: 审核人名称
  1587. type: string
  1588. auditremark:
  1589. description: 审核备注
  1590. type: string
  1591. audittime:
  1592. description: 审核时间
  1593. type: string
  1594. buyusername:
  1595. description: 采购方名称
  1596. type: string
  1597. contractno:
  1598. description: 合同编号
  1599. type: string
  1600. contractstatus:
  1601. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1602. type: integer
  1603. contracttype:
  1604. description: 现货合同类型 - 1:采购 -1:销售
  1605. type: integer
  1606. decmargin:
  1607. description: 减少保证金(非必填)
  1608. type: number
  1609. deliverygoodscode:
  1610. description: 现货品种代码
  1611. type: string
  1612. deliverygoodsid:
  1613. description: 现货商品ID
  1614. type: integer
  1615. deliverygoodsname:
  1616. description: 现货品种名称
  1617. type: string
  1618. enumdicname:
  1619. description: 单位名称
  1620. type: string
  1621. goodscode:
  1622. description: 点价合约
  1623. type: string
  1624. goodsname:
  1625. description: 商品名称
  1626. type: string
  1627. operateapplyid:
  1628. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1629. type: string
  1630. operateapplytype:
  1631. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1632. type: integer
  1633. pricemove:
  1634. description: 升贴水
  1635. type: number
  1636. pricetype:
  1637. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1638. type: integer
  1639. reckonadjustamount:
  1640. description: 结算调整金额(非必填)
  1641. type: number
  1642. reckonosamount:
  1643. description: 结算溢短金额(非必填)
  1644. type: number
  1645. reckonotheramount:
  1646. description: 结算其他费用(非必填)
  1647. type: number
  1648. reckonrealqty:
  1649. description: 结算实际数量(非必填)
  1650. type: number
  1651. relatedid:
  1652. description: 现货合同ID
  1653. type: string
  1654. sellusername:
  1655. description: 销售方名字
  1656. type: string
  1657. userid:
  1658. description: 用户ID
  1659. type: integer
  1660. wrstandardcode:
  1661. description: 品类代码
  1662. type: string
  1663. wrstandardid:
  1664. description: 品类id
  1665. type: integer
  1666. wrstandardname:
  1667. description: 品类名称
  1668. type: string
  1669. type: object
  1670. ermcp.QryBussinessKxRsp:
  1671. properties:
  1672. applyid:
  1673. description: 申请人
  1674. type: string
  1675. applyname:
  1676. description: 申请人名称
  1677. type: string
  1678. applystatus:
  1679. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1680. type: integer
  1681. applytime:
  1682. description: 申请时间
  1683. type: string
  1684. attachurl:
  1685. description: 附件
  1686. type: string
  1687. auditid:
  1688. description: 审核人ID
  1689. type: string
  1690. auditname:
  1691. description: 审核人名称
  1692. type: string
  1693. auditremark:
  1694. description: 审核备注
  1695. type: string
  1696. audittime:
  1697. description: 审核时间
  1698. type: string
  1699. buyusername:
  1700. description: 采购方名称
  1701. type: string
  1702. contractno:
  1703. description: 合同编号
  1704. type: string
  1705. contractstatus:
  1706. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1707. type: integer
  1708. contracttype:
  1709. description: 现货合同类型 - 1:采购 -1:销售
  1710. type: integer
  1711. deductamount:
  1712. description: 期初均价
  1713. type: number
  1714. deliverygoodscode:
  1715. description: 现货品种代码
  1716. type: string
  1717. deliverygoodsid:
  1718. description: 现货商品ID
  1719. type: integer
  1720. deliverygoodsname:
  1721. description: 现货品种名称
  1722. type: string
  1723. enumdicname:
  1724. description: 单位名称
  1725. type: string
  1726. goodscode:
  1727. description: 点价合约
  1728. type: string
  1729. goodsname:
  1730. description: 商品名称
  1731. type: string
  1732. kxtype:
  1733. description: 款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)
  1734. type: integer
  1735. operateapplyid:
  1736. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1737. type: string
  1738. operateapplytype:
  1739. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1740. type: integer
  1741. payamount:
  1742. description: 期初均价
  1743. type: number
  1744. pricemove:
  1745. description: 升贴水
  1746. type: number
  1747. pricetype:
  1748. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1749. type: integer
  1750. relatedid:
  1751. description: 现货合同ID
  1752. type: string
  1753. sellusername:
  1754. description: 销售方名字
  1755. type: string
  1756. userid:
  1757. description: 用户ID
  1758. type: integer
  1759. wrstandardcode:
  1760. description: 品类代码
  1761. type: string
  1762. wrstandardid:
  1763. description: 品类id
  1764. type: integer
  1765. wrstandardname:
  1766. description: 品类名称
  1767. type: string
  1768. type: object
  1769. ermcp.QryGGCovertCfgRsp:
  1770. properties:
  1771. convertratio:
  1772. description: 折算系数
  1773. type: number
  1774. destgoodsgroupid:
  1775. description: 目标品种ID
  1776. type: integer
  1777. dstcode:
  1778. description: 目录品种代码
  1779. type: string
  1780. dstexchangecode:
  1781. description: 目标期货交易所
  1782. type: string
  1783. dstname:
  1784. description: 目标品种名称
  1785. type: string
  1786. dstunitid:
  1787. description: 目标品种单位ID
  1788. type: integer
  1789. dstunitidname:
  1790. description: 目标品种单位名称
  1791. type: string
  1792. modifytime:
  1793. description: 修改时间
  1794. type: string
  1795. srccode:
  1796. description: 源品种代码
  1797. type: string
  1798. srcexchangecode:
  1799. description: 源期货交易所
  1800. type: string
  1801. srcgoodsgroupid:
  1802. description: 源品种ID
  1803. type: integer
  1804. srcname:
  1805. description: 源品种名称
  1806. type: string
  1807. srcunitid:
  1808. description: 源品种单位ID
  1809. type: integer
  1810. srcunitidname:
  1811. description: 源品种单位名称
  1812. type: string
  1813. type: object
  1814. ermcp.QryMGChangeLogRsp:
  1815. properties:
  1816. aftervalue:
  1817. description: 变更后
  1818. type: number
  1819. applyid:
  1820. description: 操作人
  1821. type: integer
  1822. applyname:
  1823. description: 操作人名称
  1824. type: string
  1825. applysrc:
  1826. description: 操作来源 - 1:管理端 2:终端
  1827. type: integer
  1828. beforevalue:
  1829. description: 变更前
  1830. type: number
  1831. changelogtype:
  1832. description: 变更流水类型 - 1:套保比率变更
  1833. type: integer
  1834. handlestatus:
  1835. description: 处理状态
  1836. type: integer
  1837. logdatetime:
  1838. description: 流水日期
  1839. type: string
  1840. logid:
  1841. description: 流水ID
  1842. type: integer
  1843. logremark:
  1844. description: 流水备注
  1845. type: string
  1846. middlegoodsid:
  1847. description: 套保品种ID
  1848. type: integer
  1849. tradedate:
  1850. description: 交易日(yyyyMMdd)
  1851. type: string
  1852. updatetime:
  1853. description: 更新时间
  1854. type: string
  1855. type: object
  1856. ermcp.QryMiddleGoodsDetailRsp:
  1857. properties:
  1858. cvList:
  1859. description: 期货品种折算列表
  1860. items:
  1861. $ref: '#/definitions/models.ErmcpGGConvertCfg'
  1862. type: array
  1863. mg:
  1864. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  1865. description: 套保品种基本信息
  1866. wrcList:
  1867. description: 现货品种列表(现货商品折算配置)
  1868. items:
  1869. $ref: '#/definitions/models.WRSConverTDetail'
  1870. type: array
  1871. type: object
  1872. ermcp.QryMiddleGoodsRsp:
  1873. properties:
  1874. areauserid:
  1875. description: 机构用户ID
  1876. type: integer
  1877. createtime:
  1878. description: 修改时间
  1879. type: string
  1880. enumdicname:
  1881. description: 单位名称
  1882. type: string
  1883. evaluateratio:
  1884. description: 估价系数
  1885. type: number
  1886. goodsgroupid:
  1887. description: 关联期货品种ID
  1888. type: integer
  1889. goodsunitid:
  1890. description: 单位ID
  1891. type: integer
  1892. isvalid:
  1893. description: 状态 0-无效(停用) 1-有效(正常)
  1894. type: integer
  1895. middlegoodscode:
  1896. description: 套保品种代码
  1897. type: string
  1898. middlegoodsid:
  1899. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  1900. type: integer
  1901. middlegoodsname:
  1902. description: 套保品种名称
  1903. type: string
  1904. modifytime:
  1905. description: 修改时间
  1906. type: string
  1907. needarbitrageratio:
  1908. description: 套利比例
  1909. type: number
  1910. needhedgeratio:
  1911. description: 套保比率
  1912. type: number
  1913. qtydecimalplace:
  1914. description: 数量小数位
  1915. type: integer
  1916. relatedgoodsid:
  1917. description: 关联交易商品ID
  1918. type: integer
  1919. relatedgoodstype:
  1920. description: 关联商品类型 - 1:期货合约 2:现货品种
  1921. type: integer
  1922. remark:
  1923. description: 备注
  1924. type: string
  1925. type: object
  1926. ermcp.QryOPLogRsp:
  1927. properties:
  1928. aftervalue:
  1929. description: 变更后
  1930. type: number
  1931. applyid:
  1932. description: 操作人ID
  1933. type: string
  1934. applyname:
  1935. description: 操作人名称
  1936. type: string
  1937. beforevalue:
  1938. description: 变更前
  1939. type: number
  1940. biztype:
  1941. description: 业务类型 - 1:套保计划 2:现货合同
  1942. type: integer
  1943. contracttype:
  1944. description: 现货合同类型 - 1:采购 -1:销售
  1945. type: integer
  1946. logvalue:
  1947. description: 数值
  1948. type: number
  1949. operatelogtype:
  1950. description: 操作流水类型
  1951. type: integer
  1952. operatelogtypedesc:
  1953. description: 操作流水类型名称
  1954. type: string
  1955. relatedid:
  1956. description: 现货合同ID\套保计划
  1957. type: string
  1958. updatetime:
  1959. description: 更新时间
  1960. type: string
  1961. type: object
  1962. ermcp.QryUserInfoRsp:
  1963. properties:
  1964. address:
  1965. description: 通讯地址
  1966. type: string
  1967. attachment1:
  1968. description: 附件1
  1969. type: string
  1970. audittime:
  1971. description: 审核时间
  1972. type: string
  1973. cardbackphotourl:
  1974. description: 证件反面图片地址
  1975. type: string
  1976. cardfrontphotourl:
  1977. description: 证件正面图片地址
  1978. type: string
  1979. cardnum:
  1980. description: 证件号码
  1981. type: string
  1982. cardtype:
  1983. description: 证件类型
  1984. type: integer
  1985. cardtypename:
  1986. description: 证件类型名称
  1987. type: string
  1988. cityid:
  1989. description: 市
  1990. type: integer
  1991. contactname:
  1992. description: 联系人
  1993. type: string
  1994. countryid:
  1995. description: 国家
  1996. type: integer
  1997. createtime:
  1998. description: 创建时间
  1999. type: string
  2000. customername:
  2001. description: 企业名称
  2002. type: string
  2003. districtid:
  2004. description: 区域
  2005. type: integer
  2006. email:
  2007. description: 邮件
  2008. type: string
  2009. legalpersonname:
  2010. description: 法人姓名(企业)
  2011. type: string
  2012. memberuserid:
  2013. description: 所属机构ID
  2014. type: integer
  2015. mobile:
  2016. description: 手机号码
  2017. type: string
  2018. modifytime:
  2019. description: 修改时间
  2020. type: string
  2021. nickname:
  2022. description: 昵称
  2023. type: string
  2024. provinceid:
  2025. description: 省
  2026. type: integer
  2027. remark:
  2028. description: 备注
  2029. type: string
  2030. status:
  2031. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  2032. type: integer
  2033. statusdesc:
  2034. description: 账户状态中文描述
  2035. type: string
  2036. taxpayernum:
  2037. description: 纳税人识别号
  2038. type: string
  2039. telphone:
  2040. description: 联系电话
  2041. type: string
  2042. userid:
  2043. description: 用户ID
  2044. type: integer
  2045. userinfotype:
  2046. description: 客户类型
  2047. type: string
  2048. type: object
  2049. ermcp.QryWarehouseRsp:
  2050. properties:
  2051. address:
  2052. description: 详细地址
  2053. type: string
  2054. areauserid:
  2055. description: 所属机构
  2056. type: integer
  2057. autoid:
  2058. description: 自增ID(仓库ID)
  2059. type: integer
  2060. cityid:
  2061. description: 市
  2062. type: integer
  2063. contactname:
  2064. description: 联系人
  2065. type: string
  2066. contactnum:
  2067. description: 联系电话
  2068. type: string
  2069. countryid:
  2070. description: 国家
  2071. type: integer
  2072. createtime:
  2073. description: 创建时间
  2074. type: string
  2075. districtid:
  2076. description: 区
  2077. type: integer
  2078. hasvideo:
  2079. description: 是否有视频 - 0:无 1:有
  2080. type: integer
  2081. provinceid:
  2082. description: 省
  2083. type: integer
  2084. remark:
  2085. description: 审核备注
  2086. type: string
  2087. videourl:
  2088. description: 视频地址
  2089. type: string
  2090. warehousecode:
  2091. description: 仓库代码
  2092. type: string
  2093. warehousename:
  2094. description: 仓库名称
  2095. type: string
  2096. warehousestatus:
  2097. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  2098. type: integer
  2099. warehousetype:
  2100. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  2101. type: integer
  2102. type: object
  2103. ermcp.QueryErmcpTradePositionRsp:
  2104. properties:
  2105. agreeunit:
  2106. description: 合约单位
  2107. type: number
  2108. buyorsell:
  2109. description: 方向 - 0:买 1:卖
  2110. type: integer
  2111. curpositionqty:
  2112. description: 持仓(总仓数量, 期末头寸)
  2113. type: integer
  2114. curtdposition:
  2115. description: 今仓数量(期末今日头寸)
  2116. type: integer
  2117. curtdpositionenabled:
  2118. description: 今仓可用
  2119. type: integer
  2120. decimalplace:
  2121. description: 报价小数位
  2122. type: integer
  2123. enableqty:
  2124. description: 可用(总仓可用)
  2125. type: integer
  2126. exexchangename:
  2127. description: 外部交易所名称
  2128. type: string
  2129. exexehangecode:
  2130. description: 外部交易所代码
  2131. type: string
  2132. exexehangeid:
  2133. description: 外部交易所id
  2134. type: integer
  2135. goodscode:
  2136. description: 商品代码(内部)
  2137. type: string
  2138. goodsid:
  2139. description: 商品ID(自增ID SEQ_GOODS)
  2140. type: integer
  2141. goodsname:
  2142. description: 商品名称
  2143. type: string
  2144. last:
  2145. description: 现价
  2146. type: number
  2147. marketid:
  2148. description: 所属市场ID
  2149. type: integer
  2150. openaverageprice:
  2151. description: 开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位
  2152. type: number
  2153. opencost:
  2154. description: 开仓成本
  2155. type: number
  2156. openpl:
  2157. description: 逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向
  2158. = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位
  2159. type: number
  2160. outgoodscode:
  2161. description: 商品代码(外部)
  2162. type: string
  2163. positionaverageprice:
  2164. description: 持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位
  2165. type: number
  2166. positioncost:
  2167. description: 持仓成本
  2168. type: number
  2169. positionpl:
  2170. description: 盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向
  2171. = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位
  2172. type: number
  2173. positionplrate:
  2174. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  2175. type: number
  2176. usedmargin:
  2177. description: 占用保证金
  2178. type: number
  2179. type: object
  2180. ermcp.RealtimeExposurePositionRsp:
  2181. properties:
  2182. agreeunit:
  2183. description: 合约单位
  2184. type: string
  2185. areauserid:
  2186. description: 所属机构id
  2187. type: integer
  2188. convertratio:
  2189. description: 期货品种系数(折算系数)
  2190. type: number
  2191. curhedgeqty:
  2192. description: 期货套期量 = 当前持仓*期货合约单位*期货品种系数
  2193. type: number
  2194. curqty:
  2195. description: 当前持仓
  2196. type: integer
  2197. diffhedgeqty:
  2198. description: 套保品种变动量=持仓变动量*期货合约单位*期货品种系数
  2199. type: number
  2200. diffqty:
  2201. description: 持仓变动量=当前持仓-昨日持仓
  2202. type: integer
  2203. goodscode:
  2204. description: 商品代码
  2205. type: string
  2206. goodsid:
  2207. description: 商品id
  2208. type: integer
  2209. goodsname:
  2210. description: 商品名称
  2211. type: string
  2212. hedgeaccountcode:
  2213. description: 对冲账号(只有外部账号才有值)
  2214. type: string
  2215. middlegoodscode:
  2216. description: 套保商品代码
  2217. type: string
  2218. middlegoodsid:
  2219. description: 套保商品id
  2220. type: integer
  2221. middlegoodsname:
  2222. description: 套保商品名称
  2223. type: string
  2224. ydqty:
  2225. description: 昨日持仓
  2226. type: integer
  2227. type: object
  2228. ermcp.RealtimeExposureRsp:
  2229. properties:
  2230. AreaUserID:
  2231. description: 所属机构
  2232. type: integer
  2233. BuyFutureQty:
  2234. description: 买入期货数量
  2235. type: number
  2236. BuyPlanQty:
  2237. description: 采购计划数量
  2238. type: number
  2239. BuyPricedQty:
  2240. description: 采购合同已定价数量
  2241. type: number
  2242. MiddleGoodsCode:
  2243. description: 套保品种代码
  2244. type: string
  2245. MiddleGoodsHedgeRatio:
  2246. description: 套保比例
  2247. type: number
  2248. MiddleGoodsID:
  2249. description: 套保品种
  2250. type: integer
  2251. MiddleGoodsName:
  2252. description: 套保品种名称
  2253. type: string
  2254. NeedHedgeExposoure:
  2255. description: 应套保敞口(套保敞口)
  2256. type: number
  2257. NeedHedgeRatio:
  2258. description: 应套保敞口比例
  2259. type: number
  2260. OriBuyFutureQty:
  2261. description: 期初买入期货数量
  2262. type: number
  2263. OriBuyPlanQty:
  2264. description: 期初采购计划数量
  2265. type: number
  2266. OriBuyPricedQty:
  2267. description: 期初采购合同已定价数量
  2268. type: number
  2269. OriSellFutureQty:
  2270. description: 期初卖出期货数量
  2271. type: number
  2272. OriSellPlanQty:
  2273. description: 期初销售计划数量
  2274. type: number
  2275. OriSellPricedQty:
  2276. description: 期初销售合同已定价数量
  2277. type: number
  2278. OriTotalSpotQty:
  2279. description: 期初现货总量
  2280. type: number
  2281. SellFutureQty:
  2282. description: 卖出期货数量
  2283. type: number
  2284. SellPlanQty:
  2285. description: 销售计划数量
  2286. type: number
  2287. SellPricedQty:
  2288. description: 销售合同已定价数量
  2289. type: number
  2290. TotalExposure:
  2291. description: 总敞口 平安:净敞口
  2292. type: number
  2293. TotalFutureQty:
  2294. description: 期货总量 平安:保值净持仓量
  2295. type: number
  2296. TotalHedgeRatio:
  2297. description: 敞口比例
  2298. type: number
  2299. TotalNeedHedgeQty:
  2300. description: 应套保总量(现货应套保总量)
  2301. type: number
  2302. TotalSpotQty:
  2303. description: 现货总量 平安:采销定价净值
  2304. type: number
  2305. arbitrageqty:
  2306. description: 套利量
  2307. type: number
  2308. diffArbitrageQty:
  2309. description: 期初均价
  2310. type: number
  2311. diffExposoureQty:
  2312. description: 期初均价
  2313. type: number
  2314. diffFutuQty:
  2315. description: 期初均价
  2316. type: number
  2317. diffHedgeQty:
  2318. description: 期初均价
  2319. type: number
  2320. diffQty:
  2321. description: 期初均价
  2322. type: number
  2323. diffSpotHedgeQty:
  2324. description: 期初均价
  2325. type: number
  2326. diffSpotQty:
  2327. description: 期初均价
  2328. type: number
  2329. enumdicname:
  2330. description: 单位名称
  2331. type: string
  2332. hedgeqty:
  2333. description: 套保量
  2334. type: number
  2335. needarbitrageqty:
  2336. description: 应套利量
  2337. type: number
  2338. needarbitrageratio:
  2339. description: 套利比例
  2340. type: number
  2341. needhedgeqty:
  2342. description: 应套保量
  2343. type: number
  2344. oriarbitrageqty:
  2345. description: 期初套利量
  2346. type: number
  2347. orihedgeqty:
  2348. description: 期初套保量
  2349. type: number
  2350. orineedhedgeexposoure:
  2351. description: 期初套保敞口
  2352. type: number
  2353. oritotalexposure:
  2354. description: 期初总敞口
  2355. type: number
  2356. oritotalfutureqty:
  2357. description: 期初期货总量
  2358. type: number
  2359. oritotalneedhedgeqty:
  2360. description: 期初现货应套保量
  2361. type: number
  2362. type: object
  2363. erms2.QueryArbitrageStrategyRsp:
  2364. properties:
  2365. applybasis:
  2366. description: 申请基差
  2367. type: number
  2368. asapplyid:
  2369. description: 策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)
  2370. type: string
  2371. asname:
  2372. description: 策略名称
  2373. type: string
  2374. asno:
  2375. description: 策略编号
  2376. type: string
  2377. basischangepl:
  2378. description: 基差变动损益[结算更新]
  2379. type: number
  2380. biztype:
  2381. description: 业务类型 - 1:正向套利 -1:反向套利
  2382. type: integer
  2383. closetradedate:
  2384. description: 完结交易日(yyyyMMdd)
  2385. type: string
  2386. curbasis:
  2387. description: 当前基差[结算更新]
  2388. type: number
  2389. deliverygoodsid:
  2390. description: 现货品种ID
  2391. type: integer
  2392. futureavgprice:
  2393. description: 期货建仓均价
  2394. type: number
  2395. futurecloseamount:
  2396. description: 期货平仓金额
  2397. type: number
  2398. futurecloseqty:
  2399. description: 期货平仓数量
  2400. type: number
  2401. futureopenamount:
  2402. description: 期货开仓金额
  2403. type: number
  2404. futureopenqty:
  2405. description: 期货开仓数量
  2406. type: number
  2407. futurepl:
  2408. description: 期货总盈亏[结算更新]
  2409. type: number
  2410. futureqty:
  2411. description: 期货持仓数量
  2412. type: number
  2413. futurequote:
  2414. description: 期货额度
  2415. type: number
  2416. goodsgroupid:
  2417. description: 期货品种ID
  2418. type: integer
  2419. marketid:
  2420. description: 市场ID
  2421. type: integer
  2422. netexposure:
  2423. description: 单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量
  2424. type: number
  2425. netexposurepl:
  2426. description: 净敞口损益 = TotalPL - BasisChangePL[结算更新]
  2427. type: number
  2428. netexposurerate:
  2429. description: 净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0
  2430. type: number
  2431. openbasis:
  2432. description: 建仓基差
  2433. type: number
  2434. pricedspotqty:
  2435. description: 已定价现货数量
  2436. type: number
  2437. pricedspotqtynotax:
  2438. description: 已定价现货不含税数量
  2439. type: number
  2440. remark:
  2441. description: 备注
  2442. type: string
  2443. spotavgprice:
  2444. description: 现货均价
  2445. type: number
  2446. spotbuyamount:
  2447. description: 现货采购金额
  2448. type: number
  2449. spotbuyqty:
  2450. description: 现货采购数量
  2451. type: number
  2452. spotpl:
  2453. description: 现货总盈亏[结算更新]
  2454. type: number
  2455. spotquota:
  2456. description: 现货额度
  2457. type: number
  2458. spotsellamount:
  2459. description: 现货销售金额
  2460. type: number
  2461. spotsellqty:
  2462. description: 现货销售数量
  2463. type: number
  2464. spotusedquota:
  2465. description: 现货占用资金
  2466. type: number
  2467. strategystatus:
  2468. description: 策略状态 - 0:未结束 1:已结束
  2469. type: integer
  2470. totalpl:
  2471. description: 业务合计损益 = FuturePL + SpotPL [结算更新]
  2472. type: number
  2473. tradedate:
  2474. description: 交易日(yyyyMMdd)
  2475. type: string
  2476. updatetime:
  2477. description: 更新时间
  2478. type: string
  2479. usedquota:
  2480. description: 已占用资金
  2481. type: number
  2482. userid:
  2483. description: 所属机构
  2484. type: integer
  2485. required:
  2486. - asapplyid
  2487. type: object
  2488. erms2.QueryInnerTradeDetailRsp:
  2489. properties:
  2490. accountid:
  2491. description: 账号ID
  2492. type: integer
  2493. agreeunit:
  2494. description: 合约单位
  2495. type: number
  2496. asapplyid:
  2497. description: 策略申请ID
  2498. type: integer
  2499. asname:
  2500. description: 策略名称
  2501. type: string
  2502. asno:
  2503. description: 策略编号
  2504. type: string
  2505. buyorsell:
  2506. description: 方向 - 0:买 1:卖
  2507. type: integer
  2508. channelbuildtype:
  2509. description: 委托单据类型 0:无 1:建仓 2:平仓
  2510. type: integer
  2511. closetype:
  2512. description: 平仓方式 - 0:无 1:平今 2:平昨
  2513. type: integer
  2514. decimalplace:
  2515. description: 报价小数位
  2516. type: integer
  2517. detailtype:
  2518. description: 明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整
  2519. type: integer
  2520. exexchangecode:
  2521. description: 外部交易所代码
  2522. type: string
  2523. exexchangename:
  2524. description: 外部交易所名称
  2525. type: string
  2526. goodscode:
  2527. description: 商品代码(合约)
  2528. type: string
  2529. goodsgroupid:
  2530. description: 商品组ID(品种ID)
  2531. type: integer
  2532. goodsgroupname:
  2533. description: 商品组名称(品种)
  2534. type: string
  2535. goodsid:
  2536. description: 商品ID
  2537. type: integer
  2538. goodsname:
  2539. description: 商品名称(合约)
  2540. type: string
  2541. goodunit:
  2542. description: 报价单位
  2543. type: string
  2544. marketid:
  2545. description: 市场ID
  2546. type: integer
  2547. orderid:
  2548. description: 委托单号
  2549. type: string
  2550. outgoodscode:
  2551. description: 商品代码(外部)
  2552. type: string
  2553. relatedouttradeid:
  2554. description: 关联外部成交单ID
  2555. type: string
  2556. remark:
  2557. description: 备注
  2558. type: string
  2559. spotcontractid:
  2560. description: 现货合同ID [1:套利对冲 为合同ID,2:期货换月\3:期货仓位调整时为0]
  2561. type: integer
  2562. spotcontractno:
  2563. description: 现货合同编号
  2564. type: string
  2565. tradeid:
  2566. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  2567. type: string
  2568. tradeprice:
  2569. description: 成交价格
  2570. type: number
  2571. tradeqty:
  2572. description: 成交数量
  2573. type: integer
  2574. tradetime:
  2575. description: 成交时间
  2576. type: string
  2577. updatetime:
  2578. description: 更新时间
  2579. type: string
  2580. required:
  2581. - asapplyid
  2582. - buyorsell
  2583. - goodscode
  2584. - goodsgroupid
  2585. - goodsgroupname
  2586. - goodsname
  2587. - tradeid
  2588. type: object
  2589. erms2.QuerySpotContractRsp:
  2590. properties:
  2591. accountid:
  2592. description: 资金账户ID
  2593. type: integer
  2594. areauserid:
  2595. description: 所属机构
  2596. type: integer
  2597. closedate:
  2598. description: 终止日期
  2599. type: string
  2600. closeremark:
  2601. description: 结束备注
  2602. type: string
  2603. closetradedate:
  2604. description: 完结交易日(yyyyMMdd)
  2605. type: string
  2606. closetype:
  2607. description: 终止类型 - 1:违约 2:提前终止
  2608. type: integer
  2609. contractamount:
  2610. description: 合同金额
  2611. type: number
  2612. contractattachment:
  2613. description: 合同附件
  2614. type: string
  2615. contractno:
  2616. description: 现货合同编号
  2617. type: string
  2618. contractqty:
  2619. description: 合同数量(数值) (用于计算)
  2620. type: number
  2621. contractqtychar:
  2622. description: 合同数量\已订价数量 (用于显示)
  2623. type: string
  2624. contractstatus:
  2625. description: 合同状态 - 0:未结束 1:已结束
  2626. type: integer
  2627. contracttype:
  2628. description: 现货合同类型 - 1:采购合同 -1:销售合同
  2629. type: integer
  2630. customeraccountid:
  2631. description: 客户资金账户ID
  2632. type: integer
  2633. customeruserid:
  2634. description: 客户ID
  2635. type: integer
  2636. deliverygoodsdesc:
  2637. description: 品种说明
  2638. type: string
  2639. deliverygoodsid:
  2640. description: 现货品种ID
  2641. type: integer
  2642. handlestatus:
  2643. description: 处理状态
  2644. type: integer
  2645. invoiceatt:
  2646. description: 发票附件
  2647. type: string
  2648. invoicedatetime:
  2649. description: 开收票更新时间
  2650. type: string
  2651. invoiceopentime:
  2652. description: 开票时间
  2653. type: string
  2654. invoiceremark:
  2655. description: 发票备注
  2656. type: string
  2657. invoicestatus:
  2658. description: 开收票状态 - 0:未开票 1:已开票
  2659. type: integer
  2660. lastdate:
  2661. description: 交货时间
  2662. type: string
  2663. marketid:
  2664. description: 市场ID
  2665. type: integer
  2666. paydatetime:
  2667. description: 收付款更新时间
  2668. type: string
  2669. payremark:
  2670. description: 收付款备注
  2671. type: string
  2672. paystatus:
  2673. description: 收付款状态 - 0:未支付 1:已收款 2:已付款
  2674. type: integer
  2675. positionqty:
  2676. description: 头寸数量 - 合同数量去小数部分
  2677. type: integer
  2678. producttype:
  2679. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  2680. type: integer
  2681. relatedqty:
  2682. description: 已关联数量
  2683. type: number
  2684. relatedstatus:
  2685. description: 关联完结状态 - 0:未结束 1:已结束
  2686. type: integer
  2687. remark:
  2688. description: 备注
  2689. type: string
  2690. signdate:
  2691. description: 签订日期
  2692. type: string
  2693. spotcontractid:
  2694. description: 现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)
  2695. type: string
  2696. spotdatetime:
  2697. description: 收发货更新时间
  2698. type: string
  2699. spotprice:
  2700. description: 价格
  2701. type: number
  2702. spotremark:
  2703. description: 收发货备注
  2704. type: string
  2705. spotstatus:
  2706. description: 收发货状态 - 0:未交收 1:已发货 2:已发货
  2707. type: integer
  2708. tradedate:
  2709. description: 交易日(yyyyMMdd)
  2710. type: string
  2711. userid:
  2712. description: 业务员用户ID
  2713. type: integer
  2714. warehouseid:
  2715. description: 仓库ID
  2716. type: integer
  2717. wrfactortypeid:
  2718. description: 仓单要素类型ID
  2719. type: integer
  2720. wrstandardid:
  2721. description: 仓单标准ID(SEQ_WRSTANDARD)
  2722. type: integer
  2723. required:
  2724. - spotcontractid
  2725. type: object
  2726. erms3.AddErms2ASApplyReq:
  2727. properties:
  2728. applybasis:
  2729. description: 申请基差
  2730. type: number
  2731. applystatus:
  2732. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2733. type: integer
  2734. asapplyid:
  2735. description: 策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)
  2736. type: integer
  2737. asname:
  2738. description: 策略名称
  2739. type: string
  2740. asno:
  2741. description: 策略编号
  2742. type: string
  2743. auditid:
  2744. description: 审核人
  2745. type: integer
  2746. auditremark:
  2747. description: 审核备注
  2748. type: string
  2749. audittime:
  2750. description: 审核时间
  2751. type: string
  2752. biztype:
  2753. description: 业务类型 - 1:正向套利 2:反向套利
  2754. type: integer
  2755. createtime:
  2756. description: 创建时间
  2757. type: string
  2758. creatorid:
  2759. description: 创建人
  2760. type: integer
  2761. deliverygoodsid:
  2762. description: 现货品种ID
  2763. type: integer
  2764. futurequote:
  2765. description: 期货额度
  2766. type: number
  2767. goodsgroupid:
  2768. description: 期货品种ID
  2769. type: integer
  2770. marketid:
  2771. description: 市场ID
  2772. type: integer
  2773. remark:
  2774. description: 备注
  2775. type: string
  2776. spotquota:
  2777. description: 现货额度
  2778. type: number
  2779. tradedate:
  2780. description: 交易日(yyyyMMdd)
  2781. type: string
  2782. userid:
  2783. description: 所属机构
  2784. type: integer
  2785. required:
  2786. - asapplyid
  2787. type: object
  2788. erms3.AddErms2SpotTradeApplyReq:
  2789. properties:
  2790. applyjsondetail:
  2791. description: 申请明细(JSON)
  2792. type: string
  2793. applystatus:
  2794. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2795. type: integer
  2796. areauserid:
  2797. description: 所属机构
  2798. type: integer
  2799. auditid:
  2800. description: 审核人
  2801. type: integer
  2802. auditremark:
  2803. description: 审核备注
  2804. type: string
  2805. audittime:
  2806. description: 审核时间
  2807. type: string
  2808. createtime:
  2809. description: 创建时间
  2810. type: string
  2811. creatorid:
  2812. description: 创建人
  2813. type: integer
  2814. deliverygoodsid:
  2815. description: 现货品种ID
  2816. type: integer
  2817. futureaccountid:
  2818. description: 期货资金账户
  2819. type: integer
  2820. goodsgroupid:
  2821. description: 期货品种
  2822. type: integer
  2823. marketid:
  2824. description: 市场ID
  2825. type: integer
  2826. remark:
  2827. description: 备注
  2828. type: string
  2829. spotaccountid:
  2830. description: 现货资金账户
  2831. type: integer
  2832. spottradeid:
  2833. description: 业务ID(341+Unix秒时间戳(10位)+xxxxxx)
  2834. type: integer
  2835. spottradename:
  2836. description: 业务名称
  2837. type: string
  2838. spottradeno:
  2839. description: 业务编号
  2840. type: string
  2841. tradedate:
  2842. description: 交易日(yyyyMMdd)
  2843. type: string
  2844. wrstandardid:
  2845. description: 仓单标准ID
  2846. type: integer
  2847. required:
  2848. - spottradeid
  2849. type: object
  2850. erms3.AddSpotContractApplyReq:
  2851. properties:
  2852. accountid:
  2853. description: 资金账户ID
  2854. type: integer
  2855. areauserid:
  2856. description: 所属机构
  2857. type: integer
  2858. contractattachment:
  2859. description: 合同附件
  2860. type: string
  2861. contractno:
  2862. description: 现货合同编号
  2863. type: string
  2864. contracttype:
  2865. description: 现货合同类型 - 1:采购 -1:销售
  2866. type: integer
  2867. creatorid:
  2868. description: 申请人
  2869. type: integer
  2870. customeraccountid:
  2871. description: 客户资金账户ID
  2872. type: integer
  2873. customeruserid:
  2874. description: 客户ID
  2875. type: integer
  2876. details:
  2877. description: 明细
  2878. items:
  2879. $ref: '#/definitions/erms3.SoptContractDetail'
  2880. type: array
  2881. orimargin:
  2882. description: 初始保证金
  2883. type: number
  2884. remark:
  2885. description: 备注
  2886. type: string
  2887. signdate:
  2888. description: 签订日期
  2889. type: string
  2890. required:
  2891. - accountid
  2892. - areauserid
  2893. - contractno
  2894. - contracttype
  2895. - customeraccountid
  2896. - customeruserid
  2897. - details
  2898. - orimargin
  2899. - signdate
  2900. type: object
  2901. erms3.AddSpotContractApplyRsp:
  2902. properties:
  2903. contractno:
  2904. description: 现货合同编号
  2905. type: string
  2906. spotcontractid:
  2907. description: 现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)
  2908. type: integer
  2909. required:
  2910. - contractno
  2911. type: object
  2912. erms3.AddUserInfoApplyReq:
  2913. properties:
  2914. accountid:
  2915. description: 交易系统帐号Id (加密存储)
  2916. type: integer
  2917. areacode:
  2918. description: 机构代码
  2919. type: string
  2920. areaid:
  2921. description: 机构Id
  2922. type: integer
  2923. attachment1:
  2924. description: 附件1
  2925. type: string
  2926. attachment2:
  2927. description: 附件2
  2928. type: string
  2929. attachment3:
  2930. description: 附件3
  2931. type: string
  2932. attachment4:
  2933. description: 附件4
  2934. type: string
  2935. attachment5:
  2936. description: 附件5
  2937. type: string
  2938. auditedby:
  2939. description: 审核人
  2940. type: string
  2941. auditime:
  2942. description: 审核时间
  2943. type: string
  2944. auditsrc:
  2945. description: 审核来源 - 1:管理端 2:终端
  2946. type: integer
  2947. bankaccount:
  2948. description: 银行帐号 (加密存储)
  2949. type: string
  2950. bankaccountname:
  2951. description: 收款人名称
  2952. type: string
  2953. bankcardbackphotourl:
  2954. description: 银行卡背面照地址
  2955. type: string
  2956. bankcardfrontphotourl:
  2957. description: 银行卡正面照地址
  2958. type: string
  2959. bankid:
  2960. description: 银行编码
  2961. type: string
  2962. bankname:
  2963. description: 银行名称
  2964. type: string
  2965. bankpictureurl:
  2966. description: 银行卡正面地址
  2967. type: string
  2968. biznature:
  2969. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2970. type: integer
  2971. bizscope:
  2972. description: 企业经营范围(企业)
  2973. type: string
  2974. biztype:
  2975. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  2976. type: integer
  2977. brokerid:
  2978. description: 经纪人ID(加密存储)
  2979. type: string
  2980. cardaddress:
  2981. description: 证件地址 (加密存储)
  2982. type: string
  2983. cardbackphotourl:
  2984. description: 背面证件照地址
  2985. type: string
  2986. cardfrontphotourl:
  2987. description: 正面证件照地址
  2988. type: string
  2989. cardnum:
  2990. description: 证件号码 (加密存储)
  2991. type: string
  2992. cardtype:
  2993. description: 证件类型
  2994. type: integer
  2995. cityid:
  2996. description: 市
  2997. type: integer
  2998. company:
  2999. description: 公司(个人)
  3000. type: string
  3001. contactcardbackphotourl:
  3002. description: 联系人证件背面图片地址
  3003. type: string
  3004. contactcardfrontphotourl:
  3005. description: 联系人证件正面图片地址
  3006. type: string
  3007. contactname:
  3008. description: 联系人
  3009. type: string
  3010. countryid:
  3011. description: 国家
  3012. type: integer
  3013. createtime:
  3014. description: 开户申请时间
  3015. type: string
  3016. cusbankid:
  3017. description: 签约类型
  3018. type: string
  3019. cusbankname:
  3020. description: 签约类型名称
  3021. type: string
  3022. customername:
  3023. description: 客户名称(企业名称)
  3024. type: string
  3025. districtid:
  3026. description: 地区
  3027. type: integer
  3028. email:
  3029. description: Email地址(加密存储)
  3030. type: string
  3031. halfbodyphotourl:
  3032. description: 半身照地址
  3033. type: string
  3034. headurl:
  3035. description: 头像地址
  3036. type: string
  3037. ipaddress:
  3038. description: IP地址
  3039. type: string
  3040. isvalidate:
  3041. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  3042. type: string
  3043. legalcardbackphotourl:
  3044. description: 法人身份证背面照地址
  3045. type: string
  3046. legalcardfrontphotourl:
  3047. description: 法人身份证正面照地址
  3048. type: string
  3049. legalpersonname:
  3050. description: 法人姓名(企业)
  3051. type: string
  3052. logincode:
  3053. description: 登录帐号 (加密存储)
  3054. type: string
  3055. memberareaid:
  3056. description: 所属会员ID
  3057. type: integer
  3058. mobile2:
  3059. description: 手机号码[明文-尚志]
  3060. type: string
  3061. mobilephone:
  3062. description: 手机号码 (加密存储)
  3063. type: string
  3064. modifiedby:
  3065. description: 修改人帐号
  3066. type: integer
  3067. modifiedtime:
  3068. description: 修改时间
  3069. type: string
  3070. nickname:
  3071. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  3072. type: string
  3073. openmode:
  3074. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  3075. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  3076. type: integer
  3077. otherurl:
  3078. description: 其它图片地址[使用分号分隔]
  3079. type: string
  3080. postalcode:
  3081. description: 邮政编码
  3082. type: string
  3083. provinceid:
  3084. description: 省
  3085. type: integer
  3086. proxystatementurl:
  3087. description: 授权委托书
  3088. type: string
  3089. qq:
  3090. description: QQ(加密存储
  3091. type: string
  3092. referral:
  3093. description: 推荐人编码
  3094. type: string
  3095. remark:
  3096. description: 备注
  3097. type: string
  3098. removebeforestatus:
  3099. description: REMOVEBEFORESTATUS
  3100. type: integer
  3101. sex:
  3102. description: 性别 - 0:女 1:男
  3103. type: integer
  3104. signedstatus:
  3105. description: 账户一号签签约状态
  3106. type: integer
  3107. signpdfurl:
  3108. description: 签约pdf文件
  3109. type: string
  3110. subbranch:
  3111. description: 开户支行
  3112. type: string
  3113. taxpayernum:
  3114. description: 纳税人识别号
  3115. type: string
  3116. telphone:
  3117. description: 联系电话(加密存储)
  3118. type: string
  3119. userid:
  3120. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  3121. type: integer
  3122. userinfotype:
  3123. description: 用户信息类型 - 1:个人 2:企业
  3124. type: integer
  3125. username:
  3126. description: 用户姓名
  3127. type: string
  3128. userstate:
  3129. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3130. type: integer
  3131. usertype:
  3132. description: 用户类型 - 1:投资者 2:机构
  3133. type: integer
  3134. videourl:
  3135. description: 视频地址
  3136. type: string
  3137. wechat:
  3138. description: 微信号 (加密存储)
  3139. type: string
  3140. required:
  3141. - userid
  3142. type: object
  3143. erms3.CustomerInfo:
  3144. properties:
  3145. accountids:
  3146. description: 资金账户ID列表
  3147. items:
  3148. type: integer
  3149. type: array
  3150. customername:
  3151. description: 名称(企业名称)
  3152. type: string
  3153. mobile:
  3154. description: 手机号码
  3155. type: string
  3156. userid:
  3157. description: 用户ID
  3158. type: integer
  3159. required:
  3160. - userid
  3161. type: object
  3162. erms3.ModifyUserInfoApplyReq:
  3163. properties:
  3164. accountid:
  3165. description: 交易系统帐号Id (加密存储)
  3166. type: integer
  3167. areacode:
  3168. description: 机构代码
  3169. type: string
  3170. areaid:
  3171. description: 机构Id
  3172. type: integer
  3173. attachment1:
  3174. description: 附件1
  3175. type: string
  3176. attachment2:
  3177. description: 附件2
  3178. type: string
  3179. attachment3:
  3180. description: 附件3
  3181. type: string
  3182. attachment4:
  3183. description: 附件4
  3184. type: string
  3185. attachment5:
  3186. description: 附件5
  3187. type: string
  3188. auditedby:
  3189. description: 审核人
  3190. type: string
  3191. auditime:
  3192. description: 审核时间
  3193. type: string
  3194. auditsrc:
  3195. description: 审核来源 - 1:管理端 2:终端
  3196. type: integer
  3197. bankaccount:
  3198. description: 银行帐号 (加密存储)
  3199. type: string
  3200. bankaccountname:
  3201. description: 收款人名称
  3202. type: string
  3203. bankcardbackphotourl:
  3204. description: 银行卡背面照地址
  3205. type: string
  3206. bankcardfrontphotourl:
  3207. description: 银行卡正面照地址
  3208. type: string
  3209. bankid:
  3210. description: 银行编码
  3211. type: string
  3212. bankname:
  3213. description: 银行名称
  3214. type: string
  3215. bankpictureurl:
  3216. description: 银行卡正面地址
  3217. type: string
  3218. biznature:
  3219. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3220. type: integer
  3221. bizscope:
  3222. description: 企业经营范围(企业)
  3223. type: string
  3224. biztype:
  3225. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  3226. type: integer
  3227. brokerid:
  3228. description: 经纪人ID(加密存储)
  3229. type: string
  3230. cardaddress:
  3231. description: 证件地址 (加密存储)
  3232. type: string
  3233. cardbackphotourl:
  3234. description: 背面证件照地址
  3235. type: string
  3236. cardfrontphotourl:
  3237. description: 正面证件照地址
  3238. type: string
  3239. cardnum:
  3240. description: 证件号码 (加密存储)
  3241. type: string
  3242. cardtype:
  3243. description: 证件类型
  3244. type: integer
  3245. cityid:
  3246. description: 市
  3247. type: integer
  3248. company:
  3249. description: 公司(个人)
  3250. type: string
  3251. contactcardbackphotourl:
  3252. description: 联系人证件背面图片地址
  3253. type: string
  3254. contactcardfrontphotourl:
  3255. description: 联系人证件正面图片地址
  3256. type: string
  3257. contactname:
  3258. description: 联系人
  3259. type: string
  3260. countryid:
  3261. description: 国家
  3262. type: integer
  3263. createtime:
  3264. description: 开户申请时间
  3265. type: string
  3266. cusbankid:
  3267. description: 签约类型
  3268. type: string
  3269. cusbankname:
  3270. description: 签约类型名称
  3271. type: string
  3272. customername:
  3273. description: 客户名称(企业名称)
  3274. type: string
  3275. districtid:
  3276. description: 地区
  3277. type: integer
  3278. email:
  3279. description: Email地址(加密存储)
  3280. type: string
  3281. halfbodyphotourl:
  3282. description: 半身照地址
  3283. type: string
  3284. headurl:
  3285. description: 头像地址
  3286. type: string
  3287. ipaddress:
  3288. description: IP地址
  3289. type: string
  3290. isvalidate:
  3291. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  3292. type: string
  3293. legalcardbackphotourl:
  3294. description: 法人身份证背面照地址
  3295. type: string
  3296. legalcardfrontphotourl:
  3297. description: 法人身份证正面照地址
  3298. type: string
  3299. legalpersonname:
  3300. description: 法人姓名(企业)
  3301. type: string
  3302. logincode:
  3303. description: 登录帐号 (加密存储)
  3304. type: string
  3305. memberareaid:
  3306. description: 所属会员ID
  3307. type: integer
  3308. mobile2:
  3309. description: 手机号码[明文-尚志]
  3310. type: string
  3311. mobilephone:
  3312. description: 手机号码 (加密存储)
  3313. type: string
  3314. modifiedby:
  3315. description: 修改人帐号
  3316. type: integer
  3317. modifiedtime:
  3318. description: 修改时间
  3319. type: string
  3320. nickname:
  3321. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  3322. type: string
  3323. openmode:
  3324. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  3325. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  3326. type: integer
  3327. otherurl:
  3328. description: 其它图片地址[使用分号分隔]
  3329. type: string
  3330. postalcode:
  3331. description: 邮政编码
  3332. type: string
  3333. provinceid:
  3334. description: 省
  3335. type: integer
  3336. proxystatementurl:
  3337. description: 授权委托书
  3338. type: string
  3339. qq:
  3340. description: QQ(加密存储
  3341. type: string
  3342. referral:
  3343. description: 推荐人编码
  3344. type: string
  3345. remark:
  3346. description: 备注
  3347. type: string
  3348. removebeforestatus:
  3349. description: REMOVEBEFORESTATUS
  3350. type: integer
  3351. sex:
  3352. description: 性别 - 0:女 1:男
  3353. type: integer
  3354. signedstatus:
  3355. description: 账户一号签签约状态
  3356. type: integer
  3357. signpdfurl:
  3358. description: 签约pdf文件
  3359. type: string
  3360. subbranch:
  3361. description: 开户支行
  3362. type: string
  3363. taxpayernum:
  3364. description: 纳税人识别号
  3365. type: string
  3366. telphone:
  3367. description: 联系电话(加密存储)
  3368. type: string
  3369. userid:
  3370. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  3371. type: integer
  3372. userinfotype:
  3373. description: 用户信息类型 - 1:个人 2:企业
  3374. type: integer
  3375. username:
  3376. description: 用户姓名
  3377. type: string
  3378. userstate:
  3379. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3380. type: integer
  3381. usertype:
  3382. description: 用户类型 - 1:投资者 2:机构
  3383. type: integer
  3384. videourl:
  3385. description: 视频地址
  3386. type: string
  3387. wechat:
  3388. description: 微信号 (加密存储)
  3389. type: string
  3390. required:
  3391. - userid
  3392. type: object
  3393. erms3.QryAuditContractRsp:
  3394. properties:
  3395. accountid:
  3396. description: 交易员ID
  3397. type: string
  3398. applystatus:
  3399. description: 申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3400. type: integer
  3401. curdeliveryqty:
  3402. description: 未交收量
  3403. type: integer
  3404. customername:
  3405. description: 采购方ID
  3406. type: string
  3407. deliverygoodsid:
  3408. description: 品种ID
  3409. type: string
  3410. deliveryqty:
  3411. description: 交收量
  3412. type: integer
  3413. enumdicname:
  3414. description: 单位名称
  3415. type: string
  3416. matchaccountid:
  3417. description: 业务员ID
  3418. type: string
  3419. matchcustomername:
  3420. description: 销售方ID
  3421. type: string
  3422. pricedqty:
  3423. description: 定价量
  3424. type: number
  3425. signdate:
  3426. description: 签订日期
  3427. type: string
  3428. spotcontractid:
  3429. description: 合同ID
  3430. type: string
  3431. totaldqty:
  3432. description: 合同量
  3433. type: number
  3434. unpricedqty:
  3435. description: 未定价量
  3436. type: number
  3437. wrstandardname:
  3438. description: 商品名称
  3439. type: string
  3440. required:
  3441. - matchcustomername
  3442. - spotcontractid
  3443. type: object
  3444. erms3.QryPendingBizRsp:
  3445. properties:
  3446. accountid:
  3447. description: 现货账户
  3448. type: string
  3449. areaname:
  3450. description: 所属部门
  3451. type: string
  3452. bizid:
  3453. description: 业务ID
  3454. type: string
  3455. bizname:
  3456. description: 业务名称
  3457. type: string
  3458. status:
  3459. description: 状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3460. type: integer
  3461. type:
  3462. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易
  3463. type: integer
  3464. type: object
  3465. erms3.QueryBusinessInfoRsp:
  3466. properties:
  3467. businessid:
  3468. description: 业务ID.
  3469. type: integer
  3470. buyamount:
  3471. description: 采购额.
  3472. type: number
  3473. buyqty:
  3474. description: 采购量.
  3475. type: string
  3476. futurepl:
  3477. description: 期货盈亏.
  3478. type: number
  3479. futureqty:
  3480. description: 期货敞口.
  3481. type: string
  3482. goodsid:
  3483. description: 商品名称/商品代码.
  3484. type: string
  3485. hedgingqty:
  3486. description: 套保量.
  3487. type: string
  3488. sellamount:
  3489. description: 销售额.
  3490. type: number
  3491. sellqty:
  3492. description: 销售量.
  3493. type: string
  3494. spotmarketvalue:
  3495. description: 现货市值.
  3496. type: number
  3497. spotpl:
  3498. description: 浮动权益.
  3499. type: number
  3500. spotqty:
  3501. description: 现货量.
  3502. type: string
  3503. statu:
  3504. description: 状态,0-未结束 1-已结束.
  3505. type: integer
  3506. totalpl:
  3507. description: 总盈亏.
  3508. type: number
  3509. totalqty:
  3510. description: 总敞口.
  3511. type: string
  3512. type:
  3513. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易.
  3514. type: integer
  3515. type: object
  3516. erms3.QuerySpotContractAppleFormRsp:
  3517. properties:
  3518. goodses:
  3519. description: 合约列表
  3520. items:
  3521. $ref: '#/definitions/models.GoodsIDAndName'
  3522. type: array
  3523. oppositeusers:
  3524. description: 对方账号列表
  3525. items:
  3526. $ref: '#/definitions/erms3.CustomerInfo'
  3527. type: array
  3528. ouruser:
  3529. $ref: '#/definitions/erms3.CustomerInfo'
  3530. description: 我方账号
  3531. warehouseinfos:
  3532. description: 仓库信息列表
  3533. items:
  3534. $ref: '#/definitions/models.Warehouseinfo'
  3535. type: array
  3536. wrstandards:
  3537. description: 仓单标准列表
  3538. items:
  3539. $ref: '#/definitions/models.WRStandardInfo'
  3540. type: array
  3541. type: object
  3542. erms3.QuerySpotContractInfoRsp:
  3543. properties:
  3544. accountid:
  3545. description: 表示交易员ID.
  3546. type: integer
  3547. curdeliveryqty:
  3548. description: 表示未交收量.
  3549. type: number
  3550. customername:
  3551. description: 若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.
  3552. type: string
  3553. deliverygoodsid:
  3554. description: 表示品种ID.
  3555. type: string
  3556. deliveryqty:
  3557. description: 表示交收量.
  3558. type: number
  3559. matchaccountid:
  3560. description: 表示业务员ID.
  3561. type: integer
  3562. matchcustomername:
  3563. description: 若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.
  3564. type: string
  3565. priceqty:
  3566. description: 表示定价量.
  3567. type: number
  3568. relatedbizid:
  3569. description: 表示业务ID.
  3570. type: string
  3571. signdate:
  3572. description: 表示签订日期.
  3573. type: string
  3574. spotcontractid:
  3575. description: 合同ID
  3576. type: string
  3577. status:
  3578. description: 表示状态,0-履约中 1-已完成.
  3579. type: integer
  3580. totalqty:
  3581. description: 表示合同量.
  3582. type: number
  3583. unpricedqty:
  3584. description: 表示未定价量.
  3585. type: number
  3586. wrstandardname:
  3587. description: 表示商品ID.
  3588. type: string
  3589. type: object
  3590. erms3.QueryUserInfoAppliesRsp:
  3591. properties:
  3592. biznature:
  3593. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3594. type: integer
  3595. contactname:
  3596. description: 联系人
  3597. type: string
  3598. createtime:
  3599. description: 开户申请时间
  3600. type: string
  3601. userid:
  3602. description: 用户ID(自增ID)
  3603. type: integer
  3604. userinfotype:
  3605. description: 用户信息类型 - 1:个人 2:企业
  3606. type: integer
  3607. username:
  3608. description: 用户姓名
  3609. type: string
  3610. userstate:
  3611. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3612. type: integer
  3613. required:
  3614. - userid
  3615. type: object
  3616. erms3.QueryUserInfosRsp:
  3617. properties:
  3618. biznature:
  3619. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3620. type: integer
  3621. contactname:
  3622. description: 联系人
  3623. type: string
  3624. customername:
  3625. description: 客户名称(企业名称)
  3626. type: string
  3627. userid:
  3628. description: 用户ID
  3629. type: integer
  3630. userinfotype:
  3631. description: 用户信息类型 - 1:个人 2:企业
  3632. type: integer
  3633. userstatus:
  3634. description: 用户状态 - 1:正常 2:注销
  3635. type: integer
  3636. required:
  3637. - userid
  3638. type: object
  3639. erms3.SoptContractDetail:
  3640. properties:
  3641. deliverygoodsdesc:
  3642. description: 现货品种说明
  3643. type: string
  3644. deliverygoodsid:
  3645. description: 现货品种ID
  3646. type: integer
  3647. deliverygoodsname:
  3648. description: 现货品种名称
  3649. type: string
  3650. pointdesc:
  3651. description: 点价描述
  3652. type: string
  3653. producttype:
  3654. description: 产品类型 1:标准仓单 2:等标 3:非标
  3655. type: integer
  3656. producttypename:
  3657. description: 产品类型名称
  3658. type: string
  3659. spotPointOrderVoList:
  3660. description: 点价列表
  3661. items:
  3662. $ref: '#/definitions/erms3.SpotPointOrder'
  3663. type: array
  3664. spotPriceOrderList:
  3665. description: 定价列表
  3666. items:
  3667. $ref: '#/definitions/erms3.SpotPriceOrder'
  3668. type: array
  3669. unitname:
  3670. description: 单位名称
  3671. type: string
  3672. warehouseid:
  3673. description: 仓库ID
  3674. type: integer
  3675. warehousename:
  3676. description: 仓库名称
  3677. type: string
  3678. wrstandardid:
  3679. description: 交易标的ID
  3680. type: integer
  3681. wrstandardname:
  3682. description: 交易标的名称
  3683. type: string
  3684. required:
  3685. - deliverygoodsid
  3686. - producttype
  3687. - unitname
  3688. - warehouseid
  3689. - wrstandardid
  3690. - wrstandardname
  3691. type: object
  3692. erms3.SpotPointOrder:
  3693. properties:
  3694. basic:
  3695. description: 基差
  3696. type: number
  3697. deliveryenddate:
  3698. description: 交收结束日期
  3699. type: string
  3700. deliverystartdate:
  3701. description: 交收开始日期
  3702. type: string
  3703. enddate:
  3704. description: 点价结束日期
  3705. type: string
  3706. goodsid:
  3707. description: 商品ID
  3708. type: integer
  3709. goodsname:
  3710. description: 商品名称
  3711. type: string
  3712. qty:
  3713. description: 数量
  3714. type: number
  3715. startdate:
  3716. description: 点价开始日期
  3717. type: string
  3718. required:
  3719. - basic
  3720. - goodsid
  3721. - qty
  3722. type: object
  3723. erms3.SpotPriceOrder:
  3724. properties:
  3725. amount:
  3726. description: 金额
  3727. type: number
  3728. deliveryenddate:
  3729. description: 交收结束日期
  3730. type: string
  3731. deliverystartdate:
  3732. description: 交收开始日期
  3733. type: string
  3734. price:
  3735. description: 价格
  3736. type: number
  3737. qty:
  3738. description: 数量
  3739. type: number
  3740. required:
  3741. - amount
  3742. - price
  3743. - qty
  3744. type: object
  3745. hsby.GetHsbyMyCountRsp:
  3746. properties:
  3747. myCouponCount:
  3748. description: 我的优惠卷数量
  3749. type: integer
  3750. myOrderDetailListingCount:
  3751. description: 我的订单求购中数量
  3752. type: integer
  3753. myOrderDetailPreCount:
  3754. description: 我的订单抢购中数量
  3755. type: integer
  3756. myPackageUnReceiveCount:
  3757. description: 我的包裹待收货数量
  3758. type: integer
  3759. myPackageUnSendCount:
  3760. description: 我的包裹待发货数量
  3761. type: integer
  3762. myPayOrderCount:
  3763. description: 我的订单待付款数量
  3764. type: integer
  3765. type: object
  3766. hsby.QueryProvincesAndCitiesRsp:
  3767. properties:
  3768. cities:
  3769. description: 市
  3770. items:
  3771. $ref: '#/definitions/models.Division'
  3772. type: array
  3773. province:
  3774. $ref: '#/definitions/models.Division'
  3775. description: 省
  3776. type: object
  3777. models.Arearole:
  3778. properties:
  3779. createtime:
  3780. description: 创建时间
  3781. type: string
  3782. creatorid:
  3783. description: 创建人ID
  3784. type: integer
  3785. fromuserid:
  3786. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  3787. type: integer
  3788. isreturnscore:
  3789. description: 是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还
  3790. type: integer
  3791. modifierid:
  3792. description: 修改人ID
  3793. type: integer
  3794. modifytime:
  3795. description: 修改时间
  3796. type: string
  3797. orgtype:
  3798. description: 组织机构类型 1:机构\分支节点 2:交易员\叶子节点 3:部门\分支节点
  3799. type: integer
  3800. outuserid:
  3801. description: 外部账户[场外期权做市商]
  3802. type: string
  3803. parentuserid:
  3804. description: 上级组织机构(组织机构)
  3805. type: integer
  3806. roletype:
  3807. description: 角色类型 - 1:交易所 2:运营机构 3:营销中心 4:仓库机构 5:三方服务机构 6:自营会员 7:经纪会员 8:做市会员
  3808. 9:产业会员 10:金融机构 11:商城店铺 12:子机构 13:报价商 14:积分服务商 15:供货商 16:圈内会员 17:物流机构 18:报价配置机构
  3809. 19:场外期权做市商 20:组织机构 21:顶级机构 22:业务员 23:跟单员 24:交易员 25:客户 98:代理 99:门店
  3810. type: integer
  3811. rootuserid:
  3812. description: 顶级组织机构用户ID(组织机构)
  3813. type: integer
  3814. shoppassword:
  3815. description: 商城店铺登陆密码(商城店铺角色使用)
  3816. type: string
  3817. sublevelpath:
  3818. description: 组织机构层级路径(逗号分隔,首尾加逗号)
  3819. type: string
  3820. suborgtype:
  3821. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  3822. type: integer
  3823. tradeaccountid:
  3824. description: 默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount
  3825. type: integer
  3826. transurl:
  3827. description: 物流地址(物流机构)
  3828. type: string
  3829. userid:
  3830. description: 机构用户ID其他做市关系,都设置为 1
  3831. type: integer
  3832. required:
  3833. - roletype
  3834. - userid
  3835. type: object
  3836. models.BuyOrder:
  3837. properties:
  3838. accountid:
  3839. description: 资金账户ID
  3840. type: integer
  3841. buyusername:
  3842. description: 买方
  3843. type: string
  3844. marketid:
  3845. description: 市场ID
  3846. type: integer
  3847. ordertime:
  3848. description: 委托时间
  3849. type: string
  3850. origin:
  3851. description: 原产地
  3852. type: string
  3853. performancetemplateid:
  3854. description: 履约计划模板ID
  3855. type: integer
  3856. remark:
  3857. description: 备注
  3858. type: string
  3859. userid:
  3860. description: 用户ID
  3861. type: integer
  3862. validtime:
  3863. description: 有效期限
  3864. type: string
  3865. warehouseids:
  3866. description: 仓库ID - 多个, 逗号分隔
  3867. type: string
  3868. warehouseinfosdisplay:
  3869. type: string
  3870. wrtradeorderid:
  3871. description: '[委托单号]买委托单ID(320+Unix秒时间戳(10位)+xxxxxx)'
  3872. type: string
  3873. wrtradeorderstatus:
  3874. 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、
  3875. type: integer
  3876. zscategory:
  3877. description: 钻石分类 - 枚举”ZSCategory“
  3878. type: integer
  3879. zscategorydisplay:
  3880. type: string
  3881. zsclaritytype:
  3882. description: 净度 - 两个, 逗号分隔
  3883. type: string
  3884. zsclaritytypedisplay:
  3885. type: string
  3886. zscolortype:
  3887. description: 颜色 - 两个, 逗号分隔
  3888. type: string
  3889. zscolortypedisplay:
  3890. type: string
  3891. zscrystaltype:
  3892. description: 晶型 - 多个,逗号分隔
  3893. type: string
  3894. zscrystaltypedisplay:
  3895. type: string
  3896. zscurrencytype:
  3897. description: 货币类型 - 多个, 逗号分隔
  3898. type: string
  3899. zscurrencytypedisplay:
  3900. type: string
  3901. zscuttype:
  3902. description: 切工 - 两个, 逗号分隔
  3903. type: string
  3904. zscuttypedisplay:
  3905. type: string
  3906. zsczcolor1type:
  3907. description: 彩钻颜色1, 逗号分隔
  3908. type: string
  3909. zsczcolor1typedisplay:
  3910. type: string
  3911. zsczcolor2type:
  3912. description: 彩钻颜色2, 逗号分隔
  3913. type: string
  3914. zsczcolor2typedisplay:
  3915. type: string
  3916. zsczcolor3type:
  3917. description: 彩钻颜色3, 逗号分隔
  3918. type: string
  3919. zsczcolor3typedisplay:
  3920. type: string
  3921. zsfluorescencetype:
  3922. description: 荧光 - 多个, 逗号分隔
  3923. type: string
  3924. zsfluorescencetypedisplay:
  3925. type: string
  3926. zspolishtype:
  3927. description: 抛光度 - 两个, 逗号分隔
  3928. type: string
  3929. zspolishtypedisplay:
  3930. type: string
  3931. zsshapetype:
  3932. description: 形状 - 多个, 逗号分隔
  3933. type: string
  3934. zsshapetypedisplay:
  3935. type: string
  3936. zssize:
  3937. description: 尺寸 - 两个小数, 逗号分隔
  3938. type: string
  3939. zsstyletype:
  3940. description: 款式 - 多个, 逗号分隔
  3941. type: string
  3942. zsstyletypedisplay:
  3943. type: string
  3944. zssymmetrytype:
  3945. description: 对称度 - 两个, 逗号分隔
  3946. type: string
  3947. zssymmetrytypedisplay:
  3948. type: string
  3949. zstabledisplay:
  3950. description: 求购信息
  3951. type: string
  3952. type: object
  3953. models.Clientfixedadconfig:
  3954. properties:
  3955. adsort:
  3956. description: 排序
  3957. type: integer
  3958. adtype:
  3959. description: 广告位类型 - 1:新品抢购(HSBY)
  3960. type: integer
  3961. areauserid:
  3962. description: 所属机构ID
  3963. type: integer
  3964. createdate:
  3965. description: 创建时间
  3966. type: string
  3967. creatorid:
  3968. description: 创建人
  3969. type: integer
  3970. imagepath:
  3971. description: 图片
  3972. type: string
  3973. isshow:
  3974. description: 是否展示 - 0:不展示 1:展示
  3975. type: integer
  3976. modifierid:
  3977. description: 操作人
  3978. type: integer
  3979. recsize:
  3980. description: 推荐尺寸
  3981. type: string
  3982. title:
  3983. description: 标题
  3984. type: string
  3985. updatedate:
  3986. description: 更新时间
  3987. type: string
  3988. urlcontent:
  3989. description: 链接(地址或商品ID)
  3990. type: string
  3991. urltype:
  3992. description: 链接类型 - 1:直接地址 2:商品ID
  3993. type: integer
  3994. required:
  3995. - adsort
  3996. - adtype
  3997. type: object
  3998. models.DgFactoryItem:
  3999. properties:
  4000. dgfactoryitemid:
  4001. description: 选择项ID(SEQ_DGFACTORYITEM)
  4002. type: integer
  4003. dgfactoryitemtypeid:
  4004. description: 要素项类型
  4005. type: integer
  4006. dgfactoryitemvalue:
  4007. description: 要素项值(类型为仓库时填写仓库名称)
  4008. type: string
  4009. orderindex:
  4010. description: 顺序
  4011. type: integer
  4012. type: object
  4013. models.Division:
  4014. properties:
  4015. autoid:
  4016. description: 自增ID
  4017. type: integer
  4018. divisioncode:
  4019. description: 行政代码
  4020. type: string
  4021. divisionlevel:
  4022. description: 行政级别
  4023. type: string
  4024. divisionname:
  4025. description: 行政名称
  4026. type: string
  4027. modifierid:
  4028. description: 修改人
  4029. type: integer
  4030. modifytime:
  4031. description: 修改时间
  4032. type: string
  4033. parentcode:
  4034. description: 上级行政代码
  4035. type: string
  4036. pathname:
  4037. description: 路径名称
  4038. type: string
  4039. postcode:
  4040. description: 邮政编码
  4041. type: string
  4042. separablename:
  4043. description: 可拆分的全称
  4044. type: string
  4045. shortcode:
  4046. description: 地区简码
  4047. type: string
  4048. required:
  4049. - autoid
  4050. - divisioncode
  4051. type: object
  4052. models.Enumdicitem:
  4053. properties:
  4054. autoid:
  4055. description: 自增ID
  4056. type: integer
  4057. bankmappedvalue:
  4058. description: 银行服务对应值
  4059. type: string
  4060. enumdiccode:
  4061. description: 所属枚举代码
  4062. type: string
  4063. enumdicid:
  4064. description: 所属枚举ID
  4065. type: integer
  4066. enumdicname:
  4067. description: 枚举项名称
  4068. type: string
  4069. enumitemname:
  4070. description: 枚举项值
  4071. type: integer
  4072. enumitemstatus:
  4073. description: 枚举项状态 - 1.启用 2.不启用
  4074. type: integer
  4075. enumitemvalue:
  4076. description: 通用值 - [币种通用简写]
  4077. type: string
  4078. param1:
  4079. description: 参数1[币种:币种小数位]
  4080. type: string
  4081. param2:
  4082. description: 参数1[币种:币种显示单位]
  4083. type: string
  4084. remark:
  4085. description: 备注
  4086. type: string
  4087. required:
  4088. - autoid
  4089. - enumdiccode
  4090. - enumdicid
  4091. - enumitemname
  4092. type: object
  4093. models.Ermcp2AreaExposure:
  4094. properties:
  4095. areauserid:
  4096. description: 所属机构
  4097. type: integer
  4098. enumdicname:
  4099. description: 单位
  4100. type: string
  4101. futureqty:
  4102. description: 期货套期量
  4103. type: number
  4104. futureqtychange:
  4105. description: 期货变动量 = FutureQty - OriFutureQty
  4106. type: number
  4107. goodsunitid:
  4108. description: 单位ID
  4109. type: integer
  4110. hedgedspotexposure:
  4111. description: 被套期现货敞口量
  4112. type: number
  4113. hedgedspratio:
  4114. description: 套期期现比例 = 期货套期量/被套期现货敞口量
  4115. type: number
  4116. hedgedtotalexposourechange:
  4117. description: 被套期敞口变动量 = HedgedTotalExposure - OriHedgedTotalExposure
  4118. type: number
  4119. hedgedtotalexposure:
  4120. description: 套期敞口量 = 被套期现货敞口量+期货套期量
  4121. type: number
  4122. hedgeplanqty:
  4123. description: 套期计划量
  4124. type: number
  4125. hedgeplanqtychange:
  4126. description: 计划变动量 = HedgePlanQty - OriHedgePlanQty
  4127. type: number
  4128. hedgespotqty:
  4129. description: 被套期现货量
  4130. type: number
  4131. middlegoodsid:
  4132. description: 套保品种
  4133. type: integer
  4134. middlegoodsname:
  4135. description: 套保品种名称
  4136. type: string
  4137. orifutureqty:
  4138. description: 期初期货套期量
  4139. type: number
  4140. orihedgedspotexposure:
  4141. description: 期初被套期现货敞口量
  4142. type: number
  4143. orihedgedtotalexposure:
  4144. description: 期初套期敞口量
  4145. type: number
  4146. orihedgeplanqty:
  4147. description: 期初套期计划量
  4148. type: number
  4149. orihedgespotqty:
  4150. description: 期初被套期现货量
  4151. type: number
  4152. orispotexposure:
  4153. description: 期初现货敞口量
  4154. type: number
  4155. orispotqty:
  4156. description: 期初现货总量
  4157. type: number
  4158. oritotalexposure:
  4159. description: 期初总敞口量
  4160. type: number
  4161. spotexposure:
  4162. description: 现货敞口量
  4163. type: number
  4164. spotqty:
  4165. description: 现货总量
  4166. type: number
  4167. spotqtychange:
  4168. description: 现货变动量 = SpotQty - OriSpotQty
  4169. type: number
  4170. spratio:
  4171. description: 总期现比例 = 期货套期量/现货敞口量
  4172. type: number
  4173. totalexposure:
  4174. description: 总敞口量 = 现货敞口量 + 期货套期量
  4175. type: number
  4176. totalexposurechange:
  4177. description: 总敞口变动量 = TotalExposure - OriTotalExposure
  4178. type: number
  4179. updatetime:
  4180. description: 更新时间 --DATE
  4181. type: string
  4182. type: object
  4183. models.Ermcp2hedgeditem:
  4184. properties:
  4185. accountname:
  4186. description: 套期主体
  4187. type: string
  4188. applyid:
  4189. description: 申请人
  4190. type: integer
  4191. applysrc:
  4192. description: 申请来源 - 1:管理端 2:终端
  4193. type: integer
  4194. areauserid:
  4195. description: 企业ID
  4196. type: integer
  4197. auditid:
  4198. description: 审核人
  4199. type: integer
  4200. auditremark:
  4201. description: 审核备注
  4202. type: string
  4203. auditsrc:
  4204. description: 审核来源 - 1:管理端 2:终端
  4205. type: integer
  4206. audittime:
  4207. description: 审核时间
  4208. type: string
  4209. audittradedate:
  4210. description: 审核交易日(yyyyMMdd)
  4211. type: string
  4212. createtime:
  4213. description: 申请时间
  4214. type: string
  4215. curprice:
  4216. description: 当前市场价
  4217. type: number
  4218. curstock:
  4219. description: 期末库存量 = 采购总量 - 销售总量
  4220. type: number
  4221. deliverygoodsid:
  4222. description: 现货品种ID
  4223. type: integer
  4224. enddate:
  4225. description: 完成日期
  4226. type: string
  4227. endtradedate:
  4228. description: 完成交易日
  4229. type: string
  4230. enumdicname:
  4231. description: 单位
  4232. type: string
  4233. exeamount:
  4234. description: 执行市价总额
  4235. type: number
  4236. exeavgprice:
  4237. description: 执行市场均价= 执行市价总额 / 执行现货量
  4238. type: number
  4239. execontractamount:
  4240. description: 执行定价总额
  4241. type: number
  4242. exeqty:
  4243. description: 执行现货量
  4244. type: number
  4245. exerestamount:
  4246. description: 执行剩余市价总额【现货贸易】
  4247. type: number
  4248. futurefloatpl:
  4249. description: 期货浮动损益
  4250. type: number
  4251. futurehedgepl:
  4252. description: 期货实际损益
  4253. type: number
  4254. futurehedgeplchange:
  4255. description: 期货实际损益变动
  4256. type: number
  4257. futurepl:
  4258. description: 期货套期损益
  4259. type: number
  4260. futureplchange:
  4261. description: 期货套期损益变动
  4262. type: number
  4263. hedgeamount:
  4264. description: 套期市价总额
  4265. type: number
  4266. hedgecontractamount:
  4267. description: 套期定价总额 【定价采购合同】【现货贸易】
  4268. type: number
  4269. hedgeditemid:
  4270. description: 被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)
  4271. type: string
  4272. hedgeditemname:
  4273. description: 项目名称
  4274. type: string
  4275. hedgeditemnum:
  4276. description: 项目编号
  4277. type: string
  4278. hedgeditemstatus:
  4279. description: 项目状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4280. type: integer
  4281. hedgedtype:
  4282. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4283. type: integer
  4284. hedgeqty:
  4285. description: 套期现货量
  4286. type: number
  4287. hedgerate:
  4288. description: 套保比率
  4289. type: number
  4290. hedgerestamount:
  4291. description: 套期剩余市价总额【现货贸易】
  4292. type: number
  4293. hedgesumpl:
  4294. description: 套期汇总损益 = 期货汇总损益 + 现货汇总损益
  4295. type: number
  4296. middlegoodslist:
  4297. description: 套期商品列表
  4298. items:
  4299. $ref: '#/definitions/models.Ermcp2himiddlegoods'
  4300. type: array
  4301. oriavgprice:
  4302. description: 期初市场均价 = 套期市价总额 / 套期现货量
  4303. type: number
  4304. orifuturehedgepl:
  4305. description: 期初期货实际损益
  4306. type: number
  4307. orifuturepl:
  4308. description: 期初期货套期损益
  4309. type: number
  4310. orispothedgepl:
  4311. description: 期初现货实际损益
  4312. type: number
  4313. orispotpl:
  4314. description: 期初现货套期损益
  4315. type: number
  4316. planenddate:
  4317. description: 计划结束日期
  4318. type: string
  4319. planstartdate:
  4320. description: 计划开始日期
  4321. type: string
  4322. remark:
  4323. description: 备注
  4324. type: string
  4325. spotbookamount:
  4326. description: 现货账面总额
  4327. type: number
  4328. spotfloatpl:
  4329. description: 现货浮动损益 =(当前市场价 - 期初市场价)*未执行现货量 * 方向(销售计划 为 -1, 其它为1)
  4330. type: number
  4331. spothedgepl:
  4332. description: 现货套期损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)
  4333. type: number
  4334. spothedgeplchange:
  4335. description: 现货实际损益变动
  4336. type: number
  4337. spotpl:
  4338. description: 现货套期损益 = 现货实际损益 + 现货浮动损益
  4339. type: number
  4340. spotplchange:
  4341. description: 现货套期损益变动
  4342. type: number
  4343. spottradepl:
  4344. description: 现货贸易损益【现货贸易】= 执行合同定价总额 - 套期合同定价总额
  4345. type: number
  4346. sumobspl:
  4347. description: 汇总绝对损益【现货贸易】=现货贸易损益+增值税损益+期货套期损益
  4348. type: number
  4349. tradeuserid:
  4350. description: 交易用户ID
  4351. type: integer
  4352. unexeqty:
  4353. description: 未执行现货量 = 套期现货量 - 执行现货量
  4354. type: number
  4355. updatetime:
  4356. description: 更新时间
  4357. type: string
  4358. vatpl:
  4359. description: 增值税损益【现货贸易】= 现货贸易损益 * (增值税率 /(1+增值税率))
  4360. type: number
  4361. vatrate:
  4362. description: 增值税
  4363. type: number
  4364. wrstandardid:
  4365. description: 现货商品ID
  4366. type: integer
  4367. wrstandardname:
  4368. description: 商品名称
  4369. type: string
  4370. type: object
  4371. models.Ermcp2hedgeditemlink:
  4372. properties:
  4373. areauserid:
  4374. description: 企业ID
  4375. type: integer
  4376. createtime:
  4377. description: '[关联时间]创建时间'
  4378. type: string
  4379. customeruserid:
  4380. description: 对手方 【3:采购合同 4:销售合同】
  4381. type: integer
  4382. deliverygoodsid:
  4383. description: 现货品种ID
  4384. type: integer
  4385. enumdicname:
  4386. description: 单位
  4387. type: string
  4388. hedgeditemid:
  4389. description: 被套期项目ID
  4390. type: integer
  4391. hedgeditemlinkid:
  4392. description: 现货关联表ID(626+Unix秒时间戳(10位)+xxxxxx)
  4393. type: integer
  4394. hedgeditemnum:
  4395. description: 项目编号
  4396. type: string
  4397. hedgedtype:
  4398. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4399. type: integer
  4400. relatedamount:
  4401. description: 市价总额 = 关联数量 * 期初市场价
  4402. type: number
  4403. relatedhedgeplanid:
  4404. description: 关联计划ID 【1:采购计划 2:销售计划】
  4405. type: integer
  4406. relatedqty:
  4407. description: 关联数量
  4408. type: number
  4409. relatedspotcontractid:
  4410. description: 关联合同ID 【3:采购合同 4:销售合同】
  4411. type: integer
  4412. relatedtype:
  4413. description: 关联类型 - 1:套期关联 2:执行关联
  4414. type: integer
  4415. spotgoodsbrandid:
  4416. description: 现货品牌ID
  4417. type: integer
  4418. spotpricedamount:
  4419. description: '[关联定价总额]定价总额'
  4420. type: number
  4421. spotpricedavgprice:
  4422. description: '[关联现货均价]现货均价 = 定价总额 / 关联数量'
  4423. type: number
  4424. spottype:
  4425. description: 现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  4426. type: integer
  4427. tradeuserid:
  4428. description: 交易用户ID
  4429. type: integer
  4430. unexeqty:
  4431. description: 未执行现货量【项目关联时值】
  4432. type: number
  4433. wrstandardid:
  4434. description: 现货商品ID
  4435. type: integer
  4436. wrstandardname:
  4437. description: 现货商品
  4438. type: string
  4439. required:
  4440. - relatedspotcontractid
  4441. type: object
  4442. models.Ermcp2hedgeditemsDetail:
  4443. properties:
  4444. accountname:
  4445. description: 套期主体
  4446. type: string
  4447. areauserid:
  4448. description: 企业ID
  4449. type: integer
  4450. createtime:
  4451. description: '[日期时间]创建时间'
  4452. type: string
  4453. customeruserid:
  4454. description: 对手方 【3:采购合同 4:销售合同】
  4455. type: integer
  4456. deliverygoodsid:
  4457. description: 现货品种ID
  4458. type: integer
  4459. enumdicname:
  4460. description: 单位
  4461. type: string
  4462. hedgeditemid:
  4463. description: 被套期项目ID
  4464. type: string
  4465. hedgeditemspotid:
  4466. description: 现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)
  4467. type: string
  4468. hedgedtype:
  4469. description: 套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4470. type: integer
  4471. hedgeplanno:
  4472. description: 计划编号
  4473. type: string
  4474. middlegoodschange:
  4475. description: 套期商品变化量 = RELATEDQTY * 折算系数 * (1/(1+增值税))
  4476. type: number
  4477. oriavgprice:
  4478. description: 期初市场价[当初市场价]
  4479. type: number
  4480. relatedamount:
  4481. description: 市价总额 = 关联数量 * 期初市场价
  4482. type: number
  4483. relatedhedgeplanid:
  4484. description: 关联计划ID 【1:采购计划 2:销售计划】
  4485. type: integer
  4486. relatedqty:
  4487. description: '[期间变化量]关联数量'
  4488. type: number
  4489. relatedspotcontractid:
  4490. description: 关联合同ID 【3:采购合同 4:销售合同】
  4491. type: integer
  4492. relatedtype:
  4493. description: 关联类型 - 1:套期关联 2:执行关联
  4494. type: integer
  4495. spotgoodsbrandid:
  4496. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID" = 2
  4497. type: integer
  4498. spotpricedamount:
  4499. description: 定价总额
  4500. type: number
  4501. spotpricedavgprice:
  4502. description: 现货均价 = 定价总额 / 关联数量
  4503. type: number
  4504. spottype:
  4505. description: 现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  4506. type: integer
  4507. tradeuserid:
  4508. description: 交易用户ID
  4509. type: integer
  4510. unexeqty:
  4511. description: 未执行现货量 = 套期现货量 - 执行现货量
  4512. type: number
  4513. wrstandardid:
  4514. description: 现货商品ID
  4515. type: integer
  4516. wrstandardname:
  4517. description: 现货商品
  4518. type: string
  4519. type: object
  4520. models.Ermcp2hedgeditemspot:
  4521. properties:
  4522. areauserid:
  4523. description: 企业ID
  4524. type: integer
  4525. createtime:
  4526. description: 创建时间
  4527. type: string
  4528. customeruserid:
  4529. description: 对手方 【3:采购合同 4:销售合同】
  4530. type: integer
  4531. deliverygoodsid:
  4532. description: 现货品种ID
  4533. type: integer
  4534. enumdicname:
  4535. description: 单位
  4536. type: string
  4537. hedgeditemid:
  4538. description: 被套期项目ID
  4539. type: string
  4540. hedgeditemspotid:
  4541. description: 现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)
  4542. type: string
  4543. hedgedtype:
  4544. description: 套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4545. type: integer
  4546. hedgeplanno:
  4547. description: 计划编号
  4548. type: string
  4549. oriavgprice:
  4550. description: 期初市场价[当初市场价]
  4551. type: number
  4552. relatedamount:
  4553. description: 市价总额 = 关联数量 * 期初市场价
  4554. type: number
  4555. relatedhedgeplanid:
  4556. description: 关联计划ID 【1:采购计划 2:销售计划】
  4557. type: integer
  4558. relatedqty:
  4559. description: 关联数量[数量]
  4560. type: number
  4561. relatedspotcontractid:
  4562. description: 关联合同ID 【3:采购合同 4:销售合同】
  4563. type: integer
  4564. relatedtype:
  4565. description: 关联类型 - 1:套期关联 2:执行关联
  4566. type: integer
  4567. spotgoodsbrandid:
  4568. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID" = 2
  4569. type: integer
  4570. spotpricedamount:
  4571. description: 定价总额
  4572. type: number
  4573. spotpricedavgprice:
  4574. description: 现货均价 = 定价总额 / 关联数量
  4575. type: number
  4576. spottype:
  4577. description: 现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  4578. type: integer
  4579. tradeuserid:
  4580. description: 交易用户ID
  4581. type: integer
  4582. wrstandardid:
  4583. description: 现货商品ID
  4584. type: integer
  4585. wrstandardname:
  4586. description: 现货商品
  4587. type: string
  4588. required:
  4589. - hedgeditemid
  4590. type: object
  4591. models.Ermcp2hedgeditemspotDetail:
  4592. properties:
  4593. accountname:
  4594. description: 对手方
  4595. type: string
  4596. areauserid:
  4597. description: 企业ID
  4598. type: integer
  4599. brandname:
  4600. description: 品牌
  4601. type: string
  4602. contractno:
  4603. description: 合同编号
  4604. type: string
  4605. createtime:
  4606. description: 创建时间
  4607. type: string
  4608. customeruserid:
  4609. description: 对手方 【3:采购合同 4:销售合同】
  4610. type: integer
  4611. deliverygoodsid:
  4612. description: 现货品种ID
  4613. type: integer
  4614. enumdicname:
  4615. description: 单位
  4616. type: string
  4617. hedgeditemid:
  4618. description: 被套期项目ID
  4619. type: string
  4620. hedgeditemspotid:
  4621. description: 现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)
  4622. type: string
  4623. hedgedtype:
  4624. description: 套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4625. type: integer
  4626. oriavgprice:
  4627. description: 期初市场价[当初市场价]
  4628. type: number
  4629. relatedamount:
  4630. description: 市价总额 = 关联数量 * 期初市场价
  4631. type: number
  4632. relatedhedgeplanid:
  4633. description: 关联计划ID 【1:采购计划 2:销售计划】
  4634. type: integer
  4635. relatedqty:
  4636. description: 关联数量[数量]
  4637. type: number
  4638. relatedspotcontractid:
  4639. description: 关联合同ID 【3:采购合同 4:销售合同】
  4640. type: integer
  4641. relatedtype:
  4642. description: 关联类型 - 1:套期关联 2:执行关联
  4643. type: integer
  4644. spotgoodsbrandid:
  4645. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID" = 2
  4646. type: integer
  4647. spotpricedamount:
  4648. description: 定价总额[金额]
  4649. type: number
  4650. spotpricedavgprice:
  4651. description: 现货均价 = 定价总额 / 关联数量
  4652. type: number
  4653. spottype:
  4654. description: 现货类型[合同类型] - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  4655. type: integer
  4656. tradeuserid:
  4657. description: 交易用户ID
  4658. type: integer
  4659. wrstandardid:
  4660. description: 现货商品ID
  4661. type: integer
  4662. wrstandardname:
  4663. description: 现货商品
  4664. type: string
  4665. required:
  4666. - hedgeditemid
  4667. type: object
  4668. models.Ermcp2himiddlegoods:
  4669. properties:
  4670. futurehedgeqty:
  4671. description: 期货持仓套期量
  4672. type: number
  4673. hedgeditemid:
  4674. description: 被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)
  4675. type: integer
  4676. hiexpsoure:
  4677. description: 期现敞口量 = 未执行套期量 + 期货持仓套期量
  4678. type: number
  4679. middlegoodscode:
  4680. description: 套保商品代码
  4681. type: string
  4682. middlegoodsid:
  4683. description: 套保品种ID
  4684. type: integer
  4685. middlegoodsname:
  4686. description: 套保商品名称
  4687. type: string
  4688. unexehedgeqty:
  4689. description: 未执行套期量 = 未执行现货量*折算系数* (1/(1+增值税)) * 套期比例(项目上)
  4690. type: number
  4691. required:
  4692. - hedgeditemid
  4693. - middlegoodsid
  4694. type: object
  4695. models.Ermcp2stockspotchangelog:
  4696. properties:
  4697. accountname:
  4698. description: 套期主体
  4699. type: string
  4700. aftervalue:
  4701. description: 现货量
  4702. type: number
  4703. beforevalue:
  4704. description: 变更前现货量
  4705. type: number
  4706. contractno:
  4707. description: '[编号]现货合同编号'
  4708. type: string
  4709. contracttype:
  4710. description: 现货合同类型 - 1:采购 -1:销售
  4711. type: integer
  4712. createtime:
  4713. description: 创建时间
  4714. type: string
  4715. customerusername:
  4716. description: 对手方
  4717. type: string
  4718. deliverygoodsid:
  4719. description: 现货品种ID
  4720. type: integer
  4721. exetype:
  4722. description: 执行类型 - 1:采购合同 2:销售合同 3:生产入库 4:生产出库
  4723. type: integer
  4724. logid:
  4725. description: 流水ID(604+Unix秒时间戳(10位)+xxxxxx)
  4726. type: string
  4727. logvalue:
  4728. description: '[期间变化量]现货量变更值'
  4729. type: number
  4730. middlegoodschange:
  4731. description: 套期商品变化量 = LogValue * 折算系数 * (1/(1+增值税))
  4732. type: number
  4733. operatelogtype:
  4734. description: 操作流水类型 - 2:点价数量 21:正常完结(合同) 22:异常终止(合同) 24:采购入库 25:销售出库 26:生产入库
  4735. 27:生产出库
  4736. type: integer
  4737. relatedid:
  4738. description: 现货合同ID
  4739. type: integer
  4740. spotgoodsbrandid:
  4741. description: 现货品牌ID
  4742. type: integer
  4743. tradedate:
  4744. description: 交易日(yyyyMMdd)
  4745. type: string
  4746. userid:
  4747. description: 机构ID
  4748. type: integer
  4749. warehouseinfoid:
  4750. description: 仓库ID
  4751. type: integer
  4752. wrfactortypeid:
  4753. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  4754. type: integer
  4755. wrstandardid:
  4756. description: 现货商品ID
  4757. type: integer
  4758. wrstandardname:
  4759. description: 商品名称
  4760. type: string
  4761. type: object
  4762. models.Ermcp3AreaSpot:
  4763. properties:
  4764. areauserid:
  4765. description: 所属机构
  4766. type: integer
  4767. convertratio:
  4768. description: 套保系数
  4769. type: number
  4770. decreaseqty:
  4771. description: 减少数量=-(销售已定价数量+采购计划数量)
  4772. type: number
  4773. enumdicname:
  4774. description: 单位名称
  4775. type: string
  4776. increaseqty:
  4777. description: 增加数量=销售计划数量+采购已定价数量
  4778. type: number
  4779. oritoalspotqty:
  4780. description: 昨日数量
  4781. type: number
  4782. totalspotqty:
  4783. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  4784. type: number
  4785. unitid:
  4786. description: 现货商品单位id
  4787. type: integer
  4788. updatetime:
  4789. description: 更新时间
  4790. type: string
  4791. wrstandardcode:
  4792. description: 现货商品代码
  4793. type: string
  4794. wrstandardid:
  4795. description: 现货商品ID(SEQ_WRSTANDARD)
  4796. type: integer
  4797. wrstandardname:
  4798. description: 现货商品名称
  4799. type: string
  4800. type: object
  4801. models.Ermcp3AreaSpotDetail:
  4802. properties:
  4803. contracttype:
  4804. description: 合同类型 1-采购 -1-销售
  4805. type: integer
  4806. createtime:
  4807. description: 创建时间
  4808. type: string
  4809. enumdicname:
  4810. description: 现货商品单位名称
  4811. type: string
  4812. logtype:
  4813. description: 记录类型 1-套保 2-现货合同
  4814. type: integer
  4815. qty:
  4816. description: 数量
  4817. type: number
  4818. recordname:
  4819. description: 类型名称
  4820. type: string
  4821. relatedid:
  4822. description: 套保计划ID/现货合同ID
  4823. type: string
  4824. relatedno:
  4825. description: 编号
  4826. type: string
  4827. strtime:
  4828. description: 时间
  4829. type: string
  4830. wrstandardcode:
  4831. description: 现货商品代码
  4832. type: string
  4833. wrstandardid:
  4834. description: 现货商品ID(SEQ_WRSTANDARD)
  4835. type: integer
  4836. wrstandardname:
  4837. description: 现货商品名称
  4838. type: string
  4839. type: object
  4840. models.Ermcp3AreaSpotPLReport:
  4841. properties:
  4842. accountid:
  4843. description: 期货账户ID (作废, 默认为0)
  4844. type: integer
  4845. accountname:
  4846. description: 机构名称
  4847. type: string
  4848. actualpl:
  4849. description: 现货损益
  4850. type: number
  4851. areauserid:
  4852. description: 所属机构\交易用户ID
  4853. type: integer
  4854. begindate:
  4855. description: 开始交易日
  4856. type: string
  4857. biztype:
  4858. description: 业务类型 - 1:套保 2:套利
  4859. type: integer
  4860. brandname:
  4861. description: 品牌名称
  4862. type: string
  4863. curamount:
  4864. description: 期末额
  4865. type: number
  4866. curaverageprice:
  4867. description: 期初均价
  4868. type: number
  4869. curbuyamount:
  4870. description: 期末采购总额
  4871. type: number
  4872. curbuyqty:
  4873. description: 期末采购总量
  4874. type: number
  4875. curmarketvalue:
  4876. description: 期初均价
  4877. type: number
  4878. curqty:
  4879. description: 期末量
  4880. type: number
  4881. currencyid:
  4882. description: 结算币种ID【原值】
  4883. type: integer
  4884. currencyname:
  4885. description: 币种名称
  4886. type: string
  4887. cursellamount:
  4888. description: 期末销售总额
  4889. type: number
  4890. cursellqty:
  4891. description: 期末销售总量
  4892. type: number
  4893. curspotprice:
  4894. description: 期初均价
  4895. type: number
  4896. cycletime:
  4897. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4898. type: string
  4899. cycletype:
  4900. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4901. type: integer
  4902. deliverygoodscode:
  4903. description: 现货品种代码
  4904. type: string
  4905. deliverygoodsid:
  4906. description: 现货品种ID
  4907. type: integer
  4908. deliverygoodsname:
  4909. description: 现货品种名称
  4910. type: string
  4911. enddate:
  4912. description: 结束交易日
  4913. type: string
  4914. enumdicname:
  4915. description: 现货品种单位名称(作废)
  4916. type: string
  4917. floatpl:
  4918. description: 期初均价
  4919. type: number
  4920. goodsunitid:
  4921. description: 现货品种单位id(作废)
  4922. type: integer
  4923. oriamount:
  4924. description: 期初额
  4925. type: number
  4926. oriaverageprice:
  4927. description: 期初均价
  4928. type: number
  4929. oribuyamount:
  4930. description: 期初采购总额
  4931. type: number
  4932. oribuyqty:
  4933. description: 期初采购总量
  4934. type: number
  4935. oriqty:
  4936. description: 期初量
  4937. type: number
  4938. orisellamount:
  4939. description: 期初销售总额
  4940. type: number
  4941. orisellqty:
  4942. description: 期初销售总量
  4943. type: number
  4944. reckondate:
  4945. description: 日照时期(yyyyMMdd)
  4946. type: string
  4947. spotgoodsbrandid:
  4948. description: 现货品牌ID
  4949. type: integer
  4950. todaybuyamount:
  4951. description: 今日采购额(今采购额)
  4952. type: number
  4953. todaybuyaverageprice:
  4954. description: 期初均价
  4955. type: number
  4956. todaybuyqty:
  4957. description: 今日采购量(今采购量)
  4958. type: number
  4959. todayinqty:
  4960. description: 今日入库量(今入库量)
  4961. type: number
  4962. todayoutqty:
  4963. description: 今日出库量(今出库量)
  4964. type: number
  4965. todaysellamount:
  4966. description: 今日销售额(今销售额)
  4967. type: number
  4968. todaysellaverageprice:
  4969. description: 期初均价
  4970. type: number
  4971. todaysellqty:
  4972. description: 今日销售量(今销售量)
  4973. type: number
  4974. unitid:
  4975. description: 品类单位id
  4976. type: integer
  4977. unitidname:
  4978. description: 品类单位名称
  4979. type: string
  4980. updatetime:
  4981. description: 更新时间
  4982. type: string
  4983. wrfactortypeid:
  4984. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  4985. type: integer
  4986. wrstandardcode:
  4987. description: 现货商品(品类)代码
  4988. type: string
  4989. wrstandardid:
  4990. description: 现货品类ID
  4991. type: integer
  4992. wrstandardname:
  4993. description: 现货商品(品类)名称
  4994. type: string
  4995. type: object
  4996. models.Ermcp3AreaStock:
  4997. properties:
  4998. brandname:
  4999. description: 品牌名称
  5000. type: string
  5001. curstock:
  5002. description: 期末库存量(今日量)
  5003. type: number
  5004. deliverygoodscode:
  5005. description: 现货品种代码
  5006. type: string
  5007. deliverygoodsid:
  5008. description: 现货品种id
  5009. type: integer
  5010. deliverygoodsname:
  5011. description: 现货品种名称
  5012. type: string
  5013. enumdicname:
  5014. description: 单位名称
  5015. type: string
  5016. goodsunitid:
  5017. description: 现货商品单位id
  5018. type: integer
  5019. oristock:
  5020. description: 期初库存量(昨日量)
  5021. type: number
  5022. spotgoodsbrandid:
  5023. description: 现货品牌ID
  5024. type: integer
  5025. todaybuyinqty:
  5026. description: 今日采购入库量
  5027. type: number
  5028. todayproduceinqty:
  5029. description: 今日生产入库量
  5030. type: number
  5031. todayproduceoutqty:
  5032. description: 今日生产出库量
  5033. type: number
  5034. todayselloutqty:
  5035. description: 今日销售出库量
  5036. type: number
  5037. unitid:
  5038. description: 单位id
  5039. type: integer
  5040. updatetime:
  5041. description: 更新时间
  5042. type: string
  5043. userid:
  5044. description: 机构ID
  5045. type: integer
  5046. username:
  5047. description: 机构名称
  5048. type: string
  5049. warehousecode:
  5050. description: 仓库代码
  5051. type: string
  5052. warehouseinfoid:
  5053. description: 仓库ID
  5054. type: string
  5055. warehousename:
  5056. description: 仓库名称
  5057. type: string
  5058. warehousetype:
  5059. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  5060. type: integer
  5061. wrstandardcode:
  5062. description: 品类代码
  5063. type: string
  5064. wrstandardid:
  5065. description: 品类ID
  5066. type: string
  5067. wrstandardname:
  5068. description: 品类名称
  5069. type: string
  5070. required:
  5071. - userid
  5072. type: object
  5073. models.Ermcp3AreaStockApply:
  5074. properties:
  5075. applyid:
  5076. description: 申请人
  5077. type: integer
  5078. applyname:
  5079. description: 申请人名称
  5080. type: string
  5081. applyremark:
  5082. description: 申请备注
  5083. type: string
  5084. applysrc:
  5085. description: 申请来源 - 1:管理端 2:终端
  5086. type: integer
  5087. applystatus:
  5088. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  5089. type: integer
  5090. applytime:
  5091. description: 申请时间
  5092. type: string
  5093. auditid:
  5094. description: 审核人
  5095. type: integer
  5096. auditname:
  5097. description: 审核人名称
  5098. type: string
  5099. auditremark:
  5100. description: 审核备注
  5101. type: string
  5102. auditsrc:
  5103. description: 审核来源 - 1:管理端 2:终端
  5104. type: integer
  5105. audittime:
  5106. description: 审核时间
  5107. type: string
  5108. audittradedate:
  5109. description: 审核交易日(yyyyMMdd)
  5110. type: string
  5111. brandname:
  5112. description: 品牌名称
  5113. type: string
  5114. buynickname:
  5115. description: 采购方昵称
  5116. type: string
  5117. buyuserid:
  5118. description: 采购方userid
  5119. type: integer
  5120. buyusername:
  5121. description: 采购方名称
  5122. type: string
  5123. contractno:
  5124. description: 合同编号
  5125. type: string
  5126. contractqty:
  5127. description: 合同量
  5128. type: number
  5129. contracttype:
  5130. description: 现货合同类型 - 1:采购 -1:销售
  5131. type: integer
  5132. deliverygoodscode:
  5133. description: 现货品种代码
  5134. type: string
  5135. deliverygoodsid:
  5136. description: 现货品种id
  5137. type: integer
  5138. deliverygoodsname:
  5139. description: 现货品种名称
  5140. type: string
  5141. detailjson:
  5142. description: 明细数据
  5143. type: string
  5144. enumdicname:
  5145. description: 现货商品单位名称
  5146. type: string
  5147. inoutapplyid:
  5148. description: 申请ID(607+Unix秒时间戳(10位)+xxxxxx)
  5149. type: string
  5150. inouttype:
  5151. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  5152. type: integer
  5153. pricetype:
  5154. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  5155. type: integer
  5156. qty:
  5157. description: 数量
  5158. type: number
  5159. sellnickname:
  5160. description: 销售方昵称
  5161. type: string
  5162. selluserid:
  5163. description: 销售方userid
  5164. type: integer
  5165. sellusername:
  5166. description: 销售方名称
  5167. type: string
  5168. spotcontractid:
  5169. description: 关联现货合同ID
  5170. type: string
  5171. spotgoodsbrandid:
  5172. description: 现货品牌ID
  5173. type: integer
  5174. unitid:
  5175. description: 单位id
  5176. type: integer
  5177. userid:
  5178. description: 机构ID
  5179. type: integer
  5180. warehousecode:
  5181. description: 仓库代码
  5182. type: string
  5183. warehouseinfoid:
  5184. description: 现货仓库ID
  5185. type: string
  5186. warehousename:
  5187. description: 仓库名称
  5188. type: string
  5189. warehousetype:
  5190. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  5191. type: integer
  5192. wrstandardcode:
  5193. description: 品类代码
  5194. type: string
  5195. wrstandardid:
  5196. description: 品类ID
  5197. type: integer
  5198. wrstandardname:
  5199. description: 品类名称
  5200. type: string
  5201. type: object
  5202. models.Ermcp3AreaStockApplySum:
  5203. properties:
  5204. brandname:
  5205. description: 品牌名称
  5206. type: string
  5207. inouttype:
  5208. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  5209. type: integer
  5210. spotcontractid:
  5211. description: 关联现货合同ID
  5212. type: string
  5213. spotgoodsbrandid:
  5214. description: 品牌id
  5215. type: integer
  5216. totalqty:
  5217. description: 总数量
  5218. type: number
  5219. wrstandardid:
  5220. description: 品类id
  5221. type: integer
  5222. wrstandardname:
  5223. description: 品类名称
  5224. type: string
  5225. type: object
  5226. models.Ermcp3AreaStockReportEx:
  5227. properties:
  5228. begindate:
  5229. description: 开始交易日
  5230. type: string
  5231. brandname:
  5232. description: 品牌名称
  5233. type: string
  5234. curstock:
  5235. description: 期末库存量
  5236. type: number
  5237. cycletime:
  5238. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5239. type: string
  5240. cycletype:
  5241. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5242. type: integer
  5243. deliverygoodscode:
  5244. description: 现货品种代码
  5245. type: string
  5246. deliverygoodsid:
  5247. description: 现货品种id
  5248. type: integer
  5249. deliverygoodsname:
  5250. description: 现货品种名称
  5251. type: string
  5252. diffqty:
  5253. description: 库存变化量 = 期末 - 期初
  5254. type: number
  5255. enddate:
  5256. description: 结束交易日
  5257. type: string
  5258. enumdicname:
  5259. description: 单位名称
  5260. type: string
  5261. goodsunitid:
  5262. description: 现货单位id
  5263. type: integer
  5264. oristock:
  5265. description: 期初库存量
  5266. type: number
  5267. reckondate:
  5268. description: 日照时期(yyyyMMdd)
  5269. type: string
  5270. spotgoodsbrandid:
  5271. description: 现货品牌ID
  5272. type: integer
  5273. todaybuyinqty:
  5274. description: 今采购入库量
  5275. type: number
  5276. todayproduceinqty:
  5277. description: 今内部入库量
  5278. type: number
  5279. todayproduceoutqty:
  5280. description: 今内部出库量
  5281. type: number
  5282. todayselloutqty:
  5283. description: 今销售出库量
  5284. type: number
  5285. unbuyinqty:
  5286. description: 采购未入库量(数据库未找到相关字段?)
  5287. type: number
  5288. unitid:
  5289. description: 品类单位id
  5290. type: integer
  5291. unselloutqty:
  5292. description: 销售未出库量(数据库未找到相关字段?)
  5293. type: number
  5294. updatetime:
  5295. description: 更新时间
  5296. type: string
  5297. userid:
  5298. description: 机构ID
  5299. type: integer
  5300. username:
  5301. description: 机构名称
  5302. type: string
  5303. warehousecode:
  5304. description: 仓库代码
  5305. type: string
  5306. warehouseinfoid:
  5307. description: 仓库ID
  5308. type: string
  5309. warehousename:
  5310. description: 仓库名称
  5311. type: string
  5312. warehousetype:
  5313. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  5314. type: integer
  5315. wrstandardcode:
  5316. description: 品类代码
  5317. type: string
  5318. wrstandardid:
  5319. description: 品类ID
  5320. type: integer
  5321. wrstandardname:
  5322. description: 品类名称
  5323. type: string
  5324. type: object
  5325. models.Ermcp3ArealSumPL:
  5326. properties:
  5327. accountname:
  5328. description: 机构名称
  5329. type: string
  5330. areauserid:
  5331. description: 所属机构\交易用户ID
  5332. type: integer
  5333. begindate:
  5334. description: 开始交易日
  5335. type: string
  5336. currencyid:
  5337. description: 结算币种ID
  5338. type: integer
  5339. currencyname:
  5340. description: 币种名称
  5341. type: string
  5342. cycletime:
  5343. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5344. type: string
  5345. cycletype:
  5346. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5347. type: integer
  5348. enddate:
  5349. description: 结束交易日
  5350. type: string
  5351. enumdicname:
  5352. description: 单位名称(套保品种)
  5353. type: string
  5354. futureactualpl:
  5355. description: 期货损益
  5356. type: number
  5357. futurefloatpl:
  5358. description: 期货浮动损益
  5359. type: number
  5360. futurespotratio:
  5361. description: 期现比例 = 期货头寸总量 / 现货头寸总量
  5362. type: number
  5363. goodsunitid:
  5364. description: 套保品种单位id
  5365. type: integer
  5366. hedgeexposurepl:
  5367. description: 套保敞口损益
  5368. type: number
  5369. middlegoodscode:
  5370. description: 套保品种代码
  5371. type: string
  5372. middlegoodsid:
  5373. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  5374. type: integer
  5375. middlegoodsname:
  5376. description: 套保品种名称
  5377. type: string
  5378. reckondate:
  5379. description: 日照时期(yyyyMMdd)
  5380. type: string
  5381. spotactualpl:
  5382. description: 现货损益
  5383. type: number
  5384. spotfloatpl:
  5385. description: 现货浮动损益
  5386. type: number
  5387. sumactualpl:
  5388. description: 实际损益 = (ActualPL + FutureActualPL)
  5389. type: number
  5390. sumpl:
  5391. description: 总敞口损益 | 汇总损益
  5392. type: number
  5393. totalfutureqty:
  5394. description: 期货头寸总量
  5395. type: number
  5396. totalneedhedgeqty:
  5397. description: 应套保总量
  5398. type: number
  5399. totalspotqty:
  5400. description: 现货头寸总量
  5401. type: number
  5402. updatetime:
  5403. description: 更新时间
  5404. type: string
  5405. type: object
  5406. models.Ermcp3Brand:
  5407. properties:
  5408. areauserid:
  5409. description: 用户id
  5410. type: integer
  5411. brandid:
  5412. description: 品牌id
  5413. type: integer
  5414. brandname:
  5415. description: 品牌名称
  5416. type: string
  5417. deliverygoodsid:
  5418. description: 品种ID
  5419. type: integer
  5420. isvalid:
  5421. description: 是否有效
  5422. type: integer
  5423. type: object
  5424. models.Ermcp3Contract:
  5425. properties:
  5426. accountid:
  5427. description: 期货账户id
  5428. type: string
  5429. amount:
  5430. description: 金额 [1:一口价、3:暂定价]
  5431. type: number
  5432. attachment:
  5433. description: 附件
  5434. type: string
  5435. auditremark:
  5436. description: 审核意见
  5437. type: string
  5438. audittime:
  5439. description: 审核时间
  5440. type: string
  5441. biztype:
  5442. description: 业务类型 1-套保 2-套利
  5443. type: integer
  5444. brandname:
  5445. description: 品牌名称
  5446. type: string
  5447. buynickname:
  5448. description: 销售方昵称
  5449. type: string
  5450. buyuserid:
  5451. description: 采购方ID
  5452. type: integer
  5453. buyusername:
  5454. description: 采购方名称
  5455. type: string
  5456. contracctstatus:
  5457. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5458. type: integer
  5459. contractmargin:
  5460. description: 合同保证金
  5461. type: number
  5462. contractno:
  5463. description: 现货合同编号
  5464. type: string
  5465. contracttype:
  5466. description: 现货合同类型 - 1:采购 -1:销售
  5467. type: integer
  5468. convertfactor:
  5469. description: 标仓系数(品类)
  5470. type: number
  5471. createtime:
  5472. description: 创建时间
  5473. type: string
  5474. currencyid:
  5475. description: 币种id
  5476. type: integer
  5477. currencyname:
  5478. description: 币种名称
  5479. type: string
  5480. deliveryenddate:
  5481. description: 交收期(结束)
  5482. type: string
  5483. deliverygoodscode:
  5484. description: 现货品种代码
  5485. type: string
  5486. deliverygoodsid:
  5487. description: 现货品种ID
  5488. type: integer
  5489. deliverygoodsname:
  5490. description: 现货品种名称
  5491. type: string
  5492. deliverystartdate:
  5493. description: 交收期(开始)
  5494. type: string
  5495. enddate:
  5496. description: 点价结束日期 [2:点价 3:暂定价]
  5497. type: string
  5498. enumdicname:
  5499. description: 单位名称
  5500. type: string
  5501. goodscode:
  5502. description: 点价合约代码
  5503. type: string
  5504. goodsid:
  5505. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  5506. type: integer
  5507. goodsname:
  5508. description: 点价商品名称
  5509. type: string
  5510. margin:
  5511. description: 当前保证金
  5512. type: number
  5513. meruserid:
  5514. description: 跟单员id
  5515. type: integer
  5516. meruserlogincode:
  5517. description: 跟单员登录代码
  5518. type: string
  5519. merusername:
  5520. description: 跟单员名称
  5521. type: string
  5522. pointdesc:
  5523. description: 点价备注
  5524. type: string
  5525. price:
  5526. description: 价格\暂定价 [1:一口价、3:暂定价]
  5527. type: number
  5528. pricemove:
  5529. description: 升贴水 [2:点价 3:暂定价]
  5530. type: number
  5531. pricetype:
  5532. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  5533. type: integer
  5534. producttype:
  5535. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  5536. type: integer
  5537. qty:
  5538. description: 数量
  5539. type: number
  5540. remark:
  5541. description: 备注
  5542. type: string
  5543. saleuserid:
  5544. description: 业务员id
  5545. type: integer
  5546. saleuserlogincode:
  5547. description: 业务员登录代码
  5548. type: string
  5549. saleusername:
  5550. description: 业务员名称
  5551. type: string
  5552. sellnickname:
  5553. description: 采购方昵称
  5554. type: string
  5555. selluserid:
  5556. description: 销售方ID
  5557. type: integer
  5558. sellusername:
  5559. description: 销售方名称
  5560. type: string
  5561. spotcontractid:
  5562. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  5563. type: string
  5564. spotgoodsbrandid:
  5565. description: 现货品牌ID(DGFactoryItem表的ID)
  5566. type: integer
  5567. spotgoodsdesc:
  5568. description: 商品型号
  5569. type: string
  5570. startdate:
  5571. description: 点价开始日期 [2:点价 3:暂定价]
  5572. type: string
  5573. subjectid:
  5574. description: 交易主体ID
  5575. type: integer
  5576. subjectname:
  5577. description: 交易主体名称
  5578. type: string
  5579. tradeuserid:
  5580. description: 交易员id
  5581. type: integer
  5582. tradeuserlogincode:
  5583. description: 交易员登录代码
  5584. type: string
  5585. tradeusername:
  5586. description: 交易员名称
  5587. type: string
  5588. unitid:
  5589. description: 单位id(取品类上的单位id)
  5590. type: integer
  5591. updatetime:
  5592. description: 更新时间
  5593. type: string
  5594. userid:
  5595. description: 所属机构ID
  5596. type: integer
  5597. vatrate:
  5598. description: 增值税率
  5599. type: number
  5600. wrstandardcode:
  5601. description: 品类代码
  5602. type: string
  5603. wrstandardid:
  5604. description: 品类ID
  5605. type: integer
  5606. wrstandardname:
  5607. description: 品类名称
  5608. type: string
  5609. type: object
  5610. models.Ermcp3ContractMiddleGoodsCfg:
  5611. properties:
  5612. agreeunit:
  5613. description: 合约乘数
  5614. type: number
  5615. convertratio:
  5616. description: 期货品种系数
  5617. type: number
  5618. covertqty:
  5619. description: 折算手数 =【待点价量 / (合约乘数*期货品种系数) 】
  5620. type: integer
  5621. middlegoodsid:
  5622. description: 套保品种ID
  5623. type: integer
  5624. middlegoodspricedqty3:
  5625. description: 已定价量(套保品种应套保量) = MiddleGoodsPricedQty2 * 套保比率
  5626. example: "0"
  5627. type: string
  5628. pendingpricedqty:
  5629. description: 待点价量
  5630. example: "0"
  5631. type: string
  5632. relatedmiddlegoodsqty:
  5633. description: 已关联量(套保品种-期货)
  5634. example: "0"
  5635. type: string
  5636. spotcontractid:
  5637. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  5638. type: string
  5639. type: object
  5640. models.Ermcp3ExposureContractDetail:
  5641. properties:
  5642. biztype:
  5643. description: 业务类型 1-套保 2-套利
  5644. type: integer
  5645. brandname:
  5646. description: 品牌名称
  5647. type: string
  5648. buyuserid:
  5649. description: 采购方id
  5650. type: integer
  5651. buyusername:
  5652. description: 采购方名称
  5653. type: string
  5654. contractno:
  5655. description: 合同编号
  5656. type: string
  5657. contracttype:
  5658. description: 现货合同类型 - 1:采购 -1:销售
  5659. type: integer
  5660. convertfactor:
  5661. description: 标仓系数
  5662. type: number
  5663. convertratio:
  5664. description: 折算系数(套保品种)
  5665. type: number
  5666. curqty:
  5667. description: 今定价量
  5668. type: number
  5669. deliverygoodscode:
  5670. description: 现货品种代码
  5671. type: string
  5672. deliverygoodsid:
  5673. description: 现货品种id
  5674. type: integer
  5675. deliverygoodsname:
  5676. description: 现货品种名称
  5677. type: string
  5678. diffhedgeqty:
  5679. description: 套保变动量
  5680. type: number
  5681. diffneedhedgeqty:
  5682. description: 应套保变动量
  5683. type: number
  5684. diffqty:
  5685. description: 套保品种今变动量
  5686. type: number
  5687. enumdicname:
  5688. description: 单位名称
  5689. type: string
  5690. mgunitname:
  5691. description: 套保品种单位名称
  5692. type: string
  5693. middlegoodscode:
  5694. description: 套保品种代码
  5695. type: string
  5696. middlegoodsid:
  5697. description: 套保品种id
  5698. type: integer
  5699. middlegoodsname:
  5700. description: 套保品种名称
  5701. type: string
  5702. needarbitrageratio:
  5703. description: 应套利比例
  5704. type: number
  5705. needhedgeratio:
  5706. description: 应套保比例
  5707. type: number
  5708. pricedqty:
  5709. description: 已定价量
  5710. type: number
  5711. qty:
  5712. description: 合同量
  5713. type: number
  5714. reckondate:
  5715. description: 交易日(reckondate)
  5716. type: string
  5717. selluserid:
  5718. description: 销售方id
  5719. type: integer
  5720. sellusername:
  5721. description: 销售方名称
  5722. type: string
  5723. spotcontractid:
  5724. description: 合同id
  5725. type: string
  5726. todaypricedqty:
  5727. description: 今定价量
  5728. type: number
  5729. tradedate:
  5730. description: 交易日
  5731. type: string
  5732. unitid:
  5733. description: 品类单位id
  5734. type: integer
  5735. userid:
  5736. description: 机构id
  5737. type: integer
  5738. username:
  5739. description: 交易用户
  5740. type: string
  5741. wrstandardcode:
  5742. description: 现货商品代码
  5743. type: string
  5744. wrstandardid:
  5745. description: 现货商品id
  5746. type: integer
  5747. wrstandardname:
  5748. description: 现货商品名称
  5749. type: string
  5750. type: object
  5751. models.Ermcp3ExposureDetail:
  5752. properties:
  5753. areauserid:
  5754. description: 机构ID
  5755. type: integer
  5756. changeQty:
  5757. description: 套保变动量
  5758. type: number
  5759. contracttype:
  5760. description: 现货合同类型 - 1:采购 -1:销售
  5761. type: integer
  5762. convertfactor:
  5763. description: 标仓系数
  5764. type: number
  5765. convertratio:
  5766. description: 折算系数
  5767. type: number
  5768. createtime:
  5769. description: 时间
  5770. type: string
  5771. enumdicname:
  5772. description: 现货商品单位名称
  5773. type: string
  5774. logtype:
  5775. description: 类型 - 1:套保计划 2:现货合同
  5776. type: integer
  5777. mgunitid:
  5778. description: 套保品种单位id
  5779. type: integer
  5780. mgunitidname:
  5781. description: 套保品种单位名称
  5782. type: string
  5783. middlegoodsId:
  5784. description: 套保商品id
  5785. type: integer
  5786. middlegoodscode:
  5787. description: 套保商品代码
  5788. type: string
  5789. middlegoodsname:
  5790. description: 套保商品名称
  5791. type: string
  5792. qty:
  5793. description: 数量
  5794. type: number
  5795. relateNo:
  5796. description: 现货合同/套保计划编号
  5797. type: string
  5798. unitid:
  5799. description: 现货商品单位id
  5800. type: integer
  5801. wrstandardcode:
  5802. description: 现货商品代码
  5803. type: string
  5804. wrstandardid:
  5805. description: 现货商品ID(SEQ_WRSTANDARD)
  5806. type: integer
  5807. wrstandardname:
  5808. description: 现货商品名称
  5809. type: string
  5810. type: object
  5811. models.Ermcp3ExposureFutuDetail:
  5812. properties:
  5813. accountid:
  5814. description: 交易账户id
  5815. type: integer
  5816. accountname:
  5817. description: 交易账户
  5818. type: string
  5819. begindate:
  5820. description: 开始交易日
  5821. type: string
  5822. buyorsell:
  5823. description: 方向 0-买 1-卖
  5824. type: integer
  5825. diffmgqty:
  5826. description: 套保品种今变化量
  5827. type: number
  5828. diffneedqty:
  5829. description: 应套保总量变化量
  5830. type: number
  5831. difftradeqty:
  5832. description: 交易品种今变化量
  5833. type: number
  5834. enddate:
  5835. description: 结束交易日
  5836. type: string
  5837. enumdicname:
  5838. description: 单位名称
  5839. type: string
  5840. goodscode:
  5841. description: 商品代码
  5842. type: string
  5843. goodsid:
  5844. description: 商品id
  5845. type: integer
  5846. goodsname:
  5847. description: 商品名称
  5848. type: string
  5849. holdqty:
  5850. description: 期末持仓量
  5851. type: number
  5852. middlegoodscode:
  5853. description: 套保商品代码
  5854. type: string
  5855. middlegoodsid:
  5856. description: 套保商品id
  5857. type: integer
  5858. middlegoodsname:
  5859. description: 套保商品名称
  5860. type: string
  5861. oriholdqty:
  5862. description: 期初持仓量
  5863. type: number
  5864. reckondate:
  5865. description: 交易日(RECKONDATE)
  5866. type: string
  5867. todaycloseqty:
  5868. description: 今平仓量
  5869. type: number
  5870. todayopenqty:
  5871. description: 今开仓量
  5872. type: number
  5873. tradedate:
  5874. description: 交易日(RECKONDATE)
  5875. type: string
  5876. username:
  5877. description: 用户名称(交易用户)
  5878. type: string
  5879. type: object
  5880. models.Ermcp3ExposureHedgeplanDetail:
  5881. properties:
  5882. biztype:
  5883. description: 业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利
  5884. type: integer
  5885. changqty:
  5886. description: 应套保总量变化量
  5887. type: number
  5888. contracttype:
  5889. description: 计划类型 - 1:采购 -1:销售
  5890. type: integer
  5891. convertratio:
  5892. description: 折算系数(套保品种)
  5893. type: number
  5894. deliverygoodscode:
  5895. description: 现货商品代码
  5896. type: string
  5897. deliverygoodsid:
  5898. description: 现货商品id
  5899. type: integer
  5900. deliverygoodsname:
  5901. description: 现货商吕名称
  5902. type: string
  5903. dgunitid:
  5904. description: 现货商品单位id
  5905. type: integer
  5906. dgunitidname:
  5907. description: 单位名称(现货商品)
  5908. type: string
  5909. diffqty:
  5910. description: 套保品种今变动量
  5911. type: number
  5912. enumdicname:
  5913. description: 单位名称(品类)
  5914. type: string
  5915. hedgeplanid:
  5916. description: 套保计划id
  5917. type: string
  5918. hedgeplanno:
  5919. description: 套保计划名称
  5920. type: string
  5921. hedgeplanstatus:
  5922. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5923. type: integer
  5924. mgunitidname:
  5925. description: 单位名称(套保商品)
  5926. type: string
  5927. middlegoodscode:
  5928. description: 套保品种代码
  5929. type: string
  5930. middlegoodsid:
  5931. description: 套保品种id
  5932. type: integer
  5933. middlegoodsname:
  5934. description: 套保品种名称
  5935. type: string
  5936. needarbitrageratio:
  5937. description: 应套利比例
  5938. type: number
  5939. needhedgeratio:
  5940. description: 应套保比例
  5941. type: number
  5942. pricedqty:
  5943. description: 已定价量
  5944. type: number
  5945. qty:
  5946. description: 合同量
  5947. type: number
  5948. reckondate:
  5949. description: 交易日(reckondate)
  5950. type: string
  5951. tradedate:
  5952. description: 交易日(登记日)
  5953. type: string
  5954. unitid:
  5955. description: 品类单位id
  5956. type: integer
  5957. userid:
  5958. description: 机构id
  5959. type: integer
  5960. wrstandardcode:
  5961. description: 品类代码
  5962. type: string
  5963. wrstandardid:
  5964. description: 品类id
  5965. type: integer
  5966. wrstandardname:
  5967. description: 品类名称
  5968. type: string
  5969. type: object
  5970. models.Ermcp3ExposureParamChLog:
  5971. properties:
  5972. accountid:
  5973. description: 期货账户ID (作废, 默认为0)
  5974. type: integer
  5975. aftervalue:
  5976. description: 应套保\套利量变更后(调整后应套保总量)
  5977. type: number
  5978. areauserid:
  5979. description: 所属机构\交易用户ID
  5980. type: integer
  5981. beforevalue:
  5982. description: 应套保\套利量变更前(调整前应套保总量)
  5983. type: number
  5984. begindate:
  5985. description: 开始交易日
  5986. type: string
  5987. changelogtype:
  5988. description: 变更流水类型 - 1:套保比率变更 2:套利比率变更
  5989. type: integer
  5990. curvalue:
  5991. description: 当前套保\套利量(套保总量|套利总量)
  5992. type: number
  5993. diffvalue:
  5994. description: 应套保总量变化量
  5995. type: number
  5996. enddate:
  5997. description: 结束交易日
  5998. type: string
  5999. logdatetime:
  6000. description: 流水日期
  6001. type: string
  6002. logid:
  6003. description: 流水ID(609+Unix秒时间戳(10位)+xxxxxx)
  6004. type: string
  6005. middlegoodscode:
  6006. description: 套保品种代码
  6007. type: string
  6008. middlegoodsid:
  6009. description: 套保品种
  6010. type: integer
  6011. middlegoodsname:
  6012. description: 套保品种名称
  6013. type: string
  6014. paramaftervalue:
  6015. description: 参数变更后(调整后参数值)
  6016. type: number
  6017. parambeforevalue:
  6018. description: 参数变更前(调整前参数值)
  6019. type: number
  6020. reckondate:
  6021. description: 交易日(reckondate)
  6022. type: string
  6023. tradedate:
  6024. description: 交易日(yyyyMMdd)
  6025. type: string
  6026. type: object
  6027. models.Ermcp3ExpourseReport:
  6028. properties:
  6029. accountid:
  6030. description: 期货账户ID (作废, 默认为0)
  6031. type: integer
  6032. accountname:
  6033. description: 机构名称
  6034. type: string
  6035. arbitrageqty:
  6036. description: 套利量
  6037. type: number
  6038. areauserid:
  6039. description: 所属机构\交易用户ID
  6040. type: integer
  6041. begindate:
  6042. description: 开始交易日
  6043. type: string
  6044. buyfutureqty:
  6045. description: 买入期货数量
  6046. type: number
  6047. buyplanqty:
  6048. description: 采购计划数量
  6049. type: number
  6050. buypricedqty:
  6051. description: 采购合同已定价数量
  6052. type: number
  6053. cycletime:
  6054. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  6055. type: string
  6056. cycletype:
  6057. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  6058. type: integer
  6059. diffexposure:
  6060. description: 变动量(套保敞口)
  6061. type: number
  6062. difffutuqty:
  6063. description: 变动量(期货)
  6064. type: number
  6065. diffhedgeqty:
  6066. description: 变动量(现货应套保总量)
  6067. type: number
  6068. diffmgqtya:
  6069. description: 套保变动量
  6070. type: number
  6071. diffmgqtyb:
  6072. description: 套利变动量
  6073. type: number
  6074. diffneedqty:
  6075. description: 应套变动量 = 应套保量 - 期初应套保量 + 应套利量 - 期初应套利量
  6076. type: number
  6077. diffqty:
  6078. description: 变动量(总敞口)
  6079. type: number
  6080. diffspotqty:
  6081. description: 变动量(现货) | 除税变动量
  6082. type: number
  6083. enddate:
  6084. description: 结束交易日
  6085. type: string
  6086. enumdicname:
  6087. description: 单位名称
  6088. type: string
  6089. hedgeqty:
  6090. description: 套保量
  6091. type: number
  6092. mgneedhedgeratio:
  6093. description: 套保比例(套保品的)
  6094. type: number
  6095. middlegoodsid:
  6096. description: 套保品种ID
  6097. type: integer
  6098. middlegoodsname:
  6099. description: 套保商品名称
  6100. type: string
  6101. middlgoodscode:
  6102. description: 套保商品代码
  6103. type: string
  6104. needarbitrageqty:
  6105. description: 应套利量
  6106. type: number
  6107. needarbitrageratio:
  6108. description: 套利比例(套保品的)
  6109. type: number
  6110. needhedgeexposoure:
  6111. description: 应套保敞口(套保敞口)
  6112. type: number
  6113. needhedgeqty:
  6114. description: 应套保量
  6115. type: number
  6116. needhedgeratio:
  6117. description: 应套保敞口比例
  6118. type: number
  6119. needqty:
  6120. description: 应套总量 = 应套保量 + 应套利量
  6121. type: number
  6122. oriarbitrageqty:
  6123. description: 期初套利量
  6124. type: number
  6125. oribuyfutureqty:
  6126. description: 期初买入期货数量
  6127. type: number
  6128. oribuyplanqty:
  6129. description: 期初采购计划数量
  6130. type: number
  6131. oribuypricedqty:
  6132. description: 期初采购合同已定价数量
  6133. type: number
  6134. orihedgeqty:
  6135. description: 期初套保量
  6136. type: number
  6137. orineedarbitrageqty:
  6138. description: 期初应套利量
  6139. type: number
  6140. orineedhedgeexposoure:
  6141. description: 期初应套保敞口
  6142. type: number
  6143. orineedhedgeqty:
  6144. description: 期初应套保量
  6145. type: number
  6146. orisellfutureqty:
  6147. description: 期初卖出期货数量
  6148. type: number
  6149. orisellplanqty:
  6150. description: 期初销售计划数量
  6151. type: number
  6152. orisellpricedqty:
  6153. description: 期初销售合同已定价数量
  6154. type: number
  6155. oritotalexposure:
  6156. description: 期初实时总敞口
  6157. type: number
  6158. oritotalfutureqty:
  6159. description: 期初期货头寸总量
  6160. type: number
  6161. oritotalneedhedgeqty:
  6162. description: 期初应套保总量
  6163. type: number
  6164. oritotalspotqty:
  6165. description: 期初现货头寸总量
  6166. type: number
  6167. reckondate:
  6168. description: 日照时期(yyyyMMdd)
  6169. type: string
  6170. sellfutureqty:
  6171. description: 卖出期货数量
  6172. type: number
  6173. sellplanqty:
  6174. description: 销售计划数量
  6175. type: number
  6176. sellpricedqty:
  6177. description: 销售合同已定价数量
  6178. type: number
  6179. totalexposure:
  6180. description: 实时总敞口(总敞口)
  6181. type: number
  6182. totalfutureqty:
  6183. description: 期货头寸总量(期货总量)
  6184. type: number
  6185. totalhedgeratio:
  6186. description: 敞口比例
  6187. type: number
  6188. totalneedhedgeqty:
  6189. description: 应套保总量(现货应套保总量)
  6190. type: number
  6191. totalspotqty:
  6192. description: 现货头寸总量 | 除税总量
  6193. type: number
  6194. unitid:
  6195. description: 单位id
  6196. type: integer
  6197. updatetime:
  6198. description: 更新时间
  6199. type: string
  6200. type: object
  6201. models.Ermcp3FinanceReport:
  6202. properties:
  6203. accountname:
  6204. description: 机构名称
  6205. type: string
  6206. areauserid:
  6207. description: 所属机构\交易用户ID
  6208. type: integer
  6209. begindate:
  6210. description: 开始交易日
  6211. type: string
  6212. biztype:
  6213. description: 业务类型 - 1:套保 2:套利
  6214. type: integer
  6215. brandname:
  6216. description: 品牌名称
  6217. type: string
  6218. buypreinvoicedamount:
  6219. description: 采购预收票额(预收票额)
  6220. type: number
  6221. buyprepaidamount:
  6222. description: 采购预付款额(预付货款额)
  6223. type: number
  6224. buytodayinvoiceamount:
  6225. description: 采购今收票额(今收票额)
  6226. type: number
  6227. buytodayrefundamount:
  6228. description: 采购今收退款额(今收退款额)
  6229. type: number
  6230. buytodaysettleamount:
  6231. description: 采购今付款额(今付货款额)
  6232. type: number
  6233. buyuninvoicedamount:
  6234. description: 采购应收票额(应收票额)
  6235. type: number
  6236. buyunpaidamount:
  6237. description: 采购应付款额(应付货款额)
  6238. type: number
  6239. currencyid:
  6240. description: 结算币种ID
  6241. type: integer
  6242. currencyname:
  6243. description: 币种名称
  6244. type: string
  6245. cycletime:
  6246. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  6247. type: string
  6248. cycletype:
  6249. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  6250. type: integer
  6251. deliverygoodscode:
  6252. description: 现货品种代码
  6253. type: string
  6254. deliverygoodsid:
  6255. description: 现货品种ID
  6256. type: integer
  6257. deliverygoodsname:
  6258. description: 现货品种名称
  6259. type: string
  6260. enddate:
  6261. description: 结束交易日
  6262. type: string
  6263. reckondate:
  6264. description: 日照时期(yyyyMMdd)
  6265. type: string
  6266. sellpreinvoicedamount:
  6267. description: 销售预开票额(预开票额)
  6268. type: number
  6269. sellprepaidamount:
  6270. description: 销售预收款额(预收货款额)
  6271. type: number
  6272. selltodayinvoiceamount:
  6273. description: 销售今开票额(今开票额)
  6274. type: number
  6275. selltodayrefundamount:
  6276. description: 销售今付退款额(今付退款额)
  6277. type: number
  6278. selltodaysettleamount:
  6279. description: 销售今收款额(今收货款额)
  6280. type: number
  6281. selluninvoicedamount:
  6282. description: 销售应开票额(应开票额)
  6283. type: number
  6284. sellunpaidamount:
  6285. description: 销售应收款额(应收货款额)
  6286. type: number
  6287. spotgoodsbrandid:
  6288. description: 现货品牌ID
  6289. type: integer
  6290. todaypaysum:
  6291. description: 今付款合计
  6292. type: number
  6293. todayreceivesum:
  6294. description: 今收款合计
  6295. type: number
  6296. updatetime:
  6297. description: 更新时间
  6298. type: string
  6299. wrfactortypeid:
  6300. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  6301. type: integer
  6302. wrstandardcode:
  6303. description: 品类代码
  6304. type: string
  6305. wrstandardid:
  6306. description: 现货商品ID
  6307. type: integer
  6308. wrstandardname:
  6309. description: 品类名称
  6310. type: string
  6311. type: object
  6312. models.Ermcp3GoodsGroup:
  6313. properties:
  6314. agreeunit:
  6315. description: 合约单位
  6316. type: number
  6317. areauserid:
  6318. description: 所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)
  6319. type: integer
  6320. canshort:
  6321. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  6322. type: integer
  6323. closepricemode:
  6324. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  6325. type: integer
  6326. createtime:
  6327. description: 创建时间
  6328. type: string
  6329. creatorid:
  6330. description: 创建人
  6331. type: integer
  6332. currencyid:
  6333. description: 报价货币ID
  6334. type: integer
  6335. decimalplace:
  6336. description: 报价小数位
  6337. type: integer
  6338. enumdicname:
  6339. description: 单位名称
  6340. type: string
  6341. exchangefullname:
  6342. description: 交易所全称
  6343. type: string
  6344. excludecfg:
  6345. description: 排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除
  6346. type: integer
  6347. exexchangecode:
  6348. description: 交易所代码
  6349. type: string
  6350. exexchangeid:
  6351. description: 外部交易所ID[通道交易]
  6352. type: integer
  6353. exexchangename:
  6354. description: 交易所名称
  6355. type: string
  6356. goodsgroupid:
  6357. description: 商品组ID(自增ID)
  6358. type: integer
  6359. goodsgroupname:
  6360. description: 商品组名称
  6361. type: string
  6362. goodsgroupstatus:
  6363. description: 商品组状态 - 1:正常 2:注销
  6364. type: integer
  6365. goodunitid:
  6366. description: 报价单位ID
  6367. type: integer
  6368. groupcategroyid:
  6369. description: 品种分类ID
  6370. type: integer
  6371. innerdealmode:
  6372. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  6373. type: integer
  6374. marketid:
  6375. description: 所属市场ID
  6376. type: integer
  6377. modifierid:
  6378. description: 修改人
  6379. type: integer
  6380. modifytime:
  6381. description: 修改时间
  6382. type: string
  6383. outerdealmode:
  6384. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  6385. type: integer
  6386. outergroupcode:
  6387. description: 外部商品组代码[通道交易]
  6388. type: string
  6389. quoteminunit:
  6390. description: 行情最小变动单位 [整数,报价小数位一起使用]
  6391. type: integer
  6392. quotesourcegroupid:
  6393. description: 所属行情源分组ID[参考行情市场用\通道交易]
  6394. type: integer
  6395. syncgoodsqty:
  6396. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  6397. type: integer
  6398. required:
  6399. - areauserid
  6400. type: object
  6401. models.Ermcp3HPMiddleGoods:
  6402. properties:
  6403. biztype:
  6404. description: 业务类型 1:套保 2:套利
  6405. type: integer
  6406. contracttype:
  6407. description: 合同类型 1:采购 -1:销售
  6408. type: integer
  6409. convertratio:
  6410. description: 折算系数
  6411. type: number
  6412. customername:
  6413. description: 对手手名称
  6414. type: string
  6415. customeruserid:
  6416. description: 对手id
  6417. type: integer
  6418. enumdicname:
  6419. description: 现货单位名称
  6420. type: string
  6421. hedgeplanid:
  6422. description: 计划id
  6423. type: string
  6424. hedgeplanno:
  6425. description: 计划编号
  6426. type: string
  6427. middlegoodsid:
  6428. description: 套保品种ID
  6429. type: integer
  6430. middlegoodsplanqty3:
  6431. description: 应套保计划量
  6432. type: number
  6433. needhedgeratio:
  6434. description: 套保比例
  6435. type: number
  6436. pricedqty:
  6437. description: 已定价量
  6438. type: number
  6439. relatedmiddlegoodsqty:
  6440. description: 已关联量(套保品种)(期货)
  6441. type: number
  6442. unitid:
  6443. description: 现货单位id
  6444. type: integer
  6445. userid:
  6446. description: 用户id
  6447. type: integer
  6448. vatrate:
  6449. description: 增值税率
  6450. type: number
  6451. wrstandardcode:
  6452. description: 现货商品代码
  6453. type: string
  6454. wrstandardid:
  6455. description: 现货商品id
  6456. type: integer
  6457. wrstandardname:
  6458. description: 现货商品名称
  6459. type: string
  6460. type: object
  6461. models.Ermcp3HedgePlan:
  6462. properties:
  6463. accountid:
  6464. description: 资金账号
  6465. type: integer
  6466. areauserid:
  6467. description: 用户ID
  6468. type: integer
  6469. auditid:
  6470. description: 审核id
  6471. type: integer
  6472. auditname:
  6473. description: 审核人名称
  6474. type: string
  6475. auditremark:
  6476. description: 审核备注
  6477. type: string
  6478. auditsrc:
  6479. description: 审核来源 1-管理端 2-终端
  6480. type: integer
  6481. audittime:
  6482. description: 审核时间
  6483. type: string
  6484. contracttype:
  6485. description: 计划类型 - 1:采购 -1:销售
  6486. type: integer
  6487. convertfactor:
  6488. description: 标仓系数
  6489. type: number
  6490. createtime:
  6491. description: 创建时间
  6492. type: string
  6493. currencyid:
  6494. description: 币种id
  6495. type: integer
  6496. currencyname:
  6497. description: 币种名称
  6498. type: string
  6499. deliverygoodscode:
  6500. description: 现货品种代码
  6501. type: string
  6502. deliverygoodsid:
  6503. description: 现货品种ID
  6504. type: integer
  6505. deliverygoodsname:
  6506. description: 现货品种名称
  6507. type: string
  6508. enumdicname:
  6509. description: 单位名称(现货商品)
  6510. type: string
  6511. hedgeplanid:
  6512. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  6513. type: string
  6514. hedgeplanno:
  6515. description: 套保计划编号(名称)
  6516. type: string
  6517. hedgeplanstatus:
  6518. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  6519. type: integer
  6520. planqty:
  6521. description: 计划数量
  6522. type: number
  6523. plantime:
  6524. description: 计划时间
  6525. type: string
  6526. producttype:
  6527. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  6528. type: integer
  6529. remark:
  6530. description: 备注
  6531. type: string
  6532. spotgoodsdesc:
  6533. description: 商品型号
  6534. type: string
  6535. taaccountname:
  6536. description: 资金账号名称
  6537. type: string
  6538. tradeuserid:
  6539. description: 交易用户id
  6540. type: integer
  6541. tradeusername:
  6542. description: 交易用户名称
  6543. type: string
  6544. unitid:
  6545. description: 单位id(现货商品)
  6546. type: integer
  6547. updatetime:
  6548. description: 更新时间
  6549. type: string
  6550. vatrate:
  6551. description: 增值税率
  6552. type: number
  6553. wrstandardcode:
  6554. description: 品类代码
  6555. type: string
  6556. wrstandardid:
  6557. description: 品类id
  6558. type: integer
  6559. wrstandardname:
  6560. description: 品类名称
  6561. type: string
  6562. wrunitid:
  6563. description: 品类单位id
  6564. type: integer
  6565. wrunitidame:
  6566. description: 品类单位名称
  6567. type: string
  6568. type: object
  6569. models.Ermcp3InnerTradeLink:
  6570. properties:
  6571. accountid:
  6572. description: 期货账号代码 | 资金账号ID
  6573. type: integer
  6574. buyorsell:
  6575. description: 方向 - 0:买 1:卖
  6576. type: integer
  6577. channelbuildtype:
  6578. description: 委托单据类型 0:无 1:建仓 2:平仓
  6579. type: integer
  6580. currencyid:
  6581. description: 币种id
  6582. type: integer
  6583. currencyname:
  6584. description: 结算币种 名称
  6585. type: string
  6586. goodscode:
  6587. description: 商品代码
  6588. type: string
  6589. goodsid:
  6590. description: 商品ID
  6591. type: integer
  6592. goodsname:
  6593. description: 商品名称
  6594. type: string
  6595. outtradeid:
  6596. description: 外部成交单号
  6597. type: string
  6598. taname:
  6599. description: 期货账户名称
  6600. type: string
  6601. tradeid:
  6602. description: 期货单号 | 内部成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6603. type: string
  6604. tradeprice:
  6605. description: 成交价格
  6606. type: number
  6607. tradeqty:
  6608. description: 期货成交数量
  6609. type: integer
  6610. tradetime:
  6611. description: 关联时间 | 成交时间 ps:因为数据库表里没有关联时间, 所以取外部成交单的成交时间
  6612. type: string
  6613. username:
  6614. description: 用户名称
  6615. type: string
  6616. type: object
  6617. models.Ermcp3OutTradeLink:
  6618. properties:
  6619. buyorsell:
  6620. description: 买卖方向 - 0:买 1:卖
  6621. type: integer
  6622. channelbuildtype:
  6623. description: 开平标志- 0:无 1:建仓 2:平仓
  6624. type: integer
  6625. currencyname:
  6626. description: 币种名称
  6627. type: string
  6628. exexchangecode:
  6629. description: 交易所代码
  6630. type: string
  6631. exexchangename:
  6632. description: 交易所名称
  6633. type: string
  6634. goodscode:
  6635. description: 合约代码
  6636. type: string
  6637. goodsid:
  6638. description: 合约id
  6639. type: integer
  6640. goodsname:
  6641. description: 合约名称
  6642. type: string
  6643. hasinnerorder:
  6644. description: 是否有内部单关联 - 0:无 1:有
  6645. type: integer
  6646. hedgeaccountcode:
  6647. description: 外部账号 | 对冲账号
  6648. type: string
  6649. outtradeid:
  6650. description: 外部订单号 | 外部成交单ID(114+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6651. type: string
  6652. tradeprice:
  6653. description: 成交价格
  6654. type: number
  6655. tradeqty:
  6656. description: 成交数量
  6657. type: integer
  6658. tradetime:
  6659. description: 成交时间
  6660. type: string
  6661. type: object
  6662. models.Ermcp3PaAreaAuditCfg:
  6663. properties:
  6664. areauserid:
  6665. description: 用户ID
  6666. type: integer
  6667. buyinauditflag:
  6668. description: 采购入库是否需要审核 - 0:不需审核 1:需要审核
  6669. type: integer
  6670. costratioauditflag:
  6671. description: 现货商品成本权重修改是否需要审核 - 0:不需审核 1:需要审核
  6672. type: integer
  6673. customerauditflag:
  6674. description: 客户资料是否需要审核 - 0:不需审核 1:需要审核
  6675. type: integer
  6676. deliveryauditflag:
  6677. description: 交收是否需要审核 - 0:不需审核 1:需要审核
  6678. type: integer
  6679. invoiceauditflag:
  6680. description: 发票是否需要审核 - 0:不需审核 1:需要审核
  6681. type: integer
  6682. mgneedhedgeratioauditflag:
  6683. description: 套保品种套保比例修改是否需要审 - 0:不需审核 1:需要审核
  6684. type: integer
  6685. moneyauditflag:
  6686. description: 款项是否需要审核 - 0:不需审核 1:需要审核
  6687. type: integer
  6688. operatorid:
  6689. description: 操作人
  6690. type: integer
  6691. operatorsrc:
  6692. description: 操作来源 - 1:管理端 2:终端
  6693. type: integer
  6694. pointpriceauditflag:
  6695. description: 点价是否需要审核 - 0:不需审核 1:需要审核
  6696. type: integer
  6697. produceinauditflag:
  6698. description: 生产入库是否需要审核 - 0:不需审核 1:需要审核
  6699. type: integer
  6700. produceoutauditflag:
  6701. description: 生产出库是否需要审核 - 0:不需审核 1:需要审核
  6702. type: integer
  6703. selloutauditflag:
  6704. description: 销售出库是否需要审核 - 0:不需审核 1:需要审核
  6705. type: integer
  6706. sgconvertratioauditflag:
  6707. description: 现货商品折算系数修改是否需要审核 - 0:不需审核 1:需要审核
  6708. type: integer
  6709. sgvtaratioauditflag:
  6710. description: 现货商品增值税税率修改是否需要审核 - 0:不需审核 1:需要审核
  6711. type: integer
  6712. spotcontractauditflag:
  6713. description: 现货合同是否需要审核 - 0:不需审核 1:需要审核
  6714. type: integer
  6715. updatetime:
  6716. description: 更新时间
  6717. type: string
  6718. type: object
  6719. models.Ermcp3PaAreaSubject:
  6720. properties:
  6721. areauserid:
  6722. description: 所属机构
  6723. type: integer
  6724. canmodify:
  6725. description: 是否可修改 - 0:否 1:是
  6726. type: integer
  6727. createtime:
  6728. description: 创建时间
  6729. type: string
  6730. creatorid:
  6731. description: 创建人ID
  6732. type: string
  6733. creatorsrc:
  6734. description: 创建人来源 - 1:管理端 2:终端 3:交易
  6735. type: integer
  6736. modifierid:
  6737. description: 修改人
  6738. type: string
  6739. modifiersrc:
  6740. description: 修改人来源 - 1:管理端 2:终端
  6741. type: integer
  6742. modifytime:
  6743. description: 修改时间
  6744. type: string
  6745. parentsubjectid:
  6746. description: 上级主体ID
  6747. type: string
  6748. remark:
  6749. description: 备注
  6750. type: string
  6751. subjectid:
  6752. description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  6753. type: integer
  6754. subjectname:
  6755. description: 主体名称
  6756. type: string
  6757. subjectstatus:
  6758. description: '主体状态 - 1:正常 2: 停用'
  6759. type: integer
  6760. subjecttype:
  6761. description: 主体类型 - 1:交易主体 2:业务部门
  6762. type: integer
  6763. type: object
  6764. models.Ermcp3PaTradeLink:
  6765. properties:
  6766. accountid:
  6767. description: 期货账户代码 | 账号ID
  6768. type: integer
  6769. agreeunit:
  6770. description: 合约乘数
  6771. type: number
  6772. buyorsell:
  6773. description: 方向 - 0:买 1:卖
  6774. type: integer
  6775. channelbuildtype:
  6776. description: 委托单据类型 0:无 1:建仓 2:平仓
  6777. type: integer
  6778. charge:
  6779. description: 手续费
  6780. type: number
  6781. closepl:
  6782. description: 平仓盈亏
  6783. type: number
  6784. closetype:
  6785. description: 平仓方式 - 0:无 1:平今 2:平昨
  6786. type: integer
  6787. convertratio:
  6788. description: 折算系数
  6789. type: number
  6790. enumdicname:
  6791. description: 单位名称
  6792. type: string
  6793. executeprice:
  6794. description: 执行价 [期权]
  6795. type: integer
  6796. goodscode:
  6797. description: 合约代码
  6798. type: string
  6799. goodsgroupid:
  6800. description: 对冲品种ID[期货合约商品组ID]
  6801. type: integer
  6802. goodsid:
  6803. description: 商品ID
  6804. type: integer
  6805. goodsname:
  6806. description: 合约名称
  6807. type: string
  6808. goodunitid:
  6809. description: 单位id
  6810. type: integer
  6811. hedgeflag:
  6812. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  6813. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)
  6814. type: integer
  6815. marketid:
  6816. description: 市场ID
  6817. type: integer
  6818. middlegoodsid:
  6819. description: 套保品种ID
  6820. type: integer
  6821. middlegoodsqty:
  6822. description: 套保品种数量 = TradeQty * AgreeUnit * ConvertRatio
  6823. type: number
  6824. optioncode:
  6825. description: 期权代码 [期权]
  6826. type: string
  6827. ordertype:
  6828. description: 单据类型 - 1:期货单 2:看涨期权单 3:看跌期权单
  6829. type: integer
  6830. ordertypename:
  6831. description: 订单类型
  6832. type: string
  6833. parentaccountid:
  6834. description: 所属母账户
  6835. type: integer
  6836. premium:
  6837. description: 权利金 [期权]
  6838. type: number
  6839. relatedlot:
  6840. description: 已关联数量(已关联数量手) | db:关联手数
  6841. type: number
  6842. relatedouttradeid:
  6843. description: 关联外部成交单ID
  6844. type: string
  6845. relatedqty:
  6846. description: 关联数量
  6847. type: number
  6848. spotcontractid:
  6849. description: 现货合同ID [4:套期保值\10\11]
  6850. type: string
  6851. taname:
  6852. description: 期货账户名称
  6853. type: string
  6854. tradeamount:
  6855. description: 成交金额(账户)
  6856. type: number
  6857. tradedate:
  6858. description: 交易日(yyyyMMdd)
  6859. type: string
  6860. tradeid:
  6861. description: 期货单号 | db:成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6862. type: string
  6863. tradelot:
  6864. description: 成交数量(期货数量) ps:这是手数,转换为具体多少吨要乘以AGREEUNIT | db:成交手数
  6865. type: integer
  6866. tradeprice:
  6867. description: 成交价格
  6868. type: number
  6869. tradetime:
  6870. description: 时间 | db:成交时间
  6871. type: string
  6872. tradetype:
  6873. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  6874. type: integer
  6875. userid:
  6876. description: 所属机构 - 所属母账户的UserID
  6877. type: string
  6878. username:
  6879. description: 用户名称
  6880. type: string
  6881. type: object
  6882. models.Ermcp3ParamChangeApp:
  6883. properties:
  6884. aftervalue:
  6885. description: 变更后
  6886. type: number
  6887. applicationid:
  6888. description: 申请ID(619+Unix秒时间戳(10位)+xxxxxx)
  6889. type: string
  6890. applyid:
  6891. description: 申请人
  6892. type: string
  6893. applyname:
  6894. description: 申请人名称(代码)
  6895. type: string
  6896. applyremark:
  6897. description: 申请备注
  6898. type: string
  6899. applysrc:
  6900. description: 申请来源 - 1:管理端 2:终端
  6901. type: integer
  6902. applystatus:
  6903. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  6904. type: integer
  6905. applytime:
  6906. description: 申请时间
  6907. type: string
  6908. areauserid:
  6909. description: 所属机构用户ID
  6910. type: integer
  6911. auditid:
  6912. description: 审核人
  6913. type: string
  6914. auditname:
  6915. description: 审核人名称(代码)
  6916. type: string
  6917. auditremark:
  6918. description: 审核备注
  6919. type: string
  6920. auditsrc:
  6921. description: 审核来源 - 1:管理端 2:终端
  6922. type: integer
  6923. audittime:
  6924. description: 审核时间
  6925. type: string
  6926. audittradedate:
  6927. description: 审核交易日(yyyyMMdd)
  6928. type: string
  6929. beforevalue:
  6930. description: 变更前
  6931. type: number
  6932. deliverygoodscode:
  6933. description: 品种代码
  6934. type: string
  6935. deliverygoodsid:
  6936. description: 品种id
  6937. type: integer
  6938. deliverygoodsname:
  6939. description: 品种名称
  6940. type: string
  6941. middlegoodscode:
  6942. description: 套保品种代码
  6943. type: string
  6944. middlegoodsid:
  6945. description: 套保品种ID [ParamChangeType = 2,3,4]
  6946. type: integer
  6947. middlegoodsname:
  6948. description: 套保品种名称
  6949. type: string
  6950. operatetype:
  6951. description: 操作类型 - 1:新增 2:修改
  6952. type: integer
  6953. paramchangetype:
  6954. description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  6955. type: integer
  6956. wrstandardcode:
  6957. description: 现货商品代码
  6958. type: string
  6959. wrstandardid:
  6960. description: 现货商品ID [ParamChangeType = 1,2,3]
  6961. type: integer
  6962. wrstandardname:
  6963. description: 现货商品名称
  6964. type: string
  6965. type: object
  6966. models.Ermcp3RootUserAccount:
  6967. properties:
  6968. accountname:
  6969. description: 账户名称(机构名称)
  6970. type: string
  6971. accountstatus:
  6972. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  6973. type: integer
  6974. applysrc:
  6975. description: 申请来源 - 1:管理端 2:终端
  6976. type: integer
  6977. auditremark:
  6978. description: 审核备注
  6979. type: string
  6980. auditsrc:
  6981. description: 审核来源 - 1:管理端 2:终端
  6982. type: integer
  6983. audittime:
  6984. description: 审核时间
  6985. type: string
  6986. audituserid:
  6987. description: 审核人
  6988. type: integer
  6989. broker:
  6990. description: 所属经纪人ID
  6991. type: integer
  6992. canceltime:
  6993. description: 销户时间
  6994. type: string
  6995. canceluserid:
  6996. description: 销户人
  6997. type: integer
  6998. canrecommend:
  6999. description: 是否可推荐 - 0:不可 1;可
  7000. type: integer
  7001. createtime:
  7002. description: 创建时间
  7003. type: string
  7004. creatorid:
  7005. description: 创建人
  7006. type: integer
  7007. hasauth:
  7008. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  7009. type: integer
  7010. isanonymous:
  7011. description: 是否匿名下单 - 0:否 1:是
  7012. type: integer
  7013. maxinvestornum:
  7014. description: 最大用户数(经纪会员下投资者个数)
  7015. type: integer
  7016. memberuserid:
  7017. description: 所属会员ID
  7018. type: integer
  7019. modifierid:
  7020. description: 修改人
  7021. type: integer
  7022. modifyremark:
  7023. description: 变更备注
  7024. type: string
  7025. modifystatus:
  7026. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  7027. type: integer
  7028. modifytime:
  7029. description: 修改时间
  7030. type: string
  7031. nickname:
  7032. description: 昵称
  7033. type: string
  7034. parenttopuser:
  7035. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  7036. type: string
  7037. parentuserid:
  7038. description: 所属机构ID
  7039. type: integer
  7040. reckonaccountid:
  7041. description: 默认结算资金账号ID(机构分润使用) 作废
  7042. type: integer
  7043. refercount:
  7044. description: 推荐总人数
  7045. type: integer
  7046. refereeuserid:
  7047. description: 推荐人ID
  7048. type: integer
  7049. refernum:
  7050. description: 推荐码
  7051. type: string
  7052. rootuserid:
  7053. description: 根用户ID
  7054. type: integer
  7055. subaccountlevel:
  7056. description: 子账户层数
  7057. type: integer
  7058. subarealevelpath:
  7059. description: 子机构层级路径(逗号分隔,首尾加逗号)
  7060. type: string
  7061. userid:
  7062. description: 用户ID
  7063. type: integer
  7064. usertype:
  7065. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  7066. type: integer
  7067. type: object
  7068. models.Ermcp3SCMiddleGoods:
  7069. properties:
  7070. biztype:
  7071. description: 业务类型 1:套保 2:套利
  7072. type: integer
  7073. contractno:
  7074. description: 合同编号
  7075. type: string
  7076. contracttype:
  7077. description: 合同类型 1:采购 -1:销售
  7078. type: integer
  7079. convertratio:
  7080. description: 折算系数
  7081. type: number
  7082. customername:
  7083. description: 对手手名称
  7084. type: string
  7085. customeruserid:
  7086. description: 对手id
  7087. type: integer
  7088. deliverygoodscode:
  7089. description: 现货品种代码
  7090. type: string
  7091. deliverygoodsid:
  7092. description: 现货品种ID
  7093. type: integer
  7094. deliverygoodsname:
  7095. description: 现货品种名称
  7096. type: string
  7097. enumdicname:
  7098. description: 现货单位名称
  7099. type: string
  7100. middlegoodsid:
  7101. description: 套保品种ID
  7102. type: integer
  7103. middlegoodspricedqty3:
  7104. description: 应套保数量 = MiddleGoodsPricedQty2 * 套保比率
  7105. type: number
  7106. needhedgeratio:
  7107. description: 套保比例
  7108. type: number
  7109. pricedqty:
  7110. description: 已定价量
  7111. type: number
  7112. relatedmiddlegoodsqty:
  7113. description: 已关联量(套保品种)(期货)
  7114. type: number
  7115. spotcontractid:
  7116. description: 合同编号
  7117. type: string
  7118. unitid:
  7119. description: 现货单位id
  7120. type: integer
  7121. userid:
  7122. description: 用户id
  7123. type: integer
  7124. vatrate:
  7125. description: 增值税率
  7126. type: number
  7127. wrstandardcode:
  7128. description: 现货商品代码
  7129. type: string
  7130. wrstandardid:
  7131. description: 现货商品id
  7132. type: integer
  7133. wrstandardname:
  7134. description: 现货商品名称
  7135. type: string
  7136. type: object
  7137. models.Ermcp3SCMiddleGoodsReport:
  7138. properties:
  7139. begindate:
  7140. description: 开始交易日
  7141. type: string
  7142. contractno:
  7143. description: 合同编号
  7144. type: string
  7145. contracttype:
  7146. description: 合同类型 1:采购 -1:销售
  7147. type: integer
  7148. convertratio:
  7149. description: 期初均价
  7150. type: number
  7151. cycletime:
  7152. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  7153. type: string
  7154. cycletype:
  7155. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  7156. type: integer
  7157. deliverygoodscode:
  7158. description: 品种代码
  7159. type: string
  7160. deliverygoodsid:
  7161. description: 现货品种ID
  7162. type: integer
  7163. deliverygoodsname:
  7164. description: 品种名称
  7165. type: string
  7166. diffprice:
  7167. description: 期初均价
  7168. type: number
  7169. diffqty:
  7170. description: 期初均价
  7171. type: number
  7172. enddate:
  7173. description: 结束交易日
  7174. type: string
  7175. hedgeplanqty:
  7176. description: 期初均价
  7177. type: number
  7178. matchname:
  7179. description: 交易对手方(个人:用户名称 企业:简称)
  7180. type: string
  7181. matchnickname:
  7182. description: 交易对手方昵称
  7183. type: string
  7184. middlegoodscode:
  7185. description: 套保品种代码
  7186. type: string
  7187. middlegoodsid:
  7188. description: 套保品种ID
  7189. type: integer
  7190. middlegoodsname:
  7191. description: 套保品种名称
  7192. type: string
  7193. middlegoodspricedqty:
  7194. description: 期初均价
  7195. type: number
  7196. middlegoodspricedqty2:
  7197. description: 期初均价
  7198. type: number
  7199. middlegoodspricedqty3:
  7200. description: 期初均价
  7201. type: number
  7202. needhedgeratio:
  7203. description: 期初均价
  7204. type: number
  7205. pricedamount:
  7206. description: 期初均价
  7207. type: number
  7208. pricedamount2:
  7209. description: 期初均价
  7210. type: number
  7211. pricedqty:
  7212. description: 期初均价
  7213. type: number
  7214. reckondate:
  7215. description: 日照时期(yyyyMMdd)
  7216. type: string
  7217. relatedmiddlegoodsamount:
  7218. description: 期初均价
  7219. type: number
  7220. relatedmiddlegoodsqty:
  7221. description: 期初均价
  7222. type: number
  7223. spotcontractid:
  7224. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  7225. type: string
  7226. todayavgfutuprice:
  7227. description: 期初均价
  7228. type: number
  7229. todayavgprice:
  7230. description: 期初均价
  7231. type: number
  7232. todayavgprice2:
  7233. description: 期初均价
  7234. type: number
  7235. todaypricedamount:
  7236. description: 期初均价
  7237. type: number
  7238. todaypricedamount2:
  7239. description: 期初均价
  7240. type: number
  7241. todaypricedqty:
  7242. description: 期初均价
  7243. type: number
  7244. todayrelatedfutureqty:
  7245. description: 期初均价
  7246. type: number
  7247. todayrelatedmiddlegoodsamount:
  7248. description: 期初均价
  7249. type: number
  7250. todayrelatedmiddlegoodsqty:
  7251. description: 期初均价
  7252. type: number
  7253. updatetime:
  7254. description: 更新时间
  7255. type: string
  7256. userid:
  7257. description: 合同所属用户id
  7258. type: integer
  7259. vatrate:
  7260. description: 期初均价
  7261. type: number
  7262. wrstandardcode:
  7263. description: 商品(品类) 代码
  7264. type: string
  7265. wrstandardid:
  7266. description: 现货商品ID
  7267. type: integer
  7268. wrstandardname:
  7269. description: 商品(品类) 名称
  7270. type: string
  7271. type: object
  7272. models.Ermcp3SellBuyContract:
  7273. properties:
  7274. accountid:
  7275. description: 期货账户id
  7276. type: string
  7277. accountname:
  7278. description: 账户名称
  7279. type: string
  7280. attachment:
  7281. description: 附件
  7282. type: string
  7283. audittime:
  7284. description: 审核时间
  7285. type: string
  7286. bizsubjectid:
  7287. description: 归属业务部门ID - SubjectID
  7288. type: integer
  7289. biztype:
  7290. description: 业务类型 1-套保 2-套利
  7291. type: integer
  7292. brandname:
  7293. description: 品牌名称
  7294. type: string
  7295. contracctstatus:
  7296. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  7297. type: integer
  7298. contractmargin:
  7299. description: 合同保证金
  7300. type: number
  7301. contractno:
  7302. description: 合同编号
  7303. type: string
  7304. contracttype:
  7305. description: 合同类型 1-采购, -1-销售
  7306. type: integer
  7307. convertfactor:
  7308. description: 标仓系数(品类)
  7309. type: number
  7310. createtime:
  7311. description: 创建时间
  7312. type: string
  7313. currencyid:
  7314. description: 币种id
  7315. type: integer
  7316. currencyname:
  7317. description: 币种名称
  7318. type: string
  7319. daikaiamount:
  7320. description: 应收(开)票额 | 未收票额
  7321. type: number
  7322. deliveryenddate:
  7323. description: 交割结束日
  7324. type: string
  7325. deliverygoodscode:
  7326. description: 现货品种代码
  7327. type: string
  7328. deliverygoodsid:
  7329. description: 现货商品ID
  7330. type: integer
  7331. deliverygoodsname:
  7332. description: 现货品种名称
  7333. type: string
  7334. deliverystartdate:
  7335. description: 交割开始日
  7336. type: string
  7337. enddate:
  7338. description: 点价结束日
  7339. type: string
  7340. enumdicname:
  7341. description: 单位名称
  7342. type: string
  7343. goodscode:
  7344. description: 点价商品代码
  7345. type: string
  7346. goodsgroupid:
  7347. description: 点价商品组id
  7348. type: integer
  7349. goodsid:
  7350. description: 点价商品ID
  7351. type: integer
  7352. goodsname:
  7353. description: 点价商品名称
  7354. type: string
  7355. invoiceamount:
  7356. description: 已开票额
  7357. type: number
  7358. loanamount:
  7359. description: 贷款总额=已定价额+调整金额
  7360. type: number
  7361. margin:
  7362. description: 保证金
  7363. type: number
  7364. meruserid:
  7365. description: 跟单员id
  7366. type: integer
  7367. meruserlogincode:
  7368. description: 跟单员登录代码
  7369. type: string
  7370. merusername:
  7371. description: 跟单员名称
  7372. type: string
  7373. nickname:
  7374. description: 账户昵称
  7375. type: string
  7376. orireckonrealqty:
  7377. description: 应交收量
  7378. type: number
  7379. payamount:
  7380. description: 已收付额(收款或付款)
  7381. type: number
  7382. preinvoiceamount:
  7383. description: 预收(开)票额
  7384. type: number
  7385. prepayamount:
  7386. description: 预收付额
  7387. type: number
  7388. price:
  7389. description: 价格
  7390. type: number
  7391. pricedamount:
  7392. description: 已定价额
  7393. type: number
  7394. pricedavg:
  7395. description: 已点均价
  7396. type: number
  7397. pricedqty:
  7398. description: 已定价量
  7399. type: number
  7400. pricemove:
  7401. description: 升贴水
  7402. type: number
  7403. pricetype:
  7404. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  7405. type: integer
  7406. producttype:
  7407. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  7408. type: integer
  7409. qty:
  7410. description: 合同量
  7411. type: number
  7412. reckonadjustamount:
  7413. description: 调整金额
  7414. type: number
  7415. reckonedamount:
  7416. description: 实际已收付额(已确定额,已收付总额-已退款总额)
  7417. type: number
  7418. reckonotheramount:
  7419. description: 其它费用
  7420. type: number
  7421. reckonrealqty:
  7422. description: 已交收量
  7423. type: number
  7424. remark:
  7425. description: 备注
  7426. type: string
  7427. saleuserid:
  7428. description: 业务员id
  7429. type: integer
  7430. saleuserlogincode:
  7431. description: 业务员登录代码
  7432. type: string
  7433. saleusername:
  7434. description: 业务员名称
  7435. type: string
  7436. spotcontractid:
  7437. description: 合同ID
  7438. type: string
  7439. spotgoodsbrandid:
  7440. description: 现货品牌ID(DGFactoryItem表的ID)
  7441. type: integer
  7442. spotgoodsdesc:
  7443. description: 商品型号(商品规格)
  7444. type: string
  7445. startdate:
  7446. description: 点价开始日
  7447. type: string
  7448. subjectid:
  7449. description: 交易主体ID
  7450. type: integer
  7451. subjectname:
  7452. description: 交易主体名称
  7453. type: string
  7454. totalamount:
  7455. description: 合计总额
  7456. type: number
  7457. tradeuserid:
  7458. description: 交易员id
  7459. type: integer
  7460. tradeuserlogincode:
  7461. description: 交易员登录代码
  7462. type: string
  7463. tradeusername:
  7464. description: 交易员名称
  7465. type: string
  7466. unpayamount:
  7467. description: 应收付款额(应支付或应收款) | 未付款额
  7468. type: number
  7469. unpricedqty:
  7470. description: 未定价量
  7471. type: number
  7472. unsureqty:
  7473. description: 未确定量 | 未交收量
  7474. type: number
  7475. userid:
  7476. description: 机构ID
  7477. type: integer
  7478. vatrate:
  7479. description: 增值税率
  7480. type: number
  7481. wrstandardcode:
  7482. description: 品类代码
  7483. type: string
  7484. wrstandardid:
  7485. description: 品类ID
  7486. type: integer
  7487. wrstandardname:
  7488. description: 品类名称
  7489. type: string
  7490. type: object
  7491. models.Ermcp3SpotGoodsPrice:
  7492. properties:
  7493. areauserid:
  7494. description: 所属机构id
  7495. type: integer
  7496. brandname:
  7497. description: 品牌名称
  7498. type: string
  7499. currencyid:
  7500. description: 报价货币ID
  7501. type: integer
  7502. currencyname:
  7503. description: 币种名称
  7504. type: string
  7505. deliverygoodscode:
  7506. description: 现货商品代码
  7507. type: string
  7508. deliverygoodsid:
  7509. description: 现货商品id
  7510. type: integer
  7511. deliverygoodsname:
  7512. description: 现货商品名称
  7513. type: string
  7514. enumdicname:
  7515. description: 现货商品单位名称
  7516. type: string
  7517. gbenumdicname:
  7518. description: 品类单位名称
  7519. type: string
  7520. gmunitid:
  7521. description: 品类单位id
  7522. type: integer
  7523. isvalid:
  7524. description: 是否有效 - 0:无效 1:有效
  7525. type: integer
  7526. operateid:
  7527. description: 最后操作人
  7528. type: integer
  7529. operatesrc:
  7530. description: 最后操作来源 - 1:管理端 2:终端
  7531. type: integer
  7532. operatetime:
  7533. description: 最后操作时间
  7534. type: string
  7535. operatorname:
  7536. description: 操作人名称
  7537. type: string
  7538. spotgoodsbrandid:
  7539. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  7540. type: integer
  7541. spotgoodsprice:
  7542. description: 现货价格
  7543. type: number
  7544. tradedate:
  7545. description: 交易日(yyyyMMdd)
  7546. type: string
  7547. unitid:
  7548. description: 现货商品单位id
  7549. type: integer
  7550. wrstandardcode:
  7551. description: 品类代码
  7552. type: string
  7553. wrstandardid:
  7554. description: 现货品类ID(通用则为0)
  7555. type: integer
  7556. wrstandardname:
  7557. description: 品类名称
  7558. type: string
  7559. type: object
  7560. models.Ermcp3SpotGoodsPriceLog:
  7561. properties:
  7562. areauserid:
  7563. description: 所属机构id
  7564. type: integer
  7565. brandname:
  7566. description: 品牌名称
  7567. type: string
  7568. currencyid:
  7569. description: 报价货币ID
  7570. type: integer
  7571. deliverygoodscode:
  7572. description: 现货商品代码
  7573. type: string
  7574. deliverygoodsid:
  7575. description: 现货商品id
  7576. type: integer
  7577. deliverygoodsname:
  7578. description: 现货商品名称
  7579. type: string
  7580. enumdicname:
  7581. description: 现货商品单位名称
  7582. type: string
  7583. gbenumdicname:
  7584. description: 品类单位名称
  7585. type: string
  7586. gmunitid:
  7587. description: 品类单位id
  7588. type: integer
  7589. logid:
  7590. description: 日志id
  7591. type: integer
  7592. operateid:
  7593. description: 最后操作人
  7594. type: integer
  7595. operatesrc:
  7596. description: 最后操作来源 - 1:管理端 2:终端
  7597. type: integer
  7598. operatetime:
  7599. description: 最后操作时间
  7600. type: string
  7601. operatorname:
  7602. description: 操作人名称
  7603. type: string
  7604. spotgoodsbrandid:
  7605. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  7606. type: integer
  7607. spotgoodsprice:
  7608. description: 现货价格
  7609. type: number
  7610. tradedate:
  7611. description: 交易日(yyyyMMdd)
  7612. type: string
  7613. unitid:
  7614. description: 现货商品单位id
  7615. type: integer
  7616. wrstandardcode:
  7617. description: 品类代码
  7618. type: string
  7619. wrstandardid:
  7620. description: 现货品类ID(通用则为0)
  7621. type: integer
  7622. wrstandardname:
  7623. description: 品类名称
  7624. type: string
  7625. type: object
  7626. models.Ermcp3SubTaaccount:
  7627. properties:
  7628. accountid:
  7629. description: 资金账户ID
  7630. type: integer
  7631. parentaccountcode:
  7632. description: 所属根账号代码(母账号代码)
  7633. type: string
  7634. parentaccountid:
  7635. description: 所属根账号(母账号)
  7636. type: integer
  7637. taname:
  7638. description: 资金账号名称
  7639. type: string
  7640. tradestatus:
  7641. description: 交易状态 - 1:正常 2:受限 3:冻结(停用) 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已删除(注销)
  7642. type: integer
  7643. username:
  7644. description: 交易用户
  7645. type: string
  7646. type: object
  7647. models.Ermcp3TaFutuReDataReport:
  7648. properties:
  7649. accountid:
  7650. description: 交易账户
  7651. type: integer
  7652. accountname:
  7653. description: 交易账号名称
  7654. type: string
  7655. agreeunit:
  7656. description: 商品合约单位
  7657. type: number
  7658. begindate:
  7659. description: 开始交易日
  7660. type: string
  7661. buyorsell:
  7662. description: 持仓方向
  7663. type: integer
  7664. charge:
  7665. description: 手续费
  7666. type: number
  7667. closeavgprice:
  7668. description: 期初均价
  7669. type: number
  7670. closepl:
  7671. description: 平仓损益
  7672. type: number
  7673. currencyid:
  7674. description: 结算币种ID
  7675. type: integer
  7676. currencyname:
  7677. description: 币种名称
  7678. type: string
  7679. cycletime:
  7680. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  7681. type: string
  7682. cycletype:
  7683. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  7684. type: integer
  7685. enddate:
  7686. description: 结束交易日
  7687. type: string
  7688. enumdicname:
  7689. description: 单位名称
  7690. type: string
  7691. floatpl:
  7692. description: 浮动损益
  7693. type: number
  7694. goodscode:
  7695. description: 交易合约代码
  7696. type: string
  7697. goodsgroupid:
  7698. description: 交易品种
  7699. type: integer
  7700. goodsgroupname:
  7701. description: 交易品种名称
  7702. type: string
  7703. goodsgroupspotqty:
  7704. description: 交易品种期末量 (= 期末持仓量 * 合约乘数)
  7705. type: number
  7706. goodsid:
  7707. description: 交易合约
  7708. type: integer
  7709. goodsname:
  7710. description: 交易合约名称
  7711. type: string
  7712. goodunitid:
  7713. description: 交易合约单位id
  7714. type: integer
  7715. holdamount:
  7716. description: 期末持仓额
  7717. type: number
  7718. holdqty:
  7719. description: 期初均价
  7720. type: number
  7721. lastholdamount:
  7722. description: 当前持仓额
  7723. type: number
  7724. lastprice:
  7725. description: 最新价
  7726. type: number
  7727. middlegoodsid:
  7728. description: 套保品种id
  7729. type: integer
  7730. middlegoodsname:
  7731. description: 套保商品名称
  7732. type: string
  7733. middlegoodsqty:
  7734. description: 套保品种期末量 (=交易品种期末量 * 期货品种折算系数)
  7735. type: number
  7736. middlgoodscode:
  7737. description: 套保商品代码
  7738. type: string
  7739. openamount:
  7740. description: 期末开仓额
  7741. type: number
  7742. openavgprice:
  7743. description: 期初均价
  7744. type: number
  7745. oriholdamount:
  7746. description: 期初持仓额
  7747. type: number
  7748. oriholdqty:
  7749. description: 期初均价
  7750. type: number
  7751. oriopenamount:
  7752. description: 期初开仓额
  7753. type: number
  7754. outergroupcode:
  7755. description: 交易品种代码
  7756. type: string
  7757. qtydecimalplace:
  7758. description: 成交量小数位
  7759. type: integer
  7760. reckondate:
  7761. description: 日照时期(yyyyMMdd)
  7762. type: string
  7763. reckonholdamount:
  7764. description: 结算持仓额
  7765. type: number
  7766. reckonpl:
  7767. description: 结算损益
  7768. type: number
  7769. reckonpl2:
  7770. description: 结算逐笔盈亏
  7771. type: number
  7772. reckonprice:
  7773. description: 结算价
  7774. type: number
  7775. relateduserid:
  7776. description: 账户关联用户ID
  7777. type: integer
  7778. todaycloseamount:
  7779. description: 今平仓额
  7780. type: number
  7781. todaycloseqty:
  7782. description: 期初均价
  7783. type: number
  7784. todaygoodsgroupspotqty:
  7785. description: 交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)
  7786. type: number
  7787. todaymiddlegoodsqty:
  7788. description: 套保品种变化量 (= 交易品种变化量*期货品种折算系数)
  7789. type: number
  7790. todayopenamount:
  7791. description: 今开仓额
  7792. type: number
  7793. todayopenqty:
  7794. description: 期初均价
  7795. type: number
  7796. userid:
  7797. description: 账户所属用户ID
  7798. type: integer
  7799. type: object
  7800. models.Ermcp3TradeLinkDetail:
  7801. properties:
  7802. accountid:
  7803. description: 资金账号
  7804. type: integer
  7805. agreeunit:
  7806. description: 合约乘数
  7807. type: number
  7808. areauserid:
  7809. description: 所属机构
  7810. type: string
  7811. bizsubjectid:
  7812. description: 归属业务部门ID - SubjectID
  7813. type: string
  7814. buyorsell:
  7815. description: 方向 - 0:买 1:卖
  7816. type: integer
  7817. channelbuildtype:
  7818. description: 委托单据类型 0:无 1:建仓 2:平仓
  7819. type: integer
  7820. contractno:
  7821. description: 现货编号 (合同编号)
  7822. type: string
  7823. convertratio:
  7824. description: 折算系数
  7825. type: number
  7826. createtime:
  7827. description: 关联时间 | 创建时间
  7828. type: string
  7829. creatorid:
  7830. description: 创建人ID
  7831. type: string
  7832. creatorsrc:
  7833. description: 创建人来源 - 1:管理端 2:终端 3:交易
  7834. type: integer
  7835. enumdicname:
  7836. description: 单位名称
  7837. type: string
  7838. goodscode:
  7839. description: 合约代码
  7840. type: string
  7841. goodsgroupid:
  7842. description: 对冲品种ID[期货合约商品组ID]
  7843. type: integer
  7844. goodsid:
  7845. description: 商品ID
  7846. type: integer
  7847. goodsname:
  7848. description: 合约名称
  7849. type: string
  7850. hedgeflag:
  7851. description: 业务类型 | 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安)
  7852. 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)
  7853. type: integer
  7854. linkdetailid:
  7855. description: 关联ID(614+Unix秒时间戳(10位)+xxxxxx)
  7856. type: string
  7857. linkstatus:
  7858. description: 关联状态 - 1:成功 2:失败 3:解绑
  7859. type: integer
  7860. middlegoodscode:
  7861. description: 套保品种代码
  7862. type: string
  7863. middlegoodsid:
  7864. description: 套保品种ID
  7865. type: integer
  7866. middlegoodsname:
  7867. description: 套保品种名称
  7868. type: string
  7869. relatedlot:
  7870. description: 关联手数
  7871. type: number
  7872. relatedmode:
  7873. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  7874. type: integer
  7875. relatedqty:
  7876. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  7877. type: number
  7878. retcode:
  7879. description: 返回码
  7880. type: integer
  7881. saleuserid:
  7882. description: 业务员ID
  7883. type: string
  7884. spotcontractid:
  7885. description: 现货合同\套保计划ID [4,10,11 - 现货合同ID] [9:套期保值(计划) - 套保计划ID]
  7886. type: string
  7887. taname:
  7888. description: 期货账户
  7889. type: string
  7890. tradedate:
  7891. description: 关联交易日(yyyyMMdd)
  7892. type: string
  7893. tradeid:
  7894. description: 期货订单号 | 内部成交单ID
  7895. type: string
  7896. tradelot:
  7897. description: 成交数量 | 成交手数
  7898. type: integer
  7899. tradeprice:
  7900. description: 成交价格
  7901. type: number
  7902. tradetime:
  7903. description: 期货成交时间
  7904. type: string
  7905. tradetradedate:
  7906. description: 成交交易日(yyyyMMdd)
  7907. type: string
  7908. username:
  7909. description: 用户名称
  7910. type: string
  7911. type: object
  7912. models.Ermcp3Wrstandard:
  7913. properties:
  7914. areauserid:
  7915. description: 所属机构
  7916. type: integer
  7917. cantrade:
  7918. description: 是否允许交易 - 0:不允许 1:允许 -1:未配置(数据库里没有记录)
  7919. type: integer
  7920. convertfactor:
  7921. description: 标仓系数
  7922. type: number
  7923. createtime:
  7924. description: 创建时间
  7925. type: string
  7926. creatorid:
  7927. description: 创建人
  7928. type: integer
  7929. deliverygoodsid:
  7930. description: 现货品种ID
  7931. type: integer
  7932. enumdicname:
  7933. description: 品类单位名称
  7934. type: string
  7935. isvalid:
  7936. description: 是否有效 0-无效(停用) 1-有效(正常)
  7937. type: integer
  7938. minivalue:
  7939. description: 最小变动值
  7940. type: integer
  7941. minivaluedp:
  7942. description: 最小变动值小数位
  7943. type: integer
  7944. realminivalue:
  7945. description: 实际最小变动值
  7946. type: integer
  7947. realminivaluedp:
  7948. description: 实际最小变动值小数位
  7949. type: integer
  7950. remark:
  7951. description: 备注
  7952. type: string
  7953. unitid:
  7954. description: 品类单位ID
  7955. type: integer
  7956. updatetime:
  7957. description: 更新时间
  7958. type: string
  7959. wrstandardcode:
  7960. description: 品类代码
  7961. type: string
  7962. wrstandardid:
  7963. description: 品类ID(SEQ_WRSTANDARD)
  7964. type: integer
  7965. wrstandardname:
  7966. description: 品类名称
  7967. type: string
  7968. type: object
  7969. models.Ermcp8EnableHedgeditem:
  7970. properties:
  7971. accountname:
  7972. description: 套期主体
  7973. type: string
  7974. hedgeditemid:
  7975. description: 被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)
  7976. type: string
  7977. hedgeditemname:
  7978. description: 项目名称
  7979. type: string
  7980. hedgeditemnum:
  7981. description: 项目编号
  7982. type: string
  7983. hedgedtype:
  7984. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  7985. type: integer
  7986. planenddate:
  7987. description: 计划结束日期
  7988. type: string
  7989. planstartdate:
  7990. description: 计划开始日期
  7991. type: string
  7992. wrstandardid:
  7993. description: 现货商品ID
  7994. type: integer
  7995. wrstandardname:
  7996. description: 现货商品
  7997. type: string
  7998. type: object
  7999. models.Ermcp8HedgeditemReport:
  8000. properties:
  8001. accountname:
  8002. description: 套期主体
  8003. type: string
  8004. areauserid:
  8005. description: 企业ID
  8006. type: integer
  8007. curprice:
  8008. description: '[当日现货市场价]当前市场价'
  8009. type: number
  8010. enumdicname:
  8011. description: 单位
  8012. type: string
  8013. exeamount:
  8014. description: '[执行现货金额]执行市价总额'
  8015. type: number
  8016. exeavgprice:
  8017. description: '[执行价]执行市场均价= 执行市价总额 / 执行现货量'
  8018. type: number
  8019. exeqty:
  8020. description: '[执行数量]执行现货量'
  8021. type: number
  8022. futurehedgepl:
  8023. description: 期货实际损益
  8024. type: number
  8025. futurehedgeplchange:
  8026. description: 期货实际变动 = 期货实际损益 - 期初期货实际损益
  8027. type: number
  8028. futurepl:
  8029. description: 期货套期损益
  8030. type: number
  8031. futureplchange:
  8032. description: 期货套期变动 = 期货套期损益 - 期初期货套期损益
  8033. type: number
  8034. hedgeamount:
  8035. description: '[套期现货金额]套期市价总额'
  8036. type: number
  8037. hedgeditemnum:
  8038. description: 项目编号,模糊查询
  8039. type: string
  8040. hedgeditemstatus:
  8041. description: 项目状态 - 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  8042. type: integer
  8043. hedgedtype:
  8044. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  8045. type: integer
  8046. hedgeqty:
  8047. description: '[套期数量]套期现货量'
  8048. type: number
  8049. oriavgprice:
  8050. description: '[期初价]期初市场均价 = 套期市价总额 / 套期现货量'
  8051. type: number
  8052. orifuturehedgepl:
  8053. description: 期初期货实际损益
  8054. type: number
  8055. orifuturepl:
  8056. description: 期初期货套期损益
  8057. type: number
  8058. orispothedgepl:
  8059. description: 期初现货实际损益
  8060. type: number
  8061. orispotpl:
  8062. description: 期初现货套期损益
  8063. type: number
  8064. planenddate:
  8065. description: 计划结束日期
  8066. type: string
  8067. planstartdate:
  8068. description: 计划开始日期
  8069. type: string
  8070. spothedgepl:
  8071. description: 现货实际损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)
  8072. type: number
  8073. spothedgeplchange:
  8074. description: 现货实际变动 = 现货实际损益 - 期初现货实际损益
  8075. type: number
  8076. spotpl:
  8077. description: 现货套期损益 = 现货实际损益 + 现货浮动损益
  8078. type: number
  8079. spotplchange:
  8080. description: 现货套期变动 = 现货套期损益 - 期初现货套期损益
  8081. type: number
  8082. tradeuserid:
  8083. description: 交易用户ID
  8084. type: integer
  8085. unexeqty:
  8086. description: 未执行现货量 = 套期现货量 - 执行现货量
  8087. type: number
  8088. wrstandardcode:
  8089. description: 现货品类代码
  8090. type: string
  8091. wrstandardid:
  8092. description: 现货商品ID
  8093. type: integer
  8094. wrstandardname:
  8095. description: '[现货商品]现货品类名称'
  8096. type: string
  8097. type: object
  8098. models.Ermcp8RunningHedgeditem:
  8099. properties:
  8100. accountname:
  8101. description: 套期主体
  8102. type: string
  8103. applyid:
  8104. description: 申请人
  8105. type: integer
  8106. applysrc:
  8107. description: 申请来源 - 1:管理端 2:终端
  8108. type: integer
  8109. areauserid:
  8110. description: 企业ID
  8111. type: integer
  8112. auditid:
  8113. description: 审核人
  8114. type: integer
  8115. auditremark:
  8116. description: 审核备注
  8117. type: string
  8118. auditsrc:
  8119. description: 审核来源 - 1:管理端 2:终端
  8120. type: integer
  8121. audittime:
  8122. description: 审核时间
  8123. type: string
  8124. audittradedate:
  8125. description: 审核交易日(yyyyMMdd)
  8126. type: string
  8127. createtime:
  8128. description: 申请时间
  8129. type: string
  8130. curprice:
  8131. description: 当前市场价
  8132. type: number
  8133. curstock:
  8134. description: 期末库存量 = 采购总量 - 销售总量
  8135. type: number
  8136. deliverygoodsid:
  8137. description: 现货品种ID
  8138. type: integer
  8139. enddate:
  8140. description: 完成日期
  8141. type: string
  8142. endtradedate:
  8143. description: 完成交易日
  8144. type: string
  8145. enumdicname:
  8146. description: 单位
  8147. type: string
  8148. exeamount:
  8149. description: 执行市价总额
  8150. type: number
  8151. exeavgprice:
  8152. description: 执行市场均价= 执行市价总额 / 执行现货量
  8153. type: number
  8154. execontractamount:
  8155. description: 执行定价总额
  8156. type: number
  8157. exeqty:
  8158. description: 执行现货量
  8159. type: number
  8160. exerestamount:
  8161. description: 执行剩余市价总额【现货贸易】
  8162. type: number
  8163. futurefloatpl:
  8164. description: 期货浮动损益
  8165. type: number
  8166. futurehedgepl:
  8167. description: 期货实际损益
  8168. type: number
  8169. futurehedgeplchange:
  8170. description: 期货实际损益变动
  8171. type: number
  8172. futurepl:
  8173. description: 期货套期损益
  8174. type: number
  8175. futureplchange:
  8176. description: 期货套期损益变动
  8177. type: number
  8178. hedgeamount:
  8179. description: 套期市价总额
  8180. type: number
  8181. hedgecontractamount:
  8182. description: 套期定价总额 【定价采购合同】【现货贸易】
  8183. type: number
  8184. hedgeditemid:
  8185. description: 被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)
  8186. type: string
  8187. hedgeditemname:
  8188. description: 项目名称
  8189. type: string
  8190. hedgeditemnum:
  8191. description: 项目编号
  8192. type: string
  8193. hedgeditemstatus:
  8194. description: 项目状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  8195. type: integer
  8196. hedgedtype:
  8197. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  8198. type: integer
  8199. hedgeqty:
  8200. description: 套期现货量
  8201. type: number
  8202. hedgerate:
  8203. description: 套保比率
  8204. type: number
  8205. hedgerestamount:
  8206. description: 套期剩余市价总额【现货贸易】
  8207. type: number
  8208. hedgesumpl:
  8209. description: 套期汇总损益 = 期货汇总损益 + 现货汇总损益
  8210. type: number
  8211. middlegoodslist:
  8212. description: 套期商品列表
  8213. items:
  8214. $ref: '#/definitions/models.Ermcp2himiddlegoods'
  8215. type: array
  8216. oriavgprice:
  8217. description: 期初市场均价 = 套期市价总额 / 套期现货量
  8218. type: number
  8219. orifuturehedgepl:
  8220. description: 期初期货实际损益
  8221. type: number
  8222. orifuturepl:
  8223. description: 期初期货套期损益
  8224. type: number
  8225. orispothedgepl:
  8226. description: 期初现货实际损益
  8227. type: number
  8228. orispotpl:
  8229. description: 期初现货套期损益
  8230. type: number
  8231. planenddate:
  8232. description: 计划结束日期
  8233. type: string
  8234. planstartdate:
  8235. description: 计划开始日期
  8236. type: string
  8237. remark:
  8238. description: 备注
  8239. type: string
  8240. spotbookamount:
  8241. description: 现货账面总额
  8242. type: number
  8243. spotfloatpl:
  8244. description: 现货浮动损益 =(当前市场价 - 期初市场价)*未执行现货量 * 方向(销售计划 为 -1, 其它为1)
  8245. type: number
  8246. spothedgepl:
  8247. description: 现货套期损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)
  8248. type: number
  8249. spothedgeplchange:
  8250. description: 现货实际损益变动
  8251. type: number
  8252. spotpl:
  8253. description: 现货套期损益 = 现货实际损益 + 现货浮动损益
  8254. type: number
  8255. spotplchange:
  8256. description: 现货套期损益变动
  8257. type: number
  8258. spottradepl:
  8259. description: 现货贸易损益【现货贸易】= 执行合同定价总额 - 套期合同定价总额
  8260. type: number
  8261. sumobspl:
  8262. description: 汇总绝对损益【现货贸易】=现货贸易损益+增值税损益+期货套期损益
  8263. type: number
  8264. tradeuserid:
  8265. description: 交易用户ID
  8266. type: integer
  8267. unexeqty:
  8268. description: 未执行现货量 = 套期现货量 - 执行现货量
  8269. type: number
  8270. updatetime:
  8271. description: 更新时间
  8272. type: string
  8273. vatpl:
  8274. description: 增值税损益【现货贸易】= 现货贸易损益 * (增值税率 /(1+增值税率))
  8275. type: number
  8276. vatrate:
  8277. description: 增值税
  8278. type: number
  8279. wrstandardid:
  8280. description: 现货商品ID
  8281. type: integer
  8282. wrstandardname:
  8283. description: 商品名称
  8284. type: string
  8285. type: object
  8286. models.ErmcpBizGroupEx:
  8287. properties:
  8288. acclist:
  8289. description: 账号列表
  8290. items:
  8291. $ref: '#/definitions/models.ErmcpBizGroupTaAccount'
  8292. type: array
  8293. bizgroupid:
  8294. description: 业务分组id
  8295. type: integer
  8296. biztype:
  8297. description: 业务类型 1-套保 2-套利
  8298. type: integer
  8299. wrlist:
  8300. description: 现货商品表
  8301. items:
  8302. $ref: '#/definitions/models.ErmcpBizGroupSpotGoods'
  8303. type: array
  8304. type: object
  8305. models.ErmcpBizGroupSpotGoods:
  8306. properties:
  8307. areauserid:
  8308. description: 所属机构id
  8309. type: integer
  8310. bizgroupid:
  8311. description: 分组id
  8312. type: integer
  8313. biztype:
  8314. description: 业务类型 1-套保 2-套利
  8315. type: integer
  8316. deliverygoodscode:
  8317. description: 现货商品代码
  8318. type: string
  8319. deliverygoodsid:
  8320. description: 现货商品id
  8321. type: integer
  8322. deliverygoodsname:
  8323. description: 现货商品名称
  8324. type: string
  8325. unitid:
  8326. description: 现货商品单位id
  8327. type: integer
  8328. type: object
  8329. models.ErmcpBizGroupTaAccount:
  8330. properties:
  8331. accountid:
  8332. description: 账号id
  8333. type: integer
  8334. accountname:
  8335. description: 账号名称
  8336. type: string
  8337. areauserid:
  8338. description: 所属机构id
  8339. type: integer
  8340. bizgroupid:
  8341. description: 业务分组id
  8342. type: integer
  8343. ismain:
  8344. description: 是否主账号 1-是 0-否
  8345. type: integer
  8346. type: object
  8347. models.ErmcpDGFactoryItem:
  8348. properties:
  8349. areauserid:
  8350. description: 用户id
  8351. type: integer
  8352. deliverygoodsid:
  8353. description: 现货品种ID
  8354. type: integer
  8355. dgfactoryitemid:
  8356. description: 选择项ID(SEQ_DGFACTORYITEM)
  8357. type: integer
  8358. dgfactoryitemtypeid:
  8359. description: 要素项类型
  8360. type: integer
  8361. dgfactoryitemvalue:
  8362. description: 要素项值(类型为仓库时填写仓库名称)
  8363. type: string
  8364. isvalid:
  8365. description: 是否有效 - 0:无效 1:有效
  8366. type: integer
  8367. orderindex:
  8368. description: 顺序
  8369. type: integer
  8370. warehouseid:
  8371. description: 仓库ID(类型为仓库时填写)
  8372. type: integer
  8373. type: object
  8374. models.ErmcpDeliveryGoods:
  8375. properties:
  8376. agreeunit:
  8377. description: 合约单位[散货时默认为1, 整装时默认为标准数量]
  8378. type: integer
  8379. areauserid:
  8380. description: 所属机构
  8381. type: integer
  8382. auditflag:
  8383. description: 交割是否需要审核 - 0:不需要 1:需要审核 默认为0
  8384. type: integer
  8385. categoryid:
  8386. description: 类别ID(SEQ_WRCATEGORY)
  8387. type: integer
  8388. deliverygoodscode:
  8389. description: 现货品种代码
  8390. type: string
  8391. deliverygoodsid:
  8392. description: 现货品种ID(SEQ_DELIVERYGOODS)
  8393. type: integer
  8394. deliverygoodsname:
  8395. description: 现货品种名称
  8396. type: string
  8397. deliverygoodstype:
  8398. description: '现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细'
  8399. type: integer
  8400. dgstatus:
  8401. description: 品种状态 - 作废 - 0:未激活 1:正常
  8402. type: integer
  8403. enumdicname:
  8404. description: 现货品种单位名称
  8405. type: string
  8406. goodsunitid:
  8407. description: 现货品种单位ID
  8408. type: integer
  8409. isvalid:
  8410. description: 是否有效 - 0:无效 1:有效
  8411. type: integer
  8412. qtydecimalplace:
  8413. description: 成交量小数位
  8414. type: integer
  8415. remark:
  8416. description: 备注
  8417. type: string
  8418. standardqty:
  8419. description: 标准数量(库位数量) [标准品特有]
  8420. type: integer
  8421. standardqtyrange:
  8422. description: 标准数量偏差范围 [标准品特有]
  8423. type: integer
  8424. type: object
  8425. models.ErmcpFuturesCompany:
  8426. properties:
  8427. brokerid:
  8428. description: 经纪公司代码
  8429. type: string
  8430. channeladdress:
  8431. description: 对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001
  8432. type: string
  8433. channelid:
  8434. description: 对冲渠道ID
  8435. type: string
  8436. createtime:
  8437. description: 创建时间
  8438. type: string
  8439. creatorid:
  8440. description: 创建人
  8441. type: string
  8442. fcid:
  8443. description: 期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)
  8444. type: integer
  8445. fcname:
  8446. description: 期货公司名称
  8447. type: string
  8448. isvalid:
  8449. description: 是否有效 - 0:无效 1:有效
  8450. type: integer
  8451. mhpaddress:
  8452. description: MHP服务地址(IP:Port)
  8453. type: string
  8454. riskrulegroupid:
  8455. description: 风控规则组ID
  8456. type: string
  8457. tradefeetmpid:
  8458. description: 手续费模板ID[TradeConfigTmpType为2]
  8459. type: string
  8460. trademargintmpid:
  8461. description: 保证金模板ID [TradeConfigTmpType为1]
  8462. type: string
  8463. traderatetmpid:
  8464. description: 汇率模板ID[TradeConfigTmpType为3]
  8465. type: string
  8466. updatetime:
  8467. description: 更新时间
  8468. type: string
  8469. updatorid:
  8470. description: 更新人
  8471. type: string
  8472. type: object
  8473. models.ErmcpGGConvertCfg:
  8474. properties:
  8475. convertratio:
  8476. description: 折算系数
  8477. type: number
  8478. destgoodsgroupid:
  8479. description: 目标品种ID
  8480. type: integer
  8481. dstcode:
  8482. description: 目录品种代码
  8483. type: string
  8484. dstexchangecode:
  8485. description: 目标期货交易所
  8486. type: string
  8487. dstname:
  8488. description: 目标品种名称
  8489. type: string
  8490. dstunitid:
  8491. description: 目标品种单位ID
  8492. type: integer
  8493. dstunitidname:
  8494. description: 目标品种单位名称
  8495. type: string
  8496. modifytime:
  8497. description: 修改时间
  8498. type: string
  8499. srccode:
  8500. description: 源品种代码
  8501. type: string
  8502. srcexchangecode:
  8503. description: 源期货交易所
  8504. type: string
  8505. srcgoodsgroupid:
  8506. description: 源品种ID
  8507. type: integer
  8508. srcname:
  8509. description: 源品种名称
  8510. type: string
  8511. srcunitid:
  8512. description: 源品种单位ID
  8513. type: integer
  8514. srcunitidname:
  8515. description: 源品种单位名称
  8516. type: string
  8517. type: object
  8518. models.ErmcpGoods:
  8519. properties:
  8520. agreeunit:
  8521. description: 合约单位
  8522. type: number
  8523. areauserid:
  8524. description: 所属机构
  8525. type: integer
  8526. auditaccountid:
  8527. description: 审核操作员账号
  8528. type: integer
  8529. audittime:
  8530. description: 审核时间
  8531. type: string
  8532. cancelaccountid:
  8533. description: 注销操作员账号
  8534. type: integer
  8535. canceltime:
  8536. description: 注销时间
  8537. type: string
  8538. closepricemode:
  8539. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  8540. type: integer
  8541. closepriceparam:
  8542. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  8543. type: number
  8544. createtime:
  8545. description: 创建时间
  8546. type: string
  8547. creatorid:
  8548. description: 创建人
  8549. type: integer
  8550. currencyid:
  8551. description: 报价货币ID
  8552. type: integer
  8553. cutmode:
  8554. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  8555. type: integer
  8556. decimalplace:
  8557. description: 报价小数位
  8558. type: integer
  8559. delistingdate:
  8560. description: 商品退市时间(状态:退市) -- 已作废
  8561. type: string
  8562. delistingmode:
  8563. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  8564. type: integer
  8565. deliveryflag:
  8566. description: 交割标志 - 0:不可交割 1:可交割
  8567. type: integer
  8568. enumdicname:
  8569. description: 单位名称
  8570. type: string
  8571. forceclosemode:
  8572. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  8573. type: integer
  8574. forceclosevalue:
  8575. description: 定期强平参数 [收益权]
  8576. type: integer
  8577. goodscode:
  8578. description: 商品代码(内部)
  8579. type: string
  8580. goodscurrencyid:
  8581. description: 合约货币ID
  8582. type: integer
  8583. goodsgroupid:
  8584. description: 所属商品组ID
  8585. type: integer
  8586. goodsid:
  8587. description: 商品ID(自增ID SEQ_GOODS)
  8588. type: integer
  8589. goodsname:
  8590. description: 商品名称
  8591. type: string
  8592. goodsquotetype:
  8593. description: '合约报价类型: 1-直接报价 2-间接报价'
  8594. type: integer
  8595. goodsstatus:
  8596. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  8597. type: integer
  8598. goodstradetype:
  8599. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  8600. type: integer
  8601. goodunitid:
  8602. description: 报价单位ID
  8603. type: integer
  8604. hasquoter:
  8605. description: 是否有报价商 - 0:无报价商 1:有报价商
  8606. type: integer
  8607. hqprotecttime:
  8608. description: 行情保护时间(秒)
  8609. type: integer
  8610. innerdealmode:
  8611. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  8612. type: integer
  8613. isbuylimited:
  8614. description: 是否限制建仓量 - 0:不限制 1:限制
  8615. type: integer
  8616. isvisible:
  8617. description: 游客是否可见 - 0:不可见 1:可见
  8618. type: integer
  8619. lasttradedate:
  8620. description: 最后交易日期(状态:待退市)
  8621. type: string
  8622. listingdate:
  8623. description: 交易开始日期
  8624. type: string
  8625. marketid:
  8626. description: 所属市场ID
  8627. type: integer
  8628. modifierid:
  8629. description: 修改人
  8630. type: integer
  8631. modifystatus:
  8632. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  8633. type: integer
  8634. modifytime:
  8635. description: 修改时间
  8636. type: string
  8637. outerdealmode:
  8638. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  8639. type: integer
  8640. outgoodscode:
  8641. description: 商品代码(外部)
  8642. type: string
  8643. pictureurl:
  8644. description: 商品图片
  8645. type: string
  8646. qtydecimalplace:
  8647. description: 成交量小数位
  8648. type: integer
  8649. quotegear:
  8650. description: 行情档位(1-10)
  8651. type: integer
  8652. quoteminunit:
  8653. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8654. type: integer
  8655. quoteshowtype:
  8656. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  8657. type: integer
  8658. quoteshowtypeinterval:
  8659. description: 行情报价间隔时间(秒)(成交价时为0)
  8660. type: integer
  8661. relatedgoodsid:
  8662. description: 关联参考商品ID
  8663. type: integer
  8664. remark:
  8665. description: 备注
  8666. type: string
  8667. trademode:
  8668. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8669. 21:竞拍-大宗式 22:受托竞价
  8670. type: integer
  8671. required:
  8672. - goodscode
  8673. - goodsid
  8674. - goodsname
  8675. - marketid
  8676. type: object
  8677. models.ErmcpGoodsBrand:
  8678. properties:
  8679. areauserid:
  8680. description: 所属机构
  8681. type: integer
  8682. brandid:
  8683. description: BrandID(SEQ_SPOTGOODSBRAND)
  8684. type: integer
  8685. brandname:
  8686. description: 品牌名称
  8687. type: string
  8688. createtime:
  8689. description: 创建时间
  8690. type: string
  8691. creatorid:
  8692. description: 创建人
  8693. type: integer
  8694. creatorsrc:
  8695. description: 创建人来源 - 1:管理端 2:终端
  8696. type: integer
  8697. deliverygoodsid:
  8698. description: 现货品种ID
  8699. type: integer
  8700. isvalid:
  8701. description: 是否有效 - 0:无效 1:有效
  8702. type: integer
  8703. updatetime:
  8704. description: 更新时间
  8705. type: string
  8706. updatorid:
  8707. description: 更新人
  8708. type: integer
  8709. updatorsrc:
  8710. description: 更新人来源 - 1:管理端 2:终端
  8711. type: integer
  8712. wrstandardid:
  8713. description: 现货商品ID
  8714. type: integer
  8715. type: object
  8716. models.ErmcpGoodsModel:
  8717. properties:
  8718. areauserid:
  8719. description: 所属机构
  8720. type: integer
  8721. convertfactor:
  8722. description: 标仓系数
  8723. type: number
  8724. createtime:
  8725. description: 创建时间
  8726. type: string
  8727. creatorid:
  8728. description: 创建人
  8729. type: integer
  8730. creatorsrc:
  8731. description: 创建人来源 - 1:管理端 2:终端
  8732. type: integer
  8733. deliverygoodsid:
  8734. description: 现货品种ID
  8735. type: integer
  8736. isvalid:
  8737. description: 是否有效 - 0:无效 1:有效
  8738. type: integer
  8739. modelid:
  8740. description: ModelID(SEQ_SPOTGOODSMODEL)
  8741. type: integer
  8742. modelname:
  8743. description: 型号名称
  8744. type: string
  8745. updatetime:
  8746. description: 更新时间
  8747. type: string
  8748. updatorid:
  8749. description: 更新人
  8750. type: integer
  8751. updatorsrc:
  8752. description: 更新人来源 - 1:管理端 2:终端
  8753. type: integer
  8754. wrstandardid:
  8755. description: 现货商品ID
  8756. type: integer
  8757. type: object
  8758. models.ErmcpHisExposure:
  8759. properties:
  8760. needhedgeexposoure:
  8761. description: 应套保敞口
  8762. type: number
  8763. reckondate:
  8764. description: 日照时期(yyyyMMdd)
  8765. type: string
  8766. totalexposure:
  8767. description: 总敞口
  8768. type: number
  8769. type: object
  8770. models.ErmcpLoginTaAccount:
  8771. properties:
  8772. accountid:
  8773. description: 账号id
  8774. type: integer
  8775. accountname:
  8776. description: 账号名称
  8777. type: string
  8778. type: object
  8779. models.ErmcpLoginUser:
  8780. properties:
  8781. acclist:
  8782. description: 关联资金账号
  8783. items:
  8784. $ref: '#/definitions/models.ErmcpLoginTaAccount'
  8785. type: array
  8786. accountname:
  8787. description: 用户名称
  8788. type: string
  8789. clientroleid:
  8790. description: 角色id(usertype=2)
  8791. type: integer
  8792. createtime:
  8793. description: 创建时间
  8794. type: string
  8795. logincode:
  8796. description: 登录代码
  8797. type: string
  8798. loginid:
  8799. description: 登录id(LOGINID)
  8800. type: integer
  8801. loginname:
  8802. description: 登录名称(loginaccount表中的accountname字段)
  8803. type: string
  8804. loginstatus:
  8805. description: 登录账户状态 - 1:正常 2:冻结 3:无效
  8806. type: integer
  8807. memberuserid:
  8808. description: 所属会员id
  8809. type: integer
  8810. mobile:
  8811. description: 手机号
  8812. type: string
  8813. modifytime:
  8814. description: 修改时间
  8815. type: string
  8816. password:
  8817. description: 密码(不可解密)
  8818. type: string
  8819. rolename:
  8820. description: 角色名称
  8821. type: string
  8822. rolestatus:
  8823. description: 角色状态 1-启用 2-停用
  8824. type: integer
  8825. roletype:
  8826. description: 角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员
  8827. type: string
  8828. userid:
  8829. description: 用户id
  8830. type: integer
  8831. usertype:
  8832. description: 用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  8833. type: integer
  8834. type: object
  8835. models.ErmcpLoginUserEx:
  8836. properties:
  8837. accountstatus:
  8838. description: 账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  8839. type: integer
  8840. mobile:
  8841. description: 手机号
  8842. type: string
  8843. querytype:
  8844. description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  8845. type: integer
  8846. roleid:
  8847. description: 角色id(交易账户->用户id)
  8848. type: integer
  8849. rolename:
  8850. description: 角色名称(交易账户->用户名称)
  8851. type: string
  8852. userlist:
  8853. description: 用户列表
  8854. items:
  8855. $ref: '#/definitions/models.ErmcpLoginUser'
  8856. type: array
  8857. usertype:
  8858. description: 用户类型 2-机构 7-企业成员(云平台)
  8859. type: integer
  8860. type: object
  8861. models.ErmcpMiddleGoodsModel:
  8862. properties:
  8863. areauserid:
  8864. description: 机构用户ID
  8865. type: integer
  8866. createtime:
  8867. description: 修改时间
  8868. type: string
  8869. enumdicname:
  8870. description: 单位名称
  8871. type: string
  8872. evaluateratio:
  8873. description: 估价系数
  8874. type: number
  8875. goodsgroupid:
  8876. description: 关联期货品种ID
  8877. type: integer
  8878. goodsunitid:
  8879. description: 单位ID
  8880. type: integer
  8881. isvalid:
  8882. description: 状态 0-无效(停用) 1-有效(正常)
  8883. type: integer
  8884. middlegoodscode:
  8885. description: 套保品种代码
  8886. type: string
  8887. middlegoodsid:
  8888. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  8889. type: integer
  8890. middlegoodsname:
  8891. description: 套保品种名称
  8892. type: string
  8893. modifytime:
  8894. description: 修改时间
  8895. type: string
  8896. needarbitrageratio:
  8897. description: 套利比例
  8898. type: number
  8899. needhedgeratio:
  8900. description: 套保比率
  8901. type: number
  8902. qtydecimalplace:
  8903. description: 数量小数位
  8904. type: integer
  8905. relatedgoodsid:
  8906. description: 关联交易商品ID
  8907. type: integer
  8908. relatedgoodstype:
  8909. description: 关联商品类型 - 1:期货合约 2:现货品种
  8910. type: integer
  8911. remark:
  8912. description: 备注
  8913. type: string
  8914. type: object
  8915. models.ErmcpMiddlegoodsRelateGoods:
  8916. properties:
  8917. agreeunit:
  8918. description: 合约乘数
  8919. type: number
  8920. convertratio:
  8921. description: 折算系数
  8922. type: number
  8923. enumdicname:
  8924. description: 单位名称(交易商品)
  8925. type: string
  8926. goodscode:
  8927. description: 交易商品代码
  8928. type: string
  8929. goodsgroupid:
  8930. description: 交易品种id
  8931. type: integer
  8932. goodsid:
  8933. description: 商品Id
  8934. type: integer
  8935. goodsname:
  8936. description: 交易商品名称
  8937. type: string
  8938. goodunitid:
  8939. description: 交易商品单位id
  8940. type: integer
  8941. middlegoodsid:
  8942. description: 套保商品id
  8943. type: integer
  8944. middlegoodsname:
  8945. description: 套保商品名称
  8946. type: string
  8947. middlegoodsswcode:
  8948. description: 套保商品代码
  8949. type: string
  8950. needarbitrageratio:
  8951. description: 应套利比例
  8952. type: number
  8953. needhedgeratio:
  8954. description: 应套保比例
  8955. type: number
  8956. type: object
  8957. models.ErmcpRole:
  8958. properties:
  8959. areauserid:
  8960. description: 所属机构
  8961. type: integer
  8962. autoid:
  8963. description: 角色ID(自增ID)
  8964. type: integer
  8965. modifierid:
  8966. description: 修改人(创建人)
  8967. type: integer
  8968. modifiername:
  8969. description: 修改人名称
  8970. type: string
  8971. modifytime:
  8972. description: 修改时间(创建时间)
  8973. type: string
  8974. rolename:
  8975. description: 角色名称
  8976. type: string
  8977. rolestatus:
  8978. description: 角色状态 - 1:启用 2:停用
  8979. type: integer
  8980. roletype:
  8981. description: 角色类型 - 1- 管理端 2- 交易端
  8982. type: integer
  8983. type: object
  8984. models.ErmcpRoleMenu:
  8985. properties:
  8986. iconame:
  8987. description: 菜单图标
  8988. type: string
  8989. ishadrole:
  8990. description: 是否有权限
  8991. type: boolean
  8992. menutype:
  8993. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 5:PCWEB(v6)
  8994. type: integer
  8995. parentcode:
  8996. description: 上级资源代码
  8997. type: string
  8998. remark:
  8999. description: 菜单备注
  9000. type: string
  9001. resourcecode:
  9002. description: 菜单代码
  9003. type: string
  9004. resourcelevel:
  9005. description: 级别
  9006. type: integer
  9007. resourcename:
  9008. description: 菜单名称
  9009. type: string
  9010. roleid:
  9011. description: 角色id
  9012. type: integer
  9013. sort:
  9014. description: 排序
  9015. type: integer
  9016. url:
  9017. description: URL
  9018. type: string
  9019. userid:
  9020. description: 用户id
  9021. type: integer
  9022. type: object
  9023. models.ErmcpRoleMenuEx:
  9024. properties:
  9025. menu:
  9026. $ref: '#/definitions/models.ErmcpRoleMenu'
  9027. description: 父级菜单
  9028. subMenu:
  9029. description: 子级菜单
  9030. items:
  9031. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  9032. type: array
  9033. type: object
  9034. models.ErmcpSpotContractModelEx:
  9035. properties:
  9036. accountname:
  9037. description: 套期主体
  9038. type: string
  9039. amount:
  9040. description: 金额 [1:一口价、3:暂定价]
  9041. type: number
  9042. attachment:
  9043. description: 附件
  9044. type: string
  9045. auditremark:
  9046. description: 审核意见
  9047. type: string
  9048. audittime:
  9049. description: 审核时间
  9050. type: string
  9051. avgprice:
  9052. description: 定价均价 = 已定价金额 / 已定价量
  9053. type: number
  9054. brandname:
  9055. description: 品牌名称
  9056. type: string
  9057. buyuserid:
  9058. description: 采购方ID
  9059. type: integer
  9060. buyusername:
  9061. description: 采购方名称
  9062. type: string
  9063. contracctstatus:
  9064. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  9065. type: integer
  9066. contractmargin:
  9067. description: 合同保证金
  9068. type: number
  9069. contractno:
  9070. description: '[合同编号]现货合同编号'
  9071. type: string
  9072. contracttype:
  9073. description: '[合同类型]现货合同类型 - 1:采购 -1:销售'
  9074. type: integer
  9075. convertfactor:
  9076. description: 标仓系数
  9077. type: number
  9078. createtime:
  9079. description: 创建时间
  9080. type: string
  9081. customername:
  9082. description: 对手方
  9083. type: string
  9084. customeruserid:
  9085. description: 客户ID
  9086. type: integer
  9087. deliveryenddate:
  9088. description: 交收期(结束)
  9089. type: string
  9090. deliverygoodscode:
  9091. description: 现货品种代码
  9092. type: string
  9093. deliverygoodsid:
  9094. description: 现货品种ID
  9095. type: integer
  9096. deliverygoodsname:
  9097. description: 现货品种名称
  9098. type: string
  9099. deliverystartdate:
  9100. description: 交收期(开始)
  9101. type: string
  9102. enddate:
  9103. description: 点价结束日期 [2:点价 3:暂定价]
  9104. type: string
  9105. enumdicname:
  9106. description: 单位名称
  9107. type: string
  9108. goodscode:
  9109. description: 点价合约代码
  9110. type: string
  9111. goodsid:
  9112. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  9113. type: integer
  9114. goodsname:
  9115. description: 点价商品名称
  9116. type: string
  9117. isrelated:
  9118. description: 是否已关联计划项目 - 0:否 1:是
  9119. type: integer
  9120. isrelated2:
  9121. description: 是否已关联现货项目 - 0:否 1:是
  9122. type: integer
  9123. margin:
  9124. description: 当前保证金
  9125. type: number
  9126. modelname:
  9127. description: 型号名称
  9128. type: string
  9129. price:
  9130. description: 价格\暂定价 [1:一口价、3:暂定价]
  9131. type: number
  9132. pricedamount:
  9133. description: 已定价金额 = (点价价格+升贴水) * 数量
  9134. type: number
  9135. pricedqty:
  9136. description: 已定价量
  9137. type: number
  9138. pricemove:
  9139. description: 升贴水 [2:点价 3:暂定价]
  9140. type: number
  9141. pricetype:
  9142. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  9143. type: integer
  9144. producttype:
  9145. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  9146. type: integer
  9147. qty:
  9148. description: '[合同数量]数量'
  9149. type: number
  9150. remark:
  9151. description: 备注
  9152. type: string
  9153. selluserid:
  9154. description: 销售方ID
  9155. type: integer
  9156. sellusername:
  9157. description: 销售方名称
  9158. type: string
  9159. spotamount:
  9160. description: 合同现货金额 [不含升贴水]
  9161. type: number
  9162. spotavgprice:
  9163. description: 现货均价 = 合同现货金额 / 已定价量
  9164. type: number
  9165. spotcontractid:
  9166. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  9167. type: string
  9168. spotgoodsbrandid:
  9169. description: 现货品牌ID
  9170. type: integer
  9171. spotgoodsdesc:
  9172. description: 商品型号
  9173. type: string
  9174. spotgoodsmodelid:
  9175. description: 现货型号ID
  9176. type: integer
  9177. startdate:
  9178. description: 点价开始日期 [2:点价 3:暂定价]
  9179. type: string
  9180. tradeuserid:
  9181. description: 交易用户ID
  9182. type: integer
  9183. unpricedqty:
  9184. description: 未定价量 = 合同数量 - 已定价量
  9185. type: number
  9186. updatetime:
  9187. description: 更新时间
  9188. type: string
  9189. userid:
  9190. description: 机构ID
  9191. type: integer
  9192. wrstandardcode:
  9193. description: 现货商品代码
  9194. type: string
  9195. wrstandardid:
  9196. description: 现货商品ID
  9197. type: integer
  9198. wrstandardname:
  9199. description: '[现货商品]现货商品名称'
  9200. type: string
  9201. type: object
  9202. models.ErmcpTaAccount:
  9203. properties:
  9204. accountid:
  9205. description: 账户id
  9206. type: integer
  9207. accountname:
  9208. description: 账户名称
  9209. type: string
  9210. currencyid:
  9211. description: 币种id
  9212. type: integer
  9213. hedgeaccountcode:
  9214. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  9215. type: string
  9216. ismain:
  9217. description: 是否主账户 0-否 1-是
  9218. type: integer
  9219. parentaccountid:
  9220. description: 父账户id
  9221. type: integer
  9222. relateduserid:
  9223. description: 关联userid
  9224. type: integer
  9225. tradefeetmpid:
  9226. description: 手续费模板id
  9227. type: integer
  9228. tradefeetmpname:
  9229. description: 手续费模板名称
  9230. type: string
  9231. trademargintmpid:
  9232. description: 保证金模板id
  9233. type: integer
  9234. trademargintmpname:
  9235. description: 保证金模板名称
  9236. type: string
  9237. traderatetmpid:
  9238. description: 汇率模板id
  9239. type: integer
  9240. traderatetmpname:
  9241. description: 汇率模板名称
  9242. type: string
  9243. tradestatus:
  9244. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  9245. type: integer
  9246. userid:
  9247. description: 用户id
  9248. type: integer
  9249. type: object
  9250. models.ErmcpTaAccountEx:
  9251. properties:
  9252. mainAcc:
  9253. $ref: '#/definitions/models.ErmcpTaAccountM'
  9254. description: 主账号
  9255. subacclist:
  9256. description: 子账号列表
  9257. items:
  9258. $ref: '#/definitions/models.ErmcpTaAccount'
  9259. type: array
  9260. type: object
  9261. models.ErmcpTaAccountInfo:
  9262. properties:
  9263. accountid:
  9264. description: 资金账户ID
  9265. type: integer
  9266. accountname:
  9267. description: 账户名称
  9268. type: string
  9269. balance:
  9270. description: 期初余额
  9271. type: number
  9272. capitalbalance:
  9273. description: 本金余额[外部子账户实际出入金余额]
  9274. type: number
  9275. closepl:
  9276. description: 今日平仓盈亏
  9277. type: number
  9278. creditdecrease:
  9279. description: 今日授信减少
  9280. type: number
  9281. creditincrease:
  9282. description: 今日授信增加
  9283. type: number
  9284. curdebt:
  9285. description: 期末欠款
  9286. type: number
  9287. currencyid:
  9288. description: 货币ID
  9289. type: integer
  9290. currentbalance:
  9291. description: 期末余额
  9292. type: number
  9293. freezecharge:
  9294. description: 手续费冻结
  9295. type: number
  9296. freezemargin:
  9297. description: 冻结保证金
  9298. type: number
  9299. fromaccountid:
  9300. description: 所属上级账户
  9301. type: integer
  9302. inamount:
  9303. description: 今日入金金额(包括三方入金)
  9304. type: number
  9305. ismain:
  9306. description: 是否母账号 0:不是母账户 1:是母账户
  9307. type: integer
  9308. mortgagecredit:
  9309. description: 授信金额
  9310. type: number
  9311. oridebt:
  9312. description: 期初欠款
  9313. type: number
  9314. orifreezecharge:
  9315. description: 期初手续费冻结
  9316. type: number
  9317. orifreezemargin:
  9318. description: 期初冻结保证金
  9319. type: number
  9320. orimortgagecredit:
  9321. description: 期初授信金额
  9322. type: number
  9323. oriothercredit:
  9324. description: 期初其它授信金额
  9325. type: number
  9326. oriotherfreezemargin:
  9327. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  9328. type: number
  9329. orioutamountfreeze:
  9330. description: 期初出金冻结
  9331. type: number
  9332. oriusedmargin:
  9333. description: 期初占用保证金
  9334. type: number
  9335. othercredit:
  9336. description: 其它授信金额
  9337. type: number
  9338. othercreditdecrease:
  9339. description: 今日其它授信减少
  9340. type: number
  9341. othercreditincrease:
  9342. description: 今日其它授信增加
  9343. type: number
  9344. otherfreezemargin:
  9345. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  9346. type: number
  9347. outamount:
  9348. description: 今日出金金额(包括三方出金)
  9349. type: number
  9350. outamountfreeze:
  9351. description: 出金冻结
  9352. type: number
  9353. outthreshold:
  9354. description: 出金阈值
  9355. type: number
  9356. parentaccountid:
  9357. description: 所属根账号
  9358. type: integer
  9359. paycharge:
  9360. description: 今日手续费支出
  9361. type: number
  9362. relateduserid:
  9363. description: 关联用户
  9364. type: integer
  9365. signstatus:
  9366. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  9367. type: integer
  9368. sublevelpath:
  9369. description: 账号层级路径(逗号分隔,首尾加逗号)
  9370. type: string
  9371. taaccounttype:
  9372. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  9373. type: integer
  9374. thirdinamount:
  9375. description: 今日三方入金
  9376. type: number
  9377. thirdoutamount:
  9378. description: 今日三方出金
  9379. type: number
  9380. tradestatus:
  9381. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  9382. type: integer
  9383. transferamount:
  9384. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  9385. type: number
  9386. usedmargin:
  9387. description: 占用保证金
  9388. type: number
  9389. userid:
  9390. description: 用户ID
  9391. type: integer
  9392. type: object
  9393. models.ErmcpTaAccountM:
  9394. properties:
  9395. accountid:
  9396. description: 账户id
  9397. type: integer
  9398. accountname:
  9399. description: 账户名称
  9400. type: string
  9401. currencyid:
  9402. description: 币种id
  9403. type: integer
  9404. fcid:
  9405. description: 期货公司id
  9406. type: integer
  9407. fcname:
  9408. description: 期货公司代码
  9409. type: string
  9410. hedgeaccountcode:
  9411. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  9412. type: string
  9413. ismain:
  9414. description: 是否主账户 0-否 1-是
  9415. type: integer
  9416. parentaccountid:
  9417. description: 父账户id
  9418. type: integer
  9419. relateduserid:
  9420. description: 关联userid
  9421. type: integer
  9422. tradefeetmpid:
  9423. description: 手续费模板id
  9424. type: integer
  9425. tradefeetmpname:
  9426. description: 手续费模板名称
  9427. type: string
  9428. trademargintmpid:
  9429. description: 保证金模板id
  9430. type: integer
  9431. trademargintmpname:
  9432. description: 保证金模板名称
  9433. type: string
  9434. traderatetmpid:
  9435. description: 汇率模板id
  9436. type: integer
  9437. traderatetmpname:
  9438. description: 汇率模板名称
  9439. type: string
  9440. tradestatus:
  9441. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  9442. type: integer
  9443. userid:
  9444. description: 用户id
  9445. type: integer
  9446. type: object
  9447. models.ErmcpTradeConfigTMP:
  9448. properties:
  9449. areauserid:
  9450. description: 所属机构
  9451. type: integer
  9452. basiccurrencyid:
  9453. description: 基本币种ID[汇率] - 目标币种
  9454. type: integer
  9455. mainaccountid:
  9456. description: 主账户ID
  9457. type: integer
  9458. modifierid:
  9459. description: 修改人
  9460. type: integer
  9461. remark:
  9462. description: 备注
  9463. type: string
  9464. tradeconfigtmpid:
  9465. description: 交易配置模板ID(SEQ_TRADECONFIGTMP)
  9466. type: integer
  9467. tradeconfigtmpname:
  9468. description: 交易配置模板名称
  9469. type: string
  9470. tradeconfigtmptype:
  9471. description: 交易配置模板类型 - 1:保证金 2:手续费 3:汇率
  9472. type: integer
  9473. updatetime:
  9474. description: 更新时间
  9475. type: string
  9476. type: object
  9477. models.Ermcpjrlinkpos:
  9478. properties:
  9479. areauserid:
  9480. description: 所属企业
  9481. type: integer
  9482. averageprice:
  9483. description: 持仓均价 (TotalBuyHoldAmount - TotalSellHoldAmount) / NetQty
  9484. type: number
  9485. closepl:
  9486. description: 总平仓盈亏 [期货损益]
  9487. type: number
  9488. executeprice:
  9489. description: 执行价 - 1:期货单 为 0
  9490. type: integer
  9491. futurehedgeqty:
  9492. description: 期货套期量
  9493. type: number
  9494. goodsid:
  9495. description: 期货合约
  9496. type: integer
  9497. middlegoodscode:
  9498. description: 套保商品代码
  9499. type: string
  9500. middlegoodsname:
  9501. description: 套保商品名称
  9502. type: string
  9503. netqty:
  9504. description: 净头寸
  9505. type: number
  9506. optioncode:
  9507. description: 期权代码
  9508. type: string
  9509. ordertype:
  9510. description: 单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单
  9511. type: integer
  9512. reckonpl:
  9513. description: 总盈亏(平仓盈亏 + 结算盈亏 - 手续费)
  9514. type: number
  9515. spotcontractid:
  9516. description: 现货ID [套期项目ID - 金瑞:合同\虚拟合同ID
  9517. type: string
  9518. todayfutureclosepl:
  9519. description: 今日平仓盈亏
  9520. type: number
  9521. totalbuyamount:
  9522. description: 买金额 [期货]
  9523. type: number
  9524. totalbuyholdamount:
  9525. description: 买持仓总金额[期货]
  9526. type: number
  9527. totalbuyqty:
  9528. description: 买数量
  9529. type: number
  9530. totalcharge:
  9531. description: 手续费
  9532. type: number
  9533. totalpremium:
  9534. description: 权利金 [期权]
  9535. type: number
  9536. totalsellamount:
  9537. description: 卖金额 [期货]
  9538. type: number
  9539. totalsellholdamount:
  9540. description: 卖持仓总金额[期货]
  9541. type: number
  9542. totalsellqty:
  9543. description: 卖数量
  9544. type: number
  9545. updatetime:
  9546. description: 更新时间
  9547. type: string
  9548. required:
  9549. - spotcontractid
  9550. type: object
  9551. models.Ermcppatradelinkdetail:
  9552. properties:
  9553. agreeunit:
  9554. description: 合约乘数
  9555. type: number
  9556. amount:
  9557. description: 金额 = RelatedLot * TradePrice * AgreeUnit
  9558. type: number
  9559. areauserid:
  9560. description: 所属机构
  9561. type: integer
  9562. bizsubjectid:
  9563. description: 归属业务部门ID - SubjectID
  9564. type: integer
  9565. buyorsell:
  9566. description: 方向 - 0:买 1:卖
  9567. type: integer
  9568. convertratio:
  9569. description: 品种系数
  9570. type: number
  9571. createtime:
  9572. description: 创建时间
  9573. type: string
  9574. creatorid:
  9575. description: 创建人ID
  9576. type: integer
  9577. creatorsrc:
  9578. description: 创建人来源 - 1:管理端 2:终端 3:交易
  9579. type: integer
  9580. goodsgroupid:
  9581. description: 对冲品种ID[期货合约商品组ID]
  9582. type: integer
  9583. goodsid:
  9584. description: 商品ID
  9585. type: integer
  9586. hedgeditemid:
  9587. description: 现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]
  9588. type: integer
  9589. hedgeflag:
  9590. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  9591. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目
  9592. type: integer
  9593. linkdetailid:
  9594. description: 期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)
  9595. type: string
  9596. linkstatus:
  9597. description: 关联状态 - 1:成功 2:失败 3:解绑
  9598. type: integer
  9599. middlegoodsid:
  9600. description: 套保品种ID
  9601. type: integer
  9602. name:
  9603. description: 账户名/子账户
  9604. type: string
  9605. optioncode:
  9606. description: '[期货合约]期权代码 [期权]'
  9607. type: string
  9608. ordertype:
  9609. description: 单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单
  9610. type: integer
  9611. relatedlot:
  9612. description: '[数量]关联手数'
  9613. type: number
  9614. relatedmode:
  9615. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  9616. type: integer
  9617. relatedqty:
  9618. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  9619. type: number
  9620. retcode:
  9621. description: 返回码
  9622. type: integer
  9623. saleuserid:
  9624. description: 业务员ID
  9625. type: integer
  9626. tradedate:
  9627. description: 关联交易日(yyyyMMdd)
  9628. type: string
  9629. tradeid:
  9630. description: '[成交单号]内部成交单ID'
  9631. type: string
  9632. tradelot:
  9633. description: 成交手数
  9634. type: integer
  9635. tradeprice:
  9636. description: '[价格]成交价格'
  9637. type: number
  9638. tradetime:
  9639. description: 日期时间
  9640. type: string
  9641. tradetradedate:
  9642. description: 成交交易日(yyyyMMdd)
  9643. type: string
  9644. required:
  9645. - hedgeditemid
  9646. type: object
  9647. models.Exchangerateconfig:
  9648. properties:
  9649. descurrencyid:
  9650. description: 目标币种ID
  9651. type: integer
  9652. exchangerate:
  9653. description: 汇率
  9654. type: number
  9655. oricurrencyid:
  9656. description: 源币种ID
  9657. type: integer
  9658. remark:
  9659. description: 备注
  9660. type: string
  9661. type: object
  9662. models.Externalexchange:
  9663. properties:
  9664. autoid:
  9665. description: AutoID - SEQ_EXTERNALEXCHANGE
  9666. type: integer
  9667. exchangefullname:
  9668. description: 外部交易所全称
  9669. type: string
  9670. exexchangecode:
  9671. description: 外部交易所代码
  9672. type: string
  9673. exexchangename:
  9674. description: 外部交易所名称(简称)
  9675. type: string
  9676. ismarketprice:
  9677. description: 是否支持市价 - 0:不支持 1:支持
  9678. type: integer
  9679. quotegear:
  9680. description: 行情档位(1-10)
  9681. type: integer
  9682. showbrokerflag:
  9683. description: 是否显示买卖经纪盘 - 0:不显示 1:显示
  9684. type: integer
  9685. updatetime:
  9686. description: 更新时间
  9687. type: string
  9688. required:
  9689. - autoid
  9690. type: object
  9691. models.Funcmenulist:
  9692. properties:
  9693. iconame:
  9694. description: 菜单图标
  9695. type: string
  9696. menutype:
  9697. description: 菜单类型 1-管理端 2-交易端 3-终端权限
  9698. type: integer
  9699. parentcode:
  9700. description: 上级资源代码
  9701. type: string
  9702. remark:
  9703. description: 备注
  9704. type: string
  9705. resourcecode:
  9706. description: 资源代码
  9707. type: string
  9708. resourcelevel:
  9709. description: 级别 1-一级 2-二级 3-三级 4-四级
  9710. type: integer
  9711. resourcename:
  9712. description: 资源名
  9713. type: string
  9714. sort:
  9715. description: 排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序
  9716. type: integer
  9717. url:
  9718. description: URL
  9719. type: string
  9720. required:
  9721. - resourcecode
  9722. type: object
  9723. models.GErmcpspotgoodsprice:
  9724. properties:
  9725. currencyid:
  9726. description: 报价货币ID
  9727. type: integer
  9728. deliverygoodsid:
  9729. description: 现货品种ID
  9730. type: integer
  9731. spotgoodsbrandid:
  9732. description: 现货品牌ID(通用则为0, 不为0则须先有商品ID)
  9733. type: integer
  9734. spotgoodsprice:
  9735. description: 【最新价】当前价格
  9736. type: number
  9737. srcmarketname:
  9738. description: 来源市场名称
  9739. type: string
  9740. todaypricedtotalamount:
  9741. description: 今日定价金额
  9742. type: number
  9743. todaypricedtotalqty:
  9744. description: 今日定价总量
  9745. type: number
  9746. todayspotgoodsprice:
  9747. description: 今日指定价
  9748. type: number
  9749. tradedate:
  9750. description: 【日期】交易日
  9751. type: string
  9752. wrstandardcode:
  9753. description: 现货商品代码
  9754. type: string
  9755. wrstandardid:
  9756. description: 现货商品ID(通用则为0)
  9757. type: integer
  9758. wrstandardname:
  9759. description: 【名称】现货商品名称
  9760. type: string
  9761. ystspotgoodsprice:
  9762. description: 昨价
  9763. type: number
  9764. type: object
  9765. models.GThjuserscorelog:
  9766. properties:
  9767. createtime:
  9768. description: 记账时间
  9769. type: string
  9770. redpacketvalue:
  9771. description: 红包值【抽奖】
  9772. type: number
  9773. score:
  9774. description: 变动积分
  9775. type: number
  9776. scoreconfigtype:
  9777. description: 配置类型 - 1:注册红包 2:签到积分 3:推广积分 4:下级用户下单积分 5:自己采购下单积分 6:自己供求下单积分
  9778. 7:抽奖配置
  9779. type: integer
  9780. stype:
  9781. description: '[格式:1,2,3] 配置类型 - 1:注册红包 2:签到积分 3:推广积分 4:下级用户下单积分 5:自己采购下单积分
  9782. 6:自己供求下单积分 7:抽奖配置'
  9783. type: string
  9784. type: object
  9785. models.GZGoods:
  9786. properties:
  9787. address:
  9788. description: 详细地址
  9789. type: string
  9790. cerno:
  9791. description: 证书编号 - 类型:2,4,5
  9792. type: string
  9793. cityname:
  9794. description: 城市名称
  9795. type: string
  9796. countryname:
  9797. description: 国家名称
  9798. type: string
  9799. cpcertno:
  9800. description: 金伯利证书编号 - 类型:3
  9801. type: string
  9802. districtname:
  9803. description: 地区名称
  9804. type: string
  9805. goodsno:
  9806. description: 商品编号
  9807. type: string
  9808. imagepath:
  9809. description: 商品照片(相对地址)
  9810. type: string
  9811. isvalid:
  9812. description: 是否有效 - 0:无效 1:有效
  9813. type: integer
  9814. kppath:
  9815. description: 金伯利证书图片(相对地址) - 类型:3
  9816. type: string
  9817. kpweight:
  9818. description: 金伯利证书重量 - 类型:3
  9819. type: string
  9820. marketprice:
  9821. description: 市场价
  9822. type: string
  9823. mobile:
  9824. description: 手机号码
  9825. type: string
  9826. origin:
  9827. description: 原产地 - 类型:3
  9828. type: string
  9829. performancetemplateid:
  9830. description: 履约计划模板ID
  9831. type: integer
  9832. price:
  9833. description: 总价(价格) - 类型:1,2,3,4,5
  9834. type: number
  9835. priceper:
  9836. description: 克拉单价 - 类型:1,2,3,5
  9837. type: string
  9838. provincename:
  9839. description: 省名称
  9840. type: string
  9841. remainqty:
  9842. description: 剩余重量
  9843. type: number
  9844. remark:
  9845. description: 备注
  9846. type: string
  9847. sellusername:
  9848. description: 账户名称(机构名称)
  9849. type: string
  9850. settingmaterial:
  9851. description: 镶嵌材料 - 类型:4
  9852. type: string
  9853. size1:
  9854. description: 尺寸1 - 类型:2,4,5
  9855. type: string
  9856. size2:
  9857. description: 尺寸2 - 类型:2,4,5
  9858. type: string
  9859. size3:
  9860. description: 尺寸3 - 类型:2,4,5
  9861. type: string
  9862. sizedisplay:
  9863. description: 尺寸
  9864. type: string
  9865. stonedesc:
  9866. description: 配石描述 - 类型:4
  9867. type: string
  9868. userid:
  9869. description: 用户ID
  9870. type: integer
  9871. warehouseid:
  9872. description: 仓库ID
  9873. type: integer
  9874. warehousenamedisplay:
  9875. type: string
  9876. weight:
  9877. description: 总重量(克拉重量) - 类型:1,2,3,4,5
  9878. type: number
  9879. weightavg:
  9880. description: 平均单颗重量 - 类型:1,3
  9881. type: number
  9882. wrpath:
  9883. description: 仓单扫描件(相对地址)
  9884. type: string
  9885. wrstandardid:
  9886. description: 现货商品ID
  9887. type: integer
  9888. wrtradeorderid:
  9889. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  9890. type: string
  9891. zscategory:
  9892. description: 钻石分类 - 枚举”ZSCategory“
  9893. type: integer
  9894. zscategorydisplay:
  9895. type: string
  9896. zscerttype:
  9897. description: 证书类型 - 枚举”ZSCertType“ - 类型:2,4,5
  9898. type: integer
  9899. zscerttypedisplay:
  9900. type: string
  9901. zsclaritytype1:
  9902. description: 净度1 - 枚举”ZSClarityType“ - 类型:1,2,3,4,5
  9903. type: integer
  9904. zsclaritytype1display:
  9905. type: string
  9906. zsclaritytype2:
  9907. description: 净度2 - 枚举”ZSClarityType“ - 类型:1,3
  9908. type: integer
  9909. zsclaritytype2display:
  9910. type: string
  9911. zscolortype1:
  9912. description: 颜色1 - 枚举”ZSColorType“ - 类型:1,2,3,4
  9913. type: integer
  9914. zscolortype1display:
  9915. type: string
  9916. zscolortype2:
  9917. description: 颜色2 - 枚举”ZSColorType“ - 类型:1,3
  9918. type: integer
  9919. zscolortype2display:
  9920. type: string
  9921. zscrystaltype:
  9922. description: 晶型范围 - 枚举“ZSCrystalType“ - 类型:3, 多个,逗号分隔
  9923. type: string
  9924. zscrystaltypedisplay:
  9925. type: string
  9926. zscurrencytype:
  9927. description: 货币类型 - 枚举“ZSCurrencyType”
  9928. type: integer
  9929. zscurrencytypedisplay:
  9930. type: string
  9931. zscurrencytypedisplayunit:
  9932. type: string
  9933. zscuttype1:
  9934. description: 切工1 - 枚举”ZSCutType“ - 类型:1,2,4,5
  9935. type: integer
  9936. zscuttype1display:
  9937. type: string
  9938. zscuttype2:
  9939. description: 切工2 - 枚举”ZSCutType“ - 类型:1
  9940. type: integer
  9941. zscuttype2display:
  9942. type: string
  9943. zsczcolor1type:
  9944. description: 彩钻颜色1 - 枚举”ZSCZColor1Type“ - 类型:5
  9945. type: integer
  9946. zsczcolor1typedisplay:
  9947. type: string
  9948. zsczcolor2type:
  9949. description: 彩钻颜色2 - 枚举”ZSCZColor2Type“ - 类型:5
  9950. type: integer
  9951. zsczcolor2typedisplay:
  9952. type: string
  9953. zsczcolor3type:
  9954. description: 彩钻颜色3 - 枚举”ZSCZColor3Type“ - 类型:5
  9955. type: integer
  9956. zsczcolor3typedisplay:
  9957. type: string
  9958. zsfluorescencetype1:
  9959. description: 荧光1 - 枚举”ZSFluorescenceType“ - 类型:1,2,3,4,5
  9960. type: integer
  9961. zsfluorescencetype1display:
  9962. type: string
  9963. zsfluorescencetype2:
  9964. description: 荧光2 - 枚举”ZSFluorescenceType” - 类型:1,3
  9965. type: integer
  9966. zsfluorescencetype2display:
  9967. type: string
  9968. zspolishtype1:
  9969. description: 抛光度1 - 枚举”ZSPolishType“ - 类型:1,2,4,5
  9970. type: integer
  9971. zspolishtype1display:
  9972. type: string
  9973. zspolishtype2:
  9974. description: 抛光度2 - 枚举”ZSPolishType“ - 类型:1
  9975. type: integer
  9976. zspolishtype2display:
  9977. type: string
  9978. zsshapetype:
  9979. description: 形状 - 枚举”ZSShapeType“ - 类型:1,2,4,5 ;(1为多个,逗号分隔)
  9980. type: string
  9981. zsshapetypedisplay:
  9982. type: string
  9983. zsstyletype:
  9984. description: 款式 - 类型:4
  9985. type: integer
  9986. zsstyletypedisplay:
  9987. type: string
  9988. zssymmetrytype1:
  9989. description: 对称度1 - 枚举”ZSSymmetryType“ - 类型:1,2,4,5
  9990. type: integer
  9991. zssymmetrytype1display:
  9992. type: string
  9993. zssymmetrytype2:
  9994. description: 对称度2 - 枚举”ZSSymmetryType“ - 类型:1
  9995. type: integer
  9996. zssymmetrytype2display:
  9997. type: string
  9998. required:
  9999. - goodsno
  10000. type: object
  10001. models.GZHomeData:
  10002. properties:
  10003. purchasedtransactions:
  10004. description: 已购买的交易
  10005. type: integer
  10006. transactioninpurchase:
  10007. description: 求购中的交易
  10008. type: integer
  10009. transactionsonsale:
  10010. description: 出售中的交易
  10011. type: integer
  10012. transactionssold:
  10013. description: 已卖出的交易
  10014. type: integer
  10015. unhandledmessage:
  10016. description: 未处理消息
  10017. type: integer
  10018. type: object
  10019. models.GZWarehouseinfo:
  10020. properties:
  10021. address:
  10022. description: 详细地址
  10023. type: string
  10024. areauserid:
  10025. description: 所属机构
  10026. type: integer
  10027. autoid:
  10028. description: 自增ID
  10029. type: integer
  10030. cityid:
  10031. description: 市
  10032. type: integer
  10033. cityname:
  10034. description: 城市名称
  10035. type: string
  10036. contactname:
  10037. description: 联系人
  10038. type: string
  10039. contactnum:
  10040. description: 联系电话
  10041. type: string
  10042. countryid:
  10043. description: 国家
  10044. type: integer
  10045. countryname:
  10046. description: 国家名称
  10047. type: string
  10048. createtime:
  10049. description: 创建时间
  10050. type: string
  10051. districtid:
  10052. description: 区
  10053. type: integer
  10054. districtname:
  10055. description: 地区名称
  10056. type: string
  10057. hasvideo:
  10058. description: 是否有视频 - 0:无 1:有
  10059. type: integer
  10060. provinceid:
  10061. description: 省
  10062. type: integer
  10063. provincename:
  10064. description: 省名称
  10065. type: string
  10066. remark:
  10067. description: 审核备注
  10068. type: string
  10069. videourl:
  10070. description: 视频地址
  10071. type: string
  10072. warehousecode:
  10073. description: 仓库代码
  10074. type: string
  10075. warehousename:
  10076. description: 仓库名称
  10077. type: string
  10078. warehousestatus:
  10079. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  10080. type: integer
  10081. warehousetype:
  10082. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  10083. type: integer
  10084. type: object
  10085. models.Goods:
  10086. properties:
  10087. agreeunit:
  10088. description: 合约单位
  10089. type: number
  10090. areauserid:
  10091. description: 所属机构
  10092. type: integer
  10093. auditaccountid:
  10094. description: 审核操作员账号
  10095. type: integer
  10096. audittime:
  10097. description: 审核时间
  10098. type: string
  10099. cancelaccountid:
  10100. description: 注销操作员账号
  10101. type: integer
  10102. canceltime:
  10103. description: 注销时间
  10104. type: string
  10105. closepricemode:
  10106. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  10107. type: integer
  10108. closepriceparam:
  10109. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  10110. type: number
  10111. createtime:
  10112. description: 创建时间
  10113. type: string
  10114. creatorid:
  10115. description: 创建人
  10116. type: integer
  10117. currencyid:
  10118. description: 报价货币ID
  10119. type: integer
  10120. cutmode:
  10121. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  10122. type: integer
  10123. decimalplace:
  10124. description: 报价小数位
  10125. type: integer
  10126. delistingdate:
  10127. description: 商品退市时间(状态:退市) -- 已作废
  10128. type: string
  10129. delistingmode:
  10130. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  10131. type: integer
  10132. deliveryflag:
  10133. description: 交割标志 - 0:不可交割 1:可交割
  10134. type: integer
  10135. forceclosemode:
  10136. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  10137. type: integer
  10138. forceclosevalue:
  10139. description: 定期强平参数 [收益权]
  10140. type: integer
  10141. goodscode:
  10142. description: 商品代码(内部)
  10143. type: string
  10144. goodscurrencyid:
  10145. description: 合约货币ID
  10146. type: integer
  10147. goodsgroupid:
  10148. description: 所属商品组ID
  10149. type: integer
  10150. goodsid:
  10151. description: 商品ID(自增ID SEQ_GOODS)
  10152. type: integer
  10153. goodsname:
  10154. description: 商品名称
  10155. type: string
  10156. goodsquotetype:
  10157. description: '合约报价类型: 1-直接报价 2-间接报价'
  10158. type: integer
  10159. goodsstatus:
  10160. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  10161. type: integer
  10162. goodstradetype:
  10163. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  10164. type: integer
  10165. goodunitid:
  10166. description: 报价单位ID
  10167. type: integer
  10168. hasquoter:
  10169. description: 是否有报价商 - 0:无报价商 1:有报价商
  10170. type: integer
  10171. hqprotecttime:
  10172. description: 行情保护时间(秒)
  10173. type: integer
  10174. innerdealmode:
  10175. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  10176. type: integer
  10177. isbuylimited:
  10178. description: 是否限制建仓量 - 0:不限制 1:限制
  10179. type: integer
  10180. isvisible:
  10181. description: 游客是否可见 - 0:不可见 1:可见
  10182. type: integer
  10183. lasttradedate:
  10184. description: 最后交易日期(状态:待退市)
  10185. type: string
  10186. listingdate:
  10187. description: 交易开始日期
  10188. type: string
  10189. marketid:
  10190. description: 所属市场ID
  10191. type: integer
  10192. modifierid:
  10193. description: 修改人
  10194. type: integer
  10195. modifystatus:
  10196. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  10197. type: integer
  10198. modifytime:
  10199. description: 修改时间
  10200. type: string
  10201. outerdealmode:
  10202. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  10203. type: integer
  10204. outgoodscode:
  10205. description: 商品代码(外部)
  10206. type: string
  10207. pictureurl:
  10208. description: 商品图片
  10209. type: string
  10210. qtydecimalplace:
  10211. description: 成交量小数位
  10212. type: integer
  10213. quotegear:
  10214. description: 行情档位(1-10)
  10215. type: integer
  10216. quoteminunit:
  10217. description: 行情最小变动单位 [整数,报价小数位一起使用]
  10218. type: integer
  10219. quoteshowtype:
  10220. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  10221. type: integer
  10222. quoteshowtypeinterval:
  10223. description: 行情报价间隔时间(秒)(成交价时为0)
  10224. type: integer
  10225. remark:
  10226. description: 备注
  10227. type: string
  10228. required:
  10229. - goodscode
  10230. - goodsid
  10231. - goodsname
  10232. - marketid
  10233. type: object
  10234. models.GoodsIDAndName:
  10235. properties:
  10236. goodscode:
  10237. description: 商品代码(内部)
  10238. type: string
  10239. goodsid:
  10240. description: 商品ID(自增ID SEQ_GOODS)
  10241. type: integer
  10242. goodsname:
  10243. description: 商品名称
  10244. type: string
  10245. marketid:
  10246. description: 所属市场ID
  10247. type: integer
  10248. required:
  10249. - goodscode
  10250. - goodsid
  10251. - goodsname
  10252. - marketid
  10253. type: object
  10254. models.Goodsgroup:
  10255. properties:
  10256. agreeunit:
  10257. description: 合约单位
  10258. type: number
  10259. canshort:
  10260. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  10261. type: integer
  10262. closepricemode:
  10263. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  10264. type: integer
  10265. closepriceparam:
  10266. description: 强平最新价浮动比例 - 方式为2时使用
  10267. type: number
  10268. createtime:
  10269. description: 创建时间
  10270. type: string
  10271. creatorid:
  10272. description: 创建人
  10273. type: integer
  10274. currencyid:
  10275. description: 报价货币ID
  10276. type: integer
  10277. decimalplace:
  10278. description: 报价小数位
  10279. type: integer
  10280. exercisetype:
  10281. description: 行权类型[场外期权]-1:欧式期权 2:美式期权
  10282. type: integer
  10283. exexchangeid:
  10284. description: 外部交易所ID[通道交易]
  10285. type: integer
  10286. goodsgroupid:
  10287. description: 商品组ID(自增ID)
  10288. type: integer
  10289. goodsgroupname:
  10290. description: 商品组名称
  10291. type: string
  10292. goodsgroupstatus:
  10293. description: 商品组状态 - 1:正常 2:注销
  10294. type: integer
  10295. goodunitid:
  10296. description: 报价单位ID
  10297. type: integer
  10298. innerdealmode:
  10299. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  10300. type: integer
  10301. isbuylimited:
  10302. description: 是否限制建仓量 - 0:不限制 1:限制
  10303. type: integer
  10304. marketid:
  10305. description: 所属市场ID
  10306. type: integer
  10307. modifierid:
  10308. description: 修改人
  10309. type: integer
  10310. modifytime:
  10311. description: 修改时间
  10312. type: string
  10313. outerdealmode:
  10314. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  10315. type: integer
  10316. outergroupcode:
  10317. description: 外部商品组代码[通道交易]
  10318. type: string
  10319. premiumdecimalplace:
  10320. description: 权利金小数位[场外期权]
  10321. type: integer
  10322. premiumspreadalgorithm:
  10323. description: 权利金点差方式[场外期权] 1:比率 2:固定
  10324. type: integer
  10325. premiumspreadvalue:
  10326. description: 权利金点差值[场外期权]
  10327. type: number
  10328. qtydecimalplace:
  10329. description: 成交量小数位
  10330. type: integer
  10331. quotegear:
  10332. description: 行情档位(1-10)
  10333. type: integer
  10334. quoteminunit:
  10335. description: 行情最小变动单位 [整数,报价小数位一起使用]
  10336. type: integer
  10337. quoterid:
  10338. description: 报价商ID[场外期权]
  10339. type: integer
  10340. quotesourcegroupid:
  10341. description: 所属行情源分组ID[参考行情市场用\通道交易]
  10342. type: integer
  10343. syncgoodsqty:
  10344. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  10345. type: integer
  10346. required:
  10347. - goodsgroupid
  10348. - goodsgroupname
  10349. - goodsgroupstatus
  10350. - marketid
  10351. type: object
  10352. models.Goodssortbypreposition:
  10353. properties:
  10354. goodscode:
  10355. description: 合约代码 - 易盛接口:合约代码=品种代码+合约代码
  10356. type: string
  10357. goodsgroupcode:
  10358. description: 品种代码
  10359. type: string
  10360. prepositionqty:
  10361. description: 昨持仓量
  10362. type: integer
  10363. sortindex:
  10364. description: 排序
  10365. type: integer
  10366. tradedate:
  10367. description: 交易日
  10368. type: string
  10369. updatetime:
  10370. description: 更新时间
  10371. type: string
  10372. required:
  10373. - goodscode
  10374. - tradedate
  10375. type: object
  10376. models.GzbsfworderM:
  10377. properties:
  10378. accountid:
  10379. description: 资金账户ID
  10380. type: integer
  10381. addresscn:
  10382. description: 地址(中文)
  10383. type: string
  10384. addressen:
  10385. description: 地址(英文)
  10386. type: string
  10387. advanceamount:
  10388. description: 总预付款
  10389. type: number
  10390. colorrange:
  10391. description: 颜色范围
  10392. type: string
  10393. companynamecn:
  10394. description: 收货人(中文)
  10395. type: string
  10396. companynameen:
  10397. description: 收货人(英文)
  10398. type: string
  10399. contactfax:
  10400. description: 收货人传真
  10401. type: string
  10402. contactname:
  10403. description: 收货人姓名
  10404. type: string
  10405. contactphoneno:
  10406. description: 收货人电话
  10407. type: string
  10408. contentrange:
  10409. description: 【内容】内容范围
  10410. type: string
  10411. createtime:
  10412. description: 创建时间
  10413. type: string
  10414. executestatus:
  10415. description: 执行状态 - 1:未生效 2:进行中 3:已结束
  10416. type: integer
  10417. gzbsdeliverytype:
  10418. description: 收货方式 - 枚举"GZBSDeliveryType"
  10419. type: integer
  10420. gzbsstatus:
  10421. description: 单据状态(保税服务) - 枚举"GZBSStatus"
  10422. type: integer
  10423. gzbsstatusdisplay:
  10424. description: 单据状态
  10425. type: string
  10426. handlestatus:
  10427. description: 处理状态
  10428. type: integer
  10429. orderdate:
  10430. description: 单据日期
  10431. type: string
  10432. orderid:
  10433. description: 单据ID(804+Unix秒时间戳(10位)+xxxxxx)
  10434. type: integer
  10435. orderno:
  10436. description: 单据编号 - GZDEBSFW+单据流水号
  10437. type: string
  10438. ordersn:
  10439. description: 单据流水号 - yymm000 - yy表示年份,mm表示月份,年份、月份以两位数表示;000表示流水序号,序号不足三位以0补全
  10440. type: string
  10441. origincountry:
  10442. description: 原产国
  10443. type: string
  10444. otherlogistics:
  10445. description: 指定其它物流
  10446. type: string
  10447. priceper:
  10448. description: 单价(美元/克拉) = 总值(美元) / 总净重(克拉)
  10449. type: number
  10450. settleamount:
  10451. description: 总结算费用 - 实际扣除资金,不含税费保证金
  10452. type: number
  10453. shaperange:
  10454. description: 形状范围
  10455. type: string
  10456. taxmargin:
  10457. description: 税费保证金 - 确认结算费用时退回
  10458. type: number
  10459. totalamount:
  10460. description: 总值(美元)
  10461. type: number
  10462. totalgrossweightgm:
  10463. description: 总毛重(克)
  10464. type: number
  10465. totalnetweightgm:
  10466. description: 总净重(克)
  10467. type: number
  10468. totalnetweigthct:
  10469. description: 总净重(克拉)
  10470. type: number
  10471. totalnumber:
  10472. description: 总粒数
  10473. type: integer
  10474. userid:
  10475. description: 用户ID
  10476. type: integer
  10477. weightrange:
  10478. description: 重量规格范围 - Min(NetWeigthCT)- Max(NetWeigthCT)
  10479. type: string
  10480. required:
  10481. - userid
  10482. type: object
  10483. models.GzbsfworderdetailM:
  10484. properties:
  10485. colorinfo:
  10486. description: 彩钻信息
  10487. type: string
  10488. createtime:
  10489. description: 创建时间
  10490. type: string
  10491. grossweightgm:
  10492. description: 毛重(克)
  10493. type: number
  10494. gzcjshape:
  10495. description: 形状(字符)
  10496. type: string
  10497. netweigthct:
  10498. description: 净重(克拉)
  10499. type: number
  10500. netweigthgm:
  10501. description: 净重(克)
  10502. type: number
  10503. ordercontent:
  10504. description: 内容
  10505. type: string
  10506. orderdetailid:
  10507. description: 单据明细ID(805+Unix秒时间戳(10位)+xxxxxx)
  10508. type: integer
  10509. orderid:
  10510. description: 单据ID(804+Unix秒时间戳(10位)+xxxxxx)
  10511. type: integer
  10512. orderindex:
  10513. description: 顺序
  10514. type: integer
  10515. perprice:
  10516. description: 单价(美元/克拉) = 总值(美元) / 净重(克拉)
  10517. type: number
  10518. remark:
  10519. description: 备注(其它)
  10520. type: string
  10521. totalamount:
  10522. description: 总值(美元)
  10523. type: number
  10524. type: object
  10525. models.Gzbsfworderoperate:
  10526. properties:
  10527. advanceproofaddr:
  10528. description: 预付款收款凭证(确认结算费用时)
  10529. type: string
  10530. bankfee:
  10531. description: 汇款银行手续费
  10532. type: number
  10533. bankproofaddr:
  10534. description: 广钻汇款银行手续费凭证(确认结算费用时)
  10535. type: string
  10536. customsproofaddr:
  10537. description: 海关税费保证金收据(确认结算费用时)
  10538. type: string
  10539. gzbsstatus:
  10540. description: 操作后单据状态 - 枚举"GZBSStatus"
  10541. type: integer
  10542. logisticsfee:
  10543. description: 代缴物流保险费
  10544. type: number
  10545. logisticsproofaddr:
  10546. description: 代缴物流保险费凭证(确认结算费用时)
  10547. type: string
  10548. operatetime:
  10549. description: 操作时间
  10550. type: string
  10551. operatoraccount:
  10552. description: 操作人账号 - systemmanager的logincode 或 loginaccount的logincode,无则用loginid
  10553. type: string
  10554. operatorid:
  10555. description: 操作人ID - systemmanager的autoid 或 loginaccount的loginid
  10556. type: integer
  10557. operatorname:
  10558. description: 操作人名称 - systemmanager的username 或 loginaccount的logincode,无则用loginid
  10559. type: string
  10560. operatorsrc:
  10561. description: 操作人来源 - 1:管理端 2:终端
  10562. type: integer
  10563. orderid:
  10564. description: 单据ID(804+Unix秒时间戳(10位)+xxxxxx)
  10565. type: integer
  10566. otherfee:
  10567. description: 其它费用
  10568. type: number
  10569. remark:
  10570. description: 操作备注
  10571. type: string
  10572. servicefee:
  10573. description: 综合服务费
  10574. type: number
  10575. taxmargin:
  10576. description: 税费保证金
  10577. type: number
  10578. totalfee:
  10579. description: 总费用 = 费用之和 (结算费用时不含税费保证金)
  10580. type: number
  10581. required:
  10582. - orderid
  10583. type: object
  10584. models.Gzcertaddressconfig:
  10585. properties:
  10586. certregion:
  10587. description: 证书地域 - 1:国内 2:国际
  10588. type: integer
  10589. certtype:
  10590. description: 证书类型
  10591. type: string
  10592. orderindex:
  10593. description: 显示顺序
  10594. type: integer
  10595. orgcnname:
  10596. description: 机构名称(中文)
  10597. type: string
  10598. orgenname:
  10599. description: 机构名称(英文)
  10600. type: string
  10601. queryaddress:
  10602. description: 查询地址
  10603. type: string
  10604. remark:
  10605. description: 备注
  10606. type: string
  10607. updatetime:
  10608. description: 更新时间
  10609. type: string
  10610. type: object
  10611. models.Gzcertaddressparam:
  10612. properties:
  10613. certtype:
  10614. description: 证书类型
  10615. type: string
  10616. orderindex:
  10617. description: 参数顺序
  10618. type: integer
  10619. paramkey:
  10620. description: 参数Key
  10621. type: string
  10622. paramname:
  10623. description: 参数名称
  10624. type: string
  10625. updatetime:
  10626. description: 更新时间
  10627. type: string
  10628. type: object
  10629. models.GzcjbsorderfileM:
  10630. properties:
  10631. canmembervisit:
  10632. description: 会员是否可访问 - 1:可 2:不可
  10633. type: integer
  10634. fileaddress:
  10635. description: 文件地址
  10636. type: string
  10637. filegentype:
  10638. description: 文件生成类型 - 1:系统生成 2:手动上传
  10639. type: integer
  10640. filename:
  10641. description: 文件名称
  10642. type: string
  10643. operatetime:
  10644. description: 操作时间
  10645. type: string
  10646. operatoraccount:
  10647. description: 操作人账号 - systemmanager的logincode 或 loginaccount的logincode,无则用loginid
  10648. type: string
  10649. operatorid:
  10650. description: 操作人ID - systemmanager的autoid 或 loginaccount的loginid
  10651. type: integer
  10652. operatorsrc:
  10653. description: 操作人来源 - 1:管理端 2:终端
  10654. type: integer
  10655. orderfileid:
  10656. description: 单据文件ID(803+Unix秒时间戳(10位)+xxxxxx)
  10657. type: integer
  10658. orderid:
  10659. description: 单据ID(801+Unix秒时间戳(10位)+xxxxxx)
  10660. type: integer
  10661. required:
  10662. - orderid
  10663. type: object
  10664. models.GzcjjcorderM:
  10665. properties:
  10666. accountid:
  10667. description: 资金账户ID
  10668. type: integer
  10669. addresscn:
  10670. description: 地址(中文)
  10671. type: string
  10672. addressen:
  10673. description: 地址(英文)
  10674. type: string
  10675. advanceamount:
  10676. description: 总预付款
  10677. type: number
  10678. colorrange:
  10679. description: 颜色范围
  10680. type: string
  10681. companynamecn:
  10682. description: 公司名称(中文)
  10683. type: string
  10684. companynameen:
  10685. description: 公司名称(英文)
  10686. type: string
  10687. contactname:
  10688. description: 联系人姓名
  10689. type: string
  10690. contactphoneno:
  10691. description: 联系人电话
  10692. type: string
  10693. contactposition:
  10694. description: 联系人职位
  10695. type: string
  10696. createtime:
  10697. description: 创建时间
  10698. type: string
  10699. email:
  10700. description: 邮箱
  10701. type: string
  10702. executestatus:
  10703. description: 执行状态 - 1:未生效 2:进行中 3:已结束
  10704. type: integer
  10705. gzcjaccount:
  10706. description: 送检账户
  10707. type: string
  10708. gzcjaccounttype:
  10709. description: 检测账户类型 - 枚举"GZCJAccountType"
  10710. type: integer
  10711. gzcjcategorytype:
  10712. description: 货物品类 - 枚举"GZCJCategoryType"
  10713. type: integer
  10714. gzcjcategorytypedisplay:
  10715. description: 货物品类
  10716. type: string
  10717. gzcjdeliverytype:
  10718. description: 收货方式 - 枚举"GZCJDeliveryType"
  10719. type: integer
  10720. gzcjdeliverytypedisplay:
  10721. description: 收货方式
  10722. type: string
  10723. gzcjstatus:
  10724. description: 单据状态(出境检测) - 枚举"GZCJStatus"
  10725. type: integer
  10726. gzcjstatusdisplay:
  10727. description: 单据状态(出境检测)
  10728. type: string
  10729. handlestatus:
  10730. description: 处理状态
  10731. type: integer
  10732. invoiceremark:
  10733. description: 复核备注 - 发票装箱单使用
  10734. type: string
  10735. orderid:
  10736. description: 单据ID(801+Unix秒时间戳(10位)+xxxxxx)
  10737. type: integer
  10738. orderno:
  10739. description: 单据编号 - 合同编号:GZDECJJC+单据流水号
  10740. type: string
  10741. ordersn:
  10742. description: 单据流水号 - yymm000 - yy表示年份,mm表示月份,年份、月份以两位数表示;000表示流水序号,序号不足三位以0补全
  10743. type: string
  10744. origincountry:
  10745. description: 原产国
  10746. type: string
  10747. processingcountry:
  10748. description: 成品钻石加工国
  10749. type: string
  10750. realservicefee:
  10751. description: 应收综合服务费
  10752. type: number
  10753. servicefeesum:
  10754. description: 汇总综合服务费 - 明细上值汇总
  10755. type: number
  10756. settleamount:
  10757. description: 总结算费用
  10758. type: number
  10759. shaperange:
  10760. description: 形状范围
  10761. type: string
  10762. totalamount:
  10763. description: 总金额(美元)
  10764. type: number
  10765. totalgrossweight:
  10766. description: 总毛重(克) = 每100颗单颗裸石毛重200克,毛重不足200克按200克计 (TotalNumber/100 向上取整)
  10767. * 200
  10768. type: number
  10769. totalnumber:
  10770. description: 总粒数
  10771. type: integer
  10772. totalweight:
  10773. description: 总克拉数(保留3位小数)
  10774. type: number
  10775. totalweightgm:
  10776. description: 总净重(克) = TotalWeight * 0.2 (2位小数)
  10777. type: number
  10778. userid:
  10779. description: 用户ID
  10780. type: integer
  10781. weightrange:
  10782. description: 重量规格范围 - Min(Weight) - Max(Weight)
  10783. type: string
  10784. zsorigin:
  10785. description: 天然钻石毛坯原产地
  10786. type: string
  10787. required:
  10788. - userid
  10789. type: object
  10790. models.GzcjjcorderdetailM:
  10791. properties:
  10792. amount:
  10793. description: 参考货值(USD)
  10794. type: number
  10795. colorinfo:
  10796. description: 彩钻信息
  10797. type: string
  10798. createtime:
  10799. description: 创建时间
  10800. type: string
  10801. gzcjmarktype:
  10802. description: 刻印服务 - 枚举"GZCJMarkType" 【送检账户为“广钻账户”】
  10803. type: integer
  10804. gzcjpublishtype:
  10805. description: 是否披露处理 - 枚举 GZCJPublishType【送检账户为“广钻账户”】
  10806. type: integer
  10807. gzcjpublishtypestring:
  10808. description: 是否披露处理 - 枚举 GZCJPublishType 对应的显示值
  10809. type: string
  10810. gzcjservicetype:
  10811. description: 服务类别 - 枚举 GZCJServiceType【送检账户为“广钻账户”】
  10812. type: integer
  10813. gzcjservicetypestring:
  10814. description: 服务类别 - 枚举 GZCJServiceType 对应的显示值
  10815. type: string
  10816. gzcjshapetype:
  10817. description: 形状 - 枚举"GZCJShapeType"
  10818. type: integer
  10819. gzcjshapetypestring:
  10820. description: 形状(字符) - 枚举"GZCJShapeType"对应的显示值
  10821. type: string
  10822. gzno:
  10823. description: 货物编号
  10824. type: string
  10825. orderdetailid:
  10826. description: 单据明细ID(802+Unix秒时间戳(10位)+xxxxxx)
  10827. type: integer
  10828. orderid:
  10829. description: 单据ID(801+Unix秒时间戳(10位)+xxxxxx)
  10830. type: integer
  10831. orderindex:
  10832. description: 顺序
  10833. type: integer
  10834. origincertno:
  10835. description: 原证书号【送检账户为“广钻账户”】
  10836. type: string
  10837. remark:
  10838. description: 备注(其它)
  10839. type: string
  10840. servicefee:
  10841. description: 综合服务费 - 根据市场配置计算
  10842. type: number
  10843. weight:
  10844. description: 重量(CT)
  10845. type: number
  10846. type: object
  10847. models.Gzrapaportprice:
  10848. properties:
  10849. dollar:
  10850. description: 美元
  10851. type: string
  10852. rmb:
  10853. description: 人民币
  10854. type: string
  10855. type: object
  10856. models.Hedgeinnerholderdetail:
  10857. properties:
  10858. accountid:
  10859. description: 账号ID
  10860. type: integer
  10861. buyorsell:
  10862. description: 方向 - 0:买 1:卖
  10863. type: integer
  10864. freezeqty:
  10865. description: 冻结数量 - 按单平使用
  10866. type: integer
  10867. goodsid:
  10868. description: 商品ID
  10869. type: integer
  10870. holderamount:
  10871. description: 持仓金额 [商品币种]
  10872. type: number
  10873. holderdays:
  10874. description: 剩余冻结天数
  10875. type: integer
  10876. holderprice:
  10877. description: 持仓价格
  10878. type: number
  10879. holderqty:
  10880. description: 持仓数量
  10881. type: integer
  10882. marketid:
  10883. description: 市场ID
  10884. type: integer
  10885. openprice:
  10886. description: 建仓价格
  10887. type: number
  10888. openqty:
  10889. description: 建仓数量
  10890. type: integer
  10891. parentaccountid:
  10892. description: 所属母账户
  10893. type: integer
  10894. releaseamount:
  10895. description: 释放持仓金额[商品币种]
  10896. type: number
  10897. tradeamount:
  10898. description: 成交金额[账户]
  10899. type: number
  10900. tradedate:
  10901. description: 交易日(yyyyMMdd)
  10902. type: string
  10903. tradeid:
  10904. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10905. type: string
  10906. tradetime:
  10907. description: 交易时间
  10908. type: string
  10909. required:
  10910. - buyorsell
  10911. - tradeid
  10912. type: object
  10913. models.Hedgemarketopenlog:
  10914. properties:
  10915. accountid:
  10916. description: 资金账号[外部母账户]
  10917. type: integer
  10918. fcname:
  10919. description: 期货公司名称
  10920. type: string
  10921. handlestatus:
  10922. description: 处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp
  10923. type: integer
  10924. marketid:
  10925. description: 市场ID
  10926. type: integer
  10927. status:
  10928. description: 状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败
  10929. type: integer
  10930. tradedate:
  10931. description: 交易日(yyyyMMdd)
  10932. type: string
  10933. updatetime:
  10934. description: 更新时间
  10935. type: string
  10936. required:
  10937. - accountid
  10938. type: object
  10939. models.HsbyBuyMyPayOrder:
  10940. properties:
  10941. agreeunit:
  10942. description: 合约单位
  10943. type: number
  10944. buyaccountid:
  10945. description: 买方账号ID[报价币种]
  10946. type: integer
  10947. buyorderid:
  10948. description: 买方委托单号
  10949. type: string
  10950. createtime:
  10951. description: 创建时间
  10952. type: string
  10953. currencysign:
  10954. description: 货币符号
  10955. type: string
  10956. decimalplace:
  10957. description: 报价小数位
  10958. type: integer
  10959. goodscode:
  10960. description: 商品代码(内部)
  10961. type: string
  10962. goodsid:
  10963. description: 商品ID
  10964. type: integer
  10965. goodsname:
  10966. description: 商品名称
  10967. type: string
  10968. marketid:
  10969. description: 市场ID
  10970. type: integer
  10971. offamount:
  10972. description: 优惠金额
  10973. type: number
  10974. originalamount:
  10975. description: 原金额 = TradeAmount + TradeCharge + OffAmount
  10976. type: number
  10977. payamount:
  10978. description: 支付金额 = TradeAmount + TradeCharge
  10979. type: number
  10980. payflag:
  10981. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  10982. type: integer
  10983. paylimitedtime:
  10984. description: 支付期限
  10985. type: string
  10986. paytime:
  10987. description: 付款时间
  10988. type: string
  10989. picurls1:
  10990. description: 预售商品介绍图片[多张用逗号分隔]
  10991. type: string
  10992. picurls2:
  10993. description: 挂牌商品介绍图片[多张用逗号分隔]
  10994. type: string
  10995. sellaccountid:
  10996. description: 卖方账号ID[报价币种]
  10997. type: integer
  10998. sellorderid:
  10999. description: 卖方委托单号
  11000. type: string
  11001. tradeamount:
  11002. description: 成交金额
  11003. type: number
  11004. tradecharge:
  11005. description: 成交手续费(买方)
  11006. type: number
  11007. tradedate:
  11008. description: 交易日(yyyyMMdd)
  11009. type: string
  11010. tradeid:
  11011. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11012. type: string
  11013. trademode:
  11014. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  11015. 21:竞拍-大宗式 22:受托竞价
  11016. type: integer
  11017. tradeprice:
  11018. description: 成交价格
  11019. type: number
  11020. tradeqty:
  11021. description: 成交数量
  11022. type: integer
  11023. vendorname1:
  11024. description: 预售商品供应商名称
  11025. type: string
  11026. vendorname2:
  11027. description: 挂牌商品供应商名称
  11028. type: string
  11029. required:
  11030. - goodscode
  11031. - goodsname
  11032. - tradeid
  11033. - trademode
  11034. type: object
  11035. models.HsbyBuyMyTradeDetail:
  11036. properties:
  11037. accountid:
  11038. description: 账户ID[报价币种]
  11039. type: integer
  11040. agreeunit:
  11041. description: 合约单位
  11042. type: number
  11043. amount:
  11044. description: 金额 = 价格 * 数量 * 合约单位
  11045. type: number
  11046. buyorsell:
  11047. description: 买卖 - 0:买 1:卖
  11048. type: integer
  11049. currencysign:
  11050. description: 货币符号
  11051. type: string
  11052. decimalplace:
  11053. description: 报价小数位
  11054. type: integer
  11055. goodscode:
  11056. description: 商品代码(内部)
  11057. type: string
  11058. goodsid:
  11059. description: 商品ID
  11060. type: integer
  11061. goodsname:
  11062. description: 商品名称
  11063. type: string
  11064. marketid:
  11065. description: 市场ID
  11066. type: integer
  11067. orderamount:
  11068. description: 委托金额
  11069. type: number
  11070. orderid:
  11071. description: 单号(成交单号)
  11072. type: string
  11073. picurls1:
  11074. description: 预售商品介绍图片[多张用逗号分隔]
  11075. type: string
  11076. picurls2:
  11077. description: 挂牌商品介绍图片[多张用逗号分隔]
  11078. type: string
  11079. price:
  11080. description: 价格
  11081. type: number
  11082. qty:
  11083. description: 数量
  11084. type: integer
  11085. time:
  11086. description: 时间
  11087. type: string
  11088. trademode:
  11089. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  11090. 21:竞拍-大宗式 22:受托竞价
  11091. type: integer
  11092. vendorname1:
  11093. description: 预售商品供应商名称
  11094. type: string
  11095. vendorname2:
  11096. description: 挂牌商品供应商名称
  11097. type: string
  11098. required:
  11099. - accountid
  11100. - buyorsell
  11101. - goodscode
  11102. - goodsid
  11103. - goodsname
  11104. - marketid
  11105. - orderid
  11106. - qty
  11107. - time
  11108. - trademode
  11109. type: object
  11110. models.HsbyGoodsOrderDetail:
  11111. properties:
  11112. buyorsell:
  11113. description: 买卖 - 0:买 1:卖
  11114. type: integer
  11115. currencysign:
  11116. description: 货币符号
  11117. type: string
  11118. customername:
  11119. description: 客户名称(企业名称),已脱敏
  11120. type: string
  11121. enableqty:
  11122. description: 可用数量
  11123. type: integer
  11124. goodunit:
  11125. description: 报价单位
  11126. type: string
  11127. orderid:
  11128. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11129. type: string
  11130. orderprice:
  11131. description: 委托价格
  11132. type: number
  11133. ordertime:
  11134. description: 委托时间
  11135. type: string
  11136. required:
  11137. - buyorsell
  11138. - orderid
  11139. - ordertime
  11140. type: object
  11141. models.HsbyListingGoodsDetail:
  11142. properties:
  11143. agreeunit:
  11144. description: 合约单位
  11145. type: number
  11146. buymaxqty:
  11147. description: 购买上限 [71] - 0为不限
  11148. type: integer
  11149. currency:
  11150. description: 货币
  11151. type: string
  11152. currencysign:
  11153. description: 货币符号
  11154. type: string
  11155. decimalplace:
  11156. description: 报价小数位
  11157. type: integer
  11158. desccityid:
  11159. description: 目的地(市)ID
  11160. type: integer
  11161. descprovinceid:
  11162. description: 目的地(省)ID
  11163. type: integer
  11164. goodscode:
  11165. description: 商品代码(内部)
  11166. type: string
  11167. goodsdesc:
  11168. description: 商品详情
  11169. type: string
  11170. goodsid:
  11171. description: 商品ID(自增ID SEQ_GOODS)
  11172. type: integer
  11173. goodsname:
  11174. description: 商品名称
  11175. type: string
  11176. goodsprice:
  11177. description: 商品价格
  11178. type: number
  11179. hotindex:
  11180. description: 景点热度
  11181. type: integer
  11182. last:
  11183. description: 现价
  11184. type: number
  11185. limitdown:
  11186. description: 跌停价
  11187. type: number
  11188. limitup:
  11189. description: 涨停价
  11190. type: number
  11191. lotsize:
  11192. description: 手数最小变动单位
  11193. type: integer
  11194. marketid:
  11195. description: 所属市场ID
  11196. type: integer
  11197. picurls:
  11198. description: 介绍图片[多张用逗号分隔]
  11199. type: string
  11200. quoteminunit:
  11201. description: 行情最小变动单位 [整数,报价小数位一起使用]
  11202. type: integer
  11203. stepvalue:
  11204. description: 价格最小变动单位
  11205. type: number
  11206. trademode:
  11207. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  11208. 21:竞拍-大宗式 22:受托竞价
  11209. type: integer
  11210. vendorattr:
  11211. description: 供应商附件(多张,逗号分隔)
  11212. type: string
  11213. vendorname:
  11214. description: 供应商名称
  11215. type: string
  11216. vendorphone:
  11217. description: 供应商客服电话
  11218. type: string
  11219. videourls:
  11220. description: 介绍视频[多张用逗号分隔]
  11221. type: string
  11222. required:
  11223. - goodscode
  11224. - goodsid
  11225. - goodsname
  11226. - marketid
  11227. - trademode
  11228. type: object
  11229. models.HsbyMarketGoods:
  11230. properties:
  11231. accountid:
  11232. description: 账户ID[报价币种]
  11233. type: integer
  11234. agreeunit:
  11235. description: 合约单位
  11236. type: number
  11237. buyorsell:
  11238. description: 买卖 - 0:买 1:卖
  11239. type: integer
  11240. categoryid:
  11241. description: 类别ID(WRCATEGORY)
  11242. type: integer
  11243. currency:
  11244. description: 货币
  11245. type: string
  11246. currencysign:
  11247. description: 货币符号
  11248. type: string
  11249. customername:
  11250. description: 卖家名称
  11251. type: string
  11252. decimalplace:
  11253. description: 报价小数位
  11254. type: integer
  11255. goodscode:
  11256. description: 商品代码(内部)
  11257. type: string
  11258. goodsid:
  11259. description: 商品ID
  11260. type: integer
  11261. goodsname:
  11262. description: 商品名称
  11263. type: string
  11264. goodsprice:
  11265. description: 商品价格
  11266. type: number
  11267. hascoupon:
  11268. description: 是否可用优惠卷
  11269. type: boolean
  11270. hotindex:
  11271. description: 景点热度
  11272. type: integer
  11273. marketid:
  11274. description: 市场ID
  11275. type: integer
  11276. orderid:
  11277. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11278. type: string
  11279. orderprice:
  11280. description: 委托价格
  11281. type: number
  11282. orderstatus:
  11283. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  11284. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  11285. 16:成交失败违约(荷兰式竞拍专用)
  11286. type: integer
  11287. picurls:
  11288. description: 介绍图片[多张用逗号分隔]
  11289. type: string
  11290. quoteminunit:
  11291. description: 行情最小变动单位 [整数,报价小数位一起使用]
  11292. type: integer
  11293. sellUserID:
  11294. description: 卖方UserID
  11295. type: integer
  11296. trademode:
  11297. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  11298. 21:竞拍-大宗式 22:受托竞价
  11299. type: integer
  11300. videourls:
  11301. description: 介绍视频[多张用逗号分隔]
  11302. type: string
  11303. required:
  11304. - accountid
  11305. - buyorsell
  11306. - goodscode
  11307. - goodsid
  11308. - goodsname
  11309. - marketid
  11310. - orderid
  11311. - trademode
  11312. type: object
  11313. models.HsbyMarketGoodsDetail:
  11314. properties:
  11315. accountid:
  11316. description: 账户ID[报价币种]
  11317. type: integer
  11318. agreeunit:
  11319. description: 合约单位
  11320. type: number
  11321. buymaxqty:
  11322. description: 购买上限 [71] - 0为不限
  11323. type: integer
  11324. buyorsell:
  11325. description: 买卖 - 0:买 1:卖
  11326. type: integer
  11327. cancelqty:
  11328. description: 撤单数量
  11329. type: integer
  11330. categoryid:
  11331. description: 类别ID(WRCATEGORY)
  11332. type: integer
  11333. currency:
  11334. description: 货币
  11335. type: string
  11336. currencysign:
  11337. description: 货币符号
  11338. type: string
  11339. customername:
  11340. description: 卖家名称
  11341. type: string
  11342. decimalplace:
  11343. description: 报价小数位
  11344. type: integer
  11345. goodscode:
  11346. description: 商品代码(内部)
  11347. type: string
  11348. goodsdesc:
  11349. description: 商品详情
  11350. type: string
  11351. goodsid:
  11352. description: 商品ID
  11353. type: integer
  11354. goodsname:
  11355. description: 商品名称
  11356. type: string
  11357. goodsprice:
  11358. description: 商品价格
  11359. type: number
  11360. hotindex:
  11361. description: 景点热度
  11362. type: integer
  11363. lotsize:
  11364. description: 手数最小变动单位
  11365. type: integer
  11366. marketid:
  11367. description: 市场ID
  11368. type: integer
  11369. orderid:
  11370. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11371. type: string
  11372. orderprice:
  11373. description: 委托价格
  11374. type: number
  11375. orderqty:
  11376. description: 委托数量
  11377. type: integer
  11378. orderstatus:
  11379. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  11380. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  11381. 16:成交失败违约(荷兰式竞拍专用)
  11382. type: integer
  11383. picurls:
  11384. description: 介绍图片[多张用逗号分隔]
  11385. type: string
  11386. quoteminunit:
  11387. description: 行情最小变动单位 [整数,报价小数位一起使用]
  11388. type: integer
  11389. sellUserID:
  11390. description: 卖方UserID
  11391. type: integer
  11392. trademode:
  11393. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  11394. 21:竞拍-大宗式 22:受托竞价
  11395. type: integer
  11396. tradeqty:
  11397. description: 成交数量
  11398. type: integer
  11399. vendorattr:
  11400. description: 供应商附件(多张,逗号分隔)
  11401. type: string
  11402. vendorname:
  11403. description: 供应商名称
  11404. type: string
  11405. vendorphone:
  11406. description: 供应商客服电话
  11407. type: string
  11408. videourls:
  11409. description: 介绍视频[多张用逗号分隔]
  11410. type: string
  11411. required:
  11412. - accountid
  11413. - buyorsell
  11414. - goodscode
  11415. - goodsid
  11416. - goodsname
  11417. - marketid
  11418. - orderid
  11419. - orderqty
  11420. - trademode
  11421. type: object
  11422. models.HsbyMarketInfo:
  11423. properties:
  11424. marketid:
  11425. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  11426. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  11427. type: integer
  11428. marketname:
  11429. description: 市场名称
  11430. type: string
  11431. marketstatus:
  11432. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  11433. type: integer
  11434. trademode:
  11435. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  11436. 21:竞拍-大宗式 22:受托竞价
  11437. type: integer
  11438. required:
  11439. - marketid
  11440. - marketstatus
  11441. - trademode
  11442. type: object
  11443. models.HsbyMyGoods:
  11444. properties:
  11445. accountid:
  11446. description: 账号Id
  11447. type: integer
  11448. agreeunit:
  11449. description: 合约单位
  11450. type: number
  11451. buyaverageprice:
  11452. description: 持仓均价
  11453. type: number
  11454. buycurholderamount:
  11455. description: 买当前持仓总金额[商品币种]
  11456. type: number
  11457. buycurpositionqty:
  11458. description: 买当前持仓总数量
  11459. type: integer
  11460. buymaxqty:
  11461. description: 购买上限 [71] - 0为不限
  11462. type: integer
  11463. currencysign:
  11464. description: 货币符号
  11465. type: string
  11466. decimalplace:
  11467. description: 报价小数位
  11468. type: integer
  11469. enableqty:
  11470. description: 可用数量
  11471. type: integer
  11472. goodscode:
  11473. description: 商品代码(内部)
  11474. type: string
  11475. goodsid:
  11476. description: 商品Id
  11477. type: integer
  11478. goodsname:
  11479. description: 商品名称
  11480. type: string
  11481. goodsprice:
  11482. description: 商品价格
  11483. type: number
  11484. goodsstatus:
  11485. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  11486. type: integer
  11487. last:
  11488. description: 现价(仅使用于挂牌点选)
  11489. type: number
  11490. limitdown:
  11491. description: 跌停价(仅使用于挂牌点选)
  11492. type: number
  11493. limitup:
  11494. description: 涨停价(仅使用于挂牌点选)
  11495. type: number
  11496. lotsize:
  11497. description: 手数最小变动单位
  11498. type: integer
  11499. marketid:
  11500. description: 所属市场ID
  11501. type: integer
  11502. picurls:
  11503. description: 介绍图片[多张用逗号分隔]
  11504. type: string
  11505. quoteminunit:
  11506. description: 行情最小变动单位 [整数,报价小数位一起使用]
  11507. type: integer
  11508. stepvalue:
  11509. description: 价格最小变动单位
  11510. type: number
  11511. trademode:
  11512. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  11513. 21:竞拍-大宗式 22:受托竞价
  11514. type: integer
  11515. required:
  11516. - accountid
  11517. - goodscode
  11518. - goodsid
  11519. - goodsname
  11520. - marketid
  11521. - trademode
  11522. type: object
  11523. models.HsbyMyPackage:
  11524. properties:
  11525. accountid:
  11526. description: 账户ID
  11527. type: integer
  11528. address:
  11529. description: 提货人详细地址
  11530. type: string
  11531. agreeunit:
  11532. description: 合约单位
  11533. type: number
  11534. amount:
  11535. description: 提货金额
  11536. type: number
  11537. auditer:
  11538. description: 审核人
  11539. type: integer
  11540. audittime:
  11541. description: 审核时间
  11542. type: string
  11543. averageprice:
  11544. description: 均价
  11545. type: number
  11546. cardnum:
  11547. description: 提货人证件号码
  11548. type: string
  11549. cardtypeid:
  11550. description: 提货人证件类型
  11551. type: integer
  11552. checkremark:
  11553. description: 审核备注
  11554. type: string
  11555. currencysign:
  11556. description: 货币符号
  11557. type: string
  11558. decimalplace:
  11559. description: 报价小数位
  11560. type: integer
  11561. goodscode:
  11562. description: 商品代码(内部)
  11563. type: string
  11564. goodsid:
  11565. description: 商品ID
  11566. type: integer
  11567. goodsname:
  11568. description: 商品名称
  11569. type: string
  11570. handlestatus:
  11571. description: 处理状态
  11572. type: integer
  11573. marketid:
  11574. description: 市场ID
  11575. type: integer
  11576. phonenum:
  11577. description: 提货人联系方式
  11578. type: string
  11579. picurls:
  11580. description: 介绍图片[多张用逗号分隔]
  11581. type: string
  11582. qty:
  11583. description: 提货数量
  11584. type: number
  11585. recivername:
  11586. description: 提货人姓名
  11587. type: string
  11588. reqtime:
  11589. description: 更新时间
  11590. type: string
  11591. takemode:
  11592. description: 提货方式 - 2:自提 3:配送
  11593. type: integer
  11594. takeorderid:
  11595. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  11596. type: string
  11597. takeorderstatus:
  11598. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  11599. type: integer
  11600. takeremark:
  11601. description: 提货备注
  11602. type: string
  11603. tradedate:
  11604. description: 交易日(yyyyMMdd)
  11605. type: string
  11606. trademode:
  11607. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  11608. 21:竞拍-大宗式 22:受托竞价
  11609. type: integer
  11610. userid:
  11611. description: 用户ID
  11612. type: integer
  11613. vendorname:
  11614. description: 供应商名称
  11615. type: string
  11616. required:
  11617. - goodscode
  11618. - goodsname
  11619. - takeorderid
  11620. - trademode
  11621. type: object
  11622. models.HsbyPreGoods:
  11623. properties:
  11624. agreeunit:
  11625. description: 合约单位
  11626. type: number
  11627. currency:
  11628. description: 货币
  11629. type: string
  11630. currencysign:
  11631. description: 货币符号
  11632. type: string
  11633. decimalplace:
  11634. description: 报价小数位
  11635. type: integer
  11636. desccityid:
  11637. description: 目的地(市)
  11638. type: integer
  11639. descprovinceid:
  11640. description: 目的地(省)
  11641. type: integer
  11642. enableqty:
  11643. description: 剩余数量
  11644. type: integer
  11645. goodscode:
  11646. description: 商品代码(内部)
  11647. type: string
  11648. goodsid:
  11649. description: 商品ID(自增ID SEQ_GOODS)
  11650. type: integer
  11651. goodsname:
  11652. description: 商品名称
  11653. type: string
  11654. goodsstatus:
  11655. description: 商品状态- 2:未上市 3:上市
  11656. type: integer
  11657. lasttradedate:
  11658. description: 最后交易日期(状态:待退市)
  11659. type: string
  11660. listingdate:
  11661. description: 交易开始日期
  11662. type: string
  11663. marketid:
  11664. description: 所属市场ID
  11665. type: integer
  11666. picurls:
  11667. description: 介绍图片[多张用逗号分隔]
  11668. type: string
  11669. presaledqty:
  11670. description: 已预售量(预售结束时更新)
  11671. type: integer
  11672. presaleqty:
  11673. description: 预售数量
  11674. type: integer
  11675. quoteminunit:
  11676. description: 行情最小变动单位 [整数,报价小数位一起使用]
  11677. type: integer
  11678. refprice:
  11679. description: 参考价格[一口价]
  11680. type: number
  11681. relatedgoodsid:
  11682. description: 关联交易合约ID
  11683. type: integer
  11684. trademode:
  11685. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  11686. 21:竞拍-大宗式 22:受托竞价
  11687. type: integer
  11688. videourls:
  11689. description: 介绍视频[多张用逗号分隔]
  11690. type: string
  11691. required:
  11692. - goodscode
  11693. - goodsid
  11694. - goodsname
  11695. - marketid
  11696. - trademode
  11697. type: object
  11698. models.HsbyPreGoodsDetail:
  11699. properties:
  11700. agreeunit:
  11701. description: 合约单位
  11702. type: number
  11703. buymaxqty:
  11704. description: 购买上限 [71] - 0为不限
  11705. type: integer
  11706. currency:
  11707. description: 货币
  11708. type: string
  11709. currencysign:
  11710. description: 货币符号
  11711. type: string
  11712. customername:
  11713. description: 发行单位
  11714. type: string
  11715. decimalplace:
  11716. description: 报价小数位
  11717. type: integer
  11718. desccityid:
  11719. description: 目的地(市)ID
  11720. type: integer
  11721. descprovinceid:
  11722. description: 目的地(省)ID
  11723. type: integer
  11724. enableqty:
  11725. description: 剩余数量
  11726. type: integer
  11727. goodscode:
  11728. description: 商品代码(内部)
  11729. type: string
  11730. goodsdesc:
  11731. description: 商品详情
  11732. type: string
  11733. goodsid:
  11734. description: 商品ID(自增ID SEQ_GOODS)
  11735. type: integer
  11736. goodsname:
  11737. description: 商品名称
  11738. type: string
  11739. goodsstatus:
  11740. description: 商品状态- 2:未上市 3:上市
  11741. type: integer
  11742. goodunit:
  11743. description: 报价单位
  11744. type: string
  11745. lasttradedate:
  11746. description: 最后交易日期(状态:待退市)
  11747. type: string
  11748. listingdate:
  11749. description: 交易开始日期
  11750. type: string
  11751. lotsize:
  11752. description: 手数最小变动单位
  11753. type: integer
  11754. marketid:
  11755. description: 所属市场ID
  11756. type: integer
  11757. picurls:
  11758. description: 介绍图片[多张用逗号分隔]
  11759. type: string
  11760. presaledqty:
  11761. description: 已预售量(预售结束时更新)
  11762. type: integer
  11763. presaleqty:
  11764. description: 预售数量
  11765. type: integer
  11766. quoteminunit:
  11767. description: 行情最小变动单位 [整数,报价小数位一起使用]
  11768. type: integer
  11769. refprice:
  11770. description: 参考价格[一口价]
  11771. type: number
  11772. relatedgoodsid:
  11773. description: 关联交易合约ID
  11774. type: integer
  11775. stepvalue:
  11776. description: 价格最小变动单位
  11777. type: number
  11778. trademode:
  11779. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  11780. 21:竞拍-大宗式 22:受托竞价
  11781. type: integer
  11782. vendorattr:
  11783. description: 供应商附件(多张,逗号分隔)
  11784. type: string
  11785. vendorname:
  11786. description: 供应商名称
  11787. type: string
  11788. vendorphone:
  11789. description: 供应商客服电话
  11790. type: string
  11791. videourls:
  11792. description: 介绍视频[多张用逗号分隔]
  11793. type: string
  11794. required:
  11795. - goodscode
  11796. - goodsid
  11797. - goodsname
  11798. - marketid
  11799. - trademode
  11800. type: object
  11801. models.HsbySellCollectionOrder:
  11802. properties:
  11803. agreeunit:
  11804. description: 合约单位
  11805. type: number
  11806. buyaccountid:
  11807. description: 买方账号ID[报价币种]
  11808. type: integer
  11809. buyorderid:
  11810. description: 买方委托单号
  11811. type: string
  11812. createtime:
  11813. description: 创建时间
  11814. type: string
  11815. currencysign:
  11816. description: 货币符号
  11817. type: string
  11818. decimalplace:
  11819. description: 报价小数位
  11820. type: integer
  11821. goodscode:
  11822. description: 商品代码(内部)
  11823. type: string
  11824. goodsid:
  11825. description: 商品ID
  11826. type: integer
  11827. goodsname:
  11828. description: 商品名称
  11829. type: string
  11830. marketid:
  11831. description: 市场ID
  11832. type: integer
  11833. offamount:
  11834. description: 优惠金额
  11835. type: number
  11836. payamount:
  11837. description: 支付金额 = TradeAmount + TradeCharge - OffAmount
  11838. type: number
  11839. payflag:
  11840. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  11841. type: integer
  11842. paylimitedtime:
  11843. description: 支付期限
  11844. type: string
  11845. paytime:
  11846. description: 付款时间
  11847. type: string
  11848. picurls:
  11849. description: 商品介绍图片[多张用逗号分隔]
  11850. type: string
  11851. sellaccountid:
  11852. description: 卖方账号ID[报价币种]
  11853. type: integer
  11854. sellorderid:
  11855. description: 卖方委托单号
  11856. type: string
  11857. tradeamount:
  11858. description: 成交金额
  11859. type: number
  11860. tradecharge:
  11861. description: 成交手续费(买方)
  11862. type: number
  11863. tradedate:
  11864. description: 交易日(yyyyMMdd)
  11865. type: string
  11866. tradeid:
  11867. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11868. type: string
  11869. trademode:
  11870. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  11871. 21:竞拍-大宗式 22:受托竞价
  11872. type: integer
  11873. tradeprice:
  11874. description: 成交价格
  11875. type: number
  11876. tradeqty:
  11877. description: 成交数量
  11878. type: integer
  11879. required:
  11880. - goodscode
  11881. - goodsname
  11882. - tradeid
  11883. - trademode
  11884. type: object
  11885. models.HsbySellMyDetail:
  11886. properties:
  11887. accountid:
  11888. description: 账户ID[报价币种]
  11889. type: integer
  11890. agreeunit:
  11891. description: 合约单位
  11892. type: number
  11893. buyorsell:
  11894. description: 买卖 - 0:买 1:卖
  11895. type: integer
  11896. currencysign:
  11897. description: 货币符号
  11898. type: string
  11899. decimalplace:
  11900. description: 报价小数位
  11901. type: integer
  11902. goodscode:
  11903. description: 商品代码(内部)
  11904. type: string
  11905. goodsid:
  11906. description: 商品ID
  11907. type: integer
  11908. goodsname:
  11909. description: 商品名称
  11910. type: string
  11911. marketid:
  11912. description: 市场ID
  11913. type: integer
  11914. orderid:
  11915. description: 单号(发布中 - 委托单号;已完成 - 成交单号)
  11916. type: string
  11917. ordertype:
  11918. description: 单据类型:0 - 发布中, 1 - 已完成
  11919. type: integer
  11920. picurls:
  11921. description: 介绍图片[多张用逗号分隔]
  11922. type: string
  11923. price:
  11924. description: 价格
  11925. type: number
  11926. qty:
  11927. description: 数量
  11928. type: integer
  11929. time:
  11930. description: 时间
  11931. type: string
  11932. trademode:
  11933. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  11934. 21:竞拍-大宗式 22:受托竞价
  11935. type: integer
  11936. vendorname:
  11937. description: 供应商名称
  11938. type: string
  11939. required:
  11940. - accountid
  11941. - buyorsell
  11942. - goodscode
  11943. - goodsid
  11944. - goodsname
  11945. - marketid
  11946. - orderid
  11947. - time
  11948. - trademode
  11949. type: object
  11950. models.HsbyTopGoods:
  11951. properties:
  11952. agreeunit:
  11953. description: 合约单位
  11954. type: number
  11955. currency:
  11956. description: 货币
  11957. type: string
  11958. currencysign:
  11959. description: 货币符号
  11960. type: string
  11961. decimalplace:
  11962. description: 报价小数位
  11963. type: integer
  11964. desccityid:
  11965. description: 目的地(市)
  11966. type: integer
  11967. descprovinceid:
  11968. description: 目的地(省)
  11969. type: integer
  11970. goodscode:
  11971. description: 商品代码(内部)
  11972. type: string
  11973. goodsid:
  11974. description: 商品ID(自增ID SEQ_GOODS)
  11975. type: integer
  11976. goodsname:
  11977. description: 商品名称
  11978. type: string
  11979. hotindex:
  11980. description: 景点热度
  11981. type: integer
  11982. last:
  11983. description: 现价
  11984. type: number
  11985. marketid:
  11986. description: 所属市场ID
  11987. type: integer
  11988. picurls:
  11989. description: 介绍图片[多张用逗号分隔]
  11990. type: string
  11991. quoteminunit:
  11992. description: 行情最小变动单位 [整数,报价小数位一起使用]
  11993. type: integer
  11994. trademode:
  11995. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  11996. 21:竞拍-大宗式 22:受托竞价
  11997. type: integer
  11998. videourls:
  11999. description: 介绍视频[多张用逗号分隔]
  12000. type: string
  12001. required:
  12002. - goodscode
  12003. - goodsid
  12004. - goodsname
  12005. - marketid
  12006. - trademode
  12007. type: object
  12008. models.HybsMyBuyOrderDetail:
  12009. properties:
  12010. accountid:
  12011. description: 账户ID[报价币种]
  12012. type: integer
  12013. agreeunit:
  12014. description: 合约单位
  12015. type: number
  12016. buyorsell:
  12017. description: 买卖 - 0:买 1:卖
  12018. type: integer
  12019. cancelqty:
  12020. description: 撤单数量
  12021. type: integer
  12022. currencysign:
  12023. description: 货币符号
  12024. type: string
  12025. decimalplace:
  12026. description: 报价小数位
  12027. type: integer
  12028. goodscode:
  12029. description: 商品代码(内部)
  12030. type: string
  12031. goodsid:
  12032. description: 商品ID
  12033. type: integer
  12034. goodsname:
  12035. description: 商品名称
  12036. type: string
  12037. listingselecttype:
  12038. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  12039. type: integer
  12040. marketid:
  12041. description: 市场ID
  12042. type: integer
  12043. mybuystatus:
  12044. description: '"我的订单"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败'
  12045. type: integer
  12046. orderamount:
  12047. description: 委托金额
  12048. type: number
  12049. orderid:
  12050. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12051. type: string
  12052. orderprice:
  12053. description: 委托价格
  12054. type: number
  12055. orderqty:
  12056. description: 委托数量
  12057. type: integer
  12058. orderstatus:
  12059. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  12060. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  12061. 16:成交失败违约(荷兰式竞拍专用)
  12062. type: integer
  12063. ordertime:
  12064. description: 委托时间
  12065. type: string
  12066. picurls1:
  12067. description: 预售商品介绍图片[多张用逗号分隔]
  12068. type: string
  12069. picurls2:
  12070. description: 挂牌商品介绍图片[多张用逗号分隔]
  12071. type: string
  12072. trademode:
  12073. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  12074. 21:竞拍-大宗式 22:受托竞价
  12075. type: integer
  12076. tradeqty:
  12077. description: 成交数量
  12078. type: integer
  12079. vendorname1:
  12080. description: 预售商品供应商名称
  12081. type: string
  12082. vendorname2:
  12083. description: 挂牌商品供应商名称
  12084. type: string
  12085. required:
  12086. - accountid
  12087. - buyorsell
  12088. - goodscode
  12089. - goodsid
  12090. - goodsname
  12091. - marketid
  12092. - orderid
  12093. - orderqty
  12094. - ordertime
  12095. - trademode
  12096. type: object
  12097. models.InternalEnableTradeDetail:
  12098. properties:
  12099. agreeunit:
  12100. description: 合约乘数
  12101. type: number
  12102. areauserid:
  12103. description: 企业ID
  12104. type: integer
  12105. convertratio:
  12106. description: 品种系数
  12107. type: number
  12108. deliverygoodscode:
  12109. description: 现货品种代码
  12110. type: string
  12111. deliverygoodsid:
  12112. description: 现货品种ID(SEQ_DELIVERYGOODS)
  12113. type: integer
  12114. deliverygoodsname:
  12115. description: 现货品种名称
  12116. type: string
  12117. futurehedgeqty:
  12118. description: '[已关联数量]期货持仓套期量'
  12119. type: number
  12120. goodsid:
  12121. description: 期货合约ID
  12122. type: integer
  12123. hedgeditemid:
  12124. description: 被套期项目ID
  12125. type: string
  12126. hedgeditemnum:
  12127. description: 项目编号
  12128. type: string
  12129. tradeuserid:
  12130. description: 交易用户ID
  12131. type: integer
  12132. unexehedgeqty:
  12133. description: 未执行套期量 = 未执行现货量*折算系数* (1/(1+增值税)) * 套期比例(项目上)
  12134. type: number
  12135. unexespotqty:
  12136. description: 未执行现货量
  12137. type: number
  12138. wrstandardcode:
  12139. description: 现货品类代码
  12140. type: string
  12141. wrstandardid:
  12142. description: 现货品类ID(SEQ_WRSTANDARD)
  12143. type: integer
  12144. wrstandardname:
  12145. description: 现货品类名称
  12146. type: string
  12147. required:
  12148. - areauserid
  12149. - goodsid
  12150. - tradeuserid
  12151. type: object
  12152. models.InternalUncorrelatedTradeDetail:
  12153. properties:
  12154. accountid:
  12155. description: 账号ID
  12156. type: integer
  12157. accountname:
  12158. description: 套期主体
  12159. type: string
  12160. agreeunit:
  12161. description: 合约乘数
  12162. type: number
  12163. areauserid:
  12164. description: 所属机构
  12165. type: integer
  12166. bizsubjectid:
  12167. description: 归属业务部门ID - SubjectID
  12168. type: integer
  12169. buyorsell:
  12170. description: 方向 - 0:买 1:卖
  12171. type: integer
  12172. channelbuildtype:
  12173. description: 委托单据类型 0:无 1:建仓 2:平仓
  12174. type: integer
  12175. convertratio:
  12176. description: 品种系数
  12177. type: number
  12178. createtime:
  12179. description: 创建时间
  12180. type: string
  12181. creatorid:
  12182. description: 创建人ID
  12183. type: integer
  12184. creatorsrc:
  12185. description: 创建人来源 - 1:管理端 2:终端 3:交易
  12186. type: integer
  12187. enableqty:
  12188. description: 项目可关联数量 = 套保品种数量 - 关联数量
  12189. type: number
  12190. enumdicname:
  12191. description: 单位
  12192. type: string
  12193. goodscode:
  12194. description: 合约代码
  12195. type: string
  12196. goodsgroupid:
  12197. description: 对冲品种ID[期货合约商品组ID]
  12198. type: integer
  12199. goodsid:
  12200. description: 商品ID
  12201. type: integer
  12202. goodsname:
  12203. description: 合约名称
  12204. type: string
  12205. hedgeditemid:
  12206. description: 现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]
  12207. type: integer
  12208. hedgeflag:
  12209. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  12210. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目
  12211. type: integer
  12212. linkdetailid:
  12213. description: 期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)
  12214. type: string
  12215. linkstatus:
  12216. description: 关联状态 - 1:成功 2:失败 3:解绑
  12217. type: integer
  12218. middlegoodsid:
  12219. description: 套保品种ID
  12220. type: integer
  12221. middlegoodsqty:
  12222. description: '[套期商品数量]套保品种数量 = TradeQty * AgreeUnit * ConvertRatio'
  12223. type: number
  12224. relatedlot:
  12225. description: '[数量]关联手数'
  12226. type: number
  12227. relatedmode:
  12228. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  12229. type: integer
  12230. relatedqty:
  12231. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  12232. type: number
  12233. retcode:
  12234. description: 返回码
  12235. type: integer
  12236. saleuserid:
  12237. description: 业务员ID
  12238. type: integer
  12239. tradedate:
  12240. description: 关联交易日(yyyyMMdd)
  12241. type: string
  12242. tradeid:
  12243. description: 成交单号
  12244. type: string
  12245. tradelot:
  12246. description: 成交手数
  12247. type: integer
  12248. tradeprice:
  12249. description: 成交价
  12250. type: number
  12251. tradetime:
  12252. description: 成交时间
  12253. type: string
  12254. tradetradedate:
  12255. description: 成交交易日(yyyyMMdd)
  12256. type: string
  12257. tradeuserid:
  12258. description: 交易用户ID
  12259. type: integer
  12260. type: object
  12261. models.Loginaccount:
  12262. properties:
  12263. accountname:
  12264. description: 账户名称
  12265. type: string
  12266. canoutin:
  12267. description: 是否可出入金 - 0:不可 1:可
  12268. type: integer
  12269. clientroleid:
  12270. description: 终端角色ID
  12271. type: integer
  12272. haslogined:
  12273. description: 是否已登录 - 0:未登录 1:已登录
  12274. type: integer
  12275. hasupdatedpwd:
  12276. description: 是否已更改密码 - 0:未修改 1:已修改
  12277. type: integer
  12278. lastloginip:
  12279. description: 最新登录地址
  12280. type: string
  12281. lastloginmode:
  12282. description: 最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端
  12283. 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  12284. type: integer
  12285. lastloginremark:
  12286. description: 最新登录描述
  12287. type: string
  12288. lastlogintime:
  12289. description: 最新登录时间
  12290. type: string
  12291. logincode:
  12292. description: 登录代码
  12293. type: string
  12294. loginfailnum:
  12295. description: 连续登录失败次数(登录成功时清零)
  12296. type: integer
  12297. loginid:
  12298. description: 登陆账号
  12299. type: integer
  12300. loginport:
  12301. description: 最新登录端口
  12302. type: integer
  12303. loginstatus:
  12304. description: 登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)
  12305. type: integer
  12306. loginusertype:
  12307. description: 登录账号类型 - 1:投资者 2:机构交易员
  12308. type: integer
  12309. mobile:
  12310. description: 手机号码(加密存储)
  12311. type: string
  12312. modifierid:
  12313. description: 修改人
  12314. type: integer
  12315. modifysrc:
  12316. description: 审核来源 - 1:管理端 2:终端
  12317. type: integer
  12318. modifytime:
  12319. description: 修改时间
  12320. type: string
  12321. pwdwrongcount:
  12322. description: 密码错误次数
  12323. type: integer
  12324. relateduserid:
  12325. description: 关联用户ID(机构)
  12326. type: integer
  12327. taaccountrighttype:
  12328. description: 资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限
  12329. type: integer
  12330. unfreezetime:
  12331. description: 账户解冻时间
  12332. type: string
  12333. userid:
  12334. description: 用户ID
  12335. type: integer
  12336. required:
  12337. - loginid
  12338. type: object
  12339. models.MainAccountInfo:
  12340. properties:
  12341. accountid:
  12342. description: 账号id
  12343. type: integer
  12344. accountname:
  12345. description: 账号名称(taaccount表中的名称)
  12346. type: string
  12347. appid:
  12348. description: AppID
  12349. type: string
  12350. authcode:
  12351. description: 授权码
  12352. type: string
  12353. brokerid:
  12354. description: 经纪商id
  12355. type: string
  12356. fcid:
  12357. description: 期货公司id
  12358. type: integer
  12359. fcname:
  12360. description: 期货公司代码
  12361. type: string
  12362. hedgeaccountcode:
  12363. description: 外部账号代码(主账号登录代码)
  12364. type: string
  12365. hedgeaccountpwd:
  12366. description: 密码
  12367. type: string
  12368. ismain:
  12369. description: 是否主账号
  12370. type: integer
  12371. relateduserid:
  12372. description: 关联用户id
  12373. type: integer
  12374. userid:
  12375. description: 关联用户id
  12376. type: integer
  12377. type: object
  12378. models.Market:
  12379. properties:
  12380. auctionwrtype:
  12381. description: 竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可
  12382. type: integer
  12383. canacceptquote:
  12384. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  12385. type: integer
  12386. cangoodsexercise:
  12387. description: '[期权]是否可现货行权- 0:否 1:是'
  12388. type: integer
  12389. cangoodsexercisetype:
  12390. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  12391. type: integer
  12392. canmanualquotestrike:
  12393. description: 是否可手动报行权价- 0:否 1:是 [期权]
  12394. type: integer
  12395. canmutistage:
  12396. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  12397. type: integer
  12398. canpreexercise:
  12399. description: '[期权]是否可预申报- 0:否 1:是'
  12400. type: integer
  12401. clearinterval:
  12402. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  12403. type: integer
  12404. contracttmp:
  12405. description: 合同模板[荷兰式][竞价式][仓单贸易]
  12406. type: string
  12407. exchareaid:
  12408. description: 所属交易所,可以没有
  12409. type: integer
  12410. goodstype:
  12411. description: 商品类型 - 1:交易商品 2:仓单商品
  12412. type: integer
  12413. hasrebate:
  12414. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  12415. type: integer
  12416. hastradecredit:
  12417. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  12418. type: integer
  12419. haswr:
  12420. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  12421. type: integer
  12422. isdeductmargin:
  12423. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  12424. type: integer
  12425. isrecordsource:
  12426. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  12427. type: integer
  12428. isreleasemargin:
  12429. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  12430. type: integer
  12431. marginformula:
  12432. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  12433. type: integer
  12434. marginformula2:
  12435. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  12436. type: integer
  12437. marketid:
  12438. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  12439. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  12440. type: integer
  12441. marketname:
  12442. description: 市场名称
  12443. type: string
  12444. marketserviceid:
  12445. description: 市场服务ID
  12446. type: integer
  12447. marketstatus:
  12448. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  12449. type: integer
  12450. markettype:
  12451. description: 市场类型- 1:非交易服务 2:交易服务
  12452. type: integer
  12453. matchermode:
  12454. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手
  12455. type: integer
  12456. openmethod:
  12457. description: 开盘模式 - 0 自动 1手动
  12458. type: integer
  12459. otcuserid:
  12460. description: 场外期权做市商[场外期权]
  12461. type: integer
  12462. outersynctime:
  12463. description: 外部同步时间点(h24:mi:ss)[场外期权]
  12464. type: string
  12465. pendingflag:
  12466. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  12467. type: integer
  12468. pendingtime:
  12469. description: 待开市时间[通道交易-对冲](HH:mm)
  12470. type: string
  12471. performancetempid:
  12472. description: 履约计划模板ID - 作废
  12473. type: integer
  12474. premiumquotemode:
  12475. description: 权利金报价方式 - 1:自动 2:手动
  12476. type: integer
  12477. rebateratio:
  12478. description: 返利比率[竞价式]
  12479. type: number
  12480. reckonorder:
  12481. description: 结算顺序
  12482. type: integer
  12483. reckonpricealgorithm:
  12484. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  12485. 6.卖一价 7.买一卖一均价 8.外部结算价'
  12486. type: integer
  12487. reckonpriceparam:
  12488. description: 结算价参数
  12489. type: integer
  12490. reckontime:
  12491. description: 结算时间[通道交易-对冲](HH:mm)
  12492. type: string
  12493. roleprioritytype:
  12494. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  12495. type: integer
  12496. selllistingauditflag:
  12497. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  12498. type: integer
  12499. trademarkettype:
  12500. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  12501. type: integer
  12502. trademode:
  12503. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  12504. 21:竞拍-大宗式 22:受托竞价
  12505. type: integer
  12506. tradeproperty:
  12507. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  12508. 8:场外期权
  12509. type: integer
  12510. tradetype:
  12511. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  12512. type: integer
  12513. required:
  12514. - marketid
  12515. - marketstatus
  12516. - openmethod
  12517. - reckonpricealgorithm
  12518. - trademode
  12519. - tradeproperty
  12520. type: object
  12521. models.Marketcalendar:
  12522. properties:
  12523. holidaydate:
  12524. description: 节假日期(yyyy-MM-dd)
  12525. type: string
  12526. marketid:
  12527. description: 市场ID
  12528. type: integer
  12529. type: object
  12530. models.Marketrun:
  12531. properties:
  12532. afternexttradedate:
  12533. description: 下下交易日
  12534. type: string
  12535. clearquoteflag:
  12536. description: 行情清盘标志- 1:未发送 2:已发送 3:已回复
  12537. type: integer
  12538. lastreckondate:
  12539. description: 最新交易日(结算成功)
  12540. type: string
  12541. machinedate:
  12542. description: 机器时间
  12543. type: string
  12544. manualflag:
  12545. description: 手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)
  12546. type: integer
  12547. marketid:
  12548. description: 市场ID
  12549. type: integer
  12550. nexttradedate:
  12551. description: 下一交易日
  12552. type: string
  12553. pretradedate:
  12554. description: 上一交易日
  12555. type: string
  12556. reckonflag:
  12557. description: '结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)'
  12558. type: integer
  12559. runstatus:
  12560. description: 运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始
  12561. 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败
  12562. 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内)
  12563. 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功
  12564. 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始
  12565. 62.今日免清算
  12566. type: integer
  12567. sectionid:
  12568. description: 时间段号[多时段时用]
  12569. type: integer
  12570. tradedate:
  12571. description: 当前交易日(服务) 资金结算完成即变更,供交易服务使用
  12572. type: string
  12573. tradedate2:
  12574. description: 当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  12575. type: string
  12576. updatetime:
  12577. description: 更新时间
  12578. type: string
  12579. required:
  12580. - marketid
  12581. - nexttradedate
  12582. - reckonflag
  12583. - runstatus
  12584. - tradedate
  12585. - tradedate2
  12586. type: object
  12587. models.Messageboard:
  12588. properties:
  12589. contactnum:
  12590. description: 联系电话
  12591. type: string
  12592. createtime:
  12593. description: 创建时间
  12594. type: string
  12595. message:
  12596. description: 留言信息
  12597. type: string
  12598. messageboardid:
  12599. description: 留言簿ID(SEQ_MessageBoard)
  12600. type: integer
  12601. userid:
  12602. description: 用户ID
  12603. type: integer
  12604. required:
  12605. - messageboardid
  12606. type: object
  12607. models.MyBargainApply:
  12608. properties:
  12609. accountid:
  12610. description: 摘牌资金账号
  12611. type: integer
  12612. applyprice:
  12613. description: 申请价格
  12614. type: string
  12615. applyremark:
  12616. description: 申请备注
  12617. type: string
  12618. applystatus:
  12619. description: 申请状态 - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  12620. type: integer
  12621. applytime:
  12622. description: 申请时间
  12623. type: string
  12624. buyorsell:
  12625. description: 买卖 - 0:买 1:卖
  12626. type: integer
  12627. buyusername:
  12628. description: 买方
  12629. type: string
  12630. confirmprice:
  12631. description: 可接受价格(拒绝时填写)-作废
  12632. type: number
  12633. confirmqty:
  12634. description: 可接受数量(拒绝时填写)-作废
  12635. type: integer
  12636. confirmremark:
  12637. description: 确认备注
  12638. type: string
  12639. confirmtime:
  12640. description: 确认时间
  12641. type: string
  12642. confirmuserid:
  12643. description: 确认人
  12644. type: integer
  12645. goodsno:
  12646. description: 商品编号
  12647. type: string
  12648. handlestatus:
  12649. description: 处理状态
  12650. type: integer
  12651. ladingbillid:
  12652. description: 摘牌方提单ID [卖]
  12653. type: integer
  12654. marketid:
  12655. description: 市场ID
  12656. type: integer
  12657. matchaccountid:
  12658. description: 挂牌方资金账号
  12659. type: integer
  12660. matchuserid:
  12661. description: 挂牌方用户ID
  12662. type: integer
  12663. performancetemplateid:
  12664. description: 履约计划模板ID
  12665. type: integer
  12666. price:
  12667. description: 价格
  12668. type: number
  12669. priceper:
  12670. description: 克拉单价 - 类型:1,2,3,5
  12671. type: string
  12672. qty:
  12673. description: 申请数量
  12674. type: number
  12675. refprice:
  12676. description: 参考价格
  12677. type: string
  12678. retcode:
  12679. description: 委托返回代码
  12680. type: integer
  12681. sellusername:
  12682. description: 卖方
  12683. type: string
  12684. sizedisplay:
  12685. description: 尺寸
  12686. type: string
  12687. subnum:
  12688. description: 摘牌方提单子单号 [卖]
  12689. type: integer
  12690. tradedate:
  12691. description: 交易日(yyyyMMdd)
  12692. type: string
  12693. userid:
  12694. description: 摘牌人用户ID
  12695. type: integer
  12696. warehousenamedisplay:
  12697. type: string
  12698. wrbargainid:
  12699. description: '[询价单号]议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)'
  12700. type: string
  12701. wrtradeorderid:
  12702. description: 关联委托单ID
  12703. type: string
  12704. zscerttypedisplay:
  12705. type: string
  12706. zsclaritytype1display:
  12707. type: string
  12708. zsclaritytype2display:
  12709. type: string
  12710. zscolortype1display:
  12711. type: string
  12712. zscolortype2display:
  12713. type: string
  12714. zscrystaltypedisplay:
  12715. type: string
  12716. zscurrencytypedisplay:
  12717. type: string
  12718. zscurrencytypedisplayunit:
  12719. type: string
  12720. zscuttype1display:
  12721. type: string
  12722. zscuttype2display:
  12723. type: string
  12724. zsczcolor1typedisplay:
  12725. type: string
  12726. zsczcolor2typedisplay:
  12727. type: string
  12728. zsczcolor3typedisplay:
  12729. type: string
  12730. zsfluorescencetype1display:
  12731. type: string
  12732. zsfluorescencetype2display:
  12733. type: string
  12734. zspolishtype1display:
  12735. type: string
  12736. zspolishtype2display:
  12737. type: string
  12738. zsshapetypedisplay:
  12739. type: string
  12740. zsstyletypedisplay:
  12741. type: string
  12742. zssymmetrytype1display:
  12743. type: string
  12744. zssymmetrytype2display:
  12745. type: string
  12746. required:
  12747. - userid
  12748. type: object
  12749. models.MyBuyOrder:
  12750. properties:
  12751. accountid:
  12752. description: 资金账户ID
  12753. type: integer
  12754. marketid:
  12755. description: 市场ID
  12756. type: integer
  12757. ordertime:
  12758. description: 委托时间
  12759. type: string
  12760. origin:
  12761. description: 原产地
  12762. type: string
  12763. performancetemplateid:
  12764. description: 履约计划模板ID
  12765. type: integer
  12766. remark:
  12767. description: 备注
  12768. type: string
  12769. userid:
  12770. description: 用户ID
  12771. type: integer
  12772. validtime:
  12773. description: 有效期限
  12774. type: string
  12775. warehouseids:
  12776. description: 仓库ID - 多个, 逗号分隔
  12777. type: string
  12778. warehouseinfosdisplay:
  12779. type: string
  12780. wrtradeorderid:
  12781. description: '[委托单号]买委托单ID(320+Unix秒时间戳(10位)+xxxxxx)'
  12782. type: string
  12783. wrtradeorderstatus:
  12784. 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、
  12785. type: integer
  12786. zscategory:
  12787. description: 钻石分类 - 枚举”ZSCategory“
  12788. type: integer
  12789. zscategorydisplay:
  12790. type: string
  12791. zsclaritytype:
  12792. description: 净度 - 两个, 逗号分隔
  12793. type: string
  12794. zsclaritytypedisplay:
  12795. type: string
  12796. zscolortype:
  12797. description: 颜色 - 两个, 逗号分隔
  12798. type: string
  12799. zscolortypedisplay:
  12800. type: string
  12801. zscrystaltype:
  12802. description: 晶型 - 多个,逗号分隔
  12803. type: string
  12804. zscrystaltypedisplay:
  12805. type: string
  12806. zscurrencytype:
  12807. description: 货币类型 - 多个, 逗号分隔
  12808. type: string
  12809. zscurrencytypedisplay:
  12810. type: string
  12811. zscuttype:
  12812. description: 切工 - 两个, 逗号分隔
  12813. type: string
  12814. zscuttypedisplay:
  12815. type: string
  12816. zsczcolor1type:
  12817. description: 彩钻颜色1, 逗号分隔
  12818. type: string
  12819. zsczcolor1typedisplay:
  12820. type: string
  12821. zsczcolor2type:
  12822. description: 彩钻颜色2, 逗号分隔
  12823. type: string
  12824. zsczcolor2typedisplay:
  12825. type: string
  12826. zsczcolor3type:
  12827. description: 彩钻颜色3, 逗号分隔
  12828. type: string
  12829. zsczcolor3typedisplay:
  12830. type: string
  12831. zsfluorescencetype:
  12832. description: 荧光 - 多个, 逗号分隔
  12833. type: string
  12834. zsfluorescencetypedisplay:
  12835. type: string
  12836. zspolishtype:
  12837. description: 抛光度 - 两个, 逗号分隔
  12838. type: string
  12839. zspolishtypedisplay:
  12840. type: string
  12841. zsshapetype:
  12842. description: 形状 - 多个, 逗号分隔
  12843. type: string
  12844. zsshapetypedisplay:
  12845. type: string
  12846. zssize:
  12847. description: 尺寸 - 两个小数, 逗号分隔
  12848. type: string
  12849. zsstyletype:
  12850. description: 款式 - 多个, 逗号分隔
  12851. type: string
  12852. zsstyletypedisplay:
  12853. type: string
  12854. zssymmetrytype:
  12855. description: 对称度 - 两个, 逗号分隔
  12856. type: string
  12857. zssymmetrytypedisplay:
  12858. type: string
  12859. zstabledisplay:
  12860. description: 求购信息
  12861. type: string
  12862. required:
  12863. - userid
  12864. type: object
  12865. models.MyCoupon:
  12866. properties:
  12867. accountid:
  12868. description: 资金账户ID
  12869. type: integer
  12870. areauserid:
  12871. description: 所属机构
  12872. type: integer
  12873. conditionvalue:
  12874. description: 条件阈值(可为0)
  12875. type: number
  12876. couponcategroy:
  12877. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单张)
  12878. type: integer
  12879. couponname:
  12880. description: 优惠券名称
  12881. type: string
  12882. coupontypeid:
  12883. description: 优惠券类型ID
  12884. type: string
  12885. couponvalue:
  12886. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  12887. type: number
  12888. curfreezeqty:
  12889. description: 期末冻结数量
  12890. type: integer
  12891. curqty:
  12892. description: 期末数量
  12893. type: integer
  12894. isgeneral:
  12895. description: 是否通用券 - 0:否 1:是
  12896. type: integer
  12897. isunusable:
  12898. description: 是否不可用
  12899. type: boolean
  12900. limitedflag:
  12901. description: 是否指定商品 - 0:不限 1:限制
  12902. type: integer
  12903. limitedgoodsids:
  12904. description: 指定商品IDs[逗号分隔,前后加逗号]
  12905. type: string
  12906. orifreezeqty:
  12907. description: 期初冻结数量
  12908. type: integer
  12909. oriqty:
  12910. description: 期初数量
  12911. type: integer
  12912. reasontype:
  12913. description: 不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家
  12914. type: integer
  12915. todaydecrease:
  12916. description: 今日减少
  12917. type: integer
  12918. todayincrease:
  12919. description: 今日增加
  12920. type: integer
  12921. userid:
  12922. description: 用户ID
  12923. type: integer
  12924. userscope:
  12925. description: 卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]
  12926. type: string
  12927. required:
  12928. - accountid
  12929. - coupontypeid
  12930. type: object
  12931. models.MyCouponHold:
  12932. properties:
  12933. accountid:
  12934. description: 资金账户ID
  12935. type: integer
  12936. conditionvalue:
  12937. description: 条件阈值(可为0)
  12938. type: number
  12939. couponcategroy:
  12940. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)
  12941. type: integer
  12942. couponholdid:
  12943. description: 优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)
  12944. type: string
  12945. couponname:
  12946. description: 优惠券名称
  12947. type: string
  12948. coupontypeid:
  12949. description: 优惠券类型ID - SEQ_COUPONTYPE
  12950. type: string
  12951. couponvalue:
  12952. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  12953. type: number
  12954. createtime:
  12955. description: 创建时间
  12956. type: string
  12957. enddate:
  12958. description: 结束日期
  12959. type: string
  12960. giveapplyid:
  12961. description: 发放申请ID(SEQ_COUPONGIVEAPPLY)
  12962. type: integer
  12963. holdstatus:
  12964. description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期
  12965. type: integer
  12966. isgeneral:
  12967. description: 是否通用券 - 0:否 1:是
  12968. type: integer
  12969. limitedflag:
  12970. description: 是否指定商品 - 0:不限 1:限制
  12971. type: integer
  12972. limitedgoodsids:
  12973. description: 指定商品IDs[逗号分隔]
  12974. type: string
  12975. qty:
  12976. description: 数量(按1平铺)
  12977. type: integer
  12978. startdate:
  12979. description: 开始日期
  12980. type: string
  12981. userid:
  12982. description: 用户ID
  12983. type: integer
  12984. userscope:
  12985. description: 卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]
  12986. type: string
  12987. required:
  12988. - couponholdid
  12989. type: object
  12990. models.MyDeListing:
  12991. properties:
  12992. buyaccountid:
  12993. description: 买方账号ID
  12994. type: integer
  12995. buychargevalue:
  12996. description: 买方手续费
  12997. type: number
  12998. buyuserid:
  12999. description: 买方用户ID
  13000. type: integer
  13001. deliverygoodsid:
  13002. description: 现货品种ID
  13003. type: integer
  13004. exchangerate:
  13005. description: 汇率
  13006. type: number
  13007. goodsno:
  13008. description: 商品编号
  13009. type: string
  13010. marketid:
  13011. description: 市场ID
  13012. type: integer
  13013. matchusername:
  13014. description: 对手方
  13015. type: string
  13016. oritradeamount:
  13017. description: 成交金额[商品币种]
  13018. type: number
  13019. performanceplanid:
  13020. description: 履约计划ID/合同ID
  13021. type: string
  13022. price:
  13023. description: 价格
  13024. type: number
  13025. qty:
  13026. description: 成交重量
  13027. type: number
  13028. sellaccountid:
  13029. description: 卖方账号ID
  13030. type: integer
  13031. sellchargevalue:
  13032. description: 卖方手续费
  13033. type: number
  13034. selluserid:
  13035. description: 卖方用户ID
  13036. type: integer
  13037. sizedisplay:
  13038. description: 尺寸
  13039. type: string
  13040. tradeamount:
  13041. description: 成交金额
  13042. type: number
  13043. tradedate:
  13044. description: 交易日(yyyyMMdd)
  13045. type: string
  13046. tradeprice:
  13047. description: 成交价格
  13048. type: number
  13049. tradetime:
  13050. description: 成交时间
  13051. type: string
  13052. userid:
  13053. description: 用户ID
  13054. type: integer
  13055. warehousenamedisplay:
  13056. type: string
  13057. wrfactortypeid:
  13058. description: 仓单要素类型ID
  13059. type: integer
  13060. wrstandardid:
  13061. description: 现货商品ID
  13062. type: integer
  13063. wrtradedetailid:
  13064. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  13065. type: string
  13066. zscategory:
  13067. description: 钻石分类 - 枚举”ZSCategory“
  13068. type: integer
  13069. zscategorydisplay:
  13070. type: string
  13071. zscerttypedisplay:
  13072. type: string
  13073. zsclaritytype1display:
  13074. type: string
  13075. zsclaritytype2display:
  13076. type: string
  13077. zscolortype1display:
  13078. type: string
  13079. zscolortype2display:
  13080. type: string
  13081. zscrystaltypedisplay:
  13082. type: string
  13083. zscurrencytype:
  13084. description: 货币类型 - 枚举“ZSCurrencyType”
  13085. type: integer
  13086. zscurrencytypedisplay:
  13087. type: string
  13088. zscurrencytypedisplayunit:
  13089. type: string
  13090. zscuttype1display:
  13091. type: string
  13092. zscuttype2display:
  13093. type: string
  13094. zsczcolor1typedisplay:
  13095. type: string
  13096. zsczcolor2typedisplay:
  13097. type: string
  13098. zsczcolor3typedisplay:
  13099. type: string
  13100. zsfluorescencetype1display:
  13101. type: string
  13102. zsfluorescencetype2display:
  13103. type: string
  13104. zspolishtype1display:
  13105. type: string
  13106. zspolishtype2display:
  13107. type: string
  13108. zsshapetypedisplay:
  13109. type: string
  13110. zsstyletypedisplay:
  13111. type: string
  13112. zssymmetrytype1display:
  13113. type: string
  13114. zssymmetrytype2display:
  13115. type: string
  13116. required:
  13117. - userid
  13118. type: object
  13119. models.MyDelistingApply:
  13120. properties:
  13121. applyprice:
  13122. description: 申请价格
  13123. type: number
  13124. applyqty:
  13125. description: 申请数量
  13126. type: number
  13127. applyremark:
  13128. description: 申请备注
  13129. type: string
  13130. applystatus:
  13131. description: 申请状态 - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  13132. type: integer
  13133. applytime:
  13134. description: 申请时间
  13135. type: string
  13136. auditremark:
  13137. description: 确认备注
  13138. type: string
  13139. audittime:
  13140. description: 确认时间
  13141. type: string
  13142. buyuserid:
  13143. description: 买方用户ID
  13144. type: integer
  13145. buyusername:
  13146. description: 买方
  13147. type: string
  13148. buywrtradeorderid:
  13149. description: 买委托单ID
  13150. type: string
  13151. goodsno:
  13152. description: 商品编号
  13153. type: string
  13154. ladingbillid:
  13155. description: 卖方提单ID
  13156. type: string
  13157. marketid:
  13158. description: 市场ID
  13159. type: integer
  13160. performancetemplateid:
  13161. description: 履约计划模板ID
  13162. type: integer
  13163. price:
  13164. description: 价格
  13165. type: number
  13166. sellaccountid:
  13167. description: 卖方账户ID
  13168. type: integer
  13169. selldelistingapplyid:
  13170. description: '[询价单号]卖摘牌申请ID(916+Unix秒时间戳(10位)+xxxxxx)'
  13171. type: string
  13172. selltradeorderid:
  13173. description: 卖方委托ID(买方确认成交后更新)
  13174. type: string
  13175. selluserid:
  13176. description: 卖方用户ID
  13177. type: integer
  13178. sellusername:
  13179. description: 卖方
  13180. type: string
  13181. sizedisplay:
  13182. description: 尺寸
  13183. type: string
  13184. subnum:
  13185. description: 卖方提单子单号
  13186. type: integer
  13187. warehouseinfosdisplay:
  13188. type: string
  13189. weight:
  13190. description: 克拉重量
  13191. type: number
  13192. wrfactortypeid:
  13193. description: 仓单要素类型ID
  13194. type: string
  13195. wrstandardid:
  13196. description: 现货商品ID
  13197. type: integer
  13198. zsallproperties:
  13199. type: string
  13200. zscategorydisplay:
  13201. type: string
  13202. zsclaritytypedisplay:
  13203. type: string
  13204. zscolortypedisplay:
  13205. type: string
  13206. zscrystaltypedisplay:
  13207. type: string
  13208. zscurrencytypedisplay:
  13209. type: string
  13210. zscurrencytypedisplayunit:
  13211. description: 价格单位
  13212. type: string
  13213. zscuttypedisplay:
  13214. type: string
  13215. zsczcolor1typedisplay:
  13216. type: string
  13217. zsczcolor2typedisplay:
  13218. type: string
  13219. zsczcolor3typedisplay:
  13220. type: string
  13221. zsfluorescencetypedisplay:
  13222. type: string
  13223. zspolishtypedisplay:
  13224. type: string
  13225. zsshapetypedisplay:
  13226. type: string
  13227. zssizedisplay:
  13228. type: string
  13229. zsstyletypedisplay:
  13230. type: string
  13231. zssymmetrytypedisplay:
  13232. type: string
  13233. zstabledisplay:
  13234. type: string
  13235. required:
  13236. - selluserid
  13237. type: object
  13238. models.MyFavorite:
  13239. properties:
  13240. accountname:
  13241. description: 账户名称(机构名称)
  13242. type: string
  13243. buyorsell:
  13244. description: 买卖 - 0:买 1:卖
  13245. type: integer
  13246. favoritestatus:
  13247. description: 收藏状态 - 1:正常 2:失效
  13248. type: integer
  13249. goodsno:
  13250. description: 商品编号
  13251. type: string
  13252. marketid:
  13253. description: 市场ID
  13254. type: integer
  13255. marketprice:
  13256. description: 市场价
  13257. type: string
  13258. price:
  13259. description: 价格
  13260. type: number
  13261. priceper:
  13262. description: 克拉单价
  13263. type: string
  13264. sellusername:
  13265. description: 卖家
  13266. type: string
  13267. sizedisplay:
  13268. description: 尺寸
  13269. type: string
  13270. userid:
  13271. description: 用户ID
  13272. type: integer
  13273. warehousenamedisplay:
  13274. description: 仓库名称
  13275. type: string
  13276. weight:
  13277. description: 总重量(克拉重量) - 类型:1,2,3,4,5
  13278. type: number
  13279. weightavg:
  13280. description: 平均单颗重量 - 类型:1,3
  13281. type: number
  13282. wrfactortypeid:
  13283. description: 仓单要素类型ID/商品ID(77)
  13284. type: string
  13285. wrstandardid:
  13286. description: 现货商品ID(自增 SEQ_GOODS 确保不重复)
  13287. type: integer
  13288. wrtradeorderid:
  13289. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  13290. type: string
  13291. zscategory:
  13292. description: 钻石分类 - 枚举”ZSCategory“
  13293. type: integer
  13294. zscategorydisplay:
  13295. type: string
  13296. zscerttypedisplay:
  13297. type: string
  13298. zsclaritytype1display:
  13299. type: string
  13300. zsclaritytype2display:
  13301. type: string
  13302. zscolortype1display:
  13303. type: string
  13304. zscolortype2display:
  13305. type: string
  13306. zscrystaltypedisplay:
  13307. type: string
  13308. zscurrencytypedisplay:
  13309. type: string
  13310. zscurrencytypedisplayunit:
  13311. type: string
  13312. zscuttype1display:
  13313. type: string
  13314. zscuttype2display:
  13315. type: string
  13316. zsczcolor1typedisplay:
  13317. type: string
  13318. zsczcolor2typedisplay:
  13319. type: string
  13320. zsczcolor3typedisplay:
  13321. type: string
  13322. zsfluorescencetype1display:
  13323. type: string
  13324. zsfluorescencetype2display:
  13325. type: string
  13326. zspolishtype1display:
  13327. type: string
  13328. zspolishtype2display:
  13329. type: string
  13330. zsshapetypedisplay:
  13331. type: string
  13332. zsstyletypedisplay:
  13333. type: string
  13334. zssymmetrytype1display:
  13335. type: string
  13336. zssymmetrytype2display:
  13337. type: string
  13338. required:
  13339. - userid
  13340. type: object
  13341. models.MyPerformanc:
  13342. properties:
  13343. accountname:
  13344. description: '[对手方]账户名称(机构名称)'
  13345. type: string
  13346. amount:
  13347. description: 履约金额
  13348. type: number
  13349. buyaccountid:
  13350. description: 买方账号
  13351. type: integer
  13352. buyerfreezeamount:
  13353. description: 买方履约前冻结资金
  13354. type: number
  13355. buyerfreezeamountremain:
  13356. description: 买方履约前冻结资金剩余
  13357. type: number
  13358. buyerinfo:
  13359. description: '买方联系信息 - 存JSON字符串, 根据枚举‘BuyerContactInfo'',显示\隐藏字段,若数据不为JSON,则直接显示{ "ContactInfo":
  13360. "xxxxxxxx", "ReceiveInfo": "xxxxxxxxx", "ReceiptInfo": "xxxxxxxxxxxx"}'
  13361. type: string
  13362. buyorsell:
  13363. description: 方向 - 0:买 1:卖
  13364. type: integer
  13365. buypaidamount:
  13366. description: 买方已冻/已扣金额
  13367. type: number
  13368. buytodayamount:
  13369. description: 买方今日扣/冻金额 (待开市时清零)
  13370. type: number
  13371. curstepid:
  13372. description: 当前步骤ID
  13373. type: string
  13374. goodsno:
  13375. description: 商品编号
  13376. type: string
  13377. overshortamount:
  13378. description: 溢短金额
  13379. type: number
  13380. paymenttype:
  13381. description: 买方支付方式 - 1:冻结 2:扣款
  13382. type: integer
  13383. performanceplanid:
  13384. description: 履约计划ID(130+yyMMddHHmmss+xxxx)
  13385. type: string
  13386. performancestatus:
  13387. description: 履约状态 - 1:待激活 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败
  13388. 9:超时待处理 10:超时关闭
  13389. type: integer
  13390. price:
  13391. description: 价格
  13392. type: number
  13393. priceper:
  13394. description: 克拉单价
  13395. type: string
  13396. relatedorderid:
  13397. description: 关联单号(履约类型的关联单号)
  13398. type: string
  13399. remaindays:
  13400. description: 剩余天数
  13401. type: integer
  13402. sellerfreezeamount:
  13403. description: 卖方履约前冻结资金
  13404. type: number
  13405. sellerfreezeamountremain:
  13406. description: 卖方履约前冻结资金剩余
  13407. type: number
  13408. sellerinfo:
  13409. description: '卖方联系信息 - 存JSON字符串, 根据枚举‘SellerContactInfo'',显示\隐藏字段,若数据不为JSON,则直接显示{ "ContactInfo":
  13410. "xxxxxxxx"}'
  13411. type: string
  13412. sellreceivedamount:
  13413. description: 卖方已收金额
  13414. type: number
  13415. selltodayamount:
  13416. description: 卖方今日收取金额(待开市时清零)
  13417. type: number
  13418. sizedisplay:
  13419. description: 尺寸
  13420. type: string
  13421. steptypeid:
  13422. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  13423. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  13424. type: integer
  13425. warehousenamedisplay:
  13426. type: string
  13427. zscategorydisplay:
  13428. type: string
  13429. zscerttypedisplay:
  13430. type: string
  13431. zsclaritytype1display:
  13432. type: string
  13433. zsclaritytype2display:
  13434. type: string
  13435. zscolortype1display:
  13436. type: string
  13437. zscolortype2display:
  13438. type: string
  13439. zscrystaltypedisplay:
  13440. type: string
  13441. zscurrencytypedisplay:
  13442. type: string
  13443. zscurrencytypedisplayunit:
  13444. type: string
  13445. zscuttype1display:
  13446. type: string
  13447. zscuttype2display:
  13448. type: string
  13449. zsczcolor1typedisplay:
  13450. type: string
  13451. zsczcolor2typedisplay:
  13452. type: string
  13453. zsczcolor3typedisplay:
  13454. type: string
  13455. zsfluorescencetype1display:
  13456. type: string
  13457. zsfluorescencetype2display:
  13458. type: string
  13459. zspolishtype1display:
  13460. type: string
  13461. zspolishtype2display:
  13462. type: string
  13463. zsshapetypedisplay:
  13464. type: string
  13465. zsstyletypedisplay:
  13466. type: string
  13467. zssymmetrytype1display:
  13468. type: string
  13469. zssymmetrytype2display:
  13470. type: string
  13471. type: object
  13472. models.MyRefer:
  13473. properties:
  13474. accountname:
  13475. description: 用户名(脱敏)
  13476. type: string
  13477. createtime:
  13478. description: 时间(yyyy-mm-dd)
  13479. type: string
  13480. score:
  13481. description: 积分
  13482. type: number
  13483. type: object
  13484. models.MySellOrder:
  13485. properties:
  13486. accountid:
  13487. description: 资金账号
  13488. type: integer
  13489. applyid:
  13490. description: 申请单ID
  13491. type: integer
  13492. attachment1:
  13493. description: 附件1
  13494. type: string
  13495. attachment2:
  13496. description: 附件2
  13497. type: string
  13498. buyorsell:
  13499. description: 买卖 - 0:买 1:卖
  13500. type: integer
  13501. canbargain:
  13502. description: 是否可议价 - 0:不可 1:可
  13503. type: integer
  13504. cancelqty:
  13505. description: 撤销数量
  13506. type: integer
  13507. canceltime:
  13508. description: 撤销时间
  13509. type: string
  13510. cerno:
  13511. type: string
  13512. chargealgorithm:
  13513. description: 手续费收取方式 1:比率 2:固定
  13514. type: integer
  13515. chargealgorithmvalue:
  13516. description: 手续费设置值(交易所部分)
  13517. type: number
  13518. chargealgorithmvalue2:
  13519. description: 手续费设置值(会员部分)
  13520. type: number
  13521. clientordertime:
  13522. description: 客户端委托时间
  13523. type: string
  13524. cpcertno:
  13525. type: string
  13526. exchangerate:
  13527. description: 汇率[67]
  13528. type: number
  13529. firstratio:
  13530. description: 首付比率 - [挂牌时指定,摘牌时使用]
  13531. type: number
  13532. fixedprice:
  13533. description: '[克拉单价]固定价格 - [挂牌]'
  13534. type: number
  13535. freezecharge:
  13536. description: 冻结手续费
  13537. type: number
  13538. freezefirstamount:
  13539. description: 冻结首付金额 - [摘牌]
  13540. type: number
  13541. freezemargin:
  13542. description: 冻结保证金
  13543. type: number
  13544. goodsno:
  13545. description: 商品编号
  13546. type: string
  13547. imagepath:
  13548. type: string
  13549. isspecified:
  13550. description: 是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  13551. type: integer
  13552. kppath:
  13553. type: string
  13554. kpweight:
  13555. type: string
  13556. marginalgorithm:
  13557. description: 保证金方式 - 1:比率 2:固定
  13558. type: integer
  13559. marginvalue:
  13560. description: 保证金设置值
  13561. type: number
  13562. marketid:
  13563. description: 市场ID
  13564. type: integer
  13565. marketprice:
  13566. type: string
  13567. orderamount:
  13568. description: 挂牌金额[账户] [67]= OrderQty * FixedPrice * ExchangeRate /100
  13569. type: number
  13570. ordertime:
  13571. description: 委托时间
  13572. type: string
  13573. performancetemplateid:
  13574. description: 履约计划模板ID
  13575. type: integer
  13576. price:
  13577. description: 价格
  13578. type: number
  13579. pricefactor:
  13580. description: 价格系数(浮动价时填写) - [挂牌]
  13581. type: number
  13582. pricemove:
  13583. description: 升贴水(浮动价时填写) - [挂牌]
  13584. type: number
  13585. priceper:
  13586. type: string
  13587. relatedwrtradeorderid:
  13588. description: 关联委托单号(摘牌委托关联挂牌委托单ID)
  13589. type: integer
  13590. remark:
  13591. type: string
  13592. retcode:
  13593. description: 错误代码
  13594. type: integer
  13595. selledqty:
  13596. description: 成交重量
  13597. type: number
  13598. settingmaterial:
  13599. type: string
  13600. size1:
  13601. type: string
  13602. size2:
  13603. type: string
  13604. size3:
  13605. type: string
  13606. sizedisplay:
  13607. description: 尺寸
  13608. type: string
  13609. stonedesc:
  13610. type: string
  13611. totalqty:
  13612. description: 总重量
  13613. type: number
  13614. tradedate:
  13615. description: 交易日(yyyyMMdd)
  13616. type: string
  13617. tradeprice:
  13618. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)*
  13619. 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  13620. type: number
  13621. unfreezecharge:
  13622. description: 解冻手续费
  13623. type: number
  13624. unfreezefirstamount:
  13625. description: 解冻首付金额 - [摘牌]
  13626. type: number
  13627. unfreezemargin:
  13628. description: 解冻保证金
  13629. type: number
  13630. userid:
  13631. description: 用户ID
  13632. type: integer
  13633. uuid:
  13634. description: 发起端唯一id
  13635. type: string
  13636. validtime:
  13637. description: 有效期限
  13638. type: string
  13639. validtype:
  13640. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  13641. type: integer
  13642. warehousenamedisplay:
  13643. type: string
  13644. wrbargainid:
  13645. description: 议价申请单ID
  13646. type: integer
  13647. wrfactortypeid:
  13648. description: 仓单要素类型ID/商品ID(77)
  13649. type: integer
  13650. wrpath:
  13651. type: string
  13652. wrpricetype:
  13653. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  13654. type: integer
  13655. wrstandardid:
  13656. description: 现货商品ID
  13657. type: integer
  13658. wrtradeorderid:
  13659. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  13660. type: string
  13661. wrtradeorderstatus:
  13662. 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:撤单解冻贷款失败
  13663. type: integer
  13664. wrtradetype:
  13665. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  13666. type: integer
  13667. wrtransferuserid:
  13668. description: 仓单受让用户 - [摘牌]
  13669. type: integer
  13670. zscategory:
  13671. description: 钻石分类 - 枚举”ZSCategory“
  13672. type: integer
  13673. zscategorydisplay:
  13674. description: 钻石分类 - 描述
  13675. type: string
  13676. zscerttypedisplay:
  13677. type: string
  13678. zsclaritytype1display:
  13679. type: string
  13680. zsclaritytype2display:
  13681. type: string
  13682. zscolortype1display:
  13683. type: string
  13684. zscolortype2display:
  13685. type: string
  13686. zscrystaltype:
  13687. type: string
  13688. zscrystaltypedisplay:
  13689. type: string
  13690. zscurrencytype:
  13691. description: 货币类型 - 枚举“ZSCurrencyType”
  13692. type: integer
  13693. zscurrencytypedisplay:
  13694. type: string
  13695. zscurrencytypedisplayunit:
  13696. type: string
  13697. zscuttype1display:
  13698. type: string
  13699. zscuttype2display:
  13700. type: string
  13701. zsczcolor1typedisplay:
  13702. type: string
  13703. zsczcolor2typedisplay:
  13704. type: string
  13705. zsczcolor3typedisplay:
  13706. type: string
  13707. zsfluorescencetype1display:
  13708. type: string
  13709. zsfluorescencetype2display:
  13710. type: string
  13711. zspolishtype1display:
  13712. type: string
  13713. zspolishtype2display:
  13714. type: string
  13715. zsshapetypedisplay:
  13716. type: string
  13717. zsstyletypedisplay:
  13718. type: string
  13719. zssymmetrytype1display:
  13720. type: string
  13721. zssymmetrytype2display:
  13722. type: string
  13723. required:
  13724. - userid
  13725. type: object
  13726. models.MyUsedCoupon:
  13727. properties:
  13728. accountid:
  13729. description: 资金账户ID(买方)
  13730. type: integer
  13731. conditionvalue:
  13732. description: 条件阈值(可为0)
  13733. type: number
  13734. couponcategroy:
  13735. description: 种类 - 1:现金券 2:折扣券
  13736. type: integer
  13737. couponname:
  13738. description: 优惠券名称
  13739. type: string
  13740. coupontypeid:
  13741. description: 优惠券类型ID(买方)
  13742. type: string
  13743. couponvalue:
  13744. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]
  13745. type: number
  13746. createtime:
  13747. description: 创建时间
  13748. type: string
  13749. goodsid:
  13750. description: 商品ID
  13751. type: integer
  13752. handlestatus:
  13753. description: 处理状态
  13754. type: integer
  13755. marketid:
  13756. description: 市场ID
  13757. type: integer
  13758. offamount:
  13759. description: 优惠金额
  13760. type: number
  13761. orderid:
  13762. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13763. type: string
  13764. sellaccountid:
  13765. description: 资金账户ID(卖方)
  13766. type: integer
  13767. tradeamount:
  13768. description: 成交金额
  13769. type: number
  13770. tradeid:
  13771. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13772. type: string
  13773. usedqty:
  13774. description: 使用数量
  13775. type: integer
  13776. required:
  13777. - coupontypeid
  13778. - orderid
  13779. type: object
  13780. models.MyWRPosition:
  13781. properties:
  13782. cerno:
  13783. description: 证书编号 - 类型:2,4,5
  13784. type: string
  13785. cpcertno:
  13786. description: 金伯利证书编号 - 类型:3
  13787. type: string
  13788. ffreezeqty:
  13789. description: 冻结数量:WRPosition表:FREEZEQTY/100 , 保留两位小数
  13790. type: number
  13791. ftotalqty:
  13792. description: 库存数量:WRPosition表:TOTALQTY /100 , 保留两位小数
  13793. type: number
  13794. goodsno:
  13795. description: 商品编号
  13796. type: string
  13797. imagepath:
  13798. description: 商品照片(相对地址)
  13799. type: string
  13800. isvalid:
  13801. description: 是否有效 - 0:无效 1:有效
  13802. type: integer
  13803. kppath:
  13804. description: 金伯利证书图片(相对地址) - 类型:3
  13805. type: string
  13806. kpweight:
  13807. description: 金伯利证书重量 - 类型:3
  13808. type: string
  13809. ladingbillid:
  13810. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  13811. type: string
  13812. marketflag:
  13813. description: 是否上架,0-全部 1-是 2-否
  13814. type: integer
  13815. marketprice:
  13816. description: 市场价
  13817. type: string
  13818. origin:
  13819. description: 原产地 - 类型:3
  13820. type: string
  13821. price:
  13822. description: 总价(价格) - 类型:1,2,3,4,5
  13823. type: number
  13824. priceper:
  13825. description: 克拉单价 - 类型:1,2,3,5
  13826. type: string
  13827. remark:
  13828. description: 备注
  13829. type: string
  13830. sellmobile:
  13831. description: 手机号码(加密存储)
  13832. type: string
  13833. sellusername:
  13834. description: 账户名称(机构名称)
  13835. type: string
  13836. settingmaterial:
  13837. description: 镶嵌材料 - 类型:4
  13838. type: string
  13839. size1:
  13840. description: 尺寸1 - 类型:2,4,5
  13841. type: string
  13842. size2:
  13843. description: 尺寸2 - 类型:2,4,5
  13844. type: string
  13845. size3:
  13846. description: 尺寸3 - 类型:2,4,5
  13847. type: string
  13848. sizedisplay:
  13849. description: 尺寸
  13850. type: string
  13851. stonedesc:
  13852. description: 配石描述 - 类型:4
  13853. type: string
  13854. subnum:
  13855. description: 提单子单号
  13856. type: integer
  13857. userid:
  13858. description: 用户ID
  13859. type: integer
  13860. warehouseid:
  13861. description: 仓库ID
  13862. type: integer
  13863. warehousenamedisplay:
  13864. type: string
  13865. weight:
  13866. description: 总重量(克拉重量) - 类型:1,2,3,4,5
  13867. type: number
  13868. weightavg:
  13869. description: 平均单颗重量 - 类型:1,3
  13870. type: number
  13871. wrpath:
  13872. description: 仓单扫描件(相对地址)
  13873. type: string
  13874. wrstandardid:
  13875. description: 现货商品ID
  13876. type: integer
  13877. wrtradeorderid:
  13878. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  13879. type: string
  13880. wruserid:
  13881. description: 登录用户ID
  13882. type: integer
  13883. zscategory:
  13884. description: 钻石分类 - 枚举”ZSCategory“
  13885. type: integer
  13886. zscategorydisplay:
  13887. type: string
  13888. zscerttype:
  13889. description: 证书类型 - 枚举”ZSCertType“ - 类型:2,4,5
  13890. type: integer
  13891. zscerttypedisplay:
  13892. type: string
  13893. zsclaritytype1:
  13894. description: 净度1 - 枚举”ZSClarityType“ - 类型:1,2,3,4,5
  13895. type: integer
  13896. zsclaritytype1display:
  13897. type: string
  13898. zsclaritytype2:
  13899. description: 净度2 - 枚举”ZSClarityType“ - 类型:1,3
  13900. type: integer
  13901. zsclaritytype2display:
  13902. type: string
  13903. zscolortype1:
  13904. description: 颜色1 - 枚举”ZSColorType“ - 类型:1,2,3,4
  13905. type: integer
  13906. zscolortype1display:
  13907. type: string
  13908. zscolortype2:
  13909. description: 颜色2 - 枚举”ZSColorType“ - 类型:1,3
  13910. type: integer
  13911. zscolortype2display:
  13912. type: string
  13913. zscrystaltype:
  13914. description: 晶型范围 - 枚举“ZSCrystalType“ - 类型:3, 多个,逗号分隔
  13915. type: string
  13916. zscrystaltypedisplay:
  13917. type: string
  13918. zscurrencytype:
  13919. description: 货币类型 - 枚举“ZSCurrencyType”
  13920. type: integer
  13921. zscurrencytypedisplay:
  13922. type: string
  13923. zscurrencytypedisplayunit:
  13924. type: string
  13925. zscuttype1:
  13926. description: 切工1 - 枚举”ZSCutType“ - 类型:1,2,4,5
  13927. type: integer
  13928. zscuttype1display:
  13929. type: string
  13930. zscuttype2:
  13931. description: 切工2 - 枚举”ZSCutType“ - 类型:1
  13932. type: integer
  13933. zscuttype2display:
  13934. type: string
  13935. zsczcolor1type:
  13936. description: 彩钻颜色1 - 枚举”ZSCZColor1Type“ - 类型:5
  13937. type: integer
  13938. zsczcolor1typedisplay:
  13939. type: string
  13940. zsczcolor2type:
  13941. description: 彩钻颜色2 - 枚举”ZSCZColor2Type“ - 类型:5
  13942. type: integer
  13943. zsczcolor2typedisplay:
  13944. type: string
  13945. zsczcolor3type:
  13946. description: 彩钻颜色3 - 枚举”ZSCZColor3Type“ - 类型:5
  13947. type: integer
  13948. zsczcolor3typedisplay:
  13949. type: string
  13950. zsfluorescencetype1:
  13951. description: 荧光1 - 枚举”ZSFluorescenceType“ - 类型:1,2,3,4,5
  13952. type: integer
  13953. zsfluorescencetype1display:
  13954. type: string
  13955. zsfluorescencetype2:
  13956. description: 荧光2 - 枚举”ZSFluorescenceType” - 类型:1,3
  13957. type: integer
  13958. zsfluorescencetype2display:
  13959. type: string
  13960. zspolishtype1:
  13961. description: 抛光度1 - 枚举”ZSPolishType“ - 类型:1,2,4,5
  13962. type: integer
  13963. zspolishtype1display:
  13964. type: string
  13965. zspolishtype2:
  13966. description: 抛光度2 - 枚举”ZSPolishType“ - 类型:1
  13967. type: integer
  13968. zspolishtype2display:
  13969. type: string
  13970. zsshapetype:
  13971. description: 形状 - 枚举”ZSShapeType“ - 类型:1,2,4,5 ;(1为多个,逗号分隔)
  13972. type: string
  13973. zsshapetypedisplay:
  13974. type: string
  13975. zsstyletype:
  13976. description: 款式 - 类型:4
  13977. type: integer
  13978. zsstyletypedisplay:
  13979. type: string
  13980. zssymmetrytype1:
  13981. description: 对称度1 - 枚举”ZSSymmetryType“ - 类型:1,2,4,5
  13982. type: integer
  13983. zssymmetrytype1display:
  13984. type: string
  13985. zssymmetrytype2:
  13986. description: 对称度2 - 枚举”ZSSymmetryType“ - 类型:1
  13987. type: integer
  13988. zssymmetrytype2display:
  13989. type: string
  13990. required:
  13991. - wruserid
  13992. type: object
  13993. models.NewFuncmenulist:
  13994. properties:
  13995. authtype:
  13996. description: 权限类型 - 1:菜单 2:组件 3:按钮
  13997. type: integer
  13998. buttonname:
  13999. description: 按钮名称
  14000. type: string
  14001. buttontype:
  14002. description: 按钮类型 - 存按钮样式
  14003. type: string
  14004. component:
  14005. description: 组件名或组件地址
  14006. type: string
  14007. hidden:
  14008. description: 是否隐藏 - 0:显示 1:隐藏
  14009. type: integer
  14010. iconame:
  14011. description: 菜单图标
  14012. type: string
  14013. menutype:
  14014. description: 菜单类型 - 1:管理端 2:PC(C#) 3:移动(云平台) 4:终端(交易所) 5:PC(云平台)
  14015. type: integer
  14016. parentcode:
  14017. description: 上级资源代码
  14018. type: string
  14019. remark:
  14020. description: Remark
  14021. type: string
  14022. resourcecode:
  14023. description: 资源代码
  14024. type: string
  14025. resourcelevel:
  14026. description: 级别1-一级 2-二级 3-三级4-四级
  14027. type: integer
  14028. resourcename:
  14029. description: 资源名(Title)
  14030. type: string
  14031. sort:
  14032. description: 排序
  14033. type: integer
  14034. url:
  14035. description: Url
  14036. type: string
  14037. urltype:
  14038. description: 地址类型 - 1:路由 2:外链 3:内联框架
  14039. type: integer
  14040. required:
  14041. - resourcecode
  14042. type: object
  14043. models.OperationPrimaryMenu:
  14044. properties:
  14045. Children:
  14046. description: 二级功能菜单
  14047. items:
  14048. $ref: '#/definitions/models.OperationSecondaryMenu'
  14049. type: array
  14050. Key:
  14051. description: 菜单KEY
  14052. type: string
  14053. Label:
  14054. description: 菜单标题
  14055. type: string
  14056. type: object
  14057. models.OperationSecondaryMenu:
  14058. properties:
  14059. Key:
  14060. description: 菜单KEY
  14061. type: string
  14062. Label:
  14063. description: 菜单标题
  14064. type: string
  14065. TabList:
  14066. description: 三级功能菜单
  14067. items:
  14068. $ref: '#/definitions/models.OperationTabMenu'
  14069. type: array
  14070. type: object
  14071. models.OperationTabMenu:
  14072. properties:
  14073. Key:
  14074. description: 菜单KEY
  14075. type: string
  14076. Label:
  14077. description: 菜单标题
  14078. type: string
  14079. type: object
  14080. models.Patradelinkdetail:
  14081. properties:
  14082. accountname:
  14083. description: 套期主体
  14084. type: string
  14085. agreeunit:
  14086. description: 合约乘数
  14087. type: number
  14088. amount:
  14089. description: 金额 = RelatedLot * TradePrice * AgreeUnit
  14090. type: number
  14091. areauserid:
  14092. description: 所属机构
  14093. type: integer
  14094. bizsubjectid:
  14095. description: 归属业务部门ID - SubjectID
  14096. type: integer
  14097. buyorsell:
  14098. description: 方向 - 0:买 1:卖
  14099. type: integer
  14100. convertratio:
  14101. description: 品种系数
  14102. type: number
  14103. convertratiochange:
  14104. description: 套期商品变化量 = RelatedLot * AgreeUnit * ConvertRatio
  14105. type: number
  14106. createtime:
  14107. description: '[日期时间]创建时间'
  14108. type: string
  14109. creatorid:
  14110. description: 创建人ID
  14111. type: integer
  14112. creatorsrc:
  14113. description: 创建人来源 - 1:管理端 2:终端 3:交易
  14114. type: integer
  14115. goodscode:
  14116. description: 商品代码(内部)
  14117. type: string
  14118. goodsgroupid:
  14119. description: 对冲品种ID[期货合约商品组ID]
  14120. type: integer
  14121. goodsid:
  14122. description: 商品ID
  14123. type: integer
  14124. hedgeditemid:
  14125. description: 现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]
  14126. type: integer
  14127. hedgeflag:
  14128. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  14129. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目
  14130. type: integer
  14131. linkdetailid:
  14132. description: 期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)
  14133. type: string
  14134. linkstatus:
  14135. description: 关联状态 - 1:成功 2:失败 3:解绑
  14136. type: integer
  14137. middlegoodsid:
  14138. description: 套保品种ID
  14139. type: integer
  14140. name:
  14141. description: 账户名/子账户
  14142. type: string
  14143. optioncode:
  14144. description: '[期货合约]期权代码 [期权]'
  14145. type: string
  14146. ordertype:
  14147. description: 单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单
  14148. type: integer
  14149. relatedlot:
  14150. description: '[数量]关联手数'
  14151. type: number
  14152. relatedmode:
  14153. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  14154. type: integer
  14155. relatedqty:
  14156. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  14157. type: number
  14158. retcode:
  14159. description: 返回码
  14160. type: integer
  14161. saleuserid:
  14162. description: 业务员ID
  14163. type: integer
  14164. tradedate:
  14165. description: 关联交易日(yyyyMMdd)
  14166. type: string
  14167. tradeid:
  14168. description: '[成交单号]内部成交单ID'
  14169. type: string
  14170. tradelot:
  14171. description: 成交手数
  14172. type: integer
  14173. tradeprice:
  14174. description: '[价格]成交价格'
  14175. type: number
  14176. tradetradedate:
  14177. description: 成交交易日(yyyyMMdd)
  14178. type: string
  14179. type: object
  14180. models.QhjAccountOutInApply:
  14181. properties:
  14182. accountcode:
  14183. description: 资金账号
  14184. type: string
  14185. accountname:
  14186. description: 用户名称(名称)
  14187. type: string
  14188. accountpwd:
  14189. description: 资金密码
  14190. type: string
  14191. accountticket:
  14192. description: 最新账户服务流水号
  14193. type: string
  14194. amount:
  14195. description: 金额
  14196. type: number
  14197. applyremark:
  14198. description: 申请备注
  14199. type: string
  14200. applystatus:
  14201. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  14202. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  14203. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  14204. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  14205. type: integer
  14206. auditid:
  14207. description: 审核人
  14208. type: integer
  14209. audittime:
  14210. description: 审核时间
  14211. type: string
  14212. bank_apply_ticket:
  14213. description: 银行申请流水
  14214. type: string
  14215. bankaccountname:
  14216. description: 银行账户名
  14217. type: string
  14218. bankaccountno:
  14219. description: 银行卡号
  14220. type: string
  14221. bankid:
  14222. description: 银行编号
  14223. type: string
  14224. bankticket:
  14225. description: 银行流水
  14226. type: string
  14227. branchbankid:
  14228. description: 银行支行号
  14229. type: string
  14230. branchbankname:
  14231. description: 银行支行名称
  14232. type: string
  14233. capamountout:
  14234. description: 出金(劣后本金) - 外部子账户
  14235. type: number
  14236. certificatephotourl:
  14237. description: 凭证地址
  14238. type: string
  14239. charge:
  14240. description: 手续费
  14241. type: number
  14242. checkerrorflag:
  14243. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  14244. type: integer
  14245. currency:
  14246. description: 币种
  14247. type: string
  14248. cusbankid:
  14249. description: 托管银行编号
  14250. type: string
  14251. cusbankname:
  14252. description: 托管银行名称
  14253. type: string
  14254. cusbankshortname:
  14255. description: 托管银行简称
  14256. type: string
  14257. exchticket:
  14258. description: 银行服务流水号
  14259. type: string
  14260. executetype:
  14261. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  14262. 7:外部子账户:入金 8:外部子账户:出金'
  14263. type: integer
  14264. extendinfo:
  14265. description: 扩展信息
  14266. type: string
  14267. extoperateid:
  14268. description: 交易服务流水号
  14269. type: integer
  14270. infamount:
  14271. description: 劣后金额(自有)
  14272. type: number
  14273. logincode:
  14274. description: 登录账号(账号)
  14275. type: string
  14276. netaddr:
  14277. description: 调转网址
  14278. type: string
  14279. priamount:
  14280. description: 优先金额(授信)
  14281. type: number
  14282. reauditid:
  14283. description: 复审人
  14284. type: integer
  14285. reauditremark:
  14286. description: 复审备注
  14287. type: string
  14288. reaudittime:
  14289. description: 复审时间
  14290. type: string
  14291. relatedorderid:
  14292. description: 三方关联ID
  14293. type: string
  14294. remark:
  14295. description: 备注
  14296. type: string
  14297. remark2:
  14298. description: 备注(失败原因)
  14299. type: string
  14300. soucreamount:
  14301. description: 原始出入金金额
  14302. type: number
  14303. soucrecurrencyid:
  14304. description: 原始出入金币种
  14305. type: integer
  14306. tradedate:
  14307. description: 交易日(yyyyMMdd)
  14308. type: string
  14309. updatetime:
  14310. description: 更新时间(申请时间)
  14311. type: string
  14312. userid:
  14313. description: 用户id
  14314. type: integer
  14315. userinfotype:
  14316. description: 账户类型 1-个人 2-企业
  14317. type: integer
  14318. type: object
  14319. models.QhjAgreementChangeLog:
  14320. properties:
  14321. agreementcontent:
  14322. description: 协议内容
  14323. type: string
  14324. agreementfrequency:
  14325. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  14326. type: integer
  14327. agreementid:
  14328. description: 协议ID
  14329. type: integer
  14330. agreementname:
  14331. description: 协议名称
  14332. type: string
  14333. agreementno:
  14334. description: 协议编号
  14335. type: string
  14336. agreementtype:
  14337. description: 协议类型 - 1:注册 2:登录 3:交易
  14338. type: integer
  14339. agreementversion:
  14340. description: 协议版本号
  14341. type: integer
  14342. logid:
  14343. description: 流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)
  14344. type: integer
  14345. reviserid:
  14346. description: 修改人
  14347. type: integer
  14348. revisersrc:
  14349. description: 修改来源 - 1:管理端 2:终端
  14350. type: integer
  14351. updatetime:
  14352. description: 更新时间
  14353. type: string
  14354. type: object
  14355. models.QhjAgreementConfig:
  14356. properties:
  14357. agreementcontent:
  14358. description: 协议内容
  14359. type: string
  14360. agreementfrequency:
  14361. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  14362. type: integer
  14363. agreementid:
  14364. description: 协议ID(SEQ_QHJ_AGREEMENTCONFIG)
  14365. type: integer
  14366. agreementname:
  14367. description: 协议名称
  14368. type: string
  14369. agreementno:
  14370. description: 协议编号
  14371. type: string
  14372. agreementtype:
  14373. description: 协议类型 - 1:注册 2:登录 3:交易
  14374. type: integer
  14375. agreementversion:
  14376. description: 协议版本号(从1开始每次修改加1)
  14377. type: integer
  14378. createtime:
  14379. description: 创建时间
  14380. type: string
  14381. creatorid:
  14382. description: 创建人
  14383. type: integer
  14384. creatorsrc:
  14385. description: 创建来源 - 1:管理端 2:终端
  14386. type: integer
  14387. isvalid:
  14388. description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  14389. type: integer
  14390. reviserid:
  14391. description: 修改人
  14392. type: integer
  14393. revisersrc:
  14394. description: 修改来源 - 1:管理端 2:终端
  14395. type: integer
  14396. updatetime:
  14397. description: 更新时间
  14398. type: string
  14399. type: object
  14400. models.QhjAreaFinanceConfig:
  14401. properties:
  14402. additionalratio:
  14403. description: 追加款比例
  14404. type: number
  14405. advanceratio:
  14406. description: 预付款比例
  14407. type: number
  14408. alarmratio:
  14409. description: 告警比例
  14410. type: number
  14411. consumptiondirectreward:
  14412. description: 消费直推奖励值
  14413. type: number
  14414. consumptionenabled:
  14415. description: 是否启用消费奖励 - 0:不启用 1:启用
  14416. type: integer
  14417. consumptionindirectreward:
  14418. description: 消费间推奖励值
  14419. type: number
  14420. consumptionmodel:
  14421. description: 消费奖励方式 - 1:比率 2:固定
  14422. type: integer
  14423. customerservicenum:
  14424. description: 客服电话
  14425. type: string
  14426. dayinterestrate:
  14427. description: 日利率
  14428. type: number
  14429. disableconsumptiontips:
  14430. description: 关闭消费奖励提示
  14431. type: string
  14432. modifierid:
  14433. description: 修改人ID
  14434. type: integer
  14435. modifysrc:
  14436. description: 审核来源 - 1:管理端 2:终端
  14437. type: integer
  14438. modifytime:
  14439. description: 修改时间
  14440. type: string
  14441. promotionvalue:
  14442. description: 推广奖励值(固定)
  14443. type: number
  14444. scoreconfigvalue1:
  14445. description: 提货积分配置1
  14446. type: integer
  14447. scoreconfigvalue2:
  14448. description: 提货积分配置2
  14449. type: integer
  14450. userid:
  14451. description: 机构用户ID其他做市关系,都设置为 1
  14452. type: integer
  14453. username:
  14454. description: 用户名称
  14455. type: string
  14456. type: object
  14457. models.QhjBankAccountSign:
  14458. properties:
  14459. accountcode:
  14460. description: 资金账号
  14461. type: string
  14462. accountname:
  14463. description: 资金账号对应的账号名(UserName)
  14464. type: string
  14465. accountname2:
  14466. description: 资金账号对应的账号名(UserName) - 密文
  14467. type: string
  14468. accounttype:
  14469. description: 账户类型(UserType)
  14470. type: integer
  14471. applicationtime:
  14472. description: 最后一次更新的时间
  14473. type: string
  14474. applyexchticket:
  14475. description: 申请流水
  14476. type: string
  14477. auditid:
  14478. description: 审核人
  14479. type: integer
  14480. audittime:
  14481. description: 审核时间
  14482. type: string
  14483. bankaccountname:
  14484. description: 签约银行卡账号名
  14485. type: string
  14486. bankaccountname2:
  14487. description: 签约银行卡账号名 - 密文
  14488. type: string
  14489. bankaccountno:
  14490. description: 银行卡号
  14491. type: string
  14492. bankaccountno2:
  14493. description: 银行卡号 - 密文
  14494. type: string
  14495. bankaccounttype:
  14496. description: 银行账户类型 - 1-对私; 2-对公
  14497. type: integer
  14498. bankcardtype:
  14499. description: 银行卡类型
  14500. type: integer
  14501. bankchildaccount:
  14502. description: 银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)
  14503. type: string
  14504. bankcity:
  14505. description: 开户行城市
  14506. type: string
  14507. bankid:
  14508. description: 签约银行ID
  14509. type: string
  14510. bankname:
  14511. description: 签约银行名称
  14512. type: string
  14513. bankprovince:
  14514. description: 开户行省份
  14515. type: string
  14516. branchbankid:
  14517. description: 签约银行支行号
  14518. type: string
  14519. branchbankname:
  14520. description: 签约银行支行名称
  14521. type: string
  14522. cardno:
  14523. description: 证件号码
  14524. type: string
  14525. cardno2:
  14526. description: 证件号码 - 密文
  14527. type: string
  14528. cardtype:
  14529. description: 证件类型
  14530. type: string
  14531. currency:
  14532. description: 币种
  14533. type: string
  14534. cusbankid:
  14535. description: 托管银行编号
  14536. type: string
  14537. direct:
  14538. description: 方向(可以判断那方先发起的签约)
  14539. type: integer
  14540. exchticket:
  14541. description: 最后一次签约成功的流水号
  14542. type: string
  14543. extendinfo:
  14544. description: 扩展信息(JSON字符串)
  14545. type: string
  14546. mobilephone:
  14547. description: 手机号
  14548. type: string
  14549. mobilephone2:
  14550. description: 手机号 - 密文
  14551. type: string
  14552. netaddr:
  14553. description: 调转网址
  14554. type: string
  14555. relateduserid:
  14556. description: 关联使用者userid
  14557. type: integer
  14558. signstatus:
  14559. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  14560. 10:审核拒绝 11:换签待审核
  14561. type: integer
  14562. updatetime:
  14563. description: 更新时间(签解约更新时间)
  14564. type: string
  14565. type: object
  14566. models.QhjBankInfo:
  14567. properties:
  14568. bankid:
  14569. description: 银行ID
  14570. type: string
  14571. bankname:
  14572. description: 银行名称
  14573. type: string
  14574. clearbankno:
  14575. description: 清算系统银行编号
  14576. type: string
  14577. orderindex:
  14578. description: 排序顺序
  14579. type: integer
  14580. status:
  14581. description: 状态 - 0:正常 1:注销
  14582. type: integer
  14583. type: object
  14584. models.QhjBrokerApply:
  14585. properties:
  14586. applicantid:
  14587. description: 申请人
  14588. type: integer
  14589. applysrc:
  14590. description: 申请来源 - 1:管理端 2:终端
  14591. type: integer
  14592. applystatus:
  14593. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  14594. type: integer
  14595. applytime:
  14596. description: 申请时间
  14597. type: string
  14598. auditorid:
  14599. description: 审核人
  14600. type: integer
  14601. auditremark:
  14602. description: 审核备注
  14603. type: string
  14604. auditsrc:
  14605. description: 审核来源 - 1:管理端 2:终端
  14606. type: integer
  14607. audittime:
  14608. description: 审核时间
  14609. type: string
  14610. audittradedate:
  14611. description: 审核交易日(yyyyMMdd)
  14612. type: string
  14613. brokerapplyid:
  14614. description: 申请ID(SEQ_BROKERAPPLY)
  14615. type: integer
  14616. cardbackphotourl:
  14617. description: 证件背面图片地址
  14618. type: string
  14619. cardfrontphotourl:
  14620. description: 证件正面图片地址
  14621. type: string
  14622. cardnum:
  14623. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  14624. type: string
  14625. customername:
  14626. description: 姓名
  14627. type: string
  14628. logincode:
  14629. description: 登录代码
  14630. type: string
  14631. mobile:
  14632. description: 手机号码
  14633. type: string
  14634. parentuserid:
  14635. description: 所属机构id
  14636. type: integer
  14637. parentusername:
  14638. description: 所属机构名称
  14639. type: string
  14640. refereeuserid:
  14641. description: 推荐人id(经纪人)
  14642. type: integer
  14643. refernum:
  14644. description: 推荐码
  14645. type: string
  14646. remark:
  14647. description: 备注
  14648. type: string
  14649. subarealevelpath:
  14650. description: 层级路径
  14651. type: string
  14652. tradedate:
  14653. description: 交易日(yyyyMMdd)
  14654. type: string
  14655. userid:
  14656. description: 申请人用户ID
  14657. type: integer
  14658. userinfotype:
  14659. description: 用户类型 1-个人 2-企业
  14660. type: integer
  14661. username:
  14662. description: 用户名称
  14663. type: string
  14664. type: object
  14665. models.QhjBrokerApplyEx:
  14666. properties:
  14667. applylist:
  14668. description: 经纪人申请记录(只返回最新一条)
  14669. items:
  14670. $ref: '#/definitions/models.QhjBrokerApply'
  14671. type: array
  14672. canrecommend:
  14673. description: 是否经纪人 0-不是 1-是
  14674. type: integer
  14675. refernum:
  14676. description: 推荐码
  14677. type: string
  14678. userid:
  14679. description: 用户id
  14680. type: integer
  14681. userinfotype:
  14682. description: 用户类型 1-个人 2-企业
  14683. type: integer
  14684. type: object
  14685. models.QhjBrokerRewardLog:
  14686. properties:
  14687. accountid:
  14688. description: 资金账号ID
  14689. type: integer
  14690. createtime:
  14691. description: 创建时间(时间)
  14692. type: string
  14693. handlestatus:
  14694. description: 处理状态
  14695. type: integer
  14696. logid:
  14697. description: 奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  14698. type: string
  14699. marketid:
  14700. description: 市场ID
  14701. type: integer
  14702. mmaccountid:
  14703. description: 做市商资金账号ID
  14704. type: string
  14705. mmuserid:
  14706. description: 做市商用户ID
  14707. type: string
  14708. rewardamount:
  14709. description: 奖励金额
  14710. type: number
  14711. rewardmodel:
  14712. description: 消费奖励方式 - 1:比率 2:固定
  14713. type: integer
  14714. rewardtype:
  14715. description: 奖励类型 - 1:推广 2:消费1级 3:消费2级
  14716. type: integer
  14717. rewardvalue:
  14718. description: 配置奖励值
  14719. type: number
  14720. srcamount:
  14721. description: 成交金额 [消费奖励] (金额)
  14722. type: number
  14723. srcgoodsid:
  14724. description: 来源商品ID [消费奖励]
  14725. type: string
  14726. srctime:
  14727. description: 来源时间 (成交时间) [消费奖励]
  14728. type: string
  14729. srctradeid:
  14730. description: 来源成交单ID [消费奖励] - 排除提货成交
  14731. type: string
  14732. srcuserid:
  14733. description: 来源用户ID(推广账户)
  14734. type: string
  14735. srcusername:
  14736. description: 推广账户名称
  14737. type: string
  14738. tradedate:
  14739. description: 交易日(yyyyMMdd)
  14740. type: string
  14741. userid:
  14742. description: 经纪人用户ID
  14743. type: integer
  14744. type: object
  14745. models.QhjContract:
  14746. properties:
  14747. contractconfirmtime:
  14748. description: 合同确认时间(时间)
  14749. type: string
  14750. currisklevel:
  14751. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  14752. type: integer
  14753. decimalplace:
  14754. description: 商品报价小数位
  14755. type: integer
  14756. enumdicname:
  14757. description: 单位名称
  14758. type: string
  14759. goodscode:
  14760. description: 商品代码
  14761. type: string
  14762. goodsid:
  14763. description: 商品ID [5:融资单]
  14764. type: integer
  14765. goodsname:
  14766. description: 商品名称
  14767. type: string
  14768. goodunitid:
  14769. description: 商品单位id
  14770. type: integer
  14771. initmargin:
  14772. description: 初始保证金(首付款)
  14773. type: number
  14774. lenderamount:
  14775. description: 贷款金额(总额|订单总额)
  14776. type: number
  14777. marginratio:
  14778. description: 保证金比率(首付比例)
  14779. type: number
  14780. payamount:
  14781. description: 已付(已付货款)
  14782. type: number
  14783. reckonrecovermargin:
  14784. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  14785. type: number
  14786. recoveredmargin:
  14787. description: 已追缴保证金
  14788. type: number
  14789. remainamount:
  14790. description: 合同剩余金额(融资额)
  14791. type: number
  14792. scfcontractid:
  14793. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  14794. type: string
  14795. scfcontractstatus:
  14796. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  14797. 9:违约结束 10:已注销 11:已关闭 99:未提交
  14798. type: integer
  14799. scfcontracttype:
  14800. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  14801. type: integer
  14802. totalinterest:
  14803. description: 已计总利息(利息)
  14804. type: number
  14805. tradeprice:
  14806. description: 成交价格(成本价格)
  14807. type: number
  14808. userid:
  14809. description: 用户ID
  14810. type: integer
  14811. username:
  14812. description: 用户名称
  14813. type: string
  14814. wrqty:
  14815. description: 仓单数量(数量)
  14816. type: number
  14817. type: object
  14818. models.QhjContractLog:
  14819. properties:
  14820. amount:
  14821. description: 支付金额
  14822. type: number
  14823. amounttype:
  14824. description: 资金类型 - 1:首付款 2:尾款 3:利息 4:追加款
  14825. type: integer
  14826. logid:
  14827. description: LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  14828. type: string
  14829. remainamount:
  14830. description: 剩余货款
  14831. type: number
  14832. scfcontractid:
  14833. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  14834. type: integer
  14835. updatetime:
  14836. description: 更新时间
  14837. type: string
  14838. type: object
  14839. models.QhjCusBankSignBankEx:
  14840. properties:
  14841. banklst:
  14842. description: 银行列表
  14843. items:
  14844. $ref: '#/definitions/models.QhjBankInfo'
  14845. type: array
  14846. canallot:
  14847. description: 是否支持跨行调拨 - 0:不支持 1:支持
  14848. type: integer
  14849. canallotquery:
  14850. description: 是否支持跨行调拨查询 - 0:不支持 1:支持
  14851. type: integer
  14852. canbindcard:
  14853. description: 是否可绑卡与解卡 - 0:不可 1:可以
  14854. type: integer
  14855. caninamount:
  14856. description: 是否可入金 - 0:不可 1:可以
  14857. type: integer
  14858. caninamount2:
  14859. description: 是否可入金(网银端) - 0:不可 1:可以
  14860. type: integer
  14861. canmodifybankcard:
  14862. description: 是否可修改银行卡号 - 0:不可 1:可以
  14863. type: integer
  14864. canmodifyphone:
  14865. description: 是否可修改手机号 - 0:不可 1:可以
  14866. type: integer
  14867. canmodifysigninfo:
  14868. description: 是否可修改签约信息 - 0:不可 1:可以
  14869. type: integer
  14870. canoutamount:
  14871. description: 是否可出金 - 0:不可 1:可以
  14872. type: integer
  14873. canoutamount2:
  14874. description: 是否可出金(网银端) - 0:不可 1:可以
  14875. type: integer
  14876. canrelease:
  14877. description: 是否可解约 - 0:不可 1:可以
  14878. type: integer
  14879. canrelease2:
  14880. description: 是否可解约(网银端) - 0:不可 1:可以
  14881. type: integer
  14882. cansign:
  14883. description: 是否可签约 - 0:不可 1:可以
  14884. type: integer
  14885. cansign2:
  14886. description: 是否可签约(网银端) - 0:不可 1:可以
  14887. type: integer
  14888. currency:
  14889. description: 币种
  14890. type: string
  14891. cusbankid:
  14892. description: 托管银行编号(对应清算中心TRAN_NO)
  14893. type: string
  14894. cusbankname:
  14895. description: 银行业务名称
  14896. type: string
  14897. cusbankshortname:
  14898. description: 银行业务简称
  14899. type: string
  14900. exchbankid:
  14901. description: 交易所开户银行ID
  14902. type: string
  14903. exchpaybankaccname:
  14904. description: 交易所支出结算账户户名
  14905. type: string
  14906. exchpaybankaccno:
  14907. description: 交易所支出结算账户
  14908. type: string
  14909. isneedcheck:
  14910. description: 是否需要对账 - 0:需要 1:不需要 [不需要界面配置]
  14911. type: integer
  14912. isneedclear:
  14913. description: 是否需要清算 - 0:不需要 1:需要
  14914. type: integer
  14915. lastcheckstatus:
  14916. description: 最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败
  14917. type: integer
  14918. lastchecktime:
  14919. description: 最后对账时间
  14920. type: string
  14921. lastclearstatus:
  14922. description: 最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功
  14923. type: integer
  14924. lastcleartime:
  14925. description: 最后清算时间
  14926. type: string
  14927. lastsignintime:
  14928. description: 最后签到时间
  14929. type: string
  14930. lastsignouttime:
  14931. description: 最后签退时间
  14932. type: string
  14933. riskinfo:
  14934. description: 签约风险提示书
  14935. type: string
  14936. signstatus:
  14937. description: 当前签到/签退状态 - 1:签到 2:签退
  14938. type: integer
  14939. tradedate:
  14940. description: 交易日(yyyyMMdd)
  14941. type: string
  14942. updatetime:
  14943. description: 当前签到/签退更新时间
  14944. type: string
  14945. type: object
  14946. models.QhjCustomer:
  14947. properties:
  14948. address:
  14949. description: 通讯地址
  14950. type: string
  14951. attachment1:
  14952. description: 附件1
  14953. type: string
  14954. attachment2:
  14955. description: 附件2
  14956. type: string
  14957. audittime:
  14958. description: 审核时间
  14959. type: string
  14960. cardbackphotourl:
  14961. description: 证件反面图片地址
  14962. type: string
  14963. cardfrontphotourl:
  14964. description: 证件正面图片地址
  14965. type: string
  14966. cardnum:
  14967. description: 证件号码
  14968. type: string
  14969. cardtype:
  14970. description: 证件类型
  14971. type: integer
  14972. cardtypename:
  14973. description: 证件类型名称
  14974. type: string
  14975. cityid:
  14976. description: 市
  14977. type: integer
  14978. cityname:
  14979. description: 城市名称
  14980. type: string
  14981. contactname:
  14982. description: 联系人
  14983. type: string
  14984. countryid:
  14985. description: 国家
  14986. type: integer
  14987. countryname:
  14988. description: 国家名称
  14989. type: string
  14990. createtime:
  14991. description: 创建时间
  14992. type: string
  14993. customername:
  14994. description: 客户名称
  14995. type: string
  14996. districtid:
  14997. description: 区域
  14998. type: integer
  14999. districtname:
  15000. description: 地区名称
  15001. type: string
  15002. email:
  15003. description: 邮件
  15004. type: string
  15005. legalpersonname:
  15006. description: 法人姓名(企业)
  15007. type: string
  15008. logincode:
  15009. description: 登录账号(代码)
  15010. type: string
  15011. memberuserid:
  15012. description: 所属机构ID(所属会员)
  15013. type: integer
  15014. memberusername:
  15015. description: 所属会员名称
  15016. type: string
  15017. mobile:
  15018. description: 手机号码
  15019. type: string
  15020. modifytime:
  15021. description: 修改时间
  15022. type: string
  15023. nickname:
  15024. description: 昵称
  15025. type: string
  15026. parentuserid:
  15027. description: 上级机构(所属机构)
  15028. type: integer
  15029. parentusername:
  15030. description: 所属机构名称
  15031. type: string
  15032. provinceid:
  15033. description: 省
  15034. type: integer
  15035. provincename:
  15036. description: 省名称
  15037. type: string
  15038. proxystatementurl:
  15039. description: 授权委托书
  15040. type: string
  15041. remark:
  15042. description: 备注
  15043. type: string
  15044. status:
  15045. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  15046. type: integer
  15047. statusdesc:
  15048. description: 账户状态中文描述
  15049. type: string
  15050. taxpayernum:
  15051. description: 纳税人识别号
  15052. type: string
  15053. telphone:
  15054. description: 联系电话
  15055. type: string
  15056. userid:
  15057. description: 用户ID
  15058. type: integer
  15059. userinfotype:
  15060. description: 客户类型 1-个人 2-企业
  15061. type: integer
  15062. username:
  15063. description: 用户名称
  15064. type: string
  15065. type: object
  15066. models.QhjCustomerSignLog:
  15067. properties:
  15068. agreementcontent:
  15069. description: 协议内容
  15070. type: string
  15071. agreementid:
  15072. description: 协议ID
  15073. type: integer
  15074. agreementname:
  15075. description: 协议名称
  15076. type: string
  15077. agreementno:
  15078. description: 协议编号
  15079. type: string
  15080. agreementtype:
  15081. description: 协议类型 - 1:注册 2:登录 3:交易
  15082. type: integer
  15083. agreementversion:
  15084. description: 协议版本号
  15085. type: integer
  15086. createtime:
  15087. description: 创建时间
  15088. type: string
  15089. goodscode:
  15090. description: 商品代码
  15091. type: string
  15092. goodsid:
  15093. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  15094. type: integer
  15095. goodsname:
  15096. description: 商品名称
  15097. type: string
  15098. logid:
  15099. description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  15100. type: integer
  15101. nodetype:
  15102. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  15103. type: integer
  15104. signadressurl:
  15105. description: 签约文件地址
  15106. type: string
  15107. signtimestamp:
  15108. description: 签约状态时间戳
  15109. type: string
  15110. userid:
  15111. description: 客户ID
  15112. type: integer
  15113. username:
  15114. description: 客户名称
  15115. type: string
  15116. type: object
  15117. models.QhjCustomerSignStatus:
  15118. properties:
  15119. createtime:
  15120. description: 创建时间
  15121. type: string
  15122. goodscode:
  15123. description: 商品代码
  15124. type: string
  15125. goodsid:
  15126. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  15127. type: integer
  15128. goodsname:
  15129. description: 商品名称
  15130. type: string
  15131. nodetype:
  15132. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  15133. type: integer
  15134. signtimestamp:
  15135. description: 签约状态时间戳
  15136. type: string
  15137. tradedate:
  15138. description: 创建交易日(yyyyMMdd)
  15139. type: string
  15140. updatetime:
  15141. description: 更新时间
  15142. type: string
  15143. userid:
  15144. description: 客户ID
  15145. type: integer
  15146. username:
  15147. description: 客户名称
  15148. type: string
  15149. type: object
  15150. models.QhjMgrAccountOutInApply:
  15151. properties:
  15152. accountcode:
  15153. description: 资金账号
  15154. type: string
  15155. accountname:
  15156. description: 用户名称(名称)
  15157. type: string
  15158. accountpwd:
  15159. description: 资金密码
  15160. type: string
  15161. accountticket:
  15162. description: 最新账户服务流水号
  15163. type: string
  15164. amount:
  15165. description: 金额
  15166. type: number
  15167. applyremark:
  15168. description: 申请备注
  15169. type: string
  15170. applystatus:
  15171. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  15172. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  15173. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  15174. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  15175. type: integer
  15176. auditid:
  15177. description: 审核人
  15178. type: integer
  15179. audittime:
  15180. description: 审核时间
  15181. type: string
  15182. bank_apply_ticket:
  15183. description: 银行申请流水
  15184. type: string
  15185. bankaccountname:
  15186. description: 银行账户名
  15187. type: string
  15188. bankaccountno:
  15189. description: 银行卡号
  15190. type: string
  15191. bankid:
  15192. description: 银行编号
  15193. type: string
  15194. bankname:
  15195. description: 银行名称
  15196. type: string
  15197. bankticket:
  15198. description: 银行流水
  15199. type: string
  15200. branchbankid:
  15201. description: 银行支行号
  15202. type: string
  15203. branchbankname:
  15204. description: 银行支行名称
  15205. type: string
  15206. capamountout:
  15207. description: 出金(劣后本金) - 外部子账户
  15208. type: number
  15209. certificatephotourl:
  15210. description: 凭证地址
  15211. type: string
  15212. charge:
  15213. description: 手续费
  15214. type: number
  15215. checkerrorflag:
  15216. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  15217. type: integer
  15218. currency:
  15219. description: 币种
  15220. type: string
  15221. cusbankid:
  15222. description: 托管银行编号
  15223. type: string
  15224. exchticket:
  15225. description: 银行服务流水号
  15226. type: string
  15227. executetype:
  15228. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  15229. 7:外部子账户:入金 8:外部子账户:出金'
  15230. type: integer
  15231. extendinfo:
  15232. description: 扩展信息
  15233. type: string
  15234. extoperateid:
  15235. description: 交易服务流水号
  15236. type: integer
  15237. infamount:
  15238. description: 劣后金额(自有)
  15239. type: number
  15240. logincode:
  15241. description: 登录账号(账号)
  15242. type: string
  15243. netaddr:
  15244. description: 调转网址
  15245. type: string
  15246. priamount:
  15247. description: 优先金额(授信)
  15248. type: number
  15249. reauditid:
  15250. description: 复审人
  15251. type: integer
  15252. reauditremark:
  15253. description: 复审备注
  15254. type: string
  15255. reaudittime:
  15256. description: 复审时间
  15257. type: string
  15258. relatedorderid:
  15259. description: 三方关联ID
  15260. type: string
  15261. remark:
  15262. description: 备注
  15263. type: string
  15264. remark2:
  15265. description: 备注(失败原因)
  15266. type: string
  15267. soucreamount:
  15268. description: 原始出入金金额
  15269. type: number
  15270. soucrecurrencyid:
  15271. description: 原始出入金币种
  15272. type: integer
  15273. tradedate:
  15274. description: 交易日(yyyyMMdd)
  15275. type: string
  15276. updatetime:
  15277. description: 更新时间(申请时间)
  15278. type: string
  15279. userid:
  15280. description: 用户id
  15281. type: integer
  15282. userinfotype:
  15283. description: 账户类型 1-个人 2-企业
  15284. type: integer
  15285. type: object
  15286. models.QhjMgrBrokerApply:
  15287. properties:
  15288. applicantid:
  15289. description: 申请人
  15290. type: integer
  15291. applysrc:
  15292. description: 申请来源 - 1:管理端 2:终端
  15293. type: integer
  15294. applystatus:
  15295. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  15296. type: integer
  15297. applytime:
  15298. description: 申请时间
  15299. type: string
  15300. auditorid:
  15301. description: 审核人
  15302. type: integer
  15303. auditremark:
  15304. description: 审核备注
  15305. type: string
  15306. auditsrc:
  15307. description: 审核来源 - 1:管理端 2:终端
  15308. type: integer
  15309. audittime:
  15310. description: 审核时间
  15311. type: string
  15312. audittradedate:
  15313. description: 审核交易日(yyyyMMdd)
  15314. type: string
  15315. brokerapplyid:
  15316. description: 申请ID(SEQ_BROKERAPPLY)
  15317. type: integer
  15318. cardbackphotourl:
  15319. description: 证件背面图片地址
  15320. type: string
  15321. cardfrontphotourl:
  15322. description: 证件正面图片地址
  15323. type: string
  15324. cardnum:
  15325. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  15326. type: string
  15327. customername:
  15328. description: 姓名
  15329. type: string
  15330. filterstatus:
  15331. description: 筛选条件
  15332. type: string
  15333. logincode:
  15334. description: 登录代码
  15335. type: string
  15336. mobile:
  15337. description: 手机号码
  15338. type: string
  15339. parentuserid:
  15340. description: 所属机构id
  15341. type: integer
  15342. parentusername:
  15343. description: 所属机构名称
  15344. type: string
  15345. refereeuserid:
  15346. description: 推荐人id(经纪人)
  15347. type: integer
  15348. refernum:
  15349. description: 推荐码
  15350. type: string
  15351. remark:
  15352. description: 备注
  15353. type: string
  15354. subarealevelpath:
  15355. description: 层级路径
  15356. type: string
  15357. tradedate:
  15358. description: 交易日(yyyyMMdd)
  15359. type: string
  15360. userid:
  15361. description: 申请人用户ID
  15362. type: integer
  15363. userinfotype:
  15364. description: 用户类型 1-个人 2-企业
  15365. type: integer
  15366. username:
  15367. description: 用户名称
  15368. type: string
  15369. type: object
  15370. models.QhjMgrBrokerRewardReport:
  15371. properties:
  15372. createtime:
  15373. description: 创建时间(注册时间)
  15374. type: string
  15375. cycletime:
  15376. description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  15377. type: string
  15378. cycletype:
  15379. description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  15380. type: integer
  15381. directtotalnum:
  15382. description: 直推总人数【期末】
  15383. type: integer
  15384. indirecttotalnum:
  15385. description: 间推总人数【期末】
  15386. type: integer
  15387. mobile:
  15388. description: 电话号码
  15389. type: string
  15390. refereeuserid:
  15391. description: 推荐人id(经纪人id)
  15392. type: integer
  15393. refereeusername:
  15394. description: 推荐人名称(经纪人) 上级经纪人名称
  15395. type: string
  15396. refernum:
  15397. description: 推荐码
  15398. type: string
  15399. subarealevelpath:
  15400. description: 用户层级路径
  15401. type: string
  15402. todayrewardamount:
  15403. description: 奖励总金额【汇总】
  15404. type: number
  15405. updatetime:
  15406. description: 更新时间
  15407. type: string
  15408. userid:
  15409. description: 经纪人用户ID
  15410. type: integer
  15411. userinfotype:
  15412. description: 用户类型 1-个人 2-企业
  15413. type: integer
  15414. username:
  15415. description: 用户名称
  15416. type: string
  15417. type: object
  15418. models.QhjMgrContract:
  15419. properties:
  15420. contractconfirmtime:
  15421. description: 合同确认时间(时间)
  15422. type: string
  15423. currisklevel:
  15424. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  15425. type: integer
  15426. decimalplace:
  15427. description: 商品报价小数位
  15428. type: integer
  15429. enumdicname:
  15430. description: 单位名称
  15431. type: string
  15432. goodscode:
  15433. description: 商品代码
  15434. type: string
  15435. goodsid:
  15436. description: 商品ID [5:融资单]
  15437. type: integer
  15438. goodsname:
  15439. description: 商品名称
  15440. type: string
  15441. goodunitid:
  15442. description: 商品单位id
  15443. type: integer
  15444. initmargin:
  15445. description: 初始保证金(首付款)
  15446. type: number
  15447. lenderamount:
  15448. description: 贷款金额(总额|订单总额)
  15449. type: number
  15450. logincode:
  15451. description: 账号(登录代码)
  15452. type: string
  15453. marginratio:
  15454. description: 保证金比率(首付比例)
  15455. type: number
  15456. mobile:
  15457. description: 电话号码(用户资料里的电话)
  15458. type: string
  15459. payamount:
  15460. description: 已付(已付货款)
  15461. type: number
  15462. reckonrecovermargin:
  15463. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  15464. type: number
  15465. recoveredmargin:
  15466. description: 已追缴保证金
  15467. type: number
  15468. remainamount:
  15469. description: 合同剩余金额(融资额)
  15470. type: number
  15471. scfcontractid:
  15472. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  15473. type: string
  15474. scfcontractstatus:
  15475. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  15476. 9:违约结束 10:已注销 11:已关闭 99:未提交
  15477. type: integer
  15478. scfcontracttype:
  15479. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  15480. type: integer
  15481. totalinterest:
  15482. description: 已计总利息(利息)
  15483. type: number
  15484. tradedate:
  15485. description: 交易日
  15486. type: string
  15487. tradeprice:
  15488. description: 成交价格(成本价格)
  15489. type: number
  15490. userid:
  15491. description: 用户ID
  15492. type: integer
  15493. userinfotype:
  15494. description: 用户类型 1-个人 2-企业
  15495. type: integer
  15496. username:
  15497. description: 用户名称
  15498. type: string
  15499. wrqty:
  15500. description: 仓单数量(数量)
  15501. type: number
  15502. type: object
  15503. models.QhjMgrCustomer:
  15504. properties:
  15505. address:
  15506. description: 通讯地址
  15507. type: string
  15508. attachment1:
  15509. description: 附件1
  15510. type: string
  15511. audittime:
  15512. description: 审核时间
  15513. type: string
  15514. birthday:
  15515. description: 生日
  15516. type: string
  15517. brokerid:
  15518. description: 所属客户经理id
  15519. type: integer
  15520. brokername:
  15521. description: 所属客户经理名称
  15522. type: string
  15523. cardbackphotourl:
  15524. description: 证件反面图片地址
  15525. type: string
  15526. cardfrontphotourl:
  15527. description: 证件正面图片地址
  15528. type: string
  15529. cardnum:
  15530. description: 证件号码
  15531. type: string
  15532. cardtype:
  15533. description: 证件类型
  15534. type: integer
  15535. cardtypename:
  15536. description: 证件类型名称
  15537. type: string
  15538. cityid:
  15539. description: 市
  15540. type: integer
  15541. cityname:
  15542. description: 城市名称
  15543. type: string
  15544. contactname:
  15545. description: 联系人
  15546. type: string
  15547. countryid:
  15548. description: 国家
  15549. type: integer
  15550. countryname:
  15551. description: 国家名称
  15552. type: string
  15553. createtime:
  15554. description: 创建时间
  15555. type: string
  15556. customername:
  15557. description: 客户名称
  15558. type: string
  15559. districtid:
  15560. description: 区域
  15561. type: integer
  15562. districtname:
  15563. description: 地区名称
  15564. type: string
  15565. email:
  15566. description: 邮件
  15567. type: string
  15568. legalpersonname:
  15569. description: 法人姓名(企业)
  15570. type: string
  15571. logincode:
  15572. description: 登录账号(代码)
  15573. type: string
  15574. memberuserid:
  15575. description: 所属机构ID(所属会员)
  15576. type: integer
  15577. memberusername:
  15578. description: 所属会员名称
  15579. type: string
  15580. mobile:
  15581. description: 手机号码
  15582. type: string
  15583. modifytime:
  15584. description: 修改时间
  15585. type: string
  15586. nickname:
  15587. description: 昵称
  15588. type: string
  15589. parentuserid:
  15590. description: 上级机构(所属机构)
  15591. type: integer
  15592. parentusername:
  15593. description: 所属机构名称
  15594. type: string
  15595. provinceid:
  15596. description: 省
  15597. type: integer
  15598. provincename:
  15599. description: 省名称
  15600. type: string
  15601. proxystatementurl:
  15602. description: 授权委托书
  15603. type: string
  15604. querytype:
  15605. description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  15606. type: integer
  15607. remark:
  15608. description: 备注
  15609. type: string
  15610. sex:
  15611. description: 性别 0-女 1-男
  15612. type: integer
  15613. status:
  15614. description: '开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过
  15615. ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)'
  15616. type: integer
  15617. statusdesc:
  15618. description: 账户状态中文描述
  15619. type: string
  15620. taxpayernum:
  15621. description: 纳税人识别号
  15622. type: string
  15623. telphone:
  15624. description: 联系电话
  15625. type: string
  15626. userid:
  15627. description: 用户ID
  15628. type: integer
  15629. userinfotype:
  15630. description: 客户类型 1-个人 2-企业
  15631. type: integer
  15632. username:
  15633. description: 用户名称
  15634. type: string
  15635. type: object
  15636. models.QhjMgrPickGoods:
  15637. properties:
  15638. enumdicname:
  15639. description: 单位名称(提货商品)
  15640. type: string
  15641. goodsid:
  15642. description: 商品id
  15643. type: integer
  15644. imageaddress:
  15645. description: 图片
  15646. type: string
  15647. modifierid:
  15648. description: 修改人
  15649. type: integer
  15650. modifiername:
  15651. description: 修改人名称
  15652. type: string
  15653. modifysrc:
  15654. description: 修改来源 - 1:管理端 2:终端
  15655. type: integer
  15656. pickupgoodsagreeunit:
  15657. description: 合约乘数
  15658. type: number
  15659. pickupgoodsdesc:
  15660. description: 描述
  15661. type: string
  15662. pickupgoodsid:
  15663. description: 提货商品ID
  15664. type: string
  15665. pickupgoodsname:
  15666. description: 提货商品名称
  15667. type: string
  15668. pickupgoodsstatus:
  15669. description: 状态 - 1:正常 2:停用 3:注销
  15670. type: integer
  15671. pickupgoodsunitid:
  15672. description: 单位ID
  15673. type: integer
  15674. pickupratio:
  15675. description: 提货系数
  15676. type: number
  15677. preparedays:
  15678. description: 备货期(天)
  15679. type: integer
  15680. remark:
  15681. description: 备注
  15682. type: string
  15683. updatetime:
  15684. description: 更新时间
  15685. type: string
  15686. type: object
  15687. models.QhjMgrPositionRsp:
  15688. properties:
  15689. accountid:
  15690. description: 账号Id
  15691. type: integer
  15692. accountname:
  15693. description: 用户名称
  15694. type: string
  15695. agreeunit:
  15696. description: 合约乘数
  15697. type: number
  15698. averageprice:
  15699. description: 均价
  15700. type: number
  15701. avialqty:
  15702. description: 可用数量
  15703. type: number
  15704. decimalplace:
  15705. description: 报价小数位
  15706. type: integer
  15707. enumdicname:
  15708. description: 单位名称(商品)
  15709. type: string
  15710. frozenqty:
  15711. description: 冻结数量
  15712. type: number
  15713. goodscode:
  15714. description: 商品代码(内部)
  15715. type: string
  15716. goodsid:
  15717. description: 商品Id
  15718. type: integer
  15719. goodsname:
  15720. description: 商品名称
  15721. type: string
  15722. goodunitid:
  15723. description: 报价单位ID
  15724. type: integer
  15725. holderamount:
  15726. description: 金额
  15727. type: number
  15728. holderqty:
  15729. description: 持有数量
  15730. type: number
  15731. holdertype:
  15732. description: 持仓类别 - 1:单边持仓 2:双边持仓
  15733. type: integer
  15734. logincode:
  15735. description: 登录代码(账户)
  15736. type: string
  15737. marketid:
  15738. description: 市场id
  15739. type: integer
  15740. qtydecimalplace:
  15741. description: 成交量小数位
  15742. type: integer
  15743. trademode:
  15744. description: 交易模式
  15745. type: integer
  15746. userid:
  15747. description: 用户id
  15748. type: integer
  15749. userinfotype:
  15750. description: 账户类型 1-个人 2-企业
  15751. type: integer
  15752. type: object
  15753. models.QhjMgrSubArea:
  15754. properties:
  15755. accountname:
  15756. description: 账户名称(机构名称)
  15757. type: string
  15758. memberuserid:
  15759. description: 所属会员ID
  15760. type: integer
  15761. parenttopuser:
  15762. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  15763. type: string
  15764. parentuserid:
  15765. description: 所属机构ID
  15766. type: integer
  15767. rootuserid:
  15768. description: 根用户ID
  15769. type: string
  15770. subaccountlevel:
  15771. description: 子账户层数
  15772. type: integer
  15773. subarealevelpath:
  15774. description: 子机构层级路径(逗号分隔,首尾加逗号)
  15775. type: string
  15776. userid:
  15777. description: 用户ID
  15778. type: integer
  15779. usertype:
  15780. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  15781. type: integer
  15782. type: object
  15783. models.QhjMgrTradeDetailRsp:
  15784. properties:
  15785. accountid:
  15786. description: 资金账号
  15787. type: integer
  15788. accountname:
  15789. description: 用户名称
  15790. type: string
  15791. agreeunit:
  15792. description: 合约乘数
  15793. type: number
  15794. buyorsell:
  15795. description: 成交类型(方向) 0:买 1:卖
  15796. type: integer
  15797. decimalplace:
  15798. description: 报价小数位
  15799. type: integer
  15800. enumdicname:
  15801. description: 单位名称(商品)
  15802. type: string
  15803. goodscode:
  15804. description: 商品代码(内部)
  15805. type: string
  15806. goodsid:
  15807. description: 商品id
  15808. type: integer
  15809. goodsname:
  15810. description: 商品名称
  15811. type: string
  15812. goodunitid:
  15813. description: 报价单位ID
  15814. type: integer
  15815. logincode:
  15816. description: 登录代码(账户)
  15817. type: string
  15818. marketid:
  15819. description: 市场id
  15820. type: integer
  15821. orderid:
  15822. description: 关联委托单号
  15823. type: string
  15824. qtydecimalplace:
  15825. description: 成交量小数位
  15826. type: integer
  15827. tradeamount:
  15828. description: 金额
  15829. type: number
  15830. tradedate:
  15831. description: 交易日
  15832. type: string
  15833. tradeid:
  15834. description: 成交单号
  15835. type: string
  15836. trademode:
  15837. description: 交易模式
  15838. type: integer
  15839. tradeprice:
  15840. description: 价格
  15841. type: number
  15842. tradeqty:
  15843. description: 数量
  15844. type: number
  15845. tradetime:
  15846. description: 成交时间
  15847. type: string
  15848. userid:
  15849. description: 用户id
  15850. type: integer
  15851. userinfotype:
  15852. description: 账户类型 1-个人 2-企业
  15853. type: integer
  15854. type: object
  15855. models.QhjMgrTradeOrderDetailRsp:
  15856. properties:
  15857. accountid:
  15858. description: 资金账号
  15859. type: integer
  15860. accountname:
  15861. description: 用户名称
  15862. type: string
  15863. agreeunit:
  15864. description: 合约乘数
  15865. type: number
  15866. amount:
  15867. description: 金额
  15868. type: number
  15869. decimalplace:
  15870. description: 报价小数位
  15871. type: integer
  15872. enumdicname:
  15873. description: 单位名称(商品)
  15874. type: string
  15875. goodscode:
  15876. description: 商品代码(内部)
  15877. type: string
  15878. goodsid:
  15879. description: 商品id
  15880. type: integer
  15881. goodsname:
  15882. description: 商品名称
  15883. type: string
  15884. goodunitid:
  15885. description: 报价单位ID
  15886. type: integer
  15887. logincode:
  15888. description: 登录代码(账户)
  15889. type: string
  15890. marketid:
  15891. description: 市场id
  15892. type: integer
  15893. orderid:
  15894. description: 关联委托单号
  15895. type: string
  15896. orderprice:
  15897. description: 价格
  15898. type: number
  15899. orderqty:
  15900. description: 数量
  15901. type: number
  15902. orderstatus:
  15903. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  15904. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  15905. 16:成交失败违约(荷兰式竞拍专用)
  15906. type: integer
  15907. ordertime:
  15908. description: 委托时间
  15909. type: string
  15910. qtydecimalplace:
  15911. description: 成交量小数位
  15912. type: integer
  15913. tradedate:
  15914. description: 交易日
  15915. type: string
  15916. trademode:
  15917. description: 交易模式
  15918. type: integer
  15919. userid:
  15920. description: 用户id
  15921. type: integer
  15922. userinfotype:
  15923. description: 账户类型 1-个人 2-企业
  15924. type: integer
  15925. type: object
  15926. models.QhjMgrTradePayOrder:
  15927. properties:
  15928. accountname:
  15929. description: 用户名称
  15930. type: string
  15931. advanceratio:
  15932. description: 首付比率
  15933. type: number
  15934. agreeunit:
  15935. description: 合约乘数
  15936. type: number
  15937. buyaccountid:
  15938. description: 买方账号ID[报价币种]
  15939. type: integer
  15940. buyorderid:
  15941. description: 买方委托单号(关联单号)
  15942. type: string
  15943. createtime:
  15944. description: 创建时间
  15945. type: string
  15946. decimalplace:
  15947. description: 报价小数位
  15948. type: integer
  15949. enumdicname:
  15950. description: 单位名称(商品)
  15951. type: string
  15952. goodscode:
  15953. description: 商品代码(内部)
  15954. type: string
  15955. goodsid:
  15956. description: 商品ID
  15957. type: integer
  15958. goodsname:
  15959. description: 商品名称
  15960. type: string
  15961. goodunitid:
  15962. description: 报价单位ID
  15963. type: integer
  15964. logincode:
  15965. description: 登录代码(账户)
  15966. type: string
  15967. marketid:
  15968. description: 市场id
  15969. type: integer
  15970. offamount:
  15971. description: 优惠金额
  15972. type: number
  15973. operatetype:
  15974. description: 买委托操作类型 - 1:正常下单 16:融资买入
  15975. type: integer
  15976. payamount:
  15977. description: 支付金额(金额)
  15978. type: number
  15979. payflag:
  15980. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  15981. type: integer
  15982. paylimitedtime:
  15983. description: 支付期限
  15984. type: string
  15985. paytime:
  15986. description: 付款时间
  15987. type: string
  15988. qtydecimalplace:
  15989. description: 成交量小数位
  15990. type: integer
  15991. sellaccountid:
  15992. description: 卖方账号ID[报价币种]
  15993. type: integer
  15994. sellorderid:
  15995. description: 卖方委托单号
  15996. type: string
  15997. tradeamount:
  15998. description: 成交金额(优惠后金额)
  15999. type: number
  16000. tradecharge:
  16001. description: 成交手续费(买方)
  16002. type: number
  16003. tradedate:
  16004. description: 交易日(yyyyMMdd)
  16005. type: string
  16006. tradeid:
  16007. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  16008. type: string
  16009. trademode:
  16010. description: 交易模式
  16011. type: integer
  16012. tradeprice:
  16013. description: 成交价格(价格)
  16014. type: number
  16015. tradeqty:
  16016. description: 成交数量(数量)
  16017. type: number
  16018. tradetime:
  16019. description: 成交时间
  16020. type: string
  16021. userid:
  16022. description: 用户id
  16023. type: integer
  16024. userinfotype:
  16025. description: 账户类型 1-个人 2-企业
  16026. type: integer
  16027. type: object
  16028. models.QhjMyTeamEx:
  16029. properties:
  16030. accountname:
  16031. description: 用户名称
  16032. type: string
  16033. accountstatus:
  16034. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  16035. type: integer
  16036. createtime:
  16037. description: 创建时间
  16038. type: string
  16039. mobile:
  16040. description: 手机号码
  16041. type: string
  16042. refereeuserid:
  16043. description: 推荐人id
  16044. type: integer
  16045. refernum:
  16046. description: 推荐码
  16047. type: string
  16048. subList:
  16049. items:
  16050. $ref: '#/definitions/models.QhjMyTeamEx'
  16051. type: array
  16052. userid:
  16053. description: 用户id
  16054. type: integer
  16055. userinfotype:
  16056. description: 用户类型 1-个人 2-企业
  16057. type: integer
  16058. type: object
  16059. models.QhjNodeAgreementConfig:
  16060. properties:
  16061. agreementcontent:
  16062. description: 协议内容
  16063. type: string
  16064. agreementid:
  16065. description: 协议ID
  16066. type: integer
  16067. agreementname:
  16068. description: 协议名称
  16069. type: string
  16070. agreementno:
  16071. description: 协议编号
  16072. type: string
  16073. agreementtype:
  16074. description: 协议类型 - 1:注册 2:登录 3:交易
  16075. type: integer
  16076. agreementversion:
  16077. description: 协议版本号
  16078. type: integer
  16079. configid:
  16080. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  16081. type: integer
  16082. createtime:
  16083. description: 创建时间
  16084. type: string
  16085. goodsid:
  16086. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  16087. type: integer
  16088. nodetype:
  16089. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  16090. type: integer
  16091. type: object
  16092. models.QhjParentAreaList:
  16093. properties:
  16094. accountname:
  16095. description: 账户名称(机构名称)
  16096. type: string
  16097. userid:
  16098. description: 用户ID
  16099. type: integer
  16100. usertype:
  16101. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  16102. type: integer
  16103. type: object
  16104. models.QhjPayOrder:
  16105. properties:
  16106. advanceratio:
  16107. description: 首付比率
  16108. type: number
  16109. buyaccountid:
  16110. description: 买方账号ID[报价币种]
  16111. type: integer
  16112. buyorderid:
  16113. description: 买方委托单号
  16114. type: string
  16115. createtime:
  16116. description: 创建时间
  16117. type: string
  16118. decimalplace:
  16119. description: 商品报价小数位
  16120. type: integer
  16121. enumdicname:
  16122. description: 单位名称
  16123. type: string
  16124. goodscode:
  16125. description: 商品代码
  16126. type: string
  16127. goodsid:
  16128. description: 商品ID
  16129. type: integer
  16130. goodsname:
  16131. description: 商品名称
  16132. type: string
  16133. goodunitid:
  16134. description: 商品单位id
  16135. type: integer
  16136. marketid:
  16137. description: 市场ID
  16138. type: integer
  16139. offamount:
  16140. description: 优惠金额
  16141. type: number
  16142. operatetype:
  16143. description: 买委托操作类型 - 1:正常下单 16:融资买入
  16144. type: integer
  16145. payamount:
  16146. description: 支付金额
  16147. type: number
  16148. payflag:
  16149. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  16150. type: integer
  16151. paylimitedtime:
  16152. description: 支付期限
  16153. type: string
  16154. paytime:
  16155. description: 付款时间
  16156. type: string
  16157. qtydecimalplace:
  16158. description: 成交量小数位
  16159. type: integer
  16160. sellaccountid:
  16161. description: 卖方账号ID[报价币种]
  16162. type: integer
  16163. sellorderid:
  16164. description: 卖方委托单号
  16165. type: string
  16166. tradeamount:
  16167. description: 成交金额(优惠后金额)
  16168. type: number
  16169. tradecharge:
  16170. description: 成交手续费(买方)
  16171. type: number
  16172. tradedate:
  16173. description: 交易日(yyyyMMdd)
  16174. type: string
  16175. tradeid:
  16176. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  16177. type: string
  16178. tradeprice:
  16179. description: 成交价格
  16180. type: number
  16181. tradeqty:
  16182. description: 成交数量
  16183. type: number
  16184. type: object
  16185. models.QhjPickArea:
  16186. properties:
  16187. address:
  16188. description: 详细地址
  16189. type: string
  16190. cityid:
  16191. description: 市
  16192. type: integer
  16193. cityname:
  16194. description: 城市名称
  16195. type: string
  16196. countryid:
  16197. description: 国家
  16198. type: integer
  16199. countryname:
  16200. description: 国家名称
  16201. type: string
  16202. districtid:
  16203. description: 地区
  16204. type: integer
  16205. districtname:
  16206. description: 地区名称
  16207. type: string
  16208. fromuserid:
  16209. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  16210. type: integer
  16211. fromusername:
  16212. description: 所属机构名称
  16213. type: string
  16214. provinceid:
  16215. description: 省
  16216. type: integer
  16217. provincename:
  16218. description: 省名称
  16219. type: string
  16220. suborgtype:
  16221. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  16222. type: integer
  16223. userid:
  16224. description: 机构用户ID 其他做市关系,都设置为 1
  16225. type: integer
  16226. username:
  16227. description: 机构用户名称(门店门称)
  16228. type: string
  16229. type: object
  16230. models.QhjPickGoods:
  16231. properties:
  16232. enumdicname:
  16233. description: 单位名称(提货商品)
  16234. type: string
  16235. goodsid:
  16236. description: 商品id
  16237. type: integer
  16238. imageaddress:
  16239. description: 图片
  16240. type: string
  16241. modifierid:
  16242. description: 修改人
  16243. type: integer
  16244. modifiername:
  16245. description: 修改人名称
  16246. type: string
  16247. modifysrc:
  16248. description: 修改来源 - 1:管理端 2:终端
  16249. type: integer
  16250. pickupgoodsagreeunit:
  16251. description: 合约乘数
  16252. type: number
  16253. pickupgoodsdesc:
  16254. description: 描述
  16255. type: string
  16256. pickupgoodsid:
  16257. description: 提货商品ID
  16258. type: string
  16259. pickupgoodsname:
  16260. description: 提货商品名称
  16261. type: string
  16262. pickupgoodsstatus:
  16263. description: 状态 - 1:正常 2:停用 3:注销
  16264. type: integer
  16265. pickupgoodsunitid:
  16266. description: 单位ID
  16267. type: integer
  16268. pickupratio:
  16269. description: 提货系数
  16270. type: number
  16271. preparedays:
  16272. description: 备货期(天)
  16273. type: integer
  16274. remark:
  16275. description: 备注
  16276. type: string
  16277. updatetime:
  16278. description: 更新时间
  16279. type: string
  16280. type: object
  16281. models.QhjRSTriggerLog:
  16282. properties:
  16283. accountid:
  16284. description: 用户资金账户
  16285. type: integer
  16286. accountname:
  16287. description: 账号名称(ACCOUNTID对应的名称)
  16288. type: string
  16289. currencyid:
  16290. description: 币种id
  16291. type: integer
  16292. currencyname:
  16293. description: 币种名称
  16294. type: string
  16295. decimalplace:
  16296. description: 商品报价小数位
  16297. type: integer
  16298. enumdicname:
  16299. description: 单位名称
  16300. type: string
  16301. goodscode:
  16302. description: 定投商品代码
  16303. type: string
  16304. goodsid:
  16305. description: 定投商品ID
  16306. type: integer
  16307. goodsname:
  16308. description: 定投商品名称
  16309. type: string
  16310. goodunitid:
  16311. description: 定投商品单位id
  16312. type: integer
  16313. logid:
  16314. description: LogID(SEQ_QHJ_RSTRIGGERLOG)
  16315. type: string
  16316. logincode:
  16317. description: 账号(登录代码)
  16318. type: string
  16319. qtydecimalplace:
  16320. description: 成交量小数位
  16321. type: integer
  16322. regularlycycle:
  16323. description: 定投频率 - 1:每周 2:每月
  16324. type: integer
  16325. regularlycyclevalue:
  16326. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  16327. type: string
  16328. regularlymode:
  16329. description: 定投方式 - 1:按数量 2:按金额
  16330. type: integer
  16331. regularlymodevalue:
  16332. description: 定投方式值 - 数量或金额
  16333. type: number
  16334. regularlystrategyid:
  16335. description: 定投策略ID
  16336. type: integer
  16337. retcode:
  16338. description: 错误码
  16339. type: string
  16340. tradeid:
  16341. description: 成交单ID
  16342. type: string
  16343. triggeramount:
  16344. description: 触发金额
  16345. type: number
  16346. triggerqty:
  16347. description: 触发数量
  16348. type: number
  16349. triggerstatus:
  16350. description: 触发状态 - 1:成功 2:失败
  16351. type: integer
  16352. triggertime:
  16353. description: 触发时间
  16354. type: string
  16355. triggertradedate:
  16356. description: 触发交易日
  16357. type: string
  16358. userid:
  16359. description: 所属用户ID
  16360. type: integer
  16361. userinfotype:
  16362. description: 用户类型 1-个人 2-企业
  16363. type: integer
  16364. username:
  16365. description: 用户名称(userid对应的名称)
  16366. type: string
  16367. type: object
  16368. models.QhjRStrategy:
  16369. properties:
  16370. accountid:
  16371. description: 用户资金账户
  16372. type: integer
  16373. accountname:
  16374. description: 账号名称(ACCOUNTID对应的名称)
  16375. type: string
  16376. currencyid:
  16377. description: 币种id
  16378. type: integer
  16379. currencyname:
  16380. description: 币种名称
  16381. type: string
  16382. decimalplace:
  16383. description: 商品报价小数位
  16384. type: integer
  16385. enumdicname:
  16386. description: 单位名称
  16387. type: string
  16388. goodscode:
  16389. description: 定投商品代码
  16390. type: string
  16391. goodsid:
  16392. description: 定投商品ID
  16393. type: integer
  16394. goodsname:
  16395. description: 定投商品名称
  16396. type: string
  16397. goodunitid:
  16398. description: 定投商品单位id
  16399. type: integer
  16400. lasteffecttradedate:
  16401. description: 最新生效交易日
  16402. type: string
  16403. laststoptradedate:
  16404. description: 最新暂停交易日
  16405. type: string
  16406. lasttriggertradedate:
  16407. description: 最新触发交易日
  16408. type: string
  16409. logincode:
  16410. description: 账号(登录代码)
  16411. type: string
  16412. nexttriggeramount:
  16413. description: 下次触发金额
  16414. type: number
  16415. nexttriggerdate:
  16416. description: 下次触发日期
  16417. type: string
  16418. nexttriggerqty:
  16419. description: 下次触发数量 [按小数位放大值]
  16420. type: number
  16421. qtydecimalplace:
  16422. description: 成交量小数位
  16423. type: integer
  16424. regularlycycle:
  16425. description: 定投频率 - 1:每周 2:每月
  16426. type: integer
  16427. regularlycyclevalue:
  16428. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  16429. type: string
  16430. regularlymode:
  16431. description: 定投方式 - 1:按数量 2:按金额
  16432. type: integer
  16433. regularlymodevalue:
  16434. description: 定投方式值 - 数量或金额
  16435. type: number
  16436. regularlystrategyid:
  16437. description: 定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)
  16438. type: integer
  16439. regularlystrategystatus:
  16440. description: 策略状态 - 1:正常 2:暂停 3:终止
  16441. type: integer
  16442. remark:
  16443. description: 备注
  16444. type: string
  16445. triggersuccesstimes:
  16446. description: 累计定投成功次数
  16447. type: string
  16448. triggertotalamount:
  16449. description: 累计定投金额(成功)
  16450. type: number
  16451. triggertotalqty:
  16452. description: 累计定投数量(成功) [按小数位放大值]
  16453. type: number
  16454. triggertotaltimes:
  16455. description: 累计定投总次数
  16456. type: string
  16457. updatesrc:
  16458. description: 更新来源 - 1:管理端 2:终端
  16459. type: integer
  16460. updatetime:
  16461. description: 更新时间
  16462. type: string
  16463. updatorid:
  16464. description: 更新人
  16465. type: string
  16466. userid:
  16467. description: 所属用户ID
  16468. type: integer
  16469. userinfotype:
  16470. description: 用户类型 1-个人 2-企业
  16471. type: integer
  16472. username:
  16473. description: 用户名称(userid对应的名称)
  16474. type: string
  16475. type: object
  16476. models.QhjReckonPriceLog:
  16477. properties:
  16478. decimalplace:
  16479. description: 商品报价小数位
  16480. type: integer
  16481. goodscode:
  16482. description: 商品代码
  16483. type: string
  16484. goodsid:
  16485. description: 商品ID
  16486. type: integer
  16487. goodsname:
  16488. description: 商品名称
  16489. type: string
  16490. lastreckonprice:
  16491. description: 上日结算价
  16492. type: number
  16493. nextdnlimitprice:
  16494. description: 下个交易日跌停价
  16495. type: number
  16496. nexttrade:
  16497. description: 下个交易日
  16498. type: string
  16499. nextuplimitprice:
  16500. description: 下个交易日涨停价
  16501. type: number
  16502. reckonprice:
  16503. description: 今日结算价(定投价)
  16504. type: number
  16505. reckontime:
  16506. description: 结算时间
  16507. type: string
  16508. totalholderqty:
  16509. description: 总持仓数
  16510. type: integer
  16511. totalstock:
  16512. description: 总库存
  16513. type: integer
  16514. tradedate:
  16515. description: 交易日
  16516. type: string
  16517. updowncount:
  16518. description: 连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)
  16519. type: integer
  16520. updownflag:
  16521. description: 连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停
  16522. type: integer
  16523. updownrate:
  16524. description: 今日涨跌幅
  16525. type: number
  16526. updownrate_2d:
  16527. description: 连续两日涨跌幅
  16528. type: number
  16529. updownrate_3d:
  16530. description: 连续三日涨跌幅
  16531. type: number
  16532. type: object
  16533. models.QhjScoreLog:
  16534. properties:
  16535. accountid:
  16536. description: 账户ID
  16537. type: integer
  16538. createtime:
  16539. description: 创建时间(时间)
  16540. type: string
  16541. goodsid:
  16542. description: 商品ID
  16543. type: integer
  16544. hasuploaded:
  16545. description: 是否已同步(千海金) 0:未同步 1;已同步
  16546. type: integer
  16547. logid:
  16548. description: 流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  16549. type: string
  16550. marketid:
  16551. description: 市场ID
  16552. type: integer
  16553. relatedamount:
  16554. description: 关联金额
  16555. type: number
  16556. relatedorderid:
  16557. description: 关联单号(ScoreType=1为Trade_GoodsPickup)
  16558. type: string
  16559. scoreconfigvalue1:
  16560. description: 积分配置1
  16561. type: integer
  16562. scoreconfigvalue2:
  16563. description: 积分配置1
  16564. type: integer
  16565. scoretype:
  16566. description: 积分类型 - 1:提货积分
  16567. type: integer
  16568. scorevalue:
  16569. description: 积分
  16570. type: number
  16571. tradedate:
  16572. description: 交易日(yyyyMMdd)
  16573. type: string
  16574. uploadedtime:
  16575. description: 同步时间
  16576. type: string
  16577. userid:
  16578. description: 用户ID
  16579. type: integer
  16580. type: object
  16581. models.QhjSiteColumnDetail:
  16582. properties:
  16583. author:
  16584. description: 作者
  16585. type: string
  16586. brief:
  16587. description: 简介
  16588. type: string
  16589. columnid:
  16590. description: 所属栏目
  16591. type: integer
  16592. context:
  16593. description: 内容
  16594. type: string
  16595. coverimage:
  16596. description: 封面图片
  16597. type: string
  16598. creaedate:
  16599. description: 创建时间
  16600. type: string
  16601. creatorid:
  16602. description: 创建人
  16603. type: integer
  16604. hits:
  16605. description: 点击数
  16606. type: integer
  16607. id:
  16608. description: ID(SEQ_SITE_COLUMNDETAIL)
  16609. type: integer
  16610. isshow:
  16611. description: 是否展示 - 0:不展示 1:展示
  16612. type: integer
  16613. istop:
  16614. description: 是否置顶 - 0:不置 1:置顶
  16615. type: integer
  16616. modifierid:
  16617. description: 操作人
  16618. type: integer
  16619. publishdate:
  16620. description: 发布日期
  16621. type: string
  16622. status:
  16623. description: 状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝
  16624. type: integer
  16625. title:
  16626. description: 标题
  16627. type: string
  16628. updatedate:
  16629. description: 修改时间
  16630. type: string
  16631. userid:
  16632. description: 用户ID(默认为0, 核心为为机构用户ID)
  16633. type: integer
  16634. username:
  16635. description: 用户名称
  16636. type: string
  16637. type: object
  16638. models.QhjTeamOrder:
  16639. properties:
  16640. accountid:
  16641. description: 账户ID[报价币种]
  16642. type: integer
  16643. accountname:
  16644. description: 账户名称
  16645. type: string
  16646. agreeunit:
  16647. description: 合约乘数
  16648. type: number
  16649. buyorsell:
  16650. description: 方向 - 0:买 1:卖
  16651. type: integer
  16652. decimalplace:
  16653. description: 报价小数位
  16654. type: integer
  16655. enumdicname:
  16656. description: 单位名称
  16657. type: string
  16658. goodscode:
  16659. description: 商品代码(内部)
  16660. type: string
  16661. goodsid:
  16662. description: 商品ID
  16663. type: integer
  16664. goodsname:
  16665. description: 商品名称
  16666. type: string
  16667. goodunitid:
  16668. description: 报价单位ID
  16669. type: integer
  16670. marketid:
  16671. description: 市场ID
  16672. type: integer
  16673. marketname:
  16674. description: 市场名称
  16675. type: string
  16676. qtydecimalplace:
  16677. description: 成交量小数位
  16678. type: integer
  16679. refereeuserid:
  16680. description: 推荐人ID
  16681. type: integer
  16682. tradeamount:
  16683. description: 成交金额[账户币种,用于所有权]
  16684. type: number
  16685. tradedate:
  16686. description: 交易日(yyyyMMdd)
  16687. type: string
  16688. trademode:
  16689. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  16690. 21:竞拍-大宗式 22:受托竞价
  16691. type: integer
  16692. tradeprice:
  16693. description: 成交价格
  16694. type: number
  16695. tradeqty:
  16696. description: 成交数量
  16697. type: number
  16698. tradetime:
  16699. description: 成交时间
  16700. type: string
  16701. userid:
  16702. description: 用户ID
  16703. type: integer
  16704. type: object
  16705. models.QhjTradeGoodsPickup:
  16706. properties:
  16707. accountid:
  16708. description: 账户ID
  16709. type: integer
  16710. address:
  16711. description: 提货人详细地址
  16712. type: string
  16713. amount:
  16714. description: 提货金额
  16715. type: number
  16716. artradedate:
  16717. description: 自动收货交易日(yyyyMMdd)
  16718. type: string
  16719. auditer:
  16720. description: 审核人
  16721. type: integer
  16722. auditsrc:
  16723. description: 更新来源 - 1:管理端 2:终端
  16724. type: integer
  16725. audittime:
  16726. description: 审核时间(发货时间 | 备货完成时间 都是这个字段)
  16727. type: string
  16728. audittradedate:
  16729. description: 审核交易日(yyyyMMdd)
  16730. type: string
  16731. cardnum:
  16732. description: 提货人证件号码
  16733. type: string
  16734. cardtypeid:
  16735. description: 提货人证件类型
  16736. type: integer
  16737. checkremark:
  16738. description: 审核备注
  16739. type: string
  16740. cityid:
  16741. description: 市
  16742. type: integer
  16743. cityname:
  16744. description: 城市名称
  16745. type: string
  16746. confirmtime:
  16747. description: 取货时间 或 收货时间
  16748. type: string
  16749. countryid:
  16750. description: 国家
  16751. type: integer
  16752. countryname:
  16753. description: 国家名称
  16754. type: string
  16755. decimalplace:
  16756. description: 商品报价小数位
  16757. type: integer
  16758. districtid:
  16759. description: 地区
  16760. type: integer
  16761. districtname:
  16762. description: 地区名称
  16763. type: string
  16764. enumdicname:
  16765. description: 单位名称(提货商品)
  16766. type: string
  16767. expresscompany:
  16768. description: 物流公司
  16769. type: string
  16770. expressnum:
  16771. description: 物流单号
  16772. type: string
  16773. goodsagreeunit:
  16774. description: 交易商品乘数
  16775. type: number
  16776. goodscode:
  16777. description: 商品代码
  16778. type: string
  16779. goodsid:
  16780. description: 商品ID
  16781. type: integer
  16782. goodsname:
  16783. description: 商品名称
  16784. type: string
  16785. goodsqty:
  16786. description: 交易商品手数(69模式按成交量小数位放大取整)
  16787. type: number
  16788. handlestatus:
  16789. description: 处理状态
  16790. type: integer
  16791. logincode:
  16792. description: 账号(登录代码, 有可能为空)
  16793. type: string
  16794. marketid:
  16795. description: 市场ID
  16796. type: integer
  16797. phonenum:
  16798. description: 提货人联系方式
  16799. type: string
  16800. pickupgoodsagreeunit:
  16801. description: 提货商品合约乘数
  16802. type: number
  16803. pickupgoodsid:
  16804. description: 提货商品ID
  16805. type: string
  16806. pickupgoodsname:
  16807. description: 提货商品名称
  16808. type: string
  16809. pickupgoodsqty:
  16810. description: 提货商品手数(数量)
  16811. type: number
  16812. pickupgoodsunitid:
  16813. description: 单位ID(提货商品)
  16814. type: integer
  16815. pickupratio:
  16816. description: 提货系数
  16817. type: number
  16818. preparedays:
  16819. description: 备货期(天)-提货单明细表
  16820. type: integer
  16821. provinceid:
  16822. description: 省
  16823. type: integer
  16824. provincename:
  16825. description: 省名称
  16826. type: string
  16827. qty:
  16828. description: 交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总
  16829. type: number
  16830. qtydecimalplace:
  16831. description: 商品数量小数位
  16832. type: integer
  16833. recivername:
  16834. description: 提货人姓名
  16835. type: string
  16836. reqtime:
  16837. description: 提货申请时间
  16838. type: string
  16839. storeuserid:
  16840. description: 门店用户ID (千海金)
  16841. type: integer
  16842. storeusername:
  16843. description: 门店用户名称
  16844. type: string
  16845. takemode:
  16846. description: 提货方式 - 2:自提 3:配送(邮寄)
  16847. type: integer
  16848. takeorderid:
  16849. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  16850. type: string
  16851. takeorderstatus:
  16852. description: 提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  16853. 7:已拒绝 8:已撤销
  16854. type: integer
  16855. takeremark:
  16856. description: 提货备注
  16857. type: string
  16858. tradedate:
  16859. description: 交易日(yyyyMMdd)
  16860. type: string
  16861. updatetime:
  16862. description: 更新时间
  16863. type: string
  16864. userid:
  16865. description: 用户ID
  16866. type: integer
  16867. userinfotype:
  16868. description: 客户类型 1-个人 2-企业
  16869. type: integer
  16870. username:
  16871. description: 用户名称
  16872. type: string
  16873. type: object
  16874. models.QhjUserNodeCfgAndStatus:
  16875. properties:
  16876. agreementcontent:
  16877. description: 协议内容
  16878. type: string
  16879. agreementid:
  16880. description: 协议ID
  16881. type: integer
  16882. agreementname:
  16883. description: 协议名称
  16884. type: string
  16885. agreementno:
  16886. description: 协议编号
  16887. type: string
  16888. agreementtype:
  16889. description: 协议类型 - 1:注册 2:登录 3:交易
  16890. type: integer
  16891. agreementversion:
  16892. description: 协议版本号
  16893. type: integer
  16894. configid:
  16895. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  16896. type: integer
  16897. createtime:
  16898. description: 创建时间
  16899. type: string
  16900. goodsid:
  16901. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  16902. type: integer
  16903. nodetype:
  16904. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  16905. type: integer
  16906. signtimestamp:
  16907. description: 签约状态时间戳(最近一次)
  16908. type: string
  16909. tradedate:
  16910. description: 签约交易日(yyyyMMdd)
  16911. type: string
  16912. userid:
  16913. description: 客户ID
  16914. type: integer
  16915. type: object
  16916. models.Qhjgoodsex:
  16917. properties:
  16918. canfinance:
  16919. description: 是否支持融资 - 0:不支持 1:支持【69:铂金宝】
  16920. type: integer
  16921. canregularlybuy:
  16922. description: 是否支持定投 - 0:不支持 1:支持【69:铂金宝】
  16923. type: integer
  16924. defaulttradeuserid:
  16925. description: 默认交易用户ID
  16926. type: integer
  16927. deliverygoodsid:
  16928. description: 现货品种ID
  16929. type: integer
  16930. goodsid:
  16931. description: 商品ID(自增ID SEQ_GOODS)
  16932. type: integer
  16933. minamount:
  16934. description: 最小购买金额
  16935. type: number
  16936. regularlybuyminamount:
  16937. description: 定投最小金额
  16938. type: number
  16939. regularlybuyminqty:
  16940. description: 定投最小数量
  16941. type: number
  16942. spotgoodsbrandid:
  16943. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID"
  16944. type: integer
  16945. visibilityforenterprise:
  16946. description: 企业客户是否可见 - 0:不可见 1:可见
  16947. type: integer
  16948. visibilityforpersonal:
  16949. description: 个人客户是否可见 - 0:不可见 1:可见
  16950. type: integer
  16951. wrstandardid:
  16952. description: 现货商品ID
  16953. type: integer
  16954. type: object
  16955. models.QueryErrorInfosRsp:
  16956. properties:
  16957. description:
  16958. description: 异常描述
  16959. type: string
  16960. errorcode:
  16961. description: 异常代码
  16962. type: string
  16963. errorid:
  16964. description: 异常ID
  16965. type: integer
  16966. modulecode:
  16967. description: 所属模块
  16968. type: string
  16969. operatecode:
  16970. description: 所属操作
  16971. type: string
  16972. rownumber:
  16973. description: 行号
  16974. type: string
  16975. required:
  16976. - errorid
  16977. type: object
  16978. models.QueryHedgeOrderDetailRsp:
  16979. properties:
  16980. accountid:
  16981. description: 账户ID
  16982. type: integer
  16983. buyorsell:
  16984. description: 买卖 - 0:买 1:卖
  16985. type: integer
  16986. cancellogincode:
  16987. description: 撤单人
  16988. type: string
  16989. channelbuildtype:
  16990. description: 开平标志 - 0:无 1:建仓 2:平仓
  16991. type: integer
  16992. channelinnerorderstatus:
  16993. description: 委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:部分成交 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败
  16994. 9:全部成交
  16995. type: integer
  16996. channeloperatetype:
  16997. description: 操作类型 - 1:正常委托 2:斩仓委托 3:强平委托
  16998. type: integer
  16999. closetype:
  17000. description: 平仓方式 - 0:无 1:平今 2:平昨
  17001. type: integer
  17002. curexchangerate:
  17003. description: 当前汇率
  17004. type: number
  17005. decimalplace:
  17006. description: 商品报价小数位
  17007. type: integer
  17008. exchangefullname:
  17009. description: 外部交易所全称
  17010. type: string
  17011. goodscode:
  17012. description: 商品代码(内部)
  17013. type: string
  17014. goodsid:
  17015. description: 商品ID
  17016. type: integer
  17017. goodsname:
  17018. description: 商品名称
  17019. type: string
  17020. marketid:
  17021. description: 市场ID
  17022. type: integer
  17023. openfreezemargin:
  17024. description: 冻结保证金(冻结交易金额)
  17025. type: number
  17026. orderid:
  17027. description: 委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17028. type: string
  17029. orderlogincode:
  17030. description: 委托人
  17031. type: string
  17032. orderprice:
  17033. description: 委托价格(账户)
  17034. type: number
  17035. orderqty:
  17036. description: 委托数量
  17037. type: integer
  17038. ordertime:
  17039. description: 委托时间
  17040. type: string
  17041. pricemode:
  17042. description: '取价方式 - 1:市价 2: 限价'
  17043. type: integer
  17044. tradedate:
  17045. description: 交易日(yyyyMMdd)
  17046. type: string
  17047. tradeqty:
  17048. description: 成交数量
  17049. type: integer
  17050. type: object
  17051. models.QueryHedgeTradeDetailRsp:
  17052. properties:
  17053. accountid:
  17054. description: 账号ID
  17055. type: integer
  17056. buyorsell:
  17057. description: 方向 - 0:买 1:卖
  17058. type: integer
  17059. channelbuildtype:
  17060. description: 委托单据类型 0:无 1:建仓 2:平仓
  17061. type: integer
  17062. closecharge:
  17063. description: 平仓手续费(账户)
  17064. type: number
  17065. closecharge2:
  17066. description: 平仓手续费(商品)
  17067. type: number
  17068. closepl:
  17069. description: 平仓盈亏(账户)
  17070. type: number
  17071. closepl2:
  17072. description: 平仓盈亏(商品)
  17073. type: number
  17074. closepl3:
  17075. description: 平仓盈亏(账户)(逐笔)
  17076. type: number
  17077. closepl4:
  17078. description: 平仓盈亏(商品)(逐笔)
  17079. type: number
  17080. closetype:
  17081. description: 平仓方式 - 0:无 1:平今 2:平昨
  17082. type: integer
  17083. curexchangerate:
  17084. description: 当前汇率
  17085. type: number
  17086. decimalplace:
  17087. description: 商品报价小数位
  17088. type: integer
  17089. exchangefullname:
  17090. description: 外部交易所全称
  17091. type: string
  17092. goodscode:
  17093. description: 商品代码(内部)
  17094. type: string
  17095. goodsid:
  17096. description: 商品ID
  17097. type: integer
  17098. goodsname:
  17099. description: 商品名称
  17100. type: string
  17101. marketid:
  17102. description: 市场ID
  17103. type: integer
  17104. opencharge:
  17105. description: 建仓手续费(账户)
  17106. type: number
  17107. opencharge2:
  17108. description: 建仓手续费(商品)
  17109. type: number
  17110. orderid:
  17111. description: 委托单号
  17112. type: string
  17113. orderlogincode:
  17114. description: 委托人
  17115. type: string
  17116. tradeamount:
  17117. description: 成交金额(账户)
  17118. type: number
  17119. tradedate:
  17120. description: 交易日(yyyyMMdd)
  17121. type: string
  17122. tradeid:
  17123. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17124. type: string
  17125. tradeprice:
  17126. description: 成交价格
  17127. type: number
  17128. tradeqty:
  17129. description: 成交数量
  17130. type: integer
  17131. tradetime:
  17132. description: 成交时间
  17133. type: string
  17134. tradetype:
  17135. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  17136. type: integer
  17137. type: object
  17138. models.QuotePrimaryMenu:
  17139. properties:
  17140. Index:
  17141. description: 序号
  17142. type: integer
  17143. Key:
  17144. description: 键名
  17145. type: string
  17146. Name:
  17147. description: 菜单名称
  17148. type: string
  17149. SubMenus:
  17150. description: 子菜单
  17151. items:
  17152. $ref: '#/definitions/models.QuoteSecondaryMenu'
  17153. type: array
  17154. SubTitleType:
  17155. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  17156. type: integer
  17157. TradeModes:
  17158. description: 包含市场交易类型
  17159. type: string
  17160. type: object
  17161. models.QuoteSecondaryMenu:
  17162. properties:
  17163. ExExchangeCode:
  17164. description: 外部交易所代码
  17165. type: string
  17166. ExExchangeID:
  17167. description: 外部交易所ID
  17168. type: integer
  17169. GoodsGroupIDs:
  17170. description: 商品组ID列表
  17171. items:
  17172. type: integer
  17173. type: array
  17174. Index:
  17175. description: 序号
  17176. type: integer
  17177. MarketID:
  17178. description: 市场ID
  17179. type: integer
  17180. MenuTitle:
  17181. description: 菜单标题(市场名称或外部交易所名称)
  17182. type: string
  17183. TradeMode:
  17184. description: 交易模式
  17185. type: integer
  17186. type: object
  17187. models.Reckondaytaaccount:
  17188. properties:
  17189. accountid:
  17190. description: 资金账户ID
  17191. type: integer
  17192. accountname:
  17193. description: 账户名称
  17194. type: string
  17195. accountpl:
  17196. description: 今日账户盈亏 = 今日净值-昨日净值+今日出金-今日入金-今日划转+今日授信减少-今日授信增加+今日其它授信减少-今日其它授信增加+今日三方出金-今日三方入金;由统计服务更新
  17197. type: number
  17198. avaiablemoney:
  17199. description: 可用资金
  17200. type: number
  17201. avaiableoutmoney:
  17202. description: 可出资金
  17203. type: number
  17204. balance:
  17205. description: 期初余额
  17206. type: number
  17207. capitalbalance:
  17208. description: 本金余额[外部子账户实际出入金余额]
  17209. type: number
  17210. changeflag:
  17211. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  17212. type: integer
  17213. clearbalance:
  17214. description: 清算余额 = 期末余额 - 授信金额 - 其它授信金额
  17215. type: number
  17216. clearpl:
  17217. description: 真实资金变动值(除出入金、应付交易所手续费)清算盈亏 = 期末余额 - 期初余额 - (今日入金 + 今日出金) - 今日应付交易所手续费
  17218. - 【(今日授信增加 + 今日授信减少) - (今日其它授信增加 + 今日其它授信减少) ----母账户】 =
  17219. 今日手续费支出 + 今日平仓盈亏 + 今日结算盈亏 + 其他支出 + 其他收入 + 今日划转金额 + 今日已收手续费分成 - 今日应付交易所手续费
  17220. type: number
  17221. closepl:
  17222. description: 今日平仓盈亏
  17223. type: number
  17224. closepl2:
  17225. description: 平仓盈亏(逐笔)
  17226. type: number
  17227. creditdecrease:
  17228. description: 今日授信减少
  17229. type: number
  17230. creditincrease:
  17231. description: 今日授信增加
  17232. type: number
  17233. curdebt:
  17234. description: 期末欠款
  17235. type: number
  17236. currencyid:
  17237. description: 货币ID
  17238. type: integer
  17239. currentbalance:
  17240. description: 期末余额
  17241. type: number
  17242. cycletype:
  17243. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表 (日报表不传此参数)
  17244. type: integer
  17245. defercharge:
  17246. description: 今日递延费2支出[111, 112]
  17247. type: number
  17248. deliveryamountin:
  17249. description: 今日交收货款收入
  17250. type: number
  17251. deliveryamountout:
  17252. description: 今日交收货款支出
  17253. type: number
  17254. deliverycharge:
  17255. description: 今日交收手续费支出 [105,106]
  17256. type: number
  17257. deliverycompensationfeein:
  17258. description: 今日交收补偿费收入
  17259. type: number
  17260. deliverycompensationfeeout:
  17261. description: 今日交收补偿费支出
  17262. type: number
  17263. dividedcharge:
  17264. description: 今日已收手续费分成
  17265. type: number
  17266. floatnetvalue:
  17267. description: 浮动净值 = 净值 + 浮动盈亏
  17268. type: number
  17269. floatpl:
  17270. description: 浮动盈亏 - 每日有负债类商品
  17271. type: number
  17272. freezecharge:
  17273. description: 手续费冻结
  17274. type: number
  17275. freezemargin:
  17276. description: 冻结保证金
  17277. type: number
  17278. fromaccountid:
  17279. description: 所属上级账户
  17280. type: integer
  17281. holdcharge:
  17282. description: 今日持仓过夜费支出[108,109,110]
  17283. type: number
  17284. inamount:
  17285. description: 今日入金金额
  17286. type: number
  17287. interestcharge:
  17288. description: 今日递延费支出[103, 104]
  17289. type: number
  17290. ismain:
  17291. description: 是否账号 0:不是母账户 1:是母账户
  17292. type: integer
  17293. ismarketaccount:
  17294. description: 是否机构接单账号 0:不是 1:是
  17295. type: integer
  17296. isreckonaccount:
  17297. description: 是否机构分润账号 0:不是 1:是
  17298. type: integer
  17299. mortgagecredit:
  17300. description: 授信金额
  17301. type: number
  17302. netvalue:
  17303. description: 净值 = 期末余额 + 所有权市值 + 仓单市值仓单市值由统计服务更新
  17304. type: number
  17305. oridebt:
  17306. description: 期初欠款
  17307. type: number
  17308. orifreezecharge:
  17309. description: 期初手续费冻结
  17310. type: number
  17311. orifreezemargin:
  17312. description: 期初冻结保证金
  17313. type: number
  17314. orimortgagecredit:
  17315. description: 期初授信金额
  17316. type: number
  17317. oriothercredit:
  17318. description: 期初其它授信金额
  17319. type: number
  17320. oriotherfreezemargin:
  17321. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  17322. type: number
  17323. orioutamountfreeze:
  17324. description: 期初出金冻结
  17325. type: number
  17326. oriusedmargin:
  17327. description: 期初占用保证金
  17328. type: number
  17329. othercredit:
  17330. description: 其它授信金额
  17331. type: number
  17332. othercreditdecrease:
  17333. description: 今日其它授信减少
  17334. type: number
  17335. othercreditincrease:
  17336. description: 今日其它授信增加
  17337. type: number
  17338. otherfreezemargin:
  17339. description: 其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  17340. type: number
  17341. otherincome:
  17342. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  17343. type: number
  17344. otherpay:
  17345. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  17346. type: number
  17347. outamount:
  17348. description: 今日出金金额
  17349. type: number
  17350. outamountfreeze:
  17351. description: 出金冻结
  17352. type: number
  17353. outthreshold:
  17354. description: 出金阈值
  17355. type: number
  17356. ownershipvalue:
  17357. description: 所有权市值
  17358. type: number
  17359. parentaccountid:
  17360. description: 所属根账户
  17361. type: integer
  17362. password:
  17363. description: 资金密码
  17364. type: string
  17365. paycharge:
  17366. description: 今日手续费支出
  17367. type: number
  17368. paycharge2:
  17369. description: 今日手续费支出(外部配置)
  17370. type: number
  17371. payexchcharge:
  17372. description: 今日应付交易所手续费
  17373. type: number
  17374. reckondate:
  17375. description: 日照日期(yyyyMMdd)
  17376. type: string
  17377. reckonpl:
  17378. description: 今日结算盈亏
  17379. type: number
  17380. reckonpl2:
  17381. description: 结算盈亏(逐笔) - 汇总取期末
  17382. type: number
  17383. relatedaccountstatus:
  17384. description: 关联用户交易状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  17385. type: integer
  17386. relateuserid:
  17387. description: 关联用户
  17388. type: integer
  17389. riskrate:
  17390. description: 风险率 = 占用/ 浮动净值 或 浮动净值/占用
  17391. type: number
  17392. signstatus:
  17393. description: 签约状态 - 1:未签约 2:已签约 3:已解约
  17394. type: integer
  17395. spotvalue:
  17396. description: 现货市值-统计服务更新
  17397. type: number
  17398. sublevelpath:
  17399. description: 账号层级路径(逗号分隔,首尾加逗号)
  17400. type: string
  17401. taaccounttype:
  17402. description: 外部/内部账号 - 1:外部账号 2:内部账号
  17403. type: integer
  17404. thirdinamount:
  17405. description: 今日三方入金
  17406. type: number
  17407. thirdoutamount:
  17408. description: 今日三方出金
  17409. type: number
  17410. tradeamount:
  17411. description: 今日成交金额
  17412. type: number
  17413. tradecharge:
  17414. description: 今日交易手续费支出 [101,102]
  17415. type: number
  17416. tradeqty:
  17417. description: 今日成交量
  17418. type: integer
  17419. tradestatus:
  17420. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结)
  17421. type: integer
  17422. transferamount:
  17423. description: 今日划转金额(母子账号资金划转,从账号划入为正,从账号划出为负)
  17424. type: number
  17425. usedmargin:
  17426. description: 占用保证金
  17427. type: number
  17428. userid:
  17429. description: 用户ID
  17430. type: integer
  17431. required:
  17432. - userid
  17433. type: object
  17434. models.Reckongzmemtradesum:
  17435. properties:
  17436. buylistingamount:
  17437. description: 买挂牌金额 - 无数据,预留
  17438. type: number
  17439. buylistinglot:
  17440. description: 买挂牌宗数
  17441. type: integer
  17442. buylistingqty:
  17443. description: 买挂牌数量 - 无数据,预留
  17444. type: number
  17445. buytradeamount:
  17446. description: 购买金额
  17447. type: number
  17448. buytradelot:
  17449. description: 购买宗数
  17450. type: integer
  17451. buytradeqty:
  17452. description: 购买数量
  17453. type: number
  17454. marketid:
  17455. description: 市场ID
  17456. type: integer
  17457. reckondate:
  17458. description: 日照日期(yyyyMMdd)
  17459. type: string
  17460. selllistingamount:
  17461. description: 卖挂牌金额
  17462. type: number
  17463. selllistinglot:
  17464. description: 卖挂牌宗数
  17465. type: integer
  17466. selllistingqty:
  17467. description: 卖挂牌数量
  17468. type: number
  17469. selltradeamount:
  17470. description: 销售金额
  17471. type: number
  17472. selltradelot:
  17473. description: 销售宗数
  17474. type: integer
  17475. selltradeqty:
  17476. description: 销售数量
  17477. type: number
  17478. updatetime:
  17479. description: 更新时间
  17480. type: string
  17481. userid:
  17482. description: 用户ID
  17483. type: integer
  17484. zscategory:
  17485. description: 钻石分类 - 枚举”ZSCategory“
  17486. type: integer
  17487. zscategorydisplay:
  17488. type: string
  17489. zscurrencytype:
  17490. description: 货币类型 - 枚举“ZSCurrencyType”
  17491. type: integer
  17492. zscurrencytypedisplay:
  17493. type: string
  17494. zscurrencytypedisplayunit:
  17495. type: string
  17496. required:
  17497. - userid
  17498. type: object
  17499. models.RegisterMoney:
  17500. properties:
  17501. amount:
  17502. description: 红包
  17503. type: number
  17504. type: object
  17505. models.RelatedTaAccount:
  17506. properties:
  17507. accountid:
  17508. description: 资金账户ID
  17509. type: integer
  17510. type: object
  17511. models.RoleMenu:
  17512. properties:
  17513. hasright:
  17514. description: 是否有权限 0-没有权限 1-有权限
  17515. type: integer
  17516. iconame:
  17517. description: 菜单图标
  17518. type: string
  17519. menutype:
  17520. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  17521. type: integer
  17522. parentcode:
  17523. description: 上级资源代码
  17524. type: string
  17525. remark:
  17526. description: 菜单备注
  17527. type: string
  17528. resourcecode:
  17529. description: 菜单代码
  17530. type: string
  17531. resourcelevel:
  17532. description: 级别
  17533. type: integer
  17534. resourcename:
  17535. description: 菜单名称
  17536. type: string
  17537. roleid:
  17538. description: 角色id
  17539. type: integer
  17540. sort:
  17541. description: 排序
  17542. type: integer
  17543. subMenu:
  17544. description: 子级菜单(结构同上层一样, swag解析不出来)
  17545. items:
  17546. $ref: '#/definitions/models.RoleMenu'
  17547. type: array
  17548. url:
  17549. description: URL
  17550. type: string
  17551. userid:
  17552. description: 用户id
  17553. type: integer
  17554. type: object
  17555. models.SearchGoods:
  17556. properties:
  17557. goodscode:
  17558. description: 商品代码(内部)
  17559. type: string
  17560. goodsid:
  17561. description: 商品ID(自增ID SEQ_GOODS)
  17562. type: integer
  17563. goodsname:
  17564. description: 商品名称
  17565. type: string
  17566. marketid:
  17567. description: 所属市场ID
  17568. type: integer
  17569. marketname:
  17570. description: 市场名称
  17571. type: string
  17572. trademode:
  17573. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  17574. 21:竞拍-大宗式 22:受托竞价
  17575. type: integer
  17576. required:
  17577. - goodscode
  17578. - goodsid
  17579. - goodsname
  17580. - marketid
  17581. - trademode
  17582. type: object
  17583. models.SellOrder:
  17584. properties:
  17585. accountid:
  17586. description: 资金账号
  17587. type: integer
  17588. applyid:
  17589. description: 申请单ID
  17590. type: integer
  17591. attachment1:
  17592. description: 附件1
  17593. type: string
  17594. attachment2:
  17595. description: 附件2
  17596. type: string
  17597. buyorsell:
  17598. description: 买卖 - 0:买 1:卖
  17599. type: integer
  17600. canbargain:
  17601. description: 是否可议价 - 0:不可 1:可
  17602. type: integer
  17603. cancelqty:
  17604. description: 撤销数量
  17605. type: integer
  17606. canceltime:
  17607. description: 撤销时间
  17608. type: string
  17609. cerno:
  17610. type: string
  17611. chargealgorithm:
  17612. description: 手续费收取方式 1:比率 2:固定
  17613. type: integer
  17614. chargealgorithmvalue:
  17615. description: 手续费设置值(交易所部分)
  17616. type: number
  17617. chargealgorithmvalue2:
  17618. description: 手续费设置值(会员部分)
  17619. type: number
  17620. clientordertime:
  17621. description: 客户端委托时间
  17622. type: string
  17623. cpcertno:
  17624. type: string
  17625. exchangerate:
  17626. description: 汇率[67]
  17627. type: number
  17628. firstratio:
  17629. description: 首付比率 - [挂牌时指定,摘牌时使用]
  17630. type: number
  17631. fixedprice:
  17632. description: '[克拉单价]固定价格 - [挂牌]'
  17633. type: number
  17634. freezecharge:
  17635. description: 冻结手续费
  17636. type: number
  17637. freezefirstamount:
  17638. description: 冻结首付金额 - [摘牌]
  17639. type: number
  17640. freezemargin:
  17641. description: 冻结保证金
  17642. type: number
  17643. goodsno:
  17644. description: 商品编号
  17645. type: string
  17646. imagepath:
  17647. type: string
  17648. isQueryDiamond:
  17649. description: 是否钻石查询
  17650. type: boolean
  17651. isspecified:
  17652. description: 是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  17653. type: integer
  17654. kppath:
  17655. type: string
  17656. kpweight:
  17657. type: string
  17658. marginalgorithm:
  17659. description: 保证金方式 - 1:比率 2:固定
  17660. type: integer
  17661. marginvalue:
  17662. description: 保证金设置值
  17663. type: number
  17664. marketid:
  17665. description: 市场ID
  17666. type: integer
  17667. marketprice:
  17668. type: string
  17669. orderamount:
  17670. description: 挂牌金额[账户] [67]= OrderQty * FixedPrice * ExchangeRate /100
  17671. type: number
  17672. ordertime:
  17673. description: 委托时间
  17674. type: string
  17675. performancetemplateid:
  17676. description: 履约计划模板ID
  17677. type: integer
  17678. price:
  17679. description: 价格
  17680. type: number
  17681. pricefactor:
  17682. description: 价格系数(浮动价时填写) - [挂牌]
  17683. type: number
  17684. pricemove:
  17685. description: 升贴水(浮动价时填写) - [挂牌]
  17686. type: number
  17687. priceper:
  17688. type: string
  17689. relatedwrtradeorderid:
  17690. description: 关联委托单号(摘牌委托关联挂牌委托单ID)
  17691. type: integer
  17692. remainqty:
  17693. description: 剩余重量
  17694. type: number
  17695. remark:
  17696. type: string
  17697. retcode:
  17698. description: 错误代码
  17699. type: integer
  17700. sellusername:
  17701. description: 卖方(查询字段-模糊查询)
  17702. type: string
  17703. settingmaterial:
  17704. description: 镶嵌材料
  17705. type: string
  17706. size1:
  17707. type: string
  17708. size2:
  17709. type: string
  17710. size3:
  17711. type: string
  17712. sizedisplay:
  17713. description: 尺寸
  17714. type: string
  17715. stonedesc:
  17716. description: 配石描述
  17717. type: string
  17718. totalqty:
  17719. description: 总重量
  17720. type: number
  17721. tradedate:
  17722. description: 交易日(yyyyMMdd)
  17723. type: string
  17724. tradeprice:
  17725. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)*
  17726. 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  17727. type: number
  17728. unfreezecharge:
  17729. description: 解冻手续费
  17730. type: number
  17731. unfreezefirstamount:
  17732. description: 解冻首付金额 - [摘牌]
  17733. type: number
  17734. unfreezemargin:
  17735. description: 解冻保证金
  17736. type: number
  17737. userid:
  17738. description: 用户ID
  17739. type: integer
  17740. uuid:
  17741. description: 发起端唯一id
  17742. type: string
  17743. validtime:
  17744. description: 有效期限
  17745. type: string
  17746. validtype:
  17747. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  17748. type: integer
  17749. warehousenamedisplay:
  17750. type: string
  17751. wrbargainid:
  17752. description: 议价申请单ID
  17753. type: integer
  17754. wrfactortypeid:
  17755. description: 仓单要素类型ID/商品ID(77)
  17756. type: integer
  17757. wrpath:
  17758. type: string
  17759. wrpricetype:
  17760. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  17761. type: integer
  17762. wrstandardid:
  17763. description: 现货商品ID
  17764. type: integer
  17765. wrtradeorderid:
  17766. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  17767. type: string
  17768. wrtradeorderstatus:
  17769. 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:撤单解冻贷款失败
  17770. type: integer
  17771. wrtradetype:
  17772. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  17773. type: integer
  17774. wrtransferuserid:
  17775. description: 仓单受让用户 - [摘牌]
  17776. type: integer
  17777. zscategory:
  17778. description: 钻石分类 - 枚举”ZSCategory“
  17779. type: integer
  17780. zscategorydisplay:
  17781. description: 钻石分类 - 描述
  17782. type: string
  17783. zscerttypedisplay:
  17784. type: string
  17785. zsclaritytype1display:
  17786. type: string
  17787. zsclaritytype2display:
  17788. type: string
  17789. zscolortype1display:
  17790. type: string
  17791. zscolortype2display:
  17792. type: string
  17793. zscrystaltype:
  17794. type: string
  17795. zscrystaltypedisplay:
  17796. type: string
  17797. zscurrencytype:
  17798. description: 货币类型 - 枚举“ZSCurrencyType”
  17799. type: integer
  17800. zscurrencytypedisplay:
  17801. type: string
  17802. zscurrencytypedisplayunit:
  17803. type: string
  17804. zscuttype1display:
  17805. type: string
  17806. zscuttype2display:
  17807. type: string
  17808. zsczcolor1typedisplay:
  17809. type: string
  17810. zsczcolor2typedisplay:
  17811. type: string
  17812. zsczcolor3typedisplay:
  17813. type: string
  17814. zsfluorescencetype1display:
  17815. type: string
  17816. zsfluorescencetype2display:
  17817. type: string
  17818. zspolishtype1display:
  17819. type: string
  17820. zspolishtype2display:
  17821. type: string
  17822. zsshapetypedisplay:
  17823. type: string
  17824. zsstyletypedisplay:
  17825. type: string
  17826. zssymmetrytype1display:
  17827. type: string
  17828. zssymmetrytype2display:
  17829. type: string
  17830. type: object
  17831. models.SellOrderQueryReq:
  17832. properties:
  17833. origin:
  17834. description: 原产地
  17835. type: string
  17836. page:
  17837. description: 页码
  17838. type: integer
  17839. pagesize:
  17840. description: 每页大小
  17841. type: integer
  17842. total:
  17843. description: 总条数
  17844. type: integer
  17845. warehouseid:
  17846. description: 仓库ID
  17847. type: integer
  17848. weight1:
  17849. description: 总重量(克拉重量)-从
  17850. type: number
  17851. weight2:
  17852. description: 总重量(克拉重量)-至
  17853. type: number
  17854. weightavg1:
  17855. description: 平均单颗重量-从
  17856. type: number
  17857. weightavg2:
  17858. description: 平均单颗重量-至
  17859. type: number
  17860. zscategory:
  17861. description: 钻石分类 - 枚举”ZSCategory“
  17862. type: integer
  17863. zscerttype:
  17864. description: 证书类型
  17865. items:
  17866. type: string
  17867. type: array
  17868. zsclaritytype:
  17869. description: 净度
  17870. items:
  17871. type: integer
  17872. type: array
  17873. zscolortype:
  17874. description: 颜色
  17875. items:
  17876. type: integer
  17877. type: array
  17878. zscurrencytype:
  17879. description: 货币类型 - 枚举“ZSCurrencyType”
  17880. items:
  17881. type: string
  17882. type: array
  17883. zscuttype:
  17884. description: 切工
  17885. items:
  17886. type: integer
  17887. type: array
  17888. zsczcolor1type:
  17889. description: 彩钻颜色1
  17890. items:
  17891. type: string
  17892. type: array
  17893. zsfluorescencetype:
  17894. description: 荧光
  17895. items:
  17896. type: integer
  17897. type: array
  17898. zspolishtype:
  17899. description: 抛光度
  17900. items:
  17901. type: integer
  17902. type: array
  17903. zsshapetype:
  17904. description: 形状 - 枚举”ZSShapeType“ - 类型:1,2,4,5 ;(1为多个,逗号分隔)
  17905. items:
  17906. type: string
  17907. type: array
  17908. zsstyletype:
  17909. description: 款式
  17910. items:
  17911. type: string
  17912. type: array
  17913. zssymmetrytype:
  17914. description: 对称度
  17915. items:
  17916. type: integer
  17917. type: array
  17918. required:
  17919. - zscategory
  17920. type: object
  17921. models.Systemparam:
  17922. properties:
  17923. loginid:
  17924. description: 更新用户账号,登录账号
  17925. type: string
  17926. modifyflag:
  17927. description: 修改标志0 不允许修改 1 允许修改
  17928. type: integer
  17929. paramcode:
  17930. description: 参数代码
  17931. type: string
  17932. paramname:
  17933. description: 参数名
  17934. type: string
  17935. paramtype:
  17936. description: 参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城
  17937. type: integer
  17938. paramvalue:
  17939. description: 参数值
  17940. type: string
  17941. paramvalue2:
  17942. description: 参数值(CLOB)
  17943. type: string
  17944. regexpress:
  17945. description: 正则表达式
  17946. type: string
  17947. remark:
  17948. description: 备注
  17949. type: string
  17950. serverip:
  17951. description: 限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置
  17952. type: string
  17953. showflag:
  17954. description: 是否显示0 不显示 1 显示
  17955. type: integer
  17956. updatetime:
  17957. description: 更新时间
  17958. type: string
  17959. userid:
  17960. description: 更新用户ID
  17961. type: integer
  17962. required:
  17963. - paramcode
  17964. type: object
  17965. models.Szdz3convertconfig:
  17966. properties:
  17967. canin:
  17968. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  17969. type: integer
  17970. canout:
  17971. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  17972. type: integer
  17973. converttype:
  17974. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  17975. 6:交易转花生米(不设置)
  17976. type: integer
  17977. createtime:
  17978. description: 创建时间
  17979. type: string
  17980. creatorid:
  17981. description: 创建人
  17982. type: integer
  17983. daymaxvalue:
  17984. description: 当日最大转入限制
  17985. type: number
  17986. freezedays:
  17987. description: 冻结天数 [5:花生米转交易]
  17988. type: integer
  17989. innergoodsid:
  17990. description: 内部商品ID[交易]
  17991. type: integer
  17992. inratio:
  17993. description: 目标值
  17994. type: integer
  17995. modifierid:
  17996. description: 修改人
  17997. type: integer
  17998. modifytime:
  17999. description: 修改时间
  18000. type: string
  18001. outergoodscode:
  18002. description: 外部商品代码[JD\PD]
  18003. type: string
  18004. outratio:
  18005. description: 源值
  18006. type: integer
  18007. pddecimalplace:
  18008. description: PD小数位
  18009. type: integer
  18010. timemaxvalue:
  18011. description: 单次最大转入限制
  18012. type: number
  18013. timeminvalue:
  18014. description: 单次最小转入限制
  18015. type: number
  18016. required:
  18017. - converttype
  18018. - innergoodsid
  18019. - outergoodscode
  18020. type: object
  18021. models.Szdz3searchwhitelist:
  18022. properties:
  18023. createtime:
  18024. description: 创建时间
  18025. type: string
  18026. creatorid:
  18027. description: 创建人
  18028. type: integer
  18029. modifierid:
  18030. description: 修改人
  18031. type: integer
  18032. modifytime:
  18033. description: 修改时间
  18034. type: string
  18035. userid:
  18036. description: 用户ID
  18037. type: integer
  18038. required:
  18039. - userid
  18040. type: object
  18041. models.TBGoods:
  18042. properties:
  18043. agreeunit:
  18044. description: 合约乘数
  18045. type: number
  18046. enumdicname:
  18047. description: 单位名称
  18048. type: string
  18049. goodscode:
  18050. description: 商品代码(内部)
  18051. type: string
  18052. goodsid:
  18053. description: 商品ID(自增ID SEQ_GOODS)
  18054. type: integer
  18055. goodsname:
  18056. description: 商品名称
  18057. type: string
  18058. type: object
  18059. models.TBGoodsGroup:
  18060. properties:
  18061. GDLST:
  18062. description: 商品列表
  18063. items:
  18064. $ref: '#/definitions/models.TBGoods'
  18065. type: array
  18066. convertratio:
  18067. description: 折算系数
  18068. type: number
  18069. enumdicname:
  18070. description: 单位名称
  18071. type: string
  18072. exexchangecode:
  18073. description: 交易所代码
  18074. type: string
  18075. exexchangename:
  18076. description: 交易所名称
  18077. type: string
  18078. goodsgroupid:
  18079. description: 商品组ID(自增ID)
  18080. type: integer
  18081. goodsgroupname:
  18082. description: 商品组名称
  18083. type: string
  18084. goodunitid:
  18085. description: 报价单位ID
  18086. type: integer
  18087. type: object
  18088. models.TBMiddleGoods:
  18089. properties:
  18090. GPLST:
  18091. description: 期货品种列表
  18092. items:
  18093. $ref: '#/definitions/models.TBGoodsGroup'
  18094. type: array
  18095. WDLST:
  18096. description: 商品信息列表(现货品类)
  18097. items:
  18098. $ref: '#/definitions/models.TBWrstandard'
  18099. type: array
  18100. areauserid:
  18101. description: 机构用户ID
  18102. type: integer
  18103. enumdicname:
  18104. description: 单位名称
  18105. type: string
  18106. goodsunitid:
  18107. description: 套保品种单位id
  18108. type: integer
  18109. middlegoodscode:
  18110. description: 套保品种代码
  18111. type: string
  18112. middlegoodsid:
  18113. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  18114. type: integer
  18115. middlegoodsname:
  18116. description: 套保品种名称
  18117. type: string
  18118. needarbitrageratio:
  18119. description: 套利比率
  18120. type: number
  18121. needhedgeratio:
  18122. description: 套保比率
  18123. type: number
  18124. type: object
  18125. models.TBWrstandard:
  18126. properties:
  18127. convertratio:
  18128. description: 折算系数
  18129. type: number
  18130. deliverygoodsname:
  18131. description: 品种名称
  18132. type: string
  18133. enumdicname:
  18134. description: 单位名称
  18135. type: string
  18136. vatrate:
  18137. description: 增值税率
  18138. type: number
  18139. wrstandardcode:
  18140. description: 现货商品代码
  18141. type: string
  18142. wrstandardid:
  18143. description: 现货商品ID(SEQ_WRSTANDARD)
  18144. type: integer
  18145. wrstandardname:
  18146. description: 现货商品名称
  18147. type: string
  18148. type: object
  18149. models.THJDeliveryMode:
  18150. properties:
  18151. enumdicname:
  18152. description: 枚举项名称
  18153. type: string
  18154. enumitemname:
  18155. description: 枚举项值
  18156. type: integer
  18157. type: object
  18158. models.THJDeliveryMonth:
  18159. properties:
  18160. enddate:
  18161. description: 预售结束日期(yyyy-mm-dd)
  18162. type: string
  18163. endmonth:
  18164. description: 预售结束月份(yyyy-mm)
  18165. type: string
  18166. orderqty:
  18167. description: 委托数量
  18168. type: integer
  18169. presaleapplyid:
  18170. description: 预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)
  18171. type: string
  18172. remainqty:
  18173. description: 可用数量
  18174. type: integer
  18175. tradeqty:
  18176. description: 成交数量
  18177. type: integer
  18178. type: object
  18179. models.THJPresaleApplyDeposit:
  18180. properties:
  18181. depositid:
  18182. description: 自增ID autoid
  18183. type: integer
  18184. depositrate:
  18185. description: 定金比例
  18186. type: number
  18187. discountamount:
  18188. description: 优惠金额(每吨)
  18189. type: number
  18190. presaleapplyid:
  18191. description: 预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)
  18192. type: string
  18193. type: object
  18194. models.THJSigninReq:
  18195. properties:
  18196. userid:
  18197. description: 用户ID
  18198. type: integer
  18199. required:
  18200. - userid
  18201. type: object
  18202. models.THJSigninRsp:
  18203. properties:
  18204. signinstatus:
  18205. description: 状态操作标志 1-签到成功 2-当日已签到,不能重复签到
  18206. type: integer
  18207. type: object
  18208. models.THJSpotGoodsPriceLog:
  18209. properties:
  18210. spotgoodsprice:
  18211. description: 现货价格
  18212. type: number
  18213. tradedate:
  18214. description: 交易日(yyyyMMdd)
  18215. type: string
  18216. type: object
  18217. models.THJWrstandard:
  18218. properties:
  18219. thumurls:
  18220. description: 缩略图片(1:1)(逗号分隔)
  18221. type: string
  18222. wrstandardcode:
  18223. description: 现货商品代码
  18224. type: string
  18225. wrstandardid:
  18226. description: 现货商品ID(自增 SEQ_GOODS 确保不重复)
  18227. type: integer
  18228. wrstandardname:
  18229. description: 现货商品名称(模糊查询)
  18230. type: string
  18231. type: object
  18232. models.THJWrstandardDetail_GoodsInfo:
  18233. properties:
  18234. pictureurls:
  18235. description: 详情图片(逗号分隔)
  18236. type: string
  18237. spotgoodsprice:
  18238. description: 现货价格
  18239. type: number
  18240. wrstandardcode:
  18241. description: 现货商品代码
  18242. type: string
  18243. wrstandardid:
  18244. description: 现货商品ID(自增 SEQ_GOODS 确保不重复)
  18245. type: integer
  18246. wrstandardname:
  18247. description: 现货商品名称
  18248. type: string
  18249. type: object
  18250. models.THJWrstandardDetailRsp:
  18251. properties:
  18252. deliverymodes:
  18253. description: 交割方式
  18254. items:
  18255. $ref: '#/definitions/models.THJDeliveryMode'
  18256. type: array
  18257. deliverymonth:
  18258. description: 交割月份
  18259. items:
  18260. $ref: '#/definitions/models.THJDeliveryMonth'
  18261. type: array
  18262. goodsinfo:
  18263. $ref: '#/definitions/models.THJWrstandardDetail_GoodsInfo'
  18264. description: 商品信息
  18265. presaleapplydeposits:
  18266. description: 支付方式
  18267. items:
  18268. $ref: '#/definitions/models.THJPresaleApplyDeposit'
  18269. type: array
  18270. spotgoodspricelogs:
  18271. description: 历史价格走势
  18272. items:
  18273. $ref: '#/definitions/models.THJSpotGoodsPriceLog'
  18274. type: array
  18275. type: object
  18276. models.Taaccount:
  18277. properties:
  18278. accountflag:
  18279. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  18280. type: integer
  18281. accountid:
  18282. description: 资金账户ID
  18283. type: integer
  18284. accountname:
  18285. description: 账户名称
  18286. type: string
  18287. balance:
  18288. description: 期初余额
  18289. type: number
  18290. capitalbalance:
  18291. description: 本金余额[外部子账户实际出入金余额]
  18292. type: number
  18293. changeflag:
  18294. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  18295. type: integer
  18296. changetime:
  18297. description: 账户状态变更时间
  18298. type: string
  18299. closepl:
  18300. description: 今日平仓盈亏
  18301. type: number
  18302. creditdecrease:
  18303. description: 今日授信减少
  18304. type: number
  18305. creditincrease:
  18306. description: 今日授信增加
  18307. type: number
  18308. curamount:
  18309. description: 总市值(从持仓中统计)
  18310. type: number
  18311. currencyid:
  18312. description: 货币ID
  18313. type: integer
  18314. currentbalance:
  18315. description: 期末余额
  18316. type: number
  18317. freezecharge:
  18318. description: 手续费冻结
  18319. type: number
  18320. freezemargin:
  18321. description: 冻结保证金
  18322. type: number
  18323. fromaccountid:
  18324. description: 所属上级账户
  18325. type: integer
  18326. inamount:
  18327. description: 今日入金金额(包括三方入金)
  18328. type: number
  18329. ismain:
  18330. description: 是否母账号 0:不是母账户 1:是母账户
  18331. type: integer
  18332. ismarketaccount:
  18333. description: 是否机构接单账号 0:不是 1:是
  18334. type: integer
  18335. isreckonaccount:
  18336. description: 是否机构分润账号 0:不是 1:是
  18337. type: integer
  18338. mortgagecredit:
  18339. description: 授信金额
  18340. type: number
  18341. orifreezecharge:
  18342. description: 期初手续费冻结
  18343. type: number
  18344. orifreezemargin:
  18345. description: 期初冻结保证金
  18346. type: number
  18347. orimortgagecredit:
  18348. description: 期初授信金额
  18349. type: number
  18350. oriothercredit:
  18351. description: 期初其它授信金额
  18352. type: number
  18353. oriotherfreezemargin:
  18354. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  18355. type: number
  18356. orioutamountfreeze:
  18357. description: 期初出金冻结
  18358. type: number
  18359. oriusedmargin:
  18360. description: 期初占用保证金
  18361. type: number
  18362. othercredit:
  18363. description: 其它授信金额
  18364. type: number
  18365. othercreditdecrease:
  18366. description: 今日其它授信减少
  18367. type: number
  18368. othercreditincrease:
  18369. description: 今日其它授信增加
  18370. type: number
  18371. otherfreezemargin:
  18372. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  18373. type: number
  18374. otherincome:
  18375. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  18376. type: number
  18377. otherpay:
  18378. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  18379. type: number
  18380. outamount:
  18381. description: 今日出金金额(包括三方出金)
  18382. type: number
  18383. outamountfreeze:
  18384. description: 出金冻结
  18385. type: number
  18386. outthreshold:
  18387. description: 出金阈值
  18388. type: number
  18389. parentaccountid:
  18390. description: 所属根账号
  18391. type: integer
  18392. paycharge:
  18393. description: 今日手续费支出
  18394. type: number
  18395. relatedaccountstatus:
  18396. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  18397. type: integer
  18398. relateduserid:
  18399. description: 关联用户
  18400. type: integer
  18401. remainamount:
  18402. description: 融资额(从融资合同中统计)
  18403. type: number
  18404. serivcegroup:
  18405. description: 服务分组
  18406. type: integer
  18407. signstatus:
  18408. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  18409. type: integer
  18410. sublevelpath:
  18411. description: 账号层级路径(逗号分隔,首尾加逗号)
  18412. type: string
  18413. taaccounttype:
  18414. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  18415. type: integer
  18416. thirdinamount:
  18417. description: 今日三方入金
  18418. type: number
  18419. thirdoutamount:
  18420. description: 今日三方出金
  18421. type: number
  18422. tradestatus:
  18423. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  18424. type: integer
  18425. tradestatuschangetime:
  18426. description: 激活时间
  18427. type: string
  18428. transferamount:
  18429. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  18430. type: number
  18431. usedmargin:
  18432. description: 占用保证金
  18433. type: number
  18434. userid:
  18435. description: 用户ID
  18436. type: integer
  18437. required:
  18438. - accountid
  18439. - userid
  18440. type: object
  18441. models.Tablecolumnconfig:
  18442. properties:
  18443. aligntype:
  18444. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  18445. type: integer
  18446. autoid:
  18447. description: AutoID
  18448. type: integer
  18449. columnfield:
  18450. description: 列字段
  18451. type: string
  18452. columntitle:
  18453. description: 列Title
  18454. type: string
  18455. columnwidth:
  18456. description: 列宽
  18457. type: string
  18458. fixed:
  18459. description: 固定类型 - 空 | left | right
  18460. type: string
  18461. formatterstring:
  18462. description: 格式化字符
  18463. type: string
  18464. formattertype:
  18465. description: 格式化类型
  18466. type: string
  18467. groupname:
  18468. description: 表头分组名称
  18469. type: string
  18470. ismerge:
  18471. description: 是否合并显示 - 0:不合并 1:合并
  18472. type: integer
  18473. isshow:
  18474. description: 是否显示 - 0:不显示 1:显示
  18475. type: integer
  18476. needsummary:
  18477. description: 是否需要汇总 - 0:不需要 1:需要
  18478. type: integer
  18479. orderindex:
  18480. description: 顺序
  18481. type: integer
  18482. remark:
  18483. description: 备注
  18484. type: string
  18485. summarytype:
  18486. description: 汇总类型 - 1:加总 2:最后一个
  18487. type: integer
  18488. tablekey:
  18489. description: 列表Key
  18490. type: string
  18491. required:
  18492. - autoid
  18493. type: object
  18494. models.Thjpurchasetradedetail:
  18495. properties:
  18496. buyaccountid:
  18497. description: 买方账号ID
  18498. type: integer
  18499. buychargevalue:
  18500. description: 买方到期手续费
  18501. type: number
  18502. buyconfirmremark:
  18503. description: 买方确认备注
  18504. type: string
  18505. buyconfirmtime:
  18506. description: 买方确认时间
  18507. type: string
  18508. buyfreezecharge:
  18509. description: 买方摘牌冻结手续费
  18510. type: number
  18511. buyuserid:
  18512. description: 买方用户ID
  18513. type: integer
  18514. contactinfo:
  18515. description: 联系方式
  18516. type: string
  18517. contactname:
  18518. description: 联系人姓名
  18519. type: string
  18520. contractaddrbuy:
  18521. description: 贸易合同地址(买家)
  18522. type: string
  18523. contractaddrsell:
  18524. description: 贸易合同地址(卖家)
  18525. type: string
  18526. deliverygoodsid:
  18527. description: 现货品种ID
  18528. type: integer
  18529. depositrate:
  18530. description: 定金比例
  18531. type: number
  18532. desaddress:
  18533. description: 目的地地址
  18534. type: string
  18535. discountamount:
  18536. description: 优惠总金额(优惠金额*TradeQty)
  18537. type: number
  18538. handlestatus:
  18539. description: 处理状态
  18540. type: integer
  18541. lastamount:
  18542. description: 到期总货款 = 到期价格 * 摘牌数量
  18543. type: number
  18544. lastprice:
  18545. description: 到期价格
  18546. type: number
  18547. lastpricedate:
  18548. description: 到期价格日期 - 暂不使用
  18549. type: string
  18550. marketid:
  18551. description: 市场ID
  18552. type: integer
  18553. orderstatus:
  18554. description: 单据状态 - 1:待付尾款 2:支付尾款成功 3:支付尾款失败 4:已违约 5:卖方已确认 6:买方已确认 7:系统自动确认
  18555. (枚举:THJOrderStatus)
  18556. type: integer
  18557. payeddeposit:
  18558. description: 买方已付定金
  18559. type: number
  18560. payedtradedate:
  18561. description: 支付尾款成功交易日
  18562. type: string
  18563. presaleapplyid:
  18564. description: 预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)
  18565. type: integer
  18566. receiptinfo:
  18567. description: 发票信息
  18568. type: string
  18569. remainamount:
  18570. description: 剩余货款 = 到期总货款 - 已付定金 - 优惠金额
  18571. type: number
  18572. sellaccountid:
  18573. description: 卖方账号ID
  18574. type: integer
  18575. sellchargevalue:
  18576. description: 卖方到期手续费
  18577. type: number
  18578. sellconfirmattach:
  18579. description: 卖方确认附件
  18580. type: string
  18581. sellconfirmremark:
  18582. description: 卖方确认备注
  18583. type: string
  18584. sellconfirmtime:
  18585. description: 卖方确认时间
  18586. type: string
  18587. sellconfirmtradedate:
  18588. description: 卖方确认交易日
  18589. type: string
  18590. selluserid:
  18591. description: 卖方用户ID
  18592. type: integer
  18593. thjdeliverymode:
  18594. description: 交割方式 - 1:平台仓储 2:自提 3:代办运输 (枚举:THJDeliveryMode)
  18595. type: integer
  18596. thjdeliverymodedisplay:
  18597. description: 提货方式
  18598. type: string
  18599. thjorderstatusdisplay:
  18600. description: 状态
  18601. type: string
  18602. tradeamount:
  18603. description: 摘牌总货款
  18604. type: number
  18605. tradedate:
  18606. description: 交易日(yyyyMMdd)
  18607. type: string
  18608. tradeprice:
  18609. description: 摘牌价格
  18610. type: number
  18611. tradeqty:
  18612. description: 摘牌数量
  18613. type: integer
  18614. tradetime:
  18615. description: 摘牌时间
  18616. type: string
  18617. warehouseid:
  18618. description: 仓库ID
  18619. type: integer
  18620. warehousename:
  18621. description: 仓库名称
  18622. type: string
  18623. wrfactortypeid:
  18624. description: 仓单要素类型ID
  18625. type: integer
  18626. wrstandardid:
  18627. description: 现货商品ID
  18628. type: integer
  18629. wrstandardname:
  18630. description: 现货商品名称
  18631. type: string
  18632. wrtradedetailid:
  18633. description: 采购成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  18634. type: integer
  18635. required:
  18636. - buyuserid
  18637. type: object
  18638. models.Thjscoreconfig:
  18639. properties:
  18640. parma1:
  18641. description: 参数1
  18642. type: integer
  18643. parma2:
  18644. description: 参数2
  18645. type: integer
  18646. parma3:
  18647. description: 参数3
  18648. type: integer
  18649. parma4:
  18650. description: 参数4
  18651. type: integer
  18652. parma5:
  18653. description: 参数5
  18654. type: integer
  18655. parma6:
  18656. description: 参数6
  18657. type: integer
  18658. parma7:
  18659. description: 参数6
  18660. type: integer
  18661. scoreconfigtype:
  18662. description: 积分配置类型 - 1:注册送红包 2:签到送积分 3:推广送积分 4:下级用户下单送积分 5:自己采购下单送积分 6:自己供求下单送积分
  18663. 7:抽奖得红包
  18664. type: integer
  18665. type: object
  18666. models.TjmdHolderDetailTradeInfo:
  18667. properties:
  18668. agreeunit:
  18669. description: 合约乘数
  18670. type: number
  18671. buyaccountid:
  18672. description: 买方账户
  18673. type: string
  18674. buyusername:
  18675. description: 买方
  18676. type: string
  18677. delistingdate:
  18678. description: 最后结算日
  18679. type: string
  18680. expiredate:
  18681. description: 到期结算价定价日
  18682. type: string
  18683. exprieprice:
  18684. description: 到期清算价格
  18685. type: string
  18686. goodscode:
  18687. description: 商品代码
  18688. type: string
  18689. goodsid:
  18690. description: 商品ID
  18691. type: integer
  18692. goodsname:
  18693. description: 商品名称(交易标的)
  18694. type: string
  18695. lasttradedate:
  18696. description: 最后交易日
  18697. type: string
  18698. listingdate:
  18699. description: 开始交易日
  18700. type: string
  18701. openprice:
  18702. description: 成交价
  18703. type: number
  18704. openqty:
  18705. description: 交易数量
  18706. type: integer
  18707. sellaccountid:
  18708. description: 卖方账户
  18709. type: string
  18710. sellusername:
  18711. description: 卖方
  18712. type: string
  18713. tradeamount:
  18714. description: 初始名义价值
  18715. type: number
  18716. tradedate:
  18717. description: 成交日期
  18718. type: string
  18719. tradeid:
  18720. description: 成交编号
  18721. type: string
  18722. type: object
  18723. models.TjmdMarketSection:
  18724. properties:
  18725. marketsectionid:
  18726. description: 市场版块ID(SEQ_MARKETSECTION)
  18727. type: integer
  18728. marketsectionname:
  18729. description: 市场版块名称
  18730. type: string
  18731. mlist:
  18732. description: 市场列表(板块下面有多少个市场)
  18733. items:
  18734. $ref: '#/definitions/models.TjmdMarketSectionConfig'
  18735. type: array
  18736. orderindex:
  18737. description: 排序
  18738. type: integer
  18739. pictureurl:
  18740. description: 图片url, 规格(90*90)
  18741. type: string
  18742. remark:
  18743. description: 备注
  18744. type: string
  18745. type: object
  18746. models.TjmdMarketSectionConfig:
  18747. properties:
  18748. auctionwrtype:
  18749. description: 仓单类型(现货交易) - 1:无仓单 2:有仓单 3;有无仓单均可
  18750. type: integer
  18751. canacceptquote:
  18752. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  18753. type: integer
  18754. cangoodsexercise:
  18755. description: '[期权]是否可现货行权- 0:否 1:是'
  18756. type: integer
  18757. cangoodsexercisetype:
  18758. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  18759. type: integer
  18760. canmanualquotestrike:
  18761. description: 是否可手动报行权价- 0:否 1:是 [期权]
  18762. type: integer
  18763. canmutistage:
  18764. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  18765. type: integer
  18766. canpreexercise:
  18767. description: '[期权]是否可预申报- 0:否 1:是'
  18768. type: integer
  18769. clearinterval:
  18770. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  18771. type: integer
  18772. contracttmp:
  18773. description: 合同模板[荷兰式][竞价式][仓单贸易]
  18774. type: string
  18775. exchareaid:
  18776. description: 所属交易所,可以没有
  18777. type: integer
  18778. financemarketid:
  18779. description: 融资回购市场ID [仓单贸易]
  18780. type: integer
  18781. goodstype:
  18782. description: 商品类型 - 1:交易商品 2:仓单商品
  18783. type: integer
  18784. hasrebate:
  18785. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  18786. type: integer
  18787. hastradecredit:
  18788. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  18789. type: integer
  18790. haswr:
  18791. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  18792. type: integer
  18793. isdeductmargin:
  18794. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  18795. type: integer
  18796. isrecordsource:
  18797. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  18798. type: integer
  18799. isreleasemargin:
  18800. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  18801. type: integer
  18802. isupdatereckonprice:
  18803. description: 输入结算价标识 - 0:系统生成 1:手工输入(自动) 2:手工输入(手动)
  18804. type: integer
  18805. listingmode:
  18806. description: 挂牌方式 1:一口价 2:浮动价 3:贸易圈 4:协议指定
  18807. type: integer
  18808. marginformula:
  18809. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  18810. type: integer
  18811. marginformula2:
  18812. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  18813. type: integer
  18814. marketid:
  18815. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  18816. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  18817. type: integer
  18818. marketname:
  18819. description: 市场名称
  18820. type: string
  18821. marketsectionid:
  18822. description: 市场版块ID(SEQ_MARKETSECTION)
  18823. type: integer
  18824. marketserviceid:
  18825. description: 市场服务ID
  18826. type: integer
  18827. marketstatus:
  18828. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  18829. type: integer
  18830. markettype:
  18831. description: 市场类型- 1:非交易服务 2:交易服务
  18832. type: integer
  18833. matchermode:
  18834. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手 - 作废
  18835. type: integer
  18836. nowrquotaflag:
  18837. description: 是否校验无仓单额度(仓单贸易) 0:否 1:是
  18838. type: integer
  18839. openmethod:
  18840. description: 开盘模式 - 0 自动 1手动
  18841. type: integer
  18842. orderindex:
  18843. description: 排序
  18844. type: integer
  18845. otcuserid:
  18846. description: 场外期权做市商[场外期权]
  18847. type: integer
  18848. outersynctime:
  18849. description: 外部同步时间点(h24:mi:ss)[场外期权]
  18850. type: string
  18851. paylaterflag:
  18852. description: 是否支持后付 - 0:不支持 1;支持 - [挂牌点选 所有权、预售挂牌支持]
  18853. type: integer
  18854. pendingflag:
  18855. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  18856. type: integer
  18857. pendingtime:
  18858. description: 待开市时间[通道交易-对冲](HH:mm)
  18859. type: string
  18860. performancetempid:
  18861. description: 履约计划模板ID - 作废
  18862. type: integer
  18863. premiumquotemode:
  18864. description: 权利金报价方式 - 1:自动 2:手动
  18865. type: integer
  18866. rebateratio:
  18867. description: 返利比率[竞价式]
  18868. type: number
  18869. reckonorder:
  18870. description: 结算顺序
  18871. type: integer
  18872. reckonpricealgorithm:
  18873. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  18874. 6.卖一价 7.买一卖一均价 8.外部结算价'
  18875. type: integer
  18876. reckonpriceparam:
  18877. description: 结算价参数
  18878. type: integer
  18879. reckontime:
  18880. description: 结算时间[通道交易-对冲](HH:mm)
  18881. type: string
  18882. roleprioritytype:
  18883. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  18884. type: integer
  18885. selllistingauditflag:
  18886. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  18887. type: integer
  18888. trademarkettype:
  18889. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  18890. type: integer
  18891. trademode:
  18892. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  18893. 21:竞拍-大宗式 22:受托竞价
  18894. type: integer
  18895. tradeproperty:
  18896. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  18897. 8:场外期权
  18898. type: integer
  18899. tradetype:
  18900. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  18901. type: integer
  18902. updatereckonpriceinterval:
  18903. description: 输入结算价时长(分钟) [1:手工输入(自动)]
  18904. type: integer
  18905. type: object
  18906. models.TjmdQuoteGoods:
  18907. properties:
  18908. buyqty:
  18909. description: 买量(暂不做, 无值, 保留字段)
  18910. type: number
  18911. decimalplace:
  18912. description: 报价小数位
  18913. type: integer
  18914. goodscode:
  18915. description: 合约代码
  18916. type: string
  18917. goodsgroupid:
  18918. description: 商品组ID(自增ID)
  18919. type: integer
  18920. goodsgroupname:
  18921. description: 商品组名称
  18922. type: string
  18923. goodsid:
  18924. description: 合约id
  18925. type: integer
  18926. goodsname:
  18927. description: 合约名称
  18928. type: string
  18929. refgoodscode:
  18930. description: 标的合约代码
  18931. type: string
  18932. refgoodsid:
  18933. description: 标的合约id
  18934. type: integer
  18935. refgoodsname:
  18936. description: 标的合约名称
  18937. type: string
  18938. sellqty:
  18939. description: 卖量(暂不做, 无值, 保留字段)
  18940. type: number
  18941. type: object
  18942. models.TjmdTodayAccountMargin:
  18943. properties:
  18944. accountid:
  18945. description: 账号ID
  18946. type: integer
  18947. goodsid:
  18948. description: 商品ID
  18949. type: integer
  18950. infoc:
  18951. $ref: '#/definitions/pb.GoodsMarginCfgStruct'
  18952. description: 配置参数
  18953. marketid:
  18954. description: 市场ID
  18955. type: integer
  18956. type: object
  18957. models.TjmdTradeOrderDetail:
  18958. properties:
  18959. buyorsell:
  18960. description: 买卖方向 0-买 1-卖
  18961. type: integer
  18962. goodsid:
  18963. description: 商品id
  18964. type: integer
  18965. marketmaxsub:
  18966. description: 市价最大偏移范围 [浮动价 - 点差]
  18967. type: number
  18968. orderid:
  18969. description: 委托单号
  18970. type: string
  18971. orderprice:
  18972. description: 期初均价
  18973. type: number
  18974. orderqty:
  18975. description: 委托数量
  18976. type: integer
  18977. pricemode:
  18978. description: '取价方式 - 1:市价 2: 限价 3:浮动价'
  18979. type: integer
  18980. userid:
  18981. description: 用户id
  18982. type: integer
  18983. username:
  18984. description: 用户名称(已脱敏)
  18985. type: string
  18986. type: object
  18987. models.TjmdTransferApply:
  18988. properties:
  18989. applyid:
  18990. description: 申请ID(自增ID SEQ_TRADE_HOLDTRANSFERAPPLY)
  18991. type: integer
  18992. applystatus:
  18993. description: 状态 - 0:未提交 1:待审核 2:审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销
  18994. type: integer
  18995. applytime:
  18996. description: 申请时间(时间)
  18997. type: string
  18998. auditremark:
  18999. description: 审核备注(拒绝原因?)
  19000. type: string
  19001. begindate:
  19002. description: 开始交易日(yyyymmdd)
  19003. type: string
  19004. buyorsell:
  19005. description: 买卖 - 0:买 1:卖
  19006. type: integer
  19007. enddate:
  19008. description: 结束交易日(yyyymmdd)
  19009. type: string
  19010. goodscode:
  19011. description: 商品代码
  19012. type: string
  19013. goodsid:
  19014. description: 商品ID
  19015. type: integer
  19016. goodsname:
  19017. description: 商品名称
  19018. type: string
  19019. marketid:
  19020. description: 市场ID
  19021. type: integer
  19022. qty:
  19023. description: 期初均价
  19024. type: number
  19025. tradeid:
  19026. description: 成交单号(关联持仓)
  19027. type: string
  19028. transferamount:
  19029. description: 转让总金额(金额)
  19030. type: number
  19031. transferprice:
  19032. description: 转让价格(协议价格)
  19033. type: number
  19034. type: object
  19035. models.TradeHolderDetail:
  19036. properties:
  19037. accountid:
  19038. description: 账号ID
  19039. type: integer
  19040. agreeunit:
  19041. description: 合约乘数
  19042. type: number
  19043. buyorsell:
  19044. description: 方向 - 0:买 1:卖
  19045. type: integer
  19046. currencyid:
  19047. description: 商品币种id
  19048. type: integer
  19049. currencyname:
  19050. description: 币种名称
  19051. type: string
  19052. decimalplace:
  19053. description: 商品价格小数位
  19054. type: integer
  19055. enumdicname:
  19056. description: 商品单位名称
  19057. type: string
  19058. expirecycle:
  19059. description: 行权周期(天) - 1:滚动行权时填写
  19060. type: integer
  19061. expiredate:
  19062. description: 行权日(yyyyMMdd) - 到期日
  19063. type: string
  19064. expiretype:
  19065. description: 行权日类型 - 1:滚动行权 2:固定日行权
  19066. type: integer
  19067. freezeqty:
  19068. description: 期初均价
  19069. type: number
  19070. goodscode:
  19071. description: 商品代码
  19072. type: string
  19073. goodsid:
  19074. description: 商品ID
  19075. type: integer
  19076. goodsname:
  19077. description: 商品名称
  19078. type: string
  19079. goodunitid:
  19080. description: 商品单位id
  19081. type: integer
  19082. holderamount:
  19083. description: 持仓金额
  19084. type: number
  19085. holdercredit:
  19086. description: 持仓授信金额
  19087. type: number
  19088. holderdays:
  19089. description: 剩余冻结天数
  19090. type: integer
  19091. holderprice:
  19092. description: 持仓价格
  19093. type: number
  19094. holderqty:
  19095. description: 期初均价
  19096. type: number
  19097. isconfirmexercise:
  19098. description: 是否确认行权- 0:否 1:是
  19099. type: integer
  19100. ispreexercise:
  19101. description: 是否预申报- 0:否 1:是 2:不可行权
  19102. type: integer
  19103. marketid:
  19104. description: 市场id
  19105. type: integer
  19106. marketname:
  19107. description: 市场名称
  19108. type: string
  19109. openprice:
  19110. description: 建仓价格
  19111. type: number
  19112. openqty:
  19113. description: 期初均价
  19114. type: number
  19115. optiontype:
  19116. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  19117. type: integer
  19118. preexerciseprice:
  19119. description: 预申报价格
  19120. type: number
  19121. premium:
  19122. description: 权利金
  19123. type: number
  19124. qtydecimalplace:
  19125. description: 商品成交量小数位
  19126. type: integer
  19127. refgoodscode:
  19128. description: 标的合约代码
  19129. type: string
  19130. refgoodsid:
  19131. description: 标的合约id
  19132. type: integer
  19133. releaseamount:
  19134. description: 释放持仓金额
  19135. type: number
  19136. releaseholdercredit:
  19137. description: 释放持仓授信金额
  19138. type: number
  19139. taname:
  19140. description: 资金账号名称
  19141. type: string
  19142. tradeamount:
  19143. description: 成交金额
  19144. type: number
  19145. tradedate:
  19146. description: 交易日(yyyyMMdd)
  19147. type: string
  19148. tradeid:
  19149. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  19150. type: string
  19151. trademode:
  19152. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  19153. 21:竞拍-大宗式 22:受托竞价 46:掉期
  19154. type: integer
  19155. tradeproperty:
  19156. description: 交易属性
  19157. type: integer
  19158. tradetime:
  19159. description: 交易时间
  19160. type: string
  19161. userid:
  19162. description: 用户id
  19163. type: integer
  19164. username:
  19165. description: 用户名称
  19166. type: string
  19167. type: object
  19168. models.Unlinkermcphedgeplan:
  19169. properties:
  19170. accountid:
  19171. description: 期货账户ID - 作废
  19172. type: integer
  19173. accountname:
  19174. description: 交易用户
  19175. type: string
  19176. applyid:
  19177. description: 申请人
  19178. type: integer
  19179. applysrc:
  19180. description: 申请来源 - 1:管理端 2:终端
  19181. type: integer
  19182. applytime:
  19183. description: 申请时间
  19184. type: string
  19185. areauserid:
  19186. description: '[企业ID]机构ID'
  19187. type: integer
  19188. auditid:
  19189. description: 审核人
  19190. type: integer
  19191. auditremark:
  19192. description: 审核备注
  19193. type: string
  19194. auditsrc:
  19195. description: 审核来源 - 1:管理端 2:终端
  19196. type: integer
  19197. audittime:
  19198. description: 审核时间
  19199. type: string
  19200. audittradedate:
  19201. description: 审核交易日(yyyyMMdd)
  19202. type: string
  19203. biztype:
  19204. description: 业务类型 - 1:套保
  19205. type: integer
  19206. contracttype:
  19207. description: 计划类型 - 1:采购 -1:销售
  19208. type: integer
  19209. convertfactor:
  19210. description: 标仓系数 - 作废
  19211. type: number
  19212. createtime:
  19213. description: 创建时间
  19214. type: string
  19215. currencyid:
  19216. description: 结算币种ID - 作废
  19217. type: integer
  19218. deliverygoodsid:
  19219. description: 现货品种ID
  19220. type: integer
  19221. enumdicname:
  19222. description: 结算币种
  19223. type: string
  19224. hedgeplanid:
  19225. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  19226. type: string
  19227. hedgeplanno:
  19228. description: '[计划编号]套保计划编号,模糊查询'
  19229. type: string
  19230. hedgeplanstatus:
  19231. description: '[状态]套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回'
  19232. type: integer
  19233. isrelated:
  19234. description: 是否已关联计划项目 - 0:否 1:是
  19235. type: integer
  19236. planqty:
  19237. description: '[计划量]计划数量'
  19238. type: number
  19239. plantime:
  19240. description: 计划时间
  19241. type: string
  19242. producttype:
  19243. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  19244. type: integer
  19245. remark:
  19246. description: 备注
  19247. type: string
  19248. spotgoodsdesc:
  19249. description: 商品型号
  19250. type: string
  19251. tradedate:
  19252. description: 交易日(yyyyMMdd)
  19253. type: string
  19254. tradeuserid:
  19255. description: 交易用户ID
  19256. type: integer
  19257. updatetime:
  19258. description: 更新时间
  19259. type: string
  19260. wrstandardid:
  19261. description: 现货商品ID
  19262. type: integer
  19263. wrstandardname:
  19264. description: 现货商品,模糊查询
  19265. type: string
  19266. required:
  19267. - areauserid
  19268. type: object
  19269. models.UserCollectConfig:
  19270. properties:
  19271. accountstatus:
  19272. description: 账户状态 - 1:正常 2:停用 3:注销
  19273. type: integer
  19274. collectaccountname:
  19275. description: 收款人账户名称
  19276. type: string
  19277. collectaccountno:
  19278. description: 收款人账户
  19279. type: string
  19280. collectbankname:
  19281. description: 收款人开户行
  19282. type: string
  19283. collectbranchbankname:
  19284. description: 收款人开户支行
  19285. type: string
  19286. collectconfigid:
  19287. description: 收款账户配置ID(SEQ_USERCOLLECTCONFIG)
  19288. type: string
  19289. remark:
  19290. description: 备注
  19291. type: string
  19292. userid:
  19293. description: 收款人用户ID
  19294. type: integer
  19295. type: object
  19296. models.UserReceiveInfo:
  19297. properties:
  19298. address:
  19299. description: 提货人详细地址
  19300. type: string
  19301. autoid:
  19302. description: AutoID
  19303. type: integer
  19304. cardnum:
  19305. description: 证件号码(加密存储)
  19306. type: string
  19307. cardtypeid:
  19308. description: 证件类型
  19309. type: integer
  19310. cityid:
  19311. description: 市
  19312. type: integer
  19313. cityname:
  19314. description: 城市名称
  19315. type: string
  19316. countryid:
  19317. description: 国家
  19318. type: integer
  19319. countryname:
  19320. description: 国家名称
  19321. type: string
  19322. districtid:
  19323. description: 地区
  19324. type: integer
  19325. districtname:
  19326. description: 地区名称
  19327. type: string
  19328. hasencrypt:
  19329. description: 数据是否已加密 - 0:未加密 1:已加密
  19330. type: integer
  19331. isdefault:
  19332. description: 是否默认地址 - 0:否 1:是
  19333. type: integer
  19334. phonenum:
  19335. description: 提货人联系方式(加密存储)
  19336. type: string
  19337. provinceid:
  19338. description: 省
  19339. type: integer
  19340. provincename:
  19341. description: 省名称
  19342. type: string
  19343. receivername:
  19344. description: 提货人姓名
  19345. type: string
  19346. takeremark:
  19347. description: 提货备注
  19348. type: string
  19349. userid:
  19350. description: 用户ID
  19351. type: integer
  19352. type: object
  19353. models.Useraccount:
  19354. properties:
  19355. accountname:
  19356. description: 账户名称(机构名称)
  19357. type: string
  19358. accountstatus:
  19359. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  19360. type: integer
  19361. applysrc:
  19362. description: 申请来源 - 1:管理端 2:终端
  19363. type: integer
  19364. auditremark:
  19365. description: 审核备注
  19366. type: string
  19367. auditsrc:
  19368. description: 审核来源 - 1:管理端 2:终端
  19369. type: integer
  19370. audittime:
  19371. description: 审核时间
  19372. type: string
  19373. audituserid:
  19374. description: 审核人
  19375. type: integer
  19376. broker:
  19377. description: 所属经纪人ID
  19378. type: integer
  19379. canceltime:
  19380. description: 销户时间
  19381. type: string
  19382. canceluserid:
  19383. description: 销户人
  19384. type: integer
  19385. canrecommend:
  19386. description: 是否可推荐 - 0:不可 1;可
  19387. type: integer
  19388. createtime:
  19389. description: 创建时间
  19390. type: string
  19391. creatorid:
  19392. description: 创建人
  19393. type: integer
  19394. curscore:
  19395. description: 积分
  19396. type: integer
  19397. hasauth:
  19398. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  19399. type: integer
  19400. isanonymous:
  19401. description: 是否匿名下单 - 0:否 1:是
  19402. type: integer
  19403. issigned:
  19404. description: 今日是否已签到
  19405. type: boolean
  19406. maxinvestornum:
  19407. description: 最大用户数(经纪会员下投资者个数)
  19408. type: integer
  19409. memberuserid:
  19410. description: 所属会员ID
  19411. type: integer
  19412. modifierid:
  19413. description: 修改人
  19414. type: integer
  19415. modifyremark:
  19416. description: 变更备注
  19417. type: string
  19418. modifystatus:
  19419. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  19420. type: integer
  19421. modifytime:
  19422. description: 修改时间
  19423. type: string
  19424. parenttopuser:
  19425. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  19426. type: string
  19427. parentuserid:
  19428. description: 所属机构ID
  19429. type: integer
  19430. reckonaccountid:
  19431. description: 默认结算资金账号ID(机构分润使用) 作废
  19432. type: integer
  19433. refercount:
  19434. description: 推荐总人数
  19435. type: integer
  19436. refereeuserid:
  19437. description: 推荐人ID
  19438. type: integer
  19439. refernum:
  19440. description: 推荐码
  19441. type: string
  19442. rootuserid:
  19443. description: 根用户ID
  19444. type: integer
  19445. subaccountlevel:
  19446. description: 子账户层数
  19447. type: integer
  19448. subarealevelpath:
  19449. description: 子机构层级路径(逗号分隔,首尾加逗号)
  19450. type: string
  19451. todayrefercount:
  19452. description: 今日推荐人数
  19453. type: integer
  19454. userid:
  19455. description: 用户ID
  19456. type: integer
  19457. usertype:
  19458. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  19459. type: integer
  19460. required:
  19461. - userid
  19462. type: object
  19463. models.Userfavoritegoods:
  19464. properties:
  19465. goodsid:
  19466. description: 商品ID
  19467. type: integer
  19468. required:
  19469. - goodsid
  19470. type: object
  19471. models.Userinfo:
  19472. properties:
  19473. address:
  19474. description: 地址
  19475. type: string
  19476. attachment1:
  19477. description: 附件1
  19478. type: string
  19479. attachment2:
  19480. description: 附件2
  19481. type: string
  19482. bankaccount:
  19483. description: 银行帐号 (加密存储)
  19484. type: string
  19485. bankaccountname:
  19486. description: 收款人名称
  19487. type: string
  19488. bankcardfrontphotourl:
  19489. description: 银行卡正面照地址
  19490. type: string
  19491. bankid:
  19492. description: 银行编码
  19493. type: string
  19494. bankname:
  19495. description: 银行名称
  19496. type: string
  19497. biznature:
  19498. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  19499. type: integer
  19500. bizscope:
  19501. description: 企业经营范围(企业)
  19502. type: string
  19503. cardbackphotourl:
  19504. description: 证件背面图片地址
  19505. type: string
  19506. cardfrontphotourl:
  19507. description: 证件正面图片地址
  19508. type: string
  19509. cardnum:
  19510. description: 证件号码(加密存储)
  19511. type: string
  19512. cardtypeid:
  19513. description: 证件类型ID
  19514. type: integer
  19515. cityid:
  19516. description: 市
  19517. type: integer
  19518. company:
  19519. description: 公司(个人)
  19520. type: string
  19521. contactname:
  19522. description: 联系人
  19523. type: string
  19524. countryid:
  19525. description: 国家
  19526. type: integer
  19527. createtime:
  19528. description: 创建时间
  19529. type: string
  19530. creatorid:
  19531. description: 创建人
  19532. type: integer
  19533. customername:
  19534. description: 客户名称(企业名称)
  19535. type: string
  19536. districtid:
  19537. description: 地区
  19538. type: integer
  19539. email:
  19540. description: 邮件(加密存储)
  19541. type: string
  19542. fax:
  19543. description: 传真(加密存储)
  19544. type: string
  19545. halfbodyphotourl:
  19546. description: 半身照地址
  19547. type: string
  19548. hasencrypt:
  19549. description: 数据是否已加密 - 0:未加密 1:已加密
  19550. type: integer
  19551. headurl:
  19552. description: 头像地址
  19553. type: string
  19554. legalcardbackphotourl:
  19555. description: 法人身份证背面照地址
  19556. type: string
  19557. legalcardfrontphotourl:
  19558. description: 法人身份证正面照地址
  19559. type: string
  19560. legalpersonname:
  19561. description: 法人姓名(企业)
  19562. type: string
  19563. mobile:
  19564. description: 手机号码(加密存储)
  19565. type: string
  19566. mobile2:
  19567. description: 手机号码[明文-尚志]
  19568. type: string
  19569. modifierid:
  19570. description: 修改人
  19571. type: integer
  19572. modifiertime:
  19573. description: 修改时间
  19574. type: string
  19575. needinvoice:
  19576. description: 是否需要发票 - 0:不需要 1:需要
  19577. type: integer
  19578. nickname:
  19579. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  19580. type: string
  19581. openmode:
  19582. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  19583. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  19584. type: integer
  19585. otherurl:
  19586. description: 其它图片地址[使用分号分隔]
  19587. type: string
  19588. postalcode:
  19589. description: 邮政编码
  19590. type: string
  19591. provinceid:
  19592. description: 省
  19593. type: integer
  19594. qq:
  19595. description: QQ(加密存储
  19596. type: string
  19597. remark:
  19598. description: 备注
  19599. type: string
  19600. sex:
  19601. description: '用户性别 0: 女 1: 男'
  19602. type: integer
  19603. signpdfurl:
  19604. description: 签约pdf文件
  19605. type: string
  19606. telphone:
  19607. description: 联系电话(加密存储)
  19608. type: string
  19609. userid:
  19610. description: 用户ID
  19611. type: integer
  19612. userinfotype:
  19613. description: 用户信息类型 - 1:个人 2:企业
  19614. type: integer
  19615. userstatus:
  19616. description: 用户状态 - 1:正常 2:注销
  19617. type: integer
  19618. usertype:
  19619. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  19620. type: integer
  19621. wechat:
  19622. description: 微信(加密存储)
  19623. type: string
  19624. wskhinfo:
  19625. description: 开户申请信息(JSON)
  19626. type: string
  19627. required:
  19628. - userid
  19629. type: object
  19630. models.WRPositionReport:
  19631. properties:
  19632. accountid:
  19633. description: 帐户ID
  19634. type: integer
  19635. brandid:
  19636. description: 品牌ID(1交割品种升贴水参数表 AutoID) - 作废
  19637. type: integer
  19638. buylistinglot:
  19639. description: 买挂牌宗数
  19640. type: integer
  19641. buytradeamount:
  19642. description: 购买金额
  19643. type: number
  19644. buytradelot:
  19645. description: 购买宗数
  19646. type: integer
  19647. buytradeqty:
  19648. description: 购买数量
  19649. type: number
  19650. creditcurqty:
  19651. description: 授信当前数量
  19652. type: integer
  19653. creditfreezeqty:
  19654. description: 授信冻结数量
  19655. type: integer
  19656. credittotalqty:
  19657. description: 授信总数量
  19658. type: integer
  19659. credittradeqty:
  19660. description: 授信成交数量
  19661. type: integer
  19662. decreaseqty:
  19663. description: 今日减少数量
  19664. type: integer
  19665. deliverygoodsid:
  19666. description: 交割商品ID
  19667. type: integer
  19668. deliverymonthid:
  19669. description: 月份ID(1交割品种升贴水参数表 AutoID) - 作废
  19670. type: integer
  19671. freezeqty:
  19672. description: 总冻结数量
  19673. type: integer
  19674. increaseqty:
  19675. description: 今日增加数量
  19676. type: integer
  19677. marketvalue:
  19678. description: 市值
  19679. type: number
  19680. pickupqty:
  19681. description: 今日提货数量
  19682. type: integer
  19683. qualityid:
  19684. description: 品质ID(1交割品种升贴水参数表 AutoID) - 作废
  19685. type: integer
  19686. reckondate:
  19687. description: 日照时期(yyyyMMdd)
  19688. type: string
  19689. relatedqty:
  19690. description: 关联数量
  19691. type: integer
  19692. selllistingamount:
  19693. description: 卖挂牌金额
  19694. type: number
  19695. selllistinglot:
  19696. description: 卖挂牌宗数
  19697. type: integer
  19698. selllistingqty:
  19699. description: 卖挂牌数量
  19700. type: number
  19701. selltradeamount:
  19702. description: 销售金额
  19703. type: number
  19704. selltradelot:
  19705. description: 销售宗数
  19706. type: integer
  19707. selltradeqty:
  19708. description: 销售数量
  19709. type: number
  19710. specid:
  19711. description: 规格ID(1交割品种升贴水参数表 AutoID) - 作废
  19712. type: integer
  19713. totalprice:
  19714. description: 销售金额(¥)
  19715. type: number
  19716. totalqty:
  19717. description: 总数量
  19718. type: integer
  19719. totalweight:
  19720. description: 销售重量(ct)
  19721. type: number
  19722. tradewrqty:
  19723. description: 订单仓单头寸总数量
  19724. type: integer
  19725. transfertradewrqty:
  19726. description: 今日转订单数量
  19727. type: integer
  19728. warehouseid:
  19729. description: 仓库ID(1交割品种升贴水参数表 AutoID) - 作废
  19730. type: integer
  19731. wrfactortypeid:
  19732. description: 仓单要素类型ID
  19733. type: integer
  19734. wrpositionid:
  19735. description: 仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)
  19736. type: integer
  19737. wrstandardcode:
  19738. description: 现货商品代码
  19739. type: string
  19740. wrstandardid:
  19741. description: 现货商品ID
  19742. type: integer
  19743. wruserid:
  19744. description: 持有人ID
  19745. type: integer
  19746. zscategory:
  19747. description: 商品分类
  19748. type: integer
  19749. zscategorydisplay:
  19750. type: string
  19751. zscurrencytype:
  19752. description: 商品币种
  19753. type: integer
  19754. zscurrencytypedisplay:
  19755. type: string
  19756. zscurrencytypedisplayunit:
  19757. type: string
  19758. type: object
  19759. models.WRSConverTDetail:
  19760. properties:
  19761. convertratio:
  19762. description: 套保系数
  19763. type: number
  19764. deliverygoodscode:
  19765. description: 现货商品代码
  19766. type: string
  19767. deliverygoodsid:
  19768. description: 现货品种ID
  19769. type: integer
  19770. deliverygoodsname:
  19771. description: 现货商品名称
  19772. type: string
  19773. enumdicname:
  19774. description: 单位名称
  19775. type: string
  19776. goodsunitid:
  19777. description: 套保品种单位id
  19778. type: integer
  19779. middlegoodscode:
  19780. description: 套保品种代码
  19781. type: string
  19782. middlegoodsid:
  19783. description: 套保品种ID
  19784. type: integer
  19785. middlegoodsname:
  19786. description: 套保品种名称
  19787. type: string
  19788. modifytime:
  19789. description: 修改时间
  19790. type: string
  19791. wrstandardid:
  19792. description: 品类ID
  19793. type: integer
  19794. type: object
  19795. models.WRStandardInfo:
  19796. properties:
  19797. areauserid:
  19798. description: 所属机构
  19799. type: integer
  19800. convertfactor:
  19801. description: 标仓系数
  19802. type: number
  19803. createtime:
  19804. description: 创建时间
  19805. type: string
  19806. creatorid:
  19807. description: 创建人
  19808. type: integer
  19809. deliverygoodsid:
  19810. description: 品种ID
  19811. type: integer
  19812. deliverygoodsname:
  19813. description: 交割商品名称
  19814. type: string
  19815. factoryitemjson:
  19816. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  19817. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  19818. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  19819. 逗号分隔'
  19820. type: string
  19821. isvalid:
  19822. description: 是否有效 - 0:无效 1:有效
  19823. type: integer
  19824. minivalue:
  19825. description: 最小变动值
  19826. type: integer
  19827. minivaluedp:
  19828. description: 最小变动值小数位
  19829. type: integer
  19830. realminivalue:
  19831. description: 实际最小变动值
  19832. type: integer
  19833. realminivaluedp:
  19834. description: 实际最小变动值小数位
  19835. type: integer
  19836. remark:
  19837. description: 备注
  19838. type: string
  19839. unitid:
  19840. description: 单位ID
  19841. type: integer
  19842. unitname:
  19843. description: 单位
  19844. type: string
  19845. updatetime:
  19846. description: 更新时间
  19847. type: string
  19848. updatorid:
  19849. description: 更新人
  19850. type: integer
  19851. wrsstatus:
  19852. description: 状态 - 作废 - 0:未激活 1:正常
  19853. type: integer
  19854. wrstandardcode:
  19855. description: 现货品类代码
  19856. type: string
  19857. wrstandardid:
  19858. description: 现货品类ID(SEQ_WRSTANDARD)
  19859. type: integer
  19860. wrstandardname:
  19861. description: 现货品类名称
  19862. type: string
  19863. required:
  19864. - wrstandardid
  19865. type: object
  19866. models.WRTradeBargainApply:
  19867. properties:
  19868. accountid:
  19869. description: 摘牌资金账号
  19870. type: integer
  19871. applyprice:
  19872. description: 申请价格(议价价格)
  19873. type: string
  19874. applyqty:
  19875. description: 摘牌数量(议价数量)
  19876. type: number
  19877. applyremark:
  19878. description: 申请备注
  19879. type: string
  19880. applystatus:
  19881. description: 申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  19882. type: integer
  19883. applytime:
  19884. description: 申请时间(议价时间)
  19885. type: string
  19886. begindate:
  19887. description: 开始交易日(yyyymmdd)
  19888. type: string
  19889. buyorsell:
  19890. description: 买卖(挂牌类型) - 0:买 1:卖
  19891. type: integer
  19892. confirmremark:
  19893. description: 确认备注
  19894. type: string
  19895. confirmtime:
  19896. description: 确认时间
  19897. type: string
  19898. confirmuserid:
  19899. description: 确认人
  19900. type: integer
  19901. deliverygoodscode:
  19902. description: 品种代码
  19903. type: string
  19904. deliverygoodsid:
  19905. description: 品种ID
  19906. type: integer
  19907. deliverygoodsname:
  19908. description: 品种名称
  19909. type: string
  19910. deliverymonth:
  19911. description: 交收月
  19912. type: string
  19913. enddate:
  19914. description: 结束交易日(yyyymmdd)
  19915. type: string
  19916. enumdicname:
  19917. description: 单位名称
  19918. type: string
  19919. fixedprice:
  19920. description: 期初均价
  19921. type: number
  19922. handlestatus:
  19923. description: 处理状态
  19924. type: integer
  19925. marginvalue:
  19926. description: 期初均价
  19927. type: number
  19928. marketid:
  19929. description: 市场ID
  19930. type: integer
  19931. matchaccountid:
  19932. description: 挂牌方资金账号
  19933. type: integer
  19934. matchuserid:
  19935. description: 挂牌方用户id
  19936. type: integer
  19937. matchusername:
  19938. description: 挂牌方用户名称(已脱敏)
  19939. type: string
  19940. minivalue:
  19941. description: 现货商品最小变动值
  19942. type: integer
  19943. optioncompare:
  19944. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  19945. type: string
  19946. orderqty:
  19947. description: 挂牌数量
  19948. type: integer
  19949. refprice:
  19950. description: 参考价格
  19951. type: string
  19952. retcode:
  19953. description: 委托返回代码
  19954. type: integer
  19955. templatename:
  19956. description: 履约方式(履约模板名称)
  19957. type: string
  19958. tradedate:
  19959. description: 交易日(yyyyMMdd)
  19960. type: string
  19961. userid:
  19962. description: 摘牌人用户ID(议价人ID)
  19963. type: integer
  19964. username:
  19965. description: 议价人名字(已脱敏)
  19966. type: string
  19967. validtime:
  19968. description: 有效期限
  19969. type: string
  19970. warehouseid:
  19971. description: 仓库ID
  19972. type: integer
  19973. warehousename:
  19974. description: 仓库名称
  19975. type: string
  19976. wrbargainid:
  19977. description: 议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)
  19978. type: string
  19979. wrfactortypeid:
  19980. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  19981. type: string
  19982. wrfactortypename:
  19983. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  19984. type: string
  19985. wrstandardcode:
  19986. description: 现货商品代码
  19987. type: string
  19988. wrstandardid:
  19989. description: 现货商品ID
  19990. type: integer
  19991. wrstandardname:
  19992. description: 商品名称
  19993. type: string
  19994. wrtradeorderid:
  19995. description: 关联委托单ID
  19996. type: string
  19997. wrtypename:
  19998. description: 商品
  19999. type: string
  20000. type: object
  20001. models.Warehouseinfo:
  20002. properties:
  20003. address:
  20004. description: 详细地址
  20005. type: string
  20006. areauserid:
  20007. description: 所属机构
  20008. type: integer
  20009. autoid:
  20010. description: 自增ID
  20011. type: integer
  20012. cityid:
  20013. description: 市
  20014. type: integer
  20015. contactname:
  20016. description: 联系人
  20017. type: string
  20018. contactnum:
  20019. description: 联系电话
  20020. type: string
  20021. countryid:
  20022. description: 国家
  20023. type: integer
  20024. createtime:
  20025. description: 创建时间
  20026. type: string
  20027. districtid:
  20028. description: 区
  20029. type: integer
  20030. hasvideo:
  20031. description: 是否有视频 - 0:无 1:有
  20032. type: integer
  20033. provinceid:
  20034. description: 省
  20035. type: integer
  20036. remark:
  20037. description: 审核备注
  20038. type: string
  20039. videourl:
  20040. description: 视频地址
  20041. type: string
  20042. warehousecode:
  20043. description: 仓库代码
  20044. type: string
  20045. warehousename:
  20046. description: 仓库名称
  20047. type: string
  20048. warehousestatus:
  20049. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  20050. type: integer
  20051. warehousetype:
  20052. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  20053. type: integer
  20054. required:
  20055. - autoid
  20056. - warehousecode
  20057. type: object
  20058. models.WrAverageTradePrice:
  20059. properties:
  20060. averageprice:
  20061. description: 期初均价
  20062. type: number
  20063. tradedate:
  20064. description: 交易日yyyymm
  20065. type: string
  20066. type: object
  20067. models.WrBrandAndYears:
  20068. properties:
  20069. brandlst:
  20070. description: 品牌列表
  20071. items:
  20072. $ref: '#/definitions/models.DgFactoryItem'
  20073. type: array
  20074. yearslst:
  20075. description: 年份列表
  20076. items:
  20077. $ref: '#/definitions/models.DgFactoryItem'
  20078. type: array
  20079. type: object
  20080. models.WrBsGoodsInfo:
  20081. properties:
  20082. buyorsell:
  20083. description: 买卖方向 0-买 1-卖
  20084. type: integer
  20085. goodsid:
  20086. description: 交易合约ID
  20087. type: integer
  20088. lstitem:
  20089. description: 商品信息项
  20090. items:
  20091. $ref: '#/definitions/models.WrTypeItem'
  20092. type: array
  20093. lststep:
  20094. description: 履约规则
  20095. items:
  20096. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  20097. type: array
  20098. type: object
  20099. models.WrBuybackDetail:
  20100. properties:
  20101. buybackamount:
  20102. description: 回购金额
  20103. type: number
  20104. buybackqty:
  20105. description: 回购数量
  20106. type: number
  20107. buybackreleasemargin:
  20108. description: 回购释放保证金
  20109. type: number
  20110. buybacktime:
  20111. description: 回购时间
  20112. type: string
  20113. errordesc:
  20114. description: 错误描述
  20115. type: string
  20116. handlestatus:
  20117. description: 处理 - 1:待处理 2:处理成功 3:处理失败
  20118. type: integer
  20119. relatedwrid:
  20120. description: 关联仓单ID
  20121. type: integer
  20122. scfcontractid:
  20123. description: SCF合同ID
  20124. type: string
  20125. scfwrbuybackid:
  20126. description: SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)
  20127. type: integer
  20128. tradedate:
  20129. description: 交易日(yyyyMMdd)
  20130. type: string
  20131. type: object
  20132. models.WrClientAdSpaceConfig:
  20133. properties:
  20134. adspaceid:
  20135. description: 广告位ID
  20136. type: integer
  20137. adspacename:
  20138. description: 广告位名称
  20139. type: string
  20140. adspacetype:
  20141. description: 广告位类型 - 1:固定广告位
  20142. type: integer
  20143. areauserid:
  20144. description: 所属机构ID
  20145. type: integer
  20146. createdate:
  20147. description: 创建时间
  20148. type: string
  20149. imagepath:
  20150. description: 图片
  20151. type: string
  20152. modifierid:
  20153. description: 操作人
  20154. type: integer
  20155. recsize:
  20156. description: 推荐尺寸
  20157. type: string
  20158. title:
  20159. description: 标题
  20160. type: string
  20161. updatedate:
  20162. description: 更新时间
  20163. type: string
  20164. urlcontent:
  20165. description: 链接(地址\商品ID\功能菜单Key\appid)
  20166. type: string
  20167. urltype:
  20168. description: 链接类型 - 0:无 1:直接地址 2:商品ID 3:图片详情 4:App功能 5:微信小程序
  20169. type: integer
  20170. type: object
  20171. models.WrDeliveryAvalidHoldLB:
  20172. properties:
  20173. accountid:
  20174. description: 资金账号
  20175. type: integer
  20176. avalidqty:
  20177. description: 数量(可点选数量)
  20178. type: number
  20179. deliverygoodsid:
  20180. description: 品种id
  20181. type: integer
  20182. enumdicname:
  20183. description: 单位名称
  20184. type: string
  20185. goodsid:
  20186. description: x合约商品id
  20187. type: integer
  20188. ladingbillid:
  20189. description: 提单id
  20190. type: string
  20191. pgoodscode:
  20192. description: p商品代码(点价合约)
  20193. type: string
  20194. pgoodsid:
  20195. description: p商品id(点价合约)
  20196. type: integer
  20197. pgoodsname:
  20198. description: p商品名称(点价合约)
  20199. type: string
  20200. pricemove:
  20201. description: 升贴水
  20202. type: number
  20203. subnum:
  20204. description: 提单子id
  20205. type: integer
  20206. userid:
  20207. description: 用户id
  20208. type: integer
  20209. username:
  20210. description: 仓单持有人
  20211. type: string
  20212. warehousecode:
  20213. description: 仓库代码
  20214. type: string
  20215. warehouseid:
  20216. description: 仓库id
  20217. type: integer
  20218. warehousename:
  20219. description: 仓库名称
  20220. type: string
  20221. wrfactortypeid:
  20222. description: 仓单要素id
  20223. type: string
  20224. wrstandardcode:
  20225. description: 品代码
  20226. type: string
  20227. wrstandardid:
  20228. description: 品类d
  20229. type: integer
  20230. wrstandardname:
  20231. description: 品类名称
  20232. type: string
  20233. wrtypename:
  20234. description: 商品
  20235. type: string
  20236. xgoodscode:
  20237. description: x合约代码
  20238. type: string
  20239. xgoodsname:
  20240. description: x合约名称
  20241. type: string
  20242. type: object
  20243. models.WrDeliveryDetail:
  20244. properties:
  20245. accountid:
  20246. description: 账号ID
  20247. type: integer
  20248. averageprice:
  20249. description: 期初均价
  20250. type: number
  20251. begindate:
  20252. description: 开始交易日(yyyymmdd)
  20253. type: string
  20254. buyorsell:
  20255. description: 方向 - 0:买 1:卖
  20256. type: integer
  20257. deliveryamount:
  20258. description: 货款金额(X总货款+P总货款)
  20259. type: number
  20260. deliveryid:
  20261. description: 交割单号(121+Unix秒时间戳(10位)+xxxxxx)
  20262. type: string
  20263. deliveryorderid:
  20264. description: 申报单号
  20265. type: string
  20266. deliverypricemove:
  20267. description: 升贴水(升贴水总额)
  20268. type: number
  20269. deliveryqty:
  20270. description: 交收数量(点选数量)
  20271. type: number
  20272. deliverystatus:
  20273. description: 状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成
  20274. type: integer
  20275. deliverytime:
  20276. description: 交割时间
  20277. type: string
  20278. deliverytotalamount:
  20279. description: 交收金额
  20280. type: number
  20281. enddate:
  20282. description: 结束交易日(yyyymmdd)
  20283. type: string
  20284. enumdicname:
  20285. description: 单位名称
  20286. type: string
  20287. matchaccountid:
  20288. description: 对手账号ID
  20289. type: integer
  20290. matchusername:
  20291. description: 对手方名称(仓单持有人)
  20292. type: string
  20293. p1goodsremainamount:
  20294. description: 点价货款 ps:当PPRICEMODE=2时, 界面需显示"-"
  20295. type: number
  20296. pdeliverycloseqty:
  20297. description: p合约平仓数量
  20298. type: number
  20299. pdeliveryprice:
  20300. description: 点价价格 ps:当PPRICEMODE=2时, 界面需显示"-"
  20301. type: number
  20302. pgoodscode:
  20303. description: 商品代码
  20304. type: string
  20305. pgoodsid:
  20306. description: p点选合约id
  20307. type: integer
  20308. pgoodsname:
  20309. description: 商品名称
  20310. type: string
  20311. ppricemode:
  20312. description: 点价价格方式 - 1:商品价 2:固定值
  20313. type: integer
  20314. tradedate:
  20315. description: 交易日(yyyymmdd)
  20316. type: string
  20317. userid:
  20318. description: 用户id
  20319. type: integer
  20320. username:
  20321. description: 用户名称
  20322. type: string
  20323. warehousename:
  20324. description: 仓库名称
  20325. type: string
  20326. wrfactortypeid:
  20327. description: 仓单要素类型ID
  20328. type: string
  20329. wrtypename:
  20330. description: 商品
  20331. type: string
  20332. xdeliverycloseqty:
  20333. description: 合约数量
  20334. type: number
  20335. xgoodsamount:
  20336. description: 期初均价
  20337. type: number
  20338. xgoodscode:
  20339. description: 商品代码
  20340. type: string
  20341. xgoodsid:
  20342. description: x交易合约ID
  20343. type: integer
  20344. xgoodsname:
  20345. description: 商品名称
  20346. type: string
  20347. type: object
  20348. models.WrDeliveryGoodsSection:
  20349. properties:
  20350. dglst:
  20351. description: 板块商品列表
  20352. items:
  20353. $ref: '#/definitions/models.WrDeliveryGoodsSectionConfig'
  20354. type: array
  20355. imagepath:
  20356. description: 图片地址
  20357. type: string
  20358. orderindex:
  20359. description: 排序
  20360. type: integer
  20361. sectionid:
  20362. description: 版块ID (SEQ_DELIVERYGOODSSECTION) - 自增100开始, 前面ID预留给SectionType
  20363. = 1的版块1 - 云融指数
  20364. type: integer
  20365. sectionname:
  20366. description: 版块名称
  20367. type: string
  20368. sectiontype:
  20369. description: 版块类型 - 1:指数版块 2:普通版块
  20370. type: integer
  20371. type: object
  20372. models.WrDeliveryGoodsSectionConfig:
  20373. properties:
  20374. deliverygoodscode:
  20375. description: 现货商品代码
  20376. type: string
  20377. deliverygoodsid:
  20378. description: 现货品种ID(SEQ_DELIVERYGOODS)
  20379. type: integer
  20380. deliverygoodsname:
  20381. description: 现货商品名称
  20382. type: string
  20383. orderindex:
  20384. description: 排序
  20385. type: integer
  20386. type: object
  20387. models.WrDraftUserInfo:
  20388. properties:
  20389. address:
  20390. description: 地址
  20391. type: string
  20392. attachment1:
  20393. description: 附件1
  20394. type: string
  20395. attachment2:
  20396. description: 附件2
  20397. type: string
  20398. attachment3:
  20399. description: 附件3
  20400. type: string
  20401. attachment4:
  20402. description: 附件4
  20403. type: string
  20404. attachment5:
  20405. description: 附件5
  20406. type: string
  20407. bankaccount:
  20408. description: 银行帐号 (加密存储)
  20409. type: string
  20410. bankaccountname:
  20411. description: 收款人名称
  20412. type: string
  20413. bankcardfrontphotourl:
  20414. description: 银行卡正面照地址
  20415. type: string
  20416. bankid:
  20417. description: 银行编码
  20418. type: string
  20419. bankname:
  20420. description: 银行名称
  20421. type: string
  20422. birthday:
  20423. description: 生日(个人:年月日)
  20424. type: string
  20425. biznature:
  20426. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  20427. type: integer
  20428. bizscope:
  20429. description: 企业经营范围(企业)
  20430. type: string
  20431. biztype:
  20432. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  20433. type: integer
  20434. cardbackphotourl:
  20435. description: 证件背面图片地址
  20436. type: string
  20437. cardfrontphotourl:
  20438. description: 证件正面图片地址
  20439. type: string
  20440. cardnum:
  20441. description: 证件号码(加密存储)
  20442. type: string
  20443. cardtypeid:
  20444. description: 证件类型ID
  20445. type: integer
  20446. cityid:
  20447. description: 市
  20448. type: integer
  20449. company:
  20450. description: 公司(个人)
  20451. type: string
  20452. contactcardbackphotourl:
  20453. description: 联系人证件背面图片地址
  20454. type: string
  20455. contactcardfrontphotourl:
  20456. description: 联系人证件正面图片地址
  20457. type: string
  20458. contactname:
  20459. description: 联系人
  20460. type: string
  20461. countryid:
  20462. description: 国家
  20463. type: integer
  20464. createtime:
  20465. description: 创建时间
  20466. type: string
  20467. creatorid:
  20468. description: 创建人
  20469. type: integer
  20470. creditquota:
  20471. description: 授信额度(金瑞)
  20472. type: number
  20473. customername:
  20474. description: 客户名称(企业名称)
  20475. type: string
  20476. districtid:
  20477. description: 地区
  20478. type: integer
  20479. email:
  20480. description: 邮件(加密存储)
  20481. type: string
  20482. fax:
  20483. description: 传真(加密存储)
  20484. type: string
  20485. halfbodyphotourl:
  20486. description: 半身照地址
  20487. type: string
  20488. hasencrypt:
  20489. description: 数据是否已加密 - 0:未加密 1:已加密
  20490. type: integer
  20491. headurl:
  20492. description: 头像地址
  20493. type: string
  20494. legalcardbackphotourl:
  20495. description: 法人身份证背面照地址
  20496. type: string
  20497. legalcardfrontphotourl:
  20498. description: 法人身份证正面照地址
  20499. type: string
  20500. legalpersonname:
  20501. description: 法人姓名(企业)
  20502. type: string
  20503. mobile:
  20504. description: 手机号码(加密存储)
  20505. type: string
  20506. mobile2:
  20507. description: 手机号码[明文-尚志]
  20508. type: string
  20509. modifierid:
  20510. description: 修改人
  20511. type: integer
  20512. modifiertime:
  20513. description: 修改时间
  20514. type: string
  20515. needinvoice:
  20516. description: 是否需要发票 - 0:不需要 1:需要
  20517. type: integer
  20518. nickname:
  20519. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  20520. type: string
  20521. openmode:
  20522. description: "开户方式 - 1:管理端开户 2\t:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  20523. 6:苹果手机端注册 7:PC交易端注册"
  20524. type: integer
  20525. otherurl:
  20526. description: 其它图片地址[使用分号分隔]
  20527. type: string
  20528. postalcode:
  20529. description: 邮政编码
  20530. type: string
  20531. provinceid:
  20532. description: 省
  20533. type: integer
  20534. proxystatementurl:
  20535. description: 授权委托书
  20536. type: string
  20537. qq:
  20538. description: QQ(加密存储
  20539. type: string
  20540. remark:
  20541. description: 备注
  20542. type: string
  20543. sex:
  20544. description: '用户性别 0: 女 1: 男'
  20545. type: integer
  20546. signpdfurl:
  20547. description: 签约pdf文件
  20548. type: string
  20549. taxpayernum:
  20550. description: 纳税人识别号
  20551. type: string
  20552. telphone:
  20553. description: 联系电话(加密存储)
  20554. type: string
  20555. userid:
  20556. description: 用户ID
  20557. type: integer
  20558. userinfotype:
  20559. description: 用户信息类型 - 1:个人 2:企业
  20560. type: integer
  20561. userstatus:
  20562. description: 用户状态 - 1:正常 2:注销
  20563. type: integer
  20564. usertype:
  20565. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者
  20566. type: integer
  20567. wechat:
  20568. description: 微信(加密存储)
  20569. type: string
  20570. wskhinfo:
  20571. description: 开户申请信息(JSON)
  20572. type: string
  20573. type: object
  20574. models.WrFAProductDetail:
  20575. properties:
  20576. accountid:
  20577. description: 资金账号
  20578. type: integer
  20579. areauserid:
  20580. description: 金融机构ID
  20581. type: integer
  20582. financingdays:
  20583. description: 天数(天)
  20584. type: integer
  20585. interestminlen:
  20586. description: 最小起息天数
  20587. type: integer
  20588. interestrate:
  20589. description: 利率
  20590. type: number
  20591. interestratemode:
  20592. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  20593. type: integer
  20594. interestsettlemode:
  20595. description: 结息方式 - 1:按日结息 3:按月结息
  20596. type: integer
  20597. interestsettlevalue:
  20598. description: 结息方式值
  20599. type: integer
  20600. isautoloan:
  20601. description: 是否自动放款 0-手动 1-自动 (当为自动放款时,显示"放款快")
  20602. type: integer
  20603. loantag:
  20604. description: '放款标识: "放款快" 或者为空'
  20605. type: string
  20606. marginratio:
  20607. description: 保证金比率质押率 - [仓单质押]
  20608. type: number
  20609. productdetailid:
  20610. description: 产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)
  20611. type: integer
  20612. productid:
  20613. description: 金融产品ID
  20614. type: integer
  20615. productname:
  20616. description: 产品名称
  20617. type: string
  20618. updatetime:
  20619. description: 更新时间
  20620. type: string
  20621. username:
  20622. description: 融出方
  20623. type: string
  20624. type: object
  20625. models.WrFactorTypeInfo:
  20626. properties:
  20627. deliverygoodscode:
  20628. description: 品种代码
  20629. type: string
  20630. deliverygoodsname:
  20631. description: 品种名称
  20632. type: string
  20633. dgfactoryitemid:
  20634. description: 选择项id
  20635. type: integer
  20636. dgfactoryitemtypeid:
  20637. description: 要素选择项ID (1-仓库 2-品牌)
  20638. type: integer
  20639. dgfactoryitemvalue:
  20640. description: 要素项值
  20641. type: string
  20642. itemtypename:
  20643. description: 要素项名称
  20644. type: string
  20645. optioncompare:
  20646. description: 选择比较串
  20647. type: string
  20648. warehouseid:
  20649. description: 仓库id
  20650. type: integer
  20651. wrfactortypeid:
  20652. description: 仓单要素ID
  20653. type: string
  20654. wrfactortypename:
  20655. description: 要素名称
  20656. type: string
  20657. wrfactortypename2:
  20658. description: 要素名称(不含仓库)
  20659. type: string
  20660. wrstandardcode:
  20661. description: 品类代码
  20662. type: string
  20663. wrstandardid:
  20664. description: 品类id
  20665. type: integer
  20666. wrstandardname:
  20667. description: 品类名称
  20668. type: string
  20669. type: object
  20670. models.WrFilterItem:
  20671. properties:
  20672. itemcode:
  20673. description: 代码
  20674. type: string
  20675. itemid:
  20676. description: 项id
  20677. type: integer
  20678. itemname:
  20679. description: 名称
  20680. type: string
  20681. itemtype:
  20682. description: 类型 1-品种 2-品类(商品) 3-仓库
  20683. type: integer
  20684. type: object
  20685. models.WrFinanceBuyApply:
  20686. properties:
  20687. applydate:
  20688. description: 申请时间
  20689. type: string
  20690. applystatus:
  20691. description: 申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败
  20692. type: integer
  20693. applyuserid:
  20694. description: 申请人
  20695. type: integer
  20696. auditdate:
  20697. description: 审核时间
  20698. type: string
  20699. auditremark:
  20700. description: 审核备注
  20701. type: string
  20702. audituserid:
  20703. description: 审核人
  20704. type: integer
  20705. buyaccountid:
  20706. description: 买方资金账号
  20707. type: integer
  20708. buyorsell:
  20709. description: 买卖 - 0:买 1:卖
  20710. type: integer
  20711. buyuserid:
  20712. description: 买方用户ID
  20713. type: integer
  20714. buyusername:
  20715. description: 买方名称
  20716. type: string
  20717. buywrtradeorderid:
  20718. description: 融资方买委托单ID
  20719. type: string
  20720. deliverygoodscode:
  20721. description: 品种代码
  20722. type: string
  20723. deliverygoodsid:
  20724. description: 品种ID
  20725. type: integer
  20726. deliverygoodsname:
  20727. description: 品种名称
  20728. type: string
  20729. deliverymonth:
  20730. description: 交收月(yyyy-MM) [无仓单HasWR =0]
  20731. type: string
  20732. enumdicname:
  20733. description: 单位名称
  20734. type: string
  20735. financeaccountid:
  20736. description: 融资方资金帐户ID
  20737. type: integer
  20738. financeapplyid:
  20739. description: 融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)
  20740. type: string
  20741. financeareauserid:
  20742. description: 融资方用户ID
  20743. type: string
  20744. financename:
  20745. description: 融出方名称
  20746. type: string
  20747. financetype:
  20748. description: 融资类型 1-融资回购
  20749. type: integer
  20750. financingdays:
  20751. description: 天数(天)
  20752. type: integer
  20753. freezebuymargin:
  20754. description: 冻结融资保证金(买方)
  20755. type: number
  20756. handleremark:
  20757. description: 处理备注
  20758. type: string
  20759. handlestatus:
  20760. description: 处理状态
  20761. type: integer
  20762. interestminlen:
  20763. description: 最小起息天数
  20764. type: integer
  20765. interestrate:
  20766. description: 利率
  20767. type: number
  20768. interestratemode:
  20769. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  20770. type: integer
  20771. interestsettlemode:
  20772. description: 结息方式 - 1:按日结息 3:按月结息
  20773. type: integer
  20774. interestsettlevalue:
  20775. description: 结息方式值
  20776. type: integer
  20777. isautoloan:
  20778. description: 是否自动放款 - 0:手动 1:自动
  20779. type: integer
  20780. marginratio:
  20781. description: 保证金比率质押率 - [仓单质押]
  20782. type: number
  20783. marketid:
  20784. description: 市场ID
  20785. type: integer
  20786. minivalue:
  20787. description: 现货商品最小变动值
  20788. type: integer
  20789. optioncompare:
  20790. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  20791. type: string
  20792. orderqty:
  20793. description: 委托数量(商品数量)
  20794. type: number
  20795. productdetailid:
  20796. description: 产品组合ID
  20797. type: integer
  20798. productid:
  20799. description: 金融产品ID
  20800. type: integer
  20801. productname:
  20802. description: 产品名称
  20803. type: string
  20804. remark:
  20805. description: 备注
  20806. type: string
  20807. scfcontractid:
  20808. description: 仓单回购合同ID
  20809. type: string
  20810. sellaccountid:
  20811. description: 卖方资金账号
  20812. type: integer
  20813. selluserid:
  20814. description: 卖方用户ID
  20815. type: integer
  20816. sellwrtradeorderid:
  20817. description: 卖方委托单ID
  20818. type: string
  20819. tradeamount:
  20820. description: 成交金额(借款金额)
  20821. type: number
  20822. tradedate:
  20823. description: 交易日(yyyyMMdd)
  20824. type: string
  20825. tradeprice:
  20826. description: 成交价格
  20827. type: number
  20828. warehouseid:
  20829. description: 仓库ID
  20830. type: integer
  20831. warehousename:
  20832. description: 仓库名称
  20833. type: string
  20834. wrfactortypeid:
  20835. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  20836. type: string
  20837. wrfactortypename:
  20838. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  20839. type: string
  20840. wrpricetype:
  20841. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌单]
  20842. type: integer
  20843. wrstandardcode:
  20844. description: 现货商品代码
  20845. type: string
  20846. wrstandardid:
  20847. description: 现货商品ID
  20848. type: integer
  20849. wrstandardname:
  20850. description: 商品名称
  20851. type: string
  20852. wrtypename:
  20853. description: 商品
  20854. type: string
  20855. type: object
  20856. models.WrFriendApply:
  20857. properties:
  20858. applicantid:
  20859. description: 申请人
  20860. type: integer
  20861. applyname:
  20862. description: 申请人名称
  20863. type: string
  20864. applysrc:
  20865. description: 申请来源 - 1:管理端 2:终端
  20866. type: integer
  20867. applystatus:
  20868. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20869. type: integer
  20870. applytime:
  20871. description: 申请时间
  20872. type: string
  20873. auditname:
  20874. description: 审核人名称
  20875. type: string
  20876. auditorid:
  20877. description: 审核人
  20878. type: integer
  20879. auditremark:
  20880. description: 审核备注
  20881. type: string
  20882. auditsrc:
  20883. description: 审核来源 - 1:管理端 2:终端
  20884. type: integer
  20885. audittime:
  20886. description: 审核时间
  20887. type: string
  20888. friendapplyid:
  20889. description: 申请ID(SEQ_FRIENDAPPLY)
  20890. type: string
  20891. friendname:
  20892. description: 好友名字(已脱敏)
  20893. type: string
  20894. frienduserid:
  20895. description: 好友用户ID
  20896. type: string
  20897. remark:
  20898. description: 备注
  20899. type: string
  20900. userid:
  20901. description: 申请人用户ID
  20902. type: integer
  20903. type: object
  20904. models.WrFtDeliveryGoods:
  20905. properties:
  20906. deliverygoodscode:
  20907. description: 品种代码
  20908. type: string
  20909. deliverygoodsid:
  20910. description: 品种ID
  20911. type: integer
  20912. deliverygoodsname:
  20913. description: 品种名称
  20914. type: string
  20915. wdlst:
  20916. description: 商品列表
  20917. items:
  20918. $ref: '#/definitions/models.WrFtWrstandard'
  20919. type: array
  20920. type: object
  20921. models.WrFtWrstandard:
  20922. properties:
  20923. enumdicname:
  20924. description: 单位名称
  20925. type: string
  20926. minivalue:
  20927. description: 最小变动值
  20928. type: integer
  20929. wrstandardcode:
  20930. description: 现货商品代码
  20931. type: string
  20932. wrstandardid:
  20933. description: 现货商品ID
  20934. type: integer
  20935. wrstandardname:
  20936. description: 商品名称
  20937. type: string
  20938. type: object
  20939. models.WrGoodsInfo:
  20940. properties:
  20941. haswr:
  20942. description: 0:仓单预售 1:仓单贸易
  20943. type: integer
  20944. lstitem:
  20945. description: 商品信息项
  20946. items:
  20947. $ref: '#/definitions/models.WrTypeItem'
  20948. type: array
  20949. lststep:
  20950. description: 履约规则
  20951. items:
  20952. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  20953. type: array
  20954. marketid:
  20955. description: 市场id
  20956. type: integer
  20957. type: object
  20958. models.WrGoodsPerformanceStep:
  20959. properties:
  20960. autoid:
  20961. description: AutoID
  20962. type: integer
  20963. isauto:
  20964. description: 是否自动 - 0:不自动 1:自动
  20965. type: integer
  20966. remark:
  20967. description: 备注
  20968. type: string
  20969. stepdate:
  20970. description: 天数信息(T+N)
  20971. type: string
  20972. stepdays:
  20973. description: 距离上一步天数
  20974. type: integer
  20975. stepindex:
  20976. description: 步骤序号
  20977. type: integer
  20978. stepinfo:
  20979. description: 步骤信息(步骤名称+步骤值)
  20980. type: string
  20981. steptypeid:
  20982. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  20983. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  20984. type: integer
  20985. steptypename:
  20986. description: 步骤名称
  20987. type: string
  20988. stepvalue:
  20989. description: 期初均价
  20990. type: number
  20991. templateid:
  20992. description: 履约计划模板ID
  20993. type: integer
  20994. type: object
  20995. models.WrHoldLB:
  20996. properties:
  20997. accountid:
  20998. description: 持有人帐户ID
  20999. type: integer
  21000. bannerpicurl:
  21001. description: Banner图
  21002. type: string
  21003. createtime:
  21004. description: 创建时间(过户时间)
  21005. type: string
  21006. deliverygoodscode:
  21007. description: 品种代码
  21008. type: string
  21009. deliverygoodsid:
  21010. description: 品种ID
  21011. type: integer
  21012. deliverygoodsname:
  21013. description: 品种名称
  21014. type: string
  21015. enableqty:
  21016. description: 可用数量
  21017. type: number
  21018. enumdicname:
  21019. description: 单位名称
  21020. type: string
  21021. freezerqty:
  21022. description: 冻结数量
  21023. type: number
  21024. ladingbillid:
  21025. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  21026. type: string
  21027. minivalue:
  21028. description: 现货商品最小变动值
  21029. type: integer
  21030. optioncompare:
  21031. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  21032. type: string
  21033. parentsubnum:
  21034. description: 拆分父子单号
  21035. type: integer
  21036. pledgeqty:
  21037. description: 质押数量
  21038. type: number
  21039. qty:
  21040. description: 数量
  21041. type: number
  21042. subnum:
  21043. description: 提单子单号
  21044. type: integer
  21045. thumurls:
  21046. description: 缩略图
  21047. type: string
  21048. tradedate:
  21049. description: 交易日(yyyyMMdd)
  21050. type: string
  21051. userid:
  21052. description: 持有人ID
  21053. type: integer
  21054. warehouseid:
  21055. description: 仓库ID
  21056. type: integer
  21057. warehousename:
  21058. description: 仓库名称
  21059. type: string
  21060. wrfactortypeid:
  21061. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  21062. type: string
  21063. wrfactortypename:
  21064. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  21065. type: string
  21066. wrholdeno:
  21067. description: 仓单编号
  21068. type: string
  21069. wrid:
  21070. description: 仓单变更ID
  21071. type: string
  21072. wrstandardcode:
  21073. description: 现货商品代码
  21074. type: string
  21075. wrstandardid:
  21076. description: 现货商品ID
  21077. type: integer
  21078. wrstandardname:
  21079. description: 商品名称
  21080. type: string
  21081. wrtypename:
  21082. description: 商品
  21083. type: string
  21084. type: object
  21085. models.WrMarketTradeConfig:
  21086. properties:
  21087. basisdownratio:
  21088. description: 浮动价基差下限比例(仓单贸易)
  21089. type: number
  21090. basisupratio:
  21091. description: 浮动价基差上限比例(仓单贸易)
  21092. type: number
  21093. buychargealgorithm:
  21094. description: 买方手续费收取方式 1:比率 2:固定
  21095. type: integer
  21096. buychargealgorithm2:
  21097. description: 回购买方手续费收取方式 1:比率 2:固定 --77:现货商城
  21098. type: integer
  21099. buychargealgorithmvalue:
  21100. description: 买方手续费设置值(交易所部分)
  21101. type: number
  21102. buychargealgorithmvalue2:
  21103. description: 买方手续费设置值(会员部分)
  21104. type: number
  21105. buychargealgorithmvalue3:
  21106. description: 回购买方手续费设置值(交易所部分) --77:现货商城
  21107. type: number
  21108. buychargealgorithmvalue4:
  21109. description: 回购买方手续费设置值(会员部分) --77:现货商城
  21110. type: number
  21111. buyfirstmarginalgorithm:
  21112. description: 买方出价保证金方式 - 1:比率 2:固定 - [竞拍]
  21113. type: integer
  21114. buyfirstmarginvalue:
  21115. description: 买方出价保证金设置值 - [竞拍]
  21116. type: number
  21117. buymarginalgorithm:
  21118. description: 买方保证金方式 - 1:比率 2:固定
  21119. type: integer
  21120. buymarginvalue:
  21121. description: 买方保证金设置值
  21122. type: number
  21123. buyreleaseratio:
  21124. description: 买方释放比率[2:分步履约]
  21125. type: number
  21126. executemode:
  21127. description: 执行方式[2:分步履约] - 1:顺序执行 2:交叉执行
  21128. type: integer
  21129. executeside:
  21130. description: 执行方[2:分步履约] - 1:买方 2:卖方
  21131. type: integer
  21132. failedchargealgorithm:
  21133. description: 流拍手续费收取方式 1:比率 2:固定
  21134. type: integer
  21135. failedchargevalue:
  21136. description: 流拍手续费设置值
  21137. type: number
  21138. failedchargevalue2:
  21139. description: 流拍卖方手续费设置值
  21140. type: number
  21141. holddays:
  21142. description: 合同期限[2:分步履约]
  21143. type: integer
  21144. listingmode:
  21145. description: 挂牌方式 - 1:一口价 2:浮动价 3:贸易圈 4:协议指定
  21146. type: integer
  21147. marketid:
  21148. description: 市场ID-仓单贸易、竞拍、预售
  21149. type: integer
  21150. minqty:
  21151. description: 最小执行量[2:分步履约]
  21152. type: number
  21153. modifierid:
  21154. description: 修改人
  21155. type: integer
  21156. nowrquotaflag:
  21157. description: 是否校验无仓单额度(仓单贸易) - 0:否 1:是
  21158. type: integer
  21159. performancetempid:
  21160. description: 履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  21161. 立即执行(-1)
  21162. type: integer
  21163. performancetempid2:
  21164. description: 履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  21165. 立即执行
  21166. type: integer
  21167. performancetempid2s:
  21168. description: 履约计划模板IDs(无仓单) - 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货
  21169. - 履约方式: 立即执行
  21170. type: string
  21171. performancetempids:
  21172. description: 履约计划模板IDs(有仓单)- 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货
  21173. - 履约方式: 立即执行(-1)
  21174. type: string
  21175. performanceway:
  21176. description: 交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]
  21177. type: integer
  21178. sellchargealgorithm:
  21179. description: 卖方手续费收取方式 1:比率 2:固定
  21180. type: integer
  21181. sellchargealgorithm2:
  21182. description: 回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城
  21183. type: integer
  21184. sellchargealgorithmvalue:
  21185. description: 卖方手续费设置值(交易所部分)
  21186. type: number
  21187. sellchargealgorithmvalue2:
  21188. description: 卖方手续费设置值(会员部分)
  21189. type: number
  21190. sellchargealgorithmvalue3:
  21191. description: 回购卖方手续费设置值(交易所部分) --77:现货商城
  21192. type: number
  21193. sellchargealgorithmvalue4:
  21194. description: 回购卖方手续费设置值(会员部分) --77:现货商城
  21195. type: number
  21196. sellmarginalgorithm:
  21197. description: 卖方保证金方式 - 1:比率 2:固定
  21198. type: integer
  21199. sellmarginvalue:
  21200. description: 卖方保证金设置值
  21201. type: number
  21202. sellmarginvalue2:
  21203. description: 卖方保证金设置值(无仓单)
  21204. type: number
  21205. sellreleaseratio:
  21206. description: 卖方释放比率[2:分步履约]
  21207. type: number
  21208. updatetime:
  21209. description: 更新时间
  21210. type: string
  21211. type: object
  21212. models.WrOrderDetail:
  21213. properties:
  21214. accountid:
  21215. description: 交易账号(资金账号)
  21216. type: integer
  21217. allfriendsflag:
  21218. description: 是否全好友可见 - 0:否 1:是
  21219. type: integer
  21220. amount:
  21221. description: 期初均价
  21222. type: number
  21223. bannerpicurl:
  21224. description: Banner图
  21225. type: string
  21226. begindate:
  21227. description: 开始交易日(yyyymmdd)
  21228. type: string
  21229. buyorsell:
  21230. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  21231. type: integer
  21232. canbargain:
  21233. description: 是否可议价 - 0:不可 1:可
  21234. type: integer
  21235. cancelqty:
  21236. description: 撤销数量
  21237. type: number
  21238. canpart:
  21239. description: 是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)
  21240. type: integer
  21241. delistminqty:
  21242. description: 起摘数量
  21243. type: integer
  21244. deliverygoodscode:
  21245. description: 品种代码
  21246. type: string
  21247. deliverygoodsid:
  21248. description: 品种ID
  21249. type: integer
  21250. deliverygoodsname:
  21251. description: 品种名称
  21252. type: string
  21253. deliverymonth:
  21254. description: 交收月
  21255. type: string
  21256. enddate:
  21257. description: 结束交易日(yyyymmdd)
  21258. type: string
  21259. enumdicname:
  21260. description: 单位名称
  21261. type: string
  21262. fixedprice:
  21263. description: 固定价格 - [挂牌]
  21264. type: number
  21265. freezecharge:
  21266. description: 期初均价
  21267. type: number
  21268. freezemargin:
  21269. description: 期初均价
  21270. type: number
  21271. futupricemove:
  21272. description: 期货升贴水
  21273. type: number
  21274. futushow:
  21275. description: 期货合约/升贴水
  21276. type: string
  21277. goodscode:
  21278. description: 期货合约
  21279. type: string
  21280. goodsid:
  21281. description: 期货商品id
  21282. type: integer
  21283. goodsname:
  21284. description: 商品名称
  21285. type: string
  21286. haswr:
  21287. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  21288. type: integer
  21289. isspecified:
  21290. description: 是否指定对手 - 0:不指定 1:指定 - [挂牌]
  21291. type: integer
  21292. ladingbillid:
  21293. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  21294. type: string
  21295. marginvalue:
  21296. description: 期初均价
  21297. type: number
  21298. marketid:
  21299. description: 市场ID
  21300. type: integer
  21301. matchusername:
  21302. description: 对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)
  21303. type: string
  21304. minivalue:
  21305. description: 现货商品最小变动值
  21306. type: integer
  21307. optioncompare:
  21308. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  21309. type: string
  21310. orderqty:
  21311. description: 委托数量
  21312. type: number
  21313. ordertime:
  21314. description: 委托时间(挂牌时间)
  21315. type: string
  21316. performancetemplateid:
  21317. description: 履约模板id
  21318. type: integer
  21319. pricemove:
  21320. description: 升贴水(浮动价时填写) - [挂牌]
  21321. type: number
  21322. taname:
  21323. description: 交易用户名称(资金账号名称)
  21324. type: string
  21325. thumurls:
  21326. description: 缩略图
  21327. type: string
  21328. tradedate:
  21329. description: 交易日(yyyyMMdd)
  21330. type: string
  21331. tradeprice:
  21332. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)*
  21333. 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  21334. type: number
  21335. tradeqty:
  21336. description: 成交数量
  21337. type: number
  21338. userid:
  21339. description: 用户ID
  21340. type: integer
  21341. validtime:
  21342. description: 挂牌有效期
  21343. type: string
  21344. validtype:
  21345. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  21346. type: integer
  21347. warehouseid:
  21348. description: 仓库ID
  21349. type: integer
  21350. warehousename:
  21351. description: 仓库名称
  21352. type: string
  21353. wrfactortypeid:
  21354. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  21355. type: string
  21356. wrfactortypename:
  21357. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  21358. type: string
  21359. wrpricetype:
  21360. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  21361. type: integer
  21362. wrstandardcode:
  21363. description: 现货商品代码
  21364. type: string
  21365. wrstandardid:
  21366. description: 现货商品ID
  21367. type: integer
  21368. wrstandardname:
  21369. description: 商品名称
  21370. type: string
  21371. wrtradeorderid:
  21372. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  21373. type: string
  21374. wrtradeorderstatus:
  21375. 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:撤单解冻贷款失败
  21376. type: integer
  21377. wrtradetype:
  21378. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  21379. type: integer
  21380. wrtypename:
  21381. description: 商品
  21382. type: string
  21383. type: object
  21384. models.WrOrderQuote:
  21385. properties:
  21386. bannerpicurl:
  21387. description: Banner图
  21388. type: string
  21389. buyprice:
  21390. description: 买价
  21391. type: number
  21392. buypricemove:
  21393. description: 买升贴水(基差)
  21394. type: number
  21395. buyqty:
  21396. description: 买量
  21397. type: number
  21398. deliverygoodscode:
  21399. description: 品种代码
  21400. type: string
  21401. deliverygoodsid:
  21402. description: 品种id
  21403. type: integer
  21404. deliverygoodsname:
  21405. description: 品种名称
  21406. type: string
  21407. deliverymonth:
  21408. description: 交收月
  21409. type: string
  21410. enumdicname:
  21411. description: 单位名称
  21412. type: string
  21413. goodscode:
  21414. description: 商品合约(浮动价列表才有)
  21415. type: string
  21416. goodsid:
  21417. description: 商品id(浮动价列表才有)
  21418. type: integer
  21419. minivalue:
  21420. description: 现货商品最小变动值
  21421. type: integer
  21422. pictureurls:
  21423. description: 详情图片(逗号分隔)
  21424. type: string
  21425. sellprice:
  21426. description: 卖价
  21427. type: number
  21428. sellpricemove:
  21429. description: 卖升贴水(基差)
  21430. type: number
  21431. sellqty:
  21432. description: 卖量
  21433. type: number
  21434. thumurls:
  21435. description: 缩略图片(1:1)(逗号分隔)
  21436. type: string
  21437. warehousecode:
  21438. description: 仓库代码
  21439. type: string
  21440. warehouseid:
  21441. description: 仓库id
  21442. type: integer
  21443. warehousename:
  21444. description: 仓库名称
  21445. type: string
  21446. wrfactortypeid:
  21447. description: 仓单要素id
  21448. type: string
  21449. wrfactortypename:
  21450. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  21451. type: string
  21452. wrgoodsname:
  21453. description: 商品(商品名称+仓库要素名称 拼接)
  21454. type: string
  21455. wrstandardcode:
  21456. description: 商品代码
  21457. type: string
  21458. wrstandardid:
  21459. description: 商品id
  21460. type: integer
  21461. wrstandardname:
  21462. description: 商品名称
  21463. type: string
  21464. type: object
  21465. models.WrOrderQuoteDetail:
  21466. properties:
  21467. buyorsell:
  21468. description: 买卖 - 0:买 1:卖
  21469. type: integer
  21470. delistminqty:
  21471. description: 期初均价
  21472. type: number
  21473. deliverymonth:
  21474. description: 交收月
  21475. type: string
  21476. enumdicname:
  21477. description: 单位名称
  21478. type: string
  21479. fixedprice:
  21480. description: 买(卖)价
  21481. type: number
  21482. marketid:
  21483. description: 市场id
  21484. type: integer
  21485. minivalue:
  21486. description: 现货商品最小变动值
  21487. type: integer
  21488. orderqty:
  21489. description: 买(卖)量(=委托量-成交量)
  21490. type: number
  21491. ordertime:
  21492. description: 委托时间
  21493. type: string
  21494. pricemove:
  21495. description: 买(卖)升贴水- 基差
  21496. type: number
  21497. userid:
  21498. description: 购买方(销售方)用户ID
  21499. type: integer
  21500. username:
  21501. description: 购买方(销售方)
  21502. type: string
  21503. wrtradeorderid:
  21504. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  21505. type: string
  21506. type: object
  21507. models.WrOutInApply:
  21508. properties:
  21509. applyid:
  21510. description: 申请单id
  21511. type: string
  21512. applystatus:
  21513. description: 申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败
  21514. 8:已撤销
  21515. type: integer
  21516. applytime:
  21517. description: 申请时间
  21518. type: string
  21519. applytype:
  21520. description: 申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销
  21521. type: integer
  21522. bannerpicurl:
  21523. description: Banner图
  21524. type: string
  21525. begindate:
  21526. description: 开始交易日(yyyymmdd)
  21527. type: string
  21528. deliverygoodscode:
  21529. description: 品种代码
  21530. type: string
  21531. deliverygoodsid:
  21532. description: 品种ID
  21533. type: integer
  21534. deliverygoodsname:
  21535. description: 品种名称
  21536. type: string
  21537. enddate:
  21538. description: 结束交易日(yyyymmdd)
  21539. type: string
  21540. enumdicname:
  21541. description: 单位名称
  21542. type: string
  21543. expresscompany:
  21544. description: 物流公司
  21545. type: string
  21546. expressnum:
  21547. description: 物流单号
  21548. type: string
  21549. minivalue:
  21550. description: 现货商品最小变动值
  21551. type: integer
  21552. optioncompare:
  21553. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  21554. type: string
  21555. qty:
  21556. description: 数量
  21557. type: integer
  21558. userid:
  21559. description: 用户id
  21560. type: integer
  21561. warehouseid:
  21562. description: 仓库ID
  21563. type: integer
  21564. warehousename:
  21565. description: 仓库名称
  21566. type: string
  21567. wrfactortypeid:
  21568. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  21569. type: string
  21570. wrfactortypename:
  21571. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  21572. type: string
  21573. wrstandardcode:
  21574. description: 现货商品代码
  21575. type: string
  21576. wrstandardid:
  21577. description: 现货商品ID
  21578. type: integer
  21579. wrstandardname:
  21580. description: 商品名称
  21581. type: string
  21582. wrtypename:
  21583. description: 商品
  21584. type: string
  21585. type: object
  21586. models.WrPerformancePlan:
  21587. properties:
  21588. activatemonth:
  21589. description: 履约激活月 [无仓单的交易收月](yyyy-MM)
  21590. type: string
  21591. amount:
  21592. description: 履约金额(总金额)
  21593. type: number
  21594. begindate:
  21595. description: 开始交易日(yyyymmdd)
  21596. type: string
  21597. buyaccountid:
  21598. description: 买方账号
  21599. type: integer
  21600. buyerfreezeamount:
  21601. description: 履约冻结(买履约)
  21602. type: number
  21603. buyerfreezeamountremain:
  21604. description: 履约冻结剩余(买履约)
  21605. type: number
  21606. buyorsell:
  21607. description: 买卖方向 0-买 1-卖
  21608. type: integer
  21609. buypaidamount:
  21610. description: 买方已冻/已扣金额 (已付金额)
  21611. type: number
  21612. buyusername:
  21613. description: 买方名字
  21614. type: string
  21615. contractid:
  21616. description: 合同ID
  21617. type: integer
  21618. createtime:
  21619. description: 创建时间
  21620. type: string
  21621. creatorid:
  21622. description: 创建人
  21623. type: integer
  21624. curstepdeadline:
  21625. description: 当前步骤到期时间
  21626. type: string
  21627. curstepid:
  21628. description: 当前步骤ID
  21629. type: string
  21630. curstepname:
  21631. description: 当前步骤名称
  21632. type: string
  21633. deliverygoodscode:
  21634. description: 品种代码
  21635. type: string
  21636. deliverygoodsid:
  21637. description: 品种ID
  21638. type: integer
  21639. deliverygoodsname:
  21640. description: 品种名称
  21641. type: string
  21642. enddate:
  21643. description: 结束交易日(yyyymmdd)
  21644. type: string
  21645. enumdicname:
  21646. description: 单位名称
  21647. type: string
  21648. expressfee:
  21649. description: 运费
  21650. type: number
  21651. expressfeeconfirmed:
  21652. description: 是否确认运费 - 0:无 1:买方确认 2:卖方确认
  21653. type: integer
  21654. hasovershort:
  21655. description: 是否确认溢短 - 0:没有 1:买方确认 2:卖方确认
  21656. type: integer
  21657. haswr:
  21658. description: 类型 0-仓单预售 1-仓单贸易
  21659. type: integer
  21660. marketid:
  21661. description: 市场ID
  21662. type: integer
  21663. middleaccountid:
  21664. description: 中间商资金账号ID
  21665. type: integer
  21666. middleuserid:
  21667. description: 中间商用户ID
  21668. type: integer
  21669. minivalue:
  21670. description: 现货商品最小变动值
  21671. type: integer
  21672. optioncompare:
  21673. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  21674. type: string
  21675. overshortamount:
  21676. description: 溢短金额
  21677. type: number
  21678. overshortqty:
  21679. description: 溢短数量
  21680. type: number
  21681. paymenttype:
  21682. description: 付款方式 - 1:冻结 2:扣款
  21683. type: integer
  21684. performanceplanid:
  21685. description: 履约计划ID(130+yyMMddHHmmss+xxxx)
  21686. type: string
  21687. performancestatus:
  21688. description: 履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败
  21689. 9:超时待处理 10:超时关闭
  21690. type: integer
  21691. performancetype:
  21692. description: 履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式
  21693. 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统
  21694. type: integer
  21695. qty:
  21696. description: 履约数量
  21697. type: number
  21698. relatedorderid:
  21699. description: 关联单号(履约类型的关联单号)
  21700. type: string
  21701. remark:
  21702. description: 备注
  21703. type: string
  21704. sellaccountid:
  21705. description: 卖方账号
  21706. type: integer
  21707. sellerfreezeamount:
  21708. description: 履约冻结(卖履约)
  21709. type: number
  21710. sellerfreezeamountremain:
  21711. description: 履约冻结剩余(卖履约)
  21712. type: number
  21713. sellreceivedamount:
  21714. description: 卖方已收金额
  21715. type: number
  21716. sellusername:
  21717. description: 卖方名字
  21718. type: string
  21719. shipremark:
  21720. description: 发货备注[物流单号]
  21721. type: string
  21722. starttime:
  21723. description: 开始时间
  21724. type: string
  21725. steptypeid:
  21726. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  21727. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  21728. type: integer
  21729. typename:
  21730. description: 履约类型 名称
  21731. type: string
  21732. unpaidamount:
  21733. description: 期初均价
  21734. type: number
  21735. userid:
  21736. description: 用户id
  21737. type: integer
  21738. warehouseid:
  21739. description: 仓库ID
  21740. type: integer
  21741. warehousename:
  21742. description: 仓库名称
  21743. type: string
  21744. wrfactortypeid:
  21745. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  21746. type: string
  21747. wrfactortypename:
  21748. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  21749. type: string
  21750. wrstandardcode:
  21751. description: 现货商品代码
  21752. type: string
  21753. wrstandardid:
  21754. description: 现货商品ID
  21755. type: integer
  21756. wrstandardname:
  21757. description: 商品名称
  21758. type: string
  21759. wrtransferuserid:
  21760. description: 仓单受让用户
  21761. type: integer
  21762. wrtypename:
  21763. description: 商品
  21764. type: string
  21765. required:
  21766. - userid
  21767. type: object
  21768. models.WrPerformancePlanStep:
  21769. properties:
  21770. delaydays:
  21771. description: 延期申请天数
  21772. type: integer
  21773. deliverygoodscode:
  21774. description: 品种代码
  21775. type: string
  21776. deliverygoodsid:
  21777. description: 品种ID
  21778. type: integer
  21779. deliverygoodsname:
  21780. description: 品种名称
  21781. type: string
  21782. endtime:
  21783. description: 结束日期
  21784. type: string
  21785. enumdicname:
  21786. description: 单位名称
  21787. type: string
  21788. executeside:
  21789. description: 步骤执行方 - 1:买方 2:卖方
  21790. type: integer
  21791. handlestatus:
  21792. description: 处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败
  21793. 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求
  21794. 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败
  21795. type: integer
  21796. isauto:
  21797. description: 是否自动 - 0:不自动 1:自动
  21798. type: integer
  21799. islastreceivestep:
  21800. description: 是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)
  21801. type: integer
  21802. minivalue:
  21803. description: 现货商品最小变动值
  21804. type: integer
  21805. optioncompare:
  21806. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  21807. type: string
  21808. overdays:
  21809. description: 超期天数 = 当前时间(数据库时间) - 结束日期
  21810. type: integer
  21811. performancestepid:
  21812. description: 履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)
  21813. type: string
  21814. planid:
  21815. description: 所属履约计划ID
  21816. type: string
  21817. realamount:
  21818. description: 实际完成金额
  21819. type: number
  21820. relatedorderid:
  21821. description: 关联单号
  21822. type: string
  21823. remaindays:
  21824. description: 剩余天数
  21825. type: integer
  21826. remark:
  21827. description: 错误备注
  21828. type: string
  21829. starttime:
  21830. description: 开始日期
  21831. type: string
  21832. stepamount:
  21833. description: 步骤金额
  21834. type: number
  21835. stepdays:
  21836. description: 距离上一步天数(分钟)
  21837. type: integer
  21838. stepindex:
  21839. description: 步骤序号
  21840. type: integer
  21841. steplanchtype:
  21842. description: 步骤启动类型 - 1:系统自动 2:手动
  21843. type: integer
  21844. stepremark:
  21845. description: 步骤备注
  21846. type: string
  21847. stepstatus:
  21848. description: 步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭
  21849. type: integer
  21850. steptypeid:
  21851. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  21852. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  21853. type: integer
  21854. steptypename:
  21855. description: 步骤名称
  21856. type: string
  21857. stepvalue:
  21858. description: 步骤值
  21859. type: number
  21860. warehouseid:
  21861. description: 仓库ID
  21862. type: integer
  21863. warehousename:
  21864. description: 仓库名称
  21865. type: string
  21866. wrfactortypeid:
  21867. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  21868. type: string
  21869. wrfactortypename:
  21870. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  21871. type: string
  21872. wrstandardcode:
  21873. description: 现货商品代码
  21874. type: string
  21875. wrstandardid:
  21876. description: 现货商品ID
  21877. type: integer
  21878. wrstandardname:
  21879. description: 商品名称
  21880. type: string
  21881. wrtypename:
  21882. description: 商品
  21883. type: string
  21884. type: object
  21885. models.WrPerformanceStepType:
  21886. properties:
  21887. canauto:
  21888. description: '能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)'
  21889. type: integer
  21890. steptypeid:
  21891. description: 步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移
  21892. type: integer
  21893. steptypename:
  21894. description: 步骤类型名称
  21895. type: string
  21896. type: object
  21897. models.WrPerformanceTemplateEx:
  21898. properties:
  21899. autoid:
  21900. description: AutoID 模板id
  21901. type: integer
  21902. createtime:
  21903. description: 创建时间
  21904. type: string
  21905. creatorid:
  21906. description: 创建人
  21907. type: integer
  21908. lstStep:
  21909. description: 步骤信息列表
  21910. items:
  21911. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  21912. type: array
  21913. paymenttype:
  21914. description: 支付方式 - 1:冻结 2:扣款
  21915. type: integer
  21916. takemode:
  21917. description: 提货方式 - 1:无 2:买方自提 3:卖方发货
  21918. type: integer
  21919. templatename:
  21920. description: 模板名称
  21921. type: string
  21922. templatetype:
  21923. description: 模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  21924. (无仓单) 5:挂牌期权 6:竞拍-降价式
  21925. type: integer
  21926. userid:
  21927. description: 所属用户
  21928. type: integer
  21929. type: object
  21930. models.WrPosition:
  21931. properties:
  21932. accountid:
  21933. description: 帐户ID
  21934. type: integer
  21935. buyexcuteqty:
  21936. description: 采购履约中数量
  21937. type: number
  21938. creditcurqty:
  21939. description: 授信当前数量(预售仓单:预售当前量)
  21940. type: number
  21941. creditenableqty:
  21942. description: '授信可用数量(预售仓单: 可用数量)'
  21943. type: number
  21944. creditfreezeqty:
  21945. description: '授信冻结数量(预售仓单: 当前数量)'
  21946. type: number
  21947. credittotalqty:
  21948. description: 授信总数量(预售仓单:预售总量)
  21949. type: number
  21950. credittradeqty:
  21951. description: 授信成交数量(预售仓单:成交总量)
  21952. type: number
  21953. deliverygoodscode:
  21954. description: 品种代码
  21955. type: string
  21956. deliverygoodsid:
  21957. description: 品种ID
  21958. type: integer
  21959. deliverygoodsname:
  21960. description: 品种名称
  21961. type: string
  21962. enalbeqty:
  21963. description: 可用数量
  21964. type: number
  21965. enumdicname:
  21966. description: 单位名称
  21967. type: string
  21968. freezeqty:
  21969. description: 总冻结数量
  21970. type: number
  21971. haswr:
  21972. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  21973. type: integer
  21974. minivalue:
  21975. description: 现货商品最小变动值
  21976. type: integer
  21977. modifytime:
  21978. description: 修改时间(过户时间)
  21979. type: string
  21980. optioncompare:
  21981. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  21982. type: string
  21983. pledgeqty:
  21984. description: 质押数量
  21985. type: number
  21986. querytype:
  21987. description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  21988. type: integer
  21989. sellexcuteqty:
  21990. description: 销售履约中数量
  21991. type: number
  21992. totalqty:
  21993. description: 总数量(库存数量)
  21994. type: number
  21995. warehouseid:
  21996. description: 仓库ID
  21997. type: integer
  21998. warehousename:
  21999. description: 仓库名称
  22000. type: string
  22001. wrfactortypeid:
  22002. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  22003. type: string
  22004. wrfactortypename:
  22005. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  22006. type: string
  22007. wrpositionid:
  22008. description: 仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)
  22009. type: string
  22010. wrpositionno:
  22011. description: 仓单编号
  22012. type: string
  22013. wrstandardcode:
  22014. description: 现货商品代码
  22015. type: string
  22016. wrstandardid:
  22017. description: 现货商品ID
  22018. type: integer
  22019. wrstandardname:
  22020. description: 商品名称
  22021. type: string
  22022. wrtypename:
  22023. description: 商品
  22024. type: string
  22025. wruserid:
  22026. description: 持有人ID
  22027. type: integer
  22028. type: object
  22029. models.WrPreSaleInfo:
  22030. properties:
  22031. bannerpicurl:
  22032. description: Banner图
  22033. type: string
  22034. baseqty:
  22035. description: 中签基数
  22036. type: number
  22037. createtime:
  22038. description: 创建时间
  22039. type: string
  22040. deliverygoodsid:
  22041. description: 现货品种ID
  22042. type: integer
  22043. enddate:
  22044. description: 预售结束日期
  22045. type: string
  22046. enumdicname:
  22047. description: 单位名称
  22048. type: string
  22049. lotteryflag:
  22050. description: 摇号标识 - 0:未摇号 1:已摇号
  22051. type: integer
  22052. lotteryqty:
  22053. description: 摇号总量
  22054. type: number
  22055. luckyqty:
  22056. description: 已中签量
  22057. type: number
  22058. marketid:
  22059. description: 市场ID
  22060. type: integer
  22061. maxbuyqty:
  22062. description: 单人最大申购量
  22063. type: number
  22064. maxluckyqty:
  22065. description: 单人最大中签量
  22066. type: number
  22067. pictureurls:
  22068. description: 详情图片(逗号分隔)
  22069. type: string
  22070. placeqty:
  22071. description: 已配售量
  22072. type: number
  22073. presaleapplyid:
  22074. description: 预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)
  22075. example: "0"
  22076. type: string
  22077. presaleqty:
  22078. description: 预售总量
  22079. type: number
  22080. presalestatus:
  22081. description: 预售状态 - 1:未开始 2:进行中 3:已结束 4:已关闭
  22082. type: integer
  22083. sellaccountid:
  22084. description: 发行方资金账户ID
  22085. type: integer
  22086. selluserid:
  22087. description: 发行方用户ID
  22088. type: integer
  22089. sellwrtradeorderid:
  22090. description: 发行方卖委托单ID
  22091. type: string
  22092. startdate:
  22093. description: 预售开始日期
  22094. type: string
  22095. takestartdate:
  22096. description: 提货开始日期
  22097. type: string
  22098. thumurls:
  22099. description: 缩略图片(1:1)(逗号分隔)
  22100. type: string
  22101. tradedate:
  22102. description: 交易日
  22103. type: string
  22104. unitid:
  22105. description: 单位ID
  22106. type: integer
  22107. unitprice:
  22108. description: 商品单价
  22109. type: number
  22110. username:
  22111. description: 发行方用户名称
  22112. type: string
  22113. warehousecode:
  22114. description: 仓库代码(仓库简称)
  22115. type: string
  22116. warehouseid:
  22117. description: 仓库ID
  22118. type: integer
  22119. warehousename:
  22120. description: 仓库名称
  22121. type: string
  22122. wrfactortypeid:
  22123. description: 仓单要素类型ID - 根据现货商品\仓库生成
  22124. example: "0"
  22125. type: string
  22126. wrstandardid:
  22127. description: 现货商品ID
  22128. type: integer
  22129. wrstandardname:
  22130. description: 现货商品名称
  22131. type: string
  22132. type: object
  22133. models.WrQuoteOrderMyq:
  22134. properties:
  22135. buyorsell:
  22136. description: 买卖 - 0:买 1:卖
  22137. type: integer
  22138. canbargain:
  22139. description: 是否可议价 - 0:不可 1:可
  22140. type: integer
  22141. canpart:
  22142. description: 是否允许部份摘牌 - 0:不允许 1:允许
  22143. type: integer
  22144. delistminqty:
  22145. description: 期初均价
  22146. type: number
  22147. deliverygoodscode:
  22148. description: 品种代码
  22149. type: string
  22150. deliverygoodsid:
  22151. description: 品种ID
  22152. type: integer
  22153. deliverygoodsname:
  22154. description: 品种名称
  22155. type: string
  22156. deliverymonth:
  22157. description: 交收月
  22158. type: string
  22159. enumdicname:
  22160. description: 单位名称
  22161. type: string
  22162. fixedprice:
  22163. description: 买(卖)价
  22164. type: number
  22165. goodscode:
  22166. description: 商品合约代码
  22167. type: string
  22168. marginflag:
  22169. description: 挂牌是否指定保证金 - 0:未指定 1:指定
  22170. type: integer
  22171. marginvalue:
  22172. description: 保证金设置值
  22173. type: number
  22174. minivalue:
  22175. description: 现货商品最小变动值
  22176. type: integer
  22177. orderqty:
  22178. description: 买(卖)量(=委托量-成交量)
  22179. type: number
  22180. ordertime:
  22181. description: 委托时间
  22182. type: string
  22183. performancetemplateid:
  22184. description: 履约模板id
  22185. type: integer
  22186. pricemove:
  22187. description: 买(卖)升贴水- 基差
  22188. type: number
  22189. templatename:
  22190. description: 履约模板名称
  22191. type: string
  22192. userid:
  22193. description: 购买方(销售方)用户ID
  22194. type: integer
  22195. username:
  22196. description: 购买方(销售方)
  22197. type: string
  22198. validtime:
  22199. description: 有效期限
  22200. type: string
  22201. validtype:
  22202. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  22203. type: integer
  22204. warehousename:
  22205. description: 仓库名称
  22206. type: string
  22207. wrfactortypeid:
  22208. description: 仓单要素id
  22209. type: string
  22210. wrstandardcode:
  22211. description: 现货商品代码
  22212. type: string
  22213. wrstandardid:
  22214. description: 现货商品ID
  22215. type: integer
  22216. wrstandardname:
  22217. description: 商品名称
  22218. type: string
  22219. wrtradeorderid:
  22220. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  22221. type: string
  22222. wrtypename:
  22223. description: 商品
  22224. type: string
  22225. type: object
  22226. models.WrReckonSpotGoodsTradeSum:
  22227. properties:
  22228. begindate:
  22229. description: 开始日期(结果含开始日期) yyyymmdd
  22230. type: string
  22231. enddate:
  22232. description: 结束日期(结果含结束日期) yyyymmdd
  22233. type: string
  22234. istoday:
  22235. description: 是否当日
  22236. type: boolean
  22237. marketid:
  22238. description: 市场ID
  22239. type: integer
  22240. price:
  22241. description: 价格 = 日成交金额 / 日成交数量
  22242. type: string
  22243. reckondate:
  22244. description: 日期 格式 yyyymmdd
  22245. type: string
  22246. tradeamount:
  22247. description: 期初均价
  22248. type: number
  22249. tradeqty:
  22250. description: 期初均价
  22251. type: number
  22252. wrstandardid:
  22253. description: 现货商品ID
  22254. type: integer
  22255. type: object
  22256. models.WrScfContract:
  22257. properties:
  22258. borroweruserid:
  22259. description: 借款用户ID
  22260. type: integer
  22261. buybackwrpositionqty:
  22262. description: 已回购仓单头寸数量 - [仓单回购\仓单质押] -> 已回购数量
  22263. type: number
  22264. closeinterest:
  22265. description: 已结利息 -> 已结费用
  22266. type: number
  22267. currisklevel:
  22268. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  22269. type: integer
  22270. deadline:
  22271. description: 截止日期(yyyyMMdd) -> 借款到期时间
  22272. type: string
  22273. deliverygoodscode:
  22274. description: 品种代码
  22275. type: string
  22276. deliverygoodsid:
  22277. description: 品种ID
  22278. type: integer
  22279. deliverygoodsname:
  22280. description: 品种名称
  22281. type: string
  22282. enumdicname:
  22283. description: 单位名称
  22284. type: string
  22285. financingdays:
  22286. description: 天数(天)
  22287. type: integer
  22288. initmargin:
  22289. description: 保证金 - [仓单回购]
  22290. type: number
  22291. interestamount:
  22292. description: 计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \ 合同剩余金额
  22293. type: number
  22294. interestdebt:
  22295. description: 利息欠款(记录负数) -> 费用欠款
  22296. type: number
  22297. interestminlen:
  22298. description: 最小起息天数
  22299. type: integer
  22300. interestrate:
  22301. description: 利率
  22302. type: number
  22303. interestratemode:
  22304. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  22305. type: integer
  22306. interestsettlemode:
  22307. description: 结息方式 - 1:按日结息 3:按月结息
  22308. type: integer
  22309. interestsettlevalue:
  22310. description: 结息方式值
  22311. type: integer
  22312. isautoloan:
  22313. description: 是否自动放款 - 0:手动 1:自动 - [仓单质押]
  22314. type: integer
  22315. lastcloseinterestday:
  22316. description: 最近结息日(yyyyMMdd)
  22317. type: string
  22318. lenderamount:
  22319. description: 贷款金额 -> 借款金额
  22320. type: number
  22321. lenderuserid:
  22322. description: 贷款方用户ID -> 融出方用户ID
  22323. type: integer
  22324. lenderusername:
  22325. description: 融出方
  22326. type: string
  22327. marginratio:
  22328. description: 保证金比率质押率 - [仓单质押]
  22329. type: number
  22330. marketid:
  22331. description: 市场ID - 拆成三个独立模式后,根据市场ID处理
  22332. type: integer
  22333. minivalue:
  22334. description: 现货商品最小变动值
  22335. type: integer
  22336. optioncompare:
  22337. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  22338. type: string
  22339. pricemove:
  22340. description: 估值升贴水值
  22341. type: number
  22342. productdetailid:
  22343. description: 产品组合ID
  22344. type: integer
  22345. productid:
  22346. description: 金融产品ID
  22347. type: integer
  22348. productname:
  22349. description: 产品名称
  22350. type: string
  22351. remainamount:
  22352. description: 合同剩余金额 -> 剩余金额
  22353. type: number
  22354. remainwrpositionqty:
  22355. description: 剩余仓单头寸数量 - [仓单回购\仓单质押] -> 剩余数量(待回购数量)
  22356. type: number
  22357. remark:
  22358. description: 备注
  22359. type: string
  22360. scfcontractid:
  22361. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  22362. type: string
  22363. scfcontractstatus:
  22364. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  22365. 9:违约结束 10:已注销 11:已关闭 99:未提交
  22366. type: integer
  22367. scfcontracttype:
  22368. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购
  22369. type: integer
  22370. startinterestday:
  22371. description: 计息开始日(yyyyMMdd) -> 开始计费日期
  22372. type: string
  22373. totalinterest:
  22374. description: 已计利息 -> 已计费用
  22375. type: number
  22376. unpaidinterest:
  22377. description: 期初均价
  22378. type: number
  22379. updatetime:
  22380. description: 更新时间
  22381. type: string
  22382. warehouseid:
  22383. description: 仓库ID
  22384. type: integer
  22385. warehousename:
  22386. description: 仓库名称
  22387. type: string
  22388. wrfactortypeid:
  22389. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  22390. type: string
  22391. wrfactortypename:
  22392. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  22393. type: string
  22394. wrqty:
  22395. description: 仓单数量 - [仓单回购\仓单质押] -> 数量
  22396. type: number
  22397. wrstandardcode:
  22398. description: 现货商品代码
  22399. type: string
  22400. wrstandardid:
  22401. description: 现货商品ID
  22402. type: integer
  22403. wrstandardname:
  22404. description: 商品名称
  22405. type: string
  22406. wrtypename:
  22407. description: 商品
  22408. type: string
  22409. type: object
  22410. models.WrScfContractInterest:
  22411. properties:
  22412. closeinterest:
  22413. description: 已结利息
  22414. type: number
  22415. closeintereststatus:
  22416. description: 结息状态 - 1:未结 2:已结
  22417. type: integer
  22418. closetime:
  22419. description: 结息时间
  22420. type: string
  22421. closetradedate:
  22422. description: 结息交易日
  22423. type: string
  22424. creatorid:
  22425. description: 操作人ID
  22426. type: integer
  22427. dayrate:
  22428. description: 日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)
  22429. type: number
  22430. interest:
  22431. description: 利息
  22432. type: number
  22433. interestamount:
  22434. description: 计息金额
  22435. type: number
  22436. interestday:
  22437. description: 计息日(yyyyMMdd)
  22438. type: string
  22439. scfcontractid:
  22440. description: SCF合同ID
  22441. type: string
  22442. scfcontractinterestid:
  22443. description: SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)
  22444. type: integer
  22445. updatetime:
  22446. description: 更新时间
  22447. type: string
  22448. type: object
  22449. models.WrSearchUser:
  22450. properties:
  22451. userid:
  22452. description: 用户ID
  22453. type: integer
  22454. username:
  22455. description: 用户名称(已脱敏)
  22456. type: string
  22457. username2:
  22458. description: 用户名称(未脱敏)
  22459. type: string
  22460. usertype:
  22461. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  22462. type: integer
  22463. required:
  22464. - username
  22465. type: object
  22466. models.WrSiteColumnDetail:
  22467. properties:
  22468. author:
  22469. description: 作者
  22470. type: string
  22471. brief:
  22472. description: 简介
  22473. type: string
  22474. context:
  22475. description: 内容
  22476. type: string
  22477. coverimage:
  22478. description: 封面图片
  22479. type: string
  22480. creaedate:
  22481. description: 创建时间
  22482. type: string
  22483. id:
  22484. description: ID(SEQ_SITE_COLUMNDETAIL)
  22485. type: integer
  22486. istop:
  22487. description: 是否置顶 - 0:不置 1:置顶
  22488. type: integer
  22489. publishdate:
  22490. description: 发布日期
  22491. type: string
  22492. title:
  22493. description: 标题
  22494. type: string
  22495. updatedate:
  22496. description: 修改时间
  22497. type: string
  22498. type: object
  22499. models.WrSpecialMatchOrder:
  22500. properties:
  22501. amount:
  22502. description: 金额 = 数量 * 价格
  22503. type: number
  22504. buyorsell:
  22505. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  22506. type: integer
  22507. cancelqty:
  22508. description: 撤销数量
  22509. type: number
  22510. deliverygoodscode:
  22511. description: 品种代码
  22512. type: string
  22513. deliverygoodsid:
  22514. description: 品种ID
  22515. type: integer
  22516. deliverygoodsname:
  22517. description: 品种名称
  22518. type: string
  22519. enumdicname:
  22520. description: 单位名称
  22521. type: string
  22522. fixedprice:
  22523. description: 固定价格(价格)
  22524. type: number
  22525. haswr:
  22526. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  22527. type: integer
  22528. isspecified:
  22529. description: 是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  22530. type: integer
  22531. marketid:
  22532. description: 市场ID
  22533. type: integer
  22534. matchuserid:
  22535. description: 指定方资金账号(字段名为userid,实际存的是accountid by:邓工)
  22536. type: integer
  22537. matchusername:
  22538. description: 指定方
  22539. type: string
  22540. minivalue:
  22541. description: 现货商品最小变动值
  22542. type: integer
  22543. optioncompare:
  22544. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  22545. type: string
  22546. orderqty:
  22547. description: 委托数量
  22548. type: number
  22549. ordertime:
  22550. description: 委托时间
  22551. type: string
  22552. pricemove:
  22553. description: 升贴水(浮动价时填写) - [挂牌]
  22554. type: number
  22555. tradedate:
  22556. description: 交易日(yyyyMMdd)
  22557. type: string
  22558. tradeprice:
  22559. description: 成交价格
  22560. type: number
  22561. tradeqty:
  22562. description: 成交数量
  22563. type: number
  22564. userid:
  22565. description: 用户ID
  22566. type: integer
  22567. username:
  22568. description: 发起方
  22569. type: string
  22570. warehouseid:
  22571. description: 仓库ID
  22572. type: integer
  22573. warehousename:
  22574. description: 仓库名称
  22575. type: string
  22576. wrfactortypeid:
  22577. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  22578. type: string
  22579. wrfactortypename:
  22580. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  22581. type: string
  22582. wrpricetype:
  22583. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  22584. type: integer
  22585. wrstandardcode:
  22586. description: 现货商品代码
  22587. type: string
  22588. wrstandardid:
  22589. description: 现货商品ID
  22590. type: integer
  22591. wrstandardname:
  22592. description: 商品名称
  22593. type: string
  22594. wrtradeorderid:
  22595. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  22596. type: string
  22597. wrtradeorderstatus:
  22598. description: 委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝
  22599. 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤
  22600. type: integer
  22601. wrtradetype:
  22602. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  22603. type: integer
  22604. wrtypename:
  22605. description: 商品
  22606. type: string
  22607. type: object
  22608. models.WrSpotGroupTradeSum:
  22609. properties:
  22610. deliverygoodscode:
  22611. description: 现货品种代码
  22612. type: string
  22613. deliverygoodsid:
  22614. description: 现货品种ID(SEQ_DELIVERYGOODS)
  22615. type: integer
  22616. deliverygoodsname:
  22617. description: 现货品种名称
  22618. type: string
  22619. lastavgprice:
  22620. description: 上上个交易日价格(前2天价格)
  22621. type: string
  22622. lastreckondate:
  22623. description: 上上个交易日(前2天交易日)
  22624. type: string
  22625. reckondate:
  22626. description: 上个交易日(前1天交易日)
  22627. type: string
  22628. todayavgprice:
  22629. description: 上个交易日价格(前1天价格)
  22630. type: string
  22631. updown:
  22632. description: 涨跌
  22633. type: string
  22634. updownratio:
  22635. description: 涨幅(已格式化, 直接显示即可)
  22636. type: string
  22637. type: object
  22638. models.WrSpotGroupTradeSumDetail:
  22639. properties:
  22640. deliverygoodsid:
  22641. description: 现货商品id
  22642. type: integer
  22643. price:
  22644. description: 价格
  22645. type: number
  22646. reckondate:
  22647. description: 日期(yyymmdd, 如:20211031)
  22648. type: string
  22649. type: object
  22650. models.WrSpotGroupTradeSumEx:
  22651. properties:
  22652. lst:
  22653. description: 指数列表
  22654. items:
  22655. $ref: '#/definitions/models.WrSpotGroupTradeSum'
  22656. type: array
  22657. prereckondate:
  22658. description: 上上个交易日(yyymmdd)
  22659. type: string
  22660. reckondate:
  22661. description: 上个交易日(yyyymmdd)
  22662. type: string
  22663. type: object
  22664. models.WrStandardFactoryItem:
  22665. properties:
  22666. dgfactoryitemid:
  22667. description: 选择项id
  22668. type: integer
  22669. dgfactoryitemvalue:
  22670. description: 要素项值
  22671. type: string
  22672. warehouseid:
  22673. description: 仓库id
  22674. type: integer
  22675. type: object
  22676. models.WrStandardFactoryItemEx:
  22677. properties:
  22678. dgfactoryitemtypeid:
  22679. description: 要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)
  22680. type: integer
  22681. itemlst:
  22682. description: 要素项列表
  22683. items:
  22684. $ref: '#/definitions/models.WrStandardFactoryItem'
  22685. type: array
  22686. itemtypename:
  22687. description: 要素项类型名称
  22688. type: string
  22689. wrstandardid:
  22690. description: 品类
  22691. type: integer
  22692. type: object
  22693. models.WrTradeDetail:
  22694. properties:
  22695. accountid:
  22696. description: 资金账号
  22697. type: integer
  22698. bannerpicurl:
  22699. description: Banner图
  22700. type: string
  22701. begindate:
  22702. description: 开始交易日(yyyymmdd)
  22703. type: string
  22704. buyorsell:
  22705. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  22706. type: integer
  22707. chargevalue:
  22708. description: 手续费
  22709. type: number
  22710. deliverygoodscode:
  22711. description: 品种代码
  22712. type: string
  22713. deliverygoodsid:
  22714. description: 品种ID
  22715. type: integer
  22716. deliverygoodsname:
  22717. description: 品种名称
  22718. type: string
  22719. deliverymonth:
  22720. description: 交收月
  22721. type: string
  22722. enddate:
  22723. description: 结束交易日(yyyymmdd)
  22724. type: string
  22725. enumdicname:
  22726. description: 单位名称
  22727. type: string
  22728. haswr:
  22729. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  22730. type: integer
  22731. marketid:
  22732. description: 市场ID
  22733. type: integer
  22734. matchaccountid:
  22735. description: 对手账号
  22736. type: integer
  22737. matchusername:
  22738. description: 对手方
  22739. type: string
  22740. minivalue:
  22741. description: 现货商品最小变动值
  22742. type: integer
  22743. optioncompare:
  22744. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  22745. type: string
  22746. thumurls:
  22747. description: 缩略图
  22748. type: string
  22749. tradedate:
  22750. description: 交易日(yyyyMMdd)
  22751. type: string
  22752. tradeprice:
  22753. description: 成交价格
  22754. type: number
  22755. tradeqty:
  22756. description: 成交数量
  22757. type: number
  22758. tradetime:
  22759. description: 成交时间
  22760. type: string
  22761. userid:
  22762. description: 用户ID
  22763. type: integer
  22764. warehouseid:
  22765. description: 仓库ID
  22766. type: integer
  22767. warehousename:
  22768. description: 仓库名称
  22769. type: string
  22770. wrfactortypeid:
  22771. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  22772. type: string
  22773. wrfactortypename:
  22774. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  22775. type: string
  22776. wrstandardcode:
  22777. description: 现货商品代码
  22778. type: string
  22779. wrstandardid:
  22780. description: 现货商品ID
  22781. type: integer
  22782. wrstandardname:
  22783. description: 商品名称
  22784. type: string
  22785. wrtradedetailid:
  22786. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  22787. type: string
  22788. wrtradetype:
  22789. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  22790. type: integer
  22791. wrtypename:
  22792. description: 商品
  22793. type: string
  22794. type: object
  22795. models.WrTradeOrderDetail:
  22796. properties:
  22797. buyorsell:
  22798. description: 买卖方向 0-买 1-卖
  22799. type: integer
  22800. goodsid:
  22801. description: 商品id
  22802. type: integer
  22803. orderid:
  22804. description: 委托单号
  22805. type: string
  22806. orderprice:
  22807. description: 期初均价
  22808. type: number
  22809. orderqty:
  22810. description: 委托数量
  22811. type: integer
  22812. userid:
  22813. description: 用户id
  22814. type: integer
  22815. username:
  22816. description: 用户名称(已脱敏)
  22817. type: string
  22818. type: object
  22819. models.WrTypeItem:
  22820. properties:
  22821. name:
  22822. description: 名称
  22823. type: string
  22824. value:
  22825. description: 值
  22826. type: string
  22827. type: object
  22828. models.WrUserFriend:
  22829. properties:
  22830. friendname:
  22831. description: 朋友名称(已脱敏)
  22832. type: string
  22833. frienduserid:
  22834. description: 朋友id
  22835. type: integer
  22836. isfriend:
  22837. description: 是否好友 0-不是 1-是
  22838. type: integer
  22839. userid:
  22840. description: 用户id
  22841. type: integer
  22842. type: object
  22843. models.WrUserReceiptInfo:
  22844. properties:
  22845. address:
  22846. description: 地址[发票类型:企业]
  22847. type: string
  22848. autoid:
  22849. description: AutoID
  22850. type: integer
  22851. contactinfo:
  22852. description: 联系方式
  22853. type: string
  22854. idnum:
  22855. description: 身份证号码[发票类型:个人]
  22856. type: string
  22857. isdefault:
  22858. description: 是否默认地址 - 0:否 1:是
  22859. type: integer
  22860. receiptaccount:
  22861. description: 发票帐号[发票类型:企业]
  22862. type: string
  22863. receiptbank:
  22864. description: 发票开户行[发票类型:企业]
  22865. type: string
  22866. receipttype:
  22867. description: 发票类型 - 1:个人 2:企业
  22868. type: integer
  22869. taxpayerid:
  22870. description: 纳税人识别号
  22871. type: string
  22872. userid:
  22873. description: 用户ID
  22874. type: integer
  22875. username:
  22876. description: 户名(个人姓名或企业名称)
  22877. type: string
  22878. type: object
  22879. models.Wrtradetradequote:
  22880. properties:
  22881. buyaccountid:
  22882. description: 买方账号ID
  22883. type: integer
  22884. buychargevalue:
  22885. description: 买方手续费
  22886. type: number
  22887. buyuserid:
  22888. description: 买方用户ID
  22889. type: integer
  22890. deliverygoodsid:
  22891. description: 现货品种ID
  22892. type: integer
  22893. exchangerate:
  22894. description: 汇率
  22895. type: number
  22896. marketid:
  22897. description: 市场ID
  22898. type: integer
  22899. oritradeamount:
  22900. description: 成交金额[商品币种]
  22901. type: number
  22902. performanceplanid:
  22903. description: 履约计划ID/合同ID
  22904. type: integer
  22905. sellaccountid:
  22906. description: 卖方账号ID
  22907. type: integer
  22908. sellchargevalue:
  22909. description: 卖方手续费
  22910. type: number
  22911. selluserid:
  22912. description: 卖方用户ID
  22913. type: integer
  22914. tradeamount:
  22915. description: 成交金额
  22916. type: number
  22917. tradedate:
  22918. description: 交易日(yyyyMMdd)
  22919. type: string
  22920. tradeprice:
  22921. description: 成交价格
  22922. type: number
  22923. tradeqty:
  22924. description: 成交数量
  22925. type: integer
  22926. tradetime:
  22927. description: 成交时间
  22928. type: string
  22929. wrfactortypeid:
  22930. description: 仓单要素类型ID
  22931. type: integer
  22932. wrstandardid:
  22933. description: 现货商品ID
  22934. type: integer
  22935. wrtradedetailid:
  22936. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  22937. type: integer
  22938. type: object
  22939. models.XHBRAND:
  22940. properties:
  22941. brandid:
  22942. description: 品牌id
  22943. type: integer
  22944. brandname:
  22945. description: 品牌名称
  22946. type: string
  22947. isvalid:
  22948. description: 是否有效 0-无效 1-有效
  22949. type: integer
  22950. type: object
  22951. models.XHDeliveryGoods:
  22952. properties:
  22953. areauserid:
  22954. description: 所属机构
  22955. type: integer
  22956. bdlst:
  22957. description: 品牌列表
  22958. items:
  22959. $ref: '#/definitions/models.XHBRAND'
  22960. type: array
  22961. deliverygoodscode:
  22962. description: 现货品种代码
  22963. type: string
  22964. deliverygoodsid:
  22965. description: 现货品种ID(SEQ_DELIVERYGOODS)
  22966. type: integer
  22967. deliverygoodsname:
  22968. description: 现货品种名称
  22969. type: string
  22970. dgstatus:
  22971. description: 品种状态 - 作废 - 0:未激活 1:正常
  22972. type: integer
  22973. filterSubEmpty:
  22974. description: 过滤下级为空的
  22975. type: integer
  22976. isvalid:
  22977. description: 是否有效 - 0:无效 1:有效
  22978. type: integer
  22979. remark:
  22980. description: 备注
  22981. type: string
  22982. unitid:
  22983. description: 单位id(目前看,数据库中是空值)
  22984. type: integer
  22985. wdlst:
  22986. description: 品类(现货商品)列表
  22987. items:
  22988. $ref: '#/definitions/models.XHWrstandard'
  22989. type: array
  22990. type: object
  22991. models.XHMiddleGoods:
  22992. properties:
  22993. GPLST:
  22994. description: 期货品种列表
  22995. items:
  22996. $ref: '#/definitions/models.TBGoodsGroup'
  22997. type: array
  22998. convertratio:
  22999. description: 拆算系数
  23000. type: number
  23001. costratio:
  23002. description: 成本权重
  23003. type: number
  23004. deliverygoodsid:
  23005. description: 现货商品id
  23006. type: integer
  23007. enumdicname:
  23008. description: 单位名称
  23009. type: string
  23010. middlegoodscode:
  23011. description: 套保品种代码
  23012. type: string
  23013. middlegoodsid:
  23014. description: 套保品种id
  23015. type: integer
  23016. middlegoodsname:
  23017. description: 套保品种名称
  23018. type: string
  23019. unitid:
  23020. description: 单位id
  23021. type: integer
  23022. type: object
  23023. models.XHWrstandard:
  23024. properties:
  23025. bannerpicurl:
  23026. description: banner图
  23027. type: string
  23028. deliverygoodsid:
  23029. description: 品种ID
  23030. type: integer
  23031. enumdicname:
  23032. description: 单位名称
  23033. type: string
  23034. mglst:
  23035. description: 套保品列表
  23036. items:
  23037. $ref: '#/definitions/models.XHMiddleGoods'
  23038. type: array
  23039. pictureurls:
  23040. description: 详情图片(逗号分隔)
  23041. type: string
  23042. thumurls:
  23043. description: 缩略图片(1:1)(逗号分隔)
  23044. type: string
  23045. unitid:
  23046. description: 单位id
  23047. type: integer
  23048. vatrate:
  23049. description: 增值税率
  23050. type: number
  23051. wrstandardcode:
  23052. description: 现货商品代码
  23053. type: string
  23054. wrstandardid:
  23055. description: 现货商品ID(SEQ_WRSTANDARD)
  23056. type: integer
  23057. wrstandardname:
  23058. description: 现货商品名称
  23059. type: string
  23060. type: object
  23061. models.XhcpSellBackApplyEx:
  23062. properties:
  23063. applyremark:
  23064. description: 申请备注
  23065. type: string
  23066. expirytype:
  23067. description: 寄售有效期 - 1:3天 2:7天 3:15天 4:长期
  23068. type: integer
  23069. goodsspec:
  23070. description: 商品规格 - 1:整件 2;整提 3:单罐 4:单盒
  23071. type: integer
  23072. holeflag:
  23073. description: 是否破洞[原封] - 1:无破洞 2:破洞
  23074. type: integer
  23075. isunopened:
  23076. description: 是否原封 - 1:否 2:是
  23077. type: integer
  23078. mpflag:
  23079. description: 磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮
  23080. type: integer
  23081. openflag:
  23082. description: 是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。
  23083. 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。
  23084. type: integer
  23085. phonenum:
  23086. description: 联系电话
  23087. type: string
  23088. userid:
  23089. description: 所属用户ID
  23090. type: integer
  23091. zpflag:
  23092. description: 皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮
  23093. type: integer
  23094. required:
  23095. - userid
  23096. type: object
  23097. models.Xhcpsellbackapply:
  23098. properties:
  23099. applyid:
  23100. description: 申请人
  23101. type: integer
  23102. applyremark:
  23103. description: 申请备注
  23104. type: string
  23105. applysrc:
  23106. description: 申请来源 - 1:管理端 2:终端
  23107. type: integer
  23108. applystatus:
  23109. description: 申请状态 - 1:待确认 2:已处理
  23110. type: integer
  23111. applytime:
  23112. description: 申请时间
  23113. type: string
  23114. auditremark:
  23115. description: 审核备注
  23116. type: string
  23117. auditsrc:
  23118. description: 审核来源 - 1:管理端 2:终端
  23119. type: integer
  23120. expirytype:
  23121. description: 寄售有效期 - 1:3天 2:7天 3:15天 4:长期
  23122. type: integer
  23123. goodsspec:
  23124. description: 商品规格 - 1:整件 2;整提 3:单罐 4:单盒
  23125. type: integer
  23126. holeflag:
  23127. description: 是否破洞[原封] - 1:无破洞 2:破洞
  23128. type: integer
  23129. isunopened:
  23130. description: 是否原封 - 1:否 2:是
  23131. type: integer
  23132. mpflag:
  23133. description: 磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮
  23134. type: integer
  23135. openflag:
  23136. description: 是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。
  23137. 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。
  23138. type: integer
  23139. phonenum:
  23140. description: 联系电话
  23141. type: string
  23142. sellbackapplyid:
  23143. description: 回收申请ID - SEQ_XHCP_SELLBACKAPPLY
  23144. type: string
  23145. userid:
  23146. description: 所属用户ID
  23147. type: integer
  23148. zpflag:
  23149. description: 皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮
  23150. type: integer
  23151. required:
  23152. - userid
  23153. type: object
  23154. order.QueryHisTradeDetailRsp:
  23155. properties:
  23156. accountid:
  23157. description: 账户ID[报价币种]
  23158. type: integer
  23159. advanceratio:
  23160. description: 首付比率
  23161. type: number
  23162. buildtype:
  23163. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  23164. type: integer
  23165. buyorsell:
  23166. description: 方向 - 0:买 1:卖
  23167. type: integer
  23168. charge:
  23169. description: 手续费
  23170. type: number
  23171. closecharge:
  23172. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  23173. type: number
  23174. closeexchagechargevalue:
  23175. description: 平仓交易所手续费设置值
  23176. type: number
  23177. closefeealgorithm:
  23178. description: 平仓手续费收取方式 1:比率 2:固定
  23179. type: integer
  23180. closememberchargevalue:
  23181. description: 平仓会员手续费设置值
  23182. type: number
  23183. closepl:
  23184. description: 平仓盈亏
  23185. type: number
  23186. closepl2:
  23187. description: 平仓盈亏[逐笔]
  23188. type: number
  23189. closeqty:
  23190. description: 平仓数量(先建后平操作 需要记录)
  23191. type: number
  23192. creditamount:
  23193. description: 授信金额
  23194. type: number
  23195. decimalplace:
  23196. description: 商品报价小数位
  23197. type: integer
  23198. enumdicname:
  23199. description: 单位名称
  23200. type: string
  23201. gcaccountid:
  23202. description: 账户ID[合约币种]
  23203. type: integer
  23204. goodscode:
  23205. description: 商品代码
  23206. type: string
  23207. goodsid:
  23208. description: 商品ID
  23209. type: integer
  23210. goodsname:
  23211. description: 商品名称
  23212. type: string
  23213. goodunitid:
  23214. description: 商品单位id
  23215. type: integer
  23216. histradedate:
  23217. description: 历史交易日
  23218. type: string
  23219. intclosepl:
  23220. description: 整型盈亏(用于交易结算试算平衡-收益权)
  23221. type: integer
  23222. isconfirmexercise:
  23223. description: 是否确认行权- 0:否 1:是
  23224. type: integer
  23225. ismain:
  23226. description: 是否主单 - 0:不是 1:是
  23227. type: integer
  23228. ispreexercise:
  23229. description: 是否预申报- 0:否 1:是
  23230. type: integer
  23231. isreckoned:
  23232. description: 是否结算 - 0:未结算 1:已结算
  23233. type: integer
  23234. isvaliddata:
  23235. description: 是否有效 - 0:无效 1:有效
  23236. type: integer
  23237. listingselecttype:
  23238. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  23239. type: integer
  23240. marketid:
  23241. description: 市场ID
  23242. type: integer
  23243. marketname:
  23244. description: 市场名称
  23245. type: string
  23246. matchaccountid:
  23247. description: 对手账号id
  23248. type: integer
  23249. memberuserid:
  23250. description: 会员id 个人投资者 需要填写
  23251. type: integer
  23252. opencharge:
  23253. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  23254. type: number
  23255. openexchagechargevalue:
  23256. description: 建仓交易所手续费设置值
  23257. type: number
  23258. openfeealgorithm:
  23259. description: 建仓手续费收取方式 1:比率 2:固定
  23260. type: integer
  23261. openmemberchargevalue:
  23262. description: 建仓会员手续费设置值
  23263. type: number
  23264. openqty:
  23265. description: 开仓数量(先建后平操作 需要记录)
  23266. type: number
  23267. optiontype:
  23268. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  23269. type: integer
  23270. orderid:
  23271. description: 委托单号
  23272. type: string
  23273. payamount:
  23274. description: 支付金额(付款金额)
  23275. type: number
  23276. performanceplanid:
  23277. description: 履约计划ID[期权]
  23278. type: integer
  23279. performancestatus:
  23280. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  23281. type: integer
  23282. preexerciseprice:
  23283. description: 预申报价格
  23284. type: number
  23285. premium:
  23286. description: 权利金 - [持仓单的权利金]
  23287. type: number
  23288. qtydecimalplace:
  23289. description: 商品报价小数位
  23290. type: integer
  23291. recvamount:
  23292. description: 到账金额 = 成交金额 - 手续费
  23293. type: number
  23294. relatedouttradeid:
  23295. description: 关联外部成交单ID
  23296. type: integer
  23297. status:
  23298. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  23299. type: integer
  23300. totalamount:
  23301. description: 订单总额 = 成交金额 + 手续费
  23302. type: number
  23303. tradeamount:
  23304. description: 成交金额[账户币种,用于所有权]
  23305. type: number
  23306. tradedate:
  23307. description: 交易日(yyyyMMdd)
  23308. type: string
  23309. tradeid:
  23310. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  23311. type: string
  23312. trademode:
  23313. description: 交易模式
  23314. type: integer
  23315. tradeprice:
  23316. description: 成交价格
  23317. type: number
  23318. tradeproperty:
  23319. description: 交易属性
  23320. type: integer
  23321. tradeqty:
  23322. description: 成交数量
  23323. type: number
  23324. tradetime:
  23325. description: 成交时间
  23326. type: string
  23327. tradetype:
  23328. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  23329. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  23330. type: integer
  23331. required:
  23332. - accountid
  23333. - buyorsell
  23334. - goodsid
  23335. - histradedate
  23336. - marketid
  23337. - memberuserid
  23338. - orderid
  23339. - tradeamount
  23340. - tradedate
  23341. - tradeid
  23342. - tradeprice
  23343. - tradeqty
  23344. - tradetime
  23345. type: object
  23346. order.QueryHisTradeOrderDetailRsp:
  23347. properties:
  23348. accountid:
  23349. description: 账户ID[报价币种]
  23350. type: integer
  23351. buildtype:
  23352. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  23353. type: integer
  23354. buyorsell:
  23355. description: 买卖 - 0:买 1:卖
  23356. type: integer
  23357. cancelorderid:
  23358. description: 撤单单号(撤单时填写)
  23359. type: string
  23360. cancelqty:
  23361. description: 撤单数量
  23362. type: number
  23363. clientordertime:
  23364. description: 客户端委托时间
  23365. type: string
  23366. clientticket:
  23367. description: 客户端流水号
  23368. type: string
  23369. clienttype:
  23370. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  23371. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  23372. type: integer
  23373. closeexchagechargevalue:
  23374. description: 平仓交易所手续费设置值
  23375. type: number
  23376. closefeealgorithm:
  23377. description: 平仓手续费收取方式 1:比率 2:固定
  23378. type: integer
  23379. closefreezecharge:
  23380. description: 平仓冻结手续费(先建后平操作,需要记录)
  23381. type: number
  23382. closememberchargevalue:
  23383. description: 平仓会员手续费设置值
  23384. type: number
  23385. closeqty:
  23386. description: 平仓数量(先建后平操作 需要记录)
  23387. type: number
  23388. closetradeqty:
  23389. description: 平仓成交数量(先建后平操作,需要记录)
  23390. type: number
  23391. closeunfreezecharge:
  23392. description: 平仓解冻手续费(先建后平操作,需要记录)
  23393. type: number
  23394. decimalplace:
  23395. description: 商品报价小数位
  23396. type: integer
  23397. delistingtype:
  23398. description: 摘牌类型 - 1:价格最优 2:点选成交
  23399. type: integer
  23400. enumdicname:
  23401. description: 单位名称
  23402. type: string
  23403. freezecharge:
  23404. description: 冻结手续费
  23405. type: number
  23406. freezemargin:
  23407. description: 冻结保证金(冻结交易金额)
  23408. type: number
  23409. gcaccountid:
  23410. description: 账户ID[合约币种]
  23411. type: integer
  23412. goodscode:
  23413. description: 商品代码
  23414. type: string
  23415. goodsid:
  23416. description: 商品ID
  23417. type: integer
  23418. goodsname:
  23419. description: 商品名称
  23420. type: string
  23421. goodunitid:
  23422. description: 商品单位id
  23423. type: integer
  23424. histradedate:
  23425. description: 历史交易日
  23426. type: string
  23427. isconfirmexercise:
  23428. description: 是否确认行权- 0:否 1:是
  23429. type: integer
  23430. ispreexercise:
  23431. description: 是否预申报- 0:否 1:是
  23432. type: integer
  23433. isvaliddata:
  23434. description: 是否有效 - 0:无效 1:有效
  23435. type: integer
  23436. listingselecttype:
  23437. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  23438. type: integer
  23439. marginalgorithm:
  23440. description: 保证金收取方式 1:比率 2:固定
  23441. type: integer
  23442. marginvalue:
  23443. description: 即市保证金设置值
  23444. type: number
  23445. marketid:
  23446. description: 市场ID
  23447. type: integer
  23448. marketmaxsub:
  23449. description: 市价最大偏移范围
  23450. type: number
  23451. marketname:
  23452. description: 市场名称
  23453. type: string
  23454. memberuserid:
  23455. description: 所属会员UserID
  23456. type: integer
  23457. openexchagechargevalue:
  23458. description: 建仓交易所手续费设置值
  23459. type: number
  23460. openfeealgorithm:
  23461. description: 建仓手续费收取方式 1:比率 2:固定
  23462. type: integer
  23463. openfreezecharge:
  23464. description: 开仓冻结手续费(先建后平操作,需要记录)
  23465. type: number
  23466. openmemberchargevalue:
  23467. description: 建仓会员手续费设置值
  23468. type: number
  23469. openqty:
  23470. description: 开仓数量(先建后平操作,需要记录)
  23471. type: number
  23472. opentradeqty:
  23473. description: 开仓成交数量(先建后平操作,需要记录)
  23474. type: number
  23475. openunfreezecharge:
  23476. description: 开仓解冻手续费(先建后平操作,需要记录)
  23477. type: number
  23478. operatetype:
  23479. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  23480. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  23481. 15:管理端协议转让
  23482. type: integer
  23483. operatorid:
  23484. description: 登录账号(LoginID)
  23485. type: integer
  23486. optiontype:
  23487. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  23488. type: integer
  23489. orderid:
  23490. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  23491. type: string
  23492. orderprice:
  23493. description: 委托价格
  23494. type: number
  23495. orderqty:
  23496. description: 委托数量
  23497. type: number
  23498. ordersrc:
  23499. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  23500. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  23501. type: integer
  23502. orderstatus:
  23503. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  23504. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  23505. 16:成交失败违约(荷兰式竞拍专用)
  23506. type: integer
  23507. ordertime:
  23508. description: 委托时间
  23509. type: string
  23510. preexerciseprice:
  23511. description: 预申报价格
  23512. type: number
  23513. premium:
  23514. description: 权利金
  23515. type: number
  23516. preorderid:
  23517. description: 关联预埋单号(止盈止损单时填写)
  23518. type: string
  23519. pricemode:
  23520. description: '取价方式 - 1:市价 2: 限价'
  23521. type: integer
  23522. qtydecimalplace:
  23523. description: 成交量小数位
  23524. type: integer
  23525. quoteid:
  23526. description: 报价单ID
  23527. type: integer
  23528. relatedid:
  23529. description: 关联单号(交割单)
  23530. type: string
  23531. retcode:
  23532. description: 错误代码
  23533. type: integer
  23534. sessionid:
  23535. description: 会话ID
  23536. type: integer
  23537. tradedate:
  23538. description: 交易日(yyyyMMdd)
  23539. type: string
  23540. trademode:
  23541. description: 交易模式
  23542. type: integer
  23543. tradeproperty:
  23544. description: 交易属性
  23545. type: integer
  23546. tradeqty:
  23547. description: 成交数量
  23548. type: number
  23549. unfreezecharge:
  23550. description: 解冻手续费
  23551. type: number
  23552. unfreezemargin:
  23553. description: 解冻保证金
  23554. type: number
  23555. updatetime:
  23556. description: 更新时间
  23557. type: string
  23558. uuid:
  23559. description: 发起端唯一id
  23560. type: string
  23561. validtime:
  23562. description: 有效期限
  23563. type: string
  23564. validtype:
  23565. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  23566. type: integer
  23567. volumetype:
  23568. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  23569. type: integer
  23570. required:
  23571. - accountid
  23572. - buildtype
  23573. - buyorsell
  23574. - goodsid
  23575. - histradedate
  23576. - marketid
  23577. - memberuserid
  23578. - operatetype
  23579. - orderid
  23580. - orderqty
  23581. - ordertime
  23582. - pricemode
  23583. - tradedate
  23584. - validtype
  23585. type: object
  23586. order.QueryTradeDetailRsp:
  23587. properties:
  23588. accountid:
  23589. description: 账户ID[报价币种]
  23590. type: integer
  23591. advanceratio:
  23592. description: 首付比率
  23593. type: number
  23594. buildtype:
  23595. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  23596. type: integer
  23597. buyorsell:
  23598. description: 方向 - 0:买 1:卖
  23599. type: integer
  23600. charge:
  23601. description: 手续费
  23602. type: number
  23603. closecharge:
  23604. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  23605. type: number
  23606. closeexchagechargevalue:
  23607. description: 平仓交易所手续费设置值
  23608. type: number
  23609. closefeealgorithm:
  23610. description: 平仓手续费收取方式 1:比率 2:固定
  23611. type: integer
  23612. closememberchargevalue:
  23613. description: 平仓会员手续费设置值
  23614. type: number
  23615. closepl:
  23616. description: 平仓盈亏
  23617. type: number
  23618. closepl2:
  23619. description: 平仓盈亏[逐笔]
  23620. type: number
  23621. closeqty:
  23622. description: 平仓数量(先建后平操作 需要记录)
  23623. type: number
  23624. creditamount:
  23625. description: 授信金额
  23626. type: number
  23627. decimalplace:
  23628. description: 商品报价小数位
  23629. type: integer
  23630. enumdicname:
  23631. description: 单位名称
  23632. type: string
  23633. gcaccountid:
  23634. description: 账户ID[合约币种]
  23635. type: integer
  23636. goodscode:
  23637. description: 商品代码
  23638. type: string
  23639. goodsid:
  23640. description: 商品ID
  23641. type: integer
  23642. goodsname:
  23643. description: 商品名称
  23644. type: string
  23645. goodunitid:
  23646. description: 商品单位id
  23647. type: integer
  23648. intclosepl:
  23649. description: 整型盈亏(用于交易结算试算平衡-收益权)
  23650. type: integer
  23651. isconfirmexercise:
  23652. description: 是否确认行权- 0:否 1:是
  23653. type: integer
  23654. ismain:
  23655. description: 是否主单 - 0:不是 1:是
  23656. type: integer
  23657. ispreexercise:
  23658. description: 是否预申报- 0:否 1:是
  23659. type: integer
  23660. isreckoned:
  23661. description: 是否结算 - 0:未结算 1:已结算
  23662. type: integer
  23663. listingselecttype:
  23664. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  23665. type: integer
  23666. marketid:
  23667. description: 市场ID
  23668. type: integer
  23669. marketname:
  23670. description: 市场名称
  23671. type: string
  23672. matchaccountid:
  23673. description: 对手账号id
  23674. type: integer
  23675. memberuserid:
  23676. description: 会员id 个人投资者 需要填写
  23677. type: integer
  23678. opencharge:
  23679. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  23680. type: number
  23681. openexchagechargevalue:
  23682. description: 建仓交易所手续费设置值
  23683. type: number
  23684. openfeealgorithm:
  23685. description: 建仓手续费收取方式 1:比率 2:固定
  23686. type: integer
  23687. openmemberchargevalue:
  23688. description: 建仓会员手续费设置值
  23689. type: number
  23690. openqty:
  23691. description: 开仓数量(先建后平操作 需要记录)
  23692. type: number
  23693. optiontype:
  23694. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  23695. type: integer
  23696. orderid:
  23697. description: 委托单号
  23698. type: string
  23699. payamount:
  23700. description: 支付金额(付款金额)
  23701. type: number
  23702. performanceplanid:
  23703. description: 履约计划ID[期权]
  23704. type: integer
  23705. performancestatus:
  23706. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  23707. type: integer
  23708. preexerciseprice:
  23709. description: 预申报价格
  23710. type: number
  23711. premium:
  23712. description: 权利金 - [持仓单的权利金]
  23713. type: number
  23714. qtydecimalplace:
  23715. description: 商品报价小数位
  23716. type: integer
  23717. recvamount:
  23718. description: 到账金额 = 成交金额 - 手续费
  23719. type: number
  23720. relatedouttradeid:
  23721. description: 关联外部成交单ID
  23722. type: integer
  23723. status:
  23724. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  23725. type: integer
  23726. totalamount:
  23727. description: 订单总额 = 成交金额 + 手续费
  23728. type: number
  23729. tradeamount:
  23730. description: 成交金额[账户币种,用于所有权]
  23731. type: number
  23732. tradedate:
  23733. description: 交易日(yyyyMMdd)
  23734. type: string
  23735. tradeid:
  23736. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  23737. type: string
  23738. trademode:
  23739. description: 交易模式
  23740. type: integer
  23741. tradeprice:
  23742. description: 成交价格
  23743. type: number
  23744. tradeproperty:
  23745. description: 交易属性
  23746. type: integer
  23747. tradeqty:
  23748. description: 成交数量
  23749. type: number
  23750. tradetime:
  23751. description: 成交时间
  23752. type: string
  23753. tradetype:
  23754. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  23755. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  23756. type: integer
  23757. required:
  23758. - accountid
  23759. - buyorsell
  23760. - goodsid
  23761. - marketid
  23762. - memberuserid
  23763. - orderid
  23764. - tradeamount
  23765. - tradedate
  23766. - tradeid
  23767. - tradeprice
  23768. - tradeqty
  23769. - tradetime
  23770. type: object
  23771. order.QueryTradeOrderDetailRsp:
  23772. properties:
  23773. accountid:
  23774. description: 账户ID[报价币种]
  23775. type: integer
  23776. buildtype:
  23777. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  23778. type: integer
  23779. buyorsell:
  23780. description: 买卖 - 0:买 1:卖
  23781. type: integer
  23782. cancelorderid:
  23783. description: 撤单单号(撤单时填写)
  23784. type: string
  23785. cancelqty:
  23786. description: 撤单数量
  23787. type: number
  23788. clienttype:
  23789. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  23790. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  23791. type: integer
  23792. closefreezecharge:
  23793. description: 平仓冻结手续费(先建后平操作,需要记录)
  23794. type: number
  23795. closeqty:
  23796. description: 平仓数量(先建后平操作 需要记录)
  23797. type: number
  23798. closetradeqty:
  23799. description: 平仓成交数量(先建后平操作,需要记录)
  23800. type: number
  23801. closeunfreezecharge:
  23802. description: 平仓解冻手续费(先建后平操作,需要记录)
  23803. type: number
  23804. decimalplace:
  23805. description: 商品报价小数位
  23806. type: integer
  23807. delistingtype:
  23808. description: 摘牌类型 - 1:价格最优 2:点选成交
  23809. type: integer
  23810. enableqty:
  23811. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  23812. type: number
  23813. enumdicname:
  23814. description: 单位名称
  23815. type: string
  23816. freezecharge:
  23817. description: 冻结手续费
  23818. type: number
  23819. freezemargin:
  23820. description: 冻结保证金(冻结交易金额)
  23821. type: number
  23822. goodscode:
  23823. description: 商品代码
  23824. type: string
  23825. goodsid:
  23826. description: 商品ID
  23827. type: integer
  23828. goodsname:
  23829. description: 商品名称
  23830. type: string
  23831. goodunitid:
  23832. description: 商品单位id
  23833. type: integer
  23834. listingselecttype:
  23835. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  23836. type: integer
  23837. marketid:
  23838. description: 市场ID
  23839. type: integer
  23840. marketname:
  23841. description: 市场名称
  23842. type: string
  23843. openfreezecharge:
  23844. description: 开仓冻结手续费(先建后平操作,需要记录)
  23845. type: number
  23846. openqty:
  23847. description: 开仓数量(先建后平操作,需要记录)
  23848. type: number
  23849. opentradeqty:
  23850. description: 开仓成交数量(先建后平操作,需要记录)
  23851. type: number
  23852. openunfreezecharge:
  23853. description: 开仓解冻手续费(先建后平操作,需要记录)
  23854. type: number
  23855. operatetype:
  23856. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  23857. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  23858. 15:管理端协议转让
  23859. type: integer
  23860. operatorid:
  23861. description: 登录账号(LoginID)
  23862. type: integer
  23863. orderid:
  23864. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  23865. type: string
  23866. orderprice:
  23867. description: 委托价格
  23868. type: number
  23869. orderqty:
  23870. description: 委托数量
  23871. type: number
  23872. ordersrc:
  23873. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  23874. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  23875. type: integer
  23876. orderstatus:
  23877. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  23878. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  23879. 16:成交失败违约(荷兰式竞拍专用)
  23880. type: integer
  23881. ordertime:
  23882. description: 委托时间
  23883. type: string
  23884. preorderid:
  23885. description: 关联预埋单号(止盈止损单时填写)
  23886. type: string
  23887. pricemode:
  23888. description: '取价方式 - 1:市价 2: 限价'
  23889. type: integer
  23890. qtydecimalplace:
  23891. description: 商品报价小数位
  23892. type: integer
  23893. relatedid:
  23894. description: 关联单号(交割单)
  23895. type: string
  23896. tradedate:
  23897. description: 交易日(yyyyMMdd)
  23898. type: string
  23899. trademode:
  23900. description: 交易模式
  23901. type: integer
  23902. tradeqty:
  23903. description: 成交数量
  23904. type: number
  23905. unfreezecharge:
  23906. description: 解冻手续费
  23907. type: number
  23908. unfreezemargin:
  23909. description: 解冻保证金
  23910. type: number
  23911. validtime:
  23912. description: 有效期限
  23913. type: string
  23914. validtype:
  23915. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  23916. type: integer
  23917. volumetype:
  23918. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  23919. type: integer
  23920. required:
  23921. - accountid
  23922. - buildtype
  23923. - buyorsell
  23924. - goodsid
  23925. - marketid
  23926. - operatetype
  23927. - orderqty
  23928. - ordertime
  23929. - pricemode
  23930. - tradedate
  23931. - validtype
  23932. type: object
  23933. order.QueryTradePositionRsp:
  23934. properties:
  23935. accountid:
  23936. description: 资金账户
  23937. type: integer
  23938. agreeunit:
  23939. description: 合约单位
  23940. type: number
  23941. averageprice:
  23942. description: 持仓均价
  23943. type: number
  23944. buyorsell:
  23945. description: 方向 - 0:买 1:卖
  23946. type: integer
  23947. closetotalqty:
  23948. description: 平仓总数量
  23949. type: number
  23950. curholderamount:
  23951. description: 当前持仓总金额[商品币种]
  23952. type: number
  23953. curpositionqty:
  23954. description: 当前持仓总数量
  23955. type: number
  23956. currencyid:
  23957. description: 报价货币ID
  23958. type: integer
  23959. curtdposition:
  23960. description: 期末今日头寸
  23961. type: number
  23962. decimalplace:
  23963. description: 报价小数位
  23964. type: integer
  23965. enableqty:
  23966. description: 可用量
  23967. type: number
  23968. fretdposition:
  23969. description: 冻结今日头寸
  23970. type: number
  23971. frozenqty:
  23972. description: 持仓冻结数量
  23973. type: number
  23974. goodscode:
  23975. description: 商品代码
  23976. type: string
  23977. goodsid:
  23978. description: 商品Id
  23979. type: integer
  23980. goodsname:
  23981. description: 商品名称
  23982. type: string
  23983. goodunit:
  23984. description: 报价单位
  23985. type: string
  23986. goodunitid:
  23987. description: 报价单位ID
  23988. type: integer
  23989. holderamount:
  23990. description: 期初持仓总金额[商品币种]
  23991. type: number
  23992. lastprice:
  23993. description: 最新价
  23994. type: number
  23995. marketamount:
  23996. description: 市值
  23997. type: number
  23998. marketid:
  23999. description: 所属市场ID
  24000. type: integer
  24001. openreqqty:
  24002. description: 开仓申请数量(用于比较最大持仓数量)
  24003. type: number
  24004. opentotalqty:
  24005. description: 开仓总数量
  24006. type: number
  24007. otherfrozenqty:
  24008. description: 持仓其他冻结数量(交割冻结)
  24009. type: number
  24010. positionpl:
  24011. description: 持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸
  24012. * 合约单位
  24013. type: number
  24014. positionplrate:
  24015. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  24016. type: number
  24017. positionqty:
  24018. description: 期初持仓数量
  24019. type: number
  24020. qtydecimalplace:
  24021. description: 成交量小数位
  24022. type: integer
  24023. refgoodscode:
  24024. description: 参考商品代码
  24025. type: string
  24026. refgoodsid:
  24027. description: 参考商品ID
  24028. type: integer
  24029. tnqty:
  24030. description: T+N冻结总量
  24031. type: number
  24032. tnusedqty:
  24033. description: T+N使用量(可以使用T+N的冻结数量)
  24034. type: number
  24035. trademode:
  24036. description: 交易模式
  24037. type: integer
  24038. tradeproperty:
  24039. description: 交易属性
  24040. type: integer
  24041. usedmargin:
  24042. description: 占用保证金[商品币种]
  24043. type: number
  24044. required:
  24045. - goodsid
  24046. type: object
  24047. pb.GoodsMarginCfgStruct:
  24048. properties:
  24049. CustomerTypeID:
  24050. description: 投资者客户类型
  24051. type: integer
  24052. GoodsID:
  24053. description: 商品ID
  24054. type: integer
  24055. IsDefault:
  24056. description: 是否默认标志位
  24057. type: integer
  24058. LockMarginValue:
  24059. description: 锁仓保证金
  24060. type: number
  24061. MarginAlgorithm:
  24062. description: 保证金计算方式
  24063. type: integer
  24064. MarketMarginValue:
  24065. description: 即市保证金值
  24066. type: number
  24067. RealMarginAlgorithm:
  24068. description: 实付保证金计算方式
  24069. type: integer
  24070. RealMarginValue:
  24071. description: 实付比例
  24072. type: number
  24073. ReckonMarginValue:
  24074. description: 结算保证金值
  24075. type: number
  24076. type: object
  24077. quote.HistoryData:
  24078. properties:
  24079. c:
  24080. description: 收盘价
  24081. type: number
  24082. f:
  24083. description: 是否补充数据
  24084. type: boolean
  24085. h:
  24086. description: 最高价
  24087. type: number
  24088. hv:
  24089. description: 持仓量
  24090. type: integer
  24091. l:
  24092. description: 最低价
  24093. type: number
  24094. o:
  24095. description: 开盘价
  24096. type: number
  24097. s:
  24098. description: 结算价,日线周期(包括)以上才有
  24099. type: number
  24100. ts:
  24101. description: 时间
  24102. type: string
  24103. tt:
  24104. description: 总金额
  24105. type: number
  24106. tv:
  24107. description: 总量(成交量)
  24108. type: integer
  24109. type: object
  24110. quote.HistoryTikData:
  24111. properties:
  24112. AV:
  24113. description: 卖量
  24114. type: integer
  24115. Ask:
  24116. description: 卖价
  24117. type: number
  24118. BV:
  24119. description: 买量
  24120. type: integer
  24121. Bid:
  24122. description: 买价
  24123. type: number
  24124. HI:
  24125. description: 单笔持仓
  24126. type: integer
  24127. HV:
  24128. description: 持仓量
  24129. type: integer
  24130. PE:
  24131. description: 现价
  24132. type: number
  24133. TDR:
  24134. description: 交易方向,0:买 1:卖
  24135. type: integer
  24136. TK:
  24137. description: 交易类型
  24138. type: integer
  24139. TS:
  24140. description: 行情时间文本
  24141. type: string
  24142. TT:
  24143. description: 现金额
  24144. type: number
  24145. Vol:
  24146. description: 现量
  24147. type: integer
  24148. type: object
  24149. quote.QueryQuoteDayRsp:
  24150. properties:
  24151. ask:
  24152. description: 卖1
  24153. type: number
  24154. ask2:
  24155. description: 卖2
  24156. type: number
  24157. ask3:
  24158. description: 卖3
  24159. type: number
  24160. ask4:
  24161. description: 卖4
  24162. type: number
  24163. ask5:
  24164. description: 卖5
  24165. type: number
  24166. ask6:
  24167. description: 卖6
  24168. type: number
  24169. ask7:
  24170. description: 卖7
  24171. type: number
  24172. ask8:
  24173. description: 卖8
  24174. type: number
  24175. ask9:
  24176. description: 卖9
  24177. type: number
  24178. ask10:
  24179. description: 卖10
  24180. type: number
  24181. askorderid:
  24182. description: 卖单号1
  24183. type: integer
  24184. askorderid2:
  24185. description: 卖单号2
  24186. type: integer
  24187. askorderid3:
  24188. description: 卖单号3
  24189. type: integer
  24190. askorderid4:
  24191. description: 卖单号4
  24192. type: integer
  24193. askorderid5:
  24194. description: 卖单号5
  24195. type: integer
  24196. askordervolume:
  24197. description: 卖单量1
  24198. type: integer
  24199. askordervolume2:
  24200. description: 卖单量2
  24201. type: integer
  24202. askordervolume3:
  24203. description: 卖单量3
  24204. type: integer
  24205. askordervolume4:
  24206. description: 卖单量4
  24207. type: integer
  24208. askordervolume5:
  24209. description: 卖单量5
  24210. type: integer
  24211. askordervolume6:
  24212. description: 卖单量6
  24213. type: integer
  24214. askordervolume7:
  24215. description: 卖单量7
  24216. type: integer
  24217. askordervolume8:
  24218. description: 卖单量8
  24219. type: integer
  24220. askordervolume9:
  24221. description: 卖单量9
  24222. type: integer
  24223. askordervolume10:
  24224. description: 卖单量10
  24225. type: integer
  24226. askqueueinfo:
  24227. description: 大利市卖港股用
  24228. type: string
  24229. askvolume:
  24230. description: 卖量1
  24231. type: integer
  24232. askvolume2:
  24233. description: 卖量2
  24234. type: integer
  24235. askvolume3:
  24236. description: 卖量3
  24237. type: integer
  24238. askvolume4:
  24239. description: 卖量4
  24240. type: integer
  24241. askvolume5:
  24242. description: 卖量5
  24243. type: integer
  24244. askvolume6:
  24245. description: 卖量6
  24246. type: integer
  24247. askvolume7:
  24248. description: 卖量7
  24249. type: integer
  24250. askvolume8:
  24251. description: 卖量8
  24252. type: integer
  24253. askvolume9:
  24254. description: 卖量9
  24255. type: integer
  24256. askvolume10:
  24257. description: 卖量10
  24258. type: integer
  24259. averageprice:
  24260. description: 均价
  24261. type: number
  24262. bid:
  24263. description: 买1
  24264. type: number
  24265. bid2:
  24266. description: 买2
  24267. type: number
  24268. bid3:
  24269. description: 买3
  24270. type: number
  24271. bid4:
  24272. description: 买4
  24273. type: number
  24274. bid5:
  24275. description: 买5
  24276. type: number
  24277. bid6:
  24278. description: 买6
  24279. type: number
  24280. bid7:
  24281. description: 买7
  24282. type: number
  24283. bid8:
  24284. description: 买8
  24285. type: number
  24286. bid9:
  24287. description: 买9
  24288. type: number
  24289. bid10:
  24290. description: 买10
  24291. type: number
  24292. bidorderid:
  24293. description: 买单号1
  24294. type: integer
  24295. bidorderid2:
  24296. description: 买单号2
  24297. type: integer
  24298. bidorderid3:
  24299. description: 买单号3
  24300. type: integer
  24301. bidorderid4:
  24302. description: 买单号4
  24303. type: integer
  24304. bidorderid5:
  24305. description: 买单号5
  24306. type: integer
  24307. bidordervolume:
  24308. description: 买单量1
  24309. type: integer
  24310. bidordervolume2:
  24311. description: 买单量2
  24312. type: integer
  24313. bidordervolume3:
  24314. description: 买单量3
  24315. type: integer
  24316. bidordervolume4:
  24317. description: 买单量4
  24318. type: integer
  24319. bidordervolume5:
  24320. description: 买单量5
  24321. type: integer
  24322. bidordervolume6:
  24323. description: 买单量6
  24324. type: integer
  24325. bidordervolume7:
  24326. description: 买单量7
  24327. type: integer
  24328. bidordervolume8:
  24329. description: 买单量8
  24330. type: integer
  24331. bidordervolume9:
  24332. description: 买单量9
  24333. type: integer
  24334. bidordervolume10:
  24335. description: 买单量10
  24336. type: integer
  24337. bidqueueinfo:
  24338. description: 大利市买港股用
  24339. type: string
  24340. bidvolume:
  24341. description: 买量1
  24342. type: integer
  24343. bidvolume2:
  24344. description: 买量2
  24345. type: integer
  24346. bidvolume3:
  24347. description: 买量3
  24348. type: integer
  24349. bidvolume4:
  24350. description: 买量4
  24351. type: integer
  24352. bidvolume5:
  24353. description: 买量5
  24354. type: integer
  24355. bidvolume6:
  24356. description: 买量6
  24357. type: integer
  24358. bidvolume7:
  24359. description: 买量7
  24360. type: integer
  24361. bidvolume8:
  24362. description: 买量8
  24363. type: integer
  24364. bidvolume9:
  24365. description: 买量9
  24366. type: integer
  24367. bidvolume10:
  24368. description: 买量10
  24369. type: integer
  24370. calloptionpremiums:
  24371. description: 认购期权1
  24372. type: integer
  24373. calloptionpremiums2:
  24374. description: 认购期权2
  24375. type: integer
  24376. calloptionpremiums3:
  24377. description: 认购期权3
  24378. type: integer
  24379. calloptionpremiums4:
  24380. description: 认购期权4
  24381. type: integer
  24382. calloptionpremiums5:
  24383. description: 认购期权5
  24384. type: integer
  24385. cleartime:
  24386. description: 清盘时间
  24387. type: integer
  24388. exchangecode:
  24389. description: 交易所代码
  24390. type: integer
  24391. exchangedate:
  24392. description: 交易日
  24393. type: integer
  24394. goodscode:
  24395. description: 商品代码
  24396. type: string
  24397. grepmarketprice:
  24398. description: 暗盘价 港股专用
  24399. type: number
  24400. highest:
  24401. description: 最高价
  24402. type: number
  24403. holdincrement:
  24404. description: 单笔持仓
  24405. type: integer
  24406. holdvolume:
  24407. description: 持仓
  24408. type: integer
  24409. iep:
  24410. description: 平衡价 港股专用
  24411. type: number
  24412. iev:
  24413. description: 平衡量 港股专用
  24414. type: number
  24415. inventory:
  24416. description: 库存
  24417. type: integer
  24418. iscleared:
  24419. description: 是否清盘标志
  24420. type: integer
  24421. issettled:
  24422. description: 是否结算标志
  24423. type: integer
  24424. last:
  24425. description: 最新价
  24426. type: number
  24427. lastlot:
  24428. description: 最新成交手数
  24429. type: integer
  24430. lasttime:
  24431. description: 行情时间(只有现价变化行情时间才变化)
  24432. type: string
  24433. lastturnover:
  24434. description: 最新成交金额
  24435. type: number
  24436. lastvolume:
  24437. description: 最新成交量
  24438. type: integer
  24439. limitdown:
  24440. description: 跌停价
  24441. type: number
  24442. limitup:
  24443. description: 涨停价
  24444. type: number
  24445. lowest:
  24446. description: 最低价
  24447. type: number
  24448. nontotalholdervolume:
  24449. description: 非交易持仓量
  24450. type: integer
  24451. nontotallot:
  24452. description: 非交易总手数
  24453. type: integer
  24454. nontotalturnover:
  24455. description: 非交易总金额
  24456. type: integer
  24457. nontotalvolume:
  24458. description: 非交易总量
  24459. type: integer
  24460. opened:
  24461. description: 开盘价
  24462. type: number
  24463. opentime:
  24464. description: 开盘时间
  24465. type: string
  24466. orderid:
  24467. description: 序号
  24468. type: integer
  24469. preclose:
  24470. description: 昨收
  24471. type: number
  24472. preholdvolume:
  24473. description: 昨持仓
  24474. type: integer
  24475. presettle:
  24476. description: 昨结价
  24477. type: number
  24478. publictradetype:
  24479. description: 公共交易标志类型 港股专用
  24480. type: string
  24481. putoptionpremiums:
  24482. description: 认沽期权1
  24483. type: integer
  24484. putoptionpremiums2:
  24485. description: 认沽期权2
  24486. type: integer
  24487. putoptionpremiums3:
  24488. description: 认沽期权3
  24489. type: integer
  24490. putoptionpremiums4:
  24491. description: 认沽期权4
  24492. type: integer
  24493. putoptionpremiums5:
  24494. description: 认沽期权5
  24495. type: integer
  24496. settle:
  24497. description: 结算价
  24498. type: number
  24499. strikeprice:
  24500. description: 发行价
  24501. type: number
  24502. totalaskvolume:
  24503. description: 内盘
  24504. type: integer
  24505. totalbidvolume:
  24506. description: 外盘
  24507. type: integer
  24508. totallot:
  24509. description: 总手数
  24510. type: integer
  24511. totalturnover:
  24512. description: 总金额
  24513. type: number
  24514. totalvolume:
  24515. description: 总量
  24516. type: integer
  24517. utclasttime:
  24518. description: utc的行情时间
  24519. type: string
  24520. type: object
  24521. quote.QueryTSDataRsp:
  24522. properties:
  24523. Count:
  24524. description: 交易日应有数据个数
  24525. type: integer
  24526. decimalPlace:
  24527. description: 小数位
  24528. type: integer
  24529. endTime:
  24530. description: 结束时间
  24531. type: string
  24532. goodsCode:
  24533. description: 商品代码
  24534. type: string
  24535. historyDatas:
  24536. description: 历史数据
  24537. items:
  24538. $ref: '#/definitions/quote.HistoryData'
  24539. type: array
  24540. outGoodsCode:
  24541. description: 外部商品代码
  24542. type: string
  24543. preSettle:
  24544. description: 昨结价
  24545. type: number
  24546. runSteps:
  24547. description: 交易日开休市计划
  24548. items:
  24549. $ref: '#/definitions/quote.TSDataRunStep'
  24550. type: array
  24551. startTime:
  24552. description: 开始时间
  24553. type: string
  24554. tradeDate:
  24555. description: 交易日
  24556. type: string
  24557. type: object
  24558. quote.TSDataRunStep:
  24559. properties:
  24560. end:
  24561. description: 真实结束时间
  24562. type: string
  24563. endflag:
  24564. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  24565. type: integer
  24566. endtime:
  24567. description: 结束时间(HH:mm)
  24568. type: string
  24569. endweekday:
  24570. description: 结束周几
  24571. type: integer
  24572. groupid:
  24573. description: 分组ID
  24574. type: integer
  24575. runstep:
  24576. description: 运行阶段 - 2:连续交易
  24577. type: integer
  24578. sectionid:
  24579. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几,
  24580. 结束时间=结算时间 结束周几=结算周几
  24581. type: integer
  24582. start:
  24583. description: 真实开始时间
  24584. type: string
  24585. startflag:
  24586. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  24587. type: integer
  24588. starttime:
  24589. description: 起始时间(HH:mm)
  24590. type: string
  24591. startweekday:
  24592. description: 起始周几
  24593. type: integer
  24594. tradeweekday:
  24595. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  24596. type: integer
  24597. type: object
  24598. szdz.QueryConvertLogRsp:
  24599. properties:
  24600. accountid:
  24601. description: 资金账户ID
  24602. type: integer
  24603. clientticket:
  24604. description: 客户端流水号
  24605. type: string
  24606. converttype:
  24607. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  24608. type: integer
  24609. createtime:
  24610. description: 记账时间
  24611. type: string
  24612. daymaxvalue:
  24613. description: 配置当日最大转入限制
  24614. type: number
  24615. daymaxvalue2:
  24616. description: 配置当日最大转入限制(转入)
  24617. type: number
  24618. goodscode:
  24619. description: 商品代码
  24620. type: string
  24621. goodsname:
  24622. description: 商品名称
  24623. type: string
  24624. handlestatus:
  24625. description: 处理状态
  24626. type: integer
  24627. innergoodsid:
  24628. description: 内部商品ID
  24629. type: integer
  24630. inratio:
  24631. description: 配置转入比值
  24632. type: integer
  24633. invalue:
  24634. description: 目标值
  24635. type: number
  24636. logid:
  24637. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  24638. type: integer
  24639. mobile:
  24640. description: 手机号码(加密存储)
  24641. type: string
  24642. outergoodscode:
  24643. description: 外部商品代码[JD\PD]
  24644. type: string
  24645. outratio:
  24646. description: 配置转出比值
  24647. type: integer
  24648. outvalue:
  24649. description: 源值
  24650. type: number
  24651. pddecimalplace:
  24652. description: PD小数位
  24653. type: integer
  24654. qty:
  24655. description: 数量
  24656. type: string
  24657. remark:
  24658. description: 备注
  24659. type: string
  24660. sessionid:
  24661. description: 会话ID
  24662. type: integer
  24663. timemaxvalue:
  24664. description: 配置单次最大转入限制
  24665. type: number
  24666. timemaxvalue2:
  24667. description: 配置单次最大转入限制(转入)
  24668. type: number
  24669. timeminvalue:
  24670. description: 配置单次最小数量限制
  24671. type: number
  24672. timeminvalue2:
  24673. description: 配置单次最小数量限制(转入)
  24674. type: number
  24675. tradedate:
  24676. description: 交易日(yyyyMMdd)
  24677. type: string
  24678. userid:
  24679. description: 用户ID
  24680. type: integer
  24681. required:
  24682. - logid
  24683. type: object
  24684. szdz.QueryGoodsPickupRsp:
  24685. properties:
  24686. accountid:
  24687. description: 账户ID
  24688. type: integer
  24689. address:
  24690. description: 提货人详细地址
  24691. type: string
  24692. auditer:
  24693. description: 审核人
  24694. type: integer
  24695. audittime:
  24696. description: 审核时间
  24697. type: string
  24698. cardnum:
  24699. description: 提货人证件号码
  24700. type: string
  24701. cardtypeid:
  24702. description: 提货人证件类型
  24703. type: integer
  24704. checkremark:
  24705. description: 审核备注
  24706. type: string
  24707. goodscode:
  24708. description: 商品代码
  24709. type: string
  24710. goodsid:
  24711. description: 商品ID
  24712. type: integer
  24713. goodsname:
  24714. description: 商品名称
  24715. type: string
  24716. handlestatus:
  24717. description: 处理状态
  24718. type: integer
  24719. marketid:
  24720. description: 市场ID
  24721. type: integer
  24722. phonenum:
  24723. description: 提货人联系方式
  24724. type: string
  24725. qty:
  24726. description: 提货数量
  24727. type: number
  24728. recivername:
  24729. description: 提货人姓名
  24730. type: string
  24731. reqtime:
  24732. description: 更新时间
  24733. type: string
  24734. takemode:
  24735. description: 提货方式 - 2:自提 3:配送
  24736. type: integer
  24737. takeorderid:
  24738. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  24739. type: string
  24740. takeorderstatus:
  24741. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  24742. type: integer
  24743. takeremark:
  24744. description: 提货备注
  24745. type: string
  24746. tradedate:
  24747. description: 交易日(yyyyMMdd)
  24748. type: string
  24749. userid:
  24750. description: 用户ID
  24751. type: integer
  24752. required:
  24753. - takeorderid
  24754. type: object
  24755. szdz.QueryRecieptOrderRsp:
  24756. properties:
  24757. accountName:
  24758. description: 所属账号名称(已脱敏)
  24759. type: string
  24760. accountid:
  24761. description: 资金账号
  24762. type: integer
  24763. buyorsell:
  24764. description: 方向 - 0:买 1:卖
  24765. type: integer
  24766. enableqty:
  24767. description: 可摘数量
  24768. type: integer
  24769. goodscode:
  24770. description: 商品代码
  24771. type: string
  24772. goodsid:
  24773. description: 商品ID
  24774. type: integer
  24775. goodsname:
  24776. description: 商品名称
  24777. type: string
  24778. orderid:
  24779. description: 委托单号
  24780. type: string
  24781. orderprice:
  24782. description: 委托价格
  24783. type: number
  24784. ordertime:
  24785. description: 委托时间
  24786. type: string
  24787. tradedate:
  24788. description: 交易日(yyyyMMdd)
  24789. type: string
  24790. required:
  24791. - ordertime
  24792. type: object
  24793. szdz.QuerySZDZTradePositionRsp:
  24794. properties:
  24795. accountid:
  24796. description: 账号Id
  24797. type: integer
  24798. agreeunit:
  24799. description: 合约单位
  24800. type: number
  24801. averageprice:
  24802. description: 持仓均价
  24803. type: number
  24804. buyorsell:
  24805. description: 方向 - 0:买 1:卖
  24806. type: integer
  24807. closetotalqty:
  24808. description: 平仓总数量
  24809. type: integer
  24810. curholderamount:
  24811. description: 当前持仓总金额
  24812. type: number
  24813. curpositionqty:
  24814. description: 当前持仓总数量
  24815. type: integer
  24816. currencyid:
  24817. description: 报价货币ID
  24818. type: integer
  24819. curtdposition:
  24820. description: 期末今日头寸
  24821. type: integer
  24822. decimalplace:
  24823. description: 报价小数位
  24824. type: integer
  24825. enableqty:
  24826. description: 可用量
  24827. type: integer
  24828. fretdposition:
  24829. description: 冻结今日头寸
  24830. type: integer
  24831. frozenqty:
  24832. description: 持仓冻结数量
  24833. type: integer
  24834. goodscode:
  24835. description: 商品代码(内部)
  24836. type: string
  24837. goodsid:
  24838. description: 商品Id
  24839. type: integer
  24840. goodsname:
  24841. description: 商品名称
  24842. type: string
  24843. goodunit:
  24844. description: 报价单位
  24845. type: string
  24846. goodunitid:
  24847. description: 报价单位ID
  24848. type: integer
  24849. holderamount:
  24850. description: 期初持仓总金额
  24851. type: number
  24852. marketid:
  24853. description: 市场ID
  24854. type: integer
  24855. openreqqty:
  24856. description: 开仓申请数量
  24857. type: integer
  24858. opentotalqty:
  24859. description: 开仓总数量
  24860. type: integer
  24861. otherfrozenqty:
  24862. description: 持仓其他冻结数量(交割冻结)
  24863. type: integer
  24864. positionqty:
  24865. description: 期初持仓数量
  24866. type: integer
  24867. szdz3freezqty:
  24868. description: 尚志大宗转换冻结总数量
  24869. type: integer
  24870. tnqty:
  24871. description: T+N冻结总量
  24872. type: integer
  24873. tnusedqty:
  24874. description: T+N使用量
  24875. type: integer
  24876. trademode:
  24877. description: 交易模式
  24878. type: integer
  24879. usedmargin:
  24880. description: 占用保证金
  24881. type: number
  24882. type: object
  24883. taaccount.QueryAmountLogRsp:
  24884. properties:
  24885. accountid:
  24886. description: 资金账户ID
  24887. type: integer
  24888. agoodscode:
  24889. description: 竞拍商品代码
  24890. type: string
  24891. agoodsname:
  24892. description: 竞拍商品名称
  24893. type: string
  24894. amount:
  24895. description: 资金金额
  24896. type: number
  24897. amountadjusttype:
  24898. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  24899. type: integer
  24900. autoid:
  24901. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  24902. type: integer
  24903. balance:
  24904. description: 期初余额
  24905. type: number
  24906. businesscode:
  24907. description: 业务编号
  24908. type: integer
  24909. createtime:
  24910. description: 发生时间
  24911. type: string
  24912. currencyid:
  24913. description: 币种ID
  24914. type: integer
  24915. currentbalance:
  24916. description: 期末余额(变动后金额)
  24917. type: number
  24918. dgoodscode:
  24919. description: 交割商品代码
  24920. type: string
  24921. dgoodsname:
  24922. description: 交割商品名称
  24923. type: string
  24924. goodscode:
  24925. description: 商品代码
  24926. type: string
  24927. goodsid:
  24928. description: 商品ID
  24929. type: integer
  24930. goodsname:
  24931. description: 商品名称
  24932. type: string
  24933. marketid:
  24934. description: 市场ID
  24935. type: integer
  24936. marketname:
  24937. description: 市场名称
  24938. type: string
  24939. moneyticket:
  24940. description: 资金流水号:银行端流水号
  24941. type: integer
  24942. operatetype:
  24943. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  24944. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  24945. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  24946. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  24947. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  24948. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  24949. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  24950. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  24951. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  24952. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  24953. type: integer
  24954. relationorderid:
  24955. description: 关联单号
  24956. type: string
  24957. remark:
  24958. description: 备注
  24959. type: string
  24960. trademode:
  24961. description: 交易模式
  24962. type: integer
  24963. required:
  24964. - accountid
  24965. - amount
  24966. - amountadjusttype
  24967. - autoid
  24968. - balance
  24969. - createtime
  24970. - currentbalance
  24971. - operatetype
  24972. type: object
  24973. taaccount.QueryHisAmountLogRsp:
  24974. properties:
  24975. accountid:
  24976. description: 资金账户ID
  24977. type: integer
  24978. agoodscode:
  24979. description: 竞拍商品代码
  24980. type: string
  24981. agoodsname:
  24982. description: 竞拍商品名称
  24983. type: string
  24984. amount:
  24985. description: 资金金额
  24986. type: number
  24987. amountadjusttype:
  24988. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  24989. type: integer
  24990. autoid:
  24991. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  24992. type: integer
  24993. balance:
  24994. description: 期初余额
  24995. type: number
  24996. businesscode:
  24997. description: 业务编号
  24998. type: integer
  24999. createtime:
  25000. description: 发生时间
  25001. type: string
  25002. currencyid:
  25003. description: 币种ID
  25004. type: integer
  25005. currentbalance:
  25006. description: 期末余额(变动后金额)
  25007. type: number
  25008. dgoodscode:
  25009. description: 交割商品代码
  25010. type: string
  25011. dgoodsname:
  25012. description: 交割商品名称
  25013. type: string
  25014. goodscode:
  25015. description: 商品代码
  25016. type: string
  25017. goodsid:
  25018. description: 商品ID
  25019. type: integer
  25020. goodsname:
  25021. description: 商品名称
  25022. type: string
  25023. histradedate:
  25024. description: 历史交易日
  25025. type: string
  25026. isvaliddata:
  25027. description: 是否有效 - 0:无效 1:有效
  25028. type: integer
  25029. marketid:
  25030. description: 市场ID
  25031. type: integer
  25032. marketname:
  25033. description: 市场名称
  25034. type: string
  25035. moneyticket:
  25036. description: 资金流水号:银行端流水号
  25037. type: integer
  25038. operatetype:
  25039. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  25040. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  25041. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  25042. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  25043. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  25044. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  25045. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  25046. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  25047. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  25048. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  25049. type: integer
  25050. relationorderid:
  25051. description: 关联单号
  25052. type: string
  25053. remark:
  25054. description: 备注
  25055. type: string
  25056. trademode:
  25057. description: 交易模式
  25058. type: integer
  25059. required:
  25060. - accountid
  25061. - amount
  25062. - amountadjusttype
  25063. - autoid
  25064. - balance
  25065. - createtime
  25066. - currentbalance
  25067. - histradedate
  25068. - operatetype
  25069. type: object
  25070. trade.QueryRecieptOrderRsp:
  25071. properties:
  25072. accountName:
  25073. description: 所属账号名称(已脱敏)
  25074. type: string
  25075. accountid:
  25076. description: 资金账号
  25077. type: integer
  25078. buyorsell:
  25079. description: 方向 - 0:买 1:卖
  25080. type: integer
  25081. enableqty:
  25082. description: 可摘数量
  25083. type: integer
  25084. goodscode:
  25085. description: 商品代码
  25086. type: string
  25087. goodsid:
  25088. description: 商品ID
  25089. type: integer
  25090. goodsname:
  25091. description: 商品名称
  25092. type: string
  25093. orderid:
  25094. description: 委托单号
  25095. type: string
  25096. orderprice:
  25097. description: 委托价格
  25098. type: number
  25099. ordertime:
  25100. description: 委托时间
  25101. type: string
  25102. tradedate:
  25103. description: 交易日(yyyyMMdd)
  25104. type: string
  25105. required:
  25106. - ordertime
  25107. type: object
  25108. user.LoginQueryRsp:
  25109. properties:
  25110. areaRoles:
  25111. description: 所属角色信息
  25112. items:
  25113. $ref: '#/definitions/models.Arearole'
  25114. type: array
  25115. exchangeRateConfigs:
  25116. description: 汇率信息
  25117. items:
  25118. $ref: '#/definitions/models.Exchangerateconfig'
  25119. type: array
  25120. externalExchanges:
  25121. description: 外部交易所
  25122. items:
  25123. $ref: '#/definitions/models.Externalexchange'
  25124. type: array
  25125. goodsgroups:
  25126. description: 商品组
  25127. items:
  25128. $ref: '#/definitions/models.Goodsgroup'
  25129. type: array
  25130. loginAccount:
  25131. $ref: '#/definitions/models.Loginaccount'
  25132. description: 登录账号
  25133. markets:
  25134. description: 市场
  25135. items:
  25136. $ref: '#/definitions/models.Market'
  25137. type: array
  25138. systemParams:
  25139. description: 系统参数
  25140. items:
  25141. $ref: '#/definitions/models.Systemparam'
  25142. type: array
  25143. userAccount:
  25144. $ref: '#/definitions/models.Useraccount'
  25145. description: 用户账号
  25146. userInfo:
  25147. $ref: '#/definitions/models.Userinfo'
  25148. description: 用户信息
  25149. username:
  25150. description: 用户姓名
  25151. type: string
  25152. type: object
  25153. info:
  25154. contact: {}
  25155. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  25156. termsOfService: http://www.muchinfo.cn
  25157. title: MTP2.0 查询服务 API
  25158. version: "1.0"
  25159. paths:
  25160. /CPTrade/QueryCPTradeMyBidInfos:
  25161. get:
  25162. parameters:
  25163. - description: 资金账户
  25164. in: query
  25165. name: accountid
  25166. required: true
  25167. type: integer
  25168. - description: 预售市场ID
  25169. in: query
  25170. name: marketid
  25171. type: integer
  25172. - description: 预售商品ID
  25173. in: query
  25174. name: goodsid
  25175. type: integer
  25176. produces:
  25177. - application/json
  25178. responses:
  25179. "200":
  25180. description: OK
  25181. schema:
  25182. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  25183. "500":
  25184. description: Internal Server Error
  25185. schema:
  25186. $ref: '#/definitions/app.Response'
  25187. security:
  25188. - ApiKeyAuth: []
  25189. summary: 查询产能预售我的出价信息
  25190. tags:
  25191. - 产能预售
  25192. /CPTrade/QueryCPTradeOrderDetail:
  25193. get:
  25194. parameters:
  25195. - description: 预售商品ID
  25196. in: query
  25197. name: goodsid
  25198. type: integer
  25199. - description: 预售市场ID
  25200. in: query
  25201. name: marketid
  25202. type: integer
  25203. - description: 预售商品ID列表 - 格式:1,2,3
  25204. in: query
  25205. name: goodsids
  25206. type: string
  25207. produces:
  25208. - application/json
  25209. responses:
  25210. "200":
  25211. description: OK
  25212. schema:
  25213. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  25214. "500":
  25215. description: Internal Server Error
  25216. schema:
  25217. $ref: '#/definitions/app.Response'
  25218. security:
  25219. - ApiKeyAuth: []
  25220. summary: 查询产能预售委托单信息
  25221. tags:
  25222. - 产能预售
  25223. /CPTrade/QueryMyCPTradeGoods:
  25224. get:
  25225. parameters:
  25226. - description: 资金账户
  25227. in: query
  25228. name: accountid
  25229. required: true
  25230. type: integer
  25231. produces:
  25232. - application/json
  25233. responses:
  25234. "200":
  25235. description: OK
  25236. schema:
  25237. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  25238. "500":
  25239. description: Internal Server Error
  25240. schema:
  25241. $ref: '#/definitions/app.Response'
  25242. security:
  25243. - ApiKeyAuth: []
  25244. summary: 查询我的预售信息
  25245. tags:
  25246. - 产能预售
  25247. /CPTrade/QueryPositionCancel:
  25248. get:
  25249. parameters:
  25250. - description: 账户ID
  25251. in: query
  25252. name: userid
  25253. required: true
  25254. type: integer
  25255. - description: 注销ID
  25256. in: query
  25257. name: cancelid
  25258. type: integer
  25259. - description: 资金账户ID
  25260. in: query
  25261. name: accountid
  25262. type: integer
  25263. produces:
  25264. - application/json
  25265. responses:
  25266. "200":
  25267. description: OK
  25268. schema:
  25269. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  25270. "500":
  25271. description: Internal Server Error
  25272. schema:
  25273. $ref: '#/definitions/app.Response'
  25274. security:
  25275. - ApiKeyAuth: []
  25276. summary: 查询远期订单注销申请信息
  25277. tags:
  25278. - 产能预售
  25279. /CPTrade/QueryPreasleApply:
  25280. get:
  25281. parameters:
  25282. - description: 账户ID
  25283. in: query
  25284. name: userid
  25285. required: true
  25286. type: integer
  25287. - description: 申请ID
  25288. in: query
  25289. name: applyid
  25290. type: integer
  25291. - description: 资金账户ID
  25292. in: query
  25293. name: accountid
  25294. type: integer
  25295. produces:
  25296. - application/json
  25297. responses:
  25298. "200":
  25299. description: OK
  25300. schema:
  25301. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  25302. "500":
  25303. description: Internal Server Error
  25304. schema:
  25305. $ref: '#/definitions/app.Response'
  25306. security:
  25307. - ApiKeyAuth: []
  25308. summary: 查询产能预售申请信息
  25309. tags:
  25310. - 产能预售
  25311. /CPTrade/QueryPresaleGoodsEx:
  25312. get:
  25313. parameters:
  25314. - description: 预售商品ID
  25315. in: query
  25316. name: goodsid
  25317. type: integer
  25318. - description: 预售市场ID
  25319. in: query
  25320. name: marketid
  25321. type: integer
  25322. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  25323. in: query
  25324. name: presalemode
  25325. type: integer
  25326. - description: 预售商品ID列表 - 格式:1,2,3
  25327. in: query
  25328. name: goodsids
  25329. type: string
  25330. - description: 预售商品代码
  25331. in: query
  25332. name: goodscode
  25333. type: string
  25334. produces:
  25335. - application/json
  25336. responses:
  25337. "200":
  25338. description: OK
  25339. schema:
  25340. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  25341. "500":
  25342. description: Internal Server Error
  25343. schema:
  25344. $ref: '#/definitions/app.Response'
  25345. security:
  25346. - ApiKeyAuth: []
  25347. summary: 查询产能预售商品扩展信息
  25348. tags:
  25349. - 产能预售
  25350. /CPTrade/QueryUserGoodsData:
  25351. get:
  25352. parameters:
  25353. - description: 资金账户ID
  25354. in: query
  25355. name: accountid
  25356. required: true
  25357. type: integer
  25358. produces:
  25359. - application/json
  25360. responses:
  25361. "200":
  25362. description: OK
  25363. schema:
  25364. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  25365. "500":
  25366. description: Internal Server Error
  25367. schema:
  25368. $ref: '#/definitions/app.Response'
  25369. security:
  25370. - ApiKeyAuth: []
  25371. summary: 查询远期订单信息
  25372. tags:
  25373. - 产能预售
  25374. /Common/DeleteNewFuncmenu:
  25375. delete:
  25376. consumes:
  25377. - application/json
  25378. parameters:
  25379. - description: 菜单表数据,只需要resourcecode字段即可
  25380. in: body
  25381. name: data
  25382. required: true
  25383. schema:
  25384. $ref: '#/definitions/models.NewFuncmenulist'
  25385. produces:
  25386. - application/json
  25387. responses:
  25388. "200":
  25389. description: OK
  25390. schema:
  25391. $ref: '#/definitions/app.Response'
  25392. "500":
  25393. description: Internal Server Error
  25394. schema:
  25395. $ref: '#/definitions/app.Response'
  25396. security:
  25397. - ApiKeyAuth: []
  25398. summary: 删除菜单表数据
  25399. tags:
  25400. - 通用服务
  25401. /Common/FindNewFuncmenu:
  25402. get:
  25403. parameters:
  25404. - description: 资源代码
  25405. in: query
  25406. name: resourcecode
  25407. type: string
  25408. - description: 上级资源代码
  25409. in: query
  25410. name: parentcode
  25411. type: string
  25412. - description: 资源名(Title), 模糊查询
  25413. in: query
  25414. name: resourcename
  25415. type: string
  25416. - description: 菜单类型(格式:1,2,3) - 1:管理端 2:PC(C#) 3:移动(云平台) 4:终端(交易所) 5:PC(云平台)
  25417. in: query
  25418. name: menutype
  25419. type: string
  25420. produces:
  25421. - application/json
  25422. responses:
  25423. "200":
  25424. description: OK
  25425. schema:
  25426. items:
  25427. $ref: '#/definitions/models.NewFuncmenulist'
  25428. type: array
  25429. "500":
  25430. description: Internal Server Error
  25431. schema:
  25432. $ref: '#/definitions/app.Response'
  25433. security:
  25434. - ApiKeyAuth: []
  25435. summary: 获取菜单表数据
  25436. tags:
  25437. - 通用服务
  25438. /Common/GetAllEnums:
  25439. get:
  25440. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  25441. parameters:
  25442. - description: 起始自增ID
  25443. in: query
  25444. name: autoid
  25445. type: integer
  25446. produces:
  25447. - application/json
  25448. responses:
  25449. "200":
  25450. description: OK
  25451. schema:
  25452. $ref: '#/definitions/models.Enumdicitem'
  25453. "500":
  25454. description: Internal Server Error
  25455. schema:
  25456. $ref: '#/definitions/app.Response'
  25457. summary: 获取所有枚举信息
  25458. tags:
  25459. - 通用服务
  25460. /Common/GetClientMenus:
  25461. get:
  25462. parameters:
  25463. - description: 登录账号
  25464. in: query
  25465. name: loginID
  25466. required: true
  25467. type: integer
  25468. - description: 终端类型,0:PCWEB 1:Mobile,不传默认返回PC端数据
  25469. in: query
  25470. name: clientType
  25471. type: integer
  25472. - description: 分支名称,ermcp-风管云平台;pingan-平安期货;trader-交易所;不传默认返回风管云平台
  25473. in: query
  25474. name: name
  25475. type: string
  25476. produces:
  25477. - application/json
  25478. responses:
  25479. "200":
  25480. description: OK
  25481. schema:
  25482. items:
  25483. $ref: '#/definitions/common.ClientMenu'
  25484. type: array
  25485. "500":
  25486. description: Internal Server Error
  25487. schema:
  25488. $ref: '#/definitions/app.Response'
  25489. security:
  25490. - ApiKeyAuth: []
  25491. summary: 获取交易端菜单
  25492. tags:
  25493. - 通用服务
  25494. /Common/GetClientNewFuncmenu:
  25495. get:
  25496. parameters:
  25497. - description: 登录账号
  25498. in: query
  25499. name: loginid
  25500. required: true
  25501. type: integer
  25502. - description: 菜单类型 - 1:管理端 2:PC(C#) 3:移动(云平台) 4:终端(交易所) 5:PC(云平台)
  25503. in: query
  25504. name: menutype
  25505. required: true
  25506. type: integer
  25507. produces:
  25508. - application/json
  25509. responses:
  25510. "200":
  25511. description: OK
  25512. schema:
  25513. items:
  25514. $ref: '#/definitions/models.NewFuncmenulist'
  25515. type: array
  25516. "500":
  25517. description: Internal Server Error
  25518. schema:
  25519. $ref: '#/definitions/app.Response'
  25520. security:
  25521. - ApiKeyAuth: []
  25522. summary: 获取终端菜单
  25523. tags:
  25524. - 通用服务
  25525. /Common/GetDivisions:
  25526. get:
  25527. produces:
  25528. - application/json
  25529. responses:
  25530. "200":
  25531. description: OK
  25532. schema:
  25533. $ref: '#/definitions/models.Division'
  25534. "500":
  25535. description: Internal Server Error
  25536. schema:
  25537. $ref: '#/definitions/app.Response'
  25538. summary: 查询区域信息
  25539. tags:
  25540. - 通用服务
  25541. /Common/GetPCWebMenus:
  25542. get:
  25543. parameters:
  25544. - description: 登录账号
  25545. in: query
  25546. name: loginID
  25547. required: true
  25548. type: integer
  25549. - description: 分支名称,ermcp:风管云平台,不传默认返回ermcp
  25550. in: query
  25551. name: name
  25552. type: string
  25553. produces:
  25554. - application/json
  25555. responses:
  25556. "200":
  25557. description: OK
  25558. schema:
  25559. items:
  25560. $ref: '#/definitions/common.PCWebMenu'
  25561. type: array
  25562. "500":
  25563. description: Internal Server Error
  25564. schema:
  25565. $ref: '#/definitions/app.Response'
  25566. security:
  25567. - ApiKeyAuth: []
  25568. summary: 获取PCWeb交易端菜单
  25569. tags:
  25570. - 通用服务
  25571. /Common/GetServerTime:
  25572. get:
  25573. produces:
  25574. - application/json
  25575. responses:
  25576. "200":
  25577. description: OK
  25578. schema:
  25579. $ref: '#/definitions/app.Response'
  25580. "500":
  25581. description: Internal Server Error
  25582. schema:
  25583. $ref: '#/definitions/app.Response'
  25584. summary: 获取服务器时间
  25585. tags:
  25586. - 通用服务
  25587. /Common/InsertNewFuncmenu:
  25588. post:
  25589. consumes:
  25590. - application/json
  25591. parameters:
  25592. - description: 菜单表数据
  25593. in: body
  25594. name: data
  25595. required: true
  25596. schema:
  25597. $ref: '#/definitions/models.NewFuncmenulist'
  25598. produces:
  25599. - application/json
  25600. responses:
  25601. "200":
  25602. description: OK
  25603. schema:
  25604. $ref: '#/definitions/app.Response'
  25605. "500":
  25606. description: Internal Server Error
  25607. schema:
  25608. $ref: '#/definitions/app.Response'
  25609. security:
  25610. - ApiKeyAuth: []
  25611. summary: 插入菜单表数据
  25612. tags:
  25613. - 通用服务
  25614. /Common/NoticeReaded:
  25615. post:
  25616. parameters:
  25617. - description: 登录账号
  25618. in: query
  25619. name: loginID
  25620. required: true
  25621. type: integer
  25622. - description: 通知公告ID
  25623. in: query
  25624. name: noticeID
  25625. required: true
  25626. type: integer
  25627. produces:
  25628. - application/json
  25629. responses:
  25630. "200":
  25631. description: OK
  25632. schema:
  25633. $ref: '#/definitions/app.Response'
  25634. "500":
  25635. description: Internal Server Error
  25636. schema:
  25637. $ref: '#/definitions/app.Response'
  25638. security:
  25639. - ApiKeyAuth: []
  25640. summary: 通知公告设置已读请求
  25641. tags:
  25642. - 通用服务
  25643. /Common/QueryErrorInfos:
  25644. get:
  25645. description: 如果传入rowNumber,则返回此rowNumber后的数据
  25646. parameters:
  25647. - description: 起始行号前索引
  25648. in: query
  25649. name: rowNumber
  25650. type: string
  25651. produces:
  25652. - application/json
  25653. responses:
  25654. "200":
  25655. description: OK
  25656. schema:
  25657. $ref: '#/definitions/models.QueryErrorInfosRsp'
  25658. "500":
  25659. description: Internal Server Error
  25660. schema:
  25661. $ref: '#/definitions/app.Response'
  25662. summary: 获取数据库错误信息
  25663. tags:
  25664. - 通用服务
  25665. /Common/QueryImageConfigs:
  25666. get:
  25667. parameters:
  25668. - description: 用户id
  25669. in: query
  25670. name: userId
  25671. type: integer
  25672. - description: 类型 - 1:App首页轮播 2:我的 3:首页(PC) 4:首页推广(移动-新会)
  25673. in: query
  25674. name: imageType
  25675. type: integer
  25676. produces:
  25677. - application/json
  25678. responses:
  25679. "200":
  25680. description: OK
  25681. schema:
  25682. $ref: '#/definitions/common.QueryImageConfigsRsp'
  25683. "500":
  25684. description: Internal Server Error
  25685. schema:
  25686. $ref: '#/definitions/app.Response'
  25687. summary: 查询轮播图配置信息
  25688. tags:
  25689. - 通用服务
  25690. /Common/QueryNotice:
  25691. get:
  25692. parameters:
  25693. - description: 页码
  25694. in: query
  25695. name: page
  25696. type: integer
  25697. - description: 每页条数
  25698. in: query
  25699. name: pagesize
  25700. type: integer
  25701. - description: 登录账号
  25702. in: query
  25703. name: loginID
  25704. required: true
  25705. type: integer
  25706. - description: 消息类型 - 1:公告通知 2:系统消息
  25707. in: query
  25708. name: msgType
  25709. type: integer
  25710. - description: 是否只获取未读信息
  25711. in: query
  25712. name: onlyUnRead
  25713. type: boolean
  25714. - description: 自增ID,传入后会返回这个ID后面的记录
  25715. in: query
  25716. name: lastID
  25717. type: integer
  25718. produces:
  25719. - application/json
  25720. responses:
  25721. "200":
  25722. description: OK
  25723. schema:
  25724. $ref: '#/definitions/common.QueryNoticeRsp'
  25725. "500":
  25726. description: Internal Server Error
  25727. schema:
  25728. $ref: '#/definitions/app.Response'
  25729. security:
  25730. - ApiKeyAuth: []
  25731. summary: 通知公告系统消息查询
  25732. tags:
  25733. - 通用服务
  25734. /Common/QueryProvincesAndCities:
  25735. get:
  25736. parameters:
  25737. - description: 省ID
  25738. in: query
  25739. name: provinceID
  25740. type: integer
  25741. produces:
  25742. - application/json
  25743. responses:
  25744. "200":
  25745. description: OK
  25746. schema:
  25747. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  25748. "500":
  25749. description: Internal Server Error
  25750. schema:
  25751. $ref: '#/definitions/app.Response'
  25752. summary: 查询省市信息(不包括区)
  25753. tags:
  25754. - 通用服务
  25755. /Common/QueryRates:
  25756. get:
  25757. parameters:
  25758. - description: 页码
  25759. in: query
  25760. name: page
  25761. type: integer
  25762. - description: 每页条数
  25763. in: query
  25764. name: pagesize
  25765. type: integer
  25766. - description: 源币种ID
  25767. in: query
  25768. name: oricurrencyid
  25769. type: integer
  25770. - description: 目标币种ID
  25771. in: query
  25772. name: descurrencyid
  25773. type: integer
  25774. produces:
  25775. - application/json
  25776. responses:
  25777. "200":
  25778. description: OK
  25779. schema:
  25780. items:
  25781. $ref: '#/definitions/models.Exchangerateconfig'
  25782. type: array
  25783. "500":
  25784. description: Internal Server Error
  25785. schema:
  25786. $ref: '#/definitions/app.Response'
  25787. security:
  25788. - ApiKeyAuth: []
  25789. - LoginID: []
  25790. - Group: []
  25791. summary: 查询汇率信息
  25792. tags:
  25793. - 通用服务
  25794. /Common/QueryTableDefine:
  25795. get:
  25796. parameters:
  25797. - description: 表key
  25798. in: query
  25799. name: tableKey
  25800. type: string
  25801. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  25802. in: query
  25803. name: tableType
  25804. type: integer
  25805. produces:
  25806. - application/json
  25807. responses:
  25808. "200":
  25809. description: OK
  25810. schema:
  25811. $ref: '#/definitions/common.QueryTableDefineRsp'
  25812. "500":
  25813. description: Internal Server Error
  25814. schema:
  25815. $ref: '#/definitions/app.Response'
  25816. summary: 查询交易端列表头信息
  25817. tags:
  25818. - 通用服务
  25819. /Common/QueryTraderMenu:
  25820. get:
  25821. parameters:
  25822. - description: 登录账号
  25823. in: query
  25824. name: loginid
  25825. required: true
  25826. type: integer
  25827. produces:
  25828. - application/json
  25829. responses:
  25830. "200":
  25831. description: OK
  25832. schema:
  25833. $ref: '#/definitions/common.QueryTraderMenuRsp'
  25834. "500":
  25835. description: Internal Server Error
  25836. schema:
  25837. $ref: '#/definitions/app.Response'
  25838. summary: 查询交易端菜单
  25839. tags:
  25840. - 通用服务
  25841. /Common/UpdateNewFuncmenu:
  25842. put:
  25843. consumes:
  25844. - application/json
  25845. parameters:
  25846. - description: 菜单表数据
  25847. in: body
  25848. name: data
  25849. required: true
  25850. schema:
  25851. $ref: '#/definitions/models.NewFuncmenulist'
  25852. produces:
  25853. - application/json
  25854. responses:
  25855. "200":
  25856. description: OK
  25857. schema:
  25858. $ref: '#/definitions/app.Response'
  25859. "500":
  25860. description: Internal Server Error
  25861. schema:
  25862. $ref: '#/definitions/app.Response'
  25863. security:
  25864. - ApiKeyAuth: []
  25865. summary: 更新菜单表数据
  25866. tags:
  25867. - 通用服务
  25868. /Delivery/QueryDeliveryRelation:
  25869. get:
  25870. parameters:
  25871. - description: 商品ID
  25872. in: query
  25873. name: goodsid
  25874. type: integer
  25875. - description: 品种ID
  25876. in: query
  25877. name: deliverygoodsid
  25878. type: integer
  25879. - description: 市场ID
  25880. in: query
  25881. name: marketid
  25882. type: integer
  25883. produces:
  25884. - application/json
  25885. responses:
  25886. "200":
  25887. description: OK
  25888. schema:
  25889. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  25890. "500":
  25891. description: Internal Server Error
  25892. schema:
  25893. $ref: '#/definitions/app.Response'
  25894. security:
  25895. - ApiKeyAuth: []
  25896. summary: 查询商品交割关系表
  25897. tags:
  25898. - 交割服务
  25899. /Ermcp/GetErmcpGoods:
  25900. get:
  25901. parameters:
  25902. - description: 用户id(风管云平台版本传值, 只显示用户下设置了套保关联的品种)
  25903. in: query
  25904. name: userid
  25905. type: integer
  25906. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  25907. in: query
  25908. name: lastUpdateTime
  25909. type: string
  25910. produces:
  25911. - application/json
  25912. responses:
  25913. "200":
  25914. description: OK
  25915. schema:
  25916. $ref: '#/definitions/models.ErmcpGoods'
  25917. "500":
  25918. description: Internal Server Error
  25919. schema:
  25920. $ref: '#/definitions/app.Response'
  25921. security:
  25922. - ApiKeyAuth: []
  25923. summary: 查询企业风管期货商品信息
  25924. tags:
  25925. - 企业风险管理(app)
  25926. /Ermcp/GetErmcpGoodsSortByPosition:
  25927. get:
  25928. parameters:
  25929. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  25930. in: query
  25931. name: sortIndex
  25932. type: string
  25933. produces:
  25934. - application/json
  25935. responses:
  25936. "200":
  25937. description: OK
  25938. schema:
  25939. $ref: '#/definitions/models.Goodssortbypreposition'
  25940. "500":
  25941. description: Internal Server Error
  25942. schema:
  25943. $ref: '#/definitions/app.Response'
  25944. security:
  25945. - ApiKeyAuth: []
  25946. summary: 查询企业风管期货主力、次主力商品信息
  25947. tags:
  25948. - 企业风险管理(app)
  25949. /Ermcp/GetErmcpOutAccountStatus:
  25950. get:
  25951. parameters:
  25952. - description: 登录账号
  25953. in: query
  25954. name: loginID
  25955. required: true
  25956. type: integer
  25957. produces:
  25958. - application/json
  25959. responses:
  25960. "200":
  25961. description: OK
  25962. schema:
  25963. $ref: '#/definitions/models.Hedgemarketopenlog'
  25964. "500":
  25965. description: Internal Server Error
  25966. schema:
  25967. $ref: '#/definitions/app.Response'
  25968. security:
  25969. - ApiKeyAuth: []
  25970. summary: 获取目标登录账号当前对冲账号在线状态
  25971. tags:
  25972. - 企业风险管理(app)
  25973. /Ermcp/GetErmcpRoleFuncMenuLists:
  25974. get:
  25975. parameters:
  25976. - description: 登录账号
  25977. in: query
  25978. name: loginID
  25979. required: true
  25980. type: integer
  25981. produces:
  25982. - application/json
  25983. responses:
  25984. "200":
  25985. description: OK
  25986. schema:
  25987. $ref: '#/definitions/models.Funcmenulist'
  25988. "500":
  25989. description: Internal Server Error
  25990. schema:
  25991. $ref: '#/definitions/app.Response'
  25992. security:
  25993. - ApiKeyAuth: []
  25994. summary: 获取企业风管终端权限
  25995. tags:
  25996. - 企业风险管理(app)
  25997. /Ermcp/QueryAccMgrBizGroupSet:
  25998. get:
  25999. parameters:
  26000. - description: 用户ID
  26001. in: query
  26002. name: userid
  26003. required: true
  26004. type: integer
  26005. - description: 现货商品id
  26006. in: query
  26007. name: deliverygoodsid
  26008. type: integer
  26009. produces:
  26010. - application/json
  26011. responses:
  26012. "200":
  26013. description: OK
  26014. schema:
  26015. items:
  26016. $ref: '#/definitions/models.ErmcpBizGroupEx'
  26017. type: array
  26018. "500":
  26019. description: Internal Server Error
  26020. schema:
  26021. $ref: '#/definitions/app.Response'
  26022. security:
  26023. - ApiKeyAuth: []
  26024. summary: 查询业务类型分组(账户管理/账户设置)
  26025. tags:
  26026. - 企业风险管理(app)
  26027. /Ermcp/QueryAccMgrLoginUser:
  26028. get:
  26029. parameters:
  26030. - description: 用户ID
  26031. in: query
  26032. name: userid
  26033. required: true
  26034. type: integer
  26035. - description: 用户类型 2-机构 7-企业成员
  26036. in: query
  26037. name: usertype
  26038. type: integer
  26039. - description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  26040. in: query
  26041. name: querytype
  26042. required: true
  26043. type: integer
  26044. produces:
  26045. - application/json
  26046. responses:
  26047. "200":
  26048. description: OK
  26049. schema:
  26050. items:
  26051. $ref: '#/definitions/models.ErmcpLoginUserEx'
  26052. type: array
  26053. "500":
  26054. description: Internal Server Error
  26055. schema:
  26056. $ref: '#/definitions/app.Response'
  26057. security:
  26058. - ApiKeyAuth: []
  26059. summary: 查询账户管理登录账号(账户管理/登录账号)
  26060. tags:
  26061. - 企业风险管理(app)
  26062. /Ermcp/QueryAccMgrMainAccountInfo:
  26063. get:
  26064. parameters:
  26065. - description: 用户ID
  26066. in: query
  26067. name: userid
  26068. type: integer
  26069. - description: 主账号id
  26070. in: query
  26071. name: accountid
  26072. type: integer
  26073. produces:
  26074. - application/json
  26075. responses:
  26076. "200":
  26077. description: OK
  26078. schema:
  26079. items:
  26080. $ref: '#/definitions/models.MainAccountInfo'
  26081. type: array
  26082. "500":
  26083. description: Internal Server Error
  26084. schema:
  26085. $ref: '#/definitions/app.Response'
  26086. security:
  26087. - ApiKeyAuth: []
  26088. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  26089. tags:
  26090. - 企业风险管理(app)
  26091. /Ermcp/QueryAccMgrRole:
  26092. get:
  26093. parameters:
  26094. - description: 用户ID
  26095. in: query
  26096. name: userid
  26097. required: true
  26098. type: integer
  26099. produces:
  26100. - application/json
  26101. responses:
  26102. "200":
  26103. description: OK
  26104. schema:
  26105. items:
  26106. $ref: '#/definitions/models.ErmcpRole'
  26107. type: array
  26108. "500":
  26109. description: Internal Server Error
  26110. schema:
  26111. $ref: '#/definitions/app.Response'
  26112. security:
  26113. - ApiKeyAuth: []
  26114. summary: 查询账户管理角色设置(账户管理/角色设置)
  26115. tags:
  26116. - 企业风险管理(app)
  26117. /Ermcp/QueryAccMgrRoleMenu:
  26118. get:
  26119. parameters:
  26120. - description: 用户ID
  26121. in: query
  26122. name: userid
  26123. required: true
  26124. type: integer
  26125. - description: 角色id(可多个,逗号隔开)
  26126. in: query
  26127. name: roleid
  26128. type: string
  26129. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易 ps:新加的参数,为了兼容以前,不传则默认查3
  26130. in: query
  26131. name: menutype
  26132. type: integer
  26133. produces:
  26134. - application/json
  26135. responses:
  26136. "200":
  26137. description: OK
  26138. schema:
  26139. items:
  26140. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  26141. type: array
  26142. "500":
  26143. description: Internal Server Error
  26144. schema:
  26145. $ref: '#/definitions/app.Response'
  26146. security:
  26147. - ApiKeyAuth: []
  26148. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  26149. tags:
  26150. - 企业风险管理(app)
  26151. /Ermcp/QueryAccMgrTaAccountInfo:
  26152. get:
  26153. parameters:
  26154. - description: 用户ID
  26155. in: query
  26156. name: userid
  26157. required: true
  26158. type: integer
  26159. - description: 账号id
  26160. in: query
  26161. name: accountid
  26162. type: integer
  26163. produces:
  26164. - application/json
  26165. responses:
  26166. "200":
  26167. description: OK
  26168. schema:
  26169. items:
  26170. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  26171. type: array
  26172. "500":
  26173. description: Internal Server Error
  26174. schema:
  26175. $ref: '#/definitions/app.Response'
  26176. security:
  26177. - ApiKeyAuth: []
  26178. summary: 查询账户管理授信(账户管理/账户设置/授信)
  26179. tags:
  26180. - 企业风险管理(app)
  26181. /Ermcp/QueryAccMgrTaaccount:
  26182. get:
  26183. parameters:
  26184. - description: 用户ID
  26185. in: query
  26186. name: userid
  26187. required: true
  26188. type: integer
  26189. produces:
  26190. - application/json
  26191. responses:
  26192. "200":
  26193. description: OK
  26194. schema:
  26195. items:
  26196. $ref: '#/definitions/models.ErmcpTaAccountEx'
  26197. type: array
  26198. "500":
  26199. description: Internal Server Error
  26200. schema:
  26201. $ref: '#/definitions/app.Response'
  26202. security:
  26203. - ApiKeyAuth: []
  26204. summary: 查询账户管理期货账号(账户管理/期货账号)
  26205. tags:
  26206. - 企业风险管理(app)
  26207. /Ermcp/QueryAvaildGoodsGroup:
  26208. get:
  26209. parameters:
  26210. - description: 所属机构ID
  26211. in: query
  26212. name: userid
  26213. required: true
  26214. type: integer
  26215. produces:
  26216. - application/json
  26217. responses:
  26218. "200":
  26219. description: OK
  26220. schema:
  26221. items:
  26222. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  26223. type: array
  26224. "500":
  26225. description: Internal Server Error
  26226. schema:
  26227. $ref: '#/definitions/app.Response'
  26228. security:
  26229. - ApiKeyAuth: []
  26230. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  26231. tags:
  26232. - 企业风险管理(app)
  26233. /Ermcp/QueryBusinessDj:
  26234. get:
  26235. parameters:
  26236. - description: 用户ID
  26237. in: query
  26238. name: UserId
  26239. required: true
  26240. type: integer
  26241. - description: 用户类型 2-机构 7-企业成员
  26242. in: query
  26243. name: usertype
  26244. type: integer
  26245. - description: 现货合同ID, 不填则查所有
  26246. in: query
  26247. name: relatedid
  26248. type: string
  26249. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  26250. in: query
  26251. name: applystatus
  26252. type: string
  26253. produces:
  26254. - application/json
  26255. responses:
  26256. "200":
  26257. description: OK
  26258. schema:
  26259. items:
  26260. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  26261. type: array
  26262. "500":
  26263. description: Internal Server Error
  26264. schema:
  26265. $ref: '#/definitions/app.Response'
  26266. security:
  26267. - ApiKeyAuth: []
  26268. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  26269. tags:
  26270. - 企业风险管理(app)
  26271. /Ermcp/QueryBusinessFp:
  26272. get:
  26273. parameters:
  26274. - description: 用户ID
  26275. in: query
  26276. name: UserId
  26277. required: true
  26278. type: integer
  26279. - description: 用户类型 2-机构 7-企业成员
  26280. in: query
  26281. name: usertype
  26282. type: integer
  26283. - description: 现货合同ID, 不填则查所有
  26284. in: query
  26285. name: relatedid
  26286. type: string
  26287. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  26288. in: query
  26289. name: applystatus
  26290. type: string
  26291. produces:
  26292. - application/json
  26293. responses:
  26294. "200":
  26295. description: OK
  26296. schema:
  26297. items:
  26298. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  26299. type: array
  26300. "500":
  26301. description: Internal Server Error
  26302. schema:
  26303. $ref: '#/definitions/app.Response'
  26304. security:
  26305. - ApiKeyAuth: []
  26306. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  26307. tags:
  26308. - 企业风险管理(app)
  26309. /Ermcp/QueryBusinessJs:
  26310. get:
  26311. parameters:
  26312. - description: 用户ID
  26313. in: query
  26314. name: UserId
  26315. required: true
  26316. type: integer
  26317. - description: 用户类型 2-机构 7-企业成员
  26318. in: query
  26319. name: usertype
  26320. type: integer
  26321. - description: 现货合同ID, 不填则查所有
  26322. in: query
  26323. name: relatedid
  26324. type: string
  26325. - description: 操作申请id
  26326. in: query
  26327. name: operateapplyid
  26328. type: string
  26329. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  26330. in: query
  26331. name: applystatus
  26332. type: string
  26333. produces:
  26334. - application/json
  26335. responses:
  26336. "200":
  26337. description: OK
  26338. schema:
  26339. items:
  26340. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  26341. type: array
  26342. "500":
  26343. description: Internal Server Error
  26344. schema:
  26345. $ref: '#/definitions/app.Response'
  26346. security:
  26347. - ApiKeyAuth: []
  26348. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  26349. tags:
  26350. - 企业风险管理(app)
  26351. /Ermcp/QueryBusinessJsEx:
  26352. get:
  26353. parameters:
  26354. - description: 用户ID
  26355. in: query
  26356. name: UserId
  26357. required: true
  26358. type: integer
  26359. - description: 用户类型 2-机构 7-企业成员
  26360. in: query
  26361. name: usertype
  26362. type: integer
  26363. - description: 现货合同ID, 不填则查所有
  26364. in: query
  26365. name: relatedid
  26366. type: string
  26367. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  26368. in: query
  26369. name: applystatus
  26370. type: string
  26371. produces:
  26372. - application/json
  26373. responses:
  26374. "200":
  26375. description: OK
  26376. schema:
  26377. items:
  26378. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  26379. type: array
  26380. "500":
  26381. description: Internal Server Error
  26382. schema:
  26383. $ref: '#/definitions/app.Response'
  26384. security:
  26385. - ApiKeyAuth: []
  26386. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  26387. tags:
  26388. - 企业风险管理(app)
  26389. /Ermcp/QueryBusinessKx:
  26390. get:
  26391. parameters:
  26392. - description: 用户ID
  26393. in: query
  26394. name: UserId
  26395. required: true
  26396. type: integer
  26397. - description: 用户类型 2-机构 7-企业成员
  26398. in: query
  26399. name: usertype
  26400. type: integer
  26401. - description: 现货合同ID, 不填则查所有
  26402. in: query
  26403. name: relatedid
  26404. type: string
  26405. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  26406. in: query
  26407. name: applystatus
  26408. type: string
  26409. produces:
  26410. - application/json
  26411. responses:
  26412. "200":
  26413. description: OK
  26414. schema:
  26415. items:
  26416. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  26417. type: array
  26418. "500":
  26419. description: Internal Server Error
  26420. schema:
  26421. $ref: '#/definitions/app.Response'
  26422. security:
  26423. - ApiKeyAuth: []
  26424. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  26425. tags:
  26426. - 企业风险管理(app)
  26427. /Ermcp/QueryChangeLog:
  26428. get:
  26429. parameters:
  26430. - description: 合同ID
  26431. in: query
  26432. name: RelatedId
  26433. required: true
  26434. type: string
  26435. produces:
  26436. - application/json
  26437. responses:
  26438. "200":
  26439. description: OK
  26440. schema:
  26441. items:
  26442. $ref: '#/definitions/ermcp.QryOPLogRsp'
  26443. type: array
  26444. "500":
  26445. description: Internal Server Error
  26446. schema:
  26447. $ref: '#/definitions/app.Response'
  26448. security:
  26449. - ApiKeyAuth: []
  26450. summary: 查询变更记录
  26451. tags:
  26452. - 企业风险管理(app)
  26453. /Ermcp/QueryErmcpHisOrderDetails:
  26454. get:
  26455. parameters:
  26456. - description: 资金账户ID
  26457. in: query
  26458. name: accountID
  26459. required: true
  26460. type: integer
  26461. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  26462. in: query
  26463. name: startDate
  26464. type: string
  26465. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  26466. in: query
  26467. name: endDate
  26468. type: string
  26469. produces:
  26470. - application/json
  26471. responses:
  26472. "200":
  26473. description: OK
  26474. schema:
  26475. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  26476. "500":
  26477. description: Internal Server Error
  26478. schema:
  26479. $ref: '#/definitions/app.Response'
  26480. security:
  26481. - ApiKeyAuth: []
  26482. summary: 获取企业风管期货历史委托单信息
  26483. tags:
  26484. - 企业风险管理(app)
  26485. /Ermcp/QueryErmcpHisTradeDetails:
  26486. get:
  26487. parameters:
  26488. - description: 资金账户ID
  26489. in: query
  26490. name: accountID
  26491. required: true
  26492. type: integer
  26493. - description: 商品ID
  26494. in: query
  26495. name: goodsID
  26496. type: integer
  26497. - description: 买卖方向,0:买 1:卖
  26498. in: query
  26499. name: buyOrSell
  26500. type: integer
  26501. - description: 关联委托单号
  26502. in: query
  26503. name: orderID
  26504. type: integer
  26505. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  26506. in: query
  26507. name: startDate
  26508. type: string
  26509. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  26510. in: query
  26511. name: endDate
  26512. type: string
  26513. produces:
  26514. - application/json
  26515. responses:
  26516. "200":
  26517. description: OK
  26518. schema:
  26519. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  26520. "500":
  26521. description: Internal Server Error
  26522. schema:
  26523. $ref: '#/definitions/app.Response'
  26524. security:
  26525. - ApiKeyAuth: []
  26526. summary: 获取企业风管期货历史成交单信息
  26527. tags:
  26528. - 企业风险管理(app)
  26529. /Ermcp/QueryErmcpInnerHolderDetails:
  26530. get:
  26531. parameters:
  26532. - description: 资金账户ID
  26533. in: query
  26534. name: accountID
  26535. required: true
  26536. type: integer
  26537. - description: 商品ID
  26538. in: query
  26539. name: goodsID
  26540. type: integer
  26541. - description: 买卖方向,0:买 1:卖
  26542. in: query
  26543. name: buyOrSell
  26544. type: integer
  26545. produces:
  26546. - application/json
  26547. responses:
  26548. "200":
  26549. description: OK
  26550. schema:
  26551. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  26552. "500":
  26553. description: Internal Server Error
  26554. schema:
  26555. $ref: '#/definitions/app.Response'
  26556. security:
  26557. - ApiKeyAuth: []
  26558. summary: 获取企业风管期货内部持仓单信息
  26559. tags:
  26560. - 企业风险管理(app)
  26561. /Ermcp/QueryErmcpOrderDetails:
  26562. get:
  26563. parameters:
  26564. - description: 资金账户ID
  26565. in: query
  26566. name: accountID
  26567. required: true
  26568. type: integer
  26569. produces:
  26570. - application/json
  26571. responses:
  26572. "200":
  26573. description: OK
  26574. schema:
  26575. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  26576. "500":
  26577. description: Internal Server Error
  26578. schema:
  26579. $ref: '#/definitions/app.Response'
  26580. security:
  26581. - ApiKeyAuth: []
  26582. summary: 获取企业风管期货委托单信息
  26583. tags:
  26584. - 企业风险管理(app)
  26585. /Ermcp/QueryErmcpTradeDetails:
  26586. get:
  26587. parameters:
  26588. - description: 资金账户ID
  26589. in: query
  26590. name: accountID
  26591. required: true
  26592. type: integer
  26593. - description: 商品ID
  26594. in: query
  26595. name: goodsID
  26596. type: integer
  26597. - description: 买卖方向,0:买 1:卖
  26598. in: query
  26599. name: buyOrSell
  26600. type: integer
  26601. - description: 关联委托单号
  26602. in: query
  26603. name: orderID
  26604. type: integer
  26605. produces:
  26606. - application/json
  26607. responses:
  26608. "200":
  26609. description: OK
  26610. schema:
  26611. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  26612. "500":
  26613. description: Internal Server Error
  26614. schema:
  26615. $ref: '#/definitions/app.Response'
  26616. security:
  26617. - ApiKeyAuth: []
  26618. summary: 获取企业风管期货成交单信息
  26619. tags:
  26620. - 企业风险管理(app)
  26621. /Ermcp/QueryErmcpTradePosition:
  26622. get:
  26623. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  26624. parameters:
  26625. - description: 资金账户ID
  26626. in: query
  26627. name: accountID
  26628. required: true
  26629. type: integer
  26630. - description: 所属市场ID
  26631. in: query
  26632. name: marketID
  26633. type: integer
  26634. produces:
  26635. - application/json
  26636. responses:
  26637. "200":
  26638. description: OK
  26639. schema:
  26640. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  26641. "500":
  26642. description: Internal Server Error
  26643. schema:
  26644. $ref: '#/definitions/app.Response'
  26645. security:
  26646. - ApiKeyAuth: []
  26647. summary: 获取企业风管期货持仓头寸信息
  26648. tags:
  26649. - 企业风险管理(app)
  26650. /Ermcp/QueryExposureDetail:
  26651. get:
  26652. parameters:
  26653. - description: 所属机构ID
  26654. in: query
  26655. name: areaUserId
  26656. required: true
  26657. type: integer
  26658. - description: 套保商品
  26659. in: query
  26660. name: middleGoodsId
  26661. required: true
  26662. type: integer
  26663. produces:
  26664. - application/json
  26665. responses:
  26666. "200":
  26667. description: OK
  26668. schema:
  26669. items:
  26670. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  26671. type: array
  26672. "500":
  26673. description: Internal Server Error
  26674. schema:
  26675. $ref: '#/definitions/app.Response'
  26676. security:
  26677. - ApiKeyAuth: []
  26678. summary: 查询敞口现货明细
  26679. tags:
  26680. - 企业风险管理(app)
  26681. /Ermcp/QueryExposureGoods:
  26682. get:
  26683. parameters:
  26684. - description: 套保商品id
  26685. in: query
  26686. name: middlegoodsid
  26687. required: true
  26688. type: integer
  26689. produces:
  26690. - application/json
  26691. responses:
  26692. "200":
  26693. description: OK
  26694. schema:
  26695. items:
  26696. $ref: '#/definitions/models.ErmcpMiddlegoodsRelateGoods'
  26697. type: array
  26698. "500":
  26699. description: Internal Server Error
  26700. schema:
  26701. $ref: '#/definitions/app.Response'
  26702. security:
  26703. - ApiKeyAuth: []
  26704. summary: 查询敞口主力合约
  26705. tags:
  26706. - 企业风险管理(app)
  26707. /Ermcp/QueryExposureHedgePosition:
  26708. get:
  26709. parameters:
  26710. - description: 用户id
  26711. in: query
  26712. name: userid
  26713. required: true
  26714. type: integer
  26715. produces:
  26716. - application/json
  26717. responses:
  26718. "200":
  26719. description: OK
  26720. schema:
  26721. items:
  26722. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  26723. type: array
  26724. "500":
  26725. description: Internal Server Error
  26726. schema:
  26727. $ref: '#/definitions/app.Response'
  26728. security:
  26729. - ApiKeyAuth: []
  26730. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  26731. tags:
  26732. - 企业风险管理(app)
  26733. /Ermcp/QueryExposureHedgePositionDetail:
  26734. get:
  26735. parameters:
  26736. - description: 所属机构ID
  26737. in: query
  26738. name: userid
  26739. required: true
  26740. type: integer
  26741. - description: 商品id
  26742. in: query
  26743. name: goodsId
  26744. required: true
  26745. type: integer
  26746. produces:
  26747. - application/json
  26748. responses:
  26749. "200":
  26750. description: OK
  26751. schema:
  26752. items:
  26753. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  26754. type: array
  26755. "500":
  26756. description: Internal Server Error
  26757. schema:
  26758. $ref: '#/definitions/app.Response'
  26759. security:
  26760. - ApiKeyAuth: []
  26761. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  26762. tags:
  26763. - 企业风险管理(app)
  26764. /Ermcp/QueryExposureSpot:
  26765. get:
  26766. parameters:
  26767. - description: 所属机构ID
  26768. in: query
  26769. name: areaUserId
  26770. required: true
  26771. type: integer
  26772. produces:
  26773. - application/json
  26774. responses:
  26775. "200":
  26776. description: OK
  26777. schema:
  26778. items:
  26779. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  26780. type: array
  26781. "500":
  26782. description: Internal Server Error
  26783. schema:
  26784. $ref: '#/definitions/app.Response'
  26785. security:
  26786. - ApiKeyAuth: []
  26787. summary: 查询敞口现货头寸(敞口/现货头寸)
  26788. tags:
  26789. - 企业风险管理(app)
  26790. /Ermcp/QueryExposureSpotDetail:
  26791. get:
  26792. parameters:
  26793. - description: 所属机构ID
  26794. in: query
  26795. name: areaUserId
  26796. required: true
  26797. type: integer
  26798. - description: 现货品种ID
  26799. in: query
  26800. name: wrstandardId
  26801. required: true
  26802. type: integer
  26803. produces:
  26804. - application/json
  26805. responses:
  26806. "200":
  26807. description: OK
  26808. schema:
  26809. items:
  26810. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  26811. type: array
  26812. "500":
  26813. description: Internal Server Error
  26814. schema:
  26815. $ref: '#/definitions/app.Response'
  26816. security:
  26817. - ApiKeyAuth: []
  26818. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  26819. tags:
  26820. - 企业风险管理(app)
  26821. /Ermcp/QueryFuturesCompany:
  26822. get:
  26823. produces:
  26824. - application/json
  26825. responses:
  26826. "200":
  26827. description: OK
  26828. schema:
  26829. items:
  26830. $ref: '#/definitions/models.ErmcpFuturesCompany'
  26831. type: array
  26832. "500":
  26833. description: Internal Server Error
  26834. schema:
  26835. $ref: '#/definitions/app.Response'
  26836. security:
  26837. - ApiKeyAuth: []
  26838. summary: 查询期货公司
  26839. tags:
  26840. - 企业风险管理(app)
  26841. /Ermcp/QueryGGConvertConfig:
  26842. get:
  26843. parameters:
  26844. - description: 品种id(不填则查所有)
  26845. in: query
  26846. name: goodsgroupid
  26847. type: integer
  26848. produces:
  26849. - application/json
  26850. responses:
  26851. "200":
  26852. description: OK
  26853. schema:
  26854. items:
  26855. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  26856. type: array
  26857. "500":
  26858. description: Internal Server Error
  26859. schema:
  26860. $ref: '#/definitions/app.Response'
  26861. security:
  26862. - ApiKeyAuth: []
  26863. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  26864. tags:
  26865. - 企业风险管理(app)
  26866. /Ermcp/QueryGoodsBrand:
  26867. get:
  26868. parameters:
  26869. - description: 用户ID
  26870. in: query
  26871. name: userid
  26872. required: true
  26873. type: integer
  26874. - description: 现货商品ID
  26875. in: query
  26876. name: wrstandardid
  26877. type: integer
  26878. produces:
  26879. - application/json
  26880. responses:
  26881. "200":
  26882. description: OK
  26883. schema:
  26884. items:
  26885. $ref: '#/definitions/models.ErmcpGoodsBrand'
  26886. type: array
  26887. "500":
  26888. description: Internal Server Error
  26889. schema:
  26890. $ref: '#/definitions/app.Response'
  26891. security:
  26892. - ApiKeyAuth: []
  26893. summary: 查询商品品牌
  26894. tags:
  26895. - 企业风险管理(app)
  26896. /Ermcp/QueryGoodsModel:
  26897. get:
  26898. parameters:
  26899. - description: 用户ID
  26900. in: query
  26901. name: userid
  26902. required: true
  26903. type: integer
  26904. produces:
  26905. - application/json
  26906. responses:
  26907. "200":
  26908. description: OK
  26909. schema:
  26910. items:
  26911. $ref: '#/definitions/models.ErmcpGoodsModel'
  26912. type: array
  26913. "500":
  26914. description: Internal Server Error
  26915. schema:
  26916. $ref: '#/definitions/app.Response'
  26917. security:
  26918. - ApiKeyAuth: []
  26919. summary: 查询商品型号
  26920. tags:
  26921. - 企业风险管理(app)
  26922. /Ermcp/QueryHisExposure:
  26923. get:
  26924. parameters:
  26925. - description: 用户id
  26926. in: query
  26927. name: userid
  26928. required: true
  26929. type: integer
  26930. - description: 每个品种记录数
  26931. in: query
  26932. name: lastNum
  26933. required: true
  26934. type: integer
  26935. produces:
  26936. - application/json
  26937. responses:
  26938. "200":
  26939. description: OK
  26940. schema:
  26941. items:
  26942. $ref: '#/definitions/ermcp.HisExposureRsp'
  26943. type: array
  26944. "500":
  26945. description: Internal Server Error
  26946. schema:
  26947. $ref: '#/definitions/app.Response'
  26948. security:
  26949. - ApiKeyAuth: []
  26950. summary: 查询历史敞口(菜单:敞口/历史敞口)
  26951. tags:
  26952. - 企业风险管理(app)
  26953. /Ermcp/QueryMiddleGoods:
  26954. get:
  26955. parameters:
  26956. - description: 所属机构ID
  26957. in: query
  26958. name: userid
  26959. required: true
  26960. type: integer
  26961. - description: 状态 0-停用 1-正常
  26962. in: query
  26963. name: status
  26964. required: true
  26965. type: integer
  26966. produces:
  26967. - application/json
  26968. responses:
  26969. "200":
  26970. description: OK
  26971. schema:
  26972. items:
  26973. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  26974. type: array
  26975. "500":
  26976. description: Internal Server Error
  26977. schema:
  26978. $ref: '#/definitions/app.Response'
  26979. security:
  26980. - ApiKeyAuth: []
  26981. summary: 查询套保品种(菜单:套保品种)
  26982. tags:
  26983. - 企业风险管理(app)
  26984. /Ermcp/QueryMiddleGoodsChangeLog:
  26985. get:
  26986. parameters:
  26987. - description: 所属机构ID
  26988. in: query
  26989. name: userid
  26990. required: true
  26991. type: integer
  26992. - description: 套保品种id
  26993. in: query
  26994. name: middlegoodsid
  26995. required: true
  26996. type: integer
  26997. produces:
  26998. - application/json
  26999. responses:
  27000. "200":
  27001. description: OK
  27002. schema:
  27003. items:
  27004. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  27005. type: array
  27006. "500":
  27007. description: Internal Server Error
  27008. schema:
  27009. $ref: '#/definitions/app.Response'
  27010. security:
  27011. - ApiKeyAuth: []
  27012. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  27013. tags:
  27014. - 企业风险管理(app)
  27015. /Ermcp/QueryMiddleGoodsDetail:
  27016. get:
  27017. parameters:
  27018. - description: 所属机构ID
  27019. in: query
  27020. name: userid
  27021. required: true
  27022. type: integer
  27023. - description: 套保品种id
  27024. in: query
  27025. name: middlegoodsid
  27026. type: integer
  27027. produces:
  27028. - application/json
  27029. responses:
  27030. "200":
  27031. description: OK
  27032. schema:
  27033. items:
  27034. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  27035. type: array
  27036. "500":
  27037. description: Internal Server Error
  27038. schema:
  27039. $ref: '#/definitions/app.Response'
  27040. security:
  27041. - ApiKeyAuth: []
  27042. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  27043. tags:
  27044. - 企业风险管理(app)
  27045. /Ermcp/QueryPendingAuditInfo:
  27046. get:
  27047. parameters:
  27048. - description: 用户ID
  27049. in: query
  27050. name: UserId
  27051. required: true
  27052. type: integer
  27053. produces:
  27054. - application/json
  27055. responses:
  27056. "200":
  27057. description: OK
  27058. schema:
  27059. items:
  27060. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  27061. type: array
  27062. "500":
  27063. description: Internal Server Error
  27064. schema:
  27065. $ref: '#/definitions/app.Response'
  27066. security:
  27067. - ApiKeyAuth: []
  27068. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  27069. tags:
  27070. - 企业风险管理(app)
  27071. /Ermcp/QueryRealtimeExposure:
  27072. get:
  27073. parameters:
  27074. - description: 所属机构ID
  27075. in: query
  27076. name: userid
  27077. required: true
  27078. type: integer
  27079. produces:
  27080. - application/json
  27081. responses:
  27082. "200":
  27083. description: OK
  27084. schema:
  27085. items:
  27086. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  27087. type: array
  27088. "500":
  27089. description: Internal Server Error
  27090. schema:
  27091. $ref: '#/definitions/app.Response'
  27092. security:
  27093. - ApiKeyAuth: []
  27094. summary: 查询实时敞口
  27095. tags:
  27096. - 企业风险管理(app)
  27097. /Ermcp/QueryRealtimeExposurePosition:
  27098. get:
  27099. parameters:
  27100. - description: 用户id
  27101. in: query
  27102. name: userid
  27103. required: true
  27104. type: integer
  27105. - description: 套保商品ID
  27106. in: query
  27107. name: middleGoodsId
  27108. required: true
  27109. type: integer
  27110. produces:
  27111. - application/json
  27112. responses:
  27113. "200":
  27114. description: OK
  27115. schema:
  27116. items:
  27117. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  27118. type: array
  27119. "500":
  27120. description: Internal Server Error
  27121. schema:
  27122. $ref: '#/definitions/app.Response'
  27123. security:
  27124. - ApiKeyAuth: []
  27125. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  27126. tags:
  27127. - 企业风险管理(app)
  27128. /Ermcp/QueryRoleMenu:
  27129. get:
  27130. parameters:
  27131. - description: 登录ID
  27132. in: query
  27133. name: loginid
  27134. required: true
  27135. type: integer
  27136. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易
  27137. in: query
  27138. name: menutype
  27139. type: integer
  27140. produces:
  27141. - application/json
  27142. responses:
  27143. "200":
  27144. description: OK
  27145. schema:
  27146. items:
  27147. $ref: '#/definitions/models.RoleMenu'
  27148. type: array
  27149. "500":
  27150. description: Internal Server Error
  27151. schema:
  27152. $ref: '#/definitions/app.Response'
  27153. security:
  27154. - ApiKeyAuth: []
  27155. summary: 查询角色菜单和权限
  27156. tags:
  27157. - 企业风险管理(app)
  27158. /Ermcp/QueryTradeConfigTMP:
  27159. get:
  27160. parameters:
  27161. - description: 所属机构id
  27162. in: query
  27163. name: areauserid
  27164. type: integer
  27165. produces:
  27166. - application/json
  27167. responses:
  27168. "200":
  27169. description: OK
  27170. schema:
  27171. items:
  27172. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  27173. type: array
  27174. "500":
  27175. description: Internal Server Error
  27176. schema:
  27177. $ref: '#/definitions/app.Response'
  27178. security:
  27179. - ApiKeyAuth: []
  27180. summary: 查询交易模板配置
  27181. tags:
  27182. - 企业风险管理(app)
  27183. /Ermcp/QueryUserInfo:
  27184. get:
  27185. parameters:
  27186. - description: 所属机构用户ID
  27187. in: query
  27188. name: MemberUserID
  27189. required: true
  27190. type: integer
  27191. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  27192. in: query
  27193. name: queryType
  27194. required: true
  27195. type: integer
  27196. produces:
  27197. - application/json
  27198. responses:
  27199. "200":
  27200. description: OK
  27201. schema:
  27202. items:
  27203. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  27204. type: array
  27205. "500":
  27206. description: Internal Server Error
  27207. schema:
  27208. $ref: '#/definitions/app.Response'
  27209. security:
  27210. - ApiKeyAuth: []
  27211. summary: 查询客户资料
  27212. tags:
  27213. - 企业风险管理(app)
  27214. /Ermcp/QueryWarehouseInfo:
  27215. get:
  27216. parameters:
  27217. - description: 用户ID
  27218. in: query
  27219. name: userid
  27220. required: true
  27221. type: integer
  27222. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  27223. in: query
  27224. name: status
  27225. type: string
  27226. produces:
  27227. - application/json
  27228. responses:
  27229. "200":
  27230. description: OK
  27231. schema:
  27232. items:
  27233. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  27234. type: array
  27235. "500":
  27236. description: Internal Server Error
  27237. schema:
  27238. $ref: '#/definitions/app.Response'
  27239. security:
  27240. - ApiKeyAuth: []
  27241. summary: 查询仓库信息
  27242. tags:
  27243. - 企业风险管理(app)
  27244. /Ermcp3/QryAreaExpourseContractDetail:
  27245. get:
  27246. parameters:
  27247. - description: 用户ID
  27248. in: query
  27249. name: userid
  27250. required: true
  27251. type: integer
  27252. - description: 套保商品id
  27253. in: query
  27254. name: middlegoodsid
  27255. required: true
  27256. type: integer
  27257. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  27258. in: query
  27259. name: cycletype
  27260. required: true
  27261. type: integer
  27262. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  27263. 全(0)【原值】
  27264. in: query
  27265. name: cycletime
  27266. required: true
  27267. type: string
  27268. produces:
  27269. - application/json
  27270. responses:
  27271. "200":
  27272. description: OK
  27273. schema:
  27274. items:
  27275. $ref: '#/definitions/models.Ermcp3ExposureContractDetail'
  27276. type: array
  27277. "500":
  27278. description: Internal Server Error
  27279. schema:
  27280. $ref: '#/definitions/app.Response'
  27281. security:
  27282. - ApiKeyAuth: []
  27283. summary: 查询敞口合同明细(敞口报表/现货合同明细)
  27284. tags:
  27285. - 企业风险管理v3(app)
  27286. /Ermcp3/QryAreaExpourseFutuDetail:
  27287. get:
  27288. parameters:
  27289. - description: 用户ID
  27290. in: query
  27291. name: userid
  27292. required: true
  27293. type: integer
  27294. - description: 套保商品id
  27295. in: query
  27296. name: middlegoodsid
  27297. required: true
  27298. type: integer
  27299. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  27300. in: query
  27301. name: cycletype
  27302. required: true
  27303. type: integer
  27304. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  27305. 全(0)【原值】
  27306. in: query
  27307. name: cycletime
  27308. required: true
  27309. type: string
  27310. produces:
  27311. - application/json
  27312. responses:
  27313. "200":
  27314. description: OK
  27315. schema:
  27316. items:
  27317. $ref: '#/definitions/models.Ermcp3ExposureFutuDetail'
  27318. type: array
  27319. "500":
  27320. description: Internal Server Error
  27321. schema:
  27322. $ref: '#/definitions/app.Response'
  27323. security:
  27324. - ApiKeyAuth: []
  27325. summary: 查询敞口期货明细(敞口报表/期货明细)
  27326. tags:
  27327. - 企业风险管理v3(app)
  27328. /Ermcp3/QryAreaExpourseHedgeplanDetail:
  27329. get:
  27330. parameters:
  27331. - description: 用户ID
  27332. in: query
  27333. name: userid
  27334. required: true
  27335. type: integer
  27336. - description: 套保商品id
  27337. in: query
  27338. name: middlegoodsid
  27339. required: true
  27340. type: integer
  27341. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  27342. in: query
  27343. name: cycletype
  27344. required: true
  27345. type: integer
  27346. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  27347. 全(0)【原值】
  27348. in: query
  27349. name: cycletime
  27350. required: true
  27351. type: string
  27352. produces:
  27353. - application/json
  27354. responses:
  27355. "200":
  27356. description: OK
  27357. schema:
  27358. items:
  27359. $ref: '#/definitions/models.Ermcp3ExposureHedgeplanDetail'
  27360. type: array
  27361. "500":
  27362. description: Internal Server Error
  27363. schema:
  27364. $ref: '#/definitions/app.Response'
  27365. security:
  27366. - ApiKeyAuth: []
  27367. summary: 查询敞口套保计划明细(敞口报表/套保计划明细)
  27368. tags:
  27369. - 企业风险管理v3(app)
  27370. /Ermcp3/QryAreaExpourseParamChLogDetail:
  27371. get:
  27372. parameters:
  27373. - description: 用户ID
  27374. in: query
  27375. name: userid
  27376. required: true
  27377. type: integer
  27378. - description: 套保商品id
  27379. in: query
  27380. name: middlegoodsid
  27381. required: true
  27382. type: integer
  27383. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  27384. in: query
  27385. name: cycletype
  27386. required: true
  27387. type: integer
  27388. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  27389. 全(0)【原值】
  27390. in: query
  27391. name: cycletime
  27392. required: true
  27393. type: string
  27394. produces:
  27395. - application/json
  27396. responses:
  27397. "200":
  27398. description: OK
  27399. schema:
  27400. items:
  27401. $ref: '#/definitions/models.Ermcp3ExposureParamChLog'
  27402. type: array
  27403. "500":
  27404. description: Internal Server Error
  27405. schema:
  27406. $ref: '#/definitions/app.Response'
  27407. security:
  27408. - ApiKeyAuth: []
  27409. summary: 查询敞口参数调整明细(敞口报表/参数调整明细)
  27410. tags:
  27411. - 企业风险管理v3(app)
  27412. /Ermcp3/QryAreaExpourseReport:
  27413. get:
  27414. parameters:
  27415. - description: 用户ID
  27416. in: query
  27417. name: userid
  27418. required: true
  27419. type: integer
  27420. - description: 查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口
  27421. in: query
  27422. name: querytype
  27423. required: true
  27424. type: integer
  27425. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  27426. in: query
  27427. name: cycletype
  27428. required: true
  27429. type: integer
  27430. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  27431. 全(0)【原值】
  27432. in: query
  27433. name: cycletime
  27434. required: true
  27435. type: string
  27436. produces:
  27437. - application/json
  27438. responses:
  27439. "200":
  27440. description: OK
  27441. schema:
  27442. items:
  27443. $ref: '#/definitions/models.Ermcp3ExpourseReport'
  27444. type: array
  27445. "500":
  27446. description: Internal Server Error
  27447. schema:
  27448. $ref: '#/definitions/app.Response'
  27449. security:
  27450. - ApiKeyAuth: []
  27451. summary: 查询敞口报表
  27452. tags:
  27453. - 企业风险管理v3(app)
  27454. /Ermcp3/QryAreaSpotplReport:
  27455. get:
  27456. description: 目前pcweb的日/周/月报表与手机端的汇总维度不同, 所以增加了可选参数sumflag参数, pcweb请填1
  27457. parameters:
  27458. - description: 用户ID
  27459. in: query
  27460. name: userid
  27461. required: true
  27462. type: integer
  27463. - description: 查询类型 1-报表 2-报表明细
  27464. in: query
  27465. name: querytype
  27466. required: true
  27467. type: integer
  27468. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  27469. in: query
  27470. name: cycletype
  27471. required: true
  27472. type: integer
  27473. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  27474. 全(0)【原值】
  27475. in: query
  27476. name: cycletime
  27477. required: true
  27478. type: string
  27479. - description: 现货品种id(明细必填)
  27480. in: query
  27481. name: deliverygoodsid
  27482. type: integer
  27483. - description: 币种id(明细必填)
  27484. in: query
  27485. name: currencyid
  27486. type: integer
  27487. - description: 日/周/月报表汇总维度 1:品种+品类
  27488. in: query
  27489. name: sumflag
  27490. type: integer
  27491. produces:
  27492. - application/json
  27493. responses:
  27494. "200":
  27495. description: OK
  27496. schema:
  27497. items:
  27498. $ref: '#/definitions/models.Ermcp3AreaSpotPLReport'
  27499. type: array
  27500. "500":
  27501. description: Internal Server Error
  27502. schema:
  27503. $ref: '#/definitions/app.Response'
  27504. security:
  27505. - ApiKeyAuth: []
  27506. summary: 查询现货报表
  27507. tags:
  27508. - 企业风险管理v3(app)
  27509. /Ermcp3/QryAreaStockReport:
  27510. get:
  27511. parameters:
  27512. - description: 用户ID
  27513. in: query
  27514. name: userid
  27515. required: true
  27516. type: integer
  27517. - description: 查询类型 1-报表 2-报表明细
  27518. in: query
  27519. name: querytype
  27520. required: true
  27521. type: integer
  27522. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  27523. in: query
  27524. name: cycletype
  27525. required: true
  27526. type: integer
  27527. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  27528. 全(0)【原值】
  27529. in: query
  27530. name: cycletime
  27531. required: true
  27532. type: string
  27533. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库
  27534. in: query
  27535. name: sumfields
  27536. type: string
  27537. - description: 品种ID
  27538. in: query
  27539. name: deliverygoodsid
  27540. type: integer
  27541. - description: 品类ID
  27542. in: query
  27543. name: wrstandardid
  27544. type: integer
  27545. - description: 品牌ID
  27546. in: query
  27547. name: spotgoodsbrandid
  27548. type: integer
  27549. - description: 仓库ID
  27550. in: query
  27551. name: warehouseinfoid
  27552. type: integer
  27553. produces:
  27554. - application/json
  27555. responses:
  27556. "200":
  27557. description: OK
  27558. schema:
  27559. items:
  27560. $ref: '#/definitions/models.Ermcp3AreaStockReportEx'
  27561. type: array
  27562. "500":
  27563. description: Internal Server Error
  27564. schema:
  27565. $ref: '#/definitions/app.Response'
  27566. security:
  27567. - ApiKeyAuth: []
  27568. summary: 查询库存报表
  27569. tags:
  27570. - 企业风险管理v3(app)
  27571. /Ermcp3/QryAreaSumPL:
  27572. get:
  27573. parameters:
  27574. - description: 用户ID
  27575. in: query
  27576. name: userid
  27577. required: true
  27578. type: integer
  27579. - description: 查询类型 1-报表 2-报表明细
  27580. in: query
  27581. name: querytype
  27582. required: true
  27583. type: integer
  27584. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  27585. in: query
  27586. name: cycletype
  27587. required: true
  27588. type: integer
  27589. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  27590. 全(0)【原值】
  27591. in: query
  27592. name: cycletime
  27593. required: true
  27594. type: string
  27595. - description: 币种id(明细必填)
  27596. in: query
  27597. name: currencyid
  27598. type: integer
  27599. - description: 套保品种ID, 查询类型为2时起效
  27600. in: query
  27601. name: middlegoodsid
  27602. type: integer
  27603. produces:
  27604. - application/json
  27605. responses:
  27606. "200":
  27607. description: OK
  27608. schema:
  27609. items:
  27610. $ref: '#/definitions/models.Ermcp3ArealSumPL'
  27611. type: array
  27612. "500":
  27613. description: Internal Server Error
  27614. schema:
  27615. $ref: '#/definitions/app.Response'
  27616. security:
  27617. - ApiKeyAuth: []
  27618. summary: 查询汇总损益表
  27619. tags:
  27620. - 企业风险管理v3(app)
  27621. /Ermcp3/QryFinanceReport:
  27622. get:
  27623. parameters:
  27624. - description: 用户ID
  27625. in: query
  27626. name: userid
  27627. required: true
  27628. type: integer
  27629. - description: 查询类型 1-报表 2-报表明细
  27630. in: query
  27631. name: querytype
  27632. required: true
  27633. type: integer
  27634. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  27635. in: query
  27636. name: cycletype
  27637. required: true
  27638. type: integer
  27639. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  27640. 全(0)【原值】
  27641. in: query
  27642. name: cycletime
  27643. required: true
  27644. type: string
  27645. - description: 币种id(报表明细必填)
  27646. in: query
  27647. name: currencyid
  27648. type: integer
  27649. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌
  27650. in: query
  27651. name: sumfields
  27652. type: string
  27653. produces:
  27654. - application/json
  27655. responses:
  27656. "200":
  27657. description: OK
  27658. schema:
  27659. items:
  27660. $ref: '#/definitions/models.Ermcp3FinanceReport'
  27661. type: array
  27662. "500":
  27663. description: Internal Server Error
  27664. schema:
  27665. $ref: '#/definitions/app.Response'
  27666. security:
  27667. - ApiKeyAuth: []
  27668. summary: 查询财务报表
  27669. tags:
  27670. - 企业风险管理v3(app)
  27671. /Ermcp3/QrySCMiddleGoodsReport:
  27672. get:
  27673. parameters:
  27674. - description: 用户ID
  27675. in: query
  27676. name: userid
  27677. required: true
  27678. type: integer
  27679. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  27680. in: query
  27681. name: cycletype
  27682. required: true
  27683. type: integer
  27684. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  27685. 全(0)【原值】
  27686. in: query
  27687. name: cycletime
  27688. required: true
  27689. type: string
  27690. - description: 合同id
  27691. in: query
  27692. name: spotcontractid
  27693. type: integer
  27694. - description: 套保品种id
  27695. in: query
  27696. name: middlegoodsid
  27697. type: integer
  27698. - description: 现货品种id
  27699. in: query
  27700. name: deliverygoodsid
  27701. type: integer
  27702. - description: 现货商品id
  27703. in: query
  27704. name: wrstandardid
  27705. type: integer
  27706. - description: 合同编号(模糊匹配)
  27707. in: query
  27708. name: contractno
  27709. type: string
  27710. produces:
  27711. - application/json
  27712. responses:
  27713. "200":
  27714. description: OK
  27715. schema:
  27716. items:
  27717. $ref: '#/definitions/models.Ermcp3SCMiddleGoodsReport'
  27718. type: array
  27719. "500":
  27720. description: Internal Server Error
  27721. schema:
  27722. $ref: '#/definitions/app.Response'
  27723. security:
  27724. - ApiKeyAuth: []
  27725. summary: 查询定价报表
  27726. tags:
  27727. - 企业风险管理v3(app)
  27728. /Ermcp3/QryTaFutureDataReport:
  27729. get:
  27730. parameters:
  27731. - description: 用户ID
  27732. in: query
  27733. name: userid
  27734. required: true
  27735. type: integer
  27736. - description: 查询类型 1-报表 2-报表明细
  27737. in: query
  27738. name: querytype
  27739. required: true
  27740. type: integer
  27741. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  27742. in: query
  27743. name: cycletype
  27744. required: true
  27745. type: integer
  27746. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  27747. 全(0)【原值】
  27748. in: query
  27749. name: cycletime
  27750. required: true
  27751. type: string
  27752. - description: 币种id(查明细必填)
  27753. in: query
  27754. name: currencyid
  27755. type: integer
  27756. - description: 品种id(查明细必填)
  27757. in: query
  27758. name: goodsgroupid
  27759. type: integer
  27760. - description: 商品id(查明细必填)
  27761. in: query
  27762. name: goodsid
  27763. type: integer
  27764. - description: 买卖方向(查明细必填)
  27765. in: query
  27766. name: buyorsell
  27767. type: integer
  27768. produces:
  27769. - application/json
  27770. responses:
  27771. "200":
  27772. description: OK
  27773. schema:
  27774. items:
  27775. $ref: '#/definitions/models.Ermcp3TaFutuReDataReport'
  27776. type: array
  27777. "500":
  27778. description: Internal Server Error
  27779. schema:
  27780. $ref: '#/definitions/app.Response'
  27781. security:
  27782. - ApiKeyAuth: []
  27783. summary: 查询期货报表
  27784. tags:
  27785. - 企业风险管理v3(app)
  27786. /Ermcp3/QueryAreaStock:
  27787. get:
  27788. parameters:
  27789. - description: 用户ID
  27790. in: query
  27791. name: userid
  27792. required: true
  27793. type: integer
  27794. produces:
  27795. - application/json
  27796. responses:
  27797. "200":
  27798. description: OK
  27799. schema:
  27800. items:
  27801. $ref: '#/definitions/models.Ermcp3AreaStock'
  27802. type: array
  27803. "500":
  27804. description: Internal Server Error
  27805. schema:
  27806. $ref: '#/definitions/app.Response'
  27807. security:
  27808. - ApiKeyAuth: []
  27809. summary: 查询机构库存(库存管理/当前库存)
  27810. tags:
  27811. - 企业风险管理v3(app)
  27812. /Ermcp3/QueryAreaStockApply:
  27813. get:
  27814. parameters:
  27815. - description: 用户ID
  27816. in: query
  27817. name: userid
  27818. required: true
  27819. type: integer
  27820. - description: 用户类型 2-机构 7-企业成员
  27821. in: query
  27822. name: usertype
  27823. type: integer
  27824. - description: 现货商品ID
  27825. in: query
  27826. name: deliverygoodsid
  27827. type: integer
  27828. - description: 出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  27829. in: query
  27830. name: inouttype
  27831. type: string
  27832. - description: 合同ID
  27833. in: query
  27834. name: spotcontractid
  27835. type: integer
  27836. - description: 品类ID
  27837. in: query
  27838. name: wrstandardid
  27839. type: integer
  27840. - description: 品牌ID
  27841. in: query
  27842. name: spotgoodsbrandid
  27843. type: integer
  27844. - description: 仓库ID
  27845. in: query
  27846. name: warehouseinfoid
  27847. type: integer
  27848. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  27849. in: query
  27850. name: applystatus
  27851. type: string
  27852. produces:
  27853. - application/json
  27854. responses:
  27855. "200":
  27856. description: OK
  27857. schema:
  27858. items:
  27859. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  27860. type: array
  27861. "500":
  27862. description: Internal Server Error
  27863. schema:
  27864. $ref: '#/definitions/app.Response'
  27865. security:
  27866. - ApiKeyAuth: []
  27867. summary: 查询库存申请(出入库记录|库存审核)
  27868. tags:
  27869. - 企业风险管理v3(app)
  27870. /Ermcp3/QueryAreaStockApplySum:
  27871. get:
  27872. parameters:
  27873. - description: 合同ID
  27874. in: query
  27875. name: spotcontractid
  27876. required: true
  27877. type: integer
  27878. produces:
  27879. - application/json
  27880. responses:
  27881. "200":
  27882. description: OK
  27883. schema:
  27884. items:
  27885. $ref: '#/definitions/models.Ermcp3AreaStockApplySum'
  27886. type: array
  27887. "500":
  27888. description: Internal Server Error
  27889. schema:
  27890. $ref: '#/definitions/app.Response'
  27891. security:
  27892. - ApiKeyAuth: []
  27893. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  27894. tags:
  27895. - 企业风险管理v3(app)
  27896. /Ermcp3/QueryDGFactoryItem:
  27897. get:
  27898. parameters:
  27899. - description: 用户id
  27900. in: query
  27901. name: userid
  27902. type: integer
  27903. - description: 用户类型 2-机构 7-企业成员
  27904. in: query
  27905. name: usertype
  27906. type: integer
  27907. - description: 选择项ID(SEQ_DGFACTORYITEM)
  27908. in: query
  27909. name: dgfactoryitemid
  27910. type: integer
  27911. - description: 现货品种ID
  27912. in: query
  27913. name: deliverygoodsid
  27914. type: integer
  27915. - description: 要素项类型
  27916. in: query
  27917. name: dgfactoryitemtypeid
  27918. type: integer
  27919. - description: 顺序
  27920. in: query
  27921. name: orderindex
  27922. type: integer
  27923. produces:
  27924. - application/json
  27925. responses:
  27926. "200":
  27927. description: OK
  27928. schema:
  27929. items:
  27930. $ref: '#/definitions/models.ErmcpDGFactoryItem'
  27931. type: array
  27932. "500":
  27933. description: Internal Server Error
  27934. schema:
  27935. $ref: '#/definitions/app.Response'
  27936. security:
  27937. - ApiKeyAuth: []
  27938. summary: 查询品种要素定义项
  27939. tags:
  27940. - 企业风险管理v3(app)
  27941. /Ermcp3/QueryDeliveryGoods:
  27942. get:
  27943. parameters:
  27944. - description: 用户id
  27945. in: query
  27946. name: userid
  27947. required: true
  27948. type: integer
  27949. - description: 用户类型 2-机构 7-企业成员
  27950. in: query
  27951. name: usertype
  27952. type: integer
  27953. - description: 排除已配置的业务类型商品 1-套保 2-套利
  27954. in: query
  27955. name: excludecfg
  27956. type: integer
  27957. produces:
  27958. - application/json
  27959. responses:
  27960. "200":
  27961. description: OK
  27962. schema:
  27963. items:
  27964. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  27965. type: array
  27966. "500":
  27967. description: Internal Server Error
  27968. schema:
  27969. $ref: '#/definitions/app.Response'
  27970. security:
  27971. - ApiKeyAuth: []
  27972. summary: 查询现货商品
  27973. tags:
  27974. - 企业风险管理v3(app)
  27975. /Ermcp3/QueryDeliveryGoodsDetail:
  27976. get:
  27977. parameters:
  27978. - description: 用户id
  27979. in: query
  27980. name: userid
  27981. required: true
  27982. type: integer
  27983. - description: 用户类型 2-机构 7-企业成员
  27984. in: query
  27985. name: usertype
  27986. type: integer
  27987. - description: 现货商品id
  27988. in: query
  27989. name: deliverygoodsid
  27990. type: integer
  27991. - description: 过滤下级为空, 1-过滤. 比如 品种大豆的下级品类列表为空, 则大豆不显示; 比如品类的下级套保品列表为空, 则该品类不显示
  27992. in: query
  27993. name: filtersubempty
  27994. type: integer
  27995. produces:
  27996. - application/json
  27997. responses:
  27998. "200":
  27999. description: OK
  28000. schema:
  28001. items:
  28002. $ref: '#/definitions/models.XHDeliveryGoods'
  28003. type: array
  28004. "500":
  28005. description: Internal Server Error
  28006. schema:
  28007. $ref: '#/definitions/app.Response'
  28008. security:
  28009. - ApiKeyAuth: []
  28010. summary: 查询现货商品详情
  28011. tags:
  28012. - 企业风险管理v3(app)
  28013. /Ermcp3/QueryErmcp3ContractMiddleGoodsCfg:
  28014. get:
  28015. parameters:
  28016. - description: 合同id
  28017. in: query
  28018. name: spotcontractid
  28019. required: true
  28020. type: string
  28021. produces:
  28022. - application/json
  28023. responses:
  28024. "200":
  28025. description: OK
  28026. schema:
  28027. items:
  28028. $ref: '#/definitions/models.Ermcp3ContractMiddleGoodsCfg'
  28029. type: array
  28030. "500":
  28031. description: Internal Server Error
  28032. schema:
  28033. $ref: '#/definitions/app.Response'
  28034. security:
  28035. - ApiKeyAuth: []
  28036. summary: 查询现货合同期现配置信息
  28037. tags:
  28038. - 企业风险管理v3(app)
  28039. /Ermcp3/QueryExposureDetail:
  28040. get:
  28041. parameters:
  28042. - description: 用户id
  28043. in: query
  28044. name: userid
  28045. required: true
  28046. type: integer
  28047. - description: 用户类型 2-机构 7-企业成员
  28048. in: query
  28049. name: usertype
  28050. type: integer
  28051. - description: 套保商品
  28052. in: query
  28053. name: middlegoodsid
  28054. required: true
  28055. type: integer
  28056. produces:
  28057. - application/json
  28058. responses:
  28059. "200":
  28060. description: OK
  28061. schema:
  28062. items:
  28063. $ref: '#/definitions/models.Ermcp3ExposureDetail'
  28064. type: array
  28065. "500":
  28066. description: Internal Server Error
  28067. schema:
  28068. $ref: '#/definitions/app.Response'
  28069. security:
  28070. - ApiKeyAuth: []
  28071. summary: 查询敞口现货明细
  28072. tags:
  28073. - 企业风险管理v3(app)
  28074. /Ermcp3/QueryExposureSpot:
  28075. get:
  28076. parameters:
  28077. - description: 用户id
  28078. in: query
  28079. name: userid
  28080. required: true
  28081. type: integer
  28082. - description: 用户类型 2-机构 7-企业成员
  28083. in: query
  28084. name: usertype
  28085. type: integer
  28086. produces:
  28087. - application/json
  28088. responses:
  28089. "200":
  28090. description: OK
  28091. schema:
  28092. items:
  28093. $ref: '#/definitions/models.Ermcp3AreaSpot'
  28094. type: array
  28095. "500":
  28096. description: Internal Server Error
  28097. schema:
  28098. $ref: '#/definitions/app.Response'
  28099. security:
  28100. - ApiKeyAuth: []
  28101. summary: 查询敞口现货头寸(敞口/现货头寸)
  28102. tags:
  28103. - 企业风险管理v3(app)
  28104. /Ermcp3/QueryExposureSpotDetail:
  28105. get:
  28106. parameters:
  28107. - description: 用户id
  28108. in: query
  28109. name: userid
  28110. required: true
  28111. type: integer
  28112. - description: 用户类型 2-机构 7-企业成员
  28113. in: query
  28114. name: usertype
  28115. type: integer
  28116. - description: 现货商品ID
  28117. in: query
  28118. name: wrstandardid
  28119. required: true
  28120. type: integer
  28121. produces:
  28122. - application/json
  28123. responses:
  28124. "200":
  28125. description: OK
  28126. schema:
  28127. items:
  28128. $ref: '#/definitions/models.Ermcp3AreaSpotDetail'
  28129. type: array
  28130. "500":
  28131. description: Internal Server Error
  28132. schema:
  28133. $ref: '#/definitions/app.Response'
  28134. security:
  28135. - ApiKeyAuth: []
  28136. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  28137. tags:
  28138. - 企业风险管理v3(app)
  28139. /Ermcp3/QueryGoodsGroup:
  28140. get:
  28141. parameters:
  28142. - description: 用户id
  28143. in: query
  28144. name: userid
  28145. required: true
  28146. type: integer
  28147. - description: 用户类型 2-机构 7-企业成员
  28148. in: query
  28149. name: usertype
  28150. type: integer
  28151. - description: 排除套保品中已关联的商品组 1-排除
  28152. in: query
  28153. name: excludecfg
  28154. type: integer
  28155. produces:
  28156. - application/json
  28157. responses:
  28158. "200":
  28159. description: OK
  28160. schema:
  28161. items:
  28162. $ref: '#/definitions/models.Ermcp3GoodsGroup'
  28163. type: array
  28164. "500":
  28165. description: Internal Server Error
  28166. schema:
  28167. $ref: '#/definitions/app.Response'
  28168. security:
  28169. - ApiKeyAuth: []
  28170. summary: 查询期货商品组
  28171. tags:
  28172. - 企业风险管理v3(app)
  28173. /Ermcp3/QueryGoodsWrstandard:
  28174. get:
  28175. parameters:
  28176. - description: 用户id
  28177. in: query
  28178. name: userid
  28179. required: true
  28180. type: integer
  28181. - description: 用户类型 2-机构 7-企业成员
  28182. in: query
  28183. name: usertype
  28184. type: integer
  28185. - description: 现货商品id
  28186. in: query
  28187. name: deliverygoodsid
  28188. type: integer
  28189. produces:
  28190. - application/json
  28191. responses:
  28192. "200":
  28193. description: OK
  28194. schema:
  28195. items:
  28196. $ref: '#/definitions/models.Ermcp3Wrstandard'
  28197. type: array
  28198. "500":
  28199. description: Internal Server Error
  28200. schema:
  28201. $ref: '#/definitions/app.Response'
  28202. security:
  28203. - ApiKeyAuth: []
  28204. summary: 查询商品品类
  28205. tags:
  28206. - 企业风险管理v3(app)
  28207. /Ermcp3/QueryGoodsbrand:
  28208. get:
  28209. parameters:
  28210. - description: 用户id
  28211. in: query
  28212. name: userid
  28213. required: true
  28214. type: integer
  28215. - description: 用户类型 2-机构 7-企业成员
  28216. in: query
  28217. name: usertype
  28218. type: integer
  28219. produces:
  28220. - application/json
  28221. responses:
  28222. "200":
  28223. description: OK
  28224. schema:
  28225. items:
  28226. $ref: '#/definitions/models.Ermcp3Brand'
  28227. type: array
  28228. "500":
  28229. description: Internal Server Error
  28230. schema:
  28231. $ref: '#/definitions/app.Response'
  28232. security:
  28233. - ApiKeyAuth: []
  28234. summary: 查询商品品牌
  28235. tags:
  28236. - 企业风险管理v3(app)
  28237. /Ermcp3/QueryHPMiddleGoods:
  28238. get:
  28239. parameters:
  28240. - description: 用户ID(填登录用户的userid)
  28241. in: query
  28242. name: userid
  28243. required: true
  28244. type: integer
  28245. - description: 买卖方向 0-买 1-卖
  28246. in: query
  28247. name: buyorsell
  28248. required: true
  28249. type: integer
  28250. - description: 商品组id
  28251. in: query
  28252. name: goodsgroupid
  28253. required: true
  28254. type: integer
  28255. - description: 套保计划编号(模糊匹配)
  28256. in: query
  28257. name: hedgeplanno
  28258. type: string
  28259. - description: 现货商品名称(模糊匹配)
  28260. in: query
  28261. name: wrstandardname
  28262. type: string
  28263. produces:
  28264. - application/json
  28265. responses:
  28266. "200":
  28267. description: OK
  28268. schema:
  28269. items:
  28270. $ref: '#/definitions/models.Ermcp3HPMiddleGoods'
  28271. type: array
  28272. "500":
  28273. description: Internal Server Error
  28274. schema:
  28275. $ref: '#/definitions/app.Response'
  28276. security:
  28277. - ApiKeyAuth: []
  28278. summary: 查询可关联套保计划
  28279. tags:
  28280. - 企业风险管理v3(app)
  28281. /Ermcp3/QueryHedgePlan:
  28282. get:
  28283. parameters:
  28284. - description: 用户ID
  28285. in: query
  28286. name: userid
  28287. required: true
  28288. type: integer
  28289. - description: 用户类型 2-机构 7-企业成员
  28290. in: query
  28291. name: usertype
  28292. type: integer
  28293. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  28294. in: query
  28295. name: hedgeplanstatus
  28296. required: true
  28297. type: string
  28298. produces:
  28299. - application/json
  28300. responses:
  28301. "200":
  28302. description: OK
  28303. schema:
  28304. items:
  28305. $ref: '#/definitions/models.Ermcp3HedgePlan'
  28306. type: array
  28307. "500":
  28308. description: Internal Server Error
  28309. schema:
  28310. $ref: '#/definitions/app.Response'
  28311. security:
  28312. - ApiKeyAuth: []
  28313. summary: 查询套保计划
  28314. tags:
  28315. - 企业风险管理v3(app)
  28316. /Ermcp3/QueryInnerTradeLink:
  28317. get:
  28318. description: 页面 app 现货->期现关联->外部成交单关联->点"解除关联"按钮->解除外部关联的页面信息
  28319. parameters:
  28320. - description: 外部成交单号
  28321. in: query
  28322. name: outtradeid
  28323. required: true
  28324. type: integer
  28325. produces:
  28326. - application/json
  28327. responses:
  28328. "200":
  28329. description: OK
  28330. schema:
  28331. items:
  28332. $ref: '#/definitions/models.Ermcp3InnerTradeLink'
  28333. type: array
  28334. "500":
  28335. description: Internal Server Error
  28336. schema:
  28337. $ref: '#/definitions/app.Response'
  28338. security:
  28339. - ApiKeyAuth: []
  28340. summary: 查询外部成交单关联的内部单信息(在解除外部关联页面使用)
  28341. tags:
  28342. - 企业风险管理v3(app)
  28343. /Ermcp3/QueryMiddleGoodsDetail:
  28344. get:
  28345. parameters:
  28346. - description: 用户id
  28347. in: query
  28348. name: userid
  28349. required: true
  28350. type: integer
  28351. - description: 用户类型 2-机构 7-企业成员
  28352. in: query
  28353. name: usertype
  28354. type: integer
  28355. - description: 套保品种id
  28356. in: query
  28357. name: middlegoodsid
  28358. type: integer
  28359. produces:
  28360. - application/json
  28361. responses:
  28362. "200":
  28363. description: OK
  28364. schema:
  28365. items:
  28366. $ref: '#/definitions/models.TBMiddleGoods'
  28367. type: array
  28368. "500":
  28369. description: Internal Server Error
  28370. schema:
  28371. $ref: '#/definitions/app.Response'
  28372. security:
  28373. - ApiKeyAuth: []
  28374. summary: 查询套保品种详情(套保品种/商品详情)
  28375. tags:
  28376. - 企业风险管理v3(app)
  28377. /Ermcp3/QueryOutTradeLink:
  28378. get:
  28379. description: 页面 app 现货->期现关联->外部成交单关联
  28380. parameters:
  28381. - description: 用户ID(填登录用户的userid)
  28382. in: query
  28383. name: userid
  28384. required: true
  28385. type: integer
  28386. - description: 外部订单号(模糊匹配)
  28387. in: query
  28388. name: outtradeid
  28389. type: string
  28390. - description: 合约名称/代码(模糊匹配)
  28391. in: query
  28392. name: goodsname
  28393. type: string
  28394. - description: 关联状态 0-未关联 1-已关联
  28395. in: query
  28396. name: hasinnerorder
  28397. type: integer
  28398. produces:
  28399. - application/json
  28400. responses:
  28401. "200":
  28402. description: OK
  28403. schema:
  28404. items:
  28405. $ref: '#/definitions/models.Ermcp3OutTradeLink'
  28406. type: array
  28407. "500":
  28408. description: Internal Server Error
  28409. schema:
  28410. $ref: '#/definitions/app.Response'
  28411. security:
  28412. - ApiKeyAuth: []
  28413. summary: 查询外部成交单关联
  28414. tags:
  28415. - 企业风险管理v3(app)
  28416. /Ermcp3/QueryPaAreaAuditCfg:
  28417. get:
  28418. parameters:
  28419. - description: 用户id
  28420. in: query
  28421. name: userid
  28422. required: true
  28423. type: integer
  28424. produces:
  28425. - application/json
  28426. responses:
  28427. "200":
  28428. description: OK
  28429. schema:
  28430. items:
  28431. $ref: '#/definitions/models.Ermcp3PaAreaAuditCfg'
  28432. type: array
  28433. "500":
  28434. description: Internal Server Error
  28435. schema:
  28436. $ref: '#/definitions/app.Response'
  28437. security:
  28438. - ApiKeyAuth: []
  28439. summary: 查询审核设置
  28440. tags:
  28441. - 企业风险管理v3(app)
  28442. /Ermcp3/QueryPaAreaSubject:
  28443. get:
  28444. parameters:
  28445. - description: 用户id
  28446. in: query
  28447. name: userid
  28448. required: true
  28449. type: integer
  28450. - description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  28451. in: query
  28452. name: subjectid
  28453. type: integer
  28454. - description: 主体类型 - 1:交易主体 2:业务部门
  28455. in: query
  28456. name: subjecttype
  28457. type: integer
  28458. - description: '主体状态 - 1:正常 2: 停用'
  28459. in: query
  28460. name: subjectstatus
  28461. type: integer
  28462. produces:
  28463. - application/json
  28464. responses:
  28465. "200":
  28466. description: OK
  28467. schema:
  28468. items:
  28469. $ref: '#/definitions/models.Ermcp3PaAreaSubject'
  28470. type: array
  28471. "500":
  28472. description: Internal Server Error
  28473. schema:
  28474. $ref: '#/definitions/app.Response'
  28475. security:
  28476. - ApiKeyAuth: []
  28477. summary: 查询交易主体
  28478. tags:
  28479. - 企业风险管理v3(app)
  28480. /Ermcp3/QueryPaTradeLink:
  28481. get:
  28482. description: 页面 app 现货->期现关联->期现单据关联
  28483. parameters:
  28484. - description: 用户ID
  28485. in: query
  28486. name: userid
  28487. required: true
  28488. type: integer
  28489. produces:
  28490. - application/json
  28491. responses:
  28492. "200":
  28493. description: OK
  28494. schema:
  28495. items:
  28496. $ref: '#/definitions/models.Ermcp3PaTradeLink'
  28497. type: array
  28498. "500":
  28499. description: Internal Server Error
  28500. schema:
  28501. $ref: '#/definitions/app.Response'
  28502. security:
  28503. - ApiKeyAuth: []
  28504. summary: 查询期现单据关联
  28505. tags:
  28506. - 企业风险管理v3(app)
  28507. /Ermcp3/QueryPaTradeLinkDetail:
  28508. get:
  28509. description: 页面 app 现货->期现关联->关联记录
  28510. parameters:
  28511. - description: 用户ID(填登录用户的userid)
  28512. in: query
  28513. name: userid
  28514. required: true
  28515. type: integer
  28516. - description: 关联状态 1:成功 2:失败 3:解绑
  28517. in: query
  28518. name: linkstatus
  28519. type: integer
  28520. - description: 期货订单号(模糊匹配)
  28521. in: query
  28522. name: tradeid
  28523. type: string
  28524. - description: 现货编号(模糊匹配)
  28525. in: query
  28526. name: contractno
  28527. type: string
  28528. - description: 期货账户(模糊匹配)
  28529. in: query
  28530. name: taname
  28531. type: string
  28532. produces:
  28533. - application/json
  28534. responses:
  28535. "200":
  28536. description: OK
  28537. schema:
  28538. items:
  28539. $ref: '#/definitions/models.Ermcp3TradeLinkDetail'
  28540. type: array
  28541. "500":
  28542. description: Internal Server Error
  28543. schema:
  28544. $ref: '#/definitions/app.Response'
  28545. security:
  28546. - ApiKeyAuth: []
  28547. summary: 查询期现关联记录
  28548. tags:
  28549. - 企业风险管理v3(app)
  28550. /Ermcp3/QueryParamChangeApp:
  28551. get:
  28552. description: |-
  28553. 原型页面:
  28554. 1.商品信息->商品参数修改流水-> 增值税税率 | 折算系数 | 成本权重; 流水页面查申请状态为“审核通过”的记录
  28555. 2.风管审核->套保比例审核 | 折算系数审核 | 增值税税率审核 | 成本权重审核
  28556. parameters:
  28557. - description: 用户ID
  28558. in: query
  28559. name: userid
  28560. required: true
  28561. type: integer
  28562. - description: 现货品种id
  28563. in: query
  28564. name: deliverygoodsid
  28565. type: integer
  28566. - description: 现货商品id
  28567. in: query
  28568. name: wrstandardid
  28569. type: integer
  28570. - description: 套保商品id
  28571. in: query
  28572. name: middlegoodsid
  28573. type: integer
  28574. - description: 操作类型 1:新增 2:修改
  28575. in: query
  28576. name: operatetype
  28577. type: integer
  28578. - description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  28579. in: query
  28580. name: paramchangetype
  28581. type: integer
  28582. - description: 申请状态(逗号隔开,如1,2,3) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  28583. in: query
  28584. name: ftstatus
  28585. type: string
  28586. produces:
  28587. - application/json
  28588. responses:
  28589. "200":
  28590. description: OK
  28591. schema:
  28592. items:
  28593. $ref: '#/definitions/models.Ermcp3ParamChangeApp'
  28594. type: array
  28595. "500":
  28596. description: Internal Server Error
  28597. schema:
  28598. $ref: '#/definitions/app.Response'
  28599. security:
  28600. - ApiKeyAuth: []
  28601. summary: 查询现货商品参数变更申请(流水)
  28602. tags:
  28603. - 企业风险管理v3(app)
  28604. /Ermcp3/QueryRootUserAccount:
  28605. get:
  28606. parameters:
  28607. - description: 用户ID
  28608. in: query
  28609. name: userid
  28610. required: true
  28611. type: integer
  28612. produces:
  28613. - application/json
  28614. responses:
  28615. "200":
  28616. description: OK
  28617. schema:
  28618. items:
  28619. $ref: '#/definitions/models.Ermcp3RootUserAccount'
  28620. type: array
  28621. "500":
  28622. description: Internal Server Error
  28623. schema:
  28624. $ref: '#/definitions/app.Response'
  28625. security:
  28626. - ApiKeyAuth: []
  28627. summary: 查询顶级用户信息
  28628. tags:
  28629. - 企业风险管理v3(app)
  28630. /Ermcp3/QuerySCMiddleGoods:
  28631. get:
  28632. description: |-
  28633. 页面 app 现货->期现关联->期现单据关联->点"关联"按钮->弹出界面 : 现货订单
  28634. 现货编号 即 合同编号
  28635. parameters:
  28636. - description: 用户ID(填登录用户的userid)
  28637. in: query
  28638. name: userid
  28639. required: true
  28640. type: integer
  28641. - description: 买卖方向 0-买 1-卖
  28642. in: query
  28643. name: buyorsell
  28644. required: true
  28645. type: integer
  28646. - description: 商品组id
  28647. in: query
  28648. name: goodsgroupid
  28649. required: true
  28650. type: integer
  28651. - description: 业务类型 1:套保 2:套利
  28652. in: query
  28653. name: biztype
  28654. type: integer
  28655. - description: 现货编号(模糊匹配)
  28656. in: query
  28657. name: contractno
  28658. type: string
  28659. - description: 对手方(模糊匹配)
  28660. in: query
  28661. name: customername
  28662. type: string
  28663. - description: 现货商品名称(模糊匹配)
  28664. in: query
  28665. name: wrstandardname
  28666. type: string
  28667. produces:
  28668. - application/json
  28669. responses:
  28670. "200":
  28671. description: OK
  28672. schema:
  28673. items:
  28674. $ref: '#/definitions/models.Ermcp3SCMiddleGoods'
  28675. type: array
  28676. "500":
  28677. description: Internal Server Error
  28678. schema:
  28679. $ref: '#/definitions/app.Response'
  28680. security:
  28681. - ApiKeyAuth: []
  28682. summary: 查询现货订单
  28683. tags:
  28684. - 企业风险管理v3(app)
  28685. /Ermcp3/QuerySpotContract:
  28686. get:
  28687. parameters:
  28688. - description: 用户id(当指定contractid, userid可不填)
  28689. in: query
  28690. name: userid
  28691. required: true
  28692. type: integer
  28693. - description: 用户类型 2-机构 7-企业成员
  28694. in: query
  28695. name: usertype
  28696. type: integer
  28697. - description: 合同类型 1-采购, -1-销售
  28698. in: query
  28699. name: contracttype
  28700. type: integer
  28701. - description: 查询类型(逗号隔开, 如1,2,3) 1-未提交 2-待审核 3-履约中 4-已完成
  28702. in: query
  28703. name: querytype
  28704. type: string
  28705. - description: 合同ID(SpotContractId)
  28706. in: query
  28707. name: contractid
  28708. type: string
  28709. - description: 合同编号(模糊匹配)
  28710. in: query
  28711. name: contractno
  28712. type: string
  28713. - description: 商品名称(模糊匹配)
  28714. in: query
  28715. name: wrstandardname
  28716. type: string
  28717. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中
  28718. 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  28719. in: query
  28720. name: status
  28721. type: string
  28722. - description: 是否只查今日的合同 1-查今日合同
  28723. in: query
  28724. name: istoday
  28725. type: integer
  28726. produces:
  28727. - application/json
  28728. responses:
  28729. "200":
  28730. description: OK
  28731. schema:
  28732. items:
  28733. $ref: '#/definitions/models.Ermcp3Contract'
  28734. type: array
  28735. "500":
  28736. description: Internal Server Error
  28737. schema:
  28738. $ref: '#/definitions/app.Response'
  28739. security:
  28740. - ApiKeyAuth: []
  28741. summary: 查询现货合同
  28742. tags:
  28743. - 企业风险管理v3(app)
  28744. /Ermcp3/QuerySpotContractBS:
  28745. get:
  28746. parameters:
  28747. - description: 用户id
  28748. in: query
  28749. name: userid
  28750. required: true
  28751. type: integer
  28752. - description: 用户类型 2-机构 7-企业成员
  28753. in: query
  28754. name: usertype
  28755. type: integer
  28756. - description: 合同类型 1-采购, -1-销售
  28757. in: query
  28758. name: contracttype
  28759. required: true
  28760. type: integer
  28761. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  28762. in: query
  28763. name: querytype
  28764. type: integer
  28765. - description: 合同ID(SpotContractId)
  28766. in: query
  28767. name: contractid
  28768. type: string
  28769. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中
  28770. 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  28771. in: query
  28772. name: status
  28773. type: string
  28774. - description: 是否只查今日的合同 1-查今日合同
  28775. in: query
  28776. name: istoday
  28777. type: integer
  28778. produces:
  28779. - application/json
  28780. responses:
  28781. "200":
  28782. description: OK
  28783. schema:
  28784. items:
  28785. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  28786. type: array
  28787. "500":
  28788. description: Internal Server Error
  28789. schema:
  28790. $ref: '#/definitions/app.Response'
  28791. security:
  28792. - ApiKeyAuth: []
  28793. summary: 查询合同(采购/销售)
  28794. tags:
  28795. - 企业风险管理v3(app)
  28796. /Ermcp3/QuerySpotGoodsPrice:
  28797. get:
  28798. parameters:
  28799. - description: 用户ID
  28800. in: query
  28801. name: userid
  28802. required: true
  28803. type: integer
  28804. produces:
  28805. - application/json
  28806. responses:
  28807. "200":
  28808. description: OK
  28809. schema:
  28810. items:
  28811. $ref: '#/definitions/models.Ermcp3SpotGoodsPrice'
  28812. type: array
  28813. "500":
  28814. description: Internal Server Error
  28815. schema:
  28816. $ref: '#/definitions/app.Response'
  28817. security:
  28818. - ApiKeyAuth: []
  28819. summary: 查询现货市价(现货市价)
  28820. tags:
  28821. - 企业风险管理v3(app)
  28822. /Ermcp3/QuerySpotGoodsPriceLog:
  28823. get:
  28824. parameters:
  28825. - description: 用户ID
  28826. in: query
  28827. name: userid
  28828. required: true
  28829. type: integer
  28830. - description: 现货商品ID
  28831. in: query
  28832. name: deliverygoodsid
  28833. required: true
  28834. type: integer
  28835. - description: 品牌ID
  28836. in: query
  28837. name: brandid
  28838. type: integer
  28839. - description: 品类ID
  28840. in: query
  28841. name: wrstandardid
  28842. type: integer
  28843. produces:
  28844. - application/json
  28845. responses:
  28846. "200":
  28847. description: OK
  28848. schema:
  28849. items:
  28850. $ref: '#/definitions/models.Ermcp3SpotGoodsPriceLog'
  28851. type: array
  28852. "500":
  28853. description: Internal Server Error
  28854. schema:
  28855. $ref: '#/definitions/app.Response'
  28856. security:
  28857. - ApiKeyAuth: []
  28858. summary: 查询现货市价详情(现货市价/详情)
  28859. tags:
  28860. - 企业风险管理v3(app)
  28861. /Ermcp3/QuerySubTaaccount:
  28862. get:
  28863. description: 页面 app 现货->期现关联->外部成交单关联->点"关联"按钮->选择期货子账户
  28864. parameters:
  28865. - description: 母账号id
  28866. in: query
  28867. name: parentaccountid
  28868. type: integer
  28869. - description: 母账号代码
  28870. in: query
  28871. name: parentaccountcode
  28872. type: string
  28873. produces:
  28874. - application/json
  28875. responses:
  28876. "200":
  28877. description: OK
  28878. schema:
  28879. items:
  28880. $ref: '#/definitions/models.Ermcp3SubTaaccount'
  28881. type: array
  28882. "500":
  28883. description: Internal Server Error
  28884. schema:
  28885. $ref: '#/definitions/app.Response'
  28886. security:
  28887. - ApiKeyAuth: []
  28888. summary: 查询期货子账户
  28889. tags:
  28890. - 企业风险管理v3(app)
  28891. /Ermcp8/QueryERMCP2HedgedItemSpotDetail:
  28892. get:
  28893. parameters:
  28894. - description: 套期项目ID
  28895. in: query
  28896. name: hedgeditemid
  28897. required: true
  28898. type: integer
  28899. produces:
  28900. - application/json
  28901. responses:
  28902. "200":
  28903. description: OK
  28904. schema:
  28905. items:
  28906. $ref: '#/definitions/models.Ermcp2hedgeditemspotDetail'
  28907. type: array
  28908. "500":
  28909. description: Internal Server Error
  28910. schema:
  28911. $ref: '#/definitions/app.Response'
  28912. security:
  28913. - ApiKeyAuth: []
  28914. summary: 现货成交明细查询
  28915. tags:
  28916. - 企业风险管理v8
  28917. /Ermcp8/QueryERMCP2HedgedItemspot:
  28918. get:
  28919. parameters:
  28920. - description: 套期项目ID
  28921. in: query
  28922. name: hedgeditemid
  28923. required: true
  28924. type: integer
  28925. produces:
  28926. - application/json
  28927. responses:
  28928. "200":
  28929. description: OK
  28930. schema:
  28931. items:
  28932. $ref: '#/definitions/models.Ermcp2hedgeditemspot'
  28933. type: array
  28934. "500":
  28935. description: Internal Server Error
  28936. schema:
  28937. $ref: '#/definitions/app.Response'
  28938. security:
  28939. - ApiKeyAuth: []
  28940. summary: 套期计划明细查询
  28941. tags:
  28942. - 企业风险管理v8
  28943. /Ermcp8/QueryERMCPJRLinkPos:
  28944. get:
  28945. parameters:
  28946. - description: 套期项目ID
  28947. in: query
  28948. name: hedgeditemid
  28949. required: true
  28950. type: integer
  28951. produces:
  28952. - application/json
  28953. responses:
  28954. "200":
  28955. description: OK
  28956. schema:
  28957. items:
  28958. $ref: '#/definitions/models.Ermcpjrlinkpos'
  28959. type: array
  28960. "500":
  28961. description: Internal Server Error
  28962. schema:
  28963. $ref: '#/definitions/app.Response'
  28964. security:
  28965. - ApiKeyAuth: []
  28966. summary: 期货持仓明细查询
  28967. tags:
  28968. - 企业风险管理v8
  28969. /Ermcp8/QueryERMCPPatradeLinkDetail:
  28970. get:
  28971. parameters:
  28972. - description: 套期项目ID
  28973. in: query
  28974. name: hedgeditemid
  28975. required: true
  28976. type: integer
  28977. produces:
  28978. - application/json
  28979. responses:
  28980. "200":
  28981. description: OK
  28982. schema:
  28983. items:
  28984. $ref: '#/definitions/models.Ermcppatradelinkdetail'
  28985. type: array
  28986. "500":
  28987. description: Internal Server Error
  28988. schema:
  28989. $ref: '#/definitions/app.Response'
  28990. security:
  28991. - ApiKeyAuth: []
  28992. summary: 期货成交单明细查询
  28993. tags:
  28994. - 企业风险管理v8
  28995. /Ermcp8/QueryErmcp2AreaExposure:
  28996. get:
  28997. parameters:
  28998. - description: 用户ID
  28999. in: query
  29000. name: userid
  29001. required: true
  29002. type: string
  29003. produces:
  29004. - application/json
  29005. responses:
  29006. "200":
  29007. description: OK
  29008. schema:
  29009. items:
  29010. $ref: '#/definitions/models.Ermcp2AreaExposure'
  29011. type: array
  29012. "500":
  29013. description: Internal Server Error
  29014. schema:
  29015. $ref: '#/definitions/app.Response'
  29016. security:
  29017. - ApiKeyAuth: []
  29018. summary: 企业敞口查询
  29019. tags:
  29020. - 企业风险管理v8
  29021. /Ermcp8/QueryErmcp2HedgedItem:
  29022. get:
  29023. description: 已完成项目查询 -> 项目状态 = 3:正常完结 or 5:异常完结
  29024. parameters:
  29025. - description: 用户ID
  29026. in: query
  29027. name: userid
  29028. required: true
  29029. type: string
  29030. - description: 套期类型 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  29031. in: query
  29032. name: hedgedtype
  29033. type: integer
  29034. - description: 项目状态 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  29035. in: query
  29036. name: hedgeditemstatus
  29037. type: integer
  29038. produces:
  29039. - application/json
  29040. responses:
  29041. "200":
  29042. description: OK
  29043. schema:
  29044. items:
  29045. $ref: '#/definitions/models.Ermcp2hedgeditem'
  29046. type: array
  29047. "500":
  29048. description: Internal Server Error
  29049. schema:
  29050. $ref: '#/definitions/app.Response'
  29051. security:
  29052. - ApiKeyAuth: []
  29053. summary: 查询被套期项目信息
  29054. tags:
  29055. - 企业风险管理v8
  29056. /Ermcp8/QueryErmcp2HedgedItemLink:
  29057. get:
  29058. parameters:
  29059. - description: 现货合同ID
  29060. in: query
  29061. name: spotcontractid
  29062. required: true
  29063. type: integer
  29064. produces:
  29065. - application/json
  29066. responses:
  29067. "200":
  29068. description: OK
  29069. schema:
  29070. items:
  29071. $ref: '#/definitions/models.Ermcp2hedgeditemlink'
  29072. type: array
  29073. "500":
  29074. description: Internal Server Error
  29075. schema:
  29076. $ref: '#/definitions/app.Response'
  29077. security:
  29078. - ApiKeyAuth: []
  29079. summary: 现货合同关联被套期项目查询
  29080. tags:
  29081. - 企业风险管理v8
  29082. /Ermcp8/QueryErmcp2HedgedItemsDetail:
  29083. get:
  29084. parameters:
  29085. - description: 用户ID
  29086. in: query
  29087. name: userid
  29088. required: true
  29089. type: integer
  29090. - description: 套保品种ID
  29091. in: query
  29092. name: middlegoodsid
  29093. required: true
  29094. type: integer
  29095. produces:
  29096. - application/json
  29097. responses:
  29098. "200":
  29099. description: OK
  29100. schema:
  29101. items:
  29102. $ref: '#/definitions/models.Ermcp2hedgeditemsDetail'
  29103. type: array
  29104. "500":
  29105. description: Internal Server Error
  29106. schema:
  29107. $ref: '#/definitions/app.Response'
  29108. security:
  29109. - ApiKeyAuth: []
  29110. summary: 敞口明细 - 计划变动明细
  29111. tags:
  29112. - 企业风险管理v8
  29113. /Ermcp8/QueryErmcp2StockSpotChangeLog:
  29114. get:
  29115. parameters:
  29116. - description: 用户ID
  29117. in: query
  29118. name: userid
  29119. required: true
  29120. type: integer
  29121. - description: 套保品种ID
  29122. in: query
  29123. name: middlegoodsid
  29124. required: true
  29125. type: integer
  29126. produces:
  29127. - application/json
  29128. responses:
  29129. "200":
  29130. description: OK
  29131. schema:
  29132. items:
  29133. $ref: '#/definitions/models.Ermcp2stockspotchangelog'
  29134. type: array
  29135. "500":
  29136. description: Internal Server Error
  29137. schema:
  29138. $ref: '#/definitions/app.Response'
  29139. security:
  29140. - ApiKeyAuth: []
  29141. summary: 敞口明细 - 现货变动明细查询
  29142. tags:
  29143. - 企业风险管理v8
  29144. /Ermcp8/QueryErmcp8EnableHedgeditem:
  29145. get:
  29146. parameters:
  29147. - description: 用户ID
  29148. in: query
  29149. name: userid
  29150. required: true
  29151. type: integer
  29152. - description: 现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  29153. in: query
  29154. name: spottype
  29155. required: true
  29156. type: integer
  29157. - description: 现货商品ID
  29158. in: query
  29159. name: wrstandardid
  29160. type: integer
  29161. produces:
  29162. - application/json
  29163. responses:
  29164. "200":
  29165. description: OK
  29166. schema:
  29167. items:
  29168. $ref: '#/definitions/models.Ermcp8EnableHedgeditem'
  29169. type: array
  29170. "500":
  29171. description: Internal Server Error
  29172. schema:
  29173. $ref: '#/definitions/app.Response'
  29174. security:
  29175. - ApiKeyAuth: []
  29176. summary: 可关联项目查询
  29177. tags:
  29178. - 企业风险管理v8
  29179. /Ermcp8/QueryErmcp8HedgeditemReport:
  29180. get:
  29181. parameters:
  29182. - description: 用户ID
  29183. in: query
  29184. name: userid
  29185. required: true
  29186. type: integer
  29187. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  29188. in: query
  29189. name: cycletype
  29190. type: integer
  29191. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  29192. 全(0)【原值】
  29193. in: query
  29194. name: cycletime
  29195. required: true
  29196. type: string
  29197. - description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  29198. in: query
  29199. name: hedgedtype
  29200. type: integer
  29201. - description: 项目状态 - 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  29202. in: query
  29203. name: hedgeditemstatus
  29204. type: integer
  29205. - description: 项目编号,模糊查询
  29206. in: query
  29207. name: hedgeditemnum
  29208. type: string
  29209. - description: 现货商品ID
  29210. in: query
  29211. name: wrstandardid
  29212. type: integer
  29213. produces:
  29214. - application/json
  29215. responses:
  29216. "200":
  29217. description: OK
  29218. schema:
  29219. items:
  29220. $ref: '#/definitions/models.Ermcp8HedgeditemReport'
  29221. type: array
  29222. "500":
  29223. description: Internal Server Error
  29224. schema:
  29225. $ref: '#/definitions/app.Response'
  29226. security:
  29227. - ApiKeyAuth: []
  29228. summary: 套期项目报表查询
  29229. tags:
  29230. - 企业风险管理v8
  29231. /Ermcp8/QueryErmcp8RunningHedgeditem:
  29232. get:
  29233. parameters:
  29234. - description: 用户ID
  29235. in: query
  29236. name: userid
  29237. required: true
  29238. type: string
  29239. produces:
  29240. - application/json
  29241. responses:
  29242. "200":
  29243. description: OK
  29244. schema:
  29245. items:
  29246. $ref: '#/definitions/models.Ermcp8RunningHedgeditem'
  29247. type: array
  29248. "500":
  29249. description: Internal Server Error
  29250. schema:
  29251. $ref: '#/definitions/app.Response'
  29252. security:
  29253. - ApiKeyAuth: []
  29254. summary: 查询执行中项目查询信息
  29255. tags:
  29256. - 企业风险管理v8
  29257. /Ermcp8/QueryInternalEnableTradeDetail:
  29258. get:
  29259. parameters:
  29260. - description: 企业ID
  29261. in: query
  29262. name: areauserid
  29263. required: true
  29264. type: integer
  29265. - description: 期货合约ID
  29266. in: query
  29267. name: goodsid
  29268. required: true
  29269. type: integer
  29270. - description: 交易用户ID
  29271. in: query
  29272. name: tradeuserid
  29273. required: true
  29274. type: integer
  29275. produces:
  29276. - application/json
  29277. responses:
  29278. "200":
  29279. description: OK
  29280. schema:
  29281. items:
  29282. $ref: '#/definitions/models.InternalEnableTradeDetail'
  29283. type: array
  29284. "500":
  29285. description: Internal Server Error
  29286. schema:
  29287. $ref: '#/definitions/app.Response'
  29288. security:
  29289. - ApiKeyAuth: []
  29290. summary: 内部成交单可关联项目查询
  29291. tags:
  29292. - 企业风险管理v8
  29293. /Ermcp8/QueryInternalUncorrelatedTradeDetail:
  29294. get:
  29295. parameters:
  29296. - description: 用户编号
  29297. in: query
  29298. name: userid
  29299. required: true
  29300. type: integer
  29301. - description: 起始日期(格式yyyymmdd)
  29302. in: query
  29303. name: begindate
  29304. type: string
  29305. - description: 终止日期(格式yyyymmdd)
  29306. in: query
  29307. name: enddate
  29308. type: string
  29309. - description: 合约代码
  29310. in: query
  29311. name: goodscode
  29312. type: string
  29313. - description: 合约名称
  29314. in: query
  29315. name: goodsname
  29316. type: string
  29317. - description: 成交单号
  29318. in: query
  29319. name: tradeid
  29320. type: integer
  29321. - description: 方向 - 0:买 1:卖
  29322. in: query
  29323. name: buyorsell
  29324. type: integer
  29325. - description: 套期主体
  29326. in: query
  29327. name: accountname
  29328. type: string
  29329. produces:
  29330. - application/json
  29331. responses:
  29332. "200":
  29333. description: OK
  29334. schema:
  29335. items:
  29336. $ref: '#/definitions/models.InternalUncorrelatedTradeDetail'
  29337. type: array
  29338. "500":
  29339. description: Internal Server Error
  29340. schema:
  29341. $ref: '#/definitions/app.Response'
  29342. security:
  29343. - ApiKeyAuth: []
  29344. summary: 内部未关联成交单查询
  29345. tags:
  29346. - 企业风险管理v8
  29347. /Ermcp8/QueryMarketCalendar:
  29348. get:
  29349. parameters:
  29350. - description: 市场ID
  29351. in: query
  29352. name: marketid
  29353. type: integer
  29354. produces:
  29355. - application/json
  29356. responses:
  29357. "200":
  29358. description: OK
  29359. schema:
  29360. items:
  29361. $ref: '#/definitions/models.Marketcalendar'
  29362. type: array
  29363. "500":
  29364. description: Internal Server Error
  29365. schema:
  29366. $ref: '#/definitions/app.Response'
  29367. security:
  29368. - ApiKeyAuth: []
  29369. summary: 市场节假日查询
  29370. tags:
  29371. - 企业风险管理v8
  29372. /Ermcp8/QueryPatradeLinkDetail:
  29373. get:
  29374. parameters:
  29375. - description: 用户ID
  29376. in: query
  29377. name: userid
  29378. required: true
  29379. type: integer
  29380. - description: 套保品种ID
  29381. in: query
  29382. name: middlegoodsid
  29383. required: true
  29384. type: integer
  29385. produces:
  29386. - application/json
  29387. responses:
  29388. "200":
  29389. description: OK
  29390. schema:
  29391. items:
  29392. $ref: '#/definitions/models.Patradelinkdetail'
  29393. type: array
  29394. "500":
  29395. description: Internal Server Error
  29396. schema:
  29397. $ref: '#/definitions/app.Response'
  29398. security:
  29399. - ApiKeyAuth: []
  29400. summary: 敞口明细 - 期货变动明细
  29401. tags:
  29402. - 企业风险管理v8
  29403. /Ermcp8/QueryUnLinkErmcpHedgePlan:
  29404. get:
  29405. parameters:
  29406. - description: 企业ID
  29407. in: query
  29408. name: areauserid
  29409. required: true
  29410. type: integer
  29411. - description: 计划类型 - 1:采购 -1:销售
  29412. in: query
  29413. name: contracttype
  29414. type: integer
  29415. - description: 计划编号,模糊查询
  29416. in: query
  29417. name: hedgeplanno
  29418. type: string
  29419. - description: 现货商品,模糊查询
  29420. in: query
  29421. name: wrstandardname
  29422. type: string
  29423. produces:
  29424. - application/json
  29425. responses:
  29426. "200":
  29427. description: OK
  29428. schema:
  29429. items:
  29430. $ref: '#/definitions/models.Unlinkermcphedgeplan'
  29431. type: array
  29432. "500":
  29433. description: Internal Server Error
  29434. schema:
  29435. $ref: '#/definitions/app.Response'
  29436. security:
  29437. - ApiKeyAuth: []
  29438. summary: 未关联购销计划
  29439. tags:
  29440. - 企业风险管理v8
  29441. /Ermcp8/QueryUnLinkSpotContract:
  29442. get:
  29443. parameters:
  29444. - description: 用户ID
  29445. in: query
  29446. name: userid
  29447. required: true
  29448. type: integer
  29449. - description: 定价类型 - 1:一口价 2:点价 3:暂定价
  29450. in: query
  29451. name: pricetype
  29452. type: integer
  29453. - description: 合同编号, 模拟查询
  29454. in: query
  29455. name: contractno
  29456. type: string
  29457. - description: 对手方, 模拟查询
  29458. in: query
  29459. name: customername
  29460. type: string
  29461. - description: 项合同类型 - 1:采购 -1:销售
  29462. in: query
  29463. name: contracttype
  29464. type: integer
  29465. produces:
  29466. - application/json
  29467. responses:
  29468. "200":
  29469. description: OK
  29470. schema:
  29471. items:
  29472. $ref: '#/definitions/models.ErmcpSpotContractModelEx'
  29473. type: array
  29474. "500":
  29475. description: Internal Server Error
  29476. schema:
  29477. $ref: '#/definitions/app.Response'
  29478. security:
  29479. - ApiKeyAuth: []
  29480. summary: 未关联合同查询
  29481. tags:
  29482. - 企业风险管理v8
  29483. /Erms2/QueryArbitrageStrategy:
  29484. get:
  29485. parameters:
  29486. - description: 账户ID
  29487. in: query
  29488. name: userid
  29489. required: true
  29490. type: integer
  29491. - description: 商品组ID(品种ID)
  29492. in: query
  29493. name: goodsgroupid
  29494. type: string
  29495. produces:
  29496. - application/json
  29497. responses:
  29498. "200":
  29499. description: OK
  29500. schema:
  29501. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  29502. "500":
  29503. description: Internal Server Error
  29504. schema:
  29505. $ref: '#/definitions/app.Response'
  29506. security:
  29507. - ApiKeyAuth: []
  29508. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  29509. tags:
  29510. - 风险管理
  29511. /Erms2/QueryInnerTradeDetail:
  29512. get:
  29513. parameters:
  29514. - description: 资金账户
  29515. in: query
  29516. name: accountid
  29517. required: true
  29518. type: integer
  29519. produces:
  29520. - application/json
  29521. responses:
  29522. "200":
  29523. description: OK
  29524. schema:
  29525. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  29526. "500":
  29527. description: Internal Server Error
  29528. schema:
  29529. $ref: '#/definitions/app.Response'
  29530. security:
  29531. - ApiKeyAuth: []
  29532. summary: 查询内部成交单信息
  29533. tags:
  29534. - 风险管理
  29535. /Erms2/QuerySpotContract:
  29536. get:
  29537. parameters:
  29538. - description: 策略申请ID
  29539. in: query
  29540. name: asapplyid
  29541. required: true
  29542. type: integer
  29543. - description: 现货合同ID
  29544. in: query
  29545. name: spotcontractid
  29546. type: integer
  29547. produces:
  29548. - application/json
  29549. responses:
  29550. "200":
  29551. description: OK
  29552. schema:
  29553. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  29554. "500":
  29555. description: Internal Server Error
  29556. schema:
  29557. $ref: '#/definitions/app.Response'
  29558. security:
  29559. - ApiKeyAuth: []
  29560. summary: 查询现货合同表信息(指定策略ID、未结束的)
  29561. tags:
  29562. - 风险管理
  29563. /Erms3/AddErms2ASApply:
  29564. post:
  29565. parameters:
  29566. - description: 申请参数
  29567. in: body
  29568. name: jsonBody
  29569. required: true
  29570. schema:
  29571. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  29572. produces:
  29573. - application/json
  29574. responses:
  29575. "200":
  29576. description: OK
  29577. schema:
  29578. $ref: '#/definitions/app.Response'
  29579. "500":
  29580. description: Internal Server Error
  29581. schema:
  29582. $ref: '#/definitions/app.Response'
  29583. security:
  29584. - ApiKeyAuth: []
  29585. summary: 新增期现套利业务申请
  29586. tags:
  29587. - 风险管理v3
  29588. /Erms3/AddErms2SpotTradeApply:
  29589. post:
  29590. parameters:
  29591. - description: 申请参数
  29592. in: body
  29593. name: jsonBody
  29594. required: true
  29595. schema:
  29596. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  29597. produces:
  29598. - application/json
  29599. responses:
  29600. "200":
  29601. description: OK
  29602. schema:
  29603. $ref: '#/definitions/app.Response'
  29604. "500":
  29605. description: Internal Server Error
  29606. schema:
  29607. $ref: '#/definitions/app.Response'
  29608. security:
  29609. - ApiKeyAuth: []
  29610. summary: 新增现货贸易业务申请
  29611. tags:
  29612. - 风险管理v3
  29613. /Erms3/AddSpotContractApply:
  29614. post:
  29615. parameters:
  29616. - description: 申请参数
  29617. in: body
  29618. name: jsonBody
  29619. required: true
  29620. schema:
  29621. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  29622. produces:
  29623. - application/json
  29624. responses:
  29625. "200":
  29626. description: OK
  29627. schema:
  29628. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  29629. "500":
  29630. description: Internal Server Error
  29631. schema:
  29632. $ref: '#/definitions/app.Response'
  29633. security:
  29634. - ApiKeyAuth: []
  29635. summary: 新增现货合同申请
  29636. tags:
  29637. - 风险管理v3
  29638. /Erms3/AddUserInfoApply:
  29639. post:
  29640. parameters:
  29641. - description: 用户信息
  29642. in: body
  29643. name: jsonBody
  29644. required: true
  29645. schema:
  29646. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  29647. produces:
  29648. - application/json
  29649. responses:
  29650. "200":
  29651. description: OK
  29652. schema:
  29653. $ref: '#/definitions/app.Response'
  29654. "500":
  29655. description: Internal Server Error
  29656. schema:
  29657. $ref: '#/definitions/app.Response'
  29658. security:
  29659. - ApiKeyAuth: []
  29660. summary: 新增客户申请
  29661. tags:
  29662. - 风险管理v3
  29663. /Erms3/DeleteUserInfoApply:
  29664. get:
  29665. description: 只可删除 UserState = 1 (未提交)状态的申请信息
  29666. parameters:
  29667. - description: 用户ID
  29668. in: query
  29669. name: userID
  29670. required: true
  29671. type: integer
  29672. produces:
  29673. - application/json
  29674. responses:
  29675. "200":
  29676. description: OK
  29677. schema:
  29678. $ref: '#/definitions/app.Response'
  29679. "500":
  29680. description: Internal Server Error
  29681. schema:
  29682. $ref: '#/definitions/app.Response'
  29683. security:
  29684. - ApiKeyAuth: []
  29685. summary: 删除客户申请
  29686. tags:
  29687. - 风险管理v3
  29688. /Erms3/ModifyUserInfoApply:
  29689. post:
  29690. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid":
  29691. int, "userstate": 2 }'
  29692. parameters:
  29693. - description: 用户信息
  29694. in: body
  29695. name: jsonBody
  29696. required: true
  29697. schema:
  29698. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  29699. produces:
  29700. - application/json
  29701. responses:
  29702. "200":
  29703. description: OK
  29704. schema:
  29705. $ref: '#/definitions/app.Response'
  29706. "500":
  29707. description: Internal Server Error
  29708. schema:
  29709. $ref: '#/definitions/app.Response'
  29710. security:
  29711. - ApiKeyAuth: []
  29712. summary: 修改客户申请
  29713. tags:
  29714. - 风险管理v3
  29715. /Erms3/QueryBusinessInfo:
  29716. get:
  29717. parameters:
  29718. - description: 资金账号ID列表,用逗号分隔
  29719. in: query
  29720. name: accountids
  29721. required: true
  29722. type: string
  29723. - description: 状态,0为未结束 1为已结束
  29724. in: query
  29725. name: status
  29726. required: true
  29727. type: integer
  29728. produces:
  29729. - application/json
  29730. responses:
  29731. "200":
  29732. description: OK
  29733. schema:
  29734. items:
  29735. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  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. - 风险管理v3
  29746. /Erms3/QueryPendingAuditContract:
  29747. get:
  29748. parameters:
  29749. - description: 资金账号ID列表,逗号隔开
  29750. in: query
  29751. name: accountids
  29752. required: true
  29753. type: string
  29754. - description: 合同类型 1-采购 -1-销售
  29755. in: query
  29756. name: contracttype
  29757. required: true
  29758. type: integer
  29759. - description: 合同模式 1-普通 2-回购
  29760. in: query
  29761. name: contractmode
  29762. required: true
  29763. type: integer
  29764. produces:
  29765. - application/json
  29766. responses:
  29767. "200":
  29768. description: OK
  29769. schema:
  29770. items:
  29771. $ref: '#/definitions/erms3.QryAuditContractRsp'
  29772. type: array
  29773. "500":
  29774. description: Internal Server Error
  29775. schema:
  29776. $ref: '#/definitions/app.Response'
  29777. security:
  29778. - ApiKeyAuth: []
  29779. summary: 查询待审核合同
  29780. tags:
  29781. - 风险管理v3
  29782. /Erms3/QueryPendingBusiness:
  29783. get:
  29784. parameters:
  29785. - description: 资金账号ID列表,逗号隔开
  29786. in: query
  29787. name: accountids
  29788. required: true
  29789. type: string
  29790. produces:
  29791. - application/json
  29792. responses:
  29793. "200":
  29794. description: OK
  29795. schema:
  29796. items:
  29797. $ref: '#/definitions/erms3.QryPendingBizRsp'
  29798. type: array
  29799. "500":
  29800. description: Internal Server Error
  29801. schema:
  29802. $ref: '#/definitions/app.Response'
  29803. security:
  29804. - ApiKeyAuth: []
  29805. summary: 查询待审核基差贸易业务
  29806. tags:
  29807. - 风险管理v3
  29808. /Erms3/QuerySpotContractAppleForm:
  29809. get:
  29810. parameters:
  29811. - description: 登录账号
  29812. in: query
  29813. name: loginID
  29814. required: true
  29815. type: integer
  29816. produces:
  29817. - application/json
  29818. responses:
  29819. "200":
  29820. description: OK
  29821. schema:
  29822. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  29823. "500":
  29824. description: Internal Server Error
  29825. schema:
  29826. $ref: '#/definitions/app.Response'
  29827. security:
  29828. - ApiKeyAuth: []
  29829. summary: 查询合同申请表单数据
  29830. tags:
  29831. - 风险管理v3
  29832. /Erms3/QuerySpotContractDetail:
  29833. get:
  29834. parameters:
  29835. - description: 资金账号ID列表,用逗号分隔
  29836. in: query
  29837. name: accountids
  29838. required: true
  29839. type: string
  29840. - description: 合同类型,1为采购合同 -1为销售合同
  29841. in: query
  29842. name: contracttype
  29843. required: true
  29844. type: integer
  29845. - description: 合同模式,1为普通合同 2为回购销售合同
  29846. in: query
  29847. name: contractmode
  29848. required: true
  29849. type: integer
  29850. - description: 状态,0为履约中 1为已完成
  29851. in: query
  29852. name: status
  29853. required: true
  29854. type: integer
  29855. produces:
  29856. - application/json
  29857. responses:
  29858. "200":
  29859. description: OK
  29860. schema:
  29861. items:
  29862. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  29863. type: array
  29864. "500":
  29865. description: Internal Server Error
  29866. schema:
  29867. $ref: '#/definitions/app.Response'
  29868. security:
  29869. - ApiKeyAuth: []
  29870. summary: 查询合同详细信息
  29871. tags:
  29872. - 风险管理v3
  29873. /Erms3/QueryUserInfoApplies:
  29874. get:
  29875. parameters:
  29876. - description: 页码
  29877. in: query
  29878. name: page
  29879. type: integer
  29880. - description: 每页条数
  29881. in: query
  29882. name: pagesize
  29883. type: integer
  29884. - description: 客户名称,支持模糊查询
  29885. in: query
  29886. name: userName
  29887. type: string
  29888. produces:
  29889. - application/json
  29890. responses:
  29891. "200":
  29892. description: OK
  29893. schema:
  29894. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  29895. "500":
  29896. description: Internal Server Error
  29897. schema:
  29898. $ref: '#/definitions/app.Response'
  29899. security:
  29900. - ApiKeyAuth: []
  29901. summary: 客户申请信息查询
  29902. tags:
  29903. - 风险管理v3
  29904. /Erms3/QueryUserInfos:
  29905. get:
  29906. parameters:
  29907. - description: 页码
  29908. in: query
  29909. name: page
  29910. type: integer
  29911. - description: 每页条数
  29912. in: query
  29913. name: pagesize
  29914. type: integer
  29915. - description: 客户名称,支持模糊查询
  29916. in: query
  29917. name: userName
  29918. type: string
  29919. produces:
  29920. - application/json
  29921. responses:
  29922. "200":
  29923. description: OK
  29924. schema:
  29925. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  29926. "500":
  29927. description: Internal Server Error
  29928. schema:
  29929. $ref: '#/definitions/app.Response'
  29930. security:
  29931. - ApiKeyAuth: []
  29932. summary: 客户信息查询
  29933. tags:
  29934. - 风险管理v3
  29935. /Ferroalloy/GetSpotGoodsPrice:
  29936. get:
  29937. parameters:
  29938. - description: 页码
  29939. in: query
  29940. name: page
  29941. type: integer
  29942. - description: 每页条数
  29943. in: query
  29944. name: pagesize
  29945. type: integer
  29946. produces:
  29947. - application/json
  29948. responses:
  29949. "200":
  29950. description: OK
  29951. schema:
  29952. items:
  29953. $ref: '#/definitions/models.GErmcpspotgoodsprice'
  29954. type: array
  29955. "500":
  29956. description: Internal Server Error
  29957. schema:
  29958. $ref: '#/definitions/app.Response'
  29959. security:
  29960. - ApiKeyAuth: []
  29961. summary: 获取现货行情
  29962. tags:
  29963. - 铁合金
  29964. /Ferroalloy/QueryMyRefer:
  29965. get:
  29966. parameters:
  29967. - description: 用户ID
  29968. in: query
  29969. name: userid
  29970. required: true
  29971. type: integer
  29972. - description: 页码
  29973. in: query
  29974. name: page
  29975. type: integer
  29976. - description: 每页条数
  29977. in: query
  29978. name: pagesize
  29979. type: integer
  29980. produces:
  29981. - application/json
  29982. responses:
  29983. "200":
  29984. description: OK
  29985. schema:
  29986. items:
  29987. $ref: '#/definitions/models.MyRefer'
  29988. type: array
  29989. "500":
  29990. description: Internal Server Error
  29991. schema:
  29992. $ref: '#/definitions/app.Response'
  29993. security:
  29994. - ApiKeyAuth: []
  29995. summary: 查询我的推荐列表
  29996. tags:
  29997. - 铁合金
  29998. /Ferroalloy/QueryMyRegisterMoney:
  29999. get:
  30000. parameters:
  30001. - description: 资金账户
  30002. in: query
  30003. name: accountid
  30004. required: true
  30005. type: integer
  30006. produces:
  30007. - application/json
  30008. responses:
  30009. "200":
  30010. description: OK
  30011. schema:
  30012. items:
  30013. $ref: '#/definitions/models.RegisterMoney'
  30014. type: array
  30015. "500":
  30016. description: Internal Server Error
  30017. schema:
  30018. $ref: '#/definitions/app.Response'
  30019. summary: 查询我的注册红包
  30020. tags:
  30021. - 铁合金
  30022. /Ferroalloy/QueryTHJPurchaseTradeDetail:
  30023. get:
  30024. parameters:
  30025. - description: 用户ID
  30026. in: query
  30027. name: userid
  30028. required: true
  30029. type: integer
  30030. - description: 类型 - 0:未完成 1:已完成
  30031. in: query
  30032. name: type
  30033. type: integer
  30034. - description: 页码
  30035. in: query
  30036. name: page
  30037. type: integer
  30038. - description: 每页条数
  30039. in: query
  30040. name: pagesize
  30041. type: integer
  30042. produces:
  30043. - application/json
  30044. responses:
  30045. "200":
  30046. description: OK
  30047. schema:
  30048. items:
  30049. $ref: '#/definitions/models.Thjpurchasetradedetail'
  30050. type: array
  30051. "500":
  30052. description: Internal Server Error
  30053. schema:
  30054. $ref: '#/definitions/app.Response'
  30055. security:
  30056. - ApiKeyAuth: []
  30057. summary: 查询我的订单-采购订单
  30058. tags:
  30059. - 铁合金
  30060. /Ferroalloy/QueryTHJScoreConfig:
  30061. get:
  30062. parameters:
  30063. - description: '[格式:1,2,3] 配置类型 - 1:注册红包 2:签到积分 3:推广积分 4:下级用户下单积分 5:自己采购下单积分
  30064. 6:自己供求下单积分 7:抽奖配置'
  30065. in: query
  30066. name: stype
  30067. type: string
  30068. produces:
  30069. - application/json
  30070. responses:
  30071. "200":
  30072. description: OK
  30073. schema:
  30074. items:
  30075. $ref: '#/definitions/models.Thjscoreconfig'
  30076. type: array
  30077. "500":
  30078. description: Internal Server Error
  30079. schema:
  30080. $ref: '#/definitions/app.Response'
  30081. security:
  30082. - ApiKeyAuth: []
  30083. summary: 查询积分配置
  30084. tags:
  30085. - 铁合金
  30086. /Ferroalloy/QueryTHJWrstandard:
  30087. get:
  30088. parameters:
  30089. - description: 现货商品名称(模糊查询)
  30090. in: query
  30091. name: wrstandardname
  30092. type: string
  30093. - description: 页码
  30094. in: query
  30095. name: page
  30096. type: integer
  30097. - description: 每页条数
  30098. in: query
  30099. name: pagesize
  30100. type: integer
  30101. produces:
  30102. - application/json
  30103. responses:
  30104. "200":
  30105. description: OK
  30106. schema:
  30107. items:
  30108. $ref: '#/definitions/models.THJWrstandard'
  30109. type: array
  30110. "500":
  30111. description: Internal Server Error
  30112. schema:
  30113. $ref: '#/definitions/app.Response'
  30114. security:
  30115. - ApiKeyAuth: []
  30116. summary: 查询采购列表
  30117. tags:
  30118. - 铁合金
  30119. /Ferroalloy/QueryTHJWrstandardDetail:
  30120. get:
  30121. parameters:
  30122. - description: 现货商品ID
  30123. in: query
  30124. name: wrstandardid
  30125. required: true
  30126. type: integer
  30127. produces:
  30128. - application/json
  30129. responses:
  30130. "200":
  30131. description: OK
  30132. schema:
  30133. items:
  30134. $ref: '#/definitions/models.THJWrstandardDetailRsp'
  30135. type: array
  30136. "500":
  30137. description: Internal Server Error
  30138. schema:
  30139. $ref: '#/definitions/app.Response'
  30140. security:
  30141. - ApiKeyAuth: []
  30142. summary: 查询采购详情
  30143. tags:
  30144. - 铁合金
  30145. /Ferroalloy/QueryUserScoreLog:
  30146. get:
  30147. parameters:
  30148. - description: 用户ID
  30149. in: query
  30150. name: userid
  30151. required: true
  30152. type: integer
  30153. - description: '[格式:1,2,3] 配置类型 - 1:注册红包 2:签到积分 3:推广积分 4:下级用户下单积分 5:自己采购下单积分
  30154. 6:自己供求下单积分 7:抽奖配置'
  30155. in: query
  30156. name: stype
  30157. type: string
  30158. - description: 页码
  30159. in: query
  30160. name: page
  30161. type: integer
  30162. - description: 每页条数
  30163. in: query
  30164. name: pagesize
  30165. type: integer
  30166. produces:
  30167. - application/json
  30168. responses:
  30169. "200":
  30170. description: OK
  30171. schema:
  30172. items:
  30173. $ref: '#/definitions/models.GThjuserscorelog'
  30174. type: array
  30175. "500":
  30176. description: Internal Server Error
  30177. schema:
  30178. $ref: '#/definitions/app.Response'
  30179. security:
  30180. - ApiKeyAuth: []
  30181. summary: 查询我的积分流水
  30182. tags:
  30183. - 铁合金
  30184. /Ferroalloy/Signin:
  30185. post:
  30186. parameters:
  30187. - description: 用户签到请求
  30188. in: body
  30189. name: jsonBody
  30190. required: true
  30191. schema:
  30192. $ref: '#/definitions/models.THJSigninReq'
  30193. produces:
  30194. - application/json
  30195. responses:
  30196. "200":
  30197. description: OK
  30198. schema:
  30199. $ref: '#/definitions/models.THJSigninRsp'
  30200. "500":
  30201. description: Internal Server Error
  30202. schema:
  30203. $ref: '#/definitions/app.Response'
  30204. security:
  30205. - ApiKeyAuth: []
  30206. summary: 用户签到
  30207. tags:
  30208. - 铁合金
  30209. /Guangzuan/GZBSFWOrderOperate:
  30210. get:
  30211. parameters:
  30212. - description: 单据ID
  30213. in: query
  30214. name: orderid
  30215. required: true
  30216. type: integer
  30217. produces:
  30218. - application/json
  30219. responses:
  30220. "200":
  30221. description: OK
  30222. schema:
  30223. items:
  30224. $ref: '#/definitions/models.Gzbsfworderoperate'
  30225. type: array
  30226. "500":
  30227. description: Internal Server Error
  30228. schema:
  30229. $ref: '#/definitions/app.Response'
  30230. security:
  30231. - ApiKeyAuth: []
  30232. - LoginID: []
  30233. - Group: []
  30234. summary: 保税服务单据操作信息
  30235. tags:
  30236. - 广钻
  30237. /Guangzuan/GetGoods:
  30238. get:
  30239. parameters:
  30240. - description: 商品编号
  30241. in: query
  30242. name: goodsno
  30243. required: true
  30244. type: string
  30245. produces:
  30246. - application/json
  30247. responses:
  30248. "200":
  30249. description: OK
  30250. schema:
  30251. $ref: '#/definitions/models.GZGoods'
  30252. "500":
  30253. description: Internal Server Error
  30254. schema:
  30255. $ref: '#/definitions/app.Response'
  30256. security:
  30257. - ApiKeyAuth: []
  30258. - LoginID: []
  30259. - Group: []
  30260. summary: 获取钻石详情
  30261. tags:
  30262. - 广钻
  30263. /Guangzuan/GzCertAddressConfig:
  30264. get:
  30265. produces:
  30266. - application/json
  30267. responses:
  30268. "200":
  30269. description: OK
  30270. schema:
  30271. items:
  30272. $ref: '#/definitions/models.Gzcertaddressconfig'
  30273. type: array
  30274. "500":
  30275. description: Internal Server Error
  30276. schema:
  30277. $ref: '#/definitions/app.Response'
  30278. security:
  30279. - ApiKeyAuth: []
  30280. - LoginID: []
  30281. - Group: []
  30282. summary: Rapaport最新报价表(广钻)
  30283. tags:
  30284. - 广钻
  30285. /Guangzuan/GzCertAddressParam:
  30286. get:
  30287. produces:
  30288. - application/json
  30289. responses:
  30290. "200":
  30291. description: OK
  30292. schema:
  30293. items:
  30294. $ref: '#/definitions/models.Gzcertaddressparam'
  30295. type: array
  30296. "500":
  30297. description: Internal Server Error
  30298. schema:
  30299. $ref: '#/definitions/app.Response'
  30300. security:
  30301. - ApiKeyAuth: []
  30302. - LoginID: []
  30303. - Group: []
  30304. summary: 钻石证书地址参数
  30305. tags:
  30306. - 广钻
  30307. /Guangzuan/HomeData:
  30308. get:
  30309. parameters:
  30310. - description: 用户ID
  30311. in: query
  30312. name: userid
  30313. required: true
  30314. type: integer
  30315. produces:
  30316. - application/json
  30317. responses:
  30318. "200":
  30319. description: OK
  30320. schema:
  30321. $ref: '#/definitions/models.GZHomeData'
  30322. "500":
  30323. description: Internal Server Error
  30324. schema:
  30325. $ref: '#/definitions/app.Response'
  30326. security:
  30327. - ApiKeyAuth: []
  30328. - LoginID: []
  30329. - Group: []
  30330. summary: 首页统计数据
  30331. tags:
  30332. - 广钻
  30333. /Guangzuan/PriceCalc:
  30334. get:
  30335. parameters:
  30336. - description: 形状 - 1:BR(圆形) 2:PS(异形)
  30337. in: query
  30338. name: zsshape
  30339. required: true
  30340. type: integer
  30341. - description: 颜色(D-M)
  30342. in: query
  30343. name: zscolor
  30344. required: true
  30345. type: string
  30346. - description: 净度
  30347. in: query
  30348. name: zsclarity
  30349. required: true
  30350. type: string
  30351. - description: 重量
  30352. in: query
  30353. name: weight
  30354. required: true
  30355. type: number
  30356. - description: 汇率
  30357. in: query
  30358. name: rate
  30359. required: true
  30360. type: number
  30361. - description: 折扣(%), 方向(加:10, 减:-10 )
  30362. in: query
  30363. name: discount
  30364. type: number
  30365. produces:
  30366. - application/json
  30367. responses:
  30368. "200":
  30369. description: OK
  30370. schema:
  30371. items:
  30372. $ref: '#/definitions/models.Gzrapaportprice'
  30373. type: array
  30374. "500":
  30375. description: Internal Server Error
  30376. schema:
  30377. $ref: '#/definitions/app.Response'
  30378. security:
  30379. - ApiKeyAuth: []
  30380. - LoginID: []
  30381. - Group: []
  30382. summary: 钻石价格计算器
  30383. tags:
  30384. - 广钻
  30385. /Guangzuan/QueryBuyOrder:
  30386. get:
  30387. parameters:
  30388. - description: 页码
  30389. in: query
  30390. name: page
  30391. type: integer
  30392. - description: 每页条数
  30393. in: query
  30394. name: pagesize
  30395. type: integer
  30396. - description: 商品(查询字段-模糊查询)
  30397. in: query
  30398. name: zsallproperties
  30399. type: string
  30400. - description: 钻石分类, 格式:1,2,3
  30401. in: query
  30402. name: zscategorys
  30403. type: string
  30404. - description: 委托单号
  30405. in: query
  30406. name: wrtradeorderid
  30407. type: integer
  30408. - description: 买方(查询字段-模糊查询)
  30409. in: query
  30410. name: buyusername
  30411. type: string
  30412. produces:
  30413. - application/json
  30414. responses:
  30415. "200":
  30416. description: OK
  30417. schema:
  30418. items:
  30419. $ref: '#/definitions/models.BuyOrder'
  30420. type: array
  30421. "500":
  30422. description: Internal Server Error
  30423. schema:
  30424. $ref: '#/definitions/app.Response'
  30425. security:
  30426. - ApiKeyAuth: []
  30427. - LoginID: []
  30428. - Group: []
  30429. summary: 查询求购大厅委托单
  30430. tags:
  30431. - 广钻
  30432. /Guangzuan/QueryDiamond:
  30433. post:
  30434. parameters:
  30435. - description: 钻石搜索入参
  30436. in: body
  30437. name: data
  30438. required: true
  30439. schema:
  30440. $ref: '#/definitions/models.SellOrderQueryReq'
  30441. produces:
  30442. - application/json
  30443. responses:
  30444. "200":
  30445. description: OK
  30446. schema:
  30447. items:
  30448. $ref: '#/definitions/models.SellOrder'
  30449. type: array
  30450. "500":
  30451. description: Internal Server Error
  30452. schema:
  30453. $ref: '#/definitions/app.Response'
  30454. security:
  30455. - ApiKeyAuth: []
  30456. - LoginID: []
  30457. - Group: []
  30458. summary: 钻石搜索
  30459. tags:
  30460. - 广钻
  30461. /Guangzuan/QueryGZBSFWOrder:
  30462. get:
  30463. parameters:
  30464. - description: 用户ID
  30465. in: query
  30466. name: userid
  30467. required: true
  30468. type: integer
  30469. - description: 页码
  30470. in: query
  30471. name: page
  30472. type: integer
  30473. - description: 每页条数
  30474. in: query
  30475. name: pagesize
  30476. type: integer
  30477. produces:
  30478. - application/json
  30479. responses:
  30480. "200":
  30481. description: OK
  30482. schema:
  30483. items:
  30484. $ref: '#/definitions/models.GzbsfworderM'
  30485. type: array
  30486. "500":
  30487. description: Internal Server Error
  30488. schema:
  30489. $ref: '#/definitions/app.Response'
  30490. security:
  30491. - ApiKeyAuth: []
  30492. - LoginID: []
  30493. - Group: []
  30494. summary: 查询保税服务单据
  30495. tags:
  30496. - 广钻
  30497. /Guangzuan/QueryGZBSFWOrderDetail:
  30498. get:
  30499. parameters:
  30500. - description: 用户ID
  30501. in: query
  30502. name: userid
  30503. required: true
  30504. type: integer
  30505. - description: 单据ID
  30506. in: query
  30507. name: orderid
  30508. type: integer
  30509. - description: 页码
  30510. in: query
  30511. name: page
  30512. type: integer
  30513. - description: 每页条数
  30514. in: query
  30515. name: pagesize
  30516. type: integer
  30517. produces:
  30518. - application/json
  30519. responses:
  30520. "200":
  30521. description: OK
  30522. schema:
  30523. items:
  30524. $ref: '#/definitions/models.GzbsfworderdetailM'
  30525. type: array
  30526. "500":
  30527. description: Internal Server Error
  30528. schema:
  30529. $ref: '#/definitions/app.Response'
  30530. security:
  30531. - ApiKeyAuth: []
  30532. - LoginID: []
  30533. - Group: []
  30534. summary: 查询保税服务单据明细
  30535. tags:
  30536. - 广钻
  30537. /Guangzuan/QueryGZCJBSOrderFile:
  30538. get:
  30539. parameters:
  30540. - description: 单据ID
  30541. in: query
  30542. name: orderid
  30543. required: true
  30544. type: integer
  30545. - description: 页码
  30546. in: query
  30547. name: page
  30548. type: integer
  30549. - description: 每页条数
  30550. in: query
  30551. name: pagesize
  30552. type: integer
  30553. produces:
  30554. - application/json
  30555. responses:
  30556. "200":
  30557. description: OK
  30558. schema:
  30559. items:
  30560. $ref: '#/definitions/models.GzcjbsorderfileM'
  30561. type: array
  30562. "500":
  30563. description: Internal Server Error
  30564. schema:
  30565. $ref: '#/definitions/app.Response'
  30566. security:
  30567. - ApiKeyAuth: []
  30568. - LoginID: []
  30569. - Group: []
  30570. summary: 出境保税单据文件
  30571. tags:
  30572. - 广钻
  30573. /Guangzuan/QueryGZCJJCOrder:
  30574. get:
  30575. parameters:
  30576. - description: 用户ID
  30577. in: query
  30578. name: userid
  30579. required: true
  30580. type: integer
  30581. - description: 页码
  30582. in: query
  30583. name: page
  30584. type: integer
  30585. - description: 每页条数
  30586. in: query
  30587. name: pagesize
  30588. type: integer
  30589. produces:
  30590. - application/json
  30591. responses:
  30592. "200":
  30593. description: OK
  30594. schema:
  30595. items:
  30596. $ref: '#/definitions/models.GzcjjcorderM'
  30597. type: array
  30598. "500":
  30599. description: Internal Server Error
  30600. schema:
  30601. $ref: '#/definitions/app.Response'
  30602. security:
  30603. - ApiKeyAuth: []
  30604. - LoginID: []
  30605. - Group: []
  30606. summary: 查询出境检测单据
  30607. tags:
  30608. - 广钻
  30609. /Guangzuan/QueryGZCJJCOrderDetail:
  30610. get:
  30611. parameters:
  30612. - description: 用户ID
  30613. in: query
  30614. name: userid
  30615. required: true
  30616. type: integer
  30617. - description: 单据ID
  30618. in: query
  30619. name: orderid
  30620. type: integer
  30621. - description: 页码
  30622. in: query
  30623. name: page
  30624. type: integer
  30625. - description: 每页条数
  30626. in: query
  30627. name: pagesize
  30628. type: integer
  30629. produces:
  30630. - application/json
  30631. responses:
  30632. "200":
  30633. description: OK
  30634. schema:
  30635. items:
  30636. $ref: '#/definitions/models.GzcjjcorderdetailM'
  30637. type: array
  30638. "500":
  30639. description: Internal Server Error
  30640. schema:
  30641. $ref: '#/definitions/app.Response'
  30642. security:
  30643. - ApiKeyAuth: []
  30644. - LoginID: []
  30645. - Group: []
  30646. summary: 查询出境检测单据明细(批次信息)
  30647. tags:
  30648. - 广钻
  30649. /Guangzuan/QueryMemberReport:
  30650. get:
  30651. parameters:
  30652. - description: 用户ID
  30653. in: query
  30654. name: userid
  30655. required: true
  30656. type: integer
  30657. - description: 页码
  30658. in: query
  30659. name: page
  30660. type: integer
  30661. - description: 每页条数
  30662. in: query
  30663. name: pagesize
  30664. type: integer
  30665. - description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表 (日报表不传此参数)
  30666. in: query
  30667. name: cycletype
  30668. type: string
  30669. - description: 开始时段(日报表:yyyymmdd 月报表:yyyymm 年报表:yyyy)
  30670. in: query
  30671. name: begindate
  30672. required: true
  30673. type: string
  30674. - description: 结束时段(日报表:yyyymmdd 月报表:yyyymm 年报表:yyyy)
  30675. in: query
  30676. name: enddate
  30677. required: true
  30678. type: string
  30679. produces:
  30680. - application/json
  30681. responses:
  30682. "200":
  30683. description: OK
  30684. schema:
  30685. items:
  30686. $ref: '#/definitions/models.Reckondaytaaccount'
  30687. type: array
  30688. "500":
  30689. description: Internal Server Error
  30690. schema:
  30691. $ref: '#/definitions/app.Response'
  30692. security:
  30693. - ApiKeyAuth: []
  30694. - LoginID: []
  30695. - Group: []
  30696. summary: 查询会员报表
  30697. tags:
  30698. - 广钻
  30699. /Guangzuan/QueryMyBargainApply:
  30700. get:
  30701. parameters:
  30702. - description: 用户ID
  30703. in: query
  30704. name: userid
  30705. required: true
  30706. type: integer
  30707. - description: 页码
  30708. in: query
  30709. name: page
  30710. type: integer
  30711. - description: 每页条数
  30712. in: query
  30713. name: pagesize
  30714. type: integer
  30715. - description: 申请状态(不传查全部) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  30716. in: query
  30717. name: applystatus
  30718. type: integer
  30719. - description: 查询类型 - 0:我的询价 1:我订单的询价
  30720. in: query
  30721. name: type
  30722. type: integer
  30723. - description: 关联委托单ID
  30724. in: query
  30725. name: wrtradeorderid
  30726. type: string
  30727. produces:
  30728. - application/json
  30729. responses:
  30730. "200":
  30731. description: OK
  30732. schema:
  30733. items:
  30734. $ref: '#/definitions/models.MyBargainApply'
  30735. type: array
  30736. "500":
  30737. description: Internal Server Error
  30738. schema:
  30739. $ref: '#/definitions/app.Response'
  30740. security:
  30741. - ApiKeyAuth: []
  30742. - LoginID: []
  30743. - Group: []
  30744. summary: 查询询价-求购
  30745. tags:
  30746. - 广钻
  30747. /Guangzuan/QueryMyBuyOrder:
  30748. get:
  30749. parameters:
  30750. - description: 用户ID
  30751. in: query
  30752. name: userid
  30753. required: true
  30754. type: integer
  30755. - description: 页码
  30756. in: query
  30757. name: page
  30758. type: integer
  30759. - description: 每页条数
  30760. in: query
  30761. name: pagesize
  30762. type: integer
  30763. - description: 商品(查询字段-模糊查询)
  30764. in: query
  30765. name: zsallproperties
  30766. type: string
  30767. - description: 钻石分类, 格式:1,2,3
  30768. in: query
  30769. name: zscategorys
  30770. type: string
  30771. - description: 委托单号
  30772. in: query
  30773. name: wrtradeorderid
  30774. type: integer
  30775. - description: 是否历史查询
  30776. in: query
  30777. name: ishis
  30778. type: boolean
  30779. - description: 开始交易日(yyyymmdd)
  30780. in: query
  30781. name: begindate
  30782. type: string
  30783. - description: 结束交易日(yyyymmdd)
  30784. in: query
  30785. name: enddate
  30786. type: string
  30787. produces:
  30788. - application/json
  30789. responses:
  30790. "200":
  30791. description: OK
  30792. schema:
  30793. items:
  30794. $ref: '#/definitions/models.MyBuyOrder'
  30795. type: array
  30796. "500":
  30797. description: Internal Server Error
  30798. schema:
  30799. $ref: '#/definitions/app.Response'
  30800. security:
  30801. - ApiKeyAuth: []
  30802. - LoginID: []
  30803. - Group: []
  30804. summary: 查询我的求购
  30805. tags:
  30806. - 广钻
  30807. /Guangzuan/QueryMyDeListing:
  30808. get:
  30809. parameters:
  30810. - description: 用户ID
  30811. in: query
  30812. name: userid
  30813. required: true
  30814. type: integer
  30815. - description: 页码
  30816. in: query
  30817. name: page
  30818. type: integer
  30819. - description: 每页条数
  30820. in: query
  30821. name: pagesize
  30822. type: integer
  30823. - description: 商品(查询字段-模糊查询)
  30824. in: query
  30825. name: zsallproperties
  30826. type: string
  30827. - description: 钻石分类, 格式:1,2,3
  30828. in: query
  30829. name: zscategorys
  30830. type: string
  30831. - description: 成交单号
  30832. in: query
  30833. name: wrtradedetailid
  30834. type: integer
  30835. - description: 方向,0-购买 1-出售
  30836. in: query
  30837. name: buyorsell
  30838. type: integer
  30839. - description: 对手方(模糊匹配)
  30840. in: query
  30841. name: matchusername
  30842. type: string
  30843. - description: 开始交易日(yyyymmdd)
  30844. in: query
  30845. name: begindate
  30846. type: string
  30847. - description: 结束交易日(yyyymmdd)
  30848. in: query
  30849. name: enddate
  30850. type: string
  30851. produces:
  30852. - application/json
  30853. responses:
  30854. "200":
  30855. description: OK
  30856. schema:
  30857. items:
  30858. $ref: '#/definitions/models.MyDeListing'
  30859. type: array
  30860. "500":
  30861. description: Internal Server Error
  30862. schema:
  30863. $ref: '#/definitions/app.Response'
  30864. security:
  30865. - ApiKeyAuth: []
  30866. - LoginID: []
  30867. - Group: []
  30868. summary: 查询我的摘牌
  30869. tags:
  30870. - 广钻
  30871. /Guangzuan/QueryMyDelistingApply:
  30872. get:
  30873. parameters:
  30874. - description: 用户ID
  30875. in: query
  30876. name: userid
  30877. required: true
  30878. type: integer
  30879. - description: 页码
  30880. in: query
  30881. name: page
  30882. type: integer
  30883. - description: 每页条数
  30884. in: query
  30885. name: pagesize
  30886. type: integer
  30887. - description: 申请状态(不传查全部) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  30888. in: query
  30889. name: applystatus
  30890. type: integer
  30891. - description: 查询类型 - 0:我的询价 1:我订单的询价
  30892. in: query
  30893. name: type
  30894. type: integer
  30895. - description: 买委托单ID
  30896. in: query
  30897. name: buywrtradeorderid
  30898. type: string
  30899. produces:
  30900. - application/json
  30901. responses:
  30902. "200":
  30903. description: OK
  30904. schema:
  30905. items:
  30906. $ref: '#/definitions/models.MyDelistingApply'
  30907. type: array
  30908. "500":
  30909. description: Internal Server Error
  30910. schema:
  30911. $ref: '#/definitions/app.Response'
  30912. security:
  30913. - ApiKeyAuth: []
  30914. - LoginID: []
  30915. - Group: []
  30916. summary: 查询询价-出售
  30917. tags:
  30918. - 广钻
  30919. /Guangzuan/QueryMyFavorite:
  30920. get:
  30921. parameters:
  30922. - description: 用户ID
  30923. in: query
  30924. name: userid
  30925. required: true
  30926. type: integer
  30927. - description: 页码
  30928. in: query
  30929. name: page
  30930. type: integer
  30931. - description: 每页条数
  30932. in: query
  30933. name: pagesize
  30934. type: integer
  30935. - description: 钻石分类, 格式:1,2,3
  30936. in: query
  30937. name: zscategorys
  30938. type: string
  30939. produces:
  30940. - application/json
  30941. responses:
  30942. "200":
  30943. description: OK
  30944. schema:
  30945. items:
  30946. $ref: '#/definitions/models.MyFavorite'
  30947. type: array
  30948. "500":
  30949. description: Internal Server Error
  30950. schema:
  30951. $ref: '#/definitions/app.Response'
  30952. security:
  30953. - ApiKeyAuth: []
  30954. - LoginID: []
  30955. - Group: []
  30956. summary: 查询我的收藏
  30957. tags:
  30958. - 广钻
  30959. /Guangzuan/QueryMyPerformanc:
  30960. get:
  30961. parameters:
  30962. - description: 用户ID
  30963. in: query
  30964. name: userid
  30965. required: true
  30966. type: integer
  30967. - description: 页码
  30968. in: query
  30969. name: page
  30970. type: integer
  30971. - description: 每页条数
  30972. in: query
  30973. name: pagesize
  30974. type: integer
  30975. - description: 商品(查询字段-模糊查询)
  30976. in: query
  30977. name: zsallproperties
  30978. type: string
  30979. - description: 方向,0-买 1-卖
  30980. in: query
  30981. name: buyorsell
  30982. type: integer
  30983. - description: 是否历史查询
  30984. in: query
  30985. name: ishis
  30986. type: boolean
  30987. - description: 开始交易日(yyyymmdd)
  30988. in: query
  30989. name: begindate
  30990. type: string
  30991. - description: 结束交易日(yyyymmdd)
  30992. in: query
  30993. name: enddate
  30994. type: string
  30995. produces:
  30996. - application/json
  30997. responses:
  30998. "200":
  30999. description: OK
  31000. schema:
  31001. items:
  31002. $ref: '#/definitions/models.MyPerformanc'
  31003. type: array
  31004. "500":
  31005. description: Internal Server Error
  31006. schema:
  31007. $ref: '#/definitions/app.Response'
  31008. security:
  31009. - ApiKeyAuth: []
  31010. - LoginID: []
  31011. - Group: []
  31012. summary: 查询我的履约
  31013. tags:
  31014. - 广钻
  31015. /Guangzuan/QueryMySellOrder:
  31016. get:
  31017. parameters:
  31018. - description: 用户ID
  31019. in: query
  31020. name: userid
  31021. required: true
  31022. type: integer
  31023. - description: 页码
  31024. in: query
  31025. name: page
  31026. type: integer
  31027. - description: 每页条数
  31028. in: query
  31029. name: pagesize
  31030. type: integer
  31031. - description: 商品(查询字段-模糊查询)
  31032. in: query
  31033. name: zsallproperties
  31034. type: string
  31035. - description: 钻石分类, 格式:1,2,3
  31036. in: query
  31037. name: zscategorys
  31038. type: string
  31039. - description: 委托单号
  31040. in: query
  31041. name: wrtradeorderid
  31042. type: integer
  31043. - description: 是否历史查询
  31044. in: query
  31045. name: ishis
  31046. type: boolean
  31047. - description: 开始交易日(yyyymmdd)
  31048. in: query
  31049. name: begindate
  31050. type: string
  31051. - description: 结束交易日(yyyymmdd)
  31052. in: query
  31053. name: enddate
  31054. type: string
  31055. produces:
  31056. - application/json
  31057. responses:
  31058. "200":
  31059. description: OK
  31060. schema:
  31061. items:
  31062. $ref: '#/definitions/models.MySellOrder'
  31063. type: array
  31064. "500":
  31065. description: Internal Server Error
  31066. schema:
  31067. $ref: '#/definitions/app.Response'
  31068. security:
  31069. - ApiKeyAuth: []
  31070. - LoginID: []
  31071. - Group: []
  31072. summary: 查询我的出售
  31073. tags:
  31074. - 广钻
  31075. /Guangzuan/QueryMyWRPosition:
  31076. get:
  31077. parameters:
  31078. - description: 页码
  31079. in: query
  31080. name: page
  31081. type: integer
  31082. - description: 每页条数
  31083. in: query
  31084. name: pagesize
  31085. type: integer
  31086. - description: 登录用户ID
  31087. in: query
  31088. name: wruserid
  31089. required: true
  31090. type: integer
  31091. - description: 商品(查询字段-模糊查询)
  31092. in: query
  31093. name: zsallproperties
  31094. type: string
  31095. - description: 钻石分类, 格式:1,2,3
  31096. in: query
  31097. name: zscategorys
  31098. type: string
  31099. - description: 仓库ID
  31100. in: query
  31101. name: warehouseid
  31102. type: integer
  31103. - description: 是否上架,0-全部 1-是 2-否
  31104. in: query
  31105. name: marketflag
  31106. type: integer
  31107. produces:
  31108. - application/json
  31109. responses:
  31110. "200":
  31111. description: OK
  31112. schema:
  31113. items:
  31114. $ref: '#/definitions/models.MyWRPosition'
  31115. type: array
  31116. "500":
  31117. description: Internal Server Error
  31118. schema:
  31119. $ref: '#/definitions/app.Response'
  31120. security:
  31121. - ApiKeyAuth: []
  31122. - LoginID: []
  31123. - Group: []
  31124. summary: 查询我的库存
  31125. tags:
  31126. - 广钻
  31127. /Guangzuan/QuerySellOrder:
  31128. get:
  31129. parameters:
  31130. - description: 页码
  31131. in: query
  31132. name: page
  31133. type: integer
  31134. - description: 每页条数
  31135. in: query
  31136. name: pagesize
  31137. type: integer
  31138. - description: 商品(查询字段-模糊查询)
  31139. in: query
  31140. name: zsallproperties
  31141. type: string
  31142. - description: 钻石分类, 格式:1,2,3
  31143. in: query
  31144. name: zscategorys
  31145. type: string
  31146. - description: 委托单号
  31147. in: query
  31148. name: wrtradeorderid
  31149. type: integer
  31150. - description: 卖方(查询字段-模糊查询)
  31151. in: query
  31152. name: buyusername
  31153. type: string
  31154. produces:
  31155. - application/json
  31156. responses:
  31157. "200":
  31158. description: OK
  31159. schema:
  31160. items:
  31161. $ref: '#/definitions/models.SellOrder'
  31162. type: array
  31163. "500":
  31164. description: Internal Server Error
  31165. schema:
  31166. $ref: '#/definitions/app.Response'
  31167. security:
  31168. - ApiKeyAuth: []
  31169. - LoginID: []
  31170. - Group: []
  31171. summary: 查询出售大厅委托单
  31172. tags:
  31173. - 广钻
  31174. /Guangzuan/QueryTradeReport:
  31175. get:
  31176. parameters:
  31177. - description: 用户ID
  31178. in: query
  31179. name: userid
  31180. required: true
  31181. type: integer
  31182. - description: 页码
  31183. in: query
  31184. name: page
  31185. type: integer
  31186. - description: 每页条数
  31187. in: query
  31188. name: pagesize
  31189. type: integer
  31190. - description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表 (日报表不传此参数)
  31191. in: query
  31192. name: cycletype
  31193. type: string
  31194. - description: 开始时段(日报表:yyyymmdd 月报表:yyyymm 年报表:yyyy)
  31195. in: query
  31196. name: begindate
  31197. required: true
  31198. type: string
  31199. - description: 结束时段(日报表:yyyymmdd 月报表:yyyymm 年报表:yyyy)
  31200. in: query
  31201. name: enddate
  31202. required: true
  31203. type: string
  31204. - description: 商品分类
  31205. in: query
  31206. name: zscategory
  31207. type: integer
  31208. - description: 商品币种
  31209. in: query
  31210. name: zscurrencytype
  31211. type: integer
  31212. produces:
  31213. - application/json
  31214. responses:
  31215. "200":
  31216. description: OK
  31217. schema:
  31218. items:
  31219. $ref: '#/definitions/models.Reckongzmemtradesum'
  31220. type: array
  31221. "500":
  31222. description: Internal Server Error
  31223. schema:
  31224. $ref: '#/definitions/app.Response'
  31225. security:
  31226. - ApiKeyAuth: []
  31227. - LoginID: []
  31228. - Group: []
  31229. summary: 查询交易报表
  31230. tags:
  31231. - 广钻
  31232. /Guangzuan/QueryWRPositionReport:
  31233. get:
  31234. parameters:
  31235. - description: 用户ID
  31236. in: query
  31237. name: userid
  31238. required: true
  31239. type: integer
  31240. - description: 页码
  31241. in: query
  31242. name: page
  31243. type: integer
  31244. - description: 每页条数
  31245. in: query
  31246. name: pagesize
  31247. type: integer
  31248. - description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表 (日报表不传此参数)
  31249. in: query
  31250. name: cycletype
  31251. type: string
  31252. - description: 开始时段(日报表:yyyymmdd 月报表:yyyymm 年报表:yyyy)
  31253. in: query
  31254. name: begindate
  31255. required: true
  31256. type: string
  31257. - description: 结束时段(日报表:yyyymmdd 月报表:yyyymm 年报表:yyyy)
  31258. in: query
  31259. name: enddate
  31260. required: true
  31261. type: string
  31262. - description: 商品分类
  31263. in: query
  31264. name: zscategory
  31265. type: integer
  31266. - description: 商品币种
  31267. in: query
  31268. name: zscurrencytype
  31269. type: integer
  31270. produces:
  31271. - application/json
  31272. responses:
  31273. "200":
  31274. description: OK
  31275. schema:
  31276. items:
  31277. $ref: '#/definitions/models.WRPositionReport'
  31278. type: array
  31279. "500":
  31280. description: Internal Server Error
  31281. schema:
  31282. $ref: '#/definitions/app.Response'
  31283. security:
  31284. - ApiKeyAuth: []
  31285. - LoginID: []
  31286. - Group: []
  31287. summary: 查询仓储报表
  31288. tags:
  31289. - 广钻
  31290. /Guangzuan/QueryWarehouseInfo:
  31291. get:
  31292. parameters:
  31293. - description: 页码
  31294. in: query
  31295. name: page
  31296. type: integer
  31297. - description: 每页条数
  31298. in: query
  31299. name: pagesize
  31300. type: integer
  31301. - description: 用户ID
  31302. in: query
  31303. name: userid
  31304. required: true
  31305. type: integer
  31306. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  31307. in: query
  31308. name: status
  31309. type: string
  31310. - description: 是返回交易所仓库
  31311. in: query
  31312. name: isincludeexchange
  31313. type: boolean
  31314. produces:
  31315. - application/json
  31316. responses:
  31317. "200":
  31318. description: OK
  31319. schema:
  31320. items:
  31321. $ref: '#/definitions/models.GZWarehouseinfo'
  31322. type: array
  31323. "500":
  31324. description: Internal Server Error
  31325. schema:
  31326. $ref: '#/definitions/app.Response'
  31327. security:
  31328. - ApiKeyAuth: []
  31329. - LoginID: []
  31330. - Group: []
  31331. summary: 查询仓库信息
  31332. tags:
  31333. - 广钻
  31334. /HSBY/GetHsbyMyCount:
  31335. get:
  31336. description: 说明: 不包括已完成的数量。
  31337. parameters:
  31338. - description: 资金账户列表,格式:1,2,3
  31339. in: query
  31340. name: accountIDs
  31341. required: true
  31342. type: string
  31343. produces:
  31344. - application/json
  31345. responses:
  31346. "200":
  31347. description: OK
  31348. schema:
  31349. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  31350. "500":
  31351. description: Internal Server Error
  31352. schema:
  31353. $ref: '#/definitions/app.Response'
  31354. security:
  31355. - ApiKeyAuth: []
  31356. summary: 获取我的订单与包裹数量
  31357. tags:
  31358. - 定制【海商报业】
  31359. /HSBY/QueryClientFixedADConfigs:
  31360. get:
  31361. produces:
  31362. - application/json
  31363. responses:
  31364. "200":
  31365. description: OK
  31366. schema:
  31367. $ref: '#/definitions/models.Clientfixedadconfig'
  31368. "500":
  31369. description: Internal Server Error
  31370. schema:
  31371. $ref: '#/definitions/app.Response'
  31372. security:
  31373. - ApiKeyAuth: []
  31374. summary: 获取终端固定广告配置
  31375. tags:
  31376. - 定制【海商报业】
  31377. /HSBY/QueryHsbyBuyMyTradeDetail:
  31378. get:
  31379. parameters:
  31380. - description: 页码
  31381. in: query
  31382. name: page
  31383. type: integer
  31384. - description: 每页条数
  31385. in: query
  31386. name: pagesize
  31387. type: integer
  31388. - description: 资金账户列表,格式:1,2,3
  31389. in: query
  31390. name: accountIDs
  31391. required: true
  31392. type: string
  31393. produces:
  31394. - application/json
  31395. responses:
  31396. "200":
  31397. description: OK
  31398. schema:
  31399. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  31400. "500":
  31401. description: Internal Server Error
  31402. schema:
  31403. $ref: '#/definitions/app.Response'
  31404. security:
  31405. - ApiKeyAuth: []
  31406. summary: 查询"我的订单 - 已完成"单据信息
  31407. tags:
  31408. - 定制【海商报业】
  31409. /HSBY/QueryHsbyGoodsOrderDetails:
  31410. get:
  31411. description: 说明:查询结果已按委托价格和委托时间排序
  31412. parameters:
  31413. - description: 商品ID
  31414. in: query
  31415. name: goodsID
  31416. required: true
  31417. type: integer
  31418. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  31419. in: query
  31420. name: accountIDs
  31421. type: string
  31422. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  31423. in: query
  31424. name: buyOrSell
  31425. type: integer
  31426. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  31427. in: query
  31428. name: price
  31429. type: number
  31430. - description: 档位,不传则默认为3档
  31431. in: query
  31432. name: speed
  31433. type: integer
  31434. produces:
  31435. - application/json
  31436. responses:
  31437. "200":
  31438. description: OK
  31439. schema:
  31440. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  31441. "500":
  31442. description: Internal Server Error
  31443. schema:
  31444. $ref: '#/definitions/app.Response'
  31445. security:
  31446. - ApiKeyAuth: []
  31447. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  31448. tags:
  31449. - 定制【海商报业】
  31450. /HSBY/QueryHsbyListingGoodsDetail:
  31451. get:
  31452. description: 说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口
  31453. parameters:
  31454. - description: 商品ID
  31455. in: query
  31456. name: goodsID
  31457. required: true
  31458. type: integer
  31459. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  31460. in: query
  31461. name: accountID
  31462. type: integer
  31463. produces:
  31464. - application/json
  31465. responses:
  31466. "200":
  31467. description: OK
  31468. schema:
  31469. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  31470. "500":
  31471. description: Internal Server Error
  31472. schema:
  31473. $ref: '#/definitions/app.Response'
  31474. security:
  31475. - ApiKeyAuth: []
  31476. summary: 查询二级市场(挂牌点选)商品信息详情
  31477. tags:
  31478. - 定制【海商报业】
  31479. /HSBY/QueryHsbyMarketGoodsDetail:
  31480. get:
  31481. parameters:
  31482. - description: 委托单号
  31483. in: query
  31484. name: orderID
  31485. required: true
  31486. type: integer
  31487. - description: 资金账户,主要用于判断商品最大开仓手数;如未登录可不传。
  31488. in: query
  31489. name: accountID
  31490. type: integer
  31491. produces:
  31492. - application/json
  31493. responses:
  31494. "200":
  31495. description: OK
  31496. schema:
  31497. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  31498. "500":
  31499. description: Internal Server Error
  31500. schema:
  31501. $ref: '#/definitions/app.Response'
  31502. security:
  31503. - ApiKeyAuth: []
  31504. summary: 查询三级市场(商城)商品信息详情
  31505. tags:
  31506. - 定制【海商报业】
  31507. /HSBY/QueryHsbyMarketGoodses:
  31508. get:
  31509. parameters:
  31510. - description: 页码
  31511. in: query
  31512. name: page
  31513. type: integer
  31514. - description: 每页条数
  31515. in: query
  31516. name: pagesize
  31517. type: integer
  31518. - description: 市场ID列表,格式:1,2,3
  31519. in: query
  31520. name: marketIDs
  31521. required: true
  31522. type: string
  31523. - description: 资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。
  31524. in: query
  31525. name: accountID
  31526. required: true
  31527. type: integer
  31528. - description: 类别ID
  31529. in: query
  31530. name: categoryID
  31531. type: integer
  31532. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  31533. in: query
  31534. name: goodsIDs
  31535. type: string
  31536. - description: 优惠券类型ID,主要用于显示优惠卷对应的商品列表。
  31537. in: query
  31538. name: couponTypeID
  31539. type: integer
  31540. produces:
  31541. - application/json
  31542. responses:
  31543. "200":
  31544. description: OK
  31545. schema:
  31546. $ref: '#/definitions/models.HsbyMarketGoods'
  31547. "500":
  31548. description: Internal Server Error
  31549. schema:
  31550. $ref: '#/definitions/app.Response'
  31551. security:
  31552. - ApiKeyAuth: []
  31553. summary: 查询特卖商品列表(三级商城)
  31554. tags:
  31555. - 定制【海商报业】
  31556. /HSBY/QueryHsbyMarkets:
  31557. get:
  31558. produces:
  31559. - application/json
  31560. responses:
  31561. "200":
  31562. description: OK
  31563. schema:
  31564. $ref: '#/definitions/models.HsbyMarketInfo'
  31565. "500":
  31566. description: Internal Server Error
  31567. schema:
  31568. $ref: '#/definitions/app.Response'
  31569. security:
  31570. - ApiKeyAuth: []
  31571. summary: 查询海商报业相关市场信息
  31572. tags:
  31573. - 定制【海商报业】
  31574. /HSBY/QueryHsbyMyBuyOrderDetails:
  31575. get:
  31576. description: '说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败'
  31577. parameters:
  31578. - description: 资金账户列表,格式:1,2,3
  31579. in: query
  31580. name: accountIDs
  31581. required: true
  31582. type: string
  31583. produces:
  31584. - application/json
  31585. responses:
  31586. "200":
  31587. description: OK
  31588. schema:
  31589. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  31590. "500":
  31591. description: Internal Server Error
  31592. schema:
  31593. $ref: '#/definitions/app.Response'
  31594. security:
  31595. - ApiKeyAuth: []
  31596. summary: 查询“我的订单”信息
  31597. tags:
  31598. - 定制【海商报业】
  31599. /HSBY/QueryHsbyMyGoods:
  31600. get:
  31601. description: 说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice
  31602. parameters:
  31603. - description: 资金账户列表,格式:1,2,3
  31604. in: query
  31605. name: accountIDs
  31606. required: true
  31607. type: string
  31608. produces:
  31609. - application/json
  31610. responses:
  31611. "200":
  31612. description: OK
  31613. schema:
  31614. $ref: '#/definitions/models.HsbyMyGoods'
  31615. "500":
  31616. description: Internal Server Error
  31617. schema:
  31618. $ref: '#/definitions/app.Response'
  31619. security:
  31620. - ApiKeyAuth: []
  31621. summary: 查询“我的商品”信息
  31622. tags:
  31623. - 定制【海商报业】
  31624. /HSBY/QueryHsbyMyPackages:
  31625. get:
  31626. parameters:
  31627. - description: 资金账户列表,格式:1,2,3
  31628. in: query
  31629. name: accountIDs
  31630. required: true
  31631. type: string
  31632. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  31633. in: query
  31634. name: takeOrderStatus
  31635. type: integer
  31636. produces:
  31637. - application/json
  31638. responses:
  31639. "200":
  31640. description: OK
  31641. schema:
  31642. $ref: '#/definitions/models.HsbyMyPackage'
  31643. "500":
  31644. description: Internal Server Error
  31645. schema:
  31646. $ref: '#/definitions/app.Response'
  31647. security:
  31648. - ApiKeyAuth: []
  31649. summary: 查询我的包裹信息
  31650. tags:
  31651. - 定制【海商报业】
  31652. /HSBY/QueryHsbyPreGoodsDetail:
  31653. get:
  31654. parameters:
  31655. - description: 商品ID
  31656. in: query
  31657. name: goodsID
  31658. required: true
  31659. type: integer
  31660. - description: 资金账户,主要用于获取预售商品购买上限
  31661. in: query
  31662. name: accountID
  31663. type: integer
  31664. produces:
  31665. - application/json
  31666. responses:
  31667. "200":
  31668. description: OK
  31669. schema:
  31670. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  31671. "500":
  31672. description: Internal Server Error
  31673. schema:
  31674. $ref: '#/definitions/app.Response'
  31675. security:
  31676. - ApiKeyAuth: []
  31677. summary: 查询一级市场(预售)商品信息详情
  31678. tags:
  31679. - 定制【海商报业】
  31680. /HSBY/QueryHsbyPreGoodses:
  31681. get:
  31682. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  31683. parameters:
  31684. - description: 页码
  31685. in: query
  31686. name: page
  31687. type: integer
  31688. - description: 每页条数
  31689. in: query
  31690. name: pagesize
  31691. type: integer
  31692. - description: 市场ID列表,格式:1,2,3
  31693. in: query
  31694. name: marketIDs
  31695. required: true
  31696. type: string
  31697. - description: 目的地(省)ID
  31698. in: query
  31699. name: descProvinceID
  31700. type: integer
  31701. - description: 目的地(市)ID
  31702. in: query
  31703. name: descCityID
  31704. type: integer
  31705. produces:
  31706. - application/json
  31707. responses:
  31708. "200":
  31709. description: OK
  31710. schema:
  31711. $ref: '#/definitions/models.HsbyPreGoods'
  31712. "500":
  31713. description: Internal Server Error
  31714. schema:
  31715. $ref: '#/definitions/app.Response'
  31716. security:
  31717. - ApiKeyAuth: []
  31718. summary: 查询新品上市商品列表(一级市场预售)
  31719. tags:
  31720. - 定制【海商报业】
  31721. /HSBY/QueryHsbySellMyDetails:
  31722. get:
  31723. description: 说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  31724. parameters:
  31725. - description: 页码
  31726. in: query
  31727. name: page
  31728. type: integer
  31729. - description: 每页条数
  31730. in: query
  31731. name: pagesize
  31732. type: integer
  31733. - description: 资金账户列表,格式:1,2,3
  31734. in: query
  31735. name: accountIDs
  31736. required: true
  31737. type: string
  31738. - description: 单据类型:0 - 发布中(默认), 1 - 已完成
  31739. in: query
  31740. name: orderType
  31741. type: integer
  31742. produces:
  31743. - application/json
  31744. responses:
  31745. "200":
  31746. description: OK
  31747. schema:
  31748. $ref: '#/definitions/models.HsbySellMyDetail'
  31749. "500":
  31750. description: Internal Server Error
  31751. schema:
  31752. $ref: '#/definitions/app.Response'
  31753. security:
  31754. - ApiKeyAuth: []
  31755. summary: 查询"我的闲置"单据信息
  31756. tags:
  31757. - 定制【海商报业】
  31758. /HSBY/QueryHsbyTopGoodses:
  31759. get:
  31760. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  31761. parameters:
  31762. - description: 页码
  31763. in: query
  31764. name: page
  31765. type: integer
  31766. - description: 每页条数
  31767. in: query
  31768. name: pagesize
  31769. type: integer
  31770. - description: 市场ID列表,格式:1,2,3
  31771. in: query
  31772. name: marketIDs
  31773. required: true
  31774. type: string
  31775. - description: 目的地(省)ID
  31776. in: query
  31777. name: descProvinceID
  31778. type: integer
  31779. - description: 目的地(市)ID
  31780. in: query
  31781. name: descCityID
  31782. type: integer
  31783. produces:
  31784. - application/json
  31785. responses:
  31786. "200":
  31787. description: OK
  31788. schema:
  31789. $ref: '#/definitions/models.HsbyTopGoods'
  31790. "500":
  31791. description: Internal Server Error
  31792. schema:
  31793. $ref: '#/definitions/app.Response'
  31794. security:
  31795. - ApiKeyAuth: []
  31796. summary: 查询热卖商品列表(二级市场挂牌点选)
  31797. tags:
  31798. - 定制【海商报业】
  31799. /HSBY/QueryHsbyVisitorMarketGoodsDetail:
  31800. get:
  31801. description: 说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。
  31802. parameters:
  31803. - description: 商品ID
  31804. in: query
  31805. name: goodsID
  31806. required: true
  31807. type: integer
  31808. produces:
  31809. - application/json
  31810. responses:
  31811. "200":
  31812. description: OK
  31813. schema:
  31814. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  31815. "500":
  31816. description: Internal Server Error
  31817. schema:
  31818. $ref: '#/definitions/app.Response'
  31819. security:
  31820. - ApiKeyAuth: []
  31821. summary: 查询游客三级市场(商城)商品信息详情
  31822. tags:
  31823. - 定制【海商报业】
  31824. /HSBY/QueryHsbyVisitorMarketGoodses:
  31825. get:
  31826. description: 说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。
  31827. parameters:
  31828. - description: 页码
  31829. in: query
  31830. name: page
  31831. type: integer
  31832. - description: 每页条数
  31833. in: query
  31834. name: pagesize
  31835. type: integer
  31836. - description: 市场ID列表,格式:1,2,3
  31837. in: query
  31838. name: marketIDs
  31839. required: true
  31840. type: string
  31841. - description: 类别ID
  31842. in: query
  31843. name: categoryID
  31844. type: integer
  31845. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  31846. in: query
  31847. name: goodsIDs
  31848. type: string
  31849. produces:
  31850. - application/json
  31851. responses:
  31852. "200":
  31853. description: OK
  31854. schema:
  31855. $ref: '#/definitions/models.HsbyMarketGoods'
  31856. "500":
  31857. description: Internal Server Error
  31858. schema:
  31859. $ref: '#/definitions/app.Response'
  31860. security:
  31861. - ApiKeyAuth: []
  31862. summary: 查询游客特卖商品列表(三级商城)
  31863. tags:
  31864. - 定制【海商报业】
  31865. /HSBY/QueryMyCollectionOrders:
  31866. get:
  31867. parameters:
  31868. - description: 页码
  31869. in: query
  31870. name: page
  31871. type: integer
  31872. - description: 每页条数
  31873. in: query
  31874. name: pagesize
  31875. type: integer
  31876. - description: 资金账户,格式:1,2,3
  31877. in: query
  31878. name: accountIDs
  31879. required: true
  31880. type: string
  31881. produces:
  31882. - application/json
  31883. responses:
  31884. "200":
  31885. description: OK
  31886. schema:
  31887. $ref: '#/definitions/models.HsbySellCollectionOrder'
  31888. "500":
  31889. description: Internal Server Error
  31890. schema:
  31891. $ref: '#/definitions/app.Response'
  31892. security:
  31893. - ApiKeyAuth: []
  31894. summary: 我的闲置中收款信息查询
  31895. tags:
  31896. - 定制【海商报业】
  31897. /HSBY/QueryMyCouponHolds:
  31898. get:
  31899. description: 说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。
  31900. parameters:
  31901. - description: 资金账户列表,格式:1,2,3
  31902. in: query
  31903. name: accountIDs
  31904. required: true
  31905. type: string
  31906. - description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3
  31907. in: query
  31908. name: holdStatus
  31909. type: string
  31910. produces:
  31911. - application/json
  31912. responses:
  31913. "200":
  31914. description: OK
  31915. schema:
  31916. $ref: '#/definitions/models.MyCouponHold'
  31917. "500":
  31918. description: Internal Server Error
  31919. schema:
  31920. $ref: '#/definitions/app.Response'
  31921. security:
  31922. - ApiKeyAuth: []
  31923. summary: 我的优惠卷持仓查询
  31924. tags:
  31925. - 定制【海商报业】
  31926. /HSBY/QueryMyCoupons:
  31927. get:
  31928. parameters:
  31929. - description: 资金账户列表,格式:1,2,3
  31930. in: query
  31931. name: accountIDs
  31932. required: true
  31933. type: string
  31934. - description: 商品ID, 一般与sellUserID配套传入
  31935. in: query
  31936. name: goodsID
  31937. type: integer
  31938. - description: 卖方UserID
  31939. in: query
  31940. name: sellUserID
  31941. type: integer
  31942. produces:
  31943. - application/json
  31944. responses:
  31945. "200":
  31946. description: OK
  31947. schema:
  31948. $ref: '#/definitions/models.MyCoupon'
  31949. "500":
  31950. description: Internal Server Error
  31951. schema:
  31952. $ref: '#/definitions/app.Response'
  31953. security:
  31954. - ApiKeyAuth: []
  31955. summary: 我的优惠卷查询
  31956. tags:
  31957. - 定制【海商报业】
  31958. /HSBY/QueryMyPayOrders:
  31959. get:
  31960. parameters:
  31961. - description: 页码
  31962. in: query
  31963. name: page
  31964. type: integer
  31965. - description: 每页条数
  31966. in: query
  31967. name: pagesize
  31968. type: integer
  31969. - description: 资金账户列表,格式:1,2,3
  31970. in: query
  31971. name: accountIDs
  31972. required: true
  31973. type: string
  31974. - description: 买方委托单号
  31975. in: query
  31976. name: buyOrderID
  31977. type: integer
  31978. - description: 卖方委托单号
  31979. in: query
  31980. name: sellOrderID
  31981. type: integer
  31982. produces:
  31983. - application/json
  31984. responses:
  31985. "200":
  31986. description: OK
  31987. schema:
  31988. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  31989. "500":
  31990. description: Internal Server Error
  31991. schema:
  31992. $ref: '#/definitions/app.Response'
  31993. security:
  31994. - ApiKeyAuth: []
  31995. summary: 获取我的订单中待付款信息
  31996. tags:
  31997. - 定制【海商报业】
  31998. /HSBY/QueryMyUsedCoupon:
  31999. get:
  32000. parameters:
  32001. - description: 资金账户列表,格式:1,2,3
  32002. in: query
  32003. name: accountIDs
  32004. required: true
  32005. type: string
  32006. produces:
  32007. - application/json
  32008. responses:
  32009. "200":
  32010. description: OK
  32011. schema:
  32012. $ref: '#/definitions/models.MyUsedCoupon'
  32013. "500":
  32014. description: Internal Server Error
  32015. schema:
  32016. $ref: '#/definitions/app.Response'
  32017. security:
  32018. - ApiKeyAuth: []
  32019. summary: 已使用优惠卷查询
  32020. tags:
  32021. - 定制【海商报业】
  32022. /HSBY/QueryProvincesAndCities:
  32023. get:
  32024. description: 查询结果只包括二级市场商品已关连的省市信息。
  32025. parameters:
  32026. - description: 省ID
  32027. in: query
  32028. name: provinceID
  32029. type: integer
  32030. produces:
  32031. - application/json
  32032. responses:
  32033. "200":
  32034. description: OK
  32035. schema:
  32036. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  32037. "500":
  32038. description: Internal Server Error
  32039. schema:
  32040. $ref: '#/definitions/app.Response'
  32041. security:
  32042. - ApiKeyAuth: []
  32043. summary: 查询省市信息(不包括区)
  32044. tags:
  32045. - 定制【海商报业】
  32046. /HSBY/SetHsbyMyPackagesStatus:
  32047. post:
  32048. parameters:
  32049. - description: 提货单号
  32050. in: query
  32051. name: takeOrderID
  32052. required: true
  32053. type: string
  32054. - description: 资金账号
  32055. in: query
  32056. name: accountID
  32057. required: true
  32058. type: integer
  32059. produces:
  32060. - application/json
  32061. responses:
  32062. "200":
  32063. description: OK
  32064. schema:
  32065. $ref: '#/definitions/app.Response'
  32066. "500":
  32067. description: Internal Server Error
  32068. schema:
  32069. $ref: '#/definitions/app.Response'
  32070. security:
  32071. - ApiKeyAuth: []
  32072. summary: 设置我的包裹已收货状态
  32073. tags:
  32074. - 定制【海商报业】
  32075. /Market/GetAllExExchanges:
  32076. get:
  32077. produces:
  32078. - application/json
  32079. responses:
  32080. "200":
  32081. description: OK
  32082. schema:
  32083. $ref: '#/definitions/models.Goods'
  32084. "500":
  32085. description: Internal Server Error
  32086. schema:
  32087. $ref: '#/definitions/app.Response'
  32088. security:
  32089. - ApiKeyAuth: []
  32090. summary: 获取所有外部交易所信息
  32091. tags:
  32092. - 通用市场
  32093. /Market/QueryGoodsesByLoginID:
  32094. get:
  32095. parameters:
  32096. - description: 登录账号
  32097. in: query
  32098. name: loginID
  32099. required: true
  32100. type: integer
  32101. - description: 市场ID列表,格式:1,2,3
  32102. in: query
  32103. name: marketIDs
  32104. type: string
  32105. produces:
  32106. - application/json
  32107. responses:
  32108. "200":
  32109. description: OK
  32110. schema:
  32111. $ref: '#/definitions/models.Goods'
  32112. "500":
  32113. description: Internal Server Error
  32114. schema:
  32115. $ref: '#/definitions/app.Response'
  32116. security:
  32117. - ApiKeyAuth: []
  32118. summary: 获取登录账号有权限的商品信息
  32119. tags:
  32120. - 通用市场
  32121. /Market/QueryMarketRun:
  32122. get:
  32123. parameters:
  32124. - description: 市场ID,不传返回所有
  32125. in: query
  32126. name: marketID
  32127. type: integer
  32128. produces:
  32129. - application/json
  32130. responses:
  32131. "200":
  32132. description: OK
  32133. schema:
  32134. $ref: '#/definitions/models.Marketrun'
  32135. "500":
  32136. description: Internal Server Error
  32137. schema:
  32138. $ref: '#/definitions/app.Response'
  32139. security:
  32140. - ApiKeyAuth: []
  32141. summary: 查询市场运行信息
  32142. tags:
  32143. - 通用市场
  32144. /Market/QueryMarketsByLoginID:
  32145. get:
  32146. parameters:
  32147. - description: 登录账号
  32148. in: query
  32149. name: loginID
  32150. required: true
  32151. type: integer
  32152. produces:
  32153. - application/json
  32154. responses:
  32155. "200":
  32156. description: OK
  32157. schema:
  32158. $ref: '#/definitions/models.Market'
  32159. "500":
  32160. description: Internal Server Error
  32161. schema:
  32162. $ref: '#/definitions/app.Response'
  32163. security:
  32164. - ApiKeyAuth: []
  32165. summary: 获取登录账号有权限的市场信息
  32166. tags:
  32167. - 通用市场
  32168. /Order/QueryHisTradeDetail:
  32169. get:
  32170. parameters:
  32171. - description: 资金账户 - 格式:1,2,3
  32172. in: query
  32173. name: accountID
  32174. required: true
  32175. type: string
  32176. - description: 成交单号
  32177. in: query
  32178. name: tradeID
  32179. type: integer
  32180. - description: 委托单号
  32181. in: query
  32182. name: orderID
  32183. type: integer
  32184. - description: 商品ID
  32185. in: query
  32186. name: goodsID
  32187. type: integer
  32188. - description: 交易模式 - 格式:1,2,3
  32189. in: query
  32190. name: tradeMode
  32191. type: string
  32192. - description: 委托单据类型
  32193. in: query
  32194. name: buildType
  32195. type: integer
  32196. - description: 成交类别 - 格式:1,2,3
  32197. in: query
  32198. name: tradeType
  32199. type: string
  32200. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  32201. in: query
  32202. name: startDate
  32203. type: string
  32204. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  32205. in: query
  32206. name: endDate
  32207. type: string
  32208. produces:
  32209. - application/json
  32210. responses:
  32211. "200":
  32212. description: OK
  32213. schema:
  32214. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  32215. "500":
  32216. description: Internal Server Error
  32217. schema:
  32218. $ref: '#/definitions/app.Response'
  32219. security:
  32220. - ApiKeyAuth: []
  32221. summary: 历史成交单查询(合约市场)
  32222. tags:
  32223. - 通用单据
  32224. /Order/QueryHisTradeOrderDetail:
  32225. get:
  32226. parameters:
  32227. - description: 资金账户 - 格式:1,2,3
  32228. in: query
  32229. name: accountID
  32230. required: true
  32231. type: string
  32232. - description: 交易模式 - 格式:1,2,3
  32233. in: query
  32234. name: tradeMode
  32235. type: string
  32236. - description: 委托状态 - 格式:1,2,3
  32237. in: query
  32238. name: orderStatus
  32239. type: string
  32240. - description: 委托单号
  32241. in: query
  32242. name: orderID
  32243. type: integer
  32244. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  32245. in: query
  32246. name: startDate
  32247. type: string
  32248. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  32249. in: query
  32250. name: endDate
  32251. type: string
  32252. produces:
  32253. - application/json
  32254. responses:
  32255. "200":
  32256. description: OK
  32257. schema:
  32258. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  32259. "500":
  32260. description: Internal Server Error
  32261. schema:
  32262. $ref: '#/definitions/app.Response'
  32263. security:
  32264. - ApiKeyAuth: []
  32265. summary: 历史委托单查询请求(合约市场)
  32266. tags:
  32267. - 通用单据
  32268. /Order/QueryTradeDetail:
  32269. get:
  32270. parameters:
  32271. - description: 资金账户 - 格式:1,2,3
  32272. in: query
  32273. name: accountID
  32274. required: true
  32275. type: string
  32276. - description: 成交单号
  32277. in: query
  32278. name: tradeID
  32279. type: integer
  32280. - description: 委托单号
  32281. in: query
  32282. name: orderID
  32283. type: integer
  32284. - description: 交易模式 - 格式:1,2,3
  32285. in: query
  32286. name: tradeMode
  32287. type: string
  32288. - description: 委托单据类型
  32289. in: query
  32290. name: buildType
  32291. type: integer
  32292. - description: 成交类别 - 格式:1,2,3
  32293. in: query
  32294. name: tradeType
  32295. type: string
  32296. - description: 商品ID
  32297. in: query
  32298. name: goodsID
  32299. type: integer
  32300. produces:
  32301. - application/json
  32302. responses:
  32303. "200":
  32304. description: OK
  32305. schema:
  32306. $ref: '#/definitions/order.QueryTradeDetailRsp'
  32307. "500":
  32308. description: Internal Server Error
  32309. schema:
  32310. $ref: '#/definitions/app.Response'
  32311. security:
  32312. - ApiKeyAuth: []
  32313. summary: 成交单查询(合约市场)
  32314. tags:
  32315. - 通用单据
  32316. /Order/QueryTradeHolderDetail:
  32317. get:
  32318. parameters:
  32319. - description: 用户id
  32320. in: query
  32321. name: userid
  32322. type: integer
  32323. - description: 资金账号, 格式 1,2,3
  32324. in: query
  32325. name: accids
  32326. type: string
  32327. - description: 交易模式, 格式 1,2,3
  32328. in: query
  32329. name: trademodes
  32330. type: string
  32331. - description: 市场id, 格式 1,2,3
  32332. in: query
  32333. name: marketids
  32334. type: string
  32335. - description: 商品id
  32336. in: query
  32337. name: goodsid
  32338. type: integer
  32339. - description: 买卖方向 0-买 1-卖
  32340. in: query
  32341. name: buyorsell
  32342. type: integer
  32343. produces:
  32344. - application/json
  32345. responses:
  32346. "200":
  32347. description: OK
  32348. schema:
  32349. items:
  32350. $ref: '#/definitions/models.TradeHolderDetail'
  32351. type: array
  32352. "500":
  32353. description: Internal Server Error
  32354. schema:
  32355. $ref: '#/definitions/app.Response'
  32356. security:
  32357. - ApiKeyAuth: []
  32358. summary: 查询持仓明细
  32359. tags:
  32360. - 通用单据
  32361. /Order/QueryTradeOrderDetail:
  32362. get:
  32363. parameters:
  32364. - description: 资金账户 - 格式:1,2,3
  32365. in: query
  32366. name: accountID
  32367. required: true
  32368. type: string
  32369. - description: 交易模式 - 格式:1,2,3
  32370. in: query
  32371. name: tradeMode
  32372. type: string
  32373. - description: 委托状态 - 格式:1,2,3
  32374. in: query
  32375. name: orderStatus
  32376. type: string
  32377. - description: 委托单号
  32378. in: query
  32379. name: orderID
  32380. type: integer
  32381. produces:
  32382. - application/json
  32383. responses:
  32384. "200":
  32385. description: OK
  32386. schema:
  32387. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  32388. "500":
  32389. description: Internal Server Error
  32390. schema:
  32391. $ref: '#/definitions/app.Response'
  32392. security:
  32393. - ApiKeyAuth: []
  32394. summary: 委托单查询请求(合约市场)
  32395. tags:
  32396. - 通用单据
  32397. /Order/QueryTradePosition:
  32398. get:
  32399. parameters:
  32400. - description: 资金账户 - 格式:1,2,3
  32401. in: query
  32402. name: accountID
  32403. required: true
  32404. type: string
  32405. - description: 交易模式 - 格式:1,2,3
  32406. in: query
  32407. name: tradeMode
  32408. type: string
  32409. produces:
  32410. - application/json
  32411. responses:
  32412. "200":
  32413. description: OK
  32414. schema:
  32415. $ref: '#/definitions/order.QueryTradePositionRsp'
  32416. "500":
  32417. description: Internal Server Error
  32418. schema:
  32419. $ref: '#/definitions/app.Response'
  32420. security:
  32421. - ApiKeyAuth: []
  32422. summary: 持仓汇总查询(合约市场)
  32423. tags:
  32424. - 通用单据
  32425. /Qhj/QueryAccountInOutApply:
  32426. get:
  32427. parameters:
  32428. - description: 用户ID
  32429. in: query
  32430. name: userid
  32431. required: true
  32432. type: integer
  32433. - description: 申请起始日期(格式yyyymmdd)
  32434. in: query
  32435. name: begindate
  32436. type: string
  32437. - description: 申请截止日期(格式yyyymmdd)
  32438. in: query
  32439. name: enddate
  32440. type: string
  32441. - description: 模糊搜索名称
  32442. in: query
  32443. name: likename
  32444. type: string
  32445. - description: 状态 1-待审核 2-审核通过 3-审核拒绝
  32446. in: query
  32447. name: applystatus
  32448. type: integer
  32449. - description: 查询类型 1-提现(出金) 2-充值(入金)
  32450. in: query
  32451. name: querytype
  32452. type: integer
  32453. produces:
  32454. - application/json
  32455. responses:
  32456. "200":
  32457. description: OK
  32458. schema:
  32459. items:
  32460. $ref: '#/definitions/models.QhjAccountOutInApply'
  32461. type: array
  32462. "500":
  32463. description: Internal Server Error
  32464. schema:
  32465. $ref: '#/definitions/app.Response'
  32466. security:
  32467. - ApiKeyAuth: []
  32468. summary: 查询充值提现
  32469. tags:
  32470. - 大连千海金
  32471. /Qhj/QueryAreaFinanceConfig:
  32472. get:
  32473. parameters:
  32474. - description: 机构用户ID 其他做市关系,都设置为 1
  32475. in: query
  32476. name: userid
  32477. type: integer
  32478. produces:
  32479. - application/json
  32480. responses:
  32481. "200":
  32482. description: OK
  32483. schema:
  32484. items:
  32485. $ref: '#/definitions/models.QhjAreaFinanceConfig'
  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. - 大连千海金
  32496. /Qhj/QueryBankAccountSign:
  32497. get:
  32498. parameters:
  32499. - description: 用户ID
  32500. in: query
  32501. name: userid
  32502. required: true
  32503. type: integer
  32504. produces:
  32505. - application/json
  32506. responses:
  32507. "200":
  32508. description: OK
  32509. schema:
  32510. items:
  32511. $ref: '#/definitions/models.QhjBankAccountSign'
  32512. type: array
  32513. "500":
  32514. description: Internal Server Error
  32515. schema:
  32516. $ref: '#/definitions/app.Response'
  32517. security:
  32518. - ApiKeyAuth: []
  32519. summary: 查询签约银行信息(提现账户管理)
  32520. tags:
  32521. - 大连千海金
  32522. /Qhj/QueryBankInfo:
  32523. get:
  32524. produces:
  32525. - application/json
  32526. responses:
  32527. "200":
  32528. description: OK
  32529. schema:
  32530. items:
  32531. $ref: '#/definitions/models.QhjBankInfo'
  32532. type: array
  32533. "500":
  32534. description: Internal Server Error
  32535. schema:
  32536. $ref: '#/definitions/app.Response'
  32537. security:
  32538. - ApiKeyAuth: []
  32539. summary: 查询开户行
  32540. tags:
  32541. - 大连千海金
  32542. /Qhj/QueryBrokerApply:
  32543. get:
  32544. parameters:
  32545. - description: 所属机构ID
  32546. in: query
  32547. name: userid
  32548. type: integer
  32549. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  32550. in: query
  32551. name: filterstatus
  32552. type: string
  32553. produces:
  32554. - application/json
  32555. responses:
  32556. "200":
  32557. description: OK
  32558. schema:
  32559. items:
  32560. $ref: '#/definitions/models.QhjBrokerApply'
  32561. type: array
  32562. "500":
  32563. description: Internal Server Error
  32564. schema:
  32565. $ref: '#/definitions/app.Response'
  32566. security:
  32567. - ApiKeyAuth: []
  32568. summary: 查询经纪人申请
  32569. tags:
  32570. - 大连千海金
  32571. /Qhj/QueryBrokerApplyEx:
  32572. get:
  32573. parameters:
  32574. - description: 所属机构ID
  32575. in: query
  32576. name: userid
  32577. type: integer
  32578. produces:
  32579. - application/json
  32580. responses:
  32581. "200":
  32582. description: OK
  32583. schema:
  32584. items:
  32585. $ref: '#/definitions/models.QhjBrokerApplyEx'
  32586. type: array
  32587. "500":
  32588. description: Internal Server Error
  32589. schema:
  32590. $ref: '#/definitions/app.Response'
  32591. security:
  32592. - ApiKeyAuth: []
  32593. summary: 查询经纪人信息和申请记录
  32594. tags:
  32595. - 大连千海金
  32596. /Qhj/QueryBrokerRewardLog:
  32597. get:
  32598. parameters:
  32599. - description: 用户ID
  32600. in: query
  32601. name: userid
  32602. required: true
  32603. type: integer
  32604. - description: 开始交易日(yyyymmdd)
  32605. in: query
  32606. name: begindate
  32607. type: string
  32608. - description: 结束交易日(yyyymmdd)
  32609. in: query
  32610. name: enddate
  32611. type: string
  32612. produces:
  32613. - application/json
  32614. responses:
  32615. "200":
  32616. description: OK
  32617. schema:
  32618. items:
  32619. $ref: '#/definitions/models.QhjBrokerRewardLog'
  32620. type: array
  32621. "500":
  32622. description: Internal Server Error
  32623. schema:
  32624. $ref: '#/definitions/app.Response'
  32625. security:
  32626. - ApiKeyAuth: []
  32627. summary: 查询奖励流水(我的奖励)
  32628. tags:
  32629. - 大连千海金
  32630. /Qhj/QueryContract:
  32631. get:
  32632. parameters:
  32633. - description: 用户ID
  32634. in: query
  32635. name: userid
  32636. type: integer
  32637. - description: scf合同id
  32638. in: query
  32639. name: scfcontractid
  32640. type: integer
  32641. produces:
  32642. - application/json
  32643. responses:
  32644. "200":
  32645. description: OK
  32646. schema:
  32647. items:
  32648. $ref: '#/definitions/models.QhjContract'
  32649. type: array
  32650. "500":
  32651. description: Internal Server Error
  32652. schema:
  32653. $ref: '#/definitions/app.Response'
  32654. security:
  32655. - ApiKeyAuth: []
  32656. summary: 查询融资明细(合同)
  32657. tags:
  32658. - 大连千海金
  32659. /Qhj/QueryContractLog:
  32660. get:
  32661. parameters:
  32662. - description: scf合同id
  32663. in: query
  32664. name: scfcontractid
  32665. required: true
  32666. type: integer
  32667. - description: 资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款
  32668. in: query
  32669. name: amounttype
  32670. type: string
  32671. produces:
  32672. - application/json
  32673. responses:
  32674. "200":
  32675. description: OK
  32676. schema:
  32677. items:
  32678. $ref: '#/definitions/models.QhjContractLog'
  32679. type: array
  32680. "500":
  32681. description: Internal Server Error
  32682. schema:
  32683. $ref: '#/definitions/app.Response'
  32684. security:
  32685. - ApiKeyAuth: []
  32686. summary: 查询融资明细流水(融资明细详情页中的流水)
  32687. tags:
  32688. - 大连千海金
  32689. /Qhj/QueryCusBankSignBank:
  32690. get:
  32691. produces:
  32692. - application/json
  32693. responses:
  32694. "200":
  32695. description: OK
  32696. schema:
  32697. items:
  32698. $ref: '#/definitions/models.QhjCusBankSignBankEx'
  32699. type: array
  32700. "500":
  32701. description: Internal Server Error
  32702. schema:
  32703. $ref: '#/definitions/app.Response'
  32704. security:
  32705. - ApiKeyAuth: []
  32706. summary: 查询托管银行
  32707. tags:
  32708. - 大连千海金
  32709. /Qhj/QueryCustomerInfo:
  32710. get:
  32711. parameters:
  32712. - description: 用户ID
  32713. in: query
  32714. name: userid
  32715. required: true
  32716. type: integer
  32717. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  32718. in: query
  32719. name: querytype
  32720. required: true
  32721. type: integer
  32722. - description: 客户类型 1-个人 2-企业
  32723. in: query
  32724. name: userinfotype
  32725. type: integer
  32726. - description: 客户名称(模糊匹配)
  32727. in: query
  32728. name: customername
  32729. type: string
  32730. - description: 昵称(模糊匹配)
  32731. in: query
  32732. name: nickname
  32733. type: string
  32734. - description: 是否包含子级 1-包含
  32735. in: query
  32736. name: includesub
  32737. type: integer
  32738. produces:
  32739. - application/json
  32740. responses:
  32741. "200":
  32742. description: OK
  32743. schema:
  32744. items:
  32745. $ref: '#/definitions/models.QhjCustomer'
  32746. type: array
  32747. "500":
  32748. description: Internal Server Error
  32749. schema:
  32750. $ref: '#/definitions/app.Response'
  32751. security:
  32752. - ApiKeyAuth: []
  32753. summary: 查询客户资料
  32754. tags:
  32755. - 大连千海金
  32756. /Qhj/QueryGoodsEx:
  32757. get:
  32758. parameters:
  32759. - description: 商品id
  32760. in: query
  32761. name: goodsid
  32762. type: integer
  32763. produces:
  32764. - application/json
  32765. responses:
  32766. "200":
  32767. description: OK
  32768. schema:
  32769. items:
  32770. $ref: '#/definitions/models.Qhjgoodsex'
  32771. type: array
  32772. "500":
  32773. description: Internal Server Error
  32774. schema:
  32775. $ref: '#/definitions/app.Response'
  32776. security:
  32777. - ApiKeyAuth: []
  32778. summary: 交易商品扩展表
  32779. tags:
  32780. - 大连千海金
  32781. /Qhj/QueryMyTeam:
  32782. get:
  32783. parameters:
  32784. - description: 用户ID
  32785. in: query
  32786. name: userid
  32787. required: true
  32788. type: integer
  32789. produces:
  32790. - application/json
  32791. responses:
  32792. "200":
  32793. description: OK
  32794. schema:
  32795. items:
  32796. $ref: '#/definitions/models.QhjMyTeamEx'
  32797. type: array
  32798. "500":
  32799. description: Internal Server Error
  32800. schema:
  32801. $ref: '#/definitions/app.Response'
  32802. security:
  32803. - ApiKeyAuth: []
  32804. summary: 查询我的团队
  32805. tags:
  32806. - 大连千海金
  32807. /Qhj/QueryMyTeamOrder:
  32808. get:
  32809. parameters:
  32810. - description: 页码
  32811. in: query
  32812. name: page
  32813. type: integer
  32814. - description: 每页条数
  32815. in: query
  32816. name: pagesize
  32817. type: integer
  32818. - description: 用户ID
  32819. in: query
  32820. name: userid
  32821. required: true
  32822. type: integer
  32823. - description: 交易模式
  32824. in: query
  32825. name: trademode
  32826. type: integer
  32827. - description: 名称(模糊搜索账户)
  32828. in: query
  32829. name: filtername
  32830. type: string
  32831. produces:
  32832. - application/json
  32833. responses:
  32834. "200":
  32835. description: OK
  32836. schema:
  32837. items:
  32838. $ref: '#/definitions/models.QhjTeamOrder'
  32839. type: array
  32840. "500":
  32841. description: Internal Server Error
  32842. schema:
  32843. $ref: '#/definitions/app.Response'
  32844. security:
  32845. - ApiKeyAuth: []
  32846. summary: 查询团队订单(我的团队/团队订单)
  32847. tags:
  32848. - 大连千海金
  32849. /Qhj/QueryParentAreaList:
  32850. get:
  32851. parameters:
  32852. - description: 用户ID
  32853. in: query
  32854. name: userid
  32855. required: true
  32856. type: integer
  32857. produces:
  32858. - application/json
  32859. responses:
  32860. "200":
  32861. description: OK
  32862. schema:
  32863. items:
  32864. $ref: '#/definitions/models.QhjParentAreaList'
  32865. type: array
  32866. "500":
  32867. description: Internal Server Error
  32868. schema:
  32869. $ref: '#/definitions/app.Response'
  32870. security:
  32871. - ApiKeyAuth: []
  32872. summary: 查询所属机构列表
  32873. tags:
  32874. - 大连千海金
  32875. /Qhj/QueryPayOrder:
  32876. get:
  32877. parameters:
  32878. - description: 资金账号id
  32879. in: query
  32880. name: accountid
  32881. required: true
  32882. type: integer
  32883. - description: 成交单号
  32884. in: query
  32885. name: tradeid
  32886. type: integer
  32887. - description: 付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  32888. in: query
  32889. name: payflag
  32890. type: string
  32891. produces:
  32892. - application/json
  32893. responses:
  32894. "200":
  32895. description: OK
  32896. schema:
  32897. items:
  32898. $ref: '#/definitions/models.QhjPayOrder'
  32899. type: array
  32900. "500":
  32901. description: Internal Server Error
  32902. schema:
  32903. $ref: '#/definitions/app.Response'
  32904. security:
  32905. - ApiKeyAuth: []
  32906. summary: 查询待付款单据
  32907. tags:
  32908. - 大连千海金
  32909. /Qhj/QueryPickArea:
  32910. get:
  32911. parameters:
  32912. - description: 用户ID
  32913. in: query
  32914. name: userid
  32915. type: integer
  32916. produces:
  32917. - application/json
  32918. responses:
  32919. "200":
  32920. description: OK
  32921. schema:
  32922. items:
  32923. $ref: '#/definitions/models.QhjPickArea'
  32924. type: array
  32925. "500":
  32926. description: Internal Server Error
  32927. schema:
  32928. $ref: '#/definitions/app.Response'
  32929. security:
  32930. - ApiKeyAuth: []
  32931. summary: 查询提货门店
  32932. tags:
  32933. - 大连千海金
  32934. /Qhj/QueryPickGoods:
  32935. get:
  32936. parameters:
  32937. - description: 交易商品id
  32938. in: query
  32939. name: goodsid
  32940. required: true
  32941. type: integer
  32942. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  32943. in: query
  32944. name: status
  32945. type: string
  32946. produces:
  32947. - application/json
  32948. responses:
  32949. "200":
  32950. description: OK
  32951. schema:
  32952. items:
  32953. $ref: '#/definitions/models.QhjPickGoods'
  32954. type: array
  32955. "500":
  32956. description: Internal Server Error
  32957. schema:
  32958. $ref: '#/definitions/app.Response'
  32959. security:
  32960. - ApiKeyAuth: []
  32961. summary: 查询提货商品
  32962. tags:
  32963. - 大连千海金
  32964. /Qhj/QueryRSTriggerLog:
  32965. get:
  32966. parameters:
  32967. - description: 用户ID
  32968. in: query
  32969. name: userid
  32970. type: integer
  32971. - description: 定投策略id
  32972. in: query
  32973. name: regularlystrategyid
  32974. type: integer
  32975. - description: 商品id
  32976. in: query
  32977. name: goodsid
  32978. type: integer
  32979. - description: 开始交易日(yyyymmdd)
  32980. in: query
  32981. name: begindate
  32982. type: string
  32983. - description: 结束交易日(yyyymmdd)
  32984. in: query
  32985. name: enddate
  32986. type: string
  32987. - description: 名称(模糊搜索账户)
  32988. in: query
  32989. name: filtername
  32990. type: string
  32991. produces:
  32992. - application/json
  32993. responses:
  32994. "200":
  32995. description: OK
  32996. schema:
  32997. items:
  32998. $ref: '#/definitions/models.QhjRSTriggerLog'
  32999. type: array
  33000. "500":
  33001. description: Internal Server Error
  33002. schema:
  33003. $ref: '#/definitions/app.Response'
  33004. security:
  33005. - ApiKeyAuth: []
  33006. summary: 查询定投记录(定投管理/详情/定投记录)
  33007. tags:
  33008. - 大连千海金
  33009. /Qhj/QueryRStrategy:
  33010. get:
  33011. parameters:
  33012. - description: 用户ID
  33013. in: query
  33014. name: userid
  33015. type: integer
  33016. - description: 商品id
  33017. in: query
  33018. name: goodsid
  33019. type: integer
  33020. - description: 策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止
  33021. in: query
  33022. name: status
  33023. type: string
  33024. - description: 名称(模糊搜索账户)
  33025. in: query
  33026. name: filtername
  33027. type: string
  33028. produces:
  33029. - application/json
  33030. responses:
  33031. "200":
  33032. description: OK
  33033. schema:
  33034. items:
  33035. $ref: '#/definitions/models.QhjRStrategy'
  33036. type: array
  33037. "500":
  33038. description: Internal Server Error
  33039. schema:
  33040. $ref: '#/definitions/app.Response'
  33041. security:
  33042. - ApiKeyAuth: []
  33043. summary: 查询定投设置(我的定投/历史定投[状态=已终止])
  33044. tags:
  33045. - 大连千海金
  33046. /Qhj/QueryReckonPriceLog:
  33047. get:
  33048. parameters:
  33049. - description: 商品ID
  33050. in: query
  33051. name: goodsid
  33052. type: integer
  33053. - description: 交易日 格式(yyyymmdd)
  33054. in: query
  33055. name: tradedate
  33056. type: string
  33057. produces:
  33058. - application/json
  33059. responses:
  33060. "200":
  33061. description: OK
  33062. schema:
  33063. items:
  33064. $ref: '#/definitions/models.QhjReckonPriceLog'
  33065. type: array
  33066. "500":
  33067. description: Internal Server Error
  33068. schema:
  33069. $ref: '#/definitions/app.Response'
  33070. security:
  33071. - ApiKeyAuth: []
  33072. summary: 查询定投价(结算价)
  33073. tags:
  33074. - 大连千海金
  33075. /Qhj/QueryScoreLog:
  33076. get:
  33077. parameters:
  33078. - description: 用户ID
  33079. in: query
  33080. name: userid
  33081. required: true
  33082. type: integer
  33083. - description: 开始交易日(yyyymmdd)
  33084. in: query
  33085. name: begindate
  33086. type: string
  33087. - description: 结束交易日(yyyymmdd)
  33088. in: query
  33089. name: enddate
  33090. type: string
  33091. - description: 最近多少条
  33092. in: query
  33093. name: lastnum
  33094. type: integer
  33095. produces:
  33096. - application/json
  33097. responses:
  33098. "200":
  33099. description: OK
  33100. schema:
  33101. items:
  33102. $ref: '#/definitions/models.QhjScoreLog'
  33103. type: array
  33104. "500":
  33105. description: Internal Server Error
  33106. schema:
  33107. $ref: '#/definitions/app.Response'
  33108. security:
  33109. - ApiKeyAuth: []
  33110. summary: 查询积分流水(我的积分)
  33111. tags:
  33112. - 大连千海金
  33113. /Qhj/QuerySiteColumnDetail:
  33114. get:
  33115. parameters:
  33116. - description: 用户ID
  33117. in: query
  33118. name: userid
  33119. required: true
  33120. type: integer
  33121. produces:
  33122. - application/json
  33123. responses:
  33124. "200":
  33125. description: OK
  33126. schema:
  33127. items:
  33128. $ref: '#/definitions/models.QhjSiteColumnDetail'
  33129. type: array
  33130. "500":
  33131. description: Internal Server Error
  33132. schema:
  33133. $ref: '#/definitions/app.Response'
  33134. security:
  33135. - ApiKeyAuth: []
  33136. summary: 查询资讯
  33137. tags:
  33138. - 大连千海金
  33139. /Qhj/QueryTradeGoodsPickup:
  33140. get:
  33141. parameters:
  33142. - description: 用户ID
  33143. in: query
  33144. name: userid
  33145. required: true
  33146. type: integer
  33147. - description: 提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  33148. 7:已拒绝 8:已撤销
  33149. in: query
  33150. name: takeorderstatus
  33151. type: integer
  33152. produces:
  33153. - application/json
  33154. responses:
  33155. "200":
  33156. description: OK
  33157. schema:
  33158. items:
  33159. $ref: '#/definitions/models.QhjTradeGoodsPickup'
  33160. type: array
  33161. "500":
  33162. description: Internal Server Error
  33163. schema:
  33164. $ref: '#/definitions/app.Response'
  33165. security:
  33166. - ApiKeyAuth: []
  33167. summary: 查询提货
  33168. tags:
  33169. - 大连千海金
  33170. /Qhj/QueryUserCollectConfig:
  33171. get:
  33172. parameters:
  33173. - description: 用户ID
  33174. in: query
  33175. name: userid
  33176. required: true
  33177. type: integer
  33178. produces:
  33179. - application/json
  33180. responses:
  33181. "200":
  33182. description: OK
  33183. schema:
  33184. items:
  33185. $ref: '#/definitions/models.UserCollectConfig'
  33186. type: array
  33187. "500":
  33188. description: Internal Server Error
  33189. schema:
  33190. $ref: '#/definitions/app.Response'
  33191. security:
  33192. - ApiKeyAuth: []
  33193. summary: 查询提现账户设置
  33194. tags:
  33195. - 大连千海金
  33196. /Qhj/QueryUserReceiveInfo:
  33197. get:
  33198. parameters:
  33199. - description: 用户ID
  33200. in: query
  33201. name: userid
  33202. required: true
  33203. type: integer
  33204. produces:
  33205. - application/json
  33206. responses:
  33207. "200":
  33208. description: OK
  33209. schema:
  33210. items:
  33211. $ref: '#/definitions/models.UserReceiveInfo'
  33212. type: array
  33213. "500":
  33214. description: Internal Server Error
  33215. schema:
  33216. $ref: '#/definitions/app.Response'
  33217. security:
  33218. - ApiKeyAuth: []
  33219. summary: 查询收货地址信息
  33220. tags:
  33221. - 大连千海金
  33222. /QhjMgr/QueryAccountInOutApply:
  33223. get:
  33224. parameters:
  33225. - description: 查询类型 1-提现(出金) 2-充值(出金)
  33226. in: query
  33227. name: querytype
  33228. required: true
  33229. type: integer
  33230. - description: 状态 1-待审核 2-审核通过 3-审核拒绝
  33231. in: query
  33232. name: applystatus
  33233. type: integer
  33234. - description: 申请起始日期(格式yyyymmdd)
  33235. in: query
  33236. name: begindate
  33237. type: string
  33238. - description: 申请截止日期(格式yyyymmdd)
  33239. in: query
  33240. name: enddate
  33241. type: string
  33242. - description: 模糊搜索名称
  33243. in: query
  33244. name: likename
  33245. type: string
  33246. produces:
  33247. - application/json
  33248. responses:
  33249. "200":
  33250. description: OK
  33251. schema:
  33252. items:
  33253. $ref: '#/definitions/models.QhjMgrAccountOutInApply'
  33254. type: array
  33255. "500":
  33256. description: Internal Server Error
  33257. schema:
  33258. $ref: '#/definitions/app.Response'
  33259. security:
  33260. - ApiKeyAuth: []
  33261. summary: 查询充值提现
  33262. tags:
  33263. - 大连千海金(PCWeb)
  33264. /QhjMgr/QueryBrokerApply:
  33265. get:
  33266. parameters:
  33267. - description: 所属机构ID
  33268. in: query
  33269. name: userid
  33270. type: integer
  33271. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  33272. in: query
  33273. name: filterstatus
  33274. type: string
  33275. - description: 名称(模糊匹配)
  33276. in: query
  33277. name: filtername
  33278. type: string
  33279. - description: 是否包含子级 1-包含
  33280. in: query
  33281. name: includesub
  33282. type: integer
  33283. produces:
  33284. - application/json
  33285. responses:
  33286. "200":
  33287. description: OK
  33288. schema:
  33289. items:
  33290. $ref: '#/definitions/models.QhjMgrBrokerApply'
  33291. type: array
  33292. "500":
  33293. description: Internal Server Error
  33294. schema:
  33295. $ref: '#/definitions/app.Response'
  33296. security:
  33297. - ApiKeyAuth: []
  33298. summary: 查询经纪人申请
  33299. tags:
  33300. - 大连千海金(PCWeb)
  33301. /QhjMgr/QueryBrokerRewardReport:
  33302. get:
  33303. parameters:
  33304. - description: 所属机构ID
  33305. in: query
  33306. name: userid
  33307. required: true
  33308. type: integer
  33309. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  33310. in: query
  33311. name: cycletype
  33312. required: true
  33313. type: integer
  33314. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  33315. in: query
  33316. name: cycletime
  33317. required: true
  33318. type: string
  33319. - description: 名称(模糊匹配)
  33320. in: query
  33321. name: filtername
  33322. type: string
  33323. - description: 是否包含子级 1-包含
  33324. in: query
  33325. name: includesub
  33326. type: integer
  33327. produces:
  33328. - application/json
  33329. responses:
  33330. "200":
  33331. description: OK
  33332. schema:
  33333. items:
  33334. $ref: '#/definitions/models.QhjMgrBrokerRewardReport'
  33335. type: array
  33336. "500":
  33337. description: Internal Server Error
  33338. schema:
  33339. $ref: '#/definitions/app.Response'
  33340. security:
  33341. - ApiKeyAuth: []
  33342. summary: 查询经纪人奖励报表(废弃)
  33343. tags:
  33344. - 大连千海金(PCWeb)
  33345. /QhjMgr/QueryContract:
  33346. get:
  33347. parameters:
  33348. - description: 用户ID
  33349. in: query
  33350. name: userid
  33351. type: integer
  33352. - description: 商品id
  33353. in: query
  33354. name: goodsid
  33355. type: integer
  33356. - description: 名称(模糊搜索账户)
  33357. in: query
  33358. name: filtername
  33359. type: string
  33360. - description: 风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款
  33361. in: query
  33362. name: risklevel
  33363. type: string
  33364. - description: 开始交易日(yyyymmdd)
  33365. in: query
  33366. name: begindate
  33367. type: string
  33368. - description: 结束交易日(yyyymmdd)
  33369. in: query
  33370. name: enddate
  33371. type: string
  33372. produces:
  33373. - application/json
  33374. responses:
  33375. "200":
  33376. description: OK
  33377. schema:
  33378. items:
  33379. $ref: '#/definitions/models.QhjMgrContract'
  33380. type: array
  33381. "500":
  33382. description: Internal Server Error
  33383. schema:
  33384. $ref: '#/definitions/app.Response'
  33385. security:
  33386. - ApiKeyAuth: []
  33387. summary: 查询融资信息(合同)
  33388. tags:
  33389. - 大连千海金(PCWeb)
  33390. /QhjMgr/QueryCustomerInfo:
  33391. get:
  33392. parameters:
  33393. - description: 用户ID
  33394. in: query
  33395. name: userid
  33396. required: true
  33397. type: integer
  33398. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  33399. in: query
  33400. name: querytype
  33401. required: true
  33402. type: integer
  33403. - description: 客户类型 1-个人 2-企业
  33404. in: query
  33405. name: userinfotype
  33406. type: integer
  33407. - description: 客户名称(模糊匹配)
  33408. in: query
  33409. name: customername
  33410. type: string
  33411. - description: 昵称(模糊匹配)
  33412. in: query
  33413. name: nickname
  33414. type: string
  33415. - description: 所属客户经理(模糊匹配)
  33416. in: query
  33417. name: brokername
  33418. type: string
  33419. - description: 生日查询(格式 mmdd 或 mm) 只填2位表示月份匹配(mm, 如05 - 5月), 4位表示查月日匹配(mmdd,
  33420. 如0503 -5月3日)
  33421. in: query
  33422. name: birthday
  33423. type: string
  33424. - description: 是否包含子级 1-包含
  33425. in: query
  33426. name: includesub
  33427. type: integer
  33428. produces:
  33429. - application/json
  33430. responses:
  33431. "200":
  33432. description: OK
  33433. schema:
  33434. items:
  33435. $ref: '#/definitions/models.QhjMgrCustomer'
  33436. type: array
  33437. "500":
  33438. description: Internal Server Error
  33439. schema:
  33440. $ref: '#/definitions/app.Response'
  33441. security:
  33442. - ApiKeyAuth: []
  33443. summary: 查询客户资料
  33444. tags:
  33445. - 大连千海金(PCWeb)
  33446. /QhjMgr/QueryPickGoods:
  33447. get:
  33448. parameters:
  33449. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  33450. in: query
  33451. name: status
  33452. type: string
  33453. produces:
  33454. - application/json
  33455. responses:
  33456. "200":
  33457. description: OK
  33458. schema:
  33459. items:
  33460. $ref: '#/definitions/models.QhjMgrPickGoods'
  33461. type: array
  33462. "500":
  33463. description: Internal Server Error
  33464. schema:
  33465. $ref: '#/definitions/app.Response'
  33466. security:
  33467. - ApiKeyAuth: []
  33468. summary: 查询提货商品
  33469. tags:
  33470. - 大连千海金(PCWeb)
  33471. /QhjMgr/QuerySubArea:
  33472. get:
  33473. parameters:
  33474. - description: 用户ID
  33475. in: query
  33476. name: userid
  33477. required: true
  33478. type: integer
  33479. produces:
  33480. - application/json
  33481. responses:
  33482. "200":
  33483. description: OK
  33484. schema:
  33485. items:
  33486. $ref: '#/definitions/models.QhjMgrSubArea'
  33487. type: array
  33488. "500":
  33489. description: Internal Server Error
  33490. schema:
  33491. $ref: '#/definitions/app.Response'
  33492. security:
  33493. - ApiKeyAuth: []
  33494. summary: 查询子机构列表
  33495. tags:
  33496. - 大连千海金(PCWeb)
  33497. /QhjMgr/QueryTradeDetail:
  33498. get:
  33499. parameters:
  33500. - description: 用户ID
  33501. in: query
  33502. name: userid
  33503. required: true
  33504. type: integer
  33505. - description: 用户类型 1-个人 2-企业
  33506. in: query
  33507. name: userinfotype
  33508. type: integer
  33509. - description: 交易模式
  33510. in: query
  33511. name: trademode
  33512. type: integer
  33513. - description: 商品id
  33514. in: query
  33515. name: goodsid
  33516. type: integer
  33517. - description: 名称(模糊搜索账户)
  33518. in: query
  33519. name: filtername
  33520. type: string
  33521. - description: 开始交易日(yyyymmdd)
  33522. in: query
  33523. name: begindate
  33524. type: string
  33525. - description: 结束交易日(yyyymmdd)
  33526. in: query
  33527. name: enddate
  33528. type: string
  33529. - description: 是否包含子级 1-包含
  33530. in: query
  33531. name: includesub
  33532. type: integer
  33533. produces:
  33534. - application/json
  33535. responses:
  33536. "200":
  33537. description: OK
  33538. schema:
  33539. items:
  33540. $ref: '#/definitions/models.QhjMgrTradeDetailRsp'
  33541. type: array
  33542. "500":
  33543. description: Internal Server Error
  33544. schema:
  33545. $ref: '#/definitions/app.Response'
  33546. security:
  33547. - ApiKeyAuth: []
  33548. summary: 查询成交明细
  33549. tags:
  33550. - 大连千海金(PCWeb)
  33551. /QhjMgr/QueryTradeOrderDetail:
  33552. get:
  33553. parameters:
  33554. - description: 用户ID
  33555. in: query
  33556. name: userid
  33557. required: true
  33558. type: integer
  33559. - description: 用户类型 1-个人 2-企业
  33560. in: query
  33561. name: userinfotype
  33562. type: integer
  33563. - description: 交易模式
  33564. in: query
  33565. name: trademode
  33566. type: integer
  33567. - description: 商品id
  33568. in: query
  33569. name: goodsid
  33570. type: integer
  33571. - description: 名称(模糊搜索账户)
  33572. in: query
  33573. name: filtername
  33574. type: string
  33575. - description: 开始交易日(yyyymmdd)
  33576. in: query
  33577. name: begindate
  33578. type: string
  33579. - description: 结束交易日(yyyymmdd)
  33580. in: query
  33581. name: enddate
  33582. type: string
  33583. - description: 是否包含子级 1-包含
  33584. in: query
  33585. name: includesub
  33586. type: integer
  33587. produces:
  33588. - application/json
  33589. responses:
  33590. "200":
  33591. description: OK
  33592. schema:
  33593. items:
  33594. $ref: '#/definitions/models.QhjMgrTradeOrderDetailRsp'
  33595. type: array
  33596. "500":
  33597. description: Internal Server Error
  33598. schema:
  33599. $ref: '#/definitions/app.Response'
  33600. security:
  33601. - ApiKeyAuth: []
  33602. summary: 查询委托明细
  33603. tags:
  33604. - 大连千海金(PCWeb)
  33605. /QhjMgr/QueryTradePayOrder:
  33606. get:
  33607. parameters:
  33608. - description: 用户ID
  33609. in: query
  33610. name: userid
  33611. required: true
  33612. type: integer
  33613. - description: 付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  33614. in: query
  33615. name: payflag
  33616. type: string
  33617. - description: 用户类型 1-个人 2-企业
  33618. in: query
  33619. name: userinfotype
  33620. type: integer
  33621. - description: 交易模式
  33622. in: query
  33623. name: trademode
  33624. type: integer
  33625. - description: 商品id
  33626. in: query
  33627. name: goodsid
  33628. type: integer
  33629. - description: 名称(模糊搜索账户)
  33630. in: query
  33631. name: filtername
  33632. type: string
  33633. - description: 开始交易日(yyyymmdd)
  33634. in: query
  33635. name: begindate
  33636. type: string
  33637. - description: 结束交易日(yyyymmdd)
  33638. in: query
  33639. name: enddate
  33640. type: string
  33641. - description: 是否包含子级 1-包含
  33642. in: query
  33643. name: includesub
  33644. type: integer
  33645. produces:
  33646. - application/json
  33647. responses:
  33648. "200":
  33649. description: OK
  33650. schema:
  33651. items:
  33652. $ref: '#/definitions/models.QhjMgrTradePayOrder'
  33653. type: array
  33654. "500":
  33655. description: Internal Server Error
  33656. schema:
  33657. $ref: '#/definitions/app.Response'
  33658. security:
  33659. - ApiKeyAuth: []
  33660. summary: 查询待付款单
  33661. tags:
  33662. - 大连千海金(PCWeb)
  33663. /QhjMgr/QueryTradePosition:
  33664. get:
  33665. parameters:
  33666. - description: 用户ID
  33667. in: query
  33668. name: userid
  33669. required: true
  33670. type: integer
  33671. - description: 用户类型 1-个人 2-企业
  33672. in: query
  33673. name: userinfotype
  33674. type: integer
  33675. - description: 交易模式
  33676. in: query
  33677. name: trademode
  33678. type: integer
  33679. - description: 商品id
  33680. in: query
  33681. name: goodsid
  33682. type: integer
  33683. - description: 名称(模糊搜索账户)
  33684. in: query
  33685. name: filtername
  33686. type: string
  33687. - description: 是否包含子级 1-包含
  33688. in: query
  33689. name: includesub
  33690. type: integer
  33691. produces:
  33692. - application/json
  33693. responses:
  33694. "200":
  33695. description: OK
  33696. schema:
  33697. items:
  33698. $ref: '#/definitions/models.QhjMgrPositionRsp'
  33699. type: array
  33700. "500":
  33701. description: Internal Server Error
  33702. schema:
  33703. $ref: '#/definitions/app.Response'
  33704. security:
  33705. - ApiKeyAuth: []
  33706. summary: 查询持仓汇总
  33707. tags:
  33708. - 大连千海金(PCWeb)
  33709. /QhjSys/QueryAgreementChangeLog:
  33710. get:
  33711. parameters:
  33712. - description: 协议ID
  33713. in: query
  33714. name: agreementid
  33715. type: integer
  33716. - description: 协议版本号
  33717. in: query
  33718. name: agreementversion
  33719. type: integer
  33720. - description: 协议类型 - 1:注册 2:登录 3:交易
  33721. in: query
  33722. name: agreementtype
  33723. type: integer
  33724. - description: 协议编号(模糊匹配)
  33725. in: query
  33726. name: agreementno
  33727. type: string
  33728. - description: 协议名称(模糊匹配)
  33729. in: query
  33730. name: agreementname
  33731. type: string
  33732. produces:
  33733. - application/json
  33734. responses:
  33735. "200":
  33736. description: OK
  33737. schema:
  33738. items:
  33739. $ref: '#/definitions/models.QhjAgreementChangeLog'
  33740. type: array
  33741. "500":
  33742. description: Internal Server Error
  33743. schema:
  33744. $ref: '#/definitions/app.Response'
  33745. security:
  33746. - ApiKeyAuth: []
  33747. summary: 查询协议配置变更流水
  33748. tags:
  33749. - 大连千海金(协议和签约信息)
  33750. /QhjSys/QueryAgreementConfig:
  33751. get:
  33752. parameters:
  33753. - description: 协议ID
  33754. in: query
  33755. name: agreementid
  33756. type: integer
  33757. - description: 协议版本号
  33758. in: query
  33759. name: agreementversion
  33760. type: integer
  33761. - description: 协议类型 - 1:注册 2:登录 3:交易
  33762. in: query
  33763. name: agreementtype
  33764. type: integer
  33765. - description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  33766. in: query
  33767. name: isvalid
  33768. type: integer
  33769. - description: 协议编号(模糊匹配)
  33770. in: query
  33771. name: agreementno
  33772. type: string
  33773. - description: 协议名称(模糊匹配)
  33774. in: query
  33775. name: agreementname
  33776. type: string
  33777. produces:
  33778. - application/json
  33779. responses:
  33780. "200":
  33781. description: OK
  33782. schema:
  33783. items:
  33784. $ref: '#/definitions/models.QhjAgreementConfig'
  33785. type: array
  33786. "500":
  33787. description: Internal Server Error
  33788. schema:
  33789. $ref: '#/definitions/app.Response'
  33790. security:
  33791. - ApiKeyAuth: []
  33792. summary: 查询协议配置
  33793. tags:
  33794. - 大连千海金(协议和签约信息)
  33795. /QhjSys/QueryCustomerSignStatus:
  33796. get:
  33797. parameters:
  33798. - description: 客户ID
  33799. in: query
  33800. name: userid
  33801. type: integer
  33802. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  33803. in: query
  33804. name: nodetype
  33805. type: integer
  33806. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  33807. in: query
  33808. name: goodsid
  33809. type: integer
  33810. - description: 创建交易日(yyyyMMdd)
  33811. in: query
  33812. name: tradedate
  33813. type: string
  33814. - description: 用户名称(模糊匹配)
  33815. in: query
  33816. name: username
  33817. type: string
  33818. produces:
  33819. - application/json
  33820. responses:
  33821. "200":
  33822. description: OK
  33823. schema:
  33824. items:
  33825. $ref: '#/definitions/models.QhjCustomerSignStatus'
  33826. type: array
  33827. "500":
  33828. description: Internal Server Error
  33829. schema:
  33830. $ref: '#/definitions/app.Response'
  33831. security:
  33832. - ApiKeyAuth: []
  33833. summary: 查询客户协议签约状态
  33834. tags:
  33835. - 大连千海金(协议和签约信息)
  33836. /QhjSys/QueryNodeAgreementConfig:
  33837. get:
  33838. parameters:
  33839. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  33840. in: query
  33841. name: configid
  33842. type: integer
  33843. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  33844. in: query
  33845. name: nodetype
  33846. type: integer
  33847. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  33848. in: query
  33849. name: goodsid
  33850. type: integer
  33851. - description: 协议ID
  33852. in: query
  33853. name: agreementid
  33854. type: integer
  33855. - description: 协议类型 - 1:注册 2:登录 3:交易
  33856. in: query
  33857. name: agreementtype
  33858. type: integer
  33859. - description: 协议版本号
  33860. in: query
  33861. name: agreementversion
  33862. type: integer
  33863. - description: 协议编号(模糊匹配)
  33864. in: query
  33865. name: agreementno
  33866. type: string
  33867. - description: 协议名称(模糊匹配)
  33868. in: query
  33869. name: agreementname
  33870. type: string
  33871. produces:
  33872. - application/json
  33873. responses:
  33874. "200":
  33875. description: OK
  33876. schema:
  33877. items:
  33878. $ref: '#/definitions/models.QhjNodeAgreementConfig'
  33879. type: array
  33880. "500":
  33881. description: Internal Server Error
  33882. schema:
  33883. $ref: '#/definitions/app.Response'
  33884. security:
  33885. - ApiKeyAuth: []
  33886. summary: 查询协议节点配置
  33887. tags:
  33888. - 大连千海金(协议和签约信息)
  33889. /QhjSys/QueryQhjCustomerSignLog:
  33890. get:
  33891. parameters:
  33892. - description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  33893. in: query
  33894. name: logid
  33895. type: integer
  33896. - description: 客户ID
  33897. in: query
  33898. name: userid
  33899. type: integer
  33900. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  33901. in: query
  33902. name: nodetype
  33903. type: integer
  33904. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  33905. in: query
  33906. name: goodsid
  33907. type: integer
  33908. - description: 协议ID
  33909. in: query
  33910. name: agreementid
  33911. type: integer
  33912. - description: 用户名称(模糊匹配)
  33913. in: query
  33914. name: username
  33915. type: string
  33916. - description: 协议编号(模糊匹配)
  33917. in: query
  33918. name: agreementno
  33919. type: string
  33920. - description: 协议名称(模糊匹配)
  33921. in: query
  33922. name: agreementname
  33923. type: string
  33924. produces:
  33925. - application/json
  33926. responses:
  33927. "200":
  33928. description: OK
  33929. schema:
  33930. items:
  33931. $ref: '#/definitions/models.QhjCustomerSignLog'
  33932. type: array
  33933. "500":
  33934. description: Internal Server Error
  33935. schema:
  33936. $ref: '#/definitions/app.Response'
  33937. security:
  33938. - ApiKeyAuth: []
  33939. summary: 查询客户协议签约流水
  33940. tags:
  33941. - 大连千海金(协议和签约信息)
  33942. /QhjSys/QueryUserNodeCfgAndStatus:
  33943. get:
  33944. parameters:
  33945. - description: 客户ID
  33946. in: query
  33947. name: userid
  33948. type: integer
  33949. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  33950. in: query
  33951. name: configid
  33952. type: integer
  33953. - description: 环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  33954. in: query
  33955. name: nodetype
  33956. type: string
  33957. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  33958. in: query
  33959. name: goodsid
  33960. type: integer
  33961. - description: 协议ID
  33962. in: query
  33963. name: agreementid
  33964. type: integer
  33965. - description: 协议类型 - 1:注册 2:登录 3:交易
  33966. in: query
  33967. name: agreementtype
  33968. type: integer
  33969. - description: 协议版本号
  33970. in: query
  33971. name: agreementversion
  33972. type: integer
  33973. - description: 协议编号(模糊匹配)
  33974. in: query
  33975. name: agreementno
  33976. type: string
  33977. - description: 协议名称(模糊匹配)
  33978. in: query
  33979. name: agreementname
  33980. type: string
  33981. produces:
  33982. - application/json
  33983. responses:
  33984. "200":
  33985. description: OK
  33986. schema:
  33987. items:
  33988. $ref: '#/definitions/models.QhjUserNodeCfgAndStatus'
  33989. type: array
  33990. "500":
  33991. description: Internal Server Error
  33992. schema:
  33993. $ref: '#/definitions/app.Response'
  33994. security:
  33995. - ApiKeyAuth: []
  33996. summary: 查询用户协议节点配置和状态
  33997. tags:
  33998. - 大连千海金(协议和签约信息)
  33999. /Quote/QueryHistoryDatas:
  34000. get:
  34001. parameters:
  34002. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  34003. 日线 12:周线 13:月线 14:年线'
  34004. in: query
  34005. name: cycleType
  34006. required: true
  34007. type: integer
  34008. - description: 商品代码
  34009. in: query
  34010. name: goodsCode
  34011. required: true
  34012. type: string
  34013. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  34014. in: query
  34015. name: startTime
  34016. type: string
  34017. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  34018. in: query
  34019. name: endTime
  34020. type: string
  34021. - description: 条数
  34022. in: query
  34023. name: count
  34024. type: integer
  34025. - description: 是否按时间顺序排序(默认为时间倒序排序)
  34026. in: query
  34027. name: isAsc
  34028. type: boolean
  34029. produces:
  34030. - application/json
  34031. responses:
  34032. "200":
  34033. description: OK
  34034. schema:
  34035. $ref: '#/definitions/quote.HistoryData'
  34036. "500":
  34037. description: Internal Server Error
  34038. schema:
  34039. $ref: '#/definitions/app.Response'
  34040. security:
  34041. - ApiKeyAuth: []
  34042. summary: 查询行情历史数据
  34043. tags:
  34044. - 行情服务
  34045. /Quote/QueryHistoryTikDatas:
  34046. get:
  34047. parameters:
  34048. - description: 商品代码
  34049. in: query
  34050. name: goodsCode
  34051. required: true
  34052. type: string
  34053. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  34054. in: query
  34055. name: startTime
  34056. type: string
  34057. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  34058. in: query
  34059. name: endTime
  34060. type: string
  34061. - description: 条数
  34062. in: query
  34063. name: count
  34064. type: integer
  34065. - description: 是否按时间顺序排序(默认为时间倒序排序)
  34066. in: query
  34067. name: isAsc
  34068. type: boolean
  34069. produces:
  34070. - application/json
  34071. responses:
  34072. "200":
  34073. description: OK
  34074. schema:
  34075. $ref: '#/definitions/quote.HistoryTikData'
  34076. "500":
  34077. description: Internal Server Error
  34078. schema:
  34079. $ref: '#/definitions/app.Response'
  34080. security:
  34081. - ApiKeyAuth: []
  34082. summary: 查询行情Tik数据
  34083. tags:
  34084. - 行情服务
  34085. /Quote/QueryQuoteDay:
  34086. get:
  34087. parameters:
  34088. - description: 此参数不填则查所有;商品代码列表,格式:CU2102,CU2103,AL2107
  34089. in: query
  34090. name: goodsCodes
  34091. type: string
  34092. produces:
  34093. - application/json
  34094. responses:
  34095. "200":
  34096. description: OK
  34097. schema:
  34098. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  34099. "500":
  34100. description: Internal Server Error
  34101. schema:
  34102. $ref: '#/definitions/app.Response'
  34103. security:
  34104. - ApiKeyAuth: []
  34105. summary: 获取商品盘面信息
  34106. tags:
  34107. - 行情服务
  34108. /Quote/QueryTSData:
  34109. get:
  34110. parameters:
  34111. - description: 商品代码
  34112. in: query
  34113. name: goodsCode
  34114. required: true
  34115. type: string
  34116. produces:
  34117. - application/json
  34118. responses:
  34119. "200":
  34120. description: OK
  34121. schema:
  34122. $ref: '#/definitions/quote.QueryTSDataRsp'
  34123. "500":
  34124. description: Internal Server Error
  34125. schema:
  34126. $ref: '#/definitions/app.Response'
  34127. security:
  34128. - ApiKeyAuth: []
  34129. summary: 分时图数据查询
  34130. tags:
  34131. - 行情服务
  34132. /SZDZ/QueryConvertConfig:
  34133. get:
  34134. parameters:
  34135. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  34136. 6:交易转花生米(不设置)
  34137. in: query
  34138. name: convertType
  34139. type: integer
  34140. - description: 外部商品代码[JD\PD]
  34141. in: query
  34142. name: outerGoodsCode
  34143. type: string
  34144. - description: 内部商品ID列表[交易],格式:1,2,3
  34145. in: query
  34146. name: innerGoodsIDs
  34147. type: string
  34148. produces:
  34149. - application/json
  34150. responses:
  34151. "200":
  34152. description: OK
  34153. schema:
  34154. $ref: '#/definitions/models.Szdz3convertconfig'
  34155. "500":
  34156. description: Internal Server Error
  34157. schema:
  34158. $ref: '#/definitions/app.Response'
  34159. security:
  34160. - ApiKeyAuth: []
  34161. summary: 查询交易系统转换设置
  34162. tags:
  34163. - 定制【尚志大宗】
  34164. /SZDZ/QueryConvertLog:
  34165. get:
  34166. parameters:
  34167. - description: 资金账户 - 格式:1,2,3
  34168. in: query
  34169. name: accountID
  34170. required: true
  34171. type: string
  34172. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  34173. in: query
  34174. name: startDate
  34175. type: string
  34176. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  34177. in: query
  34178. name: endDate
  34179. type: string
  34180. produces:
  34181. - application/json
  34182. responses:
  34183. "200":
  34184. description: OK
  34185. schema:
  34186. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  34187. "500":
  34188. description: Internal Server Error
  34189. schema:
  34190. $ref: '#/definitions/app.Response'
  34191. security:
  34192. - ApiKeyAuth: []
  34193. summary: 交易系统转换流水查询
  34194. tags:
  34195. - 定制【尚志大宗】
  34196. /SZDZ/QueryGoodsPickup:
  34197. get:
  34198. parameters:
  34199. - description: 资金账户 - 格式:1,2,3
  34200. in: query
  34201. name: accountID
  34202. required: true
  34203. type: string
  34204. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  34205. in: query
  34206. name: takeOrderStatus
  34207. type: integer
  34208. produces:
  34209. - application/json
  34210. responses:
  34211. "200":
  34212. description: OK
  34213. schema:
  34214. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  34215. "500":
  34216. description: Internal Server Error
  34217. schema:
  34218. $ref: '#/definitions/app.Response'
  34219. security:
  34220. - ApiKeyAuth: []
  34221. summary: 商品提货单查询
  34222. tags:
  34223. - 定制【尚志大宗】
  34224. /SZDZ/QueryRecieptOrder:
  34225. get:
  34226. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  34227. parameters:
  34228. - description: 页码
  34229. in: query
  34230. name: page
  34231. type: integer
  34232. - description: 每页条数
  34233. in: query
  34234. name: pagesize
  34235. type: integer
  34236. - description: 商品ID
  34237. in: query
  34238. name: goodsID
  34239. required: true
  34240. type: integer
  34241. - description: 所属账户名称
  34242. in: query
  34243. name: accountName
  34244. type: string
  34245. - description: 市场ID
  34246. in: query
  34247. name: marketID
  34248. type: integer
  34249. - description: 方向 - 0:买 1:卖
  34250. in: query
  34251. name: buyorsell
  34252. required: true
  34253. type: integer
  34254. produces:
  34255. - application/json
  34256. responses:
  34257. "200":
  34258. description: OK
  34259. schema:
  34260. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  34261. "500":
  34262. description: Internal Server Error
  34263. schema:
  34264. $ref: '#/definitions/app.Response'
  34265. security:
  34266. - ApiKeyAuth: []
  34267. summary: 点选挂牌委托单据查询(摘牌大厅)
  34268. tags:
  34269. - 定制【尚志大宗】
  34270. /SZDZ/QuerySZDZTradePosition:
  34271. get:
  34272. parameters:
  34273. - description: 资金账户
  34274. in: query
  34275. name: accountID
  34276. required: true
  34277. type: integer
  34278. produces:
  34279. - application/json
  34280. responses:
  34281. "200":
  34282. description: OK
  34283. schema:
  34284. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  34285. "500":
  34286. description: Internal Server Error
  34287. schema:
  34288. $ref: '#/definitions/app.Response'
  34289. security:
  34290. - ApiKeyAuth: []
  34291. summary: 持仓汇总查询(尚志大宗)
  34292. tags:
  34293. - 定制【尚志大宗】
  34294. /SZDZ/SearchWhite:
  34295. get:
  34296. parameters:
  34297. - description: 用户ID
  34298. in: query
  34299. name: userID
  34300. required: true
  34301. type: integer
  34302. produces:
  34303. - application/json
  34304. responses:
  34305. "200":
  34306. description: OK
  34307. schema:
  34308. $ref: '#/definitions/models.Szdz3searchwhitelist'
  34309. "500":
  34310. description: Internal Server Error
  34311. schema:
  34312. $ref: '#/definitions/app.Response'
  34313. security:
  34314. - ApiKeyAuth: []
  34315. summary: 搜索白名单
  34316. tags:
  34317. - 定制【尚志大宗】
  34318. /Search/SearchGoodses:
  34319. get:
  34320. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  34321. parameters:
  34322. - description: 检索内容
  34323. in: query
  34324. name: content
  34325. required: true
  34326. type: string
  34327. - description: 交易模式,格式:1,2,3
  34328. in: query
  34329. name: tradeModes
  34330. type: string
  34331. produces:
  34332. - application/json
  34333. responses:
  34334. "200":
  34335. description: OK
  34336. schema:
  34337. $ref: '#/definitions/models.SearchGoods'
  34338. "500":
  34339. description: Internal Server Error
  34340. schema:
  34341. $ref: '#/definitions/app.Response'
  34342. summary: 检索商品信息
  34343. tags:
  34344. - 检索服务
  34345. /TaAccount/GetTaAccounts:
  34346. get:
  34347. parameters:
  34348. - description: 登录账户
  34349. in: query
  34350. name: loginID
  34351. required: true
  34352. type: integer
  34353. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  34354. in: query
  34355. name: taAccountType
  34356. type: integer
  34357. produces:
  34358. - application/json
  34359. responses:
  34360. "200":
  34361. description: OK
  34362. schema:
  34363. $ref: '#/definitions/models.Taaccount'
  34364. "500":
  34365. description: Internal Server Error
  34366. schema:
  34367. $ref: '#/definitions/app.Response'
  34368. security:
  34369. - ApiKeyAuth: []
  34370. summary: 获取资金账户信息
  34371. tags:
  34372. - 资金账户
  34373. /TaAccount/QueryAmountLog:
  34374. get:
  34375. parameters:
  34376. - description: 页码
  34377. in: query
  34378. name: page
  34379. type: integer
  34380. - description: 每页条数
  34381. in: query
  34382. name: pagesize
  34383. type: integer
  34384. - description: 资金账户 - 格式:1,2,3
  34385. in: query
  34386. name: accountID
  34387. required: true
  34388. type: string
  34389. - description: 资金操作类型 - 格式:1,2,3
  34390. in: query
  34391. name: OperateType
  34392. type: string
  34393. produces:
  34394. - application/json
  34395. responses:
  34396. "200":
  34397. description: OK
  34398. schema:
  34399. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  34400. "500":
  34401. description: Internal Server Error
  34402. schema:
  34403. $ref: '#/definitions/app.Response'
  34404. security:
  34405. - ApiKeyAuth: []
  34406. summary: 资金流水查询(当前)
  34407. tags:
  34408. - 资金账户
  34409. /TaAccount/QueryHisAmountLog:
  34410. get:
  34411. parameters:
  34412. - description: 页码
  34413. in: query
  34414. name: page
  34415. type: integer
  34416. - description: 每页条数
  34417. in: query
  34418. name: pagesize
  34419. type: integer
  34420. - description: 资金账户 - 格式:1,2,3
  34421. in: query
  34422. name: accountID
  34423. required: true
  34424. type: string
  34425. - description: 资金操作类型 - 格式:1,2,3
  34426. in: query
  34427. name: OperateType
  34428. type: string
  34429. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  34430. in: query
  34431. name: startDate
  34432. type: string
  34433. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  34434. in: query
  34435. name: endDate
  34436. type: string
  34437. produces:
  34438. - application/json
  34439. responses:
  34440. "200":
  34441. description: OK
  34442. schema:
  34443. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  34444. "500":
  34445. description: Internal Server Error
  34446. schema:
  34447. $ref: '#/definitions/app.Response'
  34448. security:
  34449. - ApiKeyAuth: []
  34450. summary: 资金流水查询(历史)
  34451. tags:
  34452. - 资金账户
  34453. /TaAccount/QueryRelatedTaAccount:
  34454. get:
  34455. parameters:
  34456. - description: 关联UserID
  34457. in: query
  34458. name: relateduserid
  34459. required: true
  34460. type: integer
  34461. produces:
  34462. - application/json
  34463. responses:
  34464. "200":
  34465. description: OK
  34466. schema:
  34467. items:
  34468. $ref: '#/definitions/models.RelatedTaAccount'
  34469. type: array
  34470. "500":
  34471. description: Internal Server Error
  34472. schema:
  34473. $ref: '#/definitions/app.Response'
  34474. security:
  34475. - ApiKeyAuth: []
  34476. summary: 查询关联资金账户信息
  34477. tags:
  34478. - 资金账户
  34479. /Tjmd/QueryQuoteGoodsList:
  34480. get:
  34481. description: 用户类型必传, 查掉期报价列表 marketids=掉期市场id
  34482. parameters:
  34483. - description: 用户类型
  34484. in: query
  34485. name: usertype
  34486. required: true
  34487. type: integer
  34488. - description: 市场id, 格式 1,2,3
  34489. in: query
  34490. name: marketids
  34491. type: string
  34492. - description: 商品组id
  34493. in: query
  34494. name: goodsgroupid
  34495. type: integer
  34496. - description: 商品id
  34497. in: query
  34498. name: goodsid
  34499. type: integer
  34500. produces:
  34501. - application/json
  34502. responses:
  34503. "200":
  34504. description: OK
  34505. schema:
  34506. items:
  34507. $ref: '#/definitions/models.TjmdQuoteGoods'
  34508. type: array
  34509. "500":
  34510. description: Internal Server Error
  34511. schema:
  34512. $ref: '#/definitions/app.Response'
  34513. security:
  34514. - ApiKeyAuth: []
  34515. summary: 查询掉期报价列表
  34516. tags:
  34517. - 天津麦顿
  34518. /Tjmd/QueryTjmdHolderDetailTradeInfo:
  34519. get:
  34520. parameters:
  34521. - description: 成交单号
  34522. in: query
  34523. name: tradeid
  34524. required: true
  34525. type: string
  34526. produces:
  34527. - application/json
  34528. responses:
  34529. "200":
  34530. description: OK
  34531. schema:
  34532. items:
  34533. $ref: '#/definitions/models.TjmdHolderDetailTradeInfo'
  34534. type: array
  34535. "500":
  34536. description: Internal Server Error
  34537. schema:
  34538. $ref: '#/definitions/app.Response'
  34539. security:
  34540. - ApiKeyAuth: []
  34541. summary: 掉期商品订单详情(交易确认书)
  34542. tags:
  34543. - 天津麦顿
  34544. /Tjmd/QueryTjmdMarketSection:
  34545. get:
  34546. produces:
  34547. - application/json
  34548. responses:
  34549. "200":
  34550. description: OK
  34551. schema:
  34552. items:
  34553. $ref: '#/definitions/models.TjmdMarketSection'
  34554. type: array
  34555. "500":
  34556. description: Internal Server Error
  34557. schema:
  34558. $ref: '#/definitions/app.Response'
  34559. security:
  34560. - ApiKeyAuth: []
  34561. summary: 查询市场板块
  34562. tags:
  34563. - 天津麦顿
  34564. /Tjmd/QueryTjmdTodayAccountMargin:
  34565. get:
  34566. parameters:
  34567. - description: 市场id
  34568. in: query
  34569. name: marketid
  34570. type: string
  34571. - description: 商品id
  34572. in: query
  34573. name: goodsid
  34574. type: string
  34575. - description: 资金账号
  34576. in: query
  34577. name: accountid
  34578. type: string
  34579. produces:
  34580. - application/json
  34581. responses:
  34582. "200":
  34583. description: OK
  34584. schema:
  34585. items:
  34586. $ref: '#/definitions/models.TjmdTodayAccountMargin'
  34587. type: array
  34588. "500":
  34589. description: Internal Server Error
  34590. schema:
  34591. $ref: '#/definitions/app.Response'
  34592. security:
  34593. - ApiKeyAuth: []
  34594. summary: 查询今日账户保证金配置
  34595. tags:
  34596. - 天津麦顿
  34597. /Tjmd/QueryTjmdTradeOrderDetail:
  34598. get:
  34599. description: 用户类型必传, 投资者只能看到自营会员的单, 反之亦然
  34600. parameters:
  34601. - description: 页码
  34602. in: query
  34603. name: page
  34604. type: integer
  34605. - description: 每页条数
  34606. in: query
  34607. name: pagesize
  34608. type: integer
  34609. - description: 用户id
  34610. in: query
  34611. name: userid
  34612. required: true
  34613. type: integer
  34614. - description: 用户类型
  34615. in: query
  34616. name: usertype
  34617. required: true
  34618. type: integer
  34619. - description: 市场id, 格式 1,2,3
  34620. in: query
  34621. name: marketids
  34622. type: string
  34623. - description: 商品id
  34624. in: query
  34625. name: goodsid
  34626. required: true
  34627. type: integer
  34628. - description: 买卖方向 0-买 1-卖
  34629. in: query
  34630. name: buyorsell
  34631. required: true
  34632. type: integer
  34633. produces:
  34634. - application/json
  34635. responses:
  34636. "200":
  34637. description: OK
  34638. schema:
  34639. items:
  34640. $ref: '#/definitions/models.TjmdTradeOrderDetail'
  34641. type: array
  34642. "500":
  34643. description: Internal Server Error
  34644. schema:
  34645. $ref: '#/definitions/app.Response'
  34646. security:
  34647. - ApiKeyAuth: []
  34648. summary: 查询掉期买卖大厅
  34649. tags:
  34650. - 天津麦顿
  34651. /Tjmd/QueryTjmdTransferApply:
  34652. get:
  34653. parameters:
  34654. - description: 类型 1-我的申请 2-对方申请
  34655. in: query
  34656. name: applytype
  34657. required: true
  34658. type: integer
  34659. - description: 市场id, 格式 1,2,3
  34660. in: query
  34661. name: marketids
  34662. type: string
  34663. - description: 资金账号, 格式 25000000001,25000000003
  34664. in: query
  34665. name: accountids
  34666. type: string
  34667. - description: 开始交易日(yyyymmdd)
  34668. in: query
  34669. name: begindate
  34670. type: string
  34671. - description: 结束交易日(yyyymmdd)
  34672. in: query
  34673. name: enddate
  34674. type: string
  34675. produces:
  34676. - application/json
  34677. responses:
  34678. "200":
  34679. description: OK
  34680. schema:
  34681. items:
  34682. $ref: '#/definitions/models.TjmdTransferApply'
  34683. type: array
  34684. "500":
  34685. description: Internal Server Error
  34686. schema:
  34687. $ref: '#/definitions/app.Response'
  34688. security:
  34689. - ApiKeyAuth: []
  34690. summary: 查询掉期协议单
  34691. tags:
  34692. - 天津麦顿
  34693. /Trade/QueryRecieptOrder:
  34694. get:
  34695. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  34696. parameters:
  34697. - description: 页码
  34698. in: query
  34699. name: page
  34700. type: integer
  34701. - description: 每页条数
  34702. in: query
  34703. name: pagesize
  34704. type: integer
  34705. - description: 商品ID
  34706. in: query
  34707. name: goodsID
  34708. required: true
  34709. type: integer
  34710. - description: 所属账户名称
  34711. in: query
  34712. name: accountName
  34713. type: string
  34714. - description: 市场ID
  34715. in: query
  34716. name: marketID
  34717. type: integer
  34718. - description: 方向 - 0:买 1:卖
  34719. in: query
  34720. name: buyorsell
  34721. required: true
  34722. type: integer
  34723. produces:
  34724. - application/json
  34725. responses:
  34726. "200":
  34727. description: OK
  34728. schema:
  34729. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  34730. "500":
  34731. description: Internal Server Error
  34732. schema:
  34733. $ref: '#/definitions/app.Response'
  34734. security:
  34735. - ApiKeyAuth: []
  34736. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  34737. tags:
  34738. - 通用交易
  34739. /User/AddMessageBoard:
  34740. post:
  34741. parameters:
  34742. - description: 用户ID
  34743. in: query
  34744. name: userID
  34745. required: true
  34746. type: integer
  34747. - description: 留言信息
  34748. in: query
  34749. name: message
  34750. required: true
  34751. type: string
  34752. - description: 联系电话
  34753. in: query
  34754. name: contactNum
  34755. required: true
  34756. type: string
  34757. produces:
  34758. - application/json
  34759. responses:
  34760. "200":
  34761. description: OK
  34762. schema:
  34763. $ref: '#/definitions/app.Response'
  34764. "500":
  34765. description: Internal Server Error
  34766. schema:
  34767. $ref: '#/definitions/app.Response'
  34768. security:
  34769. - ApiKeyAuth: []
  34770. summary: 添加用户留言板信息
  34771. tags:
  34772. - 用户信息
  34773. /User/AddUserFavoriteGoods:
  34774. post:
  34775. parameters:
  34776. - description: 用户ID
  34777. in: query
  34778. name: userID
  34779. required: true
  34780. type: integer
  34781. - description: 商品ID
  34782. in: query
  34783. name: goodsID
  34784. required: true
  34785. type: integer
  34786. produces:
  34787. - application/json
  34788. responses:
  34789. "200":
  34790. description: OK
  34791. schema:
  34792. $ref: '#/definitions/app.Response'
  34793. "500":
  34794. description: Internal Server Error
  34795. schema:
  34796. $ref: '#/definitions/app.Response'
  34797. security:
  34798. - ApiKeyAuth: []
  34799. summary: 添加用户商品收藏信息
  34800. tags:
  34801. - 用户信息
  34802. /User/GetLoginID:
  34803. get:
  34804. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  34805. parameters:
  34806. - description: 登录代码
  34807. in: query
  34808. name: username
  34809. required: true
  34810. type: string
  34811. produces:
  34812. - application/json
  34813. responses:
  34814. "200":
  34815. description: OK
  34816. schema:
  34817. $ref: '#/definitions/app.Response'
  34818. "500":
  34819. description: Internal Server Error
  34820. schema:
  34821. $ref: '#/definitions/app.Response'
  34822. summary: 获取登录ID
  34823. tags:
  34824. - 用户信息
  34825. /User/GetUserAccount:
  34826. get:
  34827. parameters:
  34828. - description: 用户ID
  34829. in: query
  34830. name: userID
  34831. required: true
  34832. type: integer
  34833. produces:
  34834. - application/json
  34835. responses:
  34836. "200":
  34837. description: OK
  34838. schema:
  34839. $ref: '#/definitions/models.Useraccount'
  34840. "500":
  34841. description: Internal Server Error
  34842. schema:
  34843. $ref: '#/definitions/app.Response'
  34844. security:
  34845. - ApiKeyAuth: []
  34846. summary: 获取用户账号信息
  34847. tags:
  34848. - 用户信息
  34849. /User/GetUserAuthStatus:
  34850. get:
  34851. parameters:
  34852. - description: 用户ID
  34853. in: query
  34854. name: userID
  34855. required: true
  34856. type: integer
  34857. produces:
  34858. - application/json
  34859. responses:
  34860. "200":
  34861. description: OK
  34862. schema:
  34863. $ref: '#/definitions/app.Response'
  34864. "500":
  34865. description: Internal Server Error
  34866. schema:
  34867. $ref: '#/definitions/app.Response'
  34868. security:
  34869. - ApiKeyAuth: []
  34870. summary: 获取用户实名认证状态
  34871. tags:
  34872. - 用户信息
  34873. /User/LoginQuery:
  34874. get:
  34875. parameters:
  34876. - description: 登录账号
  34877. in: query
  34878. name: loginID
  34879. required: true
  34880. type: integer
  34881. produces:
  34882. - application/json
  34883. responses:
  34884. "200":
  34885. description: OK
  34886. schema:
  34887. $ref: '#/definitions/user.LoginQueryRsp'
  34888. "500":
  34889. description: Internal Server Error
  34890. schema:
  34891. $ref: '#/definitions/app.Response'
  34892. security:
  34893. - ApiKeyAuth: []
  34894. summary: 账户登录后信息查询
  34895. tags:
  34896. - 用户信息
  34897. /User/QueryMessageBoard:
  34898. get:
  34899. parameters:
  34900. - description: 用户ID
  34901. in: query
  34902. name: userID
  34903. required: true
  34904. type: integer
  34905. produces:
  34906. - application/json
  34907. responses:
  34908. "200":
  34909. description: OK
  34910. schema:
  34911. $ref: '#/definitions/models.Messageboard'
  34912. "500":
  34913. description: Internal Server Error
  34914. schema:
  34915. $ref: '#/definitions/app.Response'
  34916. security:
  34917. - ApiKeyAuth: []
  34918. summary: 获取用户留言板信息
  34919. tags:
  34920. - 用户信息
  34921. /User/QueryUserFavoriteGoodses:
  34922. get:
  34923. parameters:
  34924. - description: 用户ID
  34925. in: query
  34926. name: userID
  34927. required: true
  34928. type: integer
  34929. produces:
  34930. - application/json
  34931. responses:
  34932. "200":
  34933. description: OK
  34934. schema:
  34935. $ref: '#/definitions/models.Userfavoritegoods'
  34936. "500":
  34937. description: Internal Server Error
  34938. schema:
  34939. $ref: '#/definitions/app.Response'
  34940. security:
  34941. - ApiKeyAuth: []
  34942. summary: 获取用户商品收藏信息
  34943. tags:
  34944. - 用户信息
  34945. /User/QueryUserInfo:
  34946. get:
  34947. parameters:
  34948. - description: 用户ID
  34949. in: query
  34950. name: userID
  34951. required: true
  34952. type: integer
  34953. - description: 是否解密
  34954. in: query
  34955. name: isDecrypt
  34956. type: boolean
  34957. produces:
  34958. - application/json
  34959. responses:
  34960. "200":
  34961. description: OK
  34962. schema:
  34963. $ref: '#/definitions/models.Userinfo'
  34964. "500":
  34965. description: Internal Server Error
  34966. schema:
  34967. $ref: '#/definitions/app.Response'
  34968. security:
  34969. - ApiKeyAuth: []
  34970. summary: 获取用户信息
  34971. tags:
  34972. - 用户信息
  34973. /User/QueryUserReferNum:
  34974. get:
  34975. parameters:
  34976. - description: 用户ID
  34977. in: query
  34978. name: userID
  34979. required: true
  34980. type: integer
  34981. produces:
  34982. - application/json
  34983. responses:
  34984. "200":
  34985. description: OK
  34986. schema:
  34987. $ref: '#/definitions/app.Response'
  34988. "500":
  34989. description: Internal Server Error
  34990. schema:
  34991. $ref: '#/definitions/app.Response'
  34992. summary: 获取用户邀请码
  34993. tags:
  34994. - 用户信息
  34995. /User/RemoveUserFavoriteGoods:
  34996. post:
  34997. parameters:
  34998. - description: 用户ID
  34999. in: query
  35000. name: userID
  35001. required: true
  35002. type: integer
  35003. - description: 商品ID
  35004. in: query
  35005. name: goodsID
  35006. required: true
  35007. type: integer
  35008. produces:
  35009. - application/json
  35010. responses:
  35011. "200":
  35012. description: OK
  35013. schema:
  35014. $ref: '#/definitions/app.Response'
  35015. "500":
  35016. description: Internal Server Error
  35017. schema:
  35018. $ref: '#/definitions/app.Response'
  35019. security:
  35020. - ApiKeyAuth: []
  35021. summary: 移除用户商品收藏信息
  35022. tags:
  35023. - 用户信息
  35024. /User/UpdateUserAccountStatus:
  35025. post:
  35026. parameters:
  35027. - description: 用户ID
  35028. in: query
  35029. name: userID
  35030. required: true
  35031. type: integer
  35032. - description: 账户状态 - 4:正常 6:注销(停用)
  35033. in: query
  35034. name: accountStatus
  35035. required: true
  35036. type: integer
  35037. produces:
  35038. - application/json
  35039. responses:
  35040. "200":
  35041. description: OK
  35042. schema:
  35043. $ref: '#/definitions/app.Response'
  35044. "500":
  35045. description: Internal Server Error
  35046. schema:
  35047. $ref: '#/definitions/app.Response'
  35048. security:
  35049. - ApiKeyAuth: []
  35050. summary: 更新用户状态
  35051. tags:
  35052. - 用户信息
  35053. /WRTrade/GetAllDeliveryGoods:
  35054. get:
  35055. produces:
  35056. - application/json
  35057. responses:
  35058. "200":
  35059. description: OK
  35060. schema:
  35061. $ref: '#/definitions/app.Response'
  35062. "500":
  35063. description: Internal Server Error
  35064. schema:
  35065. $ref: '#/definitions/app.Response'
  35066. security:
  35067. - ApiKeyAuth: []
  35068. summary: 获取带仓单分类的种类信息
  35069. tags:
  35070. - 仓单贸易
  35071. - 仓单贸易
  35072. /WrTrade2/InsertXhcpSellBackApply:
  35073. post:
  35074. parameters:
  35075. - description: 回收申请
  35076. in: body
  35077. name: jsonBody
  35078. required: true
  35079. schema:
  35080. $ref: '#/definitions/models.XhcpSellBackApplyEx'
  35081. produces:
  35082. - application/json
  35083. responses:
  35084. "200":
  35085. description: OK
  35086. schema:
  35087. $ref: '#/definitions/app.Response'
  35088. "500":
  35089. description: Internal Server Error
  35090. schema:
  35091. $ref: '#/definitions/app.Response'
  35092. security:
  35093. - ApiKeyAuth: []
  35094. summary: 新增回收申请(新会陈皮)
  35095. tags:
  35096. - 仓单贸易v2
  35097. /WrTrade2/QueryDeliveryGoodsSection:
  35098. get:
  35099. produces:
  35100. - application/json
  35101. responses:
  35102. "200":
  35103. description: OK
  35104. schema:
  35105. items:
  35106. $ref: '#/definitions/models.WrDeliveryGoodsSection'
  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. - 仓单贸易v2
  35117. /WrTrade2/QueryFaProductDetail:
  35118. get:
  35119. description: 页面 买卖大厅 -> 选择融资方案
  35120. parameters:
  35121. - description: 仓单要素id
  35122. in: query
  35123. name: wrfactortypeid
  35124. required: true
  35125. type: integer
  35126. produces:
  35127. - application/json
  35128. responses:
  35129. "200":
  35130. description: OK
  35131. schema:
  35132. items:
  35133. $ref: '#/definitions/models.WrFAProductDetail'
  35134. type: array
  35135. "500":
  35136. description: Internal Server Error
  35137. schema:
  35138. $ref: '#/definitions/app.Response'
  35139. security:
  35140. - ApiKeyAuth: []
  35141. summary: 查询融资产品列表
  35142. tags:
  35143. - 仓单贸易v2
  35144. /WrTrade2/QueryFilterItem:
  35145. get:
  35146. parameters:
  35147. - description: 类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库
  35148. in: query
  35149. name: itype
  35150. required: true
  35151. type: string
  35152. produces:
  35153. - application/json
  35154. responses:
  35155. "200":
  35156. description: OK
  35157. schema:
  35158. items:
  35159. $ref: '#/definitions/models.WrFilterItem'
  35160. type: array
  35161. "500":
  35162. description: Internal Server Error
  35163. schema:
  35164. $ref: '#/definitions/app.Response'
  35165. security:
  35166. - ApiKeyAuth: []
  35167. summary: 查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)
  35168. tags:
  35169. - 仓单贸易v2
  35170. /WrTrade2/QueryFtDeliveryGoods:
  35171. get:
  35172. produces:
  35173. - application/json
  35174. responses:
  35175. "200":
  35176. description: OK
  35177. schema:
  35178. items:
  35179. $ref: '#/definitions/models.WrFtDeliveryGoods'
  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. - 仓单贸易v2
  35190. /WrTrade2/QueryHoldLB:
  35191. get:
  35192. description: 页面 现货仓单->现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。
  35193. parameters:
  35194. - description: 资金账号
  35195. in: query
  35196. name: accountid
  35197. required: true
  35198. type: integer
  35199. - description: 仓库id
  35200. in: query
  35201. name: warehouseid
  35202. type: integer
  35203. - description: 品种id
  35204. in: query
  35205. name: deliverygoodsid
  35206. type: integer
  35207. - description: 品类id
  35208. in: query
  35209. name: wrstandardid
  35210. type: integer
  35211. - description: 仓单要素id
  35212. in: query
  35213. name: wrfactortypeid
  35214. type: integer
  35215. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  35216. in: query
  35217. name: dgitemname
  35218. type: string
  35219. produces:
  35220. - application/json
  35221. responses:
  35222. "200":
  35223. description: OK
  35224. schema:
  35225. items:
  35226. $ref: '#/definitions/models.WrHoldLB'
  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. - 仓单贸易v2
  35237. /WrTrade2/QueryOrderQuote:
  35238. get:
  35239. description: 仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth
  35240. 唯一确定1条记录
  35241. parameters:
  35242. - description: 页码
  35243. in: query
  35244. name: page
  35245. type: integer
  35246. - description: 每页条数
  35247. in: query
  35248. name: pagesize
  35249. type: integer
  35250. - description: 仓单贸易市场id
  35251. in: query
  35252. name: marketid
  35253. type: integer
  35254. - description: 价格方式 - 1:固定价 2-浮动价
  35255. in: query
  35256. name: wrpricetype
  35257. required: true
  35258. type: integer
  35259. - description: 0:仓单预售 1:仓单贸易
  35260. in: query
  35261. name: haswr
  35262. type: integer
  35263. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  35264. in: query
  35265. name: dgitemname
  35266. type: string
  35267. - description: 仓库id(筛选条件)
  35268. in: query
  35269. name: warehouseid
  35270. type: integer
  35271. - description: 品种id
  35272. in: query
  35273. name: deliverygoodsid
  35274. type: integer
  35275. - description: 品类id
  35276. in: query
  35277. name: wrstandardid
  35278. type: integer
  35279. - description: 品牌id(dgfactoryitemid)
  35280. in: query
  35281. name: brandid
  35282. type: integer
  35283. - description: 年份id(dgfactoryitemid)
  35284. in: query
  35285. name: yearsid
  35286. type: integer
  35287. - description: 仓单要素id
  35288. in: query
  35289. name: wrfactortypeid
  35290. type: integer
  35291. - description: 交收月(yyyy-mm) 仓单预售填写
  35292. in: query
  35293. name: deliverymonth
  35294. type: string
  35295. produces:
  35296. - application/json
  35297. responses:
  35298. "200":
  35299. description: OK
  35300. schema:
  35301. items:
  35302. $ref: '#/definitions/models.WrOrderQuote'
  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. - 仓单贸易v2
  35313. /WrTrade2/QueryOrderQuoteDetail:
  35314. get:
  35315. parameters:
  35316. - description: 页码
  35317. in: query
  35318. name: page
  35319. type: integer
  35320. - description: 每页条数
  35321. in: query
  35322. name: pagesize
  35323. type: integer
  35324. - description: 仓单贸易市场id
  35325. in: query
  35326. name: marketid
  35327. type: integer
  35328. - description: 价格方式 - 1:固定价 2-浮动价
  35329. in: query
  35330. name: wrpricetype
  35331. required: true
  35332. type: integer
  35333. - description: 0:仓单预售 1:仓单贸易
  35334. in: query
  35335. name: haswr
  35336. type: integer
  35337. - description: 仓单要素id
  35338. in: query
  35339. name: wrfactortypeid
  35340. required: true
  35341. type: integer
  35342. - description: 期货商品id(浮动价方式时填)
  35343. in: query
  35344. name: goodsid
  35345. type: integer
  35346. - description: 买卖方向 0-买 1-卖
  35347. in: query
  35348. name: buyorsell
  35349. required: true
  35350. type: integer
  35351. - description: 交收月(yyyy-mm) 查仓单预售的买卖大厅时填写
  35352. in: query
  35353. name: deliverymonth
  35354. type: string
  35355. produces:
  35356. - application/json
  35357. responses:
  35358. "200":
  35359. description: OK
  35360. schema:
  35361. items:
  35362. $ref: '#/definitions/models.WrOrderQuoteDetail'
  35363. type: array
  35364. "500":
  35365. description: Internal Server Error
  35366. schema:
  35367. $ref: '#/definitions/app.Response'
  35368. security:
  35369. - ApiKeyAuth: []
  35370. summary: 查询买卖大厅
  35371. tags:
  35372. - 仓单贸易v2
  35373. /WrTrade2/QueryOrderQuoteMyq:
  35374. get:
  35375. parameters:
  35376. - description: 页码
  35377. in: query
  35378. name: page
  35379. type: integer
  35380. - description: 每页条数
  35381. in: query
  35382. name: pagesize
  35383. type: integer
  35384. - description: 用户id
  35385. in: query
  35386. name: userid
  35387. required: true
  35388. type: integer
  35389. - description: 仓单贸易市场id
  35390. in: query
  35391. name: marketid
  35392. type: integer
  35393. - description: 0:仓单预售 1:仓单贸易
  35394. in: query
  35395. name: haswr
  35396. type: integer
  35397. - description: 买卖方向 0-买 1-卖
  35398. in: query
  35399. name: buyorsell
  35400. required: true
  35401. type: integer
  35402. - description: 品种id
  35403. in: query
  35404. name: deliverygoodsid
  35405. type: integer
  35406. - description: 品类id
  35407. in: query
  35408. name: wrstandardid
  35409. type: integer
  35410. - description: 交收月(yyyy-mm) 仓单预售填写
  35411. in: query
  35412. name: deliverymonth
  35413. type: string
  35414. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  35415. in: query
  35416. name: dgitemname
  35417. type: string
  35418. produces:
  35419. - application/json
  35420. responses:
  35421. "200":
  35422. description: OK
  35423. schema:
  35424. items:
  35425. $ref: '#/definitions/models.WrQuoteOrderMyq'
  35426. type: array
  35427. "500":
  35428. description: Internal Server Error
  35429. schema:
  35430. $ref: '#/definitions/app.Response'
  35431. security:
  35432. - ApiKeyAuth: []
  35433. summary: 查询贸易圈挂牌大厅
  35434. tags:
  35435. - 仓单贸易v2
  35436. /WrTrade2/QueryPerformancePlan:
  35437. get:
  35438. parameters:
  35439. - description: 用户id
  35440. in: query
  35441. name: userid
  35442. required: true
  35443. type: integer
  35444. - description: 买卖方向 0-买 1-卖
  35445. in: query
  35446. name: buyorsell
  35447. required: true
  35448. type: integer
  35449. - description: 履约状态(可多个,逗号隔开) 1:待激活 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成
  35450. 8:释放冻结失败 9:超时待处理 10:超时关闭
  35451. in: query
  35452. name: status
  35453. type: string
  35454. - description: 开始交易日(yyyymmdd)
  35455. in: query
  35456. name: begindate
  35457. type: string
  35458. - description: 结束交易日(yyyymmdd)
  35459. in: query
  35460. name: enddate
  35461. type: string
  35462. produces:
  35463. - application/json
  35464. responses:
  35465. "200":
  35466. description: OK
  35467. schema:
  35468. items:
  35469. $ref: '#/definitions/models.WrPerformancePlan'
  35470. type: array
  35471. "500":
  35472. description: Internal Server Error
  35473. schema:
  35474. $ref: '#/definitions/app.Response'
  35475. security:
  35476. - ApiKeyAuth: []
  35477. summary: 查询履约信息
  35478. tags:
  35479. - 仓单贸易v2
  35480. /WrTrade2/QueryPermancePlanTmp:
  35481. get:
  35482. description: |-
  35483. 返回指定用户的模板和公共模板(用户id为空)
  35484. 注意:天津麦顿客户 填写marketid参数,其它参数不用填;其它客户不用填marketid字段
  35485. parameters:
  35486. - description: 用户id
  35487. in: query
  35488. name: userid
  35489. type: integer
  35490. - description: 模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  35491. (无仓单) 5:挂牌期权 6:竞拍-降价式
  35492. in: query
  35493. name: tmptype
  35494. type: string
  35495. - description: 是否包含公共模板(用户id为空的) 1-包含
  35496. in: query
  35497. name: includepub
  35498. type: integer
  35499. - description: 市场id(天津麦顿指定此参数,其它不用)
  35500. in: query
  35501. name: marketid
  35502. type: integer
  35503. produces:
  35504. - application/json
  35505. responses:
  35506. "200":
  35507. description: OK
  35508. schema:
  35509. items:
  35510. $ref: '#/definitions/models.WrPerformanceTemplateEx'
  35511. type: array
  35512. "500":
  35513. description: Internal Server Error
  35514. schema:
  35515. $ref: '#/definitions/app.Response'
  35516. security:
  35517. - ApiKeyAuth: []
  35518. summary: 查询履约模板
  35519. tags:
  35520. - 仓单贸易v2
  35521. /WrTrade2/QuerySiteColumnDetail:
  35522. get:
  35523. parameters:
  35524. - description: 页码
  35525. in: query
  35526. name: page
  35527. type: integer
  35528. - description: 每页条数
  35529. in: query
  35530. name: pagesize
  35531. type: integer
  35532. - description: 所属栏目id
  35533. in: query
  35534. name: columnid
  35535. type: integer
  35536. produces:
  35537. - application/json
  35538. responses:
  35539. "200":
  35540. description: OK
  35541. schema:
  35542. items:
  35543. $ref: '#/definitions/models.WrSiteColumnDetail'
  35544. type: array
  35545. "500":
  35546. description: Internal Server Error
  35547. schema:
  35548. $ref: '#/definitions/app.Response'
  35549. security:
  35550. - ApiKeyAuth: []
  35551. summary: 查询资讯
  35552. tags:
  35553. - 仓单贸易v2
  35554. /WrTrade2/QuerySpotGroupTradeSum:
  35555. get:
  35556. produces:
  35557. - application/json
  35558. responses:
  35559. "200":
  35560. description: OK
  35561. schema:
  35562. items:
  35563. $ref: '#/definitions/models.WrSpotGroupTradeSumEx'
  35564. type: array
  35565. "500":
  35566. description: Internal Server Error
  35567. schema:
  35568. $ref: '#/definitions/app.Response'
  35569. security:
  35570. - ApiKeyAuth: []
  35571. summary: 查询指数
  35572. tags:
  35573. - 仓单贸易v2
  35574. /WrTrade2/QuerySpotGroupTradeSumDetail:
  35575. get:
  35576. description: 查询的结果将会按日期 从小到大 排序
  35577. parameters:
  35578. - description: 现货商品id
  35579. in: query
  35580. name: deliverygoodsid
  35581. required: true
  35582. type: integer
  35583. - description: 查询最新多少条记录(如不填写此项, 默认查30条)
  35584. in: query
  35585. name: lastnum
  35586. type: integer
  35587. produces:
  35588. - application/json
  35589. responses:
  35590. "200":
  35591. description: OK
  35592. schema:
  35593. items:
  35594. $ref: '#/definitions/models.WrSpotGroupTradeSumDetail'
  35595. type: array
  35596. "500":
  35597. description: Internal Server Error
  35598. schema:
  35599. $ref: '#/definitions/app.Response'
  35600. security:
  35601. - ApiKeyAuth: []
  35602. summary: 查询指数详细(价格走势图)
  35603. tags:
  35604. - 仓单贸易v2
  35605. /WrTrade2/QueryWrAverageTradePrice:
  35606. get:
  35607. parameters:
  35608. - description: 页码
  35609. in: query
  35610. name: page
  35611. type: integer
  35612. - description: 每页条数
  35613. in: query
  35614. name: pagesize
  35615. type: integer
  35616. - description: 0:仓单预售 1:仓单贸易
  35617. in: query
  35618. name: haswr
  35619. required: true
  35620. type: integer
  35621. - description: 仓单要素id
  35622. in: query
  35623. name: wrfactortypeid
  35624. required: true
  35625. type: integer
  35626. produces:
  35627. - application/json
  35628. responses:
  35629. "200":
  35630. description: OK
  35631. schema:
  35632. items:
  35633. $ref: '#/definitions/models.WrAverageTradePrice'
  35634. type: array
  35635. "500":
  35636. description: Internal Server Error
  35637. schema:
  35638. $ref: '#/definitions/app.Response'
  35639. security:
  35640. - ApiKeyAuth: []
  35641. summary: 查询成交价(历史走势)
  35642. tags:
  35643. - 仓单贸易v2
  35644. /WrTrade2/QueryWrBrandAndYears:
  35645. get:
  35646. produces:
  35647. - application/json
  35648. responses:
  35649. "200":
  35650. description: OK
  35651. schema:
  35652. items:
  35653. $ref: '#/definitions/models.WrBrandAndYears'
  35654. type: array
  35655. "500":
  35656. description: Internal Server Error
  35657. schema:
  35658. $ref: '#/definitions/app.Response'
  35659. security:
  35660. - ApiKeyAuth: []
  35661. summary: 查询品牌和年份
  35662. tags:
  35663. - 仓单贸易v2
  35664. /WrTrade2/QueryWrBsGoodsInfo:
  35665. get:
  35666. description: 合约交易/买卖大厅/详情
  35667. parameters:
  35668. - description: 商品id
  35669. in: query
  35670. name: goodsid
  35671. required: true
  35672. type: integer
  35673. produces:
  35674. - application/json
  35675. responses:
  35676. "200":
  35677. description: OK
  35678. schema:
  35679. items:
  35680. $ref: '#/definitions/models.WrBsGoodsInfo'
  35681. type: array
  35682. "500":
  35683. description: Internal Server Error
  35684. schema:
  35685. $ref: '#/definitions/app.Response'
  35686. security:
  35687. - ApiKeyAuth: []
  35688. summary: 查询合约交易买卖大厅详情
  35689. tags:
  35690. - 仓单贸易v2
  35691. /WrTrade2/QueryWrBuybackDetail:
  35692. get:
  35693. parameters:
  35694. - description: 融资合同id
  35695. in: query
  35696. name: scfcontractid
  35697. type: integer
  35698. produces:
  35699. - application/json
  35700. responses:
  35701. "200":
  35702. description: OK
  35703. schema:
  35704. items:
  35705. $ref: '#/definitions/models.WrBuybackDetail'
  35706. type: array
  35707. "500":
  35708. description: Internal Server Error
  35709. schema:
  35710. $ref: '#/definitions/app.Response'
  35711. security:
  35712. - ApiKeyAuth: []
  35713. summary: 查询仓单回购明细
  35714. tags:
  35715. - 仓单贸易v2
  35716. /WrTrade2/QueryWrClientAdSpaceConfig:
  35717. get:
  35718. produces:
  35719. - application/json
  35720. responses:
  35721. "200":
  35722. description: OK
  35723. schema:
  35724. items:
  35725. $ref: '#/definitions/models.WrClientAdSpaceConfig'
  35726. type: array
  35727. "500":
  35728. description: Internal Server Error
  35729. schema:
  35730. $ref: '#/definitions/app.Response'
  35731. security:
  35732. - ApiKeyAuth: []
  35733. summary: 查询固定广告配置
  35734. tags:
  35735. - 仓单贸易v2
  35736. /WrTrade2/QueryWrDeliveryAvalidHoldLB:
  35737. get:
  35738. parameters:
  35739. - description: 资金账号
  35740. in: query
  35741. name: accountid
  35742. required: true
  35743. type: integer
  35744. - description: 商品id
  35745. in: query
  35746. name: goodsid
  35747. required: true
  35748. type: integer
  35749. produces:
  35750. - application/json
  35751. responses:
  35752. "200":
  35753. description: OK
  35754. schema:
  35755. items:
  35756. $ref: '#/definitions/models.WrDeliveryAvalidHoldLB'
  35757. type: array
  35758. "500":
  35759. description: Internal Server Error
  35760. schema:
  35761. $ref: '#/definitions/app.Response'
  35762. security:
  35763. - ApiKeyAuth: []
  35764. summary: 查询合约交收可点选仓单
  35765. tags:
  35766. - 仓单贸易v2
  35767. /WrTrade2/QueryWrDeliveryDetail:
  35768. get:
  35769. parameters:
  35770. - description: 用户id
  35771. in: query
  35772. name: userid
  35773. required: true
  35774. type: integer
  35775. - description: 资金账号id
  35776. in: query
  35777. name: accountid
  35778. type: integer
  35779. - description: 开始交易日(yyyymmdd)
  35780. in: query
  35781. name: begindate
  35782. type: string
  35783. - description: 结束交易日(yyyymmdd)
  35784. in: query
  35785. name: enddate
  35786. type: string
  35787. produces:
  35788. - application/json
  35789. responses:
  35790. "200":
  35791. description: OK
  35792. schema:
  35793. items:
  35794. $ref: '#/definitions/models.WrDeliveryDetail'
  35795. type: array
  35796. "500":
  35797. description: Internal Server Error
  35798. schema:
  35799. $ref: '#/definitions/app.Response'
  35800. security:
  35801. - ApiKeyAuth: []
  35802. summary: 查询交收
  35803. tags:
  35804. - 仓单贸易v2
  35805. /WrTrade2/QueryWrDraftUserInfo:
  35806. get:
  35807. parameters:
  35808. - description: 用户ID
  35809. in: query
  35810. name: userid
  35811. required: true
  35812. type: integer
  35813. - description: 用户状态 1:正常 2:注销
  35814. in: query
  35815. name: userstatus
  35816. type: integer
  35817. produces:
  35818. - application/json
  35819. responses:
  35820. "200":
  35821. description: OK
  35822. schema:
  35823. items:
  35824. $ref: '#/definitions/models.WrDraftUserInfo'
  35825. type: array
  35826. "500":
  35827. description: Internal Server Error
  35828. schema:
  35829. $ref: '#/definitions/app.Response'
  35830. security:
  35831. - ApiKeyAuth: []
  35832. summary: 查询实名认证信息
  35833. tags:
  35834. - 仓单贸易v2
  35835. /WrTrade2/QueryWrFactorTypeInfo:
  35836. get:
  35837. parameters:
  35838. - description: 仓单要素id
  35839. in: query
  35840. name: wrfactortypeid
  35841. required: true
  35842. type: integer
  35843. produces:
  35844. - application/json
  35845. responses:
  35846. "200":
  35847. description: OK
  35848. schema:
  35849. items:
  35850. $ref: '#/definitions/models.WrFactorTypeInfo'
  35851. type: array
  35852. "500":
  35853. description: Internal Server Error
  35854. schema:
  35855. $ref: '#/definitions/app.Response'
  35856. security:
  35857. - ApiKeyAuth: []
  35858. summary: 查询仓单要素详细信息
  35859. tags:
  35860. - 仓单贸易v2
  35861. /WrTrade2/QueryWrFactorTypeInfoEx:
  35862. get:
  35863. parameters:
  35864. - description: 仓单要素id
  35865. in: query
  35866. name: wrfactortypeid
  35867. required: true
  35868. type: integer
  35869. produces:
  35870. - application/json
  35871. responses:
  35872. "200":
  35873. description: OK
  35874. schema:
  35875. items:
  35876. $ref: '#/definitions/models.WrTypeItem'
  35877. type: array
  35878. "500":
  35879. description: Internal Server Error
  35880. schema:
  35881. $ref: '#/definitions/app.Response'
  35882. security:
  35883. - ApiKeyAuth: []
  35884. summary: 查询仓单要素详细信息列表项
  35885. tags:
  35886. - 仓单贸易v2
  35887. /WrTrade2/QueryWrFinanceBuyApply:
  35888. get:
  35889. description: 页面 融资信息+ / 申请单
  35890. parameters:
  35891. - description: 用户id
  35892. in: query
  35893. name: userid
  35894. required: true
  35895. type: integer
  35896. produces:
  35897. - application/json
  35898. responses:
  35899. "200":
  35900. description: OK
  35901. schema:
  35902. items:
  35903. $ref: '#/definitions/models.WrFinanceBuyApply'
  35904. type: array
  35905. "500":
  35906. description: Internal Server Error
  35907. schema:
  35908. $ref: '#/definitions/app.Response'
  35909. security:
  35910. - ApiKeyAuth: []
  35911. summary: 查询融资购买申请
  35912. tags:
  35913. - 仓单贸易v2
  35914. /WrTrade2/QueryWrFriendApply:
  35915. get:
  35916. parameters:
  35917. - description: 用户id
  35918. in: query
  35919. name: userid
  35920. required: true
  35921. type: integer
  35922. produces:
  35923. - application/json
  35924. responses:
  35925. "200":
  35926. description: OK
  35927. schema:
  35928. items:
  35929. $ref: '#/definitions/models.WrFriendApply'
  35930. type: array
  35931. "500":
  35932. description: Internal Server Error
  35933. schema:
  35934. $ref: '#/definitions/app.Response'
  35935. security:
  35936. - ApiKeyAuth: []
  35937. summary: 查询好友申请记录
  35938. tags:
  35939. - 仓单贸易v2
  35940. /WrTrade2/QueryWrGoodsInfo:
  35941. get:
  35942. parameters:
  35943. - description: 仓单贸易市场id
  35944. in: query
  35945. name: marketid
  35946. type: integer
  35947. - description: 0:仓单预售 1:仓单贸易
  35948. in: query
  35949. name: haswr
  35950. required: true
  35951. type: integer
  35952. - description: 仓单要素id
  35953. in: query
  35954. name: wrfactortypeid
  35955. required: true
  35956. type: integer
  35957. - description: 履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)
  35958. in: query
  35959. name: tmplateid
  35960. type: integer
  35961. produces:
  35962. - application/json
  35963. responses:
  35964. "200":
  35965. description: OK
  35966. schema:
  35967. items:
  35968. $ref: '#/definitions/models.WrGoodsInfo'
  35969. type: array
  35970. "500":
  35971. description: Internal Server Error
  35972. schema:
  35973. $ref: '#/definitions/app.Response'
  35974. security:
  35975. - ApiKeyAuth: []
  35976. summary: 查询仓单商品信息
  35977. tags:
  35978. - 仓单贸易v2
  35979. /WrTrade2/QueryWrMarketTradeConfig:
  35980. get:
  35981. parameters:
  35982. - description: 市场id
  35983. in: query
  35984. name: marketid
  35985. type: integer
  35986. produces:
  35987. - application/json
  35988. responses:
  35989. "200":
  35990. description: OK
  35991. schema:
  35992. items:
  35993. $ref: '#/definitions/models.WrMarketTradeConfig'
  35994. type: array
  35995. "500":
  35996. description: Internal Server Error
  35997. schema:
  35998. $ref: '#/definitions/app.Response'
  35999. security:
  36000. - ApiKeyAuth: []
  36001. summary: 查询市场交易参数配置
  36002. tags:
  36003. - 仓单贸易v2
  36004. /WrTrade2/QueryWrOrderDetail:
  36005. get:
  36006. description: 页面 现货仓单 | 预售仓单 -> 委托单
  36007. parameters:
  36008. - description: 页码
  36009. in: query
  36010. name: page
  36011. type: integer
  36012. - description: 每页条数
  36013. in: query
  36014. name: pagesize
  36015. type: integer
  36016. - description: 用户id
  36017. in: query
  36018. name: userid
  36019. required: true
  36020. type: integer
  36021. - description: 仓单贸易市场id
  36022. in: query
  36023. name: marketid
  36024. type: integer
  36025. - description: 0:仓单预售 1:仓单贸易
  36026. in: query
  36027. name: haswr
  36028. required: true
  36029. type: integer
  36030. - description: 是否仅查可撤单据 1:可撤 注:此参数仅对当前记录有效, 且不含47模式市场
  36031. in: query
  36032. name: bcancel
  36033. type: integer
  36034. - description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  36035. in: query
  36036. name: wrtradetype
  36037. type: integer
  36038. - description: 开始交易日(yyyymmdd)
  36039. in: query
  36040. name: begindate
  36041. type: string
  36042. - description: 结束交易日(yyyymmdd)
  36043. in: query
  36044. name: enddate
  36045. type: string
  36046. produces:
  36047. - application/json
  36048. responses:
  36049. "200":
  36050. description: OK
  36051. schema:
  36052. items:
  36053. $ref: '#/definitions/models.WrOrderDetail'
  36054. type: array
  36055. "500":
  36056. description: Internal Server Error
  36057. schema:
  36058. $ref: '#/definitions/app.Response'
  36059. security:
  36060. - ApiKeyAuth: []
  36061. summary: 查询仓单委托单
  36062. tags:
  36063. - 仓单贸易v2
  36064. /WrTrade2/QueryWrOutInApply:
  36065. get:
  36066. parameters:
  36067. - description: 页码
  36068. in: query
  36069. name: page
  36070. type: integer
  36071. - description: 每页条数
  36072. in: query
  36073. name: pagesize
  36074. type: integer
  36075. - description: 用户id
  36076. in: query
  36077. name: userid
  36078. required: true
  36079. type: integer
  36080. - description: 开始交易日(yyyymmdd)
  36081. in: query
  36082. name: begindate
  36083. type: string
  36084. - description: 结束交易日(yyyymmdd)
  36085. in: query
  36086. name: enddate
  36087. type: string
  36088. produces:
  36089. - application/json
  36090. responses:
  36091. "200":
  36092. description: OK
  36093. schema:
  36094. items:
  36095. $ref: '#/definitions/models.WrOutInApply'
  36096. type: array
  36097. "500":
  36098. description: Internal Server Error
  36099. schema:
  36100. $ref: '#/definitions/app.Response'
  36101. security:
  36102. - ApiKeyAuth: []
  36103. summary: 查询提货申请
  36104. tags:
  36105. - 仓单贸易v2
  36106. /WrTrade2/QueryWrPerformancePlanStep:
  36107. get:
  36108. parameters:
  36109. - description: 履约计划id(performanceplanid)
  36110. in: query
  36111. name: planid
  36112. required: true
  36113. type: integer
  36114. - description: 当前步骤id
  36115. in: query
  36116. name: curstepid
  36117. type: integer
  36118. produces:
  36119. - application/json
  36120. responses:
  36121. "200":
  36122. description: OK
  36123. schema:
  36124. items:
  36125. $ref: '#/definitions/models.WrPerformancePlanStep'
  36126. type: array
  36127. "500":
  36128. description: Internal Server Error
  36129. schema:
  36130. $ref: '#/definitions/app.Response'
  36131. security:
  36132. - ApiKeyAuth: []
  36133. summary: 查询履约信息详情
  36134. tags:
  36135. - 仓单贸易v2
  36136. /WrTrade2/QueryWrPerformanceStepType:
  36137. get:
  36138. produces:
  36139. - application/json
  36140. responses:
  36141. "200":
  36142. description: OK
  36143. schema:
  36144. items:
  36145. $ref: '#/definitions/models.WrPerformanceStepType'
  36146. type: array
  36147. "500":
  36148. description: Internal Server Error
  36149. schema:
  36150. $ref: '#/definitions/app.Response'
  36151. security:
  36152. - ApiKeyAuth: []
  36153. summary: 查询履约步骤枚举
  36154. tags:
  36155. - 仓单贸易v2
  36156. /WrTrade2/QueryWrPosition:
  36157. get:
  36158. description: 页面 现货仓单->现货汇总/库存汇总; 预售仓单->订单汇总
  36159. parameters:
  36160. - description: 用户id
  36161. in: query
  36162. name: userid
  36163. required: true
  36164. type: integer
  36165. - description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  36166. in: query
  36167. name: querytype
  36168. required: true
  36169. type: integer
  36170. - description: 0:仓单预售 1:仓单贸易
  36171. in: query
  36172. name: haswr
  36173. required: true
  36174. type: integer
  36175. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  36176. in: query
  36177. name: dgitemname
  36178. type: string
  36179. - description: 仓库id(筛选条件)
  36180. in: query
  36181. name: warehouseid
  36182. type: integer
  36183. - description: 品种id
  36184. in: query
  36185. name: deliverygoodsid
  36186. type: integer
  36187. - description: 品类id
  36188. in: query
  36189. name: wrstandardid
  36190. type: integer
  36191. produces:
  36192. - application/json
  36193. responses:
  36194. "200":
  36195. description: OK
  36196. schema:
  36197. items:
  36198. $ref: '#/definitions/models.WrPosition'
  36199. type: array
  36200. "500":
  36201. description: Internal Server Error
  36202. schema:
  36203. $ref: '#/definitions/app.Response'
  36204. security:
  36205. - ApiKeyAuth: []
  36206. summary: 查询现货(预售)仓单持仓
  36207. tags:
  36208. - 仓单贸易v2
  36209. /WrTrade2/QueryWrPreSaleInfo:
  36210. get:
  36211. parameters:
  36212. - description: 市场id
  36213. in: query
  36214. name: marketid
  36215. type: integer
  36216. - description: 预售状态(逗号隔开,如1,2,3) 1:未开始 2:进行中 3:已结束 4:已关闭
  36217. in: query
  36218. name: presalestatus
  36219. type: string
  36220. - description: 摇号标识 - 0:未摇号 1:已摇号
  36221. in: query
  36222. name: lotteryflag
  36223. type: integer
  36224. - description: 最近多少条记录(按创建时间倒序)
  36225. in: query
  36226. name: lastnum
  36227. type: integer
  36228. produces:
  36229. - application/json
  36230. responses:
  36231. "200":
  36232. description: OK
  36233. schema:
  36234. items:
  36235. $ref: '#/definitions/models.WrPreSaleInfo'
  36236. type: array
  36237. "500":
  36238. description: Internal Server Error
  36239. schema:
  36240. $ref: '#/definitions/app.Response'
  36241. security:
  36242. - ApiKeyAuth: []
  36243. summary: 查询新品发布
  36244. tags:
  36245. - 仓单贸易v2
  36246. /WrTrade2/QueryWrReckonSpotGoodsTradeSum:
  36247. get:
  36248. parameters:
  36249. - description: 市场id
  36250. in: query
  36251. name: marketid
  36252. required: true
  36253. type: integer
  36254. - description: 现货商品id
  36255. in: query
  36256. name: wrstandardid
  36257. required: true
  36258. type: integer
  36259. - description: 开始交易日(yyyymmdd)
  36260. in: query
  36261. name: begindate
  36262. type: string
  36263. - description: 结束交易日(yyyymmdd)
  36264. in: query
  36265. name: enddate
  36266. type: string
  36267. - description: 最近多少条记录(按交易日倒序)
  36268. in: query
  36269. name: lastnum
  36270. type: integer
  36271. - description: 是否今日
  36272. in: query
  36273. name: istoday
  36274. type: boolean
  36275. produces:
  36276. - application/json
  36277. responses:
  36278. "200":
  36279. description: OK
  36280. schema:
  36281. items:
  36282. $ref: '#/definitions/models.WrReckonSpotGoodsTradeSum'
  36283. type: array
  36284. "500":
  36285. description: Internal Server Error
  36286. schema:
  36287. $ref: '#/definitions/app.Response'
  36288. security:
  36289. - ApiKeyAuth: []
  36290. summary: 查询价格走势
  36291. tags:
  36292. - 仓单贸易v2
  36293. /WrTrade2/QueryWrScfContract:
  36294. get:
  36295. parameters:
  36296. - description: 用户id
  36297. in: query
  36298. name: userid
  36299. required: true
  36300. type: integer
  36301. - description: 融资合同id
  36302. in: query
  36303. name: scfcontractid
  36304. type: integer
  36305. produces:
  36306. - application/json
  36307. responses:
  36308. "200":
  36309. description: OK
  36310. schema:
  36311. items:
  36312. $ref: '#/definitions/models.WrScfContract'
  36313. type: array
  36314. "500":
  36315. description: Internal Server Error
  36316. schema:
  36317. $ref: '#/definitions/app.Response'
  36318. security:
  36319. - ApiKeyAuth: []
  36320. summary: 查询仓单贸易融资合同
  36321. tags:
  36322. - 仓单贸易v2
  36323. /WrTrade2/QueryWrScfContractInterest:
  36324. get:
  36325. parameters:
  36326. - description: 融资合同id
  36327. in: query
  36328. name: scfcontractid
  36329. type: integer
  36330. produces:
  36331. - application/json
  36332. responses:
  36333. "200":
  36334. description: OK
  36335. schema:
  36336. items:
  36337. $ref: '#/definitions/models.WrScfContractInterest'
  36338. type: array
  36339. "500":
  36340. description: Internal Server Error
  36341. schema:
  36342. $ref: '#/definitions/app.Response'
  36343. security:
  36344. - ApiKeyAuth: []
  36345. summary: 查询融资合同费用明细
  36346. tags:
  36347. - 仓单贸易v2
  36348. /WrTrade2/QueryWrSearchUser:
  36349. get:
  36350. parameters:
  36351. - description: 用户名称(模糊匹配)
  36352. in: query
  36353. name: username
  36354. required: true
  36355. type: string
  36356. produces:
  36357. - application/json
  36358. responses:
  36359. "200":
  36360. description: OK
  36361. schema:
  36362. items:
  36363. $ref: '#/definitions/models.WrSearchUser'
  36364. type: array
  36365. "500":
  36366. description: Internal Server Error
  36367. schema:
  36368. $ref: '#/definitions/app.Response'
  36369. security:
  36370. - ApiKeyAuth: []
  36371. summary: 查询用户
  36372. tags:
  36373. - 仓单贸易v2
  36374. /WrTrade2/QueryWrSpecialMatchOrder:
  36375. get:
  36376. description: 页面 现货仓单 | 预售仓单 -> 指定成交
  36377. parameters:
  36378. - description: 页码
  36379. in: query
  36380. name: page
  36381. type: integer
  36382. - description: 每页条数
  36383. in: query
  36384. name: pagesize
  36385. type: integer
  36386. - description: 用户id
  36387. in: query
  36388. name: userid
  36389. required: true
  36390. type: integer
  36391. - description: 仓单贸易市场id
  36392. in: query
  36393. name: marketid
  36394. type: integer
  36395. - description: 0:仓单预售 1:仓单贸易
  36396. in: query
  36397. name: haswr
  36398. required: true
  36399. type: integer
  36400. - description: 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  36401. in: query
  36402. name: isspecified
  36403. type: integer
  36404. produces:
  36405. - application/json
  36406. responses:
  36407. "200":
  36408. description: OK
  36409. schema:
  36410. items:
  36411. $ref: '#/definitions/models.WrSpecialMatchOrder'
  36412. type: array
  36413. "500":
  36414. description: Internal Server Error
  36415. schema:
  36416. $ref: '#/definitions/app.Response'
  36417. security:
  36418. - ApiKeyAuth: []
  36419. summary: 查询指定成交
  36420. tags:
  36421. - 仓单贸易v2
  36422. /WrTrade2/QueryWrStandardFactoryItem:
  36423. get:
  36424. parameters:
  36425. - description: 品类id
  36426. in: query
  36427. name: wrstandardid
  36428. required: true
  36429. type: integer
  36430. produces:
  36431. - application/json
  36432. responses:
  36433. "200":
  36434. description: OK
  36435. schema:
  36436. items:
  36437. $ref: '#/definitions/models.WrStandardFactoryItemEx'
  36438. type: array
  36439. "500":
  36440. description: Internal Server Error
  36441. schema:
  36442. $ref: '#/definitions/app.Response'
  36443. security:
  36444. - ApiKeyAuth: []
  36445. summary: 查询品类要素定义项
  36446. tags:
  36447. - 仓单贸易v2
  36448. /WrTrade2/QueryWrTradeBargainApply:
  36449. get:
  36450. description: 1.页面 挂单/议价单, 只需传单号就行 <br>2.页面 议价->我的议价 参数 userid=登录userid <br>3.页面
  36451. 议价->对方议价 填写matchuserid=登录用户id
  36452. parameters:
  36453. - description: 议价人id(摘牌方)
  36454. in: query
  36455. name: userid
  36456. type: integer
  36457. - description: 挂牌方id(查对方议价时,填写此项)
  36458. in: query
  36459. name: matchuserid
  36460. type: integer
  36461. - description: 关联委托单id
  36462. in: query
  36463. name: wrtradeorderid
  36464. type: integer
  36465. - description: 0:仓单预售 1:仓单贸易
  36466. in: query
  36467. name: haswr
  36468. required: true
  36469. type: integer
  36470. - description: 开始交易日(yyyymmdd)
  36471. in: query
  36472. name: begindate
  36473. type: string
  36474. - description: 结束交易日(yyyymmdd)
  36475. in: query
  36476. name: enddate
  36477. type: string
  36478. produces:
  36479. - application/json
  36480. responses:
  36481. "200":
  36482. description: OK
  36483. schema:
  36484. items:
  36485. $ref: '#/definitions/models.WRTradeBargainApply'
  36486. type: array
  36487. "500":
  36488. description: Internal Server Error
  36489. schema:
  36490. $ref: '#/definitions/app.Response'
  36491. security:
  36492. - ApiKeyAuth: []
  36493. summary: 查询议价单
  36494. tags:
  36495. - 仓单贸易v2
  36496. /WrTrade2/QueryWrTradeDetail:
  36497. get:
  36498. parameters:
  36499. - description: 页码
  36500. in: query
  36501. name: page
  36502. type: integer
  36503. - description: 每页条数
  36504. in: query
  36505. name: pagesize
  36506. type: integer
  36507. - description: 用户id
  36508. in: query
  36509. name: userid
  36510. required: true
  36511. type: integer
  36512. - description: 仓单贸易市场id
  36513. in: query
  36514. name: marketid
  36515. type: integer
  36516. - description: 0:仓单预售 1:仓单贸易
  36517. in: query
  36518. name: haswr
  36519. required: true
  36520. type: integer
  36521. - description: 开始交易日(yyyymmdd)
  36522. in: query
  36523. name: begindate
  36524. type: string
  36525. - description: 结束交易日(yyyymmdd)
  36526. in: query
  36527. name: enddate
  36528. type: string
  36529. produces:
  36530. - application/json
  36531. responses:
  36532. "200":
  36533. description: OK
  36534. schema:
  36535. items:
  36536. $ref: '#/definitions/models.WrTradeDetail'
  36537. type: array
  36538. "500":
  36539. description: Internal Server Error
  36540. schema:
  36541. $ref: '#/definitions/app.Response'
  36542. security:
  36543. - ApiKeyAuth: []
  36544. summary: 查询仓单成交明细
  36545. tags:
  36546. - 仓单贸易v2
  36547. /WrTrade2/QueryWrTradeOrderDetail:
  36548. get:
  36549. parameters:
  36550. - description: 页码
  36551. in: query
  36552. name: page
  36553. type: integer
  36554. - description: 每页条数
  36555. in: query
  36556. name: pagesize
  36557. type: integer
  36558. - description: 商品id
  36559. in: query
  36560. name: goodsid
  36561. required: true
  36562. type: integer
  36563. - description: 买卖方向 0-买 1-卖
  36564. in: query
  36565. name: buyorsell
  36566. required: true
  36567. type: integer
  36568. produces:
  36569. - application/json
  36570. responses:
  36571. "200":
  36572. description: OK
  36573. schema:
  36574. items:
  36575. $ref: '#/definitions/models.WrTradeOrderDetail'
  36576. type: array
  36577. "500":
  36578. description: Internal Server Error
  36579. schema:
  36580. $ref: '#/definitions/app.Response'
  36581. security:
  36582. - ApiKeyAuth: []
  36583. summary: 查询合约交易买卖大厅
  36584. tags:
  36585. - 仓单贸易v2
  36586. /WrTrade2/QueryWrTradeQuote:
  36587. get:
  36588. parameters:
  36589. - description: 现货商品id
  36590. in: query
  36591. name: wrstandardid
  36592. required: true
  36593. type: integer
  36594. - description: 开始日期(yyyymmdd)
  36595. in: query
  36596. name: begindate
  36597. required: true
  36598. type: string
  36599. - description: 结束日期(yyyymmdd)
  36600. in: query
  36601. name: enddate
  36602. required: true
  36603. type: string
  36604. - description: 市场id
  36605. in: query
  36606. name: marketid
  36607. type: integer
  36608. produces:
  36609. - application/json
  36610. responses:
  36611. "200":
  36612. description: OK
  36613. schema:
  36614. items:
  36615. $ref: '#/definitions/models.Wrtradetradequote'
  36616. type: array
  36617. "500":
  36618. description: Internal Server Error
  36619. schema:
  36620. $ref: '#/definitions/app.Response'
  36621. security:
  36622. - ApiKeyAuth: []
  36623. summary: 查询仓单贸易成交行情
  36624. tags:
  36625. - 仓单贸易v2
  36626. /WrTrade2/QueryWrUserFriend:
  36627. get:
  36628. parameters:
  36629. - description: 用户id
  36630. in: query
  36631. name: userid
  36632. required: true
  36633. type: integer
  36634. - description: 新朋友userid, 如果填写了此项则查找新朋友
  36635. in: query
  36636. name: newuserid
  36637. type: integer
  36638. produces:
  36639. - application/json
  36640. responses:
  36641. "200":
  36642. description: OK
  36643. schema:
  36644. items:
  36645. $ref: '#/definitions/models.WrUserFriend'
  36646. type: array
  36647. "500":
  36648. description: Internal Server Error
  36649. schema:
  36650. $ref: '#/definitions/app.Response'
  36651. security:
  36652. - ApiKeyAuth: []
  36653. summary: 查询我的朋友
  36654. tags:
  36655. - 仓单贸易v2
  36656. /WrTrade2/QueryWrUserReceiptInfo:
  36657. get:
  36658. parameters:
  36659. - description: 用户id
  36660. in: query
  36661. name: userid
  36662. type: integer
  36663. - description: 发票类型 - 1:个人 2:企业
  36664. in: query
  36665. name: receipttype
  36666. type: integer
  36667. produces:
  36668. - application/json
  36669. responses:
  36670. "200":
  36671. description: OK
  36672. schema:
  36673. items:
  36674. $ref: '#/definitions/models.WrUserReceiptInfo'
  36675. type: array
  36676. "500":
  36677. description: Internal Server Error
  36678. schema:
  36679. $ref: '#/definitions/app.Response'
  36680. security:
  36681. - ApiKeyAuth: []
  36682. summary: 查询发票信息
  36683. tags:
  36684. - 仓单贸易v2
  36685. /WrTrade2/QueryXhcpSellBackApply:
  36686. get:
  36687. parameters:
  36688. - description: 用户ID
  36689. in: query
  36690. name: userid
  36691. required: true
  36692. type: integer
  36693. produces:
  36694. - application/json
  36695. responses:
  36696. "200":
  36697. description: OK
  36698. schema:
  36699. items:
  36700. $ref: '#/definitions/models.Xhcpsellbackapply'
  36701. type: array
  36702. "500":
  36703. description: Internal Server Error
  36704. schema:
  36705. $ref: '#/definitions/app.Response'
  36706. security:
  36707. - ApiKeyAuth: []
  36708. summary: 查询我的回收申请(新会陈皮)
  36709. tags:
  36710. - 仓单贸易v2
  36711. /ZJ/GetBankTip:
  36712. get:
  36713. produces:
  36714. - application/json
  36715. responses:
  36716. "200":
  36717. description: OK
  36718. schema:
  36719. type: string
  36720. "500":
  36721. description: Internal Server Error
  36722. schema:
  36723. $ref: '#/definitions/app.Response'
  36724. summary: 获取中江网银端出入金提示信息
  36725. tags:
  36726. - 中江
  36727. /ZJ/GetCusBankChannels:
  36728. get:
  36729. produces:
  36730. - application/json
  36731. responses:
  36732. "200":
  36733. description: OK
  36734. schema:
  36735. items:
  36736. type: string
  36737. type: array
  36738. "500":
  36739. description: Internal Server Error
  36740. schema:
  36741. $ref: '#/definitions/app.Response'
  36742. summary: 获取中江出入金渠道显示列表
  36743. tags:
  36744. - 中江
  36745. securityDefinitions:
  36746. ApiKeyAuth:
  36747. in: header
  36748. name: Authorization
  36749. type: apiKey
  36750. Group:
  36751. in: header
  36752. name: Group
  36753. type: apiKey
  36754. LoginID:
  36755. in: header
  36756. name: LoginID
  36757. type: apiKey
  36758. swagger: "2.0"