swagger.yaml 766 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758187591876018761187621876318764187651876618767187681876918770187711877218773187741877518776187771877818779187801878118782187831878418785187861878718788187891879018791187921879318794187951879618797187981879918800188011880218803188041880518806188071880818809188101881118812188131881418815188161881718818188191882018821188221882318824188251882618827188281882918830188311883218833188341883518836188371883818839188401884118842188431884418845188461884718848188491885018851188521885318854188551885618857188581885918860188611886218863188641886518866188671886818869188701887118872188731887418875188761887718878188791888018881188821888318884188851888618887188881888918890188911889218893188941889518896188971889818899189001890118902189031890418905189061890718908189091891018911189121891318914189151891618917189181891918920189211892218923189241892518926189271892818929189301893118932189331893418935189361893718938189391894018941189421894318944189451894618947189481894918950189511895218953189541895518956189571895818959189601896118962189631896418965189661896718968189691897018971189721897318974189751897618977189781897918980189811898218983189841898518986189871898818989189901899118992189931899418995189961899718998189991900019001190021900319004190051900619007190081900919010190111901219013190141901519016190171901819019190201902119022190231902419025190261902719028190291903019031190321903319034190351903619037190381903919040190411904219043190441904519046190471904819049190501905119052190531905419055190561905719058190591906019061190621906319064190651906619067190681906919070190711907219073190741907519076190771907819079190801908119082190831908419085190861908719088190891909019091190921909319094190951909619097190981909919100191011910219103191041910519106191071910819109191101911119112191131911419115191161911719118191191912019121191221912319124191251912619127191281912919130191311913219133191341913519136191371913819139191401914119142191431914419145191461914719148191491915019151191521915319154191551915619157191581915919160191611916219163191641916519166191671916819169191701917119172191731917419175191761917719178191791918019181191821918319184191851918619187191881918919190191911919219193191941919519196191971919819199192001920119202192031920419205192061920719208192091921019211192121921319214192151921619217192181921919220192211922219223192241922519226192271922819229192301923119232192331923419235192361923719238192391924019241192421924319244192451924619247192481924919250192511925219253192541925519256192571925819259192601926119262192631926419265192661926719268192691927019271192721927319274192751927619277192781927919280192811928219283192841928519286192871928819289192901929119292192931929419295192961929719298192991930019301193021930319304193051930619307193081930919310193111931219313193141931519316193171931819319193201932119322193231932419325193261932719328193291933019331193321933319334193351933619337193381933919340193411934219343193441934519346193471934819349193501935119352193531935419355193561935719358193591936019361193621936319364193651936619367193681936919370193711937219373193741937519376193771937819379193801938119382193831938419385193861938719388193891939019391193921939319394193951939619397193981939919400194011940219403194041940519406194071940819409194101941119412194131941419415194161941719418194191942019421194221942319424194251942619427194281942919430194311943219433194341943519436194371943819439194401944119442194431944419445194461944719448194491945019451194521945319454194551945619457194581945919460194611946219463194641946519466194671946819469194701947119472194731947419475194761947719478194791948019481194821948319484194851948619487194881948919490194911949219493194941949519496194971949819499195001950119502195031950419505195061950719508195091951019511195121951319514195151951619517195181951919520195211952219523195241952519526195271952819529195301953119532195331953419535195361953719538195391954019541195421954319544195451954619547195481954919550195511955219553195541955519556195571955819559195601956119562195631956419565195661956719568195691957019571195721957319574195751957619577195781957919580195811958219583195841958519586195871958819589195901959119592195931959419595195961959719598195991960019601196021960319604196051960619607196081960919610196111961219613196141961519616196171961819619196201962119622196231962419625196261962719628196291963019631196321963319634196351963619637196381963919640196411964219643196441964519646196471964819649196501965119652196531965419655196561965719658196591966019661196621966319664196651966619667196681966919670196711967219673196741967519676196771967819679196801968119682196831968419685196861968719688196891969019691196921969319694196951969619697196981969919700197011970219703197041970519706197071970819709197101971119712197131971419715197161971719718197191972019721197221972319724197251972619727197281972919730197311973219733197341973519736197371973819739197401974119742197431974419745197461974719748197491975019751197521975319754197551975619757197581975919760197611976219763197641976519766197671976819769197701977119772197731977419775197761977719778197791978019781197821978319784197851978619787197881978919790197911979219793197941979519796197971979819799198001980119802198031980419805198061980719808198091981019811198121981319814198151981619817198181981919820198211982219823198241982519826198271982819829198301983119832198331983419835198361983719838198391984019841198421984319844198451984619847198481984919850198511985219853198541985519856198571985819859198601986119862198631986419865198661986719868198691987019871198721987319874198751987619877198781987919880198811988219883198841988519886198871988819889198901989119892198931989419895198961989719898198991990019901199021990319904199051990619907199081990919910199111991219913199141991519916199171991819919199201992119922199231992419925199261992719928199291993019931199321993319934199351993619937199381993919940199411994219943199441994519946199471994819949199501995119952199531995419955199561995719958199591996019961199621996319964199651996619967199681996919970199711997219973199741997519976199771997819979199801998119982199831998419985199861998719988199891999019991199921999319994199951999619997199981999920000200012000220003200042000520006200072000820009200102001120012200132001420015200162001720018200192002020021200222002320024200252002620027200282002920030200312003220033200342003520036200372003820039200402004120042200432004420045200462004720048200492005020051200522005320054200552005620057200582005920060200612006220063200642006520066200672006820069200702007120072200732007420075200762007720078200792008020081200822008320084200852008620087200882008920090200912009220093200942009520096200972009820099201002010120102201032010420105201062010720108201092011020111201122011320114201152011620117201182011920120201212012220123201242012520126201272012820129201302013120132201332013420135201362013720138201392014020141201422014320144201452014620147201482014920150201512015220153201542015520156201572015820159201602016120162201632016420165201662016720168201692017020171201722017320174201752017620177201782017920180201812018220183201842018520186201872018820189201902019120192201932019420195201962019720198201992020020201202022020320204202052020620207202082020920210202112021220213202142021520216202172021820219202202022120222202232022420225202262022720228202292023020231202322023320234202352023620237202382023920240202412024220243202442024520246202472024820249202502025120252202532025420255202562025720258202592026020261202622026320264202652026620267202682026920270202712027220273202742027520276202772027820279202802028120282202832028420285202862028720288202892029020291202922029320294202952029620297202982029920300203012030220303203042030520306203072030820309203102031120312203132031420315203162031720318203192032020321203222032320324203252032620327203282032920330203312033220333203342033520336203372033820339203402034120342203432034420345203462034720348203492035020351203522035320354203552035620357203582035920360203612036220363203642036520366203672036820369203702037120372203732037420375203762037720378203792038020381203822038320384203852038620387203882038920390203912039220393203942039520396203972039820399204002040120402204032040420405204062040720408204092041020411204122041320414204152041620417204182041920420204212042220423204242042520426204272042820429204302043120432204332043420435204362043720438204392044020441204422044320444204452044620447204482044920450204512045220453204542045520456204572045820459204602046120462204632046420465204662046720468204692047020471204722047320474204752047620477204782047920480204812048220483204842048520486204872048820489204902049120492204932049420495204962049720498204992050020501205022050320504205052050620507205082050920510205112051220513205142051520516205172051820519205202052120522205232052420525205262052720528205292053020531205322053320534205352053620537205382053920540205412054220543205442054520546205472054820549205502055120552205532055420555205562055720558205592056020561205622056320564205652056620567205682056920570205712057220573205742057520576205772057820579205802058120582205832058420585205862058720588205892059020591205922059320594205952059620597205982059920600206012060220603206042060520606206072060820609206102061120612206132061420615206162061720618206192062020621206222062320624206252062620627206282062920630206312063220633206342063520636206372063820639206402064120642206432064420645206462064720648206492065020651206522065320654206552065620657206582065920660206612066220663206642066520666206672066820669206702067120672206732067420675206762067720678206792068020681206822068320684206852068620687206882068920690206912069220693206942069520696206972069820699207002070120702207032070420705207062070720708207092071020711207122071320714207152071620717207182071920720207212072220723207242072520726207272072820729207302073120732207332073420735207362073720738207392074020741207422074320744207452074620747207482074920750207512075220753207542075520756207572075820759207602076120762207632076420765207662076720768207692077020771207722077320774207752077620777207782077920780207812078220783207842078520786207872078820789207902079120792207932079420795207962079720798207992080020801208022080320804208052080620807208082080920810208112081220813208142081520816208172081820819208202082120822208232082420825208262082720828208292083020831208322083320834208352083620837208382083920840208412084220843208442084520846208472084820849208502085120852208532085420855208562085720858208592086020861208622086320864208652086620867208682086920870208712087220873208742087520876208772087820879208802088120882208832088420885208862088720888208892089020891208922089320894208952089620897208982089920900209012090220903209042090520906209072090820909209102091120912209132091420915209162091720918209192092020921209222092320924209252092620927209282092920930209312093220933209342093520936209372093820939209402094120942209432094420945209462094720948209492095020951209522095320954209552095620957209582095920960209612096220963209642096520966209672096820969209702097120972209732097420975209762097720978209792098020981209822098320984209852098620987209882098920990209912099220993209942099520996209972099820999210002100121002210032100421005210062100721008210092101021011210122101321014210152101621017210182101921020210212102221023210242102521026210272102821029210302103121032210332103421035210362103721038210392104021041210422104321044210452104621047210482104921050210512105221053210542105521056210572105821059210602106121062210632106421065210662106721068210692107021071210722107321074210752107621077210782107921080210812108221083210842108521086210872108821089210902109121092210932109421095210962109721098210992110021101211022110321104211052110621107211082110921110211112111221113211142111521116211172111821119211202112121122211232112421125211262112721128211292113021131211322113321134211352113621137211382113921140211412114221143211442114521146211472114821149211502115121152211532115421155211562115721158211592116021161211622116321164211652116621167211682116921170211712117221173211742117521176211772117821179211802118121182211832118421185211862118721188211892119021191211922119321194211952119621197211982119921200212012120221203212042120521206212072120821209212102121121212212132121421215212162121721218212192122021221212222122321224212252122621227212282122921230212312123221233212342123521236212372123821239212402124121242212432124421245212462124721248212492125021251212522125321254212552125621257212582125921260212612126221263212642126521266212672126821269212702127121272212732127421275212762127721278212792128021281212822128321284212852128621287212882128921290212912129221293212942129521296212972129821299213002130121302213032130421305213062130721308213092131021311213122131321314213152131621317213182131921320213212132221323213242132521326213272132821329213302133121332213332133421335213362133721338213392134021341213422134321344213452134621347213482134921350213512135221353213542135521356213572135821359213602136121362213632136421365213662136721368213692137021371213722137321374213752137621377213782137921380213812138221383213842138521386213872138821389213902139121392213932139421395213962139721398213992140021401214022140321404214052140621407214082140921410214112141221413214142141521416214172141821419214202142121422214232142421425214262142721428214292143021431214322143321434214352143621437214382143921440214412144221443214442144521446214472144821449214502145121452214532145421455214562145721458214592146021461214622146321464214652146621467214682146921470214712147221473214742147521476214772147821479214802148121482214832148421485214862148721488214892149021491214922149321494214952149621497214982149921500215012150221503215042150521506215072150821509215102151121512215132151421515215162151721518215192152021521215222152321524215252152621527215282152921530215312153221533215342153521536215372153821539215402154121542215432154421545215462154721548215492155021551215522155321554215552155621557215582155921560215612156221563215642156521566215672156821569215702157121572215732157421575215762157721578215792158021581215822158321584215852158621587215882158921590215912159221593215942159521596215972159821599216002160121602216032160421605216062160721608216092161021611216122161321614216152161621617216182161921620216212162221623216242162521626216272162821629216302163121632216332163421635216362163721638216392164021641216422164321644216452164621647216482164921650216512165221653216542165521656216572165821659216602166121662216632166421665216662166721668216692167021671216722167321674216752167621677216782167921680216812168221683216842168521686216872168821689216902169121692216932169421695216962169721698216992170021701217022170321704217052170621707217082170921710217112171221713217142171521716217172171821719217202172121722217232172421725217262172721728217292173021731217322173321734217352173621737217382173921740217412174221743217442174521746217472174821749217502175121752217532175421755217562175721758217592176021761217622176321764217652176621767217682176921770217712177221773217742177521776217772177821779217802178121782217832178421785217862178721788217892179021791217922179321794217952179621797217982179921800218012180221803218042180521806218072180821809218102181121812218132181421815218162181721818218192182021821218222182321824218252182621827218282182921830218312183221833218342183521836218372183821839218402184121842218432184421845218462184721848218492185021851218522185321854218552185621857218582185921860218612186221863218642186521866218672186821869218702187121872218732187421875218762187721878218792188021881218822188321884218852188621887218882188921890218912189221893218942189521896218972189821899219002190121902219032190421905219062190721908219092191021911219122191321914219152191621917219182191921920219212192221923219242192521926219272192821929219302193121932219332193421935219362193721938219392194021941219422194321944219452194621947219482194921950219512195221953219542195521956219572195821959219602196121962219632196421965219662196721968219692197021971219722197321974219752197621977219782197921980219812198221983219842198521986219872198821989219902199121992219932199421995219962199721998219992200022001220022200322004220052200622007220082200922010220112201222013220142201522016220172201822019220202202122022220232202422025220262202722028220292203022031220322203322034220352203622037220382203922040220412204222043220442204522046220472204822049220502205122052220532205422055220562205722058220592206022061220622206322064220652206622067220682206922070220712207222073220742207522076220772207822079220802208122082220832208422085220862208722088220892209022091220922209322094220952209622097220982209922100221012210222103221042210522106221072210822109221102211122112221132211422115221162211722118221192212022121221222212322124221252212622127221282212922130221312213222133221342213522136221372213822139221402214122142221432214422145221462214722148221492215022151221522215322154221552215622157221582215922160221612216222163221642216522166221672216822169221702217122172221732217422175221762217722178221792218022181221822218322184221852218622187221882218922190221912219222193221942219522196221972219822199222002220122202222032220422205222062220722208222092221022211222122221322214222152221622217222182221922220222212222222223222242222522226222272222822229222302223122232222332223422235222362223722238222392224022241222422224322244222452224622247222482224922250222512225222253222542225522256222572225822259222602226122262222632226422265222662226722268222692227022271222722227322274222752227622277222782227922280222812228222283222842228522286222872228822289222902229122292222932229422295222962229722298222992230022301223022230322304223052230622307223082230922310223112231222313223142231522316223172231822319223202232122322223232232422325223262232722328223292233022331223322233322334223352233622337223382233922340223412234222343223442234522346223472234822349223502235122352223532235422355223562235722358223592236022361223622236322364223652236622367223682236922370223712237222373223742237522376223772237822379223802238122382223832238422385223862238722388223892239022391223922239322394223952239622397223982239922400224012240222403224042240522406224072240822409224102241122412224132241422415224162241722418224192242022421224222242322424224252242622427224282242922430224312243222433224342243522436224372243822439224402244122442224432244422445224462244722448224492245022451224522245322454224552245622457224582245922460224612246222463224642246522466224672246822469224702247122472224732247422475224762247722478224792248022481224822248322484224852248622487224882248922490224912249222493224942249522496224972249822499225002250122502225032250422505225062250722508225092251022511225122251322514225152251622517225182251922520225212252222523225242252522526225272252822529225302253122532225332253422535225362253722538225392254022541225422254322544225452254622547225482254922550225512255222553225542255522556225572255822559225602256122562225632256422565225662256722568225692257022571225722257322574225752257622577225782257922580225812258222583225842258522586225872258822589225902259122592225932259422595225962259722598225992260022601226022260322604226052260622607226082260922610226112261222613226142261522616226172261822619226202262122622226232262422625226262262722628226292263022631226322263322634226352263622637226382263922640226412264222643226442264522646226472264822649226502265122652226532265422655226562265722658226592266022661226622266322664226652266622667226682266922670226712267222673226742267522676226772267822679226802268122682226832268422685226862268722688226892269022691226922269322694226952269622697226982269922700227012270222703227042270522706227072270822709227102271122712227132271422715227162271722718227192272022721227222272322724227252272622727227282272922730227312273222733227342273522736227372273822739227402274122742227432274422745227462274722748227492275022751227522275322754227552275622757227582275922760227612276222763227642276522766227672276822769227702277122772227732277422775227762277722778227792278022781227822278322784227852278622787227882278922790227912279222793227942279522796227972279822799228002280122802228032280422805228062280722808228092281022811228122281322814228152281622817228182281922820228212282222823228242282522826228272282822829228302283122832228332283422835228362283722838228392284022841228422284322844228452284622847228482284922850228512285222853228542285522856228572285822859228602286122862228632286422865228662286722868228692287022871228722287322874228752287622877228782287922880228812288222883228842288522886228872288822889228902289122892228932289422895228962289722898228992290022901229022290322904229052290622907229082290922910229112291222913229142291522916229172291822919229202292122922229232292422925229262292722928229292293022931229322293322934229352293622937229382293922940229412294222943229442294522946229472294822949229502295122952229532295422955229562295722958229592296022961229622296322964229652296622967229682296922970229712297222973229742297522976229772297822979229802298122982229832298422985229862298722988229892299022991229922299322994229952299622997229982299923000230012300223003230042300523006230072300823009230102301123012230132301423015230162301723018230192302023021230222302323024230252302623027230282302923030230312303223033230342303523036230372303823039230402304123042230432304423045230462304723048230492305023051230522305323054230552305623057230582305923060230612306223063230642306523066230672306823069230702307123072230732307423075230762307723078230792308023081230822308323084230852308623087230882308923090230912309223093230942309523096230972309823099231002310123102231032310423105231062310723108231092311023111231122311323114231152311623117231182311923120231212312223123231242312523126231272312823129231302313123132231332313423135231362313723138231392314023141231422314323144231452314623147231482314923150231512315223153231542315523156231572315823159231602316123162231632316423165231662316723168231692317023171231722317323174231752317623177231782317923180231812318223183231842318523186231872318823189231902319123192231932319423195231962319723198231992320023201232022320323204232052320623207232082320923210232112321223213232142321523216232172321823219232202322123222232232322423225232262322723228232292323023231232322323323234232352323623237232382323923240232412324223243232442324523246232472324823249232502325123252232532325423255232562325723258232592326023261232622326323264232652326623267232682326923270232712327223273232742327523276232772327823279232802328123282232832328423285232862328723288232892329023291232922329323294232952329623297232982329923300233012330223303233042330523306233072330823309233102331123312233132331423315233162331723318233192332023321233222332323324233252332623327233282332923330233312333223333233342333523336233372333823339233402334123342233432334423345233462334723348233492335023351233522335323354233552335623357233582335923360233612336223363233642336523366233672336823369233702337123372233732337423375233762337723378233792338023381233822338323384233852338623387233882338923390233912339223393233942339523396233972339823399234002340123402234032340423405234062340723408234092341023411234122341323414234152341623417234182341923420234212342223423234242342523426234272342823429234302343123432234332343423435234362343723438234392344023441234422344323444234452344623447234482344923450234512345223453234542345523456234572345823459234602346123462234632346423465234662346723468234692347023471234722347323474234752347623477234782347923480234812348223483234842348523486234872348823489234902349123492234932349423495234962349723498234992350023501235022350323504235052350623507235082350923510235112351223513235142351523516235172351823519235202352123522235232352423525235262352723528235292353023531235322353323534235352353623537235382353923540235412354223543235442354523546235472354823549235502355123552235532355423555235562355723558235592356023561235622356323564235652356623567235682356923570235712357223573235742357523576235772357823579235802358123582235832358423585235862358723588235892359023591235922359323594235952359623597235982359923600236012360223603236042360523606236072360823609236102361123612236132361423615236162361723618236192362023621236222362323624236252362623627236282362923630236312363223633236342363523636236372363823639236402364123642236432364423645236462364723648236492365023651236522365323654236552365623657236582365923660236612366223663236642366523666236672366823669236702367123672236732367423675236762367723678236792368023681236822368323684236852368623687236882368923690236912369223693236942369523696236972369823699237002370123702237032370423705237062370723708237092371023711237122371323714237152371623717237182371923720237212372223723237242372523726237272372823729237302373123732237332373423735237362373723738237392374023741237422374323744237452374623747237482374923750237512375223753237542375523756237572375823759237602376123762237632376423765237662376723768237692377023771237722377323774237752377623777237782377923780237812378223783237842378523786237872378823789237902379123792237932379423795237962379723798237992380023801238022380323804238052380623807238082380923810238112381223813238142381523816238172381823819238202382123822238232382423825238262382723828238292383023831238322383323834238352383623837238382383923840238412384223843238442384523846238472384823849238502385123852238532385423855238562385723858238592386023861238622386323864238652386623867238682386923870238712387223873238742387523876238772387823879238802388123882238832388423885238862388723888238892389023891238922389323894238952389623897238982389923900239012390223903239042390523906239072390823909239102391123912239132391423915239162391723918239192392023921239222392323924239252392623927239282392923930239312393223933239342393523936239372393823939239402394123942239432394423945239462394723948239492395023951239522395323954239552395623957239582395923960239612396223963239642396523966239672396823969239702397123972239732397423975239762397723978239792398023981239822398323984239852398623987239882398923990239912399223993239942399523996239972399823999240002400124002240032400424005240062400724008240092401024011240122401324014240152401624017240182401924020240212402224023240242402524026240272402824029240302403124032240332403424035240362403724038240392404024041240422404324044240452404624047240482404924050240512405224053240542405524056240572405824059240602406124062240632406424065240662406724068240692407024071240722407324074240752407624077240782407924080240812408224083240842408524086240872408824089240902409124092240932409424095240962409724098240992410024101241022410324104241052410624107241082410924110241112411224113241142411524116241172411824119241202412124122241232412424125241262412724128241292413024131241322413324134241352413624137241382413924140241412414224143241442414524146241472414824149241502415124152241532415424155241562415724158241592416024161241622416324164241652416624167241682416924170241712417224173241742417524176241772417824179241802418124182241832418424185241862418724188241892419024191241922419324194241952419624197241982419924200242012420224203242042420524206242072420824209242102421124212242132421424215242162421724218242192422024221242222422324224242252422624227242282422924230242312423224233242342423524236242372423824239242402424124242242432424424245242462424724248242492425024251242522425324254242552425624257242582425924260242612426224263242642426524266242672426824269242702427124272242732427424275242762427724278242792428024281242822428324284242852428624287242882428924290242912429224293242942429524296242972429824299243002430124302243032430424305243062430724308243092431024311243122431324314243152431624317243182431924320243212432224323243242432524326243272432824329243302433124332243332433424335243362433724338243392434024341243422434324344243452434624347243482434924350243512435224353243542435524356243572435824359243602436124362243632436424365243662436724368243692437024371243722437324374243752437624377243782437924380243812438224383243842438524386243872438824389243902439124392243932439424395243962439724398243992440024401244022440324404244052440624407244082440924410244112441224413244142441524416244172441824419244202442124422244232442424425244262442724428244292443024431244322443324434244352443624437244382443924440244412444224443244442444524446244472444824449244502445124452244532445424455244562445724458244592446024461244622446324464244652446624467244682446924470244712447224473244742447524476244772447824479244802448124482244832448424485244862448724488244892449024491244922449324494244952449624497244982449924500245012450224503245042450524506245072450824509245102451124512245132451424515245162451724518245192452024521245222452324524245252452624527245282452924530245312453224533245342453524536245372453824539245402454124542245432454424545245462454724548245492455024551245522455324554245552455624557245582455924560245612456224563245642456524566245672456824569245702457124572245732457424575245762457724578245792458024581245822458324584245852458624587245882458924590245912459224593245942459524596245972459824599246002460124602246032460424605246062460724608246092461024611246122461324614246152461624617246182461924620246212462224623246242462524626246272462824629246302463124632246332463424635246362463724638246392464024641246422464324644246452464624647246482464924650246512465224653246542465524656246572465824659246602466124662246632466424665246662466724668246692467024671246722467324674246752467624677246782467924680246812468224683246842468524686246872468824689246902469124692246932469424695246962469724698246992470024701247022470324704247052470624707247082470924710247112471224713247142471524716247172471824719247202472124722247232472424725247262472724728247292473024731247322473324734247352473624737247382473924740247412474224743247442474524746247472474824749247502475124752247532475424755247562475724758247592476024761247622476324764247652476624767247682476924770247712477224773247742477524776247772477824779247802478124782247832478424785247862478724788247892479024791247922479324794247952479624797247982479924800248012480224803248042480524806248072480824809248102481124812248132481424815248162481724818248192482024821248222482324824248252482624827248282482924830248312483224833248342483524836248372483824839248402484124842248432484424845248462484724848248492485024851248522485324854248552485624857248582485924860248612486224863248642486524866248672486824869248702487124872248732487424875248762487724878248792488024881248822488324884248852488624887248882488924890248912489224893248942489524896248972489824899249002490124902249032490424905249062490724908249092491024911249122491324914249152491624917249182491924920249212492224923249242492524926249272492824929249302493124932249332493424935249362493724938249392494024941249422494324944249452494624947249482494924950249512495224953249542495524956249572495824959249602496124962249632496424965249662496724968249692497024971249722497324974249752497624977249782497924980249812498224983249842498524986249872498824989249902499124992249932499424995249962499724998249992500025001250022500325004250052500625007250082500925010250112501225013250142501525016250172501825019250202502125022250232502425025250262502725028250292503025031250322503325034250352503625037250382503925040250412504225043250442504525046250472504825049250502505125052250532505425055250562505725058250592506025061250622506325064250652506625067250682506925070250712507225073250742507525076250772507825079250802508125082250832508425085250862508725088250892509025091250922509325094250952509625097250982509925100251012510225103251042510525106251072510825109251102511125112251132511425115251162511725118251192512025121251222512325124251252512625127251282512925130251312513225133251342513525136251372513825139251402514125142251432514425145251462514725148251492515025151251522515325154251552515625157251582515925160251612516225163251642516525166251672516825169251702517125172251732517425175251762517725178251792518025181251822518325184251852518625187251882518925190251912519225193251942519525196251972519825199252002520125202252032520425205252062520725208252092521025211252122521325214252152521625217252182521925220252212522225223252242522525226252272522825229252302523125232252332523425235252362523725238252392524025241252422524325244252452524625247252482524925250252512525225253252542525525256252572525825259252602526125262252632526425265252662526725268252692527025271252722527325274252752527625277252782527925280252812528225283252842528525286252872528825289252902529125292252932529425295252962529725298252992530025301253022530325304253052530625307253082530925310253112531225313253142531525316253172531825319253202532125322253232532425325253262532725328253292533025331253322533325334253352533625337253382533925340253412534225343253442534525346253472534825349253502535125352253532535425355253562535725358253592536025361253622536325364253652536625367253682536925370253712537225373253742537525376253772537825379253802538125382253832538425385253862538725388253892539025391253922539325394253952539625397253982539925400254012540225403254042540525406254072540825409254102541125412254132541425415254162541725418254192542025421254222542325424254252542625427254282542925430254312543225433254342543525436254372543825439254402544125442254432544425445254462544725448254492545025451254522545325454254552545625457254582545925460254612546225463254642546525466254672546825469254702547125472254732547425475254762547725478254792548025481254822548325484254852548625487254882548925490254912549225493254942549525496254972549825499255002550125502255032550425505255062550725508255092551025511255122551325514255152551625517255182551925520255212552225523255242552525526255272552825529255302553125532255332553425535255362553725538255392554025541255422554325544255452554625547255482554925550255512555225553255542555525556255572555825559255602556125562255632556425565255662556725568255692557025571255722557325574255752557625577255782557925580255812558225583255842558525586255872558825589255902559125592255932559425595255962559725598255992560025601256022560325604256052560625607256082560925610256112561225613256142561525616256172561825619256202562125622256232562425625256262562725628256292563025631256322563325634256352563625637256382563925640256412564225643256442564525646256472564825649256502565125652256532565425655256562565725658256592566025661256622566325664256652566625667256682566925670256712567225673256742567525676256772567825679256802568125682256832568425685256862568725688256892569025691256922569325694256952569625697256982569925700257012570225703257042570525706257072570825709257102571125712257132571425715257162571725718257192572025721257222572325724257252572625727257282572925730257312573225733257342573525736257372573825739257402574125742257432574425745257462574725748257492575025751257522575325754257552575625757257582575925760257612576225763257642576525766257672576825769257702577125772257732577425775257762577725778257792578025781257822578325784257852578625787257882578925790257912579225793257942579525796257972579825799258002580125802258032580425805258062580725808258092581025811258122581325814258152581625817258182581925820258212582225823258242582525826258272582825829258302583125832258332583425835258362583725838258392584025841258422584325844258452584625847258482584925850258512585225853258542585525856258572585825859258602586125862258632586425865258662586725868258692587025871258722587325874258752587625877258782587925880258812588225883258842588525886258872588825889258902589125892258932589425895258962589725898258992590025901259022590325904259052590625907259082590925910259112591225913259142591525916259172591825919259202592125922259232592425925259262592725928259292593025931259322593325934259352593625937259382593925940259412594225943259442594525946259472594825949259502595125952259532595425955259562595725958259592596025961259622596325964259652596625967259682596925970259712597225973259742597525976259772597825979259802598125982259832598425985259862598725988259892599025991259922599325994259952599625997259982599926000260012600226003260042600526006260072600826009260102601126012260132601426015260162601726018260192602026021260222602326024260252602626027260282602926030260312603226033260342603526036260372603826039260402604126042260432604426045260462604726048260492605026051260522605326054260552605626057260582605926060260612606226063260642606526066260672606826069260702607126072260732607426075260762607726078260792608026081260822608326084260852608626087260882608926090260912609226093260942609526096260972609826099261002610126102261032610426105261062610726108261092611026111261122611326114261152611626117261182611926120261212612226123261242612526126261272612826129261302613126132261332613426135261362613726138261392614026141261422614326144261452614626147261482614926150261512615226153261542615526156261572615826159261602616126162261632616426165261662616726168261692617026171261722617326174261752617626177261782617926180261812618226183261842618526186261872618826189261902619126192261932619426195261962619726198261992620026201262022620326204262052620626207262082620926210262112621226213262142621526216262172621826219262202622126222262232622426225262262622726228262292623026231262322623326234262352623626237262382623926240262412624226243262442624526246262472624826249262502625126252262532625426255262562625726258262592626026261262622626326264262652626626267262682626926270262712627226273262742627526276262772627826279262802628126282262832628426285262862628726288262892629026291262922629326294262952629626297262982629926300263012630226303263042630526306263072630826309263102631126312263132631426315263162631726318263192632026321263222632326324263252632626327263282632926330263312633226333263342633526336263372633826339263402634126342263432634426345263462634726348263492635026351263522635326354263552635626357263582635926360263612636226363263642636526366263672636826369263702637126372263732637426375263762637726378263792638026381263822638326384263852638626387263882638926390263912639226393263942639526396263972639826399264002640126402264032640426405264062640726408264092641026411264122641326414264152641626417264182641926420264212642226423264242642526426264272642826429264302643126432264332643426435264362643726438264392644026441264422644326444264452644626447264482644926450264512645226453264542645526456264572645826459264602646126462264632646426465264662646726468264692647026471264722647326474264752647626477264782647926480264812648226483264842648526486264872648826489264902649126492264932649426495264962649726498264992650026501265022650326504265052650626507265082650926510265112651226513265142651526516265172651826519265202652126522265232652426525265262652726528265292653026531265322653326534265352653626537265382653926540265412654226543265442654526546265472654826549265502655126552265532655426555265562655726558265592656026561265622656326564265652656626567265682656926570265712657226573265742657526576265772657826579265802658126582265832658426585265862658726588265892659026591265922659326594265952659626597265982659926600266012660226603266042660526606266072660826609266102661126612266132661426615266162661726618266192662026621266222662326624266252662626627266282662926630266312663226633266342663526636266372663826639266402664126642266432664426645266462664726648266492665026651266522665326654266552665626657266582665926660266612666226663266642666526666266672666826669266702667126672266732667426675266762667726678266792668026681266822668326684266852668626687266882668926690266912669226693266942669526696266972669826699267002670126702267032670426705267062670726708267092671026711267122671326714267152671626717267182671926720267212672226723267242672526726267272672826729267302673126732267332673426735267362673726738267392674026741267422674326744267452674626747267482674926750267512675226753267542675526756267572675826759267602676126762267632676426765267662676726768267692677026771267722677326774267752677626777267782677926780267812678226783267842678526786267872678826789267902679126792267932679426795267962679726798267992680026801268022680326804268052680626807268082680926810268112681226813268142681526816268172681826819268202682126822268232682426825268262682726828268292683026831268322683326834268352683626837268382683926840268412684226843268442684526846268472684826849268502685126852268532685426855268562685726858268592686026861268622686326864268652686626867268682686926870268712687226873268742687526876268772687826879268802688126882268832688426885268862688726888268892689026891268922689326894268952689626897268982689926900269012690226903269042690526906269072690826909269102691126912269132691426915269162691726918269192692026921269222692326924269252692626927269282692926930269312693226933269342693526936269372693826939269402694126942269432694426945269462694726948269492695026951269522695326954269552695626957269582695926960269612696226963269642696526966269672696826969269702697126972269732697426975269762697726978269792698026981269822698326984269852698626987269882698926990269912699226993269942699526996269972699826999270002700127002270032700427005270062700727008270092701027011270122701327014270152701627017270182701927020270212702227023270242702527026270272702827029270302703127032270332703427035270362703727038270392704027041270422704327044270452704627047270482704927050270512705227053270542705527056270572705827059270602706127062270632706427065270662706727068270692707027071270722707327074270752707627077270782707927080270812708227083270842708527086270872708827089270902709127092270932709427095270962709727098270992710027101271022710327104271052710627107271082710927110271112711227113271142711527116271172711827119271202712127122271232712427125271262712727128271292713027131271322713327134271352713627137271382713927140271412714227143271442714527146271472714827149271502715127152271532715427155271562715727158271592716027161271622716327164271652716627167271682716927170271712717227173271742717527176271772717827179271802718127182271832718427185271862718727188271892719027191271922719327194271952719627197271982719927200272012720227203272042720527206272072720827209272102721127212272132721427215272162721727218272192722027221272222722327224272252722627227272282722927230272312723227233272342723527236272372723827239272402724127242272432724427245272462724727248272492725027251272522725327254272552725627257272582725927260272612726227263272642726527266272672726827269272702727127272272732727427275272762727727278272792728027281272822728327284272852728627287272882728927290272912729227293272942729527296272972729827299273002730127302273032730427305273062730727308273092731027311273122731327314273152731627317273182731927320273212732227323273242732527326273272732827329273302733127332273332733427335273362733727338273392734027341273422734327344273452734627347273482734927350273512735227353273542735527356273572735827359273602736127362273632736427365273662736727368273692737027371273722737327374273752737627377273782737927380273812738227383273842738527386273872738827389273902739127392273932739427395273962739727398273992740027401274022740327404274052740627407274082740927410274112741227413274142741527416274172741827419274202742127422274232742427425274262742727428274292743027431274322743327434274352743627437274382743927440
  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. warehousenamedisplay:
  10845. type: string
  10846. wrbargainid:
  10847. description: '[询价单号]议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)'
  10848. type: string
  10849. wrtradeorderid:
  10850. description: 关联委托单ID
  10851. type: integer
  10852. zscerttypedisplay:
  10853. type: string
  10854. zsclaritytype1display:
  10855. type: string
  10856. zsclaritytype2display:
  10857. type: string
  10858. zscolortype1display:
  10859. type: string
  10860. zscolortype2display:
  10861. type: string
  10862. zscrystaltypedisplay:
  10863. type: string
  10864. zscurrencytypedisplay:
  10865. type: string
  10866. zscurrencytypedisplayunit:
  10867. type: string
  10868. zscuttype1display:
  10869. type: string
  10870. zscuttype2display:
  10871. type: string
  10872. zsczcolor1typedisplay:
  10873. type: string
  10874. zsczcolor2typedisplay:
  10875. type: string
  10876. zsczcolor3typedisplay:
  10877. type: string
  10878. zsfluorescencetype1display:
  10879. type: string
  10880. zsfluorescencetype2display:
  10881. type: string
  10882. zspolishtype1display:
  10883. type: string
  10884. zspolishtype2display:
  10885. type: string
  10886. zsshapetypedisplay:
  10887. type: string
  10888. zsstyletypedisplay:
  10889. type: string
  10890. zssymmetrytype1display:
  10891. type: string
  10892. zssymmetrytype2display:
  10893. type: string
  10894. required:
  10895. - userid
  10896. type: object
  10897. models.MyBuyOrder:
  10898. properties:
  10899. accountid:
  10900. description: 资金账户ID
  10901. type: integer
  10902. marketid:
  10903. description: 市场ID
  10904. type: integer
  10905. ordertime:
  10906. description: 委托时间
  10907. type: string
  10908. origin:
  10909. description: 原产地
  10910. type: string
  10911. remark:
  10912. description: 备注
  10913. type: string
  10914. userid:
  10915. description: 用户ID
  10916. type: integer
  10917. validtime:
  10918. description: 有效期限
  10919. type: string
  10920. warehouseids:
  10921. description: 仓库ID - 多个, 逗号分隔
  10922. type: string
  10923. warehouseinfosdisplay:
  10924. type: string
  10925. wrtradeorderid:
  10926. description: '[委托单号]买委托单ID(320+Unix秒时间戳(10位)+xxxxxx)'
  10927. type: string
  10928. wrtradeorderstatus:
  10929. 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、
  10930. type: integer
  10931. zscategory:
  10932. description: 钻石分类 - 枚举”ZSCategory“
  10933. type: integer
  10934. zscategorydisplay:
  10935. type: string
  10936. zsclaritytype:
  10937. description: 净度 - 两个, 逗号分隔
  10938. type: string
  10939. zsclaritytypedisplay:
  10940. type: string
  10941. zscolortype:
  10942. description: 颜色 - 两个, 逗号分隔
  10943. type: string
  10944. zscolortypedisplay:
  10945. type: string
  10946. zscrystaltype:
  10947. description: 晶型 - 多个,逗号分隔
  10948. type: string
  10949. zscrystaltypedisplay:
  10950. type: string
  10951. zscurrencytype:
  10952. description: 货币类型 - 多个, 逗号分隔
  10953. type: string
  10954. zscurrencytypedisplay:
  10955. type: string
  10956. zscuttype:
  10957. description: 切工 - 两个, 逗号分隔
  10958. type: string
  10959. zscuttypedisplay:
  10960. type: string
  10961. zsczcolor1type:
  10962. description: 彩钻颜色1, 逗号分隔
  10963. type: string
  10964. zsczcolor1typedisplay:
  10965. type: string
  10966. zsczcolor2type:
  10967. description: 彩钻颜色2, 逗号分隔
  10968. type: string
  10969. zsczcolor2typedisplay:
  10970. type: string
  10971. zsczcolor3type:
  10972. description: 彩钻颜色3, 逗号分隔
  10973. type: string
  10974. zsczcolor3typedisplay:
  10975. type: string
  10976. zsfluorescencetype:
  10977. description: 荧光 - 多个, 逗号分隔
  10978. type: string
  10979. zsfluorescencetypedisplay:
  10980. type: string
  10981. zspolishtype:
  10982. description: 抛光度 - 两个, 逗号分隔
  10983. type: string
  10984. zspolishtypedisplay:
  10985. type: string
  10986. zsshapetype:
  10987. description: 形状 - 多个, 逗号分隔
  10988. type: string
  10989. zsshapetypedisplay:
  10990. type: string
  10991. zssize:
  10992. description: 尺寸 - 两个小数, 逗号分隔
  10993. type: string
  10994. zsstyletype:
  10995. description: 款式 - 多个, 逗号分隔
  10996. type: string
  10997. zsstyletypedisplay:
  10998. type: string
  10999. zssymmetrytype:
  11000. description: 对称度 - 两个, 逗号分隔
  11001. type: string
  11002. zssymmetrytypedisplay:
  11003. type: string
  11004. zstabledisplay:
  11005. description: 求购信息
  11006. type: string
  11007. required:
  11008. - userid
  11009. type: object
  11010. models.MyDeListing:
  11011. properties:
  11012. buyaccountid:
  11013. description: 买方账号ID
  11014. type: integer
  11015. buychargevalue:
  11016. description: 买方手续费
  11017. type: number
  11018. buyorsell:
  11019. description: 【入参】方向 - 0:全部 1:买 2:卖;【出参】方向 - 0:买 1:卖
  11020. type: integer
  11021. buyuserid:
  11022. description: 买方用户ID
  11023. type: integer
  11024. deliverygoodsid:
  11025. description: 现货品种ID
  11026. type: integer
  11027. exchangerate:
  11028. description: 汇率
  11029. type: number
  11030. goodsno:
  11031. description: 商品编号
  11032. type: string
  11033. marketid:
  11034. description: 市场ID
  11035. type: integer
  11036. matchusername:
  11037. description: 对手方
  11038. type: string
  11039. oritradeamount:
  11040. description: 成交金额[商品币种]
  11041. type: number
  11042. performanceplanid:
  11043. description: 履约计划ID/合同ID
  11044. type: integer
  11045. qty:
  11046. description: 成交重量
  11047. type: number
  11048. sellaccountid:
  11049. description: 卖方账号ID
  11050. type: integer
  11051. sellchargevalue:
  11052. description: 卖方手续费
  11053. type: number
  11054. selluserid:
  11055. description: 卖方用户ID
  11056. type: integer
  11057. tradeamount:
  11058. description: 成交金额
  11059. type: number
  11060. tradedate:
  11061. description: 交易日(yyyyMMdd)
  11062. type: string
  11063. tradeprice:
  11064. description: 成交价格
  11065. type: number
  11066. tradetime:
  11067. description: 成交时间
  11068. type: string
  11069. userid:
  11070. description: 用户ID
  11071. type: integer
  11072. warehousenamedisplay:
  11073. type: string
  11074. wrfactortypeid:
  11075. description: 仓单要素类型ID
  11076. type: integer
  11077. wrstandardid:
  11078. description: 现货商品ID
  11079. type: integer
  11080. wrtradedetailid:
  11081. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  11082. type: string
  11083. zscategory:
  11084. description: 钻石分类 - 枚举”ZSCategory“
  11085. type: integer
  11086. zscategorydisplay:
  11087. type: string
  11088. zscerttypedisplay:
  11089. type: string
  11090. zsclaritytype1display:
  11091. type: string
  11092. zsclaritytype2display:
  11093. type: string
  11094. zscolortype1display:
  11095. type: string
  11096. zscolortype2display:
  11097. type: string
  11098. zscrystaltypedisplay:
  11099. type: string
  11100. zscurrencytype:
  11101. description: 货币类型 - 枚举“ZSCurrencyType”
  11102. type: integer
  11103. zscurrencytypedisplay:
  11104. type: string
  11105. zscurrencytypedisplayunit:
  11106. type: string
  11107. zscuttype1display:
  11108. type: string
  11109. zscuttype2display:
  11110. type: string
  11111. zsczcolor1typedisplay:
  11112. type: string
  11113. zsczcolor2typedisplay:
  11114. type: string
  11115. zsczcolor3typedisplay:
  11116. type: string
  11117. zsfluorescencetype1display:
  11118. type: string
  11119. zsfluorescencetype2display:
  11120. type: string
  11121. zspolishtype1display:
  11122. type: string
  11123. zspolishtype2display:
  11124. type: string
  11125. zsshapetypedisplay:
  11126. type: string
  11127. zsstyletypedisplay:
  11128. type: string
  11129. zssymmetrytype1display:
  11130. type: string
  11131. zssymmetrytype2display:
  11132. type: string
  11133. required:
  11134. - userid
  11135. type: object
  11136. models.MyDelistingApply:
  11137. properties:
  11138. applyprice:
  11139. description: 申请价格
  11140. type: number
  11141. applyqty:
  11142. description: 申请数量
  11143. type: number
  11144. applyremark:
  11145. description: 申请备注
  11146. type: string
  11147. applystatus:
  11148. description: 申请状态 - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  11149. type: integer
  11150. applytime:
  11151. description: 申请时间
  11152. type: string
  11153. auditremark:
  11154. description: 确认备注
  11155. type: string
  11156. audittime:
  11157. description: 确认时间
  11158. type: string
  11159. buyuserid:
  11160. description: 买方用户ID
  11161. type: integer
  11162. buyusername:
  11163. description: 买方
  11164. type: string
  11165. buywrtradeorderid:
  11166. description: 买委托单ID
  11167. type: integer
  11168. goodsno:
  11169. description: 商品编号
  11170. type: string
  11171. ladingbillid:
  11172. description: 卖方提单ID
  11173. type: integer
  11174. marketid:
  11175. description: 市场ID
  11176. type: integer
  11177. sellaccountid:
  11178. description: 卖方账户ID
  11179. type: integer
  11180. selldelistingapplyid:
  11181. description: '[询价单号]卖摘牌申请ID(916+Unix秒时间戳(10位)+xxxxxx)'
  11182. type: integer
  11183. selltradeorderid:
  11184. description: 卖方委托ID(买方确认成交后更新)
  11185. type: integer
  11186. selluserid:
  11187. description: 卖方用户ID
  11188. type: integer
  11189. subnum:
  11190. description: 卖方提单子单号
  11191. type: integer
  11192. warehousenamedisplay:
  11193. type: string
  11194. wrfactortypeid:
  11195. description: 仓单要素类型ID
  11196. type: integer
  11197. wrstandardid:
  11198. description: 现货商品ID
  11199. type: integer
  11200. zscerttypedisplay:
  11201. type: string
  11202. zsclaritytype1display:
  11203. type: string
  11204. zsclaritytype2display:
  11205. type: string
  11206. zscolortype1display:
  11207. type: string
  11208. zscolortype2display:
  11209. type: string
  11210. zscrystaltypedisplay:
  11211. type: string
  11212. zscurrencytypedisplay:
  11213. type: string
  11214. zscurrencytypedisplayunit:
  11215. type: string
  11216. zscuttype1display:
  11217. type: string
  11218. zscuttype2display:
  11219. type: string
  11220. zsczcolor1typedisplay:
  11221. type: string
  11222. zsczcolor2typedisplay:
  11223. type: string
  11224. zsczcolor3typedisplay:
  11225. type: string
  11226. zsfluorescencetype1display:
  11227. type: string
  11228. zsfluorescencetype2display:
  11229. type: string
  11230. zspolishtype1display:
  11231. type: string
  11232. zspolishtype2display:
  11233. type: string
  11234. zsshapetypedisplay:
  11235. type: string
  11236. zsstyletypedisplay:
  11237. type: string
  11238. zssymmetrytype1display:
  11239. type: string
  11240. zssymmetrytype2display:
  11241. type: string
  11242. required:
  11243. - selluserid
  11244. type: object
  11245. models.MySellOrder:
  11246. properties:
  11247. accountid:
  11248. description: 资金账号
  11249. type: integer
  11250. applyid:
  11251. description: 申请单ID
  11252. type: integer
  11253. attachment1:
  11254. description: 附件1
  11255. type: string
  11256. attachment2:
  11257. description: 附件2
  11258. type: string
  11259. buyorsell:
  11260. description: 买卖 - 0:买 1:卖
  11261. type: integer
  11262. canbargain:
  11263. description: 是否可议价 - 0:不可 1:可
  11264. type: integer
  11265. cancelqty:
  11266. description: 撤销数量
  11267. type: integer
  11268. canceltime:
  11269. description: 撤销时间
  11270. type: string
  11271. chargealgorithm:
  11272. description: 手续费收取方式 1:比率 2:固定
  11273. type: integer
  11274. chargealgorithmvalue:
  11275. description: 手续费设置值(交易所部分)
  11276. type: number
  11277. chargealgorithmvalue2:
  11278. description: 手续费设置值(会员部分)
  11279. type: number
  11280. clientordertime:
  11281. description: 客户端委托时间
  11282. type: string
  11283. exchangerate:
  11284. description: 汇率[67]
  11285. type: number
  11286. firstratio:
  11287. description: 首付比率 - [挂牌时指定,摘牌时使用]
  11288. type: number
  11289. fixedprice:
  11290. description: '[克拉单价]固定价格 - [挂牌]'
  11291. type: number
  11292. freezecharge:
  11293. description: 冻结手续费
  11294. type: number
  11295. freezefirstamount:
  11296. description: 冻结首付金额 - [摘牌]
  11297. type: number
  11298. freezemargin:
  11299. description: 冻结保证金
  11300. type: number
  11301. goodsno:
  11302. description: 商品编号
  11303. type: string
  11304. isspecified:
  11305. description: 是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  11306. type: integer
  11307. marginalgorithm:
  11308. description: 保证金方式 - 1:比率 2:固定
  11309. type: integer
  11310. marginvalue:
  11311. description: 保证金设置值
  11312. type: number
  11313. marketid:
  11314. description: 市场ID
  11315. type: integer
  11316. orderamount:
  11317. description: 挂牌金额[账户] [67]= OrderQty * FixedPrice * ExchangeRate /100
  11318. type: number
  11319. ordertime:
  11320. description: 委托时间
  11321. type: string
  11322. performancetemplateid:
  11323. description: 履约计划模板ID
  11324. type: integer
  11325. pricefactor:
  11326. description: 价格系数(浮动价时填写) - [挂牌]
  11327. type: number
  11328. pricemove:
  11329. description: 升贴水(浮动价时填写) - [挂牌]
  11330. type: number
  11331. relatedwrtradeorderid:
  11332. description: 关联委托单号(摘牌委托关联挂牌委托单ID)
  11333. type: integer
  11334. retcode:
  11335. description: 错误代码
  11336. type: integer
  11337. selledqty:
  11338. description: 成交重量
  11339. type: number
  11340. totalqty:
  11341. description: 总重量
  11342. type: number
  11343. tradedate:
  11344. description: 交易日(yyyyMMdd)
  11345. type: string
  11346. tradeprice:
  11347. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)*
  11348. 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  11349. type: number
  11350. unfreezecharge:
  11351. description: 解冻手续费
  11352. type: number
  11353. unfreezefirstamount:
  11354. description: 解冻首付金额 - [摘牌]
  11355. type: number
  11356. unfreezemargin:
  11357. description: 解冻保证金
  11358. type: number
  11359. userid:
  11360. description: 用户ID
  11361. type: integer
  11362. uuid:
  11363. description: 发起端唯一id
  11364. type: string
  11365. validtime:
  11366. description: 有效期限
  11367. type: string
  11368. validtype:
  11369. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  11370. type: integer
  11371. wrbargainid:
  11372. description: 议价申请单ID
  11373. type: integer
  11374. wrfactortypeid:
  11375. description: 仓单要素类型ID/商品ID(77)
  11376. type: integer
  11377. wrpricetype:
  11378. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  11379. type: integer
  11380. wrstandardid:
  11381. description: 现货商品ID
  11382. type: integer
  11383. wrtradeorderid:
  11384. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  11385. type: string
  11386. wrtradeorderstatus:
  11387. 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:撤单解冻贷款失败
  11388. type: integer
  11389. wrtradetype:
  11390. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  11391. type: integer
  11392. wrtransferuserid:
  11393. description: 仓单受让用户 - [摘牌]
  11394. type: integer
  11395. zscategory:
  11396. description: 钻石分类 - 枚举”ZSCategory“
  11397. type: integer
  11398. zscategorydisplay:
  11399. description: 钻石分类 - 描述
  11400. type: string
  11401. zscurrencytype:
  11402. description: 货币类型 - 枚举“ZSCurrencyType”
  11403. type: integer
  11404. required:
  11405. - userid
  11406. type: object
  11407. models.MyWRPosition:
  11408. properties:
  11409. cerno:
  11410. description: 证书编号 - 类型:2,4,5
  11411. type: string
  11412. cpcertno:
  11413. description: 金伯利证书编号 - 类型:3
  11414. type: string
  11415. ffreezeqty:
  11416. description: 冻结数量:WRPosition表:FREEZEQTY/100 , 保留两位小数
  11417. type: number
  11418. ftotalqty:
  11419. description: 库存数量:WRPosition表:TOTALQTY /100 , 保留两位小数
  11420. type: number
  11421. goodsno:
  11422. description: 商品编号
  11423. type: string
  11424. imagepath:
  11425. description: 商品照片(相对地址)
  11426. type: string
  11427. isvalid:
  11428. description: 是否有效 - 0:无效 1:有效
  11429. type: integer
  11430. kppath:
  11431. description: 金伯利证书图片(相对地址) - 类型:3
  11432. type: string
  11433. kpweight:
  11434. description: 金伯利证书重量 - 类型:3
  11435. type: string
  11436. ladingbillid:
  11437. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  11438. type: string
  11439. marketprice:
  11440. description: 市场价
  11441. type: string
  11442. origin:
  11443. description: 原产地 - 类型:3
  11444. type: string
  11445. price:
  11446. description: 总价(价格) - 类型:1,2,3,4,5
  11447. type: number
  11448. priceper:
  11449. description: 克拉单价 - 类型:1,2,3,5
  11450. type: string
  11451. remark:
  11452. description: 备注
  11453. type: string
  11454. sellmobile:
  11455. description: 手机号码(加密存储)
  11456. type: string
  11457. sellusername:
  11458. description: 账户名称(机构名称)
  11459. type: string
  11460. settingmaterial:
  11461. description: 镶嵌材料 - 类型:4
  11462. type: string
  11463. size1:
  11464. description: 尺寸1 - 类型:2,4,5
  11465. type: string
  11466. size2:
  11467. description: 尺寸2 - 类型:2,4,5
  11468. type: string
  11469. size3:
  11470. description: 尺寸3 - 类型:2,4,5
  11471. type: string
  11472. stonedesc:
  11473. description: 配石描述 - 类型:4
  11474. type: string
  11475. subnum:
  11476. description: 提单子单号
  11477. type: integer
  11478. userid:
  11479. description: 用户ID
  11480. type: integer
  11481. warehouseid:
  11482. description: 仓库ID
  11483. type: integer
  11484. warehousenamedisplay:
  11485. type: string
  11486. weight:
  11487. description: 总重量(克拉重量) - 类型:1,2,3,4,5
  11488. type: number
  11489. weightavg:
  11490. description: 平均单颗重量 - 类型:1,3
  11491. type: number
  11492. wrpath:
  11493. description: 仓单扫描件(相对地址)
  11494. type: string
  11495. wrstandardid:
  11496. description: 现货商品ID
  11497. type: integer
  11498. wruserid:
  11499. description: 登录用户ID
  11500. type: integer
  11501. zscategory:
  11502. description: 钻石分类 - 枚举”ZSCategory“
  11503. type: integer
  11504. zscategorydisplay:
  11505. type: string
  11506. zscerttype:
  11507. description: 证书类型 - 枚举”ZSCertType“ - 类型:2,4,5
  11508. type: integer
  11509. zscerttypedisplay:
  11510. type: string
  11511. zsclaritytype1:
  11512. description: 净度1 - 枚举”ZSClarityType“ - 类型:1,2,3,4,5
  11513. type: integer
  11514. zsclaritytype1display:
  11515. type: string
  11516. zsclaritytype2:
  11517. description: 净度2 - 枚举”ZSClarityType“ - 类型:1,3
  11518. type: integer
  11519. zsclaritytype2display:
  11520. type: string
  11521. zscolortype1:
  11522. description: 颜色1 - 枚举”ZSColorType“ - 类型:1,2,3,4
  11523. type: integer
  11524. zscolortype1display:
  11525. type: string
  11526. zscolortype2:
  11527. description: 颜色2 - 枚举”ZSColorType“ - 类型:1,3
  11528. type: integer
  11529. zscolortype2display:
  11530. type: string
  11531. zscrystaltype:
  11532. description: 晶型范围 - 枚举“ZSCrystalType“ - 类型:3, 多个,逗号分隔
  11533. type: string
  11534. zscrystaltypedisplay:
  11535. type: string
  11536. zscurrencytype:
  11537. description: 货币类型 - 枚举“ZSCurrencyType”
  11538. type: integer
  11539. zscurrencytypedisplay:
  11540. type: string
  11541. zscurrencytypedisplayunit:
  11542. type: string
  11543. zscuttype1:
  11544. description: 切工1 - 枚举”ZSCutType“ - 类型:1,2,4,5
  11545. type: integer
  11546. zscuttype1display:
  11547. type: string
  11548. zscuttype2:
  11549. description: 切工2 - 枚举”ZSCutType“ - 类型:1
  11550. type: integer
  11551. zscuttype2display:
  11552. type: string
  11553. zsczcolor1type:
  11554. description: 彩钻颜色1 - 枚举”ZSCZColor1Type“ - 类型:5
  11555. type: integer
  11556. zsczcolor1typedisplay:
  11557. type: string
  11558. zsczcolor2type:
  11559. description: 彩钻颜色2 - 枚举”ZSCZColor2Type“ - 类型:5
  11560. type: integer
  11561. zsczcolor2typedisplay:
  11562. type: string
  11563. zsczcolor3type:
  11564. description: 彩钻颜色3 - 枚举”ZSCZColor3Type“ - 类型:5
  11565. type: integer
  11566. zsczcolor3typedisplay:
  11567. type: string
  11568. zsfluorescencetype1:
  11569. description: 荧光1 - 枚举”ZSFluorescenceType“ - 类型:1,2,3,4,5
  11570. type: integer
  11571. zsfluorescencetype1display:
  11572. type: string
  11573. zsfluorescencetype2:
  11574. description: 荧光2 - 枚举”ZSFluorescenceType” - 类型:1,3
  11575. type: integer
  11576. zsfluorescencetype2display:
  11577. type: string
  11578. zspolishtype1:
  11579. description: 抛光度1 - 枚举”ZSPolishType“ - 类型:1,2,4,5
  11580. type: integer
  11581. zspolishtype1display:
  11582. type: string
  11583. zspolishtype2:
  11584. description: 抛光度2 - 枚举”ZSPolishType“ - 类型:1
  11585. type: integer
  11586. zspolishtype2display:
  11587. type: string
  11588. zsshapetype:
  11589. description: 形状 - 枚举”ZSShapeType“ - 类型:1,2,4,5 ;(1为多个,逗号分隔)
  11590. type: string
  11591. zsshapetypedisplay:
  11592. type: string
  11593. zsstyletype:
  11594. description: 款式 - 类型:4
  11595. type: integer
  11596. zsstyletypedisplay:
  11597. type: string
  11598. zssymmetrytype1:
  11599. description: 对称度1 - 枚举”ZSSymmetryType“ - 类型:1,2,4,5
  11600. type: integer
  11601. zssymmetrytype1display:
  11602. type: string
  11603. zssymmetrytype2:
  11604. description: 对称度2 - 枚举”ZSSymmetryType“ - 类型:1
  11605. type: integer
  11606. zssymmetrytype2display:
  11607. type: string
  11608. required:
  11609. - wruserid
  11610. type: object
  11611. models.NewFuncmenulist:
  11612. properties:
  11613. authtype:
  11614. description: 权限类型 - 1:菜单 2:组件 3:按钮
  11615. type: integer
  11616. buttonname:
  11617. description: 按钮名称
  11618. type: string
  11619. buttontype:
  11620. description: 按钮类型 - 存按钮样式
  11621. type: string
  11622. component:
  11623. description: 组件名或组件地址
  11624. type: string
  11625. hidden:
  11626. description: 是否隐藏 - 0:显示 1:隐藏
  11627. type: integer
  11628. iconame:
  11629. description: 菜单图标
  11630. type: string
  11631. menutype:
  11632. description: 菜单类型 - 1:管理端 2:PC(C#) 3:移动(云平台) 4:终端(交易所) 5:PC(云平台)
  11633. type: integer
  11634. parentcode:
  11635. description: 上级资源代码
  11636. type: string
  11637. remark:
  11638. description: Remark
  11639. type: string
  11640. resourcecode:
  11641. description: 资源代码
  11642. type: string
  11643. resourcelevel:
  11644. description: 级别1-一级 2-二级 3-三级4-四级
  11645. type: integer
  11646. resourcename:
  11647. description: 资源名(Title)
  11648. type: string
  11649. sort:
  11650. description: 排序
  11651. type: integer
  11652. url:
  11653. description: Url
  11654. type: string
  11655. urltype:
  11656. description: 地址类型 - 1:路由 2:外链 3:内联框架
  11657. type: integer
  11658. required:
  11659. - resourcecode
  11660. type: object
  11661. models.OperationPrimaryMenu:
  11662. properties:
  11663. Children:
  11664. description: 二级功能菜单
  11665. items:
  11666. $ref: '#/definitions/models.OperationSecondaryMenu'
  11667. type: array
  11668. Key:
  11669. description: 菜单KEY
  11670. type: string
  11671. Label:
  11672. description: 菜单标题
  11673. type: string
  11674. type: object
  11675. models.OperationSecondaryMenu:
  11676. properties:
  11677. Key:
  11678. description: 菜单KEY
  11679. type: string
  11680. Label:
  11681. description: 菜单标题
  11682. type: string
  11683. TabList:
  11684. description: 三级功能菜单
  11685. items:
  11686. $ref: '#/definitions/models.OperationTabMenu'
  11687. type: array
  11688. type: object
  11689. models.OperationTabMenu:
  11690. properties:
  11691. Key:
  11692. description: 菜单KEY
  11693. type: string
  11694. Label:
  11695. description: 菜单标题
  11696. type: string
  11697. type: object
  11698. models.Patradelinkdetail:
  11699. properties:
  11700. accountname:
  11701. description: 套期主体
  11702. type: string
  11703. agreeunit:
  11704. description: 合约乘数
  11705. type: number
  11706. amount:
  11707. description: 金额 = RelatedLot * TradePrice * AgreeUnit
  11708. type: number
  11709. areauserid:
  11710. description: 所属机构
  11711. type: integer
  11712. bizsubjectid:
  11713. description: 归属业务部门ID - SubjectID
  11714. type: integer
  11715. buyorsell:
  11716. description: 方向 - 0:买 1:卖
  11717. type: integer
  11718. convertratio:
  11719. description: 品种系数
  11720. type: number
  11721. convertratiochange:
  11722. description: 套期商品变化量 = RelatedLot * AgreeUnit * ConvertRatio
  11723. type: number
  11724. createtime:
  11725. description: '[日期时间]创建时间'
  11726. type: string
  11727. creatorid:
  11728. description: 创建人ID
  11729. type: integer
  11730. creatorsrc:
  11731. description: 创建人来源 - 1:管理端 2:终端 3:交易
  11732. type: integer
  11733. goodscode:
  11734. description: 商品代码(内部)
  11735. type: string
  11736. goodsgroupid:
  11737. description: 对冲品种ID[期货合约商品组ID]
  11738. type: integer
  11739. goodsid:
  11740. description: 商品ID
  11741. type: integer
  11742. hedgeditemid:
  11743. description: 现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]
  11744. type: integer
  11745. hedgeflag:
  11746. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  11747. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目
  11748. type: integer
  11749. linkdetailid:
  11750. description: 期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)
  11751. type: string
  11752. linkstatus:
  11753. description: 关联状态 - 1:成功 2:失败 3:解绑
  11754. type: integer
  11755. middlegoodsid:
  11756. description: 套保品种ID
  11757. type: integer
  11758. name:
  11759. description: 账户名/子账户
  11760. type: string
  11761. optioncode:
  11762. description: '[期货合约]期权代码 [期权]'
  11763. type: string
  11764. ordertype:
  11765. description: 单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单
  11766. type: integer
  11767. relatedlot:
  11768. description: '[数量]关联手数'
  11769. type: number
  11770. relatedmode:
  11771. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  11772. type: integer
  11773. relatedqty:
  11774. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  11775. type: number
  11776. retcode:
  11777. description: 返回码
  11778. type: integer
  11779. saleuserid:
  11780. description: 业务员ID
  11781. type: integer
  11782. tradedate:
  11783. description: 关联交易日(yyyyMMdd)
  11784. type: string
  11785. tradeid:
  11786. description: '[成交单号]内部成交单ID'
  11787. type: string
  11788. tradelot:
  11789. description: 成交手数
  11790. type: integer
  11791. tradeprice:
  11792. description: '[价格]成交价格'
  11793. type: number
  11794. tradetradedate:
  11795. description: 成交交易日(yyyyMMdd)
  11796. type: string
  11797. type: object
  11798. models.QueryErrorInfosRsp:
  11799. properties:
  11800. description:
  11801. description: 异常描述
  11802. type: string
  11803. errorcode:
  11804. description: 异常代码
  11805. type: string
  11806. errorid:
  11807. description: 异常ID
  11808. type: integer
  11809. modulecode:
  11810. description: 所属模块
  11811. type: string
  11812. operatecode:
  11813. description: 所属操作
  11814. type: string
  11815. rownumber:
  11816. description: 行号
  11817. type: string
  11818. required:
  11819. - errorid
  11820. type: object
  11821. models.QueryHedgeOrderDetailRsp:
  11822. properties:
  11823. accountid:
  11824. description: 账户ID
  11825. type: integer
  11826. buyorsell:
  11827. description: 买卖 - 0:买 1:卖
  11828. type: integer
  11829. cancellogincode:
  11830. description: 撤单人
  11831. type: string
  11832. channelbuildtype:
  11833. description: 开平标志 - 0:无 1:建仓 2:平仓
  11834. type: integer
  11835. channelinnerorderstatus:
  11836. description: 委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:部分成交 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败
  11837. 9:全部成交
  11838. type: integer
  11839. channeloperatetype:
  11840. description: 操作类型 - 1:正常委托 2:斩仓委托 3:强平委托
  11841. type: integer
  11842. closetype:
  11843. description: 平仓方式 - 0:无 1:平今 2:平昨
  11844. type: integer
  11845. curexchangerate:
  11846. description: 当前汇率
  11847. type: number
  11848. decimalplace:
  11849. description: 商品报价小数位
  11850. type: integer
  11851. exchangefullname:
  11852. description: 外部交易所全称
  11853. type: string
  11854. goodscode:
  11855. description: 商品代码(内部)
  11856. type: string
  11857. goodsid:
  11858. description: 商品ID
  11859. type: integer
  11860. goodsname:
  11861. description: 商品名称
  11862. type: string
  11863. marketid:
  11864. description: 市场ID
  11865. type: integer
  11866. openfreezemargin:
  11867. description: 冻结保证金(冻结交易金额)
  11868. type: number
  11869. orderid:
  11870. description: 委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11871. type: string
  11872. orderlogincode:
  11873. description: 委托人
  11874. type: string
  11875. orderprice:
  11876. description: 委托价格(账户)
  11877. type: number
  11878. orderqty:
  11879. description: 委托数量
  11880. type: integer
  11881. ordertime:
  11882. description: 委托时间
  11883. type: string
  11884. pricemode:
  11885. description: '取价方式 - 1:市价 2: 限价'
  11886. type: integer
  11887. tradedate:
  11888. description: 交易日(yyyyMMdd)
  11889. type: string
  11890. tradeqty:
  11891. description: 成交数量
  11892. type: integer
  11893. type: object
  11894. models.QueryHedgeTradeDetailRsp:
  11895. properties:
  11896. accountid:
  11897. description: 账号ID
  11898. type: integer
  11899. buyorsell:
  11900. description: 方向 - 0:买 1:卖
  11901. type: integer
  11902. channelbuildtype:
  11903. description: 委托单据类型 0:无 1:建仓 2:平仓
  11904. type: integer
  11905. closecharge:
  11906. description: 平仓手续费(账户)
  11907. type: number
  11908. closecharge2:
  11909. description: 平仓手续费(商品)
  11910. type: number
  11911. closepl:
  11912. description: 平仓盈亏(账户)
  11913. type: number
  11914. closepl2:
  11915. description: 平仓盈亏(商品)
  11916. type: number
  11917. closepl3:
  11918. description: 平仓盈亏(账户)(逐笔)
  11919. type: number
  11920. closepl4:
  11921. description: 平仓盈亏(商品)(逐笔)
  11922. type: number
  11923. closetype:
  11924. description: 平仓方式 - 0:无 1:平今 2:平昨
  11925. type: integer
  11926. curexchangerate:
  11927. description: 当前汇率
  11928. type: number
  11929. decimalplace:
  11930. description: 商品报价小数位
  11931. type: integer
  11932. exchangefullname:
  11933. description: 外部交易所全称
  11934. type: string
  11935. goodscode:
  11936. description: 商品代码(内部)
  11937. type: string
  11938. goodsid:
  11939. description: 商品ID
  11940. type: integer
  11941. goodsname:
  11942. description: 商品名称
  11943. type: string
  11944. marketid:
  11945. description: 市场ID
  11946. type: integer
  11947. opencharge:
  11948. description: 建仓手续费(账户)
  11949. type: number
  11950. opencharge2:
  11951. description: 建仓手续费(商品)
  11952. type: number
  11953. orderid:
  11954. description: 委托单号
  11955. type: string
  11956. orderlogincode:
  11957. description: 委托人
  11958. type: string
  11959. tradeamount:
  11960. description: 成交金额(账户)
  11961. type: number
  11962. tradedate:
  11963. description: 交易日(yyyyMMdd)
  11964. type: string
  11965. tradeid:
  11966. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11967. type: string
  11968. tradeprice:
  11969. description: 成交价格
  11970. type: number
  11971. tradeqty:
  11972. description: 成交数量
  11973. type: integer
  11974. tradetime:
  11975. description: 成交时间
  11976. type: string
  11977. tradetype:
  11978. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  11979. type: integer
  11980. type: object
  11981. models.QuotePrimaryMenu:
  11982. properties:
  11983. Index:
  11984. description: 序号
  11985. type: integer
  11986. Key:
  11987. description: 键名
  11988. type: string
  11989. Name:
  11990. description: 菜单名称
  11991. type: string
  11992. SubMenus:
  11993. description: 子菜单
  11994. items:
  11995. $ref: '#/definitions/models.QuoteSecondaryMenu'
  11996. type: array
  11997. SubTitleType:
  11998. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  11999. type: integer
  12000. TradeModes:
  12001. description: 包含市场交易类型
  12002. type: string
  12003. type: object
  12004. models.QuoteSecondaryMenu:
  12005. properties:
  12006. ExExchangeCode:
  12007. description: 外部交易所代码
  12008. type: string
  12009. ExExchangeID:
  12010. description: 外部交易所ID
  12011. type: integer
  12012. GoodsGroupIDs:
  12013. description: 商品组ID列表
  12014. items:
  12015. type: integer
  12016. type: array
  12017. Index:
  12018. description: 序号
  12019. type: integer
  12020. MarketID:
  12021. description: 市场ID
  12022. type: integer
  12023. MenuTitle:
  12024. description: 菜单标题(市场名称或外部交易所名称)
  12025. type: string
  12026. TradeMode:
  12027. description: 交易模式
  12028. type: integer
  12029. type: object
  12030. models.RelatedTaAccount:
  12031. properties:
  12032. accountid:
  12033. description: 资金账户ID
  12034. type: integer
  12035. type: object
  12036. models.RoleMenu:
  12037. properties:
  12038. hasright:
  12039. description: 是否有权限 0-没有权限 1-有权限
  12040. type: integer
  12041. iconame:
  12042. description: 菜单图标
  12043. type: string
  12044. menutype:
  12045. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  12046. type: integer
  12047. parentcode:
  12048. description: 上级资源代码
  12049. type: string
  12050. remark:
  12051. description: 菜单备注
  12052. type: string
  12053. resourcecode:
  12054. description: 菜单代码
  12055. type: string
  12056. resourcelevel:
  12057. description: 级别
  12058. type: integer
  12059. resourcename:
  12060. description: 菜单名称
  12061. type: string
  12062. roleid:
  12063. description: 角色id
  12064. type: integer
  12065. sort:
  12066. description: 排序
  12067. type: integer
  12068. subMenu:
  12069. description: 子级菜单(结构同上层一样, swag解析不出来)
  12070. items:
  12071. $ref: '#/definitions/models.RoleMenu'
  12072. type: array
  12073. url:
  12074. description: URL
  12075. type: string
  12076. userid:
  12077. description: 用户id
  12078. type: integer
  12079. type: object
  12080. models.SearchGoods:
  12081. properties:
  12082. goodscode:
  12083. description: 商品代码(内部)
  12084. type: string
  12085. goodsid:
  12086. description: 商品ID(自增ID SEQ_GOODS)
  12087. type: integer
  12088. goodsname:
  12089. description: 商品名称
  12090. type: string
  12091. marketid:
  12092. description: 所属市场ID
  12093. type: integer
  12094. marketname:
  12095. description: 市场名称
  12096. type: string
  12097. trademode:
  12098. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  12099. 21:竞拍-大宗式 22:受托竞价
  12100. type: integer
  12101. required:
  12102. - goodscode
  12103. - goodsid
  12104. - goodsname
  12105. - marketid
  12106. - trademode
  12107. type: object
  12108. models.SellOrder:
  12109. properties:
  12110. accountid:
  12111. description: 资金账号
  12112. type: integer
  12113. applyid:
  12114. description: 申请单ID
  12115. type: integer
  12116. attachment1:
  12117. description: 附件1
  12118. type: string
  12119. attachment2:
  12120. description: 附件2
  12121. type: string
  12122. buyorsell:
  12123. description: 买卖 - 0:买 1:卖
  12124. type: integer
  12125. canbargain:
  12126. description: 是否可议价 - 0:不可 1:可
  12127. type: integer
  12128. cancelqty:
  12129. description: 撤销数量
  12130. type: integer
  12131. canceltime:
  12132. description: 撤销时间
  12133. type: string
  12134. chargealgorithm:
  12135. description: 手续费收取方式 1:比率 2:固定
  12136. type: integer
  12137. chargealgorithmvalue:
  12138. description: 手续费设置值(交易所部分)
  12139. type: number
  12140. chargealgorithmvalue2:
  12141. description: 手续费设置值(会员部分)
  12142. type: number
  12143. clientordertime:
  12144. description: 客户端委托时间
  12145. type: string
  12146. exchangerate:
  12147. description: 汇率[67]
  12148. type: number
  12149. firstratio:
  12150. description: 首付比率 - [挂牌时指定,摘牌时使用]
  12151. type: number
  12152. fixedprice:
  12153. description: '[克拉单价]固定价格 - [挂牌]'
  12154. type: number
  12155. freezecharge:
  12156. description: 冻结手续费
  12157. type: number
  12158. freezefirstamount:
  12159. description: 冻结首付金额 - [摘牌]
  12160. type: number
  12161. freezemargin:
  12162. description: 冻结保证金
  12163. type: number
  12164. goodsno:
  12165. description: 商品编号
  12166. type: string
  12167. isQueryDiamond:
  12168. description: 是否钻石查询
  12169. type: boolean
  12170. isspecified:
  12171. description: 是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  12172. type: integer
  12173. marginalgorithm:
  12174. description: 保证金方式 - 1:比率 2:固定
  12175. type: integer
  12176. marginvalue:
  12177. description: 保证金设置值
  12178. type: number
  12179. marketid:
  12180. description: 市场ID
  12181. type: integer
  12182. orderamount:
  12183. description: 挂牌金额[账户] [67]= OrderQty * FixedPrice * ExchangeRate /100
  12184. type: number
  12185. ordertime:
  12186. description: 委托时间
  12187. type: string
  12188. performancetemplateid:
  12189. description: 履约计划模板ID
  12190. type: integer
  12191. pricefactor:
  12192. description: 价格系数(浮动价时填写) - [挂牌]
  12193. type: number
  12194. pricemove:
  12195. description: 升贴水(浮动价时填写) - [挂牌]
  12196. type: number
  12197. relatedwrtradeorderid:
  12198. description: 关联委托单号(摘牌委托关联挂牌委托单ID)
  12199. type: integer
  12200. remainqty:
  12201. description: 剩余重量
  12202. type: number
  12203. retcode:
  12204. description: 错误代码
  12205. type: integer
  12206. sellusername:
  12207. description: 卖方(查询字段-模糊查询)
  12208. type: string
  12209. totalqty:
  12210. description: 总重量
  12211. type: number
  12212. tradedate:
  12213. description: 交易日(yyyyMMdd)
  12214. type: string
  12215. tradeprice:
  12216. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)*
  12217. 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  12218. type: number
  12219. unfreezecharge:
  12220. description: 解冻手续费
  12221. type: number
  12222. unfreezefirstamount:
  12223. description: 解冻首付金额 - [摘牌]
  12224. type: number
  12225. unfreezemargin:
  12226. description: 解冻保证金
  12227. type: number
  12228. userid:
  12229. description: 用户ID
  12230. type: integer
  12231. uuid:
  12232. description: 发起端唯一id
  12233. type: string
  12234. validtime:
  12235. description: 有效期限
  12236. type: string
  12237. validtype:
  12238. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  12239. type: integer
  12240. wrbargainid:
  12241. description: 议价申请单ID
  12242. type: integer
  12243. wrfactortypeid:
  12244. description: 仓单要素类型ID/商品ID(77)
  12245. type: integer
  12246. wrpricetype:
  12247. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  12248. type: integer
  12249. wrstandardid:
  12250. description: 现货商品ID
  12251. type: integer
  12252. wrtradeorderid:
  12253. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  12254. type: string
  12255. wrtradeorderstatus:
  12256. 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:撤单解冻贷款失败
  12257. type: integer
  12258. wrtradetype:
  12259. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  12260. type: integer
  12261. wrtransferuserid:
  12262. description: 仓单受让用户 - [摘牌]
  12263. type: integer
  12264. zscategory:
  12265. description: 钻石分类 - 枚举”ZSCategory“
  12266. type: integer
  12267. zscategorydisplay:
  12268. description: 钻石分类 - 描述
  12269. type: string
  12270. zscurrencytype:
  12271. description: 货币类型 - 枚举“ZSCurrencyType”
  12272. type: integer
  12273. type: object
  12274. models.SellOrderQueryReq:
  12275. properties:
  12276. origin:
  12277. description: 原产地
  12278. type: string
  12279. page:
  12280. description: 页码
  12281. type: integer
  12282. pagesize:
  12283. description: 每页大小
  12284. type: integer
  12285. total:
  12286. description: 总条数
  12287. type: integer
  12288. warehouseid:
  12289. description: 仓库ID
  12290. type: integer
  12291. weight1:
  12292. description: 总重量(克拉重量)-从
  12293. type: number
  12294. weight2:
  12295. description: 总重量(克拉重量)-至
  12296. type: number
  12297. weightavg1:
  12298. description: 平均单颗重量-从
  12299. type: number
  12300. weightavg2:
  12301. description: 平均单颗重量-至
  12302. type: number
  12303. zscategory:
  12304. description: 钻石分类 - 枚举”ZSCategory“
  12305. type: integer
  12306. zscerttype:
  12307. description: 证书类型
  12308. items:
  12309. type: string
  12310. type: array
  12311. zsclaritytype:
  12312. description: 净度
  12313. items:
  12314. type: integer
  12315. type: array
  12316. zscolortype:
  12317. description: 颜色
  12318. items:
  12319. type: integer
  12320. type: array
  12321. zscurrencytype:
  12322. description: 货币类型 - 枚举“ZSCurrencyType”
  12323. items:
  12324. type: string
  12325. type: array
  12326. zscuttype:
  12327. description: 切工
  12328. items:
  12329. type: integer
  12330. type: array
  12331. zsczcolor1type:
  12332. description: 彩钻颜色1
  12333. items:
  12334. type: string
  12335. type: array
  12336. zsfluorescencetype:
  12337. description: 荧光
  12338. items:
  12339. type: integer
  12340. type: array
  12341. zspolishtype:
  12342. description: 抛光度
  12343. items:
  12344. type: integer
  12345. type: array
  12346. zsshapetype:
  12347. description: 形状 - 枚举”ZSShapeType“ - 类型:1,2,4,5 ;(1为多个,逗号分隔)
  12348. items:
  12349. type: string
  12350. type: array
  12351. zsstyletype:
  12352. description: 款式
  12353. items:
  12354. type: string
  12355. type: array
  12356. zssymmetrytype:
  12357. description: 对称度
  12358. items:
  12359. type: integer
  12360. type: array
  12361. required:
  12362. - zscategory
  12363. type: object
  12364. models.Systemparam:
  12365. properties:
  12366. loginid:
  12367. description: 更新用户账号,登录账号
  12368. type: string
  12369. modifyflag:
  12370. description: 修改标志0 不允许修改 1 允许修改
  12371. type: integer
  12372. paramcode:
  12373. description: 参数代码
  12374. type: string
  12375. paramname:
  12376. description: 参数名
  12377. type: string
  12378. paramtype:
  12379. description: 参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城
  12380. type: integer
  12381. paramvalue:
  12382. description: 参数值
  12383. type: string
  12384. paramvalue2:
  12385. description: 参数值(CLOB)
  12386. type: string
  12387. regexpress:
  12388. description: 正则表达式
  12389. type: string
  12390. remark:
  12391. description: 备注
  12392. type: string
  12393. serverip:
  12394. description: 限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置
  12395. type: string
  12396. showflag:
  12397. description: 是否显示0 不显示 1 显示
  12398. type: integer
  12399. updatetime:
  12400. description: 更新时间
  12401. type: string
  12402. userid:
  12403. description: 更新用户ID
  12404. type: integer
  12405. required:
  12406. - paramcode
  12407. type: object
  12408. models.Szdz3convertconfig:
  12409. properties:
  12410. canin:
  12411. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  12412. type: integer
  12413. canout:
  12414. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  12415. type: integer
  12416. converttype:
  12417. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  12418. 6:交易转花生米(不设置)
  12419. type: integer
  12420. createtime:
  12421. description: 创建时间
  12422. type: string
  12423. creatorid:
  12424. description: 创建人
  12425. type: integer
  12426. daymaxvalue:
  12427. description: 当日最大转入限制
  12428. type: number
  12429. freezedays:
  12430. description: 冻结天数 [5:花生米转交易]
  12431. type: integer
  12432. innergoodsid:
  12433. description: 内部商品ID[交易]
  12434. type: integer
  12435. inratio:
  12436. description: 目标值
  12437. type: integer
  12438. modifierid:
  12439. description: 修改人
  12440. type: integer
  12441. modifytime:
  12442. description: 修改时间
  12443. type: string
  12444. outergoodscode:
  12445. description: 外部商品代码[JD\PD]
  12446. type: string
  12447. outratio:
  12448. description: 源值
  12449. type: integer
  12450. pddecimalplace:
  12451. description: PD小数位
  12452. type: integer
  12453. timemaxvalue:
  12454. description: 单次最大转入限制
  12455. type: number
  12456. timeminvalue:
  12457. description: 单次最小转入限制
  12458. type: number
  12459. required:
  12460. - converttype
  12461. - innergoodsid
  12462. - outergoodscode
  12463. type: object
  12464. models.Szdz3searchwhitelist:
  12465. properties:
  12466. createtime:
  12467. description: 创建时间
  12468. type: string
  12469. creatorid:
  12470. description: 创建人
  12471. type: integer
  12472. modifierid:
  12473. description: 修改人
  12474. type: integer
  12475. modifytime:
  12476. description: 修改时间
  12477. type: string
  12478. userid:
  12479. description: 用户ID
  12480. type: integer
  12481. required:
  12482. - userid
  12483. type: object
  12484. models.TBGoods:
  12485. properties:
  12486. agreeunit:
  12487. description: 合约乘数
  12488. type: number
  12489. enumdicname:
  12490. description: 单位名称
  12491. type: string
  12492. goodscode:
  12493. description: 商品代码(内部)
  12494. type: string
  12495. goodsid:
  12496. description: 商品ID(自增ID SEQ_GOODS)
  12497. type: integer
  12498. goodsname:
  12499. description: 商品名称
  12500. type: string
  12501. type: object
  12502. models.TBGoodsGroup:
  12503. properties:
  12504. GDLST:
  12505. description: 商品列表
  12506. items:
  12507. $ref: '#/definitions/models.TBGoods'
  12508. type: array
  12509. convertratio:
  12510. description: 折算系数
  12511. type: number
  12512. enumdicname:
  12513. description: 单位名称
  12514. type: string
  12515. exexchangecode:
  12516. description: 交易所代码
  12517. type: string
  12518. exexchangename:
  12519. description: 交易所名称
  12520. type: string
  12521. goodsgroupid:
  12522. description: 商品组ID(自增ID)
  12523. type: integer
  12524. goodsgroupname:
  12525. description: 商品组名称
  12526. type: string
  12527. goodunitid:
  12528. description: 报价单位ID
  12529. type: integer
  12530. type: object
  12531. models.TBMiddleGoods:
  12532. properties:
  12533. GPLST:
  12534. description: 期货品种列表
  12535. items:
  12536. $ref: '#/definitions/models.TBGoodsGroup'
  12537. type: array
  12538. WDLST:
  12539. description: 商品信息列表(现货品类)
  12540. items:
  12541. $ref: '#/definitions/models.TBWrstandard'
  12542. type: array
  12543. areauserid:
  12544. description: 机构用户ID
  12545. type: integer
  12546. enumdicname:
  12547. description: 单位名称
  12548. type: string
  12549. goodsunitid:
  12550. description: 套保品种单位id
  12551. type: integer
  12552. middlegoodscode:
  12553. description: 套保品种代码
  12554. type: string
  12555. middlegoodsid:
  12556. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  12557. type: integer
  12558. middlegoodsname:
  12559. description: 套保品种名称
  12560. type: string
  12561. needarbitrageratio:
  12562. description: 套利比率
  12563. type: number
  12564. needhedgeratio:
  12565. description: 套保比率
  12566. type: number
  12567. type: object
  12568. models.TBWrstandard:
  12569. properties:
  12570. convertratio:
  12571. description: 折算系数
  12572. type: number
  12573. deliverygoodsname:
  12574. description: 品种名称
  12575. type: string
  12576. enumdicname:
  12577. description: 单位名称
  12578. type: string
  12579. vatrate:
  12580. description: 增值税率
  12581. type: number
  12582. wrstandardcode:
  12583. description: 现货商品代码
  12584. type: string
  12585. wrstandardid:
  12586. description: 现货商品ID(SEQ_WRSTANDARD)
  12587. type: integer
  12588. wrstandardname:
  12589. description: 现货商品名称
  12590. type: string
  12591. type: object
  12592. models.Taaccount:
  12593. properties:
  12594. accountflag:
  12595. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  12596. type: integer
  12597. accountid:
  12598. description: 资金账户ID
  12599. type: integer
  12600. accountname:
  12601. description: 账户名称
  12602. type: string
  12603. balance:
  12604. description: 期初余额
  12605. type: number
  12606. capitalbalance:
  12607. description: 本金余额[外部子账户实际出入金余额]
  12608. type: number
  12609. changeflag:
  12610. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  12611. type: integer
  12612. changetime:
  12613. description: 账户状态变更时间
  12614. type: string
  12615. closepl:
  12616. description: 今日平仓盈亏
  12617. type: number
  12618. creditdecrease:
  12619. description: 今日授信减少
  12620. type: number
  12621. creditincrease:
  12622. description: 今日授信增加
  12623. type: number
  12624. curamount:
  12625. description: 总市值(从持仓中统计)
  12626. type: number
  12627. currencyid:
  12628. description: 货币ID
  12629. type: integer
  12630. currentbalance:
  12631. description: 期末余额
  12632. type: number
  12633. freezecharge:
  12634. description: 手续费冻结
  12635. type: number
  12636. freezemargin:
  12637. description: 冻结保证金
  12638. type: number
  12639. fromaccountid:
  12640. description: 所属上级账户
  12641. type: integer
  12642. inamount:
  12643. description: 今日入金金额(包括三方入金)
  12644. type: number
  12645. ismain:
  12646. description: 是否母账号 0:不是母账户 1:是母账户
  12647. type: integer
  12648. ismarketaccount:
  12649. description: 是否机构接单账号 0:不是 1:是
  12650. type: integer
  12651. isreckonaccount:
  12652. description: 是否机构分润账号 0:不是 1:是
  12653. type: integer
  12654. mortgagecredit:
  12655. description: 授信金额
  12656. type: number
  12657. orifreezecharge:
  12658. description: 期初手续费冻结
  12659. type: number
  12660. orifreezemargin:
  12661. description: 期初冻结保证金
  12662. type: number
  12663. orimortgagecredit:
  12664. description: 期初授信金额
  12665. type: number
  12666. oriothercredit:
  12667. description: 期初其它授信金额
  12668. type: number
  12669. oriotherfreezemargin:
  12670. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  12671. type: number
  12672. orioutamountfreeze:
  12673. description: 期初出金冻结
  12674. type: number
  12675. oriusedmargin:
  12676. description: 期初占用保证金
  12677. type: number
  12678. othercredit:
  12679. description: 其它授信金额
  12680. type: number
  12681. othercreditdecrease:
  12682. description: 今日其它授信减少
  12683. type: number
  12684. othercreditincrease:
  12685. description: 今日其它授信增加
  12686. type: number
  12687. otherfreezemargin:
  12688. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  12689. type: number
  12690. otherincome:
  12691. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  12692. type: number
  12693. otherpay:
  12694. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  12695. type: number
  12696. outamount:
  12697. description: 今日出金金额(包括三方出金)
  12698. type: number
  12699. outamountfreeze:
  12700. description: 出金冻结
  12701. type: number
  12702. outthreshold:
  12703. description: 出金阈值
  12704. type: number
  12705. parentaccountid:
  12706. description: 所属根账号
  12707. type: integer
  12708. paycharge:
  12709. description: 今日手续费支出
  12710. type: number
  12711. relatedaccountstatus:
  12712. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  12713. type: integer
  12714. relateduserid:
  12715. description: 关联用户
  12716. type: integer
  12717. remainamount:
  12718. description: 融资额(从融资合同中统计)
  12719. type: number
  12720. serivcegroup:
  12721. description: 服务分组
  12722. type: integer
  12723. signstatus:
  12724. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  12725. type: integer
  12726. sublevelpath:
  12727. description: 账号层级路径(逗号分隔,首尾加逗号)
  12728. type: string
  12729. taaccounttype:
  12730. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  12731. type: integer
  12732. thirdinamount:
  12733. description: 今日三方入金
  12734. type: number
  12735. thirdoutamount:
  12736. description: 今日三方出金
  12737. type: number
  12738. tradestatus:
  12739. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  12740. type: integer
  12741. tradestatuschangetime:
  12742. description: 激活时间
  12743. type: string
  12744. transferamount:
  12745. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  12746. type: number
  12747. usedmargin:
  12748. description: 占用保证金
  12749. type: number
  12750. userid:
  12751. description: 用户ID
  12752. type: integer
  12753. required:
  12754. - accountid
  12755. - userid
  12756. type: object
  12757. models.Tablecolumnconfig:
  12758. properties:
  12759. aligntype:
  12760. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  12761. type: integer
  12762. autoid:
  12763. description: AutoID
  12764. type: integer
  12765. columnfield:
  12766. description: 列字段
  12767. type: string
  12768. columntitle:
  12769. description: 列Title
  12770. type: string
  12771. columnwidth:
  12772. description: 列宽
  12773. type: string
  12774. fixed:
  12775. description: 固定类型 - 空 | left | right
  12776. type: string
  12777. formatterstring:
  12778. description: 格式化字符
  12779. type: string
  12780. formattertype:
  12781. description: 格式化类型
  12782. type: string
  12783. groupname:
  12784. description: 表头分组名称
  12785. type: string
  12786. ismerge:
  12787. description: 是否合并显示 - 0:不合并 1:合并
  12788. type: integer
  12789. isshow:
  12790. description: 是否显示 - 0:不显示 1:显示
  12791. type: integer
  12792. needsummary:
  12793. description: 是否需要汇总 - 0:不需要 1:需要
  12794. type: integer
  12795. orderindex:
  12796. description: 顺序
  12797. type: integer
  12798. remark:
  12799. description: 备注
  12800. type: string
  12801. summarytype:
  12802. description: 汇总类型 - 1:加总 2:最后一个
  12803. type: integer
  12804. tablekey:
  12805. description: 列表Key
  12806. type: string
  12807. required:
  12808. - autoid
  12809. type: object
  12810. models.TjmdHolderDetailTradeInfo:
  12811. properties:
  12812. agreeunit:
  12813. description: 合约乘数
  12814. type: number
  12815. buyaccountid:
  12816. description: 买方账户
  12817. type: string
  12818. buyusername:
  12819. description: 买方
  12820. type: string
  12821. delistingdate:
  12822. description: 最后结算日
  12823. type: string
  12824. expiredate:
  12825. description: 到期结算价定价日
  12826. type: string
  12827. exprieprice:
  12828. description: 到期清算价格
  12829. type: string
  12830. goodscode:
  12831. description: 商品代码
  12832. type: string
  12833. goodsid:
  12834. description: 商品ID
  12835. type: integer
  12836. goodsname:
  12837. description: 商品名称(交易标的)
  12838. type: string
  12839. lasttradedate:
  12840. description: 最后交易日
  12841. type: string
  12842. listingdate:
  12843. description: 开始交易日
  12844. type: string
  12845. openprice:
  12846. description: 成交价
  12847. type: number
  12848. openqty:
  12849. description: 交易数量
  12850. type: integer
  12851. sellaccountid:
  12852. description: 卖方账户
  12853. type: string
  12854. sellusername:
  12855. description: 卖方
  12856. type: string
  12857. tradeamount:
  12858. description: 初始名义价值
  12859. type: number
  12860. tradedate:
  12861. description: 成交日期
  12862. type: string
  12863. tradeid:
  12864. description: 成交编号
  12865. type: string
  12866. type: object
  12867. models.TjmdMarketSection:
  12868. properties:
  12869. marketsectionid:
  12870. description: 市场版块ID(SEQ_MARKETSECTION)
  12871. type: integer
  12872. marketsectionname:
  12873. description: 市场版块名称
  12874. type: string
  12875. mlist:
  12876. description: 市场列表(板块下面有多少个市场)
  12877. items:
  12878. $ref: '#/definitions/models.TjmdMarketSectionConfig'
  12879. type: array
  12880. orderindex:
  12881. description: 排序
  12882. type: integer
  12883. pictureurl:
  12884. description: 图片url, 规格(90*90)
  12885. type: string
  12886. remark:
  12887. description: 备注
  12888. type: string
  12889. type: object
  12890. models.TjmdMarketSectionConfig:
  12891. properties:
  12892. auctionwrtype:
  12893. description: 仓单类型(现货交易) - 1:无仓单 2:有仓单 3;有无仓单均可
  12894. type: integer
  12895. canacceptquote:
  12896. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  12897. type: integer
  12898. cangoodsexercise:
  12899. description: '[期权]是否可现货行权- 0:否 1:是'
  12900. type: integer
  12901. cangoodsexercisetype:
  12902. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  12903. type: integer
  12904. canmanualquotestrike:
  12905. description: 是否可手动报行权价- 0:否 1:是 [期权]
  12906. type: integer
  12907. canmutistage:
  12908. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  12909. type: integer
  12910. canpreexercise:
  12911. description: '[期权]是否可预申报- 0:否 1:是'
  12912. type: integer
  12913. clearinterval:
  12914. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  12915. type: integer
  12916. contracttmp:
  12917. description: 合同模板[荷兰式][竞价式][仓单贸易]
  12918. type: string
  12919. exchareaid:
  12920. description: 所属交易所,可以没有
  12921. type: integer
  12922. financemarketid:
  12923. description: 融资回购市场ID [仓单贸易]
  12924. type: integer
  12925. goodstype:
  12926. description: 商品类型 - 1:交易商品 2:仓单商品
  12927. type: integer
  12928. hasrebate:
  12929. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  12930. type: integer
  12931. hastradecredit:
  12932. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  12933. type: integer
  12934. haswr:
  12935. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  12936. type: integer
  12937. isdeductmargin:
  12938. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  12939. type: integer
  12940. isrecordsource:
  12941. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  12942. type: integer
  12943. isreleasemargin:
  12944. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  12945. type: integer
  12946. isupdatereckonprice:
  12947. description: 输入结算价标识 - 0:系统生成 1:手工输入(自动) 2:手工输入(手动)
  12948. type: integer
  12949. listingmode:
  12950. description: 挂牌方式 1:一口价 2:浮动价 3:贸易圈 4:协议指定
  12951. type: integer
  12952. marginformula:
  12953. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  12954. type: integer
  12955. marginformula2:
  12956. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  12957. type: integer
  12958. marketid:
  12959. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  12960. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  12961. type: integer
  12962. marketname:
  12963. description: 市场名称
  12964. type: string
  12965. marketsectionid:
  12966. description: 市场版块ID(SEQ_MARKETSECTION)
  12967. type: integer
  12968. marketserviceid:
  12969. description: 市场服务ID
  12970. type: integer
  12971. marketstatus:
  12972. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  12973. type: integer
  12974. markettype:
  12975. description: 市场类型- 1:非交易服务 2:交易服务
  12976. type: integer
  12977. matchermode:
  12978. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手 - 作废
  12979. type: integer
  12980. nowrquotaflag:
  12981. description: 是否校验无仓单额度(仓单贸易) 0:否 1:是
  12982. type: integer
  12983. openmethod:
  12984. description: 开盘模式 - 0 自动 1手动
  12985. type: integer
  12986. orderindex:
  12987. description: 排序
  12988. type: integer
  12989. otcuserid:
  12990. description: 场外期权做市商[场外期权]
  12991. type: integer
  12992. outersynctime:
  12993. description: 外部同步时间点(h24:mi:ss)[场外期权]
  12994. type: string
  12995. paylaterflag:
  12996. description: 是否支持后付 - 0:不支持 1;支持 - [挂牌点选 所有权、预售挂牌支持]
  12997. type: integer
  12998. pendingflag:
  12999. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  13000. type: integer
  13001. pendingtime:
  13002. description: 待开市时间[通道交易-对冲](HH:mm)
  13003. type: string
  13004. performancetempid:
  13005. description: 履约计划模板ID - 作废
  13006. type: integer
  13007. premiumquotemode:
  13008. description: 权利金报价方式 - 1:自动 2:手动
  13009. type: integer
  13010. rebateratio:
  13011. description: 返利比率[竞价式]
  13012. type: number
  13013. reckonorder:
  13014. description: 结算顺序
  13015. type: integer
  13016. reckonpricealgorithm:
  13017. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  13018. 6.卖一价 7.买一卖一均价 8.外部结算价'
  13019. type: integer
  13020. reckonpriceparam:
  13021. description: 结算价参数
  13022. type: integer
  13023. reckontime:
  13024. description: 结算时间[通道交易-对冲](HH:mm)
  13025. type: string
  13026. roleprioritytype:
  13027. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  13028. type: integer
  13029. selllistingauditflag:
  13030. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  13031. type: integer
  13032. trademarkettype:
  13033. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  13034. type: integer
  13035. trademode:
  13036. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  13037. 21:竞拍-大宗式 22:受托竞价
  13038. type: integer
  13039. tradeproperty:
  13040. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  13041. 8:场外期权
  13042. type: integer
  13043. tradetype:
  13044. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  13045. type: integer
  13046. updatereckonpriceinterval:
  13047. description: 输入结算价时长(分钟) [1:手工输入(自动)]
  13048. type: integer
  13049. type: object
  13050. models.TjmdQuoteGoods:
  13051. properties:
  13052. buyqty:
  13053. description: 买量(暂不做, 无值, 保留字段)
  13054. type: number
  13055. decimalplace:
  13056. description: 报价小数位
  13057. type: integer
  13058. goodscode:
  13059. description: 合约代码
  13060. type: string
  13061. goodsgroupid:
  13062. description: 商品组ID(自增ID)
  13063. type: integer
  13064. goodsgroupname:
  13065. description: 商品组名称
  13066. type: string
  13067. goodsid:
  13068. description: 合约id
  13069. type: integer
  13070. goodsname:
  13071. description: 合约名称
  13072. type: string
  13073. refgoodscode:
  13074. description: 标的合约代码
  13075. type: string
  13076. refgoodsid:
  13077. description: 标的合约id
  13078. type: integer
  13079. refgoodsname:
  13080. description: 标的合约名称
  13081. type: string
  13082. sellqty:
  13083. description: 卖量(暂不做, 无值, 保留字段)
  13084. type: number
  13085. type: object
  13086. models.TjmdTodayAccountMargin:
  13087. properties:
  13088. accountid:
  13089. description: 账号ID
  13090. type: integer
  13091. goodsid:
  13092. description: 商品ID
  13093. type: integer
  13094. infoc:
  13095. $ref: '#/definitions/pb.GoodsMarginCfgStruct'
  13096. description: 配置参数
  13097. marketid:
  13098. description: 市场ID
  13099. type: integer
  13100. type: object
  13101. models.TjmdTradeOrderDetail:
  13102. properties:
  13103. buyorsell:
  13104. description: 买卖方向 0-买 1-卖
  13105. type: integer
  13106. goodsid:
  13107. description: 商品id
  13108. type: integer
  13109. marketmaxsub:
  13110. description: 市价最大偏移范围 [浮动价 - 点差]
  13111. type: number
  13112. orderid:
  13113. description: 委托单号
  13114. type: string
  13115. orderprice:
  13116. description: 期初均价
  13117. type: number
  13118. orderqty:
  13119. description: 委托数量
  13120. type: integer
  13121. pricemode:
  13122. description: '取价方式 - 1:市价 2: 限价 3:浮动价'
  13123. type: integer
  13124. userid:
  13125. description: 用户id
  13126. type: integer
  13127. username:
  13128. description: 用户名称(已脱敏)
  13129. type: string
  13130. type: object
  13131. models.TjmdTransferApply:
  13132. properties:
  13133. applyid:
  13134. description: 申请ID(自增ID SEQ_TRADE_HOLDTRANSFERAPPLY)
  13135. type: integer
  13136. applystatus:
  13137. description: 状态 - 0:未提交 1:待审核 2:审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销
  13138. type: integer
  13139. applytime:
  13140. description: 申请时间(时间)
  13141. type: string
  13142. auditremark:
  13143. description: 审核备注(拒绝原因?)
  13144. type: string
  13145. begindate:
  13146. description: 开始交易日(yyyymmdd)
  13147. type: string
  13148. buyorsell:
  13149. description: 买卖 - 0:买 1:卖
  13150. type: integer
  13151. enddate:
  13152. description: 结束交易日(yyyymmdd)
  13153. type: string
  13154. goodscode:
  13155. description: 商品代码
  13156. type: string
  13157. goodsid:
  13158. description: 商品ID
  13159. type: integer
  13160. goodsname:
  13161. description: 商品名称
  13162. type: string
  13163. marketid:
  13164. description: 市场ID
  13165. type: integer
  13166. qty:
  13167. description: 期初均价
  13168. type: number
  13169. tradeid:
  13170. description: 成交单号(关联持仓)
  13171. type: string
  13172. transferamount:
  13173. description: 转让总金额(金额)
  13174. type: number
  13175. transferprice:
  13176. description: 转让价格(协议价格)
  13177. type: number
  13178. type: object
  13179. models.TradeHolderDetail:
  13180. properties:
  13181. accountid:
  13182. description: 账号ID
  13183. type: integer
  13184. agreeunit:
  13185. description: 合约乘数
  13186. type: number
  13187. buyorsell:
  13188. description: 方向 - 0:买 1:卖
  13189. type: integer
  13190. currencyid:
  13191. description: 商品币种id
  13192. type: integer
  13193. currencyname:
  13194. description: 币种名称
  13195. type: string
  13196. decimalplace:
  13197. description: 商品价格小数位
  13198. type: integer
  13199. enumdicname:
  13200. description: 商品单位名称
  13201. type: string
  13202. expirecycle:
  13203. description: 行权周期(天) - 1:滚动行权时填写
  13204. type: integer
  13205. expiredate:
  13206. description: 行权日(yyyyMMdd) - 到期日
  13207. type: string
  13208. expiretype:
  13209. description: 行权日类型 - 1:滚动行权 2:固定日行权
  13210. type: integer
  13211. freezeqty:
  13212. description: 期初均价
  13213. type: number
  13214. goodscode:
  13215. description: 商品代码
  13216. type: string
  13217. goodsid:
  13218. description: 商品ID
  13219. type: integer
  13220. goodsname:
  13221. description: 商品名称
  13222. type: string
  13223. goodunitid:
  13224. description: 商品单位id
  13225. type: integer
  13226. holderamount:
  13227. description: 持仓金额
  13228. type: number
  13229. holdercredit:
  13230. description: 持仓授信金额
  13231. type: number
  13232. holderdays:
  13233. description: 剩余冻结天数
  13234. type: integer
  13235. holderprice:
  13236. description: 持仓价格
  13237. type: number
  13238. holderqty:
  13239. description: 期初均价
  13240. type: number
  13241. isconfirmexercise:
  13242. description: 是否确认行权- 0:否 1:是
  13243. type: integer
  13244. ispreexercise:
  13245. description: 是否预申报- 0:否 1:是 2:不可行权
  13246. type: integer
  13247. marketid:
  13248. description: 市场id
  13249. type: integer
  13250. marketname:
  13251. description: 市场名称
  13252. type: string
  13253. openprice:
  13254. description: 建仓价格
  13255. type: number
  13256. openqty:
  13257. description: 期初均价
  13258. type: number
  13259. optiontype:
  13260. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  13261. type: integer
  13262. preexerciseprice:
  13263. description: 预申报价格
  13264. type: number
  13265. premium:
  13266. description: 权利金
  13267. type: number
  13268. qtydecimalplace:
  13269. description: 商品成交量小数位
  13270. type: integer
  13271. refgoodscode:
  13272. description: 标的合约代码
  13273. type: string
  13274. refgoodsid:
  13275. description: 标的合约id
  13276. type: integer
  13277. releaseamount:
  13278. description: 释放持仓金额
  13279. type: number
  13280. releaseholdercredit:
  13281. description: 释放持仓授信金额
  13282. type: number
  13283. taname:
  13284. description: 资金账号名称
  13285. type: string
  13286. tradeamount:
  13287. description: 成交金额
  13288. type: number
  13289. tradedate:
  13290. description: 交易日(yyyyMMdd)
  13291. type: string
  13292. tradeid:
  13293. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13294. type: string
  13295. trademode:
  13296. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  13297. 21:竞拍-大宗式 22:受托竞价 46:掉期
  13298. type: integer
  13299. tradeproperty:
  13300. description: 交易属性
  13301. type: integer
  13302. tradetime:
  13303. description: 交易时间
  13304. type: string
  13305. userid:
  13306. description: 用户id
  13307. type: integer
  13308. username:
  13309. description: 用户名称
  13310. type: string
  13311. type: object
  13312. models.Unlinkermcphedgeplan:
  13313. properties:
  13314. accountid:
  13315. description: 期货账户ID - 作废
  13316. type: integer
  13317. accountname:
  13318. description: 交易用户
  13319. type: string
  13320. applyid:
  13321. description: 申请人
  13322. type: integer
  13323. applysrc:
  13324. description: 申请来源 - 1:管理端 2:终端
  13325. type: integer
  13326. applytime:
  13327. description: 申请时间
  13328. type: string
  13329. areauserid:
  13330. description: '[企业ID]机构ID'
  13331. type: integer
  13332. auditid:
  13333. description: 审核人
  13334. type: integer
  13335. auditremark:
  13336. description: 审核备注
  13337. type: string
  13338. auditsrc:
  13339. description: 审核来源 - 1:管理端 2:终端
  13340. type: integer
  13341. audittime:
  13342. description: 审核时间
  13343. type: string
  13344. audittradedate:
  13345. description: 审核交易日(yyyyMMdd)
  13346. type: string
  13347. biztype:
  13348. description: 业务类型 - 1:套保
  13349. type: integer
  13350. contracttype:
  13351. description: 计划类型 - 1:采购 -1:销售
  13352. type: integer
  13353. convertfactor:
  13354. description: 标仓系数 - 作废
  13355. type: number
  13356. createtime:
  13357. description: 创建时间
  13358. type: string
  13359. currencyid:
  13360. description: 结算币种ID - 作废
  13361. type: integer
  13362. deliverygoodsid:
  13363. description: 现货品种ID
  13364. type: integer
  13365. enumdicname:
  13366. description: 结算币种
  13367. type: string
  13368. hedgeplanid:
  13369. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  13370. type: string
  13371. hedgeplanno:
  13372. description: '[计划编号]套保计划编号,模糊查询'
  13373. type: string
  13374. hedgeplanstatus:
  13375. description: '[状态]套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回'
  13376. type: integer
  13377. isrelated:
  13378. description: 是否已关联计划项目 - 0:否 1:是
  13379. type: integer
  13380. planqty:
  13381. description: '[计划量]计划数量'
  13382. type: number
  13383. plantime:
  13384. description: 计划时间
  13385. type: string
  13386. producttype:
  13387. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  13388. type: integer
  13389. remark:
  13390. description: 备注
  13391. type: string
  13392. spotgoodsdesc:
  13393. description: 商品型号
  13394. type: string
  13395. tradedate:
  13396. description: 交易日(yyyyMMdd)
  13397. type: string
  13398. tradeuserid:
  13399. description: 交易用户ID
  13400. type: integer
  13401. updatetime:
  13402. description: 更新时间
  13403. type: string
  13404. wrstandardid:
  13405. description: 现货商品ID
  13406. type: integer
  13407. wrstandardname:
  13408. description: 现货商品,模糊查询
  13409. type: string
  13410. required:
  13411. - areauserid
  13412. type: object
  13413. models.Useraccount:
  13414. properties:
  13415. accountname:
  13416. description: 账户名称(机构名称)
  13417. type: string
  13418. accountstatus:
  13419. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  13420. type: integer
  13421. applysrc:
  13422. description: 申请来源 - 1:管理端 2:终端
  13423. type: integer
  13424. auditremark:
  13425. description: 审核备注
  13426. type: string
  13427. auditsrc:
  13428. description: 审核来源 - 1:管理端 2:终端
  13429. type: integer
  13430. audittime:
  13431. description: 审核时间
  13432. type: string
  13433. audituserid:
  13434. description: 审核人
  13435. type: integer
  13436. broker:
  13437. description: 所属经纪人ID
  13438. type: integer
  13439. canceltime:
  13440. description: 销户时间
  13441. type: string
  13442. canceluserid:
  13443. description: 销户人
  13444. type: integer
  13445. canrecommend:
  13446. description: 是否可推荐 - 0:不可 1;可
  13447. type: integer
  13448. createtime:
  13449. description: 创建时间
  13450. type: string
  13451. creatorid:
  13452. description: 创建人
  13453. type: integer
  13454. hasauth:
  13455. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  13456. type: integer
  13457. isanonymous:
  13458. description: 是否匿名下单 - 0:否 1:是
  13459. type: integer
  13460. maxinvestornum:
  13461. description: 最大用户数(经纪会员下投资者个数)
  13462. type: integer
  13463. memberuserid:
  13464. description: 所属会员ID
  13465. type: integer
  13466. modifierid:
  13467. description: 修改人
  13468. type: integer
  13469. modifyremark:
  13470. description: 变更备注
  13471. type: string
  13472. modifystatus:
  13473. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  13474. type: integer
  13475. modifytime:
  13476. description: 修改时间
  13477. type: string
  13478. parenttopuser:
  13479. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  13480. type: string
  13481. parentuserid:
  13482. description: 所属机构ID
  13483. type: integer
  13484. reckonaccountid:
  13485. description: 默认结算资金账号ID(机构分润使用) 作废
  13486. type: integer
  13487. refercount:
  13488. description: 推荐总人数
  13489. type: integer
  13490. refereeuserid:
  13491. description: 推荐人ID
  13492. type: integer
  13493. refernum:
  13494. description: 推荐码
  13495. type: string
  13496. rootuserid:
  13497. description: 根用户ID
  13498. type: integer
  13499. subaccountlevel:
  13500. description: 子账户层数
  13501. type: integer
  13502. subarealevelpath:
  13503. description: 子机构层级路径(逗号分隔,首尾加逗号)
  13504. type: string
  13505. userid:
  13506. description: 用户ID
  13507. type: integer
  13508. usertype:
  13509. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  13510. type: integer
  13511. required:
  13512. - userid
  13513. type: object
  13514. models.Userfavoritegoods:
  13515. properties:
  13516. goodsid:
  13517. description: 商品ID
  13518. type: integer
  13519. required:
  13520. - goodsid
  13521. type: object
  13522. models.Userinfo:
  13523. properties:
  13524. address:
  13525. description: 地址
  13526. type: string
  13527. attachment1:
  13528. description: 附件1
  13529. type: string
  13530. attachment2:
  13531. description: 附件2
  13532. type: string
  13533. bankaccount:
  13534. description: 银行帐号 (加密存储)
  13535. type: string
  13536. bankaccountname:
  13537. description: 收款人名称
  13538. type: string
  13539. bankcardfrontphotourl:
  13540. description: 银行卡正面照地址
  13541. type: string
  13542. bankid:
  13543. description: 银行编码
  13544. type: string
  13545. bankname:
  13546. description: 银行名称
  13547. type: string
  13548. biznature:
  13549. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  13550. type: integer
  13551. bizscope:
  13552. description: 企业经营范围(企业)
  13553. type: string
  13554. cardbackphotourl:
  13555. description: 证件背面图片地址
  13556. type: string
  13557. cardfrontphotourl:
  13558. description: 证件正面图片地址
  13559. type: string
  13560. cardnum:
  13561. description: 证件号码(加密存储)
  13562. type: string
  13563. cardtypeid:
  13564. description: 证件类型ID
  13565. type: integer
  13566. cityid:
  13567. description: 市
  13568. type: integer
  13569. company:
  13570. description: 公司(个人)
  13571. type: string
  13572. contactname:
  13573. description: 联系人
  13574. type: string
  13575. countryid:
  13576. description: 国家
  13577. type: integer
  13578. createtime:
  13579. description: 创建时间
  13580. type: string
  13581. creatorid:
  13582. description: 创建人
  13583. type: integer
  13584. customername:
  13585. description: 客户名称(企业名称)
  13586. type: string
  13587. districtid:
  13588. description: 地区
  13589. type: integer
  13590. email:
  13591. description: 邮件(加密存储)
  13592. type: string
  13593. fax:
  13594. description: 传真(加密存储)
  13595. type: string
  13596. halfbodyphotourl:
  13597. description: 半身照地址
  13598. type: string
  13599. hasencrypt:
  13600. description: 数据是否已加密 - 0:未加密 1:已加密
  13601. type: integer
  13602. headurl:
  13603. description: 头像地址
  13604. type: string
  13605. legalcardbackphotourl:
  13606. description: 法人身份证背面照地址
  13607. type: string
  13608. legalcardfrontphotourl:
  13609. description: 法人身份证正面照地址
  13610. type: string
  13611. legalpersonname:
  13612. description: 法人姓名(企业)
  13613. type: string
  13614. mobile:
  13615. description: 手机号码(加密存储)
  13616. type: string
  13617. mobile2:
  13618. description: 手机号码[明文-尚志]
  13619. type: string
  13620. modifierid:
  13621. description: 修改人
  13622. type: integer
  13623. modifiertime:
  13624. description: 修改时间
  13625. type: string
  13626. needinvoice:
  13627. description: 是否需要发票 - 0:不需要 1:需要
  13628. type: integer
  13629. nickname:
  13630. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  13631. type: string
  13632. openmode:
  13633. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  13634. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  13635. type: integer
  13636. otherurl:
  13637. description: 其它图片地址[使用分号分隔]
  13638. type: string
  13639. postalcode:
  13640. description: 邮政编码
  13641. type: string
  13642. provinceid:
  13643. description: 省
  13644. type: integer
  13645. qq:
  13646. description: QQ(加密存储
  13647. type: string
  13648. remark:
  13649. description: 备注
  13650. type: string
  13651. sex:
  13652. description: '用户性别 0: 女 1: 男'
  13653. type: integer
  13654. signpdfurl:
  13655. description: 签约pdf文件
  13656. type: string
  13657. telphone:
  13658. description: 联系电话(加密存储)
  13659. type: string
  13660. userid:
  13661. description: 用户ID
  13662. type: integer
  13663. userinfotype:
  13664. description: 用户信息类型 - 1:个人 2:企业
  13665. type: integer
  13666. userstatus:
  13667. description: 用户状态 - 1:正常 2:注销
  13668. type: integer
  13669. usertype:
  13670. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  13671. type: integer
  13672. wechat:
  13673. description: 微信(加密存储)
  13674. type: string
  13675. wskhinfo:
  13676. description: 开户申请信息(JSON)
  13677. type: string
  13678. required:
  13679. - userid
  13680. type: object
  13681. models.WRSConverTDetail:
  13682. properties:
  13683. convertratio:
  13684. description: 套保系数
  13685. type: number
  13686. deliverygoodscode:
  13687. description: 现货商品代码
  13688. type: string
  13689. deliverygoodsid:
  13690. description: 现货品种ID
  13691. type: integer
  13692. deliverygoodsname:
  13693. description: 现货商品名称
  13694. type: string
  13695. enumdicname:
  13696. description: 单位名称
  13697. type: string
  13698. goodsunitid:
  13699. description: 套保品种单位id
  13700. type: integer
  13701. middlegoodscode:
  13702. description: 套保品种代码
  13703. type: string
  13704. middlegoodsid:
  13705. description: 套保品种ID
  13706. type: integer
  13707. middlegoodsname:
  13708. description: 套保品种名称
  13709. type: string
  13710. modifytime:
  13711. description: 修改时间
  13712. type: string
  13713. wrstandardid:
  13714. description: 品类ID
  13715. type: integer
  13716. type: object
  13717. models.WRStandardInfo:
  13718. properties:
  13719. areauserid:
  13720. description: 所属机构
  13721. type: integer
  13722. convertfactor:
  13723. description: 标仓系数
  13724. type: number
  13725. createtime:
  13726. description: 创建时间
  13727. type: string
  13728. creatorid:
  13729. description: 创建人
  13730. type: integer
  13731. deliverygoodsid:
  13732. description: 品种ID
  13733. type: integer
  13734. deliverygoodsname:
  13735. description: 交割商品名称
  13736. type: string
  13737. factoryitemjson:
  13738. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  13739. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  13740. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  13741. 逗号分隔'
  13742. type: string
  13743. isvalid:
  13744. description: 是否有效 - 0:无效 1:有效
  13745. type: integer
  13746. minivalue:
  13747. description: 最小变动值
  13748. type: integer
  13749. minivaluedp:
  13750. description: 最小变动值小数位
  13751. type: integer
  13752. realminivalue:
  13753. description: 实际最小变动值
  13754. type: integer
  13755. realminivaluedp:
  13756. description: 实际最小变动值小数位
  13757. type: integer
  13758. remark:
  13759. description: 备注
  13760. type: string
  13761. unitid:
  13762. description: 单位ID
  13763. type: integer
  13764. unitname:
  13765. description: 单位
  13766. type: string
  13767. updatetime:
  13768. description: 更新时间
  13769. type: string
  13770. updatorid:
  13771. description: 更新人
  13772. type: integer
  13773. wrsstatus:
  13774. description: 状态 - 作废 - 0:未激活 1:正常
  13775. type: integer
  13776. wrstandardcode:
  13777. description: 现货品类代码
  13778. type: string
  13779. wrstandardid:
  13780. description: 现货品类ID(SEQ_WRSTANDARD)
  13781. type: integer
  13782. wrstandardname:
  13783. description: 现货品类名称
  13784. type: string
  13785. required:
  13786. - wrstandardid
  13787. type: object
  13788. models.WRTradeBargainApply:
  13789. properties:
  13790. accountid:
  13791. description: 摘牌资金账号
  13792. type: integer
  13793. applyprice:
  13794. description: 申请价格(议价价格)
  13795. type: string
  13796. applyqty:
  13797. description: 摘牌数量(议价数量)
  13798. type: number
  13799. applyremark:
  13800. description: 申请备注
  13801. type: string
  13802. applystatus:
  13803. description: 申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  13804. type: integer
  13805. applytime:
  13806. description: 申请时间(议价时间)
  13807. type: string
  13808. begindate:
  13809. description: 开始交易日(yyyymmdd)
  13810. type: string
  13811. buyorsell:
  13812. description: 买卖(挂牌类型) - 0:买 1:卖
  13813. type: integer
  13814. confirmremark:
  13815. description: 确认备注
  13816. type: string
  13817. confirmtime:
  13818. description: 确认时间
  13819. type: string
  13820. confirmuserid:
  13821. description: 确认人
  13822. type: integer
  13823. deliverygoodscode:
  13824. description: 品种代码
  13825. type: string
  13826. deliverygoodsid:
  13827. description: 品种ID
  13828. type: integer
  13829. deliverygoodsname:
  13830. description: 品种名称
  13831. type: string
  13832. deliverymonth:
  13833. description: 交收月
  13834. type: string
  13835. enddate:
  13836. description: 结束交易日(yyyymmdd)
  13837. type: string
  13838. enumdicname:
  13839. description: 单位名称
  13840. type: string
  13841. fixedprice:
  13842. description: 期初均价
  13843. type: number
  13844. handlestatus:
  13845. description: 处理状态
  13846. type: integer
  13847. marginvalue:
  13848. description: 期初均价
  13849. type: number
  13850. marketid:
  13851. description: 市场ID
  13852. type: integer
  13853. matchaccountid:
  13854. description: 挂牌方资金账号
  13855. type: integer
  13856. matchuserid:
  13857. description: 挂牌方用户id
  13858. type: integer
  13859. matchusername:
  13860. description: 挂牌方用户名称(已脱敏)
  13861. type: string
  13862. minivalue:
  13863. description: 现货商品最小变动值
  13864. type: integer
  13865. optioncompare:
  13866. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  13867. type: string
  13868. orderqty:
  13869. description: 挂牌数量
  13870. type: integer
  13871. refprice:
  13872. description: 参考价格
  13873. type: string
  13874. retcode:
  13875. description: 委托返回代码
  13876. type: integer
  13877. templatename:
  13878. description: 履约方式(履约模板名称)
  13879. type: string
  13880. tradedate:
  13881. description: 交易日(yyyyMMdd)
  13882. type: string
  13883. userid:
  13884. description: 摘牌人用户ID(议价人ID)
  13885. type: integer
  13886. username:
  13887. description: 议价人名字(已脱敏)
  13888. type: string
  13889. validtime:
  13890. description: 有效期限
  13891. type: string
  13892. warehouseid:
  13893. description: 仓库ID
  13894. type: integer
  13895. warehousename:
  13896. description: 仓库名称
  13897. type: string
  13898. wrbargainid:
  13899. description: 议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)
  13900. type: string
  13901. wrfactortypeid:
  13902. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  13903. type: string
  13904. wrfactortypename:
  13905. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  13906. type: string
  13907. wrstandardcode:
  13908. description: 现货商品代码
  13909. type: string
  13910. wrstandardid:
  13911. description: 现货商品ID
  13912. type: integer
  13913. wrstandardname:
  13914. description: 商品名称
  13915. type: string
  13916. wrtradeorderid:
  13917. description: 关联委托单ID
  13918. type: string
  13919. wrtypename:
  13920. description: 商品
  13921. type: string
  13922. type: object
  13923. models.Warehouseinfo:
  13924. properties:
  13925. address:
  13926. description: 详细地址
  13927. type: string
  13928. areauserid:
  13929. description: 所属机构
  13930. type: integer
  13931. autoid:
  13932. description: 自增ID
  13933. type: integer
  13934. cityid:
  13935. description: 市
  13936. type: integer
  13937. contactname:
  13938. description: 联系人
  13939. type: string
  13940. contactnum:
  13941. description: 联系电话
  13942. type: string
  13943. countryid:
  13944. description: 国家
  13945. type: integer
  13946. createtime:
  13947. description: 创建时间
  13948. type: string
  13949. districtid:
  13950. description: 区
  13951. type: integer
  13952. hasvideo:
  13953. description: 是否有视频 - 0:无 1:有
  13954. type: integer
  13955. provinceid:
  13956. description: 省
  13957. type: integer
  13958. remark:
  13959. description: 审核备注
  13960. type: string
  13961. videourl:
  13962. description: 视频地址
  13963. type: string
  13964. warehousecode:
  13965. description: 仓库代码
  13966. type: string
  13967. warehousename:
  13968. description: 仓库名称
  13969. type: string
  13970. warehousestatus:
  13971. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  13972. type: integer
  13973. warehousetype:
  13974. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  13975. type: integer
  13976. required:
  13977. - autoid
  13978. - warehousecode
  13979. type: object
  13980. models.WrAverageTradePrice:
  13981. properties:
  13982. averageprice:
  13983. description: 期初均价
  13984. type: number
  13985. tradedate:
  13986. description: 交易日yyyymm
  13987. type: string
  13988. type: object
  13989. models.WrBrandAndYears:
  13990. properties:
  13991. brandlst:
  13992. description: 品牌列表
  13993. items:
  13994. $ref: '#/definitions/models.DgFactoryItem'
  13995. type: array
  13996. yearslst:
  13997. description: 年份列表
  13998. items:
  13999. $ref: '#/definitions/models.DgFactoryItem'
  14000. type: array
  14001. type: object
  14002. models.WrBsGoodsInfo:
  14003. properties:
  14004. buyorsell:
  14005. description: 买卖方向 0-买 1-卖
  14006. type: integer
  14007. goodsid:
  14008. description: 交易合约ID
  14009. type: integer
  14010. lstitem:
  14011. description: 商品信息项
  14012. items:
  14013. $ref: '#/definitions/models.WrTypeItem'
  14014. type: array
  14015. lststep:
  14016. description: 履约规则
  14017. items:
  14018. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  14019. type: array
  14020. type: object
  14021. models.WrBuybackDetail:
  14022. properties:
  14023. buybackamount:
  14024. description: 回购金额
  14025. type: number
  14026. buybackqty:
  14027. description: 回购数量
  14028. type: number
  14029. buybackreleasemargin:
  14030. description: 回购释放保证金
  14031. type: number
  14032. buybacktime:
  14033. description: 回购时间
  14034. type: string
  14035. errordesc:
  14036. description: 错误描述
  14037. type: string
  14038. handlestatus:
  14039. description: 处理 - 1:待处理 2:处理成功 3:处理失败
  14040. type: integer
  14041. relatedwrid:
  14042. description: 关联仓单ID
  14043. type: integer
  14044. scfcontractid:
  14045. description: SCF合同ID
  14046. type: string
  14047. scfwrbuybackid:
  14048. description: SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)
  14049. type: integer
  14050. tradedate:
  14051. description: 交易日(yyyyMMdd)
  14052. type: string
  14053. type: object
  14054. models.WrClientAdSpaceConfig:
  14055. properties:
  14056. adspaceid:
  14057. description: 广告位ID
  14058. type: integer
  14059. adspacename:
  14060. description: 广告位名称
  14061. type: string
  14062. adspacetype:
  14063. description: 广告位类型 - 1:固定广告位
  14064. type: integer
  14065. areauserid:
  14066. description: 所属机构ID
  14067. type: integer
  14068. createdate:
  14069. description: 创建时间
  14070. type: string
  14071. imagepath:
  14072. description: 图片
  14073. type: string
  14074. modifierid:
  14075. description: 操作人
  14076. type: integer
  14077. recsize:
  14078. description: 推荐尺寸
  14079. type: string
  14080. title:
  14081. description: 标题
  14082. type: string
  14083. updatedate:
  14084. description: 更新时间
  14085. type: string
  14086. urlcontent:
  14087. description: 链接(地址\商品ID\功能菜单Key\appid)
  14088. type: string
  14089. urltype:
  14090. description: 链接类型 - 0:无 1:直接地址 2:商品ID 3:图片详情 4:App功能 5:微信小程序
  14091. type: integer
  14092. type: object
  14093. models.WrDeliveryAvalidHoldLB:
  14094. properties:
  14095. accountid:
  14096. description: 资金账号
  14097. type: integer
  14098. avalidqty:
  14099. description: 数量(可点选数量)
  14100. type: number
  14101. deliverygoodsid:
  14102. description: 品种id
  14103. type: integer
  14104. enumdicname:
  14105. description: 单位名称
  14106. type: string
  14107. goodsid:
  14108. description: x合约商品id
  14109. type: integer
  14110. ladingbillid:
  14111. description: 提单id
  14112. type: string
  14113. pgoodscode:
  14114. description: p商品代码(点价合约)
  14115. type: string
  14116. pgoodsid:
  14117. description: p商品id(点价合约)
  14118. type: integer
  14119. pgoodsname:
  14120. description: p商品名称(点价合约)
  14121. type: string
  14122. pricemove:
  14123. description: 升贴水
  14124. type: number
  14125. subnum:
  14126. description: 提单子id
  14127. type: integer
  14128. userid:
  14129. description: 用户id
  14130. type: integer
  14131. username:
  14132. description: 仓单持有人
  14133. type: string
  14134. warehousecode:
  14135. description: 仓库代码
  14136. type: string
  14137. warehouseid:
  14138. description: 仓库id
  14139. type: integer
  14140. warehousename:
  14141. description: 仓库名称
  14142. type: string
  14143. wrfactortypeid:
  14144. description: 仓单要素id
  14145. type: string
  14146. wrstandardcode:
  14147. description: 品代码
  14148. type: string
  14149. wrstandardid:
  14150. description: 品类d
  14151. type: integer
  14152. wrstandardname:
  14153. description: 品类名称
  14154. type: string
  14155. wrtypename:
  14156. description: 商品
  14157. type: string
  14158. xgoodscode:
  14159. description: x合约代码
  14160. type: string
  14161. xgoodsname:
  14162. description: x合约名称
  14163. type: string
  14164. type: object
  14165. models.WrDeliveryDetail:
  14166. properties:
  14167. accountid:
  14168. description: 账号ID
  14169. type: integer
  14170. averageprice:
  14171. description: 期初均价
  14172. type: number
  14173. begindate:
  14174. description: 开始交易日(yyyymmdd)
  14175. type: string
  14176. buyorsell:
  14177. description: 方向 - 0:买 1:卖
  14178. type: integer
  14179. deliveryamount:
  14180. description: 货款金额(X总货款+P总货款)
  14181. type: number
  14182. deliveryid:
  14183. description: 交割单号(121+Unix秒时间戳(10位)+xxxxxx)
  14184. type: string
  14185. deliveryorderid:
  14186. description: 申报单号
  14187. type: string
  14188. deliverypricemove:
  14189. description: 升贴水(升贴水总额)
  14190. type: number
  14191. deliveryqty:
  14192. description: 交收数量(点选数量)
  14193. type: number
  14194. deliverystatus:
  14195. description: 状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成
  14196. type: integer
  14197. deliverytime:
  14198. description: 交割时间
  14199. type: string
  14200. deliverytotalamount:
  14201. description: 交收金额
  14202. type: number
  14203. enddate:
  14204. description: 结束交易日(yyyymmdd)
  14205. type: string
  14206. enumdicname:
  14207. description: 单位名称
  14208. type: string
  14209. matchaccountid:
  14210. description: 对手账号ID
  14211. type: integer
  14212. matchusername:
  14213. description: 对手方名称(仓单持有人)
  14214. type: string
  14215. p1goodsremainamount:
  14216. description: 点价货款 ps:当PPRICEMODE=2时, 界面需显示"-"
  14217. type: number
  14218. pdeliverycloseqty:
  14219. description: p合约平仓数量
  14220. type: number
  14221. pdeliveryprice:
  14222. description: 点价价格 ps:当PPRICEMODE=2时, 界面需显示"-"
  14223. type: number
  14224. pgoodscode:
  14225. description: 商品代码
  14226. type: string
  14227. pgoodsid:
  14228. description: p点选合约id
  14229. type: integer
  14230. pgoodsname:
  14231. description: 商品名称
  14232. type: string
  14233. ppricemode:
  14234. description: 点价价格方式 - 1:商品价 2:固定值
  14235. type: integer
  14236. tradedate:
  14237. description: 交易日(yyyymmdd)
  14238. type: string
  14239. userid:
  14240. description: 用户id
  14241. type: integer
  14242. username:
  14243. description: 用户名称
  14244. type: string
  14245. warehousename:
  14246. description: 仓库名称
  14247. type: string
  14248. wrfactortypeid:
  14249. description: 仓单要素类型ID
  14250. type: string
  14251. wrtypename:
  14252. description: 商品
  14253. type: string
  14254. xdeliverycloseqty:
  14255. description: 合约数量
  14256. type: number
  14257. xgoodsamount:
  14258. description: 期初均价
  14259. type: number
  14260. xgoodscode:
  14261. description: 商品代码
  14262. type: string
  14263. xgoodsid:
  14264. description: x交易合约ID
  14265. type: integer
  14266. xgoodsname:
  14267. description: 商品名称
  14268. type: string
  14269. type: object
  14270. models.WrDeliveryGoodsSection:
  14271. properties:
  14272. dglst:
  14273. description: 板块商品列表
  14274. items:
  14275. $ref: '#/definitions/models.WrDeliveryGoodsSectionConfig'
  14276. type: array
  14277. imagepath:
  14278. description: 图片地址
  14279. type: string
  14280. orderindex:
  14281. description: 排序
  14282. type: integer
  14283. sectionid:
  14284. description: 版块ID (SEQ_DELIVERYGOODSSECTION) - 自增100开始, 前面ID预留给SectionType
  14285. = 1的版块1 - 云融指数
  14286. type: integer
  14287. sectionname:
  14288. description: 版块名称
  14289. type: string
  14290. sectiontype:
  14291. description: 版块类型 - 1:指数版块 2:普通版块
  14292. type: integer
  14293. type: object
  14294. models.WrDeliveryGoodsSectionConfig:
  14295. properties:
  14296. deliverygoodscode:
  14297. description: 现货商品代码
  14298. type: string
  14299. deliverygoodsid:
  14300. description: 现货品种ID(SEQ_DELIVERYGOODS)
  14301. type: integer
  14302. deliverygoodsname:
  14303. description: 现货商品名称
  14304. type: string
  14305. orderindex:
  14306. description: 排序
  14307. type: integer
  14308. type: object
  14309. models.WrDraftUserInfo:
  14310. properties:
  14311. address:
  14312. description: 地址
  14313. type: string
  14314. attachment1:
  14315. description: 附件1
  14316. type: string
  14317. attachment2:
  14318. description: 附件2
  14319. type: string
  14320. attachment3:
  14321. description: 附件3
  14322. type: string
  14323. attachment4:
  14324. description: 附件4
  14325. type: string
  14326. attachment5:
  14327. description: 附件5
  14328. type: string
  14329. bankaccount:
  14330. description: 银行帐号 (加密存储)
  14331. type: string
  14332. bankaccountname:
  14333. description: 收款人名称
  14334. type: string
  14335. bankcardfrontphotourl:
  14336. description: 银行卡正面照地址
  14337. type: string
  14338. bankid:
  14339. description: 银行编码
  14340. type: string
  14341. bankname:
  14342. description: 银行名称
  14343. type: string
  14344. birthday:
  14345. description: 生日(个人:年月日)
  14346. type: string
  14347. biznature:
  14348. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  14349. type: integer
  14350. bizscope:
  14351. description: 企业经营范围(企业)
  14352. type: string
  14353. biztype:
  14354. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  14355. type: integer
  14356. cardbackphotourl:
  14357. description: 证件背面图片地址
  14358. type: string
  14359. cardfrontphotourl:
  14360. description: 证件正面图片地址
  14361. type: string
  14362. cardnum:
  14363. description: 证件号码(加密存储)
  14364. type: string
  14365. cardtypeid:
  14366. description: 证件类型ID
  14367. type: integer
  14368. cityid:
  14369. description: 市
  14370. type: integer
  14371. company:
  14372. description: 公司(个人)
  14373. type: string
  14374. contactcardbackphotourl:
  14375. description: 联系人证件背面图片地址
  14376. type: string
  14377. contactcardfrontphotourl:
  14378. description: 联系人证件正面图片地址
  14379. type: string
  14380. contactname:
  14381. description: 联系人
  14382. type: string
  14383. countryid:
  14384. description: 国家
  14385. type: integer
  14386. createtime:
  14387. description: 创建时间
  14388. type: string
  14389. creatorid:
  14390. description: 创建人
  14391. type: integer
  14392. creditquota:
  14393. description: 授信额度(金瑞)
  14394. type: number
  14395. customername:
  14396. description: 客户名称(企业名称)
  14397. type: string
  14398. districtid:
  14399. description: 地区
  14400. type: integer
  14401. email:
  14402. description: 邮件(加密存储)
  14403. type: string
  14404. fax:
  14405. description: 传真(加密存储)
  14406. type: string
  14407. halfbodyphotourl:
  14408. description: 半身照地址
  14409. type: string
  14410. hasencrypt:
  14411. description: 数据是否已加密 - 0:未加密 1:已加密
  14412. type: integer
  14413. headurl:
  14414. description: 头像地址
  14415. type: string
  14416. legalcardbackphotourl:
  14417. description: 法人身份证背面照地址
  14418. type: string
  14419. legalcardfrontphotourl:
  14420. description: 法人身份证正面照地址
  14421. type: string
  14422. legalpersonname:
  14423. description: 法人姓名(企业)
  14424. type: string
  14425. mobile:
  14426. description: 手机号码(加密存储)
  14427. type: string
  14428. mobile2:
  14429. description: 手机号码[明文-尚志]
  14430. type: string
  14431. modifierid:
  14432. description: 修改人
  14433. type: integer
  14434. modifiertime:
  14435. description: 修改时间
  14436. type: string
  14437. needinvoice:
  14438. description: 是否需要发票 - 0:不需要 1:需要
  14439. type: integer
  14440. nickname:
  14441. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  14442. type: string
  14443. openmode:
  14444. description: "开户方式 - 1:管理端开户 2\t:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  14445. 6:苹果手机端注册 7:PC交易端注册"
  14446. type: integer
  14447. otherurl:
  14448. description: 其它图片地址[使用分号分隔]
  14449. type: string
  14450. postalcode:
  14451. description: 邮政编码
  14452. type: string
  14453. provinceid:
  14454. description: 省
  14455. type: integer
  14456. proxystatementurl:
  14457. description: 授权委托书
  14458. type: string
  14459. qq:
  14460. description: QQ(加密存储
  14461. type: string
  14462. remark:
  14463. description: 备注
  14464. type: string
  14465. sex:
  14466. description: '用户性别 0: 女 1: 男'
  14467. type: integer
  14468. signpdfurl:
  14469. description: 签约pdf文件
  14470. type: string
  14471. taxpayernum:
  14472. description: 纳税人识别号
  14473. type: string
  14474. telphone:
  14475. description: 联系电话(加密存储)
  14476. type: string
  14477. userid:
  14478. description: 用户ID
  14479. type: integer
  14480. userinfotype:
  14481. description: 用户信息类型 - 1:个人 2:企业
  14482. type: integer
  14483. userstatus:
  14484. description: 用户状态 - 1:正常 2:注销
  14485. type: integer
  14486. usertype:
  14487. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者
  14488. type: integer
  14489. wechat:
  14490. description: 微信(加密存储)
  14491. type: string
  14492. wskhinfo:
  14493. description: 开户申请信息(JSON)
  14494. type: string
  14495. type: object
  14496. models.WrFAProductDetail:
  14497. properties:
  14498. accountid:
  14499. description: 资金账号
  14500. type: integer
  14501. areauserid:
  14502. description: 金融机构ID
  14503. type: integer
  14504. financingdays:
  14505. description: 天数(天)
  14506. type: integer
  14507. interestminlen:
  14508. description: 最小起息天数
  14509. type: integer
  14510. interestrate:
  14511. description: 利率
  14512. type: number
  14513. interestratemode:
  14514. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  14515. type: integer
  14516. interestsettlemode:
  14517. description: 结息方式 - 1:按日结息 3:按月结息
  14518. type: integer
  14519. interestsettlevalue:
  14520. description: 结息方式值
  14521. type: integer
  14522. isautoloan:
  14523. description: 是否自动放款 0-手动 1-自动 (当为自动放款时,显示"放款快")
  14524. type: integer
  14525. loantag:
  14526. description: '放款标识: "放款快" 或者为空'
  14527. type: string
  14528. marginratio:
  14529. description: 保证金比率质押率 - [仓单质押]
  14530. type: number
  14531. productdetailid:
  14532. description: 产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)
  14533. type: integer
  14534. productid:
  14535. description: 金融产品ID
  14536. type: integer
  14537. productname:
  14538. description: 产品名称
  14539. type: string
  14540. updatetime:
  14541. description: 更新时间
  14542. type: string
  14543. username:
  14544. description: 融出方
  14545. type: string
  14546. type: object
  14547. models.WrFactorTypeInfo:
  14548. properties:
  14549. deliverygoodscode:
  14550. description: 品种代码
  14551. type: string
  14552. deliverygoodsname:
  14553. description: 品种名称
  14554. type: string
  14555. dgfactoryitemid:
  14556. description: 选择项id
  14557. type: integer
  14558. dgfactoryitemtypeid:
  14559. description: 要素选择项ID (1-仓库 2-品牌)
  14560. type: integer
  14561. dgfactoryitemvalue:
  14562. description: 要素项值
  14563. type: string
  14564. itemtypename:
  14565. description: 要素项名称
  14566. type: string
  14567. optioncompare:
  14568. description: 选择比较串
  14569. type: string
  14570. warehouseid:
  14571. description: 仓库id
  14572. type: integer
  14573. wrfactortypeid:
  14574. description: 仓单要素ID
  14575. type: string
  14576. wrfactortypename:
  14577. description: 要素名称
  14578. type: string
  14579. wrfactortypename2:
  14580. description: 要素名称(不含仓库)
  14581. type: string
  14582. wrstandardcode:
  14583. description: 品类代码
  14584. type: string
  14585. wrstandardid:
  14586. description: 品类id
  14587. type: integer
  14588. wrstandardname:
  14589. description: 品类名称
  14590. type: string
  14591. type: object
  14592. models.WrFilterItem:
  14593. properties:
  14594. itemcode:
  14595. description: 代码
  14596. type: string
  14597. itemid:
  14598. description: 项id
  14599. type: integer
  14600. itemname:
  14601. description: 名称
  14602. type: string
  14603. itemtype:
  14604. description: 类型 1-品种 2-品类(商品) 3-仓库
  14605. type: integer
  14606. type: object
  14607. models.WrFinanceBuyApply:
  14608. properties:
  14609. applydate:
  14610. description: 申请时间
  14611. type: string
  14612. applystatus:
  14613. description: 申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败
  14614. type: integer
  14615. applyuserid:
  14616. description: 申请人
  14617. type: integer
  14618. auditdate:
  14619. description: 审核时间
  14620. type: string
  14621. auditremark:
  14622. description: 审核备注
  14623. type: string
  14624. audituserid:
  14625. description: 审核人
  14626. type: integer
  14627. buyaccountid:
  14628. description: 买方资金账号
  14629. type: integer
  14630. buyorsell:
  14631. description: 买卖 - 0:买 1:卖
  14632. type: integer
  14633. buyuserid:
  14634. description: 买方用户ID
  14635. type: integer
  14636. buyusername:
  14637. description: 买方名称
  14638. type: string
  14639. buywrtradeorderid:
  14640. description: 融资方买委托单ID
  14641. type: string
  14642. deliverygoodscode:
  14643. description: 品种代码
  14644. type: string
  14645. deliverygoodsid:
  14646. description: 品种ID
  14647. type: integer
  14648. deliverygoodsname:
  14649. description: 品种名称
  14650. type: string
  14651. deliverymonth:
  14652. description: 交收月(yyyy-MM) [无仓单HasWR =0]
  14653. type: string
  14654. enumdicname:
  14655. description: 单位名称
  14656. type: string
  14657. financeaccountid:
  14658. description: 融资方资金帐户ID
  14659. type: integer
  14660. financeapplyid:
  14661. description: 融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)
  14662. type: string
  14663. financeareauserid:
  14664. description: 融资方用户ID
  14665. type: string
  14666. financename:
  14667. description: 融出方名称
  14668. type: string
  14669. financetype:
  14670. description: 融资类型 1-融资回购
  14671. type: integer
  14672. financingdays:
  14673. description: 天数(天)
  14674. type: integer
  14675. freezebuymargin:
  14676. description: 冻结融资保证金(买方)
  14677. type: number
  14678. handleremark:
  14679. description: 处理备注
  14680. type: string
  14681. handlestatus:
  14682. description: 处理状态
  14683. type: integer
  14684. interestminlen:
  14685. description: 最小起息天数
  14686. type: integer
  14687. interestrate:
  14688. description: 利率
  14689. type: number
  14690. interestratemode:
  14691. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  14692. type: integer
  14693. interestsettlemode:
  14694. description: 结息方式 - 1:按日结息 3:按月结息
  14695. type: integer
  14696. interestsettlevalue:
  14697. description: 结息方式值
  14698. type: integer
  14699. isautoloan:
  14700. description: 是否自动放款 - 0:手动 1:自动
  14701. type: integer
  14702. marginratio:
  14703. description: 保证金比率质押率 - [仓单质押]
  14704. type: number
  14705. marketid:
  14706. description: 市场ID
  14707. type: integer
  14708. minivalue:
  14709. description: 现货商品最小变动值
  14710. type: integer
  14711. optioncompare:
  14712. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14713. type: string
  14714. orderqty:
  14715. description: 委托数量(商品数量)
  14716. type: number
  14717. productdetailid:
  14718. description: 产品组合ID
  14719. type: integer
  14720. productid:
  14721. description: 金融产品ID
  14722. type: integer
  14723. productname:
  14724. description: 产品名称
  14725. type: string
  14726. remark:
  14727. description: 备注
  14728. type: string
  14729. scfcontractid:
  14730. description: 仓单回购合同ID
  14731. type: string
  14732. sellaccountid:
  14733. description: 卖方资金账号
  14734. type: integer
  14735. selluserid:
  14736. description: 卖方用户ID
  14737. type: integer
  14738. sellwrtradeorderid:
  14739. description: 卖方委托单ID
  14740. type: string
  14741. tradeamount:
  14742. description: 成交金额(借款金额)
  14743. type: number
  14744. tradedate:
  14745. description: 交易日(yyyyMMdd)
  14746. type: string
  14747. tradeprice:
  14748. description: 成交价格
  14749. type: number
  14750. warehouseid:
  14751. description: 仓库ID
  14752. type: integer
  14753. warehousename:
  14754. description: 仓库名称
  14755. type: string
  14756. wrfactortypeid:
  14757. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  14758. type: string
  14759. wrfactortypename:
  14760. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14761. type: string
  14762. wrpricetype:
  14763. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌单]
  14764. type: integer
  14765. wrstandardcode:
  14766. description: 现货商品代码
  14767. type: string
  14768. wrstandardid:
  14769. description: 现货商品ID
  14770. type: integer
  14771. wrstandardname:
  14772. description: 商品名称
  14773. type: string
  14774. wrtypename:
  14775. description: 商品
  14776. type: string
  14777. type: object
  14778. models.WrFriendApply:
  14779. properties:
  14780. applicantid:
  14781. description: 申请人
  14782. type: integer
  14783. applyname:
  14784. description: 申请人名称
  14785. type: string
  14786. applysrc:
  14787. description: 申请来源 - 1:管理端 2:终端
  14788. type: integer
  14789. applystatus:
  14790. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  14791. type: integer
  14792. applytime:
  14793. description: 申请时间
  14794. type: string
  14795. auditname:
  14796. description: 审核人名称
  14797. type: string
  14798. auditorid:
  14799. description: 审核人
  14800. type: integer
  14801. auditremark:
  14802. description: 审核备注
  14803. type: string
  14804. auditsrc:
  14805. description: 审核来源 - 1:管理端 2:终端
  14806. type: integer
  14807. audittime:
  14808. description: 审核时间
  14809. type: string
  14810. friendapplyid:
  14811. description: 申请ID(SEQ_FRIENDAPPLY)
  14812. type: string
  14813. friendname:
  14814. description: 好友名字(已脱敏)
  14815. type: string
  14816. frienduserid:
  14817. description: 好友用户ID
  14818. type: string
  14819. remark:
  14820. description: 备注
  14821. type: string
  14822. userid:
  14823. description: 申请人用户ID
  14824. type: integer
  14825. type: object
  14826. models.WrFtDeliveryGoods:
  14827. properties:
  14828. deliverygoodscode:
  14829. description: 品种代码
  14830. type: string
  14831. deliverygoodsid:
  14832. description: 品种ID
  14833. type: integer
  14834. deliverygoodsname:
  14835. description: 品种名称
  14836. type: string
  14837. wdlst:
  14838. description: 商品列表
  14839. items:
  14840. $ref: '#/definitions/models.WrFtWrstandard'
  14841. type: array
  14842. type: object
  14843. models.WrFtWrstandard:
  14844. properties:
  14845. enumdicname:
  14846. description: 单位名称
  14847. type: string
  14848. minivalue:
  14849. description: 最小变动值
  14850. type: integer
  14851. wrstandardcode:
  14852. description: 现货商品代码
  14853. type: string
  14854. wrstandardid:
  14855. description: 现货商品ID
  14856. type: integer
  14857. wrstandardname:
  14858. description: 商品名称
  14859. type: string
  14860. type: object
  14861. models.WrGoodsInfo:
  14862. properties:
  14863. haswr:
  14864. description: 0:仓单预售 1:仓单贸易
  14865. type: integer
  14866. lstitem:
  14867. description: 商品信息项
  14868. items:
  14869. $ref: '#/definitions/models.WrTypeItem'
  14870. type: array
  14871. lststep:
  14872. description: 履约规则
  14873. items:
  14874. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  14875. type: array
  14876. marketid:
  14877. description: 市场id
  14878. type: integer
  14879. type: object
  14880. models.WrGoodsPerformanceStep:
  14881. properties:
  14882. autoid:
  14883. description: AutoID
  14884. type: integer
  14885. isauto:
  14886. description: 是否自动 - 0:不自动 1:自动
  14887. type: integer
  14888. remark:
  14889. description: 备注
  14890. type: string
  14891. stepdate:
  14892. description: 天数信息(T+N)
  14893. type: string
  14894. stepdays:
  14895. description: 距离上一步天数
  14896. type: integer
  14897. stepindex:
  14898. description: 步骤序号
  14899. type: integer
  14900. stepinfo:
  14901. description: 步骤信息(步骤名称+步骤值)
  14902. type: string
  14903. steptypeid:
  14904. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  14905. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  14906. type: integer
  14907. steptypename:
  14908. description: 步骤名称
  14909. type: string
  14910. stepvalue:
  14911. description: 期初均价
  14912. type: number
  14913. templateid:
  14914. description: 履约计划模板ID
  14915. type: integer
  14916. type: object
  14917. models.WrHoldLB:
  14918. properties:
  14919. accountid:
  14920. description: 持有人帐户ID
  14921. type: integer
  14922. bannerpicurl:
  14923. description: Banner图
  14924. type: string
  14925. createtime:
  14926. description: 创建时间(过户时间)
  14927. type: string
  14928. deliverygoodscode:
  14929. description: 品种代码
  14930. type: string
  14931. deliverygoodsid:
  14932. description: 品种ID
  14933. type: integer
  14934. deliverygoodsname:
  14935. description: 品种名称
  14936. type: string
  14937. enableqty:
  14938. description: 可用数量
  14939. type: number
  14940. enumdicname:
  14941. description: 单位名称
  14942. type: string
  14943. freezerqty:
  14944. description: 冻结数量
  14945. type: number
  14946. ladingbillid:
  14947. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  14948. type: string
  14949. minivalue:
  14950. description: 现货商品最小变动值
  14951. type: integer
  14952. optioncompare:
  14953. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14954. type: string
  14955. parentsubnum:
  14956. description: 拆分父子单号
  14957. type: integer
  14958. pledgeqty:
  14959. description: 质押数量
  14960. type: number
  14961. qty:
  14962. description: 数量
  14963. type: number
  14964. subnum:
  14965. description: 提单子单号
  14966. type: integer
  14967. thumurls:
  14968. description: 缩略图
  14969. type: string
  14970. tradedate:
  14971. description: 交易日(yyyyMMdd)
  14972. type: string
  14973. userid:
  14974. description: 持有人ID
  14975. type: integer
  14976. warehouseid:
  14977. description: 仓库ID
  14978. type: integer
  14979. warehousename:
  14980. description: 仓库名称
  14981. type: string
  14982. wrfactortypeid:
  14983. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  14984. type: string
  14985. wrfactortypename:
  14986. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14987. type: string
  14988. wrholdeno:
  14989. description: 仓单编号
  14990. type: string
  14991. wrid:
  14992. description: 仓单变更ID
  14993. type: string
  14994. wrstandardcode:
  14995. description: 现货商品代码
  14996. type: string
  14997. wrstandardid:
  14998. description: 现货商品ID
  14999. type: integer
  15000. wrstandardname:
  15001. description: 商品名称
  15002. type: string
  15003. wrtypename:
  15004. description: 商品
  15005. type: string
  15006. type: object
  15007. models.WrMarketTradeConfig:
  15008. properties:
  15009. basisdownratio:
  15010. description: 浮动价基差下限比例(仓单贸易)
  15011. type: number
  15012. basisupratio:
  15013. description: 浮动价基差上限比例(仓单贸易)
  15014. type: number
  15015. buychargealgorithm:
  15016. description: 买方手续费收取方式 1:比率 2:固定
  15017. type: integer
  15018. buychargealgorithm2:
  15019. description: 回购买方手续费收取方式 1:比率 2:固定 --77:现货商城
  15020. type: integer
  15021. buychargealgorithmvalue:
  15022. description: 买方手续费设置值(交易所部分)
  15023. type: number
  15024. buychargealgorithmvalue2:
  15025. description: 买方手续费设置值(会员部分)
  15026. type: number
  15027. buychargealgorithmvalue3:
  15028. description: 回购买方手续费设置值(交易所部分) --77:现货商城
  15029. type: number
  15030. buychargealgorithmvalue4:
  15031. description: 回购买方手续费设置值(会员部分) --77:现货商城
  15032. type: number
  15033. buyfirstmarginalgorithm:
  15034. description: 买方出价保证金方式 - 1:比率 2:固定 - [竞拍]
  15035. type: integer
  15036. buyfirstmarginvalue:
  15037. description: 买方出价保证金设置值 - [竞拍]
  15038. type: number
  15039. buymarginalgorithm:
  15040. description: 买方保证金方式 - 1:比率 2:固定
  15041. type: integer
  15042. buymarginvalue:
  15043. description: 买方保证金设置值
  15044. type: number
  15045. buyreleaseratio:
  15046. description: 买方释放比率[2:分步履约]
  15047. type: number
  15048. executemode:
  15049. description: 执行方式[2:分步履约] - 1:顺序执行 2:交叉执行
  15050. type: integer
  15051. executeside:
  15052. description: 执行方[2:分步履约] - 1:买方 2:卖方
  15053. type: integer
  15054. failedchargealgorithm:
  15055. description: 流拍手续费收取方式 1:比率 2:固定
  15056. type: integer
  15057. failedchargevalue:
  15058. description: 流拍手续费设置值
  15059. type: number
  15060. failedchargevalue2:
  15061. description: 流拍卖方手续费设置值
  15062. type: number
  15063. holddays:
  15064. description: 合同期限[2:分步履约]
  15065. type: integer
  15066. listingmode:
  15067. description: 挂牌方式 - 1:一口价 2:浮动价 3:贸易圈 4:协议指定
  15068. type: integer
  15069. marketid:
  15070. description: 市场ID-仓单贸易、竞拍、预售
  15071. type: integer
  15072. minqty:
  15073. description: 最小执行量[2:分步履约]
  15074. type: number
  15075. modifierid:
  15076. description: 修改人
  15077. type: integer
  15078. nowrquotaflag:
  15079. description: 是否校验无仓单额度(仓单贸易) - 0:否 1:是
  15080. type: integer
  15081. performancetempid:
  15082. description: 履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  15083. 立即执行(-1)
  15084. type: integer
  15085. performancetempid2:
  15086. description: 履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  15087. 立即执行
  15088. type: integer
  15089. performancetempid2s:
  15090. description: 履约计划模板IDs(无仓单) - 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货
  15091. - 履约方式: 立即执行
  15092. type: string
  15093. performancetempids:
  15094. description: 履约计划模板IDs(有仓单)- 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货
  15095. - 履约方式: 立即执行(-1)
  15096. type: string
  15097. performanceway:
  15098. description: 交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]
  15099. type: integer
  15100. sellchargealgorithm:
  15101. description: 卖方手续费收取方式 1:比率 2:固定
  15102. type: integer
  15103. sellchargealgorithm2:
  15104. description: 回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城
  15105. type: integer
  15106. sellchargealgorithmvalue:
  15107. description: 卖方手续费设置值(交易所部分)
  15108. type: number
  15109. sellchargealgorithmvalue2:
  15110. description: 卖方手续费设置值(会员部分)
  15111. type: number
  15112. sellchargealgorithmvalue3:
  15113. description: 回购卖方手续费设置值(交易所部分) --77:现货商城
  15114. type: number
  15115. sellchargealgorithmvalue4:
  15116. description: 回购卖方手续费设置值(会员部分) --77:现货商城
  15117. type: number
  15118. sellmarginalgorithm:
  15119. description: 卖方保证金方式 - 1:比率 2:固定
  15120. type: integer
  15121. sellmarginvalue:
  15122. description: 卖方保证金设置值
  15123. type: number
  15124. sellmarginvalue2:
  15125. description: 卖方保证金设置值(无仓单)
  15126. type: number
  15127. sellreleaseratio:
  15128. description: 卖方释放比率[2:分步履约]
  15129. type: number
  15130. updatetime:
  15131. description: 更新时间
  15132. type: string
  15133. type: object
  15134. models.WrOrderDetail:
  15135. properties:
  15136. accountid:
  15137. description: 交易账号(资金账号)
  15138. type: integer
  15139. allfriendsflag:
  15140. description: 是否全好友可见 - 0:否 1:是
  15141. type: integer
  15142. amount:
  15143. description: 期初均价
  15144. type: number
  15145. bannerpicurl:
  15146. description: Banner图
  15147. type: string
  15148. begindate:
  15149. description: 开始交易日(yyyymmdd)
  15150. type: string
  15151. buyorsell:
  15152. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  15153. type: integer
  15154. canbargain:
  15155. description: 是否可议价 - 0:不可 1:可
  15156. type: integer
  15157. cancelqty:
  15158. description: 撤销数量
  15159. type: number
  15160. canpart:
  15161. description: 是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)
  15162. type: integer
  15163. delistminqty:
  15164. description: 起摘数量
  15165. type: integer
  15166. deliverygoodscode:
  15167. description: 品种代码
  15168. type: string
  15169. deliverygoodsid:
  15170. description: 品种ID
  15171. type: integer
  15172. deliverygoodsname:
  15173. description: 品种名称
  15174. type: string
  15175. deliverymonth:
  15176. description: 交收月
  15177. type: string
  15178. enddate:
  15179. description: 结束交易日(yyyymmdd)
  15180. type: string
  15181. enumdicname:
  15182. description: 单位名称
  15183. type: string
  15184. fixedprice:
  15185. description: 固定价格 - [挂牌]
  15186. type: number
  15187. freezecharge:
  15188. description: 期初均价
  15189. type: number
  15190. freezemargin:
  15191. description: 期初均价
  15192. type: number
  15193. futupricemove:
  15194. description: 期货升贴水
  15195. type: number
  15196. futushow:
  15197. description: 期货合约/升贴水
  15198. type: string
  15199. goodscode:
  15200. description: 期货合约
  15201. type: string
  15202. goodsid:
  15203. description: 期货商品id
  15204. type: integer
  15205. goodsname:
  15206. description: 商品名称
  15207. type: string
  15208. haswr:
  15209. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  15210. type: integer
  15211. isspecified:
  15212. description: 是否指定对手 - 0:不指定 1:指定 - [挂牌]
  15213. type: integer
  15214. ladingbillid:
  15215. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  15216. type: string
  15217. marginvalue:
  15218. description: 期初均价
  15219. type: number
  15220. marketid:
  15221. description: 市场ID
  15222. type: integer
  15223. matchusername:
  15224. description: 对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)
  15225. type: string
  15226. minivalue:
  15227. description: 现货商品最小变动值
  15228. type: integer
  15229. optioncompare:
  15230. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15231. type: string
  15232. orderqty:
  15233. description: 委托数量
  15234. type: number
  15235. ordertime:
  15236. description: 委托时间(挂牌时间)
  15237. type: string
  15238. performancetemplateid:
  15239. description: 履约模板id
  15240. type: integer
  15241. pricemove:
  15242. description: 升贴水(浮动价时填写) - [挂牌]
  15243. type: number
  15244. taname:
  15245. description: 交易用户名称(资金账号名称)
  15246. type: string
  15247. thumurls:
  15248. description: 缩略图
  15249. type: string
  15250. tradedate:
  15251. description: 交易日(yyyyMMdd)
  15252. type: string
  15253. tradeprice:
  15254. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)*
  15255. 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  15256. type: number
  15257. tradeqty:
  15258. description: 成交数量
  15259. type: number
  15260. userid:
  15261. description: 用户ID
  15262. type: integer
  15263. validtime:
  15264. description: 挂牌有效期
  15265. type: string
  15266. validtype:
  15267. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  15268. type: integer
  15269. warehouseid:
  15270. description: 仓库ID
  15271. type: integer
  15272. warehousename:
  15273. description: 仓库名称
  15274. type: string
  15275. wrfactortypeid:
  15276. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15277. type: string
  15278. wrfactortypename:
  15279. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15280. type: string
  15281. wrpricetype:
  15282. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  15283. type: integer
  15284. wrstandardcode:
  15285. description: 现货商品代码
  15286. type: string
  15287. wrstandardid:
  15288. description: 现货商品ID
  15289. type: integer
  15290. wrstandardname:
  15291. description: 商品名称
  15292. type: string
  15293. wrtradeorderid:
  15294. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  15295. type: string
  15296. wrtradeorderstatus:
  15297. 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:撤单解冻贷款失败
  15298. type: integer
  15299. wrtradetype:
  15300. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  15301. type: integer
  15302. wrtypename:
  15303. description: 商品
  15304. type: string
  15305. type: object
  15306. models.WrOrderQuote:
  15307. properties:
  15308. bannerpicurl:
  15309. description: Banner图
  15310. type: string
  15311. buyprice:
  15312. description: 买价
  15313. type: number
  15314. buypricemove:
  15315. description: 买升贴水(基差)
  15316. type: number
  15317. buyqty:
  15318. description: 买量
  15319. type: number
  15320. deliverygoodscode:
  15321. description: 品种代码
  15322. type: string
  15323. deliverygoodsid:
  15324. description: 品种id
  15325. type: integer
  15326. deliverygoodsname:
  15327. description: 品种名称
  15328. type: string
  15329. deliverymonth:
  15330. description: 交收月
  15331. type: string
  15332. enumdicname:
  15333. description: 单位名称
  15334. type: string
  15335. goodscode:
  15336. description: 商品合约(浮动价列表才有)
  15337. type: string
  15338. goodsid:
  15339. description: 商品id(浮动价列表才有)
  15340. type: integer
  15341. minivalue:
  15342. description: 现货商品最小变动值
  15343. type: integer
  15344. pictureurls:
  15345. description: 详情图片(逗号分隔)
  15346. type: string
  15347. sellprice:
  15348. description: 卖价
  15349. type: number
  15350. sellpricemove:
  15351. description: 卖升贴水(基差)
  15352. type: number
  15353. sellqty:
  15354. description: 卖量
  15355. type: number
  15356. thumurls:
  15357. description: 缩略图片(1:1)(逗号分隔)
  15358. type: string
  15359. warehousecode:
  15360. description: 仓库代码
  15361. type: string
  15362. warehouseid:
  15363. description: 仓库id
  15364. type: integer
  15365. warehousename:
  15366. description: 仓库名称
  15367. type: string
  15368. wrfactortypeid:
  15369. description: 仓单要素id
  15370. type: string
  15371. wrfactortypename:
  15372. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15373. type: string
  15374. wrgoodsname:
  15375. description: 商品(商品名称+仓库要素名称 拼接)
  15376. type: string
  15377. wrstandardcode:
  15378. description: 商品代码
  15379. type: string
  15380. wrstandardid:
  15381. description: 商品id
  15382. type: integer
  15383. wrstandardname:
  15384. description: 商品名称
  15385. type: string
  15386. type: object
  15387. models.WrOrderQuoteDetail:
  15388. properties:
  15389. buyorsell:
  15390. description: 买卖 - 0:买 1:卖
  15391. type: integer
  15392. delistminqty:
  15393. description: 期初均价
  15394. type: number
  15395. deliverymonth:
  15396. description: 交收月
  15397. type: string
  15398. enumdicname:
  15399. description: 单位名称
  15400. type: string
  15401. fixedprice:
  15402. description: 买(卖)价
  15403. type: number
  15404. marketid:
  15405. description: 市场id
  15406. type: integer
  15407. minivalue:
  15408. description: 现货商品最小变动值
  15409. type: integer
  15410. orderqty:
  15411. description: 买(卖)量(=委托量-成交量)
  15412. type: number
  15413. ordertime:
  15414. description: 委托时间
  15415. type: string
  15416. pricemove:
  15417. description: 买(卖)升贴水- 基差
  15418. type: number
  15419. userid:
  15420. description: 购买方(销售方)用户ID
  15421. type: integer
  15422. username:
  15423. description: 购买方(销售方)
  15424. type: string
  15425. wrtradeorderid:
  15426. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  15427. type: string
  15428. type: object
  15429. models.WrOutInApply:
  15430. properties:
  15431. applyid:
  15432. description: 申请单id
  15433. type: string
  15434. applystatus:
  15435. description: 申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败
  15436. 8:已撤销
  15437. type: integer
  15438. applytime:
  15439. description: 申请时间
  15440. type: string
  15441. applytype:
  15442. description: 申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销
  15443. type: integer
  15444. bannerpicurl:
  15445. description: Banner图
  15446. type: string
  15447. begindate:
  15448. description: 开始交易日(yyyymmdd)
  15449. type: string
  15450. deliverygoodscode:
  15451. description: 品种代码
  15452. type: string
  15453. deliverygoodsid:
  15454. description: 品种ID
  15455. type: integer
  15456. deliverygoodsname:
  15457. description: 品种名称
  15458. type: string
  15459. enddate:
  15460. description: 结束交易日(yyyymmdd)
  15461. type: string
  15462. enumdicname:
  15463. description: 单位名称
  15464. type: string
  15465. expresscompany:
  15466. description: 物流公司
  15467. type: string
  15468. expressnum:
  15469. description: 物流单号
  15470. type: string
  15471. minivalue:
  15472. description: 现货商品最小变动值
  15473. type: integer
  15474. optioncompare:
  15475. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15476. type: string
  15477. qty:
  15478. description: 数量
  15479. type: integer
  15480. userid:
  15481. description: 用户id
  15482. type: integer
  15483. warehouseid:
  15484. description: 仓库ID
  15485. type: integer
  15486. warehousename:
  15487. description: 仓库名称
  15488. type: string
  15489. wrfactortypeid:
  15490. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15491. type: string
  15492. wrfactortypename:
  15493. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15494. type: string
  15495. wrstandardcode:
  15496. description: 现货商品代码
  15497. type: string
  15498. wrstandardid:
  15499. description: 现货商品ID
  15500. type: integer
  15501. wrstandardname:
  15502. description: 商品名称
  15503. type: string
  15504. wrtypename:
  15505. description: 商品
  15506. type: string
  15507. type: object
  15508. models.WrPerformancePlan:
  15509. properties:
  15510. activatemonth:
  15511. description: 履约激活月 [无仓单的交易收月](yyyy-MM)
  15512. type: string
  15513. amount:
  15514. description: 履约金额(总金额)
  15515. type: number
  15516. begindate:
  15517. description: 开始交易日(yyyymmdd)
  15518. type: string
  15519. buyaccountid:
  15520. description: 买方账号
  15521. type: integer
  15522. buyerfreezeamount:
  15523. description: 履约冻结(买履约)
  15524. type: number
  15525. buyerfreezeamountremain:
  15526. description: 履约冻结剩余(买履约)
  15527. type: number
  15528. buyorsell:
  15529. description: 买卖方向 0-买 1-卖
  15530. type: integer
  15531. buypaidamount:
  15532. description: 买方已冻/已扣金额 (已付金额)
  15533. type: number
  15534. buyusername:
  15535. description: 买方名字
  15536. type: string
  15537. contractid:
  15538. description: 合同ID
  15539. type: integer
  15540. createtime:
  15541. description: 创建时间
  15542. type: string
  15543. creatorid:
  15544. description: 创建人
  15545. type: integer
  15546. curstepdeadline:
  15547. description: 当前步骤到期时间
  15548. type: string
  15549. curstepid:
  15550. description: 当前步骤ID
  15551. type: string
  15552. curstepname:
  15553. description: 当前步骤名称
  15554. type: string
  15555. deliverygoodscode:
  15556. description: 品种代码
  15557. type: string
  15558. deliverygoodsid:
  15559. description: 品种ID
  15560. type: integer
  15561. deliverygoodsname:
  15562. description: 品种名称
  15563. type: string
  15564. enddate:
  15565. description: 结束交易日(yyyymmdd)
  15566. type: string
  15567. enumdicname:
  15568. description: 单位名称
  15569. type: string
  15570. expressfee:
  15571. description: 运费
  15572. type: number
  15573. expressfeeconfirmed:
  15574. description: 是否确认运费 - 0:无 1:买方确认 2:卖方确认
  15575. type: integer
  15576. hasovershort:
  15577. description: 是否确认溢短 - 0:没有 1:买方确认 2:卖方确认
  15578. type: integer
  15579. haswr:
  15580. description: 类型 0-仓单预售 1-仓单贸易
  15581. type: integer
  15582. marketid:
  15583. description: 市场ID
  15584. type: integer
  15585. middleaccountid:
  15586. description: 中间商资金账号ID
  15587. type: integer
  15588. middleuserid:
  15589. description: 中间商用户ID
  15590. type: integer
  15591. minivalue:
  15592. description: 现货商品最小变动值
  15593. type: integer
  15594. optioncompare:
  15595. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15596. type: string
  15597. overshortamount:
  15598. description: 溢短金额
  15599. type: number
  15600. overshortqty:
  15601. description: 溢短数量
  15602. type: number
  15603. paymenttype:
  15604. description: 付款方式 - 1:冻结 2:扣款
  15605. type: integer
  15606. performanceplanid:
  15607. description: 履约计划ID(130+yyMMddHHmmss+xxxx)
  15608. type: string
  15609. performancestatus:
  15610. description: 履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败
  15611. 9:超时待处理 10:超时关闭
  15612. type: integer
  15613. performancetype:
  15614. description: 履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式
  15615. 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统
  15616. type: integer
  15617. qty:
  15618. description: 履约数量
  15619. type: number
  15620. relatedorderid:
  15621. description: 关联单号(履约类型的关联单号)
  15622. type: string
  15623. remark:
  15624. description: 备注
  15625. type: string
  15626. sellaccountid:
  15627. description: 卖方账号
  15628. type: integer
  15629. sellerfreezeamount:
  15630. description: 履约冻结(卖履约)
  15631. type: number
  15632. sellerfreezeamountremain:
  15633. description: 履约冻结剩余(卖履约)
  15634. type: number
  15635. sellreceivedamount:
  15636. description: 卖方已收金额
  15637. type: number
  15638. sellusername:
  15639. description: 卖方名字
  15640. type: string
  15641. shipremark:
  15642. description: 发货备注[物流单号]
  15643. type: string
  15644. starttime:
  15645. description: 开始时间
  15646. type: string
  15647. steptypeid:
  15648. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  15649. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  15650. type: integer
  15651. typename:
  15652. description: 履约类型 名称
  15653. type: string
  15654. unpaidamount:
  15655. description: 期初均价
  15656. type: number
  15657. userid:
  15658. description: 用户id
  15659. type: integer
  15660. warehouseid:
  15661. description: 仓库ID
  15662. type: integer
  15663. warehousename:
  15664. description: 仓库名称
  15665. type: string
  15666. wrfactortypeid:
  15667. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15668. type: string
  15669. wrfactortypename:
  15670. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15671. type: string
  15672. wrstandardcode:
  15673. description: 现货商品代码
  15674. type: string
  15675. wrstandardid:
  15676. description: 现货商品ID
  15677. type: integer
  15678. wrstandardname:
  15679. description: 商品名称
  15680. type: string
  15681. wrtransferuserid:
  15682. description: 仓单受让用户
  15683. type: integer
  15684. wrtypename:
  15685. description: 商品
  15686. type: string
  15687. required:
  15688. - userid
  15689. type: object
  15690. models.WrPerformancePlanStep:
  15691. properties:
  15692. delaydays:
  15693. description: 延期申请天数
  15694. type: integer
  15695. deliverygoodscode:
  15696. description: 品种代码
  15697. type: string
  15698. deliverygoodsid:
  15699. description: 品种ID
  15700. type: integer
  15701. deliverygoodsname:
  15702. description: 品种名称
  15703. type: string
  15704. endtime:
  15705. description: 结束日期
  15706. type: string
  15707. enumdicname:
  15708. description: 单位名称
  15709. type: string
  15710. executeside:
  15711. description: 步骤执行方 - 1:买方 2:卖方
  15712. type: integer
  15713. handlestatus:
  15714. description: 处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败
  15715. 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求
  15716. 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败
  15717. type: integer
  15718. isauto:
  15719. description: 是否自动 - 0:不自动 1:自动
  15720. type: integer
  15721. islastreceivestep:
  15722. description: 是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)
  15723. type: integer
  15724. minivalue:
  15725. description: 现货商品最小变动值
  15726. type: integer
  15727. optioncompare:
  15728. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15729. type: string
  15730. overdays:
  15731. description: 超期天数 = 当前时间(数据库时间) - 结束日期
  15732. type: integer
  15733. performancestepid:
  15734. description: 履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)
  15735. type: string
  15736. planid:
  15737. description: 所属履约计划ID
  15738. type: string
  15739. realamount:
  15740. description: 实际完成金额
  15741. type: number
  15742. relatedorderid:
  15743. description: 关联单号
  15744. type: string
  15745. remaindays:
  15746. description: 剩余天数
  15747. type: integer
  15748. remark:
  15749. description: 错误备注
  15750. type: string
  15751. starttime:
  15752. description: 开始日期
  15753. type: string
  15754. stepamount:
  15755. description: 步骤金额
  15756. type: number
  15757. stepdays:
  15758. description: 距离上一步天数(分钟)
  15759. type: integer
  15760. stepindex:
  15761. description: 步骤序号
  15762. type: integer
  15763. steplanchtype:
  15764. description: 步骤启动类型 - 1:系统自动 2:手动
  15765. type: integer
  15766. stepremark:
  15767. description: 步骤备注
  15768. type: string
  15769. stepstatus:
  15770. description: 步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭
  15771. type: integer
  15772. steptypeid:
  15773. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  15774. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  15775. type: integer
  15776. steptypename:
  15777. description: 步骤名称
  15778. type: string
  15779. stepvalue:
  15780. description: 步骤值
  15781. type: number
  15782. warehouseid:
  15783. description: 仓库ID
  15784. type: integer
  15785. warehousename:
  15786. description: 仓库名称
  15787. type: string
  15788. wrfactortypeid:
  15789. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15790. type: string
  15791. wrfactortypename:
  15792. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15793. type: string
  15794. wrstandardcode:
  15795. description: 现货商品代码
  15796. type: string
  15797. wrstandardid:
  15798. description: 现货商品ID
  15799. type: integer
  15800. wrstandardname:
  15801. description: 商品名称
  15802. type: string
  15803. wrtypename:
  15804. description: 商品
  15805. type: string
  15806. type: object
  15807. models.WrPerformanceStepType:
  15808. properties:
  15809. canauto:
  15810. description: '能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)'
  15811. type: integer
  15812. steptypeid:
  15813. description: 步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移
  15814. type: integer
  15815. steptypename:
  15816. description: 步骤类型名称
  15817. type: string
  15818. type: object
  15819. models.WrPerformanceTemplateEx:
  15820. properties:
  15821. autoid:
  15822. description: AutoID 模板id
  15823. type: integer
  15824. createtime:
  15825. description: 创建时间
  15826. type: string
  15827. creatorid:
  15828. description: 创建人
  15829. type: integer
  15830. lstStep:
  15831. description: 步骤信息列表
  15832. items:
  15833. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  15834. type: array
  15835. paymenttype:
  15836. description: 支付方式 - 1:冻结 2:扣款
  15837. type: integer
  15838. takemode:
  15839. description: 提货方式 - 1:无 2:买方自提 3:卖方发货
  15840. type: integer
  15841. templatename:
  15842. description: 模板名称
  15843. type: string
  15844. templatetype:
  15845. description: 模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  15846. (无仓单) 5:挂牌期权 6:竞拍-降价式
  15847. type: integer
  15848. userid:
  15849. description: 所属用户
  15850. type: integer
  15851. type: object
  15852. models.WrPosition:
  15853. properties:
  15854. accountid:
  15855. description: 帐户ID
  15856. type: integer
  15857. buyexcuteqty:
  15858. description: 采购履约中数量
  15859. type: number
  15860. creditcurqty:
  15861. description: 授信当前数量(预售仓单:预售当前量)
  15862. type: number
  15863. creditenableqty:
  15864. description: '授信可用数量(预售仓单: 可用数量)'
  15865. type: number
  15866. creditfreezeqty:
  15867. description: '授信冻结数量(预售仓单: 当前数量)'
  15868. type: number
  15869. credittotalqty:
  15870. description: 授信总数量(预售仓单:预售总量)
  15871. type: number
  15872. credittradeqty:
  15873. description: 授信成交数量(预售仓单:成交总量)
  15874. type: number
  15875. deliverygoodscode:
  15876. description: 品种代码
  15877. type: string
  15878. deliverygoodsid:
  15879. description: 品种ID
  15880. type: integer
  15881. deliverygoodsname:
  15882. description: 品种名称
  15883. type: string
  15884. enalbeqty:
  15885. description: 可用数量
  15886. type: number
  15887. enumdicname:
  15888. description: 单位名称
  15889. type: string
  15890. freezeqty:
  15891. description: 总冻结数量
  15892. type: number
  15893. haswr:
  15894. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  15895. type: integer
  15896. minivalue:
  15897. description: 现货商品最小变动值
  15898. type: integer
  15899. modifytime:
  15900. description: 修改时间(过户时间)
  15901. type: string
  15902. optioncompare:
  15903. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15904. type: string
  15905. pledgeqty:
  15906. description: 质押数量
  15907. type: number
  15908. querytype:
  15909. description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  15910. type: integer
  15911. sellexcuteqty:
  15912. description: 销售履约中数量
  15913. type: number
  15914. totalqty:
  15915. description: 总数量(库存数量)
  15916. type: number
  15917. warehouseid:
  15918. description: 仓库ID
  15919. type: integer
  15920. warehousename:
  15921. description: 仓库名称
  15922. type: string
  15923. wrfactortypeid:
  15924. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15925. type: string
  15926. wrfactortypename:
  15927. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15928. type: string
  15929. wrpositionid:
  15930. description: 仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)
  15931. type: string
  15932. wrpositionno:
  15933. description: 仓单编号
  15934. type: string
  15935. wrstandardcode:
  15936. description: 现货商品代码
  15937. type: string
  15938. wrstandardid:
  15939. description: 现货商品ID
  15940. type: integer
  15941. wrstandardname:
  15942. description: 商品名称
  15943. type: string
  15944. wrtypename:
  15945. description: 商品
  15946. type: string
  15947. wruserid:
  15948. description: 持有人ID
  15949. type: integer
  15950. type: object
  15951. models.WrPreSaleInfo:
  15952. properties:
  15953. bannerpicurl:
  15954. description: Banner图
  15955. type: string
  15956. baseqty:
  15957. description: 中签基数
  15958. type: number
  15959. createtime:
  15960. description: 创建时间
  15961. type: string
  15962. deliverygoodsid:
  15963. description: 现货品种ID
  15964. type: integer
  15965. enddate:
  15966. description: 预售结束日期
  15967. type: string
  15968. enumdicname:
  15969. description: 单位名称
  15970. type: string
  15971. lotteryflag:
  15972. description: 摇号标识 - 0:未摇号 1:已摇号
  15973. type: integer
  15974. lotteryqty:
  15975. description: 摇号总量
  15976. type: number
  15977. luckyqty:
  15978. description: 已中签量
  15979. type: number
  15980. marketid:
  15981. description: 市场ID
  15982. type: integer
  15983. maxbuyqty:
  15984. description: 单人最大申购量
  15985. type: number
  15986. maxluckyqty:
  15987. description: 单人最大中签量
  15988. type: number
  15989. pictureurls:
  15990. description: 详情图片(逗号分隔)
  15991. type: string
  15992. placeqty:
  15993. description: 已配售量
  15994. type: number
  15995. presaleapplyid:
  15996. description: 预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)
  15997. example: "0"
  15998. type: string
  15999. presaleqty:
  16000. description: 预售总量
  16001. type: number
  16002. presalestatus:
  16003. description: 预售状态 - 1:未开始 2:进行中 3:已结束 4:已关闭
  16004. type: integer
  16005. sellaccountid:
  16006. description: 发行方资金账户ID
  16007. type: integer
  16008. selluserid:
  16009. description: 发行方用户ID
  16010. type: integer
  16011. sellwrtradeorderid:
  16012. description: 发行方卖委托单ID
  16013. type: string
  16014. startdate:
  16015. description: 预售开始日期
  16016. type: string
  16017. takestartdate:
  16018. description: 提货开始日期
  16019. type: string
  16020. thumurls:
  16021. description: 缩略图片(1:1)(逗号分隔)
  16022. type: string
  16023. tradedate:
  16024. description: 交易日
  16025. type: string
  16026. unitid:
  16027. description: 单位ID
  16028. type: integer
  16029. unitprice:
  16030. description: 商品单价
  16031. type: number
  16032. username:
  16033. description: 发行方用户名称
  16034. type: string
  16035. warehousecode:
  16036. description: 仓库代码(仓库简称)
  16037. type: string
  16038. warehouseid:
  16039. description: 仓库ID
  16040. type: integer
  16041. warehousename:
  16042. description: 仓库名称
  16043. type: string
  16044. wrfactortypeid:
  16045. description: 仓单要素类型ID - 根据现货商品\仓库生成
  16046. example: "0"
  16047. type: string
  16048. wrstandardid:
  16049. description: 现货商品ID
  16050. type: integer
  16051. wrstandardname:
  16052. description: 现货商品名称
  16053. type: string
  16054. type: object
  16055. models.WrQuoteOrderMyq:
  16056. properties:
  16057. buyorsell:
  16058. description: 买卖 - 0:买 1:卖
  16059. type: integer
  16060. canbargain:
  16061. description: 是否可议价 - 0:不可 1:可
  16062. type: integer
  16063. canpart:
  16064. description: 是否允许部份摘牌 - 0:不允许 1:允许
  16065. type: integer
  16066. delistminqty:
  16067. description: 期初均价
  16068. type: number
  16069. deliverygoodscode:
  16070. description: 品种代码
  16071. type: string
  16072. deliverygoodsid:
  16073. description: 品种ID
  16074. type: integer
  16075. deliverygoodsname:
  16076. description: 品种名称
  16077. type: string
  16078. deliverymonth:
  16079. description: 交收月
  16080. type: string
  16081. enumdicname:
  16082. description: 单位名称
  16083. type: string
  16084. fixedprice:
  16085. description: 买(卖)价
  16086. type: number
  16087. goodscode:
  16088. description: 商品合约代码
  16089. type: string
  16090. marginflag:
  16091. description: 挂牌是否指定保证金 - 0:未指定 1:指定
  16092. type: integer
  16093. marginvalue:
  16094. description: 保证金设置值
  16095. type: number
  16096. minivalue:
  16097. description: 现货商品最小变动值
  16098. type: integer
  16099. orderqty:
  16100. description: 买(卖)量(=委托量-成交量)
  16101. type: number
  16102. ordertime:
  16103. description: 委托时间
  16104. type: string
  16105. performancetemplateid:
  16106. description: 履约模板id
  16107. type: integer
  16108. pricemove:
  16109. description: 买(卖)升贴水- 基差
  16110. type: number
  16111. templatename:
  16112. description: 履约模板名称
  16113. type: string
  16114. userid:
  16115. description: 购买方(销售方)用户ID
  16116. type: integer
  16117. username:
  16118. description: 购买方(销售方)
  16119. type: string
  16120. validtime:
  16121. description: 有效期限
  16122. type: string
  16123. validtype:
  16124. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  16125. type: integer
  16126. warehousename:
  16127. description: 仓库名称
  16128. type: string
  16129. wrfactortypeid:
  16130. description: 仓单要素id
  16131. type: string
  16132. wrstandardcode:
  16133. description: 现货商品代码
  16134. type: string
  16135. wrstandardid:
  16136. description: 现货商品ID
  16137. type: integer
  16138. wrstandardname:
  16139. description: 商品名称
  16140. type: string
  16141. wrtradeorderid:
  16142. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  16143. type: string
  16144. wrtypename:
  16145. description: 商品
  16146. type: string
  16147. type: object
  16148. models.WrReckonSpotGoodsTradeSum:
  16149. properties:
  16150. begindate:
  16151. description: 开始日期(结果含开始日期) yyyymmdd
  16152. type: string
  16153. enddate:
  16154. description: 结束日期(结果含结束日期) yyyymmdd
  16155. type: string
  16156. istoday:
  16157. description: 是否当日
  16158. type: boolean
  16159. marketid:
  16160. description: 市场ID
  16161. type: integer
  16162. price:
  16163. description: 价格 = 日成交金额 / 日成交数量
  16164. type: string
  16165. reckondate:
  16166. description: 日期 格式 yyyymmdd
  16167. type: string
  16168. tradeamount:
  16169. description: 期初均价
  16170. type: number
  16171. tradeqty:
  16172. description: 期初均价
  16173. type: number
  16174. wrstandardid:
  16175. description: 现货商品ID
  16176. type: integer
  16177. type: object
  16178. models.WrScfContract:
  16179. properties:
  16180. borroweruserid:
  16181. description: 借款用户ID
  16182. type: integer
  16183. buybackwrpositionqty:
  16184. description: 已回购仓单头寸数量 - [仓单回购\仓单质押] -> 已回购数量
  16185. type: number
  16186. closeinterest:
  16187. description: 已结利息 -> 已结费用
  16188. type: number
  16189. currisklevel:
  16190. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  16191. type: integer
  16192. deadline:
  16193. description: 截止日期(yyyyMMdd) -> 借款到期时间
  16194. type: string
  16195. deliverygoodscode:
  16196. description: 品种代码
  16197. type: string
  16198. deliverygoodsid:
  16199. description: 品种ID
  16200. type: integer
  16201. deliverygoodsname:
  16202. description: 品种名称
  16203. type: string
  16204. enumdicname:
  16205. description: 单位名称
  16206. type: string
  16207. financingdays:
  16208. description: 天数(天)
  16209. type: integer
  16210. initmargin:
  16211. description: 保证金 - [仓单回购]
  16212. type: number
  16213. interestamount:
  16214. description: 计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \ 合同剩余金额
  16215. type: number
  16216. interestdebt:
  16217. description: 利息欠款(记录负数) -> 费用欠款
  16218. type: number
  16219. interestminlen:
  16220. description: 最小起息天数
  16221. type: integer
  16222. interestrate:
  16223. description: 利率
  16224. type: number
  16225. interestratemode:
  16226. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  16227. type: integer
  16228. interestsettlemode:
  16229. description: 结息方式 - 1:按日结息 3:按月结息
  16230. type: integer
  16231. interestsettlevalue:
  16232. description: 结息方式值
  16233. type: integer
  16234. isautoloan:
  16235. description: 是否自动放款 - 0:手动 1:自动 - [仓单质押]
  16236. type: integer
  16237. lastcloseinterestday:
  16238. description: 最近结息日(yyyyMMdd)
  16239. type: string
  16240. lenderamount:
  16241. description: 贷款金额 -> 借款金额
  16242. type: number
  16243. lenderuserid:
  16244. description: 贷款方用户ID -> 融出方用户ID
  16245. type: integer
  16246. lenderusername:
  16247. description: 融出方
  16248. type: string
  16249. marginratio:
  16250. description: 保证金比率质押率 - [仓单质押]
  16251. type: number
  16252. marketid:
  16253. description: 市场ID - 拆成三个独立模式后,根据市场ID处理
  16254. type: integer
  16255. minivalue:
  16256. description: 现货商品最小变动值
  16257. type: integer
  16258. optioncompare:
  16259. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16260. type: string
  16261. pricemove:
  16262. description: 估值升贴水值
  16263. type: number
  16264. productdetailid:
  16265. description: 产品组合ID
  16266. type: integer
  16267. productid:
  16268. description: 金融产品ID
  16269. type: integer
  16270. productname:
  16271. description: 产品名称
  16272. type: string
  16273. remainamount:
  16274. description: 合同剩余金额 -> 剩余金额
  16275. type: number
  16276. remainwrpositionqty:
  16277. description: 剩余仓单头寸数量 - [仓单回购\仓单质押] -> 剩余数量(待回购数量)
  16278. type: number
  16279. remark:
  16280. description: 备注
  16281. type: string
  16282. scfcontractid:
  16283. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  16284. type: string
  16285. scfcontractstatus:
  16286. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  16287. 9:违约结束 10:已注销 11:已关闭 99:未提交
  16288. type: integer
  16289. scfcontracttype:
  16290. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购
  16291. type: integer
  16292. startinterestday:
  16293. description: 计息开始日(yyyyMMdd) -> 开始计费日期
  16294. type: string
  16295. totalinterest:
  16296. description: 已计利息 -> 已计费用
  16297. type: number
  16298. unpaidinterest:
  16299. description: 期初均价
  16300. type: number
  16301. updatetime:
  16302. description: 更新时间
  16303. type: string
  16304. warehouseid:
  16305. description: 仓库ID
  16306. type: integer
  16307. warehousename:
  16308. description: 仓库名称
  16309. type: string
  16310. wrfactortypeid:
  16311. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16312. type: string
  16313. wrfactortypename:
  16314. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16315. type: string
  16316. wrqty:
  16317. description: 仓单数量 - [仓单回购\仓单质押] -> 数量
  16318. type: number
  16319. wrstandardcode:
  16320. description: 现货商品代码
  16321. type: string
  16322. wrstandardid:
  16323. description: 现货商品ID
  16324. type: integer
  16325. wrstandardname:
  16326. description: 商品名称
  16327. type: string
  16328. wrtypename:
  16329. description: 商品
  16330. type: string
  16331. type: object
  16332. models.WrScfContractInterest:
  16333. properties:
  16334. closeinterest:
  16335. description: 已结利息
  16336. type: number
  16337. closeintereststatus:
  16338. description: 结息状态 - 1:未结 2:已结
  16339. type: integer
  16340. closetime:
  16341. description: 结息时间
  16342. type: string
  16343. closetradedate:
  16344. description: 结息交易日
  16345. type: string
  16346. creatorid:
  16347. description: 操作人ID
  16348. type: integer
  16349. dayrate:
  16350. description: 日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)
  16351. type: number
  16352. interest:
  16353. description: 利息
  16354. type: number
  16355. interestamount:
  16356. description: 计息金额
  16357. type: number
  16358. interestday:
  16359. description: 计息日(yyyyMMdd)
  16360. type: string
  16361. scfcontractid:
  16362. description: SCF合同ID
  16363. type: string
  16364. scfcontractinterestid:
  16365. description: SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)
  16366. type: integer
  16367. updatetime:
  16368. description: 更新时间
  16369. type: string
  16370. type: object
  16371. models.WrSearchUser:
  16372. properties:
  16373. userid:
  16374. description: 用户ID
  16375. type: integer
  16376. username:
  16377. description: 用户名称(已脱敏)
  16378. type: string
  16379. username2:
  16380. description: 用户名称(未脱敏)
  16381. type: string
  16382. usertype:
  16383. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  16384. type: integer
  16385. required:
  16386. - username
  16387. type: object
  16388. models.WrSiteColumnDetail:
  16389. properties:
  16390. brief:
  16391. description: 简介
  16392. type: string
  16393. context:
  16394. description: 内容
  16395. type: string
  16396. coverimage:
  16397. description: 封面图片
  16398. type: string
  16399. creaedate:
  16400. description: 创建时间
  16401. type: string
  16402. id:
  16403. description: ID(SEQ_SITE_COLUMNDETAIL)
  16404. type: integer
  16405. istop:
  16406. description: 是否置顶 - 0:不置 1:置顶
  16407. type: integer
  16408. publishdate:
  16409. description: 发布日期
  16410. type: string
  16411. title:
  16412. description: 标题
  16413. type: string
  16414. updatedate:
  16415. description: 修改时间
  16416. type: string
  16417. type: object
  16418. models.WrSpecialMatchOrder:
  16419. properties:
  16420. amount:
  16421. description: 金额 = 数量 * 价格
  16422. type: number
  16423. buyorsell:
  16424. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  16425. type: integer
  16426. cancelqty:
  16427. description: 撤销数量
  16428. type: number
  16429. deliverygoodscode:
  16430. description: 品种代码
  16431. type: string
  16432. deliverygoodsid:
  16433. description: 品种ID
  16434. type: integer
  16435. deliverygoodsname:
  16436. description: 品种名称
  16437. type: string
  16438. enumdicname:
  16439. description: 单位名称
  16440. type: string
  16441. fixedprice:
  16442. description: 固定价格(价格)
  16443. type: number
  16444. haswr:
  16445. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  16446. type: integer
  16447. isspecified:
  16448. description: 是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  16449. type: integer
  16450. marketid:
  16451. description: 市场ID
  16452. type: integer
  16453. matchuserid:
  16454. description: 指定方资金账号(字段名为userid,实际存的是accountid by:邓工)
  16455. type: integer
  16456. matchusername:
  16457. description: 指定方
  16458. type: string
  16459. minivalue:
  16460. description: 现货商品最小变动值
  16461. type: integer
  16462. optioncompare:
  16463. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16464. type: string
  16465. orderqty:
  16466. description: 委托数量
  16467. type: number
  16468. ordertime:
  16469. description: 委托时间
  16470. type: string
  16471. pricemove:
  16472. description: 升贴水(浮动价时填写) - [挂牌]
  16473. type: number
  16474. tradedate:
  16475. description: 交易日(yyyyMMdd)
  16476. type: string
  16477. tradeprice:
  16478. description: 成交价格
  16479. type: number
  16480. tradeqty:
  16481. description: 成交数量
  16482. type: number
  16483. userid:
  16484. description: 用户ID
  16485. type: integer
  16486. username:
  16487. description: 发起方
  16488. type: string
  16489. warehouseid:
  16490. description: 仓库ID
  16491. type: integer
  16492. warehousename:
  16493. description: 仓库名称
  16494. type: string
  16495. wrfactortypeid:
  16496. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16497. type: string
  16498. wrfactortypename:
  16499. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16500. type: string
  16501. wrpricetype:
  16502. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  16503. type: integer
  16504. wrstandardcode:
  16505. description: 现货商品代码
  16506. type: string
  16507. wrstandardid:
  16508. description: 现货商品ID
  16509. type: integer
  16510. wrstandardname:
  16511. description: 商品名称
  16512. type: string
  16513. wrtradeorderid:
  16514. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  16515. type: string
  16516. wrtradeorderstatus:
  16517. description: 委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝
  16518. 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤
  16519. type: integer
  16520. wrtradetype:
  16521. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  16522. type: integer
  16523. wrtypename:
  16524. description: 商品
  16525. type: string
  16526. type: object
  16527. models.WrSpotGroupTradeSum:
  16528. properties:
  16529. deliverygoodscode:
  16530. description: 现货品种代码
  16531. type: string
  16532. deliverygoodsid:
  16533. description: 现货品种ID(SEQ_DELIVERYGOODS)
  16534. type: integer
  16535. deliverygoodsname:
  16536. description: 现货品种名称
  16537. type: string
  16538. lastavgprice:
  16539. description: 上上个交易日价格(前2天价格)
  16540. type: string
  16541. lastreckondate:
  16542. description: 上上个交易日(前2天交易日)
  16543. type: string
  16544. reckondate:
  16545. description: 上个交易日(前1天交易日)
  16546. type: string
  16547. todayavgprice:
  16548. description: 上个交易日价格(前1天价格)
  16549. type: string
  16550. updown:
  16551. description: 涨跌
  16552. type: string
  16553. updownratio:
  16554. description: 涨幅(已格式化, 直接显示即可)
  16555. type: string
  16556. type: object
  16557. models.WrSpotGroupTradeSumDetail:
  16558. properties:
  16559. deliverygoodsid:
  16560. description: 现货商品id
  16561. type: integer
  16562. price:
  16563. description: 价格
  16564. type: number
  16565. reckondate:
  16566. description: 日期(yyymmdd, 如:20211031)
  16567. type: string
  16568. type: object
  16569. models.WrSpotGroupTradeSumEx:
  16570. properties:
  16571. lst:
  16572. description: 指数列表
  16573. items:
  16574. $ref: '#/definitions/models.WrSpotGroupTradeSum'
  16575. type: array
  16576. prereckondate:
  16577. description: 上上个交易日(yyymmdd)
  16578. type: string
  16579. reckondate:
  16580. description: 上个交易日(yyyymmdd)
  16581. type: string
  16582. type: object
  16583. models.WrStandardFactoryItem:
  16584. properties:
  16585. dgfactoryitemid:
  16586. description: 选择项id
  16587. type: integer
  16588. dgfactoryitemvalue:
  16589. description: 要素项值
  16590. type: string
  16591. warehouseid:
  16592. description: 仓库id
  16593. type: integer
  16594. type: object
  16595. models.WrStandardFactoryItemEx:
  16596. properties:
  16597. dgfactoryitemtypeid:
  16598. description: 要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)
  16599. type: integer
  16600. itemlst:
  16601. description: 要素项列表
  16602. items:
  16603. $ref: '#/definitions/models.WrStandardFactoryItem'
  16604. type: array
  16605. itemtypename:
  16606. description: 要素项类型名称
  16607. type: string
  16608. wrstandardid:
  16609. description: 品类
  16610. type: integer
  16611. type: object
  16612. models.WrTradeDetail:
  16613. properties:
  16614. accountid:
  16615. description: 资金账号
  16616. type: integer
  16617. bannerpicurl:
  16618. description: Banner图
  16619. type: string
  16620. begindate:
  16621. description: 开始交易日(yyyymmdd)
  16622. type: string
  16623. buyorsell:
  16624. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  16625. type: integer
  16626. chargevalue:
  16627. description: 手续费
  16628. type: number
  16629. deliverygoodscode:
  16630. description: 品种代码
  16631. type: string
  16632. deliverygoodsid:
  16633. description: 品种ID
  16634. type: integer
  16635. deliverygoodsname:
  16636. description: 品种名称
  16637. type: string
  16638. deliverymonth:
  16639. description: 交收月
  16640. type: string
  16641. enddate:
  16642. description: 结束交易日(yyyymmdd)
  16643. type: string
  16644. enumdicname:
  16645. description: 单位名称
  16646. type: string
  16647. haswr:
  16648. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  16649. type: integer
  16650. marketid:
  16651. description: 市场ID
  16652. type: integer
  16653. matchaccountid:
  16654. description: 对手账号
  16655. type: integer
  16656. matchusername:
  16657. description: 对手方
  16658. type: string
  16659. minivalue:
  16660. description: 现货商品最小变动值
  16661. type: integer
  16662. optioncompare:
  16663. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16664. type: string
  16665. thumurls:
  16666. description: 缩略图
  16667. type: string
  16668. tradedate:
  16669. description: 交易日(yyyyMMdd)
  16670. type: string
  16671. tradeprice:
  16672. description: 成交价格
  16673. type: number
  16674. tradeqty:
  16675. description: 成交数量
  16676. type: number
  16677. tradetime:
  16678. description: 成交时间
  16679. type: string
  16680. userid:
  16681. description: 用户ID
  16682. type: integer
  16683. warehouseid:
  16684. description: 仓库ID
  16685. type: integer
  16686. warehousename:
  16687. description: 仓库名称
  16688. type: string
  16689. wrfactortypeid:
  16690. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16691. type: string
  16692. wrfactortypename:
  16693. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16694. type: string
  16695. wrstandardcode:
  16696. description: 现货商品代码
  16697. type: string
  16698. wrstandardid:
  16699. description: 现货商品ID
  16700. type: integer
  16701. wrstandardname:
  16702. description: 商品名称
  16703. type: string
  16704. wrtradedetailid:
  16705. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  16706. type: string
  16707. wrtradetype:
  16708. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  16709. type: integer
  16710. wrtypename:
  16711. description: 商品
  16712. type: string
  16713. type: object
  16714. models.WrTradeOrderDetail:
  16715. properties:
  16716. buyorsell:
  16717. description: 买卖方向 0-买 1-卖
  16718. type: integer
  16719. goodsid:
  16720. description: 商品id
  16721. type: integer
  16722. orderid:
  16723. description: 委托单号
  16724. type: string
  16725. orderprice:
  16726. description: 期初均价
  16727. type: number
  16728. orderqty:
  16729. description: 委托数量
  16730. type: integer
  16731. userid:
  16732. description: 用户id
  16733. type: integer
  16734. username:
  16735. description: 用户名称(已脱敏)
  16736. type: string
  16737. type: object
  16738. models.WrTypeItem:
  16739. properties:
  16740. name:
  16741. description: 名称
  16742. type: string
  16743. value:
  16744. description: 值
  16745. type: string
  16746. type: object
  16747. models.WrUserFriend:
  16748. properties:
  16749. friendname:
  16750. description: 朋友名称(已脱敏)
  16751. type: string
  16752. frienduserid:
  16753. description: 朋友id
  16754. type: integer
  16755. isfriend:
  16756. description: 是否好友 0-不是 1-是
  16757. type: integer
  16758. userid:
  16759. description: 用户id
  16760. type: integer
  16761. type: object
  16762. models.WrUserReceiptInfo:
  16763. properties:
  16764. address:
  16765. description: 地址[发票类型:企业]
  16766. type: string
  16767. autoid:
  16768. description: AutoID
  16769. type: integer
  16770. contactinfo:
  16771. description: 联系方式
  16772. type: string
  16773. idnum:
  16774. description: 身份证号码[发票类型:个人]
  16775. type: string
  16776. isdefault:
  16777. description: 是否默认地址 - 0:否 1:是
  16778. type: integer
  16779. receiptaccount:
  16780. description: 发票帐号[发票类型:企业]
  16781. type: string
  16782. receiptbank:
  16783. description: 发票开户行[发票类型:企业]
  16784. type: string
  16785. receipttype:
  16786. description: 发票类型 - 1:个人 2:企业
  16787. type: integer
  16788. taxpayerid:
  16789. description: 纳税人识别号
  16790. type: string
  16791. userid:
  16792. description: 用户ID
  16793. type: integer
  16794. username:
  16795. description: 户名(个人姓名或企业名称)
  16796. type: string
  16797. type: object
  16798. models.Wrtradetradequote:
  16799. properties:
  16800. begindate:
  16801. description: 开始日期(结果含开始日期) yyyymmdd
  16802. type: string
  16803. buyaccountid:
  16804. description: 买方账号ID
  16805. type: integer
  16806. buyuserid:
  16807. description: 买方用户ID
  16808. type: integer
  16809. deliverygoodsid:
  16810. description: 现货品种ID
  16811. type: integer
  16812. enddate:
  16813. description: 结束日期(结果含结束日期) yyyymmdd
  16814. type: string
  16815. marketid:
  16816. description: 市场ID
  16817. type: integer
  16818. sellaccountid:
  16819. description: 卖方账号ID
  16820. type: integer
  16821. selluserid:
  16822. description: 卖方用户ID
  16823. type: integer
  16824. tradeamount:
  16825. description: 成交金额
  16826. type: number
  16827. tradedate:
  16828. description: 交易日(yyyyMMdd)
  16829. type: string
  16830. tradeprice:
  16831. description: 成交价格
  16832. type: number
  16833. tradeqty:
  16834. description: 成交数量
  16835. type: integer
  16836. tradetime:
  16837. description: 成交时间
  16838. type: string
  16839. wrfactortypeid:
  16840. description: 仓单要素类型ID
  16841. type: integer
  16842. wrstandardid:
  16843. description: 现货商品ID
  16844. type: integer
  16845. wrtradedetailid:
  16846. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  16847. type: string
  16848. type: object
  16849. models.XHBRAND:
  16850. properties:
  16851. brandid:
  16852. description: 品牌id
  16853. type: integer
  16854. brandname:
  16855. description: 品牌名称
  16856. type: string
  16857. isvalid:
  16858. description: 是否有效 0-无效 1-有效
  16859. type: integer
  16860. type: object
  16861. models.XHDeliveryGoods:
  16862. properties:
  16863. areauserid:
  16864. description: 所属机构
  16865. type: integer
  16866. bdlst:
  16867. description: 品牌列表
  16868. items:
  16869. $ref: '#/definitions/models.XHBRAND'
  16870. type: array
  16871. deliverygoodscode:
  16872. description: 现货品种代码
  16873. type: string
  16874. deliverygoodsid:
  16875. description: 现货品种ID(SEQ_DELIVERYGOODS)
  16876. type: integer
  16877. deliverygoodsname:
  16878. description: 现货品种名称
  16879. type: string
  16880. dgstatus:
  16881. description: 品种状态 - 作废 - 0:未激活 1:正常
  16882. type: integer
  16883. filterSubEmpty:
  16884. description: 过滤下级为空的
  16885. type: integer
  16886. isvalid:
  16887. description: 是否有效 - 0:无效 1:有效
  16888. type: integer
  16889. remark:
  16890. description: 备注
  16891. type: string
  16892. unitid:
  16893. description: 单位id(目前看,数据库中是空值)
  16894. type: integer
  16895. wdlst:
  16896. description: 品类(现货商品)列表
  16897. items:
  16898. $ref: '#/definitions/models.XHWrstandard'
  16899. type: array
  16900. type: object
  16901. models.XHMiddleGoods:
  16902. properties:
  16903. GPLST:
  16904. description: 期货品种列表
  16905. items:
  16906. $ref: '#/definitions/models.TBGoodsGroup'
  16907. type: array
  16908. convertratio:
  16909. description: 拆算系数
  16910. type: number
  16911. costratio:
  16912. description: 成本权重
  16913. type: number
  16914. deliverygoodsid:
  16915. description: 现货商品id
  16916. type: integer
  16917. enumdicname:
  16918. description: 单位名称
  16919. type: string
  16920. middlegoodscode:
  16921. description: 套保品种代码
  16922. type: string
  16923. middlegoodsid:
  16924. description: 套保品种id
  16925. type: integer
  16926. middlegoodsname:
  16927. description: 套保品种名称
  16928. type: string
  16929. unitid:
  16930. description: 单位id
  16931. type: integer
  16932. type: object
  16933. models.XHWrstandard:
  16934. properties:
  16935. bannerpicurl:
  16936. description: banner图
  16937. type: string
  16938. deliverygoodsid:
  16939. description: 品种ID
  16940. type: integer
  16941. enumdicname:
  16942. description: 单位名称
  16943. type: string
  16944. mglst:
  16945. description: 套保品列表
  16946. items:
  16947. $ref: '#/definitions/models.XHMiddleGoods'
  16948. type: array
  16949. pictureurls:
  16950. description: 详情图片(逗号分隔)
  16951. type: string
  16952. thumurls:
  16953. description: 缩略图片(1:1)(逗号分隔)
  16954. type: string
  16955. unitid:
  16956. description: 单位id
  16957. type: integer
  16958. vatrate:
  16959. description: 增值税率
  16960. type: number
  16961. wrstandardcode:
  16962. description: 现货商品代码
  16963. type: string
  16964. wrstandardid:
  16965. description: 现货商品ID(SEQ_WRSTANDARD)
  16966. type: integer
  16967. wrstandardname:
  16968. description: 现货商品名称
  16969. type: string
  16970. type: object
  16971. models.XhcpSellBackApplyEx:
  16972. properties:
  16973. applyremark:
  16974. description: 申请备注
  16975. type: string
  16976. expirytype:
  16977. description: 寄售有效期 - 1:3天 2:7天 3:15天 4:长期
  16978. type: integer
  16979. goodsspec:
  16980. description: 商品规格 - 1:整件 2;整提 3:单罐 4:单盒
  16981. type: integer
  16982. holeflag:
  16983. description: 是否破洞[原封] - 1:无破洞 2:破洞
  16984. type: integer
  16985. isunopened:
  16986. description: 是否原封 - 1:否 2:是
  16987. type: integer
  16988. mpflag:
  16989. description: 磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮
  16990. type: integer
  16991. openflag:
  16992. description: 是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。
  16993. 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。
  16994. type: integer
  16995. phonenum:
  16996. description: 联系电话
  16997. type: string
  16998. userid:
  16999. description: 所属用户ID
  17000. type: integer
  17001. zpflag:
  17002. description: 皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮
  17003. type: integer
  17004. required:
  17005. - userid
  17006. type: object
  17007. models.Xhcpsellbackapply:
  17008. properties:
  17009. applyid:
  17010. description: 申请人
  17011. type: integer
  17012. applyremark:
  17013. description: 申请备注
  17014. type: string
  17015. applysrc:
  17016. description: 申请来源 - 1:管理端 2:终端
  17017. type: integer
  17018. applystatus:
  17019. description: 申请状态 - 1:待确认 2:已处理
  17020. type: integer
  17021. applytime:
  17022. description: 申请时间
  17023. type: string
  17024. auditremark:
  17025. description: 审核备注
  17026. type: string
  17027. auditsrc:
  17028. description: 审核来源 - 1:管理端 2:终端
  17029. type: integer
  17030. expirytype:
  17031. description: 寄售有效期 - 1:3天 2:7天 3:15天 4:长期
  17032. type: integer
  17033. goodsspec:
  17034. description: 商品规格 - 1:整件 2;整提 3:单罐 4:单盒
  17035. type: integer
  17036. holeflag:
  17037. description: 是否破洞[原封] - 1:无破洞 2:破洞
  17038. type: integer
  17039. isunopened:
  17040. description: 是否原封 - 1:否 2:是
  17041. type: integer
  17042. mpflag:
  17043. description: 磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮
  17044. type: integer
  17045. openflag:
  17046. description: 是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。
  17047. 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。
  17048. type: integer
  17049. phonenum:
  17050. description: 联系电话
  17051. type: string
  17052. sellbackapplyid:
  17053. description: 回收申请ID - SEQ_XHCP_SELLBACKAPPLY
  17054. type: string
  17055. userid:
  17056. description: 所属用户ID
  17057. type: integer
  17058. zpflag:
  17059. description: 皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮
  17060. type: integer
  17061. required:
  17062. - userid
  17063. type: object
  17064. order.QueryHisTradeDetailRsp:
  17065. properties:
  17066. accountid:
  17067. description: 账户ID[报价币种]
  17068. type: integer
  17069. advanceratio:
  17070. description: 首付比率
  17071. type: number
  17072. buildtype:
  17073. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  17074. type: integer
  17075. buyorsell:
  17076. description: 方向 - 0:买 1:卖
  17077. type: integer
  17078. charge:
  17079. description: 手续费
  17080. type: number
  17081. closecharge:
  17082. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  17083. type: number
  17084. closeexchagechargevalue:
  17085. description: 平仓交易所手续费设置值
  17086. type: number
  17087. closefeealgorithm:
  17088. description: 平仓手续费收取方式 1:比率 2:固定
  17089. type: integer
  17090. closememberchargevalue:
  17091. description: 平仓会员手续费设置值
  17092. type: number
  17093. closepl:
  17094. description: 平仓盈亏
  17095. type: number
  17096. closepl2:
  17097. description: 平仓盈亏[逐笔]
  17098. type: number
  17099. closeqty:
  17100. description: 平仓数量(先建后平操作 需要记录)
  17101. type: number
  17102. creditamount:
  17103. description: 授信金额
  17104. type: number
  17105. decimalplace:
  17106. description: 商品报价小数位
  17107. type: integer
  17108. enumdicname:
  17109. description: 单位名称
  17110. type: string
  17111. gcaccountid:
  17112. description: 账户ID[合约币种]
  17113. type: integer
  17114. goodscode:
  17115. description: 商品代码
  17116. type: string
  17117. goodsid:
  17118. description: 商品ID
  17119. type: integer
  17120. goodsname:
  17121. description: 商品名称
  17122. type: string
  17123. goodunitid:
  17124. description: 商品单位id
  17125. type: integer
  17126. histradedate:
  17127. description: 历史交易日
  17128. type: string
  17129. intclosepl:
  17130. description: 整型盈亏(用于交易结算试算平衡-收益权)
  17131. type: integer
  17132. isconfirmexercise:
  17133. description: 是否确认行权- 0:否 1:是
  17134. type: integer
  17135. ismain:
  17136. description: 是否主单 - 0:不是 1:是
  17137. type: integer
  17138. ispreexercise:
  17139. description: 是否预申报- 0:否 1:是
  17140. type: integer
  17141. isreckoned:
  17142. description: 是否结算 - 0:未结算 1:已结算
  17143. type: integer
  17144. isvaliddata:
  17145. description: 是否有效 - 0:无效 1:有效
  17146. type: integer
  17147. listingselecttype:
  17148. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  17149. type: integer
  17150. marketid:
  17151. description: 市场ID
  17152. type: integer
  17153. marketname:
  17154. description: 市场名称
  17155. type: string
  17156. matchaccountid:
  17157. description: 对手账号id
  17158. type: integer
  17159. memberuserid:
  17160. description: 会员id 个人投资者 需要填写
  17161. type: integer
  17162. opencharge:
  17163. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  17164. type: number
  17165. openexchagechargevalue:
  17166. description: 建仓交易所手续费设置值
  17167. type: number
  17168. openfeealgorithm:
  17169. description: 建仓手续费收取方式 1:比率 2:固定
  17170. type: integer
  17171. openmemberchargevalue:
  17172. description: 建仓会员手续费设置值
  17173. type: number
  17174. openqty:
  17175. description: 开仓数量(先建后平操作 需要记录)
  17176. type: number
  17177. optiontype:
  17178. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  17179. type: integer
  17180. orderid:
  17181. description: 委托单号
  17182. type: string
  17183. payamount:
  17184. description: 支付金额(付款金额)
  17185. type: number
  17186. performanceplanid:
  17187. description: 履约计划ID[期权]
  17188. type: integer
  17189. performancestatus:
  17190. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  17191. type: integer
  17192. preexerciseprice:
  17193. description: 预申报价格
  17194. type: number
  17195. premium:
  17196. description: 权利金 - [持仓单的权利金]
  17197. type: number
  17198. qtydecimalplace:
  17199. description: 商品报价小数位
  17200. type: integer
  17201. recvamount:
  17202. description: 到账金额 = 成交金额 - 手续费
  17203. type: number
  17204. relatedouttradeid:
  17205. description: 关联外部成交单ID
  17206. type: integer
  17207. status:
  17208. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  17209. type: integer
  17210. totalamount:
  17211. description: 订单总额 = 成交金额 + 手续费
  17212. type: number
  17213. tradeamount:
  17214. description: 成交金额[账户币种,用于所有权]
  17215. type: number
  17216. tradedate:
  17217. description: 交易日(yyyyMMdd)
  17218. type: string
  17219. tradeid:
  17220. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17221. type: string
  17222. trademode:
  17223. description: 交易模式
  17224. type: integer
  17225. tradeprice:
  17226. description: 成交价格
  17227. type: number
  17228. tradeproperty:
  17229. description: 交易属性
  17230. type: integer
  17231. tradeqty:
  17232. description: 成交数量
  17233. type: number
  17234. tradetime:
  17235. description: 成交时间
  17236. type: string
  17237. tradetype:
  17238. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  17239. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  17240. type: integer
  17241. required:
  17242. - accountid
  17243. - buyorsell
  17244. - goodsid
  17245. - histradedate
  17246. - marketid
  17247. - memberuserid
  17248. - orderid
  17249. - tradeamount
  17250. - tradedate
  17251. - tradeid
  17252. - tradeprice
  17253. - tradeqty
  17254. - tradetime
  17255. type: object
  17256. order.QueryHisTradeOrderDetailRsp:
  17257. properties:
  17258. accountid:
  17259. description: 账户ID[报价币种]
  17260. type: integer
  17261. buildtype:
  17262. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  17263. type: integer
  17264. buyorsell:
  17265. description: 买卖 - 0:买 1:卖
  17266. type: integer
  17267. cancelorderid:
  17268. description: 撤单单号(撤单时填写)
  17269. type: string
  17270. cancelqty:
  17271. description: 撤单数量
  17272. type: number
  17273. clientordertime:
  17274. description: 客户端委托时间
  17275. type: string
  17276. clientticket:
  17277. description: 客户端流水号
  17278. type: string
  17279. clienttype:
  17280. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  17281. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  17282. type: integer
  17283. closeexchagechargevalue:
  17284. description: 平仓交易所手续费设置值
  17285. type: number
  17286. closefeealgorithm:
  17287. description: 平仓手续费收取方式 1:比率 2:固定
  17288. type: integer
  17289. closefreezecharge:
  17290. description: 平仓冻结手续费(先建后平操作,需要记录)
  17291. type: number
  17292. closememberchargevalue:
  17293. description: 平仓会员手续费设置值
  17294. type: number
  17295. closeqty:
  17296. description: 平仓数量(先建后平操作 需要记录)
  17297. type: number
  17298. closetradeqty:
  17299. description: 平仓成交数量(先建后平操作,需要记录)
  17300. type: number
  17301. closeunfreezecharge:
  17302. description: 平仓解冻手续费(先建后平操作,需要记录)
  17303. type: number
  17304. decimalplace:
  17305. description: 商品报价小数位
  17306. type: integer
  17307. delistingtype:
  17308. description: 摘牌类型 - 1:价格最优 2:点选成交
  17309. type: integer
  17310. enumdicname:
  17311. description: 单位名称
  17312. type: string
  17313. freezecharge:
  17314. description: 冻结手续费
  17315. type: number
  17316. freezemargin:
  17317. description: 冻结保证金(冻结交易金额)
  17318. type: number
  17319. gcaccountid:
  17320. description: 账户ID[合约币种]
  17321. type: integer
  17322. goodscode:
  17323. description: 商品代码
  17324. type: string
  17325. goodsid:
  17326. description: 商品ID
  17327. type: integer
  17328. goodsname:
  17329. description: 商品名称
  17330. type: string
  17331. goodunitid:
  17332. description: 商品单位id
  17333. type: integer
  17334. histradedate:
  17335. description: 历史交易日
  17336. type: string
  17337. isconfirmexercise:
  17338. description: 是否确认行权- 0:否 1:是
  17339. type: integer
  17340. ispreexercise:
  17341. description: 是否预申报- 0:否 1:是
  17342. type: integer
  17343. isvaliddata:
  17344. description: 是否有效 - 0:无效 1:有效
  17345. type: integer
  17346. listingselecttype:
  17347. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  17348. type: integer
  17349. marginalgorithm:
  17350. description: 保证金收取方式 1:比率 2:固定
  17351. type: integer
  17352. marginvalue:
  17353. description: 即市保证金设置值
  17354. type: number
  17355. marketid:
  17356. description: 市场ID
  17357. type: integer
  17358. marketmaxsub:
  17359. description: 市价最大偏移范围
  17360. type: number
  17361. marketname:
  17362. description: 市场名称
  17363. type: string
  17364. memberuserid:
  17365. description: 所属会员UserID
  17366. type: integer
  17367. openexchagechargevalue:
  17368. description: 建仓交易所手续费设置值
  17369. type: number
  17370. openfeealgorithm:
  17371. description: 建仓手续费收取方式 1:比率 2:固定
  17372. type: integer
  17373. openfreezecharge:
  17374. description: 开仓冻结手续费(先建后平操作,需要记录)
  17375. type: number
  17376. openmemberchargevalue:
  17377. description: 建仓会员手续费设置值
  17378. type: number
  17379. openqty:
  17380. description: 开仓数量(先建后平操作,需要记录)
  17381. type: number
  17382. opentradeqty:
  17383. description: 开仓成交数量(先建后平操作,需要记录)
  17384. type: number
  17385. openunfreezecharge:
  17386. description: 开仓解冻手续费(先建后平操作,需要记录)
  17387. type: number
  17388. operatetype:
  17389. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  17390. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  17391. 15:管理端协议转让
  17392. type: integer
  17393. operatorid:
  17394. description: 登录账号(LoginID)
  17395. type: integer
  17396. optiontype:
  17397. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  17398. type: integer
  17399. orderid:
  17400. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17401. type: string
  17402. orderprice:
  17403. description: 委托价格
  17404. type: number
  17405. orderqty:
  17406. description: 委托数量
  17407. type: number
  17408. ordersrc:
  17409. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  17410. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  17411. type: integer
  17412. orderstatus:
  17413. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  17414. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  17415. 16:成交失败违约(荷兰式竞拍专用)
  17416. type: integer
  17417. ordertime:
  17418. description: 委托时间
  17419. type: string
  17420. preexerciseprice:
  17421. description: 预申报价格
  17422. type: number
  17423. premium:
  17424. description: 权利金
  17425. type: number
  17426. preorderid:
  17427. description: 关联预埋单号(止盈止损单时填写)
  17428. type: string
  17429. pricemode:
  17430. description: '取价方式 - 1:市价 2: 限价'
  17431. type: integer
  17432. qtydecimalplace:
  17433. description: 成交量小数位
  17434. type: integer
  17435. quoteid:
  17436. description: 报价单ID
  17437. type: integer
  17438. relatedid:
  17439. description: 关联单号(交割单)
  17440. type: string
  17441. retcode:
  17442. description: 错误代码
  17443. type: integer
  17444. sessionid:
  17445. description: 会话ID
  17446. type: integer
  17447. tradedate:
  17448. description: 交易日(yyyyMMdd)
  17449. type: string
  17450. trademode:
  17451. description: 交易模式
  17452. type: integer
  17453. tradeproperty:
  17454. description: 交易属性
  17455. type: integer
  17456. tradeqty:
  17457. description: 成交数量
  17458. type: number
  17459. unfreezecharge:
  17460. description: 解冻手续费
  17461. type: number
  17462. unfreezemargin:
  17463. description: 解冻保证金
  17464. type: number
  17465. updatetime:
  17466. description: 更新时间
  17467. type: string
  17468. uuid:
  17469. description: 发起端唯一id
  17470. type: string
  17471. validtime:
  17472. description: 有效期限
  17473. type: string
  17474. validtype:
  17475. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  17476. type: integer
  17477. volumetype:
  17478. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  17479. type: integer
  17480. required:
  17481. - accountid
  17482. - buildtype
  17483. - buyorsell
  17484. - goodsid
  17485. - histradedate
  17486. - marketid
  17487. - memberuserid
  17488. - operatetype
  17489. - orderid
  17490. - orderqty
  17491. - ordertime
  17492. - pricemode
  17493. - tradedate
  17494. - validtype
  17495. type: object
  17496. order.QueryTradeDetailRsp:
  17497. properties:
  17498. accountid:
  17499. description: 账户ID[报价币种]
  17500. type: integer
  17501. advanceratio:
  17502. description: 首付比率
  17503. type: number
  17504. buildtype:
  17505. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  17506. type: integer
  17507. buyorsell:
  17508. description: 方向 - 0:买 1:卖
  17509. type: integer
  17510. charge:
  17511. description: 手续费
  17512. type: number
  17513. closecharge:
  17514. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  17515. type: number
  17516. closeexchagechargevalue:
  17517. description: 平仓交易所手续费设置值
  17518. type: number
  17519. closefeealgorithm:
  17520. description: 平仓手续费收取方式 1:比率 2:固定
  17521. type: integer
  17522. closememberchargevalue:
  17523. description: 平仓会员手续费设置值
  17524. type: number
  17525. closepl:
  17526. description: 平仓盈亏
  17527. type: number
  17528. closepl2:
  17529. description: 平仓盈亏[逐笔]
  17530. type: number
  17531. closeqty:
  17532. description: 平仓数量(先建后平操作 需要记录)
  17533. type: number
  17534. creditamount:
  17535. description: 授信金额
  17536. type: number
  17537. decimalplace:
  17538. description: 商品报价小数位
  17539. type: integer
  17540. enumdicname:
  17541. description: 单位名称
  17542. type: string
  17543. gcaccountid:
  17544. description: 账户ID[合约币种]
  17545. type: integer
  17546. goodscode:
  17547. description: 商品代码
  17548. type: string
  17549. goodsid:
  17550. description: 商品ID
  17551. type: integer
  17552. goodsname:
  17553. description: 商品名称
  17554. type: string
  17555. goodunitid:
  17556. description: 商品单位id
  17557. type: integer
  17558. intclosepl:
  17559. description: 整型盈亏(用于交易结算试算平衡-收益权)
  17560. type: integer
  17561. isconfirmexercise:
  17562. description: 是否确认行权- 0:否 1:是
  17563. type: integer
  17564. ismain:
  17565. description: 是否主单 - 0:不是 1:是
  17566. type: integer
  17567. ispreexercise:
  17568. description: 是否预申报- 0:否 1:是
  17569. type: integer
  17570. isreckoned:
  17571. description: 是否结算 - 0:未结算 1:已结算
  17572. type: integer
  17573. listingselecttype:
  17574. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  17575. type: integer
  17576. marketid:
  17577. description: 市场ID
  17578. type: integer
  17579. marketname:
  17580. description: 市场名称
  17581. type: string
  17582. matchaccountid:
  17583. description: 对手账号id
  17584. type: integer
  17585. memberuserid:
  17586. description: 会员id 个人投资者 需要填写
  17587. type: integer
  17588. opencharge:
  17589. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  17590. type: number
  17591. openexchagechargevalue:
  17592. description: 建仓交易所手续费设置值
  17593. type: number
  17594. openfeealgorithm:
  17595. description: 建仓手续费收取方式 1:比率 2:固定
  17596. type: integer
  17597. openmemberchargevalue:
  17598. description: 建仓会员手续费设置值
  17599. type: number
  17600. openqty:
  17601. description: 开仓数量(先建后平操作 需要记录)
  17602. type: number
  17603. optiontype:
  17604. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  17605. type: integer
  17606. orderid:
  17607. description: 委托单号
  17608. type: string
  17609. payamount:
  17610. description: 支付金额(付款金额)
  17611. type: number
  17612. performanceplanid:
  17613. description: 履约计划ID[期权]
  17614. type: integer
  17615. performancestatus:
  17616. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  17617. type: integer
  17618. preexerciseprice:
  17619. description: 预申报价格
  17620. type: number
  17621. premium:
  17622. description: 权利金 - [持仓单的权利金]
  17623. type: number
  17624. qtydecimalplace:
  17625. description: 商品报价小数位
  17626. type: integer
  17627. recvamount:
  17628. description: 到账金额 = 成交金额 - 手续费
  17629. type: number
  17630. relatedouttradeid:
  17631. description: 关联外部成交单ID
  17632. type: integer
  17633. status:
  17634. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  17635. type: integer
  17636. totalamount:
  17637. description: 订单总额 = 成交金额 + 手续费
  17638. type: number
  17639. tradeamount:
  17640. description: 成交金额[账户币种,用于所有权]
  17641. type: number
  17642. tradedate:
  17643. description: 交易日(yyyyMMdd)
  17644. type: string
  17645. tradeid:
  17646. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17647. type: string
  17648. trademode:
  17649. description: 交易模式
  17650. type: integer
  17651. tradeprice:
  17652. description: 成交价格
  17653. type: number
  17654. tradeproperty:
  17655. description: 交易属性
  17656. type: integer
  17657. tradeqty:
  17658. description: 成交数量
  17659. type: number
  17660. tradetime:
  17661. description: 成交时间
  17662. type: string
  17663. tradetype:
  17664. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  17665. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  17666. type: integer
  17667. required:
  17668. - accountid
  17669. - buyorsell
  17670. - goodsid
  17671. - marketid
  17672. - memberuserid
  17673. - orderid
  17674. - tradeamount
  17675. - tradedate
  17676. - tradeid
  17677. - tradeprice
  17678. - tradeqty
  17679. - tradetime
  17680. type: object
  17681. order.QueryTradeOrderDetailRsp:
  17682. properties:
  17683. accountid:
  17684. description: 账户ID[报价币种]
  17685. type: integer
  17686. buildtype:
  17687. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  17688. type: integer
  17689. buyorsell:
  17690. description: 买卖 - 0:买 1:卖
  17691. type: integer
  17692. cancelorderid:
  17693. description: 撤单单号(撤单时填写)
  17694. type: string
  17695. cancelqty:
  17696. description: 撤单数量
  17697. type: number
  17698. clienttype:
  17699. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  17700. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  17701. type: integer
  17702. closefreezecharge:
  17703. description: 平仓冻结手续费(先建后平操作,需要记录)
  17704. type: number
  17705. closeqty:
  17706. description: 平仓数量(先建后平操作 需要记录)
  17707. type: number
  17708. closetradeqty:
  17709. description: 平仓成交数量(先建后平操作,需要记录)
  17710. type: number
  17711. closeunfreezecharge:
  17712. description: 平仓解冻手续费(先建后平操作,需要记录)
  17713. type: number
  17714. decimalplace:
  17715. description: 商品报价小数位
  17716. type: integer
  17717. delistingtype:
  17718. description: 摘牌类型 - 1:价格最优 2:点选成交
  17719. type: integer
  17720. enableqty:
  17721. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  17722. type: number
  17723. enumdicname:
  17724. description: 单位名称
  17725. type: string
  17726. freezecharge:
  17727. description: 冻结手续费
  17728. type: number
  17729. freezemargin:
  17730. description: 冻结保证金(冻结交易金额)
  17731. type: number
  17732. goodscode:
  17733. description: 商品代码
  17734. type: string
  17735. goodsid:
  17736. description: 商品ID
  17737. type: integer
  17738. goodsname:
  17739. description: 商品名称
  17740. type: string
  17741. goodunitid:
  17742. description: 商品单位id
  17743. type: integer
  17744. listingselecttype:
  17745. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  17746. type: integer
  17747. marketid:
  17748. description: 市场ID
  17749. type: integer
  17750. marketname:
  17751. description: 市场名称
  17752. type: string
  17753. openfreezecharge:
  17754. description: 开仓冻结手续费(先建后平操作,需要记录)
  17755. type: number
  17756. openqty:
  17757. description: 开仓数量(先建后平操作,需要记录)
  17758. type: number
  17759. opentradeqty:
  17760. description: 开仓成交数量(先建后平操作,需要记录)
  17761. type: number
  17762. openunfreezecharge:
  17763. description: 开仓解冻手续费(先建后平操作,需要记录)
  17764. type: number
  17765. operatetype:
  17766. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  17767. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  17768. 15:管理端协议转让
  17769. type: integer
  17770. operatorid:
  17771. description: 登录账号(LoginID)
  17772. type: integer
  17773. orderid:
  17774. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17775. type: string
  17776. orderprice:
  17777. description: 委托价格
  17778. type: number
  17779. orderqty:
  17780. description: 委托数量
  17781. type: number
  17782. ordersrc:
  17783. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  17784. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  17785. type: integer
  17786. orderstatus:
  17787. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  17788. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  17789. 16:成交失败违约(荷兰式竞拍专用)
  17790. type: integer
  17791. ordertime:
  17792. description: 委托时间
  17793. type: string
  17794. preorderid:
  17795. description: 关联预埋单号(止盈止损单时填写)
  17796. type: string
  17797. pricemode:
  17798. description: '取价方式 - 1:市价 2: 限价'
  17799. type: integer
  17800. qtydecimalplace:
  17801. description: 商品报价小数位
  17802. type: integer
  17803. relatedid:
  17804. description: 关联单号(交割单)
  17805. type: string
  17806. tradedate:
  17807. description: 交易日(yyyyMMdd)
  17808. type: string
  17809. trademode:
  17810. description: 交易模式
  17811. type: integer
  17812. tradeqty:
  17813. description: 成交数量
  17814. type: number
  17815. unfreezecharge:
  17816. description: 解冻手续费
  17817. type: number
  17818. unfreezemargin:
  17819. description: 解冻保证金
  17820. type: number
  17821. validtime:
  17822. description: 有效期限
  17823. type: string
  17824. validtype:
  17825. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  17826. type: integer
  17827. volumetype:
  17828. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  17829. type: integer
  17830. required:
  17831. - accountid
  17832. - buildtype
  17833. - buyorsell
  17834. - goodsid
  17835. - marketid
  17836. - operatetype
  17837. - orderqty
  17838. - ordertime
  17839. - pricemode
  17840. - tradedate
  17841. - validtype
  17842. type: object
  17843. order.QueryTradePositionRsp:
  17844. properties:
  17845. accountid:
  17846. description: 资金账户
  17847. type: integer
  17848. agreeunit:
  17849. description: 合约单位
  17850. type: number
  17851. averageprice:
  17852. description: 持仓均价
  17853. type: number
  17854. buyorsell:
  17855. description: 方向 - 0:买 1:卖
  17856. type: integer
  17857. closetotalqty:
  17858. description: 平仓总数量
  17859. type: number
  17860. curholderamount:
  17861. description: 当前持仓总金额[商品币种]
  17862. type: number
  17863. curpositionqty:
  17864. description: 当前持仓总数量
  17865. type: number
  17866. currencyid:
  17867. description: 报价货币ID
  17868. type: integer
  17869. curtdposition:
  17870. description: 期末今日头寸
  17871. type: number
  17872. decimalplace:
  17873. description: 报价小数位
  17874. type: integer
  17875. enableqty:
  17876. description: 可用量
  17877. type: number
  17878. fretdposition:
  17879. description: 冻结今日头寸
  17880. type: number
  17881. frozenqty:
  17882. description: 持仓冻结数量
  17883. type: number
  17884. goodscode:
  17885. description: 商品代码
  17886. type: string
  17887. goodsid:
  17888. description: 商品Id
  17889. type: integer
  17890. goodsname:
  17891. description: 商品名称
  17892. type: string
  17893. goodunit:
  17894. description: 报价单位
  17895. type: string
  17896. goodunitid:
  17897. description: 报价单位ID
  17898. type: integer
  17899. holderamount:
  17900. description: 期初持仓总金额[商品币种]
  17901. type: number
  17902. lastprice:
  17903. description: 最新价
  17904. type: number
  17905. marketamount:
  17906. description: 市值
  17907. type: number
  17908. marketid:
  17909. description: 所属市场ID
  17910. type: integer
  17911. openreqqty:
  17912. description: 开仓申请数量(用于比较最大持仓数量)
  17913. type: number
  17914. opentotalqty:
  17915. description: 开仓总数量
  17916. type: number
  17917. otherfrozenqty:
  17918. description: 持仓其他冻结数量(交割冻结)
  17919. type: number
  17920. positionpl:
  17921. description: 持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸
  17922. * 合约单位
  17923. type: number
  17924. positionplrate:
  17925. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  17926. type: number
  17927. positionqty:
  17928. description: 期初持仓数量
  17929. type: number
  17930. qtydecimalplace:
  17931. description: 成交量小数位
  17932. type: integer
  17933. refgoodscode:
  17934. description: 参考商品代码
  17935. type: string
  17936. refgoodsid:
  17937. description: 参考商品ID
  17938. type: integer
  17939. tnqty:
  17940. description: T+N冻结总量
  17941. type: number
  17942. tnusedqty:
  17943. description: T+N使用量(可以使用T+N的冻结数量)
  17944. type: number
  17945. trademode:
  17946. description: 交易模式
  17947. type: integer
  17948. tradeproperty:
  17949. description: 交易属性
  17950. type: integer
  17951. usedmargin:
  17952. description: 占用保证金[商品币种]
  17953. type: number
  17954. required:
  17955. - goodsid
  17956. type: object
  17957. pb.GoodsMarginCfgStruct:
  17958. properties:
  17959. CustomerTypeID:
  17960. description: 投资者客户类型
  17961. type: integer
  17962. GoodsID:
  17963. description: 商品ID
  17964. type: integer
  17965. IsDefault:
  17966. description: 是否默认标志位
  17967. type: integer
  17968. LockMarginValue:
  17969. description: 锁仓保证金
  17970. type: number
  17971. MarginAlgorithm:
  17972. description: 保证金计算方式
  17973. type: integer
  17974. MarketMarginValue:
  17975. description: 即市保证金值
  17976. type: number
  17977. RealMarginAlgorithm:
  17978. description: 实付保证金计算方式
  17979. type: integer
  17980. RealMarginValue:
  17981. description: 实付比例
  17982. type: number
  17983. ReckonMarginValue:
  17984. description: 结算保证金值
  17985. type: number
  17986. type: object
  17987. quote.HistoryData:
  17988. properties:
  17989. c:
  17990. description: 收盘价
  17991. type: number
  17992. f:
  17993. description: 是否补充数据
  17994. type: boolean
  17995. h:
  17996. description: 最高价
  17997. type: number
  17998. hv:
  17999. description: 持仓量
  18000. type: integer
  18001. l:
  18002. description: 最低价
  18003. type: number
  18004. o:
  18005. description: 开盘价
  18006. type: number
  18007. s:
  18008. description: 结算价,日线周期(包括)以上才有
  18009. type: number
  18010. ts:
  18011. description: 时间
  18012. type: string
  18013. tt:
  18014. description: 总金额
  18015. type: number
  18016. tv:
  18017. description: 总量(成交量)
  18018. type: integer
  18019. type: object
  18020. quote.HistoryTikData:
  18021. properties:
  18022. AV:
  18023. description: 卖量
  18024. type: integer
  18025. Ask:
  18026. description: 卖价
  18027. type: number
  18028. BV:
  18029. description: 买量
  18030. type: integer
  18031. Bid:
  18032. description: 买价
  18033. type: number
  18034. HI:
  18035. description: 单笔持仓
  18036. type: integer
  18037. HV:
  18038. description: 持仓量
  18039. type: integer
  18040. PE:
  18041. description: 现价
  18042. type: number
  18043. TDR:
  18044. description: 交易方向,0:买 1:卖
  18045. type: integer
  18046. TK:
  18047. description: 交易类型
  18048. type: integer
  18049. TS:
  18050. description: 行情时间文本
  18051. type: string
  18052. TT:
  18053. description: 现金额
  18054. type: number
  18055. Vol:
  18056. description: 现量
  18057. type: integer
  18058. type: object
  18059. quote.QueryQuoteDayRsp:
  18060. properties:
  18061. ask:
  18062. description: 卖1
  18063. type: number
  18064. ask2:
  18065. description: 卖2
  18066. type: number
  18067. ask3:
  18068. description: 卖3
  18069. type: number
  18070. ask4:
  18071. description: 卖4
  18072. type: number
  18073. ask5:
  18074. description: 卖5
  18075. type: number
  18076. ask6:
  18077. description: 卖6
  18078. type: number
  18079. ask7:
  18080. description: 卖7
  18081. type: number
  18082. ask8:
  18083. description: 卖8
  18084. type: number
  18085. ask9:
  18086. description: 卖9
  18087. type: number
  18088. ask10:
  18089. description: 卖10
  18090. type: number
  18091. askorderid:
  18092. description: 卖单号1
  18093. type: integer
  18094. askorderid2:
  18095. description: 卖单号2
  18096. type: integer
  18097. askorderid3:
  18098. description: 卖单号3
  18099. type: integer
  18100. askorderid4:
  18101. description: 卖单号4
  18102. type: integer
  18103. askorderid5:
  18104. description: 卖单号5
  18105. type: integer
  18106. askordervolume:
  18107. description: 卖单量1
  18108. type: integer
  18109. askordervolume2:
  18110. description: 卖单量2
  18111. type: integer
  18112. askordervolume3:
  18113. description: 卖单量3
  18114. type: integer
  18115. askordervolume4:
  18116. description: 卖单量4
  18117. type: integer
  18118. askordervolume5:
  18119. description: 卖单量5
  18120. type: integer
  18121. askordervolume6:
  18122. description: 卖单量6
  18123. type: integer
  18124. askordervolume7:
  18125. description: 卖单量7
  18126. type: integer
  18127. askordervolume8:
  18128. description: 卖单量8
  18129. type: integer
  18130. askordervolume9:
  18131. description: 卖单量9
  18132. type: integer
  18133. askordervolume10:
  18134. description: 卖单量10
  18135. type: integer
  18136. askqueueinfo:
  18137. description: 大利市卖港股用
  18138. type: string
  18139. askvolume:
  18140. description: 卖量1
  18141. type: integer
  18142. askvolume2:
  18143. description: 卖量2
  18144. type: integer
  18145. askvolume3:
  18146. description: 卖量3
  18147. type: integer
  18148. askvolume4:
  18149. description: 卖量4
  18150. type: integer
  18151. askvolume5:
  18152. description: 卖量5
  18153. type: integer
  18154. askvolume6:
  18155. description: 卖量6
  18156. type: integer
  18157. askvolume7:
  18158. description: 卖量7
  18159. type: integer
  18160. askvolume8:
  18161. description: 卖量8
  18162. type: integer
  18163. askvolume9:
  18164. description: 卖量9
  18165. type: integer
  18166. askvolume10:
  18167. description: 卖量10
  18168. type: integer
  18169. averageprice:
  18170. description: 均价
  18171. type: number
  18172. bid:
  18173. description: 买1
  18174. type: number
  18175. bid2:
  18176. description: 买2
  18177. type: number
  18178. bid3:
  18179. description: 买3
  18180. type: number
  18181. bid4:
  18182. description: 买4
  18183. type: number
  18184. bid5:
  18185. description: 买5
  18186. type: number
  18187. bid6:
  18188. description: 买6
  18189. type: number
  18190. bid7:
  18191. description: 买7
  18192. type: number
  18193. bid8:
  18194. description: 买8
  18195. type: number
  18196. bid9:
  18197. description: 买9
  18198. type: number
  18199. bid10:
  18200. description: 买10
  18201. type: number
  18202. bidorderid:
  18203. description: 买单号1
  18204. type: integer
  18205. bidorderid2:
  18206. description: 买单号2
  18207. type: integer
  18208. bidorderid3:
  18209. description: 买单号3
  18210. type: integer
  18211. bidorderid4:
  18212. description: 买单号4
  18213. type: integer
  18214. bidorderid5:
  18215. description: 买单号5
  18216. type: integer
  18217. bidordervolume:
  18218. description: 买单量1
  18219. type: integer
  18220. bidordervolume2:
  18221. description: 买单量2
  18222. type: integer
  18223. bidordervolume3:
  18224. description: 买单量3
  18225. type: integer
  18226. bidordervolume4:
  18227. description: 买单量4
  18228. type: integer
  18229. bidordervolume5:
  18230. description: 买单量5
  18231. type: integer
  18232. bidordervolume6:
  18233. description: 买单量6
  18234. type: integer
  18235. bidordervolume7:
  18236. description: 买单量7
  18237. type: integer
  18238. bidordervolume8:
  18239. description: 买单量8
  18240. type: integer
  18241. bidordervolume9:
  18242. description: 买单量9
  18243. type: integer
  18244. bidordervolume10:
  18245. description: 买单量10
  18246. type: integer
  18247. bidqueueinfo:
  18248. description: 大利市买港股用
  18249. type: string
  18250. bidvolume:
  18251. description: 买量1
  18252. type: integer
  18253. bidvolume2:
  18254. description: 买量2
  18255. type: integer
  18256. bidvolume3:
  18257. description: 买量3
  18258. type: integer
  18259. bidvolume4:
  18260. description: 买量4
  18261. type: integer
  18262. bidvolume5:
  18263. description: 买量5
  18264. type: integer
  18265. bidvolume6:
  18266. description: 买量6
  18267. type: integer
  18268. bidvolume7:
  18269. description: 买量7
  18270. type: integer
  18271. bidvolume8:
  18272. description: 买量8
  18273. type: integer
  18274. bidvolume9:
  18275. description: 买量9
  18276. type: integer
  18277. bidvolume10:
  18278. description: 买量10
  18279. type: integer
  18280. calloptionpremiums:
  18281. description: 认购期权1
  18282. type: integer
  18283. calloptionpremiums2:
  18284. description: 认购期权2
  18285. type: integer
  18286. calloptionpremiums3:
  18287. description: 认购期权3
  18288. type: integer
  18289. calloptionpremiums4:
  18290. description: 认购期权4
  18291. type: integer
  18292. calloptionpremiums5:
  18293. description: 认购期权5
  18294. type: integer
  18295. cleartime:
  18296. description: 清盘时间
  18297. type: integer
  18298. exchangecode:
  18299. description: 交易所代码
  18300. type: integer
  18301. exchangedate:
  18302. description: 交易日
  18303. type: integer
  18304. goodscode:
  18305. description: 商品代码
  18306. type: string
  18307. grepmarketprice:
  18308. description: 暗盘价 港股专用
  18309. type: number
  18310. highest:
  18311. description: 最高价
  18312. type: number
  18313. holdincrement:
  18314. description: 单笔持仓
  18315. type: integer
  18316. holdvolume:
  18317. description: 持仓
  18318. type: integer
  18319. iep:
  18320. description: 平衡价 港股专用
  18321. type: number
  18322. iev:
  18323. description: 平衡量 港股专用
  18324. type: number
  18325. inventory:
  18326. description: 库存
  18327. type: integer
  18328. iscleared:
  18329. description: 是否清盘标志
  18330. type: integer
  18331. issettled:
  18332. description: 是否结算标志
  18333. type: integer
  18334. last:
  18335. description: 最新价
  18336. type: number
  18337. lastlot:
  18338. description: 最新成交手数
  18339. type: integer
  18340. lasttime:
  18341. description: 行情时间(只有现价变化行情时间才变化)
  18342. type: string
  18343. lastturnover:
  18344. description: 最新成交金额
  18345. type: number
  18346. lastvolume:
  18347. description: 最新成交量
  18348. type: integer
  18349. limitdown:
  18350. description: 跌停价
  18351. type: number
  18352. limitup:
  18353. description: 涨停价
  18354. type: number
  18355. lowest:
  18356. description: 最低价
  18357. type: number
  18358. nontotalholdervolume:
  18359. description: 非交易持仓量
  18360. type: integer
  18361. nontotallot:
  18362. description: 非交易总手数
  18363. type: integer
  18364. nontotalturnover:
  18365. description: 非交易总金额
  18366. type: integer
  18367. nontotalvolume:
  18368. description: 非交易总量
  18369. type: integer
  18370. opened:
  18371. description: 开盘价
  18372. type: number
  18373. opentime:
  18374. description: 开盘时间
  18375. type: string
  18376. orderid:
  18377. description: 序号
  18378. type: integer
  18379. preclose:
  18380. description: 昨收
  18381. type: number
  18382. preholdvolume:
  18383. description: 昨持仓
  18384. type: integer
  18385. presettle:
  18386. description: 昨结价
  18387. type: number
  18388. publictradetype:
  18389. description: 公共交易标志类型 港股专用
  18390. type: string
  18391. putoptionpremiums:
  18392. description: 认沽期权1
  18393. type: integer
  18394. putoptionpremiums2:
  18395. description: 认沽期权2
  18396. type: integer
  18397. putoptionpremiums3:
  18398. description: 认沽期权3
  18399. type: integer
  18400. putoptionpremiums4:
  18401. description: 认沽期权4
  18402. type: integer
  18403. putoptionpremiums5:
  18404. description: 认沽期权5
  18405. type: integer
  18406. settle:
  18407. description: 结算价
  18408. type: number
  18409. strikeprice:
  18410. description: 发行价
  18411. type: number
  18412. totalaskvolume:
  18413. description: 内盘
  18414. type: integer
  18415. totalbidvolume:
  18416. description: 外盘
  18417. type: integer
  18418. totallot:
  18419. description: 总手数
  18420. type: integer
  18421. totalturnover:
  18422. description: 总金额
  18423. type: number
  18424. totalvolume:
  18425. description: 总量
  18426. type: integer
  18427. utclasttime:
  18428. description: utc的行情时间
  18429. type: string
  18430. type: object
  18431. quote.QueryTSDataRsp:
  18432. properties:
  18433. Count:
  18434. description: 交易日应有数据个数
  18435. type: integer
  18436. decimalPlace:
  18437. description: 小数位
  18438. type: integer
  18439. endTime:
  18440. description: 结束时间
  18441. type: string
  18442. goodsCode:
  18443. description: 商品代码
  18444. type: string
  18445. historyDatas:
  18446. description: 历史数据
  18447. items:
  18448. $ref: '#/definitions/quote.HistoryData'
  18449. type: array
  18450. outGoodsCode:
  18451. description: 外部商品代码
  18452. type: string
  18453. preSettle:
  18454. description: 昨结价
  18455. type: number
  18456. runSteps:
  18457. description: 交易日开休市计划
  18458. items:
  18459. $ref: '#/definitions/quote.TSDataRunStep'
  18460. type: array
  18461. startTime:
  18462. description: 开始时间
  18463. type: string
  18464. tradeDate:
  18465. description: 交易日
  18466. type: string
  18467. type: object
  18468. quote.TSDataRunStep:
  18469. properties:
  18470. end:
  18471. description: 真实结束时间
  18472. type: string
  18473. endflag:
  18474. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  18475. type: integer
  18476. endtime:
  18477. description: 结束时间(HH:mm)
  18478. type: string
  18479. endweekday:
  18480. description: 结束周几
  18481. type: integer
  18482. groupid:
  18483. description: 分组ID
  18484. type: integer
  18485. runstep:
  18486. description: 运行阶段 - 2:连续交易
  18487. type: integer
  18488. sectionid:
  18489. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几,
  18490. 结束时间=结算时间 结束周几=结算周几
  18491. type: integer
  18492. start:
  18493. description: 真实开始时间
  18494. type: string
  18495. startflag:
  18496. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  18497. type: integer
  18498. starttime:
  18499. description: 起始时间(HH:mm)
  18500. type: string
  18501. startweekday:
  18502. description: 起始周几
  18503. type: integer
  18504. tradeweekday:
  18505. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  18506. type: integer
  18507. type: object
  18508. szdz.QueryConvertLogRsp:
  18509. properties:
  18510. accountid:
  18511. description: 资金账户ID
  18512. type: integer
  18513. clientticket:
  18514. description: 客户端流水号
  18515. type: string
  18516. converttype:
  18517. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  18518. type: integer
  18519. createtime:
  18520. description: 记账时间
  18521. type: string
  18522. daymaxvalue:
  18523. description: 配置当日最大转入限制
  18524. type: number
  18525. daymaxvalue2:
  18526. description: 配置当日最大转入限制(转入)
  18527. type: number
  18528. goodscode:
  18529. description: 商品代码
  18530. type: string
  18531. goodsname:
  18532. description: 商品名称
  18533. type: string
  18534. handlestatus:
  18535. description: 处理状态
  18536. type: integer
  18537. innergoodsid:
  18538. description: 内部商品ID
  18539. type: integer
  18540. inratio:
  18541. description: 配置转入比值
  18542. type: integer
  18543. invalue:
  18544. description: 目标值
  18545. type: number
  18546. logid:
  18547. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  18548. type: integer
  18549. mobile:
  18550. description: 手机号码(加密存储)
  18551. type: string
  18552. outergoodscode:
  18553. description: 外部商品代码[JD\PD]
  18554. type: string
  18555. outratio:
  18556. description: 配置转出比值
  18557. type: integer
  18558. outvalue:
  18559. description: 源值
  18560. type: number
  18561. pddecimalplace:
  18562. description: PD小数位
  18563. type: integer
  18564. qty:
  18565. description: 数量
  18566. type: string
  18567. remark:
  18568. description: 备注
  18569. type: string
  18570. sessionid:
  18571. description: 会话ID
  18572. type: integer
  18573. timemaxvalue:
  18574. description: 配置单次最大转入限制
  18575. type: number
  18576. timemaxvalue2:
  18577. description: 配置单次最大转入限制(转入)
  18578. type: number
  18579. timeminvalue:
  18580. description: 配置单次最小数量限制
  18581. type: number
  18582. timeminvalue2:
  18583. description: 配置单次最小数量限制(转入)
  18584. type: number
  18585. tradedate:
  18586. description: 交易日(yyyyMMdd)
  18587. type: string
  18588. userid:
  18589. description: 用户ID
  18590. type: integer
  18591. required:
  18592. - logid
  18593. type: object
  18594. szdz.QueryGoodsPickupRsp:
  18595. properties:
  18596. accountid:
  18597. description: 账户ID
  18598. type: integer
  18599. address:
  18600. description: 提货人详细地址
  18601. type: string
  18602. auditer:
  18603. description: 审核人
  18604. type: integer
  18605. audittime:
  18606. description: 审核时间
  18607. type: string
  18608. cardnum:
  18609. description: 提货人证件号码
  18610. type: string
  18611. cardtypeid:
  18612. description: 提货人证件类型
  18613. type: integer
  18614. checkremark:
  18615. description: 审核备注
  18616. type: string
  18617. goodscode:
  18618. description: 商品代码
  18619. type: string
  18620. goodsid:
  18621. description: 商品ID
  18622. type: integer
  18623. goodsname:
  18624. description: 商品名称
  18625. type: string
  18626. handlestatus:
  18627. description: 处理状态
  18628. type: integer
  18629. marketid:
  18630. description: 市场ID
  18631. type: integer
  18632. phonenum:
  18633. description: 提货人联系方式
  18634. type: string
  18635. qty:
  18636. description: 提货数量
  18637. type: number
  18638. recivername:
  18639. description: 提货人姓名
  18640. type: string
  18641. reqtime:
  18642. description: 更新时间
  18643. type: string
  18644. takemode:
  18645. description: 提货方式 - 2:自提 3:配送
  18646. type: integer
  18647. takeorderid:
  18648. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  18649. type: string
  18650. takeorderstatus:
  18651. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  18652. type: integer
  18653. takeremark:
  18654. description: 提货备注
  18655. type: string
  18656. tradedate:
  18657. description: 交易日(yyyyMMdd)
  18658. type: string
  18659. userid:
  18660. description: 用户ID
  18661. type: integer
  18662. required:
  18663. - takeorderid
  18664. type: object
  18665. szdz.QueryRecieptOrderRsp:
  18666. properties:
  18667. accountName:
  18668. description: 所属账号名称(已脱敏)
  18669. type: string
  18670. accountid:
  18671. description: 资金账号
  18672. type: integer
  18673. buyorsell:
  18674. description: 方向 - 0:买 1:卖
  18675. type: integer
  18676. enableqty:
  18677. description: 可摘数量
  18678. type: integer
  18679. goodscode:
  18680. description: 商品代码
  18681. type: string
  18682. goodsid:
  18683. description: 商品ID
  18684. type: integer
  18685. goodsname:
  18686. description: 商品名称
  18687. type: string
  18688. orderid:
  18689. description: 委托单号
  18690. type: string
  18691. orderprice:
  18692. description: 委托价格
  18693. type: number
  18694. ordertime:
  18695. description: 委托时间
  18696. type: string
  18697. tradedate:
  18698. description: 交易日(yyyyMMdd)
  18699. type: string
  18700. required:
  18701. - ordertime
  18702. type: object
  18703. szdz.QuerySZDZTradePositionRsp:
  18704. properties:
  18705. accountid:
  18706. description: 账号Id
  18707. type: integer
  18708. agreeunit:
  18709. description: 合约单位
  18710. type: number
  18711. averageprice:
  18712. description: 持仓均价
  18713. type: number
  18714. buyorsell:
  18715. description: 方向 - 0:买 1:卖
  18716. type: integer
  18717. closetotalqty:
  18718. description: 平仓总数量
  18719. type: integer
  18720. curholderamount:
  18721. description: 当前持仓总金额
  18722. type: number
  18723. curpositionqty:
  18724. description: 当前持仓总数量
  18725. type: integer
  18726. currencyid:
  18727. description: 报价货币ID
  18728. type: integer
  18729. curtdposition:
  18730. description: 期末今日头寸
  18731. type: integer
  18732. decimalplace:
  18733. description: 报价小数位
  18734. type: integer
  18735. enableqty:
  18736. description: 可用量
  18737. type: integer
  18738. fretdposition:
  18739. description: 冻结今日头寸
  18740. type: integer
  18741. frozenqty:
  18742. description: 持仓冻结数量
  18743. type: integer
  18744. goodscode:
  18745. description: 商品代码(内部)
  18746. type: string
  18747. goodsid:
  18748. description: 商品Id
  18749. type: integer
  18750. goodsname:
  18751. description: 商品名称
  18752. type: string
  18753. goodunit:
  18754. description: 报价单位
  18755. type: string
  18756. goodunitid:
  18757. description: 报价单位ID
  18758. type: integer
  18759. holderamount:
  18760. description: 期初持仓总金额
  18761. type: number
  18762. marketid:
  18763. description: 市场ID
  18764. type: integer
  18765. openreqqty:
  18766. description: 开仓申请数量
  18767. type: integer
  18768. opentotalqty:
  18769. description: 开仓总数量
  18770. type: integer
  18771. otherfrozenqty:
  18772. description: 持仓其他冻结数量(交割冻结)
  18773. type: integer
  18774. positionqty:
  18775. description: 期初持仓数量
  18776. type: integer
  18777. szdz3freezqty:
  18778. description: 尚志大宗转换冻结总数量
  18779. type: integer
  18780. tnqty:
  18781. description: T+N冻结总量
  18782. type: integer
  18783. tnusedqty:
  18784. description: T+N使用量
  18785. type: integer
  18786. trademode:
  18787. description: 交易模式
  18788. type: integer
  18789. usedmargin:
  18790. description: 占用保证金
  18791. type: number
  18792. type: object
  18793. taaccount.QueryAmountLogRsp:
  18794. properties:
  18795. OPERATETYPENAME:
  18796. description: 资金操作类型名称
  18797. type: string
  18798. accountid:
  18799. description: 资金账户ID
  18800. type: integer
  18801. agoodscode:
  18802. description: 竞拍商品代码
  18803. type: string
  18804. agoodsname:
  18805. description: 竞拍商品名称
  18806. type: string
  18807. amount:
  18808. description: 资金金额
  18809. type: number
  18810. amountadjusttype:
  18811. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  18812. type: integer
  18813. autoid:
  18814. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  18815. type: integer
  18816. balance:
  18817. description: 期初余额
  18818. type: number
  18819. businesscode:
  18820. description: 业务编号
  18821. type: integer
  18822. createtime:
  18823. description: 发生时间
  18824. type: string
  18825. currencyid:
  18826. description: 币种ID
  18827. type: integer
  18828. currentbalance:
  18829. description: 期末余额(变动后金额)
  18830. type: number
  18831. dgoodscode:
  18832. description: 交割商品代码
  18833. type: string
  18834. dgoodsname:
  18835. description: 交割商品名称
  18836. type: string
  18837. goodscode:
  18838. description: 商品代码
  18839. type: string
  18840. goodsid:
  18841. description: 商品ID
  18842. type: integer
  18843. goodsname:
  18844. description: 商品名称
  18845. type: string
  18846. marketid:
  18847. description: 市场ID
  18848. type: integer
  18849. marketname:
  18850. description: 市场名称
  18851. type: string
  18852. moneyticket:
  18853. description: 资金流水号:银行端流水号
  18854. type: integer
  18855. operatetype:
  18856. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  18857. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  18858. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  18859. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  18860. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  18861. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  18862. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  18863. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  18864. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  18865. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  18866. type: integer
  18867. relationorderid:
  18868. description: 关联单号
  18869. type: string
  18870. remark:
  18871. description: 备注
  18872. type: string
  18873. trademode:
  18874. description: 交易模式
  18875. type: integer
  18876. required:
  18877. - accountid
  18878. - amount
  18879. - amountadjusttype
  18880. - autoid
  18881. - balance
  18882. - createtime
  18883. - currentbalance
  18884. - operatetype
  18885. type: object
  18886. taaccount.QueryHisAmountLogRsp:
  18887. properties:
  18888. OPERATETYPENAME:
  18889. description: 资金操作类型名称
  18890. type: string
  18891. accountid:
  18892. description: 资金账户ID
  18893. type: integer
  18894. agoodscode:
  18895. description: 竞拍商品代码
  18896. type: string
  18897. agoodsname:
  18898. description: 竞拍商品名称
  18899. type: string
  18900. amount:
  18901. description: 资金金额
  18902. type: number
  18903. amountadjusttype:
  18904. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  18905. type: integer
  18906. autoid:
  18907. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  18908. type: integer
  18909. balance:
  18910. description: 期初余额
  18911. type: number
  18912. businesscode:
  18913. description: 业务编号
  18914. type: integer
  18915. createtime:
  18916. description: 发生时间
  18917. type: string
  18918. currencyid:
  18919. description: 币种ID
  18920. type: integer
  18921. currentbalance:
  18922. description: 期末余额(变动后金额)
  18923. type: number
  18924. dgoodscode:
  18925. description: 交割商品代码
  18926. type: string
  18927. dgoodsname:
  18928. description: 交割商品名称
  18929. type: string
  18930. goodscode:
  18931. description: 商品代码
  18932. type: string
  18933. goodsid:
  18934. description: 商品ID
  18935. type: integer
  18936. goodsname:
  18937. description: 商品名称
  18938. type: string
  18939. histradedate:
  18940. description: 历史交易日
  18941. type: string
  18942. isvaliddata:
  18943. description: 是否有效 - 0:无效 1:有效
  18944. type: integer
  18945. marketid:
  18946. description: 市场ID
  18947. type: integer
  18948. marketname:
  18949. description: 市场名称
  18950. type: string
  18951. moneyticket:
  18952. description: 资金流水号:银行端流水号
  18953. type: integer
  18954. operatetype:
  18955. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  18956. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  18957. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  18958. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  18959. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  18960. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  18961. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  18962. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  18963. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  18964. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  18965. type: integer
  18966. relationorderid:
  18967. description: 关联单号
  18968. type: string
  18969. remark:
  18970. description: 备注
  18971. type: string
  18972. trademode:
  18973. description: 交易模式
  18974. type: integer
  18975. required:
  18976. - accountid
  18977. - amount
  18978. - amountadjusttype
  18979. - autoid
  18980. - balance
  18981. - createtime
  18982. - currentbalance
  18983. - histradedate
  18984. - operatetype
  18985. type: object
  18986. trade.QueryRecieptOrderRsp:
  18987. properties:
  18988. accountName:
  18989. description: 所属账号名称(已脱敏)
  18990. type: string
  18991. accountid:
  18992. description: 资金账号
  18993. type: integer
  18994. buyorsell:
  18995. description: 方向 - 0:买 1:卖
  18996. type: integer
  18997. enableqty:
  18998. description: 可摘数量
  18999. type: integer
  19000. goodscode:
  19001. description: 商品代码
  19002. type: string
  19003. goodsid:
  19004. description: 商品ID
  19005. type: integer
  19006. goodsname:
  19007. description: 商品名称
  19008. type: string
  19009. orderid:
  19010. description: 委托单号
  19011. type: string
  19012. orderprice:
  19013. description: 委托价格
  19014. type: number
  19015. ordertime:
  19016. description: 委托时间
  19017. type: string
  19018. tradedate:
  19019. description: 交易日(yyyyMMdd)
  19020. type: string
  19021. required:
  19022. - ordertime
  19023. type: object
  19024. user.LoginQueryRsp:
  19025. properties:
  19026. areaRoles:
  19027. description: 所属角色信息
  19028. items:
  19029. $ref: '#/definitions/models.Arearole'
  19030. type: array
  19031. externalExchanges:
  19032. description: 外部交易所
  19033. items:
  19034. $ref: '#/definitions/models.Externalexchange'
  19035. type: array
  19036. goodsgroups:
  19037. description: 商品组
  19038. items:
  19039. $ref: '#/definitions/models.Goodsgroup'
  19040. type: array
  19041. loginAccount:
  19042. $ref: '#/definitions/models.Loginaccount'
  19043. description: 登录账号
  19044. markets:
  19045. description: 市场
  19046. items:
  19047. $ref: '#/definitions/models.Market'
  19048. type: array
  19049. systemParams:
  19050. description: 系统参数
  19051. items:
  19052. $ref: '#/definitions/models.Systemparam'
  19053. type: array
  19054. userAccount:
  19055. $ref: '#/definitions/models.Useraccount'
  19056. description: 用户账号
  19057. userInfo:
  19058. $ref: '#/definitions/models.Userinfo'
  19059. description: 用户信息
  19060. username:
  19061. description: 用户姓名
  19062. type: string
  19063. type: object
  19064. info:
  19065. contact: {}
  19066. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  19067. termsOfService: http://www.muchinfo.cn
  19068. title: MTP2.0 查询服务 API
  19069. version: "1.0"
  19070. paths:
  19071. /CPTrade/QueryCPTradeMyBidInfos:
  19072. get:
  19073. parameters:
  19074. - description: 资金账户
  19075. in: query
  19076. name: accountid
  19077. required: true
  19078. type: integer
  19079. - description: 预售市场ID
  19080. in: query
  19081. name: marketid
  19082. type: integer
  19083. - description: 预售商品ID
  19084. in: query
  19085. name: goodsid
  19086. type: integer
  19087. produces:
  19088. - application/json
  19089. responses:
  19090. "200":
  19091. description: OK
  19092. schema:
  19093. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  19094. "500":
  19095. description: Internal Server Error
  19096. schema:
  19097. $ref: '#/definitions/app.Response'
  19098. security:
  19099. - ApiKeyAuth: []
  19100. summary: 查询产能预售我的出价信息
  19101. tags:
  19102. - 产能预售
  19103. /CPTrade/QueryCPTradeOrderDetail:
  19104. get:
  19105. parameters:
  19106. - description: 预售商品ID
  19107. in: query
  19108. name: goodsid
  19109. type: integer
  19110. - description: 预售市场ID
  19111. in: query
  19112. name: marketid
  19113. type: integer
  19114. - description: 预售商品ID列表 - 格式:1,2,3
  19115. in: query
  19116. name: goodsids
  19117. type: string
  19118. produces:
  19119. - application/json
  19120. responses:
  19121. "200":
  19122. description: OK
  19123. schema:
  19124. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  19125. "500":
  19126. description: Internal Server Error
  19127. schema:
  19128. $ref: '#/definitions/app.Response'
  19129. security:
  19130. - ApiKeyAuth: []
  19131. summary: 查询产能预售委托单信息
  19132. tags:
  19133. - 产能预售
  19134. /CPTrade/QueryMyCPTradeGoods:
  19135. get:
  19136. parameters:
  19137. - description: 资金账户
  19138. in: query
  19139. name: accountid
  19140. required: true
  19141. type: integer
  19142. produces:
  19143. - application/json
  19144. responses:
  19145. "200":
  19146. description: OK
  19147. schema:
  19148. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  19149. "500":
  19150. description: Internal Server Error
  19151. schema:
  19152. $ref: '#/definitions/app.Response'
  19153. security:
  19154. - ApiKeyAuth: []
  19155. summary: 查询我的预售信息
  19156. tags:
  19157. - 产能预售
  19158. /CPTrade/QueryPositionCancel:
  19159. get:
  19160. parameters:
  19161. - description: 账户ID
  19162. in: query
  19163. name: userid
  19164. required: true
  19165. type: integer
  19166. - description: 注销ID
  19167. in: query
  19168. name: cancelid
  19169. type: integer
  19170. - description: 资金账户ID
  19171. in: query
  19172. name: accountid
  19173. type: integer
  19174. produces:
  19175. - application/json
  19176. responses:
  19177. "200":
  19178. description: OK
  19179. schema:
  19180. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  19181. "500":
  19182. description: Internal Server Error
  19183. schema:
  19184. $ref: '#/definitions/app.Response'
  19185. security:
  19186. - ApiKeyAuth: []
  19187. summary: 查询远期订单注销申请信息
  19188. tags:
  19189. - 产能预售
  19190. /CPTrade/QueryPreasleApply:
  19191. get:
  19192. parameters:
  19193. - description: 账户ID
  19194. in: query
  19195. name: userid
  19196. required: true
  19197. type: integer
  19198. - description: 申请ID
  19199. in: query
  19200. name: applyid
  19201. type: integer
  19202. - description: 资金账户ID
  19203. in: query
  19204. name: accountid
  19205. type: integer
  19206. produces:
  19207. - application/json
  19208. responses:
  19209. "200":
  19210. description: OK
  19211. schema:
  19212. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  19213. "500":
  19214. description: Internal Server Error
  19215. schema:
  19216. $ref: '#/definitions/app.Response'
  19217. security:
  19218. - ApiKeyAuth: []
  19219. summary: 查询产能预售申请信息
  19220. tags:
  19221. - 产能预售
  19222. /CPTrade/QueryPresaleGoodsEx:
  19223. get:
  19224. parameters:
  19225. - description: 预售商品ID
  19226. in: query
  19227. name: goodsid
  19228. type: integer
  19229. - description: 预售市场ID
  19230. in: query
  19231. name: marketid
  19232. type: integer
  19233. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  19234. in: query
  19235. name: presalemode
  19236. type: integer
  19237. - description: 预售商品ID列表 - 格式:1,2,3
  19238. in: query
  19239. name: goodsids
  19240. type: string
  19241. - description: 预售商品代码
  19242. in: query
  19243. name: goodscode
  19244. type: string
  19245. produces:
  19246. - application/json
  19247. responses:
  19248. "200":
  19249. description: OK
  19250. schema:
  19251. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  19252. "500":
  19253. description: Internal Server Error
  19254. schema:
  19255. $ref: '#/definitions/app.Response'
  19256. security:
  19257. - ApiKeyAuth: []
  19258. summary: 查询产能预售商品扩展信息
  19259. tags:
  19260. - 产能预售
  19261. /CPTrade/QueryUserGoodsData:
  19262. get:
  19263. parameters:
  19264. - description: 资金账户ID
  19265. in: query
  19266. name: accountid
  19267. required: true
  19268. type: integer
  19269. produces:
  19270. - application/json
  19271. responses:
  19272. "200":
  19273. description: OK
  19274. schema:
  19275. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  19276. "500":
  19277. description: Internal Server Error
  19278. schema:
  19279. $ref: '#/definitions/app.Response'
  19280. security:
  19281. - ApiKeyAuth: []
  19282. summary: 查询远期订单信息
  19283. tags:
  19284. - 产能预售
  19285. /Common/DeleteNewFuncmenu:
  19286. delete:
  19287. consumes:
  19288. - application/json
  19289. parameters:
  19290. - description: 菜单表数据,只需要resourcecode字段即可
  19291. in: body
  19292. name: data
  19293. required: true
  19294. schema:
  19295. $ref: '#/definitions/models.NewFuncmenulist'
  19296. produces:
  19297. - application/json
  19298. responses:
  19299. "200":
  19300. description: OK
  19301. schema:
  19302. $ref: '#/definitions/app.Response'
  19303. "500":
  19304. description: Internal Server Error
  19305. schema:
  19306. $ref: '#/definitions/app.Response'
  19307. security:
  19308. - ApiKeyAuth: []
  19309. summary: 删除菜单表数据
  19310. tags:
  19311. - 通用服务
  19312. /Common/FindNewFuncmenu:
  19313. get:
  19314. parameters:
  19315. - description: 资源代码
  19316. in: query
  19317. name: resourcecode
  19318. type: string
  19319. - description: 上级资源代码
  19320. in: query
  19321. name: parentcode
  19322. type: string
  19323. - description: 资源名(Title), 模糊查询
  19324. in: query
  19325. name: resourcename
  19326. type: string
  19327. - description: 菜单类型(格式:1,2,3) - 1:管理端 2:PC(C#) 3:移动(云平台) 4:终端(交易所) 5:PC(云平台)
  19328. in: query
  19329. name: menutype
  19330. type: string
  19331. produces:
  19332. - application/json
  19333. responses:
  19334. "200":
  19335. description: OK
  19336. schema:
  19337. items:
  19338. $ref: '#/definitions/models.NewFuncmenulist'
  19339. type: array
  19340. "500":
  19341. description: Internal Server Error
  19342. schema:
  19343. $ref: '#/definitions/app.Response'
  19344. security:
  19345. - ApiKeyAuth: []
  19346. summary: 获取菜单表数据
  19347. tags:
  19348. - 通用服务
  19349. /Common/GetAllEnums:
  19350. get:
  19351. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  19352. parameters:
  19353. - description: 起始自增ID
  19354. in: query
  19355. name: autoid
  19356. type: integer
  19357. produces:
  19358. - application/json
  19359. responses:
  19360. "200":
  19361. description: OK
  19362. schema:
  19363. $ref: '#/definitions/models.Enumdicitem'
  19364. "500":
  19365. description: Internal Server Error
  19366. schema:
  19367. $ref: '#/definitions/app.Response'
  19368. summary: 获取所有枚举信息
  19369. tags:
  19370. - 通用服务
  19371. /Common/GetClientMenus:
  19372. get:
  19373. parameters:
  19374. - description: 登录账号
  19375. in: query
  19376. name: loginID
  19377. required: true
  19378. type: integer
  19379. - description: 终端类型,0:PCWEB 1:Mobile,不传默认返回PC端数据
  19380. in: query
  19381. name: clientType
  19382. type: integer
  19383. - description: 分支名称,ermcp-风管云平台;pingan-平安期货;trader-交易所;不传默认返回风管云平台
  19384. in: query
  19385. name: name
  19386. type: string
  19387. produces:
  19388. - application/json
  19389. responses:
  19390. "200":
  19391. description: OK
  19392. schema:
  19393. items:
  19394. $ref: '#/definitions/common.ClientMenu'
  19395. type: array
  19396. "500":
  19397. description: Internal Server Error
  19398. schema:
  19399. $ref: '#/definitions/app.Response'
  19400. security:
  19401. - ApiKeyAuth: []
  19402. summary: 获取交易端菜单
  19403. tags:
  19404. - 通用服务
  19405. /Common/GetClientNewFuncmenu:
  19406. get:
  19407. parameters:
  19408. - description: 登录账号
  19409. in: query
  19410. name: loginid
  19411. required: true
  19412. type: integer
  19413. - description: 菜单类型 - 1:管理端 2:PC(C#) 3:移动(云平台) 4:终端(交易所) 5:PC(云平台)
  19414. in: query
  19415. name: menutype
  19416. required: true
  19417. type: integer
  19418. produces:
  19419. - application/json
  19420. responses:
  19421. "200":
  19422. description: OK
  19423. schema:
  19424. items:
  19425. $ref: '#/definitions/models.NewFuncmenulist'
  19426. type: array
  19427. "500":
  19428. description: Internal Server Error
  19429. schema:
  19430. $ref: '#/definitions/app.Response'
  19431. security:
  19432. - ApiKeyAuth: []
  19433. summary: 获取终端菜单
  19434. tags:
  19435. - 通用服务
  19436. /Common/GetDivisions:
  19437. get:
  19438. produces:
  19439. - application/json
  19440. responses:
  19441. "200":
  19442. description: OK
  19443. schema:
  19444. $ref: '#/definitions/models.Division'
  19445. "500":
  19446. description: Internal Server Error
  19447. schema:
  19448. $ref: '#/definitions/app.Response'
  19449. summary: 查询区域信息
  19450. tags:
  19451. - 通用服务
  19452. /Common/GetPCWebMenus:
  19453. get:
  19454. parameters:
  19455. - description: 登录账号
  19456. in: query
  19457. name: loginID
  19458. required: true
  19459. type: integer
  19460. - description: 分支名称,ermcp:风管云平台,不传默认返回ermcp
  19461. in: query
  19462. name: name
  19463. type: string
  19464. produces:
  19465. - application/json
  19466. responses:
  19467. "200":
  19468. description: OK
  19469. schema:
  19470. items:
  19471. $ref: '#/definitions/common.PCWebMenu'
  19472. type: array
  19473. "500":
  19474. description: Internal Server Error
  19475. schema:
  19476. $ref: '#/definitions/app.Response'
  19477. security:
  19478. - ApiKeyAuth: []
  19479. summary: 获取PCWeb交易端菜单
  19480. tags:
  19481. - 通用服务
  19482. /Common/GetServerTime:
  19483. get:
  19484. produces:
  19485. - application/json
  19486. responses:
  19487. "200":
  19488. description: OK
  19489. schema:
  19490. $ref: '#/definitions/app.Response'
  19491. "500":
  19492. description: Internal Server Error
  19493. schema:
  19494. $ref: '#/definitions/app.Response'
  19495. summary: 获取服务器时间
  19496. tags:
  19497. - 通用服务
  19498. /Common/InsertNewFuncmenu:
  19499. post:
  19500. consumes:
  19501. - application/json
  19502. parameters:
  19503. - description: 菜单表数据
  19504. in: body
  19505. name: data
  19506. required: true
  19507. schema:
  19508. $ref: '#/definitions/models.NewFuncmenulist'
  19509. produces:
  19510. - application/json
  19511. responses:
  19512. "200":
  19513. description: OK
  19514. schema:
  19515. $ref: '#/definitions/app.Response'
  19516. "500":
  19517. description: Internal Server Error
  19518. schema:
  19519. $ref: '#/definitions/app.Response'
  19520. security:
  19521. - ApiKeyAuth: []
  19522. summary: 插入菜单表数据
  19523. tags:
  19524. - 通用服务
  19525. /Common/NoticeReaded:
  19526. post:
  19527. parameters:
  19528. - description: 登录账号
  19529. in: query
  19530. name: loginID
  19531. required: true
  19532. type: integer
  19533. - description: 通知公告ID
  19534. in: query
  19535. name: noticeID
  19536. required: true
  19537. type: integer
  19538. produces:
  19539. - application/json
  19540. responses:
  19541. "200":
  19542. description: OK
  19543. schema:
  19544. $ref: '#/definitions/app.Response'
  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/QueryErrorInfos:
  19555. get:
  19556. description: 如果传入rowNumber,则返回此rowNumber后的数据
  19557. parameters:
  19558. - description: 起始行号前索引
  19559. in: query
  19560. name: rowNumber
  19561. type: string
  19562. produces:
  19563. - application/json
  19564. responses:
  19565. "200":
  19566. description: OK
  19567. schema:
  19568. $ref: '#/definitions/models.QueryErrorInfosRsp'
  19569. "500":
  19570. description: Internal Server Error
  19571. schema:
  19572. $ref: '#/definitions/app.Response'
  19573. summary: 获取数据库错误信息
  19574. tags:
  19575. - 通用服务
  19576. /Common/QueryImageConfigs:
  19577. get:
  19578. parameters:
  19579. - description: 用户id
  19580. in: query
  19581. name: userId
  19582. type: integer
  19583. - description: 类型 - 1:App首页轮播 2:我的 3:首页(PC) 4:首页推广(移动-新会)
  19584. in: query
  19585. name: imageType
  19586. type: integer
  19587. produces:
  19588. - application/json
  19589. responses:
  19590. "200":
  19591. description: OK
  19592. schema:
  19593. $ref: '#/definitions/common.QueryImageConfigsRsp'
  19594. "500":
  19595. description: Internal Server Error
  19596. schema:
  19597. $ref: '#/definitions/app.Response'
  19598. summary: 查询轮播图配置信息
  19599. tags:
  19600. - 通用服务
  19601. /Common/QueryNotice:
  19602. get:
  19603. parameters:
  19604. - description: 页码
  19605. in: query
  19606. name: page
  19607. type: integer
  19608. - description: 每页条数
  19609. in: query
  19610. name: pagesize
  19611. type: integer
  19612. - description: 登录账号
  19613. in: query
  19614. name: loginID
  19615. required: true
  19616. type: integer
  19617. - description: 消息类型 - 1:公告通知 2:系统消息
  19618. in: query
  19619. name: msgType
  19620. type: integer
  19621. - description: 是否只获取未读信息
  19622. in: query
  19623. name: onlyUnRead
  19624. type: boolean
  19625. - description: 自增ID,传入后会返回这个ID后面的记录
  19626. in: query
  19627. name: lastID
  19628. type: integer
  19629. produces:
  19630. - application/json
  19631. responses:
  19632. "200":
  19633. description: OK
  19634. schema:
  19635. $ref: '#/definitions/common.QueryNoticeRsp'
  19636. "500":
  19637. description: Internal Server Error
  19638. schema:
  19639. $ref: '#/definitions/app.Response'
  19640. security:
  19641. - ApiKeyAuth: []
  19642. summary: 通知公告系统消息查询
  19643. tags:
  19644. - 通用服务
  19645. /Common/QueryProvincesAndCities:
  19646. get:
  19647. parameters:
  19648. - description: 省ID
  19649. in: query
  19650. name: provinceID
  19651. type: integer
  19652. produces:
  19653. - application/json
  19654. responses:
  19655. "200":
  19656. description: OK
  19657. schema:
  19658. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  19659. "500":
  19660. description: Internal Server Error
  19661. schema:
  19662. $ref: '#/definitions/app.Response'
  19663. summary: 查询省市信息(不包括区)
  19664. tags:
  19665. - 通用服务
  19666. /Common/QueryRates:
  19667. get:
  19668. parameters:
  19669. - description: 页码
  19670. in: query
  19671. name: page
  19672. type: integer
  19673. - description: 每页条数
  19674. in: query
  19675. name: pagesize
  19676. type: integer
  19677. - description: 源币种ID
  19678. in: query
  19679. name: oricurrencyid
  19680. type: integer
  19681. - description: 目标币种ID
  19682. in: query
  19683. name: descurrencyid
  19684. type: integer
  19685. produces:
  19686. - application/json
  19687. responses:
  19688. "200":
  19689. description: OK
  19690. schema:
  19691. items:
  19692. $ref: '#/definitions/models.Exchangerateconfig'
  19693. type: array
  19694. "500":
  19695. description: Internal Server Error
  19696. schema:
  19697. $ref: '#/definitions/app.Response'
  19698. security:
  19699. - ApiKeyAuth: []
  19700. - LoginID: []
  19701. - Group: []
  19702. summary: 查询汇率信息
  19703. tags:
  19704. - 通用服务
  19705. /Common/QueryTableDefine:
  19706. get:
  19707. parameters:
  19708. - description: 表key
  19709. in: query
  19710. name: tableKey
  19711. type: string
  19712. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  19713. in: query
  19714. name: tableType
  19715. type: integer
  19716. produces:
  19717. - application/json
  19718. responses:
  19719. "200":
  19720. description: OK
  19721. schema:
  19722. $ref: '#/definitions/common.QueryTableDefineRsp'
  19723. "500":
  19724. description: Internal Server Error
  19725. schema:
  19726. $ref: '#/definitions/app.Response'
  19727. summary: 查询交易端列表头信息
  19728. tags:
  19729. - 通用服务
  19730. /Common/QueryTraderMenu:
  19731. get:
  19732. parameters:
  19733. - description: 登录账号
  19734. in: query
  19735. name: loginid
  19736. required: true
  19737. type: integer
  19738. produces:
  19739. - application/json
  19740. responses:
  19741. "200":
  19742. description: OK
  19743. schema:
  19744. $ref: '#/definitions/common.QueryTraderMenuRsp'
  19745. "500":
  19746. description: Internal Server Error
  19747. schema:
  19748. $ref: '#/definitions/app.Response'
  19749. summary: 查询交易端菜单
  19750. tags:
  19751. - 通用服务
  19752. /Common/UpdateNewFuncmenu:
  19753. put:
  19754. consumes:
  19755. - application/json
  19756. parameters:
  19757. - description: 菜单表数据
  19758. in: body
  19759. name: data
  19760. required: true
  19761. schema:
  19762. $ref: '#/definitions/models.NewFuncmenulist'
  19763. produces:
  19764. - application/json
  19765. responses:
  19766. "200":
  19767. description: OK
  19768. schema:
  19769. $ref: '#/definitions/app.Response'
  19770. "500":
  19771. description: Internal Server Error
  19772. schema:
  19773. $ref: '#/definitions/app.Response'
  19774. security:
  19775. - ApiKeyAuth: []
  19776. summary: 更新菜单表数据
  19777. tags:
  19778. - 通用服务
  19779. /Delivery/QueryDeliveryRelation:
  19780. get:
  19781. parameters:
  19782. - description: 商品ID
  19783. in: query
  19784. name: goodsid
  19785. type: integer
  19786. - description: 品种ID
  19787. in: query
  19788. name: deliverygoodsid
  19789. type: integer
  19790. - description: 市场ID
  19791. in: query
  19792. name: marketid
  19793. type: integer
  19794. produces:
  19795. - application/json
  19796. responses:
  19797. "200":
  19798. description: OK
  19799. schema:
  19800. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  19801. "500":
  19802. description: Internal Server Error
  19803. schema:
  19804. $ref: '#/definitions/app.Response'
  19805. security:
  19806. - ApiKeyAuth: []
  19807. summary: 查询商品交割关系表
  19808. tags:
  19809. - 交割服务
  19810. /Ermcp/GetErmcpGoods:
  19811. get:
  19812. parameters:
  19813. - description: 用户id(风管云平台版本传值, 只显示用户下设置了套保关联的品种)
  19814. in: query
  19815. name: userid
  19816. type: integer
  19817. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  19818. in: query
  19819. name: lastUpdateTime
  19820. type: string
  19821. produces:
  19822. - application/json
  19823. responses:
  19824. "200":
  19825. description: OK
  19826. schema:
  19827. $ref: '#/definitions/models.ErmcpGoods'
  19828. "500":
  19829. description: Internal Server Error
  19830. schema:
  19831. $ref: '#/definitions/app.Response'
  19832. security:
  19833. - ApiKeyAuth: []
  19834. summary: 查询企业风管期货商品信息
  19835. tags:
  19836. - 企业风险管理(app)
  19837. /Ermcp/GetErmcpGoodsSortByPosition:
  19838. get:
  19839. parameters:
  19840. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  19841. in: query
  19842. name: sortIndex
  19843. type: string
  19844. produces:
  19845. - application/json
  19846. responses:
  19847. "200":
  19848. description: OK
  19849. schema:
  19850. $ref: '#/definitions/models.Goodssortbypreposition'
  19851. "500":
  19852. description: Internal Server Error
  19853. schema:
  19854. $ref: '#/definitions/app.Response'
  19855. security:
  19856. - ApiKeyAuth: []
  19857. summary: 查询企业风管期货主力、次主力商品信息
  19858. tags:
  19859. - 企业风险管理(app)
  19860. /Ermcp/GetErmcpOutAccountStatus:
  19861. get:
  19862. parameters:
  19863. - description: 登录账号
  19864. in: query
  19865. name: loginID
  19866. required: true
  19867. type: integer
  19868. produces:
  19869. - application/json
  19870. responses:
  19871. "200":
  19872. description: OK
  19873. schema:
  19874. $ref: '#/definitions/models.Hedgemarketopenlog'
  19875. "500":
  19876. description: Internal Server Error
  19877. schema:
  19878. $ref: '#/definitions/app.Response'
  19879. security:
  19880. - ApiKeyAuth: []
  19881. summary: 获取目标登录账号当前对冲账号在线状态
  19882. tags:
  19883. - 企业风险管理(app)
  19884. /Ermcp/GetErmcpRoleFuncMenuLists:
  19885. get:
  19886. parameters:
  19887. - description: 登录账号
  19888. in: query
  19889. name: loginID
  19890. required: true
  19891. type: integer
  19892. produces:
  19893. - application/json
  19894. responses:
  19895. "200":
  19896. description: OK
  19897. schema:
  19898. $ref: '#/definitions/models.Funcmenulist'
  19899. "500":
  19900. description: Internal Server Error
  19901. schema:
  19902. $ref: '#/definitions/app.Response'
  19903. security:
  19904. - ApiKeyAuth: []
  19905. summary: 获取企业风管终端权限
  19906. tags:
  19907. - 企业风险管理(app)
  19908. /Ermcp/QueryAccMgrBizGroupSet:
  19909. get:
  19910. parameters:
  19911. - description: 用户ID
  19912. in: query
  19913. name: userid
  19914. required: true
  19915. type: integer
  19916. - description: 现货商品id
  19917. in: query
  19918. name: deliverygoodsid
  19919. type: integer
  19920. produces:
  19921. - application/json
  19922. responses:
  19923. "200":
  19924. description: OK
  19925. schema:
  19926. items:
  19927. $ref: '#/definitions/models.ErmcpBizGroupEx'
  19928. type: array
  19929. "500":
  19930. description: Internal Server Error
  19931. schema:
  19932. $ref: '#/definitions/app.Response'
  19933. security:
  19934. - ApiKeyAuth: []
  19935. summary: 查询业务类型分组(账户管理/账户设置)
  19936. tags:
  19937. - 企业风险管理(app)
  19938. /Ermcp/QueryAccMgrLoginUser:
  19939. get:
  19940. parameters:
  19941. - description: 用户ID
  19942. in: query
  19943. name: userid
  19944. required: true
  19945. type: integer
  19946. - description: 用户类型 2-机构 7-企业成员
  19947. in: query
  19948. name: usertype
  19949. type: integer
  19950. - description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  19951. in: query
  19952. name: querytype
  19953. required: true
  19954. type: integer
  19955. produces:
  19956. - application/json
  19957. responses:
  19958. "200":
  19959. description: OK
  19960. schema:
  19961. items:
  19962. $ref: '#/definitions/models.ErmcpLoginUserEx'
  19963. type: array
  19964. "500":
  19965. description: Internal Server Error
  19966. schema:
  19967. $ref: '#/definitions/app.Response'
  19968. security:
  19969. - ApiKeyAuth: []
  19970. summary: 查询账户管理登录账号(账户管理/登录账号)
  19971. tags:
  19972. - 企业风险管理(app)
  19973. /Ermcp/QueryAccMgrMainAccountInfo:
  19974. get:
  19975. parameters:
  19976. - description: 用户ID
  19977. in: query
  19978. name: userid
  19979. type: integer
  19980. - description: 主账号id
  19981. in: query
  19982. name: accountid
  19983. type: integer
  19984. produces:
  19985. - application/json
  19986. responses:
  19987. "200":
  19988. description: OK
  19989. schema:
  19990. items:
  19991. $ref: '#/definitions/models.MainAccountInfo'
  19992. type: array
  19993. "500":
  19994. description: Internal Server Error
  19995. schema:
  19996. $ref: '#/definitions/app.Response'
  19997. security:
  19998. - ApiKeyAuth: []
  19999. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  20000. tags:
  20001. - 企业风险管理(app)
  20002. /Ermcp/QueryAccMgrRole:
  20003. get:
  20004. parameters:
  20005. - description: 用户ID
  20006. in: query
  20007. name: userid
  20008. required: true
  20009. type: integer
  20010. produces:
  20011. - application/json
  20012. responses:
  20013. "200":
  20014. description: OK
  20015. schema:
  20016. items:
  20017. $ref: '#/definitions/models.ErmcpRole'
  20018. type: array
  20019. "500":
  20020. description: Internal Server Error
  20021. schema:
  20022. $ref: '#/definitions/app.Response'
  20023. security:
  20024. - ApiKeyAuth: []
  20025. summary: 查询账户管理角色设置(账户管理/角色设置)
  20026. tags:
  20027. - 企业风险管理(app)
  20028. /Ermcp/QueryAccMgrRoleMenu:
  20029. get:
  20030. parameters:
  20031. - description: 用户ID
  20032. in: query
  20033. name: userid
  20034. required: true
  20035. type: integer
  20036. - description: 角色id(可多个,逗号隔开)
  20037. in: query
  20038. name: roleid
  20039. type: string
  20040. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易 ps:新加的参数,为了兼容以前,不传则默认查3
  20041. in: query
  20042. name: menutype
  20043. type: integer
  20044. produces:
  20045. - application/json
  20046. responses:
  20047. "200":
  20048. description: OK
  20049. schema:
  20050. items:
  20051. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  20052. type: array
  20053. "500":
  20054. description: Internal Server Error
  20055. schema:
  20056. $ref: '#/definitions/app.Response'
  20057. security:
  20058. - ApiKeyAuth: []
  20059. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  20060. tags:
  20061. - 企业风险管理(app)
  20062. /Ermcp/QueryAccMgrTaAccountInfo:
  20063. get:
  20064. parameters:
  20065. - description: 用户ID
  20066. in: query
  20067. name: userid
  20068. required: true
  20069. type: integer
  20070. - description: 账号id
  20071. in: query
  20072. name: accountid
  20073. type: integer
  20074. produces:
  20075. - application/json
  20076. responses:
  20077. "200":
  20078. description: OK
  20079. schema:
  20080. items:
  20081. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  20082. type: array
  20083. "500":
  20084. description: Internal Server Error
  20085. schema:
  20086. $ref: '#/definitions/app.Response'
  20087. security:
  20088. - ApiKeyAuth: []
  20089. summary: 查询账户管理授信(账户管理/账户设置/授信)
  20090. tags:
  20091. - 企业风险管理(app)
  20092. /Ermcp/QueryAccMgrTaaccount:
  20093. get:
  20094. parameters:
  20095. - description: 用户ID
  20096. in: query
  20097. name: userid
  20098. required: true
  20099. type: integer
  20100. produces:
  20101. - application/json
  20102. responses:
  20103. "200":
  20104. description: OK
  20105. schema:
  20106. items:
  20107. $ref: '#/definitions/models.ErmcpTaAccountEx'
  20108. type: array
  20109. "500":
  20110. description: Internal Server Error
  20111. schema:
  20112. $ref: '#/definitions/app.Response'
  20113. security:
  20114. - ApiKeyAuth: []
  20115. summary: 查询账户管理期货账号(账户管理/期货账号)
  20116. tags:
  20117. - 企业风险管理(app)
  20118. /Ermcp/QueryAvaildGoodsGroup:
  20119. get:
  20120. parameters:
  20121. - description: 所属机构ID
  20122. in: query
  20123. name: userid
  20124. required: true
  20125. type: integer
  20126. produces:
  20127. - application/json
  20128. responses:
  20129. "200":
  20130. description: OK
  20131. schema:
  20132. items:
  20133. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  20134. type: array
  20135. "500":
  20136. description: Internal Server Error
  20137. schema:
  20138. $ref: '#/definitions/app.Response'
  20139. security:
  20140. - ApiKeyAuth: []
  20141. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  20142. tags:
  20143. - 企业风险管理(app)
  20144. /Ermcp/QueryBusinessDj:
  20145. get:
  20146. parameters:
  20147. - description: 用户ID
  20148. in: query
  20149. name: UserId
  20150. required: true
  20151. type: integer
  20152. - description: 用户类型 2-机构 7-企业成员
  20153. in: query
  20154. name: usertype
  20155. type: integer
  20156. - description: 现货合同ID, 不填则查所有
  20157. in: query
  20158. name: relatedid
  20159. type: string
  20160. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20161. in: query
  20162. name: applystatus
  20163. type: string
  20164. produces:
  20165. - application/json
  20166. responses:
  20167. "200":
  20168. description: OK
  20169. schema:
  20170. items:
  20171. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  20172. type: array
  20173. "500":
  20174. description: Internal Server Error
  20175. schema:
  20176. $ref: '#/definitions/app.Response'
  20177. security:
  20178. - ApiKeyAuth: []
  20179. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  20180. tags:
  20181. - 企业风险管理(app)
  20182. /Ermcp/QueryBusinessFp:
  20183. get:
  20184. parameters:
  20185. - description: 用户ID
  20186. in: query
  20187. name: UserId
  20188. required: true
  20189. type: integer
  20190. - description: 用户类型 2-机构 7-企业成员
  20191. in: query
  20192. name: usertype
  20193. type: integer
  20194. - description: 现货合同ID, 不填则查所有
  20195. in: query
  20196. name: relatedid
  20197. type: string
  20198. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20199. in: query
  20200. name: applystatus
  20201. type: string
  20202. produces:
  20203. - application/json
  20204. responses:
  20205. "200":
  20206. description: OK
  20207. schema:
  20208. items:
  20209. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  20210. type: array
  20211. "500":
  20212. description: Internal Server Error
  20213. schema:
  20214. $ref: '#/definitions/app.Response'
  20215. security:
  20216. - ApiKeyAuth: []
  20217. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  20218. tags:
  20219. - 企业风险管理(app)
  20220. /Ermcp/QueryBusinessJs:
  20221. get:
  20222. parameters:
  20223. - description: 用户ID
  20224. in: query
  20225. name: UserId
  20226. required: true
  20227. type: integer
  20228. - description: 用户类型 2-机构 7-企业成员
  20229. in: query
  20230. name: usertype
  20231. type: integer
  20232. - description: 现货合同ID, 不填则查所有
  20233. in: query
  20234. name: relatedid
  20235. type: string
  20236. - description: 操作申请id
  20237. in: query
  20238. name: operateapplyid
  20239. type: string
  20240. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20241. in: query
  20242. name: applystatus
  20243. type: string
  20244. produces:
  20245. - application/json
  20246. responses:
  20247. "200":
  20248. description: OK
  20249. schema:
  20250. items:
  20251. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  20252. type: array
  20253. "500":
  20254. description: Internal Server Error
  20255. schema:
  20256. $ref: '#/definitions/app.Response'
  20257. security:
  20258. - ApiKeyAuth: []
  20259. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  20260. tags:
  20261. - 企业风险管理(app)
  20262. /Ermcp/QueryBusinessJsEx:
  20263. get:
  20264. parameters:
  20265. - description: 用户ID
  20266. in: query
  20267. name: UserId
  20268. required: true
  20269. type: integer
  20270. - description: 用户类型 2-机构 7-企业成员
  20271. in: query
  20272. name: usertype
  20273. type: integer
  20274. - description: 现货合同ID, 不填则查所有
  20275. in: query
  20276. name: relatedid
  20277. type: string
  20278. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20279. in: query
  20280. name: applystatus
  20281. type: string
  20282. produces:
  20283. - application/json
  20284. responses:
  20285. "200":
  20286. description: OK
  20287. schema:
  20288. items:
  20289. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  20290. type: array
  20291. "500":
  20292. description: Internal Server Error
  20293. schema:
  20294. $ref: '#/definitions/app.Response'
  20295. security:
  20296. - ApiKeyAuth: []
  20297. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  20298. tags:
  20299. - 企业风险管理(app)
  20300. /Ermcp/QueryBusinessKx:
  20301. get:
  20302. parameters:
  20303. - description: 用户ID
  20304. in: query
  20305. name: UserId
  20306. required: true
  20307. type: integer
  20308. - description: 用户类型 2-机构 7-企业成员
  20309. in: query
  20310. name: usertype
  20311. type: integer
  20312. - description: 现货合同ID, 不填则查所有
  20313. in: query
  20314. name: relatedid
  20315. type: string
  20316. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20317. in: query
  20318. name: applystatus
  20319. type: string
  20320. produces:
  20321. - application/json
  20322. responses:
  20323. "200":
  20324. description: OK
  20325. schema:
  20326. items:
  20327. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  20328. type: array
  20329. "500":
  20330. description: Internal Server Error
  20331. schema:
  20332. $ref: '#/definitions/app.Response'
  20333. security:
  20334. - ApiKeyAuth: []
  20335. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  20336. tags:
  20337. - 企业风险管理(app)
  20338. /Ermcp/QueryChangeLog:
  20339. get:
  20340. parameters:
  20341. - description: 合同ID
  20342. in: query
  20343. name: RelatedId
  20344. required: true
  20345. type: string
  20346. produces:
  20347. - application/json
  20348. responses:
  20349. "200":
  20350. description: OK
  20351. schema:
  20352. items:
  20353. $ref: '#/definitions/ermcp.QryOPLogRsp'
  20354. type: array
  20355. "500":
  20356. description: Internal Server Error
  20357. schema:
  20358. $ref: '#/definitions/app.Response'
  20359. security:
  20360. - ApiKeyAuth: []
  20361. summary: 查询变更记录
  20362. tags:
  20363. - 企业风险管理(app)
  20364. /Ermcp/QueryErmcpHisOrderDetails:
  20365. get:
  20366. parameters:
  20367. - description: 资金账户ID
  20368. in: query
  20369. name: accountID
  20370. required: true
  20371. type: integer
  20372. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  20373. in: query
  20374. name: startDate
  20375. type: string
  20376. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  20377. in: query
  20378. name: endDate
  20379. type: string
  20380. produces:
  20381. - application/json
  20382. responses:
  20383. "200":
  20384. description: OK
  20385. schema:
  20386. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  20387. "500":
  20388. description: Internal Server Error
  20389. schema:
  20390. $ref: '#/definitions/app.Response'
  20391. security:
  20392. - ApiKeyAuth: []
  20393. summary: 获取企业风管期货历史委托单信息
  20394. tags:
  20395. - 企业风险管理(app)
  20396. /Ermcp/QueryErmcpHisTradeDetails:
  20397. get:
  20398. parameters:
  20399. - description: 资金账户ID
  20400. in: query
  20401. name: accountID
  20402. required: true
  20403. type: integer
  20404. - description: 商品ID
  20405. in: query
  20406. name: goodsID
  20407. type: integer
  20408. - description: 买卖方向,0:买 1:卖
  20409. in: query
  20410. name: buyOrSell
  20411. type: integer
  20412. - description: 关联委托单号
  20413. in: query
  20414. name: orderID
  20415. type: integer
  20416. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  20417. in: query
  20418. name: startDate
  20419. type: string
  20420. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  20421. in: query
  20422. name: endDate
  20423. type: string
  20424. produces:
  20425. - application/json
  20426. responses:
  20427. "200":
  20428. description: OK
  20429. schema:
  20430. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  20431. "500":
  20432. description: Internal Server Error
  20433. schema:
  20434. $ref: '#/definitions/app.Response'
  20435. security:
  20436. - ApiKeyAuth: []
  20437. summary: 获取企业风管期货历史成交单信息
  20438. tags:
  20439. - 企业风险管理(app)
  20440. /Ermcp/QueryErmcpInnerHolderDetails:
  20441. get:
  20442. parameters:
  20443. - description: 资金账户ID
  20444. in: query
  20445. name: accountID
  20446. required: true
  20447. type: integer
  20448. - description: 商品ID
  20449. in: query
  20450. name: goodsID
  20451. type: integer
  20452. - description: 买卖方向,0:买 1:卖
  20453. in: query
  20454. name: buyOrSell
  20455. type: integer
  20456. produces:
  20457. - application/json
  20458. responses:
  20459. "200":
  20460. description: OK
  20461. schema:
  20462. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  20463. "500":
  20464. description: Internal Server Error
  20465. schema:
  20466. $ref: '#/definitions/app.Response'
  20467. security:
  20468. - ApiKeyAuth: []
  20469. summary: 获取企业风管期货内部持仓单信息
  20470. tags:
  20471. - 企业风险管理(app)
  20472. /Ermcp/QueryErmcpOrderDetails:
  20473. get:
  20474. parameters:
  20475. - description: 资金账户ID
  20476. in: query
  20477. name: accountID
  20478. required: true
  20479. type: integer
  20480. produces:
  20481. - application/json
  20482. responses:
  20483. "200":
  20484. description: OK
  20485. schema:
  20486. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  20487. "500":
  20488. description: Internal Server Error
  20489. schema:
  20490. $ref: '#/definitions/app.Response'
  20491. security:
  20492. - ApiKeyAuth: []
  20493. summary: 获取企业风管期货委托单信息
  20494. tags:
  20495. - 企业风险管理(app)
  20496. /Ermcp/QueryErmcpTradeDetails:
  20497. get:
  20498. parameters:
  20499. - description: 资金账户ID
  20500. in: query
  20501. name: accountID
  20502. required: true
  20503. type: integer
  20504. - description: 商品ID
  20505. in: query
  20506. name: goodsID
  20507. type: integer
  20508. - description: 买卖方向,0:买 1:卖
  20509. in: query
  20510. name: buyOrSell
  20511. type: integer
  20512. - description: 关联委托单号
  20513. in: query
  20514. name: orderID
  20515. type: integer
  20516. produces:
  20517. - application/json
  20518. responses:
  20519. "200":
  20520. description: OK
  20521. schema:
  20522. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  20523. "500":
  20524. description: Internal Server Error
  20525. schema:
  20526. $ref: '#/definitions/app.Response'
  20527. security:
  20528. - ApiKeyAuth: []
  20529. summary: 获取企业风管期货成交单信息
  20530. tags:
  20531. - 企业风险管理(app)
  20532. /Ermcp/QueryErmcpTradePosition:
  20533. get:
  20534. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  20535. parameters:
  20536. - description: 资金账户ID
  20537. in: query
  20538. name: accountID
  20539. required: true
  20540. type: integer
  20541. - description: 所属市场ID
  20542. in: query
  20543. name: marketID
  20544. type: integer
  20545. produces:
  20546. - application/json
  20547. responses:
  20548. "200":
  20549. description: OK
  20550. schema:
  20551. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  20552. "500":
  20553. description: Internal Server Error
  20554. schema:
  20555. $ref: '#/definitions/app.Response'
  20556. security:
  20557. - ApiKeyAuth: []
  20558. summary: 获取企业风管期货持仓头寸信息
  20559. tags:
  20560. - 企业风险管理(app)
  20561. /Ermcp/QueryExposureDetail:
  20562. get:
  20563. parameters:
  20564. - description: 所属机构ID
  20565. in: query
  20566. name: areaUserId
  20567. required: true
  20568. type: integer
  20569. - description: 套保商品
  20570. in: query
  20571. name: middleGoodsId
  20572. required: true
  20573. type: integer
  20574. produces:
  20575. - application/json
  20576. responses:
  20577. "200":
  20578. description: OK
  20579. schema:
  20580. items:
  20581. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  20582. type: array
  20583. "500":
  20584. description: Internal Server Error
  20585. schema:
  20586. $ref: '#/definitions/app.Response'
  20587. security:
  20588. - ApiKeyAuth: []
  20589. summary: 查询敞口现货明细
  20590. tags:
  20591. - 企业风险管理(app)
  20592. /Ermcp/QueryExposureGoods:
  20593. get:
  20594. parameters:
  20595. - description: 套保商品id
  20596. in: query
  20597. name: middlegoodsid
  20598. required: true
  20599. type: integer
  20600. produces:
  20601. - application/json
  20602. responses:
  20603. "200":
  20604. description: OK
  20605. schema:
  20606. items:
  20607. $ref: '#/definitions/models.ErmcpMiddlegoodsRelateGoods'
  20608. type: array
  20609. "500":
  20610. description: Internal Server Error
  20611. schema:
  20612. $ref: '#/definitions/app.Response'
  20613. security:
  20614. - ApiKeyAuth: []
  20615. summary: 查询敞口主力合约
  20616. tags:
  20617. - 企业风险管理(app)
  20618. /Ermcp/QueryExposureHedgePosition:
  20619. get:
  20620. parameters:
  20621. - description: 用户id
  20622. in: query
  20623. name: userid
  20624. required: true
  20625. type: integer
  20626. produces:
  20627. - application/json
  20628. responses:
  20629. "200":
  20630. description: OK
  20631. schema:
  20632. items:
  20633. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  20634. type: array
  20635. "500":
  20636. description: Internal Server Error
  20637. schema:
  20638. $ref: '#/definitions/app.Response'
  20639. security:
  20640. - ApiKeyAuth: []
  20641. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  20642. tags:
  20643. - 企业风险管理(app)
  20644. /Ermcp/QueryExposureHedgePositionDetail:
  20645. get:
  20646. parameters:
  20647. - description: 所属机构ID
  20648. in: query
  20649. name: userid
  20650. required: true
  20651. type: integer
  20652. - description: 商品id
  20653. in: query
  20654. name: goodsId
  20655. required: true
  20656. type: integer
  20657. produces:
  20658. - application/json
  20659. responses:
  20660. "200":
  20661. description: OK
  20662. schema:
  20663. items:
  20664. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  20665. type: array
  20666. "500":
  20667. description: Internal Server Error
  20668. schema:
  20669. $ref: '#/definitions/app.Response'
  20670. security:
  20671. - ApiKeyAuth: []
  20672. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  20673. tags:
  20674. - 企业风险管理(app)
  20675. /Ermcp/QueryExposureSpot:
  20676. get:
  20677. parameters:
  20678. - description: 所属机构ID
  20679. in: query
  20680. name: areaUserId
  20681. required: true
  20682. type: integer
  20683. produces:
  20684. - application/json
  20685. responses:
  20686. "200":
  20687. description: OK
  20688. schema:
  20689. items:
  20690. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  20691. type: array
  20692. "500":
  20693. description: Internal Server Error
  20694. schema:
  20695. $ref: '#/definitions/app.Response'
  20696. security:
  20697. - ApiKeyAuth: []
  20698. summary: 查询敞口现货头寸(敞口/现货头寸)
  20699. tags:
  20700. - 企业风险管理(app)
  20701. /Ermcp/QueryExposureSpotDetail:
  20702. get:
  20703. parameters:
  20704. - description: 所属机构ID
  20705. in: query
  20706. name: areaUserId
  20707. required: true
  20708. type: integer
  20709. - description: 现货品种ID
  20710. in: query
  20711. name: wrstandardId
  20712. required: true
  20713. type: integer
  20714. produces:
  20715. - application/json
  20716. responses:
  20717. "200":
  20718. description: OK
  20719. schema:
  20720. items:
  20721. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  20722. type: array
  20723. "500":
  20724. description: Internal Server Error
  20725. schema:
  20726. $ref: '#/definitions/app.Response'
  20727. security:
  20728. - ApiKeyAuth: []
  20729. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  20730. tags:
  20731. - 企业风险管理(app)
  20732. /Ermcp/QueryFuturesCompany:
  20733. get:
  20734. produces:
  20735. - application/json
  20736. responses:
  20737. "200":
  20738. description: OK
  20739. schema:
  20740. items:
  20741. $ref: '#/definitions/models.ErmcpFuturesCompany'
  20742. type: array
  20743. "500":
  20744. description: Internal Server Error
  20745. schema:
  20746. $ref: '#/definitions/app.Response'
  20747. security:
  20748. - ApiKeyAuth: []
  20749. summary: 查询期货公司
  20750. tags:
  20751. - 企业风险管理(app)
  20752. /Ermcp/QueryGGConvertConfig:
  20753. get:
  20754. parameters:
  20755. - description: 品种id(不填则查所有)
  20756. in: query
  20757. name: goodsgroupid
  20758. type: integer
  20759. produces:
  20760. - application/json
  20761. responses:
  20762. "200":
  20763. description: OK
  20764. schema:
  20765. items:
  20766. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  20767. type: array
  20768. "500":
  20769. description: Internal Server Error
  20770. schema:
  20771. $ref: '#/definitions/app.Response'
  20772. security:
  20773. - ApiKeyAuth: []
  20774. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  20775. tags:
  20776. - 企业风险管理(app)
  20777. /Ermcp/QueryGoodsBrand:
  20778. get:
  20779. parameters:
  20780. - description: 用户ID
  20781. in: query
  20782. name: userid
  20783. required: true
  20784. type: integer
  20785. - description: 现货商品ID
  20786. in: query
  20787. name: wrstandardid
  20788. type: integer
  20789. produces:
  20790. - application/json
  20791. responses:
  20792. "200":
  20793. description: OK
  20794. schema:
  20795. items:
  20796. $ref: '#/definitions/models.ErmcpGoodsBrand'
  20797. type: array
  20798. "500":
  20799. description: Internal Server Error
  20800. schema:
  20801. $ref: '#/definitions/app.Response'
  20802. security:
  20803. - ApiKeyAuth: []
  20804. summary: 查询商品品牌
  20805. tags:
  20806. - 企业风险管理(app)
  20807. /Ermcp/QueryGoodsModel:
  20808. get:
  20809. parameters:
  20810. - description: 用户ID
  20811. in: query
  20812. name: userid
  20813. required: true
  20814. type: integer
  20815. produces:
  20816. - application/json
  20817. responses:
  20818. "200":
  20819. description: OK
  20820. schema:
  20821. items:
  20822. $ref: '#/definitions/models.ErmcpGoodsModel'
  20823. type: array
  20824. "500":
  20825. description: Internal Server Error
  20826. schema:
  20827. $ref: '#/definitions/app.Response'
  20828. security:
  20829. - ApiKeyAuth: []
  20830. summary: 查询商品型号
  20831. tags:
  20832. - 企业风险管理(app)
  20833. /Ermcp/QueryHisExposure:
  20834. get:
  20835. parameters:
  20836. - description: 用户id
  20837. in: query
  20838. name: userid
  20839. required: true
  20840. type: integer
  20841. - description: 每个品种记录数
  20842. in: query
  20843. name: lastNum
  20844. required: true
  20845. type: integer
  20846. produces:
  20847. - application/json
  20848. responses:
  20849. "200":
  20850. description: OK
  20851. schema:
  20852. items:
  20853. $ref: '#/definitions/ermcp.HisExposureRsp'
  20854. type: array
  20855. "500":
  20856. description: Internal Server Error
  20857. schema:
  20858. $ref: '#/definitions/app.Response'
  20859. security:
  20860. - ApiKeyAuth: []
  20861. summary: 查询历史敞口(菜单:敞口/历史敞口)
  20862. tags:
  20863. - 企业风险管理(app)
  20864. /Ermcp/QueryMiddleGoods:
  20865. get:
  20866. parameters:
  20867. - description: 所属机构ID
  20868. in: query
  20869. name: userid
  20870. required: true
  20871. type: integer
  20872. - description: 状态 0-停用 1-正常
  20873. in: query
  20874. name: status
  20875. required: true
  20876. type: integer
  20877. produces:
  20878. - application/json
  20879. responses:
  20880. "200":
  20881. description: OK
  20882. schema:
  20883. items:
  20884. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  20885. type: array
  20886. "500":
  20887. description: Internal Server Error
  20888. schema:
  20889. $ref: '#/definitions/app.Response'
  20890. security:
  20891. - ApiKeyAuth: []
  20892. summary: 查询套保品种(菜单:套保品种)
  20893. tags:
  20894. - 企业风险管理(app)
  20895. /Ermcp/QueryMiddleGoodsChangeLog:
  20896. get:
  20897. parameters:
  20898. - description: 所属机构ID
  20899. in: query
  20900. name: userid
  20901. required: true
  20902. type: integer
  20903. - description: 套保品种id
  20904. in: query
  20905. name: middlegoodsid
  20906. required: true
  20907. type: integer
  20908. produces:
  20909. - application/json
  20910. responses:
  20911. "200":
  20912. description: OK
  20913. schema:
  20914. items:
  20915. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  20916. type: array
  20917. "500":
  20918. description: Internal Server Error
  20919. schema:
  20920. $ref: '#/definitions/app.Response'
  20921. security:
  20922. - ApiKeyAuth: []
  20923. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  20924. tags:
  20925. - 企业风险管理(app)
  20926. /Ermcp/QueryMiddleGoodsDetail:
  20927. get:
  20928. parameters:
  20929. - description: 所属机构ID
  20930. in: query
  20931. name: userid
  20932. required: true
  20933. type: integer
  20934. - description: 套保品种id
  20935. in: query
  20936. name: middlegoodsid
  20937. type: integer
  20938. produces:
  20939. - application/json
  20940. responses:
  20941. "200":
  20942. description: OK
  20943. schema:
  20944. items:
  20945. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  20946. type: array
  20947. "500":
  20948. description: Internal Server Error
  20949. schema:
  20950. $ref: '#/definitions/app.Response'
  20951. security:
  20952. - ApiKeyAuth: []
  20953. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  20954. tags:
  20955. - 企业风险管理(app)
  20956. /Ermcp/QueryPendingAuditInfo:
  20957. get:
  20958. parameters:
  20959. - description: 用户ID
  20960. in: query
  20961. name: UserId
  20962. required: true
  20963. type: integer
  20964. produces:
  20965. - application/json
  20966. responses:
  20967. "200":
  20968. description: OK
  20969. schema:
  20970. items:
  20971. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  20972. type: array
  20973. "500":
  20974. description: Internal Server Error
  20975. schema:
  20976. $ref: '#/definitions/app.Response'
  20977. security:
  20978. - ApiKeyAuth: []
  20979. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  20980. tags:
  20981. - 企业风险管理(app)
  20982. /Ermcp/QueryRealtimeExposure:
  20983. get:
  20984. parameters:
  20985. - description: 所属机构ID
  20986. in: query
  20987. name: userid
  20988. required: true
  20989. type: integer
  20990. produces:
  20991. - application/json
  20992. responses:
  20993. "200":
  20994. description: OK
  20995. schema:
  20996. items:
  20997. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  20998. type: array
  20999. "500":
  21000. description: Internal Server Error
  21001. schema:
  21002. $ref: '#/definitions/app.Response'
  21003. security:
  21004. - ApiKeyAuth: []
  21005. summary: 查询实时敞口
  21006. tags:
  21007. - 企业风险管理(app)
  21008. /Ermcp/QueryRealtimeExposurePosition:
  21009. get:
  21010. parameters:
  21011. - description: 用户id
  21012. in: query
  21013. name: userid
  21014. required: true
  21015. type: integer
  21016. - description: 套保商品ID
  21017. in: query
  21018. name: middleGoodsId
  21019. required: true
  21020. type: integer
  21021. produces:
  21022. - application/json
  21023. responses:
  21024. "200":
  21025. description: OK
  21026. schema:
  21027. items:
  21028. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  21029. type: array
  21030. "500":
  21031. description: Internal Server Error
  21032. schema:
  21033. $ref: '#/definitions/app.Response'
  21034. security:
  21035. - ApiKeyAuth: []
  21036. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  21037. tags:
  21038. - 企业风险管理(app)
  21039. /Ermcp/QueryRoleMenu:
  21040. get:
  21041. parameters:
  21042. - description: 登录ID
  21043. in: query
  21044. name: loginid
  21045. required: true
  21046. type: integer
  21047. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易
  21048. in: query
  21049. name: menutype
  21050. type: integer
  21051. produces:
  21052. - application/json
  21053. responses:
  21054. "200":
  21055. description: OK
  21056. schema:
  21057. items:
  21058. $ref: '#/definitions/models.RoleMenu'
  21059. type: array
  21060. "500":
  21061. description: Internal Server Error
  21062. schema:
  21063. $ref: '#/definitions/app.Response'
  21064. security:
  21065. - ApiKeyAuth: []
  21066. summary: 查询角色菜单和权限
  21067. tags:
  21068. - 企业风险管理(app)
  21069. /Ermcp/QueryTradeConfigTMP:
  21070. get:
  21071. parameters:
  21072. - description: 所属机构id
  21073. in: query
  21074. name: areauserid
  21075. type: integer
  21076. produces:
  21077. - application/json
  21078. responses:
  21079. "200":
  21080. description: OK
  21081. schema:
  21082. items:
  21083. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  21084. type: array
  21085. "500":
  21086. description: Internal Server Error
  21087. schema:
  21088. $ref: '#/definitions/app.Response'
  21089. security:
  21090. - ApiKeyAuth: []
  21091. summary: 查询交易模板配置
  21092. tags:
  21093. - 企业风险管理(app)
  21094. /Ermcp/QueryUserInfo:
  21095. get:
  21096. parameters:
  21097. - description: 所属机构用户ID
  21098. in: query
  21099. name: MemberUserID
  21100. required: true
  21101. type: integer
  21102. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  21103. in: query
  21104. name: queryType
  21105. required: true
  21106. type: integer
  21107. produces:
  21108. - application/json
  21109. responses:
  21110. "200":
  21111. description: OK
  21112. schema:
  21113. items:
  21114. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  21115. type: array
  21116. "500":
  21117. description: Internal Server Error
  21118. schema:
  21119. $ref: '#/definitions/app.Response'
  21120. security:
  21121. - ApiKeyAuth: []
  21122. summary: 查询客户资料
  21123. tags:
  21124. - 企业风险管理(app)
  21125. /Ermcp/QueryWarehouseInfo:
  21126. get:
  21127. parameters:
  21128. - description: 用户ID
  21129. in: query
  21130. name: userid
  21131. required: true
  21132. type: integer
  21133. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  21134. in: query
  21135. name: status
  21136. type: string
  21137. produces:
  21138. - application/json
  21139. responses:
  21140. "200":
  21141. description: OK
  21142. schema:
  21143. items:
  21144. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  21145. type: array
  21146. "500":
  21147. description: Internal Server Error
  21148. schema:
  21149. $ref: '#/definitions/app.Response'
  21150. security:
  21151. - ApiKeyAuth: []
  21152. summary: 查询仓库信息
  21153. tags:
  21154. - 企业风险管理(app)
  21155. /Ermcp3/QryAreaExpourseContractDetail:
  21156. get:
  21157. parameters:
  21158. - description: 用户ID
  21159. in: query
  21160. name: userid
  21161. required: true
  21162. type: integer
  21163. - description: 套保商品id
  21164. in: query
  21165. name: middlegoodsid
  21166. required: true
  21167. type: integer
  21168. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21169. in: query
  21170. name: cycletype
  21171. required: true
  21172. type: integer
  21173. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21174. 全(0)【原值】
  21175. in: query
  21176. name: cycletime
  21177. required: true
  21178. type: string
  21179. produces:
  21180. - application/json
  21181. responses:
  21182. "200":
  21183. description: OK
  21184. schema:
  21185. items:
  21186. $ref: '#/definitions/models.Ermcp3ExposureContractDetail'
  21187. type: array
  21188. "500":
  21189. description: Internal Server Error
  21190. schema:
  21191. $ref: '#/definitions/app.Response'
  21192. security:
  21193. - ApiKeyAuth: []
  21194. summary: 查询敞口合同明细(敞口报表/现货合同明细)
  21195. tags:
  21196. - 企业风险管理v3(app)
  21197. /Ermcp3/QryAreaExpourseFutuDetail:
  21198. get:
  21199. parameters:
  21200. - description: 用户ID
  21201. in: query
  21202. name: userid
  21203. required: true
  21204. type: integer
  21205. - description: 套保商品id
  21206. in: query
  21207. name: middlegoodsid
  21208. required: true
  21209. type: integer
  21210. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21211. in: query
  21212. name: cycletype
  21213. required: true
  21214. type: integer
  21215. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21216. 全(0)【原值】
  21217. in: query
  21218. name: cycletime
  21219. required: true
  21220. type: string
  21221. produces:
  21222. - application/json
  21223. responses:
  21224. "200":
  21225. description: OK
  21226. schema:
  21227. items:
  21228. $ref: '#/definitions/models.Ermcp3ExposureFutuDetail'
  21229. type: array
  21230. "500":
  21231. description: Internal Server Error
  21232. schema:
  21233. $ref: '#/definitions/app.Response'
  21234. security:
  21235. - ApiKeyAuth: []
  21236. summary: 查询敞口期货明细(敞口报表/期货明细)
  21237. tags:
  21238. - 企业风险管理v3(app)
  21239. /Ermcp3/QryAreaExpourseHedgeplanDetail:
  21240. get:
  21241. parameters:
  21242. - description: 用户ID
  21243. in: query
  21244. name: userid
  21245. required: true
  21246. type: integer
  21247. - description: 套保商品id
  21248. in: query
  21249. name: middlegoodsid
  21250. required: true
  21251. type: integer
  21252. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21253. in: query
  21254. name: cycletype
  21255. required: true
  21256. type: integer
  21257. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21258. 全(0)【原值】
  21259. in: query
  21260. name: cycletime
  21261. required: true
  21262. type: string
  21263. produces:
  21264. - application/json
  21265. responses:
  21266. "200":
  21267. description: OK
  21268. schema:
  21269. items:
  21270. $ref: '#/definitions/models.Ermcp3ExposureHedgeplanDetail'
  21271. type: array
  21272. "500":
  21273. description: Internal Server Error
  21274. schema:
  21275. $ref: '#/definitions/app.Response'
  21276. security:
  21277. - ApiKeyAuth: []
  21278. summary: 查询敞口套保计划明细(敞口报表/套保计划明细)
  21279. tags:
  21280. - 企业风险管理v3(app)
  21281. /Ermcp3/QryAreaExpourseParamChLogDetail:
  21282. get:
  21283. parameters:
  21284. - description: 用户ID
  21285. in: query
  21286. name: userid
  21287. required: true
  21288. type: integer
  21289. - description: 套保商品id
  21290. in: query
  21291. name: middlegoodsid
  21292. required: true
  21293. type: integer
  21294. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21295. in: query
  21296. name: cycletype
  21297. required: true
  21298. type: integer
  21299. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21300. 全(0)【原值】
  21301. in: query
  21302. name: cycletime
  21303. required: true
  21304. type: string
  21305. produces:
  21306. - application/json
  21307. responses:
  21308. "200":
  21309. description: OK
  21310. schema:
  21311. items:
  21312. $ref: '#/definitions/models.Ermcp3ExposureParamChLog'
  21313. type: array
  21314. "500":
  21315. description: Internal Server Error
  21316. schema:
  21317. $ref: '#/definitions/app.Response'
  21318. security:
  21319. - ApiKeyAuth: []
  21320. summary: 查询敞口参数调整明细(敞口报表/参数调整明细)
  21321. tags:
  21322. - 企业风险管理v3(app)
  21323. /Ermcp3/QryAreaExpourseReport:
  21324. get:
  21325. parameters:
  21326. - description: 用户ID
  21327. in: query
  21328. name: userid
  21329. required: true
  21330. type: integer
  21331. - description: 查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口
  21332. in: query
  21333. name: querytype
  21334. required: true
  21335. type: integer
  21336. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21337. in: query
  21338. name: cycletype
  21339. required: true
  21340. type: integer
  21341. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21342. 全(0)【原值】
  21343. in: query
  21344. name: cycletime
  21345. required: true
  21346. type: string
  21347. produces:
  21348. - application/json
  21349. responses:
  21350. "200":
  21351. description: OK
  21352. schema:
  21353. items:
  21354. $ref: '#/definitions/models.Ermcp3ExpourseReport'
  21355. type: array
  21356. "500":
  21357. description: Internal Server Error
  21358. schema:
  21359. $ref: '#/definitions/app.Response'
  21360. security:
  21361. - ApiKeyAuth: []
  21362. summary: 查询敞口报表
  21363. tags:
  21364. - 企业风险管理v3(app)
  21365. /Ermcp3/QryAreaSpotplReport:
  21366. get:
  21367. description: 目前pcweb的日/周/月报表与手机端的汇总维度不同, 所以增加了可选参数sumflag参数, pcweb请填1
  21368. parameters:
  21369. - description: 用户ID
  21370. in: query
  21371. name: userid
  21372. required: true
  21373. type: integer
  21374. - description: 查询类型 1-报表 2-报表明细
  21375. in: query
  21376. name: querytype
  21377. required: true
  21378. type: integer
  21379. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21380. in: query
  21381. name: cycletype
  21382. required: true
  21383. type: integer
  21384. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21385. 全(0)【原值】
  21386. in: query
  21387. name: cycletime
  21388. required: true
  21389. type: string
  21390. - description: 现货品种id(明细必填)
  21391. in: query
  21392. name: deliverygoodsid
  21393. type: integer
  21394. - description: 币种id(明细必填)
  21395. in: query
  21396. name: currencyid
  21397. type: integer
  21398. - description: 日/周/月报表汇总维度 1:品种+品类
  21399. in: query
  21400. name: sumflag
  21401. type: integer
  21402. produces:
  21403. - application/json
  21404. responses:
  21405. "200":
  21406. description: OK
  21407. schema:
  21408. items:
  21409. $ref: '#/definitions/models.Ermcp3AreaSpotPLReport'
  21410. type: array
  21411. "500":
  21412. description: Internal Server Error
  21413. schema:
  21414. $ref: '#/definitions/app.Response'
  21415. security:
  21416. - ApiKeyAuth: []
  21417. summary: 查询现货报表
  21418. tags:
  21419. - 企业风险管理v3(app)
  21420. /Ermcp3/QryAreaStockReport:
  21421. get:
  21422. parameters:
  21423. - description: 用户ID
  21424. in: query
  21425. name: userid
  21426. required: true
  21427. type: integer
  21428. - description: 查询类型 1-报表 2-报表明细
  21429. in: query
  21430. name: querytype
  21431. required: true
  21432. type: integer
  21433. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21434. in: query
  21435. name: cycletype
  21436. required: true
  21437. type: integer
  21438. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21439. 全(0)【原值】
  21440. in: query
  21441. name: cycletime
  21442. required: true
  21443. type: string
  21444. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库
  21445. in: query
  21446. name: sumfields
  21447. type: string
  21448. - description: 品种ID
  21449. in: query
  21450. name: deliverygoodsid
  21451. type: integer
  21452. - description: 品类ID
  21453. in: query
  21454. name: wrstandardid
  21455. type: integer
  21456. - description: 品牌ID
  21457. in: query
  21458. name: spotgoodsbrandid
  21459. type: integer
  21460. - description: 仓库ID
  21461. in: query
  21462. name: warehouseinfoid
  21463. type: integer
  21464. produces:
  21465. - application/json
  21466. responses:
  21467. "200":
  21468. description: OK
  21469. schema:
  21470. items:
  21471. $ref: '#/definitions/models.Ermcp3AreaStockReportEx'
  21472. type: array
  21473. "500":
  21474. description: Internal Server Error
  21475. schema:
  21476. $ref: '#/definitions/app.Response'
  21477. security:
  21478. - ApiKeyAuth: []
  21479. summary: 查询库存报表
  21480. tags:
  21481. - 企业风险管理v3(app)
  21482. /Ermcp3/QryAreaSumPL:
  21483. get:
  21484. parameters:
  21485. - description: 用户ID
  21486. in: query
  21487. name: userid
  21488. required: true
  21489. type: integer
  21490. - description: 查询类型 1-报表 2-报表明细
  21491. in: query
  21492. name: querytype
  21493. required: true
  21494. type: integer
  21495. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21496. in: query
  21497. name: cycletype
  21498. required: true
  21499. type: integer
  21500. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21501. 全(0)【原值】
  21502. in: query
  21503. name: cycletime
  21504. required: true
  21505. type: string
  21506. - description: 币种id(明细必填)
  21507. in: query
  21508. name: currencyid
  21509. type: integer
  21510. - description: 套保品种ID, 查询类型为2时起效
  21511. in: query
  21512. name: middlegoodsid
  21513. type: integer
  21514. produces:
  21515. - application/json
  21516. responses:
  21517. "200":
  21518. description: OK
  21519. schema:
  21520. items:
  21521. $ref: '#/definitions/models.Ermcp3ArealSumPL'
  21522. type: array
  21523. "500":
  21524. description: Internal Server Error
  21525. schema:
  21526. $ref: '#/definitions/app.Response'
  21527. security:
  21528. - ApiKeyAuth: []
  21529. summary: 查询汇总损益表
  21530. tags:
  21531. - 企业风险管理v3(app)
  21532. /Ermcp3/QryFinanceReport:
  21533. get:
  21534. parameters:
  21535. - description: 用户ID
  21536. in: query
  21537. name: userid
  21538. required: true
  21539. type: integer
  21540. - description: 查询类型 1-报表 2-报表明细
  21541. in: query
  21542. name: querytype
  21543. required: true
  21544. type: integer
  21545. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21546. in: query
  21547. name: cycletype
  21548. required: true
  21549. type: integer
  21550. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21551. 全(0)【原值】
  21552. in: query
  21553. name: cycletime
  21554. required: true
  21555. type: string
  21556. - description: 币种id(报表明细必填)
  21557. in: query
  21558. name: currencyid
  21559. type: integer
  21560. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌
  21561. in: query
  21562. name: sumfields
  21563. type: string
  21564. produces:
  21565. - application/json
  21566. responses:
  21567. "200":
  21568. description: OK
  21569. schema:
  21570. items:
  21571. $ref: '#/definitions/models.Ermcp3FinanceReport'
  21572. type: array
  21573. "500":
  21574. description: Internal Server Error
  21575. schema:
  21576. $ref: '#/definitions/app.Response'
  21577. security:
  21578. - ApiKeyAuth: []
  21579. summary: 查询财务报表
  21580. tags:
  21581. - 企业风险管理v3(app)
  21582. /Ermcp3/QrySCMiddleGoodsReport:
  21583. get:
  21584. parameters:
  21585. - description: 用户ID
  21586. in: query
  21587. name: userid
  21588. required: true
  21589. type: integer
  21590. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21591. in: query
  21592. name: cycletype
  21593. required: true
  21594. type: integer
  21595. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21596. 全(0)【原值】
  21597. in: query
  21598. name: cycletime
  21599. required: true
  21600. type: string
  21601. - description: 合同id
  21602. in: query
  21603. name: spotcontractid
  21604. type: integer
  21605. - description: 套保品种id
  21606. in: query
  21607. name: middlegoodsid
  21608. type: integer
  21609. - description: 现货品种id
  21610. in: query
  21611. name: deliverygoodsid
  21612. type: integer
  21613. - description: 现货商品id
  21614. in: query
  21615. name: wrstandardid
  21616. type: integer
  21617. - description: 合同编号(模糊匹配)
  21618. in: query
  21619. name: contractno
  21620. type: string
  21621. produces:
  21622. - application/json
  21623. responses:
  21624. "200":
  21625. description: OK
  21626. schema:
  21627. items:
  21628. $ref: '#/definitions/models.Ermcp3SCMiddleGoodsReport'
  21629. type: array
  21630. "500":
  21631. description: Internal Server Error
  21632. schema:
  21633. $ref: '#/definitions/app.Response'
  21634. security:
  21635. - ApiKeyAuth: []
  21636. summary: 查询定价报表
  21637. tags:
  21638. - 企业风险管理v3(app)
  21639. /Ermcp3/QryTaFutureDataReport:
  21640. get:
  21641. parameters:
  21642. - description: 用户ID
  21643. in: query
  21644. name: userid
  21645. required: true
  21646. type: integer
  21647. - description: 查询类型 1-报表 2-报表明细
  21648. in: query
  21649. name: querytype
  21650. required: true
  21651. type: integer
  21652. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21653. in: query
  21654. name: cycletype
  21655. required: true
  21656. type: integer
  21657. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21658. 全(0)【原值】
  21659. in: query
  21660. name: cycletime
  21661. required: true
  21662. type: string
  21663. - description: 币种id(查明细必填)
  21664. in: query
  21665. name: currencyid
  21666. type: integer
  21667. - description: 品种id(查明细必填)
  21668. in: query
  21669. name: goodsgroupid
  21670. type: integer
  21671. - description: 商品id(查明细必填)
  21672. in: query
  21673. name: goodsid
  21674. type: integer
  21675. - description: 买卖方向(查明细必填)
  21676. in: query
  21677. name: buyorsell
  21678. type: integer
  21679. produces:
  21680. - application/json
  21681. responses:
  21682. "200":
  21683. description: OK
  21684. schema:
  21685. items:
  21686. $ref: '#/definitions/models.Ermcp3TaFutuReDataReport'
  21687. type: array
  21688. "500":
  21689. description: Internal Server Error
  21690. schema:
  21691. $ref: '#/definitions/app.Response'
  21692. security:
  21693. - ApiKeyAuth: []
  21694. summary: 查询期货报表
  21695. tags:
  21696. - 企业风险管理v3(app)
  21697. /Ermcp3/QueryAreaStock:
  21698. get:
  21699. parameters:
  21700. - description: 用户ID
  21701. in: query
  21702. name: userid
  21703. required: true
  21704. type: integer
  21705. produces:
  21706. - application/json
  21707. responses:
  21708. "200":
  21709. description: OK
  21710. schema:
  21711. items:
  21712. $ref: '#/definitions/models.Ermcp3AreaStock'
  21713. type: array
  21714. "500":
  21715. description: Internal Server Error
  21716. schema:
  21717. $ref: '#/definitions/app.Response'
  21718. security:
  21719. - ApiKeyAuth: []
  21720. summary: 查询机构库存(库存管理/当前库存)
  21721. tags:
  21722. - 企业风险管理v3(app)
  21723. /Ermcp3/QueryAreaStockApply:
  21724. get:
  21725. parameters:
  21726. - description: 用户ID
  21727. in: query
  21728. name: userid
  21729. required: true
  21730. type: integer
  21731. - description: 用户类型 2-机构 7-企业成员
  21732. in: query
  21733. name: usertype
  21734. type: integer
  21735. - description: 现货商品ID
  21736. in: query
  21737. name: deliverygoodsid
  21738. type: integer
  21739. - description: 出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  21740. in: query
  21741. name: inouttype
  21742. type: string
  21743. - description: 合同ID
  21744. in: query
  21745. name: spotcontractid
  21746. type: integer
  21747. - description: 品类ID
  21748. in: query
  21749. name: wrstandardid
  21750. type: integer
  21751. - description: 品牌ID
  21752. in: query
  21753. name: spotgoodsbrandid
  21754. type: integer
  21755. - description: 仓库ID
  21756. in: query
  21757. name: warehouseinfoid
  21758. type: integer
  21759. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  21760. in: query
  21761. name: applystatus
  21762. type: string
  21763. produces:
  21764. - application/json
  21765. responses:
  21766. "200":
  21767. description: OK
  21768. schema:
  21769. items:
  21770. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  21771. type: array
  21772. "500":
  21773. description: Internal Server Error
  21774. schema:
  21775. $ref: '#/definitions/app.Response'
  21776. security:
  21777. - ApiKeyAuth: []
  21778. summary: 查询库存申请(出入库记录|库存审核)
  21779. tags:
  21780. - 企业风险管理v3(app)
  21781. /Ermcp3/QueryAreaStockApplySum:
  21782. get:
  21783. parameters:
  21784. - description: 合同ID
  21785. in: query
  21786. name: spotcontractid
  21787. required: true
  21788. type: integer
  21789. produces:
  21790. - application/json
  21791. responses:
  21792. "200":
  21793. description: OK
  21794. schema:
  21795. items:
  21796. $ref: '#/definitions/models.Ermcp3AreaStockApplySum'
  21797. type: array
  21798. "500":
  21799. description: Internal Server Error
  21800. schema:
  21801. $ref: '#/definitions/app.Response'
  21802. security:
  21803. - ApiKeyAuth: []
  21804. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  21805. tags:
  21806. - 企业风险管理v3(app)
  21807. /Ermcp3/QueryDGFactoryItem:
  21808. get:
  21809. parameters:
  21810. - description: 用户id
  21811. in: query
  21812. name: userid
  21813. type: integer
  21814. - description: 用户类型 2-机构 7-企业成员
  21815. in: query
  21816. name: usertype
  21817. type: integer
  21818. - description: 选择项ID(SEQ_DGFACTORYITEM)
  21819. in: query
  21820. name: dgfactoryitemid
  21821. type: integer
  21822. - description: 现货品种ID
  21823. in: query
  21824. name: deliverygoodsid
  21825. type: integer
  21826. - description: 要素项类型
  21827. in: query
  21828. name: dgfactoryitemtypeid
  21829. type: integer
  21830. - description: 顺序
  21831. in: query
  21832. name: orderindex
  21833. type: integer
  21834. produces:
  21835. - application/json
  21836. responses:
  21837. "200":
  21838. description: OK
  21839. schema:
  21840. items:
  21841. $ref: '#/definitions/models.ErmcpDGFactoryItem'
  21842. type: array
  21843. "500":
  21844. description: Internal Server Error
  21845. schema:
  21846. $ref: '#/definitions/app.Response'
  21847. security:
  21848. - ApiKeyAuth: []
  21849. summary: 查询品种要素定义项
  21850. tags:
  21851. - 企业风险管理v3(app)
  21852. /Ermcp3/QueryDeliveryGoods:
  21853. get:
  21854. parameters:
  21855. - description: 用户id
  21856. in: query
  21857. name: userid
  21858. required: true
  21859. type: integer
  21860. - description: 用户类型 2-机构 7-企业成员
  21861. in: query
  21862. name: usertype
  21863. type: integer
  21864. - description: 排除已配置的业务类型商品 1-套保 2-套利
  21865. in: query
  21866. name: excludecfg
  21867. type: integer
  21868. produces:
  21869. - application/json
  21870. responses:
  21871. "200":
  21872. description: OK
  21873. schema:
  21874. items:
  21875. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  21876. type: array
  21877. "500":
  21878. description: Internal Server Error
  21879. schema:
  21880. $ref: '#/definitions/app.Response'
  21881. security:
  21882. - ApiKeyAuth: []
  21883. summary: 查询现货商品
  21884. tags:
  21885. - 企业风险管理v3(app)
  21886. /Ermcp3/QueryDeliveryGoodsDetail:
  21887. get:
  21888. parameters:
  21889. - description: 用户id
  21890. in: query
  21891. name: userid
  21892. required: true
  21893. type: integer
  21894. - description: 用户类型 2-机构 7-企业成员
  21895. in: query
  21896. name: usertype
  21897. type: integer
  21898. - description: 现货商品id
  21899. in: query
  21900. name: deliverygoodsid
  21901. type: integer
  21902. - description: 过滤下级为空, 1-过滤. 比如 品种大豆的下级品类列表为空, 则大豆不显示; 比如品类的下级套保品列表为空, 则该品类不显示
  21903. in: query
  21904. name: filtersubempty
  21905. type: integer
  21906. produces:
  21907. - application/json
  21908. responses:
  21909. "200":
  21910. description: OK
  21911. schema:
  21912. items:
  21913. $ref: '#/definitions/models.XHDeliveryGoods'
  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/QueryErmcp3ContractMiddleGoodsCfg:
  21925. get:
  21926. parameters:
  21927. - description: 合同id
  21928. in: query
  21929. name: spotcontractid
  21930. required: true
  21931. type: string
  21932. produces:
  21933. - application/json
  21934. responses:
  21935. "200":
  21936. description: OK
  21937. schema:
  21938. items:
  21939. $ref: '#/definitions/models.Ermcp3ContractMiddleGoodsCfg'
  21940. type: array
  21941. "500":
  21942. description: Internal Server Error
  21943. schema:
  21944. $ref: '#/definitions/app.Response'
  21945. security:
  21946. - ApiKeyAuth: []
  21947. summary: 查询现货合同期现配置信息
  21948. tags:
  21949. - 企业风险管理v3(app)
  21950. /Ermcp3/QueryExposureDetail:
  21951. get:
  21952. parameters:
  21953. - description: 用户id
  21954. in: query
  21955. name: userid
  21956. required: true
  21957. type: integer
  21958. - description: 用户类型 2-机构 7-企业成员
  21959. in: query
  21960. name: usertype
  21961. type: integer
  21962. - description: 套保商品
  21963. in: query
  21964. name: middlegoodsid
  21965. required: true
  21966. type: integer
  21967. produces:
  21968. - application/json
  21969. responses:
  21970. "200":
  21971. description: OK
  21972. schema:
  21973. items:
  21974. $ref: '#/definitions/models.Ermcp3ExposureDetail'
  21975. type: array
  21976. "500":
  21977. description: Internal Server Error
  21978. schema:
  21979. $ref: '#/definitions/app.Response'
  21980. security:
  21981. - ApiKeyAuth: []
  21982. summary: 查询敞口现货明细
  21983. tags:
  21984. - 企业风险管理v3(app)
  21985. /Ermcp3/QueryExposureSpot:
  21986. get:
  21987. parameters:
  21988. - description: 用户id
  21989. in: query
  21990. name: userid
  21991. required: true
  21992. type: integer
  21993. - description: 用户类型 2-机构 7-企业成员
  21994. in: query
  21995. name: usertype
  21996. type: integer
  21997. produces:
  21998. - application/json
  21999. responses:
  22000. "200":
  22001. description: OK
  22002. schema:
  22003. items:
  22004. $ref: '#/definitions/models.Ermcp3AreaSpot'
  22005. type: array
  22006. "500":
  22007. description: Internal Server Error
  22008. schema:
  22009. $ref: '#/definitions/app.Response'
  22010. security:
  22011. - ApiKeyAuth: []
  22012. summary: 查询敞口现货头寸(敞口/现货头寸)
  22013. tags:
  22014. - 企业风险管理v3(app)
  22015. /Ermcp3/QueryExposureSpotDetail:
  22016. get:
  22017. parameters:
  22018. - description: 用户id
  22019. in: query
  22020. name: userid
  22021. required: true
  22022. type: integer
  22023. - description: 用户类型 2-机构 7-企业成员
  22024. in: query
  22025. name: usertype
  22026. type: integer
  22027. - description: 现货商品ID
  22028. in: query
  22029. name: wrstandardid
  22030. required: true
  22031. type: integer
  22032. produces:
  22033. - application/json
  22034. responses:
  22035. "200":
  22036. description: OK
  22037. schema:
  22038. items:
  22039. $ref: '#/definitions/models.Ermcp3AreaSpotDetail'
  22040. type: array
  22041. "500":
  22042. description: Internal Server Error
  22043. schema:
  22044. $ref: '#/definitions/app.Response'
  22045. security:
  22046. - ApiKeyAuth: []
  22047. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  22048. tags:
  22049. - 企业风险管理v3(app)
  22050. /Ermcp3/QueryGoodsGroup:
  22051. get:
  22052. parameters:
  22053. - description: 用户id
  22054. in: query
  22055. name: userid
  22056. required: true
  22057. type: integer
  22058. - description: 用户类型 2-机构 7-企业成员
  22059. in: query
  22060. name: usertype
  22061. type: integer
  22062. - description: 排除套保品中已关联的商品组 1-排除
  22063. in: query
  22064. name: excludecfg
  22065. type: integer
  22066. produces:
  22067. - application/json
  22068. responses:
  22069. "200":
  22070. description: OK
  22071. schema:
  22072. items:
  22073. $ref: '#/definitions/models.Ermcp3GoodsGroup'
  22074. type: array
  22075. "500":
  22076. description: Internal Server Error
  22077. schema:
  22078. $ref: '#/definitions/app.Response'
  22079. security:
  22080. - ApiKeyAuth: []
  22081. summary: 查询期货商品组
  22082. tags:
  22083. - 企业风险管理v3(app)
  22084. /Ermcp3/QueryGoodsWrstandard:
  22085. get:
  22086. parameters:
  22087. - description: 用户id
  22088. in: query
  22089. name: userid
  22090. required: true
  22091. type: integer
  22092. - description: 用户类型 2-机构 7-企业成员
  22093. in: query
  22094. name: usertype
  22095. type: integer
  22096. - description: 现货商品id
  22097. in: query
  22098. name: deliverygoodsid
  22099. type: integer
  22100. produces:
  22101. - application/json
  22102. responses:
  22103. "200":
  22104. description: OK
  22105. schema:
  22106. items:
  22107. $ref: '#/definitions/models.Ermcp3Wrstandard'
  22108. type: array
  22109. "500":
  22110. description: Internal Server Error
  22111. schema:
  22112. $ref: '#/definitions/app.Response'
  22113. security:
  22114. - ApiKeyAuth: []
  22115. summary: 查询商品品类
  22116. tags:
  22117. - 企业风险管理v3(app)
  22118. /Ermcp3/QueryGoodsbrand:
  22119. get:
  22120. parameters:
  22121. - description: 用户id
  22122. in: query
  22123. name: userid
  22124. required: true
  22125. type: integer
  22126. - description: 用户类型 2-机构 7-企业成员
  22127. in: query
  22128. name: usertype
  22129. type: integer
  22130. produces:
  22131. - application/json
  22132. responses:
  22133. "200":
  22134. description: OK
  22135. schema:
  22136. items:
  22137. $ref: '#/definitions/models.Ermcp3Brand'
  22138. type: array
  22139. "500":
  22140. description: Internal Server Error
  22141. schema:
  22142. $ref: '#/definitions/app.Response'
  22143. security:
  22144. - ApiKeyAuth: []
  22145. summary: 查询商品品牌
  22146. tags:
  22147. - 企业风险管理v3(app)
  22148. /Ermcp3/QueryHPMiddleGoods:
  22149. get:
  22150. parameters:
  22151. - description: 用户ID(填登录用户的userid)
  22152. in: query
  22153. name: userid
  22154. required: true
  22155. type: integer
  22156. - description: 买卖方向 0-买 1-卖
  22157. in: query
  22158. name: buyorsell
  22159. required: true
  22160. type: integer
  22161. - description: 商品组id
  22162. in: query
  22163. name: goodsgroupid
  22164. required: true
  22165. type: integer
  22166. - description: 套保计划编号(模糊匹配)
  22167. in: query
  22168. name: hedgeplanno
  22169. type: string
  22170. - description: 现货商品名称(模糊匹配)
  22171. in: query
  22172. name: wrstandardname
  22173. type: string
  22174. produces:
  22175. - application/json
  22176. responses:
  22177. "200":
  22178. description: OK
  22179. schema:
  22180. items:
  22181. $ref: '#/definitions/models.Ermcp3HPMiddleGoods'
  22182. type: array
  22183. "500":
  22184. description: Internal Server Error
  22185. schema:
  22186. $ref: '#/definitions/app.Response'
  22187. security:
  22188. - ApiKeyAuth: []
  22189. summary: 查询可关联套保计划
  22190. tags:
  22191. - 企业风险管理v3(app)
  22192. /Ermcp3/QueryHedgePlan:
  22193. get:
  22194. parameters:
  22195. - description: 用户ID
  22196. in: query
  22197. name: userid
  22198. required: true
  22199. type: integer
  22200. - description: 用户类型 2-机构 7-企业成员
  22201. in: query
  22202. name: usertype
  22203. type: integer
  22204. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  22205. in: query
  22206. name: hedgeplanstatus
  22207. required: true
  22208. type: string
  22209. produces:
  22210. - application/json
  22211. responses:
  22212. "200":
  22213. description: OK
  22214. schema:
  22215. items:
  22216. $ref: '#/definitions/models.Ermcp3HedgePlan'
  22217. type: array
  22218. "500":
  22219. description: Internal Server Error
  22220. schema:
  22221. $ref: '#/definitions/app.Response'
  22222. security:
  22223. - ApiKeyAuth: []
  22224. summary: 查询套保计划
  22225. tags:
  22226. - 企业风险管理v3(app)
  22227. /Ermcp3/QueryInnerTradeLink:
  22228. get:
  22229. description: 页面 app 现货->期现关联->外部成交单关联->点"解除关联"按钮->解除外部关联的页面信息
  22230. parameters:
  22231. - description: 外部成交单号
  22232. in: query
  22233. name: outtradeid
  22234. required: true
  22235. type: integer
  22236. produces:
  22237. - application/json
  22238. responses:
  22239. "200":
  22240. description: OK
  22241. schema:
  22242. items:
  22243. $ref: '#/definitions/models.Ermcp3InnerTradeLink'
  22244. type: array
  22245. "500":
  22246. description: Internal Server Error
  22247. schema:
  22248. $ref: '#/definitions/app.Response'
  22249. security:
  22250. - ApiKeyAuth: []
  22251. summary: 查询外部成交单关联的内部单信息(在解除外部关联页面使用)
  22252. tags:
  22253. - 企业风险管理v3(app)
  22254. /Ermcp3/QueryMiddleGoodsDetail:
  22255. get:
  22256. parameters:
  22257. - description: 用户id
  22258. in: query
  22259. name: userid
  22260. required: true
  22261. type: integer
  22262. - description: 用户类型 2-机构 7-企业成员
  22263. in: query
  22264. name: usertype
  22265. type: integer
  22266. - description: 套保品种id
  22267. in: query
  22268. name: middlegoodsid
  22269. type: integer
  22270. produces:
  22271. - application/json
  22272. responses:
  22273. "200":
  22274. description: OK
  22275. schema:
  22276. items:
  22277. $ref: '#/definitions/models.TBMiddleGoods'
  22278. type: array
  22279. "500":
  22280. description: Internal Server Error
  22281. schema:
  22282. $ref: '#/definitions/app.Response'
  22283. security:
  22284. - ApiKeyAuth: []
  22285. summary: 查询套保品种详情(套保品种/商品详情)
  22286. tags:
  22287. - 企业风险管理v3(app)
  22288. /Ermcp3/QueryOutTradeLink:
  22289. get:
  22290. description: 页面 app 现货->期现关联->外部成交单关联
  22291. parameters:
  22292. - description: 用户ID(填登录用户的userid)
  22293. in: query
  22294. name: userid
  22295. required: true
  22296. type: integer
  22297. - description: 外部订单号(模糊匹配)
  22298. in: query
  22299. name: outtradeid
  22300. type: string
  22301. - description: 合约名称/代码(模糊匹配)
  22302. in: query
  22303. name: goodsname
  22304. type: string
  22305. - description: 关联状态 0-未关联 1-已关联
  22306. in: query
  22307. name: hasinnerorder
  22308. type: integer
  22309. produces:
  22310. - application/json
  22311. responses:
  22312. "200":
  22313. description: OK
  22314. schema:
  22315. items:
  22316. $ref: '#/definitions/models.Ermcp3OutTradeLink'
  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/QueryPaAreaAuditCfg:
  22328. get:
  22329. parameters:
  22330. - description: 用户id
  22331. in: query
  22332. name: userid
  22333. required: true
  22334. type: integer
  22335. produces:
  22336. - application/json
  22337. responses:
  22338. "200":
  22339. description: OK
  22340. schema:
  22341. items:
  22342. $ref: '#/definitions/models.Ermcp3PaAreaAuditCfg'
  22343. type: array
  22344. "500":
  22345. description: Internal Server Error
  22346. schema:
  22347. $ref: '#/definitions/app.Response'
  22348. security:
  22349. - ApiKeyAuth: []
  22350. summary: 查询审核设置
  22351. tags:
  22352. - 企业风险管理v3(app)
  22353. /Ermcp3/QueryPaAreaSubject:
  22354. get:
  22355. parameters:
  22356. - description: 用户id
  22357. in: query
  22358. name: userid
  22359. required: true
  22360. type: integer
  22361. - description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  22362. in: query
  22363. name: subjectid
  22364. type: integer
  22365. - description: 主体类型 - 1:交易主体 2:业务部门
  22366. in: query
  22367. name: subjecttype
  22368. type: integer
  22369. - description: '主体状态 - 1:正常 2: 停用'
  22370. in: query
  22371. name: subjectstatus
  22372. type: integer
  22373. produces:
  22374. - application/json
  22375. responses:
  22376. "200":
  22377. description: OK
  22378. schema:
  22379. items:
  22380. $ref: '#/definitions/models.Ermcp3PaAreaSubject'
  22381. type: array
  22382. "500":
  22383. description: Internal Server Error
  22384. schema:
  22385. $ref: '#/definitions/app.Response'
  22386. security:
  22387. - ApiKeyAuth: []
  22388. summary: 查询交易主体
  22389. tags:
  22390. - 企业风险管理v3(app)
  22391. /Ermcp3/QueryPaTradeLink:
  22392. get:
  22393. description: 页面 app 现货->期现关联->期现单据关联
  22394. parameters:
  22395. - description: 用户ID
  22396. in: query
  22397. name: userid
  22398. required: true
  22399. type: integer
  22400. produces:
  22401. - application/json
  22402. responses:
  22403. "200":
  22404. description: OK
  22405. schema:
  22406. items:
  22407. $ref: '#/definitions/models.Ermcp3PaTradeLink'
  22408. type: array
  22409. "500":
  22410. description: Internal Server Error
  22411. schema:
  22412. $ref: '#/definitions/app.Response'
  22413. security:
  22414. - ApiKeyAuth: []
  22415. summary: 查询期现单据关联
  22416. tags:
  22417. - 企业风险管理v3(app)
  22418. /Ermcp3/QueryPaTradeLinkDetail:
  22419. get:
  22420. description: 页面 app 现货->期现关联->关联记录
  22421. parameters:
  22422. - description: 用户ID(填登录用户的userid)
  22423. in: query
  22424. name: userid
  22425. required: true
  22426. type: integer
  22427. - description: 关联状态 1:成功 2:失败 3:解绑
  22428. in: query
  22429. name: linkstatus
  22430. type: integer
  22431. - description: 期货订单号(模糊匹配)
  22432. in: query
  22433. name: tradeid
  22434. type: string
  22435. - description: 现货编号(模糊匹配)
  22436. in: query
  22437. name: contractno
  22438. type: string
  22439. - description: 期货账户(模糊匹配)
  22440. in: query
  22441. name: taname
  22442. type: string
  22443. produces:
  22444. - application/json
  22445. responses:
  22446. "200":
  22447. description: OK
  22448. schema:
  22449. items:
  22450. $ref: '#/definitions/models.Ermcp3TradeLinkDetail'
  22451. type: array
  22452. "500":
  22453. description: Internal Server Error
  22454. schema:
  22455. $ref: '#/definitions/app.Response'
  22456. security:
  22457. - ApiKeyAuth: []
  22458. summary: 查询期现关联记录
  22459. tags:
  22460. - 企业风险管理v3(app)
  22461. /Ermcp3/QueryParamChangeApp:
  22462. get:
  22463. description: |-
  22464. 原型页面:
  22465. 1.商品信息->商品参数修改流水-> 增值税税率 | 折算系数 | 成本权重; 流水页面查申请状态为“审核通过”的记录
  22466. 2.风管审核->套保比例审核 | 折算系数审核 | 增值税税率审核 | 成本权重审核
  22467. parameters:
  22468. - description: 用户ID
  22469. in: query
  22470. name: userid
  22471. required: true
  22472. type: integer
  22473. - description: 现货品种id
  22474. in: query
  22475. name: deliverygoodsid
  22476. type: integer
  22477. - description: 现货商品id
  22478. in: query
  22479. name: wrstandardid
  22480. type: integer
  22481. - description: 套保商品id
  22482. in: query
  22483. name: middlegoodsid
  22484. type: integer
  22485. - description: 操作类型 1:新增 2:修改
  22486. in: query
  22487. name: operatetype
  22488. type: integer
  22489. - description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  22490. in: query
  22491. name: paramchangetype
  22492. type: integer
  22493. - description: 申请状态(逗号隔开,如1,2,3) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  22494. in: query
  22495. name: ftstatus
  22496. type: string
  22497. produces:
  22498. - application/json
  22499. responses:
  22500. "200":
  22501. description: OK
  22502. schema:
  22503. items:
  22504. $ref: '#/definitions/models.Ermcp3ParamChangeApp'
  22505. type: array
  22506. "500":
  22507. description: Internal Server Error
  22508. schema:
  22509. $ref: '#/definitions/app.Response'
  22510. security:
  22511. - ApiKeyAuth: []
  22512. summary: 查询现货商品参数变更申请(流水)
  22513. tags:
  22514. - 企业风险管理v3(app)
  22515. /Ermcp3/QueryRootUserAccount:
  22516. get:
  22517. parameters:
  22518. - description: 用户ID
  22519. in: query
  22520. name: userid
  22521. required: true
  22522. type: integer
  22523. produces:
  22524. - application/json
  22525. responses:
  22526. "200":
  22527. description: OK
  22528. schema:
  22529. items:
  22530. $ref: '#/definitions/models.Ermcp3RootUserAccount'
  22531. type: array
  22532. "500":
  22533. description: Internal Server Error
  22534. schema:
  22535. $ref: '#/definitions/app.Response'
  22536. security:
  22537. - ApiKeyAuth: []
  22538. summary: 查询顶级用户信息
  22539. tags:
  22540. - 企业风险管理v3(app)
  22541. /Ermcp3/QuerySCMiddleGoods:
  22542. get:
  22543. description: |-
  22544. 页面 app 现货->期现关联->期现单据关联->点"关联"按钮->弹出界面 : 现货订单
  22545. 现货编号 即 合同编号
  22546. parameters:
  22547. - description: 用户ID(填登录用户的userid)
  22548. in: query
  22549. name: userid
  22550. required: true
  22551. type: integer
  22552. - description: 买卖方向 0-买 1-卖
  22553. in: query
  22554. name: buyorsell
  22555. required: true
  22556. type: integer
  22557. - description: 商品组id
  22558. in: query
  22559. name: goodsgroupid
  22560. required: true
  22561. type: integer
  22562. - description: 业务类型 1:套保 2:套利
  22563. in: query
  22564. name: biztype
  22565. type: integer
  22566. - description: 现货编号(模糊匹配)
  22567. in: query
  22568. name: contractno
  22569. type: string
  22570. - description: 对手方(模糊匹配)
  22571. in: query
  22572. name: customername
  22573. type: string
  22574. - description: 现货商品名称(模糊匹配)
  22575. in: query
  22576. name: wrstandardname
  22577. type: string
  22578. produces:
  22579. - application/json
  22580. responses:
  22581. "200":
  22582. description: OK
  22583. schema:
  22584. items:
  22585. $ref: '#/definitions/models.Ermcp3SCMiddleGoods'
  22586. type: array
  22587. "500":
  22588. description: Internal Server Error
  22589. schema:
  22590. $ref: '#/definitions/app.Response'
  22591. security:
  22592. - ApiKeyAuth: []
  22593. summary: 查询现货订单
  22594. tags:
  22595. - 企业风险管理v3(app)
  22596. /Ermcp3/QuerySpotContract:
  22597. get:
  22598. parameters:
  22599. - description: 用户id(当指定contractid, userid可不填)
  22600. in: query
  22601. name: userid
  22602. required: true
  22603. type: integer
  22604. - description: 用户类型 2-机构 7-企业成员
  22605. in: query
  22606. name: usertype
  22607. type: integer
  22608. - description: 合同类型 1-采购, -1-销售
  22609. in: query
  22610. name: contracttype
  22611. type: integer
  22612. - description: 查询类型(逗号隔开, 如1,2,3) 1-未提交 2-待审核 3-履约中 4-已完成
  22613. in: query
  22614. name: querytype
  22615. type: string
  22616. - description: 合同ID(SpotContractId)
  22617. in: query
  22618. name: contractid
  22619. type: string
  22620. - description: 合同编号(模糊匹配)
  22621. in: query
  22622. name: contractno
  22623. type: string
  22624. - description: 商品名称(模糊匹配)
  22625. in: query
  22626. name: wrstandardname
  22627. type: string
  22628. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中
  22629. 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  22630. in: query
  22631. name: status
  22632. type: string
  22633. - description: 是否只查今日的合同 1-查今日合同
  22634. in: query
  22635. name: istoday
  22636. type: integer
  22637. produces:
  22638. - application/json
  22639. responses:
  22640. "200":
  22641. description: OK
  22642. schema:
  22643. items:
  22644. $ref: '#/definitions/models.Ermcp3Contract'
  22645. type: array
  22646. "500":
  22647. description: Internal Server Error
  22648. schema:
  22649. $ref: '#/definitions/app.Response'
  22650. security:
  22651. - ApiKeyAuth: []
  22652. summary: 查询现货合同
  22653. tags:
  22654. - 企业风险管理v3(app)
  22655. /Ermcp3/QuerySpotContractBS:
  22656. get:
  22657. parameters:
  22658. - description: 用户id
  22659. in: query
  22660. name: userid
  22661. required: true
  22662. type: integer
  22663. - description: 用户类型 2-机构 7-企业成员
  22664. in: query
  22665. name: usertype
  22666. type: integer
  22667. - description: 合同类型 1-采购, -1-销售
  22668. in: query
  22669. name: contracttype
  22670. required: true
  22671. type: integer
  22672. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  22673. in: query
  22674. name: querytype
  22675. type: integer
  22676. - description: 合同ID(SpotContractId)
  22677. in: query
  22678. name: contractid
  22679. type: string
  22680. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中
  22681. 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  22682. in: query
  22683. name: status
  22684. type: string
  22685. - description: 是否只查今日的合同 1-查今日合同
  22686. in: query
  22687. name: istoday
  22688. type: integer
  22689. produces:
  22690. - application/json
  22691. responses:
  22692. "200":
  22693. description: OK
  22694. schema:
  22695. items:
  22696. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  22697. type: array
  22698. "500":
  22699. description: Internal Server Error
  22700. schema:
  22701. $ref: '#/definitions/app.Response'
  22702. security:
  22703. - ApiKeyAuth: []
  22704. summary: 查询合同(采购/销售)
  22705. tags:
  22706. - 企业风险管理v3(app)
  22707. /Ermcp3/QuerySpotGoodsPrice:
  22708. get:
  22709. parameters:
  22710. - description: 用户ID
  22711. in: query
  22712. name: userid
  22713. required: true
  22714. type: integer
  22715. produces:
  22716. - application/json
  22717. responses:
  22718. "200":
  22719. description: OK
  22720. schema:
  22721. items:
  22722. $ref: '#/definitions/models.Ermcp3SpotGoodsPrice'
  22723. type: array
  22724. "500":
  22725. description: Internal Server Error
  22726. schema:
  22727. $ref: '#/definitions/app.Response'
  22728. security:
  22729. - ApiKeyAuth: []
  22730. summary: 查询现货市价(现货市价)
  22731. tags:
  22732. - 企业风险管理v3(app)
  22733. /Ermcp3/QuerySpotGoodsPriceLog:
  22734. get:
  22735. parameters:
  22736. - description: 用户ID
  22737. in: query
  22738. name: userid
  22739. required: true
  22740. type: integer
  22741. - description: 现货商品ID
  22742. in: query
  22743. name: deliverygoodsid
  22744. required: true
  22745. type: integer
  22746. - description: 品牌ID
  22747. in: query
  22748. name: brandid
  22749. type: integer
  22750. - description: 品类ID
  22751. in: query
  22752. name: wrstandardid
  22753. type: integer
  22754. produces:
  22755. - application/json
  22756. responses:
  22757. "200":
  22758. description: OK
  22759. schema:
  22760. items:
  22761. $ref: '#/definitions/models.Ermcp3SpotGoodsPriceLog'
  22762. type: array
  22763. "500":
  22764. description: Internal Server Error
  22765. schema:
  22766. $ref: '#/definitions/app.Response'
  22767. security:
  22768. - ApiKeyAuth: []
  22769. summary: 查询现货市价详情(现货市价/详情)
  22770. tags:
  22771. - 企业风险管理v3(app)
  22772. /Ermcp3/QuerySubTaaccount:
  22773. get:
  22774. description: 页面 app 现货->期现关联->外部成交单关联->点"关联"按钮->选择期货子账户
  22775. parameters:
  22776. - description: 母账号id
  22777. in: query
  22778. name: parentaccountid
  22779. type: integer
  22780. - description: 母账号代码
  22781. in: query
  22782. name: parentaccountcode
  22783. type: string
  22784. produces:
  22785. - application/json
  22786. responses:
  22787. "200":
  22788. description: OK
  22789. schema:
  22790. items:
  22791. $ref: '#/definitions/models.Ermcp3SubTaaccount'
  22792. type: array
  22793. "500":
  22794. description: Internal Server Error
  22795. schema:
  22796. $ref: '#/definitions/app.Response'
  22797. security:
  22798. - ApiKeyAuth: []
  22799. summary: 查询期货子账户
  22800. tags:
  22801. - 企业风险管理v3(app)
  22802. /Ermcp8/QueryERMCP2HedgedItemSpotDetail:
  22803. get:
  22804. parameters:
  22805. - description: 套期项目ID
  22806. in: query
  22807. name: hedgeditemid
  22808. required: true
  22809. type: integer
  22810. produces:
  22811. - application/json
  22812. responses:
  22813. "200":
  22814. description: OK
  22815. schema:
  22816. items:
  22817. $ref: '#/definitions/models.Ermcp2hedgeditemspotDetail'
  22818. type: array
  22819. "500":
  22820. description: Internal Server Error
  22821. schema:
  22822. $ref: '#/definitions/app.Response'
  22823. security:
  22824. - ApiKeyAuth: []
  22825. summary: 现货成交明细查询
  22826. tags:
  22827. - 企业风险管理v8
  22828. /Ermcp8/QueryERMCP2HedgedItemspot:
  22829. get:
  22830. parameters:
  22831. - description: 套期项目ID
  22832. in: query
  22833. name: hedgeditemid
  22834. required: true
  22835. type: integer
  22836. produces:
  22837. - application/json
  22838. responses:
  22839. "200":
  22840. description: OK
  22841. schema:
  22842. items:
  22843. $ref: '#/definitions/models.Ermcp2hedgeditemspot'
  22844. type: array
  22845. "500":
  22846. description: Internal Server Error
  22847. schema:
  22848. $ref: '#/definitions/app.Response'
  22849. security:
  22850. - ApiKeyAuth: []
  22851. summary: 套期计划明细查询
  22852. tags:
  22853. - 企业风险管理v8
  22854. /Ermcp8/QueryERMCPJRLinkPos:
  22855. get:
  22856. parameters:
  22857. - description: 套期项目ID
  22858. in: query
  22859. name: hedgeditemid
  22860. required: true
  22861. type: integer
  22862. produces:
  22863. - application/json
  22864. responses:
  22865. "200":
  22866. description: OK
  22867. schema:
  22868. items:
  22869. $ref: '#/definitions/models.Ermcpjrlinkpos'
  22870. type: array
  22871. "500":
  22872. description: Internal Server Error
  22873. schema:
  22874. $ref: '#/definitions/app.Response'
  22875. security:
  22876. - ApiKeyAuth: []
  22877. summary: 期货持仓明细查询
  22878. tags:
  22879. - 企业风险管理v8
  22880. /Ermcp8/QueryERMCPPatradeLinkDetail:
  22881. get:
  22882. parameters:
  22883. - description: 套期项目ID
  22884. in: query
  22885. name: hedgeditemid
  22886. required: true
  22887. type: integer
  22888. produces:
  22889. - application/json
  22890. responses:
  22891. "200":
  22892. description: OK
  22893. schema:
  22894. items:
  22895. $ref: '#/definitions/models.Ermcppatradelinkdetail'
  22896. type: array
  22897. "500":
  22898. description: Internal Server Error
  22899. schema:
  22900. $ref: '#/definitions/app.Response'
  22901. security:
  22902. - ApiKeyAuth: []
  22903. summary: 期货成交单明细查询
  22904. tags:
  22905. - 企业风险管理v8
  22906. /Ermcp8/QueryErmcp2AreaExposure:
  22907. get:
  22908. parameters:
  22909. - description: 用户ID
  22910. in: query
  22911. name: userid
  22912. required: true
  22913. type: string
  22914. produces:
  22915. - application/json
  22916. responses:
  22917. "200":
  22918. description: OK
  22919. schema:
  22920. items:
  22921. $ref: '#/definitions/models.Ermcp2AreaExposure'
  22922. type: array
  22923. "500":
  22924. description: Internal Server Error
  22925. schema:
  22926. $ref: '#/definitions/app.Response'
  22927. security:
  22928. - ApiKeyAuth: []
  22929. summary: 企业敞口查询
  22930. tags:
  22931. - 企业风险管理v8
  22932. /Ermcp8/QueryErmcp2HedgedItem:
  22933. get:
  22934. description: 已完成项目查询 -> 项目状态 = 3:正常完结 or 5:异常完结
  22935. parameters:
  22936. - description: 用户ID
  22937. in: query
  22938. name: userid
  22939. required: true
  22940. type: string
  22941. - description: 套期类型 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  22942. in: query
  22943. name: hedgedtype
  22944. type: integer
  22945. - description: 项目状态 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  22946. in: query
  22947. name: hedgeditemstatus
  22948. type: integer
  22949. produces:
  22950. - application/json
  22951. responses:
  22952. "200":
  22953. description: OK
  22954. schema:
  22955. items:
  22956. $ref: '#/definitions/models.Ermcp2hedgeditem'
  22957. type: array
  22958. "500":
  22959. description: Internal Server Error
  22960. schema:
  22961. $ref: '#/definitions/app.Response'
  22962. security:
  22963. - ApiKeyAuth: []
  22964. summary: 查询被套期项目信息
  22965. tags:
  22966. - 企业风险管理v8
  22967. /Ermcp8/QueryErmcp2HedgedItemLink:
  22968. get:
  22969. parameters:
  22970. - description: 现货合同ID
  22971. in: query
  22972. name: spotcontractid
  22973. required: true
  22974. type: integer
  22975. produces:
  22976. - application/json
  22977. responses:
  22978. "200":
  22979. description: OK
  22980. schema:
  22981. items:
  22982. $ref: '#/definitions/models.Ermcp2hedgeditemlink'
  22983. type: array
  22984. "500":
  22985. description: Internal Server Error
  22986. schema:
  22987. $ref: '#/definitions/app.Response'
  22988. security:
  22989. - ApiKeyAuth: []
  22990. summary: 现货合同关联被套期项目查询
  22991. tags:
  22992. - 企业风险管理v8
  22993. /Ermcp8/QueryErmcp2HedgedItemsDetail:
  22994. get:
  22995. parameters:
  22996. - description: 用户ID
  22997. in: query
  22998. name: userid
  22999. required: true
  23000. type: integer
  23001. - description: 套保品种ID
  23002. in: query
  23003. name: middlegoodsid
  23004. required: true
  23005. type: integer
  23006. produces:
  23007. - application/json
  23008. responses:
  23009. "200":
  23010. description: OK
  23011. schema:
  23012. items:
  23013. $ref: '#/definitions/models.Ermcp2hedgeditemsDetail'
  23014. type: array
  23015. "500":
  23016. description: Internal Server Error
  23017. schema:
  23018. $ref: '#/definitions/app.Response'
  23019. security:
  23020. - ApiKeyAuth: []
  23021. summary: 敞口明细 - 计划变动明细
  23022. tags:
  23023. - 企业风险管理v8
  23024. /Ermcp8/QueryErmcp2StockSpotChangeLog:
  23025. get:
  23026. parameters:
  23027. - description: 用户ID
  23028. in: query
  23029. name: userid
  23030. required: true
  23031. type: integer
  23032. - description: 套保品种ID
  23033. in: query
  23034. name: middlegoodsid
  23035. required: true
  23036. type: integer
  23037. produces:
  23038. - application/json
  23039. responses:
  23040. "200":
  23041. description: OK
  23042. schema:
  23043. items:
  23044. $ref: '#/definitions/models.Ermcp2stockspotchangelog'
  23045. type: array
  23046. "500":
  23047. description: Internal Server Error
  23048. schema:
  23049. $ref: '#/definitions/app.Response'
  23050. security:
  23051. - ApiKeyAuth: []
  23052. summary: 敞口明细 - 现货变动明细查询
  23053. tags:
  23054. - 企业风险管理v8
  23055. /Ermcp8/QueryErmcp8EnableHedgeditem:
  23056. get:
  23057. parameters:
  23058. - description: 用户ID
  23059. in: query
  23060. name: userid
  23061. required: true
  23062. type: integer
  23063. - description: 现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  23064. in: query
  23065. name: spottype
  23066. required: true
  23067. type: integer
  23068. - description: 现货商品ID
  23069. in: query
  23070. name: wrstandardid
  23071. type: integer
  23072. produces:
  23073. - application/json
  23074. responses:
  23075. "200":
  23076. description: OK
  23077. schema:
  23078. items:
  23079. $ref: '#/definitions/models.Ermcp8EnableHedgeditem'
  23080. type: array
  23081. "500":
  23082. description: Internal Server Error
  23083. schema:
  23084. $ref: '#/definitions/app.Response'
  23085. security:
  23086. - ApiKeyAuth: []
  23087. summary: 可关联项目查询
  23088. tags:
  23089. - 企业风险管理v8
  23090. /Ermcp8/QueryErmcp8HedgeditemReport:
  23091. get:
  23092. parameters:
  23093. - description: 用户ID
  23094. in: query
  23095. name: userid
  23096. required: true
  23097. type: integer
  23098. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  23099. in: query
  23100. name: cycletype
  23101. type: integer
  23102. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  23103. 全(0)【原值】
  23104. in: query
  23105. name: cycletime
  23106. required: true
  23107. type: string
  23108. - description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  23109. in: query
  23110. name: hedgedtype
  23111. type: integer
  23112. - description: 项目状态 - 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  23113. in: query
  23114. name: hedgeditemstatus
  23115. type: integer
  23116. - description: 项目编号,模糊查询
  23117. in: query
  23118. name: hedgeditemnum
  23119. type: string
  23120. - description: 现货商品ID
  23121. in: query
  23122. name: wrstandardid
  23123. type: integer
  23124. produces:
  23125. - application/json
  23126. responses:
  23127. "200":
  23128. description: OK
  23129. schema:
  23130. items:
  23131. $ref: '#/definitions/models.Ermcp8HedgeditemReport'
  23132. type: array
  23133. "500":
  23134. description: Internal Server Error
  23135. schema:
  23136. $ref: '#/definitions/app.Response'
  23137. security:
  23138. - ApiKeyAuth: []
  23139. summary: 套期项目报表查询
  23140. tags:
  23141. - 企业风险管理v8
  23142. /Ermcp8/QueryErmcp8RunningHedgeditem:
  23143. get:
  23144. parameters:
  23145. - description: 用户ID
  23146. in: query
  23147. name: userid
  23148. required: true
  23149. type: string
  23150. produces:
  23151. - application/json
  23152. responses:
  23153. "200":
  23154. description: OK
  23155. schema:
  23156. items:
  23157. $ref: '#/definitions/models.Ermcp8RunningHedgeditem'
  23158. type: array
  23159. "500":
  23160. description: Internal Server Error
  23161. schema:
  23162. $ref: '#/definitions/app.Response'
  23163. security:
  23164. - ApiKeyAuth: []
  23165. summary: 查询执行中项目查询信息
  23166. tags:
  23167. - 企业风险管理v8
  23168. /Ermcp8/QueryInternalEnableTradeDetail:
  23169. get:
  23170. parameters:
  23171. - description: 企业ID
  23172. in: query
  23173. name: areauserid
  23174. required: true
  23175. type: integer
  23176. - description: 期货合约ID
  23177. in: query
  23178. name: goodsid
  23179. required: true
  23180. type: integer
  23181. - description: 交易用户ID
  23182. in: query
  23183. name: tradeuserid
  23184. required: true
  23185. type: integer
  23186. produces:
  23187. - application/json
  23188. responses:
  23189. "200":
  23190. description: OK
  23191. schema:
  23192. items:
  23193. $ref: '#/definitions/models.InternalEnableTradeDetail'
  23194. type: array
  23195. "500":
  23196. description: Internal Server Error
  23197. schema:
  23198. $ref: '#/definitions/app.Response'
  23199. security:
  23200. - ApiKeyAuth: []
  23201. summary: 内部成交单可关联项目查询
  23202. tags:
  23203. - 企业风险管理v8
  23204. /Ermcp8/QueryInternalUncorrelatedTradeDetail:
  23205. get:
  23206. parameters:
  23207. - description: 用户编号
  23208. in: query
  23209. name: userid
  23210. required: true
  23211. type: integer
  23212. - description: 起始日期(格式yyyymmdd)
  23213. in: query
  23214. name: begindate
  23215. type: string
  23216. - description: 终止日期(格式yyyymmdd)
  23217. in: query
  23218. name: enddate
  23219. type: string
  23220. - description: 合约代码
  23221. in: query
  23222. name: goodscode
  23223. type: string
  23224. - description: 合约名称
  23225. in: query
  23226. name: goodsname
  23227. type: string
  23228. - description: 成交单号
  23229. in: query
  23230. name: tradeid
  23231. type: integer
  23232. - description: 方向 - 0:买 1:卖
  23233. in: query
  23234. name: buyorsell
  23235. type: integer
  23236. - description: 套期主体
  23237. in: query
  23238. name: accountname
  23239. type: string
  23240. produces:
  23241. - application/json
  23242. responses:
  23243. "200":
  23244. description: OK
  23245. schema:
  23246. items:
  23247. $ref: '#/definitions/models.InternalUncorrelatedTradeDetail'
  23248. type: array
  23249. "500":
  23250. description: Internal Server Error
  23251. schema:
  23252. $ref: '#/definitions/app.Response'
  23253. security:
  23254. - ApiKeyAuth: []
  23255. summary: 内部未关联成交单查询
  23256. tags:
  23257. - 企业风险管理v8
  23258. /Ermcp8/QueryMarketCalendar:
  23259. get:
  23260. parameters:
  23261. - description: 市场ID
  23262. in: query
  23263. name: marketid
  23264. type: integer
  23265. produces:
  23266. - application/json
  23267. responses:
  23268. "200":
  23269. description: OK
  23270. schema:
  23271. items:
  23272. $ref: '#/definitions/models.Marketcalendar'
  23273. type: array
  23274. "500":
  23275. description: Internal Server Error
  23276. schema:
  23277. $ref: '#/definitions/app.Response'
  23278. security:
  23279. - ApiKeyAuth: []
  23280. summary: 市场节假日查询
  23281. tags:
  23282. - 企业风险管理v8
  23283. /Ermcp8/QueryPatradeLinkDetail:
  23284. get:
  23285. parameters:
  23286. - description: 用户ID
  23287. in: query
  23288. name: userid
  23289. required: true
  23290. type: integer
  23291. - description: 套保品种ID
  23292. in: query
  23293. name: middlegoodsid
  23294. required: true
  23295. type: integer
  23296. produces:
  23297. - application/json
  23298. responses:
  23299. "200":
  23300. description: OK
  23301. schema:
  23302. items:
  23303. $ref: '#/definitions/models.Patradelinkdetail'
  23304. type: array
  23305. "500":
  23306. description: Internal Server Error
  23307. schema:
  23308. $ref: '#/definitions/app.Response'
  23309. security:
  23310. - ApiKeyAuth: []
  23311. summary: 敞口明细 - 期货变动明细
  23312. tags:
  23313. - 企业风险管理v8
  23314. /Ermcp8/QueryUnLinkErmcpHedgePlan:
  23315. get:
  23316. parameters:
  23317. - description: 企业ID
  23318. in: query
  23319. name: areauserid
  23320. required: true
  23321. type: integer
  23322. - description: 计划类型 - 1:采购 -1:销售
  23323. in: query
  23324. name: contracttype
  23325. type: integer
  23326. - description: 计划编号,模糊查询
  23327. in: query
  23328. name: hedgeplanno
  23329. type: string
  23330. - description: 现货商品,模糊查询
  23331. in: query
  23332. name: wrstandardname
  23333. type: string
  23334. produces:
  23335. - application/json
  23336. responses:
  23337. "200":
  23338. description: OK
  23339. schema:
  23340. items:
  23341. $ref: '#/definitions/models.Unlinkermcphedgeplan'
  23342. type: array
  23343. "500":
  23344. description: Internal Server Error
  23345. schema:
  23346. $ref: '#/definitions/app.Response'
  23347. security:
  23348. - ApiKeyAuth: []
  23349. summary: 未关联购销计划
  23350. tags:
  23351. - 企业风险管理v8
  23352. /Ermcp8/QueryUnLinkSpotContract:
  23353. get:
  23354. parameters:
  23355. - description: 用户ID
  23356. in: query
  23357. name: userid
  23358. required: true
  23359. type: integer
  23360. - description: 定价类型 - 1:一口价 2:点价 3:暂定价
  23361. in: query
  23362. name: pricetype
  23363. type: integer
  23364. - description: 合同编号, 模拟查询
  23365. in: query
  23366. name: contractno
  23367. type: string
  23368. - description: 对手方, 模拟查询
  23369. in: query
  23370. name: customername
  23371. type: string
  23372. - description: 项合同类型 - 1:采购 -1:销售
  23373. in: query
  23374. name: contracttype
  23375. type: integer
  23376. produces:
  23377. - application/json
  23378. responses:
  23379. "200":
  23380. description: OK
  23381. schema:
  23382. items:
  23383. $ref: '#/definitions/models.ErmcpSpotContractModelEx'
  23384. type: array
  23385. "500":
  23386. description: Internal Server Error
  23387. schema:
  23388. $ref: '#/definitions/app.Response'
  23389. security:
  23390. - ApiKeyAuth: []
  23391. summary: 未关联合同查询
  23392. tags:
  23393. - 企业风险管理v8
  23394. /Erms2/QueryArbitrageStrategy:
  23395. get:
  23396. parameters:
  23397. - description: 账户ID
  23398. in: query
  23399. name: userid
  23400. required: true
  23401. type: integer
  23402. - description: 商品组ID(品种ID)
  23403. in: query
  23404. name: goodsgroupid
  23405. type: string
  23406. produces:
  23407. - application/json
  23408. responses:
  23409. "200":
  23410. description: OK
  23411. schema:
  23412. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  23413. "500":
  23414. description: Internal Server Error
  23415. schema:
  23416. $ref: '#/definitions/app.Response'
  23417. security:
  23418. - ApiKeyAuth: []
  23419. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  23420. tags:
  23421. - 风险管理
  23422. /Erms2/QueryInnerTradeDetail:
  23423. get:
  23424. parameters:
  23425. - description: 资金账户
  23426. in: query
  23427. name: accountid
  23428. required: true
  23429. type: integer
  23430. produces:
  23431. - application/json
  23432. responses:
  23433. "200":
  23434. description: OK
  23435. schema:
  23436. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  23437. "500":
  23438. description: Internal Server Error
  23439. schema:
  23440. $ref: '#/definitions/app.Response'
  23441. security:
  23442. - ApiKeyAuth: []
  23443. summary: 查询内部成交单信息
  23444. tags:
  23445. - 风险管理
  23446. /Erms2/QuerySpotContract:
  23447. get:
  23448. parameters:
  23449. - description: 策略申请ID
  23450. in: query
  23451. name: asapplyid
  23452. required: true
  23453. type: integer
  23454. - description: 现货合同ID
  23455. in: query
  23456. name: spotcontractid
  23457. type: integer
  23458. produces:
  23459. - application/json
  23460. responses:
  23461. "200":
  23462. description: OK
  23463. schema:
  23464. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  23465. "500":
  23466. description: Internal Server Error
  23467. schema:
  23468. $ref: '#/definitions/app.Response'
  23469. security:
  23470. - ApiKeyAuth: []
  23471. summary: 查询现货合同表信息(指定策略ID、未结束的)
  23472. tags:
  23473. - 风险管理
  23474. /Erms3/AddErms2ASApply:
  23475. post:
  23476. parameters:
  23477. - description: 申请参数
  23478. in: body
  23479. name: jsonBody
  23480. required: true
  23481. schema:
  23482. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  23483. produces:
  23484. - application/json
  23485. responses:
  23486. "200":
  23487. description: OK
  23488. schema:
  23489. $ref: '#/definitions/app.Response'
  23490. "500":
  23491. description: Internal Server Error
  23492. schema:
  23493. $ref: '#/definitions/app.Response'
  23494. security:
  23495. - ApiKeyAuth: []
  23496. summary: 新增期现套利业务申请
  23497. tags:
  23498. - 风险管理v3
  23499. /Erms3/AddErms2SpotTradeApply:
  23500. post:
  23501. parameters:
  23502. - description: 申请参数
  23503. in: body
  23504. name: jsonBody
  23505. required: true
  23506. schema:
  23507. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  23508. produces:
  23509. - application/json
  23510. responses:
  23511. "200":
  23512. description: OK
  23513. schema:
  23514. $ref: '#/definitions/app.Response'
  23515. "500":
  23516. description: Internal Server Error
  23517. schema:
  23518. $ref: '#/definitions/app.Response'
  23519. security:
  23520. - ApiKeyAuth: []
  23521. summary: 新增现货贸易业务申请
  23522. tags:
  23523. - 风险管理v3
  23524. /Erms3/AddSpotContractApply:
  23525. post:
  23526. parameters:
  23527. - description: 申请参数
  23528. in: body
  23529. name: jsonBody
  23530. required: true
  23531. schema:
  23532. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  23533. produces:
  23534. - application/json
  23535. responses:
  23536. "200":
  23537. description: OK
  23538. schema:
  23539. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  23540. "500":
  23541. description: Internal Server Error
  23542. schema:
  23543. $ref: '#/definitions/app.Response'
  23544. security:
  23545. - ApiKeyAuth: []
  23546. summary: 新增现货合同申请
  23547. tags:
  23548. - 风险管理v3
  23549. /Erms3/AddUserInfoApply:
  23550. post:
  23551. parameters:
  23552. - description: 用户信息
  23553. in: body
  23554. name: jsonBody
  23555. required: true
  23556. schema:
  23557. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  23558. produces:
  23559. - application/json
  23560. responses:
  23561. "200":
  23562. description: OK
  23563. schema:
  23564. $ref: '#/definitions/app.Response'
  23565. "500":
  23566. description: Internal Server Error
  23567. schema:
  23568. $ref: '#/definitions/app.Response'
  23569. security:
  23570. - ApiKeyAuth: []
  23571. summary: 新增客户申请
  23572. tags:
  23573. - 风险管理v3
  23574. /Erms3/DeleteUserInfoApply:
  23575. get:
  23576. description: 只可删除 UserState = 1 (未提交)状态的申请信息
  23577. parameters:
  23578. - description: 用户ID
  23579. in: query
  23580. name: userID
  23581. required: true
  23582. type: integer
  23583. produces:
  23584. - application/json
  23585. responses:
  23586. "200":
  23587. description: OK
  23588. schema:
  23589. $ref: '#/definitions/app.Response'
  23590. "500":
  23591. description: Internal Server Error
  23592. schema:
  23593. $ref: '#/definitions/app.Response'
  23594. security:
  23595. - ApiKeyAuth: []
  23596. summary: 删除客户申请
  23597. tags:
  23598. - 风险管理v3
  23599. /Erms3/ModifyUserInfoApply:
  23600. post:
  23601. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid":
  23602. int, "userstate": 2 }'
  23603. parameters:
  23604. - description: 用户信息
  23605. in: body
  23606. name: jsonBody
  23607. required: true
  23608. schema:
  23609. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  23610. produces:
  23611. - application/json
  23612. responses:
  23613. "200":
  23614. description: OK
  23615. schema:
  23616. $ref: '#/definitions/app.Response'
  23617. "500":
  23618. description: Internal Server Error
  23619. schema:
  23620. $ref: '#/definitions/app.Response'
  23621. security:
  23622. - ApiKeyAuth: []
  23623. summary: 修改客户申请
  23624. tags:
  23625. - 风险管理v3
  23626. /Erms3/QueryBusinessInfo:
  23627. get:
  23628. parameters:
  23629. - description: 资金账号ID列表,用逗号分隔
  23630. in: query
  23631. name: accountids
  23632. required: true
  23633. type: string
  23634. - description: 状态,0为未结束 1为已结束
  23635. in: query
  23636. name: status
  23637. required: true
  23638. type: integer
  23639. produces:
  23640. - application/json
  23641. responses:
  23642. "200":
  23643. description: OK
  23644. schema:
  23645. items:
  23646. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  23647. type: array
  23648. "500":
  23649. description: Internal Server Error
  23650. schema:
  23651. $ref: '#/definitions/app.Response'
  23652. security:
  23653. - ApiKeyAuth: []
  23654. summary: 查询业务表单数据
  23655. tags:
  23656. - 风险管理v3
  23657. /Erms3/QueryPendingAuditContract:
  23658. get:
  23659. parameters:
  23660. - description: 资金账号ID列表,逗号隔开
  23661. in: query
  23662. name: accountids
  23663. required: true
  23664. type: string
  23665. - description: 合同类型 1-采购 -1-销售
  23666. in: query
  23667. name: contracttype
  23668. required: true
  23669. type: integer
  23670. - description: 合同模式 1-普通 2-回购
  23671. in: query
  23672. name: contractmode
  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.QryAuditContractRsp'
  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/QueryPendingBusiness:
  23694. get:
  23695. parameters:
  23696. - description: 资金账号ID列表,逗号隔开
  23697. in: query
  23698. name: accountids
  23699. required: true
  23700. type: string
  23701. produces:
  23702. - application/json
  23703. responses:
  23704. "200":
  23705. description: OK
  23706. schema:
  23707. items:
  23708. $ref: '#/definitions/erms3.QryPendingBizRsp'
  23709. type: array
  23710. "500":
  23711. description: Internal Server Error
  23712. schema:
  23713. $ref: '#/definitions/app.Response'
  23714. security:
  23715. - ApiKeyAuth: []
  23716. summary: 查询待审核基差贸易业务
  23717. tags:
  23718. - 风险管理v3
  23719. /Erms3/QuerySpotContractAppleForm:
  23720. get:
  23721. parameters:
  23722. - description: 登录账号
  23723. in: query
  23724. name: loginID
  23725. required: true
  23726. type: integer
  23727. produces:
  23728. - application/json
  23729. responses:
  23730. "200":
  23731. description: OK
  23732. schema:
  23733. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  23734. "500":
  23735. description: Internal Server Error
  23736. schema:
  23737. $ref: '#/definitions/app.Response'
  23738. security:
  23739. - ApiKeyAuth: []
  23740. summary: 查询合同申请表单数据
  23741. tags:
  23742. - 风险管理v3
  23743. /Erms3/QuerySpotContractDetail:
  23744. get:
  23745. parameters:
  23746. - description: 资金账号ID列表,用逗号分隔
  23747. in: query
  23748. name: accountids
  23749. required: true
  23750. type: string
  23751. - description: 合同类型,1为采购合同 -1为销售合同
  23752. in: query
  23753. name: contracttype
  23754. required: true
  23755. type: integer
  23756. - description: 合同模式,1为普通合同 2为回购销售合同
  23757. in: query
  23758. name: contractmode
  23759. required: true
  23760. type: integer
  23761. - description: 状态,0为履约中 1为已完成
  23762. in: query
  23763. name: status
  23764. required: true
  23765. type: integer
  23766. produces:
  23767. - application/json
  23768. responses:
  23769. "200":
  23770. description: OK
  23771. schema:
  23772. items:
  23773. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  23774. type: array
  23775. "500":
  23776. description: Internal Server Error
  23777. schema:
  23778. $ref: '#/definitions/app.Response'
  23779. security:
  23780. - ApiKeyAuth: []
  23781. summary: 查询合同详细信息
  23782. tags:
  23783. - 风险管理v3
  23784. /Erms3/QueryUserInfoApplies:
  23785. get:
  23786. parameters:
  23787. - description: 页码
  23788. in: query
  23789. name: page
  23790. type: integer
  23791. - description: 每页条数
  23792. in: query
  23793. name: pagesize
  23794. type: integer
  23795. - description: 客户名称,支持模糊查询
  23796. in: query
  23797. name: userName
  23798. type: string
  23799. produces:
  23800. - application/json
  23801. responses:
  23802. "200":
  23803. description: OK
  23804. schema:
  23805. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  23806. "500":
  23807. description: Internal Server Error
  23808. schema:
  23809. $ref: '#/definitions/app.Response'
  23810. security:
  23811. - ApiKeyAuth: []
  23812. summary: 客户申请信息查询
  23813. tags:
  23814. - 风险管理v3
  23815. /Erms3/QueryUserInfos:
  23816. get:
  23817. parameters:
  23818. - description: 页码
  23819. in: query
  23820. name: page
  23821. type: integer
  23822. - description: 每页条数
  23823. in: query
  23824. name: pagesize
  23825. type: integer
  23826. - description: 客户名称,支持模糊查询
  23827. in: query
  23828. name: userName
  23829. type: string
  23830. produces:
  23831. - application/json
  23832. responses:
  23833. "200":
  23834. description: OK
  23835. schema:
  23836. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  23837. "500":
  23838. description: Internal Server Error
  23839. schema:
  23840. $ref: '#/definitions/app.Response'
  23841. security:
  23842. - ApiKeyAuth: []
  23843. summary: 客户信息查询
  23844. tags:
  23845. - 风险管理v3
  23846. /Guangzuan/GetGoods:
  23847. get:
  23848. parameters:
  23849. - description: 商品编号
  23850. in: query
  23851. name: goodsno
  23852. required: true
  23853. type: string
  23854. produces:
  23855. - application/json
  23856. responses:
  23857. "200":
  23858. description: OK
  23859. schema:
  23860. $ref: '#/definitions/models.GZGoods'
  23861. "500":
  23862. description: Internal Server Error
  23863. schema:
  23864. $ref: '#/definitions/app.Response'
  23865. security:
  23866. - ApiKeyAuth: []
  23867. - LoginID: []
  23868. - Group: []
  23869. summary: 获取钻石详情
  23870. tags:
  23871. - 广钻
  23872. /Guangzuan/QueryBuyOrder:
  23873. get:
  23874. parameters:
  23875. - description: 页码
  23876. in: query
  23877. name: page
  23878. type: integer
  23879. - description: 每页条数
  23880. in: query
  23881. name: pagesize
  23882. type: integer
  23883. - description: 商品(查询字段-模糊查询)
  23884. in: query
  23885. name: zsallproperties
  23886. type: string
  23887. - description: 钻石分类, 格式:1,2,3
  23888. in: query
  23889. name: zscategorys
  23890. type: string
  23891. - description: 委托单号
  23892. in: query
  23893. name: wrtradeorderid
  23894. type: integer
  23895. - description: 买方(查询字段-模糊查询)
  23896. in: query
  23897. name: buyusername
  23898. type: string
  23899. produces:
  23900. - application/json
  23901. responses:
  23902. "200":
  23903. description: OK
  23904. schema:
  23905. items:
  23906. $ref: '#/definitions/models.BuyOrder'
  23907. type: array
  23908. "500":
  23909. description: Internal Server Error
  23910. schema:
  23911. $ref: '#/definitions/app.Response'
  23912. security:
  23913. - ApiKeyAuth: []
  23914. - LoginID: []
  23915. - Group: []
  23916. summary: 查询求购大厅委托单
  23917. tags:
  23918. - 广钻
  23919. /Guangzuan/QueryDiamond:
  23920. post:
  23921. parameters:
  23922. - description: 钻石搜索入参
  23923. in: body
  23924. name: data
  23925. required: true
  23926. schema:
  23927. $ref: '#/definitions/models.SellOrderQueryReq'
  23928. produces:
  23929. - application/json
  23930. responses:
  23931. "200":
  23932. description: OK
  23933. schema:
  23934. items:
  23935. $ref: '#/definitions/models.SellOrder'
  23936. type: array
  23937. "500":
  23938. description: Internal Server Error
  23939. schema:
  23940. $ref: '#/definitions/app.Response'
  23941. security:
  23942. - ApiKeyAuth: []
  23943. - LoginID: []
  23944. - Group: []
  23945. summary: 钻石搜索
  23946. tags:
  23947. - 广钻
  23948. /Guangzuan/QueryMyBargainApply:
  23949. get:
  23950. parameters:
  23951. - description: 用户ID
  23952. in: query
  23953. name: userid
  23954. required: true
  23955. type: integer
  23956. - description: 页码
  23957. in: query
  23958. name: page
  23959. type: integer
  23960. - description: 每页条数
  23961. in: query
  23962. name: pagesize
  23963. type: integer
  23964. - description: 申请状态(不传查全部) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  23965. in: query
  23966. name: applystatus
  23967. type: integer
  23968. produces:
  23969. - application/json
  23970. responses:
  23971. "200":
  23972. description: OK
  23973. schema:
  23974. items:
  23975. $ref: '#/definitions/models.MyBargainApply'
  23976. type: array
  23977. "500":
  23978. description: Internal Server Error
  23979. schema:
  23980. $ref: '#/definitions/app.Response'
  23981. security:
  23982. - ApiKeyAuth: []
  23983. - LoginID: []
  23984. - Group: []
  23985. summary: 查询我的询价-求购
  23986. tags:
  23987. - 广钻
  23988. /Guangzuan/QueryMyBuyOrder:
  23989. get:
  23990. parameters:
  23991. - description: 用户ID
  23992. in: query
  23993. name: userid
  23994. required: true
  23995. type: integer
  23996. - description: 页码
  23997. in: query
  23998. name: page
  23999. type: integer
  24000. - description: 每页条数
  24001. in: query
  24002. name: pagesize
  24003. type: integer
  24004. - description: 商品(查询字段-模糊查询)
  24005. in: query
  24006. name: zsallproperties
  24007. type: string
  24008. - description: 钻石分类, 格式:1,2,3
  24009. in: query
  24010. name: zscategorys
  24011. type: string
  24012. - description: 委托单号
  24013. in: query
  24014. name: wrtradeorderid
  24015. type: integer
  24016. - description: 是否历史查询
  24017. in: query
  24018. name: ishis
  24019. type: boolean
  24020. produces:
  24021. - application/json
  24022. responses:
  24023. "200":
  24024. description: OK
  24025. schema:
  24026. items:
  24027. $ref: '#/definitions/models.MyBuyOrder'
  24028. type: array
  24029. "500":
  24030. description: Internal Server Error
  24031. schema:
  24032. $ref: '#/definitions/app.Response'
  24033. security:
  24034. - ApiKeyAuth: []
  24035. - LoginID: []
  24036. - Group: []
  24037. summary: 查询我的求购
  24038. tags:
  24039. - 广钻
  24040. /Guangzuan/QueryMyDeListing:
  24041. get:
  24042. parameters:
  24043. - description: 用户ID
  24044. in: query
  24045. name: userid
  24046. required: true
  24047. type: integer
  24048. - description: 页码
  24049. in: query
  24050. name: page
  24051. type: integer
  24052. - description: 每页条数
  24053. in: query
  24054. name: pagesize
  24055. type: integer
  24056. - description: 商品(查询字段-模糊查询)
  24057. in: query
  24058. name: zsallproperties
  24059. type: string
  24060. - description: 钻石分类, 格式:1,2,3
  24061. in: query
  24062. name: zscategorys
  24063. type: string
  24064. - description: 成交单号
  24065. in: query
  24066. name: wrtradedetailid
  24067. type: integer
  24068. - description: 方向,0-全部(可不传) 1-购买 2-出售
  24069. in: query
  24070. name: buyorsell
  24071. type: integer
  24072. - description: 开始交易日(yyyymmdd)
  24073. in: query
  24074. name: begindate
  24075. type: string
  24076. - description: 结束交易日(yyyymmdd)
  24077. in: query
  24078. name: enddate
  24079. type: string
  24080. produces:
  24081. - application/json
  24082. responses:
  24083. "200":
  24084. description: OK
  24085. schema:
  24086. items:
  24087. $ref: '#/definitions/models.MyDeListing'
  24088. type: array
  24089. "500":
  24090. description: Internal Server Error
  24091. schema:
  24092. $ref: '#/definitions/app.Response'
  24093. security:
  24094. - ApiKeyAuth: []
  24095. - LoginID: []
  24096. - Group: []
  24097. summary: 查询我的摘牌
  24098. tags:
  24099. - 广钻
  24100. /Guangzuan/QueryMyDelistingApply:
  24101. get:
  24102. parameters:
  24103. - description: 用户ID
  24104. in: query
  24105. name: userid
  24106. required: true
  24107. type: integer
  24108. - description: 页码
  24109. in: query
  24110. name: page
  24111. type: integer
  24112. - description: 每页条数
  24113. in: query
  24114. name: pagesize
  24115. type: integer
  24116. - description: 申请状态(不传查全部) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  24117. in: query
  24118. name: applystatus
  24119. type: integer
  24120. produces:
  24121. - application/json
  24122. responses:
  24123. "200":
  24124. description: OK
  24125. schema:
  24126. items:
  24127. $ref: '#/definitions/models.MyDelistingApply'
  24128. type: array
  24129. "500":
  24130. description: Internal Server Error
  24131. schema:
  24132. $ref: '#/definitions/app.Response'
  24133. security:
  24134. - ApiKeyAuth: []
  24135. - LoginID: []
  24136. - Group: []
  24137. summary: 查询我的询价-出售
  24138. tags:
  24139. - 广钻
  24140. /Guangzuan/QueryMySellOrder:
  24141. get:
  24142. parameters:
  24143. - description: 用户ID
  24144. in: query
  24145. name: userid
  24146. required: true
  24147. type: integer
  24148. - description: 页码
  24149. in: query
  24150. name: page
  24151. type: integer
  24152. - description: 每页条数
  24153. in: query
  24154. name: pagesize
  24155. type: integer
  24156. - description: 商品(查询字段-模糊查询)
  24157. in: query
  24158. name: zsallproperties
  24159. type: string
  24160. - description: 钻石分类, 格式:1,2,3
  24161. in: query
  24162. name: zscategorys
  24163. type: string
  24164. - description: 委托单号
  24165. in: query
  24166. name: wrtradeorderid
  24167. type: integer
  24168. - description: 是否历史查询
  24169. in: query
  24170. name: ishis
  24171. type: boolean
  24172. produces:
  24173. - application/json
  24174. responses:
  24175. "200":
  24176. description: OK
  24177. schema:
  24178. items:
  24179. $ref: '#/definitions/models.MySellOrder'
  24180. type: array
  24181. "500":
  24182. description: Internal Server Error
  24183. schema:
  24184. $ref: '#/definitions/app.Response'
  24185. security:
  24186. - ApiKeyAuth: []
  24187. - LoginID: []
  24188. - Group: []
  24189. summary: 查询我的出售
  24190. tags:
  24191. - 广钻
  24192. /Guangzuan/QueryMyWRPosition:
  24193. get:
  24194. parameters:
  24195. - description: 页码
  24196. in: query
  24197. name: page
  24198. type: integer
  24199. - description: 每页条数
  24200. in: query
  24201. name: pagesize
  24202. type: integer
  24203. - description: 登录用户ID
  24204. in: query
  24205. name: wruserid
  24206. required: true
  24207. type: integer
  24208. - description: 商品(查询字段-模糊查询)
  24209. in: query
  24210. name: zsallproperties
  24211. type: string
  24212. - description: 钻石分类, 格式:1,2,3
  24213. in: query
  24214. name: zscategorys
  24215. type: string
  24216. - description: 仓库ID
  24217. in: query
  24218. name: warehouseid
  24219. type: integer
  24220. produces:
  24221. - application/json
  24222. responses:
  24223. "200":
  24224. description: OK
  24225. schema:
  24226. items:
  24227. $ref: '#/definitions/models.MyWRPosition'
  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. /Guangzuan/QuerySellOrder:
  24241. get:
  24242. parameters:
  24243. - description: 页码
  24244. in: query
  24245. name: page
  24246. type: integer
  24247. - description: 每页条数
  24248. in: query
  24249. name: pagesize
  24250. type: integer
  24251. - description: 商品(查询字段-模糊查询)
  24252. in: query
  24253. name: zsallproperties
  24254. type: string
  24255. - description: 钻石分类, 格式:1,2,3
  24256. in: query
  24257. name: zscategorys
  24258. type: string
  24259. - description: 委托单号
  24260. in: query
  24261. name: wrtradeorderid
  24262. type: integer
  24263. - description: 卖方(查询字段-模糊查询)
  24264. in: query
  24265. name: buyusername
  24266. type: string
  24267. produces:
  24268. - application/json
  24269. responses:
  24270. "200":
  24271. description: OK
  24272. schema:
  24273. items:
  24274. $ref: '#/definitions/models.SellOrder'
  24275. type: array
  24276. "500":
  24277. description: Internal Server Error
  24278. schema:
  24279. $ref: '#/definitions/app.Response'
  24280. security:
  24281. - ApiKeyAuth: []
  24282. - LoginID: []
  24283. - Group: []
  24284. summary: 查询出售大厅委托单
  24285. tags:
  24286. - 广钻
  24287. /Guangzuan/QueryWarehouseInfo:
  24288. get:
  24289. parameters:
  24290. - description: 页码
  24291. in: query
  24292. name: page
  24293. type: integer
  24294. - description: 每页条数
  24295. in: query
  24296. name: pagesize
  24297. type: integer
  24298. - description: 用户ID
  24299. in: query
  24300. name: userid
  24301. required: true
  24302. type: integer
  24303. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  24304. in: query
  24305. name: status
  24306. type: string
  24307. - description: 是返回交易所仓库
  24308. in: query
  24309. name: isincludeexchange
  24310. type: boolean
  24311. produces:
  24312. - application/json
  24313. responses:
  24314. "200":
  24315. description: OK
  24316. schema:
  24317. items:
  24318. $ref: '#/definitions/models.GZWarehouseinfo'
  24319. type: array
  24320. "500":
  24321. description: Internal Server Error
  24322. schema:
  24323. $ref: '#/definitions/app.Response'
  24324. security:
  24325. - ApiKeyAuth: []
  24326. - LoginID: []
  24327. - Group: []
  24328. summary: 查询仓库信息
  24329. tags:
  24330. - 广钻
  24331. /Market/GetAllExExchanges:
  24332. get:
  24333. produces:
  24334. - application/json
  24335. responses:
  24336. "200":
  24337. description: OK
  24338. schema:
  24339. $ref: '#/definitions/models.Goods'
  24340. "500":
  24341. description: Internal Server Error
  24342. schema:
  24343. $ref: '#/definitions/app.Response'
  24344. security:
  24345. - ApiKeyAuth: []
  24346. summary: 获取所有外部交易所信息
  24347. tags:
  24348. - 通用市场
  24349. /Market/QueryGoodsesByLoginID:
  24350. get:
  24351. parameters:
  24352. - description: 登录账号
  24353. in: query
  24354. name: loginID
  24355. required: true
  24356. type: integer
  24357. - description: 市场ID列表,格式:1,2,3
  24358. in: query
  24359. name: marketIDs
  24360. type: string
  24361. produces:
  24362. - application/json
  24363. responses:
  24364. "200":
  24365. description: OK
  24366. schema:
  24367. $ref: '#/definitions/models.Goods'
  24368. "500":
  24369. description: Internal Server Error
  24370. schema:
  24371. $ref: '#/definitions/app.Response'
  24372. security:
  24373. - ApiKeyAuth: []
  24374. summary: 获取登录账号有权限的商品信息
  24375. tags:
  24376. - 通用市场
  24377. /Market/QueryMarketRun:
  24378. get:
  24379. parameters:
  24380. - description: 市场ID,不传返回所有
  24381. in: query
  24382. name: marketID
  24383. type: integer
  24384. produces:
  24385. - application/json
  24386. responses:
  24387. "200":
  24388. description: OK
  24389. schema:
  24390. $ref: '#/definitions/models.Marketrun'
  24391. "500":
  24392. description: Internal Server Error
  24393. schema:
  24394. $ref: '#/definitions/app.Response'
  24395. security:
  24396. - ApiKeyAuth: []
  24397. summary: 查询市场运行信息
  24398. tags:
  24399. - 通用市场
  24400. /Market/QueryMarketsByLoginID:
  24401. get:
  24402. parameters:
  24403. - description: 登录账号
  24404. in: query
  24405. name: loginID
  24406. required: true
  24407. type: integer
  24408. produces:
  24409. - application/json
  24410. responses:
  24411. "200":
  24412. description: OK
  24413. schema:
  24414. $ref: '#/definitions/models.Market'
  24415. "500":
  24416. description: Internal Server Error
  24417. schema:
  24418. $ref: '#/definitions/app.Response'
  24419. security:
  24420. - ApiKeyAuth: []
  24421. summary: 获取登录账号有权限的市场信息
  24422. tags:
  24423. - 通用市场
  24424. /Order/QueryHisTradeDetail:
  24425. get:
  24426. parameters:
  24427. - description: 资金账户 - 格式:1,2,3
  24428. in: query
  24429. name: accountID
  24430. required: true
  24431. type: string
  24432. - description: 成交单号
  24433. in: query
  24434. name: tradeID
  24435. type: integer
  24436. - description: 委托单号
  24437. in: query
  24438. name: orderID
  24439. type: integer
  24440. - description: 商品ID
  24441. in: query
  24442. name: goodsID
  24443. type: integer
  24444. - description: 交易模式 - 格式:1,2,3
  24445. in: query
  24446. name: tradeMode
  24447. type: string
  24448. - description: 委托单据类型
  24449. in: query
  24450. name: buildType
  24451. type: integer
  24452. - description: 成交类别 - 格式:1,2,3
  24453. in: query
  24454. name: tradeType
  24455. type: string
  24456. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  24457. in: query
  24458. name: startDate
  24459. type: string
  24460. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  24461. in: query
  24462. name: endDate
  24463. type: string
  24464. produces:
  24465. - application/json
  24466. responses:
  24467. "200":
  24468. description: OK
  24469. schema:
  24470. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  24471. "500":
  24472. description: Internal Server Error
  24473. schema:
  24474. $ref: '#/definitions/app.Response'
  24475. security:
  24476. - ApiKeyAuth: []
  24477. summary: 历史成交单查询(合约市场)
  24478. tags:
  24479. - 通用单据
  24480. /Order/QueryHisTradeOrderDetail:
  24481. get:
  24482. parameters:
  24483. - description: 资金账户 - 格式:1,2,3
  24484. in: query
  24485. name: accountID
  24486. required: true
  24487. type: string
  24488. - description: 交易模式 - 格式:1,2,3
  24489. in: query
  24490. name: tradeMode
  24491. type: string
  24492. - description: 委托状态 - 格式:1,2,3
  24493. in: query
  24494. name: orderStatus
  24495. type: string
  24496. - description: 委托单号
  24497. in: query
  24498. name: orderID
  24499. type: integer
  24500. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  24501. in: query
  24502. name: startDate
  24503. type: string
  24504. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  24505. in: query
  24506. name: endDate
  24507. type: string
  24508. produces:
  24509. - application/json
  24510. responses:
  24511. "200":
  24512. description: OK
  24513. schema:
  24514. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  24515. "500":
  24516. description: Internal Server Error
  24517. schema:
  24518. $ref: '#/definitions/app.Response'
  24519. security:
  24520. - ApiKeyAuth: []
  24521. summary: 历史委托单查询请求(合约市场)
  24522. tags:
  24523. - 通用单据
  24524. /Order/QueryTradeDetail:
  24525. get:
  24526. parameters:
  24527. - description: 资金账户 - 格式:1,2,3
  24528. in: query
  24529. name: accountID
  24530. required: true
  24531. type: string
  24532. - description: 成交单号
  24533. in: query
  24534. name: tradeID
  24535. type: integer
  24536. - description: 委托单号
  24537. in: query
  24538. name: orderID
  24539. type: integer
  24540. - description: 交易模式 - 格式:1,2,3
  24541. in: query
  24542. name: tradeMode
  24543. type: string
  24544. - description: 委托单据类型
  24545. in: query
  24546. name: buildType
  24547. type: integer
  24548. - description: 成交类别 - 格式:1,2,3
  24549. in: query
  24550. name: tradeType
  24551. type: string
  24552. - description: 商品ID
  24553. in: query
  24554. name: goodsID
  24555. type: integer
  24556. produces:
  24557. - application/json
  24558. responses:
  24559. "200":
  24560. description: OK
  24561. schema:
  24562. $ref: '#/definitions/order.QueryTradeDetailRsp'
  24563. "500":
  24564. description: Internal Server Error
  24565. schema:
  24566. $ref: '#/definitions/app.Response'
  24567. security:
  24568. - ApiKeyAuth: []
  24569. summary: 成交单查询(合约市场)
  24570. tags:
  24571. - 通用单据
  24572. /Order/QueryTradeHolderDetail:
  24573. get:
  24574. parameters:
  24575. - description: 用户id
  24576. in: query
  24577. name: userid
  24578. type: integer
  24579. - description: 资金账号, 格式 1,2,3
  24580. in: query
  24581. name: accids
  24582. type: string
  24583. - description: 交易模式, 格式 1,2,3
  24584. in: query
  24585. name: trademodes
  24586. type: string
  24587. - description: 市场id, 格式 1,2,3
  24588. in: query
  24589. name: marketids
  24590. type: string
  24591. - description: 商品id
  24592. in: query
  24593. name: goodsid
  24594. type: integer
  24595. - description: 买卖方向 0-买 1-卖
  24596. in: query
  24597. name: buyorsell
  24598. type: integer
  24599. produces:
  24600. - application/json
  24601. responses:
  24602. "200":
  24603. description: OK
  24604. schema:
  24605. items:
  24606. $ref: '#/definitions/models.TradeHolderDetail'
  24607. type: array
  24608. "500":
  24609. description: Internal Server Error
  24610. schema:
  24611. $ref: '#/definitions/app.Response'
  24612. security:
  24613. - ApiKeyAuth: []
  24614. summary: 查询持仓明细
  24615. tags:
  24616. - 通用单据
  24617. /Order/QueryTradeOrderDetail:
  24618. get:
  24619. parameters:
  24620. - description: 资金账户 - 格式:1,2,3
  24621. in: query
  24622. name: accountID
  24623. required: true
  24624. type: string
  24625. - description: 交易模式 - 格式:1,2,3
  24626. in: query
  24627. name: tradeMode
  24628. type: string
  24629. - description: 委托状态 - 格式:1,2,3
  24630. in: query
  24631. name: orderStatus
  24632. type: string
  24633. - description: 委托单号
  24634. in: query
  24635. name: orderID
  24636. type: integer
  24637. produces:
  24638. - application/json
  24639. responses:
  24640. "200":
  24641. description: OK
  24642. schema:
  24643. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  24644. "500":
  24645. description: Internal Server Error
  24646. schema:
  24647. $ref: '#/definitions/app.Response'
  24648. security:
  24649. - ApiKeyAuth: []
  24650. summary: 委托单查询请求(合约市场)
  24651. tags:
  24652. - 通用单据
  24653. /Order/QueryTradePosition:
  24654. get:
  24655. parameters:
  24656. - description: 资金账户 - 格式:1,2,3
  24657. in: query
  24658. name: accountID
  24659. required: true
  24660. type: string
  24661. - description: 交易模式 - 格式:1,2,3
  24662. in: query
  24663. name: tradeMode
  24664. type: string
  24665. produces:
  24666. - application/json
  24667. responses:
  24668. "200":
  24669. description: OK
  24670. schema:
  24671. $ref: '#/definitions/order.QueryTradePositionRsp'
  24672. "500":
  24673. description: Internal Server Error
  24674. schema:
  24675. $ref: '#/definitions/app.Response'
  24676. security:
  24677. - ApiKeyAuth: []
  24678. summary: 持仓汇总查询(合约市场)
  24679. tags:
  24680. - 通用单据
  24681. /Quote/QueryHistoryDatas:
  24682. get:
  24683. parameters:
  24684. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  24685. 日线 12:周线 13:月线 14:年线'
  24686. in: query
  24687. name: cycleType
  24688. required: true
  24689. type: integer
  24690. - description: 商品代码
  24691. in: query
  24692. name: goodsCode
  24693. required: true
  24694. type: string
  24695. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  24696. in: query
  24697. name: startTime
  24698. type: string
  24699. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  24700. in: query
  24701. name: endTime
  24702. type: string
  24703. - description: 条数
  24704. in: query
  24705. name: count
  24706. type: integer
  24707. - description: 是否按时间顺序排序(默认为时间倒序排序)
  24708. in: query
  24709. name: isAsc
  24710. type: boolean
  24711. produces:
  24712. - application/json
  24713. responses:
  24714. "200":
  24715. description: OK
  24716. schema:
  24717. $ref: '#/definitions/quote.HistoryData'
  24718. "500":
  24719. description: Internal Server Error
  24720. schema:
  24721. $ref: '#/definitions/app.Response'
  24722. security:
  24723. - ApiKeyAuth: []
  24724. summary: 查询行情历史数据
  24725. tags:
  24726. - 行情服务
  24727. /Quote/QueryHistoryTikDatas:
  24728. get:
  24729. parameters:
  24730. - description: 商品代码
  24731. in: query
  24732. name: goodsCode
  24733. required: true
  24734. type: string
  24735. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  24736. in: query
  24737. name: startTime
  24738. type: string
  24739. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  24740. in: query
  24741. name: endTime
  24742. type: string
  24743. - description: 条数
  24744. in: query
  24745. name: count
  24746. type: integer
  24747. - description: 是否按时间顺序排序(默认为时间倒序排序)
  24748. in: query
  24749. name: isAsc
  24750. type: boolean
  24751. produces:
  24752. - application/json
  24753. responses:
  24754. "200":
  24755. description: OK
  24756. schema:
  24757. $ref: '#/definitions/quote.HistoryTikData'
  24758. "500":
  24759. description: Internal Server Error
  24760. schema:
  24761. $ref: '#/definitions/app.Response'
  24762. security:
  24763. - ApiKeyAuth: []
  24764. summary: 查询行情Tik数据
  24765. tags:
  24766. - 行情服务
  24767. /Quote/QueryQuoteDay:
  24768. get:
  24769. parameters:
  24770. - description: 此参数不填则查所有;商品代码列表,格式:CU2102,CU2103,AL2107
  24771. in: query
  24772. name: goodsCodes
  24773. type: string
  24774. produces:
  24775. - application/json
  24776. responses:
  24777. "200":
  24778. description: OK
  24779. schema:
  24780. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  24781. "500":
  24782. description: Internal Server Error
  24783. schema:
  24784. $ref: '#/definitions/app.Response'
  24785. security:
  24786. - ApiKeyAuth: []
  24787. summary: 获取商品盘面信息
  24788. tags:
  24789. - 行情服务
  24790. /Quote/QueryTSData:
  24791. get:
  24792. parameters:
  24793. - description: 商品代码
  24794. in: query
  24795. name: goodsCode
  24796. required: true
  24797. type: string
  24798. produces:
  24799. - application/json
  24800. responses:
  24801. "200":
  24802. description: OK
  24803. schema:
  24804. $ref: '#/definitions/quote.QueryTSDataRsp'
  24805. "500":
  24806. description: Internal Server Error
  24807. schema:
  24808. $ref: '#/definitions/app.Response'
  24809. security:
  24810. - ApiKeyAuth: []
  24811. summary: 分时图数据查询
  24812. tags:
  24813. - 行情服务
  24814. /SZDZ/QueryConvertConfig:
  24815. get:
  24816. parameters:
  24817. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  24818. 6:交易转花生米(不设置)
  24819. in: query
  24820. name: convertType
  24821. type: integer
  24822. - description: 外部商品代码[JD\PD]
  24823. in: query
  24824. name: outerGoodsCode
  24825. type: string
  24826. - description: 内部商品ID列表[交易],格式:1,2,3
  24827. in: query
  24828. name: innerGoodsIDs
  24829. type: string
  24830. produces:
  24831. - application/json
  24832. responses:
  24833. "200":
  24834. description: OK
  24835. schema:
  24836. $ref: '#/definitions/models.Szdz3convertconfig'
  24837. "500":
  24838. description: Internal Server Error
  24839. schema:
  24840. $ref: '#/definitions/app.Response'
  24841. security:
  24842. - ApiKeyAuth: []
  24843. summary: 查询交易系统转换设置
  24844. tags:
  24845. - 定制【尚志大宗】
  24846. /SZDZ/QueryConvertLog:
  24847. get:
  24848. parameters:
  24849. - description: 资金账户 - 格式:1,2,3
  24850. in: query
  24851. name: accountID
  24852. required: true
  24853. type: string
  24854. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  24855. in: query
  24856. name: startDate
  24857. type: string
  24858. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  24859. in: query
  24860. name: endDate
  24861. type: string
  24862. produces:
  24863. - application/json
  24864. responses:
  24865. "200":
  24866. description: OK
  24867. schema:
  24868. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  24869. "500":
  24870. description: Internal Server Error
  24871. schema:
  24872. $ref: '#/definitions/app.Response'
  24873. security:
  24874. - ApiKeyAuth: []
  24875. summary: 交易系统转换流水查询
  24876. tags:
  24877. - 定制【尚志大宗】
  24878. /SZDZ/QueryGoodsPickup:
  24879. get:
  24880. parameters:
  24881. - description: 资金账户 - 格式:1,2,3
  24882. in: query
  24883. name: accountID
  24884. required: true
  24885. type: string
  24886. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  24887. in: query
  24888. name: takeOrderStatus
  24889. type: integer
  24890. produces:
  24891. - application/json
  24892. responses:
  24893. "200":
  24894. description: OK
  24895. schema:
  24896. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  24897. "500":
  24898. description: Internal Server Error
  24899. schema:
  24900. $ref: '#/definitions/app.Response'
  24901. security:
  24902. - ApiKeyAuth: []
  24903. summary: 商品提货单查询
  24904. tags:
  24905. - 定制【尚志大宗】
  24906. /SZDZ/QueryRecieptOrder:
  24907. get:
  24908. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  24909. parameters:
  24910. - description: 页码
  24911. in: query
  24912. name: page
  24913. type: integer
  24914. - description: 每页条数
  24915. in: query
  24916. name: pagesize
  24917. type: integer
  24918. - description: 商品ID
  24919. in: query
  24920. name: goodsID
  24921. required: true
  24922. type: integer
  24923. - description: 所属账户名称
  24924. in: query
  24925. name: accountName
  24926. type: string
  24927. - description: 市场ID
  24928. in: query
  24929. name: marketID
  24930. type: integer
  24931. - description: 方向 - 0:买 1:卖
  24932. in: query
  24933. name: buyorsell
  24934. required: true
  24935. type: integer
  24936. produces:
  24937. - application/json
  24938. responses:
  24939. "200":
  24940. description: OK
  24941. schema:
  24942. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  24943. "500":
  24944. description: Internal Server Error
  24945. schema:
  24946. $ref: '#/definitions/app.Response'
  24947. security:
  24948. - ApiKeyAuth: []
  24949. summary: 点选挂牌委托单据查询(摘牌大厅)
  24950. tags:
  24951. - 定制【尚志大宗】
  24952. /SZDZ/QuerySZDZTradePosition:
  24953. get:
  24954. parameters:
  24955. - description: 资金账户
  24956. in: query
  24957. name: accountID
  24958. required: true
  24959. type: integer
  24960. produces:
  24961. - application/json
  24962. responses:
  24963. "200":
  24964. description: OK
  24965. schema:
  24966. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  24967. "500":
  24968. description: Internal Server Error
  24969. schema:
  24970. $ref: '#/definitions/app.Response'
  24971. security:
  24972. - ApiKeyAuth: []
  24973. summary: 持仓汇总查询(尚志大宗)
  24974. tags:
  24975. - 定制【尚志大宗】
  24976. /SZDZ/SearchWhite:
  24977. get:
  24978. parameters:
  24979. - description: 用户ID
  24980. in: query
  24981. name: userID
  24982. required: true
  24983. type: integer
  24984. produces:
  24985. - application/json
  24986. responses:
  24987. "200":
  24988. description: OK
  24989. schema:
  24990. $ref: '#/definitions/models.Szdz3searchwhitelist'
  24991. "500":
  24992. description: Internal Server Error
  24993. schema:
  24994. $ref: '#/definitions/app.Response'
  24995. security:
  24996. - ApiKeyAuth: []
  24997. summary: 搜索白名单
  24998. tags:
  24999. - 定制【尚志大宗】
  25000. /Search/SearchGoodses:
  25001. get:
  25002. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  25003. parameters:
  25004. - description: 检索内容
  25005. in: query
  25006. name: content
  25007. required: true
  25008. type: string
  25009. - description: 交易模式,格式:1,2,3
  25010. in: query
  25011. name: tradeModes
  25012. type: string
  25013. produces:
  25014. - application/json
  25015. responses:
  25016. "200":
  25017. description: OK
  25018. schema:
  25019. $ref: '#/definitions/models.SearchGoods'
  25020. "500":
  25021. description: Internal Server Error
  25022. schema:
  25023. $ref: '#/definitions/app.Response'
  25024. summary: 检索商品信息
  25025. tags:
  25026. - 检索服务
  25027. /TaAccount/GetTaAccounts:
  25028. get:
  25029. parameters:
  25030. - description: 登录账户
  25031. in: query
  25032. name: loginID
  25033. required: true
  25034. type: integer
  25035. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  25036. in: query
  25037. name: taAccountType
  25038. type: integer
  25039. produces:
  25040. - application/json
  25041. responses:
  25042. "200":
  25043. description: OK
  25044. schema:
  25045. $ref: '#/definitions/models.Taaccount'
  25046. "500":
  25047. description: Internal Server Error
  25048. schema:
  25049. $ref: '#/definitions/app.Response'
  25050. security:
  25051. - ApiKeyAuth: []
  25052. summary: 获取资金账户信息
  25053. tags:
  25054. - 资金账户
  25055. /TaAccount/QueryAmountLog:
  25056. get:
  25057. parameters:
  25058. - description: 页码
  25059. in: query
  25060. name: page
  25061. type: integer
  25062. - description: 每页条数
  25063. in: query
  25064. name: pagesize
  25065. type: integer
  25066. - description: 资金账户 - 格式:1,2,3
  25067. in: query
  25068. name: accountID
  25069. required: true
  25070. type: string
  25071. - description: 资金操作类型 - 格式:1,2,3
  25072. in: query
  25073. name: OperateType
  25074. type: string
  25075. produces:
  25076. - application/json
  25077. responses:
  25078. "200":
  25079. description: OK
  25080. schema:
  25081. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  25082. "500":
  25083. description: Internal Server Error
  25084. schema:
  25085. $ref: '#/definitions/app.Response'
  25086. security:
  25087. - ApiKeyAuth: []
  25088. summary: 资金流水查询(当前)
  25089. tags:
  25090. - 资金账户
  25091. /TaAccount/QueryHisAmountLog:
  25092. get:
  25093. parameters:
  25094. - description: 页码
  25095. in: query
  25096. name: page
  25097. type: integer
  25098. - description: 每页条数
  25099. in: query
  25100. name: pagesize
  25101. type: integer
  25102. - description: 资金账户 - 格式:1,2,3
  25103. in: query
  25104. name: accountID
  25105. required: true
  25106. type: string
  25107. - description: 资金操作类型 - 格式:1,2,3
  25108. in: query
  25109. name: OperateType
  25110. type: string
  25111. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  25112. in: query
  25113. name: startDate
  25114. type: string
  25115. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  25116. in: query
  25117. name: endDate
  25118. type: string
  25119. produces:
  25120. - application/json
  25121. responses:
  25122. "200":
  25123. description: OK
  25124. schema:
  25125. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  25126. "500":
  25127. description: Internal Server Error
  25128. schema:
  25129. $ref: '#/definitions/app.Response'
  25130. security:
  25131. - ApiKeyAuth: []
  25132. summary: 资金流水查询(历史)
  25133. tags:
  25134. - 资金账户
  25135. /TaAccount/QueryRelatedTaAccount:
  25136. get:
  25137. parameters:
  25138. - description: 关联UserID
  25139. in: query
  25140. name: relateduserid
  25141. required: true
  25142. type: integer
  25143. produces:
  25144. - application/json
  25145. responses:
  25146. "200":
  25147. description: OK
  25148. schema:
  25149. items:
  25150. $ref: '#/definitions/models.RelatedTaAccount'
  25151. type: array
  25152. "500":
  25153. description: Internal Server Error
  25154. schema:
  25155. $ref: '#/definitions/app.Response'
  25156. security:
  25157. - ApiKeyAuth: []
  25158. summary: 查询关联资金账户信息
  25159. tags:
  25160. - 资金账户
  25161. /Tjmd/QueryQuoteGoodsList:
  25162. get:
  25163. description: 用户类型必传, 查掉期报价列表 marketids=掉期市场id
  25164. parameters:
  25165. - description: 用户类型
  25166. in: query
  25167. name: usertype
  25168. required: true
  25169. type: integer
  25170. - description: 市场id, 格式 1,2,3
  25171. in: query
  25172. name: marketids
  25173. type: string
  25174. - description: 商品组id
  25175. in: query
  25176. name: goodsgroupid
  25177. type: integer
  25178. - description: 商品id
  25179. in: query
  25180. name: goodsid
  25181. type: integer
  25182. produces:
  25183. - application/json
  25184. responses:
  25185. "200":
  25186. description: OK
  25187. schema:
  25188. items:
  25189. $ref: '#/definitions/models.TjmdQuoteGoods'
  25190. type: array
  25191. "500":
  25192. description: Internal Server Error
  25193. schema:
  25194. $ref: '#/definitions/app.Response'
  25195. security:
  25196. - ApiKeyAuth: []
  25197. summary: 查询掉期报价列表
  25198. tags:
  25199. - 天津麦顿
  25200. /Tjmd/QueryTjmdHolderDetailTradeInfo:
  25201. get:
  25202. parameters:
  25203. - description: 成交单号
  25204. in: query
  25205. name: tradeid
  25206. required: true
  25207. type: string
  25208. produces:
  25209. - application/json
  25210. responses:
  25211. "200":
  25212. description: OK
  25213. schema:
  25214. items:
  25215. $ref: '#/definitions/models.TjmdHolderDetailTradeInfo'
  25216. type: array
  25217. "500":
  25218. description: Internal Server Error
  25219. schema:
  25220. $ref: '#/definitions/app.Response'
  25221. security:
  25222. - ApiKeyAuth: []
  25223. summary: 掉期商品订单详情(交易确认书)
  25224. tags:
  25225. - 天津麦顿
  25226. /Tjmd/QueryTjmdMarketSection:
  25227. get:
  25228. produces:
  25229. - application/json
  25230. responses:
  25231. "200":
  25232. description: OK
  25233. schema:
  25234. items:
  25235. $ref: '#/definitions/models.TjmdMarketSection'
  25236. type: array
  25237. "500":
  25238. description: Internal Server Error
  25239. schema:
  25240. $ref: '#/definitions/app.Response'
  25241. security:
  25242. - ApiKeyAuth: []
  25243. summary: 查询市场板块
  25244. tags:
  25245. - 天津麦顿
  25246. /Tjmd/QueryTjmdTodayAccountMargin:
  25247. get:
  25248. parameters:
  25249. - description: 市场id
  25250. in: query
  25251. name: marketid
  25252. type: string
  25253. - description: 商品id
  25254. in: query
  25255. name: goodsid
  25256. type: string
  25257. - description: 资金账号
  25258. in: query
  25259. name: accountid
  25260. type: string
  25261. produces:
  25262. - application/json
  25263. responses:
  25264. "200":
  25265. description: OK
  25266. schema:
  25267. items:
  25268. $ref: '#/definitions/models.TjmdTodayAccountMargin'
  25269. type: array
  25270. "500":
  25271. description: Internal Server Error
  25272. schema:
  25273. $ref: '#/definitions/app.Response'
  25274. security:
  25275. - ApiKeyAuth: []
  25276. summary: 查询今日账户保证金配置
  25277. tags:
  25278. - 天津麦顿
  25279. /Tjmd/QueryTjmdTradeOrderDetail:
  25280. get:
  25281. description: 用户类型必传, 投资者只能看到自营会员的单, 反之亦然
  25282. parameters:
  25283. - description: 页码
  25284. in: query
  25285. name: page
  25286. type: integer
  25287. - description: 每页条数
  25288. in: query
  25289. name: pagesize
  25290. type: integer
  25291. - description: 用户id
  25292. in: query
  25293. name: userid
  25294. required: true
  25295. type: integer
  25296. - description: 用户类型
  25297. in: query
  25298. name: usertype
  25299. required: true
  25300. type: integer
  25301. - description: 市场id, 格式 1,2,3
  25302. in: query
  25303. name: marketids
  25304. type: string
  25305. - description: 商品id
  25306. in: query
  25307. name: goodsid
  25308. required: true
  25309. type: integer
  25310. - description: 买卖方向 0-买 1-卖
  25311. in: query
  25312. name: buyorsell
  25313. required: true
  25314. type: integer
  25315. produces:
  25316. - application/json
  25317. responses:
  25318. "200":
  25319. description: OK
  25320. schema:
  25321. items:
  25322. $ref: '#/definitions/models.TjmdTradeOrderDetail'
  25323. type: array
  25324. "500":
  25325. description: Internal Server Error
  25326. schema:
  25327. $ref: '#/definitions/app.Response'
  25328. security:
  25329. - ApiKeyAuth: []
  25330. summary: 查询掉期买卖大厅
  25331. tags:
  25332. - 天津麦顿
  25333. /Tjmd/QueryTjmdTransferApply:
  25334. get:
  25335. parameters:
  25336. - description: 类型 1-我的申请 2-对方申请
  25337. in: query
  25338. name: applytype
  25339. required: true
  25340. type: integer
  25341. - description: 市场id, 格式 1,2,3
  25342. in: query
  25343. name: marketids
  25344. type: string
  25345. - description: 资金账号, 格式 25000000001,25000000003
  25346. in: query
  25347. name: accountids
  25348. type: string
  25349. - description: 开始交易日(yyyymmdd)
  25350. in: query
  25351. name: begindate
  25352. type: string
  25353. - description: 结束交易日(yyyymmdd)
  25354. in: query
  25355. name: enddate
  25356. type: string
  25357. produces:
  25358. - application/json
  25359. responses:
  25360. "200":
  25361. description: OK
  25362. schema:
  25363. items:
  25364. $ref: '#/definitions/models.TjmdTransferApply'
  25365. type: array
  25366. "500":
  25367. description: Internal Server Error
  25368. schema:
  25369. $ref: '#/definitions/app.Response'
  25370. security:
  25371. - ApiKeyAuth: []
  25372. summary: 查询掉期协议单
  25373. tags:
  25374. - 天津麦顿
  25375. /Trade/QueryRecieptOrder:
  25376. get:
  25377. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  25378. parameters:
  25379. - description: 页码
  25380. in: query
  25381. name: page
  25382. type: integer
  25383. - description: 每页条数
  25384. in: query
  25385. name: pagesize
  25386. type: integer
  25387. - description: 商品ID
  25388. in: query
  25389. name: goodsID
  25390. required: true
  25391. type: integer
  25392. - description: 所属账户名称
  25393. in: query
  25394. name: accountName
  25395. type: string
  25396. - description: 市场ID
  25397. in: query
  25398. name: marketID
  25399. type: integer
  25400. - description: 方向 - 0:买 1:卖
  25401. in: query
  25402. name: buyorsell
  25403. required: true
  25404. type: integer
  25405. produces:
  25406. - application/json
  25407. responses:
  25408. "200":
  25409. description: OK
  25410. schema:
  25411. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  25412. "500":
  25413. description: Internal Server Error
  25414. schema:
  25415. $ref: '#/definitions/app.Response'
  25416. security:
  25417. - ApiKeyAuth: []
  25418. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  25419. tags:
  25420. - 通用交易
  25421. /User/AddMessageBoard:
  25422. post:
  25423. parameters:
  25424. - description: 用户ID
  25425. in: query
  25426. name: userID
  25427. required: true
  25428. type: integer
  25429. - description: 留言信息
  25430. in: query
  25431. name: message
  25432. required: true
  25433. type: string
  25434. - description: 联系电话
  25435. in: query
  25436. name: contactNum
  25437. required: true
  25438. type: string
  25439. produces:
  25440. - application/json
  25441. responses:
  25442. "200":
  25443. description: OK
  25444. schema:
  25445. $ref: '#/definitions/app.Response'
  25446. "500":
  25447. description: Internal Server Error
  25448. schema:
  25449. $ref: '#/definitions/app.Response'
  25450. security:
  25451. - ApiKeyAuth: []
  25452. summary: 添加用户留言板信息
  25453. tags:
  25454. - 用户信息
  25455. /User/AddUserFavoriteGoods:
  25456. post:
  25457. parameters:
  25458. - description: 用户ID
  25459. in: query
  25460. name: userID
  25461. required: true
  25462. type: integer
  25463. - description: 商品ID
  25464. in: query
  25465. name: goodsID
  25466. required: true
  25467. type: integer
  25468. produces:
  25469. - application/json
  25470. responses:
  25471. "200":
  25472. description: OK
  25473. schema:
  25474. $ref: '#/definitions/app.Response'
  25475. "500":
  25476. description: Internal Server Error
  25477. schema:
  25478. $ref: '#/definitions/app.Response'
  25479. security:
  25480. - ApiKeyAuth: []
  25481. summary: 添加用户商品收藏信息
  25482. tags:
  25483. - 用户信息
  25484. /User/GetLoginID:
  25485. get:
  25486. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  25487. parameters:
  25488. - description: 登录代码
  25489. in: query
  25490. name: username
  25491. required: true
  25492. type: string
  25493. produces:
  25494. - application/json
  25495. responses:
  25496. "200":
  25497. description: OK
  25498. schema:
  25499. $ref: '#/definitions/app.Response'
  25500. "500":
  25501. description: Internal Server Error
  25502. schema:
  25503. $ref: '#/definitions/app.Response'
  25504. summary: 获取登录ID
  25505. tags:
  25506. - 用户信息
  25507. /User/GetUserAccount:
  25508. get:
  25509. parameters:
  25510. - description: 用户ID
  25511. in: query
  25512. name: userID
  25513. required: true
  25514. type: integer
  25515. produces:
  25516. - application/json
  25517. responses:
  25518. "200":
  25519. description: OK
  25520. schema:
  25521. $ref: '#/definitions/models.Useraccount'
  25522. "500":
  25523. description: Internal Server Error
  25524. schema:
  25525. $ref: '#/definitions/app.Response'
  25526. security:
  25527. - ApiKeyAuth: []
  25528. summary: 获取用户账号信息
  25529. tags:
  25530. - 用户信息
  25531. /User/GetUserAuthStatus:
  25532. get:
  25533. parameters:
  25534. - description: 用户ID
  25535. in: query
  25536. name: userID
  25537. required: true
  25538. type: integer
  25539. produces:
  25540. - application/json
  25541. responses:
  25542. "200":
  25543. description: OK
  25544. schema:
  25545. $ref: '#/definitions/app.Response'
  25546. "500":
  25547. description: Internal Server Error
  25548. schema:
  25549. $ref: '#/definitions/app.Response'
  25550. security:
  25551. - ApiKeyAuth: []
  25552. summary: 获取用户实名认证状态
  25553. tags:
  25554. - 用户信息
  25555. /User/LoginQuery:
  25556. get:
  25557. parameters:
  25558. - description: 登录账号
  25559. in: query
  25560. name: loginID
  25561. required: true
  25562. type: integer
  25563. produces:
  25564. - application/json
  25565. responses:
  25566. "200":
  25567. description: OK
  25568. schema:
  25569. $ref: '#/definitions/user.LoginQueryRsp'
  25570. "500":
  25571. description: Internal Server Error
  25572. schema:
  25573. $ref: '#/definitions/app.Response'
  25574. security:
  25575. - ApiKeyAuth: []
  25576. summary: 账户登录后信息查询
  25577. tags:
  25578. - 用户信息
  25579. /User/QueryMessageBoard:
  25580. get:
  25581. parameters:
  25582. - description: 用户ID
  25583. in: query
  25584. name: userID
  25585. required: true
  25586. type: integer
  25587. produces:
  25588. - application/json
  25589. responses:
  25590. "200":
  25591. description: OK
  25592. schema:
  25593. $ref: '#/definitions/models.Messageboard'
  25594. "500":
  25595. description: Internal Server Error
  25596. schema:
  25597. $ref: '#/definitions/app.Response'
  25598. security:
  25599. - ApiKeyAuth: []
  25600. summary: 获取用户留言板信息
  25601. tags:
  25602. - 用户信息
  25603. /User/QueryUserFavoriteGoodses:
  25604. get:
  25605. parameters:
  25606. - description: 用户ID
  25607. in: query
  25608. name: userID
  25609. required: true
  25610. type: integer
  25611. produces:
  25612. - application/json
  25613. responses:
  25614. "200":
  25615. description: OK
  25616. schema:
  25617. $ref: '#/definitions/models.Userfavoritegoods'
  25618. "500":
  25619. description: Internal Server Error
  25620. schema:
  25621. $ref: '#/definitions/app.Response'
  25622. security:
  25623. - ApiKeyAuth: []
  25624. summary: 获取用户商品收藏信息
  25625. tags:
  25626. - 用户信息
  25627. /User/QueryUserInfo:
  25628. get:
  25629. parameters:
  25630. - description: 用户ID
  25631. in: query
  25632. name: userID
  25633. required: true
  25634. type: integer
  25635. - description: 是否解密
  25636. in: query
  25637. name: isDecrypt
  25638. type: boolean
  25639. produces:
  25640. - application/json
  25641. responses:
  25642. "200":
  25643. description: OK
  25644. schema:
  25645. $ref: '#/definitions/models.Userinfo'
  25646. "500":
  25647. description: Internal Server Error
  25648. schema:
  25649. $ref: '#/definitions/app.Response'
  25650. security:
  25651. - ApiKeyAuth: []
  25652. summary: 获取用户信息
  25653. tags:
  25654. - 用户信息
  25655. /User/QueryUserReferNum:
  25656. get:
  25657. parameters:
  25658. - description: 用户ID
  25659. in: query
  25660. name: userID
  25661. required: true
  25662. type: integer
  25663. produces:
  25664. - application/json
  25665. responses:
  25666. "200":
  25667. description: OK
  25668. schema:
  25669. $ref: '#/definitions/app.Response'
  25670. "500":
  25671. description: Internal Server Error
  25672. schema:
  25673. $ref: '#/definitions/app.Response'
  25674. summary: 获取用户邀请码
  25675. tags:
  25676. - 用户信息
  25677. /User/RemoveUserFavoriteGoods:
  25678. post:
  25679. parameters:
  25680. - description: 用户ID
  25681. in: query
  25682. name: userID
  25683. required: true
  25684. type: integer
  25685. - description: 商品ID
  25686. in: query
  25687. name: goodsID
  25688. required: true
  25689. type: integer
  25690. produces:
  25691. - application/json
  25692. responses:
  25693. "200":
  25694. description: OK
  25695. schema:
  25696. $ref: '#/definitions/app.Response'
  25697. "500":
  25698. description: Internal Server Error
  25699. schema:
  25700. $ref: '#/definitions/app.Response'
  25701. security:
  25702. - ApiKeyAuth: []
  25703. summary: 移除用户商品收藏信息
  25704. tags:
  25705. - 用户信息
  25706. /User/UpdateUserAccountStatus:
  25707. post:
  25708. parameters:
  25709. - description: 用户ID
  25710. in: query
  25711. name: userID
  25712. required: true
  25713. type: integer
  25714. - description: 账户状态 - 4:正常 6:注销(停用)
  25715. in: query
  25716. name: accountStatus
  25717. required: true
  25718. type: integer
  25719. produces:
  25720. - application/json
  25721. responses:
  25722. "200":
  25723. description: OK
  25724. schema:
  25725. $ref: '#/definitions/app.Response'
  25726. "500":
  25727. description: Internal Server Error
  25728. schema:
  25729. $ref: '#/definitions/app.Response'
  25730. security:
  25731. - ApiKeyAuth: []
  25732. summary: 更新用户状态
  25733. tags:
  25734. - 用户信息
  25735. /WRTrade/GetAllDeliveryGoods:
  25736. get:
  25737. produces:
  25738. - application/json
  25739. responses:
  25740. "200":
  25741. description: OK
  25742. schema:
  25743. $ref: '#/definitions/app.Response'
  25744. "500":
  25745. description: Internal Server Error
  25746. schema:
  25747. $ref: '#/definitions/app.Response'
  25748. security:
  25749. - ApiKeyAuth: []
  25750. summary: 获取带仓单分类的种类信息
  25751. tags:
  25752. - 仓单贸易
  25753. - 仓单贸易
  25754. /WrTrade2/InsertXhcpSellBackApply:
  25755. post:
  25756. parameters:
  25757. - description: 回收申请
  25758. in: body
  25759. name: jsonBody
  25760. required: true
  25761. schema:
  25762. $ref: '#/definitions/models.XhcpSellBackApplyEx'
  25763. produces:
  25764. - application/json
  25765. responses:
  25766. "200":
  25767. description: OK
  25768. schema:
  25769. $ref: '#/definitions/app.Response'
  25770. "500":
  25771. description: Internal Server Error
  25772. schema:
  25773. $ref: '#/definitions/app.Response'
  25774. security:
  25775. - ApiKeyAuth: []
  25776. summary: 新增回收申请(新会陈皮)
  25777. tags:
  25778. - 仓单贸易v2
  25779. /WrTrade2/QueryDeliveryGoodsSection:
  25780. get:
  25781. produces:
  25782. - application/json
  25783. responses:
  25784. "200":
  25785. description: OK
  25786. schema:
  25787. items:
  25788. $ref: '#/definitions/models.WrDeliveryGoodsSection'
  25789. type: array
  25790. "500":
  25791. description: Internal Server Error
  25792. schema:
  25793. $ref: '#/definitions/app.Response'
  25794. security:
  25795. - ApiKeyAuth: []
  25796. summary: 查询板块(分类)
  25797. tags:
  25798. - 仓单贸易v2
  25799. /WrTrade2/QueryFaProductDetail:
  25800. get:
  25801. description: 页面 买卖大厅 -> 选择融资方案
  25802. parameters:
  25803. - description: 仓单要素id
  25804. in: query
  25805. name: wrfactortypeid
  25806. required: true
  25807. type: integer
  25808. produces:
  25809. - application/json
  25810. responses:
  25811. "200":
  25812. description: OK
  25813. schema:
  25814. items:
  25815. $ref: '#/definitions/models.WrFAProductDetail'
  25816. type: array
  25817. "500":
  25818. description: Internal Server Error
  25819. schema:
  25820. $ref: '#/definitions/app.Response'
  25821. security:
  25822. - ApiKeyAuth: []
  25823. summary: 查询融资产品列表
  25824. tags:
  25825. - 仓单贸易v2
  25826. /WrTrade2/QueryFilterItem:
  25827. get:
  25828. parameters:
  25829. - description: 类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库
  25830. in: query
  25831. name: itype
  25832. required: true
  25833. type: string
  25834. produces:
  25835. - application/json
  25836. responses:
  25837. "200":
  25838. description: OK
  25839. schema:
  25840. items:
  25841. $ref: '#/definitions/models.WrFilterItem'
  25842. type: array
  25843. "500":
  25844. description: Internal Server Error
  25845. schema:
  25846. $ref: '#/definitions/app.Response'
  25847. security:
  25848. - ApiKeyAuth: []
  25849. summary: 查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)
  25850. tags:
  25851. - 仓单贸易v2
  25852. /WrTrade2/QueryFtDeliveryGoods:
  25853. get:
  25854. produces:
  25855. - application/json
  25856. responses:
  25857. "200":
  25858. description: OK
  25859. schema:
  25860. items:
  25861. $ref: '#/definitions/models.WrFtDeliveryGoods'
  25862. type: array
  25863. "500":
  25864. description: Internal Server Error
  25865. schema:
  25866. $ref: '#/definitions/app.Response'
  25867. security:
  25868. - ApiKeyAuth: []
  25869. summary: 查询品种品类筛选框列表
  25870. tags:
  25871. - 仓单贸易v2
  25872. /WrTrade2/QueryHoldLB:
  25873. get:
  25874. description: 页面 现货仓单->现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。
  25875. parameters:
  25876. - description: 资金账号
  25877. in: query
  25878. name: accountid
  25879. required: true
  25880. type: integer
  25881. - description: 仓库id
  25882. in: query
  25883. name: warehouseid
  25884. type: integer
  25885. - description: 品种id
  25886. in: query
  25887. name: deliverygoodsid
  25888. type: integer
  25889. - description: 品类id
  25890. in: query
  25891. name: wrstandardid
  25892. type: integer
  25893. - description: 仓单要素id
  25894. in: query
  25895. name: wrfactortypeid
  25896. type: integer
  25897. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  25898. in: query
  25899. name: dgitemname
  25900. type: string
  25901. produces:
  25902. - application/json
  25903. responses:
  25904. "200":
  25905. description: OK
  25906. schema:
  25907. items:
  25908. $ref: '#/definitions/models.WrHoldLB'
  25909. type: array
  25910. "500":
  25911. description: Internal Server Error
  25912. schema:
  25913. $ref: '#/definitions/app.Response'
  25914. security:
  25915. - ApiKeyAuth: []
  25916. summary: 查询仓单持有记录
  25917. tags:
  25918. - 仓单贸易v2
  25919. /WrTrade2/QueryOrderQuote:
  25920. get:
  25921. description: 仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth
  25922. 唯一确定1条记录
  25923. parameters:
  25924. - description: 页码
  25925. in: query
  25926. name: page
  25927. type: integer
  25928. - description: 每页条数
  25929. in: query
  25930. name: pagesize
  25931. type: integer
  25932. - description: 仓单贸易市场id
  25933. in: query
  25934. name: marketid
  25935. type: integer
  25936. - description: 价格方式 - 1:固定价 2-浮动价
  25937. in: query
  25938. name: wrpricetype
  25939. required: true
  25940. type: integer
  25941. - description: 0:仓单预售 1:仓单贸易
  25942. in: query
  25943. name: haswr
  25944. type: integer
  25945. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  25946. in: query
  25947. name: dgitemname
  25948. type: string
  25949. - description: 仓库id(筛选条件)
  25950. in: query
  25951. name: warehouseid
  25952. type: integer
  25953. - description: 品种id
  25954. in: query
  25955. name: deliverygoodsid
  25956. type: integer
  25957. - description: 品类id
  25958. in: query
  25959. name: wrstandardid
  25960. type: integer
  25961. - description: 品牌id(dgfactoryitemid)
  25962. in: query
  25963. name: brandid
  25964. type: integer
  25965. - description: 年份id(dgfactoryitemid)
  25966. in: query
  25967. name: yearsid
  25968. type: integer
  25969. - description: 仓单要素id
  25970. in: query
  25971. name: wrfactortypeid
  25972. type: integer
  25973. - description: 交收月(yyyy-mm) 仓单预售填写
  25974. in: query
  25975. name: deliverymonth
  25976. type: string
  25977. produces:
  25978. - application/json
  25979. responses:
  25980. "200":
  25981. description: OK
  25982. schema:
  25983. items:
  25984. $ref: '#/definitions/models.WrOrderQuote'
  25985. type: array
  25986. "500":
  25987. description: Internal Server Error
  25988. schema:
  25989. $ref: '#/definitions/app.Response'
  25990. security:
  25991. - ApiKeyAuth: []
  25992. summary: 查询大厅行情列表
  25993. tags:
  25994. - 仓单贸易v2
  25995. /WrTrade2/QueryOrderQuoteDetail:
  25996. get:
  25997. parameters:
  25998. - description: 页码
  25999. in: query
  26000. name: page
  26001. type: integer
  26002. - description: 每页条数
  26003. in: query
  26004. name: pagesize
  26005. type: integer
  26006. - description: 仓单贸易市场id
  26007. in: query
  26008. name: marketid
  26009. type: integer
  26010. - description: 价格方式 - 1:固定价 2-浮动价
  26011. in: query
  26012. name: wrpricetype
  26013. required: true
  26014. type: integer
  26015. - description: 0:仓单预售 1:仓单贸易
  26016. in: query
  26017. name: haswr
  26018. type: integer
  26019. - description: 仓单要素id
  26020. in: query
  26021. name: wrfactortypeid
  26022. required: true
  26023. type: integer
  26024. - description: 期货商品id(浮动价方式时填)
  26025. in: query
  26026. name: goodsid
  26027. type: integer
  26028. - description: 买卖方向 0-买 1-卖
  26029. in: query
  26030. name: buyorsell
  26031. required: true
  26032. type: integer
  26033. - description: 交收月(yyyy-mm) 查仓单预售的买卖大厅时填写
  26034. in: query
  26035. name: deliverymonth
  26036. type: string
  26037. produces:
  26038. - application/json
  26039. responses:
  26040. "200":
  26041. description: OK
  26042. schema:
  26043. items:
  26044. $ref: '#/definitions/models.WrOrderQuoteDetail'
  26045. type: array
  26046. "500":
  26047. description: Internal Server Error
  26048. schema:
  26049. $ref: '#/definitions/app.Response'
  26050. security:
  26051. - ApiKeyAuth: []
  26052. summary: 查询买卖大厅
  26053. tags:
  26054. - 仓单贸易v2
  26055. /WrTrade2/QueryOrderQuoteMyq:
  26056. get:
  26057. parameters:
  26058. - description: 页码
  26059. in: query
  26060. name: page
  26061. type: integer
  26062. - description: 每页条数
  26063. in: query
  26064. name: pagesize
  26065. type: integer
  26066. - description: 用户id
  26067. in: query
  26068. name: userid
  26069. required: true
  26070. type: integer
  26071. - description: 仓单贸易市场id
  26072. in: query
  26073. name: marketid
  26074. type: integer
  26075. - description: 0:仓单预售 1:仓单贸易
  26076. in: query
  26077. name: haswr
  26078. type: integer
  26079. - description: 买卖方向 0-买 1-卖
  26080. in: query
  26081. name: buyorsell
  26082. required: true
  26083. type: integer
  26084. - description: 品种id
  26085. in: query
  26086. name: deliverygoodsid
  26087. type: integer
  26088. - description: 品类id
  26089. in: query
  26090. name: wrstandardid
  26091. type: integer
  26092. - description: 交收月(yyyy-mm) 仓单预售填写
  26093. in: query
  26094. name: deliverymonth
  26095. type: string
  26096. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  26097. in: query
  26098. name: dgitemname
  26099. type: string
  26100. produces:
  26101. - application/json
  26102. responses:
  26103. "200":
  26104. description: OK
  26105. schema:
  26106. items:
  26107. $ref: '#/definitions/models.WrQuoteOrderMyq'
  26108. type: array
  26109. "500":
  26110. description: Internal Server Error
  26111. schema:
  26112. $ref: '#/definitions/app.Response'
  26113. security:
  26114. - ApiKeyAuth: []
  26115. summary: 查询贸易圈挂牌大厅
  26116. tags:
  26117. - 仓单贸易v2
  26118. /WrTrade2/QueryPerformancePlan:
  26119. get:
  26120. parameters:
  26121. - description: 用户id
  26122. in: query
  26123. name: userid
  26124. required: true
  26125. type: integer
  26126. - description: 买卖方向 0-买 1-卖
  26127. in: query
  26128. name: buyorsell
  26129. required: true
  26130. type: integer
  26131. - description: 履约状态(可多个,逗号隔开) 1:待激活 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成
  26132. 8:释放冻结失败 9:超时待处理 10:超时关闭
  26133. in: query
  26134. name: status
  26135. type: string
  26136. - description: 开始交易日(yyyymmdd)
  26137. in: query
  26138. name: begindate
  26139. type: string
  26140. - description: 结束交易日(yyyymmdd)
  26141. in: query
  26142. name: enddate
  26143. type: string
  26144. produces:
  26145. - application/json
  26146. responses:
  26147. "200":
  26148. description: OK
  26149. schema:
  26150. items:
  26151. $ref: '#/definitions/models.WrPerformancePlan'
  26152. type: array
  26153. "500":
  26154. description: Internal Server Error
  26155. schema:
  26156. $ref: '#/definitions/app.Response'
  26157. security:
  26158. - ApiKeyAuth: []
  26159. summary: 查询履约信息
  26160. tags:
  26161. - 仓单贸易v2
  26162. /WrTrade2/QueryPermancePlanTmp:
  26163. get:
  26164. description: |-
  26165. 返回指定用户的模板和公共模板(用户id为空)
  26166. 注意:天津麦顿客户 填写marketid参数,其它参数不用填;其它客户不用填marketid字段
  26167. parameters:
  26168. - description: 用户id
  26169. in: query
  26170. name: userid
  26171. type: integer
  26172. - description: 模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  26173. (无仓单) 5:挂牌期权 6:竞拍-降价式
  26174. in: query
  26175. name: tmptype
  26176. type: string
  26177. - description: 是否包含公共模板(用户id为空的) 1-包含
  26178. in: query
  26179. name: includepub
  26180. type: integer
  26181. - description: 市场id(天津麦顿指定此参数,其它不用)
  26182. in: query
  26183. name: marketid
  26184. type: integer
  26185. produces:
  26186. - application/json
  26187. responses:
  26188. "200":
  26189. description: OK
  26190. schema:
  26191. items:
  26192. $ref: '#/definitions/models.WrPerformanceTemplateEx'
  26193. type: array
  26194. "500":
  26195. description: Internal Server Error
  26196. schema:
  26197. $ref: '#/definitions/app.Response'
  26198. security:
  26199. - ApiKeyAuth: []
  26200. summary: 查询履约模板
  26201. tags:
  26202. - 仓单贸易v2
  26203. /WrTrade2/QuerySiteColumnDetail:
  26204. get:
  26205. parameters:
  26206. - description: 页码
  26207. in: query
  26208. name: page
  26209. type: integer
  26210. - description: 每页条数
  26211. in: query
  26212. name: pagesize
  26213. type: integer
  26214. - description: 所属栏目id
  26215. in: query
  26216. name: columnid
  26217. type: integer
  26218. produces:
  26219. - application/json
  26220. responses:
  26221. "200":
  26222. description: OK
  26223. schema:
  26224. items:
  26225. $ref: '#/definitions/models.WrSiteColumnDetail'
  26226. type: array
  26227. "500":
  26228. description: Internal Server Error
  26229. schema:
  26230. $ref: '#/definitions/app.Response'
  26231. security:
  26232. - ApiKeyAuth: []
  26233. summary: 查询资讯
  26234. tags:
  26235. - 仓单贸易v2
  26236. /WrTrade2/QuerySpotGroupTradeSum:
  26237. get:
  26238. produces:
  26239. - application/json
  26240. responses:
  26241. "200":
  26242. description: OK
  26243. schema:
  26244. items:
  26245. $ref: '#/definitions/models.WrSpotGroupTradeSumEx'
  26246. type: array
  26247. "500":
  26248. description: Internal Server Error
  26249. schema:
  26250. $ref: '#/definitions/app.Response'
  26251. security:
  26252. - ApiKeyAuth: []
  26253. summary: 查询指数
  26254. tags:
  26255. - 仓单贸易v2
  26256. /WrTrade2/QuerySpotGroupTradeSumDetail:
  26257. get:
  26258. description: 查询的结果将会按日期 从小到大 排序
  26259. parameters:
  26260. - description: 现货商品id
  26261. in: query
  26262. name: deliverygoodsid
  26263. required: true
  26264. type: integer
  26265. - description: 查询最新多少条记录(如不填写此项, 默认查30条)
  26266. in: query
  26267. name: lastnum
  26268. type: integer
  26269. produces:
  26270. - application/json
  26271. responses:
  26272. "200":
  26273. description: OK
  26274. schema:
  26275. items:
  26276. $ref: '#/definitions/models.WrSpotGroupTradeSumDetail'
  26277. type: array
  26278. "500":
  26279. description: Internal Server Error
  26280. schema:
  26281. $ref: '#/definitions/app.Response'
  26282. security:
  26283. - ApiKeyAuth: []
  26284. summary: 查询指数详细(价格走势图)
  26285. tags:
  26286. - 仓单贸易v2
  26287. /WrTrade2/QueryWrAverageTradePrice:
  26288. get:
  26289. parameters:
  26290. - description: 页码
  26291. in: query
  26292. name: page
  26293. type: integer
  26294. - description: 每页条数
  26295. in: query
  26296. name: pagesize
  26297. type: integer
  26298. - description: 0:仓单预售 1:仓单贸易
  26299. in: query
  26300. name: haswr
  26301. required: true
  26302. type: integer
  26303. - description: 仓单要素id
  26304. in: query
  26305. name: wrfactortypeid
  26306. required: true
  26307. type: integer
  26308. produces:
  26309. - application/json
  26310. responses:
  26311. "200":
  26312. description: OK
  26313. schema:
  26314. items:
  26315. $ref: '#/definitions/models.WrAverageTradePrice'
  26316. type: array
  26317. "500":
  26318. description: Internal Server Error
  26319. schema:
  26320. $ref: '#/definitions/app.Response'
  26321. security:
  26322. - ApiKeyAuth: []
  26323. summary: 查询成交价(历史走势)
  26324. tags:
  26325. - 仓单贸易v2
  26326. /WrTrade2/QueryWrBrandAndYears:
  26327. get:
  26328. produces:
  26329. - application/json
  26330. responses:
  26331. "200":
  26332. description: OK
  26333. schema:
  26334. items:
  26335. $ref: '#/definitions/models.WrBrandAndYears'
  26336. type: array
  26337. "500":
  26338. description: Internal Server Error
  26339. schema:
  26340. $ref: '#/definitions/app.Response'
  26341. security:
  26342. - ApiKeyAuth: []
  26343. summary: 查询品牌和年份
  26344. tags:
  26345. - 仓单贸易v2
  26346. /WrTrade2/QueryWrBsGoodsInfo:
  26347. get:
  26348. description: 合约交易/买卖大厅/详情
  26349. parameters:
  26350. - description: 商品id
  26351. in: query
  26352. name: goodsid
  26353. required: true
  26354. type: integer
  26355. produces:
  26356. - application/json
  26357. responses:
  26358. "200":
  26359. description: OK
  26360. schema:
  26361. items:
  26362. $ref: '#/definitions/models.WrBsGoodsInfo'
  26363. type: array
  26364. "500":
  26365. description: Internal Server Error
  26366. schema:
  26367. $ref: '#/definitions/app.Response'
  26368. security:
  26369. - ApiKeyAuth: []
  26370. summary: 查询合约交易买卖大厅详情
  26371. tags:
  26372. - 仓单贸易v2
  26373. /WrTrade2/QueryWrBuybackDetail:
  26374. get:
  26375. parameters:
  26376. - description: 融资合同id
  26377. in: query
  26378. name: scfcontractid
  26379. type: integer
  26380. produces:
  26381. - application/json
  26382. responses:
  26383. "200":
  26384. description: OK
  26385. schema:
  26386. items:
  26387. $ref: '#/definitions/models.WrBuybackDetail'
  26388. type: array
  26389. "500":
  26390. description: Internal Server Error
  26391. schema:
  26392. $ref: '#/definitions/app.Response'
  26393. security:
  26394. - ApiKeyAuth: []
  26395. summary: 查询仓单回购明细
  26396. tags:
  26397. - 仓单贸易v2
  26398. /WrTrade2/QueryWrClientAdSpaceConfig:
  26399. get:
  26400. produces:
  26401. - application/json
  26402. responses:
  26403. "200":
  26404. description: OK
  26405. schema:
  26406. items:
  26407. $ref: '#/definitions/models.WrClientAdSpaceConfig'
  26408. type: array
  26409. "500":
  26410. description: Internal Server Error
  26411. schema:
  26412. $ref: '#/definitions/app.Response'
  26413. security:
  26414. - ApiKeyAuth: []
  26415. summary: 查询固定广告配置
  26416. tags:
  26417. - 仓单贸易v2
  26418. /WrTrade2/QueryWrDeliveryAvalidHoldLB:
  26419. get:
  26420. parameters:
  26421. - description: 资金账号
  26422. in: query
  26423. name: accountid
  26424. required: true
  26425. type: integer
  26426. - description: 商品id
  26427. in: query
  26428. name: goodsid
  26429. required: true
  26430. type: integer
  26431. produces:
  26432. - application/json
  26433. responses:
  26434. "200":
  26435. description: OK
  26436. schema:
  26437. items:
  26438. $ref: '#/definitions/models.WrDeliveryAvalidHoldLB'
  26439. type: array
  26440. "500":
  26441. description: Internal Server Error
  26442. schema:
  26443. $ref: '#/definitions/app.Response'
  26444. security:
  26445. - ApiKeyAuth: []
  26446. summary: 查询合约交收可点选仓单
  26447. tags:
  26448. - 仓单贸易v2
  26449. /WrTrade2/QueryWrDeliveryDetail:
  26450. get:
  26451. parameters:
  26452. - description: 用户id
  26453. in: query
  26454. name: userid
  26455. required: true
  26456. type: integer
  26457. - description: 资金账号id
  26458. in: query
  26459. name: accountid
  26460. type: integer
  26461. - description: 开始交易日(yyyymmdd)
  26462. in: query
  26463. name: begindate
  26464. type: string
  26465. - description: 结束交易日(yyyymmdd)
  26466. in: query
  26467. name: enddate
  26468. type: string
  26469. produces:
  26470. - application/json
  26471. responses:
  26472. "200":
  26473. description: OK
  26474. schema:
  26475. items:
  26476. $ref: '#/definitions/models.WrDeliveryDetail'
  26477. type: array
  26478. "500":
  26479. description: Internal Server Error
  26480. schema:
  26481. $ref: '#/definitions/app.Response'
  26482. security:
  26483. - ApiKeyAuth: []
  26484. summary: 查询交收
  26485. tags:
  26486. - 仓单贸易v2
  26487. /WrTrade2/QueryWrDraftUserInfo:
  26488. get:
  26489. parameters:
  26490. - description: 用户ID
  26491. in: query
  26492. name: userid
  26493. required: true
  26494. type: integer
  26495. - description: 用户状态 1:正常 2:注销
  26496. in: query
  26497. name: userstatus
  26498. type: integer
  26499. produces:
  26500. - application/json
  26501. responses:
  26502. "200":
  26503. description: OK
  26504. schema:
  26505. items:
  26506. $ref: '#/definitions/models.WrDraftUserInfo'
  26507. type: array
  26508. "500":
  26509. description: Internal Server Error
  26510. schema:
  26511. $ref: '#/definitions/app.Response'
  26512. security:
  26513. - ApiKeyAuth: []
  26514. summary: 查询实名认证信息
  26515. tags:
  26516. - 仓单贸易v2
  26517. /WrTrade2/QueryWrFactorTypeInfo:
  26518. get:
  26519. parameters:
  26520. - description: 仓单要素id
  26521. in: query
  26522. name: wrfactortypeid
  26523. required: true
  26524. type: integer
  26525. produces:
  26526. - application/json
  26527. responses:
  26528. "200":
  26529. description: OK
  26530. schema:
  26531. items:
  26532. $ref: '#/definitions/models.WrFactorTypeInfo'
  26533. type: array
  26534. "500":
  26535. description: Internal Server Error
  26536. schema:
  26537. $ref: '#/definitions/app.Response'
  26538. security:
  26539. - ApiKeyAuth: []
  26540. summary: 查询仓单要素详细信息
  26541. tags:
  26542. - 仓单贸易v2
  26543. /WrTrade2/QueryWrFactorTypeInfoEx:
  26544. get:
  26545. parameters:
  26546. - description: 仓单要素id
  26547. in: query
  26548. name: wrfactortypeid
  26549. required: true
  26550. type: integer
  26551. produces:
  26552. - application/json
  26553. responses:
  26554. "200":
  26555. description: OK
  26556. schema:
  26557. items:
  26558. $ref: '#/definitions/models.WrTypeItem'
  26559. type: array
  26560. "500":
  26561. description: Internal Server Error
  26562. schema:
  26563. $ref: '#/definitions/app.Response'
  26564. security:
  26565. - ApiKeyAuth: []
  26566. summary: 查询仓单要素详细信息列表项
  26567. tags:
  26568. - 仓单贸易v2
  26569. /WrTrade2/QueryWrFinanceBuyApply:
  26570. get:
  26571. description: 页面 融资信息+ / 申请单
  26572. parameters:
  26573. - description: 用户id
  26574. in: query
  26575. name: userid
  26576. required: true
  26577. type: integer
  26578. produces:
  26579. - application/json
  26580. responses:
  26581. "200":
  26582. description: OK
  26583. schema:
  26584. items:
  26585. $ref: '#/definitions/models.WrFinanceBuyApply'
  26586. type: array
  26587. "500":
  26588. description: Internal Server Error
  26589. schema:
  26590. $ref: '#/definitions/app.Response'
  26591. security:
  26592. - ApiKeyAuth: []
  26593. summary: 查询融资购买申请
  26594. tags:
  26595. - 仓单贸易v2
  26596. /WrTrade2/QueryWrFriendApply:
  26597. get:
  26598. parameters:
  26599. - description: 用户id
  26600. in: query
  26601. name: userid
  26602. required: true
  26603. type: integer
  26604. produces:
  26605. - application/json
  26606. responses:
  26607. "200":
  26608. description: OK
  26609. schema:
  26610. items:
  26611. $ref: '#/definitions/models.WrFriendApply'
  26612. type: array
  26613. "500":
  26614. description: Internal Server Error
  26615. schema:
  26616. $ref: '#/definitions/app.Response'
  26617. security:
  26618. - ApiKeyAuth: []
  26619. summary: 查询好友申请记录
  26620. tags:
  26621. - 仓单贸易v2
  26622. /WrTrade2/QueryWrGoodsInfo:
  26623. get:
  26624. parameters:
  26625. - description: 仓单贸易市场id
  26626. in: query
  26627. name: marketid
  26628. type: integer
  26629. - description: 0:仓单预售 1:仓单贸易
  26630. in: query
  26631. name: haswr
  26632. required: true
  26633. type: integer
  26634. - description: 仓单要素id
  26635. in: query
  26636. name: wrfactortypeid
  26637. required: true
  26638. type: integer
  26639. - description: 履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)
  26640. in: query
  26641. name: tmplateid
  26642. type: integer
  26643. produces:
  26644. - application/json
  26645. responses:
  26646. "200":
  26647. description: OK
  26648. schema:
  26649. items:
  26650. $ref: '#/definitions/models.WrGoodsInfo'
  26651. type: array
  26652. "500":
  26653. description: Internal Server Error
  26654. schema:
  26655. $ref: '#/definitions/app.Response'
  26656. security:
  26657. - ApiKeyAuth: []
  26658. summary: 查询仓单商品信息
  26659. tags:
  26660. - 仓单贸易v2
  26661. /WrTrade2/QueryWrMarketTradeConfig:
  26662. get:
  26663. parameters:
  26664. - description: 市场id
  26665. in: query
  26666. name: marketid
  26667. type: integer
  26668. produces:
  26669. - application/json
  26670. responses:
  26671. "200":
  26672. description: OK
  26673. schema:
  26674. items:
  26675. $ref: '#/definitions/models.WrMarketTradeConfig'
  26676. type: array
  26677. "500":
  26678. description: Internal Server Error
  26679. schema:
  26680. $ref: '#/definitions/app.Response'
  26681. security:
  26682. - ApiKeyAuth: []
  26683. summary: 查询市场交易参数配置
  26684. tags:
  26685. - 仓单贸易v2
  26686. /WrTrade2/QueryWrOrderDetail:
  26687. get:
  26688. description: 页面 现货仓单 | 预售仓单 -> 委托单
  26689. parameters:
  26690. - description: 页码
  26691. in: query
  26692. name: page
  26693. type: integer
  26694. - description: 每页条数
  26695. in: query
  26696. name: pagesize
  26697. type: integer
  26698. - description: 用户id
  26699. in: query
  26700. name: userid
  26701. required: true
  26702. type: integer
  26703. - description: 仓单贸易市场id
  26704. in: query
  26705. name: marketid
  26706. type: integer
  26707. - description: 0:仓单预售 1:仓单贸易
  26708. in: query
  26709. name: haswr
  26710. required: true
  26711. type: integer
  26712. - description: 是否仅查可撤单据 1:可撤 注:此参数仅对当前记录有效, 且不含47模式市场
  26713. in: query
  26714. name: bcancel
  26715. type: integer
  26716. - description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  26717. in: query
  26718. name: wrtradetype
  26719. type: integer
  26720. - description: 开始交易日(yyyymmdd)
  26721. in: query
  26722. name: begindate
  26723. type: string
  26724. - description: 结束交易日(yyyymmdd)
  26725. in: query
  26726. name: enddate
  26727. type: string
  26728. produces:
  26729. - application/json
  26730. responses:
  26731. "200":
  26732. description: OK
  26733. schema:
  26734. items:
  26735. $ref: '#/definitions/models.WrOrderDetail'
  26736. type: array
  26737. "500":
  26738. description: Internal Server Error
  26739. schema:
  26740. $ref: '#/definitions/app.Response'
  26741. security:
  26742. - ApiKeyAuth: []
  26743. summary: 查询仓单委托单
  26744. tags:
  26745. - 仓单贸易v2
  26746. /WrTrade2/QueryWrOutInApply:
  26747. get:
  26748. parameters:
  26749. - description: 页码
  26750. in: query
  26751. name: page
  26752. type: integer
  26753. - description: 每页条数
  26754. in: query
  26755. name: pagesize
  26756. type: integer
  26757. - description: 用户id
  26758. in: query
  26759. name: userid
  26760. required: true
  26761. type: integer
  26762. - description: 开始交易日(yyyymmdd)
  26763. in: query
  26764. name: begindate
  26765. type: string
  26766. - description: 结束交易日(yyyymmdd)
  26767. in: query
  26768. name: enddate
  26769. type: string
  26770. produces:
  26771. - application/json
  26772. responses:
  26773. "200":
  26774. description: OK
  26775. schema:
  26776. items:
  26777. $ref: '#/definitions/models.WrOutInApply'
  26778. type: array
  26779. "500":
  26780. description: Internal Server Error
  26781. schema:
  26782. $ref: '#/definitions/app.Response'
  26783. security:
  26784. - ApiKeyAuth: []
  26785. summary: 查询提货申请
  26786. tags:
  26787. - 仓单贸易v2
  26788. /WrTrade2/QueryWrPerformancePlanStep:
  26789. get:
  26790. parameters:
  26791. - description: 履约计划id(performanceplanid)
  26792. in: query
  26793. name: planid
  26794. required: true
  26795. type: integer
  26796. - description: 当前步骤id
  26797. in: query
  26798. name: curstepid
  26799. type: integer
  26800. produces:
  26801. - application/json
  26802. responses:
  26803. "200":
  26804. description: OK
  26805. schema:
  26806. items:
  26807. $ref: '#/definitions/models.WrPerformancePlanStep'
  26808. type: array
  26809. "500":
  26810. description: Internal Server Error
  26811. schema:
  26812. $ref: '#/definitions/app.Response'
  26813. security:
  26814. - ApiKeyAuth: []
  26815. summary: 查询履约信息详情
  26816. tags:
  26817. - 仓单贸易v2
  26818. /WrTrade2/QueryWrPerformanceStepType:
  26819. get:
  26820. produces:
  26821. - application/json
  26822. responses:
  26823. "200":
  26824. description: OK
  26825. schema:
  26826. items:
  26827. $ref: '#/definitions/models.WrPerformanceStepType'
  26828. type: array
  26829. "500":
  26830. description: Internal Server Error
  26831. schema:
  26832. $ref: '#/definitions/app.Response'
  26833. security:
  26834. - ApiKeyAuth: []
  26835. summary: 查询履约步骤枚举
  26836. tags:
  26837. - 仓单贸易v2
  26838. /WrTrade2/QueryWrPosition:
  26839. get:
  26840. description: 页面 现货仓单->现货汇总/库存汇总; 预售仓单->订单汇总
  26841. parameters:
  26842. - description: 用户id
  26843. in: query
  26844. name: userid
  26845. required: true
  26846. type: integer
  26847. - description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  26848. in: query
  26849. name: querytype
  26850. required: true
  26851. type: integer
  26852. - description: 0:仓单预售 1:仓单贸易
  26853. in: query
  26854. name: haswr
  26855. required: true
  26856. type: integer
  26857. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  26858. in: query
  26859. name: dgitemname
  26860. type: string
  26861. - description: 仓库id(筛选条件)
  26862. in: query
  26863. name: warehouseid
  26864. type: integer
  26865. - description: 品种id
  26866. in: query
  26867. name: deliverygoodsid
  26868. type: integer
  26869. - description: 品类id
  26870. in: query
  26871. name: wrstandardid
  26872. type: integer
  26873. produces:
  26874. - application/json
  26875. responses:
  26876. "200":
  26877. description: OK
  26878. schema:
  26879. items:
  26880. $ref: '#/definitions/models.WrPosition'
  26881. type: array
  26882. "500":
  26883. description: Internal Server Error
  26884. schema:
  26885. $ref: '#/definitions/app.Response'
  26886. security:
  26887. - ApiKeyAuth: []
  26888. summary: 查询现货(预售)仓单持仓
  26889. tags:
  26890. - 仓单贸易v2
  26891. /WrTrade2/QueryWrPreSaleInfo:
  26892. get:
  26893. parameters:
  26894. - description: 市场id
  26895. in: query
  26896. name: marketid
  26897. type: integer
  26898. - description: 预售状态(逗号隔开,如1,2,3) 1:未开始 2:进行中 3:已结束 4:已关闭
  26899. in: query
  26900. name: presalestatus
  26901. type: string
  26902. - description: 摇号标识 - 0:未摇号 1:已摇号
  26903. in: query
  26904. name: lotteryflag
  26905. type: integer
  26906. - description: 最近多少条记录(按创建时间倒序)
  26907. in: query
  26908. name: lastnum
  26909. type: integer
  26910. produces:
  26911. - application/json
  26912. responses:
  26913. "200":
  26914. description: OK
  26915. schema:
  26916. items:
  26917. $ref: '#/definitions/models.WrPreSaleInfo'
  26918. type: array
  26919. "500":
  26920. description: Internal Server Error
  26921. schema:
  26922. $ref: '#/definitions/app.Response'
  26923. security:
  26924. - ApiKeyAuth: []
  26925. summary: 查询新品发布
  26926. tags:
  26927. - 仓单贸易v2
  26928. /WrTrade2/QueryWrReckonSpotGoodsTradeSum:
  26929. get:
  26930. parameters:
  26931. - description: 市场id
  26932. in: query
  26933. name: marketid
  26934. required: true
  26935. type: integer
  26936. - description: 现货商品id
  26937. in: query
  26938. name: wrstandardid
  26939. required: true
  26940. type: integer
  26941. - description: 开始交易日(yyyymmdd)
  26942. in: query
  26943. name: begindate
  26944. type: string
  26945. - description: 结束交易日(yyyymmdd)
  26946. in: query
  26947. name: enddate
  26948. type: string
  26949. - description: 最近多少条记录(按交易日倒序)
  26950. in: query
  26951. name: lastnum
  26952. type: integer
  26953. - description: 是否今日
  26954. in: query
  26955. name: istoday
  26956. type: boolean
  26957. produces:
  26958. - application/json
  26959. responses:
  26960. "200":
  26961. description: OK
  26962. schema:
  26963. items:
  26964. $ref: '#/definitions/models.WrReckonSpotGoodsTradeSum'
  26965. type: array
  26966. "500":
  26967. description: Internal Server Error
  26968. schema:
  26969. $ref: '#/definitions/app.Response'
  26970. security:
  26971. - ApiKeyAuth: []
  26972. summary: 查询价格走势
  26973. tags:
  26974. - 仓单贸易v2
  26975. /WrTrade2/QueryWrScfContract:
  26976. get:
  26977. parameters:
  26978. - description: 用户id
  26979. in: query
  26980. name: userid
  26981. required: true
  26982. type: integer
  26983. - description: 融资合同id
  26984. in: query
  26985. name: scfcontractid
  26986. type: integer
  26987. produces:
  26988. - application/json
  26989. responses:
  26990. "200":
  26991. description: OK
  26992. schema:
  26993. items:
  26994. $ref: '#/definitions/models.WrScfContract'
  26995. type: array
  26996. "500":
  26997. description: Internal Server Error
  26998. schema:
  26999. $ref: '#/definitions/app.Response'
  27000. security:
  27001. - ApiKeyAuth: []
  27002. summary: 查询仓单贸易融资合同
  27003. tags:
  27004. - 仓单贸易v2
  27005. /WrTrade2/QueryWrScfContractInterest:
  27006. get:
  27007. parameters:
  27008. - description: 融资合同id
  27009. in: query
  27010. name: scfcontractid
  27011. type: integer
  27012. produces:
  27013. - application/json
  27014. responses:
  27015. "200":
  27016. description: OK
  27017. schema:
  27018. items:
  27019. $ref: '#/definitions/models.WrScfContractInterest'
  27020. type: array
  27021. "500":
  27022. description: Internal Server Error
  27023. schema:
  27024. $ref: '#/definitions/app.Response'
  27025. security:
  27026. - ApiKeyAuth: []
  27027. summary: 查询融资合同费用明细
  27028. tags:
  27029. - 仓单贸易v2
  27030. /WrTrade2/QueryWrSearchUser:
  27031. get:
  27032. parameters:
  27033. - description: 用户名称(模糊匹配)
  27034. in: query
  27035. name: username
  27036. required: true
  27037. type: string
  27038. produces:
  27039. - application/json
  27040. responses:
  27041. "200":
  27042. description: OK
  27043. schema:
  27044. items:
  27045. $ref: '#/definitions/models.WrSearchUser'
  27046. type: array
  27047. "500":
  27048. description: Internal Server Error
  27049. schema:
  27050. $ref: '#/definitions/app.Response'
  27051. security:
  27052. - ApiKeyAuth: []
  27053. summary: 查询用户
  27054. tags:
  27055. - 仓单贸易v2
  27056. /WrTrade2/QueryWrSpecialMatchOrder:
  27057. get:
  27058. description: 页面 现货仓单 | 预售仓单 -> 指定成交
  27059. parameters:
  27060. - description: 页码
  27061. in: query
  27062. name: page
  27063. type: integer
  27064. - description: 每页条数
  27065. in: query
  27066. name: pagesize
  27067. type: integer
  27068. - description: 用户id
  27069. in: query
  27070. name: userid
  27071. required: true
  27072. type: integer
  27073. - description: 仓单贸易市场id
  27074. in: query
  27075. name: marketid
  27076. type: integer
  27077. - description: 0:仓单预售 1:仓单贸易
  27078. in: query
  27079. name: haswr
  27080. required: true
  27081. type: integer
  27082. - description: 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  27083. in: query
  27084. name: isspecified
  27085. type: integer
  27086. produces:
  27087. - application/json
  27088. responses:
  27089. "200":
  27090. description: OK
  27091. schema:
  27092. items:
  27093. $ref: '#/definitions/models.WrSpecialMatchOrder'
  27094. type: array
  27095. "500":
  27096. description: Internal Server Error
  27097. schema:
  27098. $ref: '#/definitions/app.Response'
  27099. security:
  27100. - ApiKeyAuth: []
  27101. summary: 查询指定成交
  27102. tags:
  27103. - 仓单贸易v2
  27104. /WrTrade2/QueryWrStandardFactoryItem:
  27105. get:
  27106. parameters:
  27107. - description: 品类id
  27108. in: query
  27109. name: wrstandardid
  27110. required: true
  27111. type: integer
  27112. produces:
  27113. - application/json
  27114. responses:
  27115. "200":
  27116. description: OK
  27117. schema:
  27118. items:
  27119. $ref: '#/definitions/models.WrStandardFactoryItemEx'
  27120. type: array
  27121. "500":
  27122. description: Internal Server Error
  27123. schema:
  27124. $ref: '#/definitions/app.Response'
  27125. security:
  27126. - ApiKeyAuth: []
  27127. summary: 查询品类要素定义项
  27128. tags:
  27129. - 仓单贸易v2
  27130. /WrTrade2/QueryWrTradeBargainApply:
  27131. get:
  27132. description: 1.页面 挂单/议价单, 只需传单号就行 <br>2.页面 议价->我的议价 参数 userid=登录userid <br>3.页面
  27133. 议价->对方议价 填写matchuserid=登录用户id
  27134. parameters:
  27135. - description: 议价人id(摘牌方)
  27136. in: query
  27137. name: userid
  27138. type: integer
  27139. - description: 挂牌方id(查对方议价时,填写此项)
  27140. in: query
  27141. name: matchuserid
  27142. type: integer
  27143. - description: 关联委托单id
  27144. in: query
  27145. name: wrtradeorderid
  27146. type: integer
  27147. - description: 0:仓单预售 1:仓单贸易
  27148. in: query
  27149. name: haswr
  27150. required: true
  27151. type: integer
  27152. - description: 开始交易日(yyyymmdd)
  27153. in: query
  27154. name: begindate
  27155. type: string
  27156. - description: 结束交易日(yyyymmdd)
  27157. in: query
  27158. name: enddate
  27159. type: string
  27160. produces:
  27161. - application/json
  27162. responses:
  27163. "200":
  27164. description: OK
  27165. schema:
  27166. items:
  27167. $ref: '#/definitions/models.WRTradeBargainApply'
  27168. type: array
  27169. "500":
  27170. description: Internal Server Error
  27171. schema:
  27172. $ref: '#/definitions/app.Response'
  27173. security:
  27174. - ApiKeyAuth: []
  27175. summary: 查询议价单
  27176. tags:
  27177. - 仓单贸易v2
  27178. /WrTrade2/QueryWrTradeDetail:
  27179. get:
  27180. parameters:
  27181. - description: 页码
  27182. in: query
  27183. name: page
  27184. type: integer
  27185. - description: 每页条数
  27186. in: query
  27187. name: pagesize
  27188. type: integer
  27189. - description: 用户id
  27190. in: query
  27191. name: userid
  27192. required: true
  27193. type: integer
  27194. - description: 仓单贸易市场id
  27195. in: query
  27196. name: marketid
  27197. type: integer
  27198. - description: 0:仓单预售 1:仓单贸易
  27199. in: query
  27200. name: haswr
  27201. required: true
  27202. type: integer
  27203. - description: 开始交易日(yyyymmdd)
  27204. in: query
  27205. name: begindate
  27206. type: string
  27207. - description: 结束交易日(yyyymmdd)
  27208. in: query
  27209. name: enddate
  27210. type: string
  27211. produces:
  27212. - application/json
  27213. responses:
  27214. "200":
  27215. description: OK
  27216. schema:
  27217. items:
  27218. $ref: '#/definitions/models.WrTradeDetail'
  27219. type: array
  27220. "500":
  27221. description: Internal Server Error
  27222. schema:
  27223. $ref: '#/definitions/app.Response'
  27224. security:
  27225. - ApiKeyAuth: []
  27226. summary: 查询仓单成交明细
  27227. tags:
  27228. - 仓单贸易v2
  27229. /WrTrade2/QueryWrTradeOrderDetail:
  27230. get:
  27231. parameters:
  27232. - description: 页码
  27233. in: query
  27234. name: page
  27235. type: integer
  27236. - description: 每页条数
  27237. in: query
  27238. name: pagesize
  27239. type: integer
  27240. - description: 商品id
  27241. in: query
  27242. name: goodsid
  27243. required: true
  27244. type: integer
  27245. - description: 买卖方向 0-买 1-卖
  27246. in: query
  27247. name: buyorsell
  27248. required: true
  27249. type: integer
  27250. produces:
  27251. - application/json
  27252. responses:
  27253. "200":
  27254. description: OK
  27255. schema:
  27256. items:
  27257. $ref: '#/definitions/models.WrTradeOrderDetail'
  27258. type: array
  27259. "500":
  27260. description: Internal Server Error
  27261. schema:
  27262. $ref: '#/definitions/app.Response'
  27263. security:
  27264. - ApiKeyAuth: []
  27265. summary: 查询合约交易买卖大厅
  27266. tags:
  27267. - 仓单贸易v2
  27268. /WrTrade2/QueryWrTradeQuote:
  27269. get:
  27270. parameters:
  27271. - description: 现货商品id
  27272. in: query
  27273. name: wrstandardid
  27274. required: true
  27275. type: integer
  27276. - description: 开始日期(yyyymmdd)
  27277. in: query
  27278. name: begindate
  27279. required: true
  27280. type: string
  27281. - description: 结束日期(yyyymmdd)
  27282. in: query
  27283. name: enddate
  27284. required: true
  27285. type: string
  27286. - description: 市场id
  27287. in: query
  27288. name: marketid
  27289. type: integer
  27290. produces:
  27291. - application/json
  27292. responses:
  27293. "200":
  27294. description: OK
  27295. schema:
  27296. items:
  27297. $ref: '#/definitions/models.Wrtradetradequote'
  27298. type: array
  27299. "500":
  27300. description: Internal Server Error
  27301. schema:
  27302. $ref: '#/definitions/app.Response'
  27303. security:
  27304. - ApiKeyAuth: []
  27305. summary: 查询仓单贸易成交行情
  27306. tags:
  27307. - 仓单贸易v2
  27308. /WrTrade2/QueryWrUserFriend:
  27309. get:
  27310. parameters:
  27311. - description: 用户id
  27312. in: query
  27313. name: userid
  27314. required: true
  27315. type: integer
  27316. - description: 新朋友userid, 如果填写了此项则查找新朋友
  27317. in: query
  27318. name: newuserid
  27319. type: integer
  27320. produces:
  27321. - application/json
  27322. responses:
  27323. "200":
  27324. description: OK
  27325. schema:
  27326. items:
  27327. $ref: '#/definitions/models.WrUserFriend'
  27328. type: array
  27329. "500":
  27330. description: Internal Server Error
  27331. schema:
  27332. $ref: '#/definitions/app.Response'
  27333. security:
  27334. - ApiKeyAuth: []
  27335. summary: 查询我的朋友
  27336. tags:
  27337. - 仓单贸易v2
  27338. /WrTrade2/QueryWrUserReceiptInfo:
  27339. get:
  27340. parameters:
  27341. - description: 用户id
  27342. in: query
  27343. name: userid
  27344. type: integer
  27345. - description: 发票类型 - 1:个人 2:企业
  27346. in: query
  27347. name: receipttype
  27348. type: integer
  27349. produces:
  27350. - application/json
  27351. responses:
  27352. "200":
  27353. description: OK
  27354. schema:
  27355. items:
  27356. $ref: '#/definitions/models.WrUserReceiptInfo'
  27357. type: array
  27358. "500":
  27359. description: Internal Server Error
  27360. schema:
  27361. $ref: '#/definitions/app.Response'
  27362. security:
  27363. - ApiKeyAuth: []
  27364. summary: 查询发票信息
  27365. tags:
  27366. - 仓单贸易v2
  27367. /WrTrade2/QueryXhcpSellBackApply:
  27368. get:
  27369. parameters:
  27370. - description: 用户ID
  27371. in: query
  27372. name: userid
  27373. required: true
  27374. type: integer
  27375. produces:
  27376. - application/json
  27377. responses:
  27378. "200":
  27379. description: OK
  27380. schema:
  27381. items:
  27382. $ref: '#/definitions/models.Xhcpsellbackapply'
  27383. type: array
  27384. "500":
  27385. description: Internal Server Error
  27386. schema:
  27387. $ref: '#/definitions/app.Response'
  27388. security:
  27389. - ApiKeyAuth: []
  27390. summary: 查询我的回收申请(新会陈皮)
  27391. tags:
  27392. - 仓单贸易v2
  27393. /ZJ/GetBankTip:
  27394. get:
  27395. produces:
  27396. - application/json
  27397. responses:
  27398. "200":
  27399. description: OK
  27400. schema:
  27401. type: string
  27402. "500":
  27403. description: Internal Server Error
  27404. schema:
  27405. $ref: '#/definitions/app.Response'
  27406. summary: 获取中江网银端出入金提示信息
  27407. tags:
  27408. - 中江
  27409. /ZJ/GetCusBankChannels:
  27410. get:
  27411. produces:
  27412. - application/json
  27413. responses:
  27414. "200":
  27415. description: OK
  27416. schema:
  27417. items:
  27418. type: string
  27419. type: array
  27420. "500":
  27421. description: Internal Server Error
  27422. schema:
  27423. $ref: '#/definitions/app.Response'
  27424. summary: 获取中江出入金渠道显示列表
  27425. tags:
  27426. - 中江
  27427. securityDefinitions:
  27428. ApiKeyAuth:
  27429. in: header
  27430. name: Authorization
  27431. type: apiKey
  27432. Group:
  27433. in: header
  27434. name: Group
  27435. type: apiKey
  27436. LoginID:
  27437. in: header
  27438. name: LoginID
  27439. type: apiKey
  27440. swagger: "2.0"