swagger.yaml 764 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127181281812918130181311813218133181341813518136181371813818139181401814118142181431814418145181461814718148181491815018151181521815318154181551815618157181581815918160181611816218163181641816518166181671816818169181701817118172181731817418175181761817718178181791818018181181821818318184181851818618187181881818918190181911819218193181941819518196181971819818199182001820118202182031820418205182061820718208182091821018211182121821318214182151821618217182181821918220182211822218223182241822518226182271822818229182301823118232182331823418235182361823718238182391824018241182421824318244182451824618247182481824918250182511825218253182541825518256182571825818259182601826118262182631826418265182661826718268182691827018271182721827318274182751827618277182781827918280182811828218283182841828518286182871828818289182901829118292182931829418295182961829718298182991830018301183021830318304183051830618307183081830918310183111831218313183141831518316183171831818319183201832118322183231832418325183261832718328183291833018331183321833318334183351833618337183381833918340183411834218343183441834518346183471834818349183501835118352183531835418355183561835718358183591836018361183621836318364183651836618367183681836918370183711837218373183741837518376183771837818379183801838118382183831838418385183861838718388183891839018391183921839318394183951839618397183981839918400184011840218403184041840518406184071840818409184101841118412184131841418415184161841718418184191842018421184221842318424184251842618427184281842918430184311843218433184341843518436184371843818439184401844118442184431844418445184461844718448184491845018451184521845318454184551845618457184581845918460184611846218463184641846518466184671846818469184701847118472184731847418475184761847718478184791848018481184821848318484184851848618487184881848918490184911849218493184941849518496184971849818499185001850118502185031850418505185061850718508185091851018511185121851318514185151851618517185181851918520185211852218523185241852518526185271852818529185301853118532185331853418535185361853718538185391854018541185421854318544185451854618547185481854918550185511855218553185541855518556185571855818559185601856118562185631856418565185661856718568185691857018571185721857318574185751857618577185781857918580185811858218583185841858518586185871858818589185901859118592185931859418595185961859718598185991860018601186021860318604186051860618607186081860918610186111861218613186141861518616186171861818619186201862118622186231862418625186261862718628186291863018631186321863318634186351863618637186381863918640186411864218643186441864518646186471864818649186501865118652186531865418655186561865718658186591866018661186621866318664186651866618667186681866918670186711867218673186741867518676186771867818679186801868118682186831868418685186861868718688186891869018691186921869318694186951869618697186981869918700187011870218703187041870518706187071870818709187101871118712187131871418715187161871718718187191872018721187221872318724187251872618727187281872918730187311873218733187341873518736187371873818739187401874118742187431874418745187461874718748187491875018751187521875318754187551875618757187581875918760187611876218763187641876518766187671876818769187701877118772187731877418775187761877718778187791878018781187821878318784187851878618787187881878918790187911879218793187941879518796187971879818799188001880118802188031880418805188061880718808188091881018811188121881318814188151881618817188181881918820188211882218823188241882518826188271882818829188301883118832188331883418835188361883718838188391884018841188421884318844188451884618847188481884918850188511885218853188541885518856188571885818859188601886118862188631886418865188661886718868188691887018871188721887318874188751887618877188781887918880188811888218883188841888518886188871888818889188901889118892188931889418895188961889718898188991890018901189021890318904189051890618907189081890918910189111891218913189141891518916189171891818919189201892118922189231892418925189261892718928189291893018931189321893318934189351893618937189381893918940189411894218943189441894518946189471894818949189501895118952189531895418955189561895718958189591896018961189621896318964189651896618967189681896918970189711897218973189741897518976189771897818979189801898118982189831898418985189861898718988189891899018991189921899318994189951899618997189981899919000190011900219003190041900519006190071900819009190101901119012190131901419015190161901719018190191902019021190221902319024190251902619027190281902919030190311903219033190341903519036190371903819039190401904119042190431904419045190461904719048190491905019051190521905319054190551905619057190581905919060190611906219063190641906519066190671906819069190701907119072190731907419075190761907719078190791908019081190821908319084190851908619087190881908919090190911909219093190941909519096190971909819099191001910119102191031910419105191061910719108191091911019111191121911319114191151911619117191181911919120191211912219123191241912519126191271912819129191301913119132191331913419135191361913719138191391914019141191421914319144191451914619147191481914919150191511915219153191541915519156191571915819159191601916119162191631916419165191661916719168191691917019171191721917319174191751917619177191781917919180191811918219183191841918519186191871918819189191901919119192191931919419195191961919719198191991920019201192021920319204192051920619207192081920919210192111921219213192141921519216192171921819219192201922119222192231922419225192261922719228192291923019231192321923319234192351923619237192381923919240192411924219243192441924519246192471924819249192501925119252192531925419255192561925719258192591926019261192621926319264192651926619267192681926919270192711927219273192741927519276192771927819279192801928119282192831928419285192861928719288192891929019291192921929319294192951929619297192981929919300193011930219303193041930519306193071930819309193101931119312193131931419315193161931719318193191932019321193221932319324193251932619327193281932919330193311933219333193341933519336193371933819339193401934119342193431934419345193461934719348193491935019351193521935319354193551935619357193581935919360193611936219363193641936519366193671936819369193701937119372193731937419375193761937719378193791938019381193821938319384193851938619387193881938919390193911939219393193941939519396193971939819399194001940119402194031940419405194061940719408194091941019411194121941319414194151941619417194181941919420194211942219423194241942519426194271942819429194301943119432194331943419435194361943719438194391944019441194421944319444194451944619447194481944919450194511945219453194541945519456194571945819459194601946119462194631946419465194661946719468194691947019471194721947319474194751947619477194781947919480194811948219483194841948519486194871948819489194901949119492194931949419495194961949719498194991950019501195021950319504195051950619507195081950919510195111951219513195141951519516195171951819519195201952119522195231952419525195261952719528195291953019531195321953319534195351953619537195381953919540195411954219543195441954519546195471954819549195501955119552195531955419555195561955719558195591956019561195621956319564195651956619567195681956919570195711957219573195741957519576195771957819579195801958119582195831958419585195861958719588195891959019591195921959319594195951959619597195981959919600196011960219603196041960519606196071960819609196101961119612196131961419615196161961719618196191962019621196221962319624196251962619627196281962919630196311963219633196341963519636196371963819639196401964119642196431964419645196461964719648196491965019651196521965319654196551965619657196581965919660196611966219663196641966519666196671966819669196701967119672196731967419675196761967719678196791968019681196821968319684196851968619687196881968919690196911969219693196941969519696196971969819699197001970119702197031970419705197061970719708197091971019711197121971319714197151971619717197181971919720197211972219723197241972519726197271972819729197301973119732197331973419735197361973719738197391974019741197421974319744197451974619747197481974919750197511975219753197541975519756197571975819759197601976119762197631976419765197661976719768197691977019771197721977319774197751977619777197781977919780197811978219783197841978519786197871978819789197901979119792197931979419795197961979719798197991980019801198021980319804198051980619807198081980919810198111981219813198141981519816198171981819819198201982119822198231982419825198261982719828198291983019831198321983319834198351983619837198381983919840198411984219843198441984519846198471984819849198501985119852198531985419855198561985719858198591986019861198621986319864198651986619867198681986919870198711987219873198741987519876198771987819879198801988119882198831988419885198861988719888198891989019891198921989319894198951989619897198981989919900199011990219903199041990519906199071990819909199101991119912199131991419915199161991719918199191992019921199221992319924199251992619927199281992919930199311993219933199341993519936199371993819939199401994119942199431994419945199461994719948199491995019951199521995319954199551995619957199581995919960199611996219963199641996519966199671996819969199701997119972199731997419975199761997719978199791998019981199821998319984199851998619987199881998919990199911999219993199941999519996199971999819999200002000120002200032000420005200062000720008200092001020011200122001320014200152001620017200182001920020200212002220023200242002520026200272002820029200302003120032200332003420035200362003720038200392004020041200422004320044200452004620047200482004920050200512005220053200542005520056200572005820059200602006120062200632006420065200662006720068200692007020071200722007320074200752007620077200782007920080200812008220083200842008520086200872008820089200902009120092200932009420095200962009720098200992010020101201022010320104201052010620107201082010920110201112011220113201142011520116201172011820119201202012120122201232012420125201262012720128201292013020131201322013320134201352013620137201382013920140201412014220143201442014520146201472014820149201502015120152201532015420155201562015720158201592016020161201622016320164201652016620167201682016920170201712017220173201742017520176201772017820179201802018120182201832018420185201862018720188201892019020191201922019320194201952019620197201982019920200202012020220203202042020520206202072020820209202102021120212202132021420215202162021720218202192022020221202222022320224202252022620227202282022920230202312023220233202342023520236202372023820239202402024120242202432024420245202462024720248202492025020251202522025320254202552025620257202582025920260202612026220263202642026520266202672026820269202702027120272202732027420275202762027720278202792028020281202822028320284202852028620287202882028920290202912029220293202942029520296202972029820299203002030120302203032030420305203062030720308203092031020311203122031320314203152031620317203182031920320203212032220323203242032520326203272032820329203302033120332203332033420335203362033720338203392034020341203422034320344203452034620347203482034920350203512035220353203542035520356203572035820359203602036120362203632036420365203662036720368203692037020371203722037320374203752037620377203782037920380203812038220383203842038520386203872038820389203902039120392203932039420395203962039720398203992040020401204022040320404204052040620407204082040920410204112041220413204142041520416204172041820419204202042120422204232042420425204262042720428204292043020431204322043320434204352043620437204382043920440204412044220443204442044520446204472044820449204502045120452204532045420455204562045720458204592046020461204622046320464204652046620467204682046920470204712047220473204742047520476204772047820479204802048120482204832048420485204862048720488204892049020491204922049320494204952049620497204982049920500205012050220503205042050520506205072050820509205102051120512205132051420515205162051720518205192052020521205222052320524205252052620527205282052920530205312053220533205342053520536205372053820539205402054120542205432054420545205462054720548205492055020551205522055320554205552055620557205582055920560205612056220563205642056520566205672056820569205702057120572205732057420575205762057720578205792058020581205822058320584205852058620587205882058920590205912059220593205942059520596205972059820599206002060120602206032060420605206062060720608206092061020611206122061320614206152061620617206182061920620206212062220623206242062520626206272062820629206302063120632206332063420635206362063720638206392064020641206422064320644206452064620647206482064920650206512065220653206542065520656206572065820659206602066120662206632066420665206662066720668206692067020671206722067320674206752067620677206782067920680206812068220683206842068520686206872068820689206902069120692206932069420695206962069720698206992070020701207022070320704207052070620707207082070920710207112071220713207142071520716207172071820719207202072120722207232072420725207262072720728207292073020731207322073320734207352073620737207382073920740207412074220743207442074520746207472074820749207502075120752207532075420755207562075720758207592076020761207622076320764207652076620767207682076920770207712077220773207742077520776207772077820779207802078120782207832078420785207862078720788207892079020791207922079320794207952079620797207982079920800208012080220803208042080520806208072080820809208102081120812208132081420815208162081720818208192082020821208222082320824208252082620827208282082920830208312083220833208342083520836208372083820839208402084120842208432084420845208462084720848208492085020851208522085320854208552085620857208582085920860208612086220863208642086520866208672086820869208702087120872208732087420875208762087720878208792088020881208822088320884208852088620887208882088920890208912089220893208942089520896208972089820899209002090120902209032090420905209062090720908209092091020911209122091320914209152091620917209182091920920209212092220923209242092520926209272092820929209302093120932209332093420935209362093720938209392094020941209422094320944209452094620947209482094920950209512095220953209542095520956209572095820959209602096120962209632096420965209662096720968209692097020971209722097320974209752097620977209782097920980209812098220983209842098520986209872098820989209902099120992209932099420995209962099720998209992100021001210022100321004210052100621007210082100921010210112101221013210142101521016210172101821019210202102121022210232102421025210262102721028210292103021031210322103321034210352103621037210382103921040210412104221043210442104521046210472104821049210502105121052210532105421055210562105721058210592106021061210622106321064210652106621067210682106921070210712107221073210742107521076210772107821079210802108121082210832108421085210862108721088210892109021091210922109321094210952109621097210982109921100211012110221103211042110521106211072110821109211102111121112211132111421115211162111721118211192112021121211222112321124211252112621127211282112921130211312113221133211342113521136211372113821139211402114121142211432114421145211462114721148211492115021151211522115321154211552115621157211582115921160211612116221163211642116521166211672116821169211702117121172211732117421175211762117721178211792118021181211822118321184211852118621187211882118921190211912119221193211942119521196211972119821199212002120121202212032120421205212062120721208212092121021211212122121321214212152121621217212182121921220212212122221223212242122521226212272122821229212302123121232212332123421235212362123721238212392124021241212422124321244212452124621247212482124921250212512125221253212542125521256212572125821259212602126121262212632126421265212662126721268212692127021271212722127321274212752127621277212782127921280212812128221283212842128521286212872128821289212902129121292212932129421295212962129721298212992130021301213022130321304213052130621307213082130921310213112131221313213142131521316213172131821319213202132121322213232132421325213262132721328213292133021331213322133321334213352133621337213382133921340213412134221343213442134521346213472134821349213502135121352213532135421355213562135721358213592136021361213622136321364213652136621367213682136921370213712137221373213742137521376213772137821379213802138121382213832138421385213862138721388213892139021391213922139321394213952139621397213982139921400214012140221403214042140521406214072140821409214102141121412214132141421415214162141721418214192142021421214222142321424214252142621427214282142921430214312143221433214342143521436214372143821439214402144121442214432144421445214462144721448214492145021451214522145321454214552145621457214582145921460214612146221463214642146521466214672146821469214702147121472214732147421475214762147721478214792148021481214822148321484214852148621487214882148921490214912149221493214942149521496214972149821499215002150121502215032150421505215062150721508215092151021511215122151321514215152151621517215182151921520215212152221523215242152521526215272152821529215302153121532215332153421535215362153721538215392154021541215422154321544215452154621547215482154921550215512155221553215542155521556215572155821559215602156121562215632156421565215662156721568215692157021571215722157321574215752157621577215782157921580215812158221583215842158521586215872158821589215902159121592215932159421595215962159721598215992160021601216022160321604216052160621607216082160921610216112161221613216142161521616216172161821619216202162121622216232162421625216262162721628216292163021631216322163321634216352163621637216382163921640216412164221643216442164521646216472164821649216502165121652216532165421655216562165721658216592166021661216622166321664216652166621667216682166921670216712167221673216742167521676216772167821679216802168121682216832168421685216862168721688216892169021691216922169321694216952169621697216982169921700217012170221703217042170521706217072170821709217102171121712217132171421715217162171721718217192172021721217222172321724217252172621727217282172921730217312173221733217342173521736217372173821739217402174121742217432174421745217462174721748217492175021751217522175321754217552175621757217582175921760217612176221763217642176521766217672176821769217702177121772217732177421775217762177721778217792178021781217822178321784217852178621787217882178921790217912179221793217942179521796217972179821799218002180121802218032180421805218062180721808218092181021811218122181321814218152181621817218182181921820218212182221823218242182521826218272182821829218302183121832218332183421835218362183721838218392184021841218422184321844218452184621847218482184921850218512185221853218542185521856218572185821859218602186121862218632186421865218662186721868218692187021871218722187321874218752187621877218782187921880218812188221883218842188521886218872188821889218902189121892218932189421895218962189721898218992190021901219022190321904219052190621907219082190921910219112191221913219142191521916219172191821919219202192121922219232192421925219262192721928219292193021931219322193321934219352193621937219382193921940219412194221943219442194521946219472194821949219502195121952219532195421955219562195721958219592196021961219622196321964219652196621967219682196921970219712197221973219742197521976219772197821979219802198121982219832198421985219862198721988219892199021991219922199321994219952199621997219982199922000220012200222003220042200522006220072200822009220102201122012220132201422015220162201722018220192202022021220222202322024220252202622027220282202922030220312203222033220342203522036220372203822039220402204122042220432204422045220462204722048220492205022051220522205322054220552205622057220582205922060220612206222063220642206522066220672206822069220702207122072220732207422075220762207722078220792208022081220822208322084220852208622087220882208922090220912209222093220942209522096220972209822099221002210122102221032210422105221062210722108221092211022111221122211322114221152211622117221182211922120221212212222123221242212522126221272212822129221302213122132221332213422135221362213722138221392214022141221422214322144221452214622147221482214922150221512215222153221542215522156221572215822159221602216122162221632216422165221662216722168221692217022171221722217322174221752217622177221782217922180221812218222183221842218522186221872218822189221902219122192221932219422195221962219722198221992220022201222022220322204222052220622207222082220922210222112221222213222142221522216222172221822219222202222122222222232222422225222262222722228222292223022231222322223322234222352223622237222382223922240222412224222243222442224522246222472224822249222502225122252222532225422255222562225722258222592226022261222622226322264222652226622267222682226922270222712227222273222742227522276222772227822279222802228122282222832228422285222862228722288222892229022291222922229322294222952229622297222982229922300223012230222303223042230522306223072230822309223102231122312223132231422315223162231722318223192232022321223222232322324223252232622327223282232922330223312233222333223342233522336223372233822339223402234122342223432234422345223462234722348223492235022351223522235322354223552235622357223582235922360223612236222363223642236522366223672236822369223702237122372223732237422375223762237722378223792238022381223822238322384223852238622387223882238922390223912239222393223942239522396223972239822399224002240122402224032240422405224062240722408224092241022411224122241322414224152241622417224182241922420224212242222423224242242522426224272242822429224302243122432224332243422435224362243722438224392244022441224422244322444224452244622447224482244922450224512245222453224542245522456224572245822459224602246122462224632246422465224662246722468224692247022471224722247322474224752247622477224782247922480224812248222483224842248522486224872248822489224902249122492224932249422495224962249722498224992250022501225022250322504225052250622507225082250922510225112251222513225142251522516225172251822519225202252122522225232252422525225262252722528225292253022531225322253322534225352253622537225382253922540225412254222543225442254522546225472254822549225502255122552225532255422555225562255722558225592256022561225622256322564225652256622567225682256922570225712257222573225742257522576225772257822579225802258122582225832258422585225862258722588225892259022591225922259322594225952259622597225982259922600226012260222603226042260522606226072260822609226102261122612226132261422615226162261722618226192262022621226222262322624226252262622627226282262922630226312263222633226342263522636226372263822639226402264122642226432264422645226462264722648226492265022651226522265322654226552265622657226582265922660226612266222663226642266522666226672266822669226702267122672226732267422675226762267722678226792268022681226822268322684226852268622687226882268922690226912269222693226942269522696226972269822699227002270122702227032270422705227062270722708227092271022711227122271322714227152271622717227182271922720227212272222723227242272522726227272272822729227302273122732227332273422735227362273722738227392274022741227422274322744227452274622747227482274922750227512275222753227542275522756227572275822759227602276122762227632276422765227662276722768227692277022771227722277322774227752277622777227782277922780227812278222783227842278522786227872278822789227902279122792227932279422795227962279722798227992280022801228022280322804228052280622807228082280922810228112281222813228142281522816228172281822819228202282122822228232282422825228262282722828228292283022831228322283322834228352283622837228382283922840228412284222843228442284522846228472284822849228502285122852228532285422855228562285722858228592286022861228622286322864228652286622867228682286922870228712287222873228742287522876228772287822879228802288122882228832288422885228862288722888228892289022891228922289322894228952289622897228982289922900229012290222903229042290522906229072290822909229102291122912229132291422915229162291722918229192292022921229222292322924229252292622927229282292922930229312293222933229342293522936229372293822939229402294122942229432294422945229462294722948229492295022951229522295322954229552295622957229582295922960229612296222963229642296522966229672296822969229702297122972229732297422975229762297722978229792298022981229822298322984229852298622987229882298922990229912299222993229942299522996229972299822999230002300123002230032300423005230062300723008230092301023011230122301323014230152301623017230182301923020230212302223023230242302523026230272302823029230302303123032230332303423035230362303723038230392304023041230422304323044230452304623047230482304923050230512305223053230542305523056230572305823059230602306123062230632306423065230662306723068230692307023071230722307323074230752307623077230782307923080230812308223083230842308523086230872308823089230902309123092230932309423095230962309723098230992310023101231022310323104231052310623107231082310923110231112311223113231142311523116231172311823119231202312123122231232312423125231262312723128231292313023131231322313323134231352313623137231382313923140231412314223143231442314523146231472314823149231502315123152231532315423155231562315723158231592316023161231622316323164231652316623167231682316923170231712317223173231742317523176231772317823179231802318123182231832318423185231862318723188231892319023191231922319323194231952319623197231982319923200232012320223203232042320523206232072320823209232102321123212232132321423215232162321723218232192322023221232222322323224232252322623227232282322923230232312323223233232342323523236232372323823239232402324123242232432324423245232462324723248232492325023251232522325323254232552325623257232582325923260232612326223263232642326523266232672326823269232702327123272232732327423275232762327723278232792328023281232822328323284232852328623287232882328923290232912329223293232942329523296232972329823299233002330123302233032330423305233062330723308233092331023311233122331323314233152331623317233182331923320233212332223323233242332523326233272332823329233302333123332233332333423335233362333723338233392334023341233422334323344233452334623347233482334923350233512335223353233542335523356233572335823359233602336123362233632336423365233662336723368233692337023371233722337323374233752337623377233782337923380233812338223383233842338523386233872338823389233902339123392233932339423395233962339723398233992340023401234022340323404234052340623407234082340923410234112341223413234142341523416234172341823419234202342123422234232342423425234262342723428234292343023431234322343323434234352343623437234382343923440234412344223443234442344523446234472344823449234502345123452234532345423455234562345723458234592346023461234622346323464234652346623467234682346923470234712347223473234742347523476234772347823479234802348123482234832348423485234862348723488234892349023491234922349323494234952349623497234982349923500235012350223503235042350523506235072350823509235102351123512235132351423515235162351723518235192352023521235222352323524235252352623527235282352923530235312353223533235342353523536235372353823539235402354123542235432354423545235462354723548235492355023551235522355323554235552355623557235582355923560235612356223563235642356523566235672356823569235702357123572235732357423575235762357723578235792358023581235822358323584235852358623587235882358923590235912359223593235942359523596235972359823599236002360123602236032360423605236062360723608236092361023611236122361323614236152361623617236182361923620236212362223623236242362523626236272362823629236302363123632236332363423635236362363723638236392364023641236422364323644236452364623647236482364923650236512365223653236542365523656236572365823659236602366123662236632366423665236662366723668236692367023671236722367323674236752367623677236782367923680236812368223683236842368523686236872368823689236902369123692236932369423695236962369723698236992370023701237022370323704237052370623707237082370923710237112371223713237142371523716237172371823719237202372123722237232372423725237262372723728237292373023731237322373323734237352373623737237382373923740237412374223743237442374523746237472374823749237502375123752237532375423755237562375723758237592376023761237622376323764237652376623767237682376923770237712377223773237742377523776237772377823779237802378123782237832378423785237862378723788237892379023791237922379323794237952379623797237982379923800238012380223803238042380523806238072380823809238102381123812238132381423815238162381723818238192382023821238222382323824238252382623827238282382923830238312383223833238342383523836238372383823839238402384123842238432384423845238462384723848238492385023851238522385323854238552385623857238582385923860238612386223863238642386523866238672386823869238702387123872238732387423875238762387723878238792388023881238822388323884238852388623887238882388923890238912389223893238942389523896238972389823899239002390123902239032390423905239062390723908239092391023911239122391323914239152391623917239182391923920239212392223923239242392523926239272392823929239302393123932239332393423935239362393723938239392394023941239422394323944239452394623947239482394923950239512395223953239542395523956239572395823959239602396123962239632396423965239662396723968239692397023971239722397323974239752397623977239782397923980239812398223983239842398523986239872398823989239902399123992239932399423995239962399723998239992400024001240022400324004240052400624007240082400924010240112401224013240142401524016240172401824019240202402124022240232402424025240262402724028240292403024031240322403324034240352403624037240382403924040240412404224043240442404524046240472404824049240502405124052240532405424055240562405724058240592406024061240622406324064240652406624067240682406924070240712407224073240742407524076240772407824079240802408124082240832408424085240862408724088240892409024091240922409324094240952409624097240982409924100241012410224103241042410524106241072410824109241102411124112241132411424115241162411724118241192412024121241222412324124241252412624127241282412924130241312413224133241342413524136241372413824139241402414124142241432414424145241462414724148241492415024151241522415324154241552415624157241582415924160241612416224163241642416524166241672416824169241702417124172241732417424175241762417724178241792418024181241822418324184241852418624187241882418924190241912419224193241942419524196241972419824199242002420124202242032420424205242062420724208242092421024211242122421324214242152421624217242182421924220242212422224223242242422524226242272422824229242302423124232242332423424235242362423724238242392424024241242422424324244242452424624247242482424924250242512425224253242542425524256242572425824259242602426124262242632426424265242662426724268242692427024271242722427324274242752427624277242782427924280242812428224283242842428524286242872428824289242902429124292242932429424295242962429724298242992430024301243022430324304243052430624307243082430924310243112431224313243142431524316243172431824319243202432124322243232432424325243262432724328243292433024331243322433324334243352433624337243382433924340243412434224343243442434524346243472434824349243502435124352243532435424355243562435724358243592436024361243622436324364243652436624367243682436924370243712437224373243742437524376243772437824379243802438124382243832438424385243862438724388243892439024391243922439324394243952439624397243982439924400244012440224403244042440524406244072440824409244102441124412244132441424415244162441724418244192442024421244222442324424244252442624427244282442924430244312443224433244342443524436244372443824439244402444124442244432444424445244462444724448244492445024451244522445324454244552445624457244582445924460244612446224463244642446524466244672446824469244702447124472244732447424475244762447724478244792448024481244822448324484244852448624487244882448924490244912449224493244942449524496244972449824499245002450124502245032450424505245062450724508245092451024511245122451324514245152451624517245182451924520245212452224523245242452524526245272452824529245302453124532245332453424535245362453724538245392454024541245422454324544245452454624547245482454924550245512455224553245542455524556245572455824559245602456124562245632456424565245662456724568245692457024571245722457324574245752457624577245782457924580245812458224583245842458524586245872458824589245902459124592245932459424595245962459724598245992460024601246022460324604246052460624607246082460924610246112461224613246142461524616246172461824619246202462124622246232462424625246262462724628246292463024631246322463324634246352463624637246382463924640246412464224643246442464524646246472464824649246502465124652246532465424655246562465724658246592466024661246622466324664246652466624667246682466924670246712467224673246742467524676246772467824679246802468124682246832468424685246862468724688246892469024691246922469324694246952469624697246982469924700247012470224703247042470524706247072470824709247102471124712247132471424715247162471724718247192472024721247222472324724247252472624727247282472924730247312473224733247342473524736247372473824739247402474124742247432474424745247462474724748247492475024751247522475324754247552475624757247582475924760247612476224763247642476524766247672476824769247702477124772247732477424775247762477724778247792478024781247822478324784247852478624787247882478924790247912479224793247942479524796247972479824799248002480124802248032480424805248062480724808248092481024811248122481324814248152481624817248182481924820248212482224823248242482524826248272482824829248302483124832248332483424835248362483724838248392484024841248422484324844248452484624847248482484924850248512485224853248542485524856248572485824859248602486124862248632486424865248662486724868248692487024871248722487324874248752487624877248782487924880248812488224883248842488524886248872488824889248902489124892248932489424895248962489724898248992490024901249022490324904249052490624907249082490924910249112491224913249142491524916249172491824919249202492124922249232492424925249262492724928249292493024931249322493324934249352493624937249382493924940249412494224943249442494524946249472494824949249502495124952249532495424955249562495724958249592496024961249622496324964249652496624967249682496924970249712497224973249742497524976249772497824979249802498124982249832498424985249862498724988249892499024991249922499324994249952499624997249982499925000250012500225003250042500525006250072500825009250102501125012250132501425015250162501725018250192502025021250222502325024250252502625027250282502925030250312503225033250342503525036250372503825039250402504125042250432504425045250462504725048250492505025051250522505325054250552505625057250582505925060250612506225063250642506525066250672506825069250702507125072250732507425075250762507725078250792508025081250822508325084250852508625087250882508925090250912509225093250942509525096250972509825099251002510125102251032510425105251062510725108251092511025111251122511325114251152511625117251182511925120251212512225123251242512525126251272512825129251302513125132251332513425135251362513725138251392514025141251422514325144251452514625147251482514925150251512515225153251542515525156251572515825159251602516125162251632516425165251662516725168251692517025171251722517325174251752517625177251782517925180251812518225183251842518525186251872518825189251902519125192251932519425195251962519725198251992520025201252022520325204252052520625207252082520925210252112521225213252142521525216252172521825219252202522125222252232522425225252262522725228252292523025231252322523325234252352523625237252382523925240252412524225243252442524525246252472524825249252502525125252252532525425255252562525725258252592526025261252622526325264252652526625267252682526925270252712527225273252742527525276252772527825279252802528125282252832528425285252862528725288252892529025291252922529325294252952529625297252982529925300253012530225303253042530525306253072530825309253102531125312253132531425315253162531725318253192532025321253222532325324253252532625327253282532925330253312533225333253342533525336253372533825339253402534125342253432534425345253462534725348253492535025351253522535325354253552535625357253582535925360253612536225363253642536525366253672536825369253702537125372253732537425375253762537725378253792538025381253822538325384253852538625387253882538925390253912539225393253942539525396253972539825399254002540125402254032540425405254062540725408254092541025411254122541325414254152541625417254182541925420254212542225423254242542525426254272542825429254302543125432254332543425435254362543725438254392544025441254422544325444254452544625447254482544925450254512545225453254542545525456254572545825459254602546125462254632546425465254662546725468254692547025471254722547325474254752547625477254782547925480254812548225483254842548525486254872548825489254902549125492254932549425495254962549725498254992550025501255022550325504255052550625507255082550925510255112551225513255142551525516255172551825519255202552125522255232552425525255262552725528255292553025531255322553325534255352553625537255382553925540255412554225543255442554525546255472554825549255502555125552255532555425555255562555725558255592556025561255622556325564255652556625567255682556925570255712557225573255742557525576255772557825579255802558125582255832558425585255862558725588255892559025591255922559325594255952559625597255982559925600256012560225603256042560525606256072560825609256102561125612256132561425615256162561725618256192562025621256222562325624256252562625627256282562925630256312563225633256342563525636256372563825639256402564125642256432564425645256462564725648256492565025651256522565325654256552565625657256582565925660256612566225663256642566525666256672566825669256702567125672256732567425675256762567725678256792568025681256822568325684256852568625687256882568925690256912569225693256942569525696256972569825699257002570125702257032570425705257062570725708257092571025711257122571325714257152571625717257182571925720257212572225723257242572525726257272572825729257302573125732257332573425735257362573725738257392574025741257422574325744257452574625747257482574925750257512575225753257542575525756257572575825759257602576125762257632576425765257662576725768257692577025771257722577325774257752577625777257782577925780257812578225783257842578525786257872578825789257902579125792257932579425795257962579725798257992580025801258022580325804258052580625807258082580925810258112581225813258142581525816258172581825819258202582125822258232582425825258262582725828258292583025831258322583325834258352583625837258382583925840258412584225843258442584525846258472584825849258502585125852258532585425855258562585725858258592586025861258622586325864258652586625867258682586925870258712587225873258742587525876258772587825879258802588125882258832588425885258862588725888258892589025891258922589325894258952589625897258982589925900259012590225903259042590525906259072590825909259102591125912259132591425915259162591725918259192592025921259222592325924259252592625927259282592925930259312593225933259342593525936259372593825939259402594125942259432594425945259462594725948259492595025951259522595325954259552595625957259582595925960259612596225963259642596525966259672596825969259702597125972259732597425975259762597725978259792598025981259822598325984259852598625987259882598925990259912599225993259942599525996259972599825999260002600126002260032600426005260062600726008260092601026011260122601326014260152601626017260182601926020260212602226023260242602526026260272602826029260302603126032260332603426035260362603726038260392604026041260422604326044260452604626047260482604926050260512605226053260542605526056260572605826059260602606126062260632606426065260662606726068260692607026071260722607326074260752607626077260782607926080260812608226083260842608526086260872608826089260902609126092260932609426095260962609726098260992610026101261022610326104261052610626107261082610926110261112611226113261142611526116261172611826119261202612126122261232612426125261262612726128261292613026131261322613326134261352613626137261382613926140261412614226143261442614526146261472614826149261502615126152261532615426155261562615726158261592616026161261622616326164261652616626167261682616926170261712617226173261742617526176261772617826179261802618126182261832618426185261862618726188261892619026191261922619326194261952619626197261982619926200262012620226203262042620526206262072620826209262102621126212262132621426215262162621726218262192622026221262222622326224262252622626227262282622926230262312623226233262342623526236262372623826239262402624126242262432624426245262462624726248262492625026251262522625326254262552625626257262582625926260262612626226263262642626526266262672626826269262702627126272262732627426275262762627726278262792628026281262822628326284262852628626287262882628926290262912629226293262942629526296262972629826299263002630126302263032630426305263062630726308263092631026311263122631326314263152631626317263182631926320263212632226323263242632526326263272632826329263302633126332263332633426335263362633726338263392634026341263422634326344263452634626347263482634926350263512635226353263542635526356263572635826359263602636126362263632636426365263662636726368263692637026371263722637326374263752637626377263782637926380263812638226383263842638526386263872638826389263902639126392263932639426395263962639726398263992640026401264022640326404264052640626407264082640926410264112641226413264142641526416264172641826419264202642126422264232642426425264262642726428264292643026431264322643326434264352643626437264382643926440264412644226443264442644526446264472644826449264502645126452264532645426455264562645726458264592646026461264622646326464264652646626467264682646926470264712647226473264742647526476264772647826479264802648126482264832648426485264862648726488264892649026491264922649326494264952649626497264982649926500265012650226503265042650526506265072650826509265102651126512265132651426515265162651726518265192652026521265222652326524265252652626527265282652926530265312653226533265342653526536265372653826539265402654126542265432654426545265462654726548265492655026551265522655326554265552655626557265582655926560265612656226563265642656526566265672656826569265702657126572265732657426575265762657726578265792658026581265822658326584265852658626587265882658926590265912659226593265942659526596265972659826599266002660126602266032660426605266062660726608266092661026611266122661326614266152661626617266182661926620266212662226623266242662526626266272662826629266302663126632266332663426635266362663726638266392664026641266422664326644266452664626647266482664926650266512665226653266542665526656266572665826659266602666126662266632666426665266662666726668266692667026671266722667326674266752667626677266782667926680266812668226683266842668526686266872668826689266902669126692266932669426695266962669726698266992670026701267022670326704267052670626707267082670926710267112671226713267142671526716267172671826719267202672126722267232672426725267262672726728267292673026731267322673326734267352673626737267382673926740267412674226743267442674526746267472674826749267502675126752267532675426755267562675726758267592676026761267622676326764267652676626767267682676926770267712677226773267742677526776267772677826779267802678126782267832678426785267862678726788267892679026791267922679326794267952679626797267982679926800268012680226803268042680526806268072680826809268102681126812268132681426815268162681726818268192682026821268222682326824268252682626827268282682926830268312683226833268342683526836268372683826839268402684126842268432684426845268462684726848268492685026851268522685326854268552685626857268582685926860268612686226863268642686526866268672686826869268702687126872268732687426875268762687726878268792688026881268822688326884268852688626887268882688926890268912689226893268942689526896268972689826899269002690126902269032690426905269062690726908269092691026911269122691326914269152691626917269182691926920269212692226923269242692526926269272692826929269302693126932269332693426935269362693726938269392694026941269422694326944269452694626947269482694926950269512695226953269542695526956269572695826959269602696126962269632696426965269662696726968269692697026971269722697326974269752697626977269782697926980269812698226983269842698526986269872698826989269902699126992269932699426995269962699726998269992700027001270022700327004270052700627007270082700927010270112701227013270142701527016270172701827019270202702127022270232702427025270262702727028270292703027031270322703327034270352703627037270382703927040270412704227043270442704527046270472704827049270502705127052270532705427055270562705727058270592706027061270622706327064270652706627067270682706927070270712707227073270742707527076270772707827079270802708127082270832708427085270862708727088270892709027091270922709327094270952709627097270982709927100271012710227103271042710527106271072710827109271102711127112271132711427115271162711727118271192712027121271222712327124271252712627127271282712927130271312713227133271342713527136271372713827139271402714127142271432714427145271462714727148271492715027151271522715327154271552715627157271582715927160271612716227163271642716527166271672716827169271702717127172271732717427175271762717727178271792718027181271822718327184271852718627187271882718927190271912719227193271942719527196271972719827199272002720127202272032720427205272062720727208272092721027211272122721327214272152721627217272182721927220272212722227223272242722527226272272722827229272302723127232272332723427235272362723727238272392724027241272422724327244272452724627247272482724927250272512725227253272542725527256272572725827259272602726127262272632726427265272662726727268272692727027271272722727327274272752727627277272782727927280272812728227283272842728527286272872728827289272902729127292272932729427295272962729727298272992730027301273022730327304273052730627307273082730927310273112731227313273142731527316273172731827319273202732127322273232732427325273262732727328273292733027331273322733327334273352733627337273382733927340273412734227343273442734527346273472734827349
  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. models.Arearole:
  3746. properties:
  3747. createtime:
  3748. description: 创建时间
  3749. type: string
  3750. creatorid:
  3751. description: 创建人ID
  3752. type: integer
  3753. fromuserid:
  3754. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  3755. type: integer
  3756. isreturnscore:
  3757. description: 是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还
  3758. type: integer
  3759. modifierid:
  3760. description: 修改人ID
  3761. type: integer
  3762. modifytime:
  3763. description: 修改时间
  3764. type: string
  3765. orgtype:
  3766. description: 组织机构类型 1:机构\分支节点 2:交易员\叶子节点 3:部门\分支节点
  3767. type: integer
  3768. outuserid:
  3769. description: 外部账户[场外期权做市商]
  3770. type: string
  3771. parentuserid:
  3772. description: 上级组织机构(组织机构)
  3773. type: integer
  3774. roletype:
  3775. description: 角色类型 - 1:交易所 2:运营机构 3:营销中心 4:仓库机构 5:三方服务机构 6:自营会员 7:经纪会员 8:做市会员
  3776. 9:产业会员 10:金融机构 11:商城店铺 12:子机构 13:报价商 14:积分服务商 15:供货商 16:圈内会员 17:物流机构 18:报价配置机构
  3777. 19:场外期权做市商 20:组织机构 21:顶级机构 22:业务员 23:跟单员 24:交易员 25:客户 98:代理 99:门店
  3778. type: integer
  3779. rootuserid:
  3780. description: 顶级组织机构用户ID(组织机构)
  3781. type: integer
  3782. shoppassword:
  3783. description: 商城店铺登陆密码(商城店铺角色使用)
  3784. type: string
  3785. sublevelpath:
  3786. description: 组织机构层级路径(逗号分隔,首尾加逗号)
  3787. type: string
  3788. suborgtype:
  3789. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  3790. type: integer
  3791. tradeaccountid:
  3792. description: 默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount
  3793. type: integer
  3794. transurl:
  3795. description: 物流地址(物流机构)
  3796. type: string
  3797. userid:
  3798. description: 机构用户ID其他做市关系,都设置为 1
  3799. type: integer
  3800. required:
  3801. - roletype
  3802. - userid
  3803. type: object
  3804. models.BuyOrder:
  3805. properties:
  3806. accountid:
  3807. description: 资金账户ID
  3808. type: integer
  3809. buyusername:
  3810. description: 买方
  3811. type: string
  3812. marketid:
  3813. description: 市场ID
  3814. type: integer
  3815. ordertime:
  3816. description: 委托时间
  3817. type: string
  3818. origin:
  3819. description: 原产地
  3820. type: string
  3821. remark:
  3822. description: 备注
  3823. type: string
  3824. userid:
  3825. description: 用户ID
  3826. type: integer
  3827. validtime:
  3828. description: 有效期限
  3829. type: string
  3830. warehouseids:
  3831. description: 仓库ID - 多个, 逗号分隔
  3832. type: string
  3833. warehouseinfosdisplay:
  3834. type: string
  3835. wrtradeorderid:
  3836. description: '[委托单号]买委托单ID(320+Unix秒时间戳(10位)+xxxxxx)'
  3837. type: string
  3838. wrtradeorderstatus:
  3839. 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、
  3840. type: integer
  3841. zscategory:
  3842. description: 钻石分类 - 枚举”ZSCategory“
  3843. type: integer
  3844. zscategorydisplay:
  3845. type: string
  3846. zsclaritytype:
  3847. description: 净度 - 两个, 逗号分隔
  3848. type: string
  3849. zsclaritytypedisplay:
  3850. type: string
  3851. zscolortype:
  3852. description: 颜色 - 两个, 逗号分隔
  3853. type: string
  3854. zscolortypedisplay:
  3855. type: string
  3856. zscrystaltype:
  3857. description: 晶型 - 多个,逗号分隔
  3858. type: string
  3859. zscrystaltypedisplay:
  3860. type: string
  3861. zscurrencytype:
  3862. description: 货币类型 - 多个, 逗号分隔
  3863. type: string
  3864. zscurrencytypedisplay:
  3865. type: string
  3866. zscuttype:
  3867. description: 切工 - 两个, 逗号分隔
  3868. type: string
  3869. zscuttypedisplay:
  3870. type: string
  3871. zsczcolor1type:
  3872. description: 彩钻颜色1, 逗号分隔
  3873. type: string
  3874. zsczcolor1typedisplay:
  3875. type: string
  3876. zsczcolor2type:
  3877. description: 彩钻颜色2, 逗号分隔
  3878. type: string
  3879. zsczcolor2typedisplay:
  3880. type: string
  3881. zsczcolor3type:
  3882. description: 彩钻颜色3, 逗号分隔
  3883. type: string
  3884. zsczcolor3typedisplay:
  3885. type: string
  3886. zsfluorescencetype:
  3887. description: 荧光 - 多个, 逗号分隔
  3888. type: string
  3889. zsfluorescencetypedisplay:
  3890. type: string
  3891. zspolishtype:
  3892. description: 抛光度 - 两个, 逗号分隔
  3893. type: string
  3894. zspolishtypedisplay:
  3895. type: string
  3896. zsshapetype:
  3897. description: 形状 - 多个, 逗号分隔
  3898. type: string
  3899. zsshapetypedisplay:
  3900. type: string
  3901. zssize:
  3902. description: 尺寸 - 两个小数, 逗号分隔
  3903. type: string
  3904. zsstyletype:
  3905. description: 款式 - 多个, 逗号分隔
  3906. type: string
  3907. zsstyletypedisplay:
  3908. type: string
  3909. zssymmetrytype:
  3910. description: 对称度 - 两个, 逗号分隔
  3911. type: string
  3912. zssymmetrytypedisplay:
  3913. type: string
  3914. zstabledisplay:
  3915. description: 求购信息
  3916. type: string
  3917. type: object
  3918. models.DgFactoryItem:
  3919. properties:
  3920. dgfactoryitemid:
  3921. description: 选择项ID(SEQ_DGFACTORYITEM)
  3922. type: integer
  3923. dgfactoryitemtypeid:
  3924. description: 要素项类型
  3925. type: integer
  3926. dgfactoryitemvalue:
  3927. description: 要素项值(类型为仓库时填写仓库名称)
  3928. type: string
  3929. orderindex:
  3930. description: 顺序
  3931. type: integer
  3932. type: object
  3933. models.Division:
  3934. properties:
  3935. autoid:
  3936. description: 自增ID
  3937. type: integer
  3938. divisioncode:
  3939. description: 行政代码
  3940. type: string
  3941. divisionlevel:
  3942. description: 行政级别
  3943. type: string
  3944. divisionname:
  3945. description: 行政名称
  3946. type: string
  3947. modifierid:
  3948. description: 修改人
  3949. type: integer
  3950. modifytime:
  3951. description: 修改时间
  3952. type: string
  3953. parentcode:
  3954. description: 上级行政代码
  3955. type: string
  3956. pathname:
  3957. description: 路径名称
  3958. type: string
  3959. postcode:
  3960. description: 邮政编码
  3961. type: string
  3962. separablename:
  3963. description: 可拆分的全称
  3964. type: string
  3965. shortcode:
  3966. description: 地区简码
  3967. type: string
  3968. required:
  3969. - autoid
  3970. - divisioncode
  3971. type: object
  3972. models.Enumdicitem:
  3973. properties:
  3974. autoid:
  3975. description: 自增ID
  3976. type: integer
  3977. bankmappedvalue:
  3978. description: 银行服务对应值
  3979. type: string
  3980. enumdiccode:
  3981. description: 所属枚举代码
  3982. type: string
  3983. enumdicid:
  3984. description: 所属枚举ID
  3985. type: integer
  3986. enumdicname:
  3987. description: 枚举项名称
  3988. type: string
  3989. enumitemname:
  3990. description: 枚举项值
  3991. type: integer
  3992. enumitemstatus:
  3993. description: 枚举项状态 - 1.启用 2.不启用
  3994. type: integer
  3995. enumitemvalue:
  3996. description: 通用值 - [币种通用简写]
  3997. type: string
  3998. param1:
  3999. description: 参数1[币种:币种小数位]
  4000. type: string
  4001. param2:
  4002. description: 参数1[币种:币种显示单位]
  4003. type: string
  4004. remark:
  4005. description: 备注
  4006. type: string
  4007. required:
  4008. - autoid
  4009. - enumdiccode
  4010. - enumdicid
  4011. - enumitemname
  4012. type: object
  4013. models.Ermcp2AreaExposure:
  4014. properties:
  4015. areauserid:
  4016. description: 所属机构
  4017. type: integer
  4018. enumdicname:
  4019. description: 单位
  4020. type: string
  4021. futureqty:
  4022. description: 期货套期量
  4023. type: number
  4024. futureqtychange:
  4025. description: 期货变动量 = FutureQty - OriFutureQty
  4026. type: number
  4027. goodsunitid:
  4028. description: 单位ID
  4029. type: integer
  4030. hedgedspotexposure:
  4031. description: 被套期现货敞口量
  4032. type: number
  4033. hedgedspratio:
  4034. description: 套期期现比例 = 期货套期量/被套期现货敞口量
  4035. type: number
  4036. hedgedtotalexposourechange:
  4037. description: 被套期敞口变动量 = HedgedTotalExposure - OriHedgedTotalExposure
  4038. type: number
  4039. hedgedtotalexposure:
  4040. description: 套期敞口量 = 被套期现货敞口量+期货套期量
  4041. type: number
  4042. hedgeplanqty:
  4043. description: 套期计划量
  4044. type: number
  4045. hedgeplanqtychange:
  4046. description: 计划变动量 = HedgePlanQty - OriHedgePlanQty
  4047. type: number
  4048. hedgespotqty:
  4049. description: 被套期现货量
  4050. type: number
  4051. middlegoodsid:
  4052. description: 套保品种
  4053. type: integer
  4054. middlegoodsname:
  4055. description: 套保品种名称
  4056. type: string
  4057. orifutureqty:
  4058. description: 期初期货套期量
  4059. type: number
  4060. orihedgedspotexposure:
  4061. description: 期初被套期现货敞口量
  4062. type: number
  4063. orihedgedtotalexposure:
  4064. description: 期初套期敞口量
  4065. type: number
  4066. orihedgeplanqty:
  4067. description: 期初套期计划量
  4068. type: number
  4069. orihedgespotqty:
  4070. description: 期初被套期现货量
  4071. type: number
  4072. orispotexposure:
  4073. description: 期初现货敞口量
  4074. type: number
  4075. orispotqty:
  4076. description: 期初现货总量
  4077. type: number
  4078. oritotalexposure:
  4079. description: 期初总敞口量
  4080. type: number
  4081. spotexposure:
  4082. description: 现货敞口量
  4083. type: number
  4084. spotqty:
  4085. description: 现货总量
  4086. type: number
  4087. spotqtychange:
  4088. description: 现货变动量 = SpotQty - OriSpotQty
  4089. type: number
  4090. spratio:
  4091. description: 总期现比例 = 期货套期量/现货敞口量
  4092. type: number
  4093. totalexposure:
  4094. description: 总敞口量 = 现货敞口量 + 期货套期量
  4095. type: number
  4096. totalexposurechange:
  4097. description: 总敞口变动量 = TotalExposure - OriTotalExposure
  4098. type: number
  4099. updatetime:
  4100. description: 更新时间 --DATE
  4101. type: string
  4102. type: object
  4103. models.Ermcp2hedgeditem:
  4104. properties:
  4105. accountname:
  4106. description: 套期主体
  4107. type: string
  4108. applyid:
  4109. description: 申请人
  4110. type: integer
  4111. applysrc:
  4112. description: 申请来源 - 1:管理端 2:终端
  4113. type: integer
  4114. areauserid:
  4115. description: 企业ID
  4116. type: integer
  4117. auditid:
  4118. description: 审核人
  4119. type: integer
  4120. auditremark:
  4121. description: 审核备注
  4122. type: string
  4123. auditsrc:
  4124. description: 审核来源 - 1:管理端 2:终端
  4125. type: integer
  4126. audittime:
  4127. description: 审核时间
  4128. type: string
  4129. audittradedate:
  4130. description: 审核交易日(yyyyMMdd)
  4131. type: string
  4132. createtime:
  4133. description: 申请时间
  4134. type: string
  4135. curprice:
  4136. description: 当前市场价
  4137. type: number
  4138. curstock:
  4139. description: 期末库存量 = 采购总量 - 销售总量
  4140. type: number
  4141. deliverygoodsid:
  4142. description: 现货品种ID
  4143. type: integer
  4144. enddate:
  4145. description: 完成日期
  4146. type: string
  4147. endtradedate:
  4148. description: 完成交易日
  4149. type: string
  4150. enumdicname:
  4151. description: 单位
  4152. type: string
  4153. exeamount:
  4154. description: 执行市价总额
  4155. type: number
  4156. exeavgprice:
  4157. description: 执行市场均价= 执行市价总额 / 执行现货量
  4158. type: number
  4159. execontractamount:
  4160. description: 执行定价总额
  4161. type: number
  4162. exeqty:
  4163. description: 执行现货量
  4164. type: number
  4165. exerestamount:
  4166. description: 执行剩余市价总额【现货贸易】
  4167. type: number
  4168. futurefloatpl:
  4169. description: 期货浮动损益
  4170. type: number
  4171. futurehedgepl:
  4172. description: 期货实际损益
  4173. type: number
  4174. futurehedgeplchange:
  4175. description: 期货实际损益变动
  4176. type: number
  4177. futurepl:
  4178. description: 期货套期损益
  4179. type: number
  4180. futureplchange:
  4181. description: 期货套期损益变动
  4182. type: number
  4183. hedgeamount:
  4184. description: 套期市价总额
  4185. type: number
  4186. hedgecontractamount:
  4187. description: 套期定价总额 【定价采购合同】【现货贸易】
  4188. type: number
  4189. hedgeditemid:
  4190. description: 被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)
  4191. type: string
  4192. hedgeditemname:
  4193. description: 项目名称
  4194. type: string
  4195. hedgeditemnum:
  4196. description: 项目编号
  4197. type: string
  4198. hedgeditemstatus:
  4199. description: 项目状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4200. type: integer
  4201. hedgedtype:
  4202. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4203. type: integer
  4204. hedgeqty:
  4205. description: 套期现货量
  4206. type: number
  4207. hedgerate:
  4208. description: 套保比率
  4209. type: number
  4210. hedgerestamount:
  4211. description: 套期剩余市价总额【现货贸易】
  4212. type: number
  4213. hedgesumpl:
  4214. description: 套期汇总损益 = 期货汇总损益 + 现货汇总损益
  4215. type: number
  4216. middlegoodslist:
  4217. description: 套期商品列表
  4218. items:
  4219. $ref: '#/definitions/models.Ermcp2himiddlegoods'
  4220. type: array
  4221. oriavgprice:
  4222. description: 期初市场均价 = 套期市价总额 / 套期现货量
  4223. type: number
  4224. orifuturehedgepl:
  4225. description: 期初期货实际损益
  4226. type: number
  4227. orifuturepl:
  4228. description: 期初期货套期损益
  4229. type: number
  4230. orispothedgepl:
  4231. description: 期初现货实际损益
  4232. type: number
  4233. orispotpl:
  4234. description: 期初现货套期损益
  4235. type: number
  4236. planenddate:
  4237. description: 计划结束日期
  4238. type: string
  4239. planstartdate:
  4240. description: 计划开始日期
  4241. type: string
  4242. remark:
  4243. description: 备注
  4244. type: string
  4245. spotbookamount:
  4246. description: 现货账面总额
  4247. type: number
  4248. spotfloatpl:
  4249. description: 现货浮动损益 =(当前市场价 - 期初市场价)*未执行现货量 * 方向(销售计划 为 -1, 其它为1)
  4250. type: number
  4251. spothedgepl:
  4252. description: 现货套期损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)
  4253. type: number
  4254. spothedgeplchange:
  4255. description: 现货实际损益变动
  4256. type: number
  4257. spotpl:
  4258. description: 现货套期损益 = 现货实际损益 + 现货浮动损益
  4259. type: number
  4260. spotplchange:
  4261. description: 现货套期损益变动
  4262. type: number
  4263. spottradepl:
  4264. description: 现货贸易损益【现货贸易】= 执行合同定价总额 - 套期合同定价总额
  4265. type: number
  4266. sumobspl:
  4267. description: 汇总绝对损益【现货贸易】=现货贸易损益+增值税损益+期货套期损益
  4268. type: number
  4269. tradeuserid:
  4270. description: 交易用户ID
  4271. type: integer
  4272. unexeqty:
  4273. description: 未执行现货量 = 套期现货量 - 执行现货量
  4274. type: number
  4275. updatetime:
  4276. description: 更新时间
  4277. type: string
  4278. vatpl:
  4279. description: 增值税损益【现货贸易】= 现货贸易损益 * (增值税率 /(1+增值税率))
  4280. type: number
  4281. vatrate:
  4282. description: 增值税
  4283. type: number
  4284. wrstandardid:
  4285. description: 现货商品ID
  4286. type: integer
  4287. wrstandardname:
  4288. description: 商品名称
  4289. type: string
  4290. type: object
  4291. models.Ermcp2hedgeditemlink:
  4292. properties:
  4293. areauserid:
  4294. description: 企业ID
  4295. type: integer
  4296. createtime:
  4297. description: '[关联时间]创建时间'
  4298. type: string
  4299. customeruserid:
  4300. description: 对手方 【3:采购合同 4:销售合同】
  4301. type: integer
  4302. deliverygoodsid:
  4303. description: 现货品种ID
  4304. type: integer
  4305. enumdicname:
  4306. description: 单位
  4307. type: string
  4308. hedgeditemid:
  4309. description: 被套期项目ID
  4310. type: integer
  4311. hedgeditemlinkid:
  4312. description: 现货关联表ID(626+Unix秒时间戳(10位)+xxxxxx)
  4313. type: integer
  4314. hedgeditemnum:
  4315. description: 项目编号
  4316. type: string
  4317. hedgedtype:
  4318. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4319. type: integer
  4320. relatedamount:
  4321. description: 市价总额 = 关联数量 * 期初市场价
  4322. type: number
  4323. relatedhedgeplanid:
  4324. description: 关联计划ID 【1:采购计划 2:销售计划】
  4325. type: integer
  4326. relatedqty:
  4327. description: 关联数量
  4328. type: number
  4329. relatedspotcontractid:
  4330. description: 关联合同ID 【3:采购合同 4:销售合同】
  4331. type: integer
  4332. relatedtype:
  4333. description: 关联类型 - 1:套期关联 2:执行关联
  4334. type: integer
  4335. spotgoodsbrandid:
  4336. description: 现货品牌ID
  4337. type: integer
  4338. spotpricedamount:
  4339. description: '[关联定价总额]定价总额'
  4340. type: number
  4341. spotpricedavgprice:
  4342. description: '[关联现货均价]现货均价 = 定价总额 / 关联数量'
  4343. type: number
  4344. spottype:
  4345. description: 现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  4346. type: integer
  4347. tradeuserid:
  4348. description: 交易用户ID
  4349. type: integer
  4350. unexeqty:
  4351. description: 未执行现货量【项目关联时值】
  4352. type: number
  4353. wrstandardid:
  4354. description: 现货商品ID
  4355. type: integer
  4356. wrstandardname:
  4357. description: 现货商品
  4358. type: string
  4359. required:
  4360. - relatedspotcontractid
  4361. type: object
  4362. models.Ermcp2hedgeditemsDetail:
  4363. properties:
  4364. accountname:
  4365. description: 套期主体
  4366. type: string
  4367. areauserid:
  4368. description: 企业ID
  4369. type: integer
  4370. createtime:
  4371. description: '[日期时间]创建时间'
  4372. type: string
  4373. customeruserid:
  4374. description: 对手方 【3:采购合同 4:销售合同】
  4375. type: integer
  4376. deliverygoodsid:
  4377. description: 现货品种ID
  4378. type: integer
  4379. enumdicname:
  4380. description: 单位
  4381. type: string
  4382. hedgeditemid:
  4383. description: 被套期项目ID
  4384. type: string
  4385. hedgeditemspotid:
  4386. description: 现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)
  4387. type: string
  4388. hedgedtype:
  4389. description: 套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4390. type: integer
  4391. hedgeplanno:
  4392. description: 计划编号
  4393. type: string
  4394. middlegoodschange:
  4395. description: 套期商品变化量 = RELATEDQTY * 折算系数 * (1/(1+增值税))
  4396. type: number
  4397. oriavgprice:
  4398. description: 期初市场价[当初市场价]
  4399. type: number
  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 - 存“DGFactoryItem”表"DGFactoryItemID" = 2
  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. type: object
  4440. models.Ermcp2hedgeditemspot:
  4441. properties:
  4442. areauserid:
  4443. description: 企业ID
  4444. type: integer
  4445. createtime:
  4446. description: 创建时间
  4447. type: string
  4448. customeruserid:
  4449. description: 对手方 【3:采购合同 4:销售合同】
  4450. type: integer
  4451. deliverygoodsid:
  4452. description: 现货品种ID
  4453. type: integer
  4454. enumdicname:
  4455. description: 单位
  4456. type: string
  4457. hedgeditemid:
  4458. description: 被套期项目ID
  4459. type: string
  4460. hedgeditemspotid:
  4461. description: 现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)
  4462. type: string
  4463. hedgedtype:
  4464. description: 套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4465. type: integer
  4466. hedgeplanno:
  4467. description: 计划编号
  4468. type: string
  4469. oriavgprice:
  4470. description: 期初市场价[当初市场价]
  4471. type: number
  4472. relatedamount:
  4473. description: 市价总额 = 关联数量 * 期初市场价
  4474. type: number
  4475. relatedhedgeplanid:
  4476. description: 关联计划ID 【1:采购计划 2:销售计划】
  4477. type: integer
  4478. relatedqty:
  4479. description: 关联数量[数量]
  4480. type: number
  4481. relatedspotcontractid:
  4482. description: 关联合同ID 【3:采购合同 4:销售合同】
  4483. type: integer
  4484. relatedtype:
  4485. description: 关联类型 - 1:套期关联 2:执行关联
  4486. type: integer
  4487. spotgoodsbrandid:
  4488. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID" = 2
  4489. type: integer
  4490. spotpricedamount:
  4491. description: 定价总额
  4492. type: number
  4493. spotpricedavgprice:
  4494. description: 现货均价 = 定价总额 / 关联数量
  4495. type: number
  4496. spottype:
  4497. description: 现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  4498. type: integer
  4499. tradeuserid:
  4500. description: 交易用户ID
  4501. type: integer
  4502. wrstandardid:
  4503. description: 现货商品ID
  4504. type: integer
  4505. wrstandardname:
  4506. description: 现货商品
  4507. type: string
  4508. required:
  4509. - hedgeditemid
  4510. type: object
  4511. models.Ermcp2hedgeditemspotDetail:
  4512. properties:
  4513. accountname:
  4514. description: 对手方
  4515. type: string
  4516. areauserid:
  4517. description: 企业ID
  4518. type: integer
  4519. brandname:
  4520. description: 品牌
  4521. type: string
  4522. contractno:
  4523. description: 合同编号
  4524. type: string
  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. oriavgprice:
  4547. description: 期初市场价[当初市场价]
  4548. type: number
  4549. relatedamount:
  4550. description: 市价总额 = 关联数量 * 期初市场价
  4551. type: number
  4552. relatedhedgeplanid:
  4553. description: 关联计划ID 【1:采购计划 2:销售计划】
  4554. type: integer
  4555. relatedqty:
  4556. description: 关联数量[数量]
  4557. type: number
  4558. relatedspotcontractid:
  4559. description: 关联合同ID 【3:采购合同 4:销售合同】
  4560. type: integer
  4561. relatedtype:
  4562. description: 关联类型 - 1:套期关联 2:执行关联
  4563. type: integer
  4564. spotgoodsbrandid:
  4565. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID" = 2
  4566. type: integer
  4567. spotpricedamount:
  4568. description: 定价总额[金额]
  4569. type: number
  4570. spotpricedavgprice:
  4571. description: 现货均价 = 定价总额 / 关联数量
  4572. type: number
  4573. spottype:
  4574. description: 现货类型[合同类型] - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  4575. type: integer
  4576. tradeuserid:
  4577. description: 交易用户ID
  4578. type: integer
  4579. wrstandardid:
  4580. description: 现货商品ID
  4581. type: integer
  4582. wrstandardname:
  4583. description: 现货商品
  4584. type: string
  4585. required:
  4586. - hedgeditemid
  4587. type: object
  4588. models.Ermcp2himiddlegoods:
  4589. properties:
  4590. futurehedgeqty:
  4591. description: 期货持仓套期量
  4592. type: number
  4593. hedgeditemid:
  4594. description: 被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)
  4595. type: integer
  4596. hiexpsoure:
  4597. description: 期现敞口量 = 未执行套期量 + 期货持仓套期量
  4598. type: number
  4599. middlegoodscode:
  4600. description: 套保商品代码
  4601. type: string
  4602. middlegoodsid:
  4603. description: 套保品种ID
  4604. type: integer
  4605. middlegoodsname:
  4606. description: 套保商品名称
  4607. type: string
  4608. unexehedgeqty:
  4609. description: 未执行套期量 = 未执行现货量*折算系数* (1/(1+增值税)) * 套期比例(项目上)
  4610. type: number
  4611. required:
  4612. - hedgeditemid
  4613. - middlegoodsid
  4614. type: object
  4615. models.Ermcp2stockspotchangelog:
  4616. properties:
  4617. accountname:
  4618. description: 套期主体
  4619. type: string
  4620. aftervalue:
  4621. description: 现货量
  4622. type: number
  4623. beforevalue:
  4624. description: 变更前现货量
  4625. type: number
  4626. contractno:
  4627. description: '[编号]现货合同编号'
  4628. type: string
  4629. contracttype:
  4630. description: 现货合同类型 - 1:采购 -1:销售
  4631. type: integer
  4632. createtime:
  4633. description: 创建时间
  4634. type: string
  4635. customerusername:
  4636. description: 对手方
  4637. type: string
  4638. deliverygoodsid:
  4639. description: 现货品种ID
  4640. type: integer
  4641. exetype:
  4642. description: 执行类型 - 1:采购合同 2:销售合同 3:生产入库 4:生产出库
  4643. type: integer
  4644. logid:
  4645. description: 流水ID(604+Unix秒时间戳(10位)+xxxxxx)
  4646. type: string
  4647. logvalue:
  4648. description: '[期间变化量]现货量变更值'
  4649. type: number
  4650. middlegoodschange:
  4651. description: 套期商品变化量 = LogValue * 折算系数 * (1/(1+增值税))
  4652. type: number
  4653. operatelogtype:
  4654. description: 操作流水类型 - 2:点价数量 21:正常完结(合同) 22:异常终止(合同) 24:采购入库 25:销售出库 26:生产入库
  4655. 27:生产出库
  4656. type: integer
  4657. relatedid:
  4658. description: 现货合同ID
  4659. type: integer
  4660. spotgoodsbrandid:
  4661. description: 现货品牌ID
  4662. type: integer
  4663. tradedate:
  4664. description: 交易日(yyyyMMdd)
  4665. type: string
  4666. userid:
  4667. description: 机构ID
  4668. type: integer
  4669. warehouseinfoid:
  4670. description: 仓库ID
  4671. type: integer
  4672. wrfactortypeid:
  4673. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  4674. type: integer
  4675. wrstandardid:
  4676. description: 现货商品ID
  4677. type: integer
  4678. wrstandardname:
  4679. description: 商品名称
  4680. type: string
  4681. type: object
  4682. models.Ermcp3AreaSpot:
  4683. properties:
  4684. areauserid:
  4685. description: 所属机构
  4686. type: integer
  4687. convertratio:
  4688. description: 套保系数
  4689. type: number
  4690. decreaseqty:
  4691. description: 减少数量=-(销售已定价数量+采购计划数量)
  4692. type: number
  4693. enumdicname:
  4694. description: 单位名称
  4695. type: string
  4696. increaseqty:
  4697. description: 增加数量=销售计划数量+采购已定价数量
  4698. type: number
  4699. oritoalspotqty:
  4700. description: 昨日数量
  4701. type: number
  4702. totalspotqty:
  4703. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  4704. type: number
  4705. unitid:
  4706. description: 现货商品单位id
  4707. type: integer
  4708. updatetime:
  4709. description: 更新时间
  4710. type: string
  4711. wrstandardcode:
  4712. description: 现货商品代码
  4713. type: string
  4714. wrstandardid:
  4715. description: 现货商品ID(SEQ_WRSTANDARD)
  4716. type: integer
  4717. wrstandardname:
  4718. description: 现货商品名称
  4719. type: string
  4720. type: object
  4721. models.Ermcp3AreaSpotDetail:
  4722. properties:
  4723. contracttype:
  4724. description: 合同类型 1-采购 -1-销售
  4725. type: integer
  4726. createtime:
  4727. description: 创建时间
  4728. type: string
  4729. enumdicname:
  4730. description: 现货商品单位名称
  4731. type: string
  4732. logtype:
  4733. description: 记录类型 1-套保 2-现货合同
  4734. type: integer
  4735. qty:
  4736. description: 数量
  4737. type: number
  4738. recordname:
  4739. description: 类型名称
  4740. type: string
  4741. relatedid:
  4742. description: 套保计划ID/现货合同ID
  4743. type: string
  4744. relatedno:
  4745. description: 编号
  4746. type: string
  4747. strtime:
  4748. description: 时间
  4749. type: string
  4750. wrstandardcode:
  4751. description: 现货商品代码
  4752. type: string
  4753. wrstandardid:
  4754. description: 现货商品ID(SEQ_WRSTANDARD)
  4755. type: integer
  4756. wrstandardname:
  4757. description: 现货商品名称
  4758. type: string
  4759. type: object
  4760. models.Ermcp3AreaSpotPLReport:
  4761. properties:
  4762. accountid:
  4763. description: 期货账户ID (作废, 默认为0)
  4764. type: integer
  4765. accountname:
  4766. description: 机构名称
  4767. type: string
  4768. actualpl:
  4769. description: 现货损益
  4770. type: number
  4771. areauserid:
  4772. description: 所属机构\交易用户ID
  4773. type: integer
  4774. begindate:
  4775. description: 开始交易日
  4776. type: string
  4777. biztype:
  4778. description: 业务类型 - 1:套保 2:套利
  4779. type: integer
  4780. brandname:
  4781. description: 品牌名称
  4782. type: string
  4783. curamount:
  4784. description: 期末额
  4785. type: number
  4786. curaverageprice:
  4787. description: 期初均价
  4788. type: number
  4789. curbuyamount:
  4790. description: 期末采购总额
  4791. type: number
  4792. curbuyqty:
  4793. description: 期末采购总量
  4794. type: number
  4795. curmarketvalue:
  4796. description: 期初均价
  4797. type: number
  4798. curqty:
  4799. description: 期末量
  4800. type: number
  4801. currencyid:
  4802. description: 结算币种ID【原值】
  4803. type: integer
  4804. currencyname:
  4805. description: 币种名称
  4806. type: string
  4807. cursellamount:
  4808. description: 期末销售总额
  4809. type: number
  4810. cursellqty:
  4811. description: 期末销售总量
  4812. type: number
  4813. curspotprice:
  4814. description: 期初均价
  4815. type: number
  4816. cycletime:
  4817. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4818. type: string
  4819. cycletype:
  4820. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4821. type: integer
  4822. deliverygoodscode:
  4823. description: 现货品种代码
  4824. type: string
  4825. deliverygoodsid:
  4826. description: 现货品种ID
  4827. type: integer
  4828. deliverygoodsname:
  4829. description: 现货品种名称
  4830. type: string
  4831. enddate:
  4832. description: 结束交易日
  4833. type: string
  4834. enumdicname:
  4835. description: 现货品种单位名称(作废)
  4836. type: string
  4837. floatpl:
  4838. description: 期初均价
  4839. type: number
  4840. goodsunitid:
  4841. description: 现货品种单位id(作废)
  4842. type: integer
  4843. oriamount:
  4844. description: 期初额
  4845. type: number
  4846. oriaverageprice:
  4847. description: 期初均价
  4848. type: number
  4849. oribuyamount:
  4850. description: 期初采购总额
  4851. type: number
  4852. oribuyqty:
  4853. description: 期初采购总量
  4854. type: number
  4855. oriqty:
  4856. description: 期初量
  4857. type: number
  4858. orisellamount:
  4859. description: 期初销售总额
  4860. type: number
  4861. orisellqty:
  4862. description: 期初销售总量
  4863. type: number
  4864. reckondate:
  4865. description: 日照时期(yyyyMMdd)
  4866. type: string
  4867. spotgoodsbrandid:
  4868. description: 现货品牌ID
  4869. type: integer
  4870. todaybuyamount:
  4871. description: 今日采购额(今采购额)
  4872. type: number
  4873. todaybuyaverageprice:
  4874. description: 期初均价
  4875. type: number
  4876. todaybuyqty:
  4877. description: 今日采购量(今采购量)
  4878. type: number
  4879. todayinqty:
  4880. description: 今日入库量(今入库量)
  4881. type: number
  4882. todayoutqty:
  4883. description: 今日出库量(今出库量)
  4884. type: number
  4885. todaysellamount:
  4886. description: 今日销售额(今销售额)
  4887. type: number
  4888. todaysellaverageprice:
  4889. description: 期初均价
  4890. type: number
  4891. todaysellqty:
  4892. description: 今日销售量(今销售量)
  4893. type: number
  4894. unitid:
  4895. description: 品类单位id
  4896. type: integer
  4897. unitidname:
  4898. description: 品类单位名称
  4899. type: string
  4900. updatetime:
  4901. description: 更新时间
  4902. type: string
  4903. wrfactortypeid:
  4904. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  4905. type: integer
  4906. wrstandardcode:
  4907. description: 现货商品(品类)代码
  4908. type: string
  4909. wrstandardid:
  4910. description: 现货品类ID
  4911. type: integer
  4912. wrstandardname:
  4913. description: 现货商品(品类)名称
  4914. type: string
  4915. type: object
  4916. models.Ermcp3AreaStock:
  4917. properties:
  4918. brandname:
  4919. description: 品牌名称
  4920. type: string
  4921. curstock:
  4922. description: 期末库存量(今日量)
  4923. type: number
  4924. deliverygoodscode:
  4925. description: 现货品种代码
  4926. type: string
  4927. deliverygoodsid:
  4928. description: 现货品种id
  4929. type: integer
  4930. deliverygoodsname:
  4931. description: 现货品种名称
  4932. type: string
  4933. enumdicname:
  4934. description: 单位名称
  4935. type: string
  4936. goodsunitid:
  4937. description: 现货商品单位id
  4938. type: integer
  4939. oristock:
  4940. description: 期初库存量(昨日量)
  4941. type: number
  4942. spotgoodsbrandid:
  4943. description: 现货品牌ID
  4944. type: integer
  4945. todaybuyinqty:
  4946. description: 今日采购入库量
  4947. type: number
  4948. todayproduceinqty:
  4949. description: 今日生产入库量
  4950. type: number
  4951. todayproduceoutqty:
  4952. description: 今日生产出库量
  4953. type: number
  4954. todayselloutqty:
  4955. description: 今日销售出库量
  4956. type: number
  4957. unitid:
  4958. description: 单位id
  4959. type: integer
  4960. updatetime:
  4961. description: 更新时间
  4962. type: string
  4963. userid:
  4964. description: 机构ID
  4965. type: integer
  4966. username:
  4967. description: 机构名称
  4968. type: string
  4969. warehousecode:
  4970. description: 仓库代码
  4971. type: string
  4972. warehouseinfoid:
  4973. description: 仓库ID
  4974. type: string
  4975. warehousename:
  4976. description: 仓库名称
  4977. type: string
  4978. warehousetype:
  4979. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4980. type: integer
  4981. wrstandardcode:
  4982. description: 品类代码
  4983. type: string
  4984. wrstandardid:
  4985. description: 品类ID
  4986. type: string
  4987. wrstandardname:
  4988. description: 品类名称
  4989. type: string
  4990. required:
  4991. - userid
  4992. type: object
  4993. models.Ermcp3AreaStockApply:
  4994. properties:
  4995. applyid:
  4996. description: 申请人
  4997. type: integer
  4998. applyname:
  4999. description: 申请人名称
  5000. type: string
  5001. applyremark:
  5002. description: 申请备注
  5003. type: string
  5004. applysrc:
  5005. description: 申请来源 - 1:管理端 2:终端
  5006. type: integer
  5007. applystatus:
  5008. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  5009. type: integer
  5010. applytime:
  5011. description: 申请时间
  5012. type: string
  5013. auditid:
  5014. description: 审核人
  5015. type: integer
  5016. auditname:
  5017. description: 审核人名称
  5018. type: string
  5019. auditremark:
  5020. description: 审核备注
  5021. type: string
  5022. auditsrc:
  5023. description: 审核来源 - 1:管理端 2:终端
  5024. type: integer
  5025. audittime:
  5026. description: 审核时间
  5027. type: string
  5028. audittradedate:
  5029. description: 审核交易日(yyyyMMdd)
  5030. type: string
  5031. brandname:
  5032. description: 品牌名称
  5033. type: string
  5034. buynickname:
  5035. description: 采购方昵称
  5036. type: string
  5037. buyuserid:
  5038. description: 采购方userid
  5039. type: integer
  5040. buyusername:
  5041. description: 采购方名称
  5042. type: string
  5043. contractno:
  5044. description: 合同编号
  5045. type: string
  5046. contractqty:
  5047. description: 合同量
  5048. type: number
  5049. contracttype:
  5050. description: 现货合同类型 - 1:采购 -1:销售
  5051. type: integer
  5052. deliverygoodscode:
  5053. description: 现货品种代码
  5054. type: string
  5055. deliverygoodsid:
  5056. description: 现货品种id
  5057. type: integer
  5058. deliverygoodsname:
  5059. description: 现货品种名称
  5060. type: string
  5061. detailjson:
  5062. description: 明细数据
  5063. type: string
  5064. enumdicname:
  5065. description: 现货商品单位名称
  5066. type: string
  5067. inoutapplyid:
  5068. description: 申请ID(607+Unix秒时间戳(10位)+xxxxxx)
  5069. type: string
  5070. inouttype:
  5071. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  5072. type: integer
  5073. pricetype:
  5074. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  5075. type: integer
  5076. qty:
  5077. description: 数量
  5078. type: number
  5079. sellnickname:
  5080. description: 销售方昵称
  5081. type: string
  5082. selluserid:
  5083. description: 销售方userid
  5084. type: integer
  5085. sellusername:
  5086. description: 销售方名称
  5087. type: string
  5088. spotcontractid:
  5089. description: 关联现货合同ID
  5090. type: string
  5091. spotgoodsbrandid:
  5092. description: 现货品牌ID
  5093. type: integer
  5094. unitid:
  5095. description: 单位id
  5096. type: integer
  5097. userid:
  5098. description: 机构ID
  5099. type: integer
  5100. warehousecode:
  5101. description: 仓库代码
  5102. type: string
  5103. warehouseinfoid:
  5104. description: 现货仓库ID
  5105. type: string
  5106. warehousename:
  5107. description: 仓库名称
  5108. type: string
  5109. warehousetype:
  5110. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  5111. type: integer
  5112. wrstandardcode:
  5113. description: 品类代码
  5114. type: string
  5115. wrstandardid:
  5116. description: 品类ID
  5117. type: integer
  5118. wrstandardname:
  5119. description: 品类名称
  5120. type: string
  5121. type: object
  5122. models.Ermcp3AreaStockApplySum:
  5123. properties:
  5124. brandname:
  5125. description: 品牌名称
  5126. type: string
  5127. inouttype:
  5128. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  5129. type: integer
  5130. spotcontractid:
  5131. description: 关联现货合同ID
  5132. type: string
  5133. spotgoodsbrandid:
  5134. description: 品牌id
  5135. type: integer
  5136. totalqty:
  5137. description: 总数量
  5138. type: number
  5139. wrstandardid:
  5140. description: 品类id
  5141. type: integer
  5142. wrstandardname:
  5143. description: 品类名称
  5144. type: string
  5145. type: object
  5146. models.Ermcp3AreaStockReportEx:
  5147. properties:
  5148. begindate:
  5149. description: 开始交易日
  5150. type: string
  5151. brandname:
  5152. description: 品牌名称
  5153. type: string
  5154. curstock:
  5155. description: 期末库存量
  5156. type: number
  5157. cycletime:
  5158. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5159. type: string
  5160. cycletype:
  5161. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5162. type: integer
  5163. deliverygoodscode:
  5164. description: 现货品种代码
  5165. type: string
  5166. deliverygoodsid:
  5167. description: 现货品种id
  5168. type: integer
  5169. deliverygoodsname:
  5170. description: 现货品种名称
  5171. type: string
  5172. diffqty:
  5173. description: 库存变化量 = 期末 - 期初
  5174. type: number
  5175. enddate:
  5176. description: 结束交易日
  5177. type: string
  5178. enumdicname:
  5179. description: 单位名称
  5180. type: string
  5181. goodsunitid:
  5182. description: 现货单位id
  5183. type: integer
  5184. oristock:
  5185. description: 期初库存量
  5186. type: number
  5187. reckondate:
  5188. description: 日照时期(yyyyMMdd)
  5189. type: string
  5190. spotgoodsbrandid:
  5191. description: 现货品牌ID
  5192. type: integer
  5193. todaybuyinqty:
  5194. description: 今采购入库量
  5195. type: number
  5196. todayproduceinqty:
  5197. description: 今内部入库量
  5198. type: number
  5199. todayproduceoutqty:
  5200. description: 今内部出库量
  5201. type: number
  5202. todayselloutqty:
  5203. description: 今销售出库量
  5204. type: number
  5205. unbuyinqty:
  5206. description: 采购未入库量(数据库未找到相关字段?)
  5207. type: number
  5208. unitid:
  5209. description: 品类单位id
  5210. type: integer
  5211. unselloutqty:
  5212. description: 销售未出库量(数据库未找到相关字段?)
  5213. type: number
  5214. updatetime:
  5215. description: 更新时间
  5216. type: string
  5217. userid:
  5218. description: 机构ID
  5219. type: integer
  5220. username:
  5221. description: 机构名称
  5222. type: string
  5223. warehousecode:
  5224. description: 仓库代码
  5225. type: string
  5226. warehouseinfoid:
  5227. description: 仓库ID
  5228. type: string
  5229. warehousename:
  5230. description: 仓库名称
  5231. type: string
  5232. warehousetype:
  5233. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  5234. type: integer
  5235. wrstandardcode:
  5236. description: 品类代码
  5237. type: string
  5238. wrstandardid:
  5239. description: 品类ID
  5240. type: integer
  5241. wrstandardname:
  5242. description: 品类名称
  5243. type: string
  5244. type: object
  5245. models.Ermcp3ArealSumPL:
  5246. properties:
  5247. accountname:
  5248. description: 机构名称
  5249. type: string
  5250. areauserid:
  5251. description: 所属机构\交易用户ID
  5252. type: integer
  5253. begindate:
  5254. description: 开始交易日
  5255. type: string
  5256. currencyid:
  5257. description: 结算币种ID
  5258. type: integer
  5259. currencyname:
  5260. description: 币种名称
  5261. type: string
  5262. cycletime:
  5263. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5264. type: string
  5265. cycletype:
  5266. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5267. type: integer
  5268. enddate:
  5269. description: 结束交易日
  5270. type: string
  5271. enumdicname:
  5272. description: 单位名称(套保品种)
  5273. type: string
  5274. futureactualpl:
  5275. description: 期货损益
  5276. type: number
  5277. futurefloatpl:
  5278. description: 期货浮动损益
  5279. type: number
  5280. futurespotratio:
  5281. description: 期现比例 = 期货头寸总量 / 现货头寸总量
  5282. type: number
  5283. goodsunitid:
  5284. description: 套保品种单位id
  5285. type: integer
  5286. hedgeexposurepl:
  5287. description: 套保敞口损益
  5288. type: number
  5289. middlegoodscode:
  5290. description: 套保品种代码
  5291. type: string
  5292. middlegoodsid:
  5293. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  5294. type: integer
  5295. middlegoodsname:
  5296. description: 套保品种名称
  5297. type: string
  5298. reckondate:
  5299. description: 日照时期(yyyyMMdd)
  5300. type: string
  5301. spotactualpl:
  5302. description: 现货损益
  5303. type: number
  5304. spotfloatpl:
  5305. description: 现货浮动损益
  5306. type: number
  5307. sumactualpl:
  5308. description: 实际损益 = (ActualPL + FutureActualPL)
  5309. type: number
  5310. sumpl:
  5311. description: 总敞口损益 | 汇总损益
  5312. type: number
  5313. totalfutureqty:
  5314. description: 期货头寸总量
  5315. type: number
  5316. totalneedhedgeqty:
  5317. description: 应套保总量
  5318. type: number
  5319. totalspotqty:
  5320. description: 现货头寸总量
  5321. type: number
  5322. updatetime:
  5323. description: 更新时间
  5324. type: string
  5325. type: object
  5326. models.Ermcp3Brand:
  5327. properties:
  5328. areauserid:
  5329. description: 用户id
  5330. type: integer
  5331. brandid:
  5332. description: 品牌id
  5333. type: integer
  5334. brandname:
  5335. description: 品牌名称
  5336. type: string
  5337. deliverygoodsid:
  5338. description: 品种ID
  5339. type: integer
  5340. isvalid:
  5341. description: 是否有效
  5342. type: integer
  5343. type: object
  5344. models.Ermcp3Contract:
  5345. properties:
  5346. accountid:
  5347. description: 期货账户id
  5348. type: string
  5349. amount:
  5350. description: 金额 [1:一口价、3:暂定价]
  5351. type: number
  5352. attachment:
  5353. description: 附件
  5354. type: string
  5355. auditremark:
  5356. description: 审核意见
  5357. type: string
  5358. audittime:
  5359. description: 审核时间
  5360. type: string
  5361. biztype:
  5362. description: 业务类型 1-套保 2-套利
  5363. type: integer
  5364. brandname:
  5365. description: 品牌名称
  5366. type: string
  5367. buynickname:
  5368. description: 销售方昵称
  5369. type: string
  5370. buyuserid:
  5371. description: 采购方ID
  5372. type: integer
  5373. buyusername:
  5374. description: 采购方名称
  5375. type: string
  5376. contracctstatus:
  5377. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5378. type: integer
  5379. contractmargin:
  5380. description: 合同保证金
  5381. type: number
  5382. contractno:
  5383. description: 现货合同编号
  5384. type: string
  5385. contracttype:
  5386. description: 现货合同类型 - 1:采购 -1:销售
  5387. type: integer
  5388. convertfactor:
  5389. description: 标仓系数(品类)
  5390. type: number
  5391. createtime:
  5392. description: 创建时间
  5393. type: string
  5394. currencyid:
  5395. description: 币种id
  5396. type: integer
  5397. currencyname:
  5398. description: 币种名称
  5399. type: string
  5400. deliveryenddate:
  5401. description: 交收期(结束)
  5402. type: string
  5403. deliverygoodscode:
  5404. description: 现货品种代码
  5405. type: string
  5406. deliverygoodsid:
  5407. description: 现货品种ID
  5408. type: integer
  5409. deliverygoodsname:
  5410. description: 现货品种名称
  5411. type: string
  5412. deliverystartdate:
  5413. description: 交收期(开始)
  5414. type: string
  5415. enddate:
  5416. description: 点价结束日期 [2:点价 3:暂定价]
  5417. type: string
  5418. enumdicname:
  5419. description: 单位名称
  5420. type: string
  5421. goodscode:
  5422. description: 点价合约代码
  5423. type: string
  5424. goodsid:
  5425. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  5426. type: integer
  5427. goodsname:
  5428. description: 点价商品名称
  5429. type: string
  5430. margin:
  5431. description: 当前保证金
  5432. type: number
  5433. meruserid:
  5434. description: 跟单员id
  5435. type: integer
  5436. meruserlogincode:
  5437. description: 跟单员登录代码
  5438. type: string
  5439. merusername:
  5440. description: 跟单员名称
  5441. type: string
  5442. pointdesc:
  5443. description: 点价备注
  5444. type: string
  5445. price:
  5446. description: 价格\暂定价 [1:一口价、3:暂定价]
  5447. type: number
  5448. pricemove:
  5449. description: 升贴水 [2:点价 3:暂定价]
  5450. type: number
  5451. pricetype:
  5452. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  5453. type: integer
  5454. producttype:
  5455. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  5456. type: integer
  5457. qty:
  5458. description: 数量
  5459. type: number
  5460. remark:
  5461. description: 备注
  5462. type: string
  5463. saleuserid:
  5464. description: 业务员id
  5465. type: integer
  5466. saleuserlogincode:
  5467. description: 业务员登录代码
  5468. type: string
  5469. saleusername:
  5470. description: 业务员名称
  5471. type: string
  5472. sellnickname:
  5473. description: 采购方昵称
  5474. type: string
  5475. selluserid:
  5476. description: 销售方ID
  5477. type: integer
  5478. sellusername:
  5479. description: 销售方名称
  5480. type: string
  5481. spotcontractid:
  5482. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  5483. type: string
  5484. spotgoodsbrandid:
  5485. description: 现货品牌ID(DGFactoryItem表的ID)
  5486. type: integer
  5487. spotgoodsdesc:
  5488. description: 商品型号
  5489. type: string
  5490. startdate:
  5491. description: 点价开始日期 [2:点价 3:暂定价]
  5492. type: string
  5493. subjectid:
  5494. description: 交易主体ID
  5495. type: integer
  5496. subjectname:
  5497. description: 交易主体名称
  5498. type: string
  5499. tradeuserid:
  5500. description: 交易员id
  5501. type: integer
  5502. tradeuserlogincode:
  5503. description: 交易员登录代码
  5504. type: string
  5505. tradeusername:
  5506. description: 交易员名称
  5507. type: string
  5508. unitid:
  5509. description: 单位id(取品类上的单位id)
  5510. type: integer
  5511. updatetime:
  5512. description: 更新时间
  5513. type: string
  5514. userid:
  5515. description: 所属机构ID
  5516. type: integer
  5517. vatrate:
  5518. description: 增值税率
  5519. type: number
  5520. wrstandardcode:
  5521. description: 品类代码
  5522. type: string
  5523. wrstandardid:
  5524. description: 品类ID
  5525. type: integer
  5526. wrstandardname:
  5527. description: 品类名称
  5528. type: string
  5529. type: object
  5530. models.Ermcp3ContractMiddleGoodsCfg:
  5531. properties:
  5532. agreeunit:
  5533. description: 合约乘数
  5534. type: number
  5535. convertratio:
  5536. description: 期货品种系数
  5537. type: number
  5538. covertqty:
  5539. description: 折算手数 =【待点价量 / (合约乘数*期货品种系数) 】
  5540. type: integer
  5541. middlegoodsid:
  5542. description: 套保品种ID
  5543. type: integer
  5544. middlegoodspricedqty3:
  5545. description: 已定价量(套保品种应套保量) = MiddleGoodsPricedQty2 * 套保比率
  5546. example: "0"
  5547. type: string
  5548. pendingpricedqty:
  5549. description: 待点价量
  5550. example: "0"
  5551. type: string
  5552. relatedmiddlegoodsqty:
  5553. description: 已关联量(套保品种-期货)
  5554. example: "0"
  5555. type: string
  5556. spotcontractid:
  5557. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  5558. type: string
  5559. type: object
  5560. models.Ermcp3ExposureContractDetail:
  5561. properties:
  5562. biztype:
  5563. description: 业务类型 1-套保 2-套利
  5564. type: integer
  5565. brandname:
  5566. description: 品牌名称
  5567. type: string
  5568. buyuserid:
  5569. description: 采购方id
  5570. type: integer
  5571. buyusername:
  5572. description: 采购方名称
  5573. type: string
  5574. contractno:
  5575. description: 合同编号
  5576. type: string
  5577. contracttype:
  5578. description: 现货合同类型 - 1:采购 -1:销售
  5579. type: integer
  5580. convertfactor:
  5581. description: 标仓系数
  5582. type: number
  5583. convertratio:
  5584. description: 折算系数(套保品种)
  5585. type: number
  5586. curqty:
  5587. description: 今定价量
  5588. type: number
  5589. deliverygoodscode:
  5590. description: 现货品种代码
  5591. type: string
  5592. deliverygoodsid:
  5593. description: 现货品种id
  5594. type: integer
  5595. deliverygoodsname:
  5596. description: 现货品种名称
  5597. type: string
  5598. diffhedgeqty:
  5599. description: 套保变动量
  5600. type: number
  5601. diffneedhedgeqty:
  5602. description: 应套保变动量
  5603. type: number
  5604. diffqty:
  5605. description: 套保品种今变动量
  5606. type: number
  5607. enumdicname:
  5608. description: 单位名称
  5609. type: string
  5610. mgunitname:
  5611. description: 套保品种单位名称
  5612. type: string
  5613. middlegoodscode:
  5614. description: 套保品种代码
  5615. type: string
  5616. middlegoodsid:
  5617. description: 套保品种id
  5618. type: integer
  5619. middlegoodsname:
  5620. description: 套保品种名称
  5621. type: string
  5622. needarbitrageratio:
  5623. description: 应套利比例
  5624. type: number
  5625. needhedgeratio:
  5626. description: 应套保比例
  5627. type: number
  5628. pricedqty:
  5629. description: 已定价量
  5630. type: number
  5631. qty:
  5632. description: 合同量
  5633. type: number
  5634. reckondate:
  5635. description: 交易日(reckondate)
  5636. type: string
  5637. selluserid:
  5638. description: 销售方id
  5639. type: integer
  5640. sellusername:
  5641. description: 销售方名称
  5642. type: string
  5643. spotcontractid:
  5644. description: 合同id
  5645. type: string
  5646. todaypricedqty:
  5647. description: 今定价量
  5648. type: number
  5649. tradedate:
  5650. description: 交易日
  5651. type: string
  5652. unitid:
  5653. description: 品类单位id
  5654. type: integer
  5655. userid:
  5656. description: 机构id
  5657. type: integer
  5658. username:
  5659. description: 交易用户
  5660. type: string
  5661. wrstandardcode:
  5662. description: 现货商品代码
  5663. type: string
  5664. wrstandardid:
  5665. description: 现货商品id
  5666. type: integer
  5667. wrstandardname:
  5668. description: 现货商品名称
  5669. type: string
  5670. type: object
  5671. models.Ermcp3ExposureDetail:
  5672. properties:
  5673. areauserid:
  5674. description: 机构ID
  5675. type: integer
  5676. changeQty:
  5677. description: 套保变动量
  5678. type: number
  5679. contracttype:
  5680. description: 现货合同类型 - 1:采购 -1:销售
  5681. type: integer
  5682. convertfactor:
  5683. description: 标仓系数
  5684. type: number
  5685. convertratio:
  5686. description: 折算系数
  5687. type: number
  5688. createtime:
  5689. description: 时间
  5690. type: string
  5691. enumdicname:
  5692. description: 现货商品单位名称
  5693. type: string
  5694. logtype:
  5695. description: 类型 - 1:套保计划 2:现货合同
  5696. type: integer
  5697. mgunitid:
  5698. description: 套保品种单位id
  5699. type: integer
  5700. mgunitidname:
  5701. description: 套保品种单位名称
  5702. type: string
  5703. middlegoodsId:
  5704. description: 套保商品id
  5705. type: integer
  5706. middlegoodscode:
  5707. description: 套保商品代码
  5708. type: string
  5709. middlegoodsname:
  5710. description: 套保商品名称
  5711. type: string
  5712. qty:
  5713. description: 数量
  5714. type: number
  5715. relateNo:
  5716. description: 现货合同/套保计划编号
  5717. type: string
  5718. unitid:
  5719. description: 现货商品单位id
  5720. type: integer
  5721. wrstandardcode:
  5722. description: 现货商品代码
  5723. type: string
  5724. wrstandardid:
  5725. description: 现货商品ID(SEQ_WRSTANDARD)
  5726. type: integer
  5727. wrstandardname:
  5728. description: 现货商品名称
  5729. type: string
  5730. type: object
  5731. models.Ermcp3ExposureFutuDetail:
  5732. properties:
  5733. accountid:
  5734. description: 交易账户id
  5735. type: integer
  5736. accountname:
  5737. description: 交易账户
  5738. type: string
  5739. begindate:
  5740. description: 开始交易日
  5741. type: string
  5742. buyorsell:
  5743. description: 方向 0-买 1-卖
  5744. type: integer
  5745. diffmgqty:
  5746. description: 套保品种今变化量
  5747. type: number
  5748. diffneedqty:
  5749. description: 应套保总量变化量
  5750. type: number
  5751. difftradeqty:
  5752. description: 交易品种今变化量
  5753. type: number
  5754. enddate:
  5755. description: 结束交易日
  5756. type: string
  5757. enumdicname:
  5758. description: 单位名称
  5759. type: string
  5760. goodscode:
  5761. description: 商品代码
  5762. type: string
  5763. goodsid:
  5764. description: 商品id
  5765. type: integer
  5766. goodsname:
  5767. description: 商品名称
  5768. type: string
  5769. holdqty:
  5770. description: 期末持仓量
  5771. type: number
  5772. middlegoodscode:
  5773. description: 套保商品代码
  5774. type: string
  5775. middlegoodsid:
  5776. description: 套保商品id
  5777. type: integer
  5778. middlegoodsname:
  5779. description: 套保商品名称
  5780. type: string
  5781. oriholdqty:
  5782. description: 期初持仓量
  5783. type: number
  5784. reckondate:
  5785. description: 交易日(RECKONDATE)
  5786. type: string
  5787. todaycloseqty:
  5788. description: 今平仓量
  5789. type: number
  5790. todayopenqty:
  5791. description: 今开仓量
  5792. type: number
  5793. tradedate:
  5794. description: 交易日(RECKONDATE)
  5795. type: string
  5796. username:
  5797. description: 用户名称(交易用户)
  5798. type: string
  5799. type: object
  5800. models.Ermcp3ExposureHedgeplanDetail:
  5801. properties:
  5802. biztype:
  5803. description: 业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利
  5804. type: integer
  5805. changqty:
  5806. description: 应套保总量变化量
  5807. type: number
  5808. contracttype:
  5809. description: 计划类型 - 1:采购 -1:销售
  5810. type: integer
  5811. convertratio:
  5812. description: 折算系数(套保品种)
  5813. type: number
  5814. deliverygoodscode:
  5815. description: 现货商品代码
  5816. type: string
  5817. deliverygoodsid:
  5818. description: 现货商品id
  5819. type: integer
  5820. deliverygoodsname:
  5821. description: 现货商吕名称
  5822. type: string
  5823. dgunitid:
  5824. description: 现货商品单位id
  5825. type: integer
  5826. dgunitidname:
  5827. description: 单位名称(现货商品)
  5828. type: string
  5829. diffqty:
  5830. description: 套保品种今变动量
  5831. type: number
  5832. enumdicname:
  5833. description: 单位名称(品类)
  5834. type: string
  5835. hedgeplanid:
  5836. description: 套保计划id
  5837. type: string
  5838. hedgeplanno:
  5839. description: 套保计划名称
  5840. type: string
  5841. hedgeplanstatus:
  5842. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5843. type: integer
  5844. mgunitidname:
  5845. description: 单位名称(套保商品)
  5846. type: string
  5847. middlegoodscode:
  5848. description: 套保品种代码
  5849. type: string
  5850. middlegoodsid:
  5851. description: 套保品种id
  5852. type: integer
  5853. middlegoodsname:
  5854. description: 套保品种名称
  5855. type: string
  5856. needarbitrageratio:
  5857. description: 应套利比例
  5858. type: number
  5859. needhedgeratio:
  5860. description: 应套保比例
  5861. type: number
  5862. pricedqty:
  5863. description: 已定价量
  5864. type: number
  5865. qty:
  5866. description: 合同量
  5867. type: number
  5868. reckondate:
  5869. description: 交易日(reckondate)
  5870. type: string
  5871. tradedate:
  5872. description: 交易日(登记日)
  5873. type: string
  5874. unitid:
  5875. description: 品类单位id
  5876. type: integer
  5877. userid:
  5878. description: 机构id
  5879. type: integer
  5880. wrstandardcode:
  5881. description: 品类代码
  5882. type: string
  5883. wrstandardid:
  5884. description: 品类id
  5885. type: integer
  5886. wrstandardname:
  5887. description: 品类名称
  5888. type: string
  5889. type: object
  5890. models.Ermcp3ExposureParamChLog:
  5891. properties:
  5892. accountid:
  5893. description: 期货账户ID (作废, 默认为0)
  5894. type: integer
  5895. aftervalue:
  5896. description: 应套保\套利量变更后(调整后应套保总量)
  5897. type: number
  5898. areauserid:
  5899. description: 所属机构\交易用户ID
  5900. type: integer
  5901. beforevalue:
  5902. description: 应套保\套利量变更前(调整前应套保总量)
  5903. type: number
  5904. begindate:
  5905. description: 开始交易日
  5906. type: string
  5907. changelogtype:
  5908. description: 变更流水类型 - 1:套保比率变更 2:套利比率变更
  5909. type: integer
  5910. curvalue:
  5911. description: 当前套保\套利量(套保总量|套利总量)
  5912. type: number
  5913. diffvalue:
  5914. description: 应套保总量变化量
  5915. type: number
  5916. enddate:
  5917. description: 结束交易日
  5918. type: string
  5919. logdatetime:
  5920. description: 流水日期
  5921. type: string
  5922. logid:
  5923. description: 流水ID(609+Unix秒时间戳(10位)+xxxxxx)
  5924. type: string
  5925. middlegoodscode:
  5926. description: 套保品种代码
  5927. type: string
  5928. middlegoodsid:
  5929. description: 套保品种
  5930. type: integer
  5931. middlegoodsname:
  5932. description: 套保品种名称
  5933. type: string
  5934. paramaftervalue:
  5935. description: 参数变更后(调整后参数值)
  5936. type: number
  5937. parambeforevalue:
  5938. description: 参数变更前(调整前参数值)
  5939. type: number
  5940. reckondate:
  5941. description: 交易日(reckondate)
  5942. type: string
  5943. tradedate:
  5944. description: 交易日(yyyyMMdd)
  5945. type: string
  5946. type: object
  5947. models.Ermcp3ExpourseReport:
  5948. properties:
  5949. accountid:
  5950. description: 期货账户ID (作废, 默认为0)
  5951. type: integer
  5952. accountname:
  5953. description: 机构名称
  5954. type: string
  5955. arbitrageqty:
  5956. description: 套利量
  5957. type: number
  5958. areauserid:
  5959. description: 所属机构\交易用户ID
  5960. type: integer
  5961. begindate:
  5962. description: 开始交易日
  5963. type: string
  5964. buyfutureqty:
  5965. description: 买入期货数量
  5966. type: number
  5967. buyplanqty:
  5968. description: 采购计划数量
  5969. type: number
  5970. buypricedqty:
  5971. description: 采购合同已定价数量
  5972. type: number
  5973. cycletime:
  5974. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5975. type: string
  5976. cycletype:
  5977. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5978. type: integer
  5979. diffexposure:
  5980. description: 变动量(套保敞口)
  5981. type: number
  5982. difffutuqty:
  5983. description: 变动量(期货)
  5984. type: number
  5985. diffhedgeqty:
  5986. description: 变动量(现货应套保总量)
  5987. type: number
  5988. diffmgqtya:
  5989. description: 套保变动量
  5990. type: number
  5991. diffmgqtyb:
  5992. description: 套利变动量
  5993. type: number
  5994. diffneedqty:
  5995. description: 应套变动量 = 应套保量 - 期初应套保量 + 应套利量 - 期初应套利量
  5996. type: number
  5997. diffqty:
  5998. description: 变动量(总敞口)
  5999. type: number
  6000. diffspotqty:
  6001. description: 变动量(现货) | 除税变动量
  6002. type: number
  6003. enddate:
  6004. description: 结束交易日
  6005. type: string
  6006. enumdicname:
  6007. description: 单位名称
  6008. type: string
  6009. hedgeqty:
  6010. description: 套保量
  6011. type: number
  6012. mgneedhedgeratio:
  6013. description: 套保比例(套保品的)
  6014. type: number
  6015. middlegoodsid:
  6016. description: 套保品种ID
  6017. type: integer
  6018. middlegoodsname:
  6019. description: 套保商品名称
  6020. type: string
  6021. middlgoodscode:
  6022. description: 套保商品代码
  6023. type: string
  6024. needarbitrageqty:
  6025. description: 应套利量
  6026. type: number
  6027. needarbitrageratio:
  6028. description: 套利比例(套保品的)
  6029. type: number
  6030. needhedgeexposoure:
  6031. description: 应套保敞口(套保敞口)
  6032. type: number
  6033. needhedgeqty:
  6034. description: 应套保量
  6035. type: number
  6036. needhedgeratio:
  6037. description: 应套保敞口比例
  6038. type: number
  6039. needqty:
  6040. description: 应套总量 = 应套保量 + 应套利量
  6041. type: number
  6042. oriarbitrageqty:
  6043. description: 期初套利量
  6044. type: number
  6045. oribuyfutureqty:
  6046. description: 期初买入期货数量
  6047. type: number
  6048. oribuyplanqty:
  6049. description: 期初采购计划数量
  6050. type: number
  6051. oribuypricedqty:
  6052. description: 期初采购合同已定价数量
  6053. type: number
  6054. orihedgeqty:
  6055. description: 期初套保量
  6056. type: number
  6057. orineedarbitrageqty:
  6058. description: 期初应套利量
  6059. type: number
  6060. orineedhedgeexposoure:
  6061. description: 期初应套保敞口
  6062. type: number
  6063. orineedhedgeqty:
  6064. description: 期初应套保量
  6065. type: number
  6066. orisellfutureqty:
  6067. description: 期初卖出期货数量
  6068. type: number
  6069. orisellplanqty:
  6070. description: 期初销售计划数量
  6071. type: number
  6072. orisellpricedqty:
  6073. description: 期初销售合同已定价数量
  6074. type: number
  6075. oritotalexposure:
  6076. description: 期初实时总敞口
  6077. type: number
  6078. oritotalfutureqty:
  6079. description: 期初期货头寸总量
  6080. type: number
  6081. oritotalneedhedgeqty:
  6082. description: 期初应套保总量
  6083. type: number
  6084. oritotalspotqty:
  6085. description: 期初现货头寸总量
  6086. type: number
  6087. reckondate:
  6088. description: 日照时期(yyyyMMdd)
  6089. type: string
  6090. sellfutureqty:
  6091. description: 卖出期货数量
  6092. type: number
  6093. sellplanqty:
  6094. description: 销售计划数量
  6095. type: number
  6096. sellpricedqty:
  6097. description: 销售合同已定价数量
  6098. type: number
  6099. totalexposure:
  6100. description: 实时总敞口(总敞口)
  6101. type: number
  6102. totalfutureqty:
  6103. description: 期货头寸总量(期货总量)
  6104. type: number
  6105. totalhedgeratio:
  6106. description: 敞口比例
  6107. type: number
  6108. totalneedhedgeqty:
  6109. description: 应套保总量(现货应套保总量)
  6110. type: number
  6111. totalspotqty:
  6112. description: 现货头寸总量 | 除税总量
  6113. type: number
  6114. unitid:
  6115. description: 单位id
  6116. type: integer
  6117. updatetime:
  6118. description: 更新时间
  6119. type: string
  6120. type: object
  6121. models.Ermcp3FinanceReport:
  6122. properties:
  6123. accountname:
  6124. description: 机构名称
  6125. type: string
  6126. areauserid:
  6127. description: 所属机构\交易用户ID
  6128. type: integer
  6129. begindate:
  6130. description: 开始交易日
  6131. type: string
  6132. biztype:
  6133. description: 业务类型 - 1:套保 2:套利
  6134. type: integer
  6135. brandname:
  6136. description: 品牌名称
  6137. type: string
  6138. buypreinvoicedamount:
  6139. description: 采购预收票额(预收票额)
  6140. type: number
  6141. buyprepaidamount:
  6142. description: 采购预付款额(预付货款额)
  6143. type: number
  6144. buytodayinvoiceamount:
  6145. description: 采购今收票额(今收票额)
  6146. type: number
  6147. buytodayrefundamount:
  6148. description: 采购今收退款额(今收退款额)
  6149. type: number
  6150. buytodaysettleamount:
  6151. description: 采购今付款额(今付货款额)
  6152. type: number
  6153. buyuninvoicedamount:
  6154. description: 采购应收票额(应收票额)
  6155. type: number
  6156. buyunpaidamount:
  6157. description: 采购应付款额(应付货款额)
  6158. type: number
  6159. currencyid:
  6160. description: 结算币种ID
  6161. type: integer
  6162. currencyname:
  6163. description: 币种名称
  6164. type: string
  6165. cycletime:
  6166. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  6167. type: string
  6168. cycletype:
  6169. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  6170. type: integer
  6171. deliverygoodscode:
  6172. description: 现货品种代码
  6173. type: string
  6174. deliverygoodsid:
  6175. description: 现货品种ID
  6176. type: integer
  6177. deliverygoodsname:
  6178. description: 现货品种名称
  6179. type: string
  6180. enddate:
  6181. description: 结束交易日
  6182. type: string
  6183. reckondate:
  6184. description: 日照时期(yyyyMMdd)
  6185. type: string
  6186. sellpreinvoicedamount:
  6187. description: 销售预开票额(预开票额)
  6188. type: number
  6189. sellprepaidamount:
  6190. description: 销售预收款额(预收货款额)
  6191. type: number
  6192. selltodayinvoiceamount:
  6193. description: 销售今开票额(今开票额)
  6194. type: number
  6195. selltodayrefundamount:
  6196. description: 销售今付退款额(今付退款额)
  6197. type: number
  6198. selltodaysettleamount:
  6199. description: 销售今收款额(今收货款额)
  6200. type: number
  6201. selluninvoicedamount:
  6202. description: 销售应开票额(应开票额)
  6203. type: number
  6204. sellunpaidamount:
  6205. description: 销售应收款额(应收货款额)
  6206. type: number
  6207. spotgoodsbrandid:
  6208. description: 现货品牌ID
  6209. type: integer
  6210. todaypaysum:
  6211. description: 今付款合计
  6212. type: number
  6213. todayreceivesum:
  6214. description: 今收款合计
  6215. type: number
  6216. updatetime:
  6217. description: 更新时间
  6218. type: string
  6219. wrfactortypeid:
  6220. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  6221. type: integer
  6222. wrstandardcode:
  6223. description: 品类代码
  6224. type: string
  6225. wrstandardid:
  6226. description: 现货商品ID
  6227. type: integer
  6228. wrstandardname:
  6229. description: 品类名称
  6230. type: string
  6231. type: object
  6232. models.Ermcp3GoodsGroup:
  6233. properties:
  6234. agreeunit:
  6235. description: 合约单位
  6236. type: number
  6237. areauserid:
  6238. description: 所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)
  6239. type: integer
  6240. canshort:
  6241. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  6242. type: integer
  6243. closepricemode:
  6244. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  6245. type: integer
  6246. createtime:
  6247. description: 创建时间
  6248. type: string
  6249. creatorid:
  6250. description: 创建人
  6251. type: integer
  6252. currencyid:
  6253. description: 报价货币ID
  6254. type: integer
  6255. decimalplace:
  6256. description: 报价小数位
  6257. type: integer
  6258. enumdicname:
  6259. description: 单位名称
  6260. type: string
  6261. exchangefullname:
  6262. description: 交易所全称
  6263. type: string
  6264. excludecfg:
  6265. description: 排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除
  6266. type: integer
  6267. exexchangecode:
  6268. description: 交易所代码
  6269. type: string
  6270. exexchangeid:
  6271. description: 外部交易所ID[通道交易]
  6272. type: integer
  6273. exexchangename:
  6274. description: 交易所名称
  6275. type: string
  6276. goodsgroupid:
  6277. description: 商品组ID(自增ID)
  6278. type: integer
  6279. goodsgroupname:
  6280. description: 商品组名称
  6281. type: string
  6282. goodsgroupstatus:
  6283. description: 商品组状态 - 1:正常 2:注销
  6284. type: integer
  6285. goodunitid:
  6286. description: 报价单位ID
  6287. type: integer
  6288. groupcategroyid:
  6289. description: 品种分类ID
  6290. type: integer
  6291. innerdealmode:
  6292. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  6293. type: integer
  6294. marketid:
  6295. description: 所属市场ID
  6296. type: integer
  6297. modifierid:
  6298. description: 修改人
  6299. type: integer
  6300. modifytime:
  6301. description: 修改时间
  6302. type: string
  6303. outerdealmode:
  6304. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  6305. type: integer
  6306. outergroupcode:
  6307. description: 外部商品组代码[通道交易]
  6308. type: string
  6309. quoteminunit:
  6310. description: 行情最小变动单位 [整数,报价小数位一起使用]
  6311. type: integer
  6312. quotesourcegroupid:
  6313. description: 所属行情源分组ID[参考行情市场用\通道交易]
  6314. type: integer
  6315. syncgoodsqty:
  6316. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  6317. type: integer
  6318. required:
  6319. - areauserid
  6320. type: object
  6321. models.Ermcp3HPMiddleGoods:
  6322. properties:
  6323. biztype:
  6324. description: 业务类型 1:套保 2:套利
  6325. type: integer
  6326. contracttype:
  6327. description: 合同类型 1:采购 -1:销售
  6328. type: integer
  6329. convertratio:
  6330. description: 折算系数
  6331. type: number
  6332. customername:
  6333. description: 对手手名称
  6334. type: string
  6335. customeruserid:
  6336. description: 对手id
  6337. type: integer
  6338. enumdicname:
  6339. description: 现货单位名称
  6340. type: string
  6341. hedgeplanid:
  6342. description: 计划id
  6343. type: string
  6344. hedgeplanno:
  6345. description: 计划编号
  6346. type: string
  6347. middlegoodsid:
  6348. description: 套保品种ID
  6349. type: integer
  6350. middlegoodsplanqty3:
  6351. description: 应套保计划量
  6352. type: number
  6353. needhedgeratio:
  6354. description: 套保比例
  6355. type: number
  6356. pricedqty:
  6357. description: 已定价量
  6358. type: number
  6359. relatedmiddlegoodsqty:
  6360. description: 已关联量(套保品种)(期货)
  6361. type: number
  6362. unitid:
  6363. description: 现货单位id
  6364. type: integer
  6365. userid:
  6366. description: 用户id
  6367. type: integer
  6368. vatrate:
  6369. description: 增值税率
  6370. type: number
  6371. wrstandardcode:
  6372. description: 现货商品代码
  6373. type: string
  6374. wrstandardid:
  6375. description: 现货商品id
  6376. type: integer
  6377. wrstandardname:
  6378. description: 现货商品名称
  6379. type: string
  6380. type: object
  6381. models.Ermcp3HedgePlan:
  6382. properties:
  6383. accountid:
  6384. description: 资金账号
  6385. type: integer
  6386. areauserid:
  6387. description: 用户ID
  6388. type: integer
  6389. auditid:
  6390. description: 审核id
  6391. type: integer
  6392. auditname:
  6393. description: 审核人名称
  6394. type: string
  6395. auditremark:
  6396. description: 审核备注
  6397. type: string
  6398. auditsrc:
  6399. description: 审核来源 1-管理端 2-终端
  6400. type: integer
  6401. audittime:
  6402. description: 审核时间
  6403. type: string
  6404. contracttype:
  6405. description: 计划类型 - 1:采购 -1:销售
  6406. type: integer
  6407. convertfactor:
  6408. description: 标仓系数
  6409. type: number
  6410. createtime:
  6411. description: 创建时间
  6412. type: string
  6413. currencyid:
  6414. description: 币种id
  6415. type: integer
  6416. currencyname:
  6417. description: 币种名称
  6418. type: string
  6419. deliverygoodscode:
  6420. description: 现货品种代码
  6421. type: string
  6422. deliverygoodsid:
  6423. description: 现货品种ID
  6424. type: integer
  6425. deliverygoodsname:
  6426. description: 现货品种名称
  6427. type: string
  6428. enumdicname:
  6429. description: 单位名称(现货商品)
  6430. type: string
  6431. hedgeplanid:
  6432. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  6433. type: string
  6434. hedgeplanno:
  6435. description: 套保计划编号(名称)
  6436. type: string
  6437. hedgeplanstatus:
  6438. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  6439. type: integer
  6440. planqty:
  6441. description: 计划数量
  6442. type: number
  6443. plantime:
  6444. description: 计划时间
  6445. type: string
  6446. producttype:
  6447. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  6448. type: integer
  6449. remark:
  6450. description: 备注
  6451. type: string
  6452. spotgoodsdesc:
  6453. description: 商品型号
  6454. type: string
  6455. taaccountname:
  6456. description: 资金账号名称
  6457. type: string
  6458. tradeuserid:
  6459. description: 交易用户id
  6460. type: integer
  6461. tradeusername:
  6462. description: 交易用户名称
  6463. type: string
  6464. unitid:
  6465. description: 单位id(现货商品)
  6466. type: integer
  6467. updatetime:
  6468. description: 更新时间
  6469. type: string
  6470. vatrate:
  6471. description: 增值税率
  6472. type: number
  6473. wrstandardcode:
  6474. description: 品类代码
  6475. type: string
  6476. wrstandardid:
  6477. description: 品类id
  6478. type: integer
  6479. wrstandardname:
  6480. description: 品类名称
  6481. type: string
  6482. wrunitid:
  6483. description: 品类单位id
  6484. type: integer
  6485. wrunitidame:
  6486. description: 品类单位名称
  6487. type: string
  6488. type: object
  6489. models.Ermcp3InnerTradeLink:
  6490. properties:
  6491. accountid:
  6492. description: 期货账号代码 | 资金账号ID
  6493. type: integer
  6494. buyorsell:
  6495. description: 方向 - 0:买 1:卖
  6496. type: integer
  6497. channelbuildtype:
  6498. description: 委托单据类型 0:无 1:建仓 2:平仓
  6499. type: integer
  6500. currencyid:
  6501. description: 币种id
  6502. type: integer
  6503. currencyname:
  6504. description: 结算币种 名称
  6505. type: string
  6506. goodscode:
  6507. description: 商品代码
  6508. type: string
  6509. goodsid:
  6510. description: 商品ID
  6511. type: integer
  6512. goodsname:
  6513. description: 商品名称
  6514. type: string
  6515. outtradeid:
  6516. description: 外部成交单号
  6517. type: string
  6518. taname:
  6519. description: 期货账户名称
  6520. type: string
  6521. tradeid:
  6522. description: 期货单号 | 内部成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6523. type: string
  6524. tradeprice:
  6525. description: 成交价格
  6526. type: number
  6527. tradeqty:
  6528. description: 期货成交数量
  6529. type: integer
  6530. tradetime:
  6531. description: 关联时间 | 成交时间 ps:因为数据库表里没有关联时间, 所以取外部成交单的成交时间
  6532. type: string
  6533. username:
  6534. description: 用户名称
  6535. type: string
  6536. type: object
  6537. models.Ermcp3OutTradeLink:
  6538. properties:
  6539. buyorsell:
  6540. description: 买卖方向 - 0:买 1:卖
  6541. type: integer
  6542. channelbuildtype:
  6543. description: 开平标志- 0:无 1:建仓 2:平仓
  6544. type: integer
  6545. currencyname:
  6546. description: 币种名称
  6547. type: string
  6548. exexchangecode:
  6549. description: 交易所代码
  6550. type: string
  6551. exexchangename:
  6552. description: 交易所名称
  6553. type: string
  6554. goodscode:
  6555. description: 合约代码
  6556. type: string
  6557. goodsid:
  6558. description: 合约id
  6559. type: integer
  6560. goodsname:
  6561. description: 合约名称
  6562. type: string
  6563. hasinnerorder:
  6564. description: 是否有内部单关联 - 0:无 1:有
  6565. type: integer
  6566. hedgeaccountcode:
  6567. description: 外部账号 | 对冲账号
  6568. type: string
  6569. outtradeid:
  6570. description: 外部订单号 | 外部成交单ID(114+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6571. type: string
  6572. tradeprice:
  6573. description: 成交价格
  6574. type: number
  6575. tradeqty:
  6576. description: 成交数量
  6577. type: integer
  6578. tradetime:
  6579. description: 成交时间
  6580. type: string
  6581. type: object
  6582. models.Ermcp3PaAreaAuditCfg:
  6583. properties:
  6584. areauserid:
  6585. description: 用户ID
  6586. type: integer
  6587. buyinauditflag:
  6588. description: 采购入库是否需要审核 - 0:不需审核 1:需要审核
  6589. type: integer
  6590. costratioauditflag:
  6591. description: 现货商品成本权重修改是否需要审核 - 0:不需审核 1:需要审核
  6592. type: integer
  6593. customerauditflag:
  6594. description: 客户资料是否需要审核 - 0:不需审核 1:需要审核
  6595. type: integer
  6596. deliveryauditflag:
  6597. description: 交收是否需要审核 - 0:不需审核 1:需要审核
  6598. type: integer
  6599. invoiceauditflag:
  6600. description: 发票是否需要审核 - 0:不需审核 1:需要审核
  6601. type: integer
  6602. mgneedhedgeratioauditflag:
  6603. description: 套保品种套保比例修改是否需要审 - 0:不需审核 1:需要审核
  6604. type: integer
  6605. moneyauditflag:
  6606. description: 款项是否需要审核 - 0:不需审核 1:需要审核
  6607. type: integer
  6608. operatorid:
  6609. description: 操作人
  6610. type: integer
  6611. operatorsrc:
  6612. description: 操作来源 - 1:管理端 2:终端
  6613. type: integer
  6614. pointpriceauditflag:
  6615. description: 点价是否需要审核 - 0:不需审核 1:需要审核
  6616. type: integer
  6617. produceinauditflag:
  6618. description: 生产入库是否需要审核 - 0:不需审核 1:需要审核
  6619. type: integer
  6620. produceoutauditflag:
  6621. description: 生产出库是否需要审核 - 0:不需审核 1:需要审核
  6622. type: integer
  6623. selloutauditflag:
  6624. description: 销售出库是否需要审核 - 0:不需审核 1:需要审核
  6625. type: integer
  6626. sgconvertratioauditflag:
  6627. description: 现货商品折算系数修改是否需要审核 - 0:不需审核 1:需要审核
  6628. type: integer
  6629. sgvtaratioauditflag:
  6630. description: 现货商品增值税税率修改是否需要审核 - 0:不需审核 1:需要审核
  6631. type: integer
  6632. spotcontractauditflag:
  6633. description: 现货合同是否需要审核 - 0:不需审核 1:需要审核
  6634. type: integer
  6635. updatetime:
  6636. description: 更新时间
  6637. type: string
  6638. type: object
  6639. models.Ermcp3PaAreaSubject:
  6640. properties:
  6641. areauserid:
  6642. description: 所属机构
  6643. type: integer
  6644. canmodify:
  6645. description: 是否可修改 - 0:否 1:是
  6646. type: integer
  6647. createtime:
  6648. description: 创建时间
  6649. type: string
  6650. creatorid:
  6651. description: 创建人ID
  6652. type: string
  6653. creatorsrc:
  6654. description: 创建人来源 - 1:管理端 2:终端 3:交易
  6655. type: integer
  6656. modifierid:
  6657. description: 修改人
  6658. type: string
  6659. modifiersrc:
  6660. description: 修改人来源 - 1:管理端 2:终端
  6661. type: integer
  6662. modifytime:
  6663. description: 修改时间
  6664. type: string
  6665. parentsubjectid:
  6666. description: 上级主体ID
  6667. type: string
  6668. remark:
  6669. description: 备注
  6670. type: string
  6671. subjectid:
  6672. description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  6673. type: integer
  6674. subjectname:
  6675. description: 主体名称
  6676. type: string
  6677. subjectstatus:
  6678. description: '主体状态 - 1:正常 2: 停用'
  6679. type: integer
  6680. subjecttype:
  6681. description: 主体类型 - 1:交易主体 2:业务部门
  6682. type: integer
  6683. type: object
  6684. models.Ermcp3PaTradeLink:
  6685. properties:
  6686. accountid:
  6687. description: 期货账户代码 | 账号ID
  6688. type: integer
  6689. agreeunit:
  6690. description: 合约乘数
  6691. type: number
  6692. buyorsell:
  6693. description: 方向 - 0:买 1:卖
  6694. type: integer
  6695. channelbuildtype:
  6696. description: 委托单据类型 0:无 1:建仓 2:平仓
  6697. type: integer
  6698. charge:
  6699. description: 手续费
  6700. type: number
  6701. closepl:
  6702. description: 平仓盈亏
  6703. type: number
  6704. closetype:
  6705. description: 平仓方式 - 0:无 1:平今 2:平昨
  6706. type: integer
  6707. convertratio:
  6708. description: 折算系数
  6709. type: number
  6710. enumdicname:
  6711. description: 单位名称
  6712. type: string
  6713. executeprice:
  6714. description: 执行价 [期权]
  6715. type: integer
  6716. goodscode:
  6717. description: 合约代码
  6718. type: string
  6719. goodsgroupid:
  6720. description: 对冲品种ID[期货合约商品组ID]
  6721. type: integer
  6722. goodsid:
  6723. description: 商品ID
  6724. type: integer
  6725. goodsname:
  6726. description: 合约名称
  6727. type: string
  6728. goodunitid:
  6729. description: 单位id
  6730. type: integer
  6731. hedgeflag:
  6732. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  6733. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)
  6734. type: integer
  6735. marketid:
  6736. description: 市场ID
  6737. type: integer
  6738. middlegoodsid:
  6739. description: 套保品种ID
  6740. type: integer
  6741. middlegoodsqty:
  6742. description: 套保品种数量 = TradeQty * AgreeUnit * ConvertRatio
  6743. type: number
  6744. optioncode:
  6745. description: 期权代码 [期权]
  6746. type: string
  6747. ordertype:
  6748. description: 单据类型 - 1:期货单 2:看涨期权单 3:看跌期权单
  6749. type: integer
  6750. ordertypename:
  6751. description: 订单类型
  6752. type: string
  6753. parentaccountid:
  6754. description: 所属母账户
  6755. type: integer
  6756. premium:
  6757. description: 权利金 [期权]
  6758. type: number
  6759. relatedlot:
  6760. description: 已关联数量(已关联数量手) | db:关联手数
  6761. type: number
  6762. relatedouttradeid:
  6763. description: 关联外部成交单ID
  6764. type: string
  6765. relatedqty:
  6766. description: 关联数量
  6767. type: number
  6768. spotcontractid:
  6769. description: 现货合同ID [4:套期保值\10\11]
  6770. type: string
  6771. taname:
  6772. description: 期货账户名称
  6773. type: string
  6774. tradeamount:
  6775. description: 成交金额(账户)
  6776. type: number
  6777. tradedate:
  6778. description: 交易日(yyyyMMdd)
  6779. type: string
  6780. tradeid:
  6781. description: 期货单号 | db:成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6782. type: string
  6783. tradelot:
  6784. description: 成交数量(期货数量) ps:这是手数,转换为具体多少吨要乘以AGREEUNIT | db:成交手数
  6785. type: integer
  6786. tradeprice:
  6787. description: 成交价格
  6788. type: number
  6789. tradetime:
  6790. description: 时间 | db:成交时间
  6791. type: string
  6792. tradetype:
  6793. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  6794. type: integer
  6795. userid:
  6796. description: 所属机构 - 所属母账户的UserID
  6797. type: string
  6798. username:
  6799. description: 用户名称
  6800. type: string
  6801. type: object
  6802. models.Ermcp3ParamChangeApp:
  6803. properties:
  6804. aftervalue:
  6805. description: 变更后
  6806. type: number
  6807. applicationid:
  6808. description: 申请ID(619+Unix秒时间戳(10位)+xxxxxx)
  6809. type: string
  6810. applyid:
  6811. description: 申请人
  6812. type: string
  6813. applyname:
  6814. description: 申请人名称(代码)
  6815. type: string
  6816. applyremark:
  6817. description: 申请备注
  6818. type: string
  6819. applysrc:
  6820. description: 申请来源 - 1:管理端 2:终端
  6821. type: integer
  6822. applystatus:
  6823. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  6824. type: integer
  6825. applytime:
  6826. description: 申请时间
  6827. type: string
  6828. areauserid:
  6829. description: 所属机构用户ID
  6830. type: integer
  6831. auditid:
  6832. description: 审核人
  6833. type: string
  6834. auditname:
  6835. description: 审核人名称(代码)
  6836. type: string
  6837. auditremark:
  6838. description: 审核备注
  6839. type: string
  6840. auditsrc:
  6841. description: 审核来源 - 1:管理端 2:终端
  6842. type: integer
  6843. audittime:
  6844. description: 审核时间
  6845. type: string
  6846. audittradedate:
  6847. description: 审核交易日(yyyyMMdd)
  6848. type: string
  6849. beforevalue:
  6850. description: 变更前
  6851. type: number
  6852. deliverygoodscode:
  6853. description: 品种代码
  6854. type: string
  6855. deliverygoodsid:
  6856. description: 品种id
  6857. type: integer
  6858. deliverygoodsname:
  6859. description: 品种名称
  6860. type: string
  6861. middlegoodscode:
  6862. description: 套保品种代码
  6863. type: string
  6864. middlegoodsid:
  6865. description: 套保品种ID [ParamChangeType = 2,3,4]
  6866. type: integer
  6867. middlegoodsname:
  6868. description: 套保品种名称
  6869. type: string
  6870. operatetype:
  6871. description: 操作类型 - 1:新增 2:修改
  6872. type: integer
  6873. paramchangetype:
  6874. description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  6875. type: integer
  6876. wrstandardcode:
  6877. description: 现货商品代码
  6878. type: string
  6879. wrstandardid:
  6880. description: 现货商品ID [ParamChangeType = 1,2,3]
  6881. type: integer
  6882. wrstandardname:
  6883. description: 现货商品名称
  6884. type: string
  6885. type: object
  6886. models.Ermcp3RootUserAccount:
  6887. properties:
  6888. accountname:
  6889. description: 账户名称(机构名称)
  6890. type: string
  6891. accountstatus:
  6892. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  6893. type: integer
  6894. applysrc:
  6895. description: 申请来源 - 1:管理端 2:终端
  6896. type: integer
  6897. auditremark:
  6898. description: 审核备注
  6899. type: string
  6900. auditsrc:
  6901. description: 审核来源 - 1:管理端 2:终端
  6902. type: integer
  6903. audittime:
  6904. description: 审核时间
  6905. type: string
  6906. audituserid:
  6907. description: 审核人
  6908. type: integer
  6909. broker:
  6910. description: 所属经纪人ID
  6911. type: integer
  6912. canceltime:
  6913. description: 销户时间
  6914. type: string
  6915. canceluserid:
  6916. description: 销户人
  6917. type: integer
  6918. canrecommend:
  6919. description: 是否可推荐 - 0:不可 1;可
  6920. type: integer
  6921. createtime:
  6922. description: 创建时间
  6923. type: string
  6924. creatorid:
  6925. description: 创建人
  6926. type: integer
  6927. hasauth:
  6928. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  6929. type: integer
  6930. isanonymous:
  6931. description: 是否匿名下单 - 0:否 1:是
  6932. type: integer
  6933. maxinvestornum:
  6934. description: 最大用户数(经纪会员下投资者个数)
  6935. type: integer
  6936. memberuserid:
  6937. description: 所属会员ID
  6938. type: integer
  6939. modifierid:
  6940. description: 修改人
  6941. type: integer
  6942. modifyremark:
  6943. description: 变更备注
  6944. type: string
  6945. modifystatus:
  6946. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  6947. type: integer
  6948. modifytime:
  6949. description: 修改时间
  6950. type: string
  6951. nickname:
  6952. description: 昵称
  6953. type: string
  6954. parenttopuser:
  6955. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  6956. type: string
  6957. parentuserid:
  6958. description: 所属机构ID
  6959. type: integer
  6960. reckonaccountid:
  6961. description: 默认结算资金账号ID(机构分润使用) 作废
  6962. type: integer
  6963. refercount:
  6964. description: 推荐总人数
  6965. type: integer
  6966. refereeuserid:
  6967. description: 推荐人ID
  6968. type: integer
  6969. refernum:
  6970. description: 推荐码
  6971. type: string
  6972. rootuserid:
  6973. description: 根用户ID
  6974. type: integer
  6975. subaccountlevel:
  6976. description: 子账户层数
  6977. type: integer
  6978. subarealevelpath:
  6979. description: 子机构层级路径(逗号分隔,首尾加逗号)
  6980. type: string
  6981. userid:
  6982. description: 用户ID
  6983. type: integer
  6984. usertype:
  6985. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  6986. type: integer
  6987. type: object
  6988. models.Ermcp3SCMiddleGoods:
  6989. properties:
  6990. biztype:
  6991. description: 业务类型 1:套保 2:套利
  6992. type: integer
  6993. contractno:
  6994. description: 合同编号
  6995. type: string
  6996. contracttype:
  6997. description: 合同类型 1:采购 -1:销售
  6998. type: integer
  6999. convertratio:
  7000. description: 折算系数
  7001. type: number
  7002. customername:
  7003. description: 对手手名称
  7004. type: string
  7005. customeruserid:
  7006. description: 对手id
  7007. type: integer
  7008. deliverygoodscode:
  7009. description: 现货品种代码
  7010. type: string
  7011. deliverygoodsid:
  7012. description: 现货品种ID
  7013. type: integer
  7014. deliverygoodsname:
  7015. description: 现货品种名称
  7016. type: string
  7017. enumdicname:
  7018. description: 现货单位名称
  7019. type: string
  7020. middlegoodsid:
  7021. description: 套保品种ID
  7022. type: integer
  7023. middlegoodspricedqty3:
  7024. description: 应套保数量 = MiddleGoodsPricedQty2 * 套保比率
  7025. type: number
  7026. needhedgeratio:
  7027. description: 套保比例
  7028. type: number
  7029. pricedqty:
  7030. description: 已定价量
  7031. type: number
  7032. relatedmiddlegoodsqty:
  7033. description: 已关联量(套保品种)(期货)
  7034. type: number
  7035. spotcontractid:
  7036. description: 合同编号
  7037. type: string
  7038. unitid:
  7039. description: 现货单位id
  7040. type: integer
  7041. userid:
  7042. description: 用户id
  7043. type: integer
  7044. vatrate:
  7045. description: 增值税率
  7046. type: number
  7047. wrstandardcode:
  7048. description: 现货商品代码
  7049. type: string
  7050. wrstandardid:
  7051. description: 现货商品id
  7052. type: integer
  7053. wrstandardname:
  7054. description: 现货商品名称
  7055. type: string
  7056. type: object
  7057. models.Ermcp3SCMiddleGoodsReport:
  7058. properties:
  7059. begindate:
  7060. description: 开始交易日
  7061. type: string
  7062. contractno:
  7063. description: 合同编号
  7064. type: string
  7065. contracttype:
  7066. description: 合同类型 1:采购 -1:销售
  7067. type: integer
  7068. convertratio:
  7069. description: 期初均价
  7070. type: number
  7071. cycletime:
  7072. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  7073. type: string
  7074. cycletype:
  7075. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  7076. type: integer
  7077. deliverygoodscode:
  7078. description: 品种代码
  7079. type: string
  7080. deliverygoodsid:
  7081. description: 现货品种ID
  7082. type: integer
  7083. deliverygoodsname:
  7084. description: 品种名称
  7085. type: string
  7086. diffprice:
  7087. description: 期初均价
  7088. type: number
  7089. diffqty:
  7090. description: 期初均价
  7091. type: number
  7092. enddate:
  7093. description: 结束交易日
  7094. type: string
  7095. hedgeplanqty:
  7096. description: 期初均价
  7097. type: number
  7098. matchname:
  7099. description: 交易对手方(个人:用户名称 企业:简称)
  7100. type: string
  7101. matchnickname:
  7102. description: 交易对手方昵称
  7103. type: string
  7104. middlegoodscode:
  7105. description: 套保品种代码
  7106. type: string
  7107. middlegoodsid:
  7108. description: 套保品种ID
  7109. type: integer
  7110. middlegoodsname:
  7111. description: 套保品种名称
  7112. type: string
  7113. middlegoodspricedqty:
  7114. description: 期初均价
  7115. type: number
  7116. middlegoodspricedqty2:
  7117. description: 期初均价
  7118. type: number
  7119. middlegoodspricedqty3:
  7120. description: 期初均价
  7121. type: number
  7122. needhedgeratio:
  7123. description: 期初均价
  7124. type: number
  7125. pricedamount:
  7126. description: 期初均价
  7127. type: number
  7128. pricedamount2:
  7129. description: 期初均价
  7130. type: number
  7131. pricedqty:
  7132. description: 期初均价
  7133. type: number
  7134. reckondate:
  7135. description: 日照时期(yyyyMMdd)
  7136. type: string
  7137. relatedmiddlegoodsamount:
  7138. description: 期初均价
  7139. type: number
  7140. relatedmiddlegoodsqty:
  7141. description: 期初均价
  7142. type: number
  7143. spotcontractid:
  7144. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  7145. type: string
  7146. todayavgfutuprice:
  7147. description: 期初均价
  7148. type: number
  7149. todayavgprice:
  7150. description: 期初均价
  7151. type: number
  7152. todayavgprice2:
  7153. description: 期初均价
  7154. type: number
  7155. todaypricedamount:
  7156. description: 期初均价
  7157. type: number
  7158. todaypricedamount2:
  7159. description: 期初均价
  7160. type: number
  7161. todaypricedqty:
  7162. description: 期初均价
  7163. type: number
  7164. todayrelatedfutureqty:
  7165. description: 期初均价
  7166. type: number
  7167. todayrelatedmiddlegoodsamount:
  7168. description: 期初均价
  7169. type: number
  7170. todayrelatedmiddlegoodsqty:
  7171. description: 期初均价
  7172. type: number
  7173. updatetime:
  7174. description: 更新时间
  7175. type: string
  7176. userid:
  7177. description: 合同所属用户id
  7178. type: integer
  7179. vatrate:
  7180. description: 期初均价
  7181. type: number
  7182. wrstandardcode:
  7183. description: 商品(品类) 代码
  7184. type: string
  7185. wrstandardid:
  7186. description: 现货商品ID
  7187. type: integer
  7188. wrstandardname:
  7189. description: 商品(品类) 名称
  7190. type: string
  7191. type: object
  7192. models.Ermcp3SellBuyContract:
  7193. properties:
  7194. accountid:
  7195. description: 期货账户id
  7196. type: string
  7197. accountname:
  7198. description: 账户名称
  7199. type: string
  7200. attachment:
  7201. description: 附件
  7202. type: string
  7203. audittime:
  7204. description: 审核时间
  7205. type: string
  7206. bizsubjectid:
  7207. description: 归属业务部门ID - SubjectID
  7208. type: integer
  7209. biztype:
  7210. description: 业务类型 1-套保 2-套利
  7211. type: integer
  7212. brandname:
  7213. description: 品牌名称
  7214. type: string
  7215. contracctstatus:
  7216. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  7217. type: integer
  7218. contractmargin:
  7219. description: 合同保证金
  7220. type: number
  7221. contractno:
  7222. description: 合同编号
  7223. type: string
  7224. contracttype:
  7225. description: 合同类型 1-采购, -1-销售
  7226. type: integer
  7227. convertfactor:
  7228. description: 标仓系数(品类)
  7229. type: number
  7230. createtime:
  7231. description: 创建时间
  7232. type: string
  7233. currencyid:
  7234. description: 币种id
  7235. type: integer
  7236. currencyname:
  7237. description: 币种名称
  7238. type: string
  7239. daikaiamount:
  7240. description: 应收(开)票额 | 未收票额
  7241. type: number
  7242. deliveryenddate:
  7243. description: 交割结束日
  7244. type: string
  7245. deliverygoodscode:
  7246. description: 现货品种代码
  7247. type: string
  7248. deliverygoodsid:
  7249. description: 现货商品ID
  7250. type: integer
  7251. deliverygoodsname:
  7252. description: 现货品种名称
  7253. type: string
  7254. deliverystartdate:
  7255. description: 交割开始日
  7256. type: string
  7257. enddate:
  7258. description: 点价结束日
  7259. type: string
  7260. enumdicname:
  7261. description: 单位名称
  7262. type: string
  7263. goodscode:
  7264. description: 点价商品代码
  7265. type: string
  7266. goodsgroupid:
  7267. description: 点价商品组id
  7268. type: integer
  7269. goodsid:
  7270. description: 点价商品ID
  7271. type: integer
  7272. goodsname:
  7273. description: 点价商品名称
  7274. type: string
  7275. invoiceamount:
  7276. description: 已开票额
  7277. type: number
  7278. loanamount:
  7279. description: 贷款总额=已定价额+调整金额
  7280. type: number
  7281. margin:
  7282. description: 保证金
  7283. type: number
  7284. meruserid:
  7285. description: 跟单员id
  7286. type: integer
  7287. meruserlogincode:
  7288. description: 跟单员登录代码
  7289. type: string
  7290. merusername:
  7291. description: 跟单员名称
  7292. type: string
  7293. nickname:
  7294. description: 账户昵称
  7295. type: string
  7296. orireckonrealqty:
  7297. description: 应交收量
  7298. type: number
  7299. payamount:
  7300. description: 已收付额(收款或付款)
  7301. type: number
  7302. preinvoiceamount:
  7303. description: 预收(开)票额
  7304. type: number
  7305. prepayamount:
  7306. description: 预收付额
  7307. type: number
  7308. price:
  7309. description: 价格
  7310. type: number
  7311. pricedamount:
  7312. description: 已定价额
  7313. type: number
  7314. pricedavg:
  7315. description: 已点均价
  7316. type: number
  7317. pricedqty:
  7318. description: 已定价量
  7319. type: number
  7320. pricemove:
  7321. description: 升贴水
  7322. type: number
  7323. pricetype:
  7324. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  7325. type: integer
  7326. producttype:
  7327. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  7328. type: integer
  7329. qty:
  7330. description: 合同量
  7331. type: number
  7332. reckonadjustamount:
  7333. description: 调整金额
  7334. type: number
  7335. reckonedamount:
  7336. description: 实际已收付额(已确定额,已收付总额-已退款总额)
  7337. type: number
  7338. reckonotheramount:
  7339. description: 其它费用
  7340. type: number
  7341. reckonrealqty:
  7342. description: 已交收量
  7343. type: number
  7344. remark:
  7345. description: 备注
  7346. type: string
  7347. saleuserid:
  7348. description: 业务员id
  7349. type: integer
  7350. saleuserlogincode:
  7351. description: 业务员登录代码
  7352. type: string
  7353. saleusername:
  7354. description: 业务员名称
  7355. type: string
  7356. spotcontractid:
  7357. description: 合同ID
  7358. type: string
  7359. spotgoodsbrandid:
  7360. description: 现货品牌ID(DGFactoryItem表的ID)
  7361. type: integer
  7362. spotgoodsdesc:
  7363. description: 商品型号(商品规格)
  7364. type: string
  7365. startdate:
  7366. description: 点价开始日
  7367. type: string
  7368. subjectid:
  7369. description: 交易主体ID
  7370. type: integer
  7371. subjectname:
  7372. description: 交易主体名称
  7373. type: string
  7374. totalamount:
  7375. description: 合计总额
  7376. type: number
  7377. tradeuserid:
  7378. description: 交易员id
  7379. type: integer
  7380. tradeuserlogincode:
  7381. description: 交易员登录代码
  7382. type: string
  7383. tradeusername:
  7384. description: 交易员名称
  7385. type: string
  7386. unpayamount:
  7387. description: 应收付款额(应支付或应收款) | 未付款额
  7388. type: number
  7389. unpricedqty:
  7390. description: 未定价量
  7391. type: number
  7392. unsureqty:
  7393. description: 未确定量 | 未交收量
  7394. type: number
  7395. userid:
  7396. description: 机构ID
  7397. type: integer
  7398. vatrate:
  7399. description: 增值税率
  7400. type: number
  7401. wrstandardcode:
  7402. description: 品类代码
  7403. type: string
  7404. wrstandardid:
  7405. description: 品类ID
  7406. type: integer
  7407. wrstandardname:
  7408. description: 品类名称
  7409. type: string
  7410. type: object
  7411. models.Ermcp3SpotGoodsPrice:
  7412. properties:
  7413. areauserid:
  7414. description: 所属机构id
  7415. type: integer
  7416. brandname:
  7417. description: 品牌名称
  7418. type: string
  7419. currencyid:
  7420. description: 报价货币ID
  7421. type: integer
  7422. currencyname:
  7423. description: 币种名称
  7424. type: string
  7425. deliverygoodscode:
  7426. description: 现货商品代码
  7427. type: string
  7428. deliverygoodsid:
  7429. description: 现货商品id
  7430. type: integer
  7431. deliverygoodsname:
  7432. description: 现货商品名称
  7433. type: string
  7434. enumdicname:
  7435. description: 现货商品单位名称
  7436. type: string
  7437. gbenumdicname:
  7438. description: 品类单位名称
  7439. type: string
  7440. gmunitid:
  7441. description: 品类单位id
  7442. type: integer
  7443. isvalid:
  7444. description: 是否有效 - 0:无效 1:有效
  7445. type: integer
  7446. operateid:
  7447. description: 最后操作人
  7448. type: integer
  7449. operatesrc:
  7450. description: 最后操作来源 - 1:管理端 2:终端
  7451. type: integer
  7452. operatetime:
  7453. description: 最后操作时间
  7454. type: string
  7455. operatorname:
  7456. description: 操作人名称
  7457. type: string
  7458. spotgoodsbrandid:
  7459. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  7460. type: integer
  7461. spotgoodsprice:
  7462. description: 现货价格
  7463. type: number
  7464. tradedate:
  7465. description: 交易日(yyyyMMdd)
  7466. type: string
  7467. unitid:
  7468. description: 现货商品单位id
  7469. type: integer
  7470. wrstandardcode:
  7471. description: 品类代码
  7472. type: string
  7473. wrstandardid:
  7474. description: 现货品类ID(通用则为0)
  7475. type: integer
  7476. wrstandardname:
  7477. description: 品类名称
  7478. type: string
  7479. type: object
  7480. models.Ermcp3SpotGoodsPriceLog:
  7481. properties:
  7482. areauserid:
  7483. description: 所属机构id
  7484. type: integer
  7485. brandname:
  7486. description: 品牌名称
  7487. type: string
  7488. currencyid:
  7489. description: 报价货币ID
  7490. type: integer
  7491. deliverygoodscode:
  7492. description: 现货商品代码
  7493. type: string
  7494. deliverygoodsid:
  7495. description: 现货商品id
  7496. type: integer
  7497. deliverygoodsname:
  7498. description: 现货商品名称
  7499. type: string
  7500. enumdicname:
  7501. description: 现货商品单位名称
  7502. type: string
  7503. gbenumdicname:
  7504. description: 品类单位名称
  7505. type: string
  7506. gmunitid:
  7507. description: 品类单位id
  7508. type: integer
  7509. logid:
  7510. description: 日志id
  7511. type: integer
  7512. operateid:
  7513. description: 最后操作人
  7514. type: integer
  7515. operatesrc:
  7516. description: 最后操作来源 - 1:管理端 2:终端
  7517. type: integer
  7518. operatetime:
  7519. description: 最后操作时间
  7520. type: string
  7521. operatorname:
  7522. description: 操作人名称
  7523. type: string
  7524. spotgoodsbrandid:
  7525. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  7526. type: integer
  7527. spotgoodsprice:
  7528. description: 现货价格
  7529. type: number
  7530. tradedate:
  7531. description: 交易日(yyyyMMdd)
  7532. type: string
  7533. unitid:
  7534. description: 现货商品单位id
  7535. type: integer
  7536. wrstandardcode:
  7537. description: 品类代码
  7538. type: string
  7539. wrstandardid:
  7540. description: 现货品类ID(通用则为0)
  7541. type: integer
  7542. wrstandardname:
  7543. description: 品类名称
  7544. type: string
  7545. type: object
  7546. models.Ermcp3SubTaaccount:
  7547. properties:
  7548. accountid:
  7549. description: 资金账户ID
  7550. type: integer
  7551. parentaccountcode:
  7552. description: 所属根账号代码(母账号代码)
  7553. type: string
  7554. parentaccountid:
  7555. description: 所属根账号(母账号)
  7556. type: integer
  7557. taname:
  7558. description: 资金账号名称
  7559. type: string
  7560. tradestatus:
  7561. description: 交易状态 - 1:正常 2:受限 3:冻结(停用) 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已删除(注销)
  7562. type: integer
  7563. username:
  7564. description: 交易用户
  7565. type: string
  7566. type: object
  7567. models.Ermcp3TaFutuReDataReport:
  7568. properties:
  7569. accountid:
  7570. description: 交易账户
  7571. type: integer
  7572. accountname:
  7573. description: 交易账号名称
  7574. type: string
  7575. agreeunit:
  7576. description: 商品合约单位
  7577. type: number
  7578. begindate:
  7579. description: 开始交易日
  7580. type: string
  7581. buyorsell:
  7582. description: 持仓方向
  7583. type: integer
  7584. charge:
  7585. description: 手续费
  7586. type: number
  7587. closeavgprice:
  7588. description: 期初均价
  7589. type: number
  7590. closepl:
  7591. description: 平仓损益
  7592. type: number
  7593. currencyid:
  7594. description: 结算币种ID
  7595. type: integer
  7596. currencyname:
  7597. description: 币种名称
  7598. type: string
  7599. cycletime:
  7600. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  7601. type: string
  7602. cycletype:
  7603. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  7604. type: integer
  7605. enddate:
  7606. description: 结束交易日
  7607. type: string
  7608. enumdicname:
  7609. description: 单位名称
  7610. type: string
  7611. floatpl:
  7612. description: 浮动损益
  7613. type: number
  7614. goodscode:
  7615. description: 交易合约代码
  7616. type: string
  7617. goodsgroupid:
  7618. description: 交易品种
  7619. type: integer
  7620. goodsgroupname:
  7621. description: 交易品种名称
  7622. type: string
  7623. goodsgroupspotqty:
  7624. description: 交易品种期末量 (= 期末持仓量 * 合约乘数)
  7625. type: number
  7626. goodsid:
  7627. description: 交易合约
  7628. type: integer
  7629. goodsname:
  7630. description: 交易合约名称
  7631. type: string
  7632. goodunitid:
  7633. description: 交易合约单位id
  7634. type: integer
  7635. holdamount:
  7636. description: 期末持仓额
  7637. type: number
  7638. holdqty:
  7639. description: 期初均价
  7640. type: number
  7641. lastholdamount:
  7642. description: 当前持仓额
  7643. type: number
  7644. lastprice:
  7645. description: 最新价
  7646. type: number
  7647. middlegoodsid:
  7648. description: 套保品种id
  7649. type: integer
  7650. middlegoodsname:
  7651. description: 套保商品名称
  7652. type: string
  7653. middlegoodsqty:
  7654. description: 套保品种期末量 (=交易品种期末量 * 期货品种折算系数)
  7655. type: number
  7656. middlgoodscode:
  7657. description: 套保商品代码
  7658. type: string
  7659. openamount:
  7660. description: 期末开仓额
  7661. type: number
  7662. openavgprice:
  7663. description: 期初均价
  7664. type: number
  7665. oriholdamount:
  7666. description: 期初持仓额
  7667. type: number
  7668. oriholdqty:
  7669. description: 期初均价
  7670. type: number
  7671. oriopenamount:
  7672. description: 期初开仓额
  7673. type: number
  7674. outergroupcode:
  7675. description: 交易品种代码
  7676. type: string
  7677. qtydecimalplace:
  7678. description: 成交量小数位
  7679. type: integer
  7680. reckondate:
  7681. description: 日照时期(yyyyMMdd)
  7682. type: string
  7683. reckonholdamount:
  7684. description: 结算持仓额
  7685. type: number
  7686. reckonpl:
  7687. description: 结算损益
  7688. type: number
  7689. reckonpl2:
  7690. description: 结算逐笔盈亏
  7691. type: number
  7692. reckonprice:
  7693. description: 结算价
  7694. type: number
  7695. relateduserid:
  7696. description: 账户关联用户ID
  7697. type: integer
  7698. todaycloseamount:
  7699. description: 今平仓额
  7700. type: number
  7701. todaycloseqty:
  7702. description: 期初均价
  7703. type: number
  7704. todaygoodsgroupspotqty:
  7705. description: 交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)
  7706. type: number
  7707. todaymiddlegoodsqty:
  7708. description: 套保品种变化量 (= 交易品种变化量*期货品种折算系数)
  7709. type: number
  7710. todayopenamount:
  7711. description: 今开仓额
  7712. type: number
  7713. todayopenqty:
  7714. description: 期初均价
  7715. type: number
  7716. userid:
  7717. description: 账户所属用户ID
  7718. type: integer
  7719. type: object
  7720. models.Ermcp3TradeLinkDetail:
  7721. properties:
  7722. accountid:
  7723. description: 资金账号
  7724. type: integer
  7725. agreeunit:
  7726. description: 合约乘数
  7727. type: number
  7728. areauserid:
  7729. description: 所属机构
  7730. type: string
  7731. bizsubjectid:
  7732. description: 归属业务部门ID - SubjectID
  7733. type: string
  7734. buyorsell:
  7735. description: 方向 - 0:买 1:卖
  7736. type: integer
  7737. channelbuildtype:
  7738. description: 委托单据类型 0:无 1:建仓 2:平仓
  7739. type: integer
  7740. contractno:
  7741. description: 现货编号 (合同编号)
  7742. type: string
  7743. convertratio:
  7744. description: 折算系数
  7745. type: number
  7746. createtime:
  7747. description: 关联时间 | 创建时间
  7748. type: string
  7749. creatorid:
  7750. description: 创建人ID
  7751. type: string
  7752. creatorsrc:
  7753. description: 创建人来源 - 1:管理端 2:终端 3:交易
  7754. type: integer
  7755. enumdicname:
  7756. description: 单位名称
  7757. type: string
  7758. goodscode:
  7759. description: 合约代码
  7760. type: string
  7761. goodsgroupid:
  7762. description: 对冲品种ID[期货合约商品组ID]
  7763. type: integer
  7764. goodsid:
  7765. description: 商品ID
  7766. type: integer
  7767. goodsname:
  7768. description: 合约名称
  7769. type: string
  7770. hedgeflag:
  7771. description: 业务类型 | 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安)
  7772. 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)
  7773. type: integer
  7774. linkdetailid:
  7775. description: 关联ID(614+Unix秒时间戳(10位)+xxxxxx)
  7776. type: string
  7777. linkstatus:
  7778. description: 关联状态 - 1:成功 2:失败 3:解绑
  7779. type: integer
  7780. middlegoodscode:
  7781. description: 套保品种代码
  7782. type: string
  7783. middlegoodsid:
  7784. description: 套保品种ID
  7785. type: integer
  7786. middlegoodsname:
  7787. description: 套保品种名称
  7788. type: string
  7789. relatedlot:
  7790. description: 关联手数
  7791. type: number
  7792. relatedmode:
  7793. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  7794. type: integer
  7795. relatedqty:
  7796. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  7797. type: number
  7798. retcode:
  7799. description: 返回码
  7800. type: integer
  7801. saleuserid:
  7802. description: 业务员ID
  7803. type: string
  7804. spotcontractid:
  7805. description: 现货合同\套保计划ID [4,10,11 - 现货合同ID] [9:套期保值(计划) - 套保计划ID]
  7806. type: string
  7807. taname:
  7808. description: 期货账户
  7809. type: string
  7810. tradedate:
  7811. description: 关联交易日(yyyyMMdd)
  7812. type: string
  7813. tradeid:
  7814. description: 期货订单号 | 内部成交单ID
  7815. type: string
  7816. tradelot:
  7817. description: 成交数量 | 成交手数
  7818. type: integer
  7819. tradeprice:
  7820. description: 成交价格
  7821. type: number
  7822. tradetime:
  7823. description: 期货成交时间
  7824. type: string
  7825. tradetradedate:
  7826. description: 成交交易日(yyyyMMdd)
  7827. type: string
  7828. username:
  7829. description: 用户名称
  7830. type: string
  7831. type: object
  7832. models.Ermcp3Wrstandard:
  7833. properties:
  7834. areauserid:
  7835. description: 所属机构
  7836. type: integer
  7837. cantrade:
  7838. description: 是否允许交易 - 0:不允许 1:允许 -1:未配置(数据库里没有记录)
  7839. type: integer
  7840. convertfactor:
  7841. description: 标仓系数
  7842. type: number
  7843. createtime:
  7844. description: 创建时间
  7845. type: string
  7846. creatorid:
  7847. description: 创建人
  7848. type: integer
  7849. deliverygoodsid:
  7850. description: 现货品种ID
  7851. type: integer
  7852. enumdicname:
  7853. description: 品类单位名称
  7854. type: string
  7855. isvalid:
  7856. description: 是否有效 0-无效(停用) 1-有效(正常)
  7857. type: integer
  7858. minivalue:
  7859. description: 最小变动值
  7860. type: integer
  7861. minivaluedp:
  7862. description: 最小变动值小数位
  7863. type: integer
  7864. realminivalue:
  7865. description: 实际最小变动值
  7866. type: integer
  7867. realminivaluedp:
  7868. description: 实际最小变动值小数位
  7869. type: integer
  7870. remark:
  7871. description: 备注
  7872. type: string
  7873. unitid:
  7874. description: 品类单位ID
  7875. type: integer
  7876. updatetime:
  7877. description: 更新时间
  7878. type: string
  7879. wrstandardcode:
  7880. description: 品类代码
  7881. type: string
  7882. wrstandardid:
  7883. description: 品类ID(SEQ_WRSTANDARD)
  7884. type: integer
  7885. wrstandardname:
  7886. description: 品类名称
  7887. type: string
  7888. type: object
  7889. models.Ermcp8EnableHedgeditem:
  7890. properties:
  7891. accountname:
  7892. description: 套期主体
  7893. type: string
  7894. hedgeditemid:
  7895. description: 被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)
  7896. type: string
  7897. hedgeditemname:
  7898. description: 项目名称
  7899. type: string
  7900. hedgeditemnum:
  7901. description: 项目编号
  7902. type: string
  7903. hedgedtype:
  7904. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  7905. type: integer
  7906. planenddate:
  7907. description: 计划结束日期
  7908. type: string
  7909. planstartdate:
  7910. description: 计划开始日期
  7911. type: string
  7912. wrstandardid:
  7913. description: 现货商品ID
  7914. type: integer
  7915. wrstandardname:
  7916. description: 现货商品
  7917. type: string
  7918. type: object
  7919. models.Ermcp8HedgeditemReport:
  7920. properties:
  7921. accountname:
  7922. description: 套期主体
  7923. type: string
  7924. areauserid:
  7925. description: 企业ID
  7926. type: integer
  7927. curprice:
  7928. description: '[当日现货市场价]当前市场价'
  7929. type: number
  7930. enumdicname:
  7931. description: 单位
  7932. type: string
  7933. exeamount:
  7934. description: '[执行现货金额]执行市价总额'
  7935. type: number
  7936. exeavgprice:
  7937. description: '[执行价]执行市场均价= 执行市价总额 / 执行现货量'
  7938. type: number
  7939. exeqty:
  7940. description: '[执行数量]执行现货量'
  7941. type: number
  7942. futurehedgepl:
  7943. description: 期货实际损益
  7944. type: number
  7945. futurehedgeplchange:
  7946. description: 期货实际变动 = 期货实际损益 - 期初期货实际损益
  7947. type: number
  7948. futurepl:
  7949. description: 期货套期损益
  7950. type: number
  7951. futureplchange:
  7952. description: 期货套期变动 = 期货套期损益 - 期初期货套期损益
  7953. type: number
  7954. hedgeamount:
  7955. description: '[套期现货金额]套期市价总额'
  7956. type: number
  7957. hedgeditemnum:
  7958. description: 项目编号,模糊查询
  7959. type: string
  7960. hedgeditemstatus:
  7961. description: 项目状态 - 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  7962. type: integer
  7963. hedgedtype:
  7964. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  7965. type: integer
  7966. hedgeqty:
  7967. description: '[套期数量]套期现货量'
  7968. type: number
  7969. oriavgprice:
  7970. description: '[期初价]期初市场均价 = 套期市价总额 / 套期现货量'
  7971. type: number
  7972. orifuturehedgepl:
  7973. description: 期初期货实际损益
  7974. type: number
  7975. orifuturepl:
  7976. description: 期初期货套期损益
  7977. type: number
  7978. orispothedgepl:
  7979. description: 期初现货实际损益
  7980. type: number
  7981. orispotpl:
  7982. description: 期初现货套期损益
  7983. type: number
  7984. planenddate:
  7985. description: 计划结束日期
  7986. type: string
  7987. planstartdate:
  7988. description: 计划开始日期
  7989. type: string
  7990. spothedgepl:
  7991. description: 现货实际损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)
  7992. type: number
  7993. spothedgeplchange:
  7994. description: 现货实际变动 = 现货实际损益 - 期初现货实际损益
  7995. type: number
  7996. spotpl:
  7997. description: 现货套期损益 = 现货实际损益 + 现货浮动损益
  7998. type: number
  7999. spotplchange:
  8000. description: 现货套期变动 = 现货套期损益 - 期初现货套期损益
  8001. type: number
  8002. tradeuserid:
  8003. description: 交易用户ID
  8004. type: integer
  8005. unexeqty:
  8006. description: 未执行现货量 = 套期现货量 - 执行现货量
  8007. type: number
  8008. wrstandardcode:
  8009. description: 现货品类代码
  8010. type: string
  8011. wrstandardid:
  8012. description: 现货商品ID
  8013. type: integer
  8014. wrstandardname:
  8015. description: '[现货商品]现货品类名称'
  8016. type: string
  8017. type: object
  8018. models.Ermcp8RunningHedgeditem:
  8019. properties:
  8020. accountname:
  8021. description: 套期主体
  8022. type: string
  8023. applyid:
  8024. description: 申请人
  8025. type: integer
  8026. applysrc:
  8027. description: 申请来源 - 1:管理端 2:终端
  8028. type: integer
  8029. areauserid:
  8030. description: 企业ID
  8031. type: integer
  8032. auditid:
  8033. description: 审核人
  8034. type: integer
  8035. auditremark:
  8036. description: 审核备注
  8037. type: string
  8038. auditsrc:
  8039. description: 审核来源 - 1:管理端 2:终端
  8040. type: integer
  8041. audittime:
  8042. description: 审核时间
  8043. type: string
  8044. audittradedate:
  8045. description: 审核交易日(yyyyMMdd)
  8046. type: string
  8047. createtime:
  8048. description: 申请时间
  8049. type: string
  8050. curprice:
  8051. description: 当前市场价
  8052. type: number
  8053. curstock:
  8054. description: 期末库存量 = 采购总量 - 销售总量
  8055. type: number
  8056. deliverygoodsid:
  8057. description: 现货品种ID
  8058. type: integer
  8059. enddate:
  8060. description: 完成日期
  8061. type: string
  8062. endtradedate:
  8063. description: 完成交易日
  8064. type: string
  8065. enumdicname:
  8066. description: 单位
  8067. type: string
  8068. exeamount:
  8069. description: 执行市价总额
  8070. type: number
  8071. exeavgprice:
  8072. description: 执行市场均价= 执行市价总额 / 执行现货量
  8073. type: number
  8074. execontractamount:
  8075. description: 执行定价总额
  8076. type: number
  8077. exeqty:
  8078. description: 执行现货量
  8079. type: number
  8080. exerestamount:
  8081. description: 执行剩余市价总额【现货贸易】
  8082. type: number
  8083. futurefloatpl:
  8084. description: 期货浮动损益
  8085. type: number
  8086. futurehedgepl:
  8087. description: 期货实际损益
  8088. type: number
  8089. futurehedgeplchange:
  8090. description: 期货实际损益变动
  8091. type: number
  8092. futurepl:
  8093. description: 期货套期损益
  8094. type: number
  8095. futureplchange:
  8096. description: 期货套期损益变动
  8097. type: number
  8098. hedgeamount:
  8099. description: 套期市价总额
  8100. type: number
  8101. hedgecontractamount:
  8102. description: 套期定价总额 【定价采购合同】【现货贸易】
  8103. type: number
  8104. hedgeditemid:
  8105. description: 被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)
  8106. type: string
  8107. hedgeditemname:
  8108. description: 项目名称
  8109. type: string
  8110. hedgeditemnum:
  8111. description: 项目编号
  8112. type: string
  8113. hedgeditemstatus:
  8114. description: 项目状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  8115. type: integer
  8116. hedgedtype:
  8117. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  8118. type: integer
  8119. hedgeqty:
  8120. description: 套期现货量
  8121. type: number
  8122. hedgerate:
  8123. description: 套保比率
  8124. type: number
  8125. hedgerestamount:
  8126. description: 套期剩余市价总额【现货贸易】
  8127. type: number
  8128. hedgesumpl:
  8129. description: 套期汇总损益 = 期货汇总损益 + 现货汇总损益
  8130. type: number
  8131. middlegoodslist:
  8132. description: 套期商品列表
  8133. items:
  8134. $ref: '#/definitions/models.Ermcp2himiddlegoods'
  8135. type: array
  8136. oriavgprice:
  8137. description: 期初市场均价 = 套期市价总额 / 套期现货量
  8138. type: number
  8139. orifuturehedgepl:
  8140. description: 期初期货实际损益
  8141. type: number
  8142. orifuturepl:
  8143. description: 期初期货套期损益
  8144. type: number
  8145. orispothedgepl:
  8146. description: 期初现货实际损益
  8147. type: number
  8148. orispotpl:
  8149. description: 期初现货套期损益
  8150. type: number
  8151. planenddate:
  8152. description: 计划结束日期
  8153. type: string
  8154. planstartdate:
  8155. description: 计划开始日期
  8156. type: string
  8157. remark:
  8158. description: 备注
  8159. type: string
  8160. spotbookamount:
  8161. description: 现货账面总额
  8162. type: number
  8163. spotfloatpl:
  8164. description: 现货浮动损益 =(当前市场价 - 期初市场价)*未执行现货量 * 方向(销售计划 为 -1, 其它为1)
  8165. type: number
  8166. spothedgepl:
  8167. description: 现货套期损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)
  8168. type: number
  8169. spothedgeplchange:
  8170. description: 现货实际损益变动
  8171. type: number
  8172. spotpl:
  8173. description: 现货套期损益 = 现货实际损益 + 现货浮动损益
  8174. type: number
  8175. spotplchange:
  8176. description: 现货套期损益变动
  8177. type: number
  8178. spottradepl:
  8179. description: 现货贸易损益【现货贸易】= 执行合同定价总额 - 套期合同定价总额
  8180. type: number
  8181. sumobspl:
  8182. description: 汇总绝对损益【现货贸易】=现货贸易损益+增值税损益+期货套期损益
  8183. type: number
  8184. tradeuserid:
  8185. description: 交易用户ID
  8186. type: integer
  8187. unexeqty:
  8188. description: 未执行现货量 = 套期现货量 - 执行现货量
  8189. type: number
  8190. updatetime:
  8191. description: 更新时间
  8192. type: string
  8193. vatpl:
  8194. description: 增值税损益【现货贸易】= 现货贸易损益 * (增值税率 /(1+增值税率))
  8195. type: number
  8196. vatrate:
  8197. description: 增值税
  8198. type: number
  8199. wrstandardid:
  8200. description: 现货商品ID
  8201. type: integer
  8202. wrstandardname:
  8203. description: 商品名称
  8204. type: string
  8205. type: object
  8206. models.ErmcpBizGroupEx:
  8207. properties:
  8208. acclist:
  8209. description: 账号列表
  8210. items:
  8211. $ref: '#/definitions/models.ErmcpBizGroupTaAccount'
  8212. type: array
  8213. bizgroupid:
  8214. description: 业务分组id
  8215. type: integer
  8216. biztype:
  8217. description: 业务类型 1-套保 2-套利
  8218. type: integer
  8219. wrlist:
  8220. description: 现货商品表
  8221. items:
  8222. $ref: '#/definitions/models.ErmcpBizGroupSpotGoods'
  8223. type: array
  8224. type: object
  8225. models.ErmcpBizGroupSpotGoods:
  8226. properties:
  8227. areauserid:
  8228. description: 所属机构id
  8229. type: integer
  8230. bizgroupid:
  8231. description: 分组id
  8232. type: integer
  8233. biztype:
  8234. description: 业务类型 1-套保 2-套利
  8235. type: integer
  8236. deliverygoodscode:
  8237. description: 现货商品代码
  8238. type: string
  8239. deliverygoodsid:
  8240. description: 现货商品id
  8241. type: integer
  8242. deliverygoodsname:
  8243. description: 现货商品名称
  8244. type: string
  8245. unitid:
  8246. description: 现货商品单位id
  8247. type: integer
  8248. type: object
  8249. models.ErmcpBizGroupTaAccount:
  8250. properties:
  8251. accountid:
  8252. description: 账号id
  8253. type: integer
  8254. accountname:
  8255. description: 账号名称
  8256. type: string
  8257. areauserid:
  8258. description: 所属机构id
  8259. type: integer
  8260. bizgroupid:
  8261. description: 业务分组id
  8262. type: integer
  8263. ismain:
  8264. description: 是否主账号 1-是 0-否
  8265. type: integer
  8266. type: object
  8267. models.ErmcpDGFactoryItem:
  8268. properties:
  8269. areauserid:
  8270. description: 用户id
  8271. type: integer
  8272. deliverygoodsid:
  8273. description: 现货品种ID
  8274. type: integer
  8275. dgfactoryitemid:
  8276. description: 选择项ID(SEQ_DGFACTORYITEM)
  8277. type: integer
  8278. dgfactoryitemtypeid:
  8279. description: 要素项类型
  8280. type: integer
  8281. dgfactoryitemvalue:
  8282. description: 要素项值(类型为仓库时填写仓库名称)
  8283. type: string
  8284. isvalid:
  8285. description: 是否有效 - 0:无效 1:有效
  8286. type: integer
  8287. orderindex:
  8288. description: 顺序
  8289. type: integer
  8290. warehouseid:
  8291. description: 仓库ID(类型为仓库时填写)
  8292. type: integer
  8293. type: object
  8294. models.ErmcpDeliveryGoods:
  8295. properties:
  8296. agreeunit:
  8297. description: 合约单位[散货时默认为1, 整装时默认为标准数量]
  8298. type: integer
  8299. areauserid:
  8300. description: 所属机构
  8301. type: integer
  8302. auditflag:
  8303. description: 交割是否需要审核 - 0:不需要 1:需要审核 默认为0
  8304. type: integer
  8305. categoryid:
  8306. description: 类别ID(SEQ_WRCATEGORY)
  8307. type: integer
  8308. deliverygoodscode:
  8309. description: 现货品种代码
  8310. type: string
  8311. deliverygoodsid:
  8312. description: 现货品种ID(SEQ_DELIVERYGOODS)
  8313. type: integer
  8314. deliverygoodsname:
  8315. description: 现货品种名称
  8316. type: string
  8317. deliverygoodstype:
  8318. description: '现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细'
  8319. type: integer
  8320. dgstatus:
  8321. description: 品种状态 - 作废 - 0:未激活 1:正常
  8322. type: integer
  8323. enumdicname:
  8324. description: 现货品种单位名称
  8325. type: string
  8326. goodsunitid:
  8327. description: 现货品种单位ID
  8328. type: integer
  8329. isvalid:
  8330. description: 是否有效 - 0:无效 1:有效
  8331. type: integer
  8332. qtydecimalplace:
  8333. description: 成交量小数位
  8334. type: integer
  8335. remark:
  8336. description: 备注
  8337. type: string
  8338. standardqty:
  8339. description: 标准数量(库位数量) [标准品特有]
  8340. type: integer
  8341. standardqtyrange:
  8342. description: 标准数量偏差范围 [标准品特有]
  8343. type: integer
  8344. type: object
  8345. models.ErmcpFuturesCompany:
  8346. properties:
  8347. brokerid:
  8348. description: 经纪公司代码
  8349. type: string
  8350. channeladdress:
  8351. description: 对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001
  8352. type: string
  8353. channelid:
  8354. description: 对冲渠道ID
  8355. type: string
  8356. createtime:
  8357. description: 创建时间
  8358. type: string
  8359. creatorid:
  8360. description: 创建人
  8361. type: string
  8362. fcid:
  8363. description: 期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)
  8364. type: integer
  8365. fcname:
  8366. description: 期货公司名称
  8367. type: string
  8368. isvalid:
  8369. description: 是否有效 - 0:无效 1:有效
  8370. type: integer
  8371. mhpaddress:
  8372. description: MHP服务地址(IP:Port)
  8373. type: string
  8374. riskrulegroupid:
  8375. description: 风控规则组ID
  8376. type: string
  8377. tradefeetmpid:
  8378. description: 手续费模板ID[TradeConfigTmpType为2]
  8379. type: string
  8380. trademargintmpid:
  8381. description: 保证金模板ID [TradeConfigTmpType为1]
  8382. type: string
  8383. traderatetmpid:
  8384. description: 汇率模板ID[TradeConfigTmpType为3]
  8385. type: string
  8386. updatetime:
  8387. description: 更新时间
  8388. type: string
  8389. updatorid:
  8390. description: 更新人
  8391. type: string
  8392. type: object
  8393. models.ErmcpGGConvertCfg:
  8394. properties:
  8395. convertratio:
  8396. description: 折算系数
  8397. type: number
  8398. destgoodsgroupid:
  8399. description: 目标品种ID
  8400. type: integer
  8401. dstcode:
  8402. description: 目录品种代码
  8403. type: string
  8404. dstexchangecode:
  8405. description: 目标期货交易所
  8406. type: string
  8407. dstname:
  8408. description: 目标品种名称
  8409. type: string
  8410. dstunitid:
  8411. description: 目标品种单位ID
  8412. type: integer
  8413. dstunitidname:
  8414. description: 目标品种单位名称
  8415. type: string
  8416. modifytime:
  8417. description: 修改时间
  8418. type: string
  8419. srccode:
  8420. description: 源品种代码
  8421. type: string
  8422. srcexchangecode:
  8423. description: 源期货交易所
  8424. type: string
  8425. srcgoodsgroupid:
  8426. description: 源品种ID
  8427. type: integer
  8428. srcname:
  8429. description: 源品种名称
  8430. type: string
  8431. srcunitid:
  8432. description: 源品种单位ID
  8433. type: integer
  8434. srcunitidname:
  8435. description: 源品种单位名称
  8436. type: string
  8437. type: object
  8438. models.ErmcpGoods:
  8439. properties:
  8440. agreeunit:
  8441. description: 合约单位
  8442. type: number
  8443. areauserid:
  8444. description: 所属机构
  8445. type: integer
  8446. auditaccountid:
  8447. description: 审核操作员账号
  8448. type: integer
  8449. audittime:
  8450. description: 审核时间
  8451. type: string
  8452. cancelaccountid:
  8453. description: 注销操作员账号
  8454. type: integer
  8455. canceltime:
  8456. description: 注销时间
  8457. type: string
  8458. closepricemode:
  8459. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  8460. type: integer
  8461. closepriceparam:
  8462. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  8463. type: number
  8464. createtime:
  8465. description: 创建时间
  8466. type: string
  8467. creatorid:
  8468. description: 创建人
  8469. type: integer
  8470. currencyid:
  8471. description: 报价货币ID
  8472. type: integer
  8473. cutmode:
  8474. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  8475. type: integer
  8476. decimalplace:
  8477. description: 报价小数位
  8478. type: integer
  8479. delistingdate:
  8480. description: 商品退市时间(状态:退市) -- 已作废
  8481. type: string
  8482. delistingmode:
  8483. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  8484. type: integer
  8485. deliveryflag:
  8486. description: 交割标志 - 0:不可交割 1:可交割
  8487. type: integer
  8488. enumdicname:
  8489. description: 单位名称
  8490. type: string
  8491. forceclosemode:
  8492. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  8493. type: integer
  8494. forceclosevalue:
  8495. description: 定期强平参数 [收益权]
  8496. type: integer
  8497. goodscode:
  8498. description: 商品代码(内部)
  8499. type: string
  8500. goodscurrencyid:
  8501. description: 合约货币ID
  8502. type: integer
  8503. goodsgroupid:
  8504. description: 所属商品组ID
  8505. type: integer
  8506. goodsid:
  8507. description: 商品ID(自增ID SEQ_GOODS)
  8508. type: integer
  8509. goodsname:
  8510. description: 商品名称
  8511. type: string
  8512. goodsquotetype:
  8513. description: '合约报价类型: 1-直接报价 2-间接报价'
  8514. type: integer
  8515. goodsstatus:
  8516. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  8517. type: integer
  8518. goodstradetype:
  8519. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  8520. type: integer
  8521. goodunitid:
  8522. description: 报价单位ID
  8523. type: integer
  8524. hasquoter:
  8525. description: 是否有报价商 - 0:无报价商 1:有报价商
  8526. type: integer
  8527. hqprotecttime:
  8528. description: 行情保护时间(秒)
  8529. type: integer
  8530. innerdealmode:
  8531. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  8532. type: integer
  8533. isbuylimited:
  8534. description: 是否限制建仓量 - 0:不限制 1:限制
  8535. type: integer
  8536. isvisible:
  8537. description: 游客是否可见 - 0:不可见 1:可见
  8538. type: integer
  8539. lasttradedate:
  8540. description: 最后交易日期(状态:待退市)
  8541. type: string
  8542. listingdate:
  8543. description: 交易开始日期
  8544. type: string
  8545. marketid:
  8546. description: 所属市场ID
  8547. type: integer
  8548. modifierid:
  8549. description: 修改人
  8550. type: integer
  8551. modifystatus:
  8552. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  8553. type: integer
  8554. modifytime:
  8555. description: 修改时间
  8556. type: string
  8557. outerdealmode:
  8558. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  8559. type: integer
  8560. outgoodscode:
  8561. description: 商品代码(外部)
  8562. type: string
  8563. pictureurl:
  8564. description: 商品图片
  8565. type: string
  8566. qtydecimalplace:
  8567. description: 成交量小数位
  8568. type: integer
  8569. quotegear:
  8570. description: 行情档位(1-10)
  8571. type: integer
  8572. quoteminunit:
  8573. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8574. type: integer
  8575. quoteshowtype:
  8576. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  8577. type: integer
  8578. quoteshowtypeinterval:
  8579. description: 行情报价间隔时间(秒)(成交价时为0)
  8580. type: integer
  8581. relatedgoodsid:
  8582. description: 关联参考商品ID
  8583. type: integer
  8584. remark:
  8585. description: 备注
  8586. type: string
  8587. trademode:
  8588. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8589. 21:竞拍-大宗式 22:受托竞价
  8590. type: integer
  8591. required:
  8592. - goodscode
  8593. - goodsid
  8594. - goodsname
  8595. - marketid
  8596. type: object
  8597. models.ErmcpGoodsBrand:
  8598. properties:
  8599. areauserid:
  8600. description: 所属机构
  8601. type: integer
  8602. brandid:
  8603. description: BrandID(SEQ_SPOTGOODSBRAND)
  8604. type: integer
  8605. brandname:
  8606. description: 品牌名称
  8607. type: string
  8608. createtime:
  8609. description: 创建时间
  8610. type: string
  8611. creatorid:
  8612. description: 创建人
  8613. type: integer
  8614. creatorsrc:
  8615. description: 创建人来源 - 1:管理端 2:终端
  8616. type: integer
  8617. deliverygoodsid:
  8618. description: 现货品种ID
  8619. type: integer
  8620. isvalid:
  8621. description: 是否有效 - 0:无效 1:有效
  8622. type: integer
  8623. updatetime:
  8624. description: 更新时间
  8625. type: string
  8626. updatorid:
  8627. description: 更新人
  8628. type: integer
  8629. updatorsrc:
  8630. description: 更新人来源 - 1:管理端 2:终端
  8631. type: integer
  8632. wrstandardid:
  8633. description: 现货商品ID
  8634. type: integer
  8635. type: object
  8636. models.ErmcpGoodsModel:
  8637. properties:
  8638. areauserid:
  8639. description: 所属机构
  8640. type: integer
  8641. convertfactor:
  8642. description: 标仓系数
  8643. type: number
  8644. createtime:
  8645. description: 创建时间
  8646. type: string
  8647. creatorid:
  8648. description: 创建人
  8649. type: integer
  8650. creatorsrc:
  8651. description: 创建人来源 - 1:管理端 2:终端
  8652. type: integer
  8653. deliverygoodsid:
  8654. description: 现货品种ID
  8655. type: integer
  8656. isvalid:
  8657. description: 是否有效 - 0:无效 1:有效
  8658. type: integer
  8659. modelid:
  8660. description: ModelID(SEQ_SPOTGOODSMODEL)
  8661. type: integer
  8662. modelname:
  8663. description: 型号名称
  8664. type: string
  8665. updatetime:
  8666. description: 更新时间
  8667. type: string
  8668. updatorid:
  8669. description: 更新人
  8670. type: integer
  8671. updatorsrc:
  8672. description: 更新人来源 - 1:管理端 2:终端
  8673. type: integer
  8674. wrstandardid:
  8675. description: 现货商品ID
  8676. type: integer
  8677. type: object
  8678. models.ErmcpHisExposure:
  8679. properties:
  8680. needhedgeexposoure:
  8681. description: 应套保敞口
  8682. type: number
  8683. reckondate:
  8684. description: 日照时期(yyyyMMdd)
  8685. type: string
  8686. totalexposure:
  8687. description: 总敞口
  8688. type: number
  8689. type: object
  8690. models.ErmcpLoginTaAccount:
  8691. properties:
  8692. accountid:
  8693. description: 账号id
  8694. type: integer
  8695. accountname:
  8696. description: 账号名称
  8697. type: string
  8698. type: object
  8699. models.ErmcpLoginUser:
  8700. properties:
  8701. acclist:
  8702. description: 关联资金账号
  8703. items:
  8704. $ref: '#/definitions/models.ErmcpLoginTaAccount'
  8705. type: array
  8706. accountname:
  8707. description: 用户名称
  8708. type: string
  8709. clientroleid:
  8710. description: 角色id(usertype=2)
  8711. type: integer
  8712. createtime:
  8713. description: 创建时间
  8714. type: string
  8715. logincode:
  8716. description: 登录代码
  8717. type: string
  8718. loginid:
  8719. description: 登录id(LOGINID)
  8720. type: integer
  8721. loginname:
  8722. description: 登录名称(loginaccount表中的accountname字段)
  8723. type: string
  8724. loginstatus:
  8725. description: 登录账户状态 - 1:正常 2:冻结 3:无效
  8726. type: integer
  8727. memberuserid:
  8728. description: 所属会员id
  8729. type: integer
  8730. mobile:
  8731. description: 手机号
  8732. type: string
  8733. modifytime:
  8734. description: 修改时间
  8735. type: string
  8736. password:
  8737. description: 密码(不可解密)
  8738. type: string
  8739. rolename:
  8740. description: 角色名称
  8741. type: string
  8742. rolestatus:
  8743. description: 角色状态 1-启用 2-停用
  8744. type: integer
  8745. roletype:
  8746. description: 角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员
  8747. type: string
  8748. userid:
  8749. description: 用户id
  8750. type: integer
  8751. usertype:
  8752. description: 用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  8753. type: integer
  8754. type: object
  8755. models.ErmcpLoginUserEx:
  8756. properties:
  8757. accountstatus:
  8758. description: 账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  8759. type: integer
  8760. mobile:
  8761. description: 手机号
  8762. type: string
  8763. querytype:
  8764. description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  8765. type: integer
  8766. roleid:
  8767. description: 角色id(交易账户->用户id)
  8768. type: integer
  8769. rolename:
  8770. description: 角色名称(交易账户->用户名称)
  8771. type: string
  8772. userlist:
  8773. description: 用户列表
  8774. items:
  8775. $ref: '#/definitions/models.ErmcpLoginUser'
  8776. type: array
  8777. usertype:
  8778. description: 用户类型 2-机构 7-企业成员(云平台)
  8779. type: integer
  8780. type: object
  8781. models.ErmcpMiddleGoodsModel:
  8782. properties:
  8783. areauserid:
  8784. description: 机构用户ID
  8785. type: integer
  8786. createtime:
  8787. description: 修改时间
  8788. type: string
  8789. enumdicname:
  8790. description: 单位名称
  8791. type: string
  8792. evaluateratio:
  8793. description: 估价系数
  8794. type: number
  8795. goodsgroupid:
  8796. description: 关联期货品种ID
  8797. type: integer
  8798. goodsunitid:
  8799. description: 单位ID
  8800. type: integer
  8801. isvalid:
  8802. description: 状态 0-无效(停用) 1-有效(正常)
  8803. type: integer
  8804. middlegoodscode:
  8805. description: 套保品种代码
  8806. type: string
  8807. middlegoodsid:
  8808. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  8809. type: integer
  8810. middlegoodsname:
  8811. description: 套保品种名称
  8812. type: string
  8813. modifytime:
  8814. description: 修改时间
  8815. type: string
  8816. needarbitrageratio:
  8817. description: 套利比例
  8818. type: number
  8819. needhedgeratio:
  8820. description: 套保比率
  8821. type: number
  8822. qtydecimalplace:
  8823. description: 数量小数位
  8824. type: integer
  8825. relatedgoodsid:
  8826. description: 关联交易商品ID
  8827. type: integer
  8828. relatedgoodstype:
  8829. description: 关联商品类型 - 1:期货合约 2:现货品种
  8830. type: integer
  8831. remark:
  8832. description: 备注
  8833. type: string
  8834. type: object
  8835. models.ErmcpMiddlegoodsRelateGoods:
  8836. properties:
  8837. agreeunit:
  8838. description: 合约乘数
  8839. type: number
  8840. convertratio:
  8841. description: 折算系数
  8842. type: number
  8843. enumdicname:
  8844. description: 单位名称(交易商品)
  8845. type: string
  8846. goodscode:
  8847. description: 交易商品代码
  8848. type: string
  8849. goodsgroupid:
  8850. description: 交易品种id
  8851. type: integer
  8852. goodsid:
  8853. description: 商品Id
  8854. type: integer
  8855. goodsname:
  8856. description: 交易商品名称
  8857. type: string
  8858. goodunitid:
  8859. description: 交易商品单位id
  8860. type: integer
  8861. middlegoodsid:
  8862. description: 套保商品id
  8863. type: integer
  8864. middlegoodsname:
  8865. description: 套保商品名称
  8866. type: string
  8867. middlegoodsswcode:
  8868. description: 套保商品代码
  8869. type: string
  8870. needarbitrageratio:
  8871. description: 应套利比例
  8872. type: number
  8873. needhedgeratio:
  8874. description: 应套保比例
  8875. type: number
  8876. type: object
  8877. models.ErmcpRole:
  8878. properties:
  8879. areauserid:
  8880. description: 所属机构
  8881. type: integer
  8882. autoid:
  8883. description: 角色ID(自增ID)
  8884. type: integer
  8885. modifierid:
  8886. description: 修改人(创建人)
  8887. type: integer
  8888. modifiername:
  8889. description: 修改人名称
  8890. type: string
  8891. modifytime:
  8892. description: 修改时间(创建时间)
  8893. type: string
  8894. rolename:
  8895. description: 角色名称
  8896. type: string
  8897. rolestatus:
  8898. description: 角色状态 - 1:启用 2:停用
  8899. type: integer
  8900. roletype:
  8901. description: 角色类型 - 1- 管理端 2- 交易端
  8902. type: integer
  8903. type: object
  8904. models.ErmcpRoleMenu:
  8905. properties:
  8906. iconame:
  8907. description: 菜单图标
  8908. type: string
  8909. ishadrole:
  8910. description: 是否有权限
  8911. type: boolean
  8912. menutype:
  8913. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 5:PCWEB(v6)
  8914. type: integer
  8915. parentcode:
  8916. description: 上级资源代码
  8917. type: string
  8918. remark:
  8919. description: 菜单备注
  8920. type: string
  8921. resourcecode:
  8922. description: 菜单代码
  8923. type: string
  8924. resourcelevel:
  8925. description: 级别
  8926. type: integer
  8927. resourcename:
  8928. description: 菜单名称
  8929. type: string
  8930. roleid:
  8931. description: 角色id
  8932. type: integer
  8933. sort:
  8934. description: 排序
  8935. type: integer
  8936. url:
  8937. description: URL
  8938. type: string
  8939. userid:
  8940. description: 用户id
  8941. type: integer
  8942. type: object
  8943. models.ErmcpRoleMenuEx:
  8944. properties:
  8945. menu:
  8946. $ref: '#/definitions/models.ErmcpRoleMenu'
  8947. description: 父级菜单
  8948. subMenu:
  8949. description: 子级菜单
  8950. items:
  8951. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  8952. type: array
  8953. type: object
  8954. models.ErmcpSpotContractModelEx:
  8955. properties:
  8956. accountname:
  8957. description: 套期主体
  8958. type: string
  8959. amount:
  8960. description: 金额 [1:一口价、3:暂定价]
  8961. type: number
  8962. attachment:
  8963. description: 附件
  8964. type: string
  8965. auditremark:
  8966. description: 审核意见
  8967. type: string
  8968. audittime:
  8969. description: 审核时间
  8970. type: string
  8971. avgprice:
  8972. description: 定价均价 = 已定价金额 / 已定价量
  8973. type: number
  8974. brandname:
  8975. description: 品牌名称
  8976. type: string
  8977. buyuserid:
  8978. description: 采购方ID
  8979. type: integer
  8980. buyusername:
  8981. description: 采购方名称
  8982. type: string
  8983. contracctstatus:
  8984. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  8985. type: integer
  8986. contractmargin:
  8987. description: 合同保证金
  8988. type: number
  8989. contractno:
  8990. description: '[合同编号]现货合同编号'
  8991. type: string
  8992. contracttype:
  8993. description: '[合同类型]现货合同类型 - 1:采购 -1:销售'
  8994. type: integer
  8995. convertfactor:
  8996. description: 标仓系数
  8997. type: number
  8998. createtime:
  8999. description: 创建时间
  9000. type: string
  9001. customername:
  9002. description: 对手方
  9003. type: string
  9004. customeruserid:
  9005. description: 客户ID
  9006. type: integer
  9007. deliveryenddate:
  9008. description: 交收期(结束)
  9009. type: string
  9010. deliverygoodscode:
  9011. description: 现货品种代码
  9012. type: string
  9013. deliverygoodsid:
  9014. description: 现货品种ID
  9015. type: integer
  9016. deliverygoodsname:
  9017. description: 现货品种名称
  9018. type: string
  9019. deliverystartdate:
  9020. description: 交收期(开始)
  9021. type: string
  9022. enddate:
  9023. description: 点价结束日期 [2:点价 3:暂定价]
  9024. type: string
  9025. enumdicname:
  9026. description: 单位名称
  9027. type: string
  9028. goodscode:
  9029. description: 点价合约代码
  9030. type: string
  9031. goodsid:
  9032. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  9033. type: integer
  9034. goodsname:
  9035. description: 点价商品名称
  9036. type: string
  9037. isrelated:
  9038. description: 是否已关联计划项目 - 0:否 1:是
  9039. type: integer
  9040. isrelated2:
  9041. description: 是否已关联现货项目 - 0:否 1:是
  9042. type: integer
  9043. margin:
  9044. description: 当前保证金
  9045. type: number
  9046. modelname:
  9047. description: 型号名称
  9048. type: string
  9049. price:
  9050. description: 价格\暂定价 [1:一口价、3:暂定价]
  9051. type: number
  9052. pricedamount:
  9053. description: 已定价金额 = (点价价格+升贴水) * 数量
  9054. type: number
  9055. pricedqty:
  9056. description: 已定价量
  9057. type: number
  9058. pricemove:
  9059. description: 升贴水 [2:点价 3:暂定价]
  9060. type: number
  9061. pricetype:
  9062. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  9063. type: integer
  9064. producttype:
  9065. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  9066. type: integer
  9067. qty:
  9068. description: '[合同数量]数量'
  9069. type: number
  9070. remark:
  9071. description: 备注
  9072. type: string
  9073. selluserid:
  9074. description: 销售方ID
  9075. type: integer
  9076. sellusername:
  9077. description: 销售方名称
  9078. type: string
  9079. spotamount:
  9080. description: 合同现货金额 [不含升贴水]
  9081. type: number
  9082. spotavgprice:
  9083. description: 现货均价 = 合同现货金额 / 已定价量
  9084. type: number
  9085. spotcontractid:
  9086. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  9087. type: string
  9088. spotgoodsbrandid:
  9089. description: 现货品牌ID
  9090. type: integer
  9091. spotgoodsdesc:
  9092. description: 商品型号
  9093. type: string
  9094. spotgoodsmodelid:
  9095. description: 现货型号ID
  9096. type: integer
  9097. startdate:
  9098. description: 点价开始日期 [2:点价 3:暂定价]
  9099. type: string
  9100. tradeuserid:
  9101. description: 交易用户ID
  9102. type: integer
  9103. unpricedqty:
  9104. description: 未定价量 = 合同数量 - 已定价量
  9105. type: number
  9106. updatetime:
  9107. description: 更新时间
  9108. type: string
  9109. userid:
  9110. description: 机构ID
  9111. type: integer
  9112. wrstandardcode:
  9113. description: 现货商品代码
  9114. type: string
  9115. wrstandardid:
  9116. description: 现货商品ID
  9117. type: integer
  9118. wrstandardname:
  9119. description: '[现货商品]现货商品名称'
  9120. type: string
  9121. type: object
  9122. models.ErmcpTaAccount:
  9123. properties:
  9124. accountid:
  9125. description: 账户id
  9126. type: integer
  9127. accountname:
  9128. description: 账户名称
  9129. type: string
  9130. currencyid:
  9131. description: 币种id
  9132. type: integer
  9133. hedgeaccountcode:
  9134. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  9135. type: string
  9136. ismain:
  9137. description: 是否主账户 0-否 1-是
  9138. type: integer
  9139. parentaccountid:
  9140. description: 父账户id
  9141. type: integer
  9142. relateduserid:
  9143. description: 关联userid
  9144. type: integer
  9145. tradefeetmpid:
  9146. description: 手续费模板id
  9147. type: integer
  9148. tradefeetmpname:
  9149. description: 手续费模板名称
  9150. type: string
  9151. trademargintmpid:
  9152. description: 保证金模板id
  9153. type: integer
  9154. trademargintmpname:
  9155. description: 保证金模板名称
  9156. type: string
  9157. traderatetmpid:
  9158. description: 汇率模板id
  9159. type: integer
  9160. traderatetmpname:
  9161. description: 汇率模板名称
  9162. type: string
  9163. tradestatus:
  9164. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  9165. type: integer
  9166. userid:
  9167. description: 用户id
  9168. type: integer
  9169. type: object
  9170. models.ErmcpTaAccountEx:
  9171. properties:
  9172. mainAcc:
  9173. $ref: '#/definitions/models.ErmcpTaAccountM'
  9174. description: 主账号
  9175. subacclist:
  9176. description: 子账号列表
  9177. items:
  9178. $ref: '#/definitions/models.ErmcpTaAccount'
  9179. type: array
  9180. type: object
  9181. models.ErmcpTaAccountInfo:
  9182. properties:
  9183. accountid:
  9184. description: 资金账户ID
  9185. type: integer
  9186. accountname:
  9187. description: 账户名称
  9188. type: string
  9189. balance:
  9190. description: 期初余额
  9191. type: number
  9192. capitalbalance:
  9193. description: 本金余额[外部子账户实际出入金余额]
  9194. type: number
  9195. closepl:
  9196. description: 今日平仓盈亏
  9197. type: number
  9198. creditdecrease:
  9199. description: 今日授信减少
  9200. type: number
  9201. creditincrease:
  9202. description: 今日授信增加
  9203. type: number
  9204. curdebt:
  9205. description: 期末欠款
  9206. type: number
  9207. currencyid:
  9208. description: 货币ID
  9209. type: integer
  9210. currentbalance:
  9211. description: 期末余额
  9212. type: number
  9213. freezecharge:
  9214. description: 手续费冻结
  9215. type: number
  9216. freezemargin:
  9217. description: 冻结保证金
  9218. type: number
  9219. fromaccountid:
  9220. description: 所属上级账户
  9221. type: integer
  9222. inamount:
  9223. description: 今日入金金额(包括三方入金)
  9224. type: number
  9225. ismain:
  9226. description: 是否母账号 0:不是母账户 1:是母账户
  9227. type: integer
  9228. mortgagecredit:
  9229. description: 授信金额
  9230. type: number
  9231. oridebt:
  9232. description: 期初欠款
  9233. type: number
  9234. orifreezecharge:
  9235. description: 期初手续费冻结
  9236. type: number
  9237. orifreezemargin:
  9238. description: 期初冻结保证金
  9239. type: number
  9240. orimortgagecredit:
  9241. description: 期初授信金额
  9242. type: number
  9243. oriothercredit:
  9244. description: 期初其它授信金额
  9245. type: number
  9246. oriotherfreezemargin:
  9247. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  9248. type: number
  9249. orioutamountfreeze:
  9250. description: 期初出金冻结
  9251. type: number
  9252. oriusedmargin:
  9253. description: 期初占用保证金
  9254. type: number
  9255. othercredit:
  9256. description: 其它授信金额
  9257. type: number
  9258. othercreditdecrease:
  9259. description: 今日其它授信减少
  9260. type: number
  9261. othercreditincrease:
  9262. description: 今日其它授信增加
  9263. type: number
  9264. otherfreezemargin:
  9265. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  9266. type: number
  9267. outamount:
  9268. description: 今日出金金额(包括三方出金)
  9269. type: number
  9270. outamountfreeze:
  9271. description: 出金冻结
  9272. type: number
  9273. outthreshold:
  9274. description: 出金阈值
  9275. type: number
  9276. parentaccountid:
  9277. description: 所属根账号
  9278. type: integer
  9279. paycharge:
  9280. description: 今日手续费支出
  9281. type: number
  9282. relateduserid:
  9283. description: 关联用户
  9284. type: integer
  9285. signstatus:
  9286. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  9287. type: integer
  9288. sublevelpath:
  9289. description: 账号层级路径(逗号分隔,首尾加逗号)
  9290. type: string
  9291. taaccounttype:
  9292. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  9293. type: integer
  9294. thirdinamount:
  9295. description: 今日三方入金
  9296. type: number
  9297. thirdoutamount:
  9298. description: 今日三方出金
  9299. type: number
  9300. tradestatus:
  9301. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  9302. type: integer
  9303. transferamount:
  9304. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  9305. type: number
  9306. usedmargin:
  9307. description: 占用保证金
  9308. type: number
  9309. userid:
  9310. description: 用户ID
  9311. type: integer
  9312. type: object
  9313. models.ErmcpTaAccountM:
  9314. properties:
  9315. accountid:
  9316. description: 账户id
  9317. type: integer
  9318. accountname:
  9319. description: 账户名称
  9320. type: string
  9321. currencyid:
  9322. description: 币种id
  9323. type: integer
  9324. fcid:
  9325. description: 期货公司id
  9326. type: integer
  9327. fcname:
  9328. description: 期货公司代码
  9329. type: string
  9330. hedgeaccountcode:
  9331. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  9332. type: string
  9333. ismain:
  9334. description: 是否主账户 0-否 1-是
  9335. type: integer
  9336. parentaccountid:
  9337. description: 父账户id
  9338. type: integer
  9339. relateduserid:
  9340. description: 关联userid
  9341. type: integer
  9342. tradefeetmpid:
  9343. description: 手续费模板id
  9344. type: integer
  9345. tradefeetmpname:
  9346. description: 手续费模板名称
  9347. type: string
  9348. trademargintmpid:
  9349. description: 保证金模板id
  9350. type: integer
  9351. trademargintmpname:
  9352. description: 保证金模板名称
  9353. type: string
  9354. traderatetmpid:
  9355. description: 汇率模板id
  9356. type: integer
  9357. traderatetmpname:
  9358. description: 汇率模板名称
  9359. type: string
  9360. tradestatus:
  9361. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  9362. type: integer
  9363. userid:
  9364. description: 用户id
  9365. type: integer
  9366. type: object
  9367. models.ErmcpTradeConfigTMP:
  9368. properties:
  9369. areauserid:
  9370. description: 所属机构
  9371. type: integer
  9372. basiccurrencyid:
  9373. description: 基本币种ID[汇率] - 目标币种
  9374. type: integer
  9375. mainaccountid:
  9376. description: 主账户ID
  9377. type: integer
  9378. modifierid:
  9379. description: 修改人
  9380. type: integer
  9381. remark:
  9382. description: 备注
  9383. type: string
  9384. tradeconfigtmpid:
  9385. description: 交易配置模板ID(SEQ_TRADECONFIGTMP)
  9386. type: integer
  9387. tradeconfigtmpname:
  9388. description: 交易配置模板名称
  9389. type: string
  9390. tradeconfigtmptype:
  9391. description: 交易配置模板类型 - 1:保证金 2:手续费 3:汇率
  9392. type: integer
  9393. updatetime:
  9394. description: 更新时间
  9395. type: string
  9396. type: object
  9397. models.Ermcpjrlinkpos:
  9398. properties:
  9399. areauserid:
  9400. description: 所属企业
  9401. type: integer
  9402. averageprice:
  9403. description: 持仓均价 (TotalBuyHoldAmount - TotalSellHoldAmount) / NetQty
  9404. type: number
  9405. closepl:
  9406. description: 总平仓盈亏 [期货损益]
  9407. type: number
  9408. executeprice:
  9409. description: 执行价 - 1:期货单 为 0
  9410. type: integer
  9411. futurehedgeqty:
  9412. description: 期货套期量
  9413. type: number
  9414. goodsid:
  9415. description: 期货合约
  9416. type: integer
  9417. middlegoodscode:
  9418. description: 套保商品代码
  9419. type: string
  9420. middlegoodsname:
  9421. description: 套保商品名称
  9422. type: string
  9423. netqty:
  9424. description: 净头寸
  9425. type: number
  9426. optioncode:
  9427. description: 期权代码
  9428. type: string
  9429. ordertype:
  9430. description: 单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单
  9431. type: integer
  9432. reckonpl:
  9433. description: 总盈亏(平仓盈亏 + 结算盈亏 - 手续费)
  9434. type: number
  9435. spotcontractid:
  9436. description: 现货ID [套期项目ID - 金瑞:合同\虚拟合同ID
  9437. type: string
  9438. todayfutureclosepl:
  9439. description: 今日平仓盈亏
  9440. type: number
  9441. totalbuyamount:
  9442. description: 买金额 [期货]
  9443. type: number
  9444. totalbuyholdamount:
  9445. description: 买持仓总金额[期货]
  9446. type: number
  9447. totalbuyqty:
  9448. description: 买数量
  9449. type: number
  9450. totalcharge:
  9451. description: 手续费
  9452. type: number
  9453. totalpremium:
  9454. description: 权利金 [期权]
  9455. type: number
  9456. totalsellamount:
  9457. description: 卖金额 [期货]
  9458. type: number
  9459. totalsellholdamount:
  9460. description: 卖持仓总金额[期货]
  9461. type: number
  9462. totalsellqty:
  9463. description: 卖数量
  9464. type: number
  9465. updatetime:
  9466. description: 更新时间
  9467. type: string
  9468. required:
  9469. - spotcontractid
  9470. type: object
  9471. models.Ermcppatradelinkdetail:
  9472. properties:
  9473. agreeunit:
  9474. description: 合约乘数
  9475. type: number
  9476. amount:
  9477. description: 金额 = RelatedLot * TradePrice * AgreeUnit
  9478. type: number
  9479. areauserid:
  9480. description: 所属机构
  9481. type: integer
  9482. bizsubjectid:
  9483. description: 归属业务部门ID - SubjectID
  9484. type: integer
  9485. buyorsell:
  9486. description: 方向 - 0:买 1:卖
  9487. type: integer
  9488. convertratio:
  9489. description: 品种系数
  9490. type: number
  9491. createtime:
  9492. description: 创建时间
  9493. type: string
  9494. creatorid:
  9495. description: 创建人ID
  9496. type: integer
  9497. creatorsrc:
  9498. description: 创建人来源 - 1:管理端 2:终端 3:交易
  9499. type: integer
  9500. goodsgroupid:
  9501. description: 对冲品种ID[期货合约商品组ID]
  9502. type: integer
  9503. goodsid:
  9504. description: 商品ID
  9505. type: integer
  9506. hedgeditemid:
  9507. description: 现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]
  9508. type: integer
  9509. hedgeflag:
  9510. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  9511. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目
  9512. type: integer
  9513. linkdetailid:
  9514. description: 期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)
  9515. type: string
  9516. linkstatus:
  9517. description: 关联状态 - 1:成功 2:失败 3:解绑
  9518. type: integer
  9519. middlegoodsid:
  9520. description: 套保品种ID
  9521. type: integer
  9522. name:
  9523. description: 账户名/子账户
  9524. type: string
  9525. optioncode:
  9526. description: '[期货合约]期权代码 [期权]'
  9527. type: string
  9528. ordertype:
  9529. description: 单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单
  9530. type: integer
  9531. relatedlot:
  9532. description: '[数量]关联手数'
  9533. type: number
  9534. relatedmode:
  9535. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  9536. type: integer
  9537. relatedqty:
  9538. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  9539. type: number
  9540. retcode:
  9541. description: 返回码
  9542. type: integer
  9543. saleuserid:
  9544. description: 业务员ID
  9545. type: integer
  9546. tradedate:
  9547. description: 关联交易日(yyyyMMdd)
  9548. type: string
  9549. tradeid:
  9550. description: '[成交单号]内部成交单ID'
  9551. type: string
  9552. tradelot:
  9553. description: 成交手数
  9554. type: integer
  9555. tradeprice:
  9556. description: '[价格]成交价格'
  9557. type: number
  9558. tradetime:
  9559. description: 日期时间
  9560. type: string
  9561. tradetradedate:
  9562. description: 成交交易日(yyyyMMdd)
  9563. type: string
  9564. required:
  9565. - hedgeditemid
  9566. type: object
  9567. models.Exchangerateconfig:
  9568. properties:
  9569. descurrencyid:
  9570. description: 目标币种ID
  9571. type: integer
  9572. exchangerate:
  9573. description: 汇率
  9574. type: number
  9575. oricurrencyid:
  9576. description: 源币种ID
  9577. type: integer
  9578. remark:
  9579. description: 备注
  9580. type: string
  9581. type: object
  9582. models.Externalexchange:
  9583. properties:
  9584. autoid:
  9585. description: AutoID - SEQ_EXTERNALEXCHANGE
  9586. type: integer
  9587. exchangefullname:
  9588. description: 外部交易所全称
  9589. type: string
  9590. exexchangecode:
  9591. description: 外部交易所代码
  9592. type: string
  9593. exexchangename:
  9594. description: 外部交易所名称(简称)
  9595. type: string
  9596. ismarketprice:
  9597. description: 是否支持市价 - 0:不支持 1:支持
  9598. type: integer
  9599. quotegear:
  9600. description: 行情档位(1-10)
  9601. type: integer
  9602. showbrokerflag:
  9603. description: 是否显示买卖经纪盘 - 0:不显示 1:显示
  9604. type: integer
  9605. updatetime:
  9606. description: 更新时间
  9607. type: string
  9608. required:
  9609. - autoid
  9610. type: object
  9611. models.Funcmenulist:
  9612. properties:
  9613. iconame:
  9614. description: 菜单图标
  9615. type: string
  9616. menutype:
  9617. description: 菜单类型 1-管理端 2-交易端 3-终端权限
  9618. type: integer
  9619. parentcode:
  9620. description: 上级资源代码
  9621. type: string
  9622. remark:
  9623. description: 备注
  9624. type: string
  9625. resourcecode:
  9626. description: 资源代码
  9627. type: string
  9628. resourcelevel:
  9629. description: 级别 1-一级 2-二级 3-三级 4-四级
  9630. type: integer
  9631. resourcename:
  9632. description: 资源名
  9633. type: string
  9634. sort:
  9635. description: 排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序
  9636. type: integer
  9637. url:
  9638. description: URL
  9639. type: string
  9640. required:
  9641. - resourcecode
  9642. type: object
  9643. models.GZGoods:
  9644. properties:
  9645. cerno:
  9646. description: 证书编号 - 类型:2,4,5
  9647. type: string
  9648. cpcertno:
  9649. description: 金伯利证书编号 - 类型:3
  9650. type: string
  9651. goodsno:
  9652. description: 商品编号
  9653. type: string
  9654. imagepath:
  9655. description: 商品照片(相对地址)
  9656. type: string
  9657. isvalid:
  9658. description: 是否有效 - 0:无效 1:有效
  9659. type: integer
  9660. kppath:
  9661. description: 金伯利证书图片(相对地址) - 类型:3
  9662. type: string
  9663. kpweight:
  9664. description: 金伯利证书重量 - 类型:3
  9665. type: string
  9666. marketprice:
  9667. description: 市场价
  9668. type: string
  9669. mobile:
  9670. description: 手机号码
  9671. type: string
  9672. origin:
  9673. description: 原产地 - 类型:3
  9674. type: string
  9675. price:
  9676. description: 总价(价格) - 类型:1,2,3,4,5
  9677. type: number
  9678. priceper:
  9679. description: 克拉单价 - 类型:1,2,3,5
  9680. type: string
  9681. remark:
  9682. description: 备注
  9683. type: string
  9684. sellusername:
  9685. description: 账户名称(机构名称)
  9686. type: string
  9687. settingmaterial:
  9688. description: 镶嵌材料 - 类型:4
  9689. type: string
  9690. size1:
  9691. description: 尺寸1 - 类型:2,4,5
  9692. type: string
  9693. size2:
  9694. description: 尺寸2 - 类型:2,4,5
  9695. type: string
  9696. size3:
  9697. description: 尺寸3 - 类型:2,4,5
  9698. type: string
  9699. stonedesc:
  9700. description: 配石描述 - 类型:4
  9701. type: string
  9702. userid:
  9703. description: 用户ID
  9704. type: integer
  9705. warehouseid:
  9706. description: 仓库ID
  9707. type: integer
  9708. warehousenamedisplay:
  9709. type: string
  9710. weight:
  9711. description: 总重量(克拉重量) - 类型:1,2,3,4,5
  9712. type: number
  9713. weightavg:
  9714. description: 平均单颗重量 - 类型:1,3
  9715. type: number
  9716. wrpath:
  9717. description: 仓单扫描件(相对地址)
  9718. type: string
  9719. wrstandardid:
  9720. description: 现货商品ID
  9721. type: integer
  9722. zscategory:
  9723. description: 钻石分类 - 枚举”ZSCategory“
  9724. type: integer
  9725. zscategorydisplay:
  9726. type: string
  9727. zscerttype:
  9728. description: 证书类型 - 枚举”ZSCertType“ - 类型:2,4,5
  9729. type: integer
  9730. zscerttypedisplay:
  9731. type: string
  9732. zsclaritytype1:
  9733. description: 净度1 - 枚举”ZSClarityType“ - 类型:1,2,3,4,5
  9734. type: integer
  9735. zsclaritytype1display:
  9736. type: string
  9737. zsclaritytype2:
  9738. description: 净度2 - 枚举”ZSClarityType“ - 类型:1,3
  9739. type: integer
  9740. zsclaritytype2display:
  9741. type: string
  9742. zscolortype1:
  9743. description: 颜色1 - 枚举”ZSColorType“ - 类型:1,2,3,4
  9744. type: integer
  9745. zscolortype1display:
  9746. type: string
  9747. zscolortype2:
  9748. description: 颜色2 - 枚举”ZSColorType“ - 类型:1,3
  9749. type: integer
  9750. zscolortype2display:
  9751. type: string
  9752. zscrystaltype:
  9753. description: 晶型范围 - 枚举“ZSCrystalType“ - 类型:3, 多个,逗号分隔
  9754. type: string
  9755. zscrystaltypedisplay:
  9756. type: string
  9757. zscurrencytype:
  9758. description: 货币类型 - 枚举“ZSCurrencyType”
  9759. type: integer
  9760. zscurrencytypedisplay:
  9761. type: string
  9762. zscurrencytypedisplayunit:
  9763. type: string
  9764. zscuttype1:
  9765. description: 切工1 - 枚举”ZSCutType“ - 类型:1,2,4,5
  9766. type: integer
  9767. zscuttype1display:
  9768. type: string
  9769. zscuttype2:
  9770. description: 切工2 - 枚举”ZSCutType“ - 类型:1
  9771. type: integer
  9772. zscuttype2display:
  9773. type: string
  9774. zsczcolor1type:
  9775. description: 彩钻颜色1 - 枚举”ZSCZColor1Type“ - 类型:5
  9776. type: integer
  9777. zsczcolor1typedisplay:
  9778. type: string
  9779. zsczcolor2type:
  9780. description: 彩钻颜色2 - 枚举”ZSCZColor2Type“ - 类型:5
  9781. type: integer
  9782. zsczcolor2typedisplay:
  9783. type: string
  9784. zsczcolor3type:
  9785. description: 彩钻颜色3 - 枚举”ZSCZColor3Type“ - 类型:5
  9786. type: integer
  9787. zsczcolor3typedisplay:
  9788. type: string
  9789. zsfluorescencetype1:
  9790. description: 荧光1 - 枚举”ZSFluorescenceType“ - 类型:1,2,3,4,5
  9791. type: integer
  9792. zsfluorescencetype1display:
  9793. type: string
  9794. zsfluorescencetype2:
  9795. description: 荧光2 - 枚举”ZSFluorescenceType” - 类型:1,3
  9796. type: integer
  9797. zsfluorescencetype2display:
  9798. type: string
  9799. zspolishtype1:
  9800. description: 抛光度1 - 枚举”ZSPolishType“ - 类型:1,2,4,5
  9801. type: integer
  9802. zspolishtype1display:
  9803. type: string
  9804. zspolishtype2:
  9805. description: 抛光度2 - 枚举”ZSPolishType“ - 类型:1
  9806. type: integer
  9807. zspolishtype2display:
  9808. type: string
  9809. zsshapetype:
  9810. description: 形状 - 枚举”ZSShapeType“ - 类型:1,2,4,5 ;(1为多个,逗号分隔)
  9811. type: string
  9812. zsshapetypedisplay:
  9813. type: string
  9814. zsstyletype:
  9815. description: 款式 - 类型:4
  9816. type: integer
  9817. zsstyletypedisplay:
  9818. type: string
  9819. zssymmetrytype1:
  9820. description: 对称度1 - 枚举”ZSSymmetryType“ - 类型:1,2,4,5
  9821. type: integer
  9822. zssymmetrytype1display:
  9823. type: string
  9824. zssymmetrytype2:
  9825. description: 对称度2 - 枚举”ZSSymmetryType“ - 类型:1
  9826. type: integer
  9827. zssymmetrytype2display:
  9828. type: string
  9829. required:
  9830. - goodsno
  9831. type: object
  9832. models.GZWarehouseinfo:
  9833. properties:
  9834. address:
  9835. description: 详细地址
  9836. type: string
  9837. areauserid:
  9838. description: 所属机构
  9839. type: integer
  9840. autoid:
  9841. description: 自增ID
  9842. type: integer
  9843. cityid:
  9844. description: 市
  9845. type: integer
  9846. contactname:
  9847. description: 联系人
  9848. type: string
  9849. contactnum:
  9850. description: 联系电话
  9851. type: string
  9852. countryid:
  9853. description: 国家
  9854. type: integer
  9855. createtime:
  9856. description: 创建时间
  9857. type: string
  9858. districtid:
  9859. description: 区
  9860. type: integer
  9861. hasvideo:
  9862. description: 是否有视频 - 0:无 1:有
  9863. type: integer
  9864. provinceid:
  9865. description: 省
  9866. type: integer
  9867. remark:
  9868. description: 审核备注
  9869. type: string
  9870. videourl:
  9871. description: 视频地址
  9872. type: string
  9873. warehousecode:
  9874. description: 仓库代码
  9875. type: string
  9876. warehousename:
  9877. description: 仓库名称
  9878. type: string
  9879. warehousestatus:
  9880. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  9881. type: integer
  9882. warehousetype:
  9883. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  9884. type: integer
  9885. type: object
  9886. models.Goods:
  9887. properties:
  9888. agreeunit:
  9889. description: 合约单位
  9890. type: number
  9891. areauserid:
  9892. description: 所属机构
  9893. type: integer
  9894. auditaccountid:
  9895. description: 审核操作员账号
  9896. type: integer
  9897. audittime:
  9898. description: 审核时间
  9899. type: string
  9900. cancelaccountid:
  9901. description: 注销操作员账号
  9902. type: integer
  9903. canceltime:
  9904. description: 注销时间
  9905. type: string
  9906. closepricemode:
  9907. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  9908. type: integer
  9909. closepriceparam:
  9910. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  9911. type: number
  9912. createtime:
  9913. description: 创建时间
  9914. type: string
  9915. creatorid:
  9916. description: 创建人
  9917. type: integer
  9918. currencyid:
  9919. description: 报价货币ID
  9920. type: integer
  9921. cutmode:
  9922. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  9923. type: integer
  9924. decimalplace:
  9925. description: 报价小数位
  9926. type: integer
  9927. delistingdate:
  9928. description: 商品退市时间(状态:退市) -- 已作废
  9929. type: string
  9930. delistingmode:
  9931. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  9932. type: integer
  9933. deliveryflag:
  9934. description: 交割标志 - 0:不可交割 1:可交割
  9935. type: integer
  9936. forceclosemode:
  9937. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  9938. type: integer
  9939. forceclosevalue:
  9940. description: 定期强平参数 [收益权]
  9941. type: integer
  9942. goodscode:
  9943. description: 商品代码(内部)
  9944. type: string
  9945. goodscurrencyid:
  9946. description: 合约货币ID
  9947. type: integer
  9948. goodsgroupid:
  9949. description: 所属商品组ID
  9950. type: integer
  9951. goodsid:
  9952. description: 商品ID(自增ID SEQ_GOODS)
  9953. type: integer
  9954. goodsname:
  9955. description: 商品名称
  9956. type: string
  9957. goodsquotetype:
  9958. description: '合约报价类型: 1-直接报价 2-间接报价'
  9959. type: integer
  9960. goodsstatus:
  9961. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  9962. type: integer
  9963. goodstradetype:
  9964. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  9965. type: integer
  9966. goodunitid:
  9967. description: 报价单位ID
  9968. type: integer
  9969. hasquoter:
  9970. description: 是否有报价商 - 0:无报价商 1:有报价商
  9971. type: integer
  9972. hqprotecttime:
  9973. description: 行情保护时间(秒)
  9974. type: integer
  9975. innerdealmode:
  9976. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  9977. type: integer
  9978. isbuylimited:
  9979. description: 是否限制建仓量 - 0:不限制 1:限制
  9980. type: integer
  9981. isvisible:
  9982. description: 游客是否可见 - 0:不可见 1:可见
  9983. type: integer
  9984. lasttradedate:
  9985. description: 最后交易日期(状态:待退市)
  9986. type: string
  9987. listingdate:
  9988. description: 交易开始日期
  9989. type: string
  9990. marketid:
  9991. description: 所属市场ID
  9992. type: integer
  9993. modifierid:
  9994. description: 修改人
  9995. type: integer
  9996. modifystatus:
  9997. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  9998. type: integer
  9999. modifytime:
  10000. description: 修改时间
  10001. type: string
  10002. outerdealmode:
  10003. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  10004. type: integer
  10005. outgoodscode:
  10006. description: 商品代码(外部)
  10007. type: string
  10008. pictureurl:
  10009. description: 商品图片
  10010. type: string
  10011. qtydecimalplace:
  10012. description: 成交量小数位
  10013. type: integer
  10014. quotegear:
  10015. description: 行情档位(1-10)
  10016. type: integer
  10017. quoteminunit:
  10018. description: 行情最小变动单位 [整数,报价小数位一起使用]
  10019. type: integer
  10020. quoteshowtype:
  10021. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  10022. type: integer
  10023. quoteshowtypeinterval:
  10024. description: 行情报价间隔时间(秒)(成交价时为0)
  10025. type: integer
  10026. remark:
  10027. description: 备注
  10028. type: string
  10029. required:
  10030. - goodscode
  10031. - goodsid
  10032. - goodsname
  10033. - marketid
  10034. type: object
  10035. models.GoodsIDAndName:
  10036. properties:
  10037. goodscode:
  10038. description: 商品代码(内部)
  10039. type: string
  10040. goodsid:
  10041. description: 商品ID(自增ID SEQ_GOODS)
  10042. type: integer
  10043. goodsname:
  10044. description: 商品名称
  10045. type: string
  10046. marketid:
  10047. description: 所属市场ID
  10048. type: integer
  10049. required:
  10050. - goodscode
  10051. - goodsid
  10052. - goodsname
  10053. - marketid
  10054. type: object
  10055. models.Goodsgroup:
  10056. properties:
  10057. agreeunit:
  10058. description: 合约单位
  10059. type: number
  10060. canshort:
  10061. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  10062. type: integer
  10063. closepricemode:
  10064. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  10065. type: integer
  10066. closepriceparam:
  10067. description: 强平最新价浮动比例 - 方式为2时使用
  10068. type: number
  10069. createtime:
  10070. description: 创建时间
  10071. type: string
  10072. creatorid:
  10073. description: 创建人
  10074. type: integer
  10075. currencyid:
  10076. description: 报价货币ID
  10077. type: integer
  10078. decimalplace:
  10079. description: 报价小数位
  10080. type: integer
  10081. exercisetype:
  10082. description: 行权类型[场外期权]-1:欧式期权 2:美式期权
  10083. type: integer
  10084. exexchangeid:
  10085. description: 外部交易所ID[通道交易]
  10086. type: integer
  10087. goodsgroupid:
  10088. description: 商品组ID(自增ID)
  10089. type: integer
  10090. goodsgroupname:
  10091. description: 商品组名称
  10092. type: string
  10093. goodsgroupstatus:
  10094. description: 商品组状态 - 1:正常 2:注销
  10095. type: integer
  10096. goodunitid:
  10097. description: 报价单位ID
  10098. type: integer
  10099. innerdealmode:
  10100. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  10101. type: integer
  10102. isbuylimited:
  10103. description: 是否限制建仓量 - 0:不限制 1:限制
  10104. type: integer
  10105. marketid:
  10106. description: 所属市场ID
  10107. type: integer
  10108. modifierid:
  10109. description: 修改人
  10110. type: integer
  10111. modifytime:
  10112. description: 修改时间
  10113. type: string
  10114. outerdealmode:
  10115. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  10116. type: integer
  10117. outergroupcode:
  10118. description: 外部商品组代码[通道交易]
  10119. type: string
  10120. premiumdecimalplace:
  10121. description: 权利金小数位[场外期权]
  10122. type: integer
  10123. premiumspreadalgorithm:
  10124. description: 权利金点差方式[场外期权] 1:比率 2:固定
  10125. type: integer
  10126. premiumspreadvalue:
  10127. description: 权利金点差值[场外期权]
  10128. type: number
  10129. qtydecimalplace:
  10130. description: 成交量小数位
  10131. type: integer
  10132. quotegear:
  10133. description: 行情档位(1-10)
  10134. type: integer
  10135. quoteminunit:
  10136. description: 行情最小变动单位 [整数,报价小数位一起使用]
  10137. type: integer
  10138. quoterid:
  10139. description: 报价商ID[场外期权]
  10140. type: integer
  10141. quotesourcegroupid:
  10142. description: 所属行情源分组ID[参考行情市场用\通道交易]
  10143. type: integer
  10144. syncgoodsqty:
  10145. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  10146. type: integer
  10147. required:
  10148. - goodsgroupid
  10149. - goodsgroupname
  10150. - goodsgroupstatus
  10151. - marketid
  10152. type: object
  10153. models.Goodssortbypreposition:
  10154. properties:
  10155. goodscode:
  10156. description: 合约代码 - 易盛接口:合约代码=品种代码+合约代码
  10157. type: string
  10158. goodsgroupcode:
  10159. description: 品种代码
  10160. type: string
  10161. prepositionqty:
  10162. description: 昨持仓量
  10163. type: integer
  10164. sortindex:
  10165. description: 排序
  10166. type: integer
  10167. tradedate:
  10168. description: 交易日
  10169. type: string
  10170. updatetime:
  10171. description: 更新时间
  10172. type: string
  10173. required:
  10174. - goodscode
  10175. - tradedate
  10176. type: object
  10177. models.Hedgeinnerholderdetail:
  10178. properties:
  10179. accountid:
  10180. description: 账号ID
  10181. type: integer
  10182. buyorsell:
  10183. description: 方向 - 0:买 1:卖
  10184. type: integer
  10185. freezeqty:
  10186. description: 冻结数量 - 按单平使用
  10187. type: integer
  10188. goodsid:
  10189. description: 商品ID
  10190. type: integer
  10191. holderamount:
  10192. description: 持仓金额 [商品币种]
  10193. type: number
  10194. holderdays:
  10195. description: 剩余冻结天数
  10196. type: integer
  10197. holderprice:
  10198. description: 持仓价格
  10199. type: number
  10200. holderqty:
  10201. description: 持仓数量
  10202. type: integer
  10203. marketid:
  10204. description: 市场ID
  10205. type: integer
  10206. openprice:
  10207. description: 建仓价格
  10208. type: number
  10209. openqty:
  10210. description: 建仓数量
  10211. type: integer
  10212. parentaccountid:
  10213. description: 所属母账户
  10214. type: integer
  10215. releaseamount:
  10216. description: 释放持仓金额[商品币种]
  10217. type: number
  10218. tradeamount:
  10219. description: 成交金额[账户]
  10220. type: number
  10221. tradedate:
  10222. description: 交易日(yyyyMMdd)
  10223. type: string
  10224. tradeid:
  10225. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10226. type: string
  10227. tradetime:
  10228. description: 交易时间
  10229. type: string
  10230. required:
  10231. - buyorsell
  10232. - tradeid
  10233. type: object
  10234. models.Hedgemarketopenlog:
  10235. properties:
  10236. accountid:
  10237. description: 资金账号[外部母账户]
  10238. type: integer
  10239. fcname:
  10240. description: 期货公司名称
  10241. type: string
  10242. handlestatus:
  10243. description: 处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp
  10244. type: integer
  10245. marketid:
  10246. description: 市场ID
  10247. type: integer
  10248. status:
  10249. description: 状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败
  10250. type: integer
  10251. tradedate:
  10252. description: 交易日(yyyyMMdd)
  10253. type: string
  10254. updatetime:
  10255. description: 更新时间
  10256. type: string
  10257. required:
  10258. - accountid
  10259. type: object
  10260. models.InternalEnableTradeDetail:
  10261. properties:
  10262. agreeunit:
  10263. description: 合约乘数
  10264. type: number
  10265. areauserid:
  10266. description: 企业ID
  10267. type: integer
  10268. convertratio:
  10269. description: 品种系数
  10270. type: number
  10271. deliverygoodscode:
  10272. description: 现货品种代码
  10273. type: string
  10274. deliverygoodsid:
  10275. description: 现货品种ID(SEQ_DELIVERYGOODS)
  10276. type: integer
  10277. deliverygoodsname:
  10278. description: 现货品种名称
  10279. type: string
  10280. futurehedgeqty:
  10281. description: '[已关联数量]期货持仓套期量'
  10282. type: number
  10283. goodsid:
  10284. description: 期货合约ID
  10285. type: integer
  10286. hedgeditemid:
  10287. description: 被套期项目ID
  10288. type: string
  10289. hedgeditemnum:
  10290. description: 项目编号
  10291. type: string
  10292. tradeuserid:
  10293. description: 交易用户ID
  10294. type: integer
  10295. unexehedgeqty:
  10296. description: 未执行套期量 = 未执行现货量*折算系数* (1/(1+增值税)) * 套期比例(项目上)
  10297. type: number
  10298. unexespotqty:
  10299. description: 未执行现货量
  10300. type: number
  10301. wrstandardcode:
  10302. description: 现货品类代码
  10303. type: string
  10304. wrstandardid:
  10305. description: 现货品类ID(SEQ_WRSTANDARD)
  10306. type: integer
  10307. wrstandardname:
  10308. description: 现货品类名称
  10309. type: string
  10310. required:
  10311. - areauserid
  10312. - goodsid
  10313. - tradeuserid
  10314. type: object
  10315. models.InternalUncorrelatedTradeDetail:
  10316. properties:
  10317. accountid:
  10318. description: 账号ID
  10319. type: integer
  10320. accountname:
  10321. description: 套期主体
  10322. type: string
  10323. agreeunit:
  10324. description: 合约乘数
  10325. type: number
  10326. areauserid:
  10327. description: 所属机构
  10328. type: integer
  10329. bizsubjectid:
  10330. description: 归属业务部门ID - SubjectID
  10331. type: integer
  10332. buyorsell:
  10333. description: 方向 - 0:买 1:卖
  10334. type: integer
  10335. channelbuildtype:
  10336. description: 委托单据类型 0:无 1:建仓 2:平仓
  10337. type: integer
  10338. convertratio:
  10339. description: 品种系数
  10340. type: number
  10341. createtime:
  10342. description: 创建时间
  10343. type: string
  10344. creatorid:
  10345. description: 创建人ID
  10346. type: integer
  10347. creatorsrc:
  10348. description: 创建人来源 - 1:管理端 2:终端 3:交易
  10349. type: integer
  10350. enableqty:
  10351. description: 项目可关联数量 = 套保品种数量 - 关联数量
  10352. type: number
  10353. enumdicname:
  10354. description: 单位
  10355. type: string
  10356. goodscode:
  10357. description: 合约代码
  10358. type: string
  10359. goodsgroupid:
  10360. description: 对冲品种ID[期货合约商品组ID]
  10361. type: integer
  10362. goodsid:
  10363. description: 商品ID
  10364. type: integer
  10365. goodsname:
  10366. description: 合约名称
  10367. type: string
  10368. hedgeditemid:
  10369. description: 现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]
  10370. type: integer
  10371. hedgeflag:
  10372. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  10373. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目
  10374. type: integer
  10375. linkdetailid:
  10376. description: 期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)
  10377. type: string
  10378. linkstatus:
  10379. description: 关联状态 - 1:成功 2:失败 3:解绑
  10380. type: integer
  10381. middlegoodsid:
  10382. description: 套保品种ID
  10383. type: integer
  10384. middlegoodsqty:
  10385. description: '[套期商品数量]套保品种数量 = TradeQty * AgreeUnit * ConvertRatio'
  10386. type: number
  10387. relatedlot:
  10388. description: '[数量]关联手数'
  10389. type: number
  10390. relatedmode:
  10391. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  10392. type: integer
  10393. relatedqty:
  10394. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  10395. type: number
  10396. retcode:
  10397. description: 返回码
  10398. type: integer
  10399. saleuserid:
  10400. description: 业务员ID
  10401. type: integer
  10402. tradedate:
  10403. description: 关联交易日(yyyyMMdd)
  10404. type: string
  10405. tradeid:
  10406. description: 成交单号
  10407. type: string
  10408. tradelot:
  10409. description: 成交手数
  10410. type: integer
  10411. tradeprice:
  10412. description: 成交价
  10413. type: number
  10414. tradetime:
  10415. description: 成交时间
  10416. type: string
  10417. tradetradedate:
  10418. description: 成交交易日(yyyyMMdd)
  10419. type: string
  10420. tradeuserid:
  10421. description: 交易用户ID
  10422. type: integer
  10423. type: object
  10424. models.Loginaccount:
  10425. properties:
  10426. accountname:
  10427. description: 账户名称
  10428. type: string
  10429. canoutin:
  10430. description: 是否可出入金 - 0:不可 1:可
  10431. type: integer
  10432. clientroleid:
  10433. description: 终端角色ID
  10434. type: integer
  10435. haslogined:
  10436. description: 是否已登录 - 0:未登录 1:已登录
  10437. type: integer
  10438. hasupdatedpwd:
  10439. description: 是否已更改密码 - 0:未修改 1:已修改
  10440. type: integer
  10441. lastloginip:
  10442. description: 最新登录地址
  10443. type: string
  10444. lastloginmode:
  10445. description: 最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端
  10446. 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  10447. type: integer
  10448. lastloginremark:
  10449. description: 最新登录描述
  10450. type: string
  10451. lastlogintime:
  10452. description: 最新登录时间
  10453. type: string
  10454. logincode:
  10455. description: 登录代码
  10456. type: string
  10457. loginfailnum:
  10458. description: 连续登录失败次数(登录成功时清零)
  10459. type: integer
  10460. loginid:
  10461. description: 登陆账号
  10462. type: integer
  10463. loginport:
  10464. description: 最新登录端口
  10465. type: integer
  10466. loginstatus:
  10467. description: 登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)
  10468. type: integer
  10469. loginusertype:
  10470. description: 登录账号类型 - 1:投资者 2:机构交易员
  10471. type: integer
  10472. mobile:
  10473. description: 手机号码(加密存储)
  10474. type: string
  10475. modifierid:
  10476. description: 修改人
  10477. type: integer
  10478. modifysrc:
  10479. description: 审核来源 - 1:管理端 2:终端
  10480. type: integer
  10481. modifytime:
  10482. description: 修改时间
  10483. type: string
  10484. password:
  10485. description: 登陆密码
  10486. type: string
  10487. pwdwrongcount:
  10488. description: 密码错误次数
  10489. type: integer
  10490. relateduserid:
  10491. description: 关联用户ID(机构)
  10492. type: integer
  10493. taaccountrighttype:
  10494. description: 资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限
  10495. type: integer
  10496. unfreezetime:
  10497. description: 账户解冻时间
  10498. type: string
  10499. userid:
  10500. description: 用户ID
  10501. type: integer
  10502. required:
  10503. - loginid
  10504. type: object
  10505. models.MainAccountInfo:
  10506. properties:
  10507. accountid:
  10508. description: 账号id
  10509. type: integer
  10510. accountname:
  10511. description: 账号名称(taaccount表中的名称)
  10512. type: string
  10513. appid:
  10514. description: AppID
  10515. type: string
  10516. authcode:
  10517. description: 授权码
  10518. type: string
  10519. brokerid:
  10520. description: 经纪商id
  10521. type: string
  10522. fcid:
  10523. description: 期货公司id
  10524. type: integer
  10525. fcname:
  10526. description: 期货公司代码
  10527. type: string
  10528. hedgeaccountcode:
  10529. description: 外部账号代码(主账号登录代码)
  10530. type: string
  10531. hedgeaccountpwd:
  10532. description: 密码
  10533. type: string
  10534. ismain:
  10535. description: 是否主账号
  10536. type: integer
  10537. relateduserid:
  10538. description: 关联用户id
  10539. type: integer
  10540. userid:
  10541. description: 关联用户id
  10542. type: integer
  10543. type: object
  10544. models.Market:
  10545. properties:
  10546. auctionwrtype:
  10547. description: 竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可
  10548. type: integer
  10549. canacceptquote:
  10550. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  10551. type: integer
  10552. cangoodsexercise:
  10553. description: '[期权]是否可现货行权- 0:否 1:是'
  10554. type: integer
  10555. cangoodsexercisetype:
  10556. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  10557. type: integer
  10558. canmanualquotestrike:
  10559. description: 是否可手动报行权价- 0:否 1:是 [期权]
  10560. type: integer
  10561. canmutistage:
  10562. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  10563. type: integer
  10564. canpreexercise:
  10565. description: '[期权]是否可预申报- 0:否 1:是'
  10566. type: integer
  10567. clearinterval:
  10568. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  10569. type: integer
  10570. contracttmp:
  10571. description: 合同模板[荷兰式][竞价式][仓单贸易]
  10572. type: string
  10573. exchareaid:
  10574. description: 所属交易所,可以没有
  10575. type: integer
  10576. goodstype:
  10577. description: 商品类型 - 1:交易商品 2:仓单商品
  10578. type: integer
  10579. hasrebate:
  10580. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  10581. type: integer
  10582. hastradecredit:
  10583. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  10584. type: integer
  10585. haswr:
  10586. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  10587. type: integer
  10588. isdeductmargin:
  10589. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  10590. type: integer
  10591. isrecordsource:
  10592. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  10593. type: integer
  10594. isreleasemargin:
  10595. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  10596. type: integer
  10597. marginformula:
  10598. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  10599. type: integer
  10600. marginformula2:
  10601. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  10602. type: integer
  10603. marketid:
  10604. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  10605. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  10606. type: integer
  10607. marketname:
  10608. description: 市场名称
  10609. type: string
  10610. marketserviceid:
  10611. description: 市场服务ID
  10612. type: integer
  10613. marketstatus:
  10614. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  10615. type: integer
  10616. markettype:
  10617. description: 市场类型- 1:非交易服务 2:交易服务
  10618. type: integer
  10619. matchermode:
  10620. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手
  10621. type: integer
  10622. openmethod:
  10623. description: 开盘模式 - 0 自动 1手动
  10624. type: integer
  10625. otcuserid:
  10626. description: 场外期权做市商[场外期权]
  10627. type: integer
  10628. outersynctime:
  10629. description: 外部同步时间点(h24:mi:ss)[场外期权]
  10630. type: string
  10631. pendingflag:
  10632. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  10633. type: integer
  10634. pendingtime:
  10635. description: 待开市时间[通道交易-对冲](HH:mm)
  10636. type: string
  10637. performancetempid:
  10638. description: 履约计划模板ID - 作废
  10639. type: integer
  10640. premiumquotemode:
  10641. description: 权利金报价方式 - 1:自动 2:手动
  10642. type: integer
  10643. rebateratio:
  10644. description: 返利比率[竞价式]
  10645. type: number
  10646. reckonorder:
  10647. description: 结算顺序
  10648. type: integer
  10649. reckonpricealgorithm:
  10650. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  10651. 6.卖一价 7.买一卖一均价 8.外部结算价'
  10652. type: integer
  10653. reckonpriceparam:
  10654. description: 结算价参数
  10655. type: integer
  10656. reckontime:
  10657. description: 结算时间[通道交易-对冲](HH:mm)
  10658. type: string
  10659. roleprioritytype:
  10660. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  10661. type: integer
  10662. selllistingauditflag:
  10663. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  10664. type: integer
  10665. trademarkettype:
  10666. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  10667. type: integer
  10668. trademode:
  10669. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10670. 21:竞拍-大宗式 22:受托竞价
  10671. type: integer
  10672. tradeproperty:
  10673. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  10674. 8:场外期权
  10675. type: integer
  10676. tradetype:
  10677. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  10678. type: integer
  10679. required:
  10680. - marketid
  10681. - marketstatus
  10682. - openmethod
  10683. - reckonpricealgorithm
  10684. - trademode
  10685. - tradeproperty
  10686. type: object
  10687. models.Marketcalendar:
  10688. properties:
  10689. holidaydate:
  10690. description: 节假日期(yyyy-MM-dd)
  10691. type: string
  10692. marketid:
  10693. description: 市场ID
  10694. type: integer
  10695. type: object
  10696. models.Marketrun:
  10697. properties:
  10698. afternexttradedate:
  10699. description: 下下交易日
  10700. type: string
  10701. clearquoteflag:
  10702. description: 行情清盘标志- 1:未发送 2:已发送 3:已回复
  10703. type: integer
  10704. lastreckondate:
  10705. description: 最新交易日(结算成功)
  10706. type: string
  10707. machinedate:
  10708. description: 机器时间
  10709. type: string
  10710. manualflag:
  10711. description: 手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)
  10712. type: integer
  10713. marketid:
  10714. description: 市场ID
  10715. type: integer
  10716. nexttradedate:
  10717. description: 下一交易日
  10718. type: string
  10719. pretradedate:
  10720. description: 上一交易日
  10721. type: string
  10722. reckonflag:
  10723. description: '结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)'
  10724. type: integer
  10725. runstatus:
  10726. description: 运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始
  10727. 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败
  10728. 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内)
  10729. 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功
  10730. 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始
  10731. 62.今日免清算
  10732. type: integer
  10733. sectionid:
  10734. description: 时间段号[多时段时用]
  10735. type: integer
  10736. tradedate:
  10737. description: 当前交易日(服务) 资金结算完成即变更,供交易服务使用
  10738. type: string
  10739. tradedate2:
  10740. description: 当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  10741. type: string
  10742. updatetime:
  10743. description: 更新时间
  10744. type: string
  10745. required:
  10746. - marketid
  10747. - nexttradedate
  10748. - reckonflag
  10749. - runstatus
  10750. - tradedate
  10751. - tradedate2
  10752. type: object
  10753. models.Messageboard:
  10754. properties:
  10755. contactnum:
  10756. description: 联系电话
  10757. type: string
  10758. createtime:
  10759. description: 创建时间
  10760. type: string
  10761. message:
  10762. description: 留言信息
  10763. type: string
  10764. messageboardid:
  10765. description: 留言簿ID(SEQ_MessageBoard)
  10766. type: integer
  10767. userid:
  10768. description: 用户ID
  10769. type: integer
  10770. required:
  10771. - messageboardid
  10772. type: object
  10773. models.MyBargainApply:
  10774. properties:
  10775. accountid:
  10776. description: 摘牌资金账号
  10777. type: integer
  10778. applyprice:
  10779. description: 申请价格
  10780. type: string
  10781. applyremark:
  10782. description: 申请备注
  10783. type: string
  10784. applystatus:
  10785. description: 申请状态 - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  10786. type: integer
  10787. applytime:
  10788. description: 申请时间
  10789. type: string
  10790. buyorsell:
  10791. description: 买卖 - 0:买 1:卖
  10792. type: integer
  10793. confirmprice:
  10794. description: 可接受价格(拒绝时填写)-作废
  10795. type: number
  10796. confirmqty:
  10797. description: 可接受数量(拒绝时填写)-作废
  10798. type: integer
  10799. confirmremark:
  10800. description: 确认备注
  10801. type: string
  10802. confirmtime:
  10803. description: 确认时间
  10804. type: string
  10805. confirmuserid:
  10806. description: 确认人
  10807. type: integer
  10808. handlestatus:
  10809. description: 处理状态
  10810. type: integer
  10811. ladingbillid:
  10812. description: 摘牌方提单ID [卖]
  10813. type: integer
  10814. marketid:
  10815. description: 市场ID
  10816. type: integer
  10817. matchaccountid:
  10818. description: 挂牌方资金账号
  10819. type: integer
  10820. matchuserid:
  10821. description: 挂牌方用户ID
  10822. type: integer
  10823. qty:
  10824. description: 申请数量
  10825. type: integer
  10826. refprice:
  10827. description: 参考价格
  10828. type: string
  10829. retcode:
  10830. description: 委托返回代码
  10831. type: integer
  10832. sellusername:
  10833. description: 卖方
  10834. type: string
  10835. subnum:
  10836. description: 摘牌方提单子单号 [卖]
  10837. type: integer
  10838. tradedate:
  10839. description: 交易日(yyyyMMdd)
  10840. type: string
  10841. userid:
  10842. description: 摘牌人用户ID
  10843. type: integer
  10844. wrbargainid:
  10845. description: '[询价单号]议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)'
  10846. type: string
  10847. wrtradeorderid:
  10848. description: 关联委托单ID
  10849. type: integer
  10850. required:
  10851. - userid
  10852. type: object
  10853. models.MyBuyOrder:
  10854. properties:
  10855. accountid:
  10856. description: 资金账户ID
  10857. type: integer
  10858. marketid:
  10859. description: 市场ID
  10860. type: integer
  10861. ordertime:
  10862. description: 委托时间
  10863. type: string
  10864. origin:
  10865. description: 原产地
  10866. type: string
  10867. remark:
  10868. description: 备注
  10869. type: string
  10870. userid:
  10871. description: 用户ID
  10872. type: integer
  10873. validtime:
  10874. description: 有效期限
  10875. type: string
  10876. warehouseids:
  10877. description: 仓库ID - 多个, 逗号分隔
  10878. type: string
  10879. warehouseinfosdisplay:
  10880. type: string
  10881. wrtradeorderid:
  10882. description: '[委托单号]买委托单ID(320+Unix秒时间戳(10位)+xxxxxx)'
  10883. type: string
  10884. wrtradeorderstatus:
  10885. 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、
  10886. type: integer
  10887. zscategory:
  10888. description: 钻石分类 - 枚举”ZSCategory“
  10889. type: integer
  10890. zscategorydisplay:
  10891. type: string
  10892. zsclaritytype:
  10893. description: 净度 - 两个, 逗号分隔
  10894. type: string
  10895. zsclaritytypedisplay:
  10896. type: string
  10897. zscolortype:
  10898. description: 颜色 - 两个, 逗号分隔
  10899. type: string
  10900. zscolortypedisplay:
  10901. type: string
  10902. zscrystaltype:
  10903. description: 晶型 - 多个,逗号分隔
  10904. type: string
  10905. zscrystaltypedisplay:
  10906. type: string
  10907. zscurrencytype:
  10908. description: 货币类型 - 多个, 逗号分隔
  10909. type: string
  10910. zscurrencytypedisplay:
  10911. type: string
  10912. zscuttype:
  10913. description: 切工 - 两个, 逗号分隔
  10914. type: string
  10915. zscuttypedisplay:
  10916. type: string
  10917. zsczcolor1type:
  10918. description: 彩钻颜色1, 逗号分隔
  10919. type: string
  10920. zsczcolor1typedisplay:
  10921. type: string
  10922. zsczcolor2type:
  10923. description: 彩钻颜色2, 逗号分隔
  10924. type: string
  10925. zsczcolor2typedisplay:
  10926. type: string
  10927. zsczcolor3type:
  10928. description: 彩钻颜色3, 逗号分隔
  10929. type: string
  10930. zsczcolor3typedisplay:
  10931. type: string
  10932. zsfluorescencetype:
  10933. description: 荧光 - 多个, 逗号分隔
  10934. type: string
  10935. zsfluorescencetypedisplay:
  10936. type: string
  10937. zspolishtype:
  10938. description: 抛光度 - 两个, 逗号分隔
  10939. type: string
  10940. zspolishtypedisplay:
  10941. type: string
  10942. zsshapetype:
  10943. description: 形状 - 多个, 逗号分隔
  10944. type: string
  10945. zsshapetypedisplay:
  10946. type: string
  10947. zssize:
  10948. description: 尺寸 - 两个小数, 逗号分隔
  10949. type: string
  10950. zsstyletype:
  10951. description: 款式 - 多个, 逗号分隔
  10952. type: string
  10953. zsstyletypedisplay:
  10954. type: string
  10955. zssymmetrytype:
  10956. description: 对称度 - 两个, 逗号分隔
  10957. type: string
  10958. zssymmetrytypedisplay:
  10959. type: string
  10960. zstabledisplay:
  10961. description: 求购信息
  10962. type: string
  10963. required:
  10964. - userid
  10965. type: object
  10966. models.MyDeListing:
  10967. properties:
  10968. buyaccountid:
  10969. description: 买方账号ID
  10970. type: integer
  10971. buychargevalue:
  10972. description: 买方手续费
  10973. type: number
  10974. buyorsell:
  10975. description: 方向 - 0:全部 1:买 2:卖
  10976. type: integer
  10977. buyuserid:
  10978. description: 买方用户ID
  10979. type: integer
  10980. deliverygoodsid:
  10981. description: 现货品种ID
  10982. type: integer
  10983. exchangerate:
  10984. description: 汇率
  10985. type: number
  10986. goodsno:
  10987. description: 商品编号
  10988. type: string
  10989. marketid:
  10990. description: 市场ID
  10991. type: integer
  10992. matchusername:
  10993. description: 对手方
  10994. type: string
  10995. oritradeamount:
  10996. description: 成交金额[商品币种]
  10997. type: number
  10998. performanceplanid:
  10999. description: 履约计划ID/合同ID
  11000. type: integer
  11001. qty:
  11002. description: 成交重量
  11003. type: number
  11004. sellaccountid:
  11005. description: 卖方账号ID
  11006. type: integer
  11007. sellchargevalue:
  11008. description: 卖方手续费
  11009. type: number
  11010. selluserid:
  11011. description: 卖方用户ID
  11012. type: integer
  11013. tradeamount:
  11014. description: 成交金额
  11015. type: number
  11016. tradedate:
  11017. description: 交易日(yyyyMMdd)
  11018. type: string
  11019. tradeprice:
  11020. description: 成交价格
  11021. type: number
  11022. tradetime:
  11023. description: 成交时间
  11024. type: string
  11025. userid:
  11026. description: 用户ID
  11027. type: integer
  11028. warehousenamedisplay:
  11029. type: string
  11030. wrfactortypeid:
  11031. description: 仓单要素类型ID
  11032. type: integer
  11033. wrstandardid:
  11034. description: 现货商品ID
  11035. type: integer
  11036. wrtradedetailid:
  11037. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  11038. type: string
  11039. zscategory:
  11040. description: 钻石分类 - 枚举”ZSCategory“
  11041. type: integer
  11042. zscategorydisplay:
  11043. type: string
  11044. zscerttypedisplay:
  11045. type: string
  11046. zsclaritytype1display:
  11047. type: string
  11048. zsclaritytype2display:
  11049. type: string
  11050. zscolortype1display:
  11051. type: string
  11052. zscolortype2display:
  11053. type: string
  11054. zscrystaltypedisplay:
  11055. type: string
  11056. zscurrencytype:
  11057. description: 货币类型 - 枚举“ZSCurrencyType”
  11058. type: integer
  11059. zscurrencytypedisplay:
  11060. type: string
  11061. zscurrencytypedisplayunit:
  11062. type: string
  11063. zscuttype1display:
  11064. type: string
  11065. zscuttype2display:
  11066. type: string
  11067. zsczcolor1typedisplay:
  11068. type: string
  11069. zsczcolor2typedisplay:
  11070. type: string
  11071. zsczcolor3typedisplay:
  11072. type: string
  11073. zsfluorescencetype1display:
  11074. type: string
  11075. zsfluorescencetype2display:
  11076. type: string
  11077. zspolishtype1display:
  11078. type: string
  11079. zspolishtype2display:
  11080. type: string
  11081. zsshapetypedisplay:
  11082. type: string
  11083. zsstyletypedisplay:
  11084. type: string
  11085. zssymmetrytype1display:
  11086. type: string
  11087. zssymmetrytype2display:
  11088. type: string
  11089. required:
  11090. - userid
  11091. type: object
  11092. models.MyDelistingApply:
  11093. properties:
  11094. applyprice:
  11095. description: 申请价格
  11096. type: number
  11097. applyqty:
  11098. description: 申请数量
  11099. type: number
  11100. applyremark:
  11101. description: 申请备注
  11102. type: string
  11103. applystatus:
  11104. description: 申请状态 - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  11105. type: integer
  11106. applytime:
  11107. description: 申请时间
  11108. type: string
  11109. auditremark:
  11110. description: 确认备注
  11111. type: string
  11112. audittime:
  11113. description: 确认时间
  11114. type: string
  11115. buyuserid:
  11116. description: 买方用户ID
  11117. type: integer
  11118. buyusername:
  11119. description: 买方
  11120. type: string
  11121. buywrtradeorderid:
  11122. description: 买委托单ID
  11123. type: integer
  11124. ladingbillid:
  11125. description: 卖方提单ID
  11126. type: integer
  11127. marketid:
  11128. description: 市场ID
  11129. type: integer
  11130. sellaccountid:
  11131. description: 卖方账户ID
  11132. type: integer
  11133. selldelistingapplyid:
  11134. description: '[询价单号]卖摘牌申请ID(916+Unix秒时间戳(10位)+xxxxxx)'
  11135. type: integer
  11136. selltradeorderid:
  11137. description: 卖方委托ID(买方确认成交后更新)
  11138. type: integer
  11139. selluserid:
  11140. description: 卖方用户ID
  11141. type: integer
  11142. subnum:
  11143. description: 卖方提单子单号
  11144. type: integer
  11145. wrfactortypeid:
  11146. description: 仓单要素类型ID
  11147. type: integer
  11148. wrstandardid:
  11149. description: 现货商品ID
  11150. type: integer
  11151. required:
  11152. - selluserid
  11153. type: object
  11154. models.MySellOrder:
  11155. properties:
  11156. accountid:
  11157. description: 资金账号
  11158. type: integer
  11159. applyid:
  11160. description: 申请单ID
  11161. type: integer
  11162. attachment1:
  11163. description: 附件1
  11164. type: string
  11165. attachment2:
  11166. description: 附件2
  11167. type: string
  11168. buyorsell:
  11169. description: 买卖 - 0:买 1:卖
  11170. type: integer
  11171. canbargain:
  11172. description: 是否可议价 - 0:不可 1:可
  11173. type: integer
  11174. cancelqty:
  11175. description: 撤销数量
  11176. type: integer
  11177. canceltime:
  11178. description: 撤销时间
  11179. type: string
  11180. chargealgorithm:
  11181. description: 手续费收取方式 1:比率 2:固定
  11182. type: integer
  11183. chargealgorithmvalue:
  11184. description: 手续费设置值(交易所部分)
  11185. type: number
  11186. chargealgorithmvalue2:
  11187. description: 手续费设置值(会员部分)
  11188. type: number
  11189. clientordertime:
  11190. description: 客户端委托时间
  11191. type: string
  11192. exchangerate:
  11193. description: 汇率[67]
  11194. type: number
  11195. firstratio:
  11196. description: 首付比率 - [挂牌时指定,摘牌时使用]
  11197. type: number
  11198. fixedprice:
  11199. description: '[克拉单价]固定价格 - [挂牌]'
  11200. type: number
  11201. freezecharge:
  11202. description: 冻结手续费
  11203. type: number
  11204. freezefirstamount:
  11205. description: 冻结首付金额 - [摘牌]
  11206. type: number
  11207. freezemargin:
  11208. description: 冻结保证金
  11209. type: number
  11210. goodsno:
  11211. description: 商品编号
  11212. type: string
  11213. isspecified:
  11214. description: 是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  11215. type: integer
  11216. marginalgorithm:
  11217. description: 保证金方式 - 1:比率 2:固定
  11218. type: integer
  11219. marginvalue:
  11220. description: 保证金设置值
  11221. type: number
  11222. marketid:
  11223. description: 市场ID
  11224. type: integer
  11225. orderamount:
  11226. description: 挂牌金额[账户] [67]= OrderQty * FixedPrice * ExchangeRate /100
  11227. type: number
  11228. ordertime:
  11229. description: 委托时间
  11230. type: string
  11231. performancetemplateid:
  11232. description: 履约计划模板ID
  11233. type: integer
  11234. pricefactor:
  11235. description: 价格系数(浮动价时填写) - [挂牌]
  11236. type: number
  11237. pricemove:
  11238. description: 升贴水(浮动价时填写) - [挂牌]
  11239. type: number
  11240. relatedwrtradeorderid:
  11241. description: 关联委托单号(摘牌委托关联挂牌委托单ID)
  11242. type: integer
  11243. retcode:
  11244. description: 错误代码
  11245. type: integer
  11246. selledqty:
  11247. description: 成交重量
  11248. type: number
  11249. totalqty:
  11250. description: 总重量
  11251. type: number
  11252. tradedate:
  11253. description: 交易日(yyyyMMdd)
  11254. type: string
  11255. tradeprice:
  11256. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)*
  11257. 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  11258. type: number
  11259. unfreezecharge:
  11260. description: 解冻手续费
  11261. type: number
  11262. unfreezefirstamount:
  11263. description: 解冻首付金额 - [摘牌]
  11264. type: number
  11265. unfreezemargin:
  11266. description: 解冻保证金
  11267. type: number
  11268. userid:
  11269. description: 用户ID
  11270. type: integer
  11271. uuid:
  11272. description: 发起端唯一id
  11273. type: string
  11274. validtime:
  11275. description: 有效期限
  11276. type: string
  11277. validtype:
  11278. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  11279. type: integer
  11280. wrbargainid:
  11281. description: 议价申请单ID
  11282. type: integer
  11283. wrfactortypeid:
  11284. description: 仓单要素类型ID/商品ID(77)
  11285. type: integer
  11286. wrpricetype:
  11287. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  11288. type: integer
  11289. wrstandardid:
  11290. description: 现货商品ID
  11291. type: integer
  11292. wrtradeorderid:
  11293. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  11294. type: string
  11295. wrtradeorderstatus:
  11296. 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:撤单解冻贷款失败
  11297. type: integer
  11298. wrtradetype:
  11299. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  11300. type: integer
  11301. wrtransferuserid:
  11302. description: 仓单受让用户 - [摘牌]
  11303. type: integer
  11304. zscategory:
  11305. description: 钻石分类 - 枚举”ZSCategory“
  11306. type: integer
  11307. zscategorydisplay:
  11308. description: 钻石分类 - 描述
  11309. type: string
  11310. zscurrencytype:
  11311. description: 货币类型 - 枚举“ZSCurrencyType”
  11312. type: integer
  11313. required:
  11314. - userid
  11315. type: object
  11316. models.MyWRPosition:
  11317. properties:
  11318. cerno:
  11319. description: 证书编号 - 类型:2,4,5
  11320. type: string
  11321. cpcertno:
  11322. description: 金伯利证书编号 - 类型:3
  11323. type: string
  11324. ffreezeqty:
  11325. description: 冻结数量:WRPosition表:FREEZEQTY/100 , 保留两位小数
  11326. type: number
  11327. ftotalqty:
  11328. description: 库存数量:WRPosition表:TOTALQTY /100 , 保留两位小数
  11329. type: number
  11330. goodsno:
  11331. description: 商品编号
  11332. type: string
  11333. imagepath:
  11334. description: 商品照片(相对地址)
  11335. type: string
  11336. isvalid:
  11337. description: 是否有效 - 0:无效 1:有效
  11338. type: integer
  11339. kppath:
  11340. description: 金伯利证书图片(相对地址) - 类型:3
  11341. type: string
  11342. kpweight:
  11343. description: 金伯利证书重量 - 类型:3
  11344. type: string
  11345. ladingbillid:
  11346. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  11347. type: string
  11348. marketprice:
  11349. description: 市场价
  11350. type: string
  11351. origin:
  11352. description: 原产地 - 类型:3
  11353. type: string
  11354. price:
  11355. description: 总价(价格) - 类型:1,2,3,4,5
  11356. type: number
  11357. priceper:
  11358. description: 克拉单价 - 类型:1,2,3,5
  11359. type: string
  11360. remark:
  11361. description: 备注
  11362. type: string
  11363. sellmobile:
  11364. description: 手机号码(加密存储)
  11365. type: string
  11366. sellusername:
  11367. description: 账户名称(机构名称)
  11368. type: string
  11369. settingmaterial:
  11370. description: 镶嵌材料 - 类型:4
  11371. type: string
  11372. size1:
  11373. description: 尺寸1 - 类型:2,4,5
  11374. type: string
  11375. size2:
  11376. description: 尺寸2 - 类型:2,4,5
  11377. type: string
  11378. size3:
  11379. description: 尺寸3 - 类型:2,4,5
  11380. type: string
  11381. stonedesc:
  11382. description: 配石描述 - 类型:4
  11383. type: string
  11384. subnum:
  11385. description: 提单子单号
  11386. type: integer
  11387. userid:
  11388. description: 用户ID
  11389. type: integer
  11390. warehouseid:
  11391. description: 仓库ID
  11392. type: integer
  11393. warehousenamedisplay:
  11394. type: string
  11395. weight:
  11396. description: 总重量(克拉重量) - 类型:1,2,3,4,5
  11397. type: number
  11398. weightavg:
  11399. description: 平均单颗重量 - 类型:1,3
  11400. type: number
  11401. wrpath:
  11402. description: 仓单扫描件(相对地址)
  11403. type: string
  11404. wrstandardid:
  11405. description: 现货商品ID
  11406. type: integer
  11407. wruserid:
  11408. description: 登录用户ID
  11409. type: integer
  11410. zscategory:
  11411. description: 钻石分类 - 枚举”ZSCategory“
  11412. type: integer
  11413. zscategorydisplay:
  11414. type: string
  11415. zscerttype:
  11416. description: 证书类型 - 枚举”ZSCertType“ - 类型:2,4,5
  11417. type: integer
  11418. zscerttypedisplay:
  11419. type: string
  11420. zsclaritytype1:
  11421. description: 净度1 - 枚举”ZSClarityType“ - 类型:1,2,3,4,5
  11422. type: integer
  11423. zsclaritytype1display:
  11424. type: string
  11425. zsclaritytype2:
  11426. description: 净度2 - 枚举”ZSClarityType“ - 类型:1,3
  11427. type: integer
  11428. zsclaritytype2display:
  11429. type: string
  11430. zscolortype1:
  11431. description: 颜色1 - 枚举”ZSColorType“ - 类型:1,2,3,4
  11432. type: integer
  11433. zscolortype1display:
  11434. type: string
  11435. zscolortype2:
  11436. description: 颜色2 - 枚举”ZSColorType“ - 类型:1,3
  11437. type: integer
  11438. zscolortype2display:
  11439. type: string
  11440. zscrystaltype:
  11441. description: 晶型范围 - 枚举“ZSCrystalType“ - 类型:3, 多个,逗号分隔
  11442. type: string
  11443. zscrystaltypedisplay:
  11444. type: string
  11445. zscurrencytype:
  11446. description: 货币类型 - 枚举“ZSCurrencyType”
  11447. type: integer
  11448. zscurrencytypedisplay:
  11449. type: string
  11450. zscurrencytypedisplayunit:
  11451. type: string
  11452. zscuttype1:
  11453. description: 切工1 - 枚举”ZSCutType“ - 类型:1,2,4,5
  11454. type: integer
  11455. zscuttype1display:
  11456. type: string
  11457. zscuttype2:
  11458. description: 切工2 - 枚举”ZSCutType“ - 类型:1
  11459. type: integer
  11460. zscuttype2display:
  11461. type: string
  11462. zsczcolor1type:
  11463. description: 彩钻颜色1 - 枚举”ZSCZColor1Type“ - 类型:5
  11464. type: integer
  11465. zsczcolor1typedisplay:
  11466. type: string
  11467. zsczcolor2type:
  11468. description: 彩钻颜色2 - 枚举”ZSCZColor2Type“ - 类型:5
  11469. type: integer
  11470. zsczcolor2typedisplay:
  11471. type: string
  11472. zsczcolor3type:
  11473. description: 彩钻颜色3 - 枚举”ZSCZColor3Type“ - 类型:5
  11474. type: integer
  11475. zsczcolor3typedisplay:
  11476. type: string
  11477. zsfluorescencetype1:
  11478. description: 荧光1 - 枚举”ZSFluorescenceType“ - 类型:1,2,3,4,5
  11479. type: integer
  11480. zsfluorescencetype1display:
  11481. type: string
  11482. zsfluorescencetype2:
  11483. description: 荧光2 - 枚举”ZSFluorescenceType” - 类型:1,3
  11484. type: integer
  11485. zsfluorescencetype2display:
  11486. type: string
  11487. zspolishtype1:
  11488. description: 抛光度1 - 枚举”ZSPolishType“ - 类型:1,2,4,5
  11489. type: integer
  11490. zspolishtype1display:
  11491. type: string
  11492. zspolishtype2:
  11493. description: 抛光度2 - 枚举”ZSPolishType“ - 类型:1
  11494. type: integer
  11495. zspolishtype2display:
  11496. type: string
  11497. zsshapetype:
  11498. description: 形状 - 枚举”ZSShapeType“ - 类型:1,2,4,5 ;(1为多个,逗号分隔)
  11499. type: string
  11500. zsshapetypedisplay:
  11501. type: string
  11502. zsstyletype:
  11503. description: 款式 - 类型:4
  11504. type: integer
  11505. zsstyletypedisplay:
  11506. type: string
  11507. zssymmetrytype1:
  11508. description: 对称度1 - 枚举”ZSSymmetryType“ - 类型:1,2,4,5
  11509. type: integer
  11510. zssymmetrytype1display:
  11511. type: string
  11512. zssymmetrytype2:
  11513. description: 对称度2 - 枚举”ZSSymmetryType“ - 类型:1
  11514. type: integer
  11515. zssymmetrytype2display:
  11516. type: string
  11517. required:
  11518. - wruserid
  11519. type: object
  11520. models.NewFuncmenulist:
  11521. properties:
  11522. authtype:
  11523. description: 权限类型 - 1:菜单 2:组件 3:按钮
  11524. type: integer
  11525. buttonname:
  11526. description: 按钮名称
  11527. type: string
  11528. buttontype:
  11529. description: 按钮类型 - 存按钮样式
  11530. type: string
  11531. component:
  11532. description: 组件名或组件地址
  11533. type: string
  11534. hidden:
  11535. description: 是否隐藏 - 0:显示 1:隐藏
  11536. type: integer
  11537. iconame:
  11538. description: 菜单图标
  11539. type: string
  11540. menutype:
  11541. description: 菜单类型 - 1:管理端 2:PC(C#) 3:移动(云平台) 4:终端(交易所) 5:PC(云平台)
  11542. type: integer
  11543. parentcode:
  11544. description: 上级资源代码
  11545. type: string
  11546. remark:
  11547. description: Remark
  11548. type: string
  11549. resourcecode:
  11550. description: 资源代码
  11551. type: string
  11552. resourcelevel:
  11553. description: 级别1-一级 2-二级 3-三级4-四级
  11554. type: integer
  11555. resourcename:
  11556. description: 资源名(Title)
  11557. type: string
  11558. sort:
  11559. description: 排序
  11560. type: integer
  11561. url:
  11562. description: Url
  11563. type: string
  11564. urltype:
  11565. description: 地址类型 - 1:路由 2:外链 3:内联框架
  11566. type: integer
  11567. required:
  11568. - resourcecode
  11569. type: object
  11570. models.OperationPrimaryMenu:
  11571. properties:
  11572. Children:
  11573. description: 二级功能菜单
  11574. items:
  11575. $ref: '#/definitions/models.OperationSecondaryMenu'
  11576. type: array
  11577. Key:
  11578. description: 菜单KEY
  11579. type: string
  11580. Label:
  11581. description: 菜单标题
  11582. type: string
  11583. type: object
  11584. models.OperationSecondaryMenu:
  11585. properties:
  11586. Key:
  11587. description: 菜单KEY
  11588. type: string
  11589. Label:
  11590. description: 菜单标题
  11591. type: string
  11592. TabList:
  11593. description: 三级功能菜单
  11594. items:
  11595. $ref: '#/definitions/models.OperationTabMenu'
  11596. type: array
  11597. type: object
  11598. models.OperationTabMenu:
  11599. properties:
  11600. Key:
  11601. description: 菜单KEY
  11602. type: string
  11603. Label:
  11604. description: 菜单标题
  11605. type: string
  11606. type: object
  11607. models.Patradelinkdetail:
  11608. properties:
  11609. accountname:
  11610. description: 套期主体
  11611. type: string
  11612. agreeunit:
  11613. description: 合约乘数
  11614. type: number
  11615. amount:
  11616. description: 金额 = RelatedLot * TradePrice * AgreeUnit
  11617. type: number
  11618. areauserid:
  11619. description: 所属机构
  11620. type: integer
  11621. bizsubjectid:
  11622. description: 归属业务部门ID - SubjectID
  11623. type: integer
  11624. buyorsell:
  11625. description: 方向 - 0:买 1:卖
  11626. type: integer
  11627. convertratio:
  11628. description: 品种系数
  11629. type: number
  11630. convertratiochange:
  11631. description: 套期商品变化量 = RelatedLot * AgreeUnit * ConvertRatio
  11632. type: number
  11633. createtime:
  11634. description: '[日期时间]创建时间'
  11635. type: string
  11636. creatorid:
  11637. description: 创建人ID
  11638. type: integer
  11639. creatorsrc:
  11640. description: 创建人来源 - 1:管理端 2:终端 3:交易
  11641. type: integer
  11642. goodscode:
  11643. description: 商品代码(内部)
  11644. type: string
  11645. goodsgroupid:
  11646. description: 对冲品种ID[期货合约商品组ID]
  11647. type: integer
  11648. goodsid:
  11649. description: 商品ID
  11650. type: integer
  11651. hedgeditemid:
  11652. description: 现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]
  11653. type: integer
  11654. hedgeflag:
  11655. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  11656. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目
  11657. type: integer
  11658. linkdetailid:
  11659. description: 期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)
  11660. type: string
  11661. linkstatus:
  11662. description: 关联状态 - 1:成功 2:失败 3:解绑
  11663. type: integer
  11664. middlegoodsid:
  11665. description: 套保品种ID
  11666. type: integer
  11667. name:
  11668. description: 账户名/子账户
  11669. type: string
  11670. optioncode:
  11671. description: '[期货合约]期权代码 [期权]'
  11672. type: string
  11673. ordertype:
  11674. description: 单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单
  11675. type: integer
  11676. relatedlot:
  11677. description: '[数量]关联手数'
  11678. type: number
  11679. relatedmode:
  11680. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  11681. type: integer
  11682. relatedqty:
  11683. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  11684. type: number
  11685. retcode:
  11686. description: 返回码
  11687. type: integer
  11688. saleuserid:
  11689. description: 业务员ID
  11690. type: integer
  11691. tradedate:
  11692. description: 关联交易日(yyyyMMdd)
  11693. type: string
  11694. tradeid:
  11695. description: '[成交单号]内部成交单ID'
  11696. type: string
  11697. tradelot:
  11698. description: 成交手数
  11699. type: integer
  11700. tradeprice:
  11701. description: '[价格]成交价格'
  11702. type: number
  11703. tradetradedate:
  11704. description: 成交交易日(yyyyMMdd)
  11705. type: string
  11706. type: object
  11707. models.QueryErrorInfosRsp:
  11708. properties:
  11709. description:
  11710. description: 异常描述
  11711. type: string
  11712. errorcode:
  11713. description: 异常代码
  11714. type: string
  11715. errorid:
  11716. description: 异常ID
  11717. type: integer
  11718. modulecode:
  11719. description: 所属模块
  11720. type: string
  11721. operatecode:
  11722. description: 所属操作
  11723. type: string
  11724. rownumber:
  11725. description: 行号
  11726. type: string
  11727. required:
  11728. - errorid
  11729. type: object
  11730. models.QueryHedgeOrderDetailRsp:
  11731. properties:
  11732. accountid:
  11733. description: 账户ID
  11734. type: integer
  11735. buyorsell:
  11736. description: 买卖 - 0:买 1:卖
  11737. type: integer
  11738. cancellogincode:
  11739. description: 撤单人
  11740. type: string
  11741. channelbuildtype:
  11742. description: 开平标志 - 0:无 1:建仓 2:平仓
  11743. type: integer
  11744. channelinnerorderstatus:
  11745. description: 委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:部分成交 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败
  11746. 9:全部成交
  11747. type: integer
  11748. channeloperatetype:
  11749. description: 操作类型 - 1:正常委托 2:斩仓委托 3:强平委托
  11750. type: integer
  11751. closetype:
  11752. description: 平仓方式 - 0:无 1:平今 2:平昨
  11753. type: integer
  11754. curexchangerate:
  11755. description: 当前汇率
  11756. type: number
  11757. decimalplace:
  11758. description: 商品报价小数位
  11759. type: integer
  11760. exchangefullname:
  11761. description: 外部交易所全称
  11762. type: string
  11763. goodscode:
  11764. description: 商品代码(内部)
  11765. type: string
  11766. goodsid:
  11767. description: 商品ID
  11768. type: integer
  11769. goodsname:
  11770. description: 商品名称
  11771. type: string
  11772. marketid:
  11773. description: 市场ID
  11774. type: integer
  11775. openfreezemargin:
  11776. description: 冻结保证金(冻结交易金额)
  11777. type: number
  11778. orderid:
  11779. description: 委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11780. type: string
  11781. orderlogincode:
  11782. description: 委托人
  11783. type: string
  11784. orderprice:
  11785. description: 委托价格(账户)
  11786. type: number
  11787. orderqty:
  11788. description: 委托数量
  11789. type: integer
  11790. ordertime:
  11791. description: 委托时间
  11792. type: string
  11793. pricemode:
  11794. description: '取价方式 - 1:市价 2: 限价'
  11795. type: integer
  11796. tradedate:
  11797. description: 交易日(yyyyMMdd)
  11798. type: string
  11799. tradeqty:
  11800. description: 成交数量
  11801. type: integer
  11802. type: object
  11803. models.QueryHedgeTradeDetailRsp:
  11804. properties:
  11805. accountid:
  11806. description: 账号ID
  11807. type: integer
  11808. buyorsell:
  11809. description: 方向 - 0:买 1:卖
  11810. type: integer
  11811. channelbuildtype:
  11812. description: 委托单据类型 0:无 1:建仓 2:平仓
  11813. type: integer
  11814. closecharge:
  11815. description: 平仓手续费(账户)
  11816. type: number
  11817. closecharge2:
  11818. description: 平仓手续费(商品)
  11819. type: number
  11820. closepl:
  11821. description: 平仓盈亏(账户)
  11822. type: number
  11823. closepl2:
  11824. description: 平仓盈亏(商品)
  11825. type: number
  11826. closepl3:
  11827. description: 平仓盈亏(账户)(逐笔)
  11828. type: number
  11829. closepl4:
  11830. description: 平仓盈亏(商品)(逐笔)
  11831. type: number
  11832. closetype:
  11833. description: 平仓方式 - 0:无 1:平今 2:平昨
  11834. type: integer
  11835. curexchangerate:
  11836. description: 当前汇率
  11837. type: number
  11838. decimalplace:
  11839. description: 商品报价小数位
  11840. type: integer
  11841. exchangefullname:
  11842. description: 外部交易所全称
  11843. type: string
  11844. goodscode:
  11845. description: 商品代码(内部)
  11846. type: string
  11847. goodsid:
  11848. description: 商品ID
  11849. type: integer
  11850. goodsname:
  11851. description: 商品名称
  11852. type: string
  11853. marketid:
  11854. description: 市场ID
  11855. type: integer
  11856. opencharge:
  11857. description: 建仓手续费(账户)
  11858. type: number
  11859. opencharge2:
  11860. description: 建仓手续费(商品)
  11861. type: number
  11862. orderid:
  11863. description: 委托单号
  11864. type: string
  11865. orderlogincode:
  11866. description: 委托人
  11867. type: string
  11868. tradeamount:
  11869. description: 成交金额(账户)
  11870. type: number
  11871. tradedate:
  11872. description: 交易日(yyyyMMdd)
  11873. type: string
  11874. tradeid:
  11875. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11876. type: string
  11877. tradeprice:
  11878. description: 成交价格
  11879. type: number
  11880. tradeqty:
  11881. description: 成交数量
  11882. type: integer
  11883. tradetime:
  11884. description: 成交时间
  11885. type: string
  11886. tradetype:
  11887. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  11888. type: integer
  11889. type: object
  11890. models.QuotePrimaryMenu:
  11891. properties:
  11892. Index:
  11893. description: 序号
  11894. type: integer
  11895. Key:
  11896. description: 键名
  11897. type: string
  11898. Name:
  11899. description: 菜单名称
  11900. type: string
  11901. SubMenus:
  11902. description: 子菜单
  11903. items:
  11904. $ref: '#/definitions/models.QuoteSecondaryMenu'
  11905. type: array
  11906. SubTitleType:
  11907. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  11908. type: integer
  11909. TradeModes:
  11910. description: 包含市场交易类型
  11911. type: string
  11912. type: object
  11913. models.QuoteSecondaryMenu:
  11914. properties:
  11915. ExExchangeCode:
  11916. description: 外部交易所代码
  11917. type: string
  11918. ExExchangeID:
  11919. description: 外部交易所ID
  11920. type: integer
  11921. GoodsGroupIDs:
  11922. description: 商品组ID列表
  11923. items:
  11924. type: integer
  11925. type: array
  11926. Index:
  11927. description: 序号
  11928. type: integer
  11929. MarketID:
  11930. description: 市场ID
  11931. type: integer
  11932. MenuTitle:
  11933. description: 菜单标题(市场名称或外部交易所名称)
  11934. type: string
  11935. TradeMode:
  11936. description: 交易模式
  11937. type: integer
  11938. type: object
  11939. models.RelatedTaAccount:
  11940. properties:
  11941. accountid:
  11942. description: 资金账户ID
  11943. type: integer
  11944. type: object
  11945. models.RoleMenu:
  11946. properties:
  11947. hasright:
  11948. description: 是否有权限 0-没有权限 1-有权限
  11949. type: integer
  11950. iconame:
  11951. description: 菜单图标
  11952. type: string
  11953. menutype:
  11954. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  11955. type: integer
  11956. parentcode:
  11957. description: 上级资源代码
  11958. type: string
  11959. remark:
  11960. description: 菜单备注
  11961. type: string
  11962. resourcecode:
  11963. description: 菜单代码
  11964. type: string
  11965. resourcelevel:
  11966. description: 级别
  11967. type: integer
  11968. resourcename:
  11969. description: 菜单名称
  11970. type: string
  11971. roleid:
  11972. description: 角色id
  11973. type: integer
  11974. sort:
  11975. description: 排序
  11976. type: integer
  11977. subMenu:
  11978. description: 子级菜单(结构同上层一样, swag解析不出来)
  11979. items:
  11980. $ref: '#/definitions/models.RoleMenu'
  11981. type: array
  11982. url:
  11983. description: URL
  11984. type: string
  11985. userid:
  11986. description: 用户id
  11987. type: integer
  11988. type: object
  11989. models.SearchGoods:
  11990. properties:
  11991. goodscode:
  11992. description: 商品代码(内部)
  11993. type: string
  11994. goodsid:
  11995. description: 商品ID(自增ID SEQ_GOODS)
  11996. type: integer
  11997. goodsname:
  11998. description: 商品名称
  11999. type: string
  12000. marketid:
  12001. description: 所属市场ID
  12002. type: integer
  12003. marketname:
  12004. description: 市场名称
  12005. type: string
  12006. trademode:
  12007. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  12008. 21:竞拍-大宗式 22:受托竞价
  12009. type: integer
  12010. required:
  12011. - goodscode
  12012. - goodsid
  12013. - goodsname
  12014. - marketid
  12015. - trademode
  12016. type: object
  12017. models.SellOrder:
  12018. properties:
  12019. accountid:
  12020. description: 资金账号
  12021. type: integer
  12022. applyid:
  12023. description: 申请单ID
  12024. type: integer
  12025. attachment1:
  12026. description: 附件1
  12027. type: string
  12028. attachment2:
  12029. description: 附件2
  12030. type: string
  12031. buyorsell:
  12032. description: 买卖 - 0:买 1:卖
  12033. type: integer
  12034. canbargain:
  12035. description: 是否可议价 - 0:不可 1:可
  12036. type: integer
  12037. cancelqty:
  12038. description: 撤销数量
  12039. type: integer
  12040. canceltime:
  12041. description: 撤销时间
  12042. type: string
  12043. chargealgorithm:
  12044. description: 手续费收取方式 1:比率 2:固定
  12045. type: integer
  12046. chargealgorithmvalue:
  12047. description: 手续费设置值(交易所部分)
  12048. type: number
  12049. chargealgorithmvalue2:
  12050. description: 手续费设置值(会员部分)
  12051. type: number
  12052. clientordertime:
  12053. description: 客户端委托时间
  12054. type: string
  12055. exchangerate:
  12056. description: 汇率[67]
  12057. type: number
  12058. firstratio:
  12059. description: 首付比率 - [挂牌时指定,摘牌时使用]
  12060. type: number
  12061. fixedprice:
  12062. description: '[克拉单价]固定价格 - [挂牌]'
  12063. type: number
  12064. freezecharge:
  12065. description: 冻结手续费
  12066. type: number
  12067. freezefirstamount:
  12068. description: 冻结首付金额 - [摘牌]
  12069. type: number
  12070. freezemargin:
  12071. description: 冻结保证金
  12072. type: number
  12073. goodsno:
  12074. description: 商品编号
  12075. type: string
  12076. isQueryDiamond:
  12077. description: 是否钻石查询
  12078. type: boolean
  12079. isspecified:
  12080. description: 是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  12081. type: integer
  12082. marginalgorithm:
  12083. description: 保证金方式 - 1:比率 2:固定
  12084. type: integer
  12085. marginvalue:
  12086. description: 保证金设置值
  12087. type: number
  12088. marketid:
  12089. description: 市场ID
  12090. type: integer
  12091. orderamount:
  12092. description: 挂牌金额[账户] [67]= OrderQty * FixedPrice * ExchangeRate /100
  12093. type: number
  12094. ordertime:
  12095. description: 委托时间
  12096. type: string
  12097. performancetemplateid:
  12098. description: 履约计划模板ID
  12099. type: integer
  12100. pricefactor:
  12101. description: 价格系数(浮动价时填写) - [挂牌]
  12102. type: number
  12103. pricemove:
  12104. description: 升贴水(浮动价时填写) - [挂牌]
  12105. type: number
  12106. relatedwrtradeorderid:
  12107. description: 关联委托单号(摘牌委托关联挂牌委托单ID)
  12108. type: integer
  12109. remainqty:
  12110. description: 剩余重量
  12111. type: number
  12112. retcode:
  12113. description: 错误代码
  12114. type: integer
  12115. sellusername:
  12116. description: 卖方(查询字段-模糊查询)
  12117. type: string
  12118. totalqty:
  12119. description: 总重量
  12120. type: number
  12121. tradedate:
  12122. description: 交易日(yyyyMMdd)
  12123. type: string
  12124. tradeprice:
  12125. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)*
  12126. 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  12127. type: number
  12128. unfreezecharge:
  12129. description: 解冻手续费
  12130. type: number
  12131. unfreezefirstamount:
  12132. description: 解冻首付金额 - [摘牌]
  12133. type: number
  12134. unfreezemargin:
  12135. description: 解冻保证金
  12136. type: number
  12137. userid:
  12138. description: 用户ID
  12139. type: integer
  12140. uuid:
  12141. description: 发起端唯一id
  12142. type: string
  12143. validtime:
  12144. description: 有效期限
  12145. type: string
  12146. validtype:
  12147. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  12148. type: integer
  12149. wrbargainid:
  12150. description: 议价申请单ID
  12151. type: integer
  12152. wrfactortypeid:
  12153. description: 仓单要素类型ID/商品ID(77)
  12154. type: integer
  12155. wrpricetype:
  12156. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  12157. type: integer
  12158. wrstandardid:
  12159. description: 现货商品ID
  12160. type: integer
  12161. wrtradeorderid:
  12162. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  12163. type: string
  12164. wrtradeorderstatus:
  12165. 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:撤单解冻贷款失败
  12166. type: integer
  12167. wrtradetype:
  12168. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  12169. type: integer
  12170. wrtransferuserid:
  12171. description: 仓单受让用户 - [摘牌]
  12172. type: integer
  12173. zscategory:
  12174. description: 钻石分类 - 枚举”ZSCategory“
  12175. type: integer
  12176. zscategorydisplay:
  12177. description: 钻石分类 - 描述
  12178. type: string
  12179. zscurrencytype:
  12180. description: 货币类型 - 枚举“ZSCurrencyType”
  12181. type: integer
  12182. type: object
  12183. models.SellOrderQueryReq:
  12184. properties:
  12185. origin:
  12186. description: 原产地
  12187. type: string
  12188. page:
  12189. description: 页码
  12190. type: integer
  12191. pagesize:
  12192. description: 每页大小
  12193. type: integer
  12194. total:
  12195. description: 总条数
  12196. type: integer
  12197. warehouseid:
  12198. description: 仓库ID
  12199. type: integer
  12200. weight1:
  12201. description: 总重量(克拉重量)-从
  12202. type: number
  12203. weight2:
  12204. description: 总重量(克拉重量)-至
  12205. type: number
  12206. weightavg1:
  12207. description: 平均单颗重量-从
  12208. type: number
  12209. weightavg2:
  12210. description: 平均单颗重量-至
  12211. type: number
  12212. zscategory:
  12213. description: 钻石分类 - 枚举”ZSCategory“
  12214. type: integer
  12215. zscerttype:
  12216. description: 证书类型
  12217. items:
  12218. type: string
  12219. type: array
  12220. zsclaritytype:
  12221. description: 净度
  12222. items:
  12223. type: integer
  12224. type: array
  12225. zscolortype:
  12226. description: 颜色
  12227. items:
  12228. type: integer
  12229. type: array
  12230. zscurrencytype:
  12231. description: 货币类型 - 枚举“ZSCurrencyType”
  12232. items:
  12233. type: string
  12234. type: array
  12235. zscuttype:
  12236. description: 切工
  12237. items:
  12238. type: integer
  12239. type: array
  12240. zsczcolor1type:
  12241. description: 彩钻颜色1
  12242. items:
  12243. type: string
  12244. type: array
  12245. zsfluorescencetype:
  12246. description: 荧光
  12247. items:
  12248. type: integer
  12249. type: array
  12250. zspolishtype:
  12251. description: 抛光度
  12252. items:
  12253. type: integer
  12254. type: array
  12255. zsshapetype:
  12256. description: 形状 - 枚举”ZSShapeType“ - 类型:1,2,4,5 ;(1为多个,逗号分隔)
  12257. items:
  12258. type: string
  12259. type: array
  12260. zsstyletype:
  12261. description: 款式
  12262. items:
  12263. type: string
  12264. type: array
  12265. zssymmetrytype:
  12266. description: 对称度
  12267. items:
  12268. type: integer
  12269. type: array
  12270. required:
  12271. - zscategory
  12272. type: object
  12273. models.Systemparam:
  12274. properties:
  12275. loginid:
  12276. description: 更新用户账号,登录账号
  12277. type: string
  12278. modifyflag:
  12279. description: 修改标志0 不允许修改 1 允许修改
  12280. type: integer
  12281. paramcode:
  12282. description: 参数代码
  12283. type: string
  12284. paramname:
  12285. description: 参数名
  12286. type: string
  12287. paramtype:
  12288. description: 参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城
  12289. type: integer
  12290. paramvalue:
  12291. description: 参数值
  12292. type: string
  12293. paramvalue2:
  12294. description: 参数值(CLOB)
  12295. type: string
  12296. regexpress:
  12297. description: 正则表达式
  12298. type: string
  12299. remark:
  12300. description: 备注
  12301. type: string
  12302. serverip:
  12303. description: 限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置
  12304. type: string
  12305. showflag:
  12306. description: 是否显示0 不显示 1 显示
  12307. type: integer
  12308. updatetime:
  12309. description: 更新时间
  12310. type: string
  12311. userid:
  12312. description: 更新用户ID
  12313. type: integer
  12314. required:
  12315. - paramcode
  12316. type: object
  12317. models.Szdz3convertconfig:
  12318. properties:
  12319. canin:
  12320. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  12321. type: integer
  12322. canout:
  12323. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  12324. type: integer
  12325. converttype:
  12326. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  12327. 6:交易转花生米(不设置)
  12328. type: integer
  12329. createtime:
  12330. description: 创建时间
  12331. type: string
  12332. creatorid:
  12333. description: 创建人
  12334. type: integer
  12335. daymaxvalue:
  12336. description: 当日最大转入限制
  12337. type: number
  12338. freezedays:
  12339. description: 冻结天数 [5:花生米转交易]
  12340. type: integer
  12341. innergoodsid:
  12342. description: 内部商品ID[交易]
  12343. type: integer
  12344. inratio:
  12345. description: 目标值
  12346. type: integer
  12347. modifierid:
  12348. description: 修改人
  12349. type: integer
  12350. modifytime:
  12351. description: 修改时间
  12352. type: string
  12353. outergoodscode:
  12354. description: 外部商品代码[JD\PD]
  12355. type: string
  12356. outratio:
  12357. description: 源值
  12358. type: integer
  12359. pddecimalplace:
  12360. description: PD小数位
  12361. type: integer
  12362. timemaxvalue:
  12363. description: 单次最大转入限制
  12364. type: number
  12365. timeminvalue:
  12366. description: 单次最小转入限制
  12367. type: number
  12368. required:
  12369. - converttype
  12370. - innergoodsid
  12371. - outergoodscode
  12372. type: object
  12373. models.Szdz3searchwhitelist:
  12374. properties:
  12375. createtime:
  12376. description: 创建时间
  12377. type: string
  12378. creatorid:
  12379. description: 创建人
  12380. type: integer
  12381. modifierid:
  12382. description: 修改人
  12383. type: integer
  12384. modifytime:
  12385. description: 修改时间
  12386. type: string
  12387. userid:
  12388. description: 用户ID
  12389. type: integer
  12390. required:
  12391. - userid
  12392. type: object
  12393. models.TBGoods:
  12394. properties:
  12395. agreeunit:
  12396. description: 合约乘数
  12397. type: number
  12398. enumdicname:
  12399. description: 单位名称
  12400. type: string
  12401. goodscode:
  12402. description: 商品代码(内部)
  12403. type: string
  12404. goodsid:
  12405. description: 商品ID(自增ID SEQ_GOODS)
  12406. type: integer
  12407. goodsname:
  12408. description: 商品名称
  12409. type: string
  12410. type: object
  12411. models.TBGoodsGroup:
  12412. properties:
  12413. GDLST:
  12414. description: 商品列表
  12415. items:
  12416. $ref: '#/definitions/models.TBGoods'
  12417. type: array
  12418. convertratio:
  12419. description: 折算系数
  12420. type: number
  12421. enumdicname:
  12422. description: 单位名称
  12423. type: string
  12424. exexchangecode:
  12425. description: 交易所代码
  12426. type: string
  12427. exexchangename:
  12428. description: 交易所名称
  12429. type: string
  12430. goodsgroupid:
  12431. description: 商品组ID(自增ID)
  12432. type: integer
  12433. goodsgroupname:
  12434. description: 商品组名称
  12435. type: string
  12436. goodunitid:
  12437. description: 报价单位ID
  12438. type: integer
  12439. type: object
  12440. models.TBMiddleGoods:
  12441. properties:
  12442. GPLST:
  12443. description: 期货品种列表
  12444. items:
  12445. $ref: '#/definitions/models.TBGoodsGroup'
  12446. type: array
  12447. WDLST:
  12448. description: 商品信息列表(现货品类)
  12449. items:
  12450. $ref: '#/definitions/models.TBWrstandard'
  12451. type: array
  12452. areauserid:
  12453. description: 机构用户ID
  12454. type: integer
  12455. enumdicname:
  12456. description: 单位名称
  12457. type: string
  12458. goodsunitid:
  12459. description: 套保品种单位id
  12460. type: integer
  12461. middlegoodscode:
  12462. description: 套保品种代码
  12463. type: string
  12464. middlegoodsid:
  12465. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  12466. type: integer
  12467. middlegoodsname:
  12468. description: 套保品种名称
  12469. type: string
  12470. needarbitrageratio:
  12471. description: 套利比率
  12472. type: number
  12473. needhedgeratio:
  12474. description: 套保比率
  12475. type: number
  12476. type: object
  12477. models.TBWrstandard:
  12478. properties:
  12479. convertratio:
  12480. description: 折算系数
  12481. type: number
  12482. deliverygoodsname:
  12483. description: 品种名称
  12484. type: string
  12485. enumdicname:
  12486. description: 单位名称
  12487. type: string
  12488. vatrate:
  12489. description: 增值税率
  12490. type: number
  12491. wrstandardcode:
  12492. description: 现货商品代码
  12493. type: string
  12494. wrstandardid:
  12495. description: 现货商品ID(SEQ_WRSTANDARD)
  12496. type: integer
  12497. wrstandardname:
  12498. description: 现货商品名称
  12499. type: string
  12500. type: object
  12501. models.Taaccount:
  12502. properties:
  12503. accountflag:
  12504. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  12505. type: integer
  12506. accountid:
  12507. description: 资金账户ID
  12508. type: integer
  12509. accountname:
  12510. description: 账户名称
  12511. type: string
  12512. balance:
  12513. description: 期初余额
  12514. type: number
  12515. capitalbalance:
  12516. description: 本金余额[外部子账户实际出入金余额]
  12517. type: number
  12518. changeflag:
  12519. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  12520. type: integer
  12521. changetime:
  12522. description: 账户状态变更时间
  12523. type: string
  12524. closepl:
  12525. description: 今日平仓盈亏
  12526. type: number
  12527. creditdecrease:
  12528. description: 今日授信减少
  12529. type: number
  12530. creditincrease:
  12531. description: 今日授信增加
  12532. type: number
  12533. curamount:
  12534. description: 总市值(从持仓中统计)
  12535. type: number
  12536. currencyid:
  12537. description: 货币ID
  12538. type: integer
  12539. currentbalance:
  12540. description: 期末余额
  12541. type: number
  12542. freezecharge:
  12543. description: 手续费冻结
  12544. type: number
  12545. freezemargin:
  12546. description: 冻结保证金
  12547. type: number
  12548. fromaccountid:
  12549. description: 所属上级账户
  12550. type: integer
  12551. inamount:
  12552. description: 今日入金金额(包括三方入金)
  12553. type: number
  12554. ismain:
  12555. description: 是否母账号 0:不是母账户 1:是母账户
  12556. type: integer
  12557. ismarketaccount:
  12558. description: 是否机构接单账号 0:不是 1:是
  12559. type: integer
  12560. isreckonaccount:
  12561. description: 是否机构分润账号 0:不是 1:是
  12562. type: integer
  12563. mortgagecredit:
  12564. description: 授信金额
  12565. type: number
  12566. orifreezecharge:
  12567. description: 期初手续费冻结
  12568. type: number
  12569. orifreezemargin:
  12570. description: 期初冻结保证金
  12571. type: number
  12572. orimortgagecredit:
  12573. description: 期初授信金额
  12574. type: number
  12575. oriothercredit:
  12576. description: 期初其它授信金额
  12577. type: number
  12578. oriotherfreezemargin:
  12579. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  12580. type: number
  12581. orioutamountfreeze:
  12582. description: 期初出金冻结
  12583. type: number
  12584. oriusedmargin:
  12585. description: 期初占用保证金
  12586. type: number
  12587. othercredit:
  12588. description: 其它授信金额
  12589. type: number
  12590. othercreditdecrease:
  12591. description: 今日其它授信减少
  12592. type: number
  12593. othercreditincrease:
  12594. description: 今日其它授信增加
  12595. type: number
  12596. otherfreezemargin:
  12597. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  12598. type: number
  12599. otherincome:
  12600. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  12601. type: number
  12602. otherpay:
  12603. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  12604. type: number
  12605. outamount:
  12606. description: 今日出金金额(包括三方出金)
  12607. type: number
  12608. outamountfreeze:
  12609. description: 出金冻结
  12610. type: number
  12611. outthreshold:
  12612. description: 出金阈值
  12613. type: number
  12614. parentaccountid:
  12615. description: 所属根账号
  12616. type: integer
  12617. paycharge:
  12618. description: 今日手续费支出
  12619. type: number
  12620. relatedaccountstatus:
  12621. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  12622. type: integer
  12623. relateduserid:
  12624. description: 关联用户
  12625. type: integer
  12626. remainamount:
  12627. description: 融资额(从融资合同中统计)
  12628. type: number
  12629. serivcegroup:
  12630. description: 服务分组
  12631. type: integer
  12632. signstatus:
  12633. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  12634. type: integer
  12635. sublevelpath:
  12636. description: 账号层级路径(逗号分隔,首尾加逗号)
  12637. type: string
  12638. taaccounttype:
  12639. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  12640. type: integer
  12641. thirdinamount:
  12642. description: 今日三方入金
  12643. type: number
  12644. thirdoutamount:
  12645. description: 今日三方出金
  12646. type: number
  12647. tradestatus:
  12648. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  12649. type: integer
  12650. tradestatuschangetime:
  12651. description: 激活时间
  12652. type: string
  12653. transferamount:
  12654. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  12655. type: number
  12656. usedmargin:
  12657. description: 占用保证金
  12658. type: number
  12659. userid:
  12660. description: 用户ID
  12661. type: integer
  12662. required:
  12663. - accountid
  12664. - userid
  12665. type: object
  12666. models.Tablecolumnconfig:
  12667. properties:
  12668. aligntype:
  12669. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  12670. type: integer
  12671. autoid:
  12672. description: AutoID
  12673. type: integer
  12674. columnfield:
  12675. description: 列字段
  12676. type: string
  12677. columntitle:
  12678. description: 列Title
  12679. type: string
  12680. columnwidth:
  12681. description: 列宽
  12682. type: string
  12683. fixed:
  12684. description: 固定类型 - 空 | left | right
  12685. type: string
  12686. formatterstring:
  12687. description: 格式化字符
  12688. type: string
  12689. formattertype:
  12690. description: 格式化类型
  12691. type: string
  12692. groupname:
  12693. description: 表头分组名称
  12694. type: string
  12695. ismerge:
  12696. description: 是否合并显示 - 0:不合并 1:合并
  12697. type: integer
  12698. isshow:
  12699. description: 是否显示 - 0:不显示 1:显示
  12700. type: integer
  12701. needsummary:
  12702. description: 是否需要汇总 - 0:不需要 1:需要
  12703. type: integer
  12704. orderindex:
  12705. description: 顺序
  12706. type: integer
  12707. remark:
  12708. description: 备注
  12709. type: string
  12710. summarytype:
  12711. description: 汇总类型 - 1:加总 2:最后一个
  12712. type: integer
  12713. tablekey:
  12714. description: 列表Key
  12715. type: string
  12716. required:
  12717. - autoid
  12718. type: object
  12719. models.TjmdHolderDetailTradeInfo:
  12720. properties:
  12721. agreeunit:
  12722. description: 合约乘数
  12723. type: number
  12724. buyaccountid:
  12725. description: 买方账户
  12726. type: string
  12727. buyusername:
  12728. description: 买方
  12729. type: string
  12730. delistingdate:
  12731. description: 最后结算日
  12732. type: string
  12733. expiredate:
  12734. description: 到期结算价定价日
  12735. type: string
  12736. exprieprice:
  12737. description: 到期清算价格
  12738. type: string
  12739. goodscode:
  12740. description: 商品代码
  12741. type: string
  12742. goodsid:
  12743. description: 商品ID
  12744. type: integer
  12745. goodsname:
  12746. description: 商品名称(交易标的)
  12747. type: string
  12748. lasttradedate:
  12749. description: 最后交易日
  12750. type: string
  12751. listingdate:
  12752. description: 开始交易日
  12753. type: string
  12754. openprice:
  12755. description: 成交价
  12756. type: number
  12757. openqty:
  12758. description: 交易数量
  12759. type: integer
  12760. sellaccountid:
  12761. description: 卖方账户
  12762. type: string
  12763. sellusername:
  12764. description: 卖方
  12765. type: string
  12766. tradeamount:
  12767. description: 初始名义价值
  12768. type: number
  12769. tradedate:
  12770. description: 成交日期
  12771. type: string
  12772. tradeid:
  12773. description: 成交编号
  12774. type: string
  12775. type: object
  12776. models.TjmdMarketSection:
  12777. properties:
  12778. marketsectionid:
  12779. description: 市场版块ID(SEQ_MARKETSECTION)
  12780. type: integer
  12781. marketsectionname:
  12782. description: 市场版块名称
  12783. type: string
  12784. mlist:
  12785. description: 市场列表(板块下面有多少个市场)
  12786. items:
  12787. $ref: '#/definitions/models.TjmdMarketSectionConfig'
  12788. type: array
  12789. orderindex:
  12790. description: 排序
  12791. type: integer
  12792. pictureurl:
  12793. description: 图片url, 规格(90*90)
  12794. type: string
  12795. remark:
  12796. description: 备注
  12797. type: string
  12798. type: object
  12799. models.TjmdMarketSectionConfig:
  12800. properties:
  12801. auctionwrtype:
  12802. description: 仓单类型(现货交易) - 1:无仓单 2:有仓单 3;有无仓单均可
  12803. type: integer
  12804. canacceptquote:
  12805. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  12806. type: integer
  12807. cangoodsexercise:
  12808. description: '[期权]是否可现货行权- 0:否 1:是'
  12809. type: integer
  12810. cangoodsexercisetype:
  12811. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  12812. type: integer
  12813. canmanualquotestrike:
  12814. description: 是否可手动报行权价- 0:否 1:是 [期权]
  12815. type: integer
  12816. canmutistage:
  12817. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  12818. type: integer
  12819. canpreexercise:
  12820. description: '[期权]是否可预申报- 0:否 1:是'
  12821. type: integer
  12822. clearinterval:
  12823. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  12824. type: integer
  12825. contracttmp:
  12826. description: 合同模板[荷兰式][竞价式][仓单贸易]
  12827. type: string
  12828. exchareaid:
  12829. description: 所属交易所,可以没有
  12830. type: integer
  12831. financemarketid:
  12832. description: 融资回购市场ID [仓单贸易]
  12833. type: integer
  12834. goodstype:
  12835. description: 商品类型 - 1:交易商品 2:仓单商品
  12836. type: integer
  12837. hasrebate:
  12838. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  12839. type: integer
  12840. hastradecredit:
  12841. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  12842. type: integer
  12843. haswr:
  12844. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  12845. type: integer
  12846. isdeductmargin:
  12847. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  12848. type: integer
  12849. isrecordsource:
  12850. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  12851. type: integer
  12852. isreleasemargin:
  12853. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  12854. type: integer
  12855. isupdatereckonprice:
  12856. description: 输入结算价标识 - 0:系统生成 1:手工输入(自动) 2:手工输入(手动)
  12857. type: integer
  12858. listingmode:
  12859. description: 挂牌方式 1:一口价 2:浮动价 3:贸易圈 4:协议指定
  12860. type: integer
  12861. marginformula:
  12862. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  12863. type: integer
  12864. marginformula2:
  12865. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  12866. type: integer
  12867. marketid:
  12868. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  12869. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  12870. type: integer
  12871. marketname:
  12872. description: 市场名称
  12873. type: string
  12874. marketsectionid:
  12875. description: 市场版块ID(SEQ_MARKETSECTION)
  12876. type: integer
  12877. marketserviceid:
  12878. description: 市场服务ID
  12879. type: integer
  12880. marketstatus:
  12881. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  12882. type: integer
  12883. markettype:
  12884. description: 市场类型- 1:非交易服务 2:交易服务
  12885. type: integer
  12886. matchermode:
  12887. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手 - 作废
  12888. type: integer
  12889. nowrquotaflag:
  12890. description: 是否校验无仓单额度(仓单贸易) 0:否 1:是
  12891. type: integer
  12892. openmethod:
  12893. description: 开盘模式 - 0 自动 1手动
  12894. type: integer
  12895. orderindex:
  12896. description: 排序
  12897. type: integer
  12898. otcuserid:
  12899. description: 场外期权做市商[场外期权]
  12900. type: integer
  12901. outersynctime:
  12902. description: 外部同步时间点(h24:mi:ss)[场外期权]
  12903. type: string
  12904. paylaterflag:
  12905. description: 是否支持后付 - 0:不支持 1;支持 - [挂牌点选 所有权、预售挂牌支持]
  12906. type: integer
  12907. pendingflag:
  12908. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  12909. type: integer
  12910. pendingtime:
  12911. description: 待开市时间[通道交易-对冲](HH:mm)
  12912. type: string
  12913. performancetempid:
  12914. description: 履约计划模板ID - 作废
  12915. type: integer
  12916. premiumquotemode:
  12917. description: 权利金报价方式 - 1:自动 2:手动
  12918. type: integer
  12919. rebateratio:
  12920. description: 返利比率[竞价式]
  12921. type: number
  12922. reckonorder:
  12923. description: 结算顺序
  12924. type: integer
  12925. reckonpricealgorithm:
  12926. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  12927. 6.卖一价 7.买一卖一均价 8.外部结算价'
  12928. type: integer
  12929. reckonpriceparam:
  12930. description: 结算价参数
  12931. type: integer
  12932. reckontime:
  12933. description: 结算时间[通道交易-对冲](HH:mm)
  12934. type: string
  12935. roleprioritytype:
  12936. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  12937. type: integer
  12938. selllistingauditflag:
  12939. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  12940. type: integer
  12941. trademarkettype:
  12942. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  12943. type: integer
  12944. trademode:
  12945. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  12946. 21:竞拍-大宗式 22:受托竞价
  12947. type: integer
  12948. tradeproperty:
  12949. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  12950. 8:场外期权
  12951. type: integer
  12952. tradetype:
  12953. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  12954. type: integer
  12955. updatereckonpriceinterval:
  12956. description: 输入结算价时长(分钟) [1:手工输入(自动)]
  12957. type: integer
  12958. type: object
  12959. models.TjmdQuoteGoods:
  12960. properties:
  12961. buyqty:
  12962. description: 买量(暂不做, 无值, 保留字段)
  12963. type: number
  12964. decimalplace:
  12965. description: 报价小数位
  12966. type: integer
  12967. goodscode:
  12968. description: 合约代码
  12969. type: string
  12970. goodsgroupid:
  12971. description: 商品组ID(自增ID)
  12972. type: integer
  12973. goodsgroupname:
  12974. description: 商品组名称
  12975. type: string
  12976. goodsid:
  12977. description: 合约id
  12978. type: integer
  12979. goodsname:
  12980. description: 合约名称
  12981. type: string
  12982. refgoodscode:
  12983. description: 标的合约代码
  12984. type: string
  12985. refgoodsid:
  12986. description: 标的合约id
  12987. type: integer
  12988. refgoodsname:
  12989. description: 标的合约名称
  12990. type: string
  12991. sellqty:
  12992. description: 卖量(暂不做, 无值, 保留字段)
  12993. type: number
  12994. type: object
  12995. models.TjmdTodayAccountMargin:
  12996. properties:
  12997. accountid:
  12998. description: 账号ID
  12999. type: integer
  13000. goodsid:
  13001. description: 商品ID
  13002. type: integer
  13003. infoc:
  13004. $ref: '#/definitions/pb.GoodsMarginCfgStruct'
  13005. description: 配置参数
  13006. marketid:
  13007. description: 市场ID
  13008. type: integer
  13009. type: object
  13010. models.TjmdTradeOrderDetail:
  13011. properties:
  13012. buyorsell:
  13013. description: 买卖方向 0-买 1-卖
  13014. type: integer
  13015. goodsid:
  13016. description: 商品id
  13017. type: integer
  13018. marketmaxsub:
  13019. description: 市价最大偏移范围 [浮动价 - 点差]
  13020. type: number
  13021. orderid:
  13022. description: 委托单号
  13023. type: string
  13024. orderprice:
  13025. description: 期初均价
  13026. type: number
  13027. orderqty:
  13028. description: 委托数量
  13029. type: integer
  13030. pricemode:
  13031. description: '取价方式 - 1:市价 2: 限价 3:浮动价'
  13032. type: integer
  13033. userid:
  13034. description: 用户id
  13035. type: integer
  13036. username:
  13037. description: 用户名称(已脱敏)
  13038. type: string
  13039. type: object
  13040. models.TjmdTransferApply:
  13041. properties:
  13042. applyid:
  13043. description: 申请ID(自增ID SEQ_TRADE_HOLDTRANSFERAPPLY)
  13044. type: integer
  13045. applystatus:
  13046. description: 状态 - 0:未提交 1:待审核 2:审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销
  13047. type: integer
  13048. applytime:
  13049. description: 申请时间(时间)
  13050. type: string
  13051. auditremark:
  13052. description: 审核备注(拒绝原因?)
  13053. type: string
  13054. begindate:
  13055. description: 开始交易日(yyyymmdd)
  13056. type: string
  13057. buyorsell:
  13058. description: 买卖 - 0:买 1:卖
  13059. type: integer
  13060. enddate:
  13061. description: 结束交易日(yyyymmdd)
  13062. type: string
  13063. goodscode:
  13064. description: 商品代码
  13065. type: string
  13066. goodsid:
  13067. description: 商品ID
  13068. type: integer
  13069. goodsname:
  13070. description: 商品名称
  13071. type: string
  13072. marketid:
  13073. description: 市场ID
  13074. type: integer
  13075. qty:
  13076. description: 期初均价
  13077. type: number
  13078. tradeid:
  13079. description: 成交单号(关联持仓)
  13080. type: string
  13081. transferamount:
  13082. description: 转让总金额(金额)
  13083. type: number
  13084. transferprice:
  13085. description: 转让价格(协议价格)
  13086. type: number
  13087. type: object
  13088. models.TradeHolderDetail:
  13089. properties:
  13090. accountid:
  13091. description: 账号ID
  13092. type: integer
  13093. agreeunit:
  13094. description: 合约乘数
  13095. type: number
  13096. buyorsell:
  13097. description: 方向 - 0:买 1:卖
  13098. type: integer
  13099. currencyid:
  13100. description: 商品币种id
  13101. type: integer
  13102. currencyname:
  13103. description: 币种名称
  13104. type: string
  13105. decimalplace:
  13106. description: 商品价格小数位
  13107. type: integer
  13108. enumdicname:
  13109. description: 商品单位名称
  13110. type: string
  13111. expirecycle:
  13112. description: 行权周期(天) - 1:滚动行权时填写
  13113. type: integer
  13114. expiredate:
  13115. description: 行权日(yyyyMMdd) - 到期日
  13116. type: string
  13117. expiretype:
  13118. description: 行权日类型 - 1:滚动行权 2:固定日行权
  13119. type: integer
  13120. freezeqty:
  13121. description: 期初均价
  13122. type: number
  13123. goodscode:
  13124. description: 商品代码
  13125. type: string
  13126. goodsid:
  13127. description: 商品ID
  13128. type: integer
  13129. goodsname:
  13130. description: 商品名称
  13131. type: string
  13132. goodunitid:
  13133. description: 商品单位id
  13134. type: integer
  13135. holderamount:
  13136. description: 持仓金额
  13137. type: number
  13138. holdercredit:
  13139. description: 持仓授信金额
  13140. type: number
  13141. holderdays:
  13142. description: 剩余冻结天数
  13143. type: integer
  13144. holderprice:
  13145. description: 持仓价格
  13146. type: number
  13147. holderqty:
  13148. description: 期初均价
  13149. type: number
  13150. isconfirmexercise:
  13151. description: 是否确认行权- 0:否 1:是
  13152. type: integer
  13153. ispreexercise:
  13154. description: 是否预申报- 0:否 1:是 2:不可行权
  13155. type: integer
  13156. marketid:
  13157. description: 市场id
  13158. type: integer
  13159. marketname:
  13160. description: 市场名称
  13161. type: string
  13162. openprice:
  13163. description: 建仓价格
  13164. type: number
  13165. openqty:
  13166. description: 期初均价
  13167. type: number
  13168. optiontype:
  13169. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  13170. type: integer
  13171. preexerciseprice:
  13172. description: 预申报价格
  13173. type: number
  13174. premium:
  13175. description: 权利金
  13176. type: number
  13177. qtydecimalplace:
  13178. description: 商品成交量小数位
  13179. type: integer
  13180. refgoodscode:
  13181. description: 标的合约代码
  13182. type: string
  13183. refgoodsid:
  13184. description: 标的合约id
  13185. type: integer
  13186. releaseamount:
  13187. description: 释放持仓金额
  13188. type: number
  13189. releaseholdercredit:
  13190. description: 释放持仓授信金额
  13191. type: number
  13192. taname:
  13193. description: 资金账号名称
  13194. type: string
  13195. tradeamount:
  13196. description: 成交金额
  13197. type: number
  13198. tradedate:
  13199. description: 交易日(yyyyMMdd)
  13200. type: string
  13201. tradeid:
  13202. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13203. type: string
  13204. trademode:
  13205. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  13206. 21:竞拍-大宗式 22:受托竞价 46:掉期
  13207. type: integer
  13208. tradeproperty:
  13209. description: 交易属性
  13210. type: integer
  13211. tradetime:
  13212. description: 交易时间
  13213. type: string
  13214. userid:
  13215. description: 用户id
  13216. type: integer
  13217. username:
  13218. description: 用户名称
  13219. type: string
  13220. type: object
  13221. models.Unlinkermcphedgeplan:
  13222. properties:
  13223. accountid:
  13224. description: 期货账户ID - 作废
  13225. type: integer
  13226. accountname:
  13227. description: 交易用户
  13228. type: string
  13229. applyid:
  13230. description: 申请人
  13231. type: integer
  13232. applysrc:
  13233. description: 申请来源 - 1:管理端 2:终端
  13234. type: integer
  13235. applytime:
  13236. description: 申请时间
  13237. type: string
  13238. areauserid:
  13239. description: '[企业ID]机构ID'
  13240. type: integer
  13241. auditid:
  13242. description: 审核人
  13243. type: integer
  13244. auditremark:
  13245. description: 审核备注
  13246. type: string
  13247. auditsrc:
  13248. description: 审核来源 - 1:管理端 2:终端
  13249. type: integer
  13250. audittime:
  13251. description: 审核时间
  13252. type: string
  13253. audittradedate:
  13254. description: 审核交易日(yyyyMMdd)
  13255. type: string
  13256. biztype:
  13257. description: 业务类型 - 1:套保
  13258. type: integer
  13259. contracttype:
  13260. description: 计划类型 - 1:采购 -1:销售
  13261. type: integer
  13262. convertfactor:
  13263. description: 标仓系数 - 作废
  13264. type: number
  13265. createtime:
  13266. description: 创建时间
  13267. type: string
  13268. currencyid:
  13269. description: 结算币种ID - 作废
  13270. type: integer
  13271. deliverygoodsid:
  13272. description: 现货品种ID
  13273. type: integer
  13274. enumdicname:
  13275. description: 结算币种
  13276. type: string
  13277. hedgeplanid:
  13278. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  13279. type: string
  13280. hedgeplanno:
  13281. description: '[计划编号]套保计划编号,模糊查询'
  13282. type: string
  13283. hedgeplanstatus:
  13284. description: '[状态]套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回'
  13285. type: integer
  13286. isrelated:
  13287. description: 是否已关联计划项目 - 0:否 1:是
  13288. type: integer
  13289. planqty:
  13290. description: '[计划量]计划数量'
  13291. type: number
  13292. plantime:
  13293. description: 计划时间
  13294. type: string
  13295. producttype:
  13296. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  13297. type: integer
  13298. remark:
  13299. description: 备注
  13300. type: string
  13301. spotgoodsdesc:
  13302. description: 商品型号
  13303. type: string
  13304. tradedate:
  13305. description: 交易日(yyyyMMdd)
  13306. type: string
  13307. tradeuserid:
  13308. description: 交易用户ID
  13309. type: integer
  13310. updatetime:
  13311. description: 更新时间
  13312. type: string
  13313. wrstandardid:
  13314. description: 现货商品ID
  13315. type: integer
  13316. wrstandardname:
  13317. description: 现货商品,模糊查询
  13318. type: string
  13319. required:
  13320. - areauserid
  13321. type: object
  13322. models.Useraccount:
  13323. properties:
  13324. accountname:
  13325. description: 账户名称(机构名称)
  13326. type: string
  13327. accountstatus:
  13328. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  13329. type: integer
  13330. applysrc:
  13331. description: 申请来源 - 1:管理端 2:终端
  13332. type: integer
  13333. auditremark:
  13334. description: 审核备注
  13335. type: string
  13336. auditsrc:
  13337. description: 审核来源 - 1:管理端 2:终端
  13338. type: integer
  13339. audittime:
  13340. description: 审核时间
  13341. type: string
  13342. audituserid:
  13343. description: 审核人
  13344. type: integer
  13345. broker:
  13346. description: 所属经纪人ID
  13347. type: integer
  13348. canceltime:
  13349. description: 销户时间
  13350. type: string
  13351. canceluserid:
  13352. description: 销户人
  13353. type: integer
  13354. canrecommend:
  13355. description: 是否可推荐 - 0:不可 1;可
  13356. type: integer
  13357. createtime:
  13358. description: 创建时间
  13359. type: string
  13360. creatorid:
  13361. description: 创建人
  13362. type: integer
  13363. hasauth:
  13364. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  13365. type: integer
  13366. isanonymous:
  13367. description: 是否匿名下单 - 0:否 1:是
  13368. type: integer
  13369. maxinvestornum:
  13370. description: 最大用户数(经纪会员下投资者个数)
  13371. type: integer
  13372. memberuserid:
  13373. description: 所属会员ID
  13374. type: integer
  13375. modifierid:
  13376. description: 修改人
  13377. type: integer
  13378. modifyremark:
  13379. description: 变更备注
  13380. type: string
  13381. modifystatus:
  13382. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  13383. type: integer
  13384. modifytime:
  13385. description: 修改时间
  13386. type: string
  13387. parenttopuser:
  13388. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  13389. type: string
  13390. parentuserid:
  13391. description: 所属机构ID
  13392. type: integer
  13393. reckonaccountid:
  13394. description: 默认结算资金账号ID(机构分润使用) 作废
  13395. type: integer
  13396. refercount:
  13397. description: 推荐总人数
  13398. type: integer
  13399. refereeuserid:
  13400. description: 推荐人ID
  13401. type: integer
  13402. refernum:
  13403. description: 推荐码
  13404. type: string
  13405. rootuserid:
  13406. description: 根用户ID
  13407. type: integer
  13408. subaccountlevel:
  13409. description: 子账户层数
  13410. type: integer
  13411. subarealevelpath:
  13412. description: 子机构层级路径(逗号分隔,首尾加逗号)
  13413. type: string
  13414. userid:
  13415. description: 用户ID
  13416. type: integer
  13417. usertype:
  13418. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  13419. type: integer
  13420. required:
  13421. - userid
  13422. type: object
  13423. models.Userfavoritegoods:
  13424. properties:
  13425. goodsid:
  13426. description: 商品ID
  13427. type: integer
  13428. required:
  13429. - goodsid
  13430. type: object
  13431. models.Userinfo:
  13432. properties:
  13433. address:
  13434. description: 地址
  13435. type: string
  13436. attachment1:
  13437. description: 附件1
  13438. type: string
  13439. attachment2:
  13440. description: 附件2
  13441. type: string
  13442. bankaccount:
  13443. description: 银行帐号 (加密存储)
  13444. type: string
  13445. bankaccountname:
  13446. description: 收款人名称
  13447. type: string
  13448. bankcardfrontphotourl:
  13449. description: 银行卡正面照地址
  13450. type: string
  13451. bankid:
  13452. description: 银行编码
  13453. type: string
  13454. bankname:
  13455. description: 银行名称
  13456. type: string
  13457. biznature:
  13458. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  13459. type: integer
  13460. bizscope:
  13461. description: 企业经营范围(企业)
  13462. type: string
  13463. cardbackphotourl:
  13464. description: 证件背面图片地址
  13465. type: string
  13466. cardfrontphotourl:
  13467. description: 证件正面图片地址
  13468. type: string
  13469. cardnum:
  13470. description: 证件号码(加密存储)
  13471. type: string
  13472. cardtypeid:
  13473. description: 证件类型ID
  13474. type: integer
  13475. cityid:
  13476. description: 市
  13477. type: integer
  13478. company:
  13479. description: 公司(个人)
  13480. type: string
  13481. contactname:
  13482. description: 联系人
  13483. type: string
  13484. countryid:
  13485. description: 国家
  13486. type: integer
  13487. createtime:
  13488. description: 创建时间
  13489. type: string
  13490. creatorid:
  13491. description: 创建人
  13492. type: integer
  13493. customername:
  13494. description: 客户名称(企业名称)
  13495. type: string
  13496. districtid:
  13497. description: 地区
  13498. type: integer
  13499. email:
  13500. description: 邮件(加密存储)
  13501. type: string
  13502. fax:
  13503. description: 传真(加密存储)
  13504. type: string
  13505. halfbodyphotourl:
  13506. description: 半身照地址
  13507. type: string
  13508. hasencrypt:
  13509. description: 数据是否已加密 - 0:未加密 1:已加密
  13510. type: integer
  13511. headurl:
  13512. description: 头像地址
  13513. type: string
  13514. legalcardbackphotourl:
  13515. description: 法人身份证背面照地址
  13516. type: string
  13517. legalcardfrontphotourl:
  13518. description: 法人身份证正面照地址
  13519. type: string
  13520. legalpersonname:
  13521. description: 法人姓名(企业)
  13522. type: string
  13523. mobile:
  13524. description: 手机号码(加密存储)
  13525. type: string
  13526. mobile2:
  13527. description: 手机号码[明文-尚志]
  13528. type: string
  13529. modifierid:
  13530. description: 修改人
  13531. type: integer
  13532. modifiertime:
  13533. description: 修改时间
  13534. type: string
  13535. needinvoice:
  13536. description: 是否需要发票 - 0:不需要 1:需要
  13537. type: integer
  13538. nickname:
  13539. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  13540. type: string
  13541. openmode:
  13542. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  13543. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  13544. type: integer
  13545. otherurl:
  13546. description: 其它图片地址[使用分号分隔]
  13547. type: string
  13548. postalcode:
  13549. description: 邮政编码
  13550. type: string
  13551. provinceid:
  13552. description: 省
  13553. type: integer
  13554. qq:
  13555. description: QQ(加密存储
  13556. type: string
  13557. remark:
  13558. description: 备注
  13559. type: string
  13560. sex:
  13561. description: '用户性别 0: 女 1: 男'
  13562. type: integer
  13563. signpdfurl:
  13564. description: 签约pdf文件
  13565. type: string
  13566. telphone:
  13567. description: 联系电话(加密存储)
  13568. type: string
  13569. userid:
  13570. description: 用户ID
  13571. type: integer
  13572. userinfotype:
  13573. description: 用户信息类型 - 1:个人 2:企业
  13574. type: integer
  13575. userstatus:
  13576. description: 用户状态 - 1:正常 2:注销
  13577. type: integer
  13578. usertype:
  13579. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  13580. type: integer
  13581. wechat:
  13582. description: 微信(加密存储)
  13583. type: string
  13584. wskhinfo:
  13585. description: 开户申请信息(JSON)
  13586. type: string
  13587. required:
  13588. - userid
  13589. type: object
  13590. models.WRSConverTDetail:
  13591. properties:
  13592. convertratio:
  13593. description: 套保系数
  13594. type: number
  13595. deliverygoodscode:
  13596. description: 现货商品代码
  13597. type: string
  13598. deliverygoodsid:
  13599. description: 现货品种ID
  13600. type: integer
  13601. deliverygoodsname:
  13602. description: 现货商品名称
  13603. type: string
  13604. enumdicname:
  13605. description: 单位名称
  13606. type: string
  13607. goodsunitid:
  13608. description: 套保品种单位id
  13609. type: integer
  13610. middlegoodscode:
  13611. description: 套保品种代码
  13612. type: string
  13613. middlegoodsid:
  13614. description: 套保品种ID
  13615. type: integer
  13616. middlegoodsname:
  13617. description: 套保品种名称
  13618. type: string
  13619. modifytime:
  13620. description: 修改时间
  13621. type: string
  13622. wrstandardid:
  13623. description: 品类ID
  13624. type: integer
  13625. type: object
  13626. models.WRStandardInfo:
  13627. properties:
  13628. areauserid:
  13629. description: 所属机构
  13630. type: integer
  13631. convertfactor:
  13632. description: 标仓系数
  13633. type: number
  13634. createtime:
  13635. description: 创建时间
  13636. type: string
  13637. creatorid:
  13638. description: 创建人
  13639. type: integer
  13640. deliverygoodsid:
  13641. description: 品种ID
  13642. type: integer
  13643. deliverygoodsname:
  13644. description: 交割商品名称
  13645. type: string
  13646. factoryitemjson:
  13647. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  13648. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  13649. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  13650. 逗号分隔'
  13651. type: string
  13652. isvalid:
  13653. description: 是否有效 - 0:无效 1:有效
  13654. type: integer
  13655. minivalue:
  13656. description: 最小变动值
  13657. type: integer
  13658. minivaluedp:
  13659. description: 最小变动值小数位
  13660. type: integer
  13661. realminivalue:
  13662. description: 实际最小变动值
  13663. type: integer
  13664. realminivaluedp:
  13665. description: 实际最小变动值小数位
  13666. type: integer
  13667. remark:
  13668. description: 备注
  13669. type: string
  13670. unitid:
  13671. description: 单位ID
  13672. type: integer
  13673. unitname:
  13674. description: 单位
  13675. type: string
  13676. updatetime:
  13677. description: 更新时间
  13678. type: string
  13679. updatorid:
  13680. description: 更新人
  13681. type: integer
  13682. wrsstatus:
  13683. description: 状态 - 作废 - 0:未激活 1:正常
  13684. type: integer
  13685. wrstandardcode:
  13686. description: 现货品类代码
  13687. type: string
  13688. wrstandardid:
  13689. description: 现货品类ID(SEQ_WRSTANDARD)
  13690. type: integer
  13691. wrstandardname:
  13692. description: 现货品类名称
  13693. type: string
  13694. required:
  13695. - wrstandardid
  13696. type: object
  13697. models.WRTradeBargainApply:
  13698. properties:
  13699. accountid:
  13700. description: 摘牌资金账号
  13701. type: integer
  13702. applyprice:
  13703. description: 申请价格(议价价格)
  13704. type: string
  13705. applyqty:
  13706. description: 摘牌数量(议价数量)
  13707. type: number
  13708. applyremark:
  13709. description: 申请备注
  13710. type: string
  13711. applystatus:
  13712. description: 申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  13713. type: integer
  13714. applytime:
  13715. description: 申请时间(议价时间)
  13716. type: string
  13717. begindate:
  13718. description: 开始交易日(yyyymmdd)
  13719. type: string
  13720. buyorsell:
  13721. description: 买卖(挂牌类型) - 0:买 1:卖
  13722. type: integer
  13723. confirmremark:
  13724. description: 确认备注
  13725. type: string
  13726. confirmtime:
  13727. description: 确认时间
  13728. type: string
  13729. confirmuserid:
  13730. description: 确认人
  13731. type: integer
  13732. deliverygoodscode:
  13733. description: 品种代码
  13734. type: string
  13735. deliverygoodsid:
  13736. description: 品种ID
  13737. type: integer
  13738. deliverygoodsname:
  13739. description: 品种名称
  13740. type: string
  13741. deliverymonth:
  13742. description: 交收月
  13743. type: string
  13744. enddate:
  13745. description: 结束交易日(yyyymmdd)
  13746. type: string
  13747. enumdicname:
  13748. description: 单位名称
  13749. type: string
  13750. fixedprice:
  13751. description: 期初均价
  13752. type: number
  13753. handlestatus:
  13754. description: 处理状态
  13755. type: integer
  13756. marginvalue:
  13757. description: 期初均价
  13758. type: number
  13759. marketid:
  13760. description: 市场ID
  13761. type: integer
  13762. matchaccountid:
  13763. description: 挂牌方资金账号
  13764. type: integer
  13765. matchuserid:
  13766. description: 挂牌方用户id
  13767. type: integer
  13768. matchusername:
  13769. description: 挂牌方用户名称(已脱敏)
  13770. type: string
  13771. minivalue:
  13772. description: 现货商品最小变动值
  13773. type: integer
  13774. optioncompare:
  13775. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  13776. type: string
  13777. orderqty:
  13778. description: 挂牌数量
  13779. type: integer
  13780. refprice:
  13781. description: 参考价格
  13782. type: string
  13783. retcode:
  13784. description: 委托返回代码
  13785. type: integer
  13786. templatename:
  13787. description: 履约方式(履约模板名称)
  13788. type: string
  13789. tradedate:
  13790. description: 交易日(yyyyMMdd)
  13791. type: string
  13792. userid:
  13793. description: 摘牌人用户ID(议价人ID)
  13794. type: integer
  13795. username:
  13796. description: 议价人名字(已脱敏)
  13797. type: string
  13798. validtime:
  13799. description: 有效期限
  13800. type: string
  13801. warehouseid:
  13802. description: 仓库ID
  13803. type: integer
  13804. warehousename:
  13805. description: 仓库名称
  13806. type: string
  13807. wrbargainid:
  13808. description: 议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)
  13809. type: string
  13810. wrfactortypeid:
  13811. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  13812. type: string
  13813. wrfactortypename:
  13814. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  13815. type: string
  13816. wrstandardcode:
  13817. description: 现货商品代码
  13818. type: string
  13819. wrstandardid:
  13820. description: 现货商品ID
  13821. type: integer
  13822. wrstandardname:
  13823. description: 商品名称
  13824. type: string
  13825. wrtradeorderid:
  13826. description: 关联委托单ID
  13827. type: string
  13828. wrtypename:
  13829. description: 商品
  13830. type: string
  13831. type: object
  13832. models.Warehouseinfo:
  13833. properties:
  13834. address:
  13835. description: 详细地址
  13836. type: string
  13837. areauserid:
  13838. description: 所属机构
  13839. type: integer
  13840. autoid:
  13841. description: 自增ID
  13842. type: integer
  13843. cityid:
  13844. description: 市
  13845. type: integer
  13846. contactname:
  13847. description: 联系人
  13848. type: string
  13849. contactnum:
  13850. description: 联系电话
  13851. type: string
  13852. countryid:
  13853. description: 国家
  13854. type: integer
  13855. createtime:
  13856. description: 创建时间
  13857. type: string
  13858. districtid:
  13859. description: 区
  13860. type: integer
  13861. hasvideo:
  13862. description: 是否有视频 - 0:无 1:有
  13863. type: integer
  13864. provinceid:
  13865. description: 省
  13866. type: integer
  13867. remark:
  13868. description: 审核备注
  13869. type: string
  13870. videourl:
  13871. description: 视频地址
  13872. type: string
  13873. warehousecode:
  13874. description: 仓库代码
  13875. type: string
  13876. warehousename:
  13877. description: 仓库名称
  13878. type: string
  13879. warehousestatus:
  13880. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  13881. type: integer
  13882. warehousetype:
  13883. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  13884. type: integer
  13885. required:
  13886. - autoid
  13887. - warehousecode
  13888. type: object
  13889. models.WrAverageTradePrice:
  13890. properties:
  13891. averageprice:
  13892. description: 期初均价
  13893. type: number
  13894. tradedate:
  13895. description: 交易日yyyymm
  13896. type: string
  13897. type: object
  13898. models.WrBrandAndYears:
  13899. properties:
  13900. brandlst:
  13901. description: 品牌列表
  13902. items:
  13903. $ref: '#/definitions/models.DgFactoryItem'
  13904. type: array
  13905. yearslst:
  13906. description: 年份列表
  13907. items:
  13908. $ref: '#/definitions/models.DgFactoryItem'
  13909. type: array
  13910. type: object
  13911. models.WrBsGoodsInfo:
  13912. properties:
  13913. buyorsell:
  13914. description: 买卖方向 0-买 1-卖
  13915. type: integer
  13916. goodsid:
  13917. description: 交易合约ID
  13918. type: integer
  13919. lstitem:
  13920. description: 商品信息项
  13921. items:
  13922. $ref: '#/definitions/models.WrTypeItem'
  13923. type: array
  13924. lststep:
  13925. description: 履约规则
  13926. items:
  13927. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  13928. type: array
  13929. type: object
  13930. models.WrBuybackDetail:
  13931. properties:
  13932. buybackamount:
  13933. description: 回购金额
  13934. type: number
  13935. buybackqty:
  13936. description: 回购数量
  13937. type: number
  13938. buybackreleasemargin:
  13939. description: 回购释放保证金
  13940. type: number
  13941. buybacktime:
  13942. description: 回购时间
  13943. type: string
  13944. errordesc:
  13945. description: 错误描述
  13946. type: string
  13947. handlestatus:
  13948. description: 处理 - 1:待处理 2:处理成功 3:处理失败
  13949. type: integer
  13950. relatedwrid:
  13951. description: 关联仓单ID
  13952. type: integer
  13953. scfcontractid:
  13954. description: SCF合同ID
  13955. type: string
  13956. scfwrbuybackid:
  13957. description: SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)
  13958. type: integer
  13959. tradedate:
  13960. description: 交易日(yyyyMMdd)
  13961. type: string
  13962. type: object
  13963. models.WrClientAdSpaceConfig:
  13964. properties:
  13965. adspaceid:
  13966. description: 广告位ID
  13967. type: integer
  13968. adspacename:
  13969. description: 广告位名称
  13970. type: string
  13971. adspacetype:
  13972. description: 广告位类型 - 1:固定广告位
  13973. type: integer
  13974. areauserid:
  13975. description: 所属机构ID
  13976. type: integer
  13977. createdate:
  13978. description: 创建时间
  13979. type: string
  13980. imagepath:
  13981. description: 图片
  13982. type: string
  13983. modifierid:
  13984. description: 操作人
  13985. type: integer
  13986. recsize:
  13987. description: 推荐尺寸
  13988. type: string
  13989. title:
  13990. description: 标题
  13991. type: string
  13992. updatedate:
  13993. description: 更新时间
  13994. type: string
  13995. urlcontent:
  13996. description: 链接(地址\商品ID\功能菜单Key\appid)
  13997. type: string
  13998. urltype:
  13999. description: 链接类型 - 0:无 1:直接地址 2:商品ID 3:图片详情 4:App功能 5:微信小程序
  14000. type: integer
  14001. type: object
  14002. models.WrDeliveryAvalidHoldLB:
  14003. properties:
  14004. accountid:
  14005. description: 资金账号
  14006. type: integer
  14007. avalidqty:
  14008. description: 数量(可点选数量)
  14009. type: number
  14010. deliverygoodsid:
  14011. description: 品种id
  14012. type: integer
  14013. enumdicname:
  14014. description: 单位名称
  14015. type: string
  14016. goodsid:
  14017. description: x合约商品id
  14018. type: integer
  14019. ladingbillid:
  14020. description: 提单id
  14021. type: string
  14022. pgoodscode:
  14023. description: p商品代码(点价合约)
  14024. type: string
  14025. pgoodsid:
  14026. description: p商品id(点价合约)
  14027. type: integer
  14028. pgoodsname:
  14029. description: p商品名称(点价合约)
  14030. type: string
  14031. pricemove:
  14032. description: 升贴水
  14033. type: number
  14034. subnum:
  14035. description: 提单子id
  14036. type: integer
  14037. userid:
  14038. description: 用户id
  14039. type: integer
  14040. username:
  14041. description: 仓单持有人
  14042. type: string
  14043. warehousecode:
  14044. description: 仓库代码
  14045. type: string
  14046. warehouseid:
  14047. description: 仓库id
  14048. type: integer
  14049. warehousename:
  14050. description: 仓库名称
  14051. type: string
  14052. wrfactortypeid:
  14053. description: 仓单要素id
  14054. type: string
  14055. wrstandardcode:
  14056. description: 品代码
  14057. type: string
  14058. wrstandardid:
  14059. description: 品类d
  14060. type: integer
  14061. wrstandardname:
  14062. description: 品类名称
  14063. type: string
  14064. wrtypename:
  14065. description: 商品
  14066. type: string
  14067. xgoodscode:
  14068. description: x合约代码
  14069. type: string
  14070. xgoodsname:
  14071. description: x合约名称
  14072. type: string
  14073. type: object
  14074. models.WrDeliveryDetail:
  14075. properties:
  14076. accountid:
  14077. description: 账号ID
  14078. type: integer
  14079. averageprice:
  14080. description: 期初均价
  14081. type: number
  14082. begindate:
  14083. description: 开始交易日(yyyymmdd)
  14084. type: string
  14085. buyorsell:
  14086. description: 方向 - 0:买 1:卖
  14087. type: integer
  14088. deliveryamount:
  14089. description: 货款金额(X总货款+P总货款)
  14090. type: number
  14091. deliveryid:
  14092. description: 交割单号(121+Unix秒时间戳(10位)+xxxxxx)
  14093. type: string
  14094. deliveryorderid:
  14095. description: 申报单号
  14096. type: string
  14097. deliverypricemove:
  14098. description: 升贴水(升贴水总额)
  14099. type: number
  14100. deliveryqty:
  14101. description: 交收数量(点选数量)
  14102. type: number
  14103. deliverystatus:
  14104. description: 状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成
  14105. type: integer
  14106. deliverytime:
  14107. description: 交割时间
  14108. type: string
  14109. deliverytotalamount:
  14110. description: 交收金额
  14111. type: number
  14112. enddate:
  14113. description: 结束交易日(yyyymmdd)
  14114. type: string
  14115. enumdicname:
  14116. description: 单位名称
  14117. type: string
  14118. matchaccountid:
  14119. description: 对手账号ID
  14120. type: integer
  14121. matchusername:
  14122. description: 对手方名称(仓单持有人)
  14123. type: string
  14124. p1goodsremainamount:
  14125. description: 点价货款 ps:当PPRICEMODE=2时, 界面需显示"-"
  14126. type: number
  14127. pdeliverycloseqty:
  14128. description: p合约平仓数量
  14129. type: number
  14130. pdeliveryprice:
  14131. description: 点价价格 ps:当PPRICEMODE=2时, 界面需显示"-"
  14132. type: number
  14133. pgoodscode:
  14134. description: 商品代码
  14135. type: string
  14136. pgoodsid:
  14137. description: p点选合约id
  14138. type: integer
  14139. pgoodsname:
  14140. description: 商品名称
  14141. type: string
  14142. ppricemode:
  14143. description: 点价价格方式 - 1:商品价 2:固定值
  14144. type: integer
  14145. tradedate:
  14146. description: 交易日(yyyymmdd)
  14147. type: string
  14148. userid:
  14149. description: 用户id
  14150. type: integer
  14151. username:
  14152. description: 用户名称
  14153. type: string
  14154. warehousename:
  14155. description: 仓库名称
  14156. type: string
  14157. wrfactortypeid:
  14158. description: 仓单要素类型ID
  14159. type: string
  14160. wrtypename:
  14161. description: 商品
  14162. type: string
  14163. xdeliverycloseqty:
  14164. description: 合约数量
  14165. type: number
  14166. xgoodsamount:
  14167. description: 期初均价
  14168. type: number
  14169. xgoodscode:
  14170. description: 商品代码
  14171. type: string
  14172. xgoodsid:
  14173. description: x交易合约ID
  14174. type: integer
  14175. xgoodsname:
  14176. description: 商品名称
  14177. type: string
  14178. type: object
  14179. models.WrDeliveryGoodsSection:
  14180. properties:
  14181. dglst:
  14182. description: 板块商品列表
  14183. items:
  14184. $ref: '#/definitions/models.WrDeliveryGoodsSectionConfig'
  14185. type: array
  14186. imagepath:
  14187. description: 图片地址
  14188. type: string
  14189. orderindex:
  14190. description: 排序
  14191. type: integer
  14192. sectionid:
  14193. description: 版块ID (SEQ_DELIVERYGOODSSECTION) - 自增100开始, 前面ID预留给SectionType
  14194. = 1的版块1 - 云融指数
  14195. type: integer
  14196. sectionname:
  14197. description: 版块名称
  14198. type: string
  14199. sectiontype:
  14200. description: 版块类型 - 1:指数版块 2:普通版块
  14201. type: integer
  14202. type: object
  14203. models.WrDeliveryGoodsSectionConfig:
  14204. properties:
  14205. deliverygoodscode:
  14206. description: 现货商品代码
  14207. type: string
  14208. deliverygoodsid:
  14209. description: 现货品种ID(SEQ_DELIVERYGOODS)
  14210. type: integer
  14211. deliverygoodsname:
  14212. description: 现货商品名称
  14213. type: string
  14214. orderindex:
  14215. description: 排序
  14216. type: integer
  14217. type: object
  14218. models.WrDraftUserInfo:
  14219. properties:
  14220. address:
  14221. description: 地址
  14222. type: string
  14223. attachment1:
  14224. description: 附件1
  14225. type: string
  14226. attachment2:
  14227. description: 附件2
  14228. type: string
  14229. attachment3:
  14230. description: 附件3
  14231. type: string
  14232. attachment4:
  14233. description: 附件4
  14234. type: string
  14235. attachment5:
  14236. description: 附件5
  14237. type: string
  14238. bankaccount:
  14239. description: 银行帐号 (加密存储)
  14240. type: string
  14241. bankaccountname:
  14242. description: 收款人名称
  14243. type: string
  14244. bankcardfrontphotourl:
  14245. description: 银行卡正面照地址
  14246. type: string
  14247. bankid:
  14248. description: 银行编码
  14249. type: string
  14250. bankname:
  14251. description: 银行名称
  14252. type: string
  14253. birthday:
  14254. description: 生日(个人:年月日)
  14255. type: string
  14256. biznature:
  14257. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  14258. type: integer
  14259. bizscope:
  14260. description: 企业经营范围(企业)
  14261. type: string
  14262. biztype:
  14263. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  14264. type: integer
  14265. cardbackphotourl:
  14266. description: 证件背面图片地址
  14267. type: string
  14268. cardfrontphotourl:
  14269. description: 证件正面图片地址
  14270. type: string
  14271. cardnum:
  14272. description: 证件号码(加密存储)
  14273. type: string
  14274. cardtypeid:
  14275. description: 证件类型ID
  14276. type: integer
  14277. cityid:
  14278. description: 市
  14279. type: integer
  14280. company:
  14281. description: 公司(个人)
  14282. type: string
  14283. contactcardbackphotourl:
  14284. description: 联系人证件背面图片地址
  14285. type: string
  14286. contactcardfrontphotourl:
  14287. description: 联系人证件正面图片地址
  14288. type: string
  14289. contactname:
  14290. description: 联系人
  14291. type: string
  14292. countryid:
  14293. description: 国家
  14294. type: integer
  14295. createtime:
  14296. description: 创建时间
  14297. type: string
  14298. creatorid:
  14299. description: 创建人
  14300. type: integer
  14301. creditquota:
  14302. description: 授信额度(金瑞)
  14303. type: number
  14304. customername:
  14305. description: 客户名称(企业名称)
  14306. type: string
  14307. districtid:
  14308. description: 地区
  14309. type: integer
  14310. email:
  14311. description: 邮件(加密存储)
  14312. type: string
  14313. fax:
  14314. description: 传真(加密存储)
  14315. type: string
  14316. halfbodyphotourl:
  14317. description: 半身照地址
  14318. type: string
  14319. hasencrypt:
  14320. description: 数据是否已加密 - 0:未加密 1:已加密
  14321. type: integer
  14322. headurl:
  14323. description: 头像地址
  14324. type: string
  14325. legalcardbackphotourl:
  14326. description: 法人身份证背面照地址
  14327. type: string
  14328. legalcardfrontphotourl:
  14329. description: 法人身份证正面照地址
  14330. type: string
  14331. legalpersonname:
  14332. description: 法人姓名(企业)
  14333. type: string
  14334. mobile:
  14335. description: 手机号码(加密存储)
  14336. type: string
  14337. mobile2:
  14338. description: 手机号码[明文-尚志]
  14339. type: string
  14340. modifierid:
  14341. description: 修改人
  14342. type: integer
  14343. modifiertime:
  14344. description: 修改时间
  14345. type: string
  14346. needinvoice:
  14347. description: 是否需要发票 - 0:不需要 1:需要
  14348. type: integer
  14349. nickname:
  14350. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  14351. type: string
  14352. openmode:
  14353. description: "开户方式 - 1:管理端开户 2\t:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  14354. 6:苹果手机端注册 7:PC交易端注册"
  14355. type: integer
  14356. otherurl:
  14357. description: 其它图片地址[使用分号分隔]
  14358. type: string
  14359. postalcode:
  14360. description: 邮政编码
  14361. type: string
  14362. provinceid:
  14363. description: 省
  14364. type: integer
  14365. proxystatementurl:
  14366. description: 授权委托书
  14367. type: string
  14368. qq:
  14369. description: QQ(加密存储
  14370. type: string
  14371. remark:
  14372. description: 备注
  14373. type: string
  14374. sex:
  14375. description: '用户性别 0: 女 1: 男'
  14376. type: integer
  14377. signpdfurl:
  14378. description: 签约pdf文件
  14379. type: string
  14380. taxpayernum:
  14381. description: 纳税人识别号
  14382. type: string
  14383. telphone:
  14384. description: 联系电话(加密存储)
  14385. type: string
  14386. userid:
  14387. description: 用户ID
  14388. type: integer
  14389. userinfotype:
  14390. description: 用户信息类型 - 1:个人 2:企业
  14391. type: integer
  14392. userstatus:
  14393. description: 用户状态 - 1:正常 2:注销
  14394. type: integer
  14395. usertype:
  14396. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者
  14397. type: integer
  14398. wechat:
  14399. description: 微信(加密存储)
  14400. type: string
  14401. wskhinfo:
  14402. description: 开户申请信息(JSON)
  14403. type: string
  14404. type: object
  14405. models.WrFAProductDetail:
  14406. properties:
  14407. accountid:
  14408. description: 资金账号
  14409. type: integer
  14410. areauserid:
  14411. description: 金融机构ID
  14412. type: integer
  14413. financingdays:
  14414. description: 天数(天)
  14415. type: integer
  14416. interestminlen:
  14417. description: 最小起息天数
  14418. type: integer
  14419. interestrate:
  14420. description: 利率
  14421. type: number
  14422. interestratemode:
  14423. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  14424. type: integer
  14425. interestsettlemode:
  14426. description: 结息方式 - 1:按日结息 3:按月结息
  14427. type: integer
  14428. interestsettlevalue:
  14429. description: 结息方式值
  14430. type: integer
  14431. isautoloan:
  14432. description: 是否自动放款 0-手动 1-自动 (当为自动放款时,显示"放款快")
  14433. type: integer
  14434. loantag:
  14435. description: '放款标识: "放款快" 或者为空'
  14436. type: string
  14437. marginratio:
  14438. description: 保证金比率质押率 - [仓单质押]
  14439. type: number
  14440. productdetailid:
  14441. description: 产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)
  14442. type: integer
  14443. productid:
  14444. description: 金融产品ID
  14445. type: integer
  14446. productname:
  14447. description: 产品名称
  14448. type: string
  14449. updatetime:
  14450. description: 更新时间
  14451. type: string
  14452. username:
  14453. description: 融出方
  14454. type: string
  14455. type: object
  14456. models.WrFactorTypeInfo:
  14457. properties:
  14458. deliverygoodscode:
  14459. description: 品种代码
  14460. type: string
  14461. deliverygoodsname:
  14462. description: 品种名称
  14463. type: string
  14464. dgfactoryitemid:
  14465. description: 选择项id
  14466. type: integer
  14467. dgfactoryitemtypeid:
  14468. description: 要素选择项ID (1-仓库 2-品牌)
  14469. type: integer
  14470. dgfactoryitemvalue:
  14471. description: 要素项值
  14472. type: string
  14473. itemtypename:
  14474. description: 要素项名称
  14475. type: string
  14476. optioncompare:
  14477. description: 选择比较串
  14478. type: string
  14479. warehouseid:
  14480. description: 仓库id
  14481. type: integer
  14482. wrfactortypeid:
  14483. description: 仓单要素ID
  14484. type: string
  14485. wrfactortypename:
  14486. description: 要素名称
  14487. type: string
  14488. wrfactortypename2:
  14489. description: 要素名称(不含仓库)
  14490. type: string
  14491. wrstandardcode:
  14492. description: 品类代码
  14493. type: string
  14494. wrstandardid:
  14495. description: 品类id
  14496. type: integer
  14497. wrstandardname:
  14498. description: 品类名称
  14499. type: string
  14500. type: object
  14501. models.WrFilterItem:
  14502. properties:
  14503. itemcode:
  14504. description: 代码
  14505. type: string
  14506. itemid:
  14507. description: 项id
  14508. type: integer
  14509. itemname:
  14510. description: 名称
  14511. type: string
  14512. itemtype:
  14513. description: 类型 1-品种 2-品类(商品) 3-仓库
  14514. type: integer
  14515. type: object
  14516. models.WrFinanceBuyApply:
  14517. properties:
  14518. applydate:
  14519. description: 申请时间
  14520. type: string
  14521. applystatus:
  14522. description: 申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败
  14523. type: integer
  14524. applyuserid:
  14525. description: 申请人
  14526. type: integer
  14527. auditdate:
  14528. description: 审核时间
  14529. type: string
  14530. auditremark:
  14531. description: 审核备注
  14532. type: string
  14533. audituserid:
  14534. description: 审核人
  14535. type: integer
  14536. buyaccountid:
  14537. description: 买方资金账号
  14538. type: integer
  14539. buyorsell:
  14540. description: 买卖 - 0:买 1:卖
  14541. type: integer
  14542. buyuserid:
  14543. description: 买方用户ID
  14544. type: integer
  14545. buyusername:
  14546. description: 买方名称
  14547. type: string
  14548. buywrtradeorderid:
  14549. description: 融资方买委托单ID
  14550. type: string
  14551. deliverygoodscode:
  14552. description: 品种代码
  14553. type: string
  14554. deliverygoodsid:
  14555. description: 品种ID
  14556. type: integer
  14557. deliverygoodsname:
  14558. description: 品种名称
  14559. type: string
  14560. deliverymonth:
  14561. description: 交收月(yyyy-MM) [无仓单HasWR =0]
  14562. type: string
  14563. enumdicname:
  14564. description: 单位名称
  14565. type: string
  14566. financeaccountid:
  14567. description: 融资方资金帐户ID
  14568. type: integer
  14569. financeapplyid:
  14570. description: 融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)
  14571. type: string
  14572. financeareauserid:
  14573. description: 融资方用户ID
  14574. type: string
  14575. financename:
  14576. description: 融出方名称
  14577. type: string
  14578. financetype:
  14579. description: 融资类型 1-融资回购
  14580. type: integer
  14581. financingdays:
  14582. description: 天数(天)
  14583. type: integer
  14584. freezebuymargin:
  14585. description: 冻结融资保证金(买方)
  14586. type: number
  14587. handleremark:
  14588. description: 处理备注
  14589. type: string
  14590. handlestatus:
  14591. description: 处理状态
  14592. type: integer
  14593. interestminlen:
  14594. description: 最小起息天数
  14595. type: integer
  14596. interestrate:
  14597. description: 利率
  14598. type: number
  14599. interestratemode:
  14600. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  14601. type: integer
  14602. interestsettlemode:
  14603. description: 结息方式 - 1:按日结息 3:按月结息
  14604. type: integer
  14605. interestsettlevalue:
  14606. description: 结息方式值
  14607. type: integer
  14608. isautoloan:
  14609. description: 是否自动放款 - 0:手动 1:自动
  14610. type: integer
  14611. marginratio:
  14612. description: 保证金比率质押率 - [仓单质押]
  14613. type: number
  14614. marketid:
  14615. description: 市场ID
  14616. type: integer
  14617. minivalue:
  14618. description: 现货商品最小变动值
  14619. type: integer
  14620. optioncompare:
  14621. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14622. type: string
  14623. orderqty:
  14624. description: 委托数量(商品数量)
  14625. type: number
  14626. productdetailid:
  14627. description: 产品组合ID
  14628. type: integer
  14629. productid:
  14630. description: 金融产品ID
  14631. type: integer
  14632. productname:
  14633. description: 产品名称
  14634. type: string
  14635. remark:
  14636. description: 备注
  14637. type: string
  14638. scfcontractid:
  14639. description: 仓单回购合同ID
  14640. type: string
  14641. sellaccountid:
  14642. description: 卖方资金账号
  14643. type: integer
  14644. selluserid:
  14645. description: 卖方用户ID
  14646. type: integer
  14647. sellwrtradeorderid:
  14648. description: 卖方委托单ID
  14649. type: string
  14650. tradeamount:
  14651. description: 成交金额(借款金额)
  14652. type: number
  14653. tradedate:
  14654. description: 交易日(yyyyMMdd)
  14655. type: string
  14656. tradeprice:
  14657. description: 成交价格
  14658. type: number
  14659. warehouseid:
  14660. description: 仓库ID
  14661. type: integer
  14662. warehousename:
  14663. description: 仓库名称
  14664. type: string
  14665. wrfactortypeid:
  14666. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  14667. type: string
  14668. wrfactortypename:
  14669. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14670. type: string
  14671. wrpricetype:
  14672. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌单]
  14673. type: integer
  14674. wrstandardcode:
  14675. description: 现货商品代码
  14676. type: string
  14677. wrstandardid:
  14678. description: 现货商品ID
  14679. type: integer
  14680. wrstandardname:
  14681. description: 商品名称
  14682. type: string
  14683. wrtypename:
  14684. description: 商品
  14685. type: string
  14686. type: object
  14687. models.WrFriendApply:
  14688. properties:
  14689. applicantid:
  14690. description: 申请人
  14691. type: integer
  14692. applyname:
  14693. description: 申请人名称
  14694. type: string
  14695. applysrc:
  14696. description: 申请来源 - 1:管理端 2:终端
  14697. type: integer
  14698. applystatus:
  14699. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  14700. type: integer
  14701. applytime:
  14702. description: 申请时间
  14703. type: string
  14704. auditname:
  14705. description: 审核人名称
  14706. type: string
  14707. auditorid:
  14708. description: 审核人
  14709. type: integer
  14710. auditremark:
  14711. description: 审核备注
  14712. type: string
  14713. auditsrc:
  14714. description: 审核来源 - 1:管理端 2:终端
  14715. type: integer
  14716. audittime:
  14717. description: 审核时间
  14718. type: string
  14719. friendapplyid:
  14720. description: 申请ID(SEQ_FRIENDAPPLY)
  14721. type: string
  14722. friendname:
  14723. description: 好友名字(已脱敏)
  14724. type: string
  14725. frienduserid:
  14726. description: 好友用户ID
  14727. type: string
  14728. remark:
  14729. description: 备注
  14730. type: string
  14731. userid:
  14732. description: 申请人用户ID
  14733. type: integer
  14734. type: object
  14735. models.WrFtDeliveryGoods:
  14736. properties:
  14737. deliverygoodscode:
  14738. description: 品种代码
  14739. type: string
  14740. deliverygoodsid:
  14741. description: 品种ID
  14742. type: integer
  14743. deliverygoodsname:
  14744. description: 品种名称
  14745. type: string
  14746. wdlst:
  14747. description: 商品列表
  14748. items:
  14749. $ref: '#/definitions/models.WrFtWrstandard'
  14750. type: array
  14751. type: object
  14752. models.WrFtWrstandard:
  14753. properties:
  14754. enumdicname:
  14755. description: 单位名称
  14756. type: string
  14757. minivalue:
  14758. description: 最小变动值
  14759. type: integer
  14760. wrstandardcode:
  14761. description: 现货商品代码
  14762. type: string
  14763. wrstandardid:
  14764. description: 现货商品ID
  14765. type: integer
  14766. wrstandardname:
  14767. description: 商品名称
  14768. type: string
  14769. type: object
  14770. models.WrGoodsInfo:
  14771. properties:
  14772. haswr:
  14773. description: 0:仓单预售 1:仓单贸易
  14774. type: integer
  14775. lstitem:
  14776. description: 商品信息项
  14777. items:
  14778. $ref: '#/definitions/models.WrTypeItem'
  14779. type: array
  14780. lststep:
  14781. description: 履约规则
  14782. items:
  14783. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  14784. type: array
  14785. marketid:
  14786. description: 市场id
  14787. type: integer
  14788. type: object
  14789. models.WrGoodsPerformanceStep:
  14790. properties:
  14791. autoid:
  14792. description: AutoID
  14793. type: integer
  14794. isauto:
  14795. description: 是否自动 - 0:不自动 1:自动
  14796. type: integer
  14797. remark:
  14798. description: 备注
  14799. type: string
  14800. stepdate:
  14801. description: 天数信息(T+N)
  14802. type: string
  14803. stepdays:
  14804. description: 距离上一步天数
  14805. type: integer
  14806. stepindex:
  14807. description: 步骤序号
  14808. type: integer
  14809. stepinfo:
  14810. description: 步骤信息(步骤名称+步骤值)
  14811. type: string
  14812. steptypeid:
  14813. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  14814. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  14815. type: integer
  14816. steptypename:
  14817. description: 步骤名称
  14818. type: string
  14819. stepvalue:
  14820. description: 期初均价
  14821. type: number
  14822. templateid:
  14823. description: 履约计划模板ID
  14824. type: integer
  14825. type: object
  14826. models.WrHoldLB:
  14827. properties:
  14828. accountid:
  14829. description: 持有人帐户ID
  14830. type: integer
  14831. bannerpicurl:
  14832. description: Banner图
  14833. type: string
  14834. createtime:
  14835. description: 创建时间(过户时间)
  14836. type: string
  14837. deliverygoodscode:
  14838. description: 品种代码
  14839. type: string
  14840. deliverygoodsid:
  14841. description: 品种ID
  14842. type: integer
  14843. deliverygoodsname:
  14844. description: 品种名称
  14845. type: string
  14846. enableqty:
  14847. description: 可用数量
  14848. type: number
  14849. enumdicname:
  14850. description: 单位名称
  14851. type: string
  14852. freezerqty:
  14853. description: 冻结数量
  14854. type: number
  14855. ladingbillid:
  14856. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  14857. type: string
  14858. minivalue:
  14859. description: 现货商品最小变动值
  14860. type: integer
  14861. optioncompare:
  14862. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14863. type: string
  14864. parentsubnum:
  14865. description: 拆分父子单号
  14866. type: integer
  14867. pledgeqty:
  14868. description: 质押数量
  14869. type: number
  14870. qty:
  14871. description: 数量
  14872. type: number
  14873. subnum:
  14874. description: 提单子单号
  14875. type: integer
  14876. thumurls:
  14877. description: 缩略图
  14878. type: string
  14879. tradedate:
  14880. description: 交易日(yyyyMMdd)
  14881. type: string
  14882. userid:
  14883. description: 持有人ID
  14884. type: integer
  14885. warehouseid:
  14886. description: 仓库ID
  14887. type: integer
  14888. warehousename:
  14889. description: 仓库名称
  14890. type: string
  14891. wrfactortypeid:
  14892. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  14893. type: string
  14894. wrfactortypename:
  14895. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14896. type: string
  14897. wrholdeno:
  14898. description: 仓单编号
  14899. type: string
  14900. wrid:
  14901. description: 仓单变更ID
  14902. type: string
  14903. wrstandardcode:
  14904. description: 现货商品代码
  14905. type: string
  14906. wrstandardid:
  14907. description: 现货商品ID
  14908. type: integer
  14909. wrstandardname:
  14910. description: 商品名称
  14911. type: string
  14912. wrtypename:
  14913. description: 商品
  14914. type: string
  14915. type: object
  14916. models.WrMarketTradeConfig:
  14917. properties:
  14918. basisdownratio:
  14919. description: 浮动价基差下限比例(仓单贸易)
  14920. type: number
  14921. basisupratio:
  14922. description: 浮动价基差上限比例(仓单贸易)
  14923. type: number
  14924. buychargealgorithm:
  14925. description: 买方手续费收取方式 1:比率 2:固定
  14926. type: integer
  14927. buychargealgorithm2:
  14928. description: 回购买方手续费收取方式 1:比率 2:固定 --77:现货商城
  14929. type: integer
  14930. buychargealgorithmvalue:
  14931. description: 买方手续费设置值(交易所部分)
  14932. type: number
  14933. buychargealgorithmvalue2:
  14934. description: 买方手续费设置值(会员部分)
  14935. type: number
  14936. buychargealgorithmvalue3:
  14937. description: 回购买方手续费设置值(交易所部分) --77:现货商城
  14938. type: number
  14939. buychargealgorithmvalue4:
  14940. description: 回购买方手续费设置值(会员部分) --77:现货商城
  14941. type: number
  14942. buyfirstmarginalgorithm:
  14943. description: 买方出价保证金方式 - 1:比率 2:固定 - [竞拍]
  14944. type: integer
  14945. buyfirstmarginvalue:
  14946. description: 买方出价保证金设置值 - [竞拍]
  14947. type: number
  14948. buymarginalgorithm:
  14949. description: 买方保证金方式 - 1:比率 2:固定
  14950. type: integer
  14951. buymarginvalue:
  14952. description: 买方保证金设置值
  14953. type: number
  14954. buyreleaseratio:
  14955. description: 买方释放比率[2:分步履约]
  14956. type: number
  14957. executemode:
  14958. description: 执行方式[2:分步履约] - 1:顺序执行 2:交叉执行
  14959. type: integer
  14960. executeside:
  14961. description: 执行方[2:分步履约] - 1:买方 2:卖方
  14962. type: integer
  14963. failedchargealgorithm:
  14964. description: 流拍手续费收取方式 1:比率 2:固定
  14965. type: integer
  14966. failedchargevalue:
  14967. description: 流拍手续费设置值
  14968. type: number
  14969. failedchargevalue2:
  14970. description: 流拍卖方手续费设置值
  14971. type: number
  14972. holddays:
  14973. description: 合同期限[2:分步履约]
  14974. type: integer
  14975. listingmode:
  14976. description: 挂牌方式 - 1:一口价 2:浮动价 3:贸易圈 4:协议指定
  14977. type: integer
  14978. marketid:
  14979. description: 市场ID-仓单贸易、竞拍、预售
  14980. type: integer
  14981. minqty:
  14982. description: 最小执行量[2:分步履约]
  14983. type: number
  14984. modifierid:
  14985. description: 修改人
  14986. type: integer
  14987. nowrquotaflag:
  14988. description: 是否校验无仓单额度(仓单贸易) - 0:否 1:是
  14989. type: integer
  14990. performancetempid:
  14991. description: 履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  14992. 立即执行(-1)
  14993. type: integer
  14994. performancetempid2:
  14995. description: 履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  14996. 立即执行
  14997. type: integer
  14998. performancetempid2s:
  14999. description: 履约计划模板IDs(无仓单) - 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货
  15000. - 履约方式: 立即执行
  15001. type: string
  15002. performancetempids:
  15003. description: 履约计划模板IDs(有仓单)- 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货
  15004. - 履约方式: 立即执行(-1)
  15005. type: string
  15006. performanceway:
  15007. description: 交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]
  15008. type: integer
  15009. sellchargealgorithm:
  15010. description: 卖方手续费收取方式 1:比率 2:固定
  15011. type: integer
  15012. sellchargealgorithm2:
  15013. description: 回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城
  15014. type: integer
  15015. sellchargealgorithmvalue:
  15016. description: 卖方手续费设置值(交易所部分)
  15017. type: number
  15018. sellchargealgorithmvalue2:
  15019. description: 卖方手续费设置值(会员部分)
  15020. type: number
  15021. sellchargealgorithmvalue3:
  15022. description: 回购卖方手续费设置值(交易所部分) --77:现货商城
  15023. type: number
  15024. sellchargealgorithmvalue4:
  15025. description: 回购卖方手续费设置值(会员部分) --77:现货商城
  15026. type: number
  15027. sellmarginalgorithm:
  15028. description: 卖方保证金方式 - 1:比率 2:固定
  15029. type: integer
  15030. sellmarginvalue:
  15031. description: 卖方保证金设置值
  15032. type: number
  15033. sellmarginvalue2:
  15034. description: 卖方保证金设置值(无仓单)
  15035. type: number
  15036. sellreleaseratio:
  15037. description: 卖方释放比率[2:分步履约]
  15038. type: number
  15039. updatetime:
  15040. description: 更新时间
  15041. type: string
  15042. type: object
  15043. models.WrOrderDetail:
  15044. properties:
  15045. accountid:
  15046. description: 交易账号(资金账号)
  15047. type: integer
  15048. allfriendsflag:
  15049. description: 是否全好友可见 - 0:否 1:是
  15050. type: integer
  15051. amount:
  15052. description: 期初均价
  15053. type: number
  15054. bannerpicurl:
  15055. description: Banner图
  15056. type: string
  15057. begindate:
  15058. description: 开始交易日(yyyymmdd)
  15059. type: string
  15060. buyorsell:
  15061. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  15062. type: integer
  15063. canbargain:
  15064. description: 是否可议价 - 0:不可 1:可
  15065. type: integer
  15066. cancelqty:
  15067. description: 撤销数量
  15068. type: number
  15069. canpart:
  15070. description: 是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)
  15071. type: integer
  15072. delistminqty:
  15073. description: 起摘数量
  15074. type: integer
  15075. deliverygoodscode:
  15076. description: 品种代码
  15077. type: string
  15078. deliverygoodsid:
  15079. description: 品种ID
  15080. type: integer
  15081. deliverygoodsname:
  15082. description: 品种名称
  15083. type: string
  15084. deliverymonth:
  15085. description: 交收月
  15086. type: string
  15087. enddate:
  15088. description: 结束交易日(yyyymmdd)
  15089. type: string
  15090. enumdicname:
  15091. description: 单位名称
  15092. type: string
  15093. fixedprice:
  15094. description: 固定价格 - [挂牌]
  15095. type: number
  15096. freezecharge:
  15097. description: 期初均价
  15098. type: number
  15099. freezemargin:
  15100. description: 期初均价
  15101. type: number
  15102. futupricemove:
  15103. description: 期货升贴水
  15104. type: number
  15105. futushow:
  15106. description: 期货合约/升贴水
  15107. type: string
  15108. goodscode:
  15109. description: 期货合约
  15110. type: string
  15111. goodsid:
  15112. description: 期货商品id
  15113. type: integer
  15114. goodsname:
  15115. description: 商品名称
  15116. type: string
  15117. haswr:
  15118. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  15119. type: integer
  15120. isspecified:
  15121. description: 是否指定对手 - 0:不指定 1:指定 - [挂牌]
  15122. type: integer
  15123. ladingbillid:
  15124. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  15125. type: string
  15126. marginvalue:
  15127. description: 期初均价
  15128. type: number
  15129. marketid:
  15130. description: 市场ID
  15131. type: integer
  15132. matchusername:
  15133. description: 对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)
  15134. type: string
  15135. minivalue:
  15136. description: 现货商品最小变动值
  15137. type: integer
  15138. optioncompare:
  15139. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15140. type: string
  15141. orderqty:
  15142. description: 委托数量
  15143. type: number
  15144. ordertime:
  15145. description: 委托时间(挂牌时间)
  15146. type: string
  15147. performancetemplateid:
  15148. description: 履约模板id
  15149. type: integer
  15150. pricemove:
  15151. description: 升贴水(浮动价时填写) - [挂牌]
  15152. type: number
  15153. taname:
  15154. description: 交易用户名称(资金账号名称)
  15155. type: string
  15156. thumurls:
  15157. description: 缩略图
  15158. type: string
  15159. tradedate:
  15160. description: 交易日(yyyyMMdd)
  15161. type: string
  15162. tradeprice:
  15163. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)*
  15164. 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  15165. type: number
  15166. tradeqty:
  15167. description: 成交数量
  15168. type: number
  15169. userid:
  15170. description: 用户ID
  15171. type: integer
  15172. validtime:
  15173. description: 挂牌有效期
  15174. type: string
  15175. validtype:
  15176. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  15177. type: integer
  15178. warehouseid:
  15179. description: 仓库ID
  15180. type: integer
  15181. warehousename:
  15182. description: 仓库名称
  15183. type: string
  15184. wrfactortypeid:
  15185. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15186. type: string
  15187. wrfactortypename:
  15188. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15189. type: string
  15190. wrpricetype:
  15191. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  15192. type: integer
  15193. wrstandardcode:
  15194. description: 现货商品代码
  15195. type: string
  15196. wrstandardid:
  15197. description: 现货商品ID
  15198. type: integer
  15199. wrstandardname:
  15200. description: 商品名称
  15201. type: string
  15202. wrtradeorderid:
  15203. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  15204. type: string
  15205. wrtradeorderstatus:
  15206. 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:撤单解冻贷款失败
  15207. type: integer
  15208. wrtradetype:
  15209. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  15210. type: integer
  15211. wrtypename:
  15212. description: 商品
  15213. type: string
  15214. type: object
  15215. models.WrOrderQuote:
  15216. properties:
  15217. bannerpicurl:
  15218. description: Banner图
  15219. type: string
  15220. buyprice:
  15221. description: 买价
  15222. type: number
  15223. buypricemove:
  15224. description: 买升贴水(基差)
  15225. type: number
  15226. buyqty:
  15227. description: 买量
  15228. type: number
  15229. deliverygoodscode:
  15230. description: 品种代码
  15231. type: string
  15232. deliverygoodsid:
  15233. description: 品种id
  15234. type: integer
  15235. deliverygoodsname:
  15236. description: 品种名称
  15237. type: string
  15238. deliverymonth:
  15239. description: 交收月
  15240. type: string
  15241. enumdicname:
  15242. description: 单位名称
  15243. type: string
  15244. goodscode:
  15245. description: 商品合约(浮动价列表才有)
  15246. type: string
  15247. goodsid:
  15248. description: 商品id(浮动价列表才有)
  15249. type: integer
  15250. minivalue:
  15251. description: 现货商品最小变动值
  15252. type: integer
  15253. pictureurls:
  15254. description: 详情图片(逗号分隔)
  15255. type: string
  15256. sellprice:
  15257. description: 卖价
  15258. type: number
  15259. sellpricemove:
  15260. description: 卖升贴水(基差)
  15261. type: number
  15262. sellqty:
  15263. description: 卖量
  15264. type: number
  15265. thumurls:
  15266. description: 缩略图片(1:1)(逗号分隔)
  15267. type: string
  15268. warehousecode:
  15269. description: 仓库代码
  15270. type: string
  15271. warehouseid:
  15272. description: 仓库id
  15273. type: integer
  15274. warehousename:
  15275. description: 仓库名称
  15276. type: string
  15277. wrfactortypeid:
  15278. description: 仓单要素id
  15279. type: string
  15280. wrfactortypename:
  15281. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15282. type: string
  15283. wrgoodsname:
  15284. description: 商品(商品名称+仓库要素名称 拼接)
  15285. type: string
  15286. wrstandardcode:
  15287. description: 商品代码
  15288. type: string
  15289. wrstandardid:
  15290. description: 商品id
  15291. type: integer
  15292. wrstandardname:
  15293. description: 商品名称
  15294. type: string
  15295. type: object
  15296. models.WrOrderQuoteDetail:
  15297. properties:
  15298. buyorsell:
  15299. description: 买卖 - 0:买 1:卖
  15300. type: integer
  15301. delistminqty:
  15302. description: 期初均价
  15303. type: number
  15304. deliverymonth:
  15305. description: 交收月
  15306. type: string
  15307. enumdicname:
  15308. description: 单位名称
  15309. type: string
  15310. fixedprice:
  15311. description: 买(卖)价
  15312. type: number
  15313. marketid:
  15314. description: 市场id
  15315. type: integer
  15316. minivalue:
  15317. description: 现货商品最小变动值
  15318. type: integer
  15319. orderqty:
  15320. description: 买(卖)量(=委托量-成交量)
  15321. type: number
  15322. ordertime:
  15323. description: 委托时间
  15324. type: string
  15325. pricemove:
  15326. description: 买(卖)升贴水- 基差
  15327. type: number
  15328. userid:
  15329. description: 购买方(销售方)用户ID
  15330. type: integer
  15331. username:
  15332. description: 购买方(销售方)
  15333. type: string
  15334. wrtradeorderid:
  15335. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  15336. type: string
  15337. type: object
  15338. models.WrOutInApply:
  15339. properties:
  15340. applyid:
  15341. description: 申请单id
  15342. type: string
  15343. applystatus:
  15344. description: 申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败
  15345. 8:已撤销
  15346. type: integer
  15347. applytime:
  15348. description: 申请时间
  15349. type: string
  15350. applytype:
  15351. description: 申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销
  15352. type: integer
  15353. bannerpicurl:
  15354. description: Banner图
  15355. type: string
  15356. begindate:
  15357. description: 开始交易日(yyyymmdd)
  15358. type: string
  15359. deliverygoodscode:
  15360. description: 品种代码
  15361. type: string
  15362. deliverygoodsid:
  15363. description: 品种ID
  15364. type: integer
  15365. deliverygoodsname:
  15366. description: 品种名称
  15367. type: string
  15368. enddate:
  15369. description: 结束交易日(yyyymmdd)
  15370. type: string
  15371. enumdicname:
  15372. description: 单位名称
  15373. type: string
  15374. expresscompany:
  15375. description: 物流公司
  15376. type: string
  15377. expressnum:
  15378. description: 物流单号
  15379. type: string
  15380. minivalue:
  15381. description: 现货商品最小变动值
  15382. type: integer
  15383. optioncompare:
  15384. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15385. type: string
  15386. qty:
  15387. description: 数量
  15388. type: integer
  15389. userid:
  15390. description: 用户id
  15391. type: integer
  15392. warehouseid:
  15393. description: 仓库ID
  15394. type: integer
  15395. warehousename:
  15396. description: 仓库名称
  15397. type: string
  15398. wrfactortypeid:
  15399. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15400. type: string
  15401. wrfactortypename:
  15402. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15403. type: string
  15404. wrstandardcode:
  15405. description: 现货商品代码
  15406. type: string
  15407. wrstandardid:
  15408. description: 现货商品ID
  15409. type: integer
  15410. wrstandardname:
  15411. description: 商品名称
  15412. type: string
  15413. wrtypename:
  15414. description: 商品
  15415. type: string
  15416. type: object
  15417. models.WrPerformancePlan:
  15418. properties:
  15419. activatemonth:
  15420. description: 履约激活月 [无仓单的交易收月](yyyy-MM)
  15421. type: string
  15422. amount:
  15423. description: 履约金额(总金额)
  15424. type: number
  15425. begindate:
  15426. description: 开始交易日(yyyymmdd)
  15427. type: string
  15428. buyaccountid:
  15429. description: 买方账号
  15430. type: integer
  15431. buyerfreezeamount:
  15432. description: 履约冻结(买履约)
  15433. type: number
  15434. buyerfreezeamountremain:
  15435. description: 履约冻结剩余(买履约)
  15436. type: number
  15437. buyorsell:
  15438. description: 买卖方向 0-买 1-卖
  15439. type: integer
  15440. buypaidamount:
  15441. description: 买方已冻/已扣金额 (已付金额)
  15442. type: number
  15443. buyusername:
  15444. description: 买方名字
  15445. type: string
  15446. contractid:
  15447. description: 合同ID
  15448. type: integer
  15449. createtime:
  15450. description: 创建时间
  15451. type: string
  15452. creatorid:
  15453. description: 创建人
  15454. type: integer
  15455. curstepdeadline:
  15456. description: 当前步骤到期时间
  15457. type: string
  15458. curstepid:
  15459. description: 当前步骤ID
  15460. type: string
  15461. curstepname:
  15462. description: 当前步骤名称
  15463. type: string
  15464. deliverygoodscode:
  15465. description: 品种代码
  15466. type: string
  15467. deliverygoodsid:
  15468. description: 品种ID
  15469. type: integer
  15470. deliverygoodsname:
  15471. description: 品种名称
  15472. type: string
  15473. enddate:
  15474. description: 结束交易日(yyyymmdd)
  15475. type: string
  15476. enumdicname:
  15477. description: 单位名称
  15478. type: string
  15479. expressfee:
  15480. description: 运费
  15481. type: number
  15482. expressfeeconfirmed:
  15483. description: 是否确认运费 - 0:无 1:买方确认 2:卖方确认
  15484. type: integer
  15485. hasovershort:
  15486. description: 是否确认溢短 - 0:没有 1:买方确认 2:卖方确认
  15487. type: integer
  15488. haswr:
  15489. description: 类型 0-仓单预售 1-仓单贸易
  15490. type: integer
  15491. marketid:
  15492. description: 市场ID
  15493. type: integer
  15494. middleaccountid:
  15495. description: 中间商资金账号ID
  15496. type: integer
  15497. middleuserid:
  15498. description: 中间商用户ID
  15499. type: integer
  15500. minivalue:
  15501. description: 现货商品最小变动值
  15502. type: integer
  15503. optioncompare:
  15504. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15505. type: string
  15506. overshortamount:
  15507. description: 溢短金额
  15508. type: number
  15509. overshortqty:
  15510. description: 溢短数量
  15511. type: number
  15512. paymenttype:
  15513. description: 付款方式 - 1:冻结 2:扣款
  15514. type: integer
  15515. performanceplanid:
  15516. description: 履约计划ID(130+yyMMddHHmmss+xxxx)
  15517. type: string
  15518. performancestatus:
  15519. description: 履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败
  15520. 9:超时待处理 10:超时关闭
  15521. type: integer
  15522. performancetype:
  15523. description: 履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式
  15524. 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统
  15525. type: integer
  15526. qty:
  15527. description: 履约数量
  15528. type: number
  15529. relatedorderid:
  15530. description: 关联单号(履约类型的关联单号)
  15531. type: string
  15532. remark:
  15533. description: 备注
  15534. type: string
  15535. sellaccountid:
  15536. description: 卖方账号
  15537. type: integer
  15538. sellerfreezeamount:
  15539. description: 履约冻结(卖履约)
  15540. type: number
  15541. sellerfreezeamountremain:
  15542. description: 履约冻结剩余(卖履约)
  15543. type: number
  15544. sellreceivedamount:
  15545. description: 卖方已收金额
  15546. type: number
  15547. sellusername:
  15548. description: 卖方名字
  15549. type: string
  15550. shipremark:
  15551. description: 发货备注[物流单号]
  15552. type: string
  15553. starttime:
  15554. description: 开始时间
  15555. type: string
  15556. steptypeid:
  15557. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  15558. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  15559. type: integer
  15560. typename:
  15561. description: 履约类型 名称
  15562. type: string
  15563. unpaidamount:
  15564. description: 期初均价
  15565. type: number
  15566. userid:
  15567. description: 用户id
  15568. type: integer
  15569. warehouseid:
  15570. description: 仓库ID
  15571. type: integer
  15572. warehousename:
  15573. description: 仓库名称
  15574. type: string
  15575. wrfactortypeid:
  15576. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15577. type: string
  15578. wrfactortypename:
  15579. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15580. type: string
  15581. wrstandardcode:
  15582. description: 现货商品代码
  15583. type: string
  15584. wrstandardid:
  15585. description: 现货商品ID
  15586. type: integer
  15587. wrstandardname:
  15588. description: 商品名称
  15589. type: string
  15590. wrtransferuserid:
  15591. description: 仓单受让用户
  15592. type: integer
  15593. wrtypename:
  15594. description: 商品
  15595. type: string
  15596. required:
  15597. - userid
  15598. type: object
  15599. models.WrPerformancePlanStep:
  15600. properties:
  15601. delaydays:
  15602. description: 延期申请天数
  15603. type: integer
  15604. deliverygoodscode:
  15605. description: 品种代码
  15606. type: string
  15607. deliverygoodsid:
  15608. description: 品种ID
  15609. type: integer
  15610. deliverygoodsname:
  15611. description: 品种名称
  15612. type: string
  15613. endtime:
  15614. description: 结束日期
  15615. type: string
  15616. enumdicname:
  15617. description: 单位名称
  15618. type: string
  15619. executeside:
  15620. description: 步骤执行方 - 1:买方 2:卖方
  15621. type: integer
  15622. handlestatus:
  15623. description: 处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败
  15624. 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求
  15625. 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败
  15626. type: integer
  15627. isauto:
  15628. description: 是否自动 - 0:不自动 1:自动
  15629. type: integer
  15630. islastreceivestep:
  15631. description: 是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)
  15632. type: integer
  15633. minivalue:
  15634. description: 现货商品最小变动值
  15635. type: integer
  15636. optioncompare:
  15637. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15638. type: string
  15639. overdays:
  15640. description: 超期天数 = 当前时间(数据库时间) - 结束日期
  15641. type: integer
  15642. performancestepid:
  15643. description: 履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)
  15644. type: string
  15645. planid:
  15646. description: 所属履约计划ID
  15647. type: string
  15648. realamount:
  15649. description: 实际完成金额
  15650. type: number
  15651. relatedorderid:
  15652. description: 关联单号
  15653. type: string
  15654. remaindays:
  15655. description: 剩余天数
  15656. type: integer
  15657. remark:
  15658. description: 错误备注
  15659. type: string
  15660. starttime:
  15661. description: 开始日期
  15662. type: string
  15663. stepamount:
  15664. description: 步骤金额
  15665. type: number
  15666. stepdays:
  15667. description: 距离上一步天数(分钟)
  15668. type: integer
  15669. stepindex:
  15670. description: 步骤序号
  15671. type: integer
  15672. steplanchtype:
  15673. description: 步骤启动类型 - 1:系统自动 2:手动
  15674. type: integer
  15675. stepremark:
  15676. description: 步骤备注
  15677. type: string
  15678. stepstatus:
  15679. description: 步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭
  15680. type: integer
  15681. steptypeid:
  15682. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  15683. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  15684. type: integer
  15685. steptypename:
  15686. description: 步骤名称
  15687. type: string
  15688. stepvalue:
  15689. description: 步骤值
  15690. type: number
  15691. warehouseid:
  15692. description: 仓库ID
  15693. type: integer
  15694. warehousename:
  15695. description: 仓库名称
  15696. type: string
  15697. wrfactortypeid:
  15698. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15699. type: string
  15700. wrfactortypename:
  15701. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15702. type: string
  15703. wrstandardcode:
  15704. description: 现货商品代码
  15705. type: string
  15706. wrstandardid:
  15707. description: 现货商品ID
  15708. type: integer
  15709. wrstandardname:
  15710. description: 商品名称
  15711. type: string
  15712. wrtypename:
  15713. description: 商品
  15714. type: string
  15715. type: object
  15716. models.WrPerformanceStepType:
  15717. properties:
  15718. canauto:
  15719. description: '能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)'
  15720. type: integer
  15721. steptypeid:
  15722. description: 步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移
  15723. type: integer
  15724. steptypename:
  15725. description: 步骤类型名称
  15726. type: string
  15727. type: object
  15728. models.WrPerformanceTemplateEx:
  15729. properties:
  15730. autoid:
  15731. description: AutoID 模板id
  15732. type: integer
  15733. createtime:
  15734. description: 创建时间
  15735. type: string
  15736. creatorid:
  15737. description: 创建人
  15738. type: integer
  15739. lstStep:
  15740. description: 步骤信息列表
  15741. items:
  15742. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  15743. type: array
  15744. paymenttype:
  15745. description: 支付方式 - 1:冻结 2:扣款
  15746. type: integer
  15747. takemode:
  15748. description: 提货方式 - 1:无 2:买方自提 3:卖方发货
  15749. type: integer
  15750. templatename:
  15751. description: 模板名称
  15752. type: string
  15753. templatetype:
  15754. description: 模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  15755. (无仓单) 5:挂牌期权 6:竞拍-降价式
  15756. type: integer
  15757. userid:
  15758. description: 所属用户
  15759. type: integer
  15760. type: object
  15761. models.WrPosition:
  15762. properties:
  15763. accountid:
  15764. description: 帐户ID
  15765. type: integer
  15766. buyexcuteqty:
  15767. description: 采购履约中数量
  15768. type: number
  15769. creditcurqty:
  15770. description: 授信当前数量(预售仓单:预售当前量)
  15771. type: number
  15772. creditenableqty:
  15773. description: '授信可用数量(预售仓单: 可用数量)'
  15774. type: number
  15775. creditfreezeqty:
  15776. description: '授信冻结数量(预售仓单: 当前数量)'
  15777. type: number
  15778. credittotalqty:
  15779. description: 授信总数量(预售仓单:预售总量)
  15780. type: number
  15781. credittradeqty:
  15782. description: 授信成交数量(预售仓单:成交总量)
  15783. type: number
  15784. deliverygoodscode:
  15785. description: 品种代码
  15786. type: string
  15787. deliverygoodsid:
  15788. description: 品种ID
  15789. type: integer
  15790. deliverygoodsname:
  15791. description: 品种名称
  15792. type: string
  15793. enalbeqty:
  15794. description: 可用数量
  15795. type: number
  15796. enumdicname:
  15797. description: 单位名称
  15798. type: string
  15799. freezeqty:
  15800. description: 总冻结数量
  15801. type: number
  15802. haswr:
  15803. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  15804. type: integer
  15805. minivalue:
  15806. description: 现货商品最小变动值
  15807. type: integer
  15808. modifytime:
  15809. description: 修改时间(过户时间)
  15810. type: string
  15811. optioncompare:
  15812. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15813. type: string
  15814. pledgeqty:
  15815. description: 质押数量
  15816. type: number
  15817. querytype:
  15818. description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  15819. type: integer
  15820. sellexcuteqty:
  15821. description: 销售履约中数量
  15822. type: number
  15823. totalqty:
  15824. description: 总数量(库存数量)
  15825. type: number
  15826. warehouseid:
  15827. description: 仓库ID
  15828. type: integer
  15829. warehousename:
  15830. description: 仓库名称
  15831. type: string
  15832. wrfactortypeid:
  15833. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15834. type: string
  15835. wrfactortypename:
  15836. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15837. type: string
  15838. wrpositionid:
  15839. description: 仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)
  15840. type: string
  15841. wrpositionno:
  15842. description: 仓单编号
  15843. type: string
  15844. wrstandardcode:
  15845. description: 现货商品代码
  15846. type: string
  15847. wrstandardid:
  15848. description: 现货商品ID
  15849. type: integer
  15850. wrstandardname:
  15851. description: 商品名称
  15852. type: string
  15853. wrtypename:
  15854. description: 商品
  15855. type: string
  15856. wruserid:
  15857. description: 持有人ID
  15858. type: integer
  15859. type: object
  15860. models.WrPreSaleInfo:
  15861. properties:
  15862. bannerpicurl:
  15863. description: Banner图
  15864. type: string
  15865. baseqty:
  15866. description: 中签基数
  15867. type: number
  15868. createtime:
  15869. description: 创建时间
  15870. type: string
  15871. deliverygoodsid:
  15872. description: 现货品种ID
  15873. type: integer
  15874. enddate:
  15875. description: 预售结束日期
  15876. type: string
  15877. enumdicname:
  15878. description: 单位名称
  15879. type: string
  15880. lotteryflag:
  15881. description: 摇号标识 - 0:未摇号 1:已摇号
  15882. type: integer
  15883. lotteryqty:
  15884. description: 摇号总量
  15885. type: number
  15886. luckyqty:
  15887. description: 已中签量
  15888. type: number
  15889. marketid:
  15890. description: 市场ID
  15891. type: integer
  15892. maxbuyqty:
  15893. description: 单人最大申购量
  15894. type: number
  15895. maxluckyqty:
  15896. description: 单人最大中签量
  15897. type: number
  15898. pictureurls:
  15899. description: 详情图片(逗号分隔)
  15900. type: string
  15901. placeqty:
  15902. description: 已配售量
  15903. type: number
  15904. presaleapplyid:
  15905. description: 预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)
  15906. example: "0"
  15907. type: string
  15908. presaleqty:
  15909. description: 预售总量
  15910. type: number
  15911. presalestatus:
  15912. description: 预售状态 - 1:未开始 2:进行中 3:已结束 4:已关闭
  15913. type: integer
  15914. sellaccountid:
  15915. description: 发行方资金账户ID
  15916. type: integer
  15917. selluserid:
  15918. description: 发行方用户ID
  15919. type: integer
  15920. sellwrtradeorderid:
  15921. description: 发行方卖委托单ID
  15922. type: string
  15923. startdate:
  15924. description: 预售开始日期
  15925. type: string
  15926. takestartdate:
  15927. description: 提货开始日期
  15928. type: string
  15929. thumurls:
  15930. description: 缩略图片(1:1)(逗号分隔)
  15931. type: string
  15932. tradedate:
  15933. description: 交易日
  15934. type: string
  15935. unitid:
  15936. description: 单位ID
  15937. type: integer
  15938. unitprice:
  15939. description: 商品单价
  15940. type: number
  15941. username:
  15942. description: 发行方用户名称
  15943. type: string
  15944. warehousecode:
  15945. description: 仓库代码(仓库简称)
  15946. type: string
  15947. warehouseid:
  15948. description: 仓库ID
  15949. type: integer
  15950. warehousename:
  15951. description: 仓库名称
  15952. type: string
  15953. wrfactortypeid:
  15954. description: 仓单要素类型ID - 根据现货商品\仓库生成
  15955. example: "0"
  15956. type: string
  15957. wrstandardid:
  15958. description: 现货商品ID
  15959. type: integer
  15960. wrstandardname:
  15961. description: 现货商品名称
  15962. type: string
  15963. type: object
  15964. models.WrQuoteOrderMyq:
  15965. properties:
  15966. buyorsell:
  15967. description: 买卖 - 0:买 1:卖
  15968. type: integer
  15969. canbargain:
  15970. description: 是否可议价 - 0:不可 1:可
  15971. type: integer
  15972. canpart:
  15973. description: 是否允许部份摘牌 - 0:不允许 1:允许
  15974. type: integer
  15975. delistminqty:
  15976. description: 期初均价
  15977. type: number
  15978. deliverygoodscode:
  15979. description: 品种代码
  15980. type: string
  15981. deliverygoodsid:
  15982. description: 品种ID
  15983. type: integer
  15984. deliverygoodsname:
  15985. description: 品种名称
  15986. type: string
  15987. deliverymonth:
  15988. description: 交收月
  15989. type: string
  15990. enumdicname:
  15991. description: 单位名称
  15992. type: string
  15993. fixedprice:
  15994. description: 买(卖)价
  15995. type: number
  15996. goodscode:
  15997. description: 商品合约代码
  15998. type: string
  15999. marginflag:
  16000. description: 挂牌是否指定保证金 - 0:未指定 1:指定
  16001. type: integer
  16002. marginvalue:
  16003. description: 保证金设置值
  16004. type: number
  16005. minivalue:
  16006. description: 现货商品最小变动值
  16007. type: integer
  16008. orderqty:
  16009. description: 买(卖)量(=委托量-成交量)
  16010. type: number
  16011. ordertime:
  16012. description: 委托时间
  16013. type: string
  16014. performancetemplateid:
  16015. description: 履约模板id
  16016. type: integer
  16017. pricemove:
  16018. description: 买(卖)升贴水- 基差
  16019. type: number
  16020. templatename:
  16021. description: 履约模板名称
  16022. type: string
  16023. userid:
  16024. description: 购买方(销售方)用户ID
  16025. type: integer
  16026. username:
  16027. description: 购买方(销售方)
  16028. type: string
  16029. validtime:
  16030. description: 有效期限
  16031. type: string
  16032. validtype:
  16033. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  16034. type: integer
  16035. warehousename:
  16036. description: 仓库名称
  16037. type: string
  16038. wrfactortypeid:
  16039. description: 仓单要素id
  16040. type: string
  16041. wrstandardcode:
  16042. description: 现货商品代码
  16043. type: string
  16044. wrstandardid:
  16045. description: 现货商品ID
  16046. type: integer
  16047. wrstandardname:
  16048. description: 商品名称
  16049. type: string
  16050. wrtradeorderid:
  16051. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  16052. type: string
  16053. wrtypename:
  16054. description: 商品
  16055. type: string
  16056. type: object
  16057. models.WrReckonSpotGoodsTradeSum:
  16058. properties:
  16059. begindate:
  16060. description: 开始日期(结果含开始日期) yyyymmdd
  16061. type: string
  16062. enddate:
  16063. description: 结束日期(结果含结束日期) yyyymmdd
  16064. type: string
  16065. istoday:
  16066. description: 是否当日
  16067. type: boolean
  16068. marketid:
  16069. description: 市场ID
  16070. type: integer
  16071. price:
  16072. description: 价格 = 日成交金额 / 日成交数量
  16073. type: string
  16074. reckondate:
  16075. description: 日期 格式 yyyymmdd
  16076. type: string
  16077. tradeamount:
  16078. description: 期初均价
  16079. type: number
  16080. tradeqty:
  16081. description: 期初均价
  16082. type: number
  16083. wrstandardid:
  16084. description: 现货商品ID
  16085. type: integer
  16086. type: object
  16087. models.WrScfContract:
  16088. properties:
  16089. borroweruserid:
  16090. description: 借款用户ID
  16091. type: integer
  16092. buybackwrpositionqty:
  16093. description: 已回购仓单头寸数量 - [仓单回购\仓单质押] -> 已回购数量
  16094. type: number
  16095. closeinterest:
  16096. description: 已结利息 -> 已结费用
  16097. type: number
  16098. currisklevel:
  16099. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  16100. type: integer
  16101. deadline:
  16102. description: 截止日期(yyyyMMdd) -> 借款到期时间
  16103. type: string
  16104. deliverygoodscode:
  16105. description: 品种代码
  16106. type: string
  16107. deliverygoodsid:
  16108. description: 品种ID
  16109. type: integer
  16110. deliverygoodsname:
  16111. description: 品种名称
  16112. type: string
  16113. enumdicname:
  16114. description: 单位名称
  16115. type: string
  16116. financingdays:
  16117. description: 天数(天)
  16118. type: integer
  16119. initmargin:
  16120. description: 保证金 - [仓单回购]
  16121. type: number
  16122. interestamount:
  16123. description: 计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \ 合同剩余金额
  16124. type: number
  16125. interestdebt:
  16126. description: 利息欠款(记录负数) -> 费用欠款
  16127. type: number
  16128. interestminlen:
  16129. description: 最小起息天数
  16130. type: integer
  16131. interestrate:
  16132. description: 利率
  16133. type: number
  16134. interestratemode:
  16135. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  16136. type: integer
  16137. interestsettlemode:
  16138. description: 结息方式 - 1:按日结息 3:按月结息
  16139. type: integer
  16140. interestsettlevalue:
  16141. description: 结息方式值
  16142. type: integer
  16143. isautoloan:
  16144. description: 是否自动放款 - 0:手动 1:自动 - [仓单质押]
  16145. type: integer
  16146. lastcloseinterestday:
  16147. description: 最近结息日(yyyyMMdd)
  16148. type: string
  16149. lenderamount:
  16150. description: 贷款金额 -> 借款金额
  16151. type: number
  16152. lenderuserid:
  16153. description: 贷款方用户ID -> 融出方用户ID
  16154. type: integer
  16155. lenderusername:
  16156. description: 融出方
  16157. type: string
  16158. marginratio:
  16159. description: 保证金比率质押率 - [仓单质押]
  16160. type: number
  16161. marketid:
  16162. description: 市场ID - 拆成三个独立模式后,根据市场ID处理
  16163. type: integer
  16164. minivalue:
  16165. description: 现货商品最小变动值
  16166. type: integer
  16167. optioncompare:
  16168. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16169. type: string
  16170. pricemove:
  16171. description: 估值升贴水值
  16172. type: number
  16173. productdetailid:
  16174. description: 产品组合ID
  16175. type: integer
  16176. productid:
  16177. description: 金融产品ID
  16178. type: integer
  16179. productname:
  16180. description: 产品名称
  16181. type: string
  16182. remainamount:
  16183. description: 合同剩余金额 -> 剩余金额
  16184. type: number
  16185. remainwrpositionqty:
  16186. description: 剩余仓单头寸数量 - [仓单回购\仓单质押] -> 剩余数量(待回购数量)
  16187. type: number
  16188. remark:
  16189. description: 备注
  16190. type: string
  16191. scfcontractid:
  16192. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  16193. type: string
  16194. scfcontractstatus:
  16195. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  16196. 9:违约结束 10:已注销 11:已关闭 99:未提交
  16197. type: integer
  16198. scfcontracttype:
  16199. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购
  16200. type: integer
  16201. startinterestday:
  16202. description: 计息开始日(yyyyMMdd) -> 开始计费日期
  16203. type: string
  16204. totalinterest:
  16205. description: 已计利息 -> 已计费用
  16206. type: number
  16207. unpaidinterest:
  16208. description: 期初均价
  16209. type: number
  16210. updatetime:
  16211. description: 更新时间
  16212. type: string
  16213. warehouseid:
  16214. description: 仓库ID
  16215. type: integer
  16216. warehousename:
  16217. description: 仓库名称
  16218. type: string
  16219. wrfactortypeid:
  16220. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16221. type: string
  16222. wrfactortypename:
  16223. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16224. type: string
  16225. wrqty:
  16226. description: 仓单数量 - [仓单回购\仓单质押] -> 数量
  16227. type: number
  16228. wrstandardcode:
  16229. description: 现货商品代码
  16230. type: string
  16231. wrstandardid:
  16232. description: 现货商品ID
  16233. type: integer
  16234. wrstandardname:
  16235. description: 商品名称
  16236. type: string
  16237. wrtypename:
  16238. description: 商品
  16239. type: string
  16240. type: object
  16241. models.WrScfContractInterest:
  16242. properties:
  16243. closeinterest:
  16244. description: 已结利息
  16245. type: number
  16246. closeintereststatus:
  16247. description: 结息状态 - 1:未结 2:已结
  16248. type: integer
  16249. closetime:
  16250. description: 结息时间
  16251. type: string
  16252. closetradedate:
  16253. description: 结息交易日
  16254. type: string
  16255. creatorid:
  16256. description: 操作人ID
  16257. type: integer
  16258. dayrate:
  16259. description: 日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)
  16260. type: number
  16261. interest:
  16262. description: 利息
  16263. type: number
  16264. interestamount:
  16265. description: 计息金额
  16266. type: number
  16267. interestday:
  16268. description: 计息日(yyyyMMdd)
  16269. type: string
  16270. scfcontractid:
  16271. description: SCF合同ID
  16272. type: string
  16273. scfcontractinterestid:
  16274. description: SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)
  16275. type: integer
  16276. updatetime:
  16277. description: 更新时间
  16278. type: string
  16279. type: object
  16280. models.WrSearchUser:
  16281. properties:
  16282. userid:
  16283. description: 用户ID
  16284. type: integer
  16285. username:
  16286. description: 用户名称(已脱敏)
  16287. type: string
  16288. username2:
  16289. description: 用户名称(未脱敏)
  16290. type: string
  16291. usertype:
  16292. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  16293. type: integer
  16294. required:
  16295. - username
  16296. type: object
  16297. models.WrSiteColumnDetail:
  16298. properties:
  16299. brief:
  16300. description: 简介
  16301. type: string
  16302. context:
  16303. description: 内容
  16304. type: string
  16305. coverimage:
  16306. description: 封面图片
  16307. type: string
  16308. creaedate:
  16309. description: 创建时间
  16310. type: string
  16311. id:
  16312. description: ID(SEQ_SITE_COLUMNDETAIL)
  16313. type: integer
  16314. istop:
  16315. description: 是否置顶 - 0:不置 1:置顶
  16316. type: integer
  16317. publishdate:
  16318. description: 发布日期
  16319. type: string
  16320. title:
  16321. description: 标题
  16322. type: string
  16323. updatedate:
  16324. description: 修改时间
  16325. type: string
  16326. type: object
  16327. models.WrSpecialMatchOrder:
  16328. properties:
  16329. amount:
  16330. description: 金额 = 数量 * 价格
  16331. type: number
  16332. buyorsell:
  16333. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  16334. type: integer
  16335. cancelqty:
  16336. description: 撤销数量
  16337. type: number
  16338. deliverygoodscode:
  16339. description: 品种代码
  16340. type: string
  16341. deliverygoodsid:
  16342. description: 品种ID
  16343. type: integer
  16344. deliverygoodsname:
  16345. description: 品种名称
  16346. type: string
  16347. enumdicname:
  16348. description: 单位名称
  16349. type: string
  16350. fixedprice:
  16351. description: 固定价格(价格)
  16352. type: number
  16353. haswr:
  16354. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  16355. type: integer
  16356. isspecified:
  16357. description: 是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  16358. type: integer
  16359. marketid:
  16360. description: 市场ID
  16361. type: integer
  16362. matchuserid:
  16363. description: 指定方资金账号(字段名为userid,实际存的是accountid by:邓工)
  16364. type: integer
  16365. matchusername:
  16366. description: 指定方
  16367. type: string
  16368. minivalue:
  16369. description: 现货商品最小变动值
  16370. type: integer
  16371. optioncompare:
  16372. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16373. type: string
  16374. orderqty:
  16375. description: 委托数量
  16376. type: number
  16377. ordertime:
  16378. description: 委托时间
  16379. type: string
  16380. pricemove:
  16381. description: 升贴水(浮动价时填写) - [挂牌]
  16382. type: number
  16383. tradedate:
  16384. description: 交易日(yyyyMMdd)
  16385. type: string
  16386. tradeprice:
  16387. description: 成交价格
  16388. type: number
  16389. tradeqty:
  16390. description: 成交数量
  16391. type: number
  16392. userid:
  16393. description: 用户ID
  16394. type: integer
  16395. username:
  16396. description: 发起方
  16397. type: string
  16398. warehouseid:
  16399. description: 仓库ID
  16400. type: integer
  16401. warehousename:
  16402. description: 仓库名称
  16403. type: string
  16404. wrfactortypeid:
  16405. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16406. type: string
  16407. wrfactortypename:
  16408. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16409. type: string
  16410. wrpricetype:
  16411. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  16412. type: integer
  16413. wrstandardcode:
  16414. description: 现货商品代码
  16415. type: string
  16416. wrstandardid:
  16417. description: 现货商品ID
  16418. type: integer
  16419. wrstandardname:
  16420. description: 商品名称
  16421. type: string
  16422. wrtradeorderid:
  16423. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  16424. type: string
  16425. wrtradeorderstatus:
  16426. description: 委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝
  16427. 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤
  16428. type: integer
  16429. wrtradetype:
  16430. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  16431. type: integer
  16432. wrtypename:
  16433. description: 商品
  16434. type: string
  16435. type: object
  16436. models.WrSpotGroupTradeSum:
  16437. properties:
  16438. deliverygoodscode:
  16439. description: 现货品种代码
  16440. type: string
  16441. deliverygoodsid:
  16442. description: 现货品种ID(SEQ_DELIVERYGOODS)
  16443. type: integer
  16444. deliverygoodsname:
  16445. description: 现货品种名称
  16446. type: string
  16447. lastavgprice:
  16448. description: 上上个交易日价格(前2天价格)
  16449. type: string
  16450. lastreckondate:
  16451. description: 上上个交易日(前2天交易日)
  16452. type: string
  16453. reckondate:
  16454. description: 上个交易日(前1天交易日)
  16455. type: string
  16456. todayavgprice:
  16457. description: 上个交易日价格(前1天价格)
  16458. type: string
  16459. updown:
  16460. description: 涨跌
  16461. type: string
  16462. updownratio:
  16463. description: 涨幅(已格式化, 直接显示即可)
  16464. type: string
  16465. type: object
  16466. models.WrSpotGroupTradeSumDetail:
  16467. properties:
  16468. deliverygoodsid:
  16469. description: 现货商品id
  16470. type: integer
  16471. price:
  16472. description: 价格
  16473. type: number
  16474. reckondate:
  16475. description: 日期(yyymmdd, 如:20211031)
  16476. type: string
  16477. type: object
  16478. models.WrSpotGroupTradeSumEx:
  16479. properties:
  16480. lst:
  16481. description: 指数列表
  16482. items:
  16483. $ref: '#/definitions/models.WrSpotGroupTradeSum'
  16484. type: array
  16485. prereckondate:
  16486. description: 上上个交易日(yyymmdd)
  16487. type: string
  16488. reckondate:
  16489. description: 上个交易日(yyyymmdd)
  16490. type: string
  16491. type: object
  16492. models.WrStandardFactoryItem:
  16493. properties:
  16494. dgfactoryitemid:
  16495. description: 选择项id
  16496. type: integer
  16497. dgfactoryitemvalue:
  16498. description: 要素项值
  16499. type: string
  16500. warehouseid:
  16501. description: 仓库id
  16502. type: integer
  16503. type: object
  16504. models.WrStandardFactoryItemEx:
  16505. properties:
  16506. dgfactoryitemtypeid:
  16507. description: 要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)
  16508. type: integer
  16509. itemlst:
  16510. description: 要素项列表
  16511. items:
  16512. $ref: '#/definitions/models.WrStandardFactoryItem'
  16513. type: array
  16514. itemtypename:
  16515. description: 要素项类型名称
  16516. type: string
  16517. wrstandardid:
  16518. description: 品类
  16519. type: integer
  16520. type: object
  16521. models.WrTradeDetail:
  16522. properties:
  16523. accountid:
  16524. description: 资金账号
  16525. type: integer
  16526. bannerpicurl:
  16527. description: Banner图
  16528. type: string
  16529. begindate:
  16530. description: 开始交易日(yyyymmdd)
  16531. type: string
  16532. buyorsell:
  16533. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  16534. type: integer
  16535. chargevalue:
  16536. description: 手续费
  16537. type: number
  16538. deliverygoodscode:
  16539. description: 品种代码
  16540. type: string
  16541. deliverygoodsid:
  16542. description: 品种ID
  16543. type: integer
  16544. deliverygoodsname:
  16545. description: 品种名称
  16546. type: string
  16547. deliverymonth:
  16548. description: 交收月
  16549. type: string
  16550. enddate:
  16551. description: 结束交易日(yyyymmdd)
  16552. type: string
  16553. enumdicname:
  16554. description: 单位名称
  16555. type: string
  16556. haswr:
  16557. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  16558. type: integer
  16559. marketid:
  16560. description: 市场ID
  16561. type: integer
  16562. matchaccountid:
  16563. description: 对手账号
  16564. type: integer
  16565. matchusername:
  16566. description: 对手方
  16567. type: string
  16568. minivalue:
  16569. description: 现货商品最小变动值
  16570. type: integer
  16571. optioncompare:
  16572. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16573. type: string
  16574. thumurls:
  16575. description: 缩略图
  16576. type: string
  16577. tradedate:
  16578. description: 交易日(yyyyMMdd)
  16579. type: string
  16580. tradeprice:
  16581. description: 成交价格
  16582. type: number
  16583. tradeqty:
  16584. description: 成交数量
  16585. type: number
  16586. tradetime:
  16587. description: 成交时间
  16588. type: string
  16589. userid:
  16590. description: 用户ID
  16591. type: integer
  16592. warehouseid:
  16593. description: 仓库ID
  16594. type: integer
  16595. warehousename:
  16596. description: 仓库名称
  16597. type: string
  16598. wrfactortypeid:
  16599. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16600. type: string
  16601. wrfactortypename:
  16602. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16603. type: string
  16604. wrstandardcode:
  16605. description: 现货商品代码
  16606. type: string
  16607. wrstandardid:
  16608. description: 现货商品ID
  16609. type: integer
  16610. wrstandardname:
  16611. description: 商品名称
  16612. type: string
  16613. wrtradedetailid:
  16614. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  16615. type: string
  16616. wrtradetype:
  16617. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  16618. type: integer
  16619. wrtypename:
  16620. description: 商品
  16621. type: string
  16622. type: object
  16623. models.WrTradeOrderDetail:
  16624. properties:
  16625. buyorsell:
  16626. description: 买卖方向 0-买 1-卖
  16627. type: integer
  16628. goodsid:
  16629. description: 商品id
  16630. type: integer
  16631. orderid:
  16632. description: 委托单号
  16633. type: string
  16634. orderprice:
  16635. description: 期初均价
  16636. type: number
  16637. orderqty:
  16638. description: 委托数量
  16639. type: integer
  16640. userid:
  16641. description: 用户id
  16642. type: integer
  16643. username:
  16644. description: 用户名称(已脱敏)
  16645. type: string
  16646. type: object
  16647. models.WrTypeItem:
  16648. properties:
  16649. name:
  16650. description: 名称
  16651. type: string
  16652. value:
  16653. description: 值
  16654. type: string
  16655. type: object
  16656. models.WrUserFriend:
  16657. properties:
  16658. friendname:
  16659. description: 朋友名称(已脱敏)
  16660. type: string
  16661. frienduserid:
  16662. description: 朋友id
  16663. type: integer
  16664. isfriend:
  16665. description: 是否好友 0-不是 1-是
  16666. type: integer
  16667. userid:
  16668. description: 用户id
  16669. type: integer
  16670. type: object
  16671. models.WrUserReceiptInfo:
  16672. properties:
  16673. address:
  16674. description: 地址[发票类型:企业]
  16675. type: string
  16676. autoid:
  16677. description: AutoID
  16678. type: integer
  16679. contactinfo:
  16680. description: 联系方式
  16681. type: string
  16682. idnum:
  16683. description: 身份证号码[发票类型:个人]
  16684. type: string
  16685. isdefault:
  16686. description: 是否默认地址 - 0:否 1:是
  16687. type: integer
  16688. receiptaccount:
  16689. description: 发票帐号[发票类型:企业]
  16690. type: string
  16691. receiptbank:
  16692. description: 发票开户行[发票类型:企业]
  16693. type: string
  16694. receipttype:
  16695. description: 发票类型 - 1:个人 2:企业
  16696. type: integer
  16697. taxpayerid:
  16698. description: 纳税人识别号
  16699. type: string
  16700. userid:
  16701. description: 用户ID
  16702. type: integer
  16703. username:
  16704. description: 户名(个人姓名或企业名称)
  16705. type: string
  16706. type: object
  16707. models.Wrtradetradequote:
  16708. properties:
  16709. begindate:
  16710. description: 开始日期(结果含开始日期) yyyymmdd
  16711. type: string
  16712. buyaccountid:
  16713. description: 买方账号ID
  16714. type: integer
  16715. buyuserid:
  16716. description: 买方用户ID
  16717. type: integer
  16718. deliverygoodsid:
  16719. description: 现货品种ID
  16720. type: integer
  16721. enddate:
  16722. description: 结束日期(结果含结束日期) yyyymmdd
  16723. type: string
  16724. marketid:
  16725. description: 市场ID
  16726. type: integer
  16727. sellaccountid:
  16728. description: 卖方账号ID
  16729. type: integer
  16730. selluserid:
  16731. description: 卖方用户ID
  16732. type: integer
  16733. tradeamount:
  16734. description: 成交金额
  16735. type: number
  16736. tradedate:
  16737. description: 交易日(yyyyMMdd)
  16738. type: string
  16739. tradeprice:
  16740. description: 成交价格
  16741. type: number
  16742. tradeqty:
  16743. description: 成交数量
  16744. type: integer
  16745. tradetime:
  16746. description: 成交时间
  16747. type: string
  16748. wrfactortypeid:
  16749. description: 仓单要素类型ID
  16750. type: integer
  16751. wrstandardid:
  16752. description: 现货商品ID
  16753. type: integer
  16754. wrtradedetailid:
  16755. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  16756. type: string
  16757. type: object
  16758. models.XHBRAND:
  16759. properties:
  16760. brandid:
  16761. description: 品牌id
  16762. type: integer
  16763. brandname:
  16764. description: 品牌名称
  16765. type: string
  16766. isvalid:
  16767. description: 是否有效 0-无效 1-有效
  16768. type: integer
  16769. type: object
  16770. models.XHDeliveryGoods:
  16771. properties:
  16772. areauserid:
  16773. description: 所属机构
  16774. type: integer
  16775. bdlst:
  16776. description: 品牌列表
  16777. items:
  16778. $ref: '#/definitions/models.XHBRAND'
  16779. type: array
  16780. deliverygoodscode:
  16781. description: 现货品种代码
  16782. type: string
  16783. deliverygoodsid:
  16784. description: 现货品种ID(SEQ_DELIVERYGOODS)
  16785. type: integer
  16786. deliverygoodsname:
  16787. description: 现货品种名称
  16788. type: string
  16789. dgstatus:
  16790. description: 品种状态 - 作废 - 0:未激活 1:正常
  16791. type: integer
  16792. filterSubEmpty:
  16793. description: 过滤下级为空的
  16794. type: integer
  16795. isvalid:
  16796. description: 是否有效 - 0:无效 1:有效
  16797. type: integer
  16798. remark:
  16799. description: 备注
  16800. type: string
  16801. unitid:
  16802. description: 单位id(目前看,数据库中是空值)
  16803. type: integer
  16804. wdlst:
  16805. description: 品类(现货商品)列表
  16806. items:
  16807. $ref: '#/definitions/models.XHWrstandard'
  16808. type: array
  16809. type: object
  16810. models.XHMiddleGoods:
  16811. properties:
  16812. GPLST:
  16813. description: 期货品种列表
  16814. items:
  16815. $ref: '#/definitions/models.TBGoodsGroup'
  16816. type: array
  16817. convertratio:
  16818. description: 拆算系数
  16819. type: number
  16820. costratio:
  16821. description: 成本权重
  16822. type: number
  16823. deliverygoodsid:
  16824. description: 现货商品id
  16825. type: integer
  16826. enumdicname:
  16827. description: 单位名称
  16828. type: string
  16829. middlegoodscode:
  16830. description: 套保品种代码
  16831. type: string
  16832. middlegoodsid:
  16833. description: 套保品种id
  16834. type: integer
  16835. middlegoodsname:
  16836. description: 套保品种名称
  16837. type: string
  16838. unitid:
  16839. description: 单位id
  16840. type: integer
  16841. type: object
  16842. models.XHWrstandard:
  16843. properties:
  16844. bannerpicurl:
  16845. description: banner图
  16846. type: string
  16847. deliverygoodsid:
  16848. description: 品种ID
  16849. type: integer
  16850. enumdicname:
  16851. description: 单位名称
  16852. type: string
  16853. mglst:
  16854. description: 套保品列表
  16855. items:
  16856. $ref: '#/definitions/models.XHMiddleGoods'
  16857. type: array
  16858. pictureurls:
  16859. description: 详情图片(逗号分隔)
  16860. type: string
  16861. thumurls:
  16862. description: 缩略图片(1:1)(逗号分隔)
  16863. type: string
  16864. unitid:
  16865. description: 单位id
  16866. type: integer
  16867. vatrate:
  16868. description: 增值税率
  16869. type: number
  16870. wrstandardcode:
  16871. description: 现货商品代码
  16872. type: string
  16873. wrstandardid:
  16874. description: 现货商品ID(SEQ_WRSTANDARD)
  16875. type: integer
  16876. wrstandardname:
  16877. description: 现货商品名称
  16878. type: string
  16879. type: object
  16880. models.XhcpSellBackApplyEx:
  16881. properties:
  16882. applyremark:
  16883. description: 申请备注
  16884. type: string
  16885. expirytype:
  16886. description: 寄售有效期 - 1:3天 2:7天 3:15天 4:长期
  16887. type: integer
  16888. goodsspec:
  16889. description: 商品规格 - 1:整件 2;整提 3:单罐 4:单盒
  16890. type: integer
  16891. holeflag:
  16892. description: 是否破洞[原封] - 1:无破洞 2:破洞
  16893. type: integer
  16894. isunopened:
  16895. description: 是否原封 - 1:否 2:是
  16896. type: integer
  16897. mpflag:
  16898. description: 磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮
  16899. type: integer
  16900. openflag:
  16901. description: 是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。
  16902. 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。
  16903. type: integer
  16904. phonenum:
  16905. description: 联系电话
  16906. type: string
  16907. userid:
  16908. description: 所属用户ID
  16909. type: integer
  16910. zpflag:
  16911. description: 皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮
  16912. type: integer
  16913. required:
  16914. - userid
  16915. type: object
  16916. models.Xhcpsellbackapply:
  16917. properties:
  16918. applyid:
  16919. description: 申请人
  16920. type: integer
  16921. applyremark:
  16922. description: 申请备注
  16923. type: string
  16924. applysrc:
  16925. description: 申请来源 - 1:管理端 2:终端
  16926. type: integer
  16927. applystatus:
  16928. description: 申请状态 - 1:待确认 2:已处理
  16929. type: integer
  16930. applytime:
  16931. description: 申请时间
  16932. type: string
  16933. auditremark:
  16934. description: 审核备注
  16935. type: string
  16936. auditsrc:
  16937. description: 审核来源 - 1:管理端 2:终端
  16938. type: integer
  16939. expirytype:
  16940. description: 寄售有效期 - 1:3天 2:7天 3:15天 4:长期
  16941. type: integer
  16942. goodsspec:
  16943. description: 商品规格 - 1:整件 2;整提 3:单罐 4:单盒
  16944. type: integer
  16945. holeflag:
  16946. description: 是否破洞[原封] - 1:无破洞 2:破洞
  16947. type: integer
  16948. isunopened:
  16949. description: 是否原封 - 1:否 2:是
  16950. type: integer
  16951. mpflag:
  16952. description: 磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮
  16953. type: integer
  16954. openflag:
  16955. description: 是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。
  16956. 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。
  16957. type: integer
  16958. phonenum:
  16959. description: 联系电话
  16960. type: string
  16961. sellbackapplyid:
  16962. description: 回收申请ID - SEQ_XHCP_SELLBACKAPPLY
  16963. type: string
  16964. userid:
  16965. description: 所属用户ID
  16966. type: integer
  16967. zpflag:
  16968. description: 皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮
  16969. type: integer
  16970. required:
  16971. - userid
  16972. type: object
  16973. order.QueryHisTradeDetailRsp:
  16974. properties:
  16975. accountid:
  16976. description: 账户ID[报价币种]
  16977. type: integer
  16978. advanceratio:
  16979. description: 首付比率
  16980. type: number
  16981. buildtype:
  16982. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  16983. type: integer
  16984. buyorsell:
  16985. description: 方向 - 0:买 1:卖
  16986. type: integer
  16987. charge:
  16988. description: 手续费
  16989. type: number
  16990. closecharge:
  16991. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  16992. type: number
  16993. closeexchagechargevalue:
  16994. description: 平仓交易所手续费设置值
  16995. type: number
  16996. closefeealgorithm:
  16997. description: 平仓手续费收取方式 1:比率 2:固定
  16998. type: integer
  16999. closememberchargevalue:
  17000. description: 平仓会员手续费设置值
  17001. type: number
  17002. closepl:
  17003. description: 平仓盈亏
  17004. type: number
  17005. closepl2:
  17006. description: 平仓盈亏[逐笔]
  17007. type: number
  17008. closeqty:
  17009. description: 平仓数量(先建后平操作 需要记录)
  17010. type: number
  17011. creditamount:
  17012. description: 授信金额
  17013. type: number
  17014. decimalplace:
  17015. description: 商品报价小数位
  17016. type: integer
  17017. enumdicname:
  17018. description: 单位名称
  17019. type: string
  17020. gcaccountid:
  17021. description: 账户ID[合约币种]
  17022. type: integer
  17023. goodscode:
  17024. description: 商品代码
  17025. type: string
  17026. goodsid:
  17027. description: 商品ID
  17028. type: integer
  17029. goodsname:
  17030. description: 商品名称
  17031. type: string
  17032. goodunitid:
  17033. description: 商品单位id
  17034. type: integer
  17035. histradedate:
  17036. description: 历史交易日
  17037. type: string
  17038. intclosepl:
  17039. description: 整型盈亏(用于交易结算试算平衡-收益权)
  17040. type: integer
  17041. isconfirmexercise:
  17042. description: 是否确认行权- 0:否 1:是
  17043. type: integer
  17044. ismain:
  17045. description: 是否主单 - 0:不是 1:是
  17046. type: integer
  17047. ispreexercise:
  17048. description: 是否预申报- 0:否 1:是
  17049. type: integer
  17050. isreckoned:
  17051. description: 是否结算 - 0:未结算 1:已结算
  17052. type: integer
  17053. isvaliddata:
  17054. description: 是否有效 - 0:无效 1:有效
  17055. type: integer
  17056. listingselecttype:
  17057. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  17058. type: integer
  17059. marketid:
  17060. description: 市场ID
  17061. type: integer
  17062. marketname:
  17063. description: 市场名称
  17064. type: string
  17065. matchaccountid:
  17066. description: 对手账号id
  17067. type: integer
  17068. memberuserid:
  17069. description: 会员id 个人投资者 需要填写
  17070. type: integer
  17071. opencharge:
  17072. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  17073. type: number
  17074. openexchagechargevalue:
  17075. description: 建仓交易所手续费设置值
  17076. type: number
  17077. openfeealgorithm:
  17078. description: 建仓手续费收取方式 1:比率 2:固定
  17079. type: integer
  17080. openmemberchargevalue:
  17081. description: 建仓会员手续费设置值
  17082. type: number
  17083. openqty:
  17084. description: 开仓数量(先建后平操作 需要记录)
  17085. type: number
  17086. optiontype:
  17087. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  17088. type: integer
  17089. orderid:
  17090. description: 委托单号
  17091. type: string
  17092. payamount:
  17093. description: 支付金额(付款金额)
  17094. type: number
  17095. performanceplanid:
  17096. description: 履约计划ID[期权]
  17097. type: integer
  17098. performancestatus:
  17099. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  17100. type: integer
  17101. preexerciseprice:
  17102. description: 预申报价格
  17103. type: number
  17104. premium:
  17105. description: 权利金 - [持仓单的权利金]
  17106. type: number
  17107. qtydecimalplace:
  17108. description: 商品报价小数位
  17109. type: integer
  17110. recvamount:
  17111. description: 到账金额 = 成交金额 - 手续费
  17112. type: number
  17113. relatedouttradeid:
  17114. description: 关联外部成交单ID
  17115. type: integer
  17116. status:
  17117. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  17118. type: integer
  17119. totalamount:
  17120. description: 订单总额 = 成交金额 + 手续费
  17121. type: number
  17122. tradeamount:
  17123. description: 成交金额[账户币种,用于所有权]
  17124. type: number
  17125. tradedate:
  17126. description: 交易日(yyyyMMdd)
  17127. type: string
  17128. tradeid:
  17129. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17130. type: string
  17131. trademode:
  17132. description: 交易模式
  17133. type: integer
  17134. tradeprice:
  17135. description: 成交价格
  17136. type: number
  17137. tradeproperty:
  17138. description: 交易属性
  17139. type: integer
  17140. tradeqty:
  17141. description: 成交数量
  17142. type: number
  17143. tradetime:
  17144. description: 成交时间
  17145. type: string
  17146. tradetype:
  17147. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  17148. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  17149. type: integer
  17150. required:
  17151. - accountid
  17152. - buyorsell
  17153. - goodsid
  17154. - histradedate
  17155. - marketid
  17156. - memberuserid
  17157. - orderid
  17158. - tradeamount
  17159. - tradedate
  17160. - tradeid
  17161. - tradeprice
  17162. - tradeqty
  17163. - tradetime
  17164. type: object
  17165. order.QueryHisTradeOrderDetailRsp:
  17166. properties:
  17167. accountid:
  17168. description: 账户ID[报价币种]
  17169. type: integer
  17170. buildtype:
  17171. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  17172. type: integer
  17173. buyorsell:
  17174. description: 买卖 - 0:买 1:卖
  17175. type: integer
  17176. cancelorderid:
  17177. description: 撤单单号(撤单时填写)
  17178. type: string
  17179. cancelqty:
  17180. description: 撤单数量
  17181. type: number
  17182. clientordertime:
  17183. description: 客户端委托时间
  17184. type: string
  17185. clientticket:
  17186. description: 客户端流水号
  17187. type: string
  17188. clienttype:
  17189. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  17190. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  17191. type: integer
  17192. closeexchagechargevalue:
  17193. description: 平仓交易所手续费设置值
  17194. type: number
  17195. closefeealgorithm:
  17196. description: 平仓手续费收取方式 1:比率 2:固定
  17197. type: integer
  17198. closefreezecharge:
  17199. description: 平仓冻结手续费(先建后平操作,需要记录)
  17200. type: number
  17201. closememberchargevalue:
  17202. description: 平仓会员手续费设置值
  17203. type: number
  17204. closeqty:
  17205. description: 平仓数量(先建后平操作 需要记录)
  17206. type: number
  17207. closetradeqty:
  17208. description: 平仓成交数量(先建后平操作,需要记录)
  17209. type: number
  17210. closeunfreezecharge:
  17211. description: 平仓解冻手续费(先建后平操作,需要记录)
  17212. type: number
  17213. decimalplace:
  17214. description: 商品报价小数位
  17215. type: integer
  17216. delistingtype:
  17217. description: 摘牌类型 - 1:价格最优 2:点选成交
  17218. type: integer
  17219. enumdicname:
  17220. description: 单位名称
  17221. type: string
  17222. freezecharge:
  17223. description: 冻结手续费
  17224. type: number
  17225. freezemargin:
  17226. description: 冻结保证金(冻结交易金额)
  17227. type: number
  17228. gcaccountid:
  17229. description: 账户ID[合约币种]
  17230. type: integer
  17231. goodscode:
  17232. description: 商品代码
  17233. type: string
  17234. goodsid:
  17235. description: 商品ID
  17236. type: integer
  17237. goodsname:
  17238. description: 商品名称
  17239. type: string
  17240. goodunitid:
  17241. description: 商品单位id
  17242. type: integer
  17243. histradedate:
  17244. description: 历史交易日
  17245. type: string
  17246. isconfirmexercise:
  17247. description: 是否确认行权- 0:否 1:是
  17248. type: integer
  17249. ispreexercise:
  17250. description: 是否预申报- 0:否 1:是
  17251. type: integer
  17252. isvaliddata:
  17253. description: 是否有效 - 0:无效 1:有效
  17254. type: integer
  17255. listingselecttype:
  17256. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  17257. type: integer
  17258. marginalgorithm:
  17259. description: 保证金收取方式 1:比率 2:固定
  17260. type: integer
  17261. marginvalue:
  17262. description: 即市保证金设置值
  17263. type: number
  17264. marketid:
  17265. description: 市场ID
  17266. type: integer
  17267. marketmaxsub:
  17268. description: 市价最大偏移范围
  17269. type: number
  17270. marketname:
  17271. description: 市场名称
  17272. type: string
  17273. memberuserid:
  17274. description: 所属会员UserID
  17275. type: integer
  17276. openexchagechargevalue:
  17277. description: 建仓交易所手续费设置值
  17278. type: number
  17279. openfeealgorithm:
  17280. description: 建仓手续费收取方式 1:比率 2:固定
  17281. type: integer
  17282. openfreezecharge:
  17283. description: 开仓冻结手续费(先建后平操作,需要记录)
  17284. type: number
  17285. openmemberchargevalue:
  17286. description: 建仓会员手续费设置值
  17287. type: number
  17288. openqty:
  17289. description: 开仓数量(先建后平操作,需要记录)
  17290. type: number
  17291. opentradeqty:
  17292. description: 开仓成交数量(先建后平操作,需要记录)
  17293. type: number
  17294. openunfreezecharge:
  17295. description: 开仓解冻手续费(先建后平操作,需要记录)
  17296. type: number
  17297. operatetype:
  17298. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  17299. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  17300. 15:管理端协议转让
  17301. type: integer
  17302. operatorid:
  17303. description: 登录账号(LoginID)
  17304. type: integer
  17305. optiontype:
  17306. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  17307. type: integer
  17308. orderid:
  17309. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17310. type: string
  17311. orderprice:
  17312. description: 委托价格
  17313. type: number
  17314. orderqty:
  17315. description: 委托数量
  17316. type: number
  17317. ordersrc:
  17318. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  17319. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  17320. type: integer
  17321. orderstatus:
  17322. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  17323. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  17324. 16:成交失败违约(荷兰式竞拍专用)
  17325. type: integer
  17326. ordertime:
  17327. description: 委托时间
  17328. type: string
  17329. preexerciseprice:
  17330. description: 预申报价格
  17331. type: number
  17332. premium:
  17333. description: 权利金
  17334. type: number
  17335. preorderid:
  17336. description: 关联预埋单号(止盈止损单时填写)
  17337. type: string
  17338. pricemode:
  17339. description: '取价方式 - 1:市价 2: 限价'
  17340. type: integer
  17341. qtydecimalplace:
  17342. description: 成交量小数位
  17343. type: integer
  17344. quoteid:
  17345. description: 报价单ID
  17346. type: integer
  17347. relatedid:
  17348. description: 关联单号(交割单)
  17349. type: string
  17350. retcode:
  17351. description: 错误代码
  17352. type: integer
  17353. sessionid:
  17354. description: 会话ID
  17355. type: integer
  17356. tradedate:
  17357. description: 交易日(yyyyMMdd)
  17358. type: string
  17359. trademode:
  17360. description: 交易模式
  17361. type: integer
  17362. tradeproperty:
  17363. description: 交易属性
  17364. type: integer
  17365. tradeqty:
  17366. description: 成交数量
  17367. type: number
  17368. unfreezecharge:
  17369. description: 解冻手续费
  17370. type: number
  17371. unfreezemargin:
  17372. description: 解冻保证金
  17373. type: number
  17374. updatetime:
  17375. description: 更新时间
  17376. type: string
  17377. uuid:
  17378. description: 发起端唯一id
  17379. type: string
  17380. validtime:
  17381. description: 有效期限
  17382. type: string
  17383. validtype:
  17384. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  17385. type: integer
  17386. volumetype:
  17387. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  17388. type: integer
  17389. required:
  17390. - accountid
  17391. - buildtype
  17392. - buyorsell
  17393. - goodsid
  17394. - histradedate
  17395. - marketid
  17396. - memberuserid
  17397. - operatetype
  17398. - orderid
  17399. - orderqty
  17400. - ordertime
  17401. - pricemode
  17402. - tradedate
  17403. - validtype
  17404. type: object
  17405. order.QueryTradeDetailRsp:
  17406. properties:
  17407. accountid:
  17408. description: 账户ID[报价币种]
  17409. type: integer
  17410. advanceratio:
  17411. description: 首付比率
  17412. type: number
  17413. buildtype:
  17414. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  17415. type: integer
  17416. buyorsell:
  17417. description: 方向 - 0:买 1:卖
  17418. type: integer
  17419. charge:
  17420. description: 手续费
  17421. type: number
  17422. closecharge:
  17423. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  17424. type: number
  17425. closeexchagechargevalue:
  17426. description: 平仓交易所手续费设置值
  17427. type: number
  17428. closefeealgorithm:
  17429. description: 平仓手续费收取方式 1:比率 2:固定
  17430. type: integer
  17431. closememberchargevalue:
  17432. description: 平仓会员手续费设置值
  17433. type: number
  17434. closepl:
  17435. description: 平仓盈亏
  17436. type: number
  17437. closepl2:
  17438. description: 平仓盈亏[逐笔]
  17439. type: number
  17440. closeqty:
  17441. description: 平仓数量(先建后平操作 需要记录)
  17442. type: number
  17443. creditamount:
  17444. description: 授信金额
  17445. type: number
  17446. decimalplace:
  17447. description: 商品报价小数位
  17448. type: integer
  17449. enumdicname:
  17450. description: 单位名称
  17451. type: string
  17452. gcaccountid:
  17453. description: 账户ID[合约币种]
  17454. type: integer
  17455. goodscode:
  17456. description: 商品代码
  17457. type: string
  17458. goodsid:
  17459. description: 商品ID
  17460. type: integer
  17461. goodsname:
  17462. description: 商品名称
  17463. type: string
  17464. goodunitid:
  17465. description: 商品单位id
  17466. type: integer
  17467. intclosepl:
  17468. description: 整型盈亏(用于交易结算试算平衡-收益权)
  17469. type: integer
  17470. isconfirmexercise:
  17471. description: 是否确认行权- 0:否 1:是
  17472. type: integer
  17473. ismain:
  17474. description: 是否主单 - 0:不是 1:是
  17475. type: integer
  17476. ispreexercise:
  17477. description: 是否预申报- 0:否 1:是
  17478. type: integer
  17479. isreckoned:
  17480. description: 是否结算 - 0:未结算 1:已结算
  17481. type: integer
  17482. listingselecttype:
  17483. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  17484. type: integer
  17485. marketid:
  17486. description: 市场ID
  17487. type: integer
  17488. marketname:
  17489. description: 市场名称
  17490. type: string
  17491. matchaccountid:
  17492. description: 对手账号id
  17493. type: integer
  17494. memberuserid:
  17495. description: 会员id 个人投资者 需要填写
  17496. type: integer
  17497. opencharge:
  17498. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  17499. type: number
  17500. openexchagechargevalue:
  17501. description: 建仓交易所手续费设置值
  17502. type: number
  17503. openfeealgorithm:
  17504. description: 建仓手续费收取方式 1:比率 2:固定
  17505. type: integer
  17506. openmemberchargevalue:
  17507. description: 建仓会员手续费设置值
  17508. type: number
  17509. openqty:
  17510. description: 开仓数量(先建后平操作 需要记录)
  17511. type: number
  17512. optiontype:
  17513. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  17514. type: integer
  17515. orderid:
  17516. description: 委托单号
  17517. type: string
  17518. payamount:
  17519. description: 支付金额(付款金额)
  17520. type: number
  17521. performanceplanid:
  17522. description: 履约计划ID[期权]
  17523. type: integer
  17524. performancestatus:
  17525. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  17526. type: integer
  17527. preexerciseprice:
  17528. description: 预申报价格
  17529. type: number
  17530. premium:
  17531. description: 权利金 - [持仓单的权利金]
  17532. type: number
  17533. qtydecimalplace:
  17534. description: 商品报价小数位
  17535. type: integer
  17536. recvamount:
  17537. description: 到账金额 = 成交金额 - 手续费
  17538. type: number
  17539. relatedouttradeid:
  17540. description: 关联外部成交单ID
  17541. type: integer
  17542. status:
  17543. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  17544. type: integer
  17545. totalamount:
  17546. description: 订单总额 = 成交金额 + 手续费
  17547. type: number
  17548. tradeamount:
  17549. description: 成交金额[账户币种,用于所有权]
  17550. type: number
  17551. tradedate:
  17552. description: 交易日(yyyyMMdd)
  17553. type: string
  17554. tradeid:
  17555. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17556. type: string
  17557. trademode:
  17558. description: 交易模式
  17559. type: integer
  17560. tradeprice:
  17561. description: 成交价格
  17562. type: number
  17563. tradeproperty:
  17564. description: 交易属性
  17565. type: integer
  17566. tradeqty:
  17567. description: 成交数量
  17568. type: number
  17569. tradetime:
  17570. description: 成交时间
  17571. type: string
  17572. tradetype:
  17573. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  17574. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  17575. type: integer
  17576. required:
  17577. - accountid
  17578. - buyorsell
  17579. - goodsid
  17580. - marketid
  17581. - memberuserid
  17582. - orderid
  17583. - tradeamount
  17584. - tradedate
  17585. - tradeid
  17586. - tradeprice
  17587. - tradeqty
  17588. - tradetime
  17589. type: object
  17590. order.QueryTradeOrderDetailRsp:
  17591. properties:
  17592. accountid:
  17593. description: 账户ID[报价币种]
  17594. type: integer
  17595. buildtype:
  17596. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  17597. type: integer
  17598. buyorsell:
  17599. description: 买卖 - 0:买 1:卖
  17600. type: integer
  17601. cancelorderid:
  17602. description: 撤单单号(撤单时填写)
  17603. type: string
  17604. cancelqty:
  17605. description: 撤单数量
  17606. type: number
  17607. clienttype:
  17608. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  17609. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  17610. type: integer
  17611. closefreezecharge:
  17612. description: 平仓冻结手续费(先建后平操作,需要记录)
  17613. type: number
  17614. closeqty:
  17615. description: 平仓数量(先建后平操作 需要记录)
  17616. type: number
  17617. closetradeqty:
  17618. description: 平仓成交数量(先建后平操作,需要记录)
  17619. type: number
  17620. closeunfreezecharge:
  17621. description: 平仓解冻手续费(先建后平操作,需要记录)
  17622. type: number
  17623. decimalplace:
  17624. description: 商品报价小数位
  17625. type: integer
  17626. delistingtype:
  17627. description: 摘牌类型 - 1:价格最优 2:点选成交
  17628. type: integer
  17629. enableqty:
  17630. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  17631. type: number
  17632. enumdicname:
  17633. description: 单位名称
  17634. type: string
  17635. freezecharge:
  17636. description: 冻结手续费
  17637. type: number
  17638. freezemargin:
  17639. description: 冻结保证金(冻结交易金额)
  17640. type: number
  17641. goodscode:
  17642. description: 商品代码
  17643. type: string
  17644. goodsid:
  17645. description: 商品ID
  17646. type: integer
  17647. goodsname:
  17648. description: 商品名称
  17649. type: string
  17650. goodunitid:
  17651. description: 商品单位id
  17652. type: integer
  17653. listingselecttype:
  17654. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  17655. type: integer
  17656. marketid:
  17657. description: 市场ID
  17658. type: integer
  17659. marketname:
  17660. description: 市场名称
  17661. type: string
  17662. openfreezecharge:
  17663. description: 开仓冻结手续费(先建后平操作,需要记录)
  17664. type: number
  17665. openqty:
  17666. description: 开仓数量(先建后平操作,需要记录)
  17667. type: number
  17668. opentradeqty:
  17669. description: 开仓成交数量(先建后平操作,需要记录)
  17670. type: number
  17671. openunfreezecharge:
  17672. description: 开仓解冻手续费(先建后平操作,需要记录)
  17673. type: number
  17674. operatetype:
  17675. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  17676. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  17677. 15:管理端协议转让
  17678. type: integer
  17679. operatorid:
  17680. description: 登录账号(LoginID)
  17681. type: integer
  17682. orderid:
  17683. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17684. type: string
  17685. orderprice:
  17686. description: 委托价格
  17687. type: number
  17688. orderqty:
  17689. description: 委托数量
  17690. type: number
  17691. ordersrc:
  17692. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  17693. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  17694. type: integer
  17695. orderstatus:
  17696. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  17697. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  17698. 16:成交失败违约(荷兰式竞拍专用)
  17699. type: integer
  17700. ordertime:
  17701. description: 委托时间
  17702. type: string
  17703. preorderid:
  17704. description: 关联预埋单号(止盈止损单时填写)
  17705. type: string
  17706. pricemode:
  17707. description: '取价方式 - 1:市价 2: 限价'
  17708. type: integer
  17709. qtydecimalplace:
  17710. description: 商品报价小数位
  17711. type: integer
  17712. relatedid:
  17713. description: 关联单号(交割单)
  17714. type: string
  17715. tradedate:
  17716. description: 交易日(yyyyMMdd)
  17717. type: string
  17718. trademode:
  17719. description: 交易模式
  17720. type: integer
  17721. tradeqty:
  17722. description: 成交数量
  17723. type: number
  17724. unfreezecharge:
  17725. description: 解冻手续费
  17726. type: number
  17727. unfreezemargin:
  17728. description: 解冻保证金
  17729. type: number
  17730. validtime:
  17731. description: 有效期限
  17732. type: string
  17733. validtype:
  17734. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  17735. type: integer
  17736. volumetype:
  17737. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  17738. type: integer
  17739. required:
  17740. - accountid
  17741. - buildtype
  17742. - buyorsell
  17743. - goodsid
  17744. - marketid
  17745. - operatetype
  17746. - orderqty
  17747. - ordertime
  17748. - pricemode
  17749. - tradedate
  17750. - validtype
  17751. type: object
  17752. order.QueryTradePositionRsp:
  17753. properties:
  17754. accountid:
  17755. description: 资金账户
  17756. type: integer
  17757. agreeunit:
  17758. description: 合约单位
  17759. type: number
  17760. averageprice:
  17761. description: 持仓均价
  17762. type: number
  17763. buyorsell:
  17764. description: 方向 - 0:买 1:卖
  17765. type: integer
  17766. closetotalqty:
  17767. description: 平仓总数量
  17768. type: number
  17769. curholderamount:
  17770. description: 当前持仓总金额[商品币种]
  17771. type: number
  17772. curpositionqty:
  17773. description: 当前持仓总数量
  17774. type: number
  17775. currencyid:
  17776. description: 报价货币ID
  17777. type: integer
  17778. curtdposition:
  17779. description: 期末今日头寸
  17780. type: number
  17781. decimalplace:
  17782. description: 报价小数位
  17783. type: integer
  17784. enableqty:
  17785. description: 可用量
  17786. type: number
  17787. fretdposition:
  17788. description: 冻结今日头寸
  17789. type: number
  17790. frozenqty:
  17791. description: 持仓冻结数量
  17792. type: number
  17793. goodscode:
  17794. description: 商品代码
  17795. type: string
  17796. goodsid:
  17797. description: 商品Id
  17798. type: integer
  17799. goodsname:
  17800. description: 商品名称
  17801. type: string
  17802. goodunit:
  17803. description: 报价单位
  17804. type: string
  17805. goodunitid:
  17806. description: 报价单位ID
  17807. type: integer
  17808. holderamount:
  17809. description: 期初持仓总金额[商品币种]
  17810. type: number
  17811. lastprice:
  17812. description: 最新价
  17813. type: number
  17814. marketamount:
  17815. description: 市值
  17816. type: number
  17817. marketid:
  17818. description: 所属市场ID
  17819. type: integer
  17820. openreqqty:
  17821. description: 开仓申请数量(用于比较最大持仓数量)
  17822. type: number
  17823. opentotalqty:
  17824. description: 开仓总数量
  17825. type: number
  17826. otherfrozenqty:
  17827. description: 持仓其他冻结数量(交割冻结)
  17828. type: number
  17829. positionpl:
  17830. description: 持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸
  17831. * 合约单位
  17832. type: number
  17833. positionplrate:
  17834. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  17835. type: number
  17836. positionqty:
  17837. description: 期初持仓数量
  17838. type: number
  17839. qtydecimalplace:
  17840. description: 成交量小数位
  17841. type: integer
  17842. refgoodscode:
  17843. description: 参考商品代码
  17844. type: string
  17845. refgoodsid:
  17846. description: 参考商品ID
  17847. type: integer
  17848. tnqty:
  17849. description: T+N冻结总量
  17850. type: number
  17851. tnusedqty:
  17852. description: T+N使用量(可以使用T+N的冻结数量)
  17853. type: number
  17854. trademode:
  17855. description: 交易模式
  17856. type: integer
  17857. tradeproperty:
  17858. description: 交易属性
  17859. type: integer
  17860. usedmargin:
  17861. description: 占用保证金[商品币种]
  17862. type: number
  17863. required:
  17864. - goodsid
  17865. type: object
  17866. pb.GoodsMarginCfgStruct:
  17867. properties:
  17868. CustomerTypeID:
  17869. description: 投资者客户类型
  17870. type: integer
  17871. GoodsID:
  17872. description: 商品ID
  17873. type: integer
  17874. IsDefault:
  17875. description: 是否默认标志位
  17876. type: integer
  17877. LockMarginValue:
  17878. description: 锁仓保证金
  17879. type: number
  17880. MarginAlgorithm:
  17881. description: 保证金计算方式
  17882. type: integer
  17883. MarketMarginValue:
  17884. description: 即市保证金值
  17885. type: number
  17886. RealMarginAlgorithm:
  17887. description: 实付保证金计算方式
  17888. type: integer
  17889. RealMarginValue:
  17890. description: 实付比例
  17891. type: number
  17892. ReckonMarginValue:
  17893. description: 结算保证金值
  17894. type: number
  17895. type: object
  17896. quote.HistoryData:
  17897. properties:
  17898. c:
  17899. description: 收盘价
  17900. type: number
  17901. f:
  17902. description: 是否补充数据
  17903. type: boolean
  17904. h:
  17905. description: 最高价
  17906. type: number
  17907. hv:
  17908. description: 持仓量
  17909. type: integer
  17910. l:
  17911. description: 最低价
  17912. type: number
  17913. o:
  17914. description: 开盘价
  17915. type: number
  17916. s:
  17917. description: 结算价,日线周期(包括)以上才有
  17918. type: number
  17919. ts:
  17920. description: 时间
  17921. type: string
  17922. tt:
  17923. description: 总金额
  17924. type: number
  17925. tv:
  17926. description: 总量(成交量)
  17927. type: integer
  17928. type: object
  17929. quote.HistoryTikData:
  17930. properties:
  17931. AV:
  17932. description: 卖量
  17933. type: integer
  17934. Ask:
  17935. description: 卖价
  17936. type: number
  17937. BV:
  17938. description: 买量
  17939. type: integer
  17940. Bid:
  17941. description: 买价
  17942. type: number
  17943. HI:
  17944. description: 单笔持仓
  17945. type: integer
  17946. HV:
  17947. description: 持仓量
  17948. type: integer
  17949. PE:
  17950. description: 现价
  17951. type: number
  17952. TDR:
  17953. description: 交易方向,0:买 1:卖
  17954. type: integer
  17955. TK:
  17956. description: 交易类型
  17957. type: integer
  17958. TS:
  17959. description: 行情时间文本
  17960. type: string
  17961. TT:
  17962. description: 现金额
  17963. type: number
  17964. Vol:
  17965. description: 现量
  17966. type: integer
  17967. type: object
  17968. quote.QueryQuoteDayRsp:
  17969. properties:
  17970. ask:
  17971. description: 卖1
  17972. type: number
  17973. ask2:
  17974. description: 卖2
  17975. type: number
  17976. ask3:
  17977. description: 卖3
  17978. type: number
  17979. ask4:
  17980. description: 卖4
  17981. type: number
  17982. ask5:
  17983. description: 卖5
  17984. type: number
  17985. ask6:
  17986. description: 卖6
  17987. type: number
  17988. ask7:
  17989. description: 卖7
  17990. type: number
  17991. ask8:
  17992. description: 卖8
  17993. type: number
  17994. ask9:
  17995. description: 卖9
  17996. type: number
  17997. ask10:
  17998. description: 卖10
  17999. type: number
  18000. askorderid:
  18001. description: 卖单号1
  18002. type: integer
  18003. askorderid2:
  18004. description: 卖单号2
  18005. type: integer
  18006. askorderid3:
  18007. description: 卖单号3
  18008. type: integer
  18009. askorderid4:
  18010. description: 卖单号4
  18011. type: integer
  18012. askorderid5:
  18013. description: 卖单号5
  18014. type: integer
  18015. askordervolume:
  18016. description: 卖单量1
  18017. type: integer
  18018. askordervolume2:
  18019. description: 卖单量2
  18020. type: integer
  18021. askordervolume3:
  18022. description: 卖单量3
  18023. type: integer
  18024. askordervolume4:
  18025. description: 卖单量4
  18026. type: integer
  18027. askordervolume5:
  18028. description: 卖单量5
  18029. type: integer
  18030. askordervolume6:
  18031. description: 卖单量6
  18032. type: integer
  18033. askordervolume7:
  18034. description: 卖单量7
  18035. type: integer
  18036. askordervolume8:
  18037. description: 卖单量8
  18038. type: integer
  18039. askordervolume9:
  18040. description: 卖单量9
  18041. type: integer
  18042. askordervolume10:
  18043. description: 卖单量10
  18044. type: integer
  18045. askqueueinfo:
  18046. description: 大利市卖港股用
  18047. type: string
  18048. askvolume:
  18049. description: 卖量1
  18050. type: integer
  18051. askvolume2:
  18052. description: 卖量2
  18053. type: integer
  18054. askvolume3:
  18055. description: 卖量3
  18056. type: integer
  18057. askvolume4:
  18058. description: 卖量4
  18059. type: integer
  18060. askvolume5:
  18061. description: 卖量5
  18062. type: integer
  18063. askvolume6:
  18064. description: 卖量6
  18065. type: integer
  18066. askvolume7:
  18067. description: 卖量7
  18068. type: integer
  18069. askvolume8:
  18070. description: 卖量8
  18071. type: integer
  18072. askvolume9:
  18073. description: 卖量9
  18074. type: integer
  18075. askvolume10:
  18076. description: 卖量10
  18077. type: integer
  18078. averageprice:
  18079. description: 均价
  18080. type: number
  18081. bid:
  18082. description: 买1
  18083. type: number
  18084. bid2:
  18085. description: 买2
  18086. type: number
  18087. bid3:
  18088. description: 买3
  18089. type: number
  18090. bid4:
  18091. description: 买4
  18092. type: number
  18093. bid5:
  18094. description: 买5
  18095. type: number
  18096. bid6:
  18097. description: 买6
  18098. type: number
  18099. bid7:
  18100. description: 买7
  18101. type: number
  18102. bid8:
  18103. description: 买8
  18104. type: number
  18105. bid9:
  18106. description: 买9
  18107. type: number
  18108. bid10:
  18109. description: 买10
  18110. type: number
  18111. bidorderid:
  18112. description: 买单号1
  18113. type: integer
  18114. bidorderid2:
  18115. description: 买单号2
  18116. type: integer
  18117. bidorderid3:
  18118. description: 买单号3
  18119. type: integer
  18120. bidorderid4:
  18121. description: 买单号4
  18122. type: integer
  18123. bidorderid5:
  18124. description: 买单号5
  18125. type: integer
  18126. bidordervolume:
  18127. description: 买单量1
  18128. type: integer
  18129. bidordervolume2:
  18130. description: 买单量2
  18131. type: integer
  18132. bidordervolume3:
  18133. description: 买单量3
  18134. type: integer
  18135. bidordervolume4:
  18136. description: 买单量4
  18137. type: integer
  18138. bidordervolume5:
  18139. description: 买单量5
  18140. type: integer
  18141. bidordervolume6:
  18142. description: 买单量6
  18143. type: integer
  18144. bidordervolume7:
  18145. description: 买单量7
  18146. type: integer
  18147. bidordervolume8:
  18148. description: 买单量8
  18149. type: integer
  18150. bidordervolume9:
  18151. description: 买单量9
  18152. type: integer
  18153. bidordervolume10:
  18154. description: 买单量10
  18155. type: integer
  18156. bidqueueinfo:
  18157. description: 大利市买港股用
  18158. type: string
  18159. bidvolume:
  18160. description: 买量1
  18161. type: integer
  18162. bidvolume2:
  18163. description: 买量2
  18164. type: integer
  18165. bidvolume3:
  18166. description: 买量3
  18167. type: integer
  18168. bidvolume4:
  18169. description: 买量4
  18170. type: integer
  18171. bidvolume5:
  18172. description: 买量5
  18173. type: integer
  18174. bidvolume6:
  18175. description: 买量6
  18176. type: integer
  18177. bidvolume7:
  18178. description: 买量7
  18179. type: integer
  18180. bidvolume8:
  18181. description: 买量8
  18182. type: integer
  18183. bidvolume9:
  18184. description: 买量9
  18185. type: integer
  18186. bidvolume10:
  18187. description: 买量10
  18188. type: integer
  18189. calloptionpremiums:
  18190. description: 认购期权1
  18191. type: integer
  18192. calloptionpremiums2:
  18193. description: 认购期权2
  18194. type: integer
  18195. calloptionpremiums3:
  18196. description: 认购期权3
  18197. type: integer
  18198. calloptionpremiums4:
  18199. description: 认购期权4
  18200. type: integer
  18201. calloptionpremiums5:
  18202. description: 认购期权5
  18203. type: integer
  18204. cleartime:
  18205. description: 清盘时间
  18206. type: integer
  18207. exchangecode:
  18208. description: 交易所代码
  18209. type: integer
  18210. exchangedate:
  18211. description: 交易日
  18212. type: integer
  18213. goodscode:
  18214. description: 商品代码
  18215. type: string
  18216. grepmarketprice:
  18217. description: 暗盘价 港股专用
  18218. type: number
  18219. highest:
  18220. description: 最高价
  18221. type: number
  18222. holdincrement:
  18223. description: 单笔持仓
  18224. type: integer
  18225. holdvolume:
  18226. description: 持仓
  18227. type: integer
  18228. iep:
  18229. description: 平衡价 港股专用
  18230. type: number
  18231. iev:
  18232. description: 平衡量 港股专用
  18233. type: number
  18234. inventory:
  18235. description: 库存
  18236. type: integer
  18237. iscleared:
  18238. description: 是否清盘标志
  18239. type: integer
  18240. issettled:
  18241. description: 是否结算标志
  18242. type: integer
  18243. last:
  18244. description: 最新价
  18245. type: number
  18246. lastlot:
  18247. description: 最新成交手数
  18248. type: integer
  18249. lasttime:
  18250. description: 行情时间(只有现价变化行情时间才变化)
  18251. type: string
  18252. lastturnover:
  18253. description: 最新成交金额
  18254. type: number
  18255. lastvolume:
  18256. description: 最新成交量
  18257. type: integer
  18258. limitdown:
  18259. description: 跌停价
  18260. type: number
  18261. limitup:
  18262. description: 涨停价
  18263. type: number
  18264. lowest:
  18265. description: 最低价
  18266. type: number
  18267. nontotalholdervolume:
  18268. description: 非交易持仓量
  18269. type: integer
  18270. nontotallot:
  18271. description: 非交易总手数
  18272. type: integer
  18273. nontotalturnover:
  18274. description: 非交易总金额
  18275. type: integer
  18276. nontotalvolume:
  18277. description: 非交易总量
  18278. type: integer
  18279. opened:
  18280. description: 开盘价
  18281. type: number
  18282. opentime:
  18283. description: 开盘时间
  18284. type: string
  18285. orderid:
  18286. description: 序号
  18287. type: integer
  18288. preclose:
  18289. description: 昨收
  18290. type: number
  18291. preholdvolume:
  18292. description: 昨持仓
  18293. type: integer
  18294. presettle:
  18295. description: 昨结价
  18296. type: number
  18297. publictradetype:
  18298. description: 公共交易标志类型 港股专用
  18299. type: string
  18300. putoptionpremiums:
  18301. description: 认沽期权1
  18302. type: integer
  18303. putoptionpremiums2:
  18304. description: 认沽期权2
  18305. type: integer
  18306. putoptionpremiums3:
  18307. description: 认沽期权3
  18308. type: integer
  18309. putoptionpremiums4:
  18310. description: 认沽期权4
  18311. type: integer
  18312. putoptionpremiums5:
  18313. description: 认沽期权5
  18314. type: integer
  18315. settle:
  18316. description: 结算价
  18317. type: number
  18318. strikeprice:
  18319. description: 发行价
  18320. type: number
  18321. totalaskvolume:
  18322. description: 内盘
  18323. type: integer
  18324. totalbidvolume:
  18325. description: 外盘
  18326. type: integer
  18327. totallot:
  18328. description: 总手数
  18329. type: integer
  18330. totalturnover:
  18331. description: 总金额
  18332. type: number
  18333. totalvolume:
  18334. description: 总量
  18335. type: integer
  18336. utclasttime:
  18337. description: utc的行情时间
  18338. type: string
  18339. type: object
  18340. quote.QueryTSDataRsp:
  18341. properties:
  18342. Count:
  18343. description: 交易日应有数据个数
  18344. type: integer
  18345. decimalPlace:
  18346. description: 小数位
  18347. type: integer
  18348. endTime:
  18349. description: 结束时间
  18350. type: string
  18351. goodsCode:
  18352. description: 商品代码
  18353. type: string
  18354. historyDatas:
  18355. description: 历史数据
  18356. items:
  18357. $ref: '#/definitions/quote.HistoryData'
  18358. type: array
  18359. outGoodsCode:
  18360. description: 外部商品代码
  18361. type: string
  18362. preSettle:
  18363. description: 昨结价
  18364. type: number
  18365. runSteps:
  18366. description: 交易日开休市计划
  18367. items:
  18368. $ref: '#/definitions/quote.TSDataRunStep'
  18369. type: array
  18370. startTime:
  18371. description: 开始时间
  18372. type: string
  18373. tradeDate:
  18374. description: 交易日
  18375. type: string
  18376. type: object
  18377. quote.TSDataRunStep:
  18378. properties:
  18379. end:
  18380. description: 真实结束时间
  18381. type: string
  18382. endflag:
  18383. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  18384. type: integer
  18385. endtime:
  18386. description: 结束时间(HH:mm)
  18387. type: string
  18388. endweekday:
  18389. description: 结束周几
  18390. type: integer
  18391. groupid:
  18392. description: 分组ID
  18393. type: integer
  18394. runstep:
  18395. description: 运行阶段 - 2:连续交易
  18396. type: integer
  18397. sectionid:
  18398. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几,
  18399. 结束时间=结算时间 结束周几=结算周几
  18400. type: integer
  18401. start:
  18402. description: 真实开始时间
  18403. type: string
  18404. startflag:
  18405. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  18406. type: integer
  18407. starttime:
  18408. description: 起始时间(HH:mm)
  18409. type: string
  18410. startweekday:
  18411. description: 起始周几
  18412. type: integer
  18413. tradeweekday:
  18414. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  18415. type: integer
  18416. type: object
  18417. szdz.QueryConvertLogRsp:
  18418. properties:
  18419. accountid:
  18420. description: 资金账户ID
  18421. type: integer
  18422. clientticket:
  18423. description: 客户端流水号
  18424. type: string
  18425. converttype:
  18426. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  18427. type: integer
  18428. createtime:
  18429. description: 记账时间
  18430. type: string
  18431. daymaxvalue:
  18432. description: 配置当日最大转入限制
  18433. type: number
  18434. daymaxvalue2:
  18435. description: 配置当日最大转入限制(转入)
  18436. type: number
  18437. goodscode:
  18438. description: 商品代码
  18439. type: string
  18440. goodsname:
  18441. description: 商品名称
  18442. type: string
  18443. handlestatus:
  18444. description: 处理状态
  18445. type: integer
  18446. innergoodsid:
  18447. description: 内部商品ID
  18448. type: integer
  18449. inratio:
  18450. description: 配置转入比值
  18451. type: integer
  18452. invalue:
  18453. description: 目标值
  18454. type: number
  18455. logid:
  18456. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  18457. type: integer
  18458. mobile:
  18459. description: 手机号码(加密存储)
  18460. type: string
  18461. outergoodscode:
  18462. description: 外部商品代码[JD\PD]
  18463. type: string
  18464. outratio:
  18465. description: 配置转出比值
  18466. type: integer
  18467. outvalue:
  18468. description: 源值
  18469. type: number
  18470. pddecimalplace:
  18471. description: PD小数位
  18472. type: integer
  18473. qty:
  18474. description: 数量
  18475. type: string
  18476. remark:
  18477. description: 备注
  18478. type: string
  18479. sessionid:
  18480. description: 会话ID
  18481. type: integer
  18482. timemaxvalue:
  18483. description: 配置单次最大转入限制
  18484. type: number
  18485. timemaxvalue2:
  18486. description: 配置单次最大转入限制(转入)
  18487. type: number
  18488. timeminvalue:
  18489. description: 配置单次最小数量限制
  18490. type: number
  18491. timeminvalue2:
  18492. description: 配置单次最小数量限制(转入)
  18493. type: number
  18494. tradedate:
  18495. description: 交易日(yyyyMMdd)
  18496. type: string
  18497. userid:
  18498. description: 用户ID
  18499. type: integer
  18500. required:
  18501. - logid
  18502. type: object
  18503. szdz.QueryGoodsPickupRsp:
  18504. properties:
  18505. accountid:
  18506. description: 账户ID
  18507. type: integer
  18508. address:
  18509. description: 提货人详细地址
  18510. type: string
  18511. auditer:
  18512. description: 审核人
  18513. type: integer
  18514. audittime:
  18515. description: 审核时间
  18516. type: string
  18517. cardnum:
  18518. description: 提货人证件号码
  18519. type: string
  18520. cardtypeid:
  18521. description: 提货人证件类型
  18522. type: integer
  18523. checkremark:
  18524. description: 审核备注
  18525. type: string
  18526. goodscode:
  18527. description: 商品代码
  18528. type: string
  18529. goodsid:
  18530. description: 商品ID
  18531. type: integer
  18532. goodsname:
  18533. description: 商品名称
  18534. type: string
  18535. handlestatus:
  18536. description: 处理状态
  18537. type: integer
  18538. marketid:
  18539. description: 市场ID
  18540. type: integer
  18541. phonenum:
  18542. description: 提货人联系方式
  18543. type: string
  18544. qty:
  18545. description: 提货数量
  18546. type: number
  18547. recivername:
  18548. description: 提货人姓名
  18549. type: string
  18550. reqtime:
  18551. description: 更新时间
  18552. type: string
  18553. takemode:
  18554. description: 提货方式 - 2:自提 3:配送
  18555. type: integer
  18556. takeorderid:
  18557. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  18558. type: string
  18559. takeorderstatus:
  18560. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  18561. type: integer
  18562. takeremark:
  18563. description: 提货备注
  18564. type: string
  18565. tradedate:
  18566. description: 交易日(yyyyMMdd)
  18567. type: string
  18568. userid:
  18569. description: 用户ID
  18570. type: integer
  18571. required:
  18572. - takeorderid
  18573. type: object
  18574. szdz.QueryRecieptOrderRsp:
  18575. properties:
  18576. accountName:
  18577. description: 所属账号名称(已脱敏)
  18578. type: string
  18579. accountid:
  18580. description: 资金账号
  18581. type: integer
  18582. buyorsell:
  18583. description: 方向 - 0:买 1:卖
  18584. type: integer
  18585. enableqty:
  18586. description: 可摘数量
  18587. type: integer
  18588. goodscode:
  18589. description: 商品代码
  18590. type: string
  18591. goodsid:
  18592. description: 商品ID
  18593. type: integer
  18594. goodsname:
  18595. description: 商品名称
  18596. type: string
  18597. orderid:
  18598. description: 委托单号
  18599. type: string
  18600. orderprice:
  18601. description: 委托价格
  18602. type: number
  18603. ordertime:
  18604. description: 委托时间
  18605. type: string
  18606. tradedate:
  18607. description: 交易日(yyyyMMdd)
  18608. type: string
  18609. required:
  18610. - ordertime
  18611. type: object
  18612. szdz.QuerySZDZTradePositionRsp:
  18613. properties:
  18614. accountid:
  18615. description: 账号Id
  18616. type: integer
  18617. agreeunit:
  18618. description: 合约单位
  18619. type: number
  18620. averageprice:
  18621. description: 持仓均价
  18622. type: number
  18623. buyorsell:
  18624. description: 方向 - 0:买 1:卖
  18625. type: integer
  18626. closetotalqty:
  18627. description: 平仓总数量
  18628. type: integer
  18629. curholderamount:
  18630. description: 当前持仓总金额
  18631. type: number
  18632. curpositionqty:
  18633. description: 当前持仓总数量
  18634. type: integer
  18635. currencyid:
  18636. description: 报价货币ID
  18637. type: integer
  18638. curtdposition:
  18639. description: 期末今日头寸
  18640. type: integer
  18641. decimalplace:
  18642. description: 报价小数位
  18643. type: integer
  18644. enableqty:
  18645. description: 可用量
  18646. type: integer
  18647. fretdposition:
  18648. description: 冻结今日头寸
  18649. type: integer
  18650. frozenqty:
  18651. description: 持仓冻结数量
  18652. type: integer
  18653. goodscode:
  18654. description: 商品代码(内部)
  18655. type: string
  18656. goodsid:
  18657. description: 商品Id
  18658. type: integer
  18659. goodsname:
  18660. description: 商品名称
  18661. type: string
  18662. goodunit:
  18663. description: 报价单位
  18664. type: string
  18665. goodunitid:
  18666. description: 报价单位ID
  18667. type: integer
  18668. holderamount:
  18669. description: 期初持仓总金额
  18670. type: number
  18671. marketid:
  18672. description: 市场ID
  18673. type: integer
  18674. openreqqty:
  18675. description: 开仓申请数量
  18676. type: integer
  18677. opentotalqty:
  18678. description: 开仓总数量
  18679. type: integer
  18680. otherfrozenqty:
  18681. description: 持仓其他冻结数量(交割冻结)
  18682. type: integer
  18683. positionqty:
  18684. description: 期初持仓数量
  18685. type: integer
  18686. szdz3freezqty:
  18687. description: 尚志大宗转换冻结总数量
  18688. type: integer
  18689. tnqty:
  18690. description: T+N冻结总量
  18691. type: integer
  18692. tnusedqty:
  18693. description: T+N使用量
  18694. type: integer
  18695. trademode:
  18696. description: 交易模式
  18697. type: integer
  18698. usedmargin:
  18699. description: 占用保证金
  18700. type: number
  18701. type: object
  18702. taaccount.QueryAmountLogRsp:
  18703. properties:
  18704. OPERATETYPENAME:
  18705. description: 资金操作类型名称
  18706. type: string
  18707. accountid:
  18708. description: 资金账户ID
  18709. type: integer
  18710. agoodscode:
  18711. description: 竞拍商品代码
  18712. type: string
  18713. agoodsname:
  18714. description: 竞拍商品名称
  18715. type: string
  18716. amount:
  18717. description: 资金金额
  18718. type: number
  18719. amountadjusttype:
  18720. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  18721. type: integer
  18722. autoid:
  18723. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  18724. type: integer
  18725. balance:
  18726. description: 期初余额
  18727. type: number
  18728. businesscode:
  18729. description: 业务编号
  18730. type: integer
  18731. createtime:
  18732. description: 发生时间
  18733. type: string
  18734. currencyid:
  18735. description: 币种ID
  18736. type: integer
  18737. currentbalance:
  18738. description: 期末余额(变动后金额)
  18739. type: number
  18740. dgoodscode:
  18741. description: 交割商品代码
  18742. type: string
  18743. dgoodsname:
  18744. description: 交割商品名称
  18745. type: string
  18746. goodscode:
  18747. description: 商品代码
  18748. type: string
  18749. goodsid:
  18750. description: 商品ID
  18751. type: integer
  18752. goodsname:
  18753. description: 商品名称
  18754. type: string
  18755. marketid:
  18756. description: 市场ID
  18757. type: integer
  18758. marketname:
  18759. description: 市场名称
  18760. type: string
  18761. moneyticket:
  18762. description: 资金流水号:银行端流水号
  18763. type: integer
  18764. operatetype:
  18765. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  18766. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  18767. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  18768. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  18769. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  18770. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  18771. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  18772. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  18773. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  18774. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  18775. type: integer
  18776. relationorderid:
  18777. description: 关联单号
  18778. type: string
  18779. remark:
  18780. description: 备注
  18781. type: string
  18782. trademode:
  18783. description: 交易模式
  18784. type: integer
  18785. required:
  18786. - accountid
  18787. - amount
  18788. - amountadjusttype
  18789. - autoid
  18790. - balance
  18791. - createtime
  18792. - currentbalance
  18793. - operatetype
  18794. type: object
  18795. taaccount.QueryHisAmountLogRsp:
  18796. properties:
  18797. OPERATETYPENAME:
  18798. description: 资金操作类型名称
  18799. type: string
  18800. accountid:
  18801. description: 资金账户ID
  18802. type: integer
  18803. agoodscode:
  18804. description: 竞拍商品代码
  18805. type: string
  18806. agoodsname:
  18807. description: 竞拍商品名称
  18808. type: string
  18809. amount:
  18810. description: 资金金额
  18811. type: number
  18812. amountadjusttype:
  18813. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  18814. type: integer
  18815. autoid:
  18816. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  18817. type: integer
  18818. balance:
  18819. description: 期初余额
  18820. type: number
  18821. businesscode:
  18822. description: 业务编号
  18823. type: integer
  18824. createtime:
  18825. description: 发生时间
  18826. type: string
  18827. currencyid:
  18828. description: 币种ID
  18829. type: integer
  18830. currentbalance:
  18831. description: 期末余额(变动后金额)
  18832. type: number
  18833. dgoodscode:
  18834. description: 交割商品代码
  18835. type: string
  18836. dgoodsname:
  18837. description: 交割商品名称
  18838. type: string
  18839. goodscode:
  18840. description: 商品代码
  18841. type: string
  18842. goodsid:
  18843. description: 商品ID
  18844. type: integer
  18845. goodsname:
  18846. description: 商品名称
  18847. type: string
  18848. histradedate:
  18849. description: 历史交易日
  18850. type: string
  18851. isvaliddata:
  18852. description: 是否有效 - 0:无效 1:有效
  18853. type: integer
  18854. marketid:
  18855. description: 市场ID
  18856. type: integer
  18857. marketname:
  18858. description: 市场名称
  18859. type: string
  18860. moneyticket:
  18861. description: 资金流水号:银行端流水号
  18862. type: integer
  18863. operatetype:
  18864. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  18865. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  18866. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  18867. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  18868. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  18869. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  18870. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  18871. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  18872. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  18873. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  18874. type: integer
  18875. relationorderid:
  18876. description: 关联单号
  18877. type: string
  18878. remark:
  18879. description: 备注
  18880. type: string
  18881. trademode:
  18882. description: 交易模式
  18883. type: integer
  18884. required:
  18885. - accountid
  18886. - amount
  18887. - amountadjusttype
  18888. - autoid
  18889. - balance
  18890. - createtime
  18891. - currentbalance
  18892. - histradedate
  18893. - operatetype
  18894. type: object
  18895. trade.QueryRecieptOrderRsp:
  18896. properties:
  18897. accountName:
  18898. description: 所属账号名称(已脱敏)
  18899. type: string
  18900. accountid:
  18901. description: 资金账号
  18902. type: integer
  18903. buyorsell:
  18904. description: 方向 - 0:买 1:卖
  18905. type: integer
  18906. enableqty:
  18907. description: 可摘数量
  18908. type: integer
  18909. goodscode:
  18910. description: 商品代码
  18911. type: string
  18912. goodsid:
  18913. description: 商品ID
  18914. type: integer
  18915. goodsname:
  18916. description: 商品名称
  18917. type: string
  18918. orderid:
  18919. description: 委托单号
  18920. type: string
  18921. orderprice:
  18922. description: 委托价格
  18923. type: number
  18924. ordertime:
  18925. description: 委托时间
  18926. type: string
  18927. tradedate:
  18928. description: 交易日(yyyyMMdd)
  18929. type: string
  18930. required:
  18931. - ordertime
  18932. type: object
  18933. user.LoginQueryRsp:
  18934. properties:
  18935. areaRoles:
  18936. description: 所属角色信息
  18937. items:
  18938. $ref: '#/definitions/models.Arearole'
  18939. type: array
  18940. externalExchanges:
  18941. description: 外部交易所
  18942. items:
  18943. $ref: '#/definitions/models.Externalexchange'
  18944. type: array
  18945. goodsgroups:
  18946. description: 商品组
  18947. items:
  18948. $ref: '#/definitions/models.Goodsgroup'
  18949. type: array
  18950. loginAccount:
  18951. $ref: '#/definitions/models.Loginaccount'
  18952. description: 登录账号
  18953. markets:
  18954. description: 市场
  18955. items:
  18956. $ref: '#/definitions/models.Market'
  18957. type: array
  18958. systemParams:
  18959. description: 系统参数
  18960. items:
  18961. $ref: '#/definitions/models.Systemparam'
  18962. type: array
  18963. userAccount:
  18964. $ref: '#/definitions/models.Useraccount'
  18965. description: 用户账号
  18966. userInfo:
  18967. $ref: '#/definitions/models.Userinfo'
  18968. description: 用户信息
  18969. username:
  18970. description: 用户姓名
  18971. type: string
  18972. type: object
  18973. info:
  18974. contact: {}
  18975. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  18976. termsOfService: http://www.muchinfo.cn
  18977. title: MTP2.0 查询服务 API
  18978. version: "1.0"
  18979. paths:
  18980. /CPTrade/QueryCPTradeMyBidInfos:
  18981. get:
  18982. parameters:
  18983. - description: 资金账户
  18984. in: query
  18985. name: accountid
  18986. required: true
  18987. type: integer
  18988. - description: 预售市场ID
  18989. in: query
  18990. name: marketid
  18991. type: integer
  18992. - description: 预售商品ID
  18993. in: query
  18994. name: goodsid
  18995. type: integer
  18996. produces:
  18997. - application/json
  18998. responses:
  18999. "200":
  19000. description: OK
  19001. schema:
  19002. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  19003. "500":
  19004. description: Internal Server Error
  19005. schema:
  19006. $ref: '#/definitions/app.Response'
  19007. security:
  19008. - ApiKeyAuth: []
  19009. summary: 查询产能预售我的出价信息
  19010. tags:
  19011. - 产能预售
  19012. /CPTrade/QueryCPTradeOrderDetail:
  19013. get:
  19014. parameters:
  19015. - description: 预售商品ID
  19016. in: query
  19017. name: goodsid
  19018. type: integer
  19019. - description: 预售市场ID
  19020. in: query
  19021. name: marketid
  19022. type: integer
  19023. - description: 预售商品ID列表 - 格式:1,2,3
  19024. in: query
  19025. name: goodsids
  19026. type: string
  19027. produces:
  19028. - application/json
  19029. responses:
  19030. "200":
  19031. description: OK
  19032. schema:
  19033. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  19034. "500":
  19035. description: Internal Server Error
  19036. schema:
  19037. $ref: '#/definitions/app.Response'
  19038. security:
  19039. - ApiKeyAuth: []
  19040. summary: 查询产能预售委托单信息
  19041. tags:
  19042. - 产能预售
  19043. /CPTrade/QueryMyCPTradeGoods:
  19044. get:
  19045. parameters:
  19046. - description: 资金账户
  19047. in: query
  19048. name: accountid
  19049. required: true
  19050. type: integer
  19051. produces:
  19052. - application/json
  19053. responses:
  19054. "200":
  19055. description: OK
  19056. schema:
  19057. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  19058. "500":
  19059. description: Internal Server Error
  19060. schema:
  19061. $ref: '#/definitions/app.Response'
  19062. security:
  19063. - ApiKeyAuth: []
  19064. summary: 查询我的预售信息
  19065. tags:
  19066. - 产能预售
  19067. /CPTrade/QueryPositionCancel:
  19068. get:
  19069. parameters:
  19070. - description: 账户ID
  19071. in: query
  19072. name: userid
  19073. required: true
  19074. type: integer
  19075. - description: 注销ID
  19076. in: query
  19077. name: cancelid
  19078. type: integer
  19079. - description: 资金账户ID
  19080. in: query
  19081. name: accountid
  19082. type: integer
  19083. produces:
  19084. - application/json
  19085. responses:
  19086. "200":
  19087. description: OK
  19088. schema:
  19089. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  19090. "500":
  19091. description: Internal Server Error
  19092. schema:
  19093. $ref: '#/definitions/app.Response'
  19094. security:
  19095. - ApiKeyAuth: []
  19096. summary: 查询远期订单注销申请信息
  19097. tags:
  19098. - 产能预售
  19099. /CPTrade/QueryPreasleApply:
  19100. get:
  19101. parameters:
  19102. - description: 账户ID
  19103. in: query
  19104. name: userid
  19105. required: true
  19106. type: integer
  19107. - description: 申请ID
  19108. in: query
  19109. name: applyid
  19110. type: integer
  19111. - description: 资金账户ID
  19112. in: query
  19113. name: accountid
  19114. type: integer
  19115. produces:
  19116. - application/json
  19117. responses:
  19118. "200":
  19119. description: OK
  19120. schema:
  19121. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  19122. "500":
  19123. description: Internal Server Error
  19124. schema:
  19125. $ref: '#/definitions/app.Response'
  19126. security:
  19127. - ApiKeyAuth: []
  19128. summary: 查询产能预售申请信息
  19129. tags:
  19130. - 产能预售
  19131. /CPTrade/QueryPresaleGoodsEx:
  19132. get:
  19133. parameters:
  19134. - description: 预售商品ID
  19135. in: query
  19136. name: goodsid
  19137. type: integer
  19138. - description: 预售市场ID
  19139. in: query
  19140. name: marketid
  19141. type: integer
  19142. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  19143. in: query
  19144. name: presalemode
  19145. type: integer
  19146. - description: 预售商品ID列表 - 格式:1,2,3
  19147. in: query
  19148. name: goodsids
  19149. type: string
  19150. - description: 预售商品代码
  19151. in: query
  19152. name: goodscode
  19153. type: string
  19154. produces:
  19155. - application/json
  19156. responses:
  19157. "200":
  19158. description: OK
  19159. schema:
  19160. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  19161. "500":
  19162. description: Internal Server Error
  19163. schema:
  19164. $ref: '#/definitions/app.Response'
  19165. security:
  19166. - ApiKeyAuth: []
  19167. summary: 查询产能预售商品扩展信息
  19168. tags:
  19169. - 产能预售
  19170. /CPTrade/QueryUserGoodsData:
  19171. get:
  19172. parameters:
  19173. - description: 资金账户ID
  19174. in: query
  19175. name: accountid
  19176. required: true
  19177. type: integer
  19178. produces:
  19179. - application/json
  19180. responses:
  19181. "200":
  19182. description: OK
  19183. schema:
  19184. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  19185. "500":
  19186. description: Internal Server Error
  19187. schema:
  19188. $ref: '#/definitions/app.Response'
  19189. security:
  19190. - ApiKeyAuth: []
  19191. summary: 查询远期订单信息
  19192. tags:
  19193. - 产能预售
  19194. /Common/DeleteNewFuncmenu:
  19195. delete:
  19196. consumes:
  19197. - application/json
  19198. parameters:
  19199. - description: 菜单表数据,只需要resourcecode字段即可
  19200. in: body
  19201. name: data
  19202. required: true
  19203. schema:
  19204. $ref: '#/definitions/models.NewFuncmenulist'
  19205. produces:
  19206. - application/json
  19207. responses:
  19208. "200":
  19209. description: OK
  19210. schema:
  19211. $ref: '#/definitions/app.Response'
  19212. "500":
  19213. description: Internal Server Error
  19214. schema:
  19215. $ref: '#/definitions/app.Response'
  19216. security:
  19217. - ApiKeyAuth: []
  19218. summary: 删除菜单表数据
  19219. tags:
  19220. - 通用服务
  19221. /Common/FindNewFuncmenu:
  19222. get:
  19223. parameters:
  19224. - description: 资源代码
  19225. in: query
  19226. name: resourcecode
  19227. type: string
  19228. - description: 上级资源代码
  19229. in: query
  19230. name: parentcode
  19231. type: string
  19232. - description: 资源名(Title), 模糊查询
  19233. in: query
  19234. name: resourcename
  19235. type: string
  19236. - description: 菜单类型(格式:1,2,3) - 1:管理端 2:PC(C#) 3:移动(云平台) 4:终端(交易所) 5:PC(云平台)
  19237. in: query
  19238. name: menutype
  19239. type: string
  19240. produces:
  19241. - application/json
  19242. responses:
  19243. "200":
  19244. description: OK
  19245. schema:
  19246. items:
  19247. $ref: '#/definitions/models.NewFuncmenulist'
  19248. type: array
  19249. "500":
  19250. description: Internal Server Error
  19251. schema:
  19252. $ref: '#/definitions/app.Response'
  19253. security:
  19254. - ApiKeyAuth: []
  19255. summary: 获取菜单表数据
  19256. tags:
  19257. - 通用服务
  19258. /Common/GetAllEnums:
  19259. get:
  19260. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  19261. parameters:
  19262. - description: 起始自增ID
  19263. in: query
  19264. name: autoid
  19265. type: integer
  19266. produces:
  19267. - application/json
  19268. responses:
  19269. "200":
  19270. description: OK
  19271. schema:
  19272. $ref: '#/definitions/models.Enumdicitem'
  19273. "500":
  19274. description: Internal Server Error
  19275. schema:
  19276. $ref: '#/definitions/app.Response'
  19277. summary: 获取所有枚举信息
  19278. tags:
  19279. - 通用服务
  19280. /Common/GetClientMenus:
  19281. get:
  19282. parameters:
  19283. - description: 登录账号
  19284. in: query
  19285. name: loginID
  19286. required: true
  19287. type: integer
  19288. - description: 终端类型,0:PCWEB 1:Mobile,不传默认返回PC端数据
  19289. in: query
  19290. name: clientType
  19291. type: integer
  19292. - description: 分支名称,ermcp-风管云平台;pingan-平安期货;trader-交易所;不传默认返回风管云平台
  19293. in: query
  19294. name: name
  19295. type: string
  19296. produces:
  19297. - application/json
  19298. responses:
  19299. "200":
  19300. description: OK
  19301. schema:
  19302. items:
  19303. $ref: '#/definitions/common.ClientMenu'
  19304. type: array
  19305. "500":
  19306. description: Internal Server Error
  19307. schema:
  19308. $ref: '#/definitions/app.Response'
  19309. security:
  19310. - ApiKeyAuth: []
  19311. summary: 获取交易端菜单
  19312. tags:
  19313. - 通用服务
  19314. /Common/GetClientNewFuncmenu:
  19315. get:
  19316. parameters:
  19317. - description: 登录账号
  19318. in: query
  19319. name: loginid
  19320. required: true
  19321. type: integer
  19322. - description: 菜单类型 - 1:管理端 2:PC(C#) 3:移动(云平台) 4:终端(交易所) 5:PC(云平台)
  19323. in: query
  19324. name: menutype
  19325. required: true
  19326. type: integer
  19327. produces:
  19328. - application/json
  19329. responses:
  19330. "200":
  19331. description: OK
  19332. schema:
  19333. items:
  19334. $ref: '#/definitions/models.NewFuncmenulist'
  19335. type: array
  19336. "500":
  19337. description: Internal Server Error
  19338. schema:
  19339. $ref: '#/definitions/app.Response'
  19340. security:
  19341. - ApiKeyAuth: []
  19342. summary: 获取终端菜单
  19343. tags:
  19344. - 通用服务
  19345. /Common/GetDivisions:
  19346. get:
  19347. produces:
  19348. - application/json
  19349. responses:
  19350. "200":
  19351. description: OK
  19352. schema:
  19353. $ref: '#/definitions/models.Division'
  19354. "500":
  19355. description: Internal Server Error
  19356. schema:
  19357. $ref: '#/definitions/app.Response'
  19358. summary: 查询区域信息
  19359. tags:
  19360. - 通用服务
  19361. /Common/GetPCWebMenus:
  19362. get:
  19363. parameters:
  19364. - description: 登录账号
  19365. in: query
  19366. name: loginID
  19367. required: true
  19368. type: integer
  19369. - description: 分支名称,ermcp:风管云平台,不传默认返回ermcp
  19370. in: query
  19371. name: name
  19372. type: string
  19373. produces:
  19374. - application/json
  19375. responses:
  19376. "200":
  19377. description: OK
  19378. schema:
  19379. items:
  19380. $ref: '#/definitions/common.PCWebMenu'
  19381. type: array
  19382. "500":
  19383. description: Internal Server Error
  19384. schema:
  19385. $ref: '#/definitions/app.Response'
  19386. security:
  19387. - ApiKeyAuth: []
  19388. summary: 获取PCWeb交易端菜单
  19389. tags:
  19390. - 通用服务
  19391. /Common/GetServerTime:
  19392. get:
  19393. produces:
  19394. - application/json
  19395. responses:
  19396. "200":
  19397. description: OK
  19398. schema:
  19399. $ref: '#/definitions/app.Response'
  19400. "500":
  19401. description: Internal Server Error
  19402. schema:
  19403. $ref: '#/definitions/app.Response'
  19404. summary: 获取服务器时间
  19405. tags:
  19406. - 通用服务
  19407. /Common/InsertNewFuncmenu:
  19408. post:
  19409. consumes:
  19410. - application/json
  19411. parameters:
  19412. - description: 菜单表数据
  19413. in: body
  19414. name: data
  19415. required: true
  19416. schema:
  19417. $ref: '#/definitions/models.NewFuncmenulist'
  19418. produces:
  19419. - application/json
  19420. responses:
  19421. "200":
  19422. description: OK
  19423. schema:
  19424. $ref: '#/definitions/app.Response'
  19425. "500":
  19426. description: Internal Server Error
  19427. schema:
  19428. $ref: '#/definitions/app.Response'
  19429. security:
  19430. - ApiKeyAuth: []
  19431. summary: 插入菜单表数据
  19432. tags:
  19433. - 通用服务
  19434. /Common/NoticeReaded:
  19435. post:
  19436. parameters:
  19437. - description: 登录账号
  19438. in: query
  19439. name: loginID
  19440. required: true
  19441. type: integer
  19442. - description: 通知公告ID
  19443. in: query
  19444. name: noticeID
  19445. required: true
  19446. type: integer
  19447. produces:
  19448. - application/json
  19449. responses:
  19450. "200":
  19451. description: OK
  19452. schema:
  19453. $ref: '#/definitions/app.Response'
  19454. "500":
  19455. description: Internal Server Error
  19456. schema:
  19457. $ref: '#/definitions/app.Response'
  19458. security:
  19459. - ApiKeyAuth: []
  19460. summary: 通知公告设置已读请求
  19461. tags:
  19462. - 通用服务
  19463. /Common/QueryErrorInfos:
  19464. get:
  19465. description: 如果传入rowNumber,则返回此rowNumber后的数据
  19466. parameters:
  19467. - description: 起始行号前索引
  19468. in: query
  19469. name: rowNumber
  19470. type: string
  19471. produces:
  19472. - application/json
  19473. responses:
  19474. "200":
  19475. description: OK
  19476. schema:
  19477. $ref: '#/definitions/models.QueryErrorInfosRsp'
  19478. "500":
  19479. description: Internal Server Error
  19480. schema:
  19481. $ref: '#/definitions/app.Response'
  19482. summary: 获取数据库错误信息
  19483. tags:
  19484. - 通用服务
  19485. /Common/QueryImageConfigs:
  19486. get:
  19487. parameters:
  19488. - description: 用户id
  19489. in: query
  19490. name: userId
  19491. type: integer
  19492. - description: 类型 - 1:App首页轮播 2:我的 3:首页(PC) 4:首页推广(移动-新会)
  19493. in: query
  19494. name: imageType
  19495. type: integer
  19496. produces:
  19497. - application/json
  19498. responses:
  19499. "200":
  19500. description: OK
  19501. schema:
  19502. $ref: '#/definitions/common.QueryImageConfigsRsp'
  19503. "500":
  19504. description: Internal Server Error
  19505. schema:
  19506. $ref: '#/definitions/app.Response'
  19507. summary: 查询轮播图配置信息
  19508. tags:
  19509. - 通用服务
  19510. /Common/QueryNotice:
  19511. get:
  19512. parameters:
  19513. - description: 页码
  19514. in: query
  19515. name: page
  19516. type: integer
  19517. - description: 每页条数
  19518. in: query
  19519. name: pagesize
  19520. type: integer
  19521. - description: 登录账号
  19522. in: query
  19523. name: loginID
  19524. required: true
  19525. type: integer
  19526. - description: 消息类型 - 1:公告通知 2:系统消息
  19527. in: query
  19528. name: msgType
  19529. type: integer
  19530. - description: 是否只获取未读信息
  19531. in: query
  19532. name: onlyUnRead
  19533. type: boolean
  19534. - description: 自增ID,传入后会返回这个ID后面的记录
  19535. in: query
  19536. name: lastID
  19537. type: integer
  19538. produces:
  19539. - application/json
  19540. responses:
  19541. "200":
  19542. description: OK
  19543. schema:
  19544. $ref: '#/definitions/common.QueryNoticeRsp'
  19545. "500":
  19546. description: Internal Server Error
  19547. schema:
  19548. $ref: '#/definitions/app.Response'
  19549. security:
  19550. - ApiKeyAuth: []
  19551. summary: 通知公告系统消息查询
  19552. tags:
  19553. - 通用服务
  19554. /Common/QueryProvincesAndCities:
  19555. get:
  19556. parameters:
  19557. - description: 省ID
  19558. in: query
  19559. name: provinceID
  19560. type: integer
  19561. produces:
  19562. - application/json
  19563. responses:
  19564. "200":
  19565. description: OK
  19566. schema:
  19567. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  19568. "500":
  19569. description: Internal Server Error
  19570. schema:
  19571. $ref: '#/definitions/app.Response'
  19572. summary: 查询省市信息(不包括区)
  19573. tags:
  19574. - 通用服务
  19575. /Common/QueryRates:
  19576. get:
  19577. parameters:
  19578. - description: 页码
  19579. in: query
  19580. name: page
  19581. type: integer
  19582. - description: 每页条数
  19583. in: query
  19584. name: pagesize
  19585. type: integer
  19586. - description: 源币种ID
  19587. in: query
  19588. name: oricurrencyid
  19589. type: integer
  19590. - description: 目标币种ID
  19591. in: query
  19592. name: descurrencyid
  19593. type: integer
  19594. produces:
  19595. - application/json
  19596. responses:
  19597. "200":
  19598. description: OK
  19599. schema:
  19600. items:
  19601. $ref: '#/definitions/models.Exchangerateconfig'
  19602. type: array
  19603. "500":
  19604. description: Internal Server Error
  19605. schema:
  19606. $ref: '#/definitions/app.Response'
  19607. security:
  19608. - ApiKeyAuth: []
  19609. - LoginID: []
  19610. - Group: []
  19611. summary: 查询汇率信息
  19612. tags:
  19613. - 通用服务
  19614. /Common/QueryTableDefine:
  19615. get:
  19616. parameters:
  19617. - description: 表key
  19618. in: query
  19619. name: tableKey
  19620. type: string
  19621. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  19622. in: query
  19623. name: tableType
  19624. type: integer
  19625. produces:
  19626. - application/json
  19627. responses:
  19628. "200":
  19629. description: OK
  19630. schema:
  19631. $ref: '#/definitions/common.QueryTableDefineRsp'
  19632. "500":
  19633. description: Internal Server Error
  19634. schema:
  19635. $ref: '#/definitions/app.Response'
  19636. summary: 查询交易端列表头信息
  19637. tags:
  19638. - 通用服务
  19639. /Common/QueryTraderMenu:
  19640. get:
  19641. parameters:
  19642. - description: 登录账号
  19643. in: query
  19644. name: loginid
  19645. required: true
  19646. type: integer
  19647. produces:
  19648. - application/json
  19649. responses:
  19650. "200":
  19651. description: OK
  19652. schema:
  19653. $ref: '#/definitions/common.QueryTraderMenuRsp'
  19654. "500":
  19655. description: Internal Server Error
  19656. schema:
  19657. $ref: '#/definitions/app.Response'
  19658. summary: 查询交易端菜单
  19659. tags:
  19660. - 通用服务
  19661. /Common/UpdateNewFuncmenu:
  19662. put:
  19663. consumes:
  19664. - application/json
  19665. parameters:
  19666. - description: 菜单表数据
  19667. in: body
  19668. name: data
  19669. required: true
  19670. schema:
  19671. $ref: '#/definitions/models.NewFuncmenulist'
  19672. produces:
  19673. - application/json
  19674. responses:
  19675. "200":
  19676. description: OK
  19677. schema:
  19678. $ref: '#/definitions/app.Response'
  19679. "500":
  19680. description: Internal Server Error
  19681. schema:
  19682. $ref: '#/definitions/app.Response'
  19683. security:
  19684. - ApiKeyAuth: []
  19685. summary: 更新菜单表数据
  19686. tags:
  19687. - 通用服务
  19688. /Delivery/QueryDeliveryRelation:
  19689. get:
  19690. parameters:
  19691. - description: 商品ID
  19692. in: query
  19693. name: goodsid
  19694. type: integer
  19695. - description: 品种ID
  19696. in: query
  19697. name: deliverygoodsid
  19698. type: integer
  19699. - description: 市场ID
  19700. in: query
  19701. name: marketid
  19702. type: integer
  19703. produces:
  19704. - application/json
  19705. responses:
  19706. "200":
  19707. description: OK
  19708. schema:
  19709. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  19710. "500":
  19711. description: Internal Server Error
  19712. schema:
  19713. $ref: '#/definitions/app.Response'
  19714. security:
  19715. - ApiKeyAuth: []
  19716. summary: 查询商品交割关系表
  19717. tags:
  19718. - 交割服务
  19719. /Ermcp/GetErmcpGoods:
  19720. get:
  19721. parameters:
  19722. - description: 用户id(风管云平台版本传值, 只显示用户下设置了套保关联的品种)
  19723. in: query
  19724. name: userid
  19725. type: integer
  19726. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  19727. in: query
  19728. name: lastUpdateTime
  19729. type: string
  19730. produces:
  19731. - application/json
  19732. responses:
  19733. "200":
  19734. description: OK
  19735. schema:
  19736. $ref: '#/definitions/models.ErmcpGoods'
  19737. "500":
  19738. description: Internal Server Error
  19739. schema:
  19740. $ref: '#/definitions/app.Response'
  19741. security:
  19742. - ApiKeyAuth: []
  19743. summary: 查询企业风管期货商品信息
  19744. tags:
  19745. - 企业风险管理(app)
  19746. /Ermcp/GetErmcpGoodsSortByPosition:
  19747. get:
  19748. parameters:
  19749. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  19750. in: query
  19751. name: sortIndex
  19752. type: string
  19753. produces:
  19754. - application/json
  19755. responses:
  19756. "200":
  19757. description: OK
  19758. schema:
  19759. $ref: '#/definitions/models.Goodssortbypreposition'
  19760. "500":
  19761. description: Internal Server Error
  19762. schema:
  19763. $ref: '#/definitions/app.Response'
  19764. security:
  19765. - ApiKeyAuth: []
  19766. summary: 查询企业风管期货主力、次主力商品信息
  19767. tags:
  19768. - 企业风险管理(app)
  19769. /Ermcp/GetErmcpOutAccountStatus:
  19770. get:
  19771. parameters:
  19772. - description: 登录账号
  19773. in: query
  19774. name: loginID
  19775. required: true
  19776. type: integer
  19777. produces:
  19778. - application/json
  19779. responses:
  19780. "200":
  19781. description: OK
  19782. schema:
  19783. $ref: '#/definitions/models.Hedgemarketopenlog'
  19784. "500":
  19785. description: Internal Server Error
  19786. schema:
  19787. $ref: '#/definitions/app.Response'
  19788. security:
  19789. - ApiKeyAuth: []
  19790. summary: 获取目标登录账号当前对冲账号在线状态
  19791. tags:
  19792. - 企业风险管理(app)
  19793. /Ermcp/GetErmcpRoleFuncMenuLists:
  19794. get:
  19795. parameters:
  19796. - description: 登录账号
  19797. in: query
  19798. name: loginID
  19799. required: true
  19800. type: integer
  19801. produces:
  19802. - application/json
  19803. responses:
  19804. "200":
  19805. description: OK
  19806. schema:
  19807. $ref: '#/definitions/models.Funcmenulist'
  19808. "500":
  19809. description: Internal Server Error
  19810. schema:
  19811. $ref: '#/definitions/app.Response'
  19812. security:
  19813. - ApiKeyAuth: []
  19814. summary: 获取企业风管终端权限
  19815. tags:
  19816. - 企业风险管理(app)
  19817. /Ermcp/QueryAccMgrBizGroupSet:
  19818. get:
  19819. parameters:
  19820. - description: 用户ID
  19821. in: query
  19822. name: userid
  19823. required: true
  19824. type: integer
  19825. - description: 现货商品id
  19826. in: query
  19827. name: deliverygoodsid
  19828. type: integer
  19829. produces:
  19830. - application/json
  19831. responses:
  19832. "200":
  19833. description: OK
  19834. schema:
  19835. items:
  19836. $ref: '#/definitions/models.ErmcpBizGroupEx'
  19837. type: array
  19838. "500":
  19839. description: Internal Server Error
  19840. schema:
  19841. $ref: '#/definitions/app.Response'
  19842. security:
  19843. - ApiKeyAuth: []
  19844. summary: 查询业务类型分组(账户管理/账户设置)
  19845. tags:
  19846. - 企业风险管理(app)
  19847. /Ermcp/QueryAccMgrLoginUser:
  19848. get:
  19849. parameters:
  19850. - description: 用户ID
  19851. in: query
  19852. name: userid
  19853. required: true
  19854. type: integer
  19855. - description: 用户类型 2-机构 7-企业成员
  19856. in: query
  19857. name: usertype
  19858. type: integer
  19859. - description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  19860. in: query
  19861. name: querytype
  19862. required: true
  19863. type: integer
  19864. produces:
  19865. - application/json
  19866. responses:
  19867. "200":
  19868. description: OK
  19869. schema:
  19870. items:
  19871. $ref: '#/definitions/models.ErmcpLoginUserEx'
  19872. type: array
  19873. "500":
  19874. description: Internal Server Error
  19875. schema:
  19876. $ref: '#/definitions/app.Response'
  19877. security:
  19878. - ApiKeyAuth: []
  19879. summary: 查询账户管理登录账号(账户管理/登录账号)
  19880. tags:
  19881. - 企业风险管理(app)
  19882. /Ermcp/QueryAccMgrMainAccountInfo:
  19883. get:
  19884. parameters:
  19885. - description: 用户ID
  19886. in: query
  19887. name: userid
  19888. type: integer
  19889. - description: 主账号id
  19890. in: query
  19891. name: accountid
  19892. type: integer
  19893. produces:
  19894. - application/json
  19895. responses:
  19896. "200":
  19897. description: OK
  19898. schema:
  19899. items:
  19900. $ref: '#/definitions/models.MainAccountInfo'
  19901. type: array
  19902. "500":
  19903. description: Internal Server Error
  19904. schema:
  19905. $ref: '#/definitions/app.Response'
  19906. security:
  19907. - ApiKeyAuth: []
  19908. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  19909. tags:
  19910. - 企业风险管理(app)
  19911. /Ermcp/QueryAccMgrRole:
  19912. get:
  19913. parameters:
  19914. - description: 用户ID
  19915. in: query
  19916. name: userid
  19917. required: true
  19918. type: integer
  19919. produces:
  19920. - application/json
  19921. responses:
  19922. "200":
  19923. description: OK
  19924. schema:
  19925. items:
  19926. $ref: '#/definitions/models.ErmcpRole'
  19927. type: array
  19928. "500":
  19929. description: Internal Server Error
  19930. schema:
  19931. $ref: '#/definitions/app.Response'
  19932. security:
  19933. - ApiKeyAuth: []
  19934. summary: 查询账户管理角色设置(账户管理/角色设置)
  19935. tags:
  19936. - 企业风险管理(app)
  19937. /Ermcp/QueryAccMgrRoleMenu:
  19938. get:
  19939. parameters:
  19940. - description: 用户ID
  19941. in: query
  19942. name: userid
  19943. required: true
  19944. type: integer
  19945. - description: 角色id(可多个,逗号隔开)
  19946. in: query
  19947. name: roleid
  19948. type: string
  19949. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易 ps:新加的参数,为了兼容以前,不传则默认查3
  19950. in: query
  19951. name: menutype
  19952. type: integer
  19953. produces:
  19954. - application/json
  19955. responses:
  19956. "200":
  19957. description: OK
  19958. schema:
  19959. items:
  19960. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  19961. type: array
  19962. "500":
  19963. description: Internal Server Error
  19964. schema:
  19965. $ref: '#/definitions/app.Response'
  19966. security:
  19967. - ApiKeyAuth: []
  19968. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  19969. tags:
  19970. - 企业风险管理(app)
  19971. /Ermcp/QueryAccMgrTaAccountInfo:
  19972. get:
  19973. parameters:
  19974. - description: 用户ID
  19975. in: query
  19976. name: userid
  19977. required: true
  19978. type: integer
  19979. - description: 账号id
  19980. in: query
  19981. name: accountid
  19982. type: integer
  19983. produces:
  19984. - application/json
  19985. responses:
  19986. "200":
  19987. description: OK
  19988. schema:
  19989. items:
  19990. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  19991. type: array
  19992. "500":
  19993. description: Internal Server Error
  19994. schema:
  19995. $ref: '#/definitions/app.Response'
  19996. security:
  19997. - ApiKeyAuth: []
  19998. summary: 查询账户管理授信(账户管理/账户设置/授信)
  19999. tags:
  20000. - 企业风险管理(app)
  20001. /Ermcp/QueryAccMgrTaaccount:
  20002. get:
  20003. parameters:
  20004. - description: 用户ID
  20005. in: query
  20006. name: userid
  20007. required: true
  20008. type: integer
  20009. produces:
  20010. - application/json
  20011. responses:
  20012. "200":
  20013. description: OK
  20014. schema:
  20015. items:
  20016. $ref: '#/definitions/models.ErmcpTaAccountEx'
  20017. type: array
  20018. "500":
  20019. description: Internal Server Error
  20020. schema:
  20021. $ref: '#/definitions/app.Response'
  20022. security:
  20023. - ApiKeyAuth: []
  20024. summary: 查询账户管理期货账号(账户管理/期货账号)
  20025. tags:
  20026. - 企业风险管理(app)
  20027. /Ermcp/QueryAvaildGoodsGroup:
  20028. get:
  20029. parameters:
  20030. - description: 所属机构ID
  20031. in: query
  20032. name: userid
  20033. required: true
  20034. type: integer
  20035. produces:
  20036. - application/json
  20037. responses:
  20038. "200":
  20039. description: OK
  20040. schema:
  20041. items:
  20042. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  20043. type: array
  20044. "500":
  20045. description: Internal Server Error
  20046. schema:
  20047. $ref: '#/definitions/app.Response'
  20048. security:
  20049. - ApiKeyAuth: []
  20050. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  20051. tags:
  20052. - 企业风险管理(app)
  20053. /Ermcp/QueryBusinessDj:
  20054. get:
  20055. parameters:
  20056. - description: 用户ID
  20057. in: query
  20058. name: UserId
  20059. required: true
  20060. type: integer
  20061. - description: 用户类型 2-机构 7-企业成员
  20062. in: query
  20063. name: usertype
  20064. type: integer
  20065. - description: 现货合同ID, 不填则查所有
  20066. in: query
  20067. name: relatedid
  20068. type: string
  20069. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20070. in: query
  20071. name: applystatus
  20072. type: string
  20073. produces:
  20074. - application/json
  20075. responses:
  20076. "200":
  20077. description: OK
  20078. schema:
  20079. items:
  20080. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  20081. type: array
  20082. "500":
  20083. description: Internal Server Error
  20084. schema:
  20085. $ref: '#/definitions/app.Response'
  20086. security:
  20087. - ApiKeyAuth: []
  20088. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  20089. tags:
  20090. - 企业风险管理(app)
  20091. /Ermcp/QueryBusinessFp:
  20092. get:
  20093. parameters:
  20094. - description: 用户ID
  20095. in: query
  20096. name: UserId
  20097. required: true
  20098. type: integer
  20099. - description: 用户类型 2-机构 7-企业成员
  20100. in: query
  20101. name: usertype
  20102. type: integer
  20103. - description: 现货合同ID, 不填则查所有
  20104. in: query
  20105. name: relatedid
  20106. type: string
  20107. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20108. in: query
  20109. name: applystatus
  20110. type: string
  20111. produces:
  20112. - application/json
  20113. responses:
  20114. "200":
  20115. description: OK
  20116. schema:
  20117. items:
  20118. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  20119. type: array
  20120. "500":
  20121. description: Internal Server Error
  20122. schema:
  20123. $ref: '#/definitions/app.Response'
  20124. security:
  20125. - ApiKeyAuth: []
  20126. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  20127. tags:
  20128. - 企业风险管理(app)
  20129. /Ermcp/QueryBusinessJs:
  20130. get:
  20131. parameters:
  20132. - description: 用户ID
  20133. in: query
  20134. name: UserId
  20135. required: true
  20136. type: integer
  20137. - description: 用户类型 2-机构 7-企业成员
  20138. in: query
  20139. name: usertype
  20140. type: integer
  20141. - description: 现货合同ID, 不填则查所有
  20142. in: query
  20143. name: relatedid
  20144. type: string
  20145. - description: 操作申请id
  20146. in: query
  20147. name: operateapplyid
  20148. type: string
  20149. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20150. in: query
  20151. name: applystatus
  20152. type: string
  20153. produces:
  20154. - application/json
  20155. responses:
  20156. "200":
  20157. description: OK
  20158. schema:
  20159. items:
  20160. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  20161. type: array
  20162. "500":
  20163. description: Internal Server Error
  20164. schema:
  20165. $ref: '#/definitions/app.Response'
  20166. security:
  20167. - ApiKeyAuth: []
  20168. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  20169. tags:
  20170. - 企业风险管理(app)
  20171. /Ermcp/QueryBusinessJsEx:
  20172. get:
  20173. parameters:
  20174. - description: 用户ID
  20175. in: query
  20176. name: UserId
  20177. required: true
  20178. type: integer
  20179. - description: 用户类型 2-机构 7-企业成员
  20180. in: query
  20181. name: usertype
  20182. type: integer
  20183. - description: 现货合同ID, 不填则查所有
  20184. in: query
  20185. name: relatedid
  20186. type: string
  20187. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20188. in: query
  20189. name: applystatus
  20190. type: string
  20191. produces:
  20192. - application/json
  20193. responses:
  20194. "200":
  20195. description: OK
  20196. schema:
  20197. items:
  20198. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  20199. type: array
  20200. "500":
  20201. description: Internal Server Error
  20202. schema:
  20203. $ref: '#/definitions/app.Response'
  20204. security:
  20205. - ApiKeyAuth: []
  20206. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  20207. tags:
  20208. - 企业风险管理(app)
  20209. /Ermcp/QueryBusinessKx:
  20210. get:
  20211. parameters:
  20212. - description: 用户ID
  20213. in: query
  20214. name: UserId
  20215. required: true
  20216. type: integer
  20217. - description: 用户类型 2-机构 7-企业成员
  20218. in: query
  20219. name: usertype
  20220. type: integer
  20221. - description: 现货合同ID, 不填则查所有
  20222. in: query
  20223. name: relatedid
  20224. type: string
  20225. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20226. in: query
  20227. name: applystatus
  20228. type: string
  20229. produces:
  20230. - application/json
  20231. responses:
  20232. "200":
  20233. description: OK
  20234. schema:
  20235. items:
  20236. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  20237. type: array
  20238. "500":
  20239. description: Internal Server Error
  20240. schema:
  20241. $ref: '#/definitions/app.Response'
  20242. security:
  20243. - ApiKeyAuth: []
  20244. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  20245. tags:
  20246. - 企业风险管理(app)
  20247. /Ermcp/QueryChangeLog:
  20248. get:
  20249. parameters:
  20250. - description: 合同ID
  20251. in: query
  20252. name: RelatedId
  20253. required: true
  20254. type: string
  20255. produces:
  20256. - application/json
  20257. responses:
  20258. "200":
  20259. description: OK
  20260. schema:
  20261. items:
  20262. $ref: '#/definitions/ermcp.QryOPLogRsp'
  20263. type: array
  20264. "500":
  20265. description: Internal Server Error
  20266. schema:
  20267. $ref: '#/definitions/app.Response'
  20268. security:
  20269. - ApiKeyAuth: []
  20270. summary: 查询变更记录
  20271. tags:
  20272. - 企业风险管理(app)
  20273. /Ermcp/QueryErmcpHisOrderDetails:
  20274. get:
  20275. parameters:
  20276. - description: 资金账户ID
  20277. in: query
  20278. name: accountID
  20279. required: true
  20280. type: integer
  20281. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  20282. in: query
  20283. name: startDate
  20284. type: string
  20285. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  20286. in: query
  20287. name: endDate
  20288. type: string
  20289. produces:
  20290. - application/json
  20291. responses:
  20292. "200":
  20293. description: OK
  20294. schema:
  20295. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  20296. "500":
  20297. description: Internal Server Error
  20298. schema:
  20299. $ref: '#/definitions/app.Response'
  20300. security:
  20301. - ApiKeyAuth: []
  20302. summary: 获取企业风管期货历史委托单信息
  20303. tags:
  20304. - 企业风险管理(app)
  20305. /Ermcp/QueryErmcpHisTradeDetails:
  20306. get:
  20307. parameters:
  20308. - description: 资金账户ID
  20309. in: query
  20310. name: accountID
  20311. required: true
  20312. type: integer
  20313. - description: 商品ID
  20314. in: query
  20315. name: goodsID
  20316. type: integer
  20317. - description: 买卖方向,0:买 1:卖
  20318. in: query
  20319. name: buyOrSell
  20320. type: integer
  20321. - description: 关联委托单号
  20322. in: query
  20323. name: orderID
  20324. type: integer
  20325. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  20326. in: query
  20327. name: startDate
  20328. type: string
  20329. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  20330. in: query
  20331. name: endDate
  20332. type: string
  20333. produces:
  20334. - application/json
  20335. responses:
  20336. "200":
  20337. description: OK
  20338. schema:
  20339. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  20340. "500":
  20341. description: Internal Server Error
  20342. schema:
  20343. $ref: '#/definitions/app.Response'
  20344. security:
  20345. - ApiKeyAuth: []
  20346. summary: 获取企业风管期货历史成交单信息
  20347. tags:
  20348. - 企业风险管理(app)
  20349. /Ermcp/QueryErmcpInnerHolderDetails:
  20350. get:
  20351. parameters:
  20352. - description: 资金账户ID
  20353. in: query
  20354. name: accountID
  20355. required: true
  20356. type: integer
  20357. - description: 商品ID
  20358. in: query
  20359. name: goodsID
  20360. type: integer
  20361. - description: 买卖方向,0:买 1:卖
  20362. in: query
  20363. name: buyOrSell
  20364. type: integer
  20365. produces:
  20366. - application/json
  20367. responses:
  20368. "200":
  20369. description: OK
  20370. schema:
  20371. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  20372. "500":
  20373. description: Internal Server Error
  20374. schema:
  20375. $ref: '#/definitions/app.Response'
  20376. security:
  20377. - ApiKeyAuth: []
  20378. summary: 获取企业风管期货内部持仓单信息
  20379. tags:
  20380. - 企业风险管理(app)
  20381. /Ermcp/QueryErmcpOrderDetails:
  20382. get:
  20383. parameters:
  20384. - description: 资金账户ID
  20385. in: query
  20386. name: accountID
  20387. required: true
  20388. type: integer
  20389. produces:
  20390. - application/json
  20391. responses:
  20392. "200":
  20393. description: OK
  20394. schema:
  20395. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  20396. "500":
  20397. description: Internal Server Error
  20398. schema:
  20399. $ref: '#/definitions/app.Response'
  20400. security:
  20401. - ApiKeyAuth: []
  20402. summary: 获取企业风管期货委托单信息
  20403. tags:
  20404. - 企业风险管理(app)
  20405. /Ermcp/QueryErmcpTradeDetails:
  20406. get:
  20407. parameters:
  20408. - description: 资金账户ID
  20409. in: query
  20410. name: accountID
  20411. required: true
  20412. type: integer
  20413. - description: 商品ID
  20414. in: query
  20415. name: goodsID
  20416. type: integer
  20417. - description: 买卖方向,0:买 1:卖
  20418. in: query
  20419. name: buyOrSell
  20420. type: integer
  20421. - description: 关联委托单号
  20422. in: query
  20423. name: orderID
  20424. type: integer
  20425. produces:
  20426. - application/json
  20427. responses:
  20428. "200":
  20429. description: OK
  20430. schema:
  20431. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  20432. "500":
  20433. description: Internal Server Error
  20434. schema:
  20435. $ref: '#/definitions/app.Response'
  20436. security:
  20437. - ApiKeyAuth: []
  20438. summary: 获取企业风管期货成交单信息
  20439. tags:
  20440. - 企业风险管理(app)
  20441. /Ermcp/QueryErmcpTradePosition:
  20442. get:
  20443. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  20444. parameters:
  20445. - description: 资金账户ID
  20446. in: query
  20447. name: accountID
  20448. required: true
  20449. type: integer
  20450. - description: 所属市场ID
  20451. in: query
  20452. name: marketID
  20453. type: integer
  20454. produces:
  20455. - application/json
  20456. responses:
  20457. "200":
  20458. description: OK
  20459. schema:
  20460. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  20461. "500":
  20462. description: Internal Server Error
  20463. schema:
  20464. $ref: '#/definitions/app.Response'
  20465. security:
  20466. - ApiKeyAuth: []
  20467. summary: 获取企业风管期货持仓头寸信息
  20468. tags:
  20469. - 企业风险管理(app)
  20470. /Ermcp/QueryExposureDetail:
  20471. get:
  20472. parameters:
  20473. - description: 所属机构ID
  20474. in: query
  20475. name: areaUserId
  20476. required: true
  20477. type: integer
  20478. - description: 套保商品
  20479. in: query
  20480. name: middleGoodsId
  20481. required: true
  20482. type: integer
  20483. produces:
  20484. - application/json
  20485. responses:
  20486. "200":
  20487. description: OK
  20488. schema:
  20489. items:
  20490. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  20491. type: array
  20492. "500":
  20493. description: Internal Server Error
  20494. schema:
  20495. $ref: '#/definitions/app.Response'
  20496. security:
  20497. - ApiKeyAuth: []
  20498. summary: 查询敞口现货明细
  20499. tags:
  20500. - 企业风险管理(app)
  20501. /Ermcp/QueryExposureGoods:
  20502. get:
  20503. parameters:
  20504. - description: 套保商品id
  20505. in: query
  20506. name: middlegoodsid
  20507. required: true
  20508. type: integer
  20509. produces:
  20510. - application/json
  20511. responses:
  20512. "200":
  20513. description: OK
  20514. schema:
  20515. items:
  20516. $ref: '#/definitions/models.ErmcpMiddlegoodsRelateGoods'
  20517. type: array
  20518. "500":
  20519. description: Internal Server Error
  20520. schema:
  20521. $ref: '#/definitions/app.Response'
  20522. security:
  20523. - ApiKeyAuth: []
  20524. summary: 查询敞口主力合约
  20525. tags:
  20526. - 企业风险管理(app)
  20527. /Ermcp/QueryExposureHedgePosition:
  20528. get:
  20529. parameters:
  20530. - description: 用户id
  20531. in: query
  20532. name: userid
  20533. required: true
  20534. type: integer
  20535. produces:
  20536. - application/json
  20537. responses:
  20538. "200":
  20539. description: OK
  20540. schema:
  20541. items:
  20542. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  20543. type: array
  20544. "500":
  20545. description: Internal Server Error
  20546. schema:
  20547. $ref: '#/definitions/app.Response'
  20548. security:
  20549. - ApiKeyAuth: []
  20550. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  20551. tags:
  20552. - 企业风险管理(app)
  20553. /Ermcp/QueryExposureHedgePositionDetail:
  20554. get:
  20555. parameters:
  20556. - description: 所属机构ID
  20557. in: query
  20558. name: userid
  20559. required: true
  20560. type: integer
  20561. - description: 商品id
  20562. in: query
  20563. name: goodsId
  20564. required: true
  20565. type: integer
  20566. produces:
  20567. - application/json
  20568. responses:
  20569. "200":
  20570. description: OK
  20571. schema:
  20572. items:
  20573. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  20574. type: array
  20575. "500":
  20576. description: Internal Server Error
  20577. schema:
  20578. $ref: '#/definitions/app.Response'
  20579. security:
  20580. - ApiKeyAuth: []
  20581. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  20582. tags:
  20583. - 企业风险管理(app)
  20584. /Ermcp/QueryExposureSpot:
  20585. get:
  20586. parameters:
  20587. - description: 所属机构ID
  20588. in: query
  20589. name: areaUserId
  20590. required: true
  20591. type: integer
  20592. produces:
  20593. - application/json
  20594. responses:
  20595. "200":
  20596. description: OK
  20597. schema:
  20598. items:
  20599. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  20600. type: array
  20601. "500":
  20602. description: Internal Server Error
  20603. schema:
  20604. $ref: '#/definitions/app.Response'
  20605. security:
  20606. - ApiKeyAuth: []
  20607. summary: 查询敞口现货头寸(敞口/现货头寸)
  20608. tags:
  20609. - 企业风险管理(app)
  20610. /Ermcp/QueryExposureSpotDetail:
  20611. get:
  20612. parameters:
  20613. - description: 所属机构ID
  20614. in: query
  20615. name: areaUserId
  20616. required: true
  20617. type: integer
  20618. - description: 现货品种ID
  20619. in: query
  20620. name: wrstandardId
  20621. required: true
  20622. type: integer
  20623. produces:
  20624. - application/json
  20625. responses:
  20626. "200":
  20627. description: OK
  20628. schema:
  20629. items:
  20630. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  20631. type: array
  20632. "500":
  20633. description: Internal Server Error
  20634. schema:
  20635. $ref: '#/definitions/app.Response'
  20636. security:
  20637. - ApiKeyAuth: []
  20638. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  20639. tags:
  20640. - 企业风险管理(app)
  20641. /Ermcp/QueryFuturesCompany:
  20642. get:
  20643. produces:
  20644. - application/json
  20645. responses:
  20646. "200":
  20647. description: OK
  20648. schema:
  20649. items:
  20650. $ref: '#/definitions/models.ErmcpFuturesCompany'
  20651. type: array
  20652. "500":
  20653. description: Internal Server Error
  20654. schema:
  20655. $ref: '#/definitions/app.Response'
  20656. security:
  20657. - ApiKeyAuth: []
  20658. summary: 查询期货公司
  20659. tags:
  20660. - 企业风险管理(app)
  20661. /Ermcp/QueryGGConvertConfig:
  20662. get:
  20663. parameters:
  20664. - description: 品种id(不填则查所有)
  20665. in: query
  20666. name: goodsgroupid
  20667. type: integer
  20668. produces:
  20669. - application/json
  20670. responses:
  20671. "200":
  20672. description: OK
  20673. schema:
  20674. items:
  20675. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  20676. type: array
  20677. "500":
  20678. description: Internal Server Error
  20679. schema:
  20680. $ref: '#/definitions/app.Response'
  20681. security:
  20682. - ApiKeyAuth: []
  20683. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  20684. tags:
  20685. - 企业风险管理(app)
  20686. /Ermcp/QueryGoodsBrand:
  20687. get:
  20688. parameters:
  20689. - description: 用户ID
  20690. in: query
  20691. name: userid
  20692. required: true
  20693. type: integer
  20694. - description: 现货商品ID
  20695. in: query
  20696. name: wrstandardid
  20697. type: integer
  20698. produces:
  20699. - application/json
  20700. responses:
  20701. "200":
  20702. description: OK
  20703. schema:
  20704. items:
  20705. $ref: '#/definitions/models.ErmcpGoodsBrand'
  20706. type: array
  20707. "500":
  20708. description: Internal Server Error
  20709. schema:
  20710. $ref: '#/definitions/app.Response'
  20711. security:
  20712. - ApiKeyAuth: []
  20713. summary: 查询商品品牌
  20714. tags:
  20715. - 企业风险管理(app)
  20716. /Ermcp/QueryGoodsModel:
  20717. get:
  20718. parameters:
  20719. - description: 用户ID
  20720. in: query
  20721. name: userid
  20722. required: true
  20723. type: integer
  20724. produces:
  20725. - application/json
  20726. responses:
  20727. "200":
  20728. description: OK
  20729. schema:
  20730. items:
  20731. $ref: '#/definitions/models.ErmcpGoodsModel'
  20732. type: array
  20733. "500":
  20734. description: Internal Server Error
  20735. schema:
  20736. $ref: '#/definitions/app.Response'
  20737. security:
  20738. - ApiKeyAuth: []
  20739. summary: 查询商品型号
  20740. tags:
  20741. - 企业风险管理(app)
  20742. /Ermcp/QueryHisExposure:
  20743. get:
  20744. parameters:
  20745. - description: 用户id
  20746. in: query
  20747. name: userid
  20748. required: true
  20749. type: integer
  20750. - description: 每个品种记录数
  20751. in: query
  20752. name: lastNum
  20753. required: true
  20754. type: integer
  20755. produces:
  20756. - application/json
  20757. responses:
  20758. "200":
  20759. description: OK
  20760. schema:
  20761. items:
  20762. $ref: '#/definitions/ermcp.HisExposureRsp'
  20763. type: array
  20764. "500":
  20765. description: Internal Server Error
  20766. schema:
  20767. $ref: '#/definitions/app.Response'
  20768. security:
  20769. - ApiKeyAuth: []
  20770. summary: 查询历史敞口(菜单:敞口/历史敞口)
  20771. tags:
  20772. - 企业风险管理(app)
  20773. /Ermcp/QueryMiddleGoods:
  20774. get:
  20775. parameters:
  20776. - description: 所属机构ID
  20777. in: query
  20778. name: userid
  20779. required: true
  20780. type: integer
  20781. - description: 状态 0-停用 1-正常
  20782. in: query
  20783. name: status
  20784. required: true
  20785. type: integer
  20786. produces:
  20787. - application/json
  20788. responses:
  20789. "200":
  20790. description: OK
  20791. schema:
  20792. items:
  20793. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  20794. type: array
  20795. "500":
  20796. description: Internal Server Error
  20797. schema:
  20798. $ref: '#/definitions/app.Response'
  20799. security:
  20800. - ApiKeyAuth: []
  20801. summary: 查询套保品种(菜单:套保品种)
  20802. tags:
  20803. - 企业风险管理(app)
  20804. /Ermcp/QueryMiddleGoodsChangeLog:
  20805. get:
  20806. parameters:
  20807. - description: 所属机构ID
  20808. in: query
  20809. name: userid
  20810. required: true
  20811. type: integer
  20812. - description: 套保品种id
  20813. in: query
  20814. name: middlegoodsid
  20815. required: true
  20816. type: integer
  20817. produces:
  20818. - application/json
  20819. responses:
  20820. "200":
  20821. description: OK
  20822. schema:
  20823. items:
  20824. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  20825. type: array
  20826. "500":
  20827. description: Internal Server Error
  20828. schema:
  20829. $ref: '#/definitions/app.Response'
  20830. security:
  20831. - ApiKeyAuth: []
  20832. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  20833. tags:
  20834. - 企业风险管理(app)
  20835. /Ermcp/QueryMiddleGoodsDetail:
  20836. get:
  20837. parameters:
  20838. - description: 所属机构ID
  20839. in: query
  20840. name: userid
  20841. required: true
  20842. type: integer
  20843. - description: 套保品种id
  20844. in: query
  20845. name: middlegoodsid
  20846. type: integer
  20847. produces:
  20848. - application/json
  20849. responses:
  20850. "200":
  20851. description: OK
  20852. schema:
  20853. items:
  20854. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  20855. type: array
  20856. "500":
  20857. description: Internal Server Error
  20858. schema:
  20859. $ref: '#/definitions/app.Response'
  20860. security:
  20861. - ApiKeyAuth: []
  20862. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  20863. tags:
  20864. - 企业风险管理(app)
  20865. /Ermcp/QueryPendingAuditInfo:
  20866. get:
  20867. parameters:
  20868. - description: 用户ID
  20869. in: query
  20870. name: UserId
  20871. required: true
  20872. type: integer
  20873. produces:
  20874. - application/json
  20875. responses:
  20876. "200":
  20877. description: OK
  20878. schema:
  20879. items:
  20880. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  20881. type: array
  20882. "500":
  20883. description: Internal Server Error
  20884. schema:
  20885. $ref: '#/definitions/app.Response'
  20886. security:
  20887. - ApiKeyAuth: []
  20888. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  20889. tags:
  20890. - 企业风险管理(app)
  20891. /Ermcp/QueryRealtimeExposure:
  20892. get:
  20893. parameters:
  20894. - description: 所属机构ID
  20895. in: query
  20896. name: userid
  20897. required: true
  20898. type: integer
  20899. produces:
  20900. - application/json
  20901. responses:
  20902. "200":
  20903. description: OK
  20904. schema:
  20905. items:
  20906. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  20907. type: array
  20908. "500":
  20909. description: Internal Server Error
  20910. schema:
  20911. $ref: '#/definitions/app.Response'
  20912. security:
  20913. - ApiKeyAuth: []
  20914. summary: 查询实时敞口
  20915. tags:
  20916. - 企业风险管理(app)
  20917. /Ermcp/QueryRealtimeExposurePosition:
  20918. get:
  20919. parameters:
  20920. - description: 用户id
  20921. in: query
  20922. name: userid
  20923. required: true
  20924. type: integer
  20925. - description: 套保商品ID
  20926. in: query
  20927. name: middleGoodsId
  20928. required: true
  20929. type: integer
  20930. produces:
  20931. - application/json
  20932. responses:
  20933. "200":
  20934. description: OK
  20935. schema:
  20936. items:
  20937. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  20938. type: array
  20939. "500":
  20940. description: Internal Server Error
  20941. schema:
  20942. $ref: '#/definitions/app.Response'
  20943. security:
  20944. - ApiKeyAuth: []
  20945. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  20946. tags:
  20947. - 企业风险管理(app)
  20948. /Ermcp/QueryRoleMenu:
  20949. get:
  20950. parameters:
  20951. - description: 登录ID
  20952. in: query
  20953. name: loginid
  20954. required: true
  20955. type: integer
  20956. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易
  20957. in: query
  20958. name: menutype
  20959. type: integer
  20960. produces:
  20961. - application/json
  20962. responses:
  20963. "200":
  20964. description: OK
  20965. schema:
  20966. items:
  20967. $ref: '#/definitions/models.RoleMenu'
  20968. type: array
  20969. "500":
  20970. description: Internal Server Error
  20971. schema:
  20972. $ref: '#/definitions/app.Response'
  20973. security:
  20974. - ApiKeyAuth: []
  20975. summary: 查询角色菜单和权限
  20976. tags:
  20977. - 企业风险管理(app)
  20978. /Ermcp/QueryTradeConfigTMP:
  20979. get:
  20980. parameters:
  20981. - description: 所属机构id
  20982. in: query
  20983. name: areauserid
  20984. type: integer
  20985. produces:
  20986. - application/json
  20987. responses:
  20988. "200":
  20989. description: OK
  20990. schema:
  20991. items:
  20992. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  20993. type: array
  20994. "500":
  20995. description: Internal Server Error
  20996. schema:
  20997. $ref: '#/definitions/app.Response'
  20998. security:
  20999. - ApiKeyAuth: []
  21000. summary: 查询交易模板配置
  21001. tags:
  21002. - 企业风险管理(app)
  21003. /Ermcp/QueryUserInfo:
  21004. get:
  21005. parameters:
  21006. - description: 所属机构用户ID
  21007. in: query
  21008. name: MemberUserID
  21009. required: true
  21010. type: integer
  21011. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  21012. in: query
  21013. name: queryType
  21014. required: true
  21015. type: integer
  21016. produces:
  21017. - application/json
  21018. responses:
  21019. "200":
  21020. description: OK
  21021. schema:
  21022. items:
  21023. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  21024. type: array
  21025. "500":
  21026. description: Internal Server Error
  21027. schema:
  21028. $ref: '#/definitions/app.Response'
  21029. security:
  21030. - ApiKeyAuth: []
  21031. summary: 查询客户资料
  21032. tags:
  21033. - 企业风险管理(app)
  21034. /Ermcp/QueryWarehouseInfo:
  21035. get:
  21036. parameters:
  21037. - description: 用户ID
  21038. in: query
  21039. name: userid
  21040. required: true
  21041. type: integer
  21042. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  21043. in: query
  21044. name: status
  21045. type: string
  21046. produces:
  21047. - application/json
  21048. responses:
  21049. "200":
  21050. description: OK
  21051. schema:
  21052. items:
  21053. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  21054. type: array
  21055. "500":
  21056. description: Internal Server Error
  21057. schema:
  21058. $ref: '#/definitions/app.Response'
  21059. security:
  21060. - ApiKeyAuth: []
  21061. summary: 查询仓库信息
  21062. tags:
  21063. - 企业风险管理(app)
  21064. /Ermcp3/QryAreaExpourseContractDetail:
  21065. get:
  21066. parameters:
  21067. - description: 用户ID
  21068. in: query
  21069. name: userid
  21070. required: true
  21071. type: integer
  21072. - description: 套保商品id
  21073. in: query
  21074. name: middlegoodsid
  21075. required: true
  21076. type: integer
  21077. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21078. in: query
  21079. name: cycletype
  21080. required: true
  21081. type: integer
  21082. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21083. 全(0)【原值】
  21084. in: query
  21085. name: cycletime
  21086. required: true
  21087. type: string
  21088. produces:
  21089. - application/json
  21090. responses:
  21091. "200":
  21092. description: OK
  21093. schema:
  21094. items:
  21095. $ref: '#/definitions/models.Ermcp3ExposureContractDetail'
  21096. type: array
  21097. "500":
  21098. description: Internal Server Error
  21099. schema:
  21100. $ref: '#/definitions/app.Response'
  21101. security:
  21102. - ApiKeyAuth: []
  21103. summary: 查询敞口合同明细(敞口报表/现货合同明细)
  21104. tags:
  21105. - 企业风险管理v3(app)
  21106. /Ermcp3/QryAreaExpourseFutuDetail:
  21107. get:
  21108. parameters:
  21109. - description: 用户ID
  21110. in: query
  21111. name: userid
  21112. required: true
  21113. type: integer
  21114. - description: 套保商品id
  21115. in: query
  21116. name: middlegoodsid
  21117. required: true
  21118. type: integer
  21119. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21120. in: query
  21121. name: cycletype
  21122. required: true
  21123. type: integer
  21124. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21125. 全(0)【原值】
  21126. in: query
  21127. name: cycletime
  21128. required: true
  21129. type: string
  21130. produces:
  21131. - application/json
  21132. responses:
  21133. "200":
  21134. description: OK
  21135. schema:
  21136. items:
  21137. $ref: '#/definitions/models.Ermcp3ExposureFutuDetail'
  21138. type: array
  21139. "500":
  21140. description: Internal Server Error
  21141. schema:
  21142. $ref: '#/definitions/app.Response'
  21143. security:
  21144. - ApiKeyAuth: []
  21145. summary: 查询敞口期货明细(敞口报表/期货明细)
  21146. tags:
  21147. - 企业风险管理v3(app)
  21148. /Ermcp3/QryAreaExpourseHedgeplanDetail:
  21149. get:
  21150. parameters:
  21151. - description: 用户ID
  21152. in: query
  21153. name: userid
  21154. required: true
  21155. type: integer
  21156. - description: 套保商品id
  21157. in: query
  21158. name: middlegoodsid
  21159. required: true
  21160. type: integer
  21161. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21162. in: query
  21163. name: cycletype
  21164. required: true
  21165. type: integer
  21166. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21167. 全(0)【原值】
  21168. in: query
  21169. name: cycletime
  21170. required: true
  21171. type: string
  21172. produces:
  21173. - application/json
  21174. responses:
  21175. "200":
  21176. description: OK
  21177. schema:
  21178. items:
  21179. $ref: '#/definitions/models.Ermcp3ExposureHedgeplanDetail'
  21180. type: array
  21181. "500":
  21182. description: Internal Server Error
  21183. schema:
  21184. $ref: '#/definitions/app.Response'
  21185. security:
  21186. - ApiKeyAuth: []
  21187. summary: 查询敞口套保计划明细(敞口报表/套保计划明细)
  21188. tags:
  21189. - 企业风险管理v3(app)
  21190. /Ermcp3/QryAreaExpourseParamChLogDetail:
  21191. get:
  21192. parameters:
  21193. - description: 用户ID
  21194. in: query
  21195. name: userid
  21196. required: true
  21197. type: integer
  21198. - description: 套保商品id
  21199. in: query
  21200. name: middlegoodsid
  21201. required: true
  21202. type: integer
  21203. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21204. in: query
  21205. name: cycletype
  21206. required: true
  21207. type: integer
  21208. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21209. 全(0)【原值】
  21210. in: query
  21211. name: cycletime
  21212. required: true
  21213. type: string
  21214. produces:
  21215. - application/json
  21216. responses:
  21217. "200":
  21218. description: OK
  21219. schema:
  21220. items:
  21221. $ref: '#/definitions/models.Ermcp3ExposureParamChLog'
  21222. type: array
  21223. "500":
  21224. description: Internal Server Error
  21225. schema:
  21226. $ref: '#/definitions/app.Response'
  21227. security:
  21228. - ApiKeyAuth: []
  21229. summary: 查询敞口参数调整明细(敞口报表/参数调整明细)
  21230. tags:
  21231. - 企业风险管理v3(app)
  21232. /Ermcp3/QryAreaExpourseReport:
  21233. get:
  21234. parameters:
  21235. - description: 用户ID
  21236. in: query
  21237. name: userid
  21238. required: true
  21239. type: integer
  21240. - description: 查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口
  21241. in: query
  21242. name: querytype
  21243. required: true
  21244. type: integer
  21245. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21246. in: query
  21247. name: cycletype
  21248. required: true
  21249. type: integer
  21250. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21251. 全(0)【原值】
  21252. in: query
  21253. name: cycletime
  21254. required: true
  21255. type: string
  21256. produces:
  21257. - application/json
  21258. responses:
  21259. "200":
  21260. description: OK
  21261. schema:
  21262. items:
  21263. $ref: '#/definitions/models.Ermcp3ExpourseReport'
  21264. type: array
  21265. "500":
  21266. description: Internal Server Error
  21267. schema:
  21268. $ref: '#/definitions/app.Response'
  21269. security:
  21270. - ApiKeyAuth: []
  21271. summary: 查询敞口报表
  21272. tags:
  21273. - 企业风险管理v3(app)
  21274. /Ermcp3/QryAreaSpotplReport:
  21275. get:
  21276. description: 目前pcweb的日/周/月报表与手机端的汇总维度不同, 所以增加了可选参数sumflag参数, pcweb请填1
  21277. parameters:
  21278. - description: 用户ID
  21279. in: query
  21280. name: userid
  21281. required: true
  21282. type: integer
  21283. - description: 查询类型 1-报表 2-报表明细
  21284. in: query
  21285. name: querytype
  21286. required: true
  21287. type: integer
  21288. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21289. in: query
  21290. name: cycletype
  21291. required: true
  21292. type: integer
  21293. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21294. 全(0)【原值】
  21295. in: query
  21296. name: cycletime
  21297. required: true
  21298. type: string
  21299. - description: 现货品种id(明细必填)
  21300. in: query
  21301. name: deliverygoodsid
  21302. type: integer
  21303. - description: 币种id(明细必填)
  21304. in: query
  21305. name: currencyid
  21306. type: integer
  21307. - description: 日/周/月报表汇总维度 1:品种+品类
  21308. in: query
  21309. name: sumflag
  21310. type: integer
  21311. produces:
  21312. - application/json
  21313. responses:
  21314. "200":
  21315. description: OK
  21316. schema:
  21317. items:
  21318. $ref: '#/definitions/models.Ermcp3AreaSpotPLReport'
  21319. type: array
  21320. "500":
  21321. description: Internal Server Error
  21322. schema:
  21323. $ref: '#/definitions/app.Response'
  21324. security:
  21325. - ApiKeyAuth: []
  21326. summary: 查询现货报表
  21327. tags:
  21328. - 企业风险管理v3(app)
  21329. /Ermcp3/QryAreaStockReport:
  21330. get:
  21331. parameters:
  21332. - description: 用户ID
  21333. in: query
  21334. name: userid
  21335. required: true
  21336. type: integer
  21337. - description: 查询类型 1-报表 2-报表明细
  21338. in: query
  21339. name: querytype
  21340. required: true
  21341. type: integer
  21342. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21343. in: query
  21344. name: cycletype
  21345. required: true
  21346. type: integer
  21347. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21348. 全(0)【原值】
  21349. in: query
  21350. name: cycletime
  21351. required: true
  21352. type: string
  21353. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库
  21354. in: query
  21355. name: sumfields
  21356. type: string
  21357. - description: 品种ID
  21358. in: query
  21359. name: deliverygoodsid
  21360. type: integer
  21361. - description: 品类ID
  21362. in: query
  21363. name: wrstandardid
  21364. type: integer
  21365. - description: 品牌ID
  21366. in: query
  21367. name: spotgoodsbrandid
  21368. type: integer
  21369. - description: 仓库ID
  21370. in: query
  21371. name: warehouseinfoid
  21372. type: integer
  21373. produces:
  21374. - application/json
  21375. responses:
  21376. "200":
  21377. description: OK
  21378. schema:
  21379. items:
  21380. $ref: '#/definitions/models.Ermcp3AreaStockReportEx'
  21381. type: array
  21382. "500":
  21383. description: Internal Server Error
  21384. schema:
  21385. $ref: '#/definitions/app.Response'
  21386. security:
  21387. - ApiKeyAuth: []
  21388. summary: 查询库存报表
  21389. tags:
  21390. - 企业风险管理v3(app)
  21391. /Ermcp3/QryAreaSumPL:
  21392. get:
  21393. parameters:
  21394. - description: 用户ID
  21395. in: query
  21396. name: userid
  21397. required: true
  21398. type: integer
  21399. - description: 查询类型 1-报表 2-报表明细
  21400. in: query
  21401. name: querytype
  21402. required: true
  21403. type: integer
  21404. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21405. in: query
  21406. name: cycletype
  21407. required: true
  21408. type: integer
  21409. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21410. 全(0)【原值】
  21411. in: query
  21412. name: cycletime
  21413. required: true
  21414. type: string
  21415. - description: 币种id(明细必填)
  21416. in: query
  21417. name: currencyid
  21418. type: integer
  21419. - description: 套保品种ID, 查询类型为2时起效
  21420. in: query
  21421. name: middlegoodsid
  21422. type: integer
  21423. produces:
  21424. - application/json
  21425. responses:
  21426. "200":
  21427. description: OK
  21428. schema:
  21429. items:
  21430. $ref: '#/definitions/models.Ermcp3ArealSumPL'
  21431. type: array
  21432. "500":
  21433. description: Internal Server Error
  21434. schema:
  21435. $ref: '#/definitions/app.Response'
  21436. security:
  21437. - ApiKeyAuth: []
  21438. summary: 查询汇总损益表
  21439. tags:
  21440. - 企业风险管理v3(app)
  21441. /Ermcp3/QryFinanceReport:
  21442. get:
  21443. parameters:
  21444. - description: 用户ID
  21445. in: query
  21446. name: userid
  21447. required: true
  21448. type: integer
  21449. - description: 查询类型 1-报表 2-报表明细
  21450. in: query
  21451. name: querytype
  21452. required: true
  21453. type: integer
  21454. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21455. in: query
  21456. name: cycletype
  21457. required: true
  21458. type: integer
  21459. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21460. 全(0)【原值】
  21461. in: query
  21462. name: cycletime
  21463. required: true
  21464. type: string
  21465. - description: 币种id(报表明细必填)
  21466. in: query
  21467. name: currencyid
  21468. type: integer
  21469. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌
  21470. in: query
  21471. name: sumfields
  21472. type: string
  21473. produces:
  21474. - application/json
  21475. responses:
  21476. "200":
  21477. description: OK
  21478. schema:
  21479. items:
  21480. $ref: '#/definitions/models.Ermcp3FinanceReport'
  21481. type: array
  21482. "500":
  21483. description: Internal Server Error
  21484. schema:
  21485. $ref: '#/definitions/app.Response'
  21486. security:
  21487. - ApiKeyAuth: []
  21488. summary: 查询财务报表
  21489. tags:
  21490. - 企业风险管理v3(app)
  21491. /Ermcp3/QrySCMiddleGoodsReport:
  21492. get:
  21493. parameters:
  21494. - description: 用户ID
  21495. in: query
  21496. name: userid
  21497. required: true
  21498. type: integer
  21499. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21500. in: query
  21501. name: cycletype
  21502. required: true
  21503. type: integer
  21504. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21505. 全(0)【原值】
  21506. in: query
  21507. name: cycletime
  21508. required: true
  21509. type: string
  21510. - description: 合同id
  21511. in: query
  21512. name: spotcontractid
  21513. type: integer
  21514. - description: 套保品种id
  21515. in: query
  21516. name: middlegoodsid
  21517. type: integer
  21518. - description: 现货品种id
  21519. in: query
  21520. name: deliverygoodsid
  21521. type: integer
  21522. - description: 现货商品id
  21523. in: query
  21524. name: wrstandardid
  21525. type: integer
  21526. - description: 合同编号(模糊匹配)
  21527. in: query
  21528. name: contractno
  21529. type: string
  21530. produces:
  21531. - application/json
  21532. responses:
  21533. "200":
  21534. description: OK
  21535. schema:
  21536. items:
  21537. $ref: '#/definitions/models.Ermcp3SCMiddleGoodsReport'
  21538. type: array
  21539. "500":
  21540. description: Internal Server Error
  21541. schema:
  21542. $ref: '#/definitions/app.Response'
  21543. security:
  21544. - ApiKeyAuth: []
  21545. summary: 查询定价报表
  21546. tags:
  21547. - 企业风险管理v3(app)
  21548. /Ermcp3/QryTaFutureDataReport:
  21549. get:
  21550. parameters:
  21551. - description: 用户ID
  21552. in: query
  21553. name: userid
  21554. required: true
  21555. type: integer
  21556. - description: 查询类型 1-报表 2-报表明细
  21557. in: query
  21558. name: querytype
  21559. required: true
  21560. type: integer
  21561. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21562. in: query
  21563. name: cycletype
  21564. required: true
  21565. type: integer
  21566. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21567. 全(0)【原值】
  21568. in: query
  21569. name: cycletime
  21570. required: true
  21571. type: string
  21572. - description: 币种id(查明细必填)
  21573. in: query
  21574. name: currencyid
  21575. type: integer
  21576. - description: 品种id(查明细必填)
  21577. in: query
  21578. name: goodsgroupid
  21579. type: integer
  21580. - description: 商品id(查明细必填)
  21581. in: query
  21582. name: goodsid
  21583. type: integer
  21584. - description: 买卖方向(查明细必填)
  21585. in: query
  21586. name: buyorsell
  21587. type: integer
  21588. produces:
  21589. - application/json
  21590. responses:
  21591. "200":
  21592. description: OK
  21593. schema:
  21594. items:
  21595. $ref: '#/definitions/models.Ermcp3TaFutuReDataReport'
  21596. type: array
  21597. "500":
  21598. description: Internal Server Error
  21599. schema:
  21600. $ref: '#/definitions/app.Response'
  21601. security:
  21602. - ApiKeyAuth: []
  21603. summary: 查询期货报表
  21604. tags:
  21605. - 企业风险管理v3(app)
  21606. /Ermcp3/QueryAreaStock:
  21607. get:
  21608. parameters:
  21609. - description: 用户ID
  21610. in: query
  21611. name: userid
  21612. required: true
  21613. type: integer
  21614. produces:
  21615. - application/json
  21616. responses:
  21617. "200":
  21618. description: OK
  21619. schema:
  21620. items:
  21621. $ref: '#/definitions/models.Ermcp3AreaStock'
  21622. type: array
  21623. "500":
  21624. description: Internal Server Error
  21625. schema:
  21626. $ref: '#/definitions/app.Response'
  21627. security:
  21628. - ApiKeyAuth: []
  21629. summary: 查询机构库存(库存管理/当前库存)
  21630. tags:
  21631. - 企业风险管理v3(app)
  21632. /Ermcp3/QueryAreaStockApply:
  21633. get:
  21634. parameters:
  21635. - description: 用户ID
  21636. in: query
  21637. name: userid
  21638. required: true
  21639. type: integer
  21640. - description: 用户类型 2-机构 7-企业成员
  21641. in: query
  21642. name: usertype
  21643. type: integer
  21644. - description: 现货商品ID
  21645. in: query
  21646. name: deliverygoodsid
  21647. type: integer
  21648. - description: 出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  21649. in: query
  21650. name: inouttype
  21651. type: string
  21652. - description: 合同ID
  21653. in: query
  21654. name: spotcontractid
  21655. type: integer
  21656. - description: 品类ID
  21657. in: query
  21658. name: wrstandardid
  21659. type: integer
  21660. - description: 品牌ID
  21661. in: query
  21662. name: spotgoodsbrandid
  21663. type: integer
  21664. - description: 仓库ID
  21665. in: query
  21666. name: warehouseinfoid
  21667. type: integer
  21668. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  21669. in: query
  21670. name: applystatus
  21671. type: string
  21672. produces:
  21673. - application/json
  21674. responses:
  21675. "200":
  21676. description: OK
  21677. schema:
  21678. items:
  21679. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  21680. type: array
  21681. "500":
  21682. description: Internal Server Error
  21683. schema:
  21684. $ref: '#/definitions/app.Response'
  21685. security:
  21686. - ApiKeyAuth: []
  21687. summary: 查询库存申请(出入库记录|库存审核)
  21688. tags:
  21689. - 企业风险管理v3(app)
  21690. /Ermcp3/QueryAreaStockApplySum:
  21691. get:
  21692. parameters:
  21693. - description: 合同ID
  21694. in: query
  21695. name: spotcontractid
  21696. required: true
  21697. type: integer
  21698. produces:
  21699. - application/json
  21700. responses:
  21701. "200":
  21702. description: OK
  21703. schema:
  21704. items:
  21705. $ref: '#/definitions/models.Ermcp3AreaStockApplySum'
  21706. type: array
  21707. "500":
  21708. description: Internal Server Error
  21709. schema:
  21710. $ref: '#/definitions/app.Response'
  21711. security:
  21712. - ApiKeyAuth: []
  21713. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  21714. tags:
  21715. - 企业风险管理v3(app)
  21716. /Ermcp3/QueryDGFactoryItem:
  21717. get:
  21718. parameters:
  21719. - description: 用户id
  21720. in: query
  21721. name: userid
  21722. type: integer
  21723. - description: 用户类型 2-机构 7-企业成员
  21724. in: query
  21725. name: usertype
  21726. type: integer
  21727. - description: 选择项ID(SEQ_DGFACTORYITEM)
  21728. in: query
  21729. name: dgfactoryitemid
  21730. type: integer
  21731. - description: 现货品种ID
  21732. in: query
  21733. name: deliverygoodsid
  21734. type: integer
  21735. - description: 要素项类型
  21736. in: query
  21737. name: dgfactoryitemtypeid
  21738. type: integer
  21739. - description: 顺序
  21740. in: query
  21741. name: orderindex
  21742. type: integer
  21743. produces:
  21744. - application/json
  21745. responses:
  21746. "200":
  21747. description: OK
  21748. schema:
  21749. items:
  21750. $ref: '#/definitions/models.ErmcpDGFactoryItem'
  21751. type: array
  21752. "500":
  21753. description: Internal Server Error
  21754. schema:
  21755. $ref: '#/definitions/app.Response'
  21756. security:
  21757. - ApiKeyAuth: []
  21758. summary: 查询品种要素定义项
  21759. tags:
  21760. - 企业风险管理v3(app)
  21761. /Ermcp3/QueryDeliveryGoods:
  21762. get:
  21763. parameters:
  21764. - description: 用户id
  21765. in: query
  21766. name: userid
  21767. required: true
  21768. type: integer
  21769. - description: 用户类型 2-机构 7-企业成员
  21770. in: query
  21771. name: usertype
  21772. type: integer
  21773. - description: 排除已配置的业务类型商品 1-套保 2-套利
  21774. in: query
  21775. name: excludecfg
  21776. type: integer
  21777. produces:
  21778. - application/json
  21779. responses:
  21780. "200":
  21781. description: OK
  21782. schema:
  21783. items:
  21784. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  21785. type: array
  21786. "500":
  21787. description: Internal Server Error
  21788. schema:
  21789. $ref: '#/definitions/app.Response'
  21790. security:
  21791. - ApiKeyAuth: []
  21792. summary: 查询现货商品
  21793. tags:
  21794. - 企业风险管理v3(app)
  21795. /Ermcp3/QueryDeliveryGoodsDetail:
  21796. get:
  21797. parameters:
  21798. - description: 用户id
  21799. in: query
  21800. name: userid
  21801. required: true
  21802. type: integer
  21803. - description: 用户类型 2-机构 7-企业成员
  21804. in: query
  21805. name: usertype
  21806. type: integer
  21807. - description: 现货商品id
  21808. in: query
  21809. name: deliverygoodsid
  21810. type: integer
  21811. - description: 过滤下级为空, 1-过滤. 比如 品种大豆的下级品类列表为空, 则大豆不显示; 比如品类的下级套保品列表为空, 则该品类不显示
  21812. in: query
  21813. name: filtersubempty
  21814. type: integer
  21815. produces:
  21816. - application/json
  21817. responses:
  21818. "200":
  21819. description: OK
  21820. schema:
  21821. items:
  21822. $ref: '#/definitions/models.XHDeliveryGoods'
  21823. type: array
  21824. "500":
  21825. description: Internal Server Error
  21826. schema:
  21827. $ref: '#/definitions/app.Response'
  21828. security:
  21829. - ApiKeyAuth: []
  21830. summary: 查询现货商品详情
  21831. tags:
  21832. - 企业风险管理v3(app)
  21833. /Ermcp3/QueryErmcp3ContractMiddleGoodsCfg:
  21834. get:
  21835. parameters:
  21836. - description: 合同id
  21837. in: query
  21838. name: spotcontractid
  21839. required: true
  21840. type: string
  21841. produces:
  21842. - application/json
  21843. responses:
  21844. "200":
  21845. description: OK
  21846. schema:
  21847. items:
  21848. $ref: '#/definitions/models.Ermcp3ContractMiddleGoodsCfg'
  21849. type: array
  21850. "500":
  21851. description: Internal Server Error
  21852. schema:
  21853. $ref: '#/definitions/app.Response'
  21854. security:
  21855. - ApiKeyAuth: []
  21856. summary: 查询现货合同期现配置信息
  21857. tags:
  21858. - 企业风险管理v3(app)
  21859. /Ermcp3/QueryExposureDetail:
  21860. get:
  21861. parameters:
  21862. - description: 用户id
  21863. in: query
  21864. name: userid
  21865. required: true
  21866. type: integer
  21867. - description: 用户类型 2-机构 7-企业成员
  21868. in: query
  21869. name: usertype
  21870. type: integer
  21871. - description: 套保商品
  21872. in: query
  21873. name: middlegoodsid
  21874. required: true
  21875. type: integer
  21876. produces:
  21877. - application/json
  21878. responses:
  21879. "200":
  21880. description: OK
  21881. schema:
  21882. items:
  21883. $ref: '#/definitions/models.Ermcp3ExposureDetail'
  21884. type: array
  21885. "500":
  21886. description: Internal Server Error
  21887. schema:
  21888. $ref: '#/definitions/app.Response'
  21889. security:
  21890. - ApiKeyAuth: []
  21891. summary: 查询敞口现货明细
  21892. tags:
  21893. - 企业风险管理v3(app)
  21894. /Ermcp3/QueryExposureSpot:
  21895. get:
  21896. parameters:
  21897. - description: 用户id
  21898. in: query
  21899. name: userid
  21900. required: true
  21901. type: integer
  21902. - description: 用户类型 2-机构 7-企业成员
  21903. in: query
  21904. name: usertype
  21905. type: integer
  21906. produces:
  21907. - application/json
  21908. responses:
  21909. "200":
  21910. description: OK
  21911. schema:
  21912. items:
  21913. $ref: '#/definitions/models.Ermcp3AreaSpot'
  21914. type: array
  21915. "500":
  21916. description: Internal Server Error
  21917. schema:
  21918. $ref: '#/definitions/app.Response'
  21919. security:
  21920. - ApiKeyAuth: []
  21921. summary: 查询敞口现货头寸(敞口/现货头寸)
  21922. tags:
  21923. - 企业风险管理v3(app)
  21924. /Ermcp3/QueryExposureSpotDetail:
  21925. get:
  21926. parameters:
  21927. - description: 用户id
  21928. in: query
  21929. name: userid
  21930. required: true
  21931. type: integer
  21932. - description: 用户类型 2-机构 7-企业成员
  21933. in: query
  21934. name: usertype
  21935. type: integer
  21936. - description: 现货商品ID
  21937. in: query
  21938. name: wrstandardid
  21939. required: true
  21940. type: integer
  21941. produces:
  21942. - application/json
  21943. responses:
  21944. "200":
  21945. description: OK
  21946. schema:
  21947. items:
  21948. $ref: '#/definitions/models.Ermcp3AreaSpotDetail'
  21949. type: array
  21950. "500":
  21951. description: Internal Server Error
  21952. schema:
  21953. $ref: '#/definitions/app.Response'
  21954. security:
  21955. - ApiKeyAuth: []
  21956. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  21957. tags:
  21958. - 企业风险管理v3(app)
  21959. /Ermcp3/QueryGoodsGroup:
  21960. get:
  21961. parameters:
  21962. - description: 用户id
  21963. in: query
  21964. name: userid
  21965. required: true
  21966. type: integer
  21967. - description: 用户类型 2-机构 7-企业成员
  21968. in: query
  21969. name: usertype
  21970. type: integer
  21971. - description: 排除套保品中已关联的商品组 1-排除
  21972. in: query
  21973. name: excludecfg
  21974. type: integer
  21975. produces:
  21976. - application/json
  21977. responses:
  21978. "200":
  21979. description: OK
  21980. schema:
  21981. items:
  21982. $ref: '#/definitions/models.Ermcp3GoodsGroup'
  21983. type: array
  21984. "500":
  21985. description: Internal Server Error
  21986. schema:
  21987. $ref: '#/definitions/app.Response'
  21988. security:
  21989. - ApiKeyAuth: []
  21990. summary: 查询期货商品组
  21991. tags:
  21992. - 企业风险管理v3(app)
  21993. /Ermcp3/QueryGoodsWrstandard:
  21994. get:
  21995. parameters:
  21996. - description: 用户id
  21997. in: query
  21998. name: userid
  21999. required: true
  22000. type: integer
  22001. - description: 用户类型 2-机构 7-企业成员
  22002. in: query
  22003. name: usertype
  22004. type: integer
  22005. - description: 现货商品id
  22006. in: query
  22007. name: deliverygoodsid
  22008. type: integer
  22009. produces:
  22010. - application/json
  22011. responses:
  22012. "200":
  22013. description: OK
  22014. schema:
  22015. items:
  22016. $ref: '#/definitions/models.Ermcp3Wrstandard'
  22017. type: array
  22018. "500":
  22019. description: Internal Server Error
  22020. schema:
  22021. $ref: '#/definitions/app.Response'
  22022. security:
  22023. - ApiKeyAuth: []
  22024. summary: 查询商品品类
  22025. tags:
  22026. - 企业风险管理v3(app)
  22027. /Ermcp3/QueryGoodsbrand:
  22028. get:
  22029. parameters:
  22030. - description: 用户id
  22031. in: query
  22032. name: userid
  22033. required: true
  22034. type: integer
  22035. - description: 用户类型 2-机构 7-企业成员
  22036. in: query
  22037. name: usertype
  22038. type: integer
  22039. produces:
  22040. - application/json
  22041. responses:
  22042. "200":
  22043. description: OK
  22044. schema:
  22045. items:
  22046. $ref: '#/definitions/models.Ermcp3Brand'
  22047. type: array
  22048. "500":
  22049. description: Internal Server Error
  22050. schema:
  22051. $ref: '#/definitions/app.Response'
  22052. security:
  22053. - ApiKeyAuth: []
  22054. summary: 查询商品品牌
  22055. tags:
  22056. - 企业风险管理v3(app)
  22057. /Ermcp3/QueryHPMiddleGoods:
  22058. get:
  22059. parameters:
  22060. - description: 用户ID(填登录用户的userid)
  22061. in: query
  22062. name: userid
  22063. required: true
  22064. type: integer
  22065. - description: 买卖方向 0-买 1-卖
  22066. in: query
  22067. name: buyorsell
  22068. required: true
  22069. type: integer
  22070. - description: 商品组id
  22071. in: query
  22072. name: goodsgroupid
  22073. required: true
  22074. type: integer
  22075. - description: 套保计划编号(模糊匹配)
  22076. in: query
  22077. name: hedgeplanno
  22078. type: string
  22079. - description: 现货商品名称(模糊匹配)
  22080. in: query
  22081. name: wrstandardname
  22082. type: string
  22083. produces:
  22084. - application/json
  22085. responses:
  22086. "200":
  22087. description: OK
  22088. schema:
  22089. items:
  22090. $ref: '#/definitions/models.Ermcp3HPMiddleGoods'
  22091. type: array
  22092. "500":
  22093. description: Internal Server Error
  22094. schema:
  22095. $ref: '#/definitions/app.Response'
  22096. security:
  22097. - ApiKeyAuth: []
  22098. summary: 查询可关联套保计划
  22099. tags:
  22100. - 企业风险管理v3(app)
  22101. /Ermcp3/QueryHedgePlan:
  22102. get:
  22103. parameters:
  22104. - description: 用户ID
  22105. in: query
  22106. name: userid
  22107. required: true
  22108. type: integer
  22109. - description: 用户类型 2-机构 7-企业成员
  22110. in: query
  22111. name: usertype
  22112. type: integer
  22113. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  22114. in: query
  22115. name: hedgeplanstatus
  22116. required: true
  22117. type: string
  22118. produces:
  22119. - application/json
  22120. responses:
  22121. "200":
  22122. description: OK
  22123. schema:
  22124. items:
  22125. $ref: '#/definitions/models.Ermcp3HedgePlan'
  22126. type: array
  22127. "500":
  22128. description: Internal Server Error
  22129. schema:
  22130. $ref: '#/definitions/app.Response'
  22131. security:
  22132. - ApiKeyAuth: []
  22133. summary: 查询套保计划
  22134. tags:
  22135. - 企业风险管理v3(app)
  22136. /Ermcp3/QueryInnerTradeLink:
  22137. get:
  22138. description: 页面 app 现货->期现关联->外部成交单关联->点"解除关联"按钮->解除外部关联的页面信息
  22139. parameters:
  22140. - description: 外部成交单号
  22141. in: query
  22142. name: outtradeid
  22143. required: true
  22144. type: integer
  22145. produces:
  22146. - application/json
  22147. responses:
  22148. "200":
  22149. description: OK
  22150. schema:
  22151. items:
  22152. $ref: '#/definitions/models.Ermcp3InnerTradeLink'
  22153. type: array
  22154. "500":
  22155. description: Internal Server Error
  22156. schema:
  22157. $ref: '#/definitions/app.Response'
  22158. security:
  22159. - ApiKeyAuth: []
  22160. summary: 查询外部成交单关联的内部单信息(在解除外部关联页面使用)
  22161. tags:
  22162. - 企业风险管理v3(app)
  22163. /Ermcp3/QueryMiddleGoodsDetail:
  22164. get:
  22165. parameters:
  22166. - description: 用户id
  22167. in: query
  22168. name: userid
  22169. required: true
  22170. type: integer
  22171. - description: 用户类型 2-机构 7-企业成员
  22172. in: query
  22173. name: usertype
  22174. type: integer
  22175. - description: 套保品种id
  22176. in: query
  22177. name: middlegoodsid
  22178. type: integer
  22179. produces:
  22180. - application/json
  22181. responses:
  22182. "200":
  22183. description: OK
  22184. schema:
  22185. items:
  22186. $ref: '#/definitions/models.TBMiddleGoods'
  22187. type: array
  22188. "500":
  22189. description: Internal Server Error
  22190. schema:
  22191. $ref: '#/definitions/app.Response'
  22192. security:
  22193. - ApiKeyAuth: []
  22194. summary: 查询套保品种详情(套保品种/商品详情)
  22195. tags:
  22196. - 企业风险管理v3(app)
  22197. /Ermcp3/QueryOutTradeLink:
  22198. get:
  22199. description: 页面 app 现货->期现关联->外部成交单关联
  22200. parameters:
  22201. - description: 用户ID(填登录用户的userid)
  22202. in: query
  22203. name: userid
  22204. required: true
  22205. type: integer
  22206. - description: 外部订单号(模糊匹配)
  22207. in: query
  22208. name: outtradeid
  22209. type: string
  22210. - description: 合约名称/代码(模糊匹配)
  22211. in: query
  22212. name: goodsname
  22213. type: string
  22214. - description: 关联状态 0-未关联 1-已关联
  22215. in: query
  22216. name: hasinnerorder
  22217. type: integer
  22218. produces:
  22219. - application/json
  22220. responses:
  22221. "200":
  22222. description: OK
  22223. schema:
  22224. items:
  22225. $ref: '#/definitions/models.Ermcp3OutTradeLink'
  22226. type: array
  22227. "500":
  22228. description: Internal Server Error
  22229. schema:
  22230. $ref: '#/definitions/app.Response'
  22231. security:
  22232. - ApiKeyAuth: []
  22233. summary: 查询外部成交单关联
  22234. tags:
  22235. - 企业风险管理v3(app)
  22236. /Ermcp3/QueryPaAreaAuditCfg:
  22237. get:
  22238. parameters:
  22239. - description: 用户id
  22240. in: query
  22241. name: userid
  22242. required: true
  22243. type: integer
  22244. produces:
  22245. - application/json
  22246. responses:
  22247. "200":
  22248. description: OK
  22249. schema:
  22250. items:
  22251. $ref: '#/definitions/models.Ermcp3PaAreaAuditCfg'
  22252. type: array
  22253. "500":
  22254. description: Internal Server Error
  22255. schema:
  22256. $ref: '#/definitions/app.Response'
  22257. security:
  22258. - ApiKeyAuth: []
  22259. summary: 查询审核设置
  22260. tags:
  22261. - 企业风险管理v3(app)
  22262. /Ermcp3/QueryPaAreaSubject:
  22263. get:
  22264. parameters:
  22265. - description: 用户id
  22266. in: query
  22267. name: userid
  22268. required: true
  22269. type: integer
  22270. - description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  22271. in: query
  22272. name: subjectid
  22273. type: integer
  22274. - description: 主体类型 - 1:交易主体 2:业务部门
  22275. in: query
  22276. name: subjecttype
  22277. type: integer
  22278. - description: '主体状态 - 1:正常 2: 停用'
  22279. in: query
  22280. name: subjectstatus
  22281. type: integer
  22282. produces:
  22283. - application/json
  22284. responses:
  22285. "200":
  22286. description: OK
  22287. schema:
  22288. items:
  22289. $ref: '#/definitions/models.Ermcp3PaAreaSubject'
  22290. type: array
  22291. "500":
  22292. description: Internal Server Error
  22293. schema:
  22294. $ref: '#/definitions/app.Response'
  22295. security:
  22296. - ApiKeyAuth: []
  22297. summary: 查询交易主体
  22298. tags:
  22299. - 企业风险管理v3(app)
  22300. /Ermcp3/QueryPaTradeLink:
  22301. get:
  22302. description: 页面 app 现货->期现关联->期现单据关联
  22303. parameters:
  22304. - description: 用户ID
  22305. in: query
  22306. name: userid
  22307. required: true
  22308. type: integer
  22309. produces:
  22310. - application/json
  22311. responses:
  22312. "200":
  22313. description: OK
  22314. schema:
  22315. items:
  22316. $ref: '#/definitions/models.Ermcp3PaTradeLink'
  22317. type: array
  22318. "500":
  22319. description: Internal Server Error
  22320. schema:
  22321. $ref: '#/definitions/app.Response'
  22322. security:
  22323. - ApiKeyAuth: []
  22324. summary: 查询期现单据关联
  22325. tags:
  22326. - 企业风险管理v3(app)
  22327. /Ermcp3/QueryPaTradeLinkDetail:
  22328. get:
  22329. description: 页面 app 现货->期现关联->关联记录
  22330. parameters:
  22331. - description: 用户ID(填登录用户的userid)
  22332. in: query
  22333. name: userid
  22334. required: true
  22335. type: integer
  22336. - description: 关联状态 1:成功 2:失败 3:解绑
  22337. in: query
  22338. name: linkstatus
  22339. type: integer
  22340. - description: 期货订单号(模糊匹配)
  22341. in: query
  22342. name: tradeid
  22343. type: string
  22344. - description: 现货编号(模糊匹配)
  22345. in: query
  22346. name: contractno
  22347. type: string
  22348. - description: 期货账户(模糊匹配)
  22349. in: query
  22350. name: taname
  22351. type: string
  22352. produces:
  22353. - application/json
  22354. responses:
  22355. "200":
  22356. description: OK
  22357. schema:
  22358. items:
  22359. $ref: '#/definitions/models.Ermcp3TradeLinkDetail'
  22360. type: array
  22361. "500":
  22362. description: Internal Server Error
  22363. schema:
  22364. $ref: '#/definitions/app.Response'
  22365. security:
  22366. - ApiKeyAuth: []
  22367. summary: 查询期现关联记录
  22368. tags:
  22369. - 企业风险管理v3(app)
  22370. /Ermcp3/QueryParamChangeApp:
  22371. get:
  22372. description: |-
  22373. 原型页面:
  22374. 1.商品信息->商品参数修改流水-> 增值税税率 | 折算系数 | 成本权重; 流水页面查申请状态为“审核通过”的记录
  22375. 2.风管审核->套保比例审核 | 折算系数审核 | 增值税税率审核 | 成本权重审核
  22376. parameters:
  22377. - description: 用户ID
  22378. in: query
  22379. name: userid
  22380. required: true
  22381. type: integer
  22382. - description: 现货品种id
  22383. in: query
  22384. name: deliverygoodsid
  22385. type: integer
  22386. - description: 现货商品id
  22387. in: query
  22388. name: wrstandardid
  22389. type: integer
  22390. - description: 套保商品id
  22391. in: query
  22392. name: middlegoodsid
  22393. type: integer
  22394. - description: 操作类型 1:新增 2:修改
  22395. in: query
  22396. name: operatetype
  22397. type: integer
  22398. - description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  22399. in: query
  22400. name: paramchangetype
  22401. type: integer
  22402. - description: 申请状态(逗号隔开,如1,2,3) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  22403. in: query
  22404. name: ftstatus
  22405. type: string
  22406. produces:
  22407. - application/json
  22408. responses:
  22409. "200":
  22410. description: OK
  22411. schema:
  22412. items:
  22413. $ref: '#/definitions/models.Ermcp3ParamChangeApp'
  22414. type: array
  22415. "500":
  22416. description: Internal Server Error
  22417. schema:
  22418. $ref: '#/definitions/app.Response'
  22419. security:
  22420. - ApiKeyAuth: []
  22421. summary: 查询现货商品参数变更申请(流水)
  22422. tags:
  22423. - 企业风险管理v3(app)
  22424. /Ermcp3/QueryRootUserAccount:
  22425. get:
  22426. parameters:
  22427. - description: 用户ID
  22428. in: query
  22429. name: userid
  22430. required: true
  22431. type: integer
  22432. produces:
  22433. - application/json
  22434. responses:
  22435. "200":
  22436. description: OK
  22437. schema:
  22438. items:
  22439. $ref: '#/definitions/models.Ermcp3RootUserAccount'
  22440. type: array
  22441. "500":
  22442. description: Internal Server Error
  22443. schema:
  22444. $ref: '#/definitions/app.Response'
  22445. security:
  22446. - ApiKeyAuth: []
  22447. summary: 查询顶级用户信息
  22448. tags:
  22449. - 企业风险管理v3(app)
  22450. /Ermcp3/QuerySCMiddleGoods:
  22451. get:
  22452. description: |-
  22453. 页面 app 现货->期现关联->期现单据关联->点"关联"按钮->弹出界面 : 现货订单
  22454. 现货编号 即 合同编号
  22455. parameters:
  22456. - description: 用户ID(填登录用户的userid)
  22457. in: query
  22458. name: userid
  22459. required: true
  22460. type: integer
  22461. - description: 买卖方向 0-买 1-卖
  22462. in: query
  22463. name: buyorsell
  22464. required: true
  22465. type: integer
  22466. - description: 商品组id
  22467. in: query
  22468. name: goodsgroupid
  22469. required: true
  22470. type: integer
  22471. - description: 业务类型 1:套保 2:套利
  22472. in: query
  22473. name: biztype
  22474. type: integer
  22475. - description: 现货编号(模糊匹配)
  22476. in: query
  22477. name: contractno
  22478. type: string
  22479. - description: 对手方(模糊匹配)
  22480. in: query
  22481. name: customername
  22482. type: string
  22483. - description: 现货商品名称(模糊匹配)
  22484. in: query
  22485. name: wrstandardname
  22486. type: string
  22487. produces:
  22488. - application/json
  22489. responses:
  22490. "200":
  22491. description: OK
  22492. schema:
  22493. items:
  22494. $ref: '#/definitions/models.Ermcp3SCMiddleGoods'
  22495. type: array
  22496. "500":
  22497. description: Internal Server Error
  22498. schema:
  22499. $ref: '#/definitions/app.Response'
  22500. security:
  22501. - ApiKeyAuth: []
  22502. summary: 查询现货订单
  22503. tags:
  22504. - 企业风险管理v3(app)
  22505. /Ermcp3/QuerySpotContract:
  22506. get:
  22507. parameters:
  22508. - description: 用户id(当指定contractid, userid可不填)
  22509. in: query
  22510. name: userid
  22511. required: true
  22512. type: integer
  22513. - description: 用户类型 2-机构 7-企业成员
  22514. in: query
  22515. name: usertype
  22516. type: integer
  22517. - description: 合同类型 1-采购, -1-销售
  22518. in: query
  22519. name: contracttype
  22520. type: integer
  22521. - description: 查询类型(逗号隔开, 如1,2,3) 1-未提交 2-待审核 3-履约中 4-已完成
  22522. in: query
  22523. name: querytype
  22524. type: string
  22525. - description: 合同ID(SpotContractId)
  22526. in: query
  22527. name: contractid
  22528. type: string
  22529. - description: 合同编号(模糊匹配)
  22530. in: query
  22531. name: contractno
  22532. type: string
  22533. - description: 商品名称(模糊匹配)
  22534. in: query
  22535. name: wrstandardname
  22536. type: string
  22537. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中
  22538. 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  22539. in: query
  22540. name: status
  22541. type: string
  22542. - description: 是否只查今日的合同 1-查今日合同
  22543. in: query
  22544. name: istoday
  22545. type: integer
  22546. produces:
  22547. - application/json
  22548. responses:
  22549. "200":
  22550. description: OK
  22551. schema:
  22552. items:
  22553. $ref: '#/definitions/models.Ermcp3Contract'
  22554. type: array
  22555. "500":
  22556. description: Internal Server Error
  22557. schema:
  22558. $ref: '#/definitions/app.Response'
  22559. security:
  22560. - ApiKeyAuth: []
  22561. summary: 查询现货合同
  22562. tags:
  22563. - 企业风险管理v3(app)
  22564. /Ermcp3/QuerySpotContractBS:
  22565. get:
  22566. parameters:
  22567. - description: 用户id
  22568. in: query
  22569. name: userid
  22570. required: true
  22571. type: integer
  22572. - description: 用户类型 2-机构 7-企业成员
  22573. in: query
  22574. name: usertype
  22575. type: integer
  22576. - description: 合同类型 1-采购, -1-销售
  22577. in: query
  22578. name: contracttype
  22579. required: true
  22580. type: integer
  22581. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  22582. in: query
  22583. name: querytype
  22584. type: integer
  22585. - description: 合同ID(SpotContractId)
  22586. in: query
  22587. name: contractid
  22588. type: string
  22589. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中
  22590. 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  22591. in: query
  22592. name: status
  22593. type: string
  22594. - description: 是否只查今日的合同 1-查今日合同
  22595. in: query
  22596. name: istoday
  22597. type: integer
  22598. produces:
  22599. - application/json
  22600. responses:
  22601. "200":
  22602. description: OK
  22603. schema:
  22604. items:
  22605. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  22606. type: array
  22607. "500":
  22608. description: Internal Server Error
  22609. schema:
  22610. $ref: '#/definitions/app.Response'
  22611. security:
  22612. - ApiKeyAuth: []
  22613. summary: 查询合同(采购/销售)
  22614. tags:
  22615. - 企业风险管理v3(app)
  22616. /Ermcp3/QuerySpotGoodsPrice:
  22617. get:
  22618. parameters:
  22619. - description: 用户ID
  22620. in: query
  22621. name: userid
  22622. required: true
  22623. type: integer
  22624. produces:
  22625. - application/json
  22626. responses:
  22627. "200":
  22628. description: OK
  22629. schema:
  22630. items:
  22631. $ref: '#/definitions/models.Ermcp3SpotGoodsPrice'
  22632. type: array
  22633. "500":
  22634. description: Internal Server Error
  22635. schema:
  22636. $ref: '#/definitions/app.Response'
  22637. security:
  22638. - ApiKeyAuth: []
  22639. summary: 查询现货市价(现货市价)
  22640. tags:
  22641. - 企业风险管理v3(app)
  22642. /Ermcp3/QuerySpotGoodsPriceLog:
  22643. get:
  22644. parameters:
  22645. - description: 用户ID
  22646. in: query
  22647. name: userid
  22648. required: true
  22649. type: integer
  22650. - description: 现货商品ID
  22651. in: query
  22652. name: deliverygoodsid
  22653. required: true
  22654. type: integer
  22655. - description: 品牌ID
  22656. in: query
  22657. name: brandid
  22658. type: integer
  22659. - description: 品类ID
  22660. in: query
  22661. name: wrstandardid
  22662. type: integer
  22663. produces:
  22664. - application/json
  22665. responses:
  22666. "200":
  22667. description: OK
  22668. schema:
  22669. items:
  22670. $ref: '#/definitions/models.Ermcp3SpotGoodsPriceLog'
  22671. type: array
  22672. "500":
  22673. description: Internal Server Error
  22674. schema:
  22675. $ref: '#/definitions/app.Response'
  22676. security:
  22677. - ApiKeyAuth: []
  22678. summary: 查询现货市价详情(现货市价/详情)
  22679. tags:
  22680. - 企业风险管理v3(app)
  22681. /Ermcp3/QuerySubTaaccount:
  22682. get:
  22683. description: 页面 app 现货->期现关联->外部成交单关联->点"关联"按钮->选择期货子账户
  22684. parameters:
  22685. - description: 母账号id
  22686. in: query
  22687. name: parentaccountid
  22688. type: integer
  22689. - description: 母账号代码
  22690. in: query
  22691. name: parentaccountcode
  22692. type: string
  22693. produces:
  22694. - application/json
  22695. responses:
  22696. "200":
  22697. description: OK
  22698. schema:
  22699. items:
  22700. $ref: '#/definitions/models.Ermcp3SubTaaccount'
  22701. type: array
  22702. "500":
  22703. description: Internal Server Error
  22704. schema:
  22705. $ref: '#/definitions/app.Response'
  22706. security:
  22707. - ApiKeyAuth: []
  22708. summary: 查询期货子账户
  22709. tags:
  22710. - 企业风险管理v3(app)
  22711. /Ermcp8/QueryERMCP2HedgedItemSpotDetail:
  22712. get:
  22713. parameters:
  22714. - description: 套期项目ID
  22715. in: query
  22716. name: hedgeditemid
  22717. required: true
  22718. type: integer
  22719. produces:
  22720. - application/json
  22721. responses:
  22722. "200":
  22723. description: OK
  22724. schema:
  22725. items:
  22726. $ref: '#/definitions/models.Ermcp2hedgeditemspotDetail'
  22727. type: array
  22728. "500":
  22729. description: Internal Server Error
  22730. schema:
  22731. $ref: '#/definitions/app.Response'
  22732. security:
  22733. - ApiKeyAuth: []
  22734. summary: 现货成交明细查询
  22735. tags:
  22736. - 企业风险管理v8
  22737. /Ermcp8/QueryERMCP2HedgedItemspot:
  22738. get:
  22739. parameters:
  22740. - description: 套期项目ID
  22741. in: query
  22742. name: hedgeditemid
  22743. required: true
  22744. type: integer
  22745. produces:
  22746. - application/json
  22747. responses:
  22748. "200":
  22749. description: OK
  22750. schema:
  22751. items:
  22752. $ref: '#/definitions/models.Ermcp2hedgeditemspot'
  22753. type: array
  22754. "500":
  22755. description: Internal Server Error
  22756. schema:
  22757. $ref: '#/definitions/app.Response'
  22758. security:
  22759. - ApiKeyAuth: []
  22760. summary: 套期计划明细查询
  22761. tags:
  22762. - 企业风险管理v8
  22763. /Ermcp8/QueryERMCPJRLinkPos:
  22764. get:
  22765. parameters:
  22766. - description: 套期项目ID
  22767. in: query
  22768. name: hedgeditemid
  22769. required: true
  22770. type: integer
  22771. produces:
  22772. - application/json
  22773. responses:
  22774. "200":
  22775. description: OK
  22776. schema:
  22777. items:
  22778. $ref: '#/definitions/models.Ermcpjrlinkpos'
  22779. type: array
  22780. "500":
  22781. description: Internal Server Error
  22782. schema:
  22783. $ref: '#/definitions/app.Response'
  22784. security:
  22785. - ApiKeyAuth: []
  22786. summary: 期货持仓明细查询
  22787. tags:
  22788. - 企业风险管理v8
  22789. /Ermcp8/QueryERMCPPatradeLinkDetail:
  22790. get:
  22791. parameters:
  22792. - description: 套期项目ID
  22793. in: query
  22794. name: hedgeditemid
  22795. required: true
  22796. type: integer
  22797. produces:
  22798. - application/json
  22799. responses:
  22800. "200":
  22801. description: OK
  22802. schema:
  22803. items:
  22804. $ref: '#/definitions/models.Ermcppatradelinkdetail'
  22805. type: array
  22806. "500":
  22807. description: Internal Server Error
  22808. schema:
  22809. $ref: '#/definitions/app.Response'
  22810. security:
  22811. - ApiKeyAuth: []
  22812. summary: 期货成交单明细查询
  22813. tags:
  22814. - 企业风险管理v8
  22815. /Ermcp8/QueryErmcp2AreaExposure:
  22816. get:
  22817. parameters:
  22818. - description: 用户ID
  22819. in: query
  22820. name: userid
  22821. required: true
  22822. type: string
  22823. produces:
  22824. - application/json
  22825. responses:
  22826. "200":
  22827. description: OK
  22828. schema:
  22829. items:
  22830. $ref: '#/definitions/models.Ermcp2AreaExposure'
  22831. type: array
  22832. "500":
  22833. description: Internal Server Error
  22834. schema:
  22835. $ref: '#/definitions/app.Response'
  22836. security:
  22837. - ApiKeyAuth: []
  22838. summary: 企业敞口查询
  22839. tags:
  22840. - 企业风险管理v8
  22841. /Ermcp8/QueryErmcp2HedgedItem:
  22842. get:
  22843. description: 已完成项目查询 -> 项目状态 = 3:正常完结 or 5:异常完结
  22844. parameters:
  22845. - description: 用户ID
  22846. in: query
  22847. name: userid
  22848. required: true
  22849. type: string
  22850. - description: 套期类型 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  22851. in: query
  22852. name: hedgedtype
  22853. type: integer
  22854. - description: 项目状态 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  22855. in: query
  22856. name: hedgeditemstatus
  22857. type: integer
  22858. produces:
  22859. - application/json
  22860. responses:
  22861. "200":
  22862. description: OK
  22863. schema:
  22864. items:
  22865. $ref: '#/definitions/models.Ermcp2hedgeditem'
  22866. type: array
  22867. "500":
  22868. description: Internal Server Error
  22869. schema:
  22870. $ref: '#/definitions/app.Response'
  22871. security:
  22872. - ApiKeyAuth: []
  22873. summary: 查询被套期项目信息
  22874. tags:
  22875. - 企业风险管理v8
  22876. /Ermcp8/QueryErmcp2HedgedItemLink:
  22877. get:
  22878. parameters:
  22879. - description: 现货合同ID
  22880. in: query
  22881. name: spotcontractid
  22882. required: true
  22883. type: integer
  22884. produces:
  22885. - application/json
  22886. responses:
  22887. "200":
  22888. description: OK
  22889. schema:
  22890. items:
  22891. $ref: '#/definitions/models.Ermcp2hedgeditemlink'
  22892. type: array
  22893. "500":
  22894. description: Internal Server Error
  22895. schema:
  22896. $ref: '#/definitions/app.Response'
  22897. security:
  22898. - ApiKeyAuth: []
  22899. summary: 现货合同关联被套期项目查询
  22900. tags:
  22901. - 企业风险管理v8
  22902. /Ermcp8/QueryErmcp2HedgedItemsDetail:
  22903. get:
  22904. parameters:
  22905. - description: 用户ID
  22906. in: query
  22907. name: userid
  22908. required: true
  22909. type: integer
  22910. - description: 套保品种ID
  22911. in: query
  22912. name: middlegoodsid
  22913. required: true
  22914. type: integer
  22915. produces:
  22916. - application/json
  22917. responses:
  22918. "200":
  22919. description: OK
  22920. schema:
  22921. items:
  22922. $ref: '#/definitions/models.Ermcp2hedgeditemsDetail'
  22923. type: array
  22924. "500":
  22925. description: Internal Server Error
  22926. schema:
  22927. $ref: '#/definitions/app.Response'
  22928. security:
  22929. - ApiKeyAuth: []
  22930. summary: 敞口明细 - 计划变动明细
  22931. tags:
  22932. - 企业风险管理v8
  22933. /Ermcp8/QueryErmcp2StockSpotChangeLog:
  22934. get:
  22935. parameters:
  22936. - description: 用户ID
  22937. in: query
  22938. name: userid
  22939. required: true
  22940. type: integer
  22941. - description: 套保品种ID
  22942. in: query
  22943. name: middlegoodsid
  22944. required: true
  22945. type: integer
  22946. produces:
  22947. - application/json
  22948. responses:
  22949. "200":
  22950. description: OK
  22951. schema:
  22952. items:
  22953. $ref: '#/definitions/models.Ermcp2stockspotchangelog'
  22954. type: array
  22955. "500":
  22956. description: Internal Server Error
  22957. schema:
  22958. $ref: '#/definitions/app.Response'
  22959. security:
  22960. - ApiKeyAuth: []
  22961. summary: 敞口明细 - 现货变动明细查询
  22962. tags:
  22963. - 企业风险管理v8
  22964. /Ermcp8/QueryErmcp8EnableHedgeditem:
  22965. get:
  22966. parameters:
  22967. - description: 用户ID
  22968. in: query
  22969. name: userid
  22970. required: true
  22971. type: integer
  22972. - description: 现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  22973. in: query
  22974. name: spottype
  22975. required: true
  22976. type: integer
  22977. - description: 现货商品ID
  22978. in: query
  22979. name: wrstandardid
  22980. type: integer
  22981. produces:
  22982. - application/json
  22983. responses:
  22984. "200":
  22985. description: OK
  22986. schema:
  22987. items:
  22988. $ref: '#/definitions/models.Ermcp8EnableHedgeditem'
  22989. type: array
  22990. "500":
  22991. description: Internal Server Error
  22992. schema:
  22993. $ref: '#/definitions/app.Response'
  22994. security:
  22995. - ApiKeyAuth: []
  22996. summary: 可关联项目查询
  22997. tags:
  22998. - 企业风险管理v8
  22999. /Ermcp8/QueryErmcp8HedgeditemReport:
  23000. get:
  23001. parameters:
  23002. - description: 用户ID
  23003. in: query
  23004. name: userid
  23005. required: true
  23006. type: integer
  23007. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  23008. in: query
  23009. name: cycletype
  23010. type: integer
  23011. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  23012. 全(0)【原值】
  23013. in: query
  23014. name: cycletime
  23015. required: true
  23016. type: string
  23017. - description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  23018. in: query
  23019. name: hedgedtype
  23020. type: integer
  23021. - description: 项目状态 - 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  23022. in: query
  23023. name: hedgeditemstatus
  23024. type: integer
  23025. - description: 项目编号,模糊查询
  23026. in: query
  23027. name: hedgeditemnum
  23028. type: string
  23029. - description: 现货商品ID
  23030. in: query
  23031. name: wrstandardid
  23032. type: integer
  23033. produces:
  23034. - application/json
  23035. responses:
  23036. "200":
  23037. description: OK
  23038. schema:
  23039. items:
  23040. $ref: '#/definitions/models.Ermcp8HedgeditemReport'
  23041. type: array
  23042. "500":
  23043. description: Internal Server Error
  23044. schema:
  23045. $ref: '#/definitions/app.Response'
  23046. security:
  23047. - ApiKeyAuth: []
  23048. summary: 套期项目报表查询
  23049. tags:
  23050. - 企业风险管理v8
  23051. /Ermcp8/QueryErmcp8RunningHedgeditem:
  23052. get:
  23053. parameters:
  23054. - description: 用户ID
  23055. in: query
  23056. name: userid
  23057. required: true
  23058. type: string
  23059. produces:
  23060. - application/json
  23061. responses:
  23062. "200":
  23063. description: OK
  23064. schema:
  23065. items:
  23066. $ref: '#/definitions/models.Ermcp8RunningHedgeditem'
  23067. type: array
  23068. "500":
  23069. description: Internal Server Error
  23070. schema:
  23071. $ref: '#/definitions/app.Response'
  23072. security:
  23073. - ApiKeyAuth: []
  23074. summary: 查询执行中项目查询信息
  23075. tags:
  23076. - 企业风险管理v8
  23077. /Ermcp8/QueryInternalEnableTradeDetail:
  23078. get:
  23079. parameters:
  23080. - description: 企业ID
  23081. in: query
  23082. name: areauserid
  23083. required: true
  23084. type: integer
  23085. - description: 期货合约ID
  23086. in: query
  23087. name: goodsid
  23088. required: true
  23089. type: integer
  23090. - description: 交易用户ID
  23091. in: query
  23092. name: tradeuserid
  23093. required: true
  23094. type: integer
  23095. produces:
  23096. - application/json
  23097. responses:
  23098. "200":
  23099. description: OK
  23100. schema:
  23101. items:
  23102. $ref: '#/definitions/models.InternalEnableTradeDetail'
  23103. type: array
  23104. "500":
  23105. description: Internal Server Error
  23106. schema:
  23107. $ref: '#/definitions/app.Response'
  23108. security:
  23109. - ApiKeyAuth: []
  23110. summary: 内部成交单可关联项目查询
  23111. tags:
  23112. - 企业风险管理v8
  23113. /Ermcp8/QueryInternalUncorrelatedTradeDetail:
  23114. get:
  23115. parameters:
  23116. - description: 用户编号
  23117. in: query
  23118. name: userid
  23119. required: true
  23120. type: integer
  23121. - description: 起始日期(格式yyyymmdd)
  23122. in: query
  23123. name: begindate
  23124. type: string
  23125. - description: 终止日期(格式yyyymmdd)
  23126. in: query
  23127. name: enddate
  23128. type: string
  23129. - description: 合约代码
  23130. in: query
  23131. name: goodscode
  23132. type: string
  23133. - description: 合约名称
  23134. in: query
  23135. name: goodsname
  23136. type: string
  23137. - description: 成交单号
  23138. in: query
  23139. name: tradeid
  23140. type: integer
  23141. - description: 方向 - 0:买 1:卖
  23142. in: query
  23143. name: buyorsell
  23144. type: integer
  23145. - description: 套期主体
  23146. in: query
  23147. name: accountname
  23148. type: string
  23149. produces:
  23150. - application/json
  23151. responses:
  23152. "200":
  23153. description: OK
  23154. schema:
  23155. items:
  23156. $ref: '#/definitions/models.InternalUncorrelatedTradeDetail'
  23157. type: array
  23158. "500":
  23159. description: Internal Server Error
  23160. schema:
  23161. $ref: '#/definitions/app.Response'
  23162. security:
  23163. - ApiKeyAuth: []
  23164. summary: 内部未关联成交单查询
  23165. tags:
  23166. - 企业风险管理v8
  23167. /Ermcp8/QueryMarketCalendar:
  23168. get:
  23169. parameters:
  23170. - description: 市场ID
  23171. in: query
  23172. name: marketid
  23173. type: integer
  23174. produces:
  23175. - application/json
  23176. responses:
  23177. "200":
  23178. description: OK
  23179. schema:
  23180. items:
  23181. $ref: '#/definitions/models.Marketcalendar'
  23182. type: array
  23183. "500":
  23184. description: Internal Server Error
  23185. schema:
  23186. $ref: '#/definitions/app.Response'
  23187. security:
  23188. - ApiKeyAuth: []
  23189. summary: 市场节假日查询
  23190. tags:
  23191. - 企业风险管理v8
  23192. /Ermcp8/QueryPatradeLinkDetail:
  23193. get:
  23194. parameters:
  23195. - description: 用户ID
  23196. in: query
  23197. name: userid
  23198. required: true
  23199. type: integer
  23200. - description: 套保品种ID
  23201. in: query
  23202. name: middlegoodsid
  23203. required: true
  23204. type: integer
  23205. produces:
  23206. - application/json
  23207. responses:
  23208. "200":
  23209. description: OK
  23210. schema:
  23211. items:
  23212. $ref: '#/definitions/models.Patradelinkdetail'
  23213. type: array
  23214. "500":
  23215. description: Internal Server Error
  23216. schema:
  23217. $ref: '#/definitions/app.Response'
  23218. security:
  23219. - ApiKeyAuth: []
  23220. summary: 敞口明细 - 期货变动明细
  23221. tags:
  23222. - 企业风险管理v8
  23223. /Ermcp8/QueryUnLinkErmcpHedgePlan:
  23224. get:
  23225. parameters:
  23226. - description: 企业ID
  23227. in: query
  23228. name: areauserid
  23229. required: true
  23230. type: integer
  23231. - description: 计划类型 - 1:采购 -1:销售
  23232. in: query
  23233. name: contracttype
  23234. type: integer
  23235. - description: 计划编号,模糊查询
  23236. in: query
  23237. name: hedgeplanno
  23238. type: string
  23239. - description: 现货商品,模糊查询
  23240. in: query
  23241. name: wrstandardname
  23242. type: string
  23243. produces:
  23244. - application/json
  23245. responses:
  23246. "200":
  23247. description: OK
  23248. schema:
  23249. items:
  23250. $ref: '#/definitions/models.Unlinkermcphedgeplan'
  23251. type: array
  23252. "500":
  23253. description: Internal Server Error
  23254. schema:
  23255. $ref: '#/definitions/app.Response'
  23256. security:
  23257. - ApiKeyAuth: []
  23258. summary: 未关联购销计划
  23259. tags:
  23260. - 企业风险管理v8
  23261. /Ermcp8/QueryUnLinkSpotContract:
  23262. get:
  23263. parameters:
  23264. - description: 用户ID
  23265. in: query
  23266. name: userid
  23267. required: true
  23268. type: integer
  23269. - description: 定价类型 - 1:一口价 2:点价 3:暂定价
  23270. in: query
  23271. name: pricetype
  23272. type: integer
  23273. - description: 合同编号, 模拟查询
  23274. in: query
  23275. name: contractno
  23276. type: string
  23277. - description: 对手方, 模拟查询
  23278. in: query
  23279. name: customername
  23280. type: string
  23281. - description: 项合同类型 - 1:采购 -1:销售
  23282. in: query
  23283. name: contracttype
  23284. type: integer
  23285. produces:
  23286. - application/json
  23287. responses:
  23288. "200":
  23289. description: OK
  23290. schema:
  23291. items:
  23292. $ref: '#/definitions/models.ErmcpSpotContractModelEx'
  23293. type: array
  23294. "500":
  23295. description: Internal Server Error
  23296. schema:
  23297. $ref: '#/definitions/app.Response'
  23298. security:
  23299. - ApiKeyAuth: []
  23300. summary: 未关联合同查询
  23301. tags:
  23302. - 企业风险管理v8
  23303. /Erms2/QueryArbitrageStrategy:
  23304. get:
  23305. parameters:
  23306. - description: 账户ID
  23307. in: query
  23308. name: userid
  23309. required: true
  23310. type: integer
  23311. - description: 商品组ID(品种ID)
  23312. in: query
  23313. name: goodsgroupid
  23314. type: string
  23315. produces:
  23316. - application/json
  23317. responses:
  23318. "200":
  23319. description: OK
  23320. schema:
  23321. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  23322. "500":
  23323. description: Internal Server Error
  23324. schema:
  23325. $ref: '#/definitions/app.Response'
  23326. security:
  23327. - ApiKeyAuth: []
  23328. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  23329. tags:
  23330. - 风险管理
  23331. /Erms2/QueryInnerTradeDetail:
  23332. get:
  23333. parameters:
  23334. - description: 资金账户
  23335. in: query
  23336. name: accountid
  23337. required: true
  23338. type: integer
  23339. produces:
  23340. - application/json
  23341. responses:
  23342. "200":
  23343. description: OK
  23344. schema:
  23345. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  23346. "500":
  23347. description: Internal Server Error
  23348. schema:
  23349. $ref: '#/definitions/app.Response'
  23350. security:
  23351. - ApiKeyAuth: []
  23352. summary: 查询内部成交单信息
  23353. tags:
  23354. - 风险管理
  23355. /Erms2/QuerySpotContract:
  23356. get:
  23357. parameters:
  23358. - description: 策略申请ID
  23359. in: query
  23360. name: asapplyid
  23361. required: true
  23362. type: integer
  23363. - description: 现货合同ID
  23364. in: query
  23365. name: spotcontractid
  23366. type: integer
  23367. produces:
  23368. - application/json
  23369. responses:
  23370. "200":
  23371. description: OK
  23372. schema:
  23373. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  23374. "500":
  23375. description: Internal Server Error
  23376. schema:
  23377. $ref: '#/definitions/app.Response'
  23378. security:
  23379. - ApiKeyAuth: []
  23380. summary: 查询现货合同表信息(指定策略ID、未结束的)
  23381. tags:
  23382. - 风险管理
  23383. /Erms3/AddErms2ASApply:
  23384. post:
  23385. parameters:
  23386. - description: 申请参数
  23387. in: body
  23388. name: jsonBody
  23389. required: true
  23390. schema:
  23391. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  23392. produces:
  23393. - application/json
  23394. responses:
  23395. "200":
  23396. description: OK
  23397. schema:
  23398. $ref: '#/definitions/app.Response'
  23399. "500":
  23400. description: Internal Server Error
  23401. schema:
  23402. $ref: '#/definitions/app.Response'
  23403. security:
  23404. - ApiKeyAuth: []
  23405. summary: 新增期现套利业务申请
  23406. tags:
  23407. - 风险管理v3
  23408. /Erms3/AddErms2SpotTradeApply:
  23409. post:
  23410. parameters:
  23411. - description: 申请参数
  23412. in: body
  23413. name: jsonBody
  23414. required: true
  23415. schema:
  23416. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  23417. produces:
  23418. - application/json
  23419. responses:
  23420. "200":
  23421. description: OK
  23422. schema:
  23423. $ref: '#/definitions/app.Response'
  23424. "500":
  23425. description: Internal Server Error
  23426. schema:
  23427. $ref: '#/definitions/app.Response'
  23428. security:
  23429. - ApiKeyAuth: []
  23430. summary: 新增现货贸易业务申请
  23431. tags:
  23432. - 风险管理v3
  23433. /Erms3/AddSpotContractApply:
  23434. post:
  23435. parameters:
  23436. - description: 申请参数
  23437. in: body
  23438. name: jsonBody
  23439. required: true
  23440. schema:
  23441. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  23442. produces:
  23443. - application/json
  23444. responses:
  23445. "200":
  23446. description: OK
  23447. schema:
  23448. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  23449. "500":
  23450. description: Internal Server Error
  23451. schema:
  23452. $ref: '#/definitions/app.Response'
  23453. security:
  23454. - ApiKeyAuth: []
  23455. summary: 新增现货合同申请
  23456. tags:
  23457. - 风险管理v3
  23458. /Erms3/AddUserInfoApply:
  23459. post:
  23460. parameters:
  23461. - description: 用户信息
  23462. in: body
  23463. name: jsonBody
  23464. required: true
  23465. schema:
  23466. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  23467. produces:
  23468. - application/json
  23469. responses:
  23470. "200":
  23471. description: OK
  23472. schema:
  23473. $ref: '#/definitions/app.Response'
  23474. "500":
  23475. description: Internal Server Error
  23476. schema:
  23477. $ref: '#/definitions/app.Response'
  23478. security:
  23479. - ApiKeyAuth: []
  23480. summary: 新增客户申请
  23481. tags:
  23482. - 风险管理v3
  23483. /Erms3/DeleteUserInfoApply:
  23484. get:
  23485. description: 只可删除 UserState = 1 (未提交)状态的申请信息
  23486. parameters:
  23487. - description: 用户ID
  23488. in: query
  23489. name: userID
  23490. required: true
  23491. type: integer
  23492. produces:
  23493. - application/json
  23494. responses:
  23495. "200":
  23496. description: OK
  23497. schema:
  23498. $ref: '#/definitions/app.Response'
  23499. "500":
  23500. description: Internal Server Error
  23501. schema:
  23502. $ref: '#/definitions/app.Response'
  23503. security:
  23504. - ApiKeyAuth: []
  23505. summary: 删除客户申请
  23506. tags:
  23507. - 风险管理v3
  23508. /Erms3/ModifyUserInfoApply:
  23509. post:
  23510. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid":
  23511. int, "userstate": 2 }'
  23512. parameters:
  23513. - description: 用户信息
  23514. in: body
  23515. name: jsonBody
  23516. required: true
  23517. schema:
  23518. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  23519. produces:
  23520. - application/json
  23521. responses:
  23522. "200":
  23523. description: OK
  23524. schema:
  23525. $ref: '#/definitions/app.Response'
  23526. "500":
  23527. description: Internal Server Error
  23528. schema:
  23529. $ref: '#/definitions/app.Response'
  23530. security:
  23531. - ApiKeyAuth: []
  23532. summary: 修改客户申请
  23533. tags:
  23534. - 风险管理v3
  23535. /Erms3/QueryBusinessInfo:
  23536. get:
  23537. parameters:
  23538. - description: 资金账号ID列表,用逗号分隔
  23539. in: query
  23540. name: accountids
  23541. required: true
  23542. type: string
  23543. - description: 状态,0为未结束 1为已结束
  23544. in: query
  23545. name: status
  23546. required: true
  23547. type: integer
  23548. produces:
  23549. - application/json
  23550. responses:
  23551. "200":
  23552. description: OK
  23553. schema:
  23554. items:
  23555. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  23556. type: array
  23557. "500":
  23558. description: Internal Server Error
  23559. schema:
  23560. $ref: '#/definitions/app.Response'
  23561. security:
  23562. - ApiKeyAuth: []
  23563. summary: 查询业务表单数据
  23564. tags:
  23565. - 风险管理v3
  23566. /Erms3/QueryPendingAuditContract:
  23567. get:
  23568. parameters:
  23569. - description: 资金账号ID列表,逗号隔开
  23570. in: query
  23571. name: accountids
  23572. required: true
  23573. type: string
  23574. - description: 合同类型 1-采购 -1-销售
  23575. in: query
  23576. name: contracttype
  23577. required: true
  23578. type: integer
  23579. - description: 合同模式 1-普通 2-回购
  23580. in: query
  23581. name: contractmode
  23582. required: true
  23583. type: integer
  23584. produces:
  23585. - application/json
  23586. responses:
  23587. "200":
  23588. description: OK
  23589. schema:
  23590. items:
  23591. $ref: '#/definitions/erms3.QryAuditContractRsp'
  23592. type: array
  23593. "500":
  23594. description: Internal Server Error
  23595. schema:
  23596. $ref: '#/definitions/app.Response'
  23597. security:
  23598. - ApiKeyAuth: []
  23599. summary: 查询待审核合同
  23600. tags:
  23601. - 风险管理v3
  23602. /Erms3/QueryPendingBusiness:
  23603. get:
  23604. parameters:
  23605. - description: 资金账号ID列表,逗号隔开
  23606. in: query
  23607. name: accountids
  23608. required: true
  23609. type: string
  23610. produces:
  23611. - application/json
  23612. responses:
  23613. "200":
  23614. description: OK
  23615. schema:
  23616. items:
  23617. $ref: '#/definitions/erms3.QryPendingBizRsp'
  23618. type: array
  23619. "500":
  23620. description: Internal Server Error
  23621. schema:
  23622. $ref: '#/definitions/app.Response'
  23623. security:
  23624. - ApiKeyAuth: []
  23625. summary: 查询待审核基差贸易业务
  23626. tags:
  23627. - 风险管理v3
  23628. /Erms3/QuerySpotContractAppleForm:
  23629. get:
  23630. parameters:
  23631. - description: 登录账号
  23632. in: query
  23633. name: loginID
  23634. required: true
  23635. type: integer
  23636. produces:
  23637. - application/json
  23638. responses:
  23639. "200":
  23640. description: OK
  23641. schema:
  23642. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  23643. "500":
  23644. description: Internal Server Error
  23645. schema:
  23646. $ref: '#/definitions/app.Response'
  23647. security:
  23648. - ApiKeyAuth: []
  23649. summary: 查询合同申请表单数据
  23650. tags:
  23651. - 风险管理v3
  23652. /Erms3/QuerySpotContractDetail:
  23653. get:
  23654. parameters:
  23655. - description: 资金账号ID列表,用逗号分隔
  23656. in: query
  23657. name: accountids
  23658. required: true
  23659. type: string
  23660. - description: 合同类型,1为采购合同 -1为销售合同
  23661. in: query
  23662. name: contracttype
  23663. required: true
  23664. type: integer
  23665. - description: 合同模式,1为普通合同 2为回购销售合同
  23666. in: query
  23667. name: contractmode
  23668. required: true
  23669. type: integer
  23670. - description: 状态,0为履约中 1为已完成
  23671. in: query
  23672. name: status
  23673. required: true
  23674. type: integer
  23675. produces:
  23676. - application/json
  23677. responses:
  23678. "200":
  23679. description: OK
  23680. schema:
  23681. items:
  23682. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  23683. type: array
  23684. "500":
  23685. description: Internal Server Error
  23686. schema:
  23687. $ref: '#/definitions/app.Response'
  23688. security:
  23689. - ApiKeyAuth: []
  23690. summary: 查询合同详细信息
  23691. tags:
  23692. - 风险管理v3
  23693. /Erms3/QueryUserInfoApplies:
  23694. get:
  23695. parameters:
  23696. - description: 页码
  23697. in: query
  23698. name: page
  23699. type: integer
  23700. - description: 每页条数
  23701. in: query
  23702. name: pagesize
  23703. type: integer
  23704. - description: 客户名称,支持模糊查询
  23705. in: query
  23706. name: userName
  23707. type: string
  23708. produces:
  23709. - application/json
  23710. responses:
  23711. "200":
  23712. description: OK
  23713. schema:
  23714. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  23715. "500":
  23716. description: Internal Server Error
  23717. schema:
  23718. $ref: '#/definitions/app.Response'
  23719. security:
  23720. - ApiKeyAuth: []
  23721. summary: 客户申请信息查询
  23722. tags:
  23723. - 风险管理v3
  23724. /Erms3/QueryUserInfos:
  23725. get:
  23726. parameters:
  23727. - description: 页码
  23728. in: query
  23729. name: page
  23730. type: integer
  23731. - description: 每页条数
  23732. in: query
  23733. name: pagesize
  23734. type: integer
  23735. - description: 客户名称,支持模糊查询
  23736. in: query
  23737. name: userName
  23738. type: string
  23739. produces:
  23740. - application/json
  23741. responses:
  23742. "200":
  23743. description: OK
  23744. schema:
  23745. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  23746. "500":
  23747. description: Internal Server Error
  23748. schema:
  23749. $ref: '#/definitions/app.Response'
  23750. security:
  23751. - ApiKeyAuth: []
  23752. summary: 客户信息查询
  23753. tags:
  23754. - 风险管理v3
  23755. /Guangzuan/GetGoods:
  23756. get:
  23757. parameters:
  23758. - description: 商品编号
  23759. in: query
  23760. name: goodsno
  23761. required: true
  23762. type: string
  23763. produces:
  23764. - application/json
  23765. responses:
  23766. "200":
  23767. description: OK
  23768. schema:
  23769. $ref: '#/definitions/models.GZGoods'
  23770. "500":
  23771. description: Internal Server Error
  23772. schema:
  23773. $ref: '#/definitions/app.Response'
  23774. security:
  23775. - ApiKeyAuth: []
  23776. - LoginID: []
  23777. - Group: []
  23778. summary: 获取钻石详情
  23779. tags:
  23780. - 广钻
  23781. /Guangzuan/QueryBuyOrder:
  23782. get:
  23783. parameters:
  23784. - description: 页码
  23785. in: query
  23786. name: page
  23787. type: integer
  23788. - description: 每页条数
  23789. in: query
  23790. name: pagesize
  23791. type: integer
  23792. - description: 商品(查询字段-模糊查询)
  23793. in: query
  23794. name: zsallproperties
  23795. type: string
  23796. - description: 钻石分类, 格式:1,2,3
  23797. in: query
  23798. name: zscategorys
  23799. type: string
  23800. - description: 委托单号
  23801. in: query
  23802. name: wrtradeorderid
  23803. type: integer
  23804. - description: 买方(查询字段-模糊查询)
  23805. in: query
  23806. name: buyusername
  23807. type: string
  23808. produces:
  23809. - application/json
  23810. responses:
  23811. "200":
  23812. description: OK
  23813. schema:
  23814. items:
  23815. $ref: '#/definitions/models.BuyOrder'
  23816. type: array
  23817. "500":
  23818. description: Internal Server Error
  23819. schema:
  23820. $ref: '#/definitions/app.Response'
  23821. security:
  23822. - ApiKeyAuth: []
  23823. - LoginID: []
  23824. - Group: []
  23825. summary: 查询求购大厅委托单
  23826. tags:
  23827. - 广钻
  23828. /Guangzuan/QueryDiamond:
  23829. post:
  23830. parameters:
  23831. - description: 钻石搜索入参
  23832. in: body
  23833. name: data
  23834. required: true
  23835. schema:
  23836. $ref: '#/definitions/models.SellOrderQueryReq'
  23837. produces:
  23838. - application/json
  23839. responses:
  23840. "200":
  23841. description: OK
  23842. schema:
  23843. items:
  23844. $ref: '#/definitions/models.SellOrder'
  23845. type: array
  23846. "500":
  23847. description: Internal Server Error
  23848. schema:
  23849. $ref: '#/definitions/app.Response'
  23850. security:
  23851. - ApiKeyAuth: []
  23852. - LoginID: []
  23853. - Group: []
  23854. summary: 钻石搜索
  23855. tags:
  23856. - 广钻
  23857. /Guangzuan/QueryMyBargainApply:
  23858. get:
  23859. parameters:
  23860. - description: 用户ID
  23861. in: query
  23862. name: userid
  23863. required: true
  23864. type: integer
  23865. - description: 页码
  23866. in: query
  23867. name: page
  23868. type: integer
  23869. - description: 每页条数
  23870. in: query
  23871. name: pagesize
  23872. type: integer
  23873. - description: 申请状态(不传查全部) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  23874. in: query
  23875. name: applystatus
  23876. type: integer
  23877. produces:
  23878. - application/json
  23879. responses:
  23880. "200":
  23881. description: OK
  23882. schema:
  23883. items:
  23884. $ref: '#/definitions/models.MyBargainApply'
  23885. type: array
  23886. "500":
  23887. description: Internal Server Error
  23888. schema:
  23889. $ref: '#/definitions/app.Response'
  23890. security:
  23891. - ApiKeyAuth: []
  23892. - LoginID: []
  23893. - Group: []
  23894. summary: 查询我的询价-求购
  23895. tags:
  23896. - 广钻
  23897. /Guangzuan/QueryMyBuyOrder:
  23898. get:
  23899. parameters:
  23900. - description: 用户ID
  23901. in: query
  23902. name: userid
  23903. required: true
  23904. type: integer
  23905. - description: 页码
  23906. in: query
  23907. name: page
  23908. type: integer
  23909. - description: 每页条数
  23910. in: query
  23911. name: pagesize
  23912. type: integer
  23913. - description: 商品(查询字段-模糊查询)
  23914. in: query
  23915. name: zsallproperties
  23916. type: string
  23917. - description: 钻石分类, 格式:1,2,3
  23918. in: query
  23919. name: zscategorys
  23920. type: string
  23921. - description: 委托单号
  23922. in: query
  23923. name: wrtradeorderid
  23924. type: integer
  23925. - description: 是否历史查询
  23926. in: query
  23927. name: ishis
  23928. type: boolean
  23929. produces:
  23930. - application/json
  23931. responses:
  23932. "200":
  23933. description: OK
  23934. schema:
  23935. items:
  23936. $ref: '#/definitions/models.MyBuyOrder'
  23937. type: array
  23938. "500":
  23939. description: Internal Server Error
  23940. schema:
  23941. $ref: '#/definitions/app.Response'
  23942. security:
  23943. - ApiKeyAuth: []
  23944. - LoginID: []
  23945. - Group: []
  23946. summary: 查询我的求购
  23947. tags:
  23948. - 广钻
  23949. /Guangzuan/QueryMyDeListing:
  23950. get:
  23951. parameters:
  23952. - description: 用户ID
  23953. in: query
  23954. name: userid
  23955. required: true
  23956. type: integer
  23957. - description: 页码
  23958. in: query
  23959. name: page
  23960. type: integer
  23961. - description: 每页条数
  23962. in: query
  23963. name: pagesize
  23964. type: integer
  23965. - description: 商品(查询字段-模糊查询)
  23966. in: query
  23967. name: zsallproperties
  23968. type: string
  23969. - description: 钻石分类, 格式:1,2,3
  23970. in: query
  23971. name: zscategorys
  23972. type: string
  23973. - description: 成交单号
  23974. in: query
  23975. name: wrtradedetailid
  23976. type: integer
  23977. - description: 方向,0-全部(可不传) 1-购买 2-出售
  23978. in: query
  23979. name: buyorsell
  23980. type: integer
  23981. - description: 开始交易日(yyyymmdd)
  23982. in: query
  23983. name: begindate
  23984. type: string
  23985. - description: 结束交易日(yyyymmdd)
  23986. in: query
  23987. name: enddate
  23988. type: string
  23989. produces:
  23990. - application/json
  23991. responses:
  23992. "200":
  23993. description: OK
  23994. schema:
  23995. items:
  23996. $ref: '#/definitions/models.MyDeListing'
  23997. type: array
  23998. "500":
  23999. description: Internal Server Error
  24000. schema:
  24001. $ref: '#/definitions/app.Response'
  24002. security:
  24003. - ApiKeyAuth: []
  24004. - LoginID: []
  24005. - Group: []
  24006. summary: 查询我的摘牌
  24007. tags:
  24008. - 广钻
  24009. /Guangzuan/QueryMyDelistingApply:
  24010. get:
  24011. parameters:
  24012. - description: 用户ID
  24013. in: query
  24014. name: userid
  24015. required: true
  24016. type: integer
  24017. - description: 页码
  24018. in: query
  24019. name: page
  24020. type: integer
  24021. - description: 每页条数
  24022. in: query
  24023. name: pagesize
  24024. type: integer
  24025. - description: 申请状态(不传查全部) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  24026. in: query
  24027. name: applystatus
  24028. type: integer
  24029. produces:
  24030. - application/json
  24031. responses:
  24032. "200":
  24033. description: OK
  24034. schema:
  24035. items:
  24036. $ref: '#/definitions/models.MyDelistingApply'
  24037. type: array
  24038. "500":
  24039. description: Internal Server Error
  24040. schema:
  24041. $ref: '#/definitions/app.Response'
  24042. security:
  24043. - ApiKeyAuth: []
  24044. - LoginID: []
  24045. - Group: []
  24046. summary: 查询我的询价-出售
  24047. tags:
  24048. - 广钻
  24049. /Guangzuan/QueryMySellOrder:
  24050. get:
  24051. parameters:
  24052. - description: 用户ID
  24053. in: query
  24054. name: userid
  24055. required: true
  24056. type: integer
  24057. - description: 页码
  24058. in: query
  24059. name: page
  24060. type: integer
  24061. - description: 每页条数
  24062. in: query
  24063. name: pagesize
  24064. type: integer
  24065. - description: 商品(查询字段-模糊查询)
  24066. in: query
  24067. name: zsallproperties
  24068. type: string
  24069. - description: 钻石分类, 格式:1,2,3
  24070. in: query
  24071. name: zscategorys
  24072. type: string
  24073. - description: 委托单号
  24074. in: query
  24075. name: wrtradeorderid
  24076. type: integer
  24077. - description: 是否历史查询
  24078. in: query
  24079. name: ishis
  24080. type: boolean
  24081. produces:
  24082. - application/json
  24083. responses:
  24084. "200":
  24085. description: OK
  24086. schema:
  24087. items:
  24088. $ref: '#/definitions/models.MySellOrder'
  24089. type: array
  24090. "500":
  24091. description: Internal Server Error
  24092. schema:
  24093. $ref: '#/definitions/app.Response'
  24094. security:
  24095. - ApiKeyAuth: []
  24096. - LoginID: []
  24097. - Group: []
  24098. summary: 查询我的出售
  24099. tags:
  24100. - 广钻
  24101. /Guangzuan/QueryMyWRPosition:
  24102. get:
  24103. parameters:
  24104. - description: 页码
  24105. in: query
  24106. name: page
  24107. type: integer
  24108. - description: 每页条数
  24109. in: query
  24110. name: pagesize
  24111. type: integer
  24112. - description: 登录用户ID
  24113. in: query
  24114. name: wruserid
  24115. required: true
  24116. type: integer
  24117. - description: 商品(查询字段-模糊查询)
  24118. in: query
  24119. name: zsallproperties
  24120. type: string
  24121. - description: 钻石分类, 格式:1,2,3
  24122. in: query
  24123. name: zscategorys
  24124. type: string
  24125. - description: 仓库ID
  24126. in: query
  24127. name: warehouseid
  24128. type: integer
  24129. produces:
  24130. - application/json
  24131. responses:
  24132. "200":
  24133. description: OK
  24134. schema:
  24135. items:
  24136. $ref: '#/definitions/models.MyWRPosition'
  24137. type: array
  24138. "500":
  24139. description: Internal Server Error
  24140. schema:
  24141. $ref: '#/definitions/app.Response'
  24142. security:
  24143. - ApiKeyAuth: []
  24144. - LoginID: []
  24145. - Group: []
  24146. summary: 查询我的库存
  24147. tags:
  24148. - 广钻
  24149. /Guangzuan/QuerySellOrder:
  24150. get:
  24151. parameters:
  24152. - description: 页码
  24153. in: query
  24154. name: page
  24155. type: integer
  24156. - description: 每页条数
  24157. in: query
  24158. name: pagesize
  24159. type: integer
  24160. - description: 商品(查询字段-模糊查询)
  24161. in: query
  24162. name: zsallproperties
  24163. type: string
  24164. - description: 钻石分类, 格式:1,2,3
  24165. in: query
  24166. name: zscategorys
  24167. type: string
  24168. - description: 委托单号
  24169. in: query
  24170. name: wrtradeorderid
  24171. type: integer
  24172. - description: 卖方(查询字段-模糊查询)
  24173. in: query
  24174. name: buyusername
  24175. type: string
  24176. produces:
  24177. - application/json
  24178. responses:
  24179. "200":
  24180. description: OK
  24181. schema:
  24182. items:
  24183. $ref: '#/definitions/models.SellOrder'
  24184. type: array
  24185. "500":
  24186. description: Internal Server Error
  24187. schema:
  24188. $ref: '#/definitions/app.Response'
  24189. security:
  24190. - ApiKeyAuth: []
  24191. - LoginID: []
  24192. - Group: []
  24193. summary: 查询出售大厅委托单
  24194. tags:
  24195. - 广钻
  24196. /Guangzuan/QueryWarehouseInfo:
  24197. get:
  24198. parameters:
  24199. - description: 页码
  24200. in: query
  24201. name: page
  24202. type: integer
  24203. - description: 每页条数
  24204. in: query
  24205. name: pagesize
  24206. type: integer
  24207. - description: 用户ID
  24208. in: query
  24209. name: userid
  24210. required: true
  24211. type: integer
  24212. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  24213. in: query
  24214. name: status
  24215. type: string
  24216. - description: 是返回交易所仓库
  24217. in: query
  24218. name: isincludeexchange
  24219. type: boolean
  24220. produces:
  24221. - application/json
  24222. responses:
  24223. "200":
  24224. description: OK
  24225. schema:
  24226. items:
  24227. $ref: '#/definitions/models.GZWarehouseinfo'
  24228. type: array
  24229. "500":
  24230. description: Internal Server Error
  24231. schema:
  24232. $ref: '#/definitions/app.Response'
  24233. security:
  24234. - ApiKeyAuth: []
  24235. - LoginID: []
  24236. - Group: []
  24237. summary: 查询仓库信息
  24238. tags:
  24239. - 广钻
  24240. /Market/GetAllExExchanges:
  24241. get:
  24242. produces:
  24243. - application/json
  24244. responses:
  24245. "200":
  24246. description: OK
  24247. schema:
  24248. $ref: '#/definitions/models.Goods'
  24249. "500":
  24250. description: Internal Server Error
  24251. schema:
  24252. $ref: '#/definitions/app.Response'
  24253. security:
  24254. - ApiKeyAuth: []
  24255. summary: 获取所有外部交易所信息
  24256. tags:
  24257. - 通用市场
  24258. /Market/QueryGoodsesByLoginID:
  24259. get:
  24260. parameters:
  24261. - description: 登录账号
  24262. in: query
  24263. name: loginID
  24264. required: true
  24265. type: integer
  24266. - description: 市场ID列表,格式:1,2,3
  24267. in: query
  24268. name: marketIDs
  24269. type: string
  24270. produces:
  24271. - application/json
  24272. responses:
  24273. "200":
  24274. description: OK
  24275. schema:
  24276. $ref: '#/definitions/models.Goods'
  24277. "500":
  24278. description: Internal Server Error
  24279. schema:
  24280. $ref: '#/definitions/app.Response'
  24281. security:
  24282. - ApiKeyAuth: []
  24283. summary: 获取登录账号有权限的商品信息
  24284. tags:
  24285. - 通用市场
  24286. /Market/QueryMarketRun:
  24287. get:
  24288. parameters:
  24289. - description: 市场ID,不传返回所有
  24290. in: query
  24291. name: marketID
  24292. type: integer
  24293. produces:
  24294. - application/json
  24295. responses:
  24296. "200":
  24297. description: OK
  24298. schema:
  24299. $ref: '#/definitions/models.Marketrun'
  24300. "500":
  24301. description: Internal Server Error
  24302. schema:
  24303. $ref: '#/definitions/app.Response'
  24304. security:
  24305. - ApiKeyAuth: []
  24306. summary: 查询市场运行信息
  24307. tags:
  24308. - 通用市场
  24309. /Market/QueryMarketsByLoginID:
  24310. get:
  24311. parameters:
  24312. - description: 登录账号
  24313. in: query
  24314. name: loginID
  24315. required: true
  24316. type: integer
  24317. produces:
  24318. - application/json
  24319. responses:
  24320. "200":
  24321. description: OK
  24322. schema:
  24323. $ref: '#/definitions/models.Market'
  24324. "500":
  24325. description: Internal Server Error
  24326. schema:
  24327. $ref: '#/definitions/app.Response'
  24328. security:
  24329. - ApiKeyAuth: []
  24330. summary: 获取登录账号有权限的市场信息
  24331. tags:
  24332. - 通用市场
  24333. /Order/QueryHisTradeDetail:
  24334. get:
  24335. parameters:
  24336. - description: 资金账户 - 格式:1,2,3
  24337. in: query
  24338. name: accountID
  24339. required: true
  24340. type: string
  24341. - description: 成交单号
  24342. in: query
  24343. name: tradeID
  24344. type: integer
  24345. - description: 委托单号
  24346. in: query
  24347. name: orderID
  24348. type: integer
  24349. - description: 商品ID
  24350. in: query
  24351. name: goodsID
  24352. type: integer
  24353. - description: 交易模式 - 格式:1,2,3
  24354. in: query
  24355. name: tradeMode
  24356. type: string
  24357. - description: 委托单据类型
  24358. in: query
  24359. name: buildType
  24360. type: integer
  24361. - description: 成交类别 - 格式:1,2,3
  24362. in: query
  24363. name: tradeType
  24364. type: string
  24365. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  24366. in: query
  24367. name: startDate
  24368. type: string
  24369. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  24370. in: query
  24371. name: endDate
  24372. type: string
  24373. produces:
  24374. - application/json
  24375. responses:
  24376. "200":
  24377. description: OK
  24378. schema:
  24379. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  24380. "500":
  24381. description: Internal Server Error
  24382. schema:
  24383. $ref: '#/definitions/app.Response'
  24384. security:
  24385. - ApiKeyAuth: []
  24386. summary: 历史成交单查询(合约市场)
  24387. tags:
  24388. - 通用单据
  24389. /Order/QueryHisTradeOrderDetail:
  24390. get:
  24391. parameters:
  24392. - description: 资金账户 - 格式:1,2,3
  24393. in: query
  24394. name: accountID
  24395. required: true
  24396. type: string
  24397. - description: 交易模式 - 格式:1,2,3
  24398. in: query
  24399. name: tradeMode
  24400. type: string
  24401. - description: 委托状态 - 格式:1,2,3
  24402. in: query
  24403. name: orderStatus
  24404. type: string
  24405. - description: 委托单号
  24406. in: query
  24407. name: orderID
  24408. type: integer
  24409. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  24410. in: query
  24411. name: startDate
  24412. type: string
  24413. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  24414. in: query
  24415. name: endDate
  24416. type: string
  24417. produces:
  24418. - application/json
  24419. responses:
  24420. "200":
  24421. description: OK
  24422. schema:
  24423. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  24424. "500":
  24425. description: Internal Server Error
  24426. schema:
  24427. $ref: '#/definitions/app.Response'
  24428. security:
  24429. - ApiKeyAuth: []
  24430. summary: 历史委托单查询请求(合约市场)
  24431. tags:
  24432. - 通用单据
  24433. /Order/QueryTradeDetail:
  24434. get:
  24435. parameters:
  24436. - description: 资金账户 - 格式:1,2,3
  24437. in: query
  24438. name: accountID
  24439. required: true
  24440. type: string
  24441. - description: 成交单号
  24442. in: query
  24443. name: tradeID
  24444. type: integer
  24445. - description: 委托单号
  24446. in: query
  24447. name: orderID
  24448. type: integer
  24449. - description: 交易模式 - 格式:1,2,3
  24450. in: query
  24451. name: tradeMode
  24452. type: string
  24453. - description: 委托单据类型
  24454. in: query
  24455. name: buildType
  24456. type: integer
  24457. - description: 成交类别 - 格式:1,2,3
  24458. in: query
  24459. name: tradeType
  24460. type: string
  24461. - description: 商品ID
  24462. in: query
  24463. name: goodsID
  24464. type: integer
  24465. produces:
  24466. - application/json
  24467. responses:
  24468. "200":
  24469. description: OK
  24470. schema:
  24471. $ref: '#/definitions/order.QueryTradeDetailRsp'
  24472. "500":
  24473. description: Internal Server Error
  24474. schema:
  24475. $ref: '#/definitions/app.Response'
  24476. security:
  24477. - ApiKeyAuth: []
  24478. summary: 成交单查询(合约市场)
  24479. tags:
  24480. - 通用单据
  24481. /Order/QueryTradeHolderDetail:
  24482. get:
  24483. parameters:
  24484. - description: 用户id
  24485. in: query
  24486. name: userid
  24487. type: integer
  24488. - description: 资金账号, 格式 1,2,3
  24489. in: query
  24490. name: accids
  24491. type: string
  24492. - description: 交易模式, 格式 1,2,3
  24493. in: query
  24494. name: trademodes
  24495. type: string
  24496. - description: 市场id, 格式 1,2,3
  24497. in: query
  24498. name: marketids
  24499. type: string
  24500. - description: 商品id
  24501. in: query
  24502. name: goodsid
  24503. type: integer
  24504. - description: 买卖方向 0-买 1-卖
  24505. in: query
  24506. name: buyorsell
  24507. type: integer
  24508. produces:
  24509. - application/json
  24510. responses:
  24511. "200":
  24512. description: OK
  24513. schema:
  24514. items:
  24515. $ref: '#/definitions/models.TradeHolderDetail'
  24516. type: array
  24517. "500":
  24518. description: Internal Server Error
  24519. schema:
  24520. $ref: '#/definitions/app.Response'
  24521. security:
  24522. - ApiKeyAuth: []
  24523. summary: 查询持仓明细
  24524. tags:
  24525. - 通用单据
  24526. /Order/QueryTradeOrderDetail:
  24527. get:
  24528. parameters:
  24529. - description: 资金账户 - 格式:1,2,3
  24530. in: query
  24531. name: accountID
  24532. required: true
  24533. type: string
  24534. - description: 交易模式 - 格式:1,2,3
  24535. in: query
  24536. name: tradeMode
  24537. type: string
  24538. - description: 委托状态 - 格式:1,2,3
  24539. in: query
  24540. name: orderStatus
  24541. type: string
  24542. - description: 委托单号
  24543. in: query
  24544. name: orderID
  24545. type: integer
  24546. produces:
  24547. - application/json
  24548. responses:
  24549. "200":
  24550. description: OK
  24551. schema:
  24552. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  24553. "500":
  24554. description: Internal Server Error
  24555. schema:
  24556. $ref: '#/definitions/app.Response'
  24557. security:
  24558. - ApiKeyAuth: []
  24559. summary: 委托单查询请求(合约市场)
  24560. tags:
  24561. - 通用单据
  24562. /Order/QueryTradePosition:
  24563. get:
  24564. parameters:
  24565. - description: 资金账户 - 格式:1,2,3
  24566. in: query
  24567. name: accountID
  24568. required: true
  24569. type: string
  24570. - description: 交易模式 - 格式:1,2,3
  24571. in: query
  24572. name: tradeMode
  24573. type: string
  24574. produces:
  24575. - application/json
  24576. responses:
  24577. "200":
  24578. description: OK
  24579. schema:
  24580. $ref: '#/definitions/order.QueryTradePositionRsp'
  24581. "500":
  24582. description: Internal Server Error
  24583. schema:
  24584. $ref: '#/definitions/app.Response'
  24585. security:
  24586. - ApiKeyAuth: []
  24587. summary: 持仓汇总查询(合约市场)
  24588. tags:
  24589. - 通用单据
  24590. /Quote/QueryHistoryDatas:
  24591. get:
  24592. parameters:
  24593. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  24594. 日线 12:周线 13:月线 14:年线'
  24595. in: query
  24596. name: cycleType
  24597. required: true
  24598. type: integer
  24599. - description: 商品代码
  24600. in: query
  24601. name: goodsCode
  24602. required: true
  24603. type: string
  24604. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  24605. in: query
  24606. name: startTime
  24607. type: string
  24608. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  24609. in: query
  24610. name: endTime
  24611. type: string
  24612. - description: 条数
  24613. in: query
  24614. name: count
  24615. type: integer
  24616. - description: 是否按时间顺序排序(默认为时间倒序排序)
  24617. in: query
  24618. name: isAsc
  24619. type: boolean
  24620. produces:
  24621. - application/json
  24622. responses:
  24623. "200":
  24624. description: OK
  24625. schema:
  24626. $ref: '#/definitions/quote.HistoryData'
  24627. "500":
  24628. description: Internal Server Error
  24629. schema:
  24630. $ref: '#/definitions/app.Response'
  24631. security:
  24632. - ApiKeyAuth: []
  24633. summary: 查询行情历史数据
  24634. tags:
  24635. - 行情服务
  24636. /Quote/QueryHistoryTikDatas:
  24637. get:
  24638. parameters:
  24639. - description: 商品代码
  24640. in: query
  24641. name: goodsCode
  24642. required: true
  24643. type: string
  24644. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  24645. in: query
  24646. name: startTime
  24647. type: string
  24648. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  24649. in: query
  24650. name: endTime
  24651. type: string
  24652. - description: 条数
  24653. in: query
  24654. name: count
  24655. type: integer
  24656. - description: 是否按时间顺序排序(默认为时间倒序排序)
  24657. in: query
  24658. name: isAsc
  24659. type: boolean
  24660. produces:
  24661. - application/json
  24662. responses:
  24663. "200":
  24664. description: OK
  24665. schema:
  24666. $ref: '#/definitions/quote.HistoryTikData'
  24667. "500":
  24668. description: Internal Server Error
  24669. schema:
  24670. $ref: '#/definitions/app.Response'
  24671. security:
  24672. - ApiKeyAuth: []
  24673. summary: 查询行情Tik数据
  24674. tags:
  24675. - 行情服务
  24676. /Quote/QueryQuoteDay:
  24677. get:
  24678. parameters:
  24679. - description: 此参数不填则查所有;商品代码列表,格式:CU2102,CU2103,AL2107
  24680. in: query
  24681. name: goodsCodes
  24682. type: string
  24683. produces:
  24684. - application/json
  24685. responses:
  24686. "200":
  24687. description: OK
  24688. schema:
  24689. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  24690. "500":
  24691. description: Internal Server Error
  24692. schema:
  24693. $ref: '#/definitions/app.Response'
  24694. security:
  24695. - ApiKeyAuth: []
  24696. summary: 获取商品盘面信息
  24697. tags:
  24698. - 行情服务
  24699. /Quote/QueryTSData:
  24700. get:
  24701. parameters:
  24702. - description: 商品代码
  24703. in: query
  24704. name: goodsCode
  24705. required: true
  24706. type: string
  24707. produces:
  24708. - application/json
  24709. responses:
  24710. "200":
  24711. description: OK
  24712. schema:
  24713. $ref: '#/definitions/quote.QueryTSDataRsp'
  24714. "500":
  24715. description: Internal Server Error
  24716. schema:
  24717. $ref: '#/definitions/app.Response'
  24718. security:
  24719. - ApiKeyAuth: []
  24720. summary: 分时图数据查询
  24721. tags:
  24722. - 行情服务
  24723. /SZDZ/QueryConvertConfig:
  24724. get:
  24725. parameters:
  24726. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  24727. 6:交易转花生米(不设置)
  24728. in: query
  24729. name: convertType
  24730. type: integer
  24731. - description: 外部商品代码[JD\PD]
  24732. in: query
  24733. name: outerGoodsCode
  24734. type: string
  24735. - description: 内部商品ID列表[交易],格式:1,2,3
  24736. in: query
  24737. name: innerGoodsIDs
  24738. type: string
  24739. produces:
  24740. - application/json
  24741. responses:
  24742. "200":
  24743. description: OK
  24744. schema:
  24745. $ref: '#/definitions/models.Szdz3convertconfig'
  24746. "500":
  24747. description: Internal Server Error
  24748. schema:
  24749. $ref: '#/definitions/app.Response'
  24750. security:
  24751. - ApiKeyAuth: []
  24752. summary: 查询交易系统转换设置
  24753. tags:
  24754. - 定制【尚志大宗】
  24755. /SZDZ/QueryConvertLog:
  24756. get:
  24757. parameters:
  24758. - description: 资金账户 - 格式:1,2,3
  24759. in: query
  24760. name: accountID
  24761. required: true
  24762. type: string
  24763. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  24764. in: query
  24765. name: startDate
  24766. type: string
  24767. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  24768. in: query
  24769. name: endDate
  24770. type: string
  24771. produces:
  24772. - application/json
  24773. responses:
  24774. "200":
  24775. description: OK
  24776. schema:
  24777. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  24778. "500":
  24779. description: Internal Server Error
  24780. schema:
  24781. $ref: '#/definitions/app.Response'
  24782. security:
  24783. - ApiKeyAuth: []
  24784. summary: 交易系统转换流水查询
  24785. tags:
  24786. - 定制【尚志大宗】
  24787. /SZDZ/QueryGoodsPickup:
  24788. get:
  24789. parameters:
  24790. - description: 资金账户 - 格式:1,2,3
  24791. in: query
  24792. name: accountID
  24793. required: true
  24794. type: string
  24795. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  24796. in: query
  24797. name: takeOrderStatus
  24798. type: integer
  24799. produces:
  24800. - application/json
  24801. responses:
  24802. "200":
  24803. description: OK
  24804. schema:
  24805. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  24806. "500":
  24807. description: Internal Server Error
  24808. schema:
  24809. $ref: '#/definitions/app.Response'
  24810. security:
  24811. - ApiKeyAuth: []
  24812. summary: 商品提货单查询
  24813. tags:
  24814. - 定制【尚志大宗】
  24815. /SZDZ/QueryRecieptOrder:
  24816. get:
  24817. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  24818. parameters:
  24819. - description: 页码
  24820. in: query
  24821. name: page
  24822. type: integer
  24823. - description: 每页条数
  24824. in: query
  24825. name: pagesize
  24826. type: integer
  24827. - description: 商品ID
  24828. in: query
  24829. name: goodsID
  24830. required: true
  24831. type: integer
  24832. - description: 所属账户名称
  24833. in: query
  24834. name: accountName
  24835. type: string
  24836. - description: 市场ID
  24837. in: query
  24838. name: marketID
  24839. type: integer
  24840. - description: 方向 - 0:买 1:卖
  24841. in: query
  24842. name: buyorsell
  24843. required: true
  24844. type: integer
  24845. produces:
  24846. - application/json
  24847. responses:
  24848. "200":
  24849. description: OK
  24850. schema:
  24851. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  24852. "500":
  24853. description: Internal Server Error
  24854. schema:
  24855. $ref: '#/definitions/app.Response'
  24856. security:
  24857. - ApiKeyAuth: []
  24858. summary: 点选挂牌委托单据查询(摘牌大厅)
  24859. tags:
  24860. - 定制【尚志大宗】
  24861. /SZDZ/QuerySZDZTradePosition:
  24862. get:
  24863. parameters:
  24864. - description: 资金账户
  24865. in: query
  24866. name: accountID
  24867. required: true
  24868. type: integer
  24869. produces:
  24870. - application/json
  24871. responses:
  24872. "200":
  24873. description: OK
  24874. schema:
  24875. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  24876. "500":
  24877. description: Internal Server Error
  24878. schema:
  24879. $ref: '#/definitions/app.Response'
  24880. security:
  24881. - ApiKeyAuth: []
  24882. summary: 持仓汇总查询(尚志大宗)
  24883. tags:
  24884. - 定制【尚志大宗】
  24885. /SZDZ/SearchWhite:
  24886. get:
  24887. parameters:
  24888. - description: 用户ID
  24889. in: query
  24890. name: userID
  24891. required: true
  24892. type: integer
  24893. produces:
  24894. - application/json
  24895. responses:
  24896. "200":
  24897. description: OK
  24898. schema:
  24899. $ref: '#/definitions/models.Szdz3searchwhitelist'
  24900. "500":
  24901. description: Internal Server Error
  24902. schema:
  24903. $ref: '#/definitions/app.Response'
  24904. security:
  24905. - ApiKeyAuth: []
  24906. summary: 搜索白名单
  24907. tags:
  24908. - 定制【尚志大宗】
  24909. /Search/SearchGoodses:
  24910. get:
  24911. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  24912. parameters:
  24913. - description: 检索内容
  24914. in: query
  24915. name: content
  24916. required: true
  24917. type: string
  24918. - description: 交易模式,格式:1,2,3
  24919. in: query
  24920. name: tradeModes
  24921. type: string
  24922. produces:
  24923. - application/json
  24924. responses:
  24925. "200":
  24926. description: OK
  24927. schema:
  24928. $ref: '#/definitions/models.SearchGoods'
  24929. "500":
  24930. description: Internal Server Error
  24931. schema:
  24932. $ref: '#/definitions/app.Response'
  24933. summary: 检索商品信息
  24934. tags:
  24935. - 检索服务
  24936. /TaAccount/GetTaAccounts:
  24937. get:
  24938. parameters:
  24939. - description: 登录账户
  24940. in: query
  24941. name: loginID
  24942. required: true
  24943. type: integer
  24944. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  24945. in: query
  24946. name: taAccountType
  24947. type: integer
  24948. produces:
  24949. - application/json
  24950. responses:
  24951. "200":
  24952. description: OK
  24953. schema:
  24954. $ref: '#/definitions/models.Taaccount'
  24955. "500":
  24956. description: Internal Server Error
  24957. schema:
  24958. $ref: '#/definitions/app.Response'
  24959. security:
  24960. - ApiKeyAuth: []
  24961. summary: 获取资金账户信息
  24962. tags:
  24963. - 资金账户
  24964. /TaAccount/QueryAmountLog:
  24965. get:
  24966. parameters:
  24967. - description: 页码
  24968. in: query
  24969. name: page
  24970. type: integer
  24971. - description: 每页条数
  24972. in: query
  24973. name: pagesize
  24974. type: integer
  24975. - description: 资金账户 - 格式:1,2,3
  24976. in: query
  24977. name: accountID
  24978. required: true
  24979. type: string
  24980. - description: 资金操作类型 - 格式:1,2,3
  24981. in: query
  24982. name: OperateType
  24983. type: string
  24984. produces:
  24985. - application/json
  24986. responses:
  24987. "200":
  24988. description: OK
  24989. schema:
  24990. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  24991. "500":
  24992. description: Internal Server Error
  24993. schema:
  24994. $ref: '#/definitions/app.Response'
  24995. security:
  24996. - ApiKeyAuth: []
  24997. summary: 资金流水查询(当前)
  24998. tags:
  24999. - 资金账户
  25000. /TaAccount/QueryHisAmountLog:
  25001. get:
  25002. parameters:
  25003. - description: 页码
  25004. in: query
  25005. name: page
  25006. type: integer
  25007. - description: 每页条数
  25008. in: query
  25009. name: pagesize
  25010. type: integer
  25011. - description: 资金账户 - 格式:1,2,3
  25012. in: query
  25013. name: accountID
  25014. required: true
  25015. type: string
  25016. - description: 资金操作类型 - 格式:1,2,3
  25017. in: query
  25018. name: OperateType
  25019. type: string
  25020. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  25021. in: query
  25022. name: startDate
  25023. type: string
  25024. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  25025. in: query
  25026. name: endDate
  25027. type: string
  25028. produces:
  25029. - application/json
  25030. responses:
  25031. "200":
  25032. description: OK
  25033. schema:
  25034. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  25035. "500":
  25036. description: Internal Server Error
  25037. schema:
  25038. $ref: '#/definitions/app.Response'
  25039. security:
  25040. - ApiKeyAuth: []
  25041. summary: 资金流水查询(历史)
  25042. tags:
  25043. - 资金账户
  25044. /TaAccount/QueryRelatedTaAccount:
  25045. get:
  25046. parameters:
  25047. - description: 关联UserID
  25048. in: query
  25049. name: relateduserid
  25050. required: true
  25051. type: integer
  25052. produces:
  25053. - application/json
  25054. responses:
  25055. "200":
  25056. description: OK
  25057. schema:
  25058. items:
  25059. $ref: '#/definitions/models.RelatedTaAccount'
  25060. type: array
  25061. "500":
  25062. description: Internal Server Error
  25063. schema:
  25064. $ref: '#/definitions/app.Response'
  25065. security:
  25066. - ApiKeyAuth: []
  25067. summary: 查询关联资金账户信息
  25068. tags:
  25069. - 资金账户
  25070. /Tjmd/QueryQuoteGoodsList:
  25071. get:
  25072. description: 用户类型必传, 查掉期报价列表 marketids=掉期市场id
  25073. parameters:
  25074. - description: 用户类型
  25075. in: query
  25076. name: usertype
  25077. required: true
  25078. type: integer
  25079. - description: 市场id, 格式 1,2,3
  25080. in: query
  25081. name: marketids
  25082. type: string
  25083. - description: 商品组id
  25084. in: query
  25085. name: goodsgroupid
  25086. type: integer
  25087. - description: 商品id
  25088. in: query
  25089. name: goodsid
  25090. type: integer
  25091. produces:
  25092. - application/json
  25093. responses:
  25094. "200":
  25095. description: OK
  25096. schema:
  25097. items:
  25098. $ref: '#/definitions/models.TjmdQuoteGoods'
  25099. type: array
  25100. "500":
  25101. description: Internal Server Error
  25102. schema:
  25103. $ref: '#/definitions/app.Response'
  25104. security:
  25105. - ApiKeyAuth: []
  25106. summary: 查询掉期报价列表
  25107. tags:
  25108. - 天津麦顿
  25109. /Tjmd/QueryTjmdHolderDetailTradeInfo:
  25110. get:
  25111. parameters:
  25112. - description: 成交单号
  25113. in: query
  25114. name: tradeid
  25115. required: true
  25116. type: string
  25117. produces:
  25118. - application/json
  25119. responses:
  25120. "200":
  25121. description: OK
  25122. schema:
  25123. items:
  25124. $ref: '#/definitions/models.TjmdHolderDetailTradeInfo'
  25125. type: array
  25126. "500":
  25127. description: Internal Server Error
  25128. schema:
  25129. $ref: '#/definitions/app.Response'
  25130. security:
  25131. - ApiKeyAuth: []
  25132. summary: 掉期商品订单详情(交易确认书)
  25133. tags:
  25134. - 天津麦顿
  25135. /Tjmd/QueryTjmdMarketSection:
  25136. get:
  25137. produces:
  25138. - application/json
  25139. responses:
  25140. "200":
  25141. description: OK
  25142. schema:
  25143. items:
  25144. $ref: '#/definitions/models.TjmdMarketSection'
  25145. type: array
  25146. "500":
  25147. description: Internal Server Error
  25148. schema:
  25149. $ref: '#/definitions/app.Response'
  25150. security:
  25151. - ApiKeyAuth: []
  25152. summary: 查询市场板块
  25153. tags:
  25154. - 天津麦顿
  25155. /Tjmd/QueryTjmdTodayAccountMargin:
  25156. get:
  25157. parameters:
  25158. - description: 市场id
  25159. in: query
  25160. name: marketid
  25161. type: string
  25162. - description: 商品id
  25163. in: query
  25164. name: goodsid
  25165. type: string
  25166. - description: 资金账号
  25167. in: query
  25168. name: accountid
  25169. type: string
  25170. produces:
  25171. - application/json
  25172. responses:
  25173. "200":
  25174. description: OK
  25175. schema:
  25176. items:
  25177. $ref: '#/definitions/models.TjmdTodayAccountMargin'
  25178. type: array
  25179. "500":
  25180. description: Internal Server Error
  25181. schema:
  25182. $ref: '#/definitions/app.Response'
  25183. security:
  25184. - ApiKeyAuth: []
  25185. summary: 查询今日账户保证金配置
  25186. tags:
  25187. - 天津麦顿
  25188. /Tjmd/QueryTjmdTradeOrderDetail:
  25189. get:
  25190. description: 用户类型必传, 投资者只能看到自营会员的单, 反之亦然
  25191. parameters:
  25192. - description: 页码
  25193. in: query
  25194. name: page
  25195. type: integer
  25196. - description: 每页条数
  25197. in: query
  25198. name: pagesize
  25199. type: integer
  25200. - description: 用户id
  25201. in: query
  25202. name: userid
  25203. required: true
  25204. type: integer
  25205. - description: 用户类型
  25206. in: query
  25207. name: usertype
  25208. required: true
  25209. type: integer
  25210. - description: 市场id, 格式 1,2,3
  25211. in: query
  25212. name: marketids
  25213. type: string
  25214. - description: 商品id
  25215. in: query
  25216. name: goodsid
  25217. required: true
  25218. type: integer
  25219. - description: 买卖方向 0-买 1-卖
  25220. in: query
  25221. name: buyorsell
  25222. required: true
  25223. type: integer
  25224. produces:
  25225. - application/json
  25226. responses:
  25227. "200":
  25228. description: OK
  25229. schema:
  25230. items:
  25231. $ref: '#/definitions/models.TjmdTradeOrderDetail'
  25232. type: array
  25233. "500":
  25234. description: Internal Server Error
  25235. schema:
  25236. $ref: '#/definitions/app.Response'
  25237. security:
  25238. - ApiKeyAuth: []
  25239. summary: 查询掉期买卖大厅
  25240. tags:
  25241. - 天津麦顿
  25242. /Tjmd/QueryTjmdTransferApply:
  25243. get:
  25244. parameters:
  25245. - description: 类型 1-我的申请 2-对方申请
  25246. in: query
  25247. name: applytype
  25248. required: true
  25249. type: integer
  25250. - description: 市场id, 格式 1,2,3
  25251. in: query
  25252. name: marketids
  25253. type: string
  25254. - description: 资金账号, 格式 25000000001,25000000003
  25255. in: query
  25256. name: accountids
  25257. type: string
  25258. - description: 开始交易日(yyyymmdd)
  25259. in: query
  25260. name: begindate
  25261. type: string
  25262. - description: 结束交易日(yyyymmdd)
  25263. in: query
  25264. name: enddate
  25265. type: string
  25266. produces:
  25267. - application/json
  25268. responses:
  25269. "200":
  25270. description: OK
  25271. schema:
  25272. items:
  25273. $ref: '#/definitions/models.TjmdTransferApply'
  25274. type: array
  25275. "500":
  25276. description: Internal Server Error
  25277. schema:
  25278. $ref: '#/definitions/app.Response'
  25279. security:
  25280. - ApiKeyAuth: []
  25281. summary: 查询掉期协议单
  25282. tags:
  25283. - 天津麦顿
  25284. /Trade/QueryRecieptOrder:
  25285. get:
  25286. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  25287. parameters:
  25288. - description: 页码
  25289. in: query
  25290. name: page
  25291. type: integer
  25292. - description: 每页条数
  25293. in: query
  25294. name: pagesize
  25295. type: integer
  25296. - description: 商品ID
  25297. in: query
  25298. name: goodsID
  25299. required: true
  25300. type: integer
  25301. - description: 所属账户名称
  25302. in: query
  25303. name: accountName
  25304. type: string
  25305. - description: 市场ID
  25306. in: query
  25307. name: marketID
  25308. type: integer
  25309. - description: 方向 - 0:买 1:卖
  25310. in: query
  25311. name: buyorsell
  25312. required: true
  25313. type: integer
  25314. produces:
  25315. - application/json
  25316. responses:
  25317. "200":
  25318. description: OK
  25319. schema:
  25320. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  25321. "500":
  25322. description: Internal Server Error
  25323. schema:
  25324. $ref: '#/definitions/app.Response'
  25325. security:
  25326. - ApiKeyAuth: []
  25327. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  25328. tags:
  25329. - 通用交易
  25330. /User/AddMessageBoard:
  25331. post:
  25332. parameters:
  25333. - description: 用户ID
  25334. in: query
  25335. name: userID
  25336. required: true
  25337. type: integer
  25338. - description: 留言信息
  25339. in: query
  25340. name: message
  25341. required: true
  25342. type: string
  25343. - description: 联系电话
  25344. in: query
  25345. name: contactNum
  25346. required: true
  25347. type: string
  25348. produces:
  25349. - application/json
  25350. responses:
  25351. "200":
  25352. description: OK
  25353. schema:
  25354. $ref: '#/definitions/app.Response'
  25355. "500":
  25356. description: Internal Server Error
  25357. schema:
  25358. $ref: '#/definitions/app.Response'
  25359. security:
  25360. - ApiKeyAuth: []
  25361. summary: 添加用户留言板信息
  25362. tags:
  25363. - 用户信息
  25364. /User/AddUserFavoriteGoods:
  25365. post:
  25366. parameters:
  25367. - description: 用户ID
  25368. in: query
  25369. name: userID
  25370. required: true
  25371. type: integer
  25372. - description: 商品ID
  25373. in: query
  25374. name: goodsID
  25375. required: true
  25376. type: integer
  25377. produces:
  25378. - application/json
  25379. responses:
  25380. "200":
  25381. description: OK
  25382. schema:
  25383. $ref: '#/definitions/app.Response'
  25384. "500":
  25385. description: Internal Server Error
  25386. schema:
  25387. $ref: '#/definitions/app.Response'
  25388. security:
  25389. - ApiKeyAuth: []
  25390. summary: 添加用户商品收藏信息
  25391. tags:
  25392. - 用户信息
  25393. /User/GetLoginID:
  25394. get:
  25395. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  25396. parameters:
  25397. - description: 登录代码
  25398. in: query
  25399. name: username
  25400. required: true
  25401. type: string
  25402. produces:
  25403. - application/json
  25404. responses:
  25405. "200":
  25406. description: OK
  25407. schema:
  25408. $ref: '#/definitions/app.Response'
  25409. "500":
  25410. description: Internal Server Error
  25411. schema:
  25412. $ref: '#/definitions/app.Response'
  25413. summary: 获取登录ID
  25414. tags:
  25415. - 用户信息
  25416. /User/GetUserAccount:
  25417. get:
  25418. parameters:
  25419. - description: 用户ID
  25420. in: query
  25421. name: userID
  25422. required: true
  25423. type: integer
  25424. produces:
  25425. - application/json
  25426. responses:
  25427. "200":
  25428. description: OK
  25429. schema:
  25430. $ref: '#/definitions/models.Useraccount'
  25431. "500":
  25432. description: Internal Server Error
  25433. schema:
  25434. $ref: '#/definitions/app.Response'
  25435. security:
  25436. - ApiKeyAuth: []
  25437. summary: 获取用户账号信息
  25438. tags:
  25439. - 用户信息
  25440. /User/GetUserAuthStatus:
  25441. get:
  25442. parameters:
  25443. - description: 用户ID
  25444. in: query
  25445. name: userID
  25446. required: true
  25447. type: integer
  25448. produces:
  25449. - application/json
  25450. responses:
  25451. "200":
  25452. description: OK
  25453. schema:
  25454. $ref: '#/definitions/app.Response'
  25455. "500":
  25456. description: Internal Server Error
  25457. schema:
  25458. $ref: '#/definitions/app.Response'
  25459. security:
  25460. - ApiKeyAuth: []
  25461. summary: 获取用户实名认证状态
  25462. tags:
  25463. - 用户信息
  25464. /User/LoginQuery:
  25465. get:
  25466. parameters:
  25467. - description: 登录账号
  25468. in: query
  25469. name: loginID
  25470. required: true
  25471. type: integer
  25472. produces:
  25473. - application/json
  25474. responses:
  25475. "200":
  25476. description: OK
  25477. schema:
  25478. $ref: '#/definitions/user.LoginQueryRsp'
  25479. "500":
  25480. description: Internal Server Error
  25481. schema:
  25482. $ref: '#/definitions/app.Response'
  25483. security:
  25484. - ApiKeyAuth: []
  25485. summary: 账户登录后信息查询
  25486. tags:
  25487. - 用户信息
  25488. /User/QueryMessageBoard:
  25489. get:
  25490. parameters:
  25491. - description: 用户ID
  25492. in: query
  25493. name: userID
  25494. required: true
  25495. type: integer
  25496. produces:
  25497. - application/json
  25498. responses:
  25499. "200":
  25500. description: OK
  25501. schema:
  25502. $ref: '#/definitions/models.Messageboard'
  25503. "500":
  25504. description: Internal Server Error
  25505. schema:
  25506. $ref: '#/definitions/app.Response'
  25507. security:
  25508. - ApiKeyAuth: []
  25509. summary: 获取用户留言板信息
  25510. tags:
  25511. - 用户信息
  25512. /User/QueryUserFavoriteGoodses:
  25513. get:
  25514. parameters:
  25515. - description: 用户ID
  25516. in: query
  25517. name: userID
  25518. required: true
  25519. type: integer
  25520. produces:
  25521. - application/json
  25522. responses:
  25523. "200":
  25524. description: OK
  25525. schema:
  25526. $ref: '#/definitions/models.Userfavoritegoods'
  25527. "500":
  25528. description: Internal Server Error
  25529. schema:
  25530. $ref: '#/definitions/app.Response'
  25531. security:
  25532. - ApiKeyAuth: []
  25533. summary: 获取用户商品收藏信息
  25534. tags:
  25535. - 用户信息
  25536. /User/QueryUserInfo:
  25537. get:
  25538. parameters:
  25539. - description: 用户ID
  25540. in: query
  25541. name: userID
  25542. required: true
  25543. type: integer
  25544. - description: 是否解密
  25545. in: query
  25546. name: isDecrypt
  25547. type: boolean
  25548. produces:
  25549. - application/json
  25550. responses:
  25551. "200":
  25552. description: OK
  25553. schema:
  25554. $ref: '#/definitions/models.Userinfo'
  25555. "500":
  25556. description: Internal Server Error
  25557. schema:
  25558. $ref: '#/definitions/app.Response'
  25559. security:
  25560. - ApiKeyAuth: []
  25561. summary: 获取用户信息
  25562. tags:
  25563. - 用户信息
  25564. /User/QueryUserReferNum:
  25565. get:
  25566. parameters:
  25567. - description: 用户ID
  25568. in: query
  25569. name: userID
  25570. required: true
  25571. type: integer
  25572. produces:
  25573. - application/json
  25574. responses:
  25575. "200":
  25576. description: OK
  25577. schema:
  25578. $ref: '#/definitions/app.Response'
  25579. "500":
  25580. description: Internal Server Error
  25581. schema:
  25582. $ref: '#/definitions/app.Response'
  25583. summary: 获取用户邀请码
  25584. tags:
  25585. - 用户信息
  25586. /User/RemoveUserFavoriteGoods:
  25587. post:
  25588. parameters:
  25589. - description: 用户ID
  25590. in: query
  25591. name: userID
  25592. required: true
  25593. type: integer
  25594. - description: 商品ID
  25595. in: query
  25596. name: goodsID
  25597. required: true
  25598. type: integer
  25599. produces:
  25600. - application/json
  25601. responses:
  25602. "200":
  25603. description: OK
  25604. schema:
  25605. $ref: '#/definitions/app.Response'
  25606. "500":
  25607. description: Internal Server Error
  25608. schema:
  25609. $ref: '#/definitions/app.Response'
  25610. security:
  25611. - ApiKeyAuth: []
  25612. summary: 移除用户商品收藏信息
  25613. tags:
  25614. - 用户信息
  25615. /User/UpdateUserAccountStatus:
  25616. post:
  25617. parameters:
  25618. - description: 用户ID
  25619. in: query
  25620. name: userID
  25621. required: true
  25622. type: integer
  25623. - description: 账户状态 - 4:正常 6:注销(停用)
  25624. in: query
  25625. name: accountStatus
  25626. required: true
  25627. type: integer
  25628. produces:
  25629. - application/json
  25630. responses:
  25631. "200":
  25632. description: OK
  25633. schema:
  25634. $ref: '#/definitions/app.Response'
  25635. "500":
  25636. description: Internal Server Error
  25637. schema:
  25638. $ref: '#/definitions/app.Response'
  25639. security:
  25640. - ApiKeyAuth: []
  25641. summary: 更新用户状态
  25642. tags:
  25643. - 用户信息
  25644. /WRTrade/GetAllDeliveryGoods:
  25645. get:
  25646. produces:
  25647. - application/json
  25648. responses:
  25649. "200":
  25650. description: OK
  25651. schema:
  25652. $ref: '#/definitions/app.Response'
  25653. "500":
  25654. description: Internal Server Error
  25655. schema:
  25656. $ref: '#/definitions/app.Response'
  25657. security:
  25658. - ApiKeyAuth: []
  25659. summary: 获取带仓单分类的种类信息
  25660. tags:
  25661. - 仓单贸易
  25662. - 仓单贸易
  25663. /WrTrade2/InsertXhcpSellBackApply:
  25664. post:
  25665. parameters:
  25666. - description: 回收申请
  25667. in: body
  25668. name: jsonBody
  25669. required: true
  25670. schema:
  25671. $ref: '#/definitions/models.XhcpSellBackApplyEx'
  25672. produces:
  25673. - application/json
  25674. responses:
  25675. "200":
  25676. description: OK
  25677. schema:
  25678. $ref: '#/definitions/app.Response'
  25679. "500":
  25680. description: Internal Server Error
  25681. schema:
  25682. $ref: '#/definitions/app.Response'
  25683. security:
  25684. - ApiKeyAuth: []
  25685. summary: 新增回收申请(新会陈皮)
  25686. tags:
  25687. - 仓单贸易v2
  25688. /WrTrade2/QueryDeliveryGoodsSection:
  25689. get:
  25690. produces:
  25691. - application/json
  25692. responses:
  25693. "200":
  25694. description: OK
  25695. schema:
  25696. items:
  25697. $ref: '#/definitions/models.WrDeliveryGoodsSection'
  25698. type: array
  25699. "500":
  25700. description: Internal Server Error
  25701. schema:
  25702. $ref: '#/definitions/app.Response'
  25703. security:
  25704. - ApiKeyAuth: []
  25705. summary: 查询板块(分类)
  25706. tags:
  25707. - 仓单贸易v2
  25708. /WrTrade2/QueryFaProductDetail:
  25709. get:
  25710. description: 页面 买卖大厅 -> 选择融资方案
  25711. parameters:
  25712. - description: 仓单要素id
  25713. in: query
  25714. name: wrfactortypeid
  25715. required: true
  25716. type: integer
  25717. produces:
  25718. - application/json
  25719. responses:
  25720. "200":
  25721. description: OK
  25722. schema:
  25723. items:
  25724. $ref: '#/definitions/models.WrFAProductDetail'
  25725. type: array
  25726. "500":
  25727. description: Internal Server Error
  25728. schema:
  25729. $ref: '#/definitions/app.Response'
  25730. security:
  25731. - ApiKeyAuth: []
  25732. summary: 查询融资产品列表
  25733. tags:
  25734. - 仓单贸易v2
  25735. /WrTrade2/QueryFilterItem:
  25736. get:
  25737. parameters:
  25738. - description: 类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库
  25739. in: query
  25740. name: itype
  25741. required: true
  25742. type: string
  25743. produces:
  25744. - application/json
  25745. responses:
  25746. "200":
  25747. description: OK
  25748. schema:
  25749. items:
  25750. $ref: '#/definitions/models.WrFilterItem'
  25751. type: array
  25752. "500":
  25753. description: Internal Server Error
  25754. schema:
  25755. $ref: '#/definitions/app.Response'
  25756. security:
  25757. - ApiKeyAuth: []
  25758. summary: 查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)
  25759. tags:
  25760. - 仓单贸易v2
  25761. /WrTrade2/QueryFtDeliveryGoods:
  25762. get:
  25763. produces:
  25764. - application/json
  25765. responses:
  25766. "200":
  25767. description: OK
  25768. schema:
  25769. items:
  25770. $ref: '#/definitions/models.WrFtDeliveryGoods'
  25771. type: array
  25772. "500":
  25773. description: Internal Server Error
  25774. schema:
  25775. $ref: '#/definitions/app.Response'
  25776. security:
  25777. - ApiKeyAuth: []
  25778. summary: 查询品种品类筛选框列表
  25779. tags:
  25780. - 仓单贸易v2
  25781. /WrTrade2/QueryHoldLB:
  25782. get:
  25783. description: 页面 现货仓单->现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。
  25784. parameters:
  25785. - description: 资金账号
  25786. in: query
  25787. name: accountid
  25788. required: true
  25789. type: integer
  25790. - description: 仓库id
  25791. in: query
  25792. name: warehouseid
  25793. type: integer
  25794. - description: 品种id
  25795. in: query
  25796. name: deliverygoodsid
  25797. type: integer
  25798. - description: 品类id
  25799. in: query
  25800. name: wrstandardid
  25801. type: integer
  25802. - description: 仓单要素id
  25803. in: query
  25804. name: wrfactortypeid
  25805. type: integer
  25806. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  25807. in: query
  25808. name: dgitemname
  25809. type: string
  25810. produces:
  25811. - application/json
  25812. responses:
  25813. "200":
  25814. description: OK
  25815. schema:
  25816. items:
  25817. $ref: '#/definitions/models.WrHoldLB'
  25818. type: array
  25819. "500":
  25820. description: Internal Server Error
  25821. schema:
  25822. $ref: '#/definitions/app.Response'
  25823. security:
  25824. - ApiKeyAuth: []
  25825. summary: 查询仓单持有记录
  25826. tags:
  25827. - 仓单贸易v2
  25828. /WrTrade2/QueryOrderQuote:
  25829. get:
  25830. description: 仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth
  25831. 唯一确定1条记录
  25832. parameters:
  25833. - description: 页码
  25834. in: query
  25835. name: page
  25836. type: integer
  25837. - description: 每页条数
  25838. in: query
  25839. name: pagesize
  25840. type: integer
  25841. - description: 仓单贸易市场id
  25842. in: query
  25843. name: marketid
  25844. type: integer
  25845. - description: 价格方式 - 1:固定价 2-浮动价
  25846. in: query
  25847. name: wrpricetype
  25848. required: true
  25849. type: integer
  25850. - description: 0:仓单预售 1:仓单贸易
  25851. in: query
  25852. name: haswr
  25853. type: integer
  25854. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  25855. in: query
  25856. name: dgitemname
  25857. type: string
  25858. - description: 仓库id(筛选条件)
  25859. in: query
  25860. name: warehouseid
  25861. type: integer
  25862. - description: 品种id
  25863. in: query
  25864. name: deliverygoodsid
  25865. type: integer
  25866. - description: 品类id
  25867. in: query
  25868. name: wrstandardid
  25869. type: integer
  25870. - description: 品牌id(dgfactoryitemid)
  25871. in: query
  25872. name: brandid
  25873. type: integer
  25874. - description: 年份id(dgfactoryitemid)
  25875. in: query
  25876. name: yearsid
  25877. type: integer
  25878. - description: 仓单要素id
  25879. in: query
  25880. name: wrfactortypeid
  25881. type: integer
  25882. - description: 交收月(yyyy-mm) 仓单预售填写
  25883. in: query
  25884. name: deliverymonth
  25885. type: string
  25886. produces:
  25887. - application/json
  25888. responses:
  25889. "200":
  25890. description: OK
  25891. schema:
  25892. items:
  25893. $ref: '#/definitions/models.WrOrderQuote'
  25894. type: array
  25895. "500":
  25896. description: Internal Server Error
  25897. schema:
  25898. $ref: '#/definitions/app.Response'
  25899. security:
  25900. - ApiKeyAuth: []
  25901. summary: 查询大厅行情列表
  25902. tags:
  25903. - 仓单贸易v2
  25904. /WrTrade2/QueryOrderQuoteDetail:
  25905. get:
  25906. parameters:
  25907. - description: 页码
  25908. in: query
  25909. name: page
  25910. type: integer
  25911. - description: 每页条数
  25912. in: query
  25913. name: pagesize
  25914. type: integer
  25915. - description: 仓单贸易市场id
  25916. in: query
  25917. name: marketid
  25918. type: integer
  25919. - description: 价格方式 - 1:固定价 2-浮动价
  25920. in: query
  25921. name: wrpricetype
  25922. required: true
  25923. type: integer
  25924. - description: 0:仓单预售 1:仓单贸易
  25925. in: query
  25926. name: haswr
  25927. type: integer
  25928. - description: 仓单要素id
  25929. in: query
  25930. name: wrfactortypeid
  25931. required: true
  25932. type: integer
  25933. - description: 期货商品id(浮动价方式时填)
  25934. in: query
  25935. name: goodsid
  25936. type: integer
  25937. - description: 买卖方向 0-买 1-卖
  25938. in: query
  25939. name: buyorsell
  25940. required: true
  25941. type: integer
  25942. - description: 交收月(yyyy-mm) 查仓单预售的买卖大厅时填写
  25943. in: query
  25944. name: deliverymonth
  25945. type: string
  25946. produces:
  25947. - application/json
  25948. responses:
  25949. "200":
  25950. description: OK
  25951. schema:
  25952. items:
  25953. $ref: '#/definitions/models.WrOrderQuoteDetail'
  25954. type: array
  25955. "500":
  25956. description: Internal Server Error
  25957. schema:
  25958. $ref: '#/definitions/app.Response'
  25959. security:
  25960. - ApiKeyAuth: []
  25961. summary: 查询买卖大厅
  25962. tags:
  25963. - 仓单贸易v2
  25964. /WrTrade2/QueryOrderQuoteMyq:
  25965. get:
  25966. parameters:
  25967. - description: 页码
  25968. in: query
  25969. name: page
  25970. type: integer
  25971. - description: 每页条数
  25972. in: query
  25973. name: pagesize
  25974. type: integer
  25975. - description: 用户id
  25976. in: query
  25977. name: userid
  25978. required: true
  25979. type: integer
  25980. - description: 仓单贸易市场id
  25981. in: query
  25982. name: marketid
  25983. type: integer
  25984. - description: 0:仓单预售 1:仓单贸易
  25985. in: query
  25986. name: haswr
  25987. type: integer
  25988. - description: 买卖方向 0-买 1-卖
  25989. in: query
  25990. name: buyorsell
  25991. required: true
  25992. type: integer
  25993. - description: 品种id
  25994. in: query
  25995. name: deliverygoodsid
  25996. type: integer
  25997. - description: 品类id
  25998. in: query
  25999. name: wrstandardid
  26000. type: integer
  26001. - description: 交收月(yyyy-mm) 仓单预售填写
  26002. in: query
  26003. name: deliverymonth
  26004. type: string
  26005. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  26006. in: query
  26007. name: dgitemname
  26008. type: string
  26009. produces:
  26010. - application/json
  26011. responses:
  26012. "200":
  26013. description: OK
  26014. schema:
  26015. items:
  26016. $ref: '#/definitions/models.WrQuoteOrderMyq'
  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. - 仓单贸易v2
  26027. /WrTrade2/QueryPerformancePlan:
  26028. get:
  26029. parameters:
  26030. - description: 用户id
  26031. in: query
  26032. name: userid
  26033. required: true
  26034. type: integer
  26035. - description: 买卖方向 0-买 1-卖
  26036. in: query
  26037. name: buyorsell
  26038. required: true
  26039. type: integer
  26040. - description: 履约状态(可多个,逗号隔开) 1:待激活 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成
  26041. 8:释放冻结失败 9:超时待处理 10:超时关闭
  26042. in: query
  26043. name: status
  26044. type: string
  26045. - description: 开始交易日(yyyymmdd)
  26046. in: query
  26047. name: begindate
  26048. type: string
  26049. - description: 结束交易日(yyyymmdd)
  26050. in: query
  26051. name: enddate
  26052. type: string
  26053. produces:
  26054. - application/json
  26055. responses:
  26056. "200":
  26057. description: OK
  26058. schema:
  26059. items:
  26060. $ref: '#/definitions/models.WrPerformancePlan'
  26061. type: array
  26062. "500":
  26063. description: Internal Server Error
  26064. schema:
  26065. $ref: '#/definitions/app.Response'
  26066. security:
  26067. - ApiKeyAuth: []
  26068. summary: 查询履约信息
  26069. tags:
  26070. - 仓单贸易v2
  26071. /WrTrade2/QueryPermancePlanTmp:
  26072. get:
  26073. description: |-
  26074. 返回指定用户的模板和公共模板(用户id为空)
  26075. 注意:天津麦顿客户 填写marketid参数,其它参数不用填;其它客户不用填marketid字段
  26076. parameters:
  26077. - description: 用户id
  26078. in: query
  26079. name: userid
  26080. type: integer
  26081. - description: 模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  26082. (无仓单) 5:挂牌期权 6:竞拍-降价式
  26083. in: query
  26084. name: tmptype
  26085. type: string
  26086. - description: 是否包含公共模板(用户id为空的) 1-包含
  26087. in: query
  26088. name: includepub
  26089. type: integer
  26090. - description: 市场id(天津麦顿指定此参数,其它不用)
  26091. in: query
  26092. name: marketid
  26093. type: integer
  26094. produces:
  26095. - application/json
  26096. responses:
  26097. "200":
  26098. description: OK
  26099. schema:
  26100. items:
  26101. $ref: '#/definitions/models.WrPerformanceTemplateEx'
  26102. type: array
  26103. "500":
  26104. description: Internal Server Error
  26105. schema:
  26106. $ref: '#/definitions/app.Response'
  26107. security:
  26108. - ApiKeyAuth: []
  26109. summary: 查询履约模板
  26110. tags:
  26111. - 仓单贸易v2
  26112. /WrTrade2/QuerySiteColumnDetail:
  26113. get:
  26114. parameters:
  26115. - description: 页码
  26116. in: query
  26117. name: page
  26118. type: integer
  26119. - description: 每页条数
  26120. in: query
  26121. name: pagesize
  26122. type: integer
  26123. - description: 所属栏目id
  26124. in: query
  26125. name: columnid
  26126. type: integer
  26127. produces:
  26128. - application/json
  26129. responses:
  26130. "200":
  26131. description: OK
  26132. schema:
  26133. items:
  26134. $ref: '#/definitions/models.WrSiteColumnDetail'
  26135. type: array
  26136. "500":
  26137. description: Internal Server Error
  26138. schema:
  26139. $ref: '#/definitions/app.Response'
  26140. security:
  26141. - ApiKeyAuth: []
  26142. summary: 查询资讯
  26143. tags:
  26144. - 仓单贸易v2
  26145. /WrTrade2/QuerySpotGroupTradeSum:
  26146. get:
  26147. produces:
  26148. - application/json
  26149. responses:
  26150. "200":
  26151. description: OK
  26152. schema:
  26153. items:
  26154. $ref: '#/definitions/models.WrSpotGroupTradeSumEx'
  26155. type: array
  26156. "500":
  26157. description: Internal Server Error
  26158. schema:
  26159. $ref: '#/definitions/app.Response'
  26160. security:
  26161. - ApiKeyAuth: []
  26162. summary: 查询指数
  26163. tags:
  26164. - 仓单贸易v2
  26165. /WrTrade2/QuerySpotGroupTradeSumDetail:
  26166. get:
  26167. description: 查询的结果将会按日期 从小到大 排序
  26168. parameters:
  26169. - description: 现货商品id
  26170. in: query
  26171. name: deliverygoodsid
  26172. required: true
  26173. type: integer
  26174. - description: 查询最新多少条记录(如不填写此项, 默认查30条)
  26175. in: query
  26176. name: lastnum
  26177. type: integer
  26178. produces:
  26179. - application/json
  26180. responses:
  26181. "200":
  26182. description: OK
  26183. schema:
  26184. items:
  26185. $ref: '#/definitions/models.WrSpotGroupTradeSumDetail'
  26186. type: array
  26187. "500":
  26188. description: Internal Server Error
  26189. schema:
  26190. $ref: '#/definitions/app.Response'
  26191. security:
  26192. - ApiKeyAuth: []
  26193. summary: 查询指数详细(价格走势图)
  26194. tags:
  26195. - 仓单贸易v2
  26196. /WrTrade2/QueryWrAverageTradePrice:
  26197. get:
  26198. parameters:
  26199. - description: 页码
  26200. in: query
  26201. name: page
  26202. type: integer
  26203. - description: 每页条数
  26204. in: query
  26205. name: pagesize
  26206. type: integer
  26207. - description: 0:仓单预售 1:仓单贸易
  26208. in: query
  26209. name: haswr
  26210. required: true
  26211. type: integer
  26212. - description: 仓单要素id
  26213. in: query
  26214. name: wrfactortypeid
  26215. required: true
  26216. type: integer
  26217. produces:
  26218. - application/json
  26219. responses:
  26220. "200":
  26221. description: OK
  26222. schema:
  26223. items:
  26224. $ref: '#/definitions/models.WrAverageTradePrice'
  26225. type: array
  26226. "500":
  26227. description: Internal Server Error
  26228. schema:
  26229. $ref: '#/definitions/app.Response'
  26230. security:
  26231. - ApiKeyAuth: []
  26232. summary: 查询成交价(历史走势)
  26233. tags:
  26234. - 仓单贸易v2
  26235. /WrTrade2/QueryWrBrandAndYears:
  26236. get:
  26237. produces:
  26238. - application/json
  26239. responses:
  26240. "200":
  26241. description: OK
  26242. schema:
  26243. items:
  26244. $ref: '#/definitions/models.WrBrandAndYears'
  26245. type: array
  26246. "500":
  26247. description: Internal Server Error
  26248. schema:
  26249. $ref: '#/definitions/app.Response'
  26250. security:
  26251. - ApiKeyAuth: []
  26252. summary: 查询品牌和年份
  26253. tags:
  26254. - 仓单贸易v2
  26255. /WrTrade2/QueryWrBsGoodsInfo:
  26256. get:
  26257. description: 合约交易/买卖大厅/详情
  26258. parameters:
  26259. - description: 商品id
  26260. in: query
  26261. name: goodsid
  26262. required: true
  26263. type: integer
  26264. produces:
  26265. - application/json
  26266. responses:
  26267. "200":
  26268. description: OK
  26269. schema:
  26270. items:
  26271. $ref: '#/definitions/models.WrBsGoodsInfo'
  26272. type: array
  26273. "500":
  26274. description: Internal Server Error
  26275. schema:
  26276. $ref: '#/definitions/app.Response'
  26277. security:
  26278. - ApiKeyAuth: []
  26279. summary: 查询合约交易买卖大厅详情
  26280. tags:
  26281. - 仓单贸易v2
  26282. /WrTrade2/QueryWrBuybackDetail:
  26283. get:
  26284. parameters:
  26285. - description: 融资合同id
  26286. in: query
  26287. name: scfcontractid
  26288. type: integer
  26289. produces:
  26290. - application/json
  26291. responses:
  26292. "200":
  26293. description: OK
  26294. schema:
  26295. items:
  26296. $ref: '#/definitions/models.WrBuybackDetail'
  26297. type: array
  26298. "500":
  26299. description: Internal Server Error
  26300. schema:
  26301. $ref: '#/definitions/app.Response'
  26302. security:
  26303. - ApiKeyAuth: []
  26304. summary: 查询仓单回购明细
  26305. tags:
  26306. - 仓单贸易v2
  26307. /WrTrade2/QueryWrClientAdSpaceConfig:
  26308. get:
  26309. produces:
  26310. - application/json
  26311. responses:
  26312. "200":
  26313. description: OK
  26314. schema:
  26315. items:
  26316. $ref: '#/definitions/models.WrClientAdSpaceConfig'
  26317. type: array
  26318. "500":
  26319. description: Internal Server Error
  26320. schema:
  26321. $ref: '#/definitions/app.Response'
  26322. security:
  26323. - ApiKeyAuth: []
  26324. summary: 查询固定广告配置
  26325. tags:
  26326. - 仓单贸易v2
  26327. /WrTrade2/QueryWrDeliveryAvalidHoldLB:
  26328. get:
  26329. parameters:
  26330. - description: 资金账号
  26331. in: query
  26332. name: accountid
  26333. required: true
  26334. type: integer
  26335. - description: 商品id
  26336. in: query
  26337. name: goodsid
  26338. required: true
  26339. type: integer
  26340. produces:
  26341. - application/json
  26342. responses:
  26343. "200":
  26344. description: OK
  26345. schema:
  26346. items:
  26347. $ref: '#/definitions/models.WrDeliveryAvalidHoldLB'
  26348. type: array
  26349. "500":
  26350. description: Internal Server Error
  26351. schema:
  26352. $ref: '#/definitions/app.Response'
  26353. security:
  26354. - ApiKeyAuth: []
  26355. summary: 查询合约交收可点选仓单
  26356. tags:
  26357. - 仓单贸易v2
  26358. /WrTrade2/QueryWrDeliveryDetail:
  26359. get:
  26360. parameters:
  26361. - description: 用户id
  26362. in: query
  26363. name: userid
  26364. required: true
  26365. type: integer
  26366. - description: 资金账号id
  26367. in: query
  26368. name: accountid
  26369. type: integer
  26370. - description: 开始交易日(yyyymmdd)
  26371. in: query
  26372. name: begindate
  26373. type: string
  26374. - description: 结束交易日(yyyymmdd)
  26375. in: query
  26376. name: enddate
  26377. type: string
  26378. produces:
  26379. - application/json
  26380. responses:
  26381. "200":
  26382. description: OK
  26383. schema:
  26384. items:
  26385. $ref: '#/definitions/models.WrDeliveryDetail'
  26386. type: array
  26387. "500":
  26388. description: Internal Server Error
  26389. schema:
  26390. $ref: '#/definitions/app.Response'
  26391. security:
  26392. - ApiKeyAuth: []
  26393. summary: 查询交收
  26394. tags:
  26395. - 仓单贸易v2
  26396. /WrTrade2/QueryWrDraftUserInfo:
  26397. get:
  26398. parameters:
  26399. - description: 用户ID
  26400. in: query
  26401. name: userid
  26402. required: true
  26403. type: integer
  26404. - description: 用户状态 1:正常 2:注销
  26405. in: query
  26406. name: userstatus
  26407. type: integer
  26408. produces:
  26409. - application/json
  26410. responses:
  26411. "200":
  26412. description: OK
  26413. schema:
  26414. items:
  26415. $ref: '#/definitions/models.WrDraftUserInfo'
  26416. type: array
  26417. "500":
  26418. description: Internal Server Error
  26419. schema:
  26420. $ref: '#/definitions/app.Response'
  26421. security:
  26422. - ApiKeyAuth: []
  26423. summary: 查询实名认证信息
  26424. tags:
  26425. - 仓单贸易v2
  26426. /WrTrade2/QueryWrFactorTypeInfo:
  26427. get:
  26428. parameters:
  26429. - description: 仓单要素id
  26430. in: query
  26431. name: wrfactortypeid
  26432. required: true
  26433. type: integer
  26434. produces:
  26435. - application/json
  26436. responses:
  26437. "200":
  26438. description: OK
  26439. schema:
  26440. items:
  26441. $ref: '#/definitions/models.WrFactorTypeInfo'
  26442. type: array
  26443. "500":
  26444. description: Internal Server Error
  26445. schema:
  26446. $ref: '#/definitions/app.Response'
  26447. security:
  26448. - ApiKeyAuth: []
  26449. summary: 查询仓单要素详细信息
  26450. tags:
  26451. - 仓单贸易v2
  26452. /WrTrade2/QueryWrFactorTypeInfoEx:
  26453. get:
  26454. parameters:
  26455. - description: 仓单要素id
  26456. in: query
  26457. name: wrfactortypeid
  26458. required: true
  26459. type: integer
  26460. produces:
  26461. - application/json
  26462. responses:
  26463. "200":
  26464. description: OK
  26465. schema:
  26466. items:
  26467. $ref: '#/definitions/models.WrTypeItem'
  26468. type: array
  26469. "500":
  26470. description: Internal Server Error
  26471. schema:
  26472. $ref: '#/definitions/app.Response'
  26473. security:
  26474. - ApiKeyAuth: []
  26475. summary: 查询仓单要素详细信息列表项
  26476. tags:
  26477. - 仓单贸易v2
  26478. /WrTrade2/QueryWrFinanceBuyApply:
  26479. get:
  26480. description: 页面 融资信息+ / 申请单
  26481. parameters:
  26482. - description: 用户id
  26483. in: query
  26484. name: userid
  26485. required: true
  26486. type: integer
  26487. produces:
  26488. - application/json
  26489. responses:
  26490. "200":
  26491. description: OK
  26492. schema:
  26493. items:
  26494. $ref: '#/definitions/models.WrFinanceBuyApply'
  26495. type: array
  26496. "500":
  26497. description: Internal Server Error
  26498. schema:
  26499. $ref: '#/definitions/app.Response'
  26500. security:
  26501. - ApiKeyAuth: []
  26502. summary: 查询融资购买申请
  26503. tags:
  26504. - 仓单贸易v2
  26505. /WrTrade2/QueryWrFriendApply:
  26506. get:
  26507. parameters:
  26508. - description: 用户id
  26509. in: query
  26510. name: userid
  26511. required: true
  26512. type: integer
  26513. produces:
  26514. - application/json
  26515. responses:
  26516. "200":
  26517. description: OK
  26518. schema:
  26519. items:
  26520. $ref: '#/definitions/models.WrFriendApply'
  26521. type: array
  26522. "500":
  26523. description: Internal Server Error
  26524. schema:
  26525. $ref: '#/definitions/app.Response'
  26526. security:
  26527. - ApiKeyAuth: []
  26528. summary: 查询好友申请记录
  26529. tags:
  26530. - 仓单贸易v2
  26531. /WrTrade2/QueryWrGoodsInfo:
  26532. get:
  26533. parameters:
  26534. - description: 仓单贸易市场id
  26535. in: query
  26536. name: marketid
  26537. type: integer
  26538. - description: 0:仓单预售 1:仓单贸易
  26539. in: query
  26540. name: haswr
  26541. required: true
  26542. type: integer
  26543. - description: 仓单要素id
  26544. in: query
  26545. name: wrfactortypeid
  26546. required: true
  26547. type: integer
  26548. - description: 履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)
  26549. in: query
  26550. name: tmplateid
  26551. type: integer
  26552. produces:
  26553. - application/json
  26554. responses:
  26555. "200":
  26556. description: OK
  26557. schema:
  26558. items:
  26559. $ref: '#/definitions/models.WrGoodsInfo'
  26560. type: array
  26561. "500":
  26562. description: Internal Server Error
  26563. schema:
  26564. $ref: '#/definitions/app.Response'
  26565. security:
  26566. - ApiKeyAuth: []
  26567. summary: 查询仓单商品信息
  26568. tags:
  26569. - 仓单贸易v2
  26570. /WrTrade2/QueryWrMarketTradeConfig:
  26571. get:
  26572. parameters:
  26573. - description: 市场id
  26574. in: query
  26575. name: marketid
  26576. type: integer
  26577. produces:
  26578. - application/json
  26579. responses:
  26580. "200":
  26581. description: OK
  26582. schema:
  26583. items:
  26584. $ref: '#/definitions/models.WrMarketTradeConfig'
  26585. type: array
  26586. "500":
  26587. description: Internal Server Error
  26588. schema:
  26589. $ref: '#/definitions/app.Response'
  26590. security:
  26591. - ApiKeyAuth: []
  26592. summary: 查询市场交易参数配置
  26593. tags:
  26594. - 仓单贸易v2
  26595. /WrTrade2/QueryWrOrderDetail:
  26596. get:
  26597. description: 页面 现货仓单 | 预售仓单 -> 委托单
  26598. parameters:
  26599. - description: 页码
  26600. in: query
  26601. name: page
  26602. type: integer
  26603. - description: 每页条数
  26604. in: query
  26605. name: pagesize
  26606. type: integer
  26607. - description: 用户id
  26608. in: query
  26609. name: userid
  26610. required: true
  26611. type: integer
  26612. - description: 仓单贸易市场id
  26613. in: query
  26614. name: marketid
  26615. type: integer
  26616. - description: 0:仓单预售 1:仓单贸易
  26617. in: query
  26618. name: haswr
  26619. required: true
  26620. type: integer
  26621. - description: 是否仅查可撤单据 1:可撤 注:此参数仅对当前记录有效, 且不含47模式市场
  26622. in: query
  26623. name: bcancel
  26624. type: integer
  26625. - description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  26626. in: query
  26627. name: wrtradetype
  26628. type: integer
  26629. - description: 开始交易日(yyyymmdd)
  26630. in: query
  26631. name: begindate
  26632. type: string
  26633. - description: 结束交易日(yyyymmdd)
  26634. in: query
  26635. name: enddate
  26636. type: string
  26637. produces:
  26638. - application/json
  26639. responses:
  26640. "200":
  26641. description: OK
  26642. schema:
  26643. items:
  26644. $ref: '#/definitions/models.WrOrderDetail'
  26645. type: array
  26646. "500":
  26647. description: Internal Server Error
  26648. schema:
  26649. $ref: '#/definitions/app.Response'
  26650. security:
  26651. - ApiKeyAuth: []
  26652. summary: 查询仓单委托单
  26653. tags:
  26654. - 仓单贸易v2
  26655. /WrTrade2/QueryWrOutInApply:
  26656. get:
  26657. parameters:
  26658. - description: 页码
  26659. in: query
  26660. name: page
  26661. type: integer
  26662. - description: 每页条数
  26663. in: query
  26664. name: pagesize
  26665. type: integer
  26666. - description: 用户id
  26667. in: query
  26668. name: userid
  26669. required: true
  26670. type: integer
  26671. - description: 开始交易日(yyyymmdd)
  26672. in: query
  26673. name: begindate
  26674. type: string
  26675. - description: 结束交易日(yyyymmdd)
  26676. in: query
  26677. name: enddate
  26678. type: string
  26679. produces:
  26680. - application/json
  26681. responses:
  26682. "200":
  26683. description: OK
  26684. schema:
  26685. items:
  26686. $ref: '#/definitions/models.WrOutInApply'
  26687. type: array
  26688. "500":
  26689. description: Internal Server Error
  26690. schema:
  26691. $ref: '#/definitions/app.Response'
  26692. security:
  26693. - ApiKeyAuth: []
  26694. summary: 查询提货申请
  26695. tags:
  26696. - 仓单贸易v2
  26697. /WrTrade2/QueryWrPerformancePlanStep:
  26698. get:
  26699. parameters:
  26700. - description: 履约计划id(performanceplanid)
  26701. in: query
  26702. name: planid
  26703. required: true
  26704. type: integer
  26705. - description: 当前步骤id
  26706. in: query
  26707. name: curstepid
  26708. type: integer
  26709. produces:
  26710. - application/json
  26711. responses:
  26712. "200":
  26713. description: OK
  26714. schema:
  26715. items:
  26716. $ref: '#/definitions/models.WrPerformancePlanStep'
  26717. type: array
  26718. "500":
  26719. description: Internal Server Error
  26720. schema:
  26721. $ref: '#/definitions/app.Response'
  26722. security:
  26723. - ApiKeyAuth: []
  26724. summary: 查询履约信息详情
  26725. tags:
  26726. - 仓单贸易v2
  26727. /WrTrade2/QueryWrPerformanceStepType:
  26728. get:
  26729. produces:
  26730. - application/json
  26731. responses:
  26732. "200":
  26733. description: OK
  26734. schema:
  26735. items:
  26736. $ref: '#/definitions/models.WrPerformanceStepType'
  26737. type: array
  26738. "500":
  26739. description: Internal Server Error
  26740. schema:
  26741. $ref: '#/definitions/app.Response'
  26742. security:
  26743. - ApiKeyAuth: []
  26744. summary: 查询履约步骤枚举
  26745. tags:
  26746. - 仓单贸易v2
  26747. /WrTrade2/QueryWrPosition:
  26748. get:
  26749. description: 页面 现货仓单->现货汇总/库存汇总; 预售仓单->订单汇总
  26750. parameters:
  26751. - description: 用户id
  26752. in: query
  26753. name: userid
  26754. required: true
  26755. type: integer
  26756. - description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  26757. in: query
  26758. name: querytype
  26759. required: true
  26760. type: integer
  26761. - description: 0:仓单预售 1:仓单贸易
  26762. in: query
  26763. name: haswr
  26764. required: true
  26765. type: integer
  26766. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  26767. in: query
  26768. name: dgitemname
  26769. type: string
  26770. - description: 仓库id(筛选条件)
  26771. in: query
  26772. name: warehouseid
  26773. type: integer
  26774. - description: 品种id
  26775. in: query
  26776. name: deliverygoodsid
  26777. type: integer
  26778. - description: 品类id
  26779. in: query
  26780. name: wrstandardid
  26781. type: integer
  26782. produces:
  26783. - application/json
  26784. responses:
  26785. "200":
  26786. description: OK
  26787. schema:
  26788. items:
  26789. $ref: '#/definitions/models.WrPosition'
  26790. type: array
  26791. "500":
  26792. description: Internal Server Error
  26793. schema:
  26794. $ref: '#/definitions/app.Response'
  26795. security:
  26796. - ApiKeyAuth: []
  26797. summary: 查询现货(预售)仓单持仓
  26798. tags:
  26799. - 仓单贸易v2
  26800. /WrTrade2/QueryWrPreSaleInfo:
  26801. get:
  26802. parameters:
  26803. - description: 市场id
  26804. in: query
  26805. name: marketid
  26806. type: integer
  26807. - description: 预售状态(逗号隔开,如1,2,3) 1:未开始 2:进行中 3:已结束 4:已关闭
  26808. in: query
  26809. name: presalestatus
  26810. type: string
  26811. - description: 摇号标识 - 0:未摇号 1:已摇号
  26812. in: query
  26813. name: lotteryflag
  26814. type: integer
  26815. - description: 最近多少条记录(按创建时间倒序)
  26816. in: query
  26817. name: lastnum
  26818. type: integer
  26819. produces:
  26820. - application/json
  26821. responses:
  26822. "200":
  26823. description: OK
  26824. schema:
  26825. items:
  26826. $ref: '#/definitions/models.WrPreSaleInfo'
  26827. type: array
  26828. "500":
  26829. description: Internal Server Error
  26830. schema:
  26831. $ref: '#/definitions/app.Response'
  26832. security:
  26833. - ApiKeyAuth: []
  26834. summary: 查询新品发布
  26835. tags:
  26836. - 仓单贸易v2
  26837. /WrTrade2/QueryWrReckonSpotGoodsTradeSum:
  26838. get:
  26839. parameters:
  26840. - description: 市场id
  26841. in: query
  26842. name: marketid
  26843. required: true
  26844. type: integer
  26845. - description: 现货商品id
  26846. in: query
  26847. name: wrstandardid
  26848. required: true
  26849. type: integer
  26850. - description: 开始交易日(yyyymmdd)
  26851. in: query
  26852. name: begindate
  26853. type: string
  26854. - description: 结束交易日(yyyymmdd)
  26855. in: query
  26856. name: enddate
  26857. type: string
  26858. - description: 最近多少条记录(按交易日倒序)
  26859. in: query
  26860. name: lastnum
  26861. type: integer
  26862. - description: 是否今日
  26863. in: query
  26864. name: istoday
  26865. type: boolean
  26866. produces:
  26867. - application/json
  26868. responses:
  26869. "200":
  26870. description: OK
  26871. schema:
  26872. items:
  26873. $ref: '#/definitions/models.WrReckonSpotGoodsTradeSum'
  26874. type: array
  26875. "500":
  26876. description: Internal Server Error
  26877. schema:
  26878. $ref: '#/definitions/app.Response'
  26879. security:
  26880. - ApiKeyAuth: []
  26881. summary: 查询价格走势
  26882. tags:
  26883. - 仓单贸易v2
  26884. /WrTrade2/QueryWrScfContract:
  26885. get:
  26886. parameters:
  26887. - description: 用户id
  26888. in: query
  26889. name: userid
  26890. required: true
  26891. type: integer
  26892. - description: 融资合同id
  26893. in: query
  26894. name: scfcontractid
  26895. type: integer
  26896. produces:
  26897. - application/json
  26898. responses:
  26899. "200":
  26900. description: OK
  26901. schema:
  26902. items:
  26903. $ref: '#/definitions/models.WrScfContract'
  26904. type: array
  26905. "500":
  26906. description: Internal Server Error
  26907. schema:
  26908. $ref: '#/definitions/app.Response'
  26909. security:
  26910. - ApiKeyAuth: []
  26911. summary: 查询仓单贸易融资合同
  26912. tags:
  26913. - 仓单贸易v2
  26914. /WrTrade2/QueryWrScfContractInterest:
  26915. get:
  26916. parameters:
  26917. - description: 融资合同id
  26918. in: query
  26919. name: scfcontractid
  26920. type: integer
  26921. produces:
  26922. - application/json
  26923. responses:
  26924. "200":
  26925. description: OK
  26926. schema:
  26927. items:
  26928. $ref: '#/definitions/models.WrScfContractInterest'
  26929. type: array
  26930. "500":
  26931. description: Internal Server Error
  26932. schema:
  26933. $ref: '#/definitions/app.Response'
  26934. security:
  26935. - ApiKeyAuth: []
  26936. summary: 查询融资合同费用明细
  26937. tags:
  26938. - 仓单贸易v2
  26939. /WrTrade2/QueryWrSearchUser:
  26940. get:
  26941. parameters:
  26942. - description: 用户名称(模糊匹配)
  26943. in: query
  26944. name: username
  26945. required: true
  26946. type: string
  26947. produces:
  26948. - application/json
  26949. responses:
  26950. "200":
  26951. description: OK
  26952. schema:
  26953. items:
  26954. $ref: '#/definitions/models.WrSearchUser'
  26955. type: array
  26956. "500":
  26957. description: Internal Server Error
  26958. schema:
  26959. $ref: '#/definitions/app.Response'
  26960. security:
  26961. - ApiKeyAuth: []
  26962. summary: 查询用户
  26963. tags:
  26964. - 仓单贸易v2
  26965. /WrTrade2/QueryWrSpecialMatchOrder:
  26966. get:
  26967. description: 页面 现货仓单 | 预售仓单 -> 指定成交
  26968. parameters:
  26969. - description: 页码
  26970. in: query
  26971. name: page
  26972. type: integer
  26973. - description: 每页条数
  26974. in: query
  26975. name: pagesize
  26976. type: integer
  26977. - description: 用户id
  26978. in: query
  26979. name: userid
  26980. required: true
  26981. type: integer
  26982. - description: 仓单贸易市场id
  26983. in: query
  26984. name: marketid
  26985. type: integer
  26986. - description: 0:仓单预售 1:仓单贸易
  26987. in: query
  26988. name: haswr
  26989. required: true
  26990. type: integer
  26991. - description: 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  26992. in: query
  26993. name: isspecified
  26994. type: integer
  26995. produces:
  26996. - application/json
  26997. responses:
  26998. "200":
  26999. description: OK
  27000. schema:
  27001. items:
  27002. $ref: '#/definitions/models.WrSpecialMatchOrder'
  27003. type: array
  27004. "500":
  27005. description: Internal Server Error
  27006. schema:
  27007. $ref: '#/definitions/app.Response'
  27008. security:
  27009. - ApiKeyAuth: []
  27010. summary: 查询指定成交
  27011. tags:
  27012. - 仓单贸易v2
  27013. /WrTrade2/QueryWrStandardFactoryItem:
  27014. get:
  27015. parameters:
  27016. - description: 品类id
  27017. in: query
  27018. name: wrstandardid
  27019. required: true
  27020. type: integer
  27021. produces:
  27022. - application/json
  27023. responses:
  27024. "200":
  27025. description: OK
  27026. schema:
  27027. items:
  27028. $ref: '#/definitions/models.WrStandardFactoryItemEx'
  27029. type: array
  27030. "500":
  27031. description: Internal Server Error
  27032. schema:
  27033. $ref: '#/definitions/app.Response'
  27034. security:
  27035. - ApiKeyAuth: []
  27036. summary: 查询品类要素定义项
  27037. tags:
  27038. - 仓单贸易v2
  27039. /WrTrade2/QueryWrTradeBargainApply:
  27040. get:
  27041. description: 1.页面 挂单/议价单, 只需传单号就行 <br>2.页面 议价->我的议价 参数 userid=登录userid <br>3.页面
  27042. 议价->对方议价 填写matchuserid=登录用户id
  27043. parameters:
  27044. - description: 议价人id(摘牌方)
  27045. in: query
  27046. name: userid
  27047. type: integer
  27048. - description: 挂牌方id(查对方议价时,填写此项)
  27049. in: query
  27050. name: matchuserid
  27051. type: integer
  27052. - description: 关联委托单id
  27053. in: query
  27054. name: wrtradeorderid
  27055. type: integer
  27056. - description: 0:仓单预售 1:仓单贸易
  27057. in: query
  27058. name: haswr
  27059. required: true
  27060. type: integer
  27061. - description: 开始交易日(yyyymmdd)
  27062. in: query
  27063. name: begindate
  27064. type: string
  27065. - description: 结束交易日(yyyymmdd)
  27066. in: query
  27067. name: enddate
  27068. type: string
  27069. produces:
  27070. - application/json
  27071. responses:
  27072. "200":
  27073. description: OK
  27074. schema:
  27075. items:
  27076. $ref: '#/definitions/models.WRTradeBargainApply'
  27077. type: array
  27078. "500":
  27079. description: Internal Server Error
  27080. schema:
  27081. $ref: '#/definitions/app.Response'
  27082. security:
  27083. - ApiKeyAuth: []
  27084. summary: 查询议价单
  27085. tags:
  27086. - 仓单贸易v2
  27087. /WrTrade2/QueryWrTradeDetail:
  27088. get:
  27089. parameters:
  27090. - description: 页码
  27091. in: query
  27092. name: page
  27093. type: integer
  27094. - description: 每页条数
  27095. in: query
  27096. name: pagesize
  27097. type: integer
  27098. - description: 用户id
  27099. in: query
  27100. name: userid
  27101. required: true
  27102. type: integer
  27103. - description: 仓单贸易市场id
  27104. in: query
  27105. name: marketid
  27106. type: integer
  27107. - description: 0:仓单预售 1:仓单贸易
  27108. in: query
  27109. name: haswr
  27110. required: true
  27111. type: integer
  27112. - description: 开始交易日(yyyymmdd)
  27113. in: query
  27114. name: begindate
  27115. type: string
  27116. - description: 结束交易日(yyyymmdd)
  27117. in: query
  27118. name: enddate
  27119. type: string
  27120. produces:
  27121. - application/json
  27122. responses:
  27123. "200":
  27124. description: OK
  27125. schema:
  27126. items:
  27127. $ref: '#/definitions/models.WrTradeDetail'
  27128. type: array
  27129. "500":
  27130. description: Internal Server Error
  27131. schema:
  27132. $ref: '#/definitions/app.Response'
  27133. security:
  27134. - ApiKeyAuth: []
  27135. summary: 查询仓单成交明细
  27136. tags:
  27137. - 仓单贸易v2
  27138. /WrTrade2/QueryWrTradeOrderDetail:
  27139. get:
  27140. parameters:
  27141. - description: 页码
  27142. in: query
  27143. name: page
  27144. type: integer
  27145. - description: 每页条数
  27146. in: query
  27147. name: pagesize
  27148. type: integer
  27149. - description: 商品id
  27150. in: query
  27151. name: goodsid
  27152. required: true
  27153. type: integer
  27154. - description: 买卖方向 0-买 1-卖
  27155. in: query
  27156. name: buyorsell
  27157. required: true
  27158. type: integer
  27159. produces:
  27160. - application/json
  27161. responses:
  27162. "200":
  27163. description: OK
  27164. schema:
  27165. items:
  27166. $ref: '#/definitions/models.WrTradeOrderDetail'
  27167. type: array
  27168. "500":
  27169. description: Internal Server Error
  27170. schema:
  27171. $ref: '#/definitions/app.Response'
  27172. security:
  27173. - ApiKeyAuth: []
  27174. summary: 查询合约交易买卖大厅
  27175. tags:
  27176. - 仓单贸易v2
  27177. /WrTrade2/QueryWrTradeQuote:
  27178. get:
  27179. parameters:
  27180. - description: 现货商品id
  27181. in: query
  27182. name: wrstandardid
  27183. required: true
  27184. type: integer
  27185. - description: 开始日期(yyyymmdd)
  27186. in: query
  27187. name: begindate
  27188. required: true
  27189. type: string
  27190. - description: 结束日期(yyyymmdd)
  27191. in: query
  27192. name: enddate
  27193. required: true
  27194. type: string
  27195. - description: 市场id
  27196. in: query
  27197. name: marketid
  27198. type: integer
  27199. produces:
  27200. - application/json
  27201. responses:
  27202. "200":
  27203. description: OK
  27204. schema:
  27205. items:
  27206. $ref: '#/definitions/models.Wrtradetradequote'
  27207. type: array
  27208. "500":
  27209. description: Internal Server Error
  27210. schema:
  27211. $ref: '#/definitions/app.Response'
  27212. security:
  27213. - ApiKeyAuth: []
  27214. summary: 查询仓单贸易成交行情
  27215. tags:
  27216. - 仓单贸易v2
  27217. /WrTrade2/QueryWrUserFriend:
  27218. get:
  27219. parameters:
  27220. - description: 用户id
  27221. in: query
  27222. name: userid
  27223. required: true
  27224. type: integer
  27225. - description: 新朋友userid, 如果填写了此项则查找新朋友
  27226. in: query
  27227. name: newuserid
  27228. type: integer
  27229. produces:
  27230. - application/json
  27231. responses:
  27232. "200":
  27233. description: OK
  27234. schema:
  27235. items:
  27236. $ref: '#/definitions/models.WrUserFriend'
  27237. type: array
  27238. "500":
  27239. description: Internal Server Error
  27240. schema:
  27241. $ref: '#/definitions/app.Response'
  27242. security:
  27243. - ApiKeyAuth: []
  27244. summary: 查询我的朋友
  27245. tags:
  27246. - 仓单贸易v2
  27247. /WrTrade2/QueryWrUserReceiptInfo:
  27248. get:
  27249. parameters:
  27250. - description: 用户id
  27251. in: query
  27252. name: userid
  27253. type: integer
  27254. - description: 发票类型 - 1:个人 2:企业
  27255. in: query
  27256. name: receipttype
  27257. type: integer
  27258. produces:
  27259. - application/json
  27260. responses:
  27261. "200":
  27262. description: OK
  27263. schema:
  27264. items:
  27265. $ref: '#/definitions/models.WrUserReceiptInfo'
  27266. type: array
  27267. "500":
  27268. description: Internal Server Error
  27269. schema:
  27270. $ref: '#/definitions/app.Response'
  27271. security:
  27272. - ApiKeyAuth: []
  27273. summary: 查询发票信息
  27274. tags:
  27275. - 仓单贸易v2
  27276. /WrTrade2/QueryXhcpSellBackApply:
  27277. get:
  27278. parameters:
  27279. - description: 用户ID
  27280. in: query
  27281. name: userid
  27282. required: true
  27283. type: integer
  27284. produces:
  27285. - application/json
  27286. responses:
  27287. "200":
  27288. description: OK
  27289. schema:
  27290. items:
  27291. $ref: '#/definitions/models.Xhcpsellbackapply'
  27292. type: array
  27293. "500":
  27294. description: Internal Server Error
  27295. schema:
  27296. $ref: '#/definitions/app.Response'
  27297. security:
  27298. - ApiKeyAuth: []
  27299. summary: 查询我的回收申请(新会陈皮)
  27300. tags:
  27301. - 仓单贸易v2
  27302. /ZJ/GetBankTip:
  27303. get:
  27304. produces:
  27305. - application/json
  27306. responses:
  27307. "200":
  27308. description: OK
  27309. schema:
  27310. type: string
  27311. "500":
  27312. description: Internal Server Error
  27313. schema:
  27314. $ref: '#/definitions/app.Response'
  27315. summary: 获取中江网银端出入金提示信息
  27316. tags:
  27317. - 中江
  27318. /ZJ/GetCusBankChannels:
  27319. get:
  27320. produces:
  27321. - application/json
  27322. responses:
  27323. "200":
  27324. description: OK
  27325. schema:
  27326. items:
  27327. type: string
  27328. type: array
  27329. "500":
  27330. description: Internal Server Error
  27331. schema:
  27332. $ref: '#/definitions/app.Response'
  27333. summary: 获取中江出入金渠道显示列表
  27334. tags:
  27335. - 中江
  27336. securityDefinitions:
  27337. ApiKeyAuth:
  27338. in: header
  27339. name: Authorization
  27340. type: apiKey
  27341. Group:
  27342. in: header
  27343. name: Group
  27344. type: apiKey
  27345. LoginID:
  27346. in: header
  27347. name: LoginID
  27348. type: apiKey
  27349. swagger: "2.0"