swagger.yaml 761 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758187591876018761187621876318764187651876618767187681876918770187711877218773187741877518776187771877818779187801878118782187831878418785187861878718788187891879018791187921879318794187951879618797187981879918800188011880218803188041880518806188071880818809188101881118812188131881418815188161881718818188191882018821188221882318824188251882618827188281882918830188311883218833188341883518836188371883818839188401884118842188431884418845188461884718848188491885018851188521885318854188551885618857188581885918860188611886218863188641886518866188671886818869188701887118872188731887418875188761887718878188791888018881188821888318884188851888618887188881888918890188911889218893188941889518896188971889818899189001890118902189031890418905189061890718908189091891018911189121891318914189151891618917189181891918920189211892218923189241892518926189271892818929189301893118932189331893418935189361893718938189391894018941189421894318944189451894618947189481894918950189511895218953189541895518956189571895818959189601896118962189631896418965189661896718968189691897018971189721897318974189751897618977189781897918980189811898218983189841898518986189871898818989189901899118992189931899418995189961899718998189991900019001190021900319004190051900619007190081900919010190111901219013190141901519016190171901819019190201902119022190231902419025190261902719028190291903019031190321903319034190351903619037190381903919040190411904219043190441904519046190471904819049190501905119052190531905419055190561905719058190591906019061190621906319064190651906619067190681906919070190711907219073190741907519076190771907819079190801908119082190831908419085190861908719088190891909019091190921909319094190951909619097190981909919100191011910219103191041910519106191071910819109191101911119112191131911419115191161911719118191191912019121191221912319124191251912619127191281912919130191311913219133191341913519136191371913819139191401914119142191431914419145191461914719148191491915019151191521915319154191551915619157191581915919160191611916219163191641916519166191671916819169191701917119172191731917419175191761917719178191791918019181191821918319184191851918619187191881918919190191911919219193191941919519196191971919819199192001920119202192031920419205192061920719208192091921019211192121921319214192151921619217192181921919220192211922219223192241922519226192271922819229192301923119232192331923419235192361923719238192391924019241192421924319244192451924619247192481924919250192511925219253192541925519256192571925819259192601926119262192631926419265192661926719268192691927019271192721927319274192751927619277192781927919280192811928219283192841928519286192871928819289192901929119292192931929419295192961929719298192991930019301193021930319304193051930619307193081930919310193111931219313193141931519316193171931819319193201932119322193231932419325193261932719328193291933019331193321933319334193351933619337193381933919340193411934219343193441934519346193471934819349193501935119352193531935419355193561935719358193591936019361193621936319364193651936619367193681936919370193711937219373193741937519376193771937819379193801938119382193831938419385193861938719388193891939019391193921939319394193951939619397193981939919400194011940219403194041940519406194071940819409194101941119412194131941419415194161941719418194191942019421194221942319424194251942619427194281942919430194311943219433194341943519436194371943819439194401944119442194431944419445194461944719448194491945019451194521945319454194551945619457194581945919460194611946219463194641946519466194671946819469194701947119472194731947419475194761947719478194791948019481194821948319484194851948619487194881948919490194911949219493194941949519496194971949819499195001950119502195031950419505195061950719508195091951019511195121951319514195151951619517195181951919520195211952219523195241952519526195271952819529195301953119532195331953419535195361953719538195391954019541195421954319544195451954619547195481954919550195511955219553195541955519556195571955819559195601956119562195631956419565195661956719568195691957019571195721957319574195751957619577195781957919580195811958219583195841958519586195871958819589195901959119592195931959419595195961959719598195991960019601196021960319604196051960619607196081960919610196111961219613196141961519616196171961819619196201962119622196231962419625196261962719628196291963019631196321963319634196351963619637196381963919640196411964219643196441964519646196471964819649196501965119652196531965419655196561965719658196591966019661196621966319664196651966619667196681966919670196711967219673196741967519676196771967819679196801968119682196831968419685196861968719688196891969019691196921969319694196951969619697196981969919700197011970219703197041970519706197071970819709197101971119712197131971419715197161971719718197191972019721197221972319724197251972619727197281972919730197311973219733197341973519736197371973819739197401974119742197431974419745197461974719748197491975019751197521975319754197551975619757197581975919760197611976219763197641976519766197671976819769197701977119772197731977419775197761977719778197791978019781197821978319784197851978619787197881978919790197911979219793197941979519796197971979819799198001980119802198031980419805198061980719808198091981019811198121981319814198151981619817198181981919820198211982219823198241982519826198271982819829198301983119832198331983419835198361983719838198391984019841198421984319844198451984619847198481984919850198511985219853198541985519856198571985819859198601986119862198631986419865198661986719868198691987019871198721987319874198751987619877198781987919880198811988219883198841988519886198871988819889198901989119892198931989419895198961989719898198991990019901199021990319904199051990619907199081990919910199111991219913199141991519916199171991819919199201992119922199231992419925199261992719928199291993019931199321993319934199351993619937199381993919940199411994219943199441994519946199471994819949199501995119952199531995419955199561995719958199591996019961199621996319964199651996619967199681996919970199711997219973199741997519976199771997819979199801998119982199831998419985199861998719988199891999019991199921999319994199951999619997199981999920000200012000220003200042000520006200072000820009200102001120012200132001420015200162001720018200192002020021200222002320024200252002620027200282002920030200312003220033200342003520036200372003820039200402004120042200432004420045200462004720048200492005020051200522005320054200552005620057200582005920060200612006220063200642006520066200672006820069200702007120072200732007420075200762007720078200792008020081200822008320084200852008620087200882008920090200912009220093200942009520096200972009820099201002010120102201032010420105201062010720108201092011020111201122011320114201152011620117201182011920120201212012220123201242012520126201272012820129201302013120132201332013420135201362013720138201392014020141201422014320144201452014620147201482014920150201512015220153201542015520156201572015820159201602016120162201632016420165201662016720168201692017020171201722017320174201752017620177201782017920180201812018220183201842018520186201872018820189201902019120192201932019420195201962019720198201992020020201202022020320204202052020620207202082020920210202112021220213202142021520216202172021820219202202022120222202232022420225202262022720228202292023020231202322023320234202352023620237202382023920240202412024220243202442024520246202472024820249202502025120252202532025420255202562025720258202592026020261202622026320264202652026620267202682026920270202712027220273202742027520276202772027820279202802028120282202832028420285202862028720288202892029020291202922029320294202952029620297202982029920300203012030220303203042030520306203072030820309203102031120312203132031420315203162031720318203192032020321203222032320324203252032620327203282032920330203312033220333203342033520336203372033820339203402034120342203432034420345203462034720348203492035020351203522035320354203552035620357203582035920360203612036220363203642036520366203672036820369203702037120372203732037420375203762037720378203792038020381203822038320384203852038620387203882038920390203912039220393203942039520396203972039820399204002040120402204032040420405204062040720408204092041020411204122041320414204152041620417204182041920420204212042220423204242042520426204272042820429204302043120432204332043420435204362043720438204392044020441204422044320444204452044620447204482044920450204512045220453204542045520456204572045820459204602046120462204632046420465204662046720468204692047020471204722047320474204752047620477204782047920480204812048220483204842048520486204872048820489204902049120492204932049420495204962049720498204992050020501205022050320504205052050620507205082050920510205112051220513205142051520516205172051820519205202052120522205232052420525205262052720528205292053020531205322053320534205352053620537205382053920540205412054220543205442054520546205472054820549205502055120552205532055420555205562055720558205592056020561205622056320564205652056620567205682056920570205712057220573205742057520576205772057820579205802058120582205832058420585205862058720588205892059020591205922059320594205952059620597205982059920600206012060220603206042060520606206072060820609206102061120612206132061420615206162061720618206192062020621206222062320624206252062620627206282062920630206312063220633206342063520636206372063820639206402064120642206432064420645206462064720648206492065020651206522065320654206552065620657206582065920660206612066220663206642066520666206672066820669206702067120672206732067420675206762067720678206792068020681206822068320684206852068620687206882068920690206912069220693206942069520696206972069820699207002070120702207032070420705207062070720708207092071020711207122071320714207152071620717207182071920720207212072220723207242072520726207272072820729207302073120732207332073420735207362073720738207392074020741207422074320744207452074620747207482074920750207512075220753207542075520756207572075820759207602076120762207632076420765207662076720768207692077020771207722077320774207752077620777207782077920780207812078220783207842078520786207872078820789207902079120792207932079420795207962079720798207992080020801208022080320804208052080620807208082080920810208112081220813208142081520816208172081820819208202082120822208232082420825208262082720828208292083020831208322083320834208352083620837208382083920840208412084220843208442084520846208472084820849208502085120852208532085420855208562085720858208592086020861208622086320864208652086620867208682086920870208712087220873208742087520876208772087820879208802088120882208832088420885208862088720888208892089020891208922089320894208952089620897208982089920900209012090220903209042090520906209072090820909209102091120912209132091420915209162091720918209192092020921209222092320924209252092620927209282092920930209312093220933209342093520936209372093820939209402094120942209432094420945209462094720948209492095020951209522095320954209552095620957209582095920960209612096220963209642096520966209672096820969209702097120972209732097420975209762097720978209792098020981209822098320984209852098620987209882098920990209912099220993209942099520996209972099820999210002100121002210032100421005210062100721008210092101021011210122101321014210152101621017210182101921020210212102221023210242102521026210272102821029210302103121032210332103421035210362103721038210392104021041210422104321044210452104621047210482104921050210512105221053210542105521056210572105821059210602106121062210632106421065210662106721068210692107021071210722107321074210752107621077210782107921080210812108221083210842108521086210872108821089210902109121092210932109421095210962109721098210992110021101211022110321104211052110621107211082110921110211112111221113211142111521116211172111821119211202112121122211232112421125211262112721128211292113021131211322113321134211352113621137211382113921140211412114221143211442114521146211472114821149211502115121152211532115421155211562115721158211592116021161211622116321164211652116621167211682116921170211712117221173211742117521176211772117821179211802118121182211832118421185211862118721188211892119021191211922119321194211952119621197211982119921200212012120221203212042120521206212072120821209212102121121212212132121421215212162121721218212192122021221212222122321224212252122621227212282122921230212312123221233212342123521236212372123821239212402124121242212432124421245212462124721248212492125021251212522125321254212552125621257212582125921260212612126221263212642126521266212672126821269212702127121272212732127421275212762127721278212792128021281212822128321284212852128621287212882128921290212912129221293212942129521296212972129821299213002130121302213032130421305213062130721308213092131021311213122131321314213152131621317213182131921320213212132221323213242132521326213272132821329213302133121332213332133421335213362133721338213392134021341213422134321344213452134621347213482134921350213512135221353213542135521356213572135821359213602136121362213632136421365213662136721368213692137021371213722137321374213752137621377213782137921380213812138221383213842138521386213872138821389213902139121392213932139421395213962139721398213992140021401214022140321404214052140621407214082140921410214112141221413214142141521416214172141821419214202142121422214232142421425214262142721428214292143021431214322143321434214352143621437214382143921440214412144221443214442144521446214472144821449214502145121452214532145421455214562145721458214592146021461214622146321464214652146621467214682146921470214712147221473214742147521476214772147821479214802148121482214832148421485214862148721488214892149021491214922149321494214952149621497214982149921500215012150221503215042150521506215072150821509215102151121512215132151421515215162151721518215192152021521215222152321524215252152621527215282152921530215312153221533215342153521536215372153821539215402154121542215432154421545215462154721548215492155021551215522155321554215552155621557215582155921560215612156221563215642156521566215672156821569215702157121572215732157421575215762157721578215792158021581215822158321584215852158621587215882158921590215912159221593215942159521596215972159821599216002160121602216032160421605216062160721608216092161021611216122161321614216152161621617216182161921620216212162221623216242162521626216272162821629216302163121632216332163421635216362163721638216392164021641216422164321644216452164621647216482164921650216512165221653216542165521656216572165821659216602166121662216632166421665216662166721668216692167021671216722167321674216752167621677216782167921680216812168221683216842168521686216872168821689216902169121692216932169421695216962169721698216992170021701217022170321704217052170621707217082170921710217112171221713217142171521716217172171821719217202172121722217232172421725217262172721728217292173021731217322173321734217352173621737217382173921740217412174221743217442174521746217472174821749217502175121752217532175421755217562175721758217592176021761217622176321764217652176621767217682176921770217712177221773217742177521776217772177821779217802178121782217832178421785217862178721788217892179021791217922179321794217952179621797217982179921800218012180221803218042180521806218072180821809218102181121812218132181421815218162181721818218192182021821218222182321824218252182621827218282182921830218312183221833218342183521836218372183821839218402184121842218432184421845218462184721848218492185021851218522185321854218552185621857218582185921860218612186221863218642186521866218672186821869218702187121872218732187421875218762187721878218792188021881218822188321884218852188621887218882188921890218912189221893218942189521896218972189821899219002190121902219032190421905219062190721908219092191021911219122191321914219152191621917219182191921920219212192221923219242192521926219272192821929219302193121932219332193421935219362193721938219392194021941219422194321944219452194621947219482194921950219512195221953219542195521956219572195821959219602196121962219632196421965219662196721968219692197021971219722197321974219752197621977219782197921980219812198221983219842198521986219872198821989219902199121992219932199421995219962199721998219992200022001220022200322004220052200622007220082200922010220112201222013220142201522016220172201822019220202202122022220232202422025220262202722028220292203022031220322203322034220352203622037220382203922040220412204222043220442204522046220472204822049220502205122052220532205422055220562205722058220592206022061220622206322064220652206622067220682206922070220712207222073220742207522076220772207822079220802208122082220832208422085220862208722088220892209022091220922209322094220952209622097220982209922100221012210222103221042210522106221072210822109221102211122112221132211422115221162211722118221192212022121221222212322124221252212622127221282212922130221312213222133221342213522136221372213822139221402214122142221432214422145221462214722148221492215022151221522215322154221552215622157221582215922160221612216222163221642216522166221672216822169221702217122172221732217422175221762217722178221792218022181221822218322184221852218622187221882218922190221912219222193221942219522196221972219822199222002220122202222032220422205222062220722208222092221022211222122221322214222152221622217222182221922220222212222222223222242222522226222272222822229222302223122232222332223422235222362223722238222392224022241222422224322244222452224622247222482224922250222512225222253222542225522256222572225822259222602226122262222632226422265222662226722268222692227022271222722227322274222752227622277222782227922280222812228222283222842228522286222872228822289222902229122292222932229422295222962229722298222992230022301223022230322304223052230622307223082230922310223112231222313223142231522316223172231822319223202232122322223232232422325223262232722328223292233022331223322233322334223352233622337223382233922340223412234222343223442234522346223472234822349223502235122352223532235422355223562235722358223592236022361223622236322364223652236622367223682236922370223712237222373223742237522376223772237822379223802238122382223832238422385223862238722388223892239022391223922239322394223952239622397223982239922400224012240222403224042240522406224072240822409224102241122412224132241422415224162241722418224192242022421224222242322424224252242622427224282242922430224312243222433224342243522436224372243822439224402244122442224432244422445224462244722448224492245022451224522245322454224552245622457224582245922460224612246222463224642246522466224672246822469224702247122472224732247422475224762247722478224792248022481224822248322484224852248622487224882248922490224912249222493224942249522496224972249822499225002250122502225032250422505225062250722508225092251022511225122251322514225152251622517225182251922520225212252222523225242252522526225272252822529225302253122532225332253422535225362253722538225392254022541225422254322544225452254622547225482254922550225512255222553225542255522556225572255822559225602256122562225632256422565225662256722568225692257022571225722257322574225752257622577225782257922580225812258222583225842258522586225872258822589225902259122592225932259422595225962259722598225992260022601226022260322604226052260622607226082260922610226112261222613226142261522616226172261822619226202262122622226232262422625226262262722628226292263022631226322263322634226352263622637226382263922640226412264222643226442264522646226472264822649226502265122652226532265422655226562265722658226592266022661226622266322664226652266622667226682266922670226712267222673226742267522676226772267822679226802268122682226832268422685226862268722688226892269022691226922269322694226952269622697226982269922700227012270222703227042270522706227072270822709227102271122712227132271422715227162271722718227192272022721227222272322724227252272622727227282272922730227312273222733227342273522736227372273822739227402274122742227432274422745227462274722748227492275022751227522275322754227552275622757227582275922760227612276222763227642276522766227672276822769227702277122772227732277422775227762277722778227792278022781227822278322784227852278622787227882278922790227912279222793227942279522796227972279822799228002280122802228032280422805228062280722808228092281022811228122281322814228152281622817228182281922820228212282222823228242282522826228272282822829228302283122832228332283422835228362283722838228392284022841228422284322844228452284622847228482284922850228512285222853228542285522856228572285822859228602286122862228632286422865228662286722868228692287022871228722287322874228752287622877228782287922880228812288222883228842288522886228872288822889228902289122892228932289422895228962289722898228992290022901229022290322904229052290622907229082290922910229112291222913229142291522916229172291822919229202292122922229232292422925229262292722928229292293022931229322293322934229352293622937229382293922940229412294222943229442294522946229472294822949229502295122952229532295422955229562295722958229592296022961229622296322964229652296622967229682296922970229712297222973229742297522976229772297822979229802298122982229832298422985229862298722988229892299022991229922299322994229952299622997229982299923000230012300223003230042300523006230072300823009230102301123012230132301423015230162301723018230192302023021230222302323024230252302623027230282302923030230312303223033230342303523036230372303823039230402304123042230432304423045230462304723048230492305023051230522305323054230552305623057230582305923060230612306223063230642306523066230672306823069230702307123072230732307423075230762307723078230792308023081230822308323084230852308623087230882308923090230912309223093230942309523096230972309823099231002310123102231032310423105231062310723108231092311023111231122311323114231152311623117231182311923120231212312223123231242312523126231272312823129231302313123132231332313423135231362313723138231392314023141231422314323144231452314623147231482314923150231512315223153231542315523156231572315823159231602316123162231632316423165231662316723168231692317023171231722317323174231752317623177231782317923180231812318223183231842318523186231872318823189231902319123192231932319423195231962319723198231992320023201232022320323204232052320623207232082320923210232112321223213232142321523216232172321823219232202322123222232232322423225232262322723228232292323023231232322323323234232352323623237232382323923240232412324223243232442324523246232472324823249232502325123252232532325423255232562325723258232592326023261232622326323264232652326623267232682326923270232712327223273232742327523276232772327823279232802328123282232832328423285232862328723288232892329023291232922329323294232952329623297232982329923300233012330223303233042330523306233072330823309233102331123312233132331423315233162331723318233192332023321233222332323324233252332623327233282332923330233312333223333233342333523336233372333823339233402334123342233432334423345233462334723348233492335023351233522335323354233552335623357233582335923360233612336223363233642336523366233672336823369233702337123372233732337423375233762337723378233792338023381233822338323384233852338623387233882338923390233912339223393233942339523396233972339823399234002340123402234032340423405234062340723408234092341023411234122341323414234152341623417234182341923420234212342223423234242342523426234272342823429234302343123432234332343423435234362343723438234392344023441234422344323444234452344623447234482344923450234512345223453234542345523456234572345823459234602346123462234632346423465234662346723468234692347023471234722347323474234752347623477234782347923480234812348223483234842348523486234872348823489234902349123492234932349423495234962349723498234992350023501235022350323504235052350623507235082350923510235112351223513235142351523516235172351823519235202352123522235232352423525235262352723528235292353023531235322353323534235352353623537235382353923540235412354223543235442354523546235472354823549235502355123552235532355423555235562355723558235592356023561235622356323564235652356623567235682356923570235712357223573235742357523576235772357823579235802358123582235832358423585235862358723588235892359023591235922359323594235952359623597235982359923600236012360223603236042360523606236072360823609236102361123612236132361423615236162361723618236192362023621236222362323624236252362623627236282362923630236312363223633236342363523636236372363823639236402364123642236432364423645236462364723648236492365023651236522365323654236552365623657236582365923660236612366223663236642366523666236672366823669236702367123672236732367423675236762367723678236792368023681236822368323684236852368623687236882368923690236912369223693236942369523696236972369823699237002370123702237032370423705237062370723708237092371023711237122371323714237152371623717237182371923720237212372223723237242372523726237272372823729237302373123732237332373423735237362373723738237392374023741237422374323744237452374623747237482374923750237512375223753237542375523756237572375823759237602376123762237632376423765237662376723768237692377023771237722377323774237752377623777237782377923780237812378223783237842378523786237872378823789237902379123792237932379423795237962379723798237992380023801238022380323804238052380623807238082380923810238112381223813238142381523816238172381823819238202382123822238232382423825238262382723828238292383023831238322383323834238352383623837238382383923840238412384223843238442384523846238472384823849238502385123852238532385423855238562385723858238592386023861238622386323864238652386623867238682386923870238712387223873238742387523876238772387823879238802388123882238832388423885238862388723888238892389023891238922389323894238952389623897238982389923900239012390223903239042390523906239072390823909239102391123912239132391423915239162391723918239192392023921239222392323924239252392623927239282392923930239312393223933239342393523936239372393823939239402394123942239432394423945239462394723948239492395023951239522395323954239552395623957239582395923960239612396223963239642396523966239672396823969239702397123972239732397423975239762397723978239792398023981239822398323984239852398623987239882398923990239912399223993239942399523996239972399823999240002400124002240032400424005240062400724008240092401024011240122401324014240152401624017240182401924020240212402224023240242402524026240272402824029240302403124032240332403424035240362403724038240392404024041240422404324044240452404624047240482404924050240512405224053240542405524056240572405824059240602406124062240632406424065240662406724068240692407024071240722407324074240752407624077240782407924080240812408224083240842408524086240872408824089240902409124092240932409424095240962409724098240992410024101241022410324104241052410624107241082410924110241112411224113241142411524116241172411824119241202412124122241232412424125241262412724128241292413024131241322413324134241352413624137241382413924140241412414224143241442414524146241472414824149241502415124152241532415424155241562415724158241592416024161241622416324164241652416624167241682416924170241712417224173241742417524176241772417824179241802418124182241832418424185241862418724188241892419024191241922419324194241952419624197241982419924200242012420224203242042420524206242072420824209242102421124212242132421424215242162421724218242192422024221242222422324224242252422624227242282422924230242312423224233242342423524236242372423824239242402424124242242432424424245242462424724248242492425024251242522425324254242552425624257242582425924260242612426224263242642426524266242672426824269242702427124272242732427424275242762427724278242792428024281242822428324284242852428624287242882428924290242912429224293242942429524296242972429824299243002430124302243032430424305243062430724308243092431024311243122431324314243152431624317243182431924320243212432224323243242432524326243272432824329243302433124332243332433424335243362433724338243392434024341243422434324344243452434624347243482434924350243512435224353243542435524356243572435824359243602436124362243632436424365243662436724368243692437024371243722437324374243752437624377243782437924380243812438224383243842438524386243872438824389243902439124392243932439424395243962439724398243992440024401244022440324404244052440624407244082440924410244112441224413244142441524416244172441824419244202442124422244232442424425244262442724428244292443024431244322443324434244352443624437244382443924440244412444224443244442444524446244472444824449244502445124452244532445424455244562445724458244592446024461244622446324464244652446624467244682446924470244712447224473244742447524476244772447824479244802448124482244832448424485244862448724488244892449024491244922449324494244952449624497244982449924500245012450224503245042450524506245072450824509245102451124512245132451424515245162451724518245192452024521245222452324524245252452624527245282452924530245312453224533245342453524536245372453824539245402454124542245432454424545245462454724548245492455024551245522455324554245552455624557245582455924560245612456224563245642456524566245672456824569245702457124572245732457424575245762457724578245792458024581245822458324584245852458624587245882458924590245912459224593245942459524596245972459824599246002460124602246032460424605246062460724608246092461024611246122461324614246152461624617246182461924620246212462224623246242462524626246272462824629246302463124632246332463424635246362463724638246392464024641246422464324644246452464624647246482464924650246512465224653246542465524656246572465824659246602466124662246632466424665246662466724668246692467024671246722467324674246752467624677246782467924680246812468224683246842468524686246872468824689246902469124692246932469424695246962469724698246992470024701247022470324704247052470624707247082470924710247112471224713247142471524716247172471824719247202472124722247232472424725247262472724728247292473024731247322473324734247352473624737247382473924740247412474224743247442474524746247472474824749247502475124752247532475424755247562475724758247592476024761247622476324764247652476624767247682476924770247712477224773247742477524776247772477824779247802478124782247832478424785247862478724788247892479024791247922479324794247952479624797247982479924800248012480224803248042480524806248072480824809248102481124812248132481424815248162481724818248192482024821248222482324824248252482624827248282482924830248312483224833248342483524836248372483824839248402484124842248432484424845248462484724848248492485024851248522485324854248552485624857248582485924860248612486224863248642486524866248672486824869248702487124872248732487424875248762487724878248792488024881248822488324884248852488624887248882488924890248912489224893248942489524896248972489824899249002490124902249032490424905249062490724908249092491024911249122491324914249152491624917249182491924920249212492224923249242492524926249272492824929249302493124932249332493424935249362493724938249392494024941249422494324944249452494624947249482494924950249512495224953249542495524956249572495824959249602496124962249632496424965249662496724968249692497024971249722497324974249752497624977249782497924980249812498224983249842498524986249872498824989249902499124992249932499424995249962499724998249992500025001250022500325004250052500625007250082500925010250112501225013250142501525016250172501825019250202502125022250232502425025250262502725028250292503025031250322503325034250352503625037250382503925040250412504225043250442504525046250472504825049250502505125052250532505425055250562505725058250592506025061250622506325064250652506625067250682506925070250712507225073250742507525076250772507825079250802508125082250832508425085250862508725088250892509025091250922509325094250952509625097250982509925100251012510225103251042510525106251072510825109251102511125112251132511425115251162511725118251192512025121251222512325124251252512625127251282512925130251312513225133251342513525136251372513825139251402514125142251432514425145251462514725148251492515025151251522515325154251552515625157251582515925160251612516225163251642516525166251672516825169251702517125172251732517425175251762517725178251792518025181251822518325184251852518625187251882518925190251912519225193251942519525196251972519825199252002520125202252032520425205252062520725208252092521025211252122521325214252152521625217252182521925220252212522225223252242522525226252272522825229252302523125232252332523425235252362523725238252392524025241252422524325244252452524625247252482524925250252512525225253252542525525256252572525825259252602526125262252632526425265252662526725268252692527025271252722527325274252752527625277252782527925280252812528225283252842528525286252872528825289252902529125292252932529425295252962529725298252992530025301253022530325304253052530625307253082530925310253112531225313253142531525316253172531825319253202532125322253232532425325253262532725328253292533025331253322533325334253352533625337253382533925340253412534225343253442534525346253472534825349253502535125352253532535425355253562535725358253592536025361253622536325364253652536625367253682536925370253712537225373253742537525376253772537825379253802538125382253832538425385253862538725388253892539025391253922539325394253952539625397253982539925400254012540225403254042540525406254072540825409254102541125412254132541425415254162541725418254192542025421254222542325424254252542625427254282542925430254312543225433254342543525436254372543825439254402544125442254432544425445254462544725448254492545025451254522545325454254552545625457254582545925460254612546225463254642546525466254672546825469254702547125472254732547425475254762547725478254792548025481254822548325484254852548625487254882548925490254912549225493254942549525496254972549825499255002550125502255032550425505255062550725508255092551025511255122551325514255152551625517255182551925520255212552225523255242552525526255272552825529255302553125532255332553425535255362553725538255392554025541255422554325544255452554625547255482554925550255512555225553255542555525556255572555825559255602556125562255632556425565255662556725568255692557025571255722557325574255752557625577255782557925580255812558225583255842558525586255872558825589255902559125592255932559425595255962559725598255992560025601256022560325604256052560625607256082560925610256112561225613256142561525616256172561825619256202562125622256232562425625256262562725628256292563025631256322563325634256352563625637256382563925640256412564225643256442564525646256472564825649256502565125652256532565425655256562565725658256592566025661256622566325664256652566625667256682566925670256712567225673256742567525676256772567825679256802568125682256832568425685256862568725688256892569025691256922569325694256952569625697256982569925700257012570225703257042570525706257072570825709257102571125712257132571425715257162571725718257192572025721257222572325724257252572625727257282572925730257312573225733257342573525736257372573825739257402574125742257432574425745257462574725748257492575025751257522575325754257552575625757257582575925760257612576225763257642576525766257672576825769257702577125772257732577425775257762577725778257792578025781257822578325784257852578625787257882578925790257912579225793257942579525796257972579825799258002580125802258032580425805258062580725808258092581025811258122581325814258152581625817258182581925820258212582225823258242582525826258272582825829258302583125832258332583425835258362583725838258392584025841258422584325844258452584625847258482584925850258512585225853258542585525856258572585825859258602586125862258632586425865258662586725868258692587025871258722587325874258752587625877258782587925880258812588225883258842588525886258872588825889258902589125892258932589425895258962589725898258992590025901259022590325904259052590625907259082590925910259112591225913259142591525916259172591825919259202592125922259232592425925259262592725928259292593025931259322593325934259352593625937259382593925940259412594225943259442594525946259472594825949259502595125952259532595425955259562595725958259592596025961259622596325964259652596625967259682596925970259712597225973259742597525976259772597825979259802598125982259832598425985259862598725988259892599025991259922599325994259952599625997259982599926000260012600226003260042600526006260072600826009260102601126012260132601426015260162601726018260192602026021260222602326024260252602626027260282602926030260312603226033260342603526036260372603826039260402604126042260432604426045260462604726048260492605026051260522605326054260552605626057260582605926060260612606226063260642606526066260672606826069260702607126072260732607426075260762607726078260792608026081260822608326084260852608626087260882608926090260912609226093260942609526096260972609826099261002610126102261032610426105261062610726108261092611026111261122611326114261152611626117261182611926120261212612226123261242612526126261272612826129261302613126132261332613426135261362613726138261392614026141261422614326144261452614626147261482614926150261512615226153261542615526156261572615826159261602616126162261632616426165261662616726168261692617026171261722617326174261752617626177261782617926180261812618226183261842618526186261872618826189261902619126192261932619426195261962619726198261992620026201262022620326204262052620626207262082620926210262112621226213262142621526216262172621826219262202622126222262232622426225262262622726228262292623026231262322623326234262352623626237262382623926240262412624226243262442624526246262472624826249262502625126252262532625426255262562625726258262592626026261262622626326264262652626626267262682626926270262712627226273262742627526276262772627826279262802628126282262832628426285262862628726288262892629026291262922629326294262952629626297262982629926300263012630226303263042630526306263072630826309263102631126312263132631426315263162631726318263192632026321263222632326324263252632626327263282632926330263312633226333263342633526336263372633826339263402634126342263432634426345263462634726348263492635026351263522635326354263552635626357263582635926360263612636226363263642636526366263672636826369263702637126372263732637426375263762637726378263792638026381263822638326384263852638626387263882638926390263912639226393263942639526396263972639826399264002640126402264032640426405264062640726408264092641026411264122641326414264152641626417264182641926420264212642226423264242642526426264272642826429264302643126432264332643426435264362643726438264392644026441264422644326444264452644626447264482644926450264512645226453264542645526456264572645826459264602646126462264632646426465264662646726468264692647026471264722647326474264752647626477264782647926480264812648226483264842648526486264872648826489264902649126492264932649426495264962649726498264992650026501265022650326504265052650626507265082650926510265112651226513265142651526516265172651826519265202652126522265232652426525265262652726528265292653026531265322653326534265352653626537265382653926540265412654226543265442654526546265472654826549265502655126552265532655426555265562655726558265592656026561265622656326564265652656626567265682656926570265712657226573265742657526576265772657826579265802658126582265832658426585265862658726588265892659026591265922659326594265952659626597265982659926600266012660226603266042660526606266072660826609266102661126612266132661426615266162661726618266192662026621266222662326624266252662626627266282662926630266312663226633266342663526636266372663826639266402664126642266432664426645266462664726648266492665026651266522665326654266552665626657266582665926660266612666226663266642666526666266672666826669266702667126672266732667426675266762667726678266792668026681266822668326684266852668626687266882668926690266912669226693266942669526696266972669826699267002670126702267032670426705267062670726708267092671026711267122671326714267152671626717267182671926720267212672226723267242672526726267272672826729267302673126732267332673426735267362673726738267392674026741267422674326744267452674626747267482674926750267512675226753267542675526756267572675826759267602676126762267632676426765267662676726768267692677026771267722677326774267752677626777267782677926780267812678226783267842678526786267872678826789267902679126792267932679426795267962679726798267992680026801268022680326804268052680626807268082680926810268112681226813268142681526816268172681826819268202682126822268232682426825268262682726828268292683026831268322683326834268352683626837268382683926840268412684226843268442684526846268472684826849268502685126852268532685426855268562685726858268592686026861268622686326864268652686626867268682686926870268712687226873268742687526876268772687826879268802688126882268832688426885268862688726888268892689026891268922689326894268952689626897268982689926900269012690226903269042690526906269072690826909269102691126912269132691426915269162691726918269192692026921269222692326924269252692626927269282692926930269312693226933269342693526936269372693826939269402694126942269432694426945269462694726948269492695026951269522695326954269552695626957269582695926960269612696226963269642696526966269672696826969269702697126972269732697426975269762697726978269792698026981269822698326984269852698626987269882698926990269912699226993269942699526996269972699826999270002700127002270032700427005270062700727008270092701027011270122701327014270152701627017270182701927020270212702227023270242702527026270272702827029270302703127032270332703427035270362703727038270392704027041270422704327044270452704627047270482704927050270512705227053270542705527056270572705827059270602706127062270632706427065270662706727068270692707027071270722707327074270752707627077270782707927080270812708227083270842708527086270872708827089270902709127092270932709427095270962709727098270992710027101271022710327104271052710627107271082710927110271112711227113271142711527116271172711827119271202712127122271232712427125271262712727128271292713027131271322713327134271352713627137271382713927140271412714227143271442714527146271472714827149271502715127152271532715427155271562715727158271592716027161271622716327164271652716627167271682716927170271712717227173271742717527176271772717827179271802718127182271832718427185271862718727188271892719027191271922719327194271952719627197271982719927200272012720227203272042720527206272072720827209272102721127212272132721427215272162721727218272192722027221272222722327224272252722627227272282722927230272312723227233272342723527236272372723827239272402724127242272432724427245272462724727248272492725027251
  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.Externalexchange:
  9568. properties:
  9569. autoid:
  9570. description: AutoID - SEQ_EXTERNALEXCHANGE
  9571. type: integer
  9572. exchangefullname:
  9573. description: 外部交易所全称
  9574. type: string
  9575. exexchangecode:
  9576. description: 外部交易所代码
  9577. type: string
  9578. exexchangename:
  9579. description: 外部交易所名称(简称)
  9580. type: string
  9581. ismarketprice:
  9582. description: 是否支持市价 - 0:不支持 1:支持
  9583. type: integer
  9584. quotegear:
  9585. description: 行情档位(1-10)
  9586. type: integer
  9587. showbrokerflag:
  9588. description: 是否显示买卖经纪盘 - 0:不显示 1:显示
  9589. type: integer
  9590. updatetime:
  9591. description: 更新时间
  9592. type: string
  9593. required:
  9594. - autoid
  9595. type: object
  9596. models.Funcmenulist:
  9597. properties:
  9598. iconame:
  9599. description: 菜单图标
  9600. type: string
  9601. menutype:
  9602. description: 菜单类型 1-管理端 2-交易端 3-终端权限
  9603. type: integer
  9604. parentcode:
  9605. description: 上级资源代码
  9606. type: string
  9607. remark:
  9608. description: 备注
  9609. type: string
  9610. resourcecode:
  9611. description: 资源代码
  9612. type: string
  9613. resourcelevel:
  9614. description: 级别 1-一级 2-二级 3-三级 4-四级
  9615. type: integer
  9616. resourcename:
  9617. description: 资源名
  9618. type: string
  9619. sort:
  9620. description: 排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序
  9621. type: integer
  9622. url:
  9623. description: URL
  9624. type: string
  9625. required:
  9626. - resourcecode
  9627. type: object
  9628. models.GZGoods:
  9629. properties:
  9630. cerno:
  9631. description: 证书编号 - 类型:2,4,5
  9632. type: string
  9633. cpcertno:
  9634. description: 金伯利证书编号 - 类型:3
  9635. type: string
  9636. goodsno:
  9637. description: 商品编号
  9638. type: string
  9639. imagepath:
  9640. description: 商品照片(相对地址)
  9641. type: string
  9642. isvalid:
  9643. description: 是否有效 - 0:无效 1:有效
  9644. type: integer
  9645. kppath:
  9646. description: 金伯利证书图片(相对地址) - 类型:3
  9647. type: string
  9648. kpweight:
  9649. description: 金伯利证书重量 - 类型:3
  9650. type: string
  9651. marketprice:
  9652. description: 市场价
  9653. type: string
  9654. origin:
  9655. description: 原产地 - 类型:3
  9656. type: string
  9657. price:
  9658. description: 总价(价格) - 类型:1,2,3,4,5
  9659. type: number
  9660. priceper:
  9661. description: 克拉单价 - 类型:1,2,3,5
  9662. type: string
  9663. remark:
  9664. description: 备注
  9665. type: string
  9666. sellmobile:
  9667. description: 手机号码(加密存储)
  9668. type: string
  9669. sellusername:
  9670. description: 账户名称(机构名称)
  9671. type: string
  9672. settingmaterial:
  9673. description: 镶嵌材料 - 类型:4
  9674. type: string
  9675. size1:
  9676. description: 尺寸1 - 类型:2,4,5
  9677. type: string
  9678. size2:
  9679. description: 尺寸2 - 类型:2,4,5
  9680. type: string
  9681. size3:
  9682. description: 尺寸3 - 类型:2,4,5
  9683. type: string
  9684. stonedesc:
  9685. description: 配石描述 - 类型:4
  9686. type: string
  9687. userid:
  9688. description: 用户ID
  9689. type: integer
  9690. warehouseid:
  9691. description: 仓库ID
  9692. type: integer
  9693. warehousenamedisplay:
  9694. type: string
  9695. weight:
  9696. description: 总重量(克拉重量) - 类型:1,2,3,4,5
  9697. type: number
  9698. weightavg:
  9699. description: 平均单颗重量 - 类型:1,3
  9700. type: number
  9701. wrpath:
  9702. description: 仓单扫描件(相对地址)
  9703. type: string
  9704. wrstandardid:
  9705. description: 现货商品ID
  9706. type: integer
  9707. zscategory:
  9708. description: 钻石分类 - 枚举”ZSCategory“
  9709. type: integer
  9710. zscategorydisplay:
  9711. type: string
  9712. zscerttype:
  9713. description: 证书类型 - 枚举”ZSCertType“ - 类型:2,4,5
  9714. type: integer
  9715. zscerttypedisplay:
  9716. type: string
  9717. zsclaritytype1:
  9718. description: 净度1 - 枚举”ZSClarityType“ - 类型:1,2,3,4,5
  9719. type: integer
  9720. zsclaritytype1display:
  9721. type: string
  9722. zsclaritytype2:
  9723. description: 净度2 - 枚举”ZSClarityType“ - 类型:1,3
  9724. type: integer
  9725. zsclaritytype2display:
  9726. type: string
  9727. zscolortype1:
  9728. description: 颜色1 - 枚举”ZSColorType“ - 类型:1,2,3,4
  9729. type: integer
  9730. zscolortype1display:
  9731. type: string
  9732. zscolortype2:
  9733. description: 颜色2 - 枚举”ZSColorType“ - 类型:1,3
  9734. type: integer
  9735. zscolortype2display:
  9736. type: string
  9737. zscrystaltype:
  9738. description: 晶型范围 - 枚举“ZSCrystalType“ - 类型:3, 多个,逗号分隔
  9739. type: string
  9740. zscrystaltypedisplay:
  9741. type: string
  9742. zscurrencytype:
  9743. description: 货币类型 - 枚举“ZSCurrencyType”
  9744. type: integer
  9745. zscurrencytypedisplay:
  9746. type: string
  9747. zscurrencytypedisplayunit:
  9748. type: string
  9749. zscuttype1:
  9750. description: 切工1 - 枚举”ZSCutType“ - 类型:1,2,4,5
  9751. type: integer
  9752. zscuttype1display:
  9753. type: string
  9754. zscuttype2:
  9755. description: 切工2 - 枚举”ZSCutType“ - 类型:1
  9756. type: integer
  9757. zscuttype2display:
  9758. type: string
  9759. zsczcolor1type:
  9760. description: 彩钻颜色1 - 枚举”ZSCZColor1Type“ - 类型:5
  9761. type: integer
  9762. zsczcolor1typedisplay:
  9763. type: string
  9764. zsczcolor2type:
  9765. description: 彩钻颜色2 - 枚举”ZSCZColor2Type“ - 类型:5
  9766. type: integer
  9767. zsczcolor2typedisplay:
  9768. type: string
  9769. zsczcolor3type:
  9770. description: 彩钻颜色3 - 枚举”ZSCZColor3Type“ - 类型:5
  9771. type: integer
  9772. zsczcolor3typedisplay:
  9773. type: string
  9774. zsfluorescencetype1:
  9775. description: 荧光1 - 枚举”ZSFluorescenceType“ - 类型:1,2,3,4,5
  9776. type: integer
  9777. zsfluorescencetype1display:
  9778. type: string
  9779. zsfluorescencetype2:
  9780. description: 荧光2 - 枚举”ZSFluorescenceType” - 类型:1,3
  9781. type: integer
  9782. zsfluorescencetype2display:
  9783. type: string
  9784. zspolishtype1:
  9785. description: 抛光度1 - 枚举”ZSPolishType“ - 类型:1,2,4,5
  9786. type: integer
  9787. zspolishtype1display:
  9788. type: string
  9789. zspolishtype2:
  9790. description: 抛光度2 - 枚举”ZSPolishType“ - 类型:1
  9791. type: integer
  9792. zspolishtype2display:
  9793. type: string
  9794. zsshapetype:
  9795. description: 形状 - 枚举”ZSShapeType“ - 类型:1,2,4,5 ;(1为多个,逗号分隔)
  9796. type: string
  9797. zsshapetypedisplay:
  9798. type: string
  9799. zsstyletype:
  9800. description: 款式 - 类型:4
  9801. type: integer
  9802. zsstyletypedisplay:
  9803. type: string
  9804. zssymmetrytype1:
  9805. description: 对称度1 - 枚举”ZSSymmetryType“ - 类型:1,2,4,5
  9806. type: integer
  9807. zssymmetrytype1display:
  9808. type: string
  9809. zssymmetrytype2:
  9810. description: 对称度2 - 枚举”ZSSymmetryType“ - 类型:1
  9811. type: integer
  9812. zssymmetrytype2display:
  9813. type: string
  9814. required:
  9815. - goodsno
  9816. type: object
  9817. models.GZWarehouseinfo:
  9818. properties:
  9819. address:
  9820. description: 详细地址
  9821. type: string
  9822. areauserid:
  9823. description: 所属机构
  9824. type: integer
  9825. autoid:
  9826. description: 自增ID
  9827. type: integer
  9828. cityid:
  9829. description: 市
  9830. type: integer
  9831. contactname:
  9832. description: 联系人
  9833. type: string
  9834. contactnum:
  9835. description: 联系电话
  9836. type: string
  9837. countryid:
  9838. description: 国家
  9839. type: integer
  9840. createtime:
  9841. description: 创建时间
  9842. type: string
  9843. districtid:
  9844. description: 区
  9845. type: integer
  9846. hasvideo:
  9847. description: 是否有视频 - 0:无 1:有
  9848. type: integer
  9849. provinceid:
  9850. description: 省
  9851. type: integer
  9852. remark:
  9853. description: 审核备注
  9854. type: string
  9855. videourl:
  9856. description: 视频地址
  9857. type: string
  9858. warehousecode:
  9859. description: 仓库代码
  9860. type: string
  9861. warehousename:
  9862. description: 仓库名称
  9863. type: string
  9864. warehousestatus:
  9865. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  9866. type: integer
  9867. warehousetype:
  9868. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  9869. type: integer
  9870. type: object
  9871. models.Goods:
  9872. properties:
  9873. agreeunit:
  9874. description: 合约单位
  9875. type: number
  9876. areauserid:
  9877. description: 所属机构
  9878. type: integer
  9879. auditaccountid:
  9880. description: 审核操作员账号
  9881. type: integer
  9882. audittime:
  9883. description: 审核时间
  9884. type: string
  9885. cancelaccountid:
  9886. description: 注销操作员账号
  9887. type: integer
  9888. canceltime:
  9889. description: 注销时间
  9890. type: string
  9891. closepricemode:
  9892. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  9893. type: integer
  9894. closepriceparam:
  9895. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  9896. type: number
  9897. createtime:
  9898. description: 创建时间
  9899. type: string
  9900. creatorid:
  9901. description: 创建人
  9902. type: integer
  9903. currencyid:
  9904. description: 报价货币ID
  9905. type: integer
  9906. cutmode:
  9907. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  9908. type: integer
  9909. decimalplace:
  9910. description: 报价小数位
  9911. type: integer
  9912. delistingdate:
  9913. description: 商品退市时间(状态:退市) -- 已作废
  9914. type: string
  9915. delistingmode:
  9916. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  9917. type: integer
  9918. deliveryflag:
  9919. description: 交割标志 - 0:不可交割 1:可交割
  9920. type: integer
  9921. forceclosemode:
  9922. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  9923. type: integer
  9924. forceclosevalue:
  9925. description: 定期强平参数 [收益权]
  9926. type: integer
  9927. goodscode:
  9928. description: 商品代码(内部)
  9929. type: string
  9930. goodscurrencyid:
  9931. description: 合约货币ID
  9932. type: integer
  9933. goodsgroupid:
  9934. description: 所属商品组ID
  9935. type: integer
  9936. goodsid:
  9937. description: 商品ID(自增ID SEQ_GOODS)
  9938. type: integer
  9939. goodsname:
  9940. description: 商品名称
  9941. type: string
  9942. goodsquotetype:
  9943. description: '合约报价类型: 1-直接报价 2-间接报价'
  9944. type: integer
  9945. goodsstatus:
  9946. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  9947. type: integer
  9948. goodstradetype:
  9949. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  9950. type: integer
  9951. goodunitid:
  9952. description: 报价单位ID
  9953. type: integer
  9954. hasquoter:
  9955. description: 是否有报价商 - 0:无报价商 1:有报价商
  9956. type: integer
  9957. hqprotecttime:
  9958. description: 行情保护时间(秒)
  9959. type: integer
  9960. innerdealmode:
  9961. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  9962. type: integer
  9963. isbuylimited:
  9964. description: 是否限制建仓量 - 0:不限制 1:限制
  9965. type: integer
  9966. isvisible:
  9967. description: 游客是否可见 - 0:不可见 1:可见
  9968. type: integer
  9969. lasttradedate:
  9970. description: 最后交易日期(状态:待退市)
  9971. type: string
  9972. listingdate:
  9973. description: 交易开始日期
  9974. type: string
  9975. marketid:
  9976. description: 所属市场ID
  9977. type: integer
  9978. modifierid:
  9979. description: 修改人
  9980. type: integer
  9981. modifystatus:
  9982. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  9983. type: integer
  9984. modifytime:
  9985. description: 修改时间
  9986. type: string
  9987. outerdealmode:
  9988. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  9989. type: integer
  9990. outgoodscode:
  9991. description: 商品代码(外部)
  9992. type: string
  9993. pictureurl:
  9994. description: 商品图片
  9995. type: string
  9996. qtydecimalplace:
  9997. description: 成交量小数位
  9998. type: integer
  9999. quotegear:
  10000. description: 行情档位(1-10)
  10001. type: integer
  10002. quoteminunit:
  10003. description: 行情最小变动单位 [整数,报价小数位一起使用]
  10004. type: integer
  10005. quoteshowtype:
  10006. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  10007. type: integer
  10008. quoteshowtypeinterval:
  10009. description: 行情报价间隔时间(秒)(成交价时为0)
  10010. type: integer
  10011. remark:
  10012. description: 备注
  10013. type: string
  10014. required:
  10015. - goodscode
  10016. - goodsid
  10017. - goodsname
  10018. - marketid
  10019. type: object
  10020. models.GoodsIDAndName:
  10021. properties:
  10022. goodscode:
  10023. description: 商品代码(内部)
  10024. type: string
  10025. goodsid:
  10026. description: 商品ID(自增ID SEQ_GOODS)
  10027. type: integer
  10028. goodsname:
  10029. description: 商品名称
  10030. type: string
  10031. marketid:
  10032. description: 所属市场ID
  10033. type: integer
  10034. required:
  10035. - goodscode
  10036. - goodsid
  10037. - goodsname
  10038. - marketid
  10039. type: object
  10040. models.Goodsgroup:
  10041. properties:
  10042. agreeunit:
  10043. description: 合约单位
  10044. type: number
  10045. canshort:
  10046. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  10047. type: integer
  10048. closepricemode:
  10049. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  10050. type: integer
  10051. closepriceparam:
  10052. description: 强平最新价浮动比例 - 方式为2时使用
  10053. type: number
  10054. createtime:
  10055. description: 创建时间
  10056. type: string
  10057. creatorid:
  10058. description: 创建人
  10059. type: integer
  10060. currencyid:
  10061. description: 报价货币ID
  10062. type: integer
  10063. decimalplace:
  10064. description: 报价小数位
  10065. type: integer
  10066. exercisetype:
  10067. description: 行权类型[场外期权]-1:欧式期权 2:美式期权
  10068. type: integer
  10069. exexchangeid:
  10070. description: 外部交易所ID[通道交易]
  10071. type: integer
  10072. goodsgroupid:
  10073. description: 商品组ID(自增ID)
  10074. type: integer
  10075. goodsgroupname:
  10076. description: 商品组名称
  10077. type: string
  10078. goodsgroupstatus:
  10079. description: 商品组状态 - 1:正常 2:注销
  10080. type: integer
  10081. goodunitid:
  10082. description: 报价单位ID
  10083. type: integer
  10084. innerdealmode:
  10085. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  10086. type: integer
  10087. isbuylimited:
  10088. description: 是否限制建仓量 - 0:不限制 1:限制
  10089. type: integer
  10090. marketid:
  10091. description: 所属市场ID
  10092. type: integer
  10093. modifierid:
  10094. description: 修改人
  10095. type: integer
  10096. modifytime:
  10097. description: 修改时间
  10098. type: string
  10099. outerdealmode:
  10100. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  10101. type: integer
  10102. outergroupcode:
  10103. description: 外部商品组代码[通道交易]
  10104. type: string
  10105. premiumdecimalplace:
  10106. description: 权利金小数位[场外期权]
  10107. type: integer
  10108. premiumspreadalgorithm:
  10109. description: 权利金点差方式[场外期权] 1:比率 2:固定
  10110. type: integer
  10111. premiumspreadvalue:
  10112. description: 权利金点差值[场外期权]
  10113. type: number
  10114. qtydecimalplace:
  10115. description: 成交量小数位
  10116. type: integer
  10117. quotegear:
  10118. description: 行情档位(1-10)
  10119. type: integer
  10120. quoteminunit:
  10121. description: 行情最小变动单位 [整数,报价小数位一起使用]
  10122. type: integer
  10123. quoterid:
  10124. description: 报价商ID[场外期权]
  10125. type: integer
  10126. quotesourcegroupid:
  10127. description: 所属行情源分组ID[参考行情市场用\通道交易]
  10128. type: integer
  10129. syncgoodsqty:
  10130. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  10131. type: integer
  10132. required:
  10133. - goodsgroupid
  10134. - goodsgroupname
  10135. - goodsgroupstatus
  10136. - marketid
  10137. type: object
  10138. models.Goodssortbypreposition:
  10139. properties:
  10140. goodscode:
  10141. description: 合约代码 - 易盛接口:合约代码=品种代码+合约代码
  10142. type: string
  10143. goodsgroupcode:
  10144. description: 品种代码
  10145. type: string
  10146. prepositionqty:
  10147. description: 昨持仓量
  10148. type: integer
  10149. sortindex:
  10150. description: 排序
  10151. type: integer
  10152. tradedate:
  10153. description: 交易日
  10154. type: string
  10155. updatetime:
  10156. description: 更新时间
  10157. type: string
  10158. required:
  10159. - goodscode
  10160. - tradedate
  10161. type: object
  10162. models.Hedgeinnerholderdetail:
  10163. properties:
  10164. accountid:
  10165. description: 账号ID
  10166. type: integer
  10167. buyorsell:
  10168. description: 方向 - 0:买 1:卖
  10169. type: integer
  10170. freezeqty:
  10171. description: 冻结数量 - 按单平使用
  10172. type: integer
  10173. goodsid:
  10174. description: 商品ID
  10175. type: integer
  10176. holderamount:
  10177. description: 持仓金额 [商品币种]
  10178. type: number
  10179. holderdays:
  10180. description: 剩余冻结天数
  10181. type: integer
  10182. holderprice:
  10183. description: 持仓价格
  10184. type: number
  10185. holderqty:
  10186. description: 持仓数量
  10187. type: integer
  10188. marketid:
  10189. description: 市场ID
  10190. type: integer
  10191. openprice:
  10192. description: 建仓价格
  10193. type: number
  10194. openqty:
  10195. description: 建仓数量
  10196. type: integer
  10197. parentaccountid:
  10198. description: 所属母账户
  10199. type: integer
  10200. releaseamount:
  10201. description: 释放持仓金额[商品币种]
  10202. type: number
  10203. tradeamount:
  10204. description: 成交金额[账户]
  10205. type: number
  10206. tradedate:
  10207. description: 交易日(yyyyMMdd)
  10208. type: string
  10209. tradeid:
  10210. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10211. type: string
  10212. tradetime:
  10213. description: 交易时间
  10214. type: string
  10215. required:
  10216. - buyorsell
  10217. - tradeid
  10218. type: object
  10219. models.Hedgemarketopenlog:
  10220. properties:
  10221. accountid:
  10222. description: 资金账号[外部母账户]
  10223. type: integer
  10224. fcname:
  10225. description: 期货公司名称
  10226. type: string
  10227. handlestatus:
  10228. description: 处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp
  10229. type: integer
  10230. marketid:
  10231. description: 市场ID
  10232. type: integer
  10233. status:
  10234. description: 状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败
  10235. type: integer
  10236. tradedate:
  10237. description: 交易日(yyyyMMdd)
  10238. type: string
  10239. updatetime:
  10240. description: 更新时间
  10241. type: string
  10242. required:
  10243. - accountid
  10244. type: object
  10245. models.InternalEnableTradeDetail:
  10246. properties:
  10247. agreeunit:
  10248. description: 合约乘数
  10249. type: number
  10250. areauserid:
  10251. description: 企业ID
  10252. type: integer
  10253. convertratio:
  10254. description: 品种系数
  10255. type: number
  10256. deliverygoodscode:
  10257. description: 现货品种代码
  10258. type: string
  10259. deliverygoodsid:
  10260. description: 现货品种ID(SEQ_DELIVERYGOODS)
  10261. type: integer
  10262. deliverygoodsname:
  10263. description: 现货品种名称
  10264. type: string
  10265. futurehedgeqty:
  10266. description: '[已关联数量]期货持仓套期量'
  10267. type: number
  10268. goodsid:
  10269. description: 期货合约ID
  10270. type: integer
  10271. hedgeditemid:
  10272. description: 被套期项目ID
  10273. type: string
  10274. hedgeditemnum:
  10275. description: 项目编号
  10276. type: string
  10277. tradeuserid:
  10278. description: 交易用户ID
  10279. type: integer
  10280. unexehedgeqty:
  10281. description: 未执行套期量 = 未执行现货量*折算系数* (1/(1+增值税)) * 套期比例(项目上)
  10282. type: number
  10283. unexespotqty:
  10284. description: 未执行现货量
  10285. type: number
  10286. wrstandardcode:
  10287. description: 现货品类代码
  10288. type: string
  10289. wrstandardid:
  10290. description: 现货品类ID(SEQ_WRSTANDARD)
  10291. type: integer
  10292. wrstandardname:
  10293. description: 现货品类名称
  10294. type: string
  10295. required:
  10296. - areauserid
  10297. - goodsid
  10298. - tradeuserid
  10299. type: object
  10300. models.InternalUncorrelatedTradeDetail:
  10301. properties:
  10302. accountid:
  10303. description: 账号ID
  10304. type: integer
  10305. accountname:
  10306. description: 套期主体
  10307. type: string
  10308. agreeunit:
  10309. description: 合约乘数
  10310. type: number
  10311. areauserid:
  10312. description: 所属机构
  10313. type: integer
  10314. bizsubjectid:
  10315. description: 归属业务部门ID - SubjectID
  10316. type: integer
  10317. buyorsell:
  10318. description: 方向 - 0:买 1:卖
  10319. type: integer
  10320. channelbuildtype:
  10321. description: 委托单据类型 0:无 1:建仓 2:平仓
  10322. type: integer
  10323. convertratio:
  10324. description: 品种系数
  10325. type: number
  10326. createtime:
  10327. description: 创建时间
  10328. type: string
  10329. creatorid:
  10330. description: 创建人ID
  10331. type: integer
  10332. creatorsrc:
  10333. description: 创建人来源 - 1:管理端 2:终端 3:交易
  10334. type: integer
  10335. enableqty:
  10336. description: 项目可关联数量 = 套保品种数量 - 关联数量
  10337. type: number
  10338. enumdicname:
  10339. description: 单位
  10340. type: string
  10341. goodscode:
  10342. description: 合约代码
  10343. type: string
  10344. goodsgroupid:
  10345. description: 对冲品种ID[期货合约商品组ID]
  10346. type: integer
  10347. goodsid:
  10348. description: 商品ID
  10349. type: integer
  10350. goodsname:
  10351. description: 合约名称
  10352. type: string
  10353. hedgeditemid:
  10354. description: 现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]
  10355. type: integer
  10356. hedgeflag:
  10357. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  10358. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目
  10359. type: integer
  10360. linkdetailid:
  10361. description: 期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)
  10362. type: string
  10363. linkstatus:
  10364. description: 关联状态 - 1:成功 2:失败 3:解绑
  10365. type: integer
  10366. middlegoodsid:
  10367. description: 套保品种ID
  10368. type: integer
  10369. middlegoodsqty:
  10370. description: '[套期商品数量]套保品种数量 = TradeQty * AgreeUnit * ConvertRatio'
  10371. type: number
  10372. relatedlot:
  10373. description: '[数量]关联手数'
  10374. type: number
  10375. relatedmode:
  10376. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  10377. type: integer
  10378. relatedqty:
  10379. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  10380. type: number
  10381. retcode:
  10382. description: 返回码
  10383. type: integer
  10384. saleuserid:
  10385. description: 业务员ID
  10386. type: integer
  10387. tradedate:
  10388. description: 关联交易日(yyyyMMdd)
  10389. type: string
  10390. tradeid:
  10391. description: 成交单号
  10392. type: string
  10393. tradelot:
  10394. description: 成交手数
  10395. type: integer
  10396. tradeprice:
  10397. description: 成交价
  10398. type: number
  10399. tradetime:
  10400. description: 成交时间
  10401. type: string
  10402. tradetradedate:
  10403. description: 成交交易日(yyyyMMdd)
  10404. type: string
  10405. tradeuserid:
  10406. description: 交易用户ID
  10407. type: integer
  10408. type: object
  10409. models.Loginaccount:
  10410. properties:
  10411. accountname:
  10412. description: 账户名称
  10413. type: string
  10414. canoutin:
  10415. description: 是否可出入金 - 0:不可 1:可
  10416. type: integer
  10417. clientroleid:
  10418. description: 终端角色ID
  10419. type: integer
  10420. haslogined:
  10421. description: 是否已登录 - 0:未登录 1:已登录
  10422. type: integer
  10423. hasupdatedpwd:
  10424. description: 是否已更改密码 - 0:未修改 1:已修改
  10425. type: integer
  10426. lastloginip:
  10427. description: 最新登录地址
  10428. type: string
  10429. lastloginmode:
  10430. description: 最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端
  10431. 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  10432. type: integer
  10433. lastloginremark:
  10434. description: 最新登录描述
  10435. type: string
  10436. lastlogintime:
  10437. description: 最新登录时间
  10438. type: string
  10439. logincode:
  10440. description: 登录代码
  10441. type: string
  10442. loginfailnum:
  10443. description: 连续登录失败次数(登录成功时清零)
  10444. type: integer
  10445. loginid:
  10446. description: 登陆账号
  10447. type: integer
  10448. loginport:
  10449. description: 最新登录端口
  10450. type: integer
  10451. loginstatus:
  10452. description: 登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)
  10453. type: integer
  10454. loginusertype:
  10455. description: 登录账号类型 - 1:投资者 2:机构交易员
  10456. type: integer
  10457. mobile:
  10458. description: 手机号码(加密存储)
  10459. type: string
  10460. modifierid:
  10461. description: 修改人
  10462. type: integer
  10463. modifysrc:
  10464. description: 审核来源 - 1:管理端 2:终端
  10465. type: integer
  10466. modifytime:
  10467. description: 修改时间
  10468. type: string
  10469. password:
  10470. description: 登陆密码
  10471. type: string
  10472. pwdwrongcount:
  10473. description: 密码错误次数
  10474. type: integer
  10475. relateduserid:
  10476. description: 关联用户ID(机构)
  10477. type: integer
  10478. taaccountrighttype:
  10479. description: 资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限
  10480. type: integer
  10481. unfreezetime:
  10482. description: 账户解冻时间
  10483. type: string
  10484. userid:
  10485. description: 用户ID
  10486. type: integer
  10487. required:
  10488. - loginid
  10489. type: object
  10490. models.MainAccountInfo:
  10491. properties:
  10492. accountid:
  10493. description: 账号id
  10494. type: integer
  10495. accountname:
  10496. description: 账号名称(taaccount表中的名称)
  10497. type: string
  10498. appid:
  10499. description: AppID
  10500. type: string
  10501. authcode:
  10502. description: 授权码
  10503. type: string
  10504. brokerid:
  10505. description: 经纪商id
  10506. type: string
  10507. fcid:
  10508. description: 期货公司id
  10509. type: integer
  10510. fcname:
  10511. description: 期货公司代码
  10512. type: string
  10513. hedgeaccountcode:
  10514. description: 外部账号代码(主账号登录代码)
  10515. type: string
  10516. hedgeaccountpwd:
  10517. description: 密码
  10518. type: string
  10519. ismain:
  10520. description: 是否主账号
  10521. type: integer
  10522. relateduserid:
  10523. description: 关联用户id
  10524. type: integer
  10525. userid:
  10526. description: 关联用户id
  10527. type: integer
  10528. type: object
  10529. models.Market:
  10530. properties:
  10531. auctionwrtype:
  10532. description: 竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可
  10533. type: integer
  10534. canacceptquote:
  10535. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  10536. type: integer
  10537. cangoodsexercise:
  10538. description: '[期权]是否可现货行权- 0:否 1:是'
  10539. type: integer
  10540. cangoodsexercisetype:
  10541. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  10542. type: integer
  10543. canmanualquotestrike:
  10544. description: 是否可手动报行权价- 0:否 1:是 [期权]
  10545. type: integer
  10546. canmutistage:
  10547. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  10548. type: integer
  10549. canpreexercise:
  10550. description: '[期权]是否可预申报- 0:否 1:是'
  10551. type: integer
  10552. clearinterval:
  10553. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  10554. type: integer
  10555. contracttmp:
  10556. description: 合同模板[荷兰式][竞价式][仓单贸易]
  10557. type: string
  10558. exchareaid:
  10559. description: 所属交易所,可以没有
  10560. type: integer
  10561. goodstype:
  10562. description: 商品类型 - 1:交易商品 2:仓单商品
  10563. type: integer
  10564. hasrebate:
  10565. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  10566. type: integer
  10567. hastradecredit:
  10568. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  10569. type: integer
  10570. haswr:
  10571. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  10572. type: integer
  10573. isdeductmargin:
  10574. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  10575. type: integer
  10576. isrecordsource:
  10577. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  10578. type: integer
  10579. isreleasemargin:
  10580. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  10581. type: integer
  10582. marginformula:
  10583. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  10584. type: integer
  10585. marginformula2:
  10586. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  10587. type: integer
  10588. marketid:
  10589. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  10590. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  10591. type: integer
  10592. marketname:
  10593. description: 市场名称
  10594. type: string
  10595. marketserviceid:
  10596. description: 市场服务ID
  10597. type: integer
  10598. marketstatus:
  10599. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  10600. type: integer
  10601. markettype:
  10602. description: 市场类型- 1:非交易服务 2:交易服务
  10603. type: integer
  10604. matchermode:
  10605. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手
  10606. type: integer
  10607. openmethod:
  10608. description: 开盘模式 - 0 自动 1手动
  10609. type: integer
  10610. otcuserid:
  10611. description: 场外期权做市商[场外期权]
  10612. type: integer
  10613. outersynctime:
  10614. description: 外部同步时间点(h24:mi:ss)[场外期权]
  10615. type: string
  10616. pendingflag:
  10617. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  10618. type: integer
  10619. pendingtime:
  10620. description: 待开市时间[通道交易-对冲](HH:mm)
  10621. type: string
  10622. performancetempid:
  10623. description: 履约计划模板ID - 作废
  10624. type: integer
  10625. premiumquotemode:
  10626. description: 权利金报价方式 - 1:自动 2:手动
  10627. type: integer
  10628. rebateratio:
  10629. description: 返利比率[竞价式]
  10630. type: number
  10631. reckonorder:
  10632. description: 结算顺序
  10633. type: integer
  10634. reckonpricealgorithm:
  10635. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  10636. 6.卖一价 7.买一卖一均价 8.外部结算价'
  10637. type: integer
  10638. reckonpriceparam:
  10639. description: 结算价参数
  10640. type: integer
  10641. reckontime:
  10642. description: 结算时间[通道交易-对冲](HH:mm)
  10643. type: string
  10644. roleprioritytype:
  10645. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  10646. type: integer
  10647. selllistingauditflag:
  10648. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  10649. type: integer
  10650. trademarkettype:
  10651. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  10652. type: integer
  10653. trademode:
  10654. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10655. 21:竞拍-大宗式 22:受托竞价
  10656. type: integer
  10657. tradeproperty:
  10658. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  10659. 8:场外期权
  10660. type: integer
  10661. tradetype:
  10662. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  10663. type: integer
  10664. required:
  10665. - marketid
  10666. - marketstatus
  10667. - openmethod
  10668. - reckonpricealgorithm
  10669. - trademode
  10670. - tradeproperty
  10671. type: object
  10672. models.Marketcalendar:
  10673. properties:
  10674. holidaydate:
  10675. description: 节假日期(yyyy-MM-dd)
  10676. type: string
  10677. marketid:
  10678. description: 市场ID
  10679. type: integer
  10680. type: object
  10681. models.Marketrun:
  10682. properties:
  10683. afternexttradedate:
  10684. description: 下下交易日
  10685. type: string
  10686. clearquoteflag:
  10687. description: 行情清盘标志- 1:未发送 2:已发送 3:已回复
  10688. type: integer
  10689. lastreckondate:
  10690. description: 最新交易日(结算成功)
  10691. type: string
  10692. machinedate:
  10693. description: 机器时间
  10694. type: string
  10695. manualflag:
  10696. description: 手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)
  10697. type: integer
  10698. marketid:
  10699. description: 市场ID
  10700. type: integer
  10701. nexttradedate:
  10702. description: 下一交易日
  10703. type: string
  10704. pretradedate:
  10705. description: 上一交易日
  10706. type: string
  10707. reckonflag:
  10708. description: '结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)'
  10709. type: integer
  10710. runstatus:
  10711. description: 运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始
  10712. 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败
  10713. 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内)
  10714. 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功
  10715. 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始
  10716. 62.今日免清算
  10717. type: integer
  10718. sectionid:
  10719. description: 时间段号[多时段时用]
  10720. type: integer
  10721. tradedate:
  10722. description: 当前交易日(服务) 资金结算完成即变更,供交易服务使用
  10723. type: string
  10724. tradedate2:
  10725. description: 当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  10726. type: string
  10727. updatetime:
  10728. description: 更新时间
  10729. type: string
  10730. required:
  10731. - marketid
  10732. - nexttradedate
  10733. - reckonflag
  10734. - runstatus
  10735. - tradedate
  10736. - tradedate2
  10737. type: object
  10738. models.Messageboard:
  10739. properties:
  10740. contactnum:
  10741. description: 联系电话
  10742. type: string
  10743. createtime:
  10744. description: 创建时间
  10745. type: string
  10746. message:
  10747. description: 留言信息
  10748. type: string
  10749. messageboardid:
  10750. description: 留言簿ID(SEQ_MessageBoard)
  10751. type: integer
  10752. userid:
  10753. description: 用户ID
  10754. type: integer
  10755. required:
  10756. - messageboardid
  10757. type: object
  10758. models.MyBargainApply:
  10759. properties:
  10760. accountid:
  10761. description: 摘牌资金账号
  10762. type: integer
  10763. applyprice:
  10764. description: 申请价格
  10765. type: string
  10766. applyremark:
  10767. description: 申请备注
  10768. type: string
  10769. applystatus:
  10770. description: 申请状态 - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  10771. type: integer
  10772. applytime:
  10773. description: 申请时间
  10774. type: string
  10775. buyorsell:
  10776. description: 买卖 - 0:买 1:卖
  10777. type: integer
  10778. confirmprice:
  10779. description: 可接受价格(拒绝时填写)-作废
  10780. type: number
  10781. confirmqty:
  10782. description: 可接受数量(拒绝时填写)-作废
  10783. type: integer
  10784. confirmremark:
  10785. description: 确认备注
  10786. type: string
  10787. confirmtime:
  10788. description: 确认时间
  10789. type: string
  10790. confirmuserid:
  10791. description: 确认人
  10792. type: integer
  10793. handlestatus:
  10794. description: 处理状态
  10795. type: integer
  10796. ladingbillid:
  10797. description: 摘牌方提单ID [卖]
  10798. type: integer
  10799. marketid:
  10800. description: 市场ID
  10801. type: integer
  10802. matchaccountid:
  10803. description: 挂牌方资金账号
  10804. type: integer
  10805. matchuserid:
  10806. description: 挂牌方用户ID
  10807. type: integer
  10808. qty:
  10809. description: 申请数量
  10810. type: integer
  10811. refprice:
  10812. description: 参考价格
  10813. type: string
  10814. retcode:
  10815. description: 委托返回代码
  10816. type: integer
  10817. sellusername:
  10818. description: 卖方
  10819. type: string
  10820. subnum:
  10821. description: 摘牌方提单子单号 [卖]
  10822. type: integer
  10823. tradedate:
  10824. description: 交易日(yyyyMMdd)
  10825. type: string
  10826. userid:
  10827. description: 摘牌人用户ID
  10828. type: integer
  10829. wrbargainid:
  10830. description: '[询价单号]议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)'
  10831. type: string
  10832. wrtradeorderid:
  10833. description: 关联委托单ID
  10834. type: integer
  10835. required:
  10836. - userid
  10837. type: object
  10838. models.MyBuyOrder:
  10839. properties:
  10840. accountid:
  10841. description: 资金账户ID
  10842. type: integer
  10843. marketid:
  10844. description: 市场ID
  10845. type: integer
  10846. ordertime:
  10847. description: 委托时间
  10848. type: string
  10849. origin:
  10850. description: 原产地
  10851. type: string
  10852. remark:
  10853. description: 备注
  10854. type: string
  10855. userid:
  10856. description: 用户ID
  10857. type: integer
  10858. validtime:
  10859. description: 有效期限
  10860. type: string
  10861. warehouseids:
  10862. description: 仓库ID - 多个, 逗号分隔
  10863. type: string
  10864. warehouseinfosdisplay:
  10865. type: string
  10866. wrtradeorderid:
  10867. description: '[委托单号]买委托单ID(320+Unix秒时间戳(10位)+xxxxxx)'
  10868. type: string
  10869. wrtradeorderstatus:
  10870. 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、
  10871. type: integer
  10872. zscategory:
  10873. description: 钻石分类 - 枚举”ZSCategory“
  10874. type: integer
  10875. zscategorydisplay:
  10876. type: string
  10877. zsclaritytype:
  10878. description: 净度 - 两个, 逗号分隔
  10879. type: string
  10880. zsclaritytypedisplay:
  10881. type: string
  10882. zscolortype:
  10883. description: 颜色 - 两个, 逗号分隔
  10884. type: string
  10885. zscolortypedisplay:
  10886. type: string
  10887. zscrystaltype:
  10888. description: 晶型 - 多个,逗号分隔
  10889. type: string
  10890. zscrystaltypedisplay:
  10891. type: string
  10892. zscurrencytype:
  10893. description: 货币类型 - 多个, 逗号分隔
  10894. type: string
  10895. zscurrencytypedisplay:
  10896. type: string
  10897. zscuttype:
  10898. description: 切工 - 两个, 逗号分隔
  10899. type: string
  10900. zscuttypedisplay:
  10901. type: string
  10902. zsczcolor1type:
  10903. description: 彩钻颜色1, 逗号分隔
  10904. type: string
  10905. zsczcolor1typedisplay:
  10906. type: string
  10907. zsczcolor2type:
  10908. description: 彩钻颜色2, 逗号分隔
  10909. type: string
  10910. zsczcolor2typedisplay:
  10911. type: string
  10912. zsczcolor3type:
  10913. description: 彩钻颜色3, 逗号分隔
  10914. type: string
  10915. zsczcolor3typedisplay:
  10916. type: string
  10917. zsfluorescencetype:
  10918. description: 荧光 - 多个, 逗号分隔
  10919. type: string
  10920. zsfluorescencetypedisplay:
  10921. type: string
  10922. zspolishtype:
  10923. description: 抛光度 - 两个, 逗号分隔
  10924. type: string
  10925. zspolishtypedisplay:
  10926. type: string
  10927. zsshapetype:
  10928. description: 形状 - 多个, 逗号分隔
  10929. type: string
  10930. zsshapetypedisplay:
  10931. type: string
  10932. zssize:
  10933. description: 尺寸 - 两个小数, 逗号分隔
  10934. type: string
  10935. zsstyletype:
  10936. description: 款式 - 多个, 逗号分隔
  10937. type: string
  10938. zsstyletypedisplay:
  10939. type: string
  10940. zssymmetrytype:
  10941. description: 对称度 - 两个, 逗号分隔
  10942. type: string
  10943. zssymmetrytypedisplay:
  10944. type: string
  10945. zstabledisplay:
  10946. description: 求购信息
  10947. type: string
  10948. required:
  10949. - userid
  10950. type: object
  10951. models.MyDeListing:
  10952. properties:
  10953. buyaccountid:
  10954. description: 买方账号ID
  10955. type: integer
  10956. buychargevalue:
  10957. description: 买方手续费
  10958. type: number
  10959. buyorsell:
  10960. description: 方向 - 0:全部 1:买 2:卖
  10961. type: integer
  10962. buyuserid:
  10963. description: 买方用户ID
  10964. type: integer
  10965. deliverygoodsid:
  10966. description: 现货品种ID
  10967. type: integer
  10968. exchangerate:
  10969. description: 汇率
  10970. type: number
  10971. goodsno:
  10972. description: 商品编号
  10973. type: string
  10974. marketid:
  10975. description: 市场ID
  10976. type: integer
  10977. matchusername:
  10978. description: 对手方
  10979. type: string
  10980. oritradeamount:
  10981. description: 成交金额[商品币种]
  10982. type: number
  10983. performanceplanid:
  10984. description: 履约计划ID/合同ID
  10985. type: integer
  10986. qty:
  10987. description: 成交重量
  10988. type: number
  10989. sellaccountid:
  10990. description: 卖方账号ID
  10991. type: integer
  10992. sellchargevalue:
  10993. description: 卖方手续费
  10994. type: number
  10995. selluserid:
  10996. description: 卖方用户ID
  10997. type: integer
  10998. tradeamount:
  10999. description: 成交金额
  11000. type: number
  11001. tradedate:
  11002. description: 交易日(yyyyMMdd)
  11003. type: string
  11004. tradeprice:
  11005. description: 成交价格
  11006. type: number
  11007. tradetime:
  11008. description: 成交时间
  11009. type: string
  11010. userid:
  11011. description: 用户ID
  11012. type: integer
  11013. wrfactortypeid:
  11014. description: 仓单要素类型ID
  11015. type: integer
  11016. wrstandardid:
  11017. description: 现货商品ID
  11018. type: integer
  11019. wrtradedetailid:
  11020. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  11021. type: string
  11022. zscategory:
  11023. description: 钻石分类 - 枚举”ZSCategory“
  11024. type: integer
  11025. zscategorydisplay:
  11026. type: string
  11027. zscurrencytype:
  11028. description: 货币类型 - 枚举“ZSCurrencyType”
  11029. type: integer
  11030. required:
  11031. - userid
  11032. type: object
  11033. models.MyDelistingApply:
  11034. properties:
  11035. applyprice:
  11036. description: 申请价格
  11037. type: number
  11038. applyqty:
  11039. description: 申请数量
  11040. type: number
  11041. applyremark:
  11042. description: 申请备注
  11043. type: string
  11044. applystatus:
  11045. description: 申请状态 - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  11046. type: integer
  11047. applytime:
  11048. description: 申请时间
  11049. type: string
  11050. auditremark:
  11051. description: 确认备注
  11052. type: string
  11053. audittime:
  11054. description: 确认时间
  11055. type: string
  11056. buyuserid:
  11057. description: 买方用户ID
  11058. type: integer
  11059. buyusername:
  11060. description: 买方
  11061. type: string
  11062. buywrtradeorderid:
  11063. description: 买委托单ID
  11064. type: integer
  11065. ladingbillid:
  11066. description: 卖方提单ID
  11067. type: integer
  11068. marketid:
  11069. description: 市场ID
  11070. type: integer
  11071. sellaccountid:
  11072. description: 卖方账户ID
  11073. type: integer
  11074. selldelistingapplyid:
  11075. description: '[询价单号]卖摘牌申请ID(916+Unix秒时间戳(10位)+xxxxxx)'
  11076. type: integer
  11077. selltradeorderid:
  11078. description: 卖方委托ID(买方确认成交后更新)
  11079. type: integer
  11080. selluserid:
  11081. description: 卖方用户ID
  11082. type: integer
  11083. subnum:
  11084. description: 卖方提单子单号
  11085. type: integer
  11086. wrfactortypeid:
  11087. description: 仓单要素类型ID
  11088. type: integer
  11089. wrstandardid:
  11090. description: 现货商品ID
  11091. type: integer
  11092. required:
  11093. - selluserid
  11094. type: object
  11095. models.MySellOrder:
  11096. properties:
  11097. accountid:
  11098. description: 资金账号
  11099. type: integer
  11100. applyid:
  11101. description: 申请单ID
  11102. type: integer
  11103. attachment1:
  11104. description: 附件1
  11105. type: string
  11106. attachment2:
  11107. description: 附件2
  11108. type: string
  11109. buyorsell:
  11110. description: 买卖 - 0:买 1:卖
  11111. type: integer
  11112. canbargain:
  11113. description: 是否可议价 - 0:不可 1:可
  11114. type: integer
  11115. cancelqty:
  11116. description: 撤销数量
  11117. type: integer
  11118. canceltime:
  11119. description: 撤销时间
  11120. type: string
  11121. chargealgorithm:
  11122. description: 手续费收取方式 1:比率 2:固定
  11123. type: integer
  11124. chargealgorithmvalue:
  11125. description: 手续费设置值(交易所部分)
  11126. type: number
  11127. chargealgorithmvalue2:
  11128. description: 手续费设置值(会员部分)
  11129. type: number
  11130. clientordertime:
  11131. description: 客户端委托时间
  11132. type: string
  11133. exchangerate:
  11134. description: 汇率[67]
  11135. type: number
  11136. firstratio:
  11137. description: 首付比率 - [挂牌时指定,摘牌时使用]
  11138. type: number
  11139. fixedprice:
  11140. description: '[克拉单价]固定价格 - [挂牌]'
  11141. type: number
  11142. freezecharge:
  11143. description: 冻结手续费
  11144. type: number
  11145. freezefirstamount:
  11146. description: 冻结首付金额 - [摘牌]
  11147. type: number
  11148. freezemargin:
  11149. description: 冻结保证金
  11150. type: number
  11151. goodsno:
  11152. description: 商品编号
  11153. type: string
  11154. isspecified:
  11155. description: 是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  11156. type: integer
  11157. marginalgorithm:
  11158. description: 保证金方式 - 1:比率 2:固定
  11159. type: integer
  11160. marginvalue:
  11161. description: 保证金设置值
  11162. type: number
  11163. marketid:
  11164. description: 市场ID
  11165. type: integer
  11166. orderamount:
  11167. description: 挂牌金额[账户] [67]= OrderQty * FixedPrice * ExchangeRate /100
  11168. type: number
  11169. ordertime:
  11170. description: 委托时间
  11171. type: string
  11172. performancetemplateid:
  11173. description: 履约计划模板ID
  11174. type: integer
  11175. pricefactor:
  11176. description: 价格系数(浮动价时填写) - [挂牌]
  11177. type: number
  11178. pricemove:
  11179. description: 升贴水(浮动价时填写) - [挂牌]
  11180. type: number
  11181. relatedwrtradeorderid:
  11182. description: 关联委托单号(摘牌委托关联挂牌委托单ID)
  11183. type: integer
  11184. retcode:
  11185. description: 错误代码
  11186. type: integer
  11187. selledqty:
  11188. description: 成交重量
  11189. type: number
  11190. totalqty:
  11191. description: 总重量
  11192. type: number
  11193. tradedate:
  11194. description: 交易日(yyyyMMdd)
  11195. type: string
  11196. tradeprice:
  11197. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)*
  11198. 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  11199. type: number
  11200. unfreezecharge:
  11201. description: 解冻手续费
  11202. type: number
  11203. unfreezefirstamount:
  11204. description: 解冻首付金额 - [摘牌]
  11205. type: number
  11206. unfreezemargin:
  11207. description: 解冻保证金
  11208. type: number
  11209. userid:
  11210. description: 用户ID
  11211. type: integer
  11212. uuid:
  11213. description: 发起端唯一id
  11214. type: string
  11215. validtime:
  11216. description: 有效期限
  11217. type: string
  11218. validtype:
  11219. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  11220. type: integer
  11221. wrbargainid:
  11222. description: 议价申请单ID
  11223. type: integer
  11224. wrfactortypeid:
  11225. description: 仓单要素类型ID/商品ID(77)
  11226. type: integer
  11227. wrpricetype:
  11228. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  11229. type: integer
  11230. wrstandardid:
  11231. description: 现货商品ID
  11232. type: integer
  11233. wrtradeorderid:
  11234. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  11235. type: string
  11236. wrtradeorderstatus:
  11237. 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:撤单解冻贷款失败
  11238. type: integer
  11239. wrtradetype:
  11240. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  11241. type: integer
  11242. wrtransferuserid:
  11243. description: 仓单受让用户 - [摘牌]
  11244. type: integer
  11245. zscategory:
  11246. description: 钻石分类 - 枚举”ZSCategory“
  11247. type: integer
  11248. zscategorydisplay:
  11249. description: 钻石分类 - 描述
  11250. type: string
  11251. zscurrencytype:
  11252. description: 货币类型 - 枚举“ZSCurrencyType”
  11253. type: integer
  11254. required:
  11255. - userid
  11256. type: object
  11257. models.MyWRPosition:
  11258. properties:
  11259. cerno:
  11260. description: 证书编号 - 类型:2,4,5
  11261. type: string
  11262. cpcertno:
  11263. description: 金伯利证书编号 - 类型:3
  11264. type: string
  11265. ffreezeqty:
  11266. description: 冻结数量:WRPosition表:FREEZEQTY/100 , 保留两位小数
  11267. type: number
  11268. ftotalqty:
  11269. description: 库存数量:WRPosition表:TOTALQTY /100 , 保留两位小数
  11270. type: number
  11271. goodsno:
  11272. description: 商品编号
  11273. type: string
  11274. imagepath:
  11275. description: 商品照片(相对地址)
  11276. type: string
  11277. isvalid:
  11278. description: 是否有效 - 0:无效 1:有效
  11279. type: integer
  11280. kppath:
  11281. description: 金伯利证书图片(相对地址) - 类型:3
  11282. type: string
  11283. kpweight:
  11284. description: 金伯利证书重量 - 类型:3
  11285. type: string
  11286. ladingbillid:
  11287. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  11288. type: string
  11289. marketprice:
  11290. description: 市场价
  11291. type: string
  11292. origin:
  11293. description: 原产地 - 类型:3
  11294. type: string
  11295. price:
  11296. description: 总价(价格) - 类型:1,2,3,4,5
  11297. type: number
  11298. priceper:
  11299. description: 克拉单价 - 类型:1,2,3,5
  11300. type: string
  11301. remark:
  11302. description: 备注
  11303. type: string
  11304. sellmobile:
  11305. description: 手机号码(加密存储)
  11306. type: string
  11307. sellusername:
  11308. description: 账户名称(机构名称)
  11309. type: string
  11310. settingmaterial:
  11311. description: 镶嵌材料 - 类型:4
  11312. type: string
  11313. size1:
  11314. description: 尺寸1 - 类型:2,4,5
  11315. type: string
  11316. size2:
  11317. description: 尺寸2 - 类型:2,4,5
  11318. type: string
  11319. size3:
  11320. description: 尺寸3 - 类型:2,4,5
  11321. type: string
  11322. stonedesc:
  11323. description: 配石描述 - 类型:4
  11324. type: string
  11325. subnum:
  11326. description: 提单子单号
  11327. type: integer
  11328. userid:
  11329. description: 用户ID
  11330. type: integer
  11331. warehouseid:
  11332. description: 仓库ID
  11333. type: integer
  11334. warehousenamedisplay:
  11335. type: string
  11336. weight:
  11337. description: 总重量(克拉重量) - 类型:1,2,3,4,5
  11338. type: number
  11339. weightavg:
  11340. description: 平均单颗重量 - 类型:1,3
  11341. type: number
  11342. wrpath:
  11343. description: 仓单扫描件(相对地址)
  11344. type: string
  11345. wrstandardid:
  11346. description: 现货商品ID
  11347. type: integer
  11348. wruserid:
  11349. description: 登录用户ID
  11350. type: integer
  11351. zscategory:
  11352. description: 钻石分类 - 枚举”ZSCategory“
  11353. type: integer
  11354. zscategorydisplay:
  11355. type: string
  11356. zscerttype:
  11357. description: 证书类型 - 枚举”ZSCertType“ - 类型:2,4,5
  11358. type: integer
  11359. zscerttypedisplay:
  11360. type: string
  11361. zsclaritytype1:
  11362. description: 净度1 - 枚举”ZSClarityType“ - 类型:1,2,3,4,5
  11363. type: integer
  11364. zsclaritytype1display:
  11365. type: string
  11366. zsclaritytype2:
  11367. description: 净度2 - 枚举”ZSClarityType“ - 类型:1,3
  11368. type: integer
  11369. zsclaritytype2display:
  11370. type: string
  11371. zscolortype1:
  11372. description: 颜色1 - 枚举”ZSColorType“ - 类型:1,2,3,4
  11373. type: integer
  11374. zscolortype1display:
  11375. type: string
  11376. zscolortype2:
  11377. description: 颜色2 - 枚举”ZSColorType“ - 类型:1,3
  11378. type: integer
  11379. zscolortype2display:
  11380. type: string
  11381. zscrystaltype:
  11382. description: 晶型范围 - 枚举“ZSCrystalType“ - 类型:3, 多个,逗号分隔
  11383. type: string
  11384. zscrystaltypedisplay:
  11385. type: string
  11386. zscurrencytype:
  11387. description: 货币类型 - 枚举“ZSCurrencyType”
  11388. type: integer
  11389. zscurrencytypedisplay:
  11390. type: string
  11391. zscurrencytypedisplayunit:
  11392. type: string
  11393. zscuttype1:
  11394. description: 切工1 - 枚举”ZSCutType“ - 类型:1,2,4,5
  11395. type: integer
  11396. zscuttype1display:
  11397. type: string
  11398. zscuttype2:
  11399. description: 切工2 - 枚举”ZSCutType“ - 类型:1
  11400. type: integer
  11401. zscuttype2display:
  11402. type: string
  11403. zsczcolor1type:
  11404. description: 彩钻颜色1 - 枚举”ZSCZColor1Type“ - 类型:5
  11405. type: integer
  11406. zsczcolor1typedisplay:
  11407. type: string
  11408. zsczcolor2type:
  11409. description: 彩钻颜色2 - 枚举”ZSCZColor2Type“ - 类型:5
  11410. type: integer
  11411. zsczcolor2typedisplay:
  11412. type: string
  11413. zsczcolor3type:
  11414. description: 彩钻颜色3 - 枚举”ZSCZColor3Type“ - 类型:5
  11415. type: integer
  11416. zsczcolor3typedisplay:
  11417. type: string
  11418. zsfluorescencetype1:
  11419. description: 荧光1 - 枚举”ZSFluorescenceType“ - 类型:1,2,3,4,5
  11420. type: integer
  11421. zsfluorescencetype1display:
  11422. type: string
  11423. zsfluorescencetype2:
  11424. description: 荧光2 - 枚举”ZSFluorescenceType” - 类型:1,3
  11425. type: integer
  11426. zsfluorescencetype2display:
  11427. type: string
  11428. zspolishtype1:
  11429. description: 抛光度1 - 枚举”ZSPolishType“ - 类型:1,2,4,5
  11430. type: integer
  11431. zspolishtype1display:
  11432. type: string
  11433. zspolishtype2:
  11434. description: 抛光度2 - 枚举”ZSPolishType“ - 类型:1
  11435. type: integer
  11436. zspolishtype2display:
  11437. type: string
  11438. zsshapetype:
  11439. description: 形状 - 枚举”ZSShapeType“ - 类型:1,2,4,5 ;(1为多个,逗号分隔)
  11440. type: string
  11441. zsshapetypedisplay:
  11442. type: string
  11443. zsstyletype:
  11444. description: 款式 - 类型:4
  11445. type: integer
  11446. zsstyletypedisplay:
  11447. type: string
  11448. zssymmetrytype1:
  11449. description: 对称度1 - 枚举”ZSSymmetryType“ - 类型:1,2,4,5
  11450. type: integer
  11451. zssymmetrytype1display:
  11452. type: string
  11453. zssymmetrytype2:
  11454. description: 对称度2 - 枚举”ZSSymmetryType“ - 类型:1
  11455. type: integer
  11456. zssymmetrytype2display:
  11457. type: string
  11458. required:
  11459. - wruserid
  11460. type: object
  11461. models.NewFuncmenulist:
  11462. properties:
  11463. authtype:
  11464. description: 权限类型 - 1:菜单 2:组件 3:按钮
  11465. type: integer
  11466. buttonname:
  11467. description: 按钮名称
  11468. type: string
  11469. buttontype:
  11470. description: 按钮类型 - 存按钮样式
  11471. type: string
  11472. component:
  11473. description: 组件名或组件地址
  11474. type: string
  11475. hidden:
  11476. description: 是否隐藏 - 0:显示 1:隐藏
  11477. type: integer
  11478. iconame:
  11479. description: 菜单图标
  11480. type: string
  11481. menutype:
  11482. description: 菜单类型 - 1:管理端 2:PC(C#) 3:移动(云平台) 4:终端(交易所) 5:PC(云平台)
  11483. type: integer
  11484. parentcode:
  11485. description: 上级资源代码
  11486. type: string
  11487. remark:
  11488. description: Remark
  11489. type: string
  11490. resourcecode:
  11491. description: 资源代码
  11492. type: string
  11493. resourcelevel:
  11494. description: 级别1-一级 2-二级 3-三级4-四级
  11495. type: integer
  11496. resourcename:
  11497. description: 资源名(Title)
  11498. type: string
  11499. sort:
  11500. description: 排序
  11501. type: integer
  11502. url:
  11503. description: Url
  11504. type: string
  11505. urltype:
  11506. description: 地址类型 - 1:路由 2:外链 3:内联框架
  11507. type: integer
  11508. required:
  11509. - resourcecode
  11510. type: object
  11511. models.OperationPrimaryMenu:
  11512. properties:
  11513. Children:
  11514. description: 二级功能菜单
  11515. items:
  11516. $ref: '#/definitions/models.OperationSecondaryMenu'
  11517. type: array
  11518. Key:
  11519. description: 菜单KEY
  11520. type: string
  11521. Label:
  11522. description: 菜单标题
  11523. type: string
  11524. type: object
  11525. models.OperationSecondaryMenu:
  11526. properties:
  11527. Key:
  11528. description: 菜单KEY
  11529. type: string
  11530. Label:
  11531. description: 菜单标题
  11532. type: string
  11533. TabList:
  11534. description: 三级功能菜单
  11535. items:
  11536. $ref: '#/definitions/models.OperationTabMenu'
  11537. type: array
  11538. type: object
  11539. models.OperationTabMenu:
  11540. properties:
  11541. Key:
  11542. description: 菜单KEY
  11543. type: string
  11544. Label:
  11545. description: 菜单标题
  11546. type: string
  11547. type: object
  11548. models.Patradelinkdetail:
  11549. properties:
  11550. accountname:
  11551. description: 套期主体
  11552. type: string
  11553. agreeunit:
  11554. description: 合约乘数
  11555. type: number
  11556. amount:
  11557. description: 金额 = RelatedLot * TradePrice * AgreeUnit
  11558. type: number
  11559. areauserid:
  11560. description: 所属机构
  11561. type: integer
  11562. bizsubjectid:
  11563. description: 归属业务部门ID - SubjectID
  11564. type: integer
  11565. buyorsell:
  11566. description: 方向 - 0:买 1:卖
  11567. type: integer
  11568. convertratio:
  11569. description: 品种系数
  11570. type: number
  11571. convertratiochange:
  11572. description: 套期商品变化量 = RelatedLot * AgreeUnit * ConvertRatio
  11573. type: number
  11574. createtime:
  11575. description: '[日期时间]创建时间'
  11576. type: string
  11577. creatorid:
  11578. description: 创建人ID
  11579. type: integer
  11580. creatorsrc:
  11581. description: 创建人来源 - 1:管理端 2:终端 3:交易
  11582. type: integer
  11583. goodscode:
  11584. description: 商品代码(内部)
  11585. type: string
  11586. goodsgroupid:
  11587. description: 对冲品种ID[期货合约商品组ID]
  11588. type: integer
  11589. goodsid:
  11590. description: 商品ID
  11591. type: integer
  11592. hedgeditemid:
  11593. description: 现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]
  11594. type: integer
  11595. hedgeflag:
  11596. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  11597. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目
  11598. type: integer
  11599. linkdetailid:
  11600. description: 期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)
  11601. type: string
  11602. linkstatus:
  11603. description: 关联状态 - 1:成功 2:失败 3:解绑
  11604. type: integer
  11605. middlegoodsid:
  11606. description: 套保品种ID
  11607. type: integer
  11608. name:
  11609. description: 账户名/子账户
  11610. type: string
  11611. optioncode:
  11612. description: '[期货合约]期权代码 [期权]'
  11613. type: string
  11614. ordertype:
  11615. description: 单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单
  11616. type: integer
  11617. relatedlot:
  11618. description: '[数量]关联手数'
  11619. type: number
  11620. relatedmode:
  11621. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  11622. type: integer
  11623. relatedqty:
  11624. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  11625. type: number
  11626. retcode:
  11627. description: 返回码
  11628. type: integer
  11629. saleuserid:
  11630. description: 业务员ID
  11631. type: integer
  11632. tradedate:
  11633. description: 关联交易日(yyyyMMdd)
  11634. type: string
  11635. tradeid:
  11636. description: '[成交单号]内部成交单ID'
  11637. type: string
  11638. tradelot:
  11639. description: 成交手数
  11640. type: integer
  11641. tradeprice:
  11642. description: '[价格]成交价格'
  11643. type: number
  11644. tradetradedate:
  11645. description: 成交交易日(yyyyMMdd)
  11646. type: string
  11647. type: object
  11648. models.QueryErrorInfosRsp:
  11649. properties:
  11650. description:
  11651. description: 异常描述
  11652. type: string
  11653. errorcode:
  11654. description: 异常代码
  11655. type: string
  11656. errorid:
  11657. description: 异常ID
  11658. type: integer
  11659. modulecode:
  11660. description: 所属模块
  11661. type: string
  11662. operatecode:
  11663. description: 所属操作
  11664. type: string
  11665. rownumber:
  11666. description: 行号
  11667. type: string
  11668. required:
  11669. - errorid
  11670. type: object
  11671. models.QueryHedgeOrderDetailRsp:
  11672. properties:
  11673. accountid:
  11674. description: 账户ID
  11675. type: integer
  11676. buyorsell:
  11677. description: 买卖 - 0:买 1:卖
  11678. type: integer
  11679. cancellogincode:
  11680. description: 撤单人
  11681. type: string
  11682. channelbuildtype:
  11683. description: 开平标志 - 0:无 1:建仓 2:平仓
  11684. type: integer
  11685. channelinnerorderstatus:
  11686. description: 委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:部分成交 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败
  11687. 9:全部成交
  11688. type: integer
  11689. channeloperatetype:
  11690. description: 操作类型 - 1:正常委托 2:斩仓委托 3:强平委托
  11691. type: integer
  11692. closetype:
  11693. description: 平仓方式 - 0:无 1:平今 2:平昨
  11694. type: integer
  11695. curexchangerate:
  11696. description: 当前汇率
  11697. type: number
  11698. decimalplace:
  11699. description: 商品报价小数位
  11700. type: integer
  11701. exchangefullname:
  11702. description: 外部交易所全称
  11703. type: string
  11704. goodscode:
  11705. description: 商品代码(内部)
  11706. type: string
  11707. goodsid:
  11708. description: 商品ID
  11709. type: integer
  11710. goodsname:
  11711. description: 商品名称
  11712. type: string
  11713. marketid:
  11714. description: 市场ID
  11715. type: integer
  11716. openfreezemargin:
  11717. description: 冻结保证金(冻结交易金额)
  11718. type: number
  11719. orderid:
  11720. description: 委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11721. type: string
  11722. orderlogincode:
  11723. description: 委托人
  11724. type: string
  11725. orderprice:
  11726. description: 委托价格(账户)
  11727. type: number
  11728. orderqty:
  11729. description: 委托数量
  11730. type: integer
  11731. ordertime:
  11732. description: 委托时间
  11733. type: string
  11734. pricemode:
  11735. description: '取价方式 - 1:市价 2: 限价'
  11736. type: integer
  11737. tradedate:
  11738. description: 交易日(yyyyMMdd)
  11739. type: string
  11740. tradeqty:
  11741. description: 成交数量
  11742. type: integer
  11743. type: object
  11744. models.QueryHedgeTradeDetailRsp:
  11745. properties:
  11746. accountid:
  11747. description: 账号ID
  11748. type: integer
  11749. buyorsell:
  11750. description: 方向 - 0:买 1:卖
  11751. type: integer
  11752. channelbuildtype:
  11753. description: 委托单据类型 0:无 1:建仓 2:平仓
  11754. type: integer
  11755. closecharge:
  11756. description: 平仓手续费(账户)
  11757. type: number
  11758. closecharge2:
  11759. description: 平仓手续费(商品)
  11760. type: number
  11761. closepl:
  11762. description: 平仓盈亏(账户)
  11763. type: number
  11764. closepl2:
  11765. description: 平仓盈亏(商品)
  11766. type: number
  11767. closepl3:
  11768. description: 平仓盈亏(账户)(逐笔)
  11769. type: number
  11770. closepl4:
  11771. description: 平仓盈亏(商品)(逐笔)
  11772. type: number
  11773. closetype:
  11774. description: 平仓方式 - 0:无 1:平今 2:平昨
  11775. type: integer
  11776. curexchangerate:
  11777. description: 当前汇率
  11778. type: number
  11779. decimalplace:
  11780. description: 商品报价小数位
  11781. type: integer
  11782. exchangefullname:
  11783. description: 外部交易所全称
  11784. type: string
  11785. goodscode:
  11786. description: 商品代码(内部)
  11787. type: string
  11788. goodsid:
  11789. description: 商品ID
  11790. type: integer
  11791. goodsname:
  11792. description: 商品名称
  11793. type: string
  11794. marketid:
  11795. description: 市场ID
  11796. type: integer
  11797. opencharge:
  11798. description: 建仓手续费(账户)
  11799. type: number
  11800. opencharge2:
  11801. description: 建仓手续费(商品)
  11802. type: number
  11803. orderid:
  11804. description: 委托单号
  11805. type: string
  11806. orderlogincode:
  11807. description: 委托人
  11808. type: string
  11809. tradeamount:
  11810. description: 成交金额(账户)
  11811. type: number
  11812. tradedate:
  11813. description: 交易日(yyyyMMdd)
  11814. type: string
  11815. tradeid:
  11816. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11817. type: string
  11818. tradeprice:
  11819. description: 成交价格
  11820. type: number
  11821. tradeqty:
  11822. description: 成交数量
  11823. type: integer
  11824. tradetime:
  11825. description: 成交时间
  11826. type: string
  11827. tradetype:
  11828. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  11829. type: integer
  11830. type: object
  11831. models.QuotePrimaryMenu:
  11832. properties:
  11833. Index:
  11834. description: 序号
  11835. type: integer
  11836. Key:
  11837. description: 键名
  11838. type: string
  11839. Name:
  11840. description: 菜单名称
  11841. type: string
  11842. SubMenus:
  11843. description: 子菜单
  11844. items:
  11845. $ref: '#/definitions/models.QuoteSecondaryMenu'
  11846. type: array
  11847. SubTitleType:
  11848. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  11849. type: integer
  11850. TradeModes:
  11851. description: 包含市场交易类型
  11852. type: string
  11853. type: object
  11854. models.QuoteSecondaryMenu:
  11855. properties:
  11856. ExExchangeCode:
  11857. description: 外部交易所代码
  11858. type: string
  11859. ExExchangeID:
  11860. description: 外部交易所ID
  11861. type: integer
  11862. GoodsGroupIDs:
  11863. description: 商品组ID列表
  11864. items:
  11865. type: integer
  11866. type: array
  11867. Index:
  11868. description: 序号
  11869. type: integer
  11870. MarketID:
  11871. description: 市场ID
  11872. type: integer
  11873. MenuTitle:
  11874. description: 菜单标题(市场名称或外部交易所名称)
  11875. type: string
  11876. TradeMode:
  11877. description: 交易模式
  11878. type: integer
  11879. type: object
  11880. models.RelatedTaAccount:
  11881. properties:
  11882. accountid:
  11883. description: 资金账户ID
  11884. type: integer
  11885. type: object
  11886. models.RoleMenu:
  11887. properties:
  11888. hasright:
  11889. description: 是否有权限 0-没有权限 1-有权限
  11890. type: integer
  11891. iconame:
  11892. description: 菜单图标
  11893. type: string
  11894. menutype:
  11895. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  11896. type: integer
  11897. parentcode:
  11898. description: 上级资源代码
  11899. type: string
  11900. remark:
  11901. description: 菜单备注
  11902. type: string
  11903. resourcecode:
  11904. description: 菜单代码
  11905. type: string
  11906. resourcelevel:
  11907. description: 级别
  11908. type: integer
  11909. resourcename:
  11910. description: 菜单名称
  11911. type: string
  11912. roleid:
  11913. description: 角色id
  11914. type: integer
  11915. sort:
  11916. description: 排序
  11917. type: integer
  11918. subMenu:
  11919. description: 子级菜单(结构同上层一样, swag解析不出来)
  11920. items:
  11921. $ref: '#/definitions/models.RoleMenu'
  11922. type: array
  11923. url:
  11924. description: URL
  11925. type: string
  11926. userid:
  11927. description: 用户id
  11928. type: integer
  11929. type: object
  11930. models.SearchGoods:
  11931. properties:
  11932. goodscode:
  11933. description: 商品代码(内部)
  11934. type: string
  11935. goodsid:
  11936. description: 商品ID(自增ID SEQ_GOODS)
  11937. type: integer
  11938. goodsname:
  11939. description: 商品名称
  11940. type: string
  11941. marketid:
  11942. description: 所属市场ID
  11943. type: integer
  11944. marketname:
  11945. description: 市场名称
  11946. type: string
  11947. trademode:
  11948. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  11949. 21:竞拍-大宗式 22:受托竞价
  11950. type: integer
  11951. required:
  11952. - goodscode
  11953. - goodsid
  11954. - goodsname
  11955. - marketid
  11956. - trademode
  11957. type: object
  11958. models.SellOrder:
  11959. properties:
  11960. accountid:
  11961. description: 资金账号
  11962. type: integer
  11963. applyid:
  11964. description: 申请单ID
  11965. type: integer
  11966. attachment1:
  11967. description: 附件1
  11968. type: string
  11969. attachment2:
  11970. description: 附件2
  11971. type: string
  11972. buyorsell:
  11973. description: 买卖 - 0:买 1:卖
  11974. type: integer
  11975. canbargain:
  11976. description: 是否可议价 - 0:不可 1:可
  11977. type: integer
  11978. cancelqty:
  11979. description: 撤销数量
  11980. type: integer
  11981. canceltime:
  11982. description: 撤销时间
  11983. type: string
  11984. chargealgorithm:
  11985. description: 手续费收取方式 1:比率 2:固定
  11986. type: integer
  11987. chargealgorithmvalue:
  11988. description: 手续费设置值(交易所部分)
  11989. type: number
  11990. chargealgorithmvalue2:
  11991. description: 手续费设置值(会员部分)
  11992. type: number
  11993. clientordertime:
  11994. description: 客户端委托时间
  11995. type: string
  11996. exchangerate:
  11997. description: 汇率[67]
  11998. type: number
  11999. firstratio:
  12000. description: 首付比率 - [挂牌时指定,摘牌时使用]
  12001. type: number
  12002. fixedprice:
  12003. description: '[克拉单价]固定价格 - [挂牌]'
  12004. type: number
  12005. freezecharge:
  12006. description: 冻结手续费
  12007. type: number
  12008. freezefirstamount:
  12009. description: 冻结首付金额 - [摘牌]
  12010. type: number
  12011. freezemargin:
  12012. description: 冻结保证金
  12013. type: number
  12014. goodsno:
  12015. description: 商品编号
  12016. type: string
  12017. isQueryDiamond:
  12018. description: 是否钻石查询
  12019. type: boolean
  12020. isspecified:
  12021. description: 是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  12022. type: integer
  12023. marginalgorithm:
  12024. description: 保证金方式 - 1:比率 2:固定
  12025. type: integer
  12026. marginvalue:
  12027. description: 保证金设置值
  12028. type: number
  12029. marketid:
  12030. description: 市场ID
  12031. type: integer
  12032. orderamount:
  12033. description: 挂牌金额[账户] [67]= OrderQty * FixedPrice * ExchangeRate /100
  12034. type: number
  12035. ordertime:
  12036. description: 委托时间
  12037. type: string
  12038. performancetemplateid:
  12039. description: 履约计划模板ID
  12040. type: integer
  12041. pricefactor:
  12042. description: 价格系数(浮动价时填写) - [挂牌]
  12043. type: number
  12044. pricemove:
  12045. description: 升贴水(浮动价时填写) - [挂牌]
  12046. type: number
  12047. relatedwrtradeorderid:
  12048. description: 关联委托单号(摘牌委托关联挂牌委托单ID)
  12049. type: integer
  12050. remainqty:
  12051. description: 剩余重量
  12052. type: number
  12053. retcode:
  12054. description: 错误代码
  12055. type: integer
  12056. sellusername:
  12057. description: 卖方(查询字段-模糊查询)
  12058. type: string
  12059. totalqty:
  12060. description: 总重量
  12061. type: number
  12062. tradedate:
  12063. description: 交易日(yyyyMMdd)
  12064. type: string
  12065. tradeprice:
  12066. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)*
  12067. 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  12068. type: number
  12069. unfreezecharge:
  12070. description: 解冻手续费
  12071. type: number
  12072. unfreezefirstamount:
  12073. description: 解冻首付金额 - [摘牌]
  12074. type: number
  12075. unfreezemargin:
  12076. description: 解冻保证金
  12077. type: number
  12078. userid:
  12079. description: 用户ID
  12080. type: integer
  12081. uuid:
  12082. description: 发起端唯一id
  12083. type: string
  12084. validtime:
  12085. description: 有效期限
  12086. type: string
  12087. validtype:
  12088. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  12089. type: integer
  12090. wrbargainid:
  12091. description: 议价申请单ID
  12092. type: integer
  12093. wrfactortypeid:
  12094. description: 仓单要素类型ID/商品ID(77)
  12095. type: integer
  12096. wrpricetype:
  12097. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  12098. type: integer
  12099. wrstandardid:
  12100. description: 现货商品ID
  12101. type: integer
  12102. wrtradeorderid:
  12103. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  12104. type: string
  12105. wrtradeorderstatus:
  12106. 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:撤单解冻贷款失败
  12107. type: integer
  12108. wrtradetype:
  12109. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  12110. type: integer
  12111. wrtransferuserid:
  12112. description: 仓单受让用户 - [摘牌]
  12113. type: integer
  12114. zscategory:
  12115. description: 钻石分类 - 枚举”ZSCategory“
  12116. type: integer
  12117. zscategorydisplay:
  12118. description: 钻石分类 - 描述
  12119. type: string
  12120. zscurrencytype:
  12121. description: 货币类型 - 枚举“ZSCurrencyType”
  12122. type: integer
  12123. type: object
  12124. models.SellOrderQueryReq:
  12125. properties:
  12126. origin:
  12127. description: 原产地
  12128. type: string
  12129. page:
  12130. description: 页码
  12131. type: integer
  12132. pagesize:
  12133. description: 每页大小
  12134. type: integer
  12135. total:
  12136. description: 总条数
  12137. type: integer
  12138. warehouseid:
  12139. description: 仓库ID
  12140. type: integer
  12141. weight1:
  12142. description: 总重量(克拉重量)-从
  12143. type: number
  12144. weight2:
  12145. description: 总重量(克拉重量)-至
  12146. type: number
  12147. weightavg1:
  12148. description: 平均单颗重量-从
  12149. type: number
  12150. weightavg2:
  12151. description: 平均单颗重量-至
  12152. type: number
  12153. zscategory:
  12154. description: 钻石分类 - 枚举”ZSCategory“
  12155. type: integer
  12156. zscerttype:
  12157. description: 证书类型
  12158. items:
  12159. type: string
  12160. type: array
  12161. zsclaritytype:
  12162. description: 净度
  12163. items:
  12164. type: integer
  12165. type: array
  12166. zscolortype:
  12167. description: 颜色
  12168. items:
  12169. type: integer
  12170. type: array
  12171. zscurrencytype:
  12172. description: 货币类型 - 枚举“ZSCurrencyType”
  12173. items:
  12174. type: string
  12175. type: array
  12176. zscuttype:
  12177. description: 切工
  12178. items:
  12179. type: integer
  12180. type: array
  12181. zsczcolor1type:
  12182. description: 彩钻颜色1
  12183. items:
  12184. type: string
  12185. type: array
  12186. zsfluorescencetype:
  12187. description: 荧光
  12188. items:
  12189. type: integer
  12190. type: array
  12191. zspolishtype:
  12192. description: 抛光度
  12193. items:
  12194. type: integer
  12195. type: array
  12196. zsshapetype:
  12197. description: 形状 - 枚举”ZSShapeType“ - 类型:1,2,4,5 ;(1为多个,逗号分隔)
  12198. items:
  12199. type: string
  12200. type: array
  12201. zsstyletype:
  12202. description: 款式
  12203. items:
  12204. type: string
  12205. type: array
  12206. zssymmetrytype:
  12207. description: 对称度
  12208. items:
  12209. type: integer
  12210. type: array
  12211. required:
  12212. - zscategory
  12213. type: object
  12214. models.Systemparam:
  12215. properties:
  12216. loginid:
  12217. description: 更新用户账号,登录账号
  12218. type: string
  12219. modifyflag:
  12220. description: 修改标志0 不允许修改 1 允许修改
  12221. type: integer
  12222. paramcode:
  12223. description: 参数代码
  12224. type: string
  12225. paramname:
  12226. description: 参数名
  12227. type: string
  12228. paramtype:
  12229. description: 参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城
  12230. type: integer
  12231. paramvalue:
  12232. description: 参数值
  12233. type: string
  12234. paramvalue2:
  12235. description: 参数值(CLOB)
  12236. type: string
  12237. regexpress:
  12238. description: 正则表达式
  12239. type: string
  12240. remark:
  12241. description: 备注
  12242. type: string
  12243. serverip:
  12244. description: 限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置
  12245. type: string
  12246. showflag:
  12247. description: 是否显示0 不显示 1 显示
  12248. type: integer
  12249. updatetime:
  12250. description: 更新时间
  12251. type: string
  12252. userid:
  12253. description: 更新用户ID
  12254. type: integer
  12255. required:
  12256. - paramcode
  12257. type: object
  12258. models.Szdz3convertconfig:
  12259. properties:
  12260. canin:
  12261. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  12262. type: integer
  12263. canout:
  12264. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  12265. type: integer
  12266. converttype:
  12267. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  12268. 6:交易转花生米(不设置)
  12269. type: integer
  12270. createtime:
  12271. description: 创建时间
  12272. type: string
  12273. creatorid:
  12274. description: 创建人
  12275. type: integer
  12276. daymaxvalue:
  12277. description: 当日最大转入限制
  12278. type: number
  12279. freezedays:
  12280. description: 冻结天数 [5:花生米转交易]
  12281. type: integer
  12282. innergoodsid:
  12283. description: 内部商品ID[交易]
  12284. type: integer
  12285. inratio:
  12286. description: 目标值
  12287. type: integer
  12288. modifierid:
  12289. description: 修改人
  12290. type: integer
  12291. modifytime:
  12292. description: 修改时间
  12293. type: string
  12294. outergoodscode:
  12295. description: 外部商品代码[JD\PD]
  12296. type: string
  12297. outratio:
  12298. description: 源值
  12299. type: integer
  12300. pddecimalplace:
  12301. description: PD小数位
  12302. type: integer
  12303. timemaxvalue:
  12304. description: 单次最大转入限制
  12305. type: number
  12306. timeminvalue:
  12307. description: 单次最小转入限制
  12308. type: number
  12309. required:
  12310. - converttype
  12311. - innergoodsid
  12312. - outergoodscode
  12313. type: object
  12314. models.Szdz3searchwhitelist:
  12315. properties:
  12316. createtime:
  12317. description: 创建时间
  12318. type: string
  12319. creatorid:
  12320. description: 创建人
  12321. type: integer
  12322. modifierid:
  12323. description: 修改人
  12324. type: integer
  12325. modifytime:
  12326. description: 修改时间
  12327. type: string
  12328. userid:
  12329. description: 用户ID
  12330. type: integer
  12331. required:
  12332. - userid
  12333. type: object
  12334. models.TBGoods:
  12335. properties:
  12336. agreeunit:
  12337. description: 合约乘数
  12338. type: number
  12339. enumdicname:
  12340. description: 单位名称
  12341. type: string
  12342. goodscode:
  12343. description: 商品代码(内部)
  12344. type: string
  12345. goodsid:
  12346. description: 商品ID(自增ID SEQ_GOODS)
  12347. type: integer
  12348. goodsname:
  12349. description: 商品名称
  12350. type: string
  12351. type: object
  12352. models.TBGoodsGroup:
  12353. properties:
  12354. GDLST:
  12355. description: 商品列表
  12356. items:
  12357. $ref: '#/definitions/models.TBGoods'
  12358. type: array
  12359. convertratio:
  12360. description: 折算系数
  12361. type: number
  12362. enumdicname:
  12363. description: 单位名称
  12364. type: string
  12365. exexchangecode:
  12366. description: 交易所代码
  12367. type: string
  12368. exexchangename:
  12369. description: 交易所名称
  12370. type: string
  12371. goodsgroupid:
  12372. description: 商品组ID(自增ID)
  12373. type: integer
  12374. goodsgroupname:
  12375. description: 商品组名称
  12376. type: string
  12377. goodunitid:
  12378. description: 报价单位ID
  12379. type: integer
  12380. type: object
  12381. models.TBMiddleGoods:
  12382. properties:
  12383. GPLST:
  12384. description: 期货品种列表
  12385. items:
  12386. $ref: '#/definitions/models.TBGoodsGroup'
  12387. type: array
  12388. WDLST:
  12389. description: 商品信息列表(现货品类)
  12390. items:
  12391. $ref: '#/definitions/models.TBWrstandard'
  12392. type: array
  12393. areauserid:
  12394. description: 机构用户ID
  12395. type: integer
  12396. enumdicname:
  12397. description: 单位名称
  12398. type: string
  12399. goodsunitid:
  12400. description: 套保品种单位id
  12401. type: integer
  12402. middlegoodscode:
  12403. description: 套保品种代码
  12404. type: string
  12405. middlegoodsid:
  12406. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  12407. type: integer
  12408. middlegoodsname:
  12409. description: 套保品种名称
  12410. type: string
  12411. needarbitrageratio:
  12412. description: 套利比率
  12413. type: number
  12414. needhedgeratio:
  12415. description: 套保比率
  12416. type: number
  12417. type: object
  12418. models.TBWrstandard:
  12419. properties:
  12420. convertratio:
  12421. description: 折算系数
  12422. type: number
  12423. deliverygoodsname:
  12424. description: 品种名称
  12425. type: string
  12426. enumdicname:
  12427. description: 单位名称
  12428. type: string
  12429. vatrate:
  12430. description: 增值税率
  12431. type: number
  12432. wrstandardcode:
  12433. description: 现货商品代码
  12434. type: string
  12435. wrstandardid:
  12436. description: 现货商品ID(SEQ_WRSTANDARD)
  12437. type: integer
  12438. wrstandardname:
  12439. description: 现货商品名称
  12440. type: string
  12441. type: object
  12442. models.Taaccount:
  12443. properties:
  12444. accountflag:
  12445. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  12446. type: integer
  12447. accountid:
  12448. description: 资金账户ID
  12449. type: integer
  12450. accountname:
  12451. description: 账户名称
  12452. type: string
  12453. balance:
  12454. description: 期初余额
  12455. type: number
  12456. capitalbalance:
  12457. description: 本金余额[外部子账户实际出入金余额]
  12458. type: number
  12459. changeflag:
  12460. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  12461. type: integer
  12462. changetime:
  12463. description: 账户状态变更时间
  12464. type: string
  12465. closepl:
  12466. description: 今日平仓盈亏
  12467. type: number
  12468. creditdecrease:
  12469. description: 今日授信减少
  12470. type: number
  12471. creditincrease:
  12472. description: 今日授信增加
  12473. type: number
  12474. curamount:
  12475. description: 总市值(从持仓中统计)
  12476. type: number
  12477. currencyid:
  12478. description: 货币ID
  12479. type: integer
  12480. currentbalance:
  12481. description: 期末余额
  12482. type: number
  12483. freezecharge:
  12484. description: 手续费冻结
  12485. type: number
  12486. freezemargin:
  12487. description: 冻结保证金
  12488. type: number
  12489. fromaccountid:
  12490. description: 所属上级账户
  12491. type: integer
  12492. inamount:
  12493. description: 今日入金金额(包括三方入金)
  12494. type: number
  12495. ismain:
  12496. description: 是否母账号 0:不是母账户 1:是母账户
  12497. type: integer
  12498. ismarketaccount:
  12499. description: 是否机构接单账号 0:不是 1:是
  12500. type: integer
  12501. isreckonaccount:
  12502. description: 是否机构分润账号 0:不是 1:是
  12503. type: integer
  12504. mortgagecredit:
  12505. description: 授信金额
  12506. type: number
  12507. orifreezecharge:
  12508. description: 期初手续费冻结
  12509. type: number
  12510. orifreezemargin:
  12511. description: 期初冻结保证金
  12512. type: number
  12513. orimortgagecredit:
  12514. description: 期初授信金额
  12515. type: number
  12516. oriothercredit:
  12517. description: 期初其它授信金额
  12518. type: number
  12519. oriotherfreezemargin:
  12520. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  12521. type: number
  12522. orioutamountfreeze:
  12523. description: 期初出金冻结
  12524. type: number
  12525. oriusedmargin:
  12526. description: 期初占用保证金
  12527. type: number
  12528. othercredit:
  12529. description: 其它授信金额
  12530. type: number
  12531. othercreditdecrease:
  12532. description: 今日其它授信减少
  12533. type: number
  12534. othercreditincrease:
  12535. description: 今日其它授信增加
  12536. type: number
  12537. otherfreezemargin:
  12538. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  12539. type: number
  12540. otherincome:
  12541. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  12542. type: number
  12543. otherpay:
  12544. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  12545. type: number
  12546. outamount:
  12547. description: 今日出金金额(包括三方出金)
  12548. type: number
  12549. outamountfreeze:
  12550. description: 出金冻结
  12551. type: number
  12552. outthreshold:
  12553. description: 出金阈值
  12554. type: number
  12555. parentaccountid:
  12556. description: 所属根账号
  12557. type: integer
  12558. paycharge:
  12559. description: 今日手续费支出
  12560. type: number
  12561. relatedaccountstatus:
  12562. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  12563. type: integer
  12564. relateduserid:
  12565. description: 关联用户
  12566. type: integer
  12567. remainamount:
  12568. description: 融资额(从融资合同中统计)
  12569. type: number
  12570. serivcegroup:
  12571. description: 服务分组
  12572. type: integer
  12573. signstatus:
  12574. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  12575. type: integer
  12576. sublevelpath:
  12577. description: 账号层级路径(逗号分隔,首尾加逗号)
  12578. type: string
  12579. taaccounttype:
  12580. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  12581. type: integer
  12582. thirdinamount:
  12583. description: 今日三方入金
  12584. type: number
  12585. thirdoutamount:
  12586. description: 今日三方出金
  12587. type: number
  12588. tradestatus:
  12589. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  12590. type: integer
  12591. tradestatuschangetime:
  12592. description: 激活时间
  12593. type: string
  12594. transferamount:
  12595. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  12596. type: number
  12597. usedmargin:
  12598. description: 占用保证金
  12599. type: number
  12600. userid:
  12601. description: 用户ID
  12602. type: integer
  12603. required:
  12604. - accountid
  12605. - userid
  12606. type: object
  12607. models.Tablecolumnconfig:
  12608. properties:
  12609. aligntype:
  12610. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  12611. type: integer
  12612. autoid:
  12613. description: AutoID
  12614. type: integer
  12615. columnfield:
  12616. description: 列字段
  12617. type: string
  12618. columntitle:
  12619. description: 列Title
  12620. type: string
  12621. columnwidth:
  12622. description: 列宽
  12623. type: string
  12624. fixed:
  12625. description: 固定类型 - 空 | left | right
  12626. type: string
  12627. formatterstring:
  12628. description: 格式化字符
  12629. type: string
  12630. formattertype:
  12631. description: 格式化类型
  12632. type: string
  12633. groupname:
  12634. description: 表头分组名称
  12635. type: string
  12636. ismerge:
  12637. description: 是否合并显示 - 0:不合并 1:合并
  12638. type: integer
  12639. isshow:
  12640. description: 是否显示 - 0:不显示 1:显示
  12641. type: integer
  12642. needsummary:
  12643. description: 是否需要汇总 - 0:不需要 1:需要
  12644. type: integer
  12645. orderindex:
  12646. description: 顺序
  12647. type: integer
  12648. remark:
  12649. description: 备注
  12650. type: string
  12651. summarytype:
  12652. description: 汇总类型 - 1:加总 2:最后一个
  12653. type: integer
  12654. tablekey:
  12655. description: 列表Key
  12656. type: string
  12657. required:
  12658. - autoid
  12659. type: object
  12660. models.TjmdHolderDetailTradeInfo:
  12661. properties:
  12662. agreeunit:
  12663. description: 合约乘数
  12664. type: number
  12665. buyaccountid:
  12666. description: 买方账户
  12667. type: string
  12668. buyusername:
  12669. description: 买方
  12670. type: string
  12671. delistingdate:
  12672. description: 最后结算日
  12673. type: string
  12674. expiredate:
  12675. description: 到期结算价定价日
  12676. type: string
  12677. exprieprice:
  12678. description: 到期清算价格
  12679. type: string
  12680. goodscode:
  12681. description: 商品代码
  12682. type: string
  12683. goodsid:
  12684. description: 商品ID
  12685. type: integer
  12686. goodsname:
  12687. description: 商品名称(交易标的)
  12688. type: string
  12689. lasttradedate:
  12690. description: 最后交易日
  12691. type: string
  12692. listingdate:
  12693. description: 开始交易日
  12694. type: string
  12695. openprice:
  12696. description: 成交价
  12697. type: number
  12698. openqty:
  12699. description: 交易数量
  12700. type: integer
  12701. sellaccountid:
  12702. description: 卖方账户
  12703. type: string
  12704. sellusername:
  12705. description: 卖方
  12706. type: string
  12707. tradeamount:
  12708. description: 初始名义价值
  12709. type: number
  12710. tradedate:
  12711. description: 成交日期
  12712. type: string
  12713. tradeid:
  12714. description: 成交编号
  12715. type: string
  12716. type: object
  12717. models.TjmdMarketSection:
  12718. properties:
  12719. marketsectionid:
  12720. description: 市场版块ID(SEQ_MARKETSECTION)
  12721. type: integer
  12722. marketsectionname:
  12723. description: 市场版块名称
  12724. type: string
  12725. mlist:
  12726. description: 市场列表(板块下面有多少个市场)
  12727. items:
  12728. $ref: '#/definitions/models.TjmdMarketSectionConfig'
  12729. type: array
  12730. orderindex:
  12731. description: 排序
  12732. type: integer
  12733. pictureurl:
  12734. description: 图片url, 规格(90*90)
  12735. type: string
  12736. remark:
  12737. description: 备注
  12738. type: string
  12739. type: object
  12740. models.TjmdMarketSectionConfig:
  12741. properties:
  12742. auctionwrtype:
  12743. description: 仓单类型(现货交易) - 1:无仓单 2:有仓单 3;有无仓单均可
  12744. type: integer
  12745. canacceptquote:
  12746. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  12747. type: integer
  12748. cangoodsexercise:
  12749. description: '[期权]是否可现货行权- 0:否 1:是'
  12750. type: integer
  12751. cangoodsexercisetype:
  12752. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  12753. type: integer
  12754. canmanualquotestrike:
  12755. description: 是否可手动报行权价- 0:否 1:是 [期权]
  12756. type: integer
  12757. canmutistage:
  12758. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  12759. type: integer
  12760. canpreexercise:
  12761. description: '[期权]是否可预申报- 0:否 1:是'
  12762. type: integer
  12763. clearinterval:
  12764. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  12765. type: integer
  12766. contracttmp:
  12767. description: 合同模板[荷兰式][竞价式][仓单贸易]
  12768. type: string
  12769. exchareaid:
  12770. description: 所属交易所,可以没有
  12771. type: integer
  12772. financemarketid:
  12773. description: 融资回购市场ID [仓单贸易]
  12774. type: integer
  12775. goodstype:
  12776. description: 商品类型 - 1:交易商品 2:仓单商品
  12777. type: integer
  12778. hasrebate:
  12779. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  12780. type: integer
  12781. hastradecredit:
  12782. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  12783. type: integer
  12784. haswr:
  12785. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  12786. type: integer
  12787. isdeductmargin:
  12788. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  12789. type: integer
  12790. isrecordsource:
  12791. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  12792. type: integer
  12793. isreleasemargin:
  12794. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  12795. type: integer
  12796. isupdatereckonprice:
  12797. description: 输入结算价标识 - 0:系统生成 1:手工输入(自动) 2:手工输入(手动)
  12798. type: integer
  12799. listingmode:
  12800. description: 挂牌方式 1:一口价 2:浮动价 3:贸易圈 4:协议指定
  12801. type: integer
  12802. marginformula:
  12803. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  12804. type: integer
  12805. marginformula2:
  12806. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  12807. type: integer
  12808. marketid:
  12809. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  12810. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  12811. type: integer
  12812. marketname:
  12813. description: 市场名称
  12814. type: string
  12815. marketsectionid:
  12816. description: 市场版块ID(SEQ_MARKETSECTION)
  12817. type: integer
  12818. marketserviceid:
  12819. description: 市场服务ID
  12820. type: integer
  12821. marketstatus:
  12822. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  12823. type: integer
  12824. markettype:
  12825. description: 市场类型- 1:非交易服务 2:交易服务
  12826. type: integer
  12827. matchermode:
  12828. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手 - 作废
  12829. type: integer
  12830. nowrquotaflag:
  12831. description: 是否校验无仓单额度(仓单贸易) 0:否 1:是
  12832. type: integer
  12833. openmethod:
  12834. description: 开盘模式 - 0 自动 1手动
  12835. type: integer
  12836. orderindex:
  12837. description: 排序
  12838. type: integer
  12839. otcuserid:
  12840. description: 场外期权做市商[场外期权]
  12841. type: integer
  12842. outersynctime:
  12843. description: 外部同步时间点(h24:mi:ss)[场外期权]
  12844. type: string
  12845. paylaterflag:
  12846. description: 是否支持后付 - 0:不支持 1;支持 - [挂牌点选 所有权、预售挂牌支持]
  12847. type: integer
  12848. pendingflag:
  12849. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  12850. type: integer
  12851. pendingtime:
  12852. description: 待开市时间[通道交易-对冲](HH:mm)
  12853. type: string
  12854. performancetempid:
  12855. description: 履约计划模板ID - 作废
  12856. type: integer
  12857. premiumquotemode:
  12858. description: 权利金报价方式 - 1:自动 2:手动
  12859. type: integer
  12860. rebateratio:
  12861. description: 返利比率[竞价式]
  12862. type: number
  12863. reckonorder:
  12864. description: 结算顺序
  12865. type: integer
  12866. reckonpricealgorithm:
  12867. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  12868. 6.卖一价 7.买一卖一均价 8.外部结算价'
  12869. type: integer
  12870. reckonpriceparam:
  12871. description: 结算价参数
  12872. type: integer
  12873. reckontime:
  12874. description: 结算时间[通道交易-对冲](HH:mm)
  12875. type: string
  12876. roleprioritytype:
  12877. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  12878. type: integer
  12879. selllistingauditflag:
  12880. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  12881. type: integer
  12882. trademarkettype:
  12883. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  12884. type: integer
  12885. trademode:
  12886. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  12887. 21:竞拍-大宗式 22:受托竞价
  12888. type: integer
  12889. tradeproperty:
  12890. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  12891. 8:场外期权
  12892. type: integer
  12893. tradetype:
  12894. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  12895. type: integer
  12896. updatereckonpriceinterval:
  12897. description: 输入结算价时长(分钟) [1:手工输入(自动)]
  12898. type: integer
  12899. type: object
  12900. models.TjmdQuoteGoods:
  12901. properties:
  12902. buyqty:
  12903. description: 买量(暂不做, 无值, 保留字段)
  12904. type: number
  12905. decimalplace:
  12906. description: 报价小数位
  12907. type: integer
  12908. goodscode:
  12909. description: 合约代码
  12910. type: string
  12911. goodsgroupid:
  12912. description: 商品组ID(自增ID)
  12913. type: integer
  12914. goodsgroupname:
  12915. description: 商品组名称
  12916. type: string
  12917. goodsid:
  12918. description: 合约id
  12919. type: integer
  12920. goodsname:
  12921. description: 合约名称
  12922. type: string
  12923. refgoodscode:
  12924. description: 标的合约代码
  12925. type: string
  12926. refgoodsid:
  12927. description: 标的合约id
  12928. type: integer
  12929. refgoodsname:
  12930. description: 标的合约名称
  12931. type: string
  12932. sellqty:
  12933. description: 卖量(暂不做, 无值, 保留字段)
  12934. type: number
  12935. type: object
  12936. models.TjmdTodayAccountMargin:
  12937. properties:
  12938. accountid:
  12939. description: 账号ID
  12940. type: integer
  12941. goodsid:
  12942. description: 商品ID
  12943. type: integer
  12944. infoc:
  12945. $ref: '#/definitions/pb.GoodsMarginCfgStruct'
  12946. description: 配置参数
  12947. marketid:
  12948. description: 市场ID
  12949. type: integer
  12950. type: object
  12951. models.TjmdTradeOrderDetail:
  12952. properties:
  12953. buyorsell:
  12954. description: 买卖方向 0-买 1-卖
  12955. type: integer
  12956. goodsid:
  12957. description: 商品id
  12958. type: integer
  12959. marketmaxsub:
  12960. description: 市价最大偏移范围 [浮动价 - 点差]
  12961. type: number
  12962. orderid:
  12963. description: 委托单号
  12964. type: string
  12965. orderprice:
  12966. description: 期初均价
  12967. type: number
  12968. orderqty:
  12969. description: 委托数量
  12970. type: integer
  12971. pricemode:
  12972. description: '取价方式 - 1:市价 2: 限价 3:浮动价'
  12973. type: integer
  12974. userid:
  12975. description: 用户id
  12976. type: integer
  12977. username:
  12978. description: 用户名称(已脱敏)
  12979. type: string
  12980. type: object
  12981. models.TjmdTransferApply:
  12982. properties:
  12983. applyid:
  12984. description: 申请ID(自增ID SEQ_TRADE_HOLDTRANSFERAPPLY)
  12985. type: integer
  12986. applystatus:
  12987. description: 状态 - 0:未提交 1:待审核 2:审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销
  12988. type: integer
  12989. applytime:
  12990. description: 申请时间(时间)
  12991. type: string
  12992. auditremark:
  12993. description: 审核备注(拒绝原因?)
  12994. type: string
  12995. begindate:
  12996. description: 开始交易日(yyyymmdd)
  12997. type: string
  12998. buyorsell:
  12999. description: 买卖 - 0:买 1:卖
  13000. type: integer
  13001. enddate:
  13002. description: 结束交易日(yyyymmdd)
  13003. type: string
  13004. goodscode:
  13005. description: 商品代码
  13006. type: string
  13007. goodsid:
  13008. description: 商品ID
  13009. type: integer
  13010. goodsname:
  13011. description: 商品名称
  13012. type: string
  13013. marketid:
  13014. description: 市场ID
  13015. type: integer
  13016. qty:
  13017. description: 期初均价
  13018. type: number
  13019. tradeid:
  13020. description: 成交单号(关联持仓)
  13021. type: string
  13022. transferamount:
  13023. description: 转让总金额(金额)
  13024. type: number
  13025. transferprice:
  13026. description: 转让价格(协议价格)
  13027. type: number
  13028. type: object
  13029. models.TradeHolderDetail:
  13030. properties:
  13031. accountid:
  13032. description: 账号ID
  13033. type: integer
  13034. agreeunit:
  13035. description: 合约乘数
  13036. type: number
  13037. buyorsell:
  13038. description: 方向 - 0:买 1:卖
  13039. type: integer
  13040. currencyid:
  13041. description: 商品币种id
  13042. type: integer
  13043. currencyname:
  13044. description: 币种名称
  13045. type: string
  13046. decimalplace:
  13047. description: 商品价格小数位
  13048. type: integer
  13049. enumdicname:
  13050. description: 商品单位名称
  13051. type: string
  13052. expirecycle:
  13053. description: 行权周期(天) - 1:滚动行权时填写
  13054. type: integer
  13055. expiredate:
  13056. description: 行权日(yyyyMMdd) - 到期日
  13057. type: string
  13058. expiretype:
  13059. description: 行权日类型 - 1:滚动行权 2:固定日行权
  13060. type: integer
  13061. freezeqty:
  13062. description: 期初均价
  13063. type: number
  13064. goodscode:
  13065. description: 商品代码
  13066. type: string
  13067. goodsid:
  13068. description: 商品ID
  13069. type: integer
  13070. goodsname:
  13071. description: 商品名称
  13072. type: string
  13073. goodunitid:
  13074. description: 商品单位id
  13075. type: integer
  13076. holderamount:
  13077. description: 持仓金额
  13078. type: number
  13079. holdercredit:
  13080. description: 持仓授信金额
  13081. type: number
  13082. holderdays:
  13083. description: 剩余冻结天数
  13084. type: integer
  13085. holderprice:
  13086. description: 持仓价格
  13087. type: number
  13088. holderqty:
  13089. description: 期初均价
  13090. type: number
  13091. isconfirmexercise:
  13092. description: 是否确认行权- 0:否 1:是
  13093. type: integer
  13094. ispreexercise:
  13095. description: 是否预申报- 0:否 1:是 2:不可行权
  13096. type: integer
  13097. marketid:
  13098. description: 市场id
  13099. type: integer
  13100. marketname:
  13101. description: 市场名称
  13102. type: string
  13103. openprice:
  13104. description: 建仓价格
  13105. type: number
  13106. openqty:
  13107. description: 期初均价
  13108. type: number
  13109. optiontype:
  13110. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  13111. type: integer
  13112. preexerciseprice:
  13113. description: 预申报价格
  13114. type: number
  13115. premium:
  13116. description: 权利金
  13117. type: number
  13118. qtydecimalplace:
  13119. description: 商品成交量小数位
  13120. type: integer
  13121. refgoodscode:
  13122. description: 标的合约代码
  13123. type: string
  13124. refgoodsid:
  13125. description: 标的合约id
  13126. type: integer
  13127. releaseamount:
  13128. description: 释放持仓金额
  13129. type: number
  13130. releaseholdercredit:
  13131. description: 释放持仓授信金额
  13132. type: number
  13133. taname:
  13134. description: 资金账号名称
  13135. type: string
  13136. tradeamount:
  13137. description: 成交金额
  13138. type: number
  13139. tradedate:
  13140. description: 交易日(yyyyMMdd)
  13141. type: string
  13142. tradeid:
  13143. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13144. type: string
  13145. trademode:
  13146. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  13147. 21:竞拍-大宗式 22:受托竞价 46:掉期
  13148. type: integer
  13149. tradeproperty:
  13150. description: 交易属性
  13151. type: integer
  13152. tradetime:
  13153. description: 交易时间
  13154. type: string
  13155. userid:
  13156. description: 用户id
  13157. type: integer
  13158. username:
  13159. description: 用户名称
  13160. type: string
  13161. type: object
  13162. models.Unlinkermcphedgeplan:
  13163. properties:
  13164. accountid:
  13165. description: 期货账户ID - 作废
  13166. type: integer
  13167. accountname:
  13168. description: 交易用户
  13169. type: string
  13170. applyid:
  13171. description: 申请人
  13172. type: integer
  13173. applysrc:
  13174. description: 申请来源 - 1:管理端 2:终端
  13175. type: integer
  13176. applytime:
  13177. description: 申请时间
  13178. type: string
  13179. areauserid:
  13180. description: '[企业ID]机构ID'
  13181. type: integer
  13182. auditid:
  13183. description: 审核人
  13184. type: integer
  13185. auditremark:
  13186. description: 审核备注
  13187. type: string
  13188. auditsrc:
  13189. description: 审核来源 - 1:管理端 2:终端
  13190. type: integer
  13191. audittime:
  13192. description: 审核时间
  13193. type: string
  13194. audittradedate:
  13195. description: 审核交易日(yyyyMMdd)
  13196. type: string
  13197. biztype:
  13198. description: 业务类型 - 1:套保
  13199. type: integer
  13200. contracttype:
  13201. description: 计划类型 - 1:采购 -1:销售
  13202. type: integer
  13203. convertfactor:
  13204. description: 标仓系数 - 作废
  13205. type: number
  13206. createtime:
  13207. description: 创建时间
  13208. type: string
  13209. currencyid:
  13210. description: 结算币种ID - 作废
  13211. type: integer
  13212. deliverygoodsid:
  13213. description: 现货品种ID
  13214. type: integer
  13215. enumdicname:
  13216. description: 结算币种
  13217. type: string
  13218. hedgeplanid:
  13219. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  13220. type: string
  13221. hedgeplanno:
  13222. description: '[计划编号]套保计划编号,模糊查询'
  13223. type: string
  13224. hedgeplanstatus:
  13225. description: '[状态]套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回'
  13226. type: integer
  13227. isrelated:
  13228. description: 是否已关联计划项目 - 0:否 1:是
  13229. type: integer
  13230. planqty:
  13231. description: '[计划量]计划数量'
  13232. type: number
  13233. plantime:
  13234. description: 计划时间
  13235. type: string
  13236. producttype:
  13237. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  13238. type: integer
  13239. remark:
  13240. description: 备注
  13241. type: string
  13242. spotgoodsdesc:
  13243. description: 商品型号
  13244. type: string
  13245. tradedate:
  13246. description: 交易日(yyyyMMdd)
  13247. type: string
  13248. tradeuserid:
  13249. description: 交易用户ID
  13250. type: integer
  13251. updatetime:
  13252. description: 更新时间
  13253. type: string
  13254. wrstandardid:
  13255. description: 现货商品ID
  13256. type: integer
  13257. wrstandardname:
  13258. description: 现货商品,模糊查询
  13259. type: string
  13260. required:
  13261. - areauserid
  13262. type: object
  13263. models.Useraccount:
  13264. properties:
  13265. accountname:
  13266. description: 账户名称(机构名称)
  13267. type: string
  13268. accountstatus:
  13269. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  13270. type: integer
  13271. applysrc:
  13272. description: 申请来源 - 1:管理端 2:终端
  13273. type: integer
  13274. auditremark:
  13275. description: 审核备注
  13276. type: string
  13277. auditsrc:
  13278. description: 审核来源 - 1:管理端 2:终端
  13279. type: integer
  13280. audittime:
  13281. description: 审核时间
  13282. type: string
  13283. audituserid:
  13284. description: 审核人
  13285. type: integer
  13286. broker:
  13287. description: 所属经纪人ID
  13288. type: integer
  13289. canceltime:
  13290. description: 销户时间
  13291. type: string
  13292. canceluserid:
  13293. description: 销户人
  13294. type: integer
  13295. canrecommend:
  13296. description: 是否可推荐 - 0:不可 1;可
  13297. type: integer
  13298. createtime:
  13299. description: 创建时间
  13300. type: string
  13301. creatorid:
  13302. description: 创建人
  13303. type: integer
  13304. hasauth:
  13305. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  13306. type: integer
  13307. isanonymous:
  13308. description: 是否匿名下单 - 0:否 1:是
  13309. type: integer
  13310. maxinvestornum:
  13311. description: 最大用户数(经纪会员下投资者个数)
  13312. type: integer
  13313. memberuserid:
  13314. description: 所属会员ID
  13315. type: integer
  13316. modifierid:
  13317. description: 修改人
  13318. type: integer
  13319. modifyremark:
  13320. description: 变更备注
  13321. type: string
  13322. modifystatus:
  13323. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  13324. type: integer
  13325. modifytime:
  13326. description: 修改时间
  13327. type: string
  13328. parenttopuser:
  13329. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  13330. type: string
  13331. parentuserid:
  13332. description: 所属机构ID
  13333. type: integer
  13334. reckonaccountid:
  13335. description: 默认结算资金账号ID(机构分润使用) 作废
  13336. type: integer
  13337. refercount:
  13338. description: 推荐总人数
  13339. type: integer
  13340. refereeuserid:
  13341. description: 推荐人ID
  13342. type: integer
  13343. refernum:
  13344. description: 推荐码
  13345. type: string
  13346. rootuserid:
  13347. description: 根用户ID
  13348. type: integer
  13349. subaccountlevel:
  13350. description: 子账户层数
  13351. type: integer
  13352. subarealevelpath:
  13353. description: 子机构层级路径(逗号分隔,首尾加逗号)
  13354. type: string
  13355. userid:
  13356. description: 用户ID
  13357. type: integer
  13358. usertype:
  13359. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  13360. type: integer
  13361. required:
  13362. - userid
  13363. type: object
  13364. models.Userfavoritegoods:
  13365. properties:
  13366. goodsid:
  13367. description: 商品ID
  13368. type: integer
  13369. required:
  13370. - goodsid
  13371. type: object
  13372. models.Userinfo:
  13373. properties:
  13374. address:
  13375. description: 地址
  13376. type: string
  13377. attachment1:
  13378. description: 附件1
  13379. type: string
  13380. attachment2:
  13381. description: 附件2
  13382. type: string
  13383. bankaccount:
  13384. description: 银行帐号 (加密存储)
  13385. type: string
  13386. bankaccountname:
  13387. description: 收款人名称
  13388. type: string
  13389. bankcardfrontphotourl:
  13390. description: 银行卡正面照地址
  13391. type: string
  13392. bankid:
  13393. description: 银行编码
  13394. type: string
  13395. bankname:
  13396. description: 银行名称
  13397. type: string
  13398. biznature:
  13399. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  13400. type: integer
  13401. bizscope:
  13402. description: 企业经营范围(企业)
  13403. type: string
  13404. cardbackphotourl:
  13405. description: 证件背面图片地址
  13406. type: string
  13407. cardfrontphotourl:
  13408. description: 证件正面图片地址
  13409. type: string
  13410. cardnum:
  13411. description: 证件号码(加密存储)
  13412. type: string
  13413. cardtypeid:
  13414. description: 证件类型ID
  13415. type: integer
  13416. cityid:
  13417. description: 市
  13418. type: integer
  13419. company:
  13420. description: 公司(个人)
  13421. type: string
  13422. contactname:
  13423. description: 联系人
  13424. type: string
  13425. countryid:
  13426. description: 国家
  13427. type: integer
  13428. createtime:
  13429. description: 创建时间
  13430. type: string
  13431. creatorid:
  13432. description: 创建人
  13433. type: integer
  13434. customername:
  13435. description: 客户名称(企业名称)
  13436. type: string
  13437. districtid:
  13438. description: 地区
  13439. type: integer
  13440. email:
  13441. description: 邮件(加密存储)
  13442. type: string
  13443. fax:
  13444. description: 传真(加密存储)
  13445. type: string
  13446. halfbodyphotourl:
  13447. description: 半身照地址
  13448. type: string
  13449. hasencrypt:
  13450. description: 数据是否已加密 - 0:未加密 1:已加密
  13451. type: integer
  13452. headurl:
  13453. description: 头像地址
  13454. type: string
  13455. legalcardbackphotourl:
  13456. description: 法人身份证背面照地址
  13457. type: string
  13458. legalcardfrontphotourl:
  13459. description: 法人身份证正面照地址
  13460. type: string
  13461. legalpersonname:
  13462. description: 法人姓名(企业)
  13463. type: string
  13464. mobile:
  13465. description: 手机号码(加密存储)
  13466. type: string
  13467. mobile2:
  13468. description: 手机号码[明文-尚志]
  13469. type: string
  13470. modifierid:
  13471. description: 修改人
  13472. type: integer
  13473. modifiertime:
  13474. description: 修改时间
  13475. type: string
  13476. needinvoice:
  13477. description: 是否需要发票 - 0:不需要 1:需要
  13478. type: integer
  13479. nickname:
  13480. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  13481. type: string
  13482. openmode:
  13483. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  13484. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  13485. type: integer
  13486. otherurl:
  13487. description: 其它图片地址[使用分号分隔]
  13488. type: string
  13489. postalcode:
  13490. description: 邮政编码
  13491. type: string
  13492. provinceid:
  13493. description: 省
  13494. type: integer
  13495. qq:
  13496. description: QQ(加密存储
  13497. type: string
  13498. remark:
  13499. description: 备注
  13500. type: string
  13501. sex:
  13502. description: '用户性别 0: 女 1: 男'
  13503. type: integer
  13504. signpdfurl:
  13505. description: 签约pdf文件
  13506. type: string
  13507. telphone:
  13508. description: 联系电话(加密存储)
  13509. type: string
  13510. userid:
  13511. description: 用户ID
  13512. type: integer
  13513. userinfotype:
  13514. description: 用户信息类型 - 1:个人 2:企业
  13515. type: integer
  13516. userstatus:
  13517. description: 用户状态 - 1:正常 2:注销
  13518. type: integer
  13519. usertype:
  13520. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  13521. type: integer
  13522. wechat:
  13523. description: 微信(加密存储)
  13524. type: string
  13525. wskhinfo:
  13526. description: 开户申请信息(JSON)
  13527. type: string
  13528. required:
  13529. - userid
  13530. type: object
  13531. models.WRSConverTDetail:
  13532. properties:
  13533. convertratio:
  13534. description: 套保系数
  13535. type: number
  13536. deliverygoodscode:
  13537. description: 现货商品代码
  13538. type: string
  13539. deliverygoodsid:
  13540. description: 现货品种ID
  13541. type: integer
  13542. deliverygoodsname:
  13543. description: 现货商品名称
  13544. type: string
  13545. enumdicname:
  13546. description: 单位名称
  13547. type: string
  13548. goodsunitid:
  13549. description: 套保品种单位id
  13550. type: integer
  13551. middlegoodscode:
  13552. description: 套保品种代码
  13553. type: string
  13554. middlegoodsid:
  13555. description: 套保品种ID
  13556. type: integer
  13557. middlegoodsname:
  13558. description: 套保品种名称
  13559. type: string
  13560. modifytime:
  13561. description: 修改时间
  13562. type: string
  13563. wrstandardid:
  13564. description: 品类ID
  13565. type: integer
  13566. type: object
  13567. models.WRStandardInfo:
  13568. properties:
  13569. areauserid:
  13570. description: 所属机构
  13571. type: integer
  13572. convertfactor:
  13573. description: 标仓系数
  13574. type: number
  13575. createtime:
  13576. description: 创建时间
  13577. type: string
  13578. creatorid:
  13579. description: 创建人
  13580. type: integer
  13581. deliverygoodsid:
  13582. description: 品种ID
  13583. type: integer
  13584. deliverygoodsname:
  13585. description: 交割商品名称
  13586. type: string
  13587. factoryitemjson:
  13588. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  13589. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  13590. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  13591. 逗号分隔'
  13592. type: string
  13593. isvalid:
  13594. description: 是否有效 - 0:无效 1:有效
  13595. type: integer
  13596. minivalue:
  13597. description: 最小变动值
  13598. type: integer
  13599. minivaluedp:
  13600. description: 最小变动值小数位
  13601. type: integer
  13602. realminivalue:
  13603. description: 实际最小变动值
  13604. type: integer
  13605. realminivaluedp:
  13606. description: 实际最小变动值小数位
  13607. type: integer
  13608. remark:
  13609. description: 备注
  13610. type: string
  13611. unitid:
  13612. description: 单位ID
  13613. type: integer
  13614. unitname:
  13615. description: 单位
  13616. type: string
  13617. updatetime:
  13618. description: 更新时间
  13619. type: string
  13620. updatorid:
  13621. description: 更新人
  13622. type: integer
  13623. wrsstatus:
  13624. description: 状态 - 作废 - 0:未激活 1:正常
  13625. type: integer
  13626. wrstandardcode:
  13627. description: 现货品类代码
  13628. type: string
  13629. wrstandardid:
  13630. description: 现货品类ID(SEQ_WRSTANDARD)
  13631. type: integer
  13632. wrstandardname:
  13633. description: 现货品类名称
  13634. type: string
  13635. required:
  13636. - wrstandardid
  13637. type: object
  13638. models.WRTradeBargainApply:
  13639. properties:
  13640. accountid:
  13641. description: 摘牌资金账号
  13642. type: integer
  13643. applyprice:
  13644. description: 申请价格(议价价格)
  13645. type: string
  13646. applyqty:
  13647. description: 摘牌数量(议价数量)
  13648. type: number
  13649. applyremark:
  13650. description: 申请备注
  13651. type: string
  13652. applystatus:
  13653. description: 申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  13654. type: integer
  13655. applytime:
  13656. description: 申请时间(议价时间)
  13657. type: string
  13658. begindate:
  13659. description: 开始交易日(yyyymmdd)
  13660. type: string
  13661. buyorsell:
  13662. description: 买卖(挂牌类型) - 0:买 1:卖
  13663. type: integer
  13664. confirmremark:
  13665. description: 确认备注
  13666. type: string
  13667. confirmtime:
  13668. description: 确认时间
  13669. type: string
  13670. confirmuserid:
  13671. description: 确认人
  13672. type: integer
  13673. deliverygoodscode:
  13674. description: 品种代码
  13675. type: string
  13676. deliverygoodsid:
  13677. description: 品种ID
  13678. type: integer
  13679. deliverygoodsname:
  13680. description: 品种名称
  13681. type: string
  13682. deliverymonth:
  13683. description: 交收月
  13684. type: string
  13685. enddate:
  13686. description: 结束交易日(yyyymmdd)
  13687. type: string
  13688. enumdicname:
  13689. description: 单位名称
  13690. type: string
  13691. fixedprice:
  13692. description: 期初均价
  13693. type: number
  13694. handlestatus:
  13695. description: 处理状态
  13696. type: integer
  13697. marginvalue:
  13698. description: 期初均价
  13699. type: number
  13700. marketid:
  13701. description: 市场ID
  13702. type: integer
  13703. matchaccountid:
  13704. description: 挂牌方资金账号
  13705. type: integer
  13706. matchuserid:
  13707. description: 挂牌方用户id
  13708. type: integer
  13709. matchusername:
  13710. description: 挂牌方用户名称(已脱敏)
  13711. type: string
  13712. minivalue:
  13713. description: 现货商品最小变动值
  13714. type: integer
  13715. optioncompare:
  13716. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  13717. type: string
  13718. orderqty:
  13719. description: 挂牌数量
  13720. type: integer
  13721. refprice:
  13722. description: 参考价格
  13723. type: string
  13724. retcode:
  13725. description: 委托返回代码
  13726. type: integer
  13727. templatename:
  13728. description: 履约方式(履约模板名称)
  13729. type: string
  13730. tradedate:
  13731. description: 交易日(yyyyMMdd)
  13732. type: string
  13733. userid:
  13734. description: 摘牌人用户ID(议价人ID)
  13735. type: integer
  13736. username:
  13737. description: 议价人名字(已脱敏)
  13738. type: string
  13739. validtime:
  13740. description: 有效期限
  13741. type: string
  13742. warehouseid:
  13743. description: 仓库ID
  13744. type: integer
  13745. warehousename:
  13746. description: 仓库名称
  13747. type: string
  13748. wrbargainid:
  13749. description: 议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)
  13750. type: string
  13751. wrfactortypeid:
  13752. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  13753. type: string
  13754. wrfactortypename:
  13755. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  13756. type: string
  13757. wrstandardcode:
  13758. description: 现货商品代码
  13759. type: string
  13760. wrstandardid:
  13761. description: 现货商品ID
  13762. type: integer
  13763. wrstandardname:
  13764. description: 商品名称
  13765. type: string
  13766. wrtradeorderid:
  13767. description: 关联委托单ID
  13768. type: string
  13769. wrtypename:
  13770. description: 商品
  13771. type: string
  13772. type: object
  13773. models.Warehouseinfo:
  13774. properties:
  13775. address:
  13776. description: 详细地址
  13777. type: string
  13778. areauserid:
  13779. description: 所属机构
  13780. type: integer
  13781. autoid:
  13782. description: 自增ID
  13783. type: integer
  13784. cityid:
  13785. description: 市
  13786. type: integer
  13787. contactname:
  13788. description: 联系人
  13789. type: string
  13790. contactnum:
  13791. description: 联系电话
  13792. type: string
  13793. countryid:
  13794. description: 国家
  13795. type: integer
  13796. createtime:
  13797. description: 创建时间
  13798. type: string
  13799. districtid:
  13800. description: 区
  13801. type: integer
  13802. hasvideo:
  13803. description: 是否有视频 - 0:无 1:有
  13804. type: integer
  13805. provinceid:
  13806. description: 省
  13807. type: integer
  13808. remark:
  13809. description: 审核备注
  13810. type: string
  13811. videourl:
  13812. description: 视频地址
  13813. type: string
  13814. warehousecode:
  13815. description: 仓库代码
  13816. type: string
  13817. warehousename:
  13818. description: 仓库名称
  13819. type: string
  13820. warehousestatus:
  13821. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  13822. type: integer
  13823. warehousetype:
  13824. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  13825. type: integer
  13826. required:
  13827. - autoid
  13828. - warehousecode
  13829. type: object
  13830. models.WrAverageTradePrice:
  13831. properties:
  13832. averageprice:
  13833. description: 期初均价
  13834. type: number
  13835. tradedate:
  13836. description: 交易日yyyymm
  13837. type: string
  13838. type: object
  13839. models.WrBrandAndYears:
  13840. properties:
  13841. brandlst:
  13842. description: 品牌列表
  13843. items:
  13844. $ref: '#/definitions/models.DgFactoryItem'
  13845. type: array
  13846. yearslst:
  13847. description: 年份列表
  13848. items:
  13849. $ref: '#/definitions/models.DgFactoryItem'
  13850. type: array
  13851. type: object
  13852. models.WrBsGoodsInfo:
  13853. properties:
  13854. buyorsell:
  13855. description: 买卖方向 0-买 1-卖
  13856. type: integer
  13857. goodsid:
  13858. description: 交易合约ID
  13859. type: integer
  13860. lstitem:
  13861. description: 商品信息项
  13862. items:
  13863. $ref: '#/definitions/models.WrTypeItem'
  13864. type: array
  13865. lststep:
  13866. description: 履约规则
  13867. items:
  13868. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  13869. type: array
  13870. type: object
  13871. models.WrBuybackDetail:
  13872. properties:
  13873. buybackamount:
  13874. description: 回购金额
  13875. type: number
  13876. buybackqty:
  13877. description: 回购数量
  13878. type: number
  13879. buybackreleasemargin:
  13880. description: 回购释放保证金
  13881. type: number
  13882. buybacktime:
  13883. description: 回购时间
  13884. type: string
  13885. errordesc:
  13886. description: 错误描述
  13887. type: string
  13888. handlestatus:
  13889. description: 处理 - 1:待处理 2:处理成功 3:处理失败
  13890. type: integer
  13891. relatedwrid:
  13892. description: 关联仓单ID
  13893. type: integer
  13894. scfcontractid:
  13895. description: SCF合同ID
  13896. type: string
  13897. scfwrbuybackid:
  13898. description: SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)
  13899. type: integer
  13900. tradedate:
  13901. description: 交易日(yyyyMMdd)
  13902. type: string
  13903. type: object
  13904. models.WrClientAdSpaceConfig:
  13905. properties:
  13906. adspaceid:
  13907. description: 广告位ID
  13908. type: integer
  13909. adspacename:
  13910. description: 广告位名称
  13911. type: string
  13912. adspacetype:
  13913. description: 广告位类型 - 1:固定广告位
  13914. type: integer
  13915. areauserid:
  13916. description: 所属机构ID
  13917. type: integer
  13918. createdate:
  13919. description: 创建时间
  13920. type: string
  13921. imagepath:
  13922. description: 图片
  13923. type: string
  13924. modifierid:
  13925. description: 操作人
  13926. type: integer
  13927. recsize:
  13928. description: 推荐尺寸
  13929. type: string
  13930. title:
  13931. description: 标题
  13932. type: string
  13933. updatedate:
  13934. description: 更新时间
  13935. type: string
  13936. urlcontent:
  13937. description: 链接(地址\商品ID\功能菜单Key\appid)
  13938. type: string
  13939. urltype:
  13940. description: 链接类型 - 0:无 1:直接地址 2:商品ID 3:图片详情 4:App功能 5:微信小程序
  13941. type: integer
  13942. type: object
  13943. models.WrDeliveryAvalidHoldLB:
  13944. properties:
  13945. accountid:
  13946. description: 资金账号
  13947. type: integer
  13948. avalidqty:
  13949. description: 数量(可点选数量)
  13950. type: number
  13951. deliverygoodsid:
  13952. description: 品种id
  13953. type: integer
  13954. enumdicname:
  13955. description: 单位名称
  13956. type: string
  13957. goodsid:
  13958. description: x合约商品id
  13959. type: integer
  13960. ladingbillid:
  13961. description: 提单id
  13962. type: string
  13963. pgoodscode:
  13964. description: p商品代码(点价合约)
  13965. type: string
  13966. pgoodsid:
  13967. description: p商品id(点价合约)
  13968. type: integer
  13969. pgoodsname:
  13970. description: p商品名称(点价合约)
  13971. type: string
  13972. pricemove:
  13973. description: 升贴水
  13974. type: number
  13975. subnum:
  13976. description: 提单子id
  13977. type: integer
  13978. userid:
  13979. description: 用户id
  13980. type: integer
  13981. username:
  13982. description: 仓单持有人
  13983. type: string
  13984. warehousecode:
  13985. description: 仓库代码
  13986. type: string
  13987. warehouseid:
  13988. description: 仓库id
  13989. type: integer
  13990. warehousename:
  13991. description: 仓库名称
  13992. type: string
  13993. wrfactortypeid:
  13994. description: 仓单要素id
  13995. type: string
  13996. wrstandardcode:
  13997. description: 品代码
  13998. type: string
  13999. wrstandardid:
  14000. description: 品类d
  14001. type: integer
  14002. wrstandardname:
  14003. description: 品类名称
  14004. type: string
  14005. wrtypename:
  14006. description: 商品
  14007. type: string
  14008. xgoodscode:
  14009. description: x合约代码
  14010. type: string
  14011. xgoodsname:
  14012. description: x合约名称
  14013. type: string
  14014. type: object
  14015. models.WrDeliveryDetail:
  14016. properties:
  14017. accountid:
  14018. description: 账号ID
  14019. type: integer
  14020. averageprice:
  14021. description: 期初均价
  14022. type: number
  14023. begindate:
  14024. description: 开始交易日(yyyymmdd)
  14025. type: string
  14026. buyorsell:
  14027. description: 方向 - 0:买 1:卖
  14028. type: integer
  14029. deliveryamount:
  14030. description: 货款金额(X总货款+P总货款)
  14031. type: number
  14032. deliveryid:
  14033. description: 交割单号(121+Unix秒时间戳(10位)+xxxxxx)
  14034. type: string
  14035. deliveryorderid:
  14036. description: 申报单号
  14037. type: string
  14038. deliverypricemove:
  14039. description: 升贴水(升贴水总额)
  14040. type: number
  14041. deliveryqty:
  14042. description: 交收数量(点选数量)
  14043. type: number
  14044. deliverystatus:
  14045. description: 状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成
  14046. type: integer
  14047. deliverytime:
  14048. description: 交割时间
  14049. type: string
  14050. deliverytotalamount:
  14051. description: 交收金额
  14052. type: number
  14053. enddate:
  14054. description: 结束交易日(yyyymmdd)
  14055. type: string
  14056. enumdicname:
  14057. description: 单位名称
  14058. type: string
  14059. matchaccountid:
  14060. description: 对手账号ID
  14061. type: integer
  14062. matchusername:
  14063. description: 对手方名称(仓单持有人)
  14064. type: string
  14065. p1goodsremainamount:
  14066. description: 点价货款 ps:当PPRICEMODE=2时, 界面需显示"-"
  14067. type: number
  14068. pdeliverycloseqty:
  14069. description: p合约平仓数量
  14070. type: number
  14071. pdeliveryprice:
  14072. description: 点价价格 ps:当PPRICEMODE=2时, 界面需显示"-"
  14073. type: number
  14074. pgoodscode:
  14075. description: 商品代码
  14076. type: string
  14077. pgoodsid:
  14078. description: p点选合约id
  14079. type: integer
  14080. pgoodsname:
  14081. description: 商品名称
  14082. type: string
  14083. ppricemode:
  14084. description: 点价价格方式 - 1:商品价 2:固定值
  14085. type: integer
  14086. tradedate:
  14087. description: 交易日(yyyymmdd)
  14088. type: string
  14089. userid:
  14090. description: 用户id
  14091. type: integer
  14092. username:
  14093. description: 用户名称
  14094. type: string
  14095. warehousename:
  14096. description: 仓库名称
  14097. type: string
  14098. wrfactortypeid:
  14099. description: 仓单要素类型ID
  14100. type: string
  14101. wrtypename:
  14102. description: 商品
  14103. type: string
  14104. xdeliverycloseqty:
  14105. description: 合约数量
  14106. type: number
  14107. xgoodsamount:
  14108. description: 期初均价
  14109. type: number
  14110. xgoodscode:
  14111. description: 商品代码
  14112. type: string
  14113. xgoodsid:
  14114. description: x交易合约ID
  14115. type: integer
  14116. xgoodsname:
  14117. description: 商品名称
  14118. type: string
  14119. type: object
  14120. models.WrDeliveryGoodsSection:
  14121. properties:
  14122. dglst:
  14123. description: 板块商品列表
  14124. items:
  14125. $ref: '#/definitions/models.WrDeliveryGoodsSectionConfig'
  14126. type: array
  14127. imagepath:
  14128. description: 图片地址
  14129. type: string
  14130. orderindex:
  14131. description: 排序
  14132. type: integer
  14133. sectionid:
  14134. description: 版块ID (SEQ_DELIVERYGOODSSECTION) - 自增100开始, 前面ID预留给SectionType
  14135. = 1的版块1 - 云融指数
  14136. type: integer
  14137. sectionname:
  14138. description: 版块名称
  14139. type: string
  14140. sectiontype:
  14141. description: 版块类型 - 1:指数版块 2:普通版块
  14142. type: integer
  14143. type: object
  14144. models.WrDeliveryGoodsSectionConfig:
  14145. properties:
  14146. deliverygoodscode:
  14147. description: 现货商品代码
  14148. type: string
  14149. deliverygoodsid:
  14150. description: 现货品种ID(SEQ_DELIVERYGOODS)
  14151. type: integer
  14152. deliverygoodsname:
  14153. description: 现货商品名称
  14154. type: string
  14155. orderindex:
  14156. description: 排序
  14157. type: integer
  14158. type: object
  14159. models.WrDraftUserInfo:
  14160. properties:
  14161. address:
  14162. description: 地址
  14163. type: string
  14164. attachment1:
  14165. description: 附件1
  14166. type: string
  14167. attachment2:
  14168. description: 附件2
  14169. type: string
  14170. attachment3:
  14171. description: 附件3
  14172. type: string
  14173. attachment4:
  14174. description: 附件4
  14175. type: string
  14176. attachment5:
  14177. description: 附件5
  14178. type: string
  14179. bankaccount:
  14180. description: 银行帐号 (加密存储)
  14181. type: string
  14182. bankaccountname:
  14183. description: 收款人名称
  14184. type: string
  14185. bankcardfrontphotourl:
  14186. description: 银行卡正面照地址
  14187. type: string
  14188. bankid:
  14189. description: 银行编码
  14190. type: string
  14191. bankname:
  14192. description: 银行名称
  14193. type: string
  14194. birthday:
  14195. description: 生日(个人:年月日)
  14196. type: string
  14197. biznature:
  14198. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  14199. type: integer
  14200. bizscope:
  14201. description: 企业经营范围(企业)
  14202. type: string
  14203. biztype:
  14204. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  14205. type: integer
  14206. cardbackphotourl:
  14207. description: 证件背面图片地址
  14208. type: string
  14209. cardfrontphotourl:
  14210. description: 证件正面图片地址
  14211. type: string
  14212. cardnum:
  14213. description: 证件号码(加密存储)
  14214. type: string
  14215. cardtypeid:
  14216. description: 证件类型ID
  14217. type: integer
  14218. cityid:
  14219. description: 市
  14220. type: integer
  14221. company:
  14222. description: 公司(个人)
  14223. type: string
  14224. contactcardbackphotourl:
  14225. description: 联系人证件背面图片地址
  14226. type: string
  14227. contactcardfrontphotourl:
  14228. description: 联系人证件正面图片地址
  14229. type: string
  14230. contactname:
  14231. description: 联系人
  14232. type: string
  14233. countryid:
  14234. description: 国家
  14235. type: integer
  14236. createtime:
  14237. description: 创建时间
  14238. type: string
  14239. creatorid:
  14240. description: 创建人
  14241. type: integer
  14242. creditquota:
  14243. description: 授信额度(金瑞)
  14244. type: number
  14245. customername:
  14246. description: 客户名称(企业名称)
  14247. type: string
  14248. districtid:
  14249. description: 地区
  14250. type: integer
  14251. email:
  14252. description: 邮件(加密存储)
  14253. type: string
  14254. fax:
  14255. description: 传真(加密存储)
  14256. type: string
  14257. halfbodyphotourl:
  14258. description: 半身照地址
  14259. type: string
  14260. hasencrypt:
  14261. description: 数据是否已加密 - 0:未加密 1:已加密
  14262. type: integer
  14263. headurl:
  14264. description: 头像地址
  14265. type: string
  14266. legalcardbackphotourl:
  14267. description: 法人身份证背面照地址
  14268. type: string
  14269. legalcardfrontphotourl:
  14270. description: 法人身份证正面照地址
  14271. type: string
  14272. legalpersonname:
  14273. description: 法人姓名(企业)
  14274. type: string
  14275. mobile:
  14276. description: 手机号码(加密存储)
  14277. type: string
  14278. mobile2:
  14279. description: 手机号码[明文-尚志]
  14280. type: string
  14281. modifierid:
  14282. description: 修改人
  14283. type: integer
  14284. modifiertime:
  14285. description: 修改时间
  14286. type: string
  14287. needinvoice:
  14288. description: 是否需要发票 - 0:不需要 1:需要
  14289. type: integer
  14290. nickname:
  14291. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  14292. type: string
  14293. openmode:
  14294. description: "开户方式 - 1:管理端开户 2\t:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  14295. 6:苹果手机端注册 7:PC交易端注册"
  14296. type: integer
  14297. otherurl:
  14298. description: 其它图片地址[使用分号分隔]
  14299. type: string
  14300. postalcode:
  14301. description: 邮政编码
  14302. type: string
  14303. provinceid:
  14304. description: 省
  14305. type: integer
  14306. proxystatementurl:
  14307. description: 授权委托书
  14308. type: string
  14309. qq:
  14310. description: QQ(加密存储
  14311. type: string
  14312. remark:
  14313. description: 备注
  14314. type: string
  14315. sex:
  14316. description: '用户性别 0: 女 1: 男'
  14317. type: integer
  14318. signpdfurl:
  14319. description: 签约pdf文件
  14320. type: string
  14321. taxpayernum:
  14322. description: 纳税人识别号
  14323. type: string
  14324. telphone:
  14325. description: 联系电话(加密存储)
  14326. type: string
  14327. userid:
  14328. description: 用户ID
  14329. type: integer
  14330. userinfotype:
  14331. description: 用户信息类型 - 1:个人 2:企业
  14332. type: integer
  14333. userstatus:
  14334. description: 用户状态 - 1:正常 2:注销
  14335. type: integer
  14336. usertype:
  14337. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者
  14338. type: integer
  14339. wechat:
  14340. description: 微信(加密存储)
  14341. type: string
  14342. wskhinfo:
  14343. description: 开户申请信息(JSON)
  14344. type: string
  14345. type: object
  14346. models.WrFAProductDetail:
  14347. properties:
  14348. accountid:
  14349. description: 资金账号
  14350. type: integer
  14351. areauserid:
  14352. description: 金融机构ID
  14353. type: integer
  14354. financingdays:
  14355. description: 天数(天)
  14356. type: integer
  14357. interestminlen:
  14358. description: 最小起息天数
  14359. type: integer
  14360. interestrate:
  14361. description: 利率
  14362. type: number
  14363. interestratemode:
  14364. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  14365. type: integer
  14366. interestsettlemode:
  14367. description: 结息方式 - 1:按日结息 3:按月结息
  14368. type: integer
  14369. interestsettlevalue:
  14370. description: 结息方式值
  14371. type: integer
  14372. isautoloan:
  14373. description: 是否自动放款 0-手动 1-自动 (当为自动放款时,显示"放款快")
  14374. type: integer
  14375. loantag:
  14376. description: '放款标识: "放款快" 或者为空'
  14377. type: string
  14378. marginratio:
  14379. description: 保证金比率质押率 - [仓单质押]
  14380. type: number
  14381. productdetailid:
  14382. description: 产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)
  14383. type: integer
  14384. productid:
  14385. description: 金融产品ID
  14386. type: integer
  14387. productname:
  14388. description: 产品名称
  14389. type: string
  14390. updatetime:
  14391. description: 更新时间
  14392. type: string
  14393. username:
  14394. description: 融出方
  14395. type: string
  14396. type: object
  14397. models.WrFactorTypeInfo:
  14398. properties:
  14399. deliverygoodscode:
  14400. description: 品种代码
  14401. type: string
  14402. deliverygoodsname:
  14403. description: 品种名称
  14404. type: string
  14405. dgfactoryitemid:
  14406. description: 选择项id
  14407. type: integer
  14408. dgfactoryitemtypeid:
  14409. description: 要素选择项ID (1-仓库 2-品牌)
  14410. type: integer
  14411. dgfactoryitemvalue:
  14412. description: 要素项值
  14413. type: string
  14414. itemtypename:
  14415. description: 要素项名称
  14416. type: string
  14417. optioncompare:
  14418. description: 选择比较串
  14419. type: string
  14420. warehouseid:
  14421. description: 仓库id
  14422. type: integer
  14423. wrfactortypeid:
  14424. description: 仓单要素ID
  14425. type: string
  14426. wrfactortypename:
  14427. description: 要素名称
  14428. type: string
  14429. wrfactortypename2:
  14430. description: 要素名称(不含仓库)
  14431. type: string
  14432. wrstandardcode:
  14433. description: 品类代码
  14434. type: string
  14435. wrstandardid:
  14436. description: 品类id
  14437. type: integer
  14438. wrstandardname:
  14439. description: 品类名称
  14440. type: string
  14441. type: object
  14442. models.WrFilterItem:
  14443. properties:
  14444. itemcode:
  14445. description: 代码
  14446. type: string
  14447. itemid:
  14448. description: 项id
  14449. type: integer
  14450. itemname:
  14451. description: 名称
  14452. type: string
  14453. itemtype:
  14454. description: 类型 1-品种 2-品类(商品) 3-仓库
  14455. type: integer
  14456. type: object
  14457. models.WrFinanceBuyApply:
  14458. properties:
  14459. applydate:
  14460. description: 申请时间
  14461. type: string
  14462. applystatus:
  14463. description: 申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败
  14464. type: integer
  14465. applyuserid:
  14466. description: 申请人
  14467. type: integer
  14468. auditdate:
  14469. description: 审核时间
  14470. type: string
  14471. auditremark:
  14472. description: 审核备注
  14473. type: string
  14474. audituserid:
  14475. description: 审核人
  14476. type: integer
  14477. buyaccountid:
  14478. description: 买方资金账号
  14479. type: integer
  14480. buyorsell:
  14481. description: 买卖 - 0:买 1:卖
  14482. type: integer
  14483. buyuserid:
  14484. description: 买方用户ID
  14485. type: integer
  14486. buyusername:
  14487. description: 买方名称
  14488. type: string
  14489. buywrtradeorderid:
  14490. description: 融资方买委托单ID
  14491. type: string
  14492. deliverygoodscode:
  14493. description: 品种代码
  14494. type: string
  14495. deliverygoodsid:
  14496. description: 品种ID
  14497. type: integer
  14498. deliverygoodsname:
  14499. description: 品种名称
  14500. type: string
  14501. deliverymonth:
  14502. description: 交收月(yyyy-MM) [无仓单HasWR =0]
  14503. type: string
  14504. enumdicname:
  14505. description: 单位名称
  14506. type: string
  14507. financeaccountid:
  14508. description: 融资方资金帐户ID
  14509. type: integer
  14510. financeapplyid:
  14511. description: 融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)
  14512. type: string
  14513. financeareauserid:
  14514. description: 融资方用户ID
  14515. type: string
  14516. financename:
  14517. description: 融出方名称
  14518. type: string
  14519. financetype:
  14520. description: 融资类型 1-融资回购
  14521. type: integer
  14522. financingdays:
  14523. description: 天数(天)
  14524. type: integer
  14525. freezebuymargin:
  14526. description: 冻结融资保证金(买方)
  14527. type: number
  14528. handleremark:
  14529. description: 处理备注
  14530. type: string
  14531. handlestatus:
  14532. description: 处理状态
  14533. type: integer
  14534. interestminlen:
  14535. description: 最小起息天数
  14536. type: integer
  14537. interestrate:
  14538. description: 利率
  14539. type: number
  14540. interestratemode:
  14541. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  14542. type: integer
  14543. interestsettlemode:
  14544. description: 结息方式 - 1:按日结息 3:按月结息
  14545. type: integer
  14546. interestsettlevalue:
  14547. description: 结息方式值
  14548. type: integer
  14549. isautoloan:
  14550. description: 是否自动放款 - 0:手动 1:自动
  14551. type: integer
  14552. marginratio:
  14553. description: 保证金比率质押率 - [仓单质押]
  14554. type: number
  14555. marketid:
  14556. description: 市场ID
  14557. type: integer
  14558. minivalue:
  14559. description: 现货商品最小变动值
  14560. type: integer
  14561. optioncompare:
  14562. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14563. type: string
  14564. orderqty:
  14565. description: 委托数量(商品数量)
  14566. type: number
  14567. productdetailid:
  14568. description: 产品组合ID
  14569. type: integer
  14570. productid:
  14571. description: 金融产品ID
  14572. type: integer
  14573. productname:
  14574. description: 产品名称
  14575. type: string
  14576. remark:
  14577. description: 备注
  14578. type: string
  14579. scfcontractid:
  14580. description: 仓单回购合同ID
  14581. type: string
  14582. sellaccountid:
  14583. description: 卖方资金账号
  14584. type: integer
  14585. selluserid:
  14586. description: 卖方用户ID
  14587. type: integer
  14588. sellwrtradeorderid:
  14589. description: 卖方委托单ID
  14590. type: string
  14591. tradeamount:
  14592. description: 成交金额(借款金额)
  14593. type: number
  14594. tradedate:
  14595. description: 交易日(yyyyMMdd)
  14596. type: string
  14597. tradeprice:
  14598. description: 成交价格
  14599. type: number
  14600. warehouseid:
  14601. description: 仓库ID
  14602. type: integer
  14603. warehousename:
  14604. description: 仓库名称
  14605. type: string
  14606. wrfactortypeid:
  14607. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  14608. type: string
  14609. wrfactortypename:
  14610. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14611. type: string
  14612. wrpricetype:
  14613. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌单]
  14614. type: integer
  14615. wrstandardcode:
  14616. description: 现货商品代码
  14617. type: string
  14618. wrstandardid:
  14619. description: 现货商品ID
  14620. type: integer
  14621. wrstandardname:
  14622. description: 商品名称
  14623. type: string
  14624. wrtypename:
  14625. description: 商品
  14626. type: string
  14627. type: object
  14628. models.WrFriendApply:
  14629. properties:
  14630. applicantid:
  14631. description: 申请人
  14632. type: integer
  14633. applyname:
  14634. description: 申请人名称
  14635. type: string
  14636. applysrc:
  14637. description: 申请来源 - 1:管理端 2:终端
  14638. type: integer
  14639. applystatus:
  14640. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  14641. type: integer
  14642. applytime:
  14643. description: 申请时间
  14644. type: string
  14645. auditname:
  14646. description: 审核人名称
  14647. type: string
  14648. auditorid:
  14649. description: 审核人
  14650. type: integer
  14651. auditremark:
  14652. description: 审核备注
  14653. type: string
  14654. auditsrc:
  14655. description: 审核来源 - 1:管理端 2:终端
  14656. type: integer
  14657. audittime:
  14658. description: 审核时间
  14659. type: string
  14660. friendapplyid:
  14661. description: 申请ID(SEQ_FRIENDAPPLY)
  14662. type: string
  14663. friendname:
  14664. description: 好友名字(已脱敏)
  14665. type: string
  14666. frienduserid:
  14667. description: 好友用户ID
  14668. type: string
  14669. remark:
  14670. description: 备注
  14671. type: string
  14672. userid:
  14673. description: 申请人用户ID
  14674. type: integer
  14675. type: object
  14676. models.WrFtDeliveryGoods:
  14677. properties:
  14678. deliverygoodscode:
  14679. description: 品种代码
  14680. type: string
  14681. deliverygoodsid:
  14682. description: 品种ID
  14683. type: integer
  14684. deliverygoodsname:
  14685. description: 品种名称
  14686. type: string
  14687. wdlst:
  14688. description: 商品列表
  14689. items:
  14690. $ref: '#/definitions/models.WrFtWrstandard'
  14691. type: array
  14692. type: object
  14693. models.WrFtWrstandard:
  14694. properties:
  14695. enumdicname:
  14696. description: 单位名称
  14697. type: string
  14698. minivalue:
  14699. description: 最小变动值
  14700. type: integer
  14701. wrstandardcode:
  14702. description: 现货商品代码
  14703. type: string
  14704. wrstandardid:
  14705. description: 现货商品ID
  14706. type: integer
  14707. wrstandardname:
  14708. description: 商品名称
  14709. type: string
  14710. type: object
  14711. models.WrGoodsInfo:
  14712. properties:
  14713. haswr:
  14714. description: 0:仓单预售 1:仓单贸易
  14715. type: integer
  14716. lstitem:
  14717. description: 商品信息项
  14718. items:
  14719. $ref: '#/definitions/models.WrTypeItem'
  14720. type: array
  14721. lststep:
  14722. description: 履约规则
  14723. items:
  14724. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  14725. type: array
  14726. marketid:
  14727. description: 市场id
  14728. type: integer
  14729. type: object
  14730. models.WrGoodsPerformanceStep:
  14731. properties:
  14732. autoid:
  14733. description: AutoID
  14734. type: integer
  14735. isauto:
  14736. description: 是否自动 - 0:不自动 1:自动
  14737. type: integer
  14738. remark:
  14739. description: 备注
  14740. type: string
  14741. stepdate:
  14742. description: 天数信息(T+N)
  14743. type: string
  14744. stepdays:
  14745. description: 距离上一步天数
  14746. type: integer
  14747. stepindex:
  14748. description: 步骤序号
  14749. type: integer
  14750. stepinfo:
  14751. description: 步骤信息(步骤名称+步骤值)
  14752. type: string
  14753. steptypeid:
  14754. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  14755. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  14756. type: integer
  14757. steptypename:
  14758. description: 步骤名称
  14759. type: string
  14760. stepvalue:
  14761. description: 期初均价
  14762. type: number
  14763. templateid:
  14764. description: 履约计划模板ID
  14765. type: integer
  14766. type: object
  14767. models.WrHoldLB:
  14768. properties:
  14769. accountid:
  14770. description: 持有人帐户ID
  14771. type: integer
  14772. bannerpicurl:
  14773. description: Banner图
  14774. type: string
  14775. createtime:
  14776. description: 创建时间(过户时间)
  14777. type: string
  14778. deliverygoodscode:
  14779. description: 品种代码
  14780. type: string
  14781. deliverygoodsid:
  14782. description: 品种ID
  14783. type: integer
  14784. deliverygoodsname:
  14785. description: 品种名称
  14786. type: string
  14787. enableqty:
  14788. description: 可用数量
  14789. type: number
  14790. enumdicname:
  14791. description: 单位名称
  14792. type: string
  14793. freezerqty:
  14794. description: 冻结数量
  14795. type: number
  14796. ladingbillid:
  14797. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  14798. type: string
  14799. minivalue:
  14800. description: 现货商品最小变动值
  14801. type: integer
  14802. optioncompare:
  14803. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14804. type: string
  14805. parentsubnum:
  14806. description: 拆分父子单号
  14807. type: integer
  14808. pledgeqty:
  14809. description: 质押数量
  14810. type: number
  14811. qty:
  14812. description: 数量
  14813. type: number
  14814. subnum:
  14815. description: 提单子单号
  14816. type: integer
  14817. thumurls:
  14818. description: 缩略图
  14819. type: string
  14820. tradedate:
  14821. description: 交易日(yyyyMMdd)
  14822. type: string
  14823. userid:
  14824. description: 持有人ID
  14825. type: integer
  14826. warehouseid:
  14827. description: 仓库ID
  14828. type: integer
  14829. warehousename:
  14830. description: 仓库名称
  14831. type: string
  14832. wrfactortypeid:
  14833. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  14834. type: string
  14835. wrfactortypename:
  14836. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14837. type: string
  14838. wrholdeno:
  14839. description: 仓单编号
  14840. type: string
  14841. wrid:
  14842. description: 仓单变更ID
  14843. type: string
  14844. wrstandardcode:
  14845. description: 现货商品代码
  14846. type: string
  14847. wrstandardid:
  14848. description: 现货商品ID
  14849. type: integer
  14850. wrstandardname:
  14851. description: 商品名称
  14852. type: string
  14853. wrtypename:
  14854. description: 商品
  14855. type: string
  14856. type: object
  14857. models.WrMarketTradeConfig:
  14858. properties:
  14859. basisdownratio:
  14860. description: 浮动价基差下限比例(仓单贸易)
  14861. type: number
  14862. basisupratio:
  14863. description: 浮动价基差上限比例(仓单贸易)
  14864. type: number
  14865. buychargealgorithm:
  14866. description: 买方手续费收取方式 1:比率 2:固定
  14867. type: integer
  14868. buychargealgorithm2:
  14869. description: 回购买方手续费收取方式 1:比率 2:固定 --77:现货商城
  14870. type: integer
  14871. buychargealgorithmvalue:
  14872. description: 买方手续费设置值(交易所部分)
  14873. type: number
  14874. buychargealgorithmvalue2:
  14875. description: 买方手续费设置值(会员部分)
  14876. type: number
  14877. buychargealgorithmvalue3:
  14878. description: 回购买方手续费设置值(交易所部分) --77:现货商城
  14879. type: number
  14880. buychargealgorithmvalue4:
  14881. description: 回购买方手续费设置值(会员部分) --77:现货商城
  14882. type: number
  14883. buyfirstmarginalgorithm:
  14884. description: 买方出价保证金方式 - 1:比率 2:固定 - [竞拍]
  14885. type: integer
  14886. buyfirstmarginvalue:
  14887. description: 买方出价保证金设置值 - [竞拍]
  14888. type: number
  14889. buymarginalgorithm:
  14890. description: 买方保证金方式 - 1:比率 2:固定
  14891. type: integer
  14892. buymarginvalue:
  14893. description: 买方保证金设置值
  14894. type: number
  14895. buyreleaseratio:
  14896. description: 买方释放比率[2:分步履约]
  14897. type: number
  14898. executemode:
  14899. description: 执行方式[2:分步履约] - 1:顺序执行 2:交叉执行
  14900. type: integer
  14901. executeside:
  14902. description: 执行方[2:分步履约] - 1:买方 2:卖方
  14903. type: integer
  14904. failedchargealgorithm:
  14905. description: 流拍手续费收取方式 1:比率 2:固定
  14906. type: integer
  14907. failedchargevalue:
  14908. description: 流拍手续费设置值
  14909. type: number
  14910. failedchargevalue2:
  14911. description: 流拍卖方手续费设置值
  14912. type: number
  14913. holddays:
  14914. description: 合同期限[2:分步履约]
  14915. type: integer
  14916. listingmode:
  14917. description: 挂牌方式 - 1:一口价 2:浮动价 3:贸易圈 4:协议指定
  14918. type: integer
  14919. marketid:
  14920. description: 市场ID-仓单贸易、竞拍、预售
  14921. type: integer
  14922. minqty:
  14923. description: 最小执行量[2:分步履约]
  14924. type: number
  14925. modifierid:
  14926. description: 修改人
  14927. type: integer
  14928. nowrquotaflag:
  14929. description: 是否校验无仓单额度(仓单贸易) - 0:否 1:是
  14930. type: integer
  14931. performancetempid:
  14932. description: 履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  14933. 立即执行(-1)
  14934. type: integer
  14935. performancetempid2:
  14936. description: 履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  14937. 立即执行
  14938. type: integer
  14939. performancetempid2s:
  14940. description: 履约计划模板IDs(无仓单) - 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货
  14941. - 履约方式: 立即执行
  14942. type: string
  14943. performancetempids:
  14944. description: 履约计划模板IDs(有仓单)- 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货
  14945. - 履约方式: 立即执行(-1)
  14946. type: string
  14947. performanceway:
  14948. description: 交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]
  14949. type: integer
  14950. sellchargealgorithm:
  14951. description: 卖方手续费收取方式 1:比率 2:固定
  14952. type: integer
  14953. sellchargealgorithm2:
  14954. description: 回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城
  14955. type: integer
  14956. sellchargealgorithmvalue:
  14957. description: 卖方手续费设置值(交易所部分)
  14958. type: number
  14959. sellchargealgorithmvalue2:
  14960. description: 卖方手续费设置值(会员部分)
  14961. type: number
  14962. sellchargealgorithmvalue3:
  14963. description: 回购卖方手续费设置值(交易所部分) --77:现货商城
  14964. type: number
  14965. sellchargealgorithmvalue4:
  14966. description: 回购卖方手续费设置值(会员部分) --77:现货商城
  14967. type: number
  14968. sellmarginalgorithm:
  14969. description: 卖方保证金方式 - 1:比率 2:固定
  14970. type: integer
  14971. sellmarginvalue:
  14972. description: 卖方保证金设置值
  14973. type: number
  14974. sellmarginvalue2:
  14975. description: 卖方保证金设置值(无仓单)
  14976. type: number
  14977. sellreleaseratio:
  14978. description: 卖方释放比率[2:分步履约]
  14979. type: number
  14980. updatetime:
  14981. description: 更新时间
  14982. type: string
  14983. type: object
  14984. models.WrOrderDetail:
  14985. properties:
  14986. accountid:
  14987. description: 交易账号(资金账号)
  14988. type: integer
  14989. allfriendsflag:
  14990. description: 是否全好友可见 - 0:否 1:是
  14991. type: integer
  14992. amount:
  14993. description: 期初均价
  14994. type: number
  14995. bannerpicurl:
  14996. description: Banner图
  14997. type: string
  14998. begindate:
  14999. description: 开始交易日(yyyymmdd)
  15000. type: string
  15001. buyorsell:
  15002. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  15003. type: integer
  15004. canbargain:
  15005. description: 是否可议价 - 0:不可 1:可
  15006. type: integer
  15007. cancelqty:
  15008. description: 撤销数量
  15009. type: number
  15010. canpart:
  15011. description: 是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)
  15012. type: integer
  15013. delistminqty:
  15014. description: 起摘数量
  15015. type: integer
  15016. deliverygoodscode:
  15017. description: 品种代码
  15018. type: string
  15019. deliverygoodsid:
  15020. description: 品种ID
  15021. type: integer
  15022. deliverygoodsname:
  15023. description: 品种名称
  15024. type: string
  15025. deliverymonth:
  15026. description: 交收月
  15027. type: string
  15028. enddate:
  15029. description: 结束交易日(yyyymmdd)
  15030. type: string
  15031. enumdicname:
  15032. description: 单位名称
  15033. type: string
  15034. fixedprice:
  15035. description: 固定价格 - [挂牌]
  15036. type: number
  15037. freezecharge:
  15038. description: 期初均价
  15039. type: number
  15040. freezemargin:
  15041. description: 期初均价
  15042. type: number
  15043. futupricemove:
  15044. description: 期货升贴水
  15045. type: number
  15046. futushow:
  15047. description: 期货合约/升贴水
  15048. type: string
  15049. goodscode:
  15050. description: 期货合约
  15051. type: string
  15052. goodsid:
  15053. description: 期货商品id
  15054. type: integer
  15055. goodsname:
  15056. description: 商品名称
  15057. type: string
  15058. haswr:
  15059. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  15060. type: integer
  15061. isspecified:
  15062. description: 是否指定对手 - 0:不指定 1:指定 - [挂牌]
  15063. type: integer
  15064. ladingbillid:
  15065. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  15066. type: string
  15067. marginvalue:
  15068. description: 期初均价
  15069. type: number
  15070. marketid:
  15071. description: 市场ID
  15072. type: integer
  15073. matchusername:
  15074. description: 对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)
  15075. type: string
  15076. minivalue:
  15077. description: 现货商品最小变动值
  15078. type: integer
  15079. optioncompare:
  15080. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15081. type: string
  15082. orderqty:
  15083. description: 委托数量
  15084. type: number
  15085. ordertime:
  15086. description: 委托时间(挂牌时间)
  15087. type: string
  15088. performancetemplateid:
  15089. description: 履约模板id
  15090. type: integer
  15091. pricemove:
  15092. description: 升贴水(浮动价时填写) - [挂牌]
  15093. type: number
  15094. taname:
  15095. description: 交易用户名称(资金账号名称)
  15096. type: string
  15097. thumurls:
  15098. description: 缩略图
  15099. type: string
  15100. tradedate:
  15101. description: 交易日(yyyyMMdd)
  15102. type: string
  15103. tradeprice:
  15104. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)*
  15105. 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  15106. type: number
  15107. tradeqty:
  15108. description: 成交数量
  15109. type: number
  15110. userid:
  15111. description: 用户ID
  15112. type: integer
  15113. validtime:
  15114. description: 挂牌有效期
  15115. type: string
  15116. validtype:
  15117. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  15118. type: integer
  15119. warehouseid:
  15120. description: 仓库ID
  15121. type: integer
  15122. warehousename:
  15123. description: 仓库名称
  15124. type: string
  15125. wrfactortypeid:
  15126. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15127. type: string
  15128. wrfactortypename:
  15129. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15130. type: string
  15131. wrpricetype:
  15132. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  15133. type: integer
  15134. wrstandardcode:
  15135. description: 现货商品代码
  15136. type: string
  15137. wrstandardid:
  15138. description: 现货商品ID
  15139. type: integer
  15140. wrstandardname:
  15141. description: 商品名称
  15142. type: string
  15143. wrtradeorderid:
  15144. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  15145. type: string
  15146. wrtradeorderstatus:
  15147. 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:撤单解冻贷款失败
  15148. type: integer
  15149. wrtradetype:
  15150. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  15151. type: integer
  15152. wrtypename:
  15153. description: 商品
  15154. type: string
  15155. type: object
  15156. models.WrOrderQuote:
  15157. properties:
  15158. bannerpicurl:
  15159. description: Banner图
  15160. type: string
  15161. buyprice:
  15162. description: 买价
  15163. type: number
  15164. buypricemove:
  15165. description: 买升贴水(基差)
  15166. type: number
  15167. buyqty:
  15168. description: 买量
  15169. type: number
  15170. deliverygoodscode:
  15171. description: 品种代码
  15172. type: string
  15173. deliverygoodsid:
  15174. description: 品种id
  15175. type: integer
  15176. deliverygoodsname:
  15177. description: 品种名称
  15178. type: string
  15179. deliverymonth:
  15180. description: 交收月
  15181. type: string
  15182. enumdicname:
  15183. description: 单位名称
  15184. type: string
  15185. goodscode:
  15186. description: 商品合约(浮动价列表才有)
  15187. type: string
  15188. goodsid:
  15189. description: 商品id(浮动价列表才有)
  15190. type: integer
  15191. minivalue:
  15192. description: 现货商品最小变动值
  15193. type: integer
  15194. pictureurls:
  15195. description: 详情图片(逗号分隔)
  15196. type: string
  15197. sellprice:
  15198. description: 卖价
  15199. type: number
  15200. sellpricemove:
  15201. description: 卖升贴水(基差)
  15202. type: number
  15203. sellqty:
  15204. description: 卖量
  15205. type: number
  15206. thumurls:
  15207. description: 缩略图片(1:1)(逗号分隔)
  15208. type: string
  15209. warehousecode:
  15210. description: 仓库代码
  15211. type: string
  15212. warehouseid:
  15213. description: 仓库id
  15214. type: integer
  15215. warehousename:
  15216. description: 仓库名称
  15217. type: string
  15218. wrfactortypeid:
  15219. description: 仓单要素id
  15220. type: string
  15221. wrfactortypename:
  15222. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15223. type: string
  15224. wrgoodsname:
  15225. description: 商品(商品名称+仓库要素名称 拼接)
  15226. type: string
  15227. wrstandardcode:
  15228. description: 商品代码
  15229. type: string
  15230. wrstandardid:
  15231. description: 商品id
  15232. type: integer
  15233. wrstandardname:
  15234. description: 商品名称
  15235. type: string
  15236. type: object
  15237. models.WrOrderQuoteDetail:
  15238. properties:
  15239. buyorsell:
  15240. description: 买卖 - 0:买 1:卖
  15241. type: integer
  15242. delistminqty:
  15243. description: 期初均价
  15244. type: number
  15245. deliverymonth:
  15246. description: 交收月
  15247. type: string
  15248. enumdicname:
  15249. description: 单位名称
  15250. type: string
  15251. fixedprice:
  15252. description: 买(卖)价
  15253. type: number
  15254. marketid:
  15255. description: 市场id
  15256. type: integer
  15257. minivalue:
  15258. description: 现货商品最小变动值
  15259. type: integer
  15260. orderqty:
  15261. description: 买(卖)量(=委托量-成交量)
  15262. type: number
  15263. ordertime:
  15264. description: 委托时间
  15265. type: string
  15266. pricemove:
  15267. description: 买(卖)升贴水- 基差
  15268. type: number
  15269. userid:
  15270. description: 购买方(销售方)用户ID
  15271. type: integer
  15272. username:
  15273. description: 购买方(销售方)
  15274. type: string
  15275. wrtradeorderid:
  15276. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  15277. type: string
  15278. type: object
  15279. models.WrOutInApply:
  15280. properties:
  15281. applyid:
  15282. description: 申请单id
  15283. type: string
  15284. applystatus:
  15285. description: 申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败
  15286. 8:已撤销
  15287. type: integer
  15288. applytime:
  15289. description: 申请时间
  15290. type: string
  15291. applytype:
  15292. description: 申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销
  15293. type: integer
  15294. bannerpicurl:
  15295. description: Banner图
  15296. type: string
  15297. begindate:
  15298. description: 开始交易日(yyyymmdd)
  15299. type: string
  15300. deliverygoodscode:
  15301. description: 品种代码
  15302. type: string
  15303. deliverygoodsid:
  15304. description: 品种ID
  15305. type: integer
  15306. deliverygoodsname:
  15307. description: 品种名称
  15308. type: string
  15309. enddate:
  15310. description: 结束交易日(yyyymmdd)
  15311. type: string
  15312. enumdicname:
  15313. description: 单位名称
  15314. type: string
  15315. expresscompany:
  15316. description: 物流公司
  15317. type: string
  15318. expressnum:
  15319. description: 物流单号
  15320. type: string
  15321. minivalue:
  15322. description: 现货商品最小变动值
  15323. type: integer
  15324. optioncompare:
  15325. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15326. type: string
  15327. qty:
  15328. description: 数量
  15329. type: integer
  15330. userid:
  15331. description: 用户id
  15332. type: integer
  15333. warehouseid:
  15334. description: 仓库ID
  15335. type: integer
  15336. warehousename:
  15337. description: 仓库名称
  15338. type: string
  15339. wrfactortypeid:
  15340. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15341. type: string
  15342. wrfactortypename:
  15343. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15344. type: string
  15345. wrstandardcode:
  15346. description: 现货商品代码
  15347. type: string
  15348. wrstandardid:
  15349. description: 现货商品ID
  15350. type: integer
  15351. wrstandardname:
  15352. description: 商品名称
  15353. type: string
  15354. wrtypename:
  15355. description: 商品
  15356. type: string
  15357. type: object
  15358. models.WrPerformancePlan:
  15359. properties:
  15360. activatemonth:
  15361. description: 履约激活月 [无仓单的交易收月](yyyy-MM)
  15362. type: string
  15363. amount:
  15364. description: 履约金额(总金额)
  15365. type: number
  15366. begindate:
  15367. description: 开始交易日(yyyymmdd)
  15368. type: string
  15369. buyaccountid:
  15370. description: 买方账号
  15371. type: integer
  15372. buyerfreezeamount:
  15373. description: 履约冻结(买履约)
  15374. type: number
  15375. buyerfreezeamountremain:
  15376. description: 履约冻结剩余(买履约)
  15377. type: number
  15378. buyorsell:
  15379. description: 买卖方向 0-买 1-卖
  15380. type: integer
  15381. buypaidamount:
  15382. description: 买方已冻/已扣金额 (已付金额)
  15383. type: number
  15384. buyusername:
  15385. description: 买方名字
  15386. type: string
  15387. contractid:
  15388. description: 合同ID
  15389. type: integer
  15390. createtime:
  15391. description: 创建时间
  15392. type: string
  15393. creatorid:
  15394. description: 创建人
  15395. type: integer
  15396. curstepdeadline:
  15397. description: 当前步骤到期时间
  15398. type: string
  15399. curstepid:
  15400. description: 当前步骤ID
  15401. type: string
  15402. curstepname:
  15403. description: 当前步骤名称
  15404. type: string
  15405. deliverygoodscode:
  15406. description: 品种代码
  15407. type: string
  15408. deliverygoodsid:
  15409. description: 品种ID
  15410. type: integer
  15411. deliverygoodsname:
  15412. description: 品种名称
  15413. type: string
  15414. enddate:
  15415. description: 结束交易日(yyyymmdd)
  15416. type: string
  15417. enumdicname:
  15418. description: 单位名称
  15419. type: string
  15420. expressfee:
  15421. description: 运费
  15422. type: number
  15423. expressfeeconfirmed:
  15424. description: 是否确认运费 - 0:无 1:买方确认 2:卖方确认
  15425. type: integer
  15426. hasovershort:
  15427. description: 是否确认溢短 - 0:没有 1:买方确认 2:卖方确认
  15428. type: integer
  15429. haswr:
  15430. description: 类型 0-仓单预售 1-仓单贸易
  15431. type: integer
  15432. marketid:
  15433. description: 市场ID
  15434. type: integer
  15435. middleaccountid:
  15436. description: 中间商资金账号ID
  15437. type: integer
  15438. middleuserid:
  15439. description: 中间商用户ID
  15440. type: integer
  15441. minivalue:
  15442. description: 现货商品最小变动值
  15443. type: integer
  15444. optioncompare:
  15445. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15446. type: string
  15447. overshortamount:
  15448. description: 溢短金额
  15449. type: number
  15450. overshortqty:
  15451. description: 溢短数量
  15452. type: number
  15453. paymenttype:
  15454. description: 付款方式 - 1:冻结 2:扣款
  15455. type: integer
  15456. performanceplanid:
  15457. description: 履约计划ID(130+yyMMddHHmmss+xxxx)
  15458. type: string
  15459. performancestatus:
  15460. description: 履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败
  15461. 9:超时待处理 10:超时关闭
  15462. type: integer
  15463. performancetype:
  15464. description: 履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式
  15465. 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统
  15466. type: integer
  15467. qty:
  15468. description: 履约数量
  15469. type: number
  15470. relatedorderid:
  15471. description: 关联单号(履约类型的关联单号)
  15472. type: string
  15473. remark:
  15474. description: 备注
  15475. type: string
  15476. sellaccountid:
  15477. description: 卖方账号
  15478. type: integer
  15479. sellerfreezeamount:
  15480. description: 履约冻结(卖履约)
  15481. type: number
  15482. sellerfreezeamountremain:
  15483. description: 履约冻结剩余(卖履约)
  15484. type: number
  15485. sellreceivedamount:
  15486. description: 卖方已收金额
  15487. type: number
  15488. sellusername:
  15489. description: 卖方名字
  15490. type: string
  15491. shipremark:
  15492. description: 发货备注[物流单号]
  15493. type: string
  15494. starttime:
  15495. description: 开始时间
  15496. type: string
  15497. steptypeid:
  15498. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  15499. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  15500. type: integer
  15501. typename:
  15502. description: 履约类型 名称
  15503. type: string
  15504. unpaidamount:
  15505. description: 期初均价
  15506. type: number
  15507. userid:
  15508. description: 用户id
  15509. type: integer
  15510. warehouseid:
  15511. description: 仓库ID
  15512. type: integer
  15513. warehousename:
  15514. description: 仓库名称
  15515. type: string
  15516. wrfactortypeid:
  15517. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15518. type: string
  15519. wrfactortypename:
  15520. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15521. type: string
  15522. wrstandardcode:
  15523. description: 现货商品代码
  15524. type: string
  15525. wrstandardid:
  15526. description: 现货商品ID
  15527. type: integer
  15528. wrstandardname:
  15529. description: 商品名称
  15530. type: string
  15531. wrtransferuserid:
  15532. description: 仓单受让用户
  15533. type: integer
  15534. wrtypename:
  15535. description: 商品
  15536. type: string
  15537. required:
  15538. - userid
  15539. type: object
  15540. models.WrPerformancePlanStep:
  15541. properties:
  15542. delaydays:
  15543. description: 延期申请天数
  15544. type: integer
  15545. deliverygoodscode:
  15546. description: 品种代码
  15547. type: string
  15548. deliverygoodsid:
  15549. description: 品种ID
  15550. type: integer
  15551. deliverygoodsname:
  15552. description: 品种名称
  15553. type: string
  15554. endtime:
  15555. description: 结束日期
  15556. type: string
  15557. enumdicname:
  15558. description: 单位名称
  15559. type: string
  15560. executeside:
  15561. description: 步骤执行方 - 1:买方 2:卖方
  15562. type: integer
  15563. handlestatus:
  15564. description: 处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败
  15565. 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求
  15566. 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败
  15567. type: integer
  15568. isauto:
  15569. description: 是否自动 - 0:不自动 1:自动
  15570. type: integer
  15571. islastreceivestep:
  15572. description: 是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)
  15573. type: integer
  15574. minivalue:
  15575. description: 现货商品最小变动值
  15576. type: integer
  15577. optioncompare:
  15578. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15579. type: string
  15580. overdays:
  15581. description: 超期天数 = 当前时间(数据库时间) - 结束日期
  15582. type: integer
  15583. performancestepid:
  15584. description: 履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)
  15585. type: string
  15586. planid:
  15587. description: 所属履约计划ID
  15588. type: string
  15589. realamount:
  15590. description: 实际完成金额
  15591. type: number
  15592. relatedorderid:
  15593. description: 关联单号
  15594. type: string
  15595. remaindays:
  15596. description: 剩余天数
  15597. type: integer
  15598. remark:
  15599. description: 错误备注
  15600. type: string
  15601. starttime:
  15602. description: 开始日期
  15603. type: string
  15604. stepamount:
  15605. description: 步骤金额
  15606. type: number
  15607. stepdays:
  15608. description: 距离上一步天数(分钟)
  15609. type: integer
  15610. stepindex:
  15611. description: 步骤序号
  15612. type: integer
  15613. steplanchtype:
  15614. description: 步骤启动类型 - 1:系统自动 2:手动
  15615. type: integer
  15616. stepremark:
  15617. description: 步骤备注
  15618. type: string
  15619. stepstatus:
  15620. description: 步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭
  15621. type: integer
  15622. steptypeid:
  15623. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  15624. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  15625. type: integer
  15626. steptypename:
  15627. description: 步骤名称
  15628. type: string
  15629. stepvalue:
  15630. description: 步骤值
  15631. type: number
  15632. warehouseid:
  15633. description: 仓库ID
  15634. type: integer
  15635. warehousename:
  15636. description: 仓库名称
  15637. type: string
  15638. wrfactortypeid:
  15639. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15640. type: string
  15641. wrfactortypename:
  15642. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15643. type: string
  15644. wrstandardcode:
  15645. description: 现货商品代码
  15646. type: string
  15647. wrstandardid:
  15648. description: 现货商品ID
  15649. type: integer
  15650. wrstandardname:
  15651. description: 商品名称
  15652. type: string
  15653. wrtypename:
  15654. description: 商品
  15655. type: string
  15656. type: object
  15657. models.WrPerformanceStepType:
  15658. properties:
  15659. canauto:
  15660. description: '能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)'
  15661. type: integer
  15662. steptypeid:
  15663. description: 步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移
  15664. type: integer
  15665. steptypename:
  15666. description: 步骤类型名称
  15667. type: string
  15668. type: object
  15669. models.WrPerformanceTemplateEx:
  15670. properties:
  15671. autoid:
  15672. description: AutoID 模板id
  15673. type: integer
  15674. createtime:
  15675. description: 创建时间
  15676. type: string
  15677. creatorid:
  15678. description: 创建人
  15679. type: integer
  15680. lstStep:
  15681. description: 步骤信息列表
  15682. items:
  15683. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  15684. type: array
  15685. paymenttype:
  15686. description: 支付方式 - 1:冻结 2:扣款
  15687. type: integer
  15688. takemode:
  15689. description: 提货方式 - 1:无 2:买方自提 3:卖方发货
  15690. type: integer
  15691. templatename:
  15692. description: 模板名称
  15693. type: string
  15694. templatetype:
  15695. description: 模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  15696. (无仓单) 5:挂牌期权 6:竞拍-降价式
  15697. type: integer
  15698. userid:
  15699. description: 所属用户
  15700. type: integer
  15701. type: object
  15702. models.WrPosition:
  15703. properties:
  15704. accountid:
  15705. description: 帐户ID
  15706. type: integer
  15707. buyexcuteqty:
  15708. description: 采购履约中数量
  15709. type: number
  15710. creditcurqty:
  15711. description: 授信当前数量(预售仓单:预售当前量)
  15712. type: number
  15713. creditenableqty:
  15714. description: '授信可用数量(预售仓单: 可用数量)'
  15715. type: number
  15716. creditfreezeqty:
  15717. description: '授信冻结数量(预售仓单: 当前数量)'
  15718. type: number
  15719. credittotalqty:
  15720. description: 授信总数量(预售仓单:预售总量)
  15721. type: number
  15722. credittradeqty:
  15723. description: 授信成交数量(预售仓单:成交总量)
  15724. type: number
  15725. deliverygoodscode:
  15726. description: 品种代码
  15727. type: string
  15728. deliverygoodsid:
  15729. description: 品种ID
  15730. type: integer
  15731. deliverygoodsname:
  15732. description: 品种名称
  15733. type: string
  15734. enalbeqty:
  15735. description: 可用数量
  15736. type: number
  15737. enumdicname:
  15738. description: 单位名称
  15739. type: string
  15740. freezeqty:
  15741. description: 总冻结数量
  15742. type: number
  15743. haswr:
  15744. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  15745. type: integer
  15746. minivalue:
  15747. description: 现货商品最小变动值
  15748. type: integer
  15749. modifytime:
  15750. description: 修改时间(过户时间)
  15751. type: string
  15752. optioncompare:
  15753. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15754. type: string
  15755. pledgeqty:
  15756. description: 质押数量
  15757. type: number
  15758. querytype:
  15759. description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  15760. type: integer
  15761. sellexcuteqty:
  15762. description: 销售履约中数量
  15763. type: number
  15764. totalqty:
  15765. description: 总数量(库存数量)
  15766. type: number
  15767. warehouseid:
  15768. description: 仓库ID
  15769. type: integer
  15770. warehousename:
  15771. description: 仓库名称
  15772. type: string
  15773. wrfactortypeid:
  15774. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15775. type: string
  15776. wrfactortypename:
  15777. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15778. type: string
  15779. wrpositionid:
  15780. description: 仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)
  15781. type: string
  15782. wrpositionno:
  15783. description: 仓单编号
  15784. type: string
  15785. wrstandardcode:
  15786. description: 现货商品代码
  15787. type: string
  15788. wrstandardid:
  15789. description: 现货商品ID
  15790. type: integer
  15791. wrstandardname:
  15792. description: 商品名称
  15793. type: string
  15794. wrtypename:
  15795. description: 商品
  15796. type: string
  15797. wruserid:
  15798. description: 持有人ID
  15799. type: integer
  15800. type: object
  15801. models.WrPreSaleInfo:
  15802. properties:
  15803. bannerpicurl:
  15804. description: Banner图
  15805. type: string
  15806. baseqty:
  15807. description: 中签基数
  15808. type: number
  15809. createtime:
  15810. description: 创建时间
  15811. type: string
  15812. deliverygoodsid:
  15813. description: 现货品种ID
  15814. type: integer
  15815. enddate:
  15816. description: 预售结束日期
  15817. type: string
  15818. enumdicname:
  15819. description: 单位名称
  15820. type: string
  15821. lotteryflag:
  15822. description: 摇号标识 - 0:未摇号 1:已摇号
  15823. type: integer
  15824. lotteryqty:
  15825. description: 摇号总量
  15826. type: number
  15827. luckyqty:
  15828. description: 已中签量
  15829. type: number
  15830. marketid:
  15831. description: 市场ID
  15832. type: integer
  15833. maxbuyqty:
  15834. description: 单人最大申购量
  15835. type: number
  15836. maxluckyqty:
  15837. description: 单人最大中签量
  15838. type: number
  15839. pictureurls:
  15840. description: 详情图片(逗号分隔)
  15841. type: string
  15842. placeqty:
  15843. description: 已配售量
  15844. type: number
  15845. presaleapplyid:
  15846. description: 预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)
  15847. example: "0"
  15848. type: string
  15849. presaleqty:
  15850. description: 预售总量
  15851. type: number
  15852. presalestatus:
  15853. description: 预售状态 - 1:未开始 2:进行中 3:已结束 4:已关闭
  15854. type: integer
  15855. sellaccountid:
  15856. description: 发行方资金账户ID
  15857. type: integer
  15858. selluserid:
  15859. description: 发行方用户ID
  15860. type: integer
  15861. sellwrtradeorderid:
  15862. description: 发行方卖委托单ID
  15863. type: string
  15864. startdate:
  15865. description: 预售开始日期
  15866. type: string
  15867. takestartdate:
  15868. description: 提货开始日期
  15869. type: string
  15870. thumurls:
  15871. description: 缩略图片(1:1)(逗号分隔)
  15872. type: string
  15873. tradedate:
  15874. description: 交易日
  15875. type: string
  15876. unitid:
  15877. description: 单位ID
  15878. type: integer
  15879. unitprice:
  15880. description: 商品单价
  15881. type: number
  15882. username:
  15883. description: 发行方用户名称
  15884. type: string
  15885. warehousecode:
  15886. description: 仓库代码(仓库简称)
  15887. type: string
  15888. warehouseid:
  15889. description: 仓库ID
  15890. type: integer
  15891. warehousename:
  15892. description: 仓库名称
  15893. type: string
  15894. wrfactortypeid:
  15895. description: 仓单要素类型ID - 根据现货商品\仓库生成
  15896. example: "0"
  15897. type: string
  15898. wrstandardid:
  15899. description: 现货商品ID
  15900. type: integer
  15901. wrstandardname:
  15902. description: 现货商品名称
  15903. type: string
  15904. type: object
  15905. models.WrQuoteOrderMyq:
  15906. properties:
  15907. buyorsell:
  15908. description: 买卖 - 0:买 1:卖
  15909. type: integer
  15910. canbargain:
  15911. description: 是否可议价 - 0:不可 1:可
  15912. type: integer
  15913. canpart:
  15914. description: 是否允许部份摘牌 - 0:不允许 1:允许
  15915. type: integer
  15916. delistminqty:
  15917. description: 期初均价
  15918. type: number
  15919. deliverygoodscode:
  15920. description: 品种代码
  15921. type: string
  15922. deliverygoodsid:
  15923. description: 品种ID
  15924. type: integer
  15925. deliverygoodsname:
  15926. description: 品种名称
  15927. type: string
  15928. deliverymonth:
  15929. description: 交收月
  15930. type: string
  15931. enumdicname:
  15932. description: 单位名称
  15933. type: string
  15934. fixedprice:
  15935. description: 买(卖)价
  15936. type: number
  15937. goodscode:
  15938. description: 商品合约代码
  15939. type: string
  15940. marginflag:
  15941. description: 挂牌是否指定保证金 - 0:未指定 1:指定
  15942. type: integer
  15943. marginvalue:
  15944. description: 保证金设置值
  15945. type: number
  15946. minivalue:
  15947. description: 现货商品最小变动值
  15948. type: integer
  15949. orderqty:
  15950. description: 买(卖)量(=委托量-成交量)
  15951. type: number
  15952. ordertime:
  15953. description: 委托时间
  15954. type: string
  15955. performancetemplateid:
  15956. description: 履约模板id
  15957. type: integer
  15958. pricemove:
  15959. description: 买(卖)升贴水- 基差
  15960. type: number
  15961. templatename:
  15962. description: 履约模板名称
  15963. type: string
  15964. userid:
  15965. description: 购买方(销售方)用户ID
  15966. type: integer
  15967. username:
  15968. description: 购买方(销售方)
  15969. type: string
  15970. validtime:
  15971. description: 有效期限
  15972. type: string
  15973. validtype:
  15974. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  15975. type: integer
  15976. warehousename:
  15977. description: 仓库名称
  15978. type: string
  15979. wrfactortypeid:
  15980. description: 仓单要素id
  15981. type: string
  15982. wrstandardcode:
  15983. description: 现货商品代码
  15984. type: string
  15985. wrstandardid:
  15986. description: 现货商品ID
  15987. type: integer
  15988. wrstandardname:
  15989. description: 商品名称
  15990. type: string
  15991. wrtradeorderid:
  15992. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  15993. type: string
  15994. wrtypename:
  15995. description: 商品
  15996. type: string
  15997. type: object
  15998. models.WrReckonSpotGoodsTradeSum:
  15999. properties:
  16000. begindate:
  16001. description: 开始日期(结果含开始日期) yyyymmdd
  16002. type: string
  16003. enddate:
  16004. description: 结束日期(结果含结束日期) yyyymmdd
  16005. type: string
  16006. istoday:
  16007. description: 是否当日
  16008. type: boolean
  16009. marketid:
  16010. description: 市场ID
  16011. type: integer
  16012. price:
  16013. description: 价格 = 日成交金额 / 日成交数量
  16014. type: string
  16015. reckondate:
  16016. description: 日期 格式 yyyymmdd
  16017. type: string
  16018. tradeamount:
  16019. description: 期初均价
  16020. type: number
  16021. tradeqty:
  16022. description: 期初均价
  16023. type: number
  16024. wrstandardid:
  16025. description: 现货商品ID
  16026. type: integer
  16027. type: object
  16028. models.WrScfContract:
  16029. properties:
  16030. borroweruserid:
  16031. description: 借款用户ID
  16032. type: integer
  16033. buybackwrpositionqty:
  16034. description: 已回购仓单头寸数量 - [仓单回购\仓单质押] -> 已回购数量
  16035. type: number
  16036. closeinterest:
  16037. description: 已结利息 -> 已结费用
  16038. type: number
  16039. currisklevel:
  16040. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  16041. type: integer
  16042. deadline:
  16043. description: 截止日期(yyyyMMdd) -> 借款到期时间
  16044. type: string
  16045. deliverygoodscode:
  16046. description: 品种代码
  16047. type: string
  16048. deliverygoodsid:
  16049. description: 品种ID
  16050. type: integer
  16051. deliverygoodsname:
  16052. description: 品种名称
  16053. type: string
  16054. enumdicname:
  16055. description: 单位名称
  16056. type: string
  16057. financingdays:
  16058. description: 天数(天)
  16059. type: integer
  16060. initmargin:
  16061. description: 保证金 - [仓单回购]
  16062. type: number
  16063. interestamount:
  16064. description: 计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \ 合同剩余金额
  16065. type: number
  16066. interestdebt:
  16067. description: 利息欠款(记录负数) -> 费用欠款
  16068. type: number
  16069. interestminlen:
  16070. description: 最小起息天数
  16071. type: integer
  16072. interestrate:
  16073. description: 利率
  16074. type: number
  16075. interestratemode:
  16076. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  16077. type: integer
  16078. interestsettlemode:
  16079. description: 结息方式 - 1:按日结息 3:按月结息
  16080. type: integer
  16081. interestsettlevalue:
  16082. description: 结息方式值
  16083. type: integer
  16084. isautoloan:
  16085. description: 是否自动放款 - 0:手动 1:自动 - [仓单质押]
  16086. type: integer
  16087. lastcloseinterestday:
  16088. description: 最近结息日(yyyyMMdd)
  16089. type: string
  16090. lenderamount:
  16091. description: 贷款金额 -> 借款金额
  16092. type: number
  16093. lenderuserid:
  16094. description: 贷款方用户ID -> 融出方用户ID
  16095. type: integer
  16096. lenderusername:
  16097. description: 融出方
  16098. type: string
  16099. marginratio:
  16100. description: 保证金比率质押率 - [仓单质押]
  16101. type: number
  16102. marketid:
  16103. description: 市场ID - 拆成三个独立模式后,根据市场ID处理
  16104. type: integer
  16105. minivalue:
  16106. description: 现货商品最小变动值
  16107. type: integer
  16108. optioncompare:
  16109. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16110. type: string
  16111. pricemove:
  16112. description: 估值升贴水值
  16113. type: number
  16114. productdetailid:
  16115. description: 产品组合ID
  16116. type: integer
  16117. productid:
  16118. description: 金融产品ID
  16119. type: integer
  16120. productname:
  16121. description: 产品名称
  16122. type: string
  16123. remainamount:
  16124. description: 合同剩余金额 -> 剩余金额
  16125. type: number
  16126. remainwrpositionqty:
  16127. description: 剩余仓单头寸数量 - [仓单回购\仓单质押] -> 剩余数量(待回购数量)
  16128. type: number
  16129. remark:
  16130. description: 备注
  16131. type: string
  16132. scfcontractid:
  16133. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  16134. type: string
  16135. scfcontractstatus:
  16136. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  16137. 9:违约结束 10:已注销 11:已关闭 99:未提交
  16138. type: integer
  16139. scfcontracttype:
  16140. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购
  16141. type: integer
  16142. startinterestday:
  16143. description: 计息开始日(yyyyMMdd) -> 开始计费日期
  16144. type: string
  16145. totalinterest:
  16146. description: 已计利息 -> 已计费用
  16147. type: number
  16148. unpaidinterest:
  16149. description: 期初均价
  16150. type: number
  16151. updatetime:
  16152. description: 更新时间
  16153. type: string
  16154. warehouseid:
  16155. description: 仓库ID
  16156. type: integer
  16157. warehousename:
  16158. description: 仓库名称
  16159. type: string
  16160. wrfactortypeid:
  16161. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16162. type: string
  16163. wrfactortypename:
  16164. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16165. type: string
  16166. wrqty:
  16167. description: 仓单数量 - [仓单回购\仓单质押] -> 数量
  16168. type: number
  16169. wrstandardcode:
  16170. description: 现货商品代码
  16171. type: string
  16172. wrstandardid:
  16173. description: 现货商品ID
  16174. type: integer
  16175. wrstandardname:
  16176. description: 商品名称
  16177. type: string
  16178. wrtypename:
  16179. description: 商品
  16180. type: string
  16181. type: object
  16182. models.WrScfContractInterest:
  16183. properties:
  16184. closeinterest:
  16185. description: 已结利息
  16186. type: number
  16187. closeintereststatus:
  16188. description: 结息状态 - 1:未结 2:已结
  16189. type: integer
  16190. closetime:
  16191. description: 结息时间
  16192. type: string
  16193. closetradedate:
  16194. description: 结息交易日
  16195. type: string
  16196. creatorid:
  16197. description: 操作人ID
  16198. type: integer
  16199. dayrate:
  16200. description: 日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)
  16201. type: number
  16202. interest:
  16203. description: 利息
  16204. type: number
  16205. interestamount:
  16206. description: 计息金额
  16207. type: number
  16208. interestday:
  16209. description: 计息日(yyyyMMdd)
  16210. type: string
  16211. scfcontractid:
  16212. description: SCF合同ID
  16213. type: string
  16214. scfcontractinterestid:
  16215. description: SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)
  16216. type: integer
  16217. updatetime:
  16218. description: 更新时间
  16219. type: string
  16220. type: object
  16221. models.WrSearchUser:
  16222. properties:
  16223. userid:
  16224. description: 用户ID
  16225. type: integer
  16226. username:
  16227. description: 用户名称(已脱敏)
  16228. type: string
  16229. username2:
  16230. description: 用户名称(未脱敏)
  16231. type: string
  16232. usertype:
  16233. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  16234. type: integer
  16235. required:
  16236. - username
  16237. type: object
  16238. models.WrSiteColumnDetail:
  16239. properties:
  16240. brief:
  16241. description: 简介
  16242. type: string
  16243. context:
  16244. description: 内容
  16245. type: string
  16246. coverimage:
  16247. description: 封面图片
  16248. type: string
  16249. creaedate:
  16250. description: 创建时间
  16251. type: string
  16252. id:
  16253. description: ID(SEQ_SITE_COLUMNDETAIL)
  16254. type: integer
  16255. istop:
  16256. description: 是否置顶 - 0:不置 1:置顶
  16257. type: integer
  16258. publishdate:
  16259. description: 发布日期
  16260. type: string
  16261. title:
  16262. description: 标题
  16263. type: string
  16264. updatedate:
  16265. description: 修改时间
  16266. type: string
  16267. type: object
  16268. models.WrSpecialMatchOrder:
  16269. properties:
  16270. amount:
  16271. description: 金额 = 数量 * 价格
  16272. type: number
  16273. buyorsell:
  16274. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  16275. type: integer
  16276. cancelqty:
  16277. description: 撤销数量
  16278. type: number
  16279. deliverygoodscode:
  16280. description: 品种代码
  16281. type: string
  16282. deliverygoodsid:
  16283. description: 品种ID
  16284. type: integer
  16285. deliverygoodsname:
  16286. description: 品种名称
  16287. type: string
  16288. enumdicname:
  16289. description: 单位名称
  16290. type: string
  16291. fixedprice:
  16292. description: 固定价格(价格)
  16293. type: number
  16294. haswr:
  16295. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  16296. type: integer
  16297. isspecified:
  16298. description: 是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  16299. type: integer
  16300. marketid:
  16301. description: 市场ID
  16302. type: integer
  16303. matchuserid:
  16304. description: 指定方资金账号(字段名为userid,实际存的是accountid by:邓工)
  16305. type: integer
  16306. matchusername:
  16307. description: 指定方
  16308. type: string
  16309. minivalue:
  16310. description: 现货商品最小变动值
  16311. type: integer
  16312. optioncompare:
  16313. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16314. type: string
  16315. orderqty:
  16316. description: 委托数量
  16317. type: number
  16318. ordertime:
  16319. description: 委托时间
  16320. type: string
  16321. pricemove:
  16322. description: 升贴水(浮动价时填写) - [挂牌]
  16323. type: number
  16324. tradedate:
  16325. description: 交易日(yyyyMMdd)
  16326. type: string
  16327. tradeprice:
  16328. description: 成交价格
  16329. type: number
  16330. tradeqty:
  16331. description: 成交数量
  16332. type: number
  16333. userid:
  16334. description: 用户ID
  16335. type: integer
  16336. username:
  16337. description: 发起方
  16338. type: string
  16339. warehouseid:
  16340. description: 仓库ID
  16341. type: integer
  16342. warehousename:
  16343. description: 仓库名称
  16344. type: string
  16345. wrfactortypeid:
  16346. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16347. type: string
  16348. wrfactortypename:
  16349. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16350. type: string
  16351. wrpricetype:
  16352. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  16353. type: integer
  16354. wrstandardcode:
  16355. description: 现货商品代码
  16356. type: string
  16357. wrstandardid:
  16358. description: 现货商品ID
  16359. type: integer
  16360. wrstandardname:
  16361. description: 商品名称
  16362. type: string
  16363. wrtradeorderid:
  16364. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  16365. type: string
  16366. wrtradeorderstatus:
  16367. description: 委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝
  16368. 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤
  16369. type: integer
  16370. wrtradetype:
  16371. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  16372. type: integer
  16373. wrtypename:
  16374. description: 商品
  16375. type: string
  16376. type: object
  16377. models.WrSpotGroupTradeSum:
  16378. properties:
  16379. deliverygoodscode:
  16380. description: 现货品种代码
  16381. type: string
  16382. deliverygoodsid:
  16383. description: 现货品种ID(SEQ_DELIVERYGOODS)
  16384. type: integer
  16385. deliverygoodsname:
  16386. description: 现货品种名称
  16387. type: string
  16388. lastavgprice:
  16389. description: 上上个交易日价格(前2天价格)
  16390. type: string
  16391. lastreckondate:
  16392. description: 上上个交易日(前2天交易日)
  16393. type: string
  16394. reckondate:
  16395. description: 上个交易日(前1天交易日)
  16396. type: string
  16397. todayavgprice:
  16398. description: 上个交易日价格(前1天价格)
  16399. type: string
  16400. updown:
  16401. description: 涨跌
  16402. type: string
  16403. updownratio:
  16404. description: 涨幅(已格式化, 直接显示即可)
  16405. type: string
  16406. type: object
  16407. models.WrSpotGroupTradeSumDetail:
  16408. properties:
  16409. deliverygoodsid:
  16410. description: 现货商品id
  16411. type: integer
  16412. price:
  16413. description: 价格
  16414. type: number
  16415. reckondate:
  16416. description: 日期(yyymmdd, 如:20211031)
  16417. type: string
  16418. type: object
  16419. models.WrSpotGroupTradeSumEx:
  16420. properties:
  16421. lst:
  16422. description: 指数列表
  16423. items:
  16424. $ref: '#/definitions/models.WrSpotGroupTradeSum'
  16425. type: array
  16426. prereckondate:
  16427. description: 上上个交易日(yyymmdd)
  16428. type: string
  16429. reckondate:
  16430. description: 上个交易日(yyyymmdd)
  16431. type: string
  16432. type: object
  16433. models.WrStandardFactoryItem:
  16434. properties:
  16435. dgfactoryitemid:
  16436. description: 选择项id
  16437. type: integer
  16438. dgfactoryitemvalue:
  16439. description: 要素项值
  16440. type: string
  16441. warehouseid:
  16442. description: 仓库id
  16443. type: integer
  16444. type: object
  16445. models.WrStandardFactoryItemEx:
  16446. properties:
  16447. dgfactoryitemtypeid:
  16448. description: 要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)
  16449. type: integer
  16450. itemlst:
  16451. description: 要素项列表
  16452. items:
  16453. $ref: '#/definitions/models.WrStandardFactoryItem'
  16454. type: array
  16455. itemtypename:
  16456. description: 要素项类型名称
  16457. type: string
  16458. wrstandardid:
  16459. description: 品类
  16460. type: integer
  16461. type: object
  16462. models.WrTradeDetail:
  16463. properties:
  16464. accountid:
  16465. description: 资金账号
  16466. type: integer
  16467. bannerpicurl:
  16468. description: Banner图
  16469. type: string
  16470. begindate:
  16471. description: 开始交易日(yyyymmdd)
  16472. type: string
  16473. buyorsell:
  16474. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  16475. type: integer
  16476. chargevalue:
  16477. description: 手续费
  16478. type: number
  16479. deliverygoodscode:
  16480. description: 品种代码
  16481. type: string
  16482. deliverygoodsid:
  16483. description: 品种ID
  16484. type: integer
  16485. deliverygoodsname:
  16486. description: 品种名称
  16487. type: string
  16488. deliverymonth:
  16489. description: 交收月
  16490. type: string
  16491. enddate:
  16492. description: 结束交易日(yyyymmdd)
  16493. type: string
  16494. enumdicname:
  16495. description: 单位名称
  16496. type: string
  16497. haswr:
  16498. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  16499. type: integer
  16500. marketid:
  16501. description: 市场ID
  16502. type: integer
  16503. matchaccountid:
  16504. description: 对手账号
  16505. type: integer
  16506. matchusername:
  16507. description: 对手方
  16508. type: string
  16509. minivalue:
  16510. description: 现货商品最小变动值
  16511. type: integer
  16512. optioncompare:
  16513. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16514. type: string
  16515. thumurls:
  16516. description: 缩略图
  16517. type: string
  16518. tradedate:
  16519. description: 交易日(yyyyMMdd)
  16520. type: string
  16521. tradeprice:
  16522. description: 成交价格
  16523. type: number
  16524. tradeqty:
  16525. description: 成交数量
  16526. type: number
  16527. tradetime:
  16528. description: 成交时间
  16529. type: string
  16530. userid:
  16531. description: 用户ID
  16532. type: integer
  16533. warehouseid:
  16534. description: 仓库ID
  16535. type: integer
  16536. warehousename:
  16537. description: 仓库名称
  16538. type: string
  16539. wrfactortypeid:
  16540. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16541. type: string
  16542. wrfactortypename:
  16543. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16544. type: string
  16545. wrstandardcode:
  16546. description: 现货商品代码
  16547. type: string
  16548. wrstandardid:
  16549. description: 现货商品ID
  16550. type: integer
  16551. wrstandardname:
  16552. description: 商品名称
  16553. type: string
  16554. wrtradedetailid:
  16555. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  16556. type: string
  16557. wrtradetype:
  16558. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  16559. type: integer
  16560. wrtypename:
  16561. description: 商品
  16562. type: string
  16563. type: object
  16564. models.WrTradeOrderDetail:
  16565. properties:
  16566. buyorsell:
  16567. description: 买卖方向 0-买 1-卖
  16568. type: integer
  16569. goodsid:
  16570. description: 商品id
  16571. type: integer
  16572. orderid:
  16573. description: 委托单号
  16574. type: string
  16575. orderprice:
  16576. description: 期初均价
  16577. type: number
  16578. orderqty:
  16579. description: 委托数量
  16580. type: integer
  16581. userid:
  16582. description: 用户id
  16583. type: integer
  16584. username:
  16585. description: 用户名称(已脱敏)
  16586. type: string
  16587. type: object
  16588. models.WrTypeItem:
  16589. properties:
  16590. name:
  16591. description: 名称
  16592. type: string
  16593. value:
  16594. description: 值
  16595. type: string
  16596. type: object
  16597. models.WrUserFriend:
  16598. properties:
  16599. friendname:
  16600. description: 朋友名称(已脱敏)
  16601. type: string
  16602. frienduserid:
  16603. description: 朋友id
  16604. type: integer
  16605. isfriend:
  16606. description: 是否好友 0-不是 1-是
  16607. type: integer
  16608. userid:
  16609. description: 用户id
  16610. type: integer
  16611. type: object
  16612. models.WrUserReceiptInfo:
  16613. properties:
  16614. address:
  16615. description: 地址[发票类型:企业]
  16616. type: string
  16617. autoid:
  16618. description: AutoID
  16619. type: integer
  16620. contactinfo:
  16621. description: 联系方式
  16622. type: string
  16623. idnum:
  16624. description: 身份证号码[发票类型:个人]
  16625. type: string
  16626. isdefault:
  16627. description: 是否默认地址 - 0:否 1:是
  16628. type: integer
  16629. receiptaccount:
  16630. description: 发票帐号[发票类型:企业]
  16631. type: string
  16632. receiptbank:
  16633. description: 发票开户行[发票类型:企业]
  16634. type: string
  16635. receipttype:
  16636. description: 发票类型 - 1:个人 2:企业
  16637. type: integer
  16638. taxpayerid:
  16639. description: 纳税人识别号
  16640. type: string
  16641. userid:
  16642. description: 用户ID
  16643. type: integer
  16644. username:
  16645. description: 户名(个人姓名或企业名称)
  16646. type: string
  16647. type: object
  16648. models.Wrtradetradequote:
  16649. properties:
  16650. begindate:
  16651. description: 开始日期(结果含开始日期) yyyymmdd
  16652. type: string
  16653. buyaccountid:
  16654. description: 买方账号ID
  16655. type: integer
  16656. buyuserid:
  16657. description: 买方用户ID
  16658. type: integer
  16659. deliverygoodsid:
  16660. description: 现货品种ID
  16661. type: integer
  16662. enddate:
  16663. description: 结束日期(结果含结束日期) yyyymmdd
  16664. type: string
  16665. marketid:
  16666. description: 市场ID
  16667. type: integer
  16668. sellaccountid:
  16669. description: 卖方账号ID
  16670. type: integer
  16671. selluserid:
  16672. description: 卖方用户ID
  16673. type: integer
  16674. tradeamount:
  16675. description: 成交金额
  16676. type: number
  16677. tradedate:
  16678. description: 交易日(yyyyMMdd)
  16679. type: string
  16680. tradeprice:
  16681. description: 成交价格
  16682. type: number
  16683. tradeqty:
  16684. description: 成交数量
  16685. type: integer
  16686. tradetime:
  16687. description: 成交时间
  16688. type: string
  16689. wrfactortypeid:
  16690. description: 仓单要素类型ID
  16691. type: integer
  16692. wrstandardid:
  16693. description: 现货商品ID
  16694. type: integer
  16695. wrtradedetailid:
  16696. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  16697. type: string
  16698. type: object
  16699. models.XHBRAND:
  16700. properties:
  16701. brandid:
  16702. description: 品牌id
  16703. type: integer
  16704. brandname:
  16705. description: 品牌名称
  16706. type: string
  16707. isvalid:
  16708. description: 是否有效 0-无效 1-有效
  16709. type: integer
  16710. type: object
  16711. models.XHDeliveryGoods:
  16712. properties:
  16713. areauserid:
  16714. description: 所属机构
  16715. type: integer
  16716. bdlst:
  16717. description: 品牌列表
  16718. items:
  16719. $ref: '#/definitions/models.XHBRAND'
  16720. type: array
  16721. deliverygoodscode:
  16722. description: 现货品种代码
  16723. type: string
  16724. deliverygoodsid:
  16725. description: 现货品种ID(SEQ_DELIVERYGOODS)
  16726. type: integer
  16727. deliverygoodsname:
  16728. description: 现货品种名称
  16729. type: string
  16730. dgstatus:
  16731. description: 品种状态 - 作废 - 0:未激活 1:正常
  16732. type: integer
  16733. filterSubEmpty:
  16734. description: 过滤下级为空的
  16735. type: integer
  16736. isvalid:
  16737. description: 是否有效 - 0:无效 1:有效
  16738. type: integer
  16739. remark:
  16740. description: 备注
  16741. type: string
  16742. unitid:
  16743. description: 单位id(目前看,数据库中是空值)
  16744. type: integer
  16745. wdlst:
  16746. description: 品类(现货商品)列表
  16747. items:
  16748. $ref: '#/definitions/models.XHWrstandard'
  16749. type: array
  16750. type: object
  16751. models.XHMiddleGoods:
  16752. properties:
  16753. GPLST:
  16754. description: 期货品种列表
  16755. items:
  16756. $ref: '#/definitions/models.TBGoodsGroup'
  16757. type: array
  16758. convertratio:
  16759. description: 拆算系数
  16760. type: number
  16761. costratio:
  16762. description: 成本权重
  16763. type: number
  16764. deliverygoodsid:
  16765. description: 现货商品id
  16766. type: integer
  16767. enumdicname:
  16768. description: 单位名称
  16769. type: string
  16770. middlegoodscode:
  16771. description: 套保品种代码
  16772. type: string
  16773. middlegoodsid:
  16774. description: 套保品种id
  16775. type: integer
  16776. middlegoodsname:
  16777. description: 套保品种名称
  16778. type: string
  16779. unitid:
  16780. description: 单位id
  16781. type: integer
  16782. type: object
  16783. models.XHWrstandard:
  16784. properties:
  16785. bannerpicurl:
  16786. description: banner图
  16787. type: string
  16788. deliverygoodsid:
  16789. description: 品种ID
  16790. type: integer
  16791. enumdicname:
  16792. description: 单位名称
  16793. type: string
  16794. mglst:
  16795. description: 套保品列表
  16796. items:
  16797. $ref: '#/definitions/models.XHMiddleGoods'
  16798. type: array
  16799. pictureurls:
  16800. description: 详情图片(逗号分隔)
  16801. type: string
  16802. thumurls:
  16803. description: 缩略图片(1:1)(逗号分隔)
  16804. type: string
  16805. unitid:
  16806. description: 单位id
  16807. type: integer
  16808. vatrate:
  16809. description: 增值税率
  16810. type: number
  16811. wrstandardcode:
  16812. description: 现货商品代码
  16813. type: string
  16814. wrstandardid:
  16815. description: 现货商品ID(SEQ_WRSTANDARD)
  16816. type: integer
  16817. wrstandardname:
  16818. description: 现货商品名称
  16819. type: string
  16820. type: object
  16821. models.XhcpSellBackApplyEx:
  16822. properties:
  16823. applyremark:
  16824. description: 申请备注
  16825. type: string
  16826. expirytype:
  16827. description: 寄售有效期 - 1:3天 2:7天 3:15天 4:长期
  16828. type: integer
  16829. goodsspec:
  16830. description: 商品规格 - 1:整件 2;整提 3:单罐 4:单盒
  16831. type: integer
  16832. holeflag:
  16833. description: 是否破洞[原封] - 1:无破洞 2:破洞
  16834. type: integer
  16835. isunopened:
  16836. description: 是否原封 - 1:否 2:是
  16837. type: integer
  16838. mpflag:
  16839. description: 磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮
  16840. type: integer
  16841. openflag:
  16842. description: 是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。
  16843. 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。
  16844. type: integer
  16845. phonenum:
  16846. description: 联系电话
  16847. type: string
  16848. userid:
  16849. description: 所属用户ID
  16850. type: integer
  16851. zpflag:
  16852. description: 皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮
  16853. type: integer
  16854. required:
  16855. - userid
  16856. type: object
  16857. models.Xhcpsellbackapply:
  16858. properties:
  16859. applyid:
  16860. description: 申请人
  16861. type: integer
  16862. applyremark:
  16863. description: 申请备注
  16864. type: string
  16865. applysrc:
  16866. description: 申请来源 - 1:管理端 2:终端
  16867. type: integer
  16868. applystatus:
  16869. description: 申请状态 - 1:待确认 2:已处理
  16870. type: integer
  16871. applytime:
  16872. description: 申请时间
  16873. type: string
  16874. auditremark:
  16875. description: 审核备注
  16876. type: string
  16877. auditsrc:
  16878. description: 审核来源 - 1:管理端 2:终端
  16879. type: integer
  16880. expirytype:
  16881. description: 寄售有效期 - 1:3天 2:7天 3:15天 4:长期
  16882. type: integer
  16883. goodsspec:
  16884. description: 商品规格 - 1:整件 2;整提 3:单罐 4:单盒
  16885. type: integer
  16886. holeflag:
  16887. description: 是否破洞[原封] - 1:无破洞 2:破洞
  16888. type: integer
  16889. isunopened:
  16890. description: 是否原封 - 1:否 2:是
  16891. type: integer
  16892. mpflag:
  16893. description: 磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮
  16894. type: integer
  16895. openflag:
  16896. description: 是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。
  16897. 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。
  16898. type: integer
  16899. phonenum:
  16900. description: 联系电话
  16901. type: string
  16902. sellbackapplyid:
  16903. description: 回收申请ID - SEQ_XHCP_SELLBACKAPPLY
  16904. type: string
  16905. userid:
  16906. description: 所属用户ID
  16907. type: integer
  16908. zpflag:
  16909. description: 皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮
  16910. type: integer
  16911. required:
  16912. - userid
  16913. type: object
  16914. order.QueryHisTradeDetailRsp:
  16915. properties:
  16916. accountid:
  16917. description: 账户ID[报价币种]
  16918. type: integer
  16919. advanceratio:
  16920. description: 首付比率
  16921. type: number
  16922. buildtype:
  16923. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  16924. type: integer
  16925. buyorsell:
  16926. description: 方向 - 0:买 1:卖
  16927. type: integer
  16928. charge:
  16929. description: 手续费
  16930. type: number
  16931. closecharge:
  16932. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  16933. type: number
  16934. closeexchagechargevalue:
  16935. description: 平仓交易所手续费设置值
  16936. type: number
  16937. closefeealgorithm:
  16938. description: 平仓手续费收取方式 1:比率 2:固定
  16939. type: integer
  16940. closememberchargevalue:
  16941. description: 平仓会员手续费设置值
  16942. type: number
  16943. closepl:
  16944. description: 平仓盈亏
  16945. type: number
  16946. closepl2:
  16947. description: 平仓盈亏[逐笔]
  16948. type: number
  16949. closeqty:
  16950. description: 平仓数量(先建后平操作 需要记录)
  16951. type: number
  16952. creditamount:
  16953. description: 授信金额
  16954. type: number
  16955. decimalplace:
  16956. description: 商品报价小数位
  16957. type: integer
  16958. enumdicname:
  16959. description: 单位名称
  16960. type: string
  16961. gcaccountid:
  16962. description: 账户ID[合约币种]
  16963. type: integer
  16964. goodscode:
  16965. description: 商品代码
  16966. type: string
  16967. goodsid:
  16968. description: 商品ID
  16969. type: integer
  16970. goodsname:
  16971. description: 商品名称
  16972. type: string
  16973. goodunitid:
  16974. description: 商品单位id
  16975. type: integer
  16976. histradedate:
  16977. description: 历史交易日
  16978. type: string
  16979. intclosepl:
  16980. description: 整型盈亏(用于交易结算试算平衡-收益权)
  16981. type: integer
  16982. isconfirmexercise:
  16983. description: 是否确认行权- 0:否 1:是
  16984. type: integer
  16985. ismain:
  16986. description: 是否主单 - 0:不是 1:是
  16987. type: integer
  16988. ispreexercise:
  16989. description: 是否预申报- 0:否 1:是
  16990. type: integer
  16991. isreckoned:
  16992. description: 是否结算 - 0:未结算 1:已结算
  16993. type: integer
  16994. isvaliddata:
  16995. description: 是否有效 - 0:无效 1:有效
  16996. type: integer
  16997. listingselecttype:
  16998. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  16999. type: integer
  17000. marketid:
  17001. description: 市场ID
  17002. type: integer
  17003. marketname:
  17004. description: 市场名称
  17005. type: string
  17006. matchaccountid:
  17007. description: 对手账号id
  17008. type: integer
  17009. memberuserid:
  17010. description: 会员id 个人投资者 需要填写
  17011. type: integer
  17012. opencharge:
  17013. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  17014. type: number
  17015. openexchagechargevalue:
  17016. description: 建仓交易所手续费设置值
  17017. type: number
  17018. openfeealgorithm:
  17019. description: 建仓手续费收取方式 1:比率 2:固定
  17020. type: integer
  17021. openmemberchargevalue:
  17022. description: 建仓会员手续费设置值
  17023. type: number
  17024. openqty:
  17025. description: 开仓数量(先建后平操作 需要记录)
  17026. type: number
  17027. optiontype:
  17028. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  17029. type: integer
  17030. orderid:
  17031. description: 委托单号
  17032. type: string
  17033. payamount:
  17034. description: 支付金额(付款金额)
  17035. type: number
  17036. performanceplanid:
  17037. description: 履约计划ID[期权]
  17038. type: integer
  17039. performancestatus:
  17040. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  17041. type: integer
  17042. preexerciseprice:
  17043. description: 预申报价格
  17044. type: number
  17045. premium:
  17046. description: 权利金 - [持仓单的权利金]
  17047. type: number
  17048. qtydecimalplace:
  17049. description: 商品报价小数位
  17050. type: integer
  17051. recvamount:
  17052. description: 到账金额 = 成交金额 - 手续费
  17053. type: number
  17054. relatedouttradeid:
  17055. description: 关联外部成交单ID
  17056. type: integer
  17057. status:
  17058. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  17059. type: integer
  17060. totalamount:
  17061. description: 订单总额 = 成交金额 + 手续费
  17062. type: number
  17063. tradeamount:
  17064. description: 成交金额[账户币种,用于所有权]
  17065. type: number
  17066. tradedate:
  17067. description: 交易日(yyyyMMdd)
  17068. type: string
  17069. tradeid:
  17070. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17071. type: string
  17072. trademode:
  17073. description: 交易模式
  17074. type: integer
  17075. tradeprice:
  17076. description: 成交价格
  17077. type: number
  17078. tradeproperty:
  17079. description: 交易属性
  17080. type: integer
  17081. tradeqty:
  17082. description: 成交数量
  17083. type: number
  17084. tradetime:
  17085. description: 成交时间
  17086. type: string
  17087. tradetype:
  17088. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  17089. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  17090. type: integer
  17091. required:
  17092. - accountid
  17093. - buyorsell
  17094. - goodsid
  17095. - histradedate
  17096. - marketid
  17097. - memberuserid
  17098. - orderid
  17099. - tradeamount
  17100. - tradedate
  17101. - tradeid
  17102. - tradeprice
  17103. - tradeqty
  17104. - tradetime
  17105. type: object
  17106. order.QueryHisTradeOrderDetailRsp:
  17107. properties:
  17108. accountid:
  17109. description: 账户ID[报价币种]
  17110. type: integer
  17111. buildtype:
  17112. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  17113. type: integer
  17114. buyorsell:
  17115. description: 买卖 - 0:买 1:卖
  17116. type: integer
  17117. cancelorderid:
  17118. description: 撤单单号(撤单时填写)
  17119. type: string
  17120. cancelqty:
  17121. description: 撤单数量
  17122. type: number
  17123. clientordertime:
  17124. description: 客户端委托时间
  17125. type: string
  17126. clientticket:
  17127. description: 客户端流水号
  17128. type: string
  17129. clienttype:
  17130. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  17131. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  17132. type: integer
  17133. closeexchagechargevalue:
  17134. description: 平仓交易所手续费设置值
  17135. type: number
  17136. closefeealgorithm:
  17137. description: 平仓手续费收取方式 1:比率 2:固定
  17138. type: integer
  17139. closefreezecharge:
  17140. description: 平仓冻结手续费(先建后平操作,需要记录)
  17141. type: number
  17142. closememberchargevalue:
  17143. description: 平仓会员手续费设置值
  17144. type: number
  17145. closeqty:
  17146. description: 平仓数量(先建后平操作 需要记录)
  17147. type: number
  17148. closetradeqty:
  17149. description: 平仓成交数量(先建后平操作,需要记录)
  17150. type: number
  17151. closeunfreezecharge:
  17152. description: 平仓解冻手续费(先建后平操作,需要记录)
  17153. type: number
  17154. decimalplace:
  17155. description: 商品报价小数位
  17156. type: integer
  17157. delistingtype:
  17158. description: 摘牌类型 - 1:价格最优 2:点选成交
  17159. type: integer
  17160. enumdicname:
  17161. description: 单位名称
  17162. type: string
  17163. freezecharge:
  17164. description: 冻结手续费
  17165. type: number
  17166. freezemargin:
  17167. description: 冻结保证金(冻结交易金额)
  17168. type: number
  17169. gcaccountid:
  17170. description: 账户ID[合约币种]
  17171. type: integer
  17172. goodscode:
  17173. description: 商品代码
  17174. type: string
  17175. goodsid:
  17176. description: 商品ID
  17177. type: integer
  17178. goodsname:
  17179. description: 商品名称
  17180. type: string
  17181. goodunitid:
  17182. description: 商品单位id
  17183. type: integer
  17184. histradedate:
  17185. description: 历史交易日
  17186. type: string
  17187. isconfirmexercise:
  17188. description: 是否确认行权- 0:否 1:是
  17189. type: integer
  17190. ispreexercise:
  17191. description: 是否预申报- 0:否 1:是
  17192. type: integer
  17193. isvaliddata:
  17194. description: 是否有效 - 0:无效 1:有效
  17195. type: integer
  17196. listingselecttype:
  17197. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  17198. type: integer
  17199. marginalgorithm:
  17200. description: 保证金收取方式 1:比率 2:固定
  17201. type: integer
  17202. marginvalue:
  17203. description: 即市保证金设置值
  17204. type: number
  17205. marketid:
  17206. description: 市场ID
  17207. type: integer
  17208. marketmaxsub:
  17209. description: 市价最大偏移范围
  17210. type: number
  17211. marketname:
  17212. description: 市场名称
  17213. type: string
  17214. memberuserid:
  17215. description: 所属会员UserID
  17216. type: integer
  17217. openexchagechargevalue:
  17218. description: 建仓交易所手续费设置值
  17219. type: number
  17220. openfeealgorithm:
  17221. description: 建仓手续费收取方式 1:比率 2:固定
  17222. type: integer
  17223. openfreezecharge:
  17224. description: 开仓冻结手续费(先建后平操作,需要记录)
  17225. type: number
  17226. openmemberchargevalue:
  17227. description: 建仓会员手续费设置值
  17228. type: number
  17229. openqty:
  17230. description: 开仓数量(先建后平操作,需要记录)
  17231. type: number
  17232. opentradeqty:
  17233. description: 开仓成交数量(先建后平操作,需要记录)
  17234. type: number
  17235. openunfreezecharge:
  17236. description: 开仓解冻手续费(先建后平操作,需要记录)
  17237. type: number
  17238. operatetype:
  17239. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  17240. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  17241. 15:管理端协议转让
  17242. type: integer
  17243. operatorid:
  17244. description: 登录账号(LoginID)
  17245. type: integer
  17246. optiontype:
  17247. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  17248. type: integer
  17249. orderid:
  17250. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17251. type: string
  17252. orderprice:
  17253. description: 委托价格
  17254. type: number
  17255. orderqty:
  17256. description: 委托数量
  17257. type: number
  17258. ordersrc:
  17259. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  17260. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  17261. type: integer
  17262. orderstatus:
  17263. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  17264. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  17265. 16:成交失败违约(荷兰式竞拍专用)
  17266. type: integer
  17267. ordertime:
  17268. description: 委托时间
  17269. type: string
  17270. preexerciseprice:
  17271. description: 预申报价格
  17272. type: number
  17273. premium:
  17274. description: 权利金
  17275. type: number
  17276. preorderid:
  17277. description: 关联预埋单号(止盈止损单时填写)
  17278. type: string
  17279. pricemode:
  17280. description: '取价方式 - 1:市价 2: 限价'
  17281. type: integer
  17282. qtydecimalplace:
  17283. description: 成交量小数位
  17284. type: integer
  17285. quoteid:
  17286. description: 报价单ID
  17287. type: integer
  17288. relatedid:
  17289. description: 关联单号(交割单)
  17290. type: string
  17291. retcode:
  17292. description: 错误代码
  17293. type: integer
  17294. sessionid:
  17295. description: 会话ID
  17296. type: integer
  17297. tradedate:
  17298. description: 交易日(yyyyMMdd)
  17299. type: string
  17300. trademode:
  17301. description: 交易模式
  17302. type: integer
  17303. tradeproperty:
  17304. description: 交易属性
  17305. type: integer
  17306. tradeqty:
  17307. description: 成交数量
  17308. type: number
  17309. unfreezecharge:
  17310. description: 解冻手续费
  17311. type: number
  17312. unfreezemargin:
  17313. description: 解冻保证金
  17314. type: number
  17315. updatetime:
  17316. description: 更新时间
  17317. type: string
  17318. uuid:
  17319. description: 发起端唯一id
  17320. type: string
  17321. validtime:
  17322. description: 有效期限
  17323. type: string
  17324. validtype:
  17325. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  17326. type: integer
  17327. volumetype:
  17328. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  17329. type: integer
  17330. required:
  17331. - accountid
  17332. - buildtype
  17333. - buyorsell
  17334. - goodsid
  17335. - histradedate
  17336. - marketid
  17337. - memberuserid
  17338. - operatetype
  17339. - orderid
  17340. - orderqty
  17341. - ordertime
  17342. - pricemode
  17343. - tradedate
  17344. - validtype
  17345. type: object
  17346. order.QueryTradeDetailRsp:
  17347. properties:
  17348. accountid:
  17349. description: 账户ID[报价币种]
  17350. type: integer
  17351. advanceratio:
  17352. description: 首付比率
  17353. type: number
  17354. buildtype:
  17355. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  17356. type: integer
  17357. buyorsell:
  17358. description: 方向 - 0:买 1:卖
  17359. type: integer
  17360. charge:
  17361. description: 手续费
  17362. type: number
  17363. closecharge:
  17364. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  17365. type: number
  17366. closeexchagechargevalue:
  17367. description: 平仓交易所手续费设置值
  17368. type: number
  17369. closefeealgorithm:
  17370. description: 平仓手续费收取方式 1:比率 2:固定
  17371. type: integer
  17372. closememberchargevalue:
  17373. description: 平仓会员手续费设置值
  17374. type: number
  17375. closepl:
  17376. description: 平仓盈亏
  17377. type: number
  17378. closepl2:
  17379. description: 平仓盈亏[逐笔]
  17380. type: number
  17381. closeqty:
  17382. description: 平仓数量(先建后平操作 需要记录)
  17383. type: number
  17384. creditamount:
  17385. description: 授信金额
  17386. type: number
  17387. decimalplace:
  17388. description: 商品报价小数位
  17389. type: integer
  17390. enumdicname:
  17391. description: 单位名称
  17392. type: string
  17393. gcaccountid:
  17394. description: 账户ID[合约币种]
  17395. type: integer
  17396. goodscode:
  17397. description: 商品代码
  17398. type: string
  17399. goodsid:
  17400. description: 商品ID
  17401. type: integer
  17402. goodsname:
  17403. description: 商品名称
  17404. type: string
  17405. goodunitid:
  17406. description: 商品单位id
  17407. type: integer
  17408. intclosepl:
  17409. description: 整型盈亏(用于交易结算试算平衡-收益权)
  17410. type: integer
  17411. isconfirmexercise:
  17412. description: 是否确认行权- 0:否 1:是
  17413. type: integer
  17414. ismain:
  17415. description: 是否主单 - 0:不是 1:是
  17416. type: integer
  17417. ispreexercise:
  17418. description: 是否预申报- 0:否 1:是
  17419. type: integer
  17420. isreckoned:
  17421. description: 是否结算 - 0:未结算 1:已结算
  17422. type: integer
  17423. listingselecttype:
  17424. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  17425. type: integer
  17426. marketid:
  17427. description: 市场ID
  17428. type: integer
  17429. marketname:
  17430. description: 市场名称
  17431. type: string
  17432. matchaccountid:
  17433. description: 对手账号id
  17434. type: integer
  17435. memberuserid:
  17436. description: 会员id 个人投资者 需要填写
  17437. type: integer
  17438. opencharge:
  17439. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  17440. type: number
  17441. openexchagechargevalue:
  17442. description: 建仓交易所手续费设置值
  17443. type: number
  17444. openfeealgorithm:
  17445. description: 建仓手续费收取方式 1:比率 2:固定
  17446. type: integer
  17447. openmemberchargevalue:
  17448. description: 建仓会员手续费设置值
  17449. type: number
  17450. openqty:
  17451. description: 开仓数量(先建后平操作 需要记录)
  17452. type: number
  17453. optiontype:
  17454. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  17455. type: integer
  17456. orderid:
  17457. description: 委托单号
  17458. type: string
  17459. payamount:
  17460. description: 支付金额(付款金额)
  17461. type: number
  17462. performanceplanid:
  17463. description: 履约计划ID[期权]
  17464. type: integer
  17465. performancestatus:
  17466. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  17467. type: integer
  17468. preexerciseprice:
  17469. description: 预申报价格
  17470. type: number
  17471. premium:
  17472. description: 权利金 - [持仓单的权利金]
  17473. type: number
  17474. qtydecimalplace:
  17475. description: 商品报价小数位
  17476. type: integer
  17477. recvamount:
  17478. description: 到账金额 = 成交金额 - 手续费
  17479. type: number
  17480. relatedouttradeid:
  17481. description: 关联外部成交单ID
  17482. type: integer
  17483. status:
  17484. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  17485. type: integer
  17486. totalamount:
  17487. description: 订单总额 = 成交金额 + 手续费
  17488. type: number
  17489. tradeamount:
  17490. description: 成交金额[账户币种,用于所有权]
  17491. type: number
  17492. tradedate:
  17493. description: 交易日(yyyyMMdd)
  17494. type: string
  17495. tradeid:
  17496. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17497. type: string
  17498. trademode:
  17499. description: 交易模式
  17500. type: integer
  17501. tradeprice:
  17502. description: 成交价格
  17503. type: number
  17504. tradeproperty:
  17505. description: 交易属性
  17506. type: integer
  17507. tradeqty:
  17508. description: 成交数量
  17509. type: number
  17510. tradetime:
  17511. description: 成交时间
  17512. type: string
  17513. tradetype:
  17514. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  17515. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  17516. type: integer
  17517. required:
  17518. - accountid
  17519. - buyorsell
  17520. - goodsid
  17521. - marketid
  17522. - memberuserid
  17523. - orderid
  17524. - tradeamount
  17525. - tradedate
  17526. - tradeid
  17527. - tradeprice
  17528. - tradeqty
  17529. - tradetime
  17530. type: object
  17531. order.QueryTradeOrderDetailRsp:
  17532. properties:
  17533. accountid:
  17534. description: 账户ID[报价币种]
  17535. type: integer
  17536. buildtype:
  17537. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  17538. type: integer
  17539. buyorsell:
  17540. description: 买卖 - 0:买 1:卖
  17541. type: integer
  17542. cancelorderid:
  17543. description: 撤单单号(撤单时填写)
  17544. type: string
  17545. cancelqty:
  17546. description: 撤单数量
  17547. type: number
  17548. clienttype:
  17549. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  17550. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  17551. type: integer
  17552. closefreezecharge:
  17553. description: 平仓冻结手续费(先建后平操作,需要记录)
  17554. type: number
  17555. closeqty:
  17556. description: 平仓数量(先建后平操作 需要记录)
  17557. type: number
  17558. closetradeqty:
  17559. description: 平仓成交数量(先建后平操作,需要记录)
  17560. type: number
  17561. closeunfreezecharge:
  17562. description: 平仓解冻手续费(先建后平操作,需要记录)
  17563. type: number
  17564. decimalplace:
  17565. description: 商品报价小数位
  17566. type: integer
  17567. delistingtype:
  17568. description: 摘牌类型 - 1:价格最优 2:点选成交
  17569. type: integer
  17570. enableqty:
  17571. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  17572. type: number
  17573. enumdicname:
  17574. description: 单位名称
  17575. type: string
  17576. freezecharge:
  17577. description: 冻结手续费
  17578. type: number
  17579. freezemargin:
  17580. description: 冻结保证金(冻结交易金额)
  17581. type: number
  17582. goodscode:
  17583. description: 商品代码
  17584. type: string
  17585. goodsid:
  17586. description: 商品ID
  17587. type: integer
  17588. goodsname:
  17589. description: 商品名称
  17590. type: string
  17591. goodunitid:
  17592. description: 商品单位id
  17593. type: integer
  17594. listingselecttype:
  17595. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  17596. type: integer
  17597. marketid:
  17598. description: 市场ID
  17599. type: integer
  17600. marketname:
  17601. description: 市场名称
  17602. type: string
  17603. openfreezecharge:
  17604. description: 开仓冻结手续费(先建后平操作,需要记录)
  17605. type: number
  17606. openqty:
  17607. description: 开仓数量(先建后平操作,需要记录)
  17608. type: number
  17609. opentradeqty:
  17610. description: 开仓成交数量(先建后平操作,需要记录)
  17611. type: number
  17612. openunfreezecharge:
  17613. description: 开仓解冻手续费(先建后平操作,需要记录)
  17614. type: number
  17615. operatetype:
  17616. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  17617. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  17618. 15:管理端协议转让
  17619. type: integer
  17620. operatorid:
  17621. description: 登录账号(LoginID)
  17622. type: integer
  17623. orderid:
  17624. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17625. type: string
  17626. orderprice:
  17627. description: 委托价格
  17628. type: number
  17629. orderqty:
  17630. description: 委托数量
  17631. type: number
  17632. ordersrc:
  17633. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  17634. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  17635. type: integer
  17636. orderstatus:
  17637. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  17638. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  17639. 16:成交失败违约(荷兰式竞拍专用)
  17640. type: integer
  17641. ordertime:
  17642. description: 委托时间
  17643. type: string
  17644. preorderid:
  17645. description: 关联预埋单号(止盈止损单时填写)
  17646. type: string
  17647. pricemode:
  17648. description: '取价方式 - 1:市价 2: 限价'
  17649. type: integer
  17650. qtydecimalplace:
  17651. description: 商品报价小数位
  17652. type: integer
  17653. relatedid:
  17654. description: 关联单号(交割单)
  17655. type: string
  17656. tradedate:
  17657. description: 交易日(yyyyMMdd)
  17658. type: string
  17659. trademode:
  17660. description: 交易模式
  17661. type: integer
  17662. tradeqty:
  17663. description: 成交数量
  17664. type: number
  17665. unfreezecharge:
  17666. description: 解冻手续费
  17667. type: number
  17668. unfreezemargin:
  17669. description: 解冻保证金
  17670. type: number
  17671. validtime:
  17672. description: 有效期限
  17673. type: string
  17674. validtype:
  17675. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  17676. type: integer
  17677. volumetype:
  17678. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  17679. type: integer
  17680. required:
  17681. - accountid
  17682. - buildtype
  17683. - buyorsell
  17684. - goodsid
  17685. - marketid
  17686. - operatetype
  17687. - orderqty
  17688. - ordertime
  17689. - pricemode
  17690. - tradedate
  17691. - validtype
  17692. type: object
  17693. order.QueryTradePositionRsp:
  17694. properties:
  17695. accountid:
  17696. description: 资金账户
  17697. type: integer
  17698. agreeunit:
  17699. description: 合约单位
  17700. type: number
  17701. averageprice:
  17702. description: 持仓均价
  17703. type: number
  17704. buyorsell:
  17705. description: 方向 - 0:买 1:卖
  17706. type: integer
  17707. closetotalqty:
  17708. description: 平仓总数量
  17709. type: number
  17710. curholderamount:
  17711. description: 当前持仓总金额[商品币种]
  17712. type: number
  17713. curpositionqty:
  17714. description: 当前持仓总数量
  17715. type: number
  17716. currencyid:
  17717. description: 报价货币ID
  17718. type: integer
  17719. curtdposition:
  17720. description: 期末今日头寸
  17721. type: number
  17722. decimalplace:
  17723. description: 报价小数位
  17724. type: integer
  17725. enableqty:
  17726. description: 可用量
  17727. type: number
  17728. fretdposition:
  17729. description: 冻结今日头寸
  17730. type: number
  17731. frozenqty:
  17732. description: 持仓冻结数量
  17733. type: number
  17734. goodscode:
  17735. description: 商品代码
  17736. type: string
  17737. goodsid:
  17738. description: 商品Id
  17739. type: integer
  17740. goodsname:
  17741. description: 商品名称
  17742. type: string
  17743. goodunit:
  17744. description: 报价单位
  17745. type: string
  17746. goodunitid:
  17747. description: 报价单位ID
  17748. type: integer
  17749. holderamount:
  17750. description: 期初持仓总金额[商品币种]
  17751. type: number
  17752. lastprice:
  17753. description: 最新价
  17754. type: number
  17755. marketamount:
  17756. description: 市值
  17757. type: number
  17758. marketid:
  17759. description: 所属市场ID
  17760. type: integer
  17761. openreqqty:
  17762. description: 开仓申请数量(用于比较最大持仓数量)
  17763. type: number
  17764. opentotalqty:
  17765. description: 开仓总数量
  17766. type: number
  17767. otherfrozenqty:
  17768. description: 持仓其他冻结数量(交割冻结)
  17769. type: number
  17770. positionpl:
  17771. description: 持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸
  17772. * 合约单位
  17773. type: number
  17774. positionplrate:
  17775. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  17776. type: number
  17777. positionqty:
  17778. description: 期初持仓数量
  17779. type: number
  17780. qtydecimalplace:
  17781. description: 成交量小数位
  17782. type: integer
  17783. refgoodscode:
  17784. description: 参考商品代码
  17785. type: string
  17786. refgoodsid:
  17787. description: 参考商品ID
  17788. type: integer
  17789. tnqty:
  17790. description: T+N冻结总量
  17791. type: number
  17792. tnusedqty:
  17793. description: T+N使用量(可以使用T+N的冻结数量)
  17794. type: number
  17795. trademode:
  17796. description: 交易模式
  17797. type: integer
  17798. tradeproperty:
  17799. description: 交易属性
  17800. type: integer
  17801. usedmargin:
  17802. description: 占用保证金[商品币种]
  17803. type: number
  17804. required:
  17805. - goodsid
  17806. type: object
  17807. pb.GoodsMarginCfgStruct:
  17808. properties:
  17809. CustomerTypeID:
  17810. description: 投资者客户类型
  17811. type: integer
  17812. GoodsID:
  17813. description: 商品ID
  17814. type: integer
  17815. IsDefault:
  17816. description: 是否默认标志位
  17817. type: integer
  17818. LockMarginValue:
  17819. description: 锁仓保证金
  17820. type: number
  17821. MarginAlgorithm:
  17822. description: 保证金计算方式
  17823. type: integer
  17824. MarketMarginValue:
  17825. description: 即市保证金值
  17826. type: number
  17827. RealMarginAlgorithm:
  17828. description: 实付保证金计算方式
  17829. type: integer
  17830. RealMarginValue:
  17831. description: 实付比例
  17832. type: number
  17833. ReckonMarginValue:
  17834. description: 结算保证金值
  17835. type: number
  17836. type: object
  17837. quote.HistoryData:
  17838. properties:
  17839. c:
  17840. description: 收盘价
  17841. type: number
  17842. f:
  17843. description: 是否补充数据
  17844. type: boolean
  17845. h:
  17846. description: 最高价
  17847. type: number
  17848. hv:
  17849. description: 持仓量
  17850. type: integer
  17851. l:
  17852. description: 最低价
  17853. type: number
  17854. o:
  17855. description: 开盘价
  17856. type: number
  17857. s:
  17858. description: 结算价,日线周期(包括)以上才有
  17859. type: number
  17860. ts:
  17861. description: 时间
  17862. type: string
  17863. tt:
  17864. description: 总金额
  17865. type: number
  17866. tv:
  17867. description: 总量(成交量)
  17868. type: integer
  17869. type: object
  17870. quote.HistoryTikData:
  17871. properties:
  17872. AV:
  17873. description: 卖量
  17874. type: integer
  17875. Ask:
  17876. description: 卖价
  17877. type: number
  17878. BV:
  17879. description: 买量
  17880. type: integer
  17881. Bid:
  17882. description: 买价
  17883. type: number
  17884. HI:
  17885. description: 单笔持仓
  17886. type: integer
  17887. HV:
  17888. description: 持仓量
  17889. type: integer
  17890. PE:
  17891. description: 现价
  17892. type: number
  17893. TDR:
  17894. description: 交易方向,0:买 1:卖
  17895. type: integer
  17896. TK:
  17897. description: 交易类型
  17898. type: integer
  17899. TS:
  17900. description: 行情时间文本
  17901. type: string
  17902. TT:
  17903. description: 现金额
  17904. type: number
  17905. Vol:
  17906. description: 现量
  17907. type: integer
  17908. type: object
  17909. quote.QueryQuoteDayRsp:
  17910. properties:
  17911. ask:
  17912. description: 卖1
  17913. type: number
  17914. ask2:
  17915. description: 卖2
  17916. type: number
  17917. ask3:
  17918. description: 卖3
  17919. type: number
  17920. ask4:
  17921. description: 卖4
  17922. type: number
  17923. ask5:
  17924. description: 卖5
  17925. type: number
  17926. ask6:
  17927. description: 卖6
  17928. type: number
  17929. ask7:
  17930. description: 卖7
  17931. type: number
  17932. ask8:
  17933. description: 卖8
  17934. type: number
  17935. ask9:
  17936. description: 卖9
  17937. type: number
  17938. ask10:
  17939. description: 卖10
  17940. type: number
  17941. askorderid:
  17942. description: 卖单号1
  17943. type: integer
  17944. askorderid2:
  17945. description: 卖单号2
  17946. type: integer
  17947. askorderid3:
  17948. description: 卖单号3
  17949. type: integer
  17950. askorderid4:
  17951. description: 卖单号4
  17952. type: integer
  17953. askorderid5:
  17954. description: 卖单号5
  17955. type: integer
  17956. askordervolume:
  17957. description: 卖单量1
  17958. type: integer
  17959. askordervolume2:
  17960. description: 卖单量2
  17961. type: integer
  17962. askordervolume3:
  17963. description: 卖单量3
  17964. type: integer
  17965. askordervolume4:
  17966. description: 卖单量4
  17967. type: integer
  17968. askordervolume5:
  17969. description: 卖单量5
  17970. type: integer
  17971. askordervolume6:
  17972. description: 卖单量6
  17973. type: integer
  17974. askordervolume7:
  17975. description: 卖单量7
  17976. type: integer
  17977. askordervolume8:
  17978. description: 卖单量8
  17979. type: integer
  17980. askordervolume9:
  17981. description: 卖单量9
  17982. type: integer
  17983. askordervolume10:
  17984. description: 卖单量10
  17985. type: integer
  17986. askqueueinfo:
  17987. description: 大利市卖港股用
  17988. type: string
  17989. askvolume:
  17990. description: 卖量1
  17991. type: integer
  17992. askvolume2:
  17993. description: 卖量2
  17994. type: integer
  17995. askvolume3:
  17996. description: 卖量3
  17997. type: integer
  17998. askvolume4:
  17999. description: 卖量4
  18000. type: integer
  18001. askvolume5:
  18002. description: 卖量5
  18003. type: integer
  18004. askvolume6:
  18005. description: 卖量6
  18006. type: integer
  18007. askvolume7:
  18008. description: 卖量7
  18009. type: integer
  18010. askvolume8:
  18011. description: 卖量8
  18012. type: integer
  18013. askvolume9:
  18014. description: 卖量9
  18015. type: integer
  18016. askvolume10:
  18017. description: 卖量10
  18018. type: integer
  18019. averageprice:
  18020. description: 均价
  18021. type: number
  18022. bid:
  18023. description: 买1
  18024. type: number
  18025. bid2:
  18026. description: 买2
  18027. type: number
  18028. bid3:
  18029. description: 买3
  18030. type: number
  18031. bid4:
  18032. description: 买4
  18033. type: number
  18034. bid5:
  18035. description: 买5
  18036. type: number
  18037. bid6:
  18038. description: 买6
  18039. type: number
  18040. bid7:
  18041. description: 买7
  18042. type: number
  18043. bid8:
  18044. description: 买8
  18045. type: number
  18046. bid9:
  18047. description: 买9
  18048. type: number
  18049. bid10:
  18050. description: 买10
  18051. type: number
  18052. bidorderid:
  18053. description: 买单号1
  18054. type: integer
  18055. bidorderid2:
  18056. description: 买单号2
  18057. type: integer
  18058. bidorderid3:
  18059. description: 买单号3
  18060. type: integer
  18061. bidorderid4:
  18062. description: 买单号4
  18063. type: integer
  18064. bidorderid5:
  18065. description: 买单号5
  18066. type: integer
  18067. bidordervolume:
  18068. description: 买单量1
  18069. type: integer
  18070. bidordervolume2:
  18071. description: 买单量2
  18072. type: integer
  18073. bidordervolume3:
  18074. description: 买单量3
  18075. type: integer
  18076. bidordervolume4:
  18077. description: 买单量4
  18078. type: integer
  18079. bidordervolume5:
  18080. description: 买单量5
  18081. type: integer
  18082. bidordervolume6:
  18083. description: 买单量6
  18084. type: integer
  18085. bidordervolume7:
  18086. description: 买单量7
  18087. type: integer
  18088. bidordervolume8:
  18089. description: 买单量8
  18090. type: integer
  18091. bidordervolume9:
  18092. description: 买单量9
  18093. type: integer
  18094. bidordervolume10:
  18095. description: 买单量10
  18096. type: integer
  18097. bidqueueinfo:
  18098. description: 大利市买港股用
  18099. type: string
  18100. bidvolume:
  18101. description: 买量1
  18102. type: integer
  18103. bidvolume2:
  18104. description: 买量2
  18105. type: integer
  18106. bidvolume3:
  18107. description: 买量3
  18108. type: integer
  18109. bidvolume4:
  18110. description: 买量4
  18111. type: integer
  18112. bidvolume5:
  18113. description: 买量5
  18114. type: integer
  18115. bidvolume6:
  18116. description: 买量6
  18117. type: integer
  18118. bidvolume7:
  18119. description: 买量7
  18120. type: integer
  18121. bidvolume8:
  18122. description: 买量8
  18123. type: integer
  18124. bidvolume9:
  18125. description: 买量9
  18126. type: integer
  18127. bidvolume10:
  18128. description: 买量10
  18129. type: integer
  18130. calloptionpremiums:
  18131. description: 认购期权1
  18132. type: integer
  18133. calloptionpremiums2:
  18134. description: 认购期权2
  18135. type: integer
  18136. calloptionpremiums3:
  18137. description: 认购期权3
  18138. type: integer
  18139. calloptionpremiums4:
  18140. description: 认购期权4
  18141. type: integer
  18142. calloptionpremiums5:
  18143. description: 认购期权5
  18144. type: integer
  18145. cleartime:
  18146. description: 清盘时间
  18147. type: integer
  18148. exchangecode:
  18149. description: 交易所代码
  18150. type: integer
  18151. exchangedate:
  18152. description: 交易日
  18153. type: integer
  18154. goodscode:
  18155. description: 商品代码
  18156. type: string
  18157. grepmarketprice:
  18158. description: 暗盘价 港股专用
  18159. type: number
  18160. highest:
  18161. description: 最高价
  18162. type: number
  18163. holdincrement:
  18164. description: 单笔持仓
  18165. type: integer
  18166. holdvolume:
  18167. description: 持仓
  18168. type: integer
  18169. iep:
  18170. description: 平衡价 港股专用
  18171. type: number
  18172. iev:
  18173. description: 平衡量 港股专用
  18174. type: number
  18175. inventory:
  18176. description: 库存
  18177. type: integer
  18178. iscleared:
  18179. description: 是否清盘标志
  18180. type: integer
  18181. issettled:
  18182. description: 是否结算标志
  18183. type: integer
  18184. last:
  18185. description: 最新价
  18186. type: number
  18187. lastlot:
  18188. description: 最新成交手数
  18189. type: integer
  18190. lasttime:
  18191. description: 行情时间(只有现价变化行情时间才变化)
  18192. type: string
  18193. lastturnover:
  18194. description: 最新成交金额
  18195. type: number
  18196. lastvolume:
  18197. description: 最新成交量
  18198. type: integer
  18199. limitdown:
  18200. description: 跌停价
  18201. type: number
  18202. limitup:
  18203. description: 涨停价
  18204. type: number
  18205. lowest:
  18206. description: 最低价
  18207. type: number
  18208. nontotalholdervolume:
  18209. description: 非交易持仓量
  18210. type: integer
  18211. nontotallot:
  18212. description: 非交易总手数
  18213. type: integer
  18214. nontotalturnover:
  18215. description: 非交易总金额
  18216. type: integer
  18217. nontotalvolume:
  18218. description: 非交易总量
  18219. type: integer
  18220. opened:
  18221. description: 开盘价
  18222. type: number
  18223. opentime:
  18224. description: 开盘时间
  18225. type: string
  18226. orderid:
  18227. description: 序号
  18228. type: integer
  18229. preclose:
  18230. description: 昨收
  18231. type: number
  18232. preholdvolume:
  18233. description: 昨持仓
  18234. type: integer
  18235. presettle:
  18236. description: 昨结价
  18237. type: number
  18238. publictradetype:
  18239. description: 公共交易标志类型 港股专用
  18240. type: string
  18241. putoptionpremiums:
  18242. description: 认沽期权1
  18243. type: integer
  18244. putoptionpremiums2:
  18245. description: 认沽期权2
  18246. type: integer
  18247. putoptionpremiums3:
  18248. description: 认沽期权3
  18249. type: integer
  18250. putoptionpremiums4:
  18251. description: 认沽期权4
  18252. type: integer
  18253. putoptionpremiums5:
  18254. description: 认沽期权5
  18255. type: integer
  18256. settle:
  18257. description: 结算价
  18258. type: number
  18259. strikeprice:
  18260. description: 发行价
  18261. type: number
  18262. totalaskvolume:
  18263. description: 内盘
  18264. type: integer
  18265. totalbidvolume:
  18266. description: 外盘
  18267. type: integer
  18268. totallot:
  18269. description: 总手数
  18270. type: integer
  18271. totalturnover:
  18272. description: 总金额
  18273. type: number
  18274. totalvolume:
  18275. description: 总量
  18276. type: integer
  18277. utclasttime:
  18278. description: utc的行情时间
  18279. type: string
  18280. type: object
  18281. quote.QueryTSDataRsp:
  18282. properties:
  18283. Count:
  18284. description: 交易日应有数据个数
  18285. type: integer
  18286. decimalPlace:
  18287. description: 小数位
  18288. type: integer
  18289. endTime:
  18290. description: 结束时间
  18291. type: string
  18292. goodsCode:
  18293. description: 商品代码
  18294. type: string
  18295. historyDatas:
  18296. description: 历史数据
  18297. items:
  18298. $ref: '#/definitions/quote.HistoryData'
  18299. type: array
  18300. outGoodsCode:
  18301. description: 外部商品代码
  18302. type: string
  18303. preSettle:
  18304. description: 昨结价
  18305. type: number
  18306. runSteps:
  18307. description: 交易日开休市计划
  18308. items:
  18309. $ref: '#/definitions/quote.TSDataRunStep'
  18310. type: array
  18311. startTime:
  18312. description: 开始时间
  18313. type: string
  18314. tradeDate:
  18315. description: 交易日
  18316. type: string
  18317. type: object
  18318. quote.TSDataRunStep:
  18319. properties:
  18320. end:
  18321. description: 真实结束时间
  18322. type: string
  18323. endflag:
  18324. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  18325. type: integer
  18326. endtime:
  18327. description: 结束时间(HH:mm)
  18328. type: string
  18329. endweekday:
  18330. description: 结束周几
  18331. type: integer
  18332. groupid:
  18333. description: 分组ID
  18334. type: integer
  18335. runstep:
  18336. description: 运行阶段 - 2:连续交易
  18337. type: integer
  18338. sectionid:
  18339. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几,
  18340. 结束时间=结算时间 结束周几=结算周几
  18341. type: integer
  18342. start:
  18343. description: 真实开始时间
  18344. type: string
  18345. startflag:
  18346. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  18347. type: integer
  18348. starttime:
  18349. description: 起始时间(HH:mm)
  18350. type: string
  18351. startweekday:
  18352. description: 起始周几
  18353. type: integer
  18354. tradeweekday:
  18355. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  18356. type: integer
  18357. type: object
  18358. szdz.QueryConvertLogRsp:
  18359. properties:
  18360. accountid:
  18361. description: 资金账户ID
  18362. type: integer
  18363. clientticket:
  18364. description: 客户端流水号
  18365. type: string
  18366. converttype:
  18367. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  18368. type: integer
  18369. createtime:
  18370. description: 记账时间
  18371. type: string
  18372. daymaxvalue:
  18373. description: 配置当日最大转入限制
  18374. type: number
  18375. daymaxvalue2:
  18376. description: 配置当日最大转入限制(转入)
  18377. type: number
  18378. goodscode:
  18379. description: 商品代码
  18380. type: string
  18381. goodsname:
  18382. description: 商品名称
  18383. type: string
  18384. handlestatus:
  18385. description: 处理状态
  18386. type: integer
  18387. innergoodsid:
  18388. description: 内部商品ID
  18389. type: integer
  18390. inratio:
  18391. description: 配置转入比值
  18392. type: integer
  18393. invalue:
  18394. description: 目标值
  18395. type: number
  18396. logid:
  18397. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  18398. type: integer
  18399. mobile:
  18400. description: 手机号码(加密存储)
  18401. type: string
  18402. outergoodscode:
  18403. description: 外部商品代码[JD\PD]
  18404. type: string
  18405. outratio:
  18406. description: 配置转出比值
  18407. type: integer
  18408. outvalue:
  18409. description: 源值
  18410. type: number
  18411. pddecimalplace:
  18412. description: PD小数位
  18413. type: integer
  18414. qty:
  18415. description: 数量
  18416. type: string
  18417. remark:
  18418. description: 备注
  18419. type: string
  18420. sessionid:
  18421. description: 会话ID
  18422. type: integer
  18423. timemaxvalue:
  18424. description: 配置单次最大转入限制
  18425. type: number
  18426. timemaxvalue2:
  18427. description: 配置单次最大转入限制(转入)
  18428. type: number
  18429. timeminvalue:
  18430. description: 配置单次最小数量限制
  18431. type: number
  18432. timeminvalue2:
  18433. description: 配置单次最小数量限制(转入)
  18434. type: number
  18435. tradedate:
  18436. description: 交易日(yyyyMMdd)
  18437. type: string
  18438. userid:
  18439. description: 用户ID
  18440. type: integer
  18441. required:
  18442. - logid
  18443. type: object
  18444. szdz.QueryGoodsPickupRsp:
  18445. properties:
  18446. accountid:
  18447. description: 账户ID
  18448. type: integer
  18449. address:
  18450. description: 提货人详细地址
  18451. type: string
  18452. auditer:
  18453. description: 审核人
  18454. type: integer
  18455. audittime:
  18456. description: 审核时间
  18457. type: string
  18458. cardnum:
  18459. description: 提货人证件号码
  18460. type: string
  18461. cardtypeid:
  18462. description: 提货人证件类型
  18463. type: integer
  18464. checkremark:
  18465. description: 审核备注
  18466. type: string
  18467. goodscode:
  18468. description: 商品代码
  18469. type: string
  18470. goodsid:
  18471. description: 商品ID
  18472. type: integer
  18473. goodsname:
  18474. description: 商品名称
  18475. type: string
  18476. handlestatus:
  18477. description: 处理状态
  18478. type: integer
  18479. marketid:
  18480. description: 市场ID
  18481. type: integer
  18482. phonenum:
  18483. description: 提货人联系方式
  18484. type: string
  18485. qty:
  18486. description: 提货数量
  18487. type: number
  18488. recivername:
  18489. description: 提货人姓名
  18490. type: string
  18491. reqtime:
  18492. description: 更新时间
  18493. type: string
  18494. takemode:
  18495. description: 提货方式 - 2:自提 3:配送
  18496. type: integer
  18497. takeorderid:
  18498. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  18499. type: string
  18500. takeorderstatus:
  18501. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  18502. type: integer
  18503. takeremark:
  18504. description: 提货备注
  18505. type: string
  18506. tradedate:
  18507. description: 交易日(yyyyMMdd)
  18508. type: string
  18509. userid:
  18510. description: 用户ID
  18511. type: integer
  18512. required:
  18513. - takeorderid
  18514. type: object
  18515. szdz.QueryRecieptOrderRsp:
  18516. properties:
  18517. accountName:
  18518. description: 所属账号名称(已脱敏)
  18519. type: string
  18520. accountid:
  18521. description: 资金账号
  18522. type: integer
  18523. buyorsell:
  18524. description: 方向 - 0:买 1:卖
  18525. type: integer
  18526. enableqty:
  18527. description: 可摘数量
  18528. type: integer
  18529. goodscode:
  18530. description: 商品代码
  18531. type: string
  18532. goodsid:
  18533. description: 商品ID
  18534. type: integer
  18535. goodsname:
  18536. description: 商品名称
  18537. type: string
  18538. orderid:
  18539. description: 委托单号
  18540. type: string
  18541. orderprice:
  18542. description: 委托价格
  18543. type: number
  18544. ordertime:
  18545. description: 委托时间
  18546. type: string
  18547. tradedate:
  18548. description: 交易日(yyyyMMdd)
  18549. type: string
  18550. required:
  18551. - ordertime
  18552. type: object
  18553. szdz.QuerySZDZTradePositionRsp:
  18554. properties:
  18555. accountid:
  18556. description: 账号Id
  18557. type: integer
  18558. agreeunit:
  18559. description: 合约单位
  18560. type: number
  18561. averageprice:
  18562. description: 持仓均价
  18563. type: number
  18564. buyorsell:
  18565. description: 方向 - 0:买 1:卖
  18566. type: integer
  18567. closetotalqty:
  18568. description: 平仓总数量
  18569. type: integer
  18570. curholderamount:
  18571. description: 当前持仓总金额
  18572. type: number
  18573. curpositionqty:
  18574. description: 当前持仓总数量
  18575. type: integer
  18576. currencyid:
  18577. description: 报价货币ID
  18578. type: integer
  18579. curtdposition:
  18580. description: 期末今日头寸
  18581. type: integer
  18582. decimalplace:
  18583. description: 报价小数位
  18584. type: integer
  18585. enableqty:
  18586. description: 可用量
  18587. type: integer
  18588. fretdposition:
  18589. description: 冻结今日头寸
  18590. type: integer
  18591. frozenqty:
  18592. description: 持仓冻结数量
  18593. type: integer
  18594. goodscode:
  18595. description: 商品代码(内部)
  18596. type: string
  18597. goodsid:
  18598. description: 商品Id
  18599. type: integer
  18600. goodsname:
  18601. description: 商品名称
  18602. type: string
  18603. goodunit:
  18604. description: 报价单位
  18605. type: string
  18606. goodunitid:
  18607. description: 报价单位ID
  18608. type: integer
  18609. holderamount:
  18610. description: 期初持仓总金额
  18611. type: number
  18612. marketid:
  18613. description: 市场ID
  18614. type: integer
  18615. openreqqty:
  18616. description: 开仓申请数量
  18617. type: integer
  18618. opentotalqty:
  18619. description: 开仓总数量
  18620. type: integer
  18621. otherfrozenqty:
  18622. description: 持仓其他冻结数量(交割冻结)
  18623. type: integer
  18624. positionqty:
  18625. description: 期初持仓数量
  18626. type: integer
  18627. szdz3freezqty:
  18628. description: 尚志大宗转换冻结总数量
  18629. type: integer
  18630. tnqty:
  18631. description: T+N冻结总量
  18632. type: integer
  18633. tnusedqty:
  18634. description: T+N使用量
  18635. type: integer
  18636. trademode:
  18637. description: 交易模式
  18638. type: integer
  18639. usedmargin:
  18640. description: 占用保证金
  18641. type: number
  18642. type: object
  18643. taaccount.QueryAmountLogRsp:
  18644. properties:
  18645. OPERATETYPENAME:
  18646. description: 资金操作类型名称
  18647. type: string
  18648. accountid:
  18649. description: 资金账户ID
  18650. type: integer
  18651. agoodscode:
  18652. description: 竞拍商品代码
  18653. type: string
  18654. agoodsname:
  18655. description: 竞拍商品名称
  18656. type: string
  18657. amount:
  18658. description: 资金金额
  18659. type: number
  18660. amountadjusttype:
  18661. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  18662. type: integer
  18663. autoid:
  18664. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  18665. type: integer
  18666. balance:
  18667. description: 期初余额
  18668. type: number
  18669. businesscode:
  18670. description: 业务编号
  18671. type: integer
  18672. createtime:
  18673. description: 发生时间
  18674. type: string
  18675. currencyid:
  18676. description: 币种ID
  18677. type: integer
  18678. currentbalance:
  18679. description: 期末余额(变动后金额)
  18680. type: number
  18681. dgoodscode:
  18682. description: 交割商品代码
  18683. type: string
  18684. dgoodsname:
  18685. description: 交割商品名称
  18686. type: string
  18687. goodscode:
  18688. description: 商品代码
  18689. type: string
  18690. goodsid:
  18691. description: 商品ID
  18692. type: integer
  18693. goodsname:
  18694. description: 商品名称
  18695. type: string
  18696. marketid:
  18697. description: 市场ID
  18698. type: integer
  18699. marketname:
  18700. description: 市场名称
  18701. type: string
  18702. moneyticket:
  18703. description: 资金流水号:银行端流水号
  18704. type: integer
  18705. operatetype:
  18706. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  18707. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  18708. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  18709. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  18710. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  18711. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  18712. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  18713. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  18714. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  18715. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  18716. type: integer
  18717. relationorderid:
  18718. description: 关联单号
  18719. type: string
  18720. remark:
  18721. description: 备注
  18722. type: string
  18723. trademode:
  18724. description: 交易模式
  18725. type: integer
  18726. required:
  18727. - accountid
  18728. - amount
  18729. - amountadjusttype
  18730. - autoid
  18731. - balance
  18732. - createtime
  18733. - currentbalance
  18734. - operatetype
  18735. type: object
  18736. taaccount.QueryHisAmountLogRsp:
  18737. properties:
  18738. OPERATETYPENAME:
  18739. description: 资金操作类型名称
  18740. type: string
  18741. accountid:
  18742. description: 资金账户ID
  18743. type: integer
  18744. agoodscode:
  18745. description: 竞拍商品代码
  18746. type: string
  18747. agoodsname:
  18748. description: 竞拍商品名称
  18749. type: string
  18750. amount:
  18751. description: 资金金额
  18752. type: number
  18753. amountadjusttype:
  18754. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  18755. type: integer
  18756. autoid:
  18757. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  18758. type: integer
  18759. balance:
  18760. description: 期初余额
  18761. type: number
  18762. businesscode:
  18763. description: 业务编号
  18764. type: integer
  18765. createtime:
  18766. description: 发生时间
  18767. type: string
  18768. currencyid:
  18769. description: 币种ID
  18770. type: integer
  18771. currentbalance:
  18772. description: 期末余额(变动后金额)
  18773. type: number
  18774. dgoodscode:
  18775. description: 交割商品代码
  18776. type: string
  18777. dgoodsname:
  18778. description: 交割商品名称
  18779. type: string
  18780. goodscode:
  18781. description: 商品代码
  18782. type: string
  18783. goodsid:
  18784. description: 商品ID
  18785. type: integer
  18786. goodsname:
  18787. description: 商品名称
  18788. type: string
  18789. histradedate:
  18790. description: 历史交易日
  18791. type: string
  18792. isvaliddata:
  18793. description: 是否有效 - 0:无效 1:有效
  18794. type: integer
  18795. marketid:
  18796. description: 市场ID
  18797. type: integer
  18798. marketname:
  18799. description: 市场名称
  18800. type: string
  18801. moneyticket:
  18802. description: 资金流水号:银行端流水号
  18803. type: integer
  18804. operatetype:
  18805. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  18806. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  18807. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  18808. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  18809. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  18810. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  18811. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  18812. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  18813. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  18814. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  18815. type: integer
  18816. relationorderid:
  18817. description: 关联单号
  18818. type: string
  18819. remark:
  18820. description: 备注
  18821. type: string
  18822. trademode:
  18823. description: 交易模式
  18824. type: integer
  18825. required:
  18826. - accountid
  18827. - amount
  18828. - amountadjusttype
  18829. - autoid
  18830. - balance
  18831. - createtime
  18832. - currentbalance
  18833. - histradedate
  18834. - operatetype
  18835. type: object
  18836. trade.QueryRecieptOrderRsp:
  18837. properties:
  18838. accountName:
  18839. description: 所属账号名称(已脱敏)
  18840. type: string
  18841. accountid:
  18842. description: 资金账号
  18843. type: integer
  18844. buyorsell:
  18845. description: 方向 - 0:买 1:卖
  18846. type: integer
  18847. enableqty:
  18848. description: 可摘数量
  18849. type: integer
  18850. goodscode:
  18851. description: 商品代码
  18852. type: string
  18853. goodsid:
  18854. description: 商品ID
  18855. type: integer
  18856. goodsname:
  18857. description: 商品名称
  18858. type: string
  18859. orderid:
  18860. description: 委托单号
  18861. type: string
  18862. orderprice:
  18863. description: 委托价格
  18864. type: number
  18865. ordertime:
  18866. description: 委托时间
  18867. type: string
  18868. tradedate:
  18869. description: 交易日(yyyyMMdd)
  18870. type: string
  18871. required:
  18872. - ordertime
  18873. type: object
  18874. user.LoginQueryRsp:
  18875. properties:
  18876. areaRoles:
  18877. description: 所属角色信息
  18878. items:
  18879. $ref: '#/definitions/models.Arearole'
  18880. type: array
  18881. externalExchanges:
  18882. description: 外部交易所
  18883. items:
  18884. $ref: '#/definitions/models.Externalexchange'
  18885. type: array
  18886. goodsgroups:
  18887. description: 商品组
  18888. items:
  18889. $ref: '#/definitions/models.Goodsgroup'
  18890. type: array
  18891. loginAccount:
  18892. $ref: '#/definitions/models.Loginaccount'
  18893. description: 登录账号
  18894. markets:
  18895. description: 市场
  18896. items:
  18897. $ref: '#/definitions/models.Market'
  18898. type: array
  18899. systemParams:
  18900. description: 系统参数
  18901. items:
  18902. $ref: '#/definitions/models.Systemparam'
  18903. type: array
  18904. userAccount:
  18905. $ref: '#/definitions/models.Useraccount'
  18906. description: 用户账号
  18907. userInfo:
  18908. $ref: '#/definitions/models.Userinfo'
  18909. description: 用户信息
  18910. username:
  18911. description: 用户姓名
  18912. type: string
  18913. type: object
  18914. info:
  18915. contact: {}
  18916. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  18917. termsOfService: http://www.muchinfo.cn
  18918. title: MTP2.0 查询服务 API
  18919. version: "1.0"
  18920. paths:
  18921. /CPTrade/QueryCPTradeMyBidInfos:
  18922. get:
  18923. parameters:
  18924. - description: 资金账户
  18925. in: query
  18926. name: accountid
  18927. required: true
  18928. type: integer
  18929. - description: 预售市场ID
  18930. in: query
  18931. name: marketid
  18932. type: integer
  18933. - description: 预售商品ID
  18934. in: query
  18935. name: goodsid
  18936. type: integer
  18937. produces:
  18938. - application/json
  18939. responses:
  18940. "200":
  18941. description: OK
  18942. schema:
  18943. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  18944. "500":
  18945. description: Internal Server Error
  18946. schema:
  18947. $ref: '#/definitions/app.Response'
  18948. security:
  18949. - ApiKeyAuth: []
  18950. summary: 查询产能预售我的出价信息
  18951. tags:
  18952. - 产能预售
  18953. /CPTrade/QueryCPTradeOrderDetail:
  18954. get:
  18955. parameters:
  18956. - description: 预售商品ID
  18957. in: query
  18958. name: goodsid
  18959. type: integer
  18960. - description: 预售市场ID
  18961. in: query
  18962. name: marketid
  18963. type: integer
  18964. - description: 预售商品ID列表 - 格式:1,2,3
  18965. in: query
  18966. name: goodsids
  18967. type: string
  18968. produces:
  18969. - application/json
  18970. responses:
  18971. "200":
  18972. description: OK
  18973. schema:
  18974. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  18975. "500":
  18976. description: Internal Server Error
  18977. schema:
  18978. $ref: '#/definitions/app.Response'
  18979. security:
  18980. - ApiKeyAuth: []
  18981. summary: 查询产能预售委托单信息
  18982. tags:
  18983. - 产能预售
  18984. /CPTrade/QueryMyCPTradeGoods:
  18985. get:
  18986. parameters:
  18987. - description: 资金账户
  18988. in: query
  18989. name: accountid
  18990. required: true
  18991. type: integer
  18992. produces:
  18993. - application/json
  18994. responses:
  18995. "200":
  18996. description: OK
  18997. schema:
  18998. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  18999. "500":
  19000. description: Internal Server Error
  19001. schema:
  19002. $ref: '#/definitions/app.Response'
  19003. security:
  19004. - ApiKeyAuth: []
  19005. summary: 查询我的预售信息
  19006. tags:
  19007. - 产能预售
  19008. /CPTrade/QueryPositionCancel:
  19009. get:
  19010. parameters:
  19011. - description: 账户ID
  19012. in: query
  19013. name: userid
  19014. required: true
  19015. type: integer
  19016. - description: 注销ID
  19017. in: query
  19018. name: cancelid
  19019. type: integer
  19020. - description: 资金账户ID
  19021. in: query
  19022. name: accountid
  19023. type: integer
  19024. produces:
  19025. - application/json
  19026. responses:
  19027. "200":
  19028. description: OK
  19029. schema:
  19030. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  19031. "500":
  19032. description: Internal Server Error
  19033. schema:
  19034. $ref: '#/definitions/app.Response'
  19035. security:
  19036. - ApiKeyAuth: []
  19037. summary: 查询远期订单注销申请信息
  19038. tags:
  19039. - 产能预售
  19040. /CPTrade/QueryPreasleApply:
  19041. get:
  19042. parameters:
  19043. - description: 账户ID
  19044. in: query
  19045. name: userid
  19046. required: true
  19047. type: integer
  19048. - description: 申请ID
  19049. in: query
  19050. name: applyid
  19051. type: integer
  19052. - description: 资金账户ID
  19053. in: query
  19054. name: accountid
  19055. type: integer
  19056. produces:
  19057. - application/json
  19058. responses:
  19059. "200":
  19060. description: OK
  19061. schema:
  19062. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  19063. "500":
  19064. description: Internal Server Error
  19065. schema:
  19066. $ref: '#/definitions/app.Response'
  19067. security:
  19068. - ApiKeyAuth: []
  19069. summary: 查询产能预售申请信息
  19070. tags:
  19071. - 产能预售
  19072. /CPTrade/QueryPresaleGoodsEx:
  19073. get:
  19074. parameters:
  19075. - description: 预售商品ID
  19076. in: query
  19077. name: goodsid
  19078. type: integer
  19079. - description: 预售市场ID
  19080. in: query
  19081. name: marketid
  19082. type: integer
  19083. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  19084. in: query
  19085. name: presalemode
  19086. type: integer
  19087. - description: 预售商品ID列表 - 格式:1,2,3
  19088. in: query
  19089. name: goodsids
  19090. type: string
  19091. - description: 预售商品代码
  19092. in: query
  19093. name: goodscode
  19094. type: string
  19095. produces:
  19096. - application/json
  19097. responses:
  19098. "200":
  19099. description: OK
  19100. schema:
  19101. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  19102. "500":
  19103. description: Internal Server Error
  19104. schema:
  19105. $ref: '#/definitions/app.Response'
  19106. security:
  19107. - ApiKeyAuth: []
  19108. summary: 查询产能预售商品扩展信息
  19109. tags:
  19110. - 产能预售
  19111. /CPTrade/QueryUserGoodsData:
  19112. get:
  19113. parameters:
  19114. - description: 资金账户ID
  19115. in: query
  19116. name: accountid
  19117. required: true
  19118. type: integer
  19119. produces:
  19120. - application/json
  19121. responses:
  19122. "200":
  19123. description: OK
  19124. schema:
  19125. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  19126. "500":
  19127. description: Internal Server Error
  19128. schema:
  19129. $ref: '#/definitions/app.Response'
  19130. security:
  19131. - ApiKeyAuth: []
  19132. summary: 查询远期订单信息
  19133. tags:
  19134. - 产能预售
  19135. /Common/DeleteNewFuncmenu:
  19136. delete:
  19137. consumes:
  19138. - application/json
  19139. parameters:
  19140. - description: 菜单表数据,只需要resourcecode字段即可
  19141. in: body
  19142. name: data
  19143. required: true
  19144. schema:
  19145. $ref: '#/definitions/models.NewFuncmenulist'
  19146. produces:
  19147. - application/json
  19148. responses:
  19149. "200":
  19150. description: OK
  19151. schema:
  19152. $ref: '#/definitions/app.Response'
  19153. "500":
  19154. description: Internal Server Error
  19155. schema:
  19156. $ref: '#/definitions/app.Response'
  19157. security:
  19158. - ApiKeyAuth: []
  19159. summary: 删除菜单表数据
  19160. tags:
  19161. - 通用服务
  19162. /Common/FindNewFuncmenu:
  19163. get:
  19164. parameters:
  19165. - description: 资源代码
  19166. in: query
  19167. name: resourcecode
  19168. type: string
  19169. - description: 上级资源代码
  19170. in: query
  19171. name: parentcode
  19172. type: string
  19173. - description: 资源名(Title), 模糊查询
  19174. in: query
  19175. name: resourcename
  19176. type: string
  19177. - description: 菜单类型(格式:1,2,3) - 1:管理端 2:PC(C#) 3:移动(云平台) 4:终端(交易所) 5:PC(云平台)
  19178. in: query
  19179. name: menutype
  19180. type: string
  19181. produces:
  19182. - application/json
  19183. responses:
  19184. "200":
  19185. description: OK
  19186. schema:
  19187. items:
  19188. $ref: '#/definitions/models.NewFuncmenulist'
  19189. type: array
  19190. "500":
  19191. description: Internal Server Error
  19192. schema:
  19193. $ref: '#/definitions/app.Response'
  19194. security:
  19195. - ApiKeyAuth: []
  19196. summary: 获取菜单表数据
  19197. tags:
  19198. - 通用服务
  19199. /Common/GetAllEnums:
  19200. get:
  19201. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  19202. parameters:
  19203. - description: 起始自增ID
  19204. in: query
  19205. name: autoid
  19206. type: integer
  19207. produces:
  19208. - application/json
  19209. responses:
  19210. "200":
  19211. description: OK
  19212. schema:
  19213. $ref: '#/definitions/models.Enumdicitem'
  19214. "500":
  19215. description: Internal Server Error
  19216. schema:
  19217. $ref: '#/definitions/app.Response'
  19218. summary: 获取所有枚举信息
  19219. tags:
  19220. - 通用服务
  19221. /Common/GetClientMenus:
  19222. get:
  19223. parameters:
  19224. - description: 登录账号
  19225. in: query
  19226. name: loginID
  19227. required: true
  19228. type: integer
  19229. - description: 终端类型,0:PCWEB 1:Mobile,不传默认返回PC端数据
  19230. in: query
  19231. name: clientType
  19232. type: integer
  19233. - description: 分支名称,ermcp-风管云平台;pingan-平安期货;trader-交易所;不传默认返回风管云平台
  19234. in: query
  19235. name: name
  19236. type: string
  19237. produces:
  19238. - application/json
  19239. responses:
  19240. "200":
  19241. description: OK
  19242. schema:
  19243. items:
  19244. $ref: '#/definitions/common.ClientMenu'
  19245. type: array
  19246. "500":
  19247. description: Internal Server Error
  19248. schema:
  19249. $ref: '#/definitions/app.Response'
  19250. security:
  19251. - ApiKeyAuth: []
  19252. summary: 获取交易端菜单
  19253. tags:
  19254. - 通用服务
  19255. /Common/GetClientNewFuncmenu:
  19256. get:
  19257. parameters:
  19258. - description: 登录账号
  19259. in: query
  19260. name: loginid
  19261. required: true
  19262. type: integer
  19263. - description: 菜单类型 - 1:管理端 2:PC(C#) 3:移动(云平台) 4:终端(交易所) 5:PC(云平台)
  19264. in: query
  19265. name: menutype
  19266. required: true
  19267. type: integer
  19268. produces:
  19269. - application/json
  19270. responses:
  19271. "200":
  19272. description: OK
  19273. schema:
  19274. items:
  19275. $ref: '#/definitions/models.NewFuncmenulist'
  19276. type: array
  19277. "500":
  19278. description: Internal Server Error
  19279. schema:
  19280. $ref: '#/definitions/app.Response'
  19281. security:
  19282. - ApiKeyAuth: []
  19283. summary: 获取终端菜单
  19284. tags:
  19285. - 通用服务
  19286. /Common/GetDivisions:
  19287. get:
  19288. produces:
  19289. - application/json
  19290. responses:
  19291. "200":
  19292. description: OK
  19293. schema:
  19294. $ref: '#/definitions/models.Division'
  19295. "500":
  19296. description: Internal Server Error
  19297. schema:
  19298. $ref: '#/definitions/app.Response'
  19299. summary: 查询区域信息
  19300. tags:
  19301. - 通用服务
  19302. /Common/GetPCWebMenus:
  19303. get:
  19304. parameters:
  19305. - description: 登录账号
  19306. in: query
  19307. name: loginID
  19308. required: true
  19309. type: integer
  19310. - description: 分支名称,ermcp:风管云平台,不传默认返回ermcp
  19311. in: query
  19312. name: name
  19313. type: string
  19314. produces:
  19315. - application/json
  19316. responses:
  19317. "200":
  19318. description: OK
  19319. schema:
  19320. items:
  19321. $ref: '#/definitions/common.PCWebMenu'
  19322. type: array
  19323. "500":
  19324. description: Internal Server Error
  19325. schema:
  19326. $ref: '#/definitions/app.Response'
  19327. security:
  19328. - ApiKeyAuth: []
  19329. summary: 获取PCWeb交易端菜单
  19330. tags:
  19331. - 通用服务
  19332. /Common/GetServerTime:
  19333. get:
  19334. produces:
  19335. - application/json
  19336. responses:
  19337. "200":
  19338. description: OK
  19339. schema:
  19340. $ref: '#/definitions/app.Response'
  19341. "500":
  19342. description: Internal Server Error
  19343. schema:
  19344. $ref: '#/definitions/app.Response'
  19345. summary: 获取服务器时间
  19346. tags:
  19347. - 通用服务
  19348. /Common/InsertNewFuncmenu:
  19349. post:
  19350. consumes:
  19351. - application/json
  19352. parameters:
  19353. - description: 菜单表数据
  19354. in: body
  19355. name: data
  19356. required: true
  19357. schema:
  19358. $ref: '#/definitions/models.NewFuncmenulist'
  19359. produces:
  19360. - application/json
  19361. responses:
  19362. "200":
  19363. description: OK
  19364. schema:
  19365. $ref: '#/definitions/app.Response'
  19366. "500":
  19367. description: Internal Server Error
  19368. schema:
  19369. $ref: '#/definitions/app.Response'
  19370. security:
  19371. - ApiKeyAuth: []
  19372. summary: 插入菜单表数据
  19373. tags:
  19374. - 通用服务
  19375. /Common/NoticeReaded:
  19376. post:
  19377. parameters:
  19378. - description: 登录账号
  19379. in: query
  19380. name: loginID
  19381. required: true
  19382. type: integer
  19383. - description: 通知公告ID
  19384. in: query
  19385. name: noticeID
  19386. required: true
  19387. type: integer
  19388. produces:
  19389. - application/json
  19390. responses:
  19391. "200":
  19392. description: OK
  19393. schema:
  19394. $ref: '#/definitions/app.Response'
  19395. "500":
  19396. description: Internal Server Error
  19397. schema:
  19398. $ref: '#/definitions/app.Response'
  19399. security:
  19400. - ApiKeyAuth: []
  19401. summary: 通知公告设置已读请求
  19402. tags:
  19403. - 通用服务
  19404. /Common/QueryErrorInfos:
  19405. get:
  19406. description: 如果传入rowNumber,则返回此rowNumber后的数据
  19407. parameters:
  19408. - description: 起始行号前索引
  19409. in: query
  19410. name: rowNumber
  19411. type: string
  19412. produces:
  19413. - application/json
  19414. responses:
  19415. "200":
  19416. description: OK
  19417. schema:
  19418. $ref: '#/definitions/models.QueryErrorInfosRsp'
  19419. "500":
  19420. description: Internal Server Error
  19421. schema:
  19422. $ref: '#/definitions/app.Response'
  19423. summary: 获取数据库错误信息
  19424. tags:
  19425. - 通用服务
  19426. /Common/QueryImageConfigs:
  19427. get:
  19428. parameters:
  19429. - description: 用户id
  19430. in: query
  19431. name: userId
  19432. type: integer
  19433. - description: 类型 - 1:App首页轮播 2:我的 3:首页(PC) 4:首页推广(移动-新会)
  19434. in: query
  19435. name: imageType
  19436. type: integer
  19437. produces:
  19438. - application/json
  19439. responses:
  19440. "200":
  19441. description: OK
  19442. schema:
  19443. $ref: '#/definitions/common.QueryImageConfigsRsp'
  19444. "500":
  19445. description: Internal Server Error
  19446. schema:
  19447. $ref: '#/definitions/app.Response'
  19448. summary: 查询轮播图配置信息
  19449. tags:
  19450. - 通用服务
  19451. /Common/QueryNotice:
  19452. get:
  19453. parameters:
  19454. - description: 页码
  19455. in: query
  19456. name: page
  19457. type: integer
  19458. - description: 每页条数
  19459. in: query
  19460. name: pagesize
  19461. type: integer
  19462. - description: 登录账号
  19463. in: query
  19464. name: loginID
  19465. required: true
  19466. type: integer
  19467. - description: 消息类型 - 1:公告通知 2:系统消息
  19468. in: query
  19469. name: msgType
  19470. type: integer
  19471. - description: 是否只获取未读信息
  19472. in: query
  19473. name: onlyUnRead
  19474. type: boolean
  19475. - description: 自增ID,传入后会返回这个ID后面的记录
  19476. in: query
  19477. name: lastID
  19478. type: integer
  19479. produces:
  19480. - application/json
  19481. responses:
  19482. "200":
  19483. description: OK
  19484. schema:
  19485. $ref: '#/definitions/common.QueryNoticeRsp'
  19486. "500":
  19487. description: Internal Server Error
  19488. schema:
  19489. $ref: '#/definitions/app.Response'
  19490. security:
  19491. - ApiKeyAuth: []
  19492. summary: 通知公告系统消息查询
  19493. tags:
  19494. - 通用服务
  19495. /Common/QueryProvincesAndCities:
  19496. get:
  19497. parameters:
  19498. - description: 省ID
  19499. in: query
  19500. name: provinceID
  19501. type: integer
  19502. produces:
  19503. - application/json
  19504. responses:
  19505. "200":
  19506. description: OK
  19507. schema:
  19508. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  19509. "500":
  19510. description: Internal Server Error
  19511. schema:
  19512. $ref: '#/definitions/app.Response'
  19513. summary: 查询省市信息(不包括区)
  19514. tags:
  19515. - 通用服务
  19516. /Common/QueryTableDefine:
  19517. get:
  19518. parameters:
  19519. - description: 表key
  19520. in: query
  19521. name: tableKey
  19522. type: string
  19523. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  19524. in: query
  19525. name: tableType
  19526. type: integer
  19527. produces:
  19528. - application/json
  19529. responses:
  19530. "200":
  19531. description: OK
  19532. schema:
  19533. $ref: '#/definitions/common.QueryTableDefineRsp'
  19534. "500":
  19535. description: Internal Server Error
  19536. schema:
  19537. $ref: '#/definitions/app.Response'
  19538. summary: 查询交易端列表头信息
  19539. tags:
  19540. - 通用服务
  19541. /Common/QueryTraderMenu:
  19542. get:
  19543. parameters:
  19544. - description: 登录账号
  19545. in: query
  19546. name: loginid
  19547. required: true
  19548. type: integer
  19549. produces:
  19550. - application/json
  19551. responses:
  19552. "200":
  19553. description: OK
  19554. schema:
  19555. $ref: '#/definitions/common.QueryTraderMenuRsp'
  19556. "500":
  19557. description: Internal Server Error
  19558. schema:
  19559. $ref: '#/definitions/app.Response'
  19560. summary: 查询交易端菜单
  19561. tags:
  19562. - 通用服务
  19563. /Common/UpdateNewFuncmenu:
  19564. put:
  19565. consumes:
  19566. - application/json
  19567. parameters:
  19568. - description: 菜单表数据
  19569. in: body
  19570. name: data
  19571. required: true
  19572. schema:
  19573. $ref: '#/definitions/models.NewFuncmenulist'
  19574. produces:
  19575. - application/json
  19576. responses:
  19577. "200":
  19578. description: OK
  19579. schema:
  19580. $ref: '#/definitions/app.Response'
  19581. "500":
  19582. description: Internal Server Error
  19583. schema:
  19584. $ref: '#/definitions/app.Response'
  19585. security:
  19586. - ApiKeyAuth: []
  19587. summary: 更新菜单表数据
  19588. tags:
  19589. - 通用服务
  19590. /Delivery/QueryDeliveryRelation:
  19591. get:
  19592. parameters:
  19593. - description: 商品ID
  19594. in: query
  19595. name: goodsid
  19596. type: integer
  19597. - description: 品种ID
  19598. in: query
  19599. name: deliverygoodsid
  19600. type: integer
  19601. - description: 市场ID
  19602. in: query
  19603. name: marketid
  19604. type: integer
  19605. produces:
  19606. - application/json
  19607. responses:
  19608. "200":
  19609. description: OK
  19610. schema:
  19611. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  19612. "500":
  19613. description: Internal Server Error
  19614. schema:
  19615. $ref: '#/definitions/app.Response'
  19616. security:
  19617. - ApiKeyAuth: []
  19618. summary: 查询商品交割关系表
  19619. tags:
  19620. - 交割服务
  19621. /Ermcp/GetErmcpGoods:
  19622. get:
  19623. parameters:
  19624. - description: 用户id(风管云平台版本传值, 只显示用户下设置了套保关联的品种)
  19625. in: query
  19626. name: userid
  19627. type: integer
  19628. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  19629. in: query
  19630. name: lastUpdateTime
  19631. type: string
  19632. produces:
  19633. - application/json
  19634. responses:
  19635. "200":
  19636. description: OK
  19637. schema:
  19638. $ref: '#/definitions/models.ErmcpGoods'
  19639. "500":
  19640. description: Internal Server Error
  19641. schema:
  19642. $ref: '#/definitions/app.Response'
  19643. security:
  19644. - ApiKeyAuth: []
  19645. summary: 查询企业风管期货商品信息
  19646. tags:
  19647. - 企业风险管理(app)
  19648. /Ermcp/GetErmcpGoodsSortByPosition:
  19649. get:
  19650. parameters:
  19651. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  19652. in: query
  19653. name: sortIndex
  19654. type: string
  19655. produces:
  19656. - application/json
  19657. responses:
  19658. "200":
  19659. description: OK
  19660. schema:
  19661. $ref: '#/definitions/models.Goodssortbypreposition'
  19662. "500":
  19663. description: Internal Server Error
  19664. schema:
  19665. $ref: '#/definitions/app.Response'
  19666. security:
  19667. - ApiKeyAuth: []
  19668. summary: 查询企业风管期货主力、次主力商品信息
  19669. tags:
  19670. - 企业风险管理(app)
  19671. /Ermcp/GetErmcpOutAccountStatus:
  19672. get:
  19673. parameters:
  19674. - description: 登录账号
  19675. in: query
  19676. name: loginID
  19677. required: true
  19678. type: integer
  19679. produces:
  19680. - application/json
  19681. responses:
  19682. "200":
  19683. description: OK
  19684. schema:
  19685. $ref: '#/definitions/models.Hedgemarketopenlog'
  19686. "500":
  19687. description: Internal Server Error
  19688. schema:
  19689. $ref: '#/definitions/app.Response'
  19690. security:
  19691. - ApiKeyAuth: []
  19692. summary: 获取目标登录账号当前对冲账号在线状态
  19693. tags:
  19694. - 企业风险管理(app)
  19695. /Ermcp/GetErmcpRoleFuncMenuLists:
  19696. get:
  19697. parameters:
  19698. - description: 登录账号
  19699. in: query
  19700. name: loginID
  19701. required: true
  19702. type: integer
  19703. produces:
  19704. - application/json
  19705. responses:
  19706. "200":
  19707. description: OK
  19708. schema:
  19709. $ref: '#/definitions/models.Funcmenulist'
  19710. "500":
  19711. description: Internal Server Error
  19712. schema:
  19713. $ref: '#/definitions/app.Response'
  19714. security:
  19715. - ApiKeyAuth: []
  19716. summary: 获取企业风管终端权限
  19717. tags:
  19718. - 企业风险管理(app)
  19719. /Ermcp/QueryAccMgrBizGroupSet:
  19720. get:
  19721. parameters:
  19722. - description: 用户ID
  19723. in: query
  19724. name: userid
  19725. required: true
  19726. type: integer
  19727. - description: 现货商品id
  19728. in: query
  19729. name: deliverygoodsid
  19730. type: integer
  19731. produces:
  19732. - application/json
  19733. responses:
  19734. "200":
  19735. description: OK
  19736. schema:
  19737. items:
  19738. $ref: '#/definitions/models.ErmcpBizGroupEx'
  19739. type: array
  19740. "500":
  19741. description: Internal Server Error
  19742. schema:
  19743. $ref: '#/definitions/app.Response'
  19744. security:
  19745. - ApiKeyAuth: []
  19746. summary: 查询业务类型分组(账户管理/账户设置)
  19747. tags:
  19748. - 企业风险管理(app)
  19749. /Ermcp/QueryAccMgrLoginUser:
  19750. get:
  19751. parameters:
  19752. - description: 用户ID
  19753. in: query
  19754. name: userid
  19755. required: true
  19756. type: integer
  19757. - description: 用户类型 2-机构 7-企业成员
  19758. in: query
  19759. name: usertype
  19760. type: integer
  19761. - description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  19762. in: query
  19763. name: querytype
  19764. required: true
  19765. type: integer
  19766. produces:
  19767. - application/json
  19768. responses:
  19769. "200":
  19770. description: OK
  19771. schema:
  19772. items:
  19773. $ref: '#/definitions/models.ErmcpLoginUserEx'
  19774. type: array
  19775. "500":
  19776. description: Internal Server Error
  19777. schema:
  19778. $ref: '#/definitions/app.Response'
  19779. security:
  19780. - ApiKeyAuth: []
  19781. summary: 查询账户管理登录账号(账户管理/登录账号)
  19782. tags:
  19783. - 企业风险管理(app)
  19784. /Ermcp/QueryAccMgrMainAccountInfo:
  19785. get:
  19786. parameters:
  19787. - description: 用户ID
  19788. in: query
  19789. name: userid
  19790. type: integer
  19791. - description: 主账号id
  19792. in: query
  19793. name: accountid
  19794. type: integer
  19795. produces:
  19796. - application/json
  19797. responses:
  19798. "200":
  19799. description: OK
  19800. schema:
  19801. items:
  19802. $ref: '#/definitions/models.MainAccountInfo'
  19803. type: array
  19804. "500":
  19805. description: Internal Server Error
  19806. schema:
  19807. $ref: '#/definitions/app.Response'
  19808. security:
  19809. - ApiKeyAuth: []
  19810. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  19811. tags:
  19812. - 企业风险管理(app)
  19813. /Ermcp/QueryAccMgrRole:
  19814. get:
  19815. parameters:
  19816. - description: 用户ID
  19817. in: query
  19818. name: userid
  19819. required: true
  19820. type: integer
  19821. produces:
  19822. - application/json
  19823. responses:
  19824. "200":
  19825. description: OK
  19826. schema:
  19827. items:
  19828. $ref: '#/definitions/models.ErmcpRole'
  19829. type: array
  19830. "500":
  19831. description: Internal Server Error
  19832. schema:
  19833. $ref: '#/definitions/app.Response'
  19834. security:
  19835. - ApiKeyAuth: []
  19836. summary: 查询账户管理角色设置(账户管理/角色设置)
  19837. tags:
  19838. - 企业风险管理(app)
  19839. /Ermcp/QueryAccMgrRoleMenu:
  19840. get:
  19841. parameters:
  19842. - description: 用户ID
  19843. in: query
  19844. name: userid
  19845. required: true
  19846. type: integer
  19847. - description: 角色id(可多个,逗号隔开)
  19848. in: query
  19849. name: roleid
  19850. type: string
  19851. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易 ps:新加的参数,为了兼容以前,不传则默认查3
  19852. in: query
  19853. name: menutype
  19854. type: integer
  19855. produces:
  19856. - application/json
  19857. responses:
  19858. "200":
  19859. description: OK
  19860. schema:
  19861. items:
  19862. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  19863. type: array
  19864. "500":
  19865. description: Internal Server Error
  19866. schema:
  19867. $ref: '#/definitions/app.Response'
  19868. security:
  19869. - ApiKeyAuth: []
  19870. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  19871. tags:
  19872. - 企业风险管理(app)
  19873. /Ermcp/QueryAccMgrTaAccountInfo:
  19874. get:
  19875. parameters:
  19876. - description: 用户ID
  19877. in: query
  19878. name: userid
  19879. required: true
  19880. type: integer
  19881. - description: 账号id
  19882. in: query
  19883. name: accountid
  19884. type: integer
  19885. produces:
  19886. - application/json
  19887. responses:
  19888. "200":
  19889. description: OK
  19890. schema:
  19891. items:
  19892. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  19893. type: array
  19894. "500":
  19895. description: Internal Server Error
  19896. schema:
  19897. $ref: '#/definitions/app.Response'
  19898. security:
  19899. - ApiKeyAuth: []
  19900. summary: 查询账户管理授信(账户管理/账户设置/授信)
  19901. tags:
  19902. - 企业风险管理(app)
  19903. /Ermcp/QueryAccMgrTaaccount:
  19904. get:
  19905. parameters:
  19906. - description: 用户ID
  19907. in: query
  19908. name: userid
  19909. required: true
  19910. type: integer
  19911. produces:
  19912. - application/json
  19913. responses:
  19914. "200":
  19915. description: OK
  19916. schema:
  19917. items:
  19918. $ref: '#/definitions/models.ErmcpTaAccountEx'
  19919. type: array
  19920. "500":
  19921. description: Internal Server Error
  19922. schema:
  19923. $ref: '#/definitions/app.Response'
  19924. security:
  19925. - ApiKeyAuth: []
  19926. summary: 查询账户管理期货账号(账户管理/期货账号)
  19927. tags:
  19928. - 企业风险管理(app)
  19929. /Ermcp/QueryAvaildGoodsGroup:
  19930. get:
  19931. parameters:
  19932. - description: 所属机构ID
  19933. in: query
  19934. name: userid
  19935. required: true
  19936. type: integer
  19937. produces:
  19938. - application/json
  19939. responses:
  19940. "200":
  19941. description: OK
  19942. schema:
  19943. items:
  19944. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  19945. type: array
  19946. "500":
  19947. description: Internal Server Error
  19948. schema:
  19949. $ref: '#/definitions/app.Response'
  19950. security:
  19951. - ApiKeyAuth: []
  19952. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  19953. tags:
  19954. - 企业风险管理(app)
  19955. /Ermcp/QueryBusinessDj:
  19956. get:
  19957. parameters:
  19958. - description: 用户ID
  19959. in: query
  19960. name: UserId
  19961. required: true
  19962. type: integer
  19963. - description: 用户类型 2-机构 7-企业成员
  19964. in: query
  19965. name: usertype
  19966. type: integer
  19967. - description: 现货合同ID, 不填则查所有
  19968. in: query
  19969. name: relatedid
  19970. type: string
  19971. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  19972. in: query
  19973. name: applystatus
  19974. type: string
  19975. produces:
  19976. - application/json
  19977. responses:
  19978. "200":
  19979. description: OK
  19980. schema:
  19981. items:
  19982. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  19983. type: array
  19984. "500":
  19985. description: Internal Server Error
  19986. schema:
  19987. $ref: '#/definitions/app.Response'
  19988. security:
  19989. - ApiKeyAuth: []
  19990. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  19991. tags:
  19992. - 企业风险管理(app)
  19993. /Ermcp/QueryBusinessFp:
  19994. get:
  19995. parameters:
  19996. - description: 用户ID
  19997. in: query
  19998. name: UserId
  19999. required: true
  20000. type: integer
  20001. - description: 用户类型 2-机构 7-企业成员
  20002. in: query
  20003. name: usertype
  20004. type: integer
  20005. - description: 现货合同ID, 不填则查所有
  20006. in: query
  20007. name: relatedid
  20008. type: string
  20009. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20010. in: query
  20011. name: applystatus
  20012. type: string
  20013. produces:
  20014. - application/json
  20015. responses:
  20016. "200":
  20017. description: OK
  20018. schema:
  20019. items:
  20020. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  20021. type: array
  20022. "500":
  20023. description: Internal Server Error
  20024. schema:
  20025. $ref: '#/definitions/app.Response'
  20026. security:
  20027. - ApiKeyAuth: []
  20028. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  20029. tags:
  20030. - 企业风险管理(app)
  20031. /Ermcp/QueryBusinessJs:
  20032. get:
  20033. parameters:
  20034. - description: 用户ID
  20035. in: query
  20036. name: UserId
  20037. required: true
  20038. type: integer
  20039. - description: 用户类型 2-机构 7-企业成员
  20040. in: query
  20041. name: usertype
  20042. type: integer
  20043. - description: 现货合同ID, 不填则查所有
  20044. in: query
  20045. name: relatedid
  20046. type: string
  20047. - description: 操作申请id
  20048. in: query
  20049. name: operateapplyid
  20050. type: string
  20051. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20052. in: query
  20053. name: applystatus
  20054. type: string
  20055. produces:
  20056. - application/json
  20057. responses:
  20058. "200":
  20059. description: OK
  20060. schema:
  20061. items:
  20062. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  20063. type: array
  20064. "500":
  20065. description: Internal Server Error
  20066. schema:
  20067. $ref: '#/definitions/app.Response'
  20068. security:
  20069. - ApiKeyAuth: []
  20070. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  20071. tags:
  20072. - 企业风险管理(app)
  20073. /Ermcp/QueryBusinessJsEx:
  20074. get:
  20075. parameters:
  20076. - description: 用户ID
  20077. in: query
  20078. name: UserId
  20079. required: true
  20080. type: integer
  20081. - description: 用户类型 2-机构 7-企业成员
  20082. in: query
  20083. name: usertype
  20084. type: integer
  20085. - description: 现货合同ID, 不填则查所有
  20086. in: query
  20087. name: relatedid
  20088. type: string
  20089. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20090. in: query
  20091. name: applystatus
  20092. type: string
  20093. produces:
  20094. - application/json
  20095. responses:
  20096. "200":
  20097. description: OK
  20098. schema:
  20099. items:
  20100. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  20101. type: array
  20102. "500":
  20103. description: Internal Server Error
  20104. schema:
  20105. $ref: '#/definitions/app.Response'
  20106. security:
  20107. - ApiKeyAuth: []
  20108. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  20109. tags:
  20110. - 企业风险管理(app)
  20111. /Ermcp/QueryBusinessKx:
  20112. get:
  20113. parameters:
  20114. - description: 用户ID
  20115. in: query
  20116. name: UserId
  20117. required: true
  20118. type: integer
  20119. - description: 用户类型 2-机构 7-企业成员
  20120. in: query
  20121. name: usertype
  20122. type: integer
  20123. - description: 现货合同ID, 不填则查所有
  20124. in: query
  20125. name: relatedid
  20126. type: string
  20127. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20128. in: query
  20129. name: applystatus
  20130. type: string
  20131. produces:
  20132. - application/json
  20133. responses:
  20134. "200":
  20135. description: OK
  20136. schema:
  20137. items:
  20138. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  20139. type: array
  20140. "500":
  20141. description: Internal Server Error
  20142. schema:
  20143. $ref: '#/definitions/app.Response'
  20144. security:
  20145. - ApiKeyAuth: []
  20146. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  20147. tags:
  20148. - 企业风险管理(app)
  20149. /Ermcp/QueryChangeLog:
  20150. get:
  20151. parameters:
  20152. - description: 合同ID
  20153. in: query
  20154. name: RelatedId
  20155. required: true
  20156. type: string
  20157. produces:
  20158. - application/json
  20159. responses:
  20160. "200":
  20161. description: OK
  20162. schema:
  20163. items:
  20164. $ref: '#/definitions/ermcp.QryOPLogRsp'
  20165. type: array
  20166. "500":
  20167. description: Internal Server Error
  20168. schema:
  20169. $ref: '#/definitions/app.Response'
  20170. security:
  20171. - ApiKeyAuth: []
  20172. summary: 查询变更记录
  20173. tags:
  20174. - 企业风险管理(app)
  20175. /Ermcp/QueryErmcpHisOrderDetails:
  20176. get:
  20177. parameters:
  20178. - description: 资金账户ID
  20179. in: query
  20180. name: accountID
  20181. required: true
  20182. type: integer
  20183. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  20184. in: query
  20185. name: startDate
  20186. type: string
  20187. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  20188. in: query
  20189. name: endDate
  20190. type: string
  20191. produces:
  20192. - application/json
  20193. responses:
  20194. "200":
  20195. description: OK
  20196. schema:
  20197. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  20198. "500":
  20199. description: Internal Server Error
  20200. schema:
  20201. $ref: '#/definitions/app.Response'
  20202. security:
  20203. - ApiKeyAuth: []
  20204. summary: 获取企业风管期货历史委托单信息
  20205. tags:
  20206. - 企业风险管理(app)
  20207. /Ermcp/QueryErmcpHisTradeDetails:
  20208. get:
  20209. parameters:
  20210. - description: 资金账户ID
  20211. in: query
  20212. name: accountID
  20213. required: true
  20214. type: integer
  20215. - description: 商品ID
  20216. in: query
  20217. name: goodsID
  20218. type: integer
  20219. - description: 买卖方向,0:买 1:卖
  20220. in: query
  20221. name: buyOrSell
  20222. type: integer
  20223. - description: 关联委托单号
  20224. in: query
  20225. name: orderID
  20226. type: integer
  20227. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  20228. in: query
  20229. name: startDate
  20230. type: string
  20231. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  20232. in: query
  20233. name: endDate
  20234. type: string
  20235. produces:
  20236. - application/json
  20237. responses:
  20238. "200":
  20239. description: OK
  20240. schema:
  20241. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  20242. "500":
  20243. description: Internal Server Error
  20244. schema:
  20245. $ref: '#/definitions/app.Response'
  20246. security:
  20247. - ApiKeyAuth: []
  20248. summary: 获取企业风管期货历史成交单信息
  20249. tags:
  20250. - 企业风险管理(app)
  20251. /Ermcp/QueryErmcpInnerHolderDetails:
  20252. get:
  20253. parameters:
  20254. - description: 资金账户ID
  20255. in: query
  20256. name: accountID
  20257. required: true
  20258. type: integer
  20259. - description: 商品ID
  20260. in: query
  20261. name: goodsID
  20262. type: integer
  20263. - description: 买卖方向,0:买 1:卖
  20264. in: query
  20265. name: buyOrSell
  20266. type: integer
  20267. produces:
  20268. - application/json
  20269. responses:
  20270. "200":
  20271. description: OK
  20272. schema:
  20273. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  20274. "500":
  20275. description: Internal Server Error
  20276. schema:
  20277. $ref: '#/definitions/app.Response'
  20278. security:
  20279. - ApiKeyAuth: []
  20280. summary: 获取企业风管期货内部持仓单信息
  20281. tags:
  20282. - 企业风险管理(app)
  20283. /Ermcp/QueryErmcpOrderDetails:
  20284. get:
  20285. parameters:
  20286. - description: 资金账户ID
  20287. in: query
  20288. name: accountID
  20289. required: true
  20290. type: integer
  20291. produces:
  20292. - application/json
  20293. responses:
  20294. "200":
  20295. description: OK
  20296. schema:
  20297. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  20298. "500":
  20299. description: Internal Server Error
  20300. schema:
  20301. $ref: '#/definitions/app.Response'
  20302. security:
  20303. - ApiKeyAuth: []
  20304. summary: 获取企业风管期货委托单信息
  20305. tags:
  20306. - 企业风险管理(app)
  20307. /Ermcp/QueryErmcpTradeDetails:
  20308. get:
  20309. parameters:
  20310. - description: 资金账户ID
  20311. in: query
  20312. name: accountID
  20313. required: true
  20314. type: integer
  20315. - description: 商品ID
  20316. in: query
  20317. name: goodsID
  20318. type: integer
  20319. - description: 买卖方向,0:买 1:卖
  20320. in: query
  20321. name: buyOrSell
  20322. type: integer
  20323. - description: 关联委托单号
  20324. in: query
  20325. name: orderID
  20326. type: integer
  20327. produces:
  20328. - application/json
  20329. responses:
  20330. "200":
  20331. description: OK
  20332. schema:
  20333. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  20334. "500":
  20335. description: Internal Server Error
  20336. schema:
  20337. $ref: '#/definitions/app.Response'
  20338. security:
  20339. - ApiKeyAuth: []
  20340. summary: 获取企业风管期货成交单信息
  20341. tags:
  20342. - 企业风险管理(app)
  20343. /Ermcp/QueryErmcpTradePosition:
  20344. get:
  20345. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  20346. parameters:
  20347. - description: 资金账户ID
  20348. in: query
  20349. name: accountID
  20350. required: true
  20351. type: integer
  20352. - description: 所属市场ID
  20353. in: query
  20354. name: marketID
  20355. type: integer
  20356. produces:
  20357. - application/json
  20358. responses:
  20359. "200":
  20360. description: OK
  20361. schema:
  20362. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  20363. "500":
  20364. description: Internal Server Error
  20365. schema:
  20366. $ref: '#/definitions/app.Response'
  20367. security:
  20368. - ApiKeyAuth: []
  20369. summary: 获取企业风管期货持仓头寸信息
  20370. tags:
  20371. - 企业风险管理(app)
  20372. /Ermcp/QueryExposureDetail:
  20373. get:
  20374. parameters:
  20375. - description: 所属机构ID
  20376. in: query
  20377. name: areaUserId
  20378. required: true
  20379. type: integer
  20380. - description: 套保商品
  20381. in: query
  20382. name: middleGoodsId
  20383. required: true
  20384. type: integer
  20385. produces:
  20386. - application/json
  20387. responses:
  20388. "200":
  20389. description: OK
  20390. schema:
  20391. items:
  20392. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  20393. type: array
  20394. "500":
  20395. description: Internal Server Error
  20396. schema:
  20397. $ref: '#/definitions/app.Response'
  20398. security:
  20399. - ApiKeyAuth: []
  20400. summary: 查询敞口现货明细
  20401. tags:
  20402. - 企业风险管理(app)
  20403. /Ermcp/QueryExposureGoods:
  20404. get:
  20405. parameters:
  20406. - description: 套保商品id
  20407. in: query
  20408. name: middlegoodsid
  20409. required: true
  20410. type: integer
  20411. produces:
  20412. - application/json
  20413. responses:
  20414. "200":
  20415. description: OK
  20416. schema:
  20417. items:
  20418. $ref: '#/definitions/models.ErmcpMiddlegoodsRelateGoods'
  20419. type: array
  20420. "500":
  20421. description: Internal Server Error
  20422. schema:
  20423. $ref: '#/definitions/app.Response'
  20424. security:
  20425. - ApiKeyAuth: []
  20426. summary: 查询敞口主力合约
  20427. tags:
  20428. - 企业风险管理(app)
  20429. /Ermcp/QueryExposureHedgePosition:
  20430. get:
  20431. parameters:
  20432. - description: 用户id
  20433. in: query
  20434. name: userid
  20435. required: true
  20436. type: integer
  20437. produces:
  20438. - application/json
  20439. responses:
  20440. "200":
  20441. description: OK
  20442. schema:
  20443. items:
  20444. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  20445. type: array
  20446. "500":
  20447. description: Internal Server Error
  20448. schema:
  20449. $ref: '#/definitions/app.Response'
  20450. security:
  20451. - ApiKeyAuth: []
  20452. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  20453. tags:
  20454. - 企业风险管理(app)
  20455. /Ermcp/QueryExposureHedgePositionDetail:
  20456. get:
  20457. parameters:
  20458. - description: 所属机构ID
  20459. in: query
  20460. name: userid
  20461. required: true
  20462. type: integer
  20463. - description: 商品id
  20464. in: query
  20465. name: goodsId
  20466. required: true
  20467. type: integer
  20468. produces:
  20469. - application/json
  20470. responses:
  20471. "200":
  20472. description: OK
  20473. schema:
  20474. items:
  20475. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  20476. type: array
  20477. "500":
  20478. description: Internal Server Error
  20479. schema:
  20480. $ref: '#/definitions/app.Response'
  20481. security:
  20482. - ApiKeyAuth: []
  20483. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  20484. tags:
  20485. - 企业风险管理(app)
  20486. /Ermcp/QueryExposureSpot:
  20487. get:
  20488. parameters:
  20489. - description: 所属机构ID
  20490. in: query
  20491. name: areaUserId
  20492. required: true
  20493. type: integer
  20494. produces:
  20495. - application/json
  20496. responses:
  20497. "200":
  20498. description: OK
  20499. schema:
  20500. items:
  20501. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  20502. type: array
  20503. "500":
  20504. description: Internal Server Error
  20505. schema:
  20506. $ref: '#/definitions/app.Response'
  20507. security:
  20508. - ApiKeyAuth: []
  20509. summary: 查询敞口现货头寸(敞口/现货头寸)
  20510. tags:
  20511. - 企业风险管理(app)
  20512. /Ermcp/QueryExposureSpotDetail:
  20513. get:
  20514. parameters:
  20515. - description: 所属机构ID
  20516. in: query
  20517. name: areaUserId
  20518. required: true
  20519. type: integer
  20520. - description: 现货品种ID
  20521. in: query
  20522. name: wrstandardId
  20523. required: true
  20524. type: integer
  20525. produces:
  20526. - application/json
  20527. responses:
  20528. "200":
  20529. description: OK
  20530. schema:
  20531. items:
  20532. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  20533. type: array
  20534. "500":
  20535. description: Internal Server Error
  20536. schema:
  20537. $ref: '#/definitions/app.Response'
  20538. security:
  20539. - ApiKeyAuth: []
  20540. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  20541. tags:
  20542. - 企业风险管理(app)
  20543. /Ermcp/QueryFuturesCompany:
  20544. get:
  20545. produces:
  20546. - application/json
  20547. responses:
  20548. "200":
  20549. description: OK
  20550. schema:
  20551. items:
  20552. $ref: '#/definitions/models.ErmcpFuturesCompany'
  20553. type: array
  20554. "500":
  20555. description: Internal Server Error
  20556. schema:
  20557. $ref: '#/definitions/app.Response'
  20558. security:
  20559. - ApiKeyAuth: []
  20560. summary: 查询期货公司
  20561. tags:
  20562. - 企业风险管理(app)
  20563. /Ermcp/QueryGGConvertConfig:
  20564. get:
  20565. parameters:
  20566. - description: 品种id(不填则查所有)
  20567. in: query
  20568. name: goodsgroupid
  20569. type: integer
  20570. produces:
  20571. - application/json
  20572. responses:
  20573. "200":
  20574. description: OK
  20575. schema:
  20576. items:
  20577. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  20578. type: array
  20579. "500":
  20580. description: Internal Server Error
  20581. schema:
  20582. $ref: '#/definitions/app.Response'
  20583. security:
  20584. - ApiKeyAuth: []
  20585. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  20586. tags:
  20587. - 企业风险管理(app)
  20588. /Ermcp/QueryGoodsBrand:
  20589. get:
  20590. parameters:
  20591. - description: 用户ID
  20592. in: query
  20593. name: userid
  20594. required: true
  20595. type: integer
  20596. - description: 现货商品ID
  20597. in: query
  20598. name: wrstandardid
  20599. type: integer
  20600. produces:
  20601. - application/json
  20602. responses:
  20603. "200":
  20604. description: OK
  20605. schema:
  20606. items:
  20607. $ref: '#/definitions/models.ErmcpGoodsBrand'
  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/QueryGoodsModel:
  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/models.ErmcpGoodsModel'
  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/QueryHisExposure:
  20645. get:
  20646. parameters:
  20647. - description: 用户id
  20648. in: query
  20649. name: userid
  20650. required: true
  20651. type: integer
  20652. - description: 每个品种记录数
  20653. in: query
  20654. name: lastNum
  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.HisExposureRsp'
  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/QueryMiddleGoods:
  20676. get:
  20677. parameters:
  20678. - description: 所属机构ID
  20679. in: query
  20680. name: userid
  20681. required: true
  20682. type: integer
  20683. - description: 状态 0-停用 1-正常
  20684. in: query
  20685. name: status
  20686. required: true
  20687. type: integer
  20688. produces:
  20689. - application/json
  20690. responses:
  20691. "200":
  20692. description: OK
  20693. schema:
  20694. items:
  20695. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  20696. type: array
  20697. "500":
  20698. description: Internal Server Error
  20699. schema:
  20700. $ref: '#/definitions/app.Response'
  20701. security:
  20702. - ApiKeyAuth: []
  20703. summary: 查询套保品种(菜单:套保品种)
  20704. tags:
  20705. - 企业风险管理(app)
  20706. /Ermcp/QueryMiddleGoodsChangeLog:
  20707. get:
  20708. parameters:
  20709. - description: 所属机构ID
  20710. in: query
  20711. name: userid
  20712. required: true
  20713. type: integer
  20714. - description: 套保品种id
  20715. in: query
  20716. name: middlegoodsid
  20717. required: true
  20718. type: integer
  20719. produces:
  20720. - application/json
  20721. responses:
  20722. "200":
  20723. description: OK
  20724. schema:
  20725. items:
  20726. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  20727. type: array
  20728. "500":
  20729. description: Internal Server Error
  20730. schema:
  20731. $ref: '#/definitions/app.Response'
  20732. security:
  20733. - ApiKeyAuth: []
  20734. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  20735. tags:
  20736. - 企业风险管理(app)
  20737. /Ermcp/QueryMiddleGoodsDetail:
  20738. get:
  20739. parameters:
  20740. - description: 所属机构ID
  20741. in: query
  20742. name: userid
  20743. required: true
  20744. type: integer
  20745. - description: 套保品种id
  20746. in: query
  20747. name: middlegoodsid
  20748. type: integer
  20749. produces:
  20750. - application/json
  20751. responses:
  20752. "200":
  20753. description: OK
  20754. schema:
  20755. items:
  20756. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  20757. type: array
  20758. "500":
  20759. description: Internal Server Error
  20760. schema:
  20761. $ref: '#/definitions/app.Response'
  20762. security:
  20763. - ApiKeyAuth: []
  20764. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  20765. tags:
  20766. - 企业风险管理(app)
  20767. /Ermcp/QueryPendingAuditInfo:
  20768. get:
  20769. parameters:
  20770. - description: 用户ID
  20771. in: query
  20772. name: UserId
  20773. required: true
  20774. type: integer
  20775. produces:
  20776. - application/json
  20777. responses:
  20778. "200":
  20779. description: OK
  20780. schema:
  20781. items:
  20782. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  20783. type: array
  20784. "500":
  20785. description: Internal Server Error
  20786. schema:
  20787. $ref: '#/definitions/app.Response'
  20788. security:
  20789. - ApiKeyAuth: []
  20790. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  20791. tags:
  20792. - 企业风险管理(app)
  20793. /Ermcp/QueryRealtimeExposure:
  20794. get:
  20795. parameters:
  20796. - description: 所属机构ID
  20797. in: query
  20798. name: userid
  20799. required: true
  20800. type: integer
  20801. produces:
  20802. - application/json
  20803. responses:
  20804. "200":
  20805. description: OK
  20806. schema:
  20807. items:
  20808. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  20809. type: array
  20810. "500":
  20811. description: Internal Server Error
  20812. schema:
  20813. $ref: '#/definitions/app.Response'
  20814. security:
  20815. - ApiKeyAuth: []
  20816. summary: 查询实时敞口
  20817. tags:
  20818. - 企业风险管理(app)
  20819. /Ermcp/QueryRealtimeExposurePosition:
  20820. get:
  20821. parameters:
  20822. - description: 用户id
  20823. in: query
  20824. name: userid
  20825. required: true
  20826. type: integer
  20827. - description: 套保商品ID
  20828. in: query
  20829. name: middleGoodsId
  20830. required: true
  20831. type: integer
  20832. produces:
  20833. - application/json
  20834. responses:
  20835. "200":
  20836. description: OK
  20837. schema:
  20838. items:
  20839. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  20840. type: array
  20841. "500":
  20842. description: Internal Server Error
  20843. schema:
  20844. $ref: '#/definitions/app.Response'
  20845. security:
  20846. - ApiKeyAuth: []
  20847. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  20848. tags:
  20849. - 企业风险管理(app)
  20850. /Ermcp/QueryRoleMenu:
  20851. get:
  20852. parameters:
  20853. - description: 登录ID
  20854. in: query
  20855. name: loginid
  20856. required: true
  20857. type: integer
  20858. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易
  20859. in: query
  20860. name: menutype
  20861. type: integer
  20862. produces:
  20863. - application/json
  20864. responses:
  20865. "200":
  20866. description: OK
  20867. schema:
  20868. items:
  20869. $ref: '#/definitions/models.RoleMenu'
  20870. type: array
  20871. "500":
  20872. description: Internal Server Error
  20873. schema:
  20874. $ref: '#/definitions/app.Response'
  20875. security:
  20876. - ApiKeyAuth: []
  20877. summary: 查询角色菜单和权限
  20878. tags:
  20879. - 企业风险管理(app)
  20880. /Ermcp/QueryTradeConfigTMP:
  20881. get:
  20882. parameters:
  20883. - description: 所属机构id
  20884. in: query
  20885. name: areauserid
  20886. type: integer
  20887. produces:
  20888. - application/json
  20889. responses:
  20890. "200":
  20891. description: OK
  20892. schema:
  20893. items:
  20894. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  20895. type: array
  20896. "500":
  20897. description: Internal Server Error
  20898. schema:
  20899. $ref: '#/definitions/app.Response'
  20900. security:
  20901. - ApiKeyAuth: []
  20902. summary: 查询交易模板配置
  20903. tags:
  20904. - 企业风险管理(app)
  20905. /Ermcp/QueryUserInfo:
  20906. get:
  20907. parameters:
  20908. - description: 所属机构用户ID
  20909. in: query
  20910. name: MemberUserID
  20911. required: true
  20912. type: integer
  20913. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  20914. in: query
  20915. name: queryType
  20916. required: true
  20917. type: integer
  20918. produces:
  20919. - application/json
  20920. responses:
  20921. "200":
  20922. description: OK
  20923. schema:
  20924. items:
  20925. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  20926. type: array
  20927. "500":
  20928. description: Internal Server Error
  20929. schema:
  20930. $ref: '#/definitions/app.Response'
  20931. security:
  20932. - ApiKeyAuth: []
  20933. summary: 查询客户资料
  20934. tags:
  20935. - 企业风险管理(app)
  20936. /Ermcp/QueryWarehouseInfo:
  20937. get:
  20938. parameters:
  20939. - description: 用户ID
  20940. in: query
  20941. name: userid
  20942. required: true
  20943. type: integer
  20944. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  20945. in: query
  20946. name: status
  20947. type: string
  20948. produces:
  20949. - application/json
  20950. responses:
  20951. "200":
  20952. description: OK
  20953. schema:
  20954. items:
  20955. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  20956. type: array
  20957. "500":
  20958. description: Internal Server Error
  20959. schema:
  20960. $ref: '#/definitions/app.Response'
  20961. security:
  20962. - ApiKeyAuth: []
  20963. summary: 查询仓库信息
  20964. tags:
  20965. - 企业风险管理(app)
  20966. /Ermcp3/QryAreaExpourseContractDetail:
  20967. get:
  20968. parameters:
  20969. - description: 用户ID
  20970. in: query
  20971. name: userid
  20972. required: true
  20973. type: integer
  20974. - description: 套保商品id
  20975. in: query
  20976. name: middlegoodsid
  20977. required: true
  20978. type: integer
  20979. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  20980. in: query
  20981. name: cycletype
  20982. required: true
  20983. type: integer
  20984. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  20985. 全(0)【原值】
  20986. in: query
  20987. name: cycletime
  20988. required: true
  20989. type: string
  20990. produces:
  20991. - application/json
  20992. responses:
  20993. "200":
  20994. description: OK
  20995. schema:
  20996. items:
  20997. $ref: '#/definitions/models.Ermcp3ExposureContractDetail'
  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. - 企业风险管理v3(app)
  21008. /Ermcp3/QryAreaExpourseFutuDetail:
  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. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21022. in: query
  21023. name: cycletype
  21024. required: true
  21025. type: integer
  21026. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21027. 全(0)【原值】
  21028. in: query
  21029. name: cycletime
  21030. required: true
  21031. type: string
  21032. produces:
  21033. - application/json
  21034. responses:
  21035. "200":
  21036. description: OK
  21037. schema:
  21038. items:
  21039. $ref: '#/definitions/models.Ermcp3ExposureFutuDetail'
  21040. type: array
  21041. "500":
  21042. description: Internal Server Error
  21043. schema:
  21044. $ref: '#/definitions/app.Response'
  21045. security:
  21046. - ApiKeyAuth: []
  21047. summary: 查询敞口期货明细(敞口报表/期货明细)
  21048. tags:
  21049. - 企业风险管理v3(app)
  21050. /Ermcp3/QryAreaExpourseHedgeplanDetail:
  21051. get:
  21052. parameters:
  21053. - description: 用户ID
  21054. in: query
  21055. name: userid
  21056. required: true
  21057. type: integer
  21058. - description: 套保商品id
  21059. in: query
  21060. name: middlegoodsid
  21061. required: true
  21062. type: integer
  21063. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21064. in: query
  21065. name: cycletype
  21066. required: true
  21067. type: integer
  21068. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21069. 全(0)【原值】
  21070. in: query
  21071. name: cycletime
  21072. required: true
  21073. type: string
  21074. produces:
  21075. - application/json
  21076. responses:
  21077. "200":
  21078. description: OK
  21079. schema:
  21080. items:
  21081. $ref: '#/definitions/models.Ermcp3ExposureHedgeplanDetail'
  21082. type: array
  21083. "500":
  21084. description: Internal Server Error
  21085. schema:
  21086. $ref: '#/definitions/app.Response'
  21087. security:
  21088. - ApiKeyAuth: []
  21089. summary: 查询敞口套保计划明细(敞口报表/套保计划明细)
  21090. tags:
  21091. - 企业风险管理v3(app)
  21092. /Ermcp3/QryAreaExpourseParamChLogDetail:
  21093. get:
  21094. parameters:
  21095. - description: 用户ID
  21096. in: query
  21097. name: userid
  21098. required: true
  21099. type: integer
  21100. - description: 套保商品id
  21101. in: query
  21102. name: middlegoodsid
  21103. required: true
  21104. type: integer
  21105. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21106. in: query
  21107. name: cycletype
  21108. required: true
  21109. type: integer
  21110. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21111. 全(0)【原值】
  21112. in: query
  21113. name: cycletime
  21114. required: true
  21115. type: string
  21116. produces:
  21117. - application/json
  21118. responses:
  21119. "200":
  21120. description: OK
  21121. schema:
  21122. items:
  21123. $ref: '#/definitions/models.Ermcp3ExposureParamChLog'
  21124. type: array
  21125. "500":
  21126. description: Internal Server Error
  21127. schema:
  21128. $ref: '#/definitions/app.Response'
  21129. security:
  21130. - ApiKeyAuth: []
  21131. summary: 查询敞口参数调整明细(敞口报表/参数调整明细)
  21132. tags:
  21133. - 企业风险管理v3(app)
  21134. /Ermcp3/QryAreaExpourseReport:
  21135. get:
  21136. parameters:
  21137. - description: 用户ID
  21138. in: query
  21139. name: userid
  21140. required: true
  21141. type: integer
  21142. - description: 查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口
  21143. in: query
  21144. name: querytype
  21145. required: true
  21146. type: integer
  21147. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21148. in: query
  21149. name: cycletype
  21150. required: true
  21151. type: integer
  21152. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21153. 全(0)【原值】
  21154. in: query
  21155. name: cycletime
  21156. required: true
  21157. type: string
  21158. produces:
  21159. - application/json
  21160. responses:
  21161. "200":
  21162. description: OK
  21163. schema:
  21164. items:
  21165. $ref: '#/definitions/models.Ermcp3ExpourseReport'
  21166. type: array
  21167. "500":
  21168. description: Internal Server Error
  21169. schema:
  21170. $ref: '#/definitions/app.Response'
  21171. security:
  21172. - ApiKeyAuth: []
  21173. summary: 查询敞口报表
  21174. tags:
  21175. - 企业风险管理v3(app)
  21176. /Ermcp3/QryAreaSpotplReport:
  21177. get:
  21178. description: 目前pcweb的日/周/月报表与手机端的汇总维度不同, 所以增加了可选参数sumflag参数, pcweb请填1
  21179. parameters:
  21180. - description: 用户ID
  21181. in: query
  21182. name: userid
  21183. required: true
  21184. type: integer
  21185. - description: 查询类型 1-报表 2-报表明细
  21186. in: query
  21187. name: querytype
  21188. required: true
  21189. type: integer
  21190. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21191. in: query
  21192. name: cycletype
  21193. required: true
  21194. type: integer
  21195. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21196. 全(0)【原值】
  21197. in: query
  21198. name: cycletime
  21199. required: true
  21200. type: string
  21201. - description: 现货品种id(明细必填)
  21202. in: query
  21203. name: deliverygoodsid
  21204. type: integer
  21205. - description: 币种id(明细必填)
  21206. in: query
  21207. name: currencyid
  21208. type: integer
  21209. - description: 日/周/月报表汇总维度 1:品种+品类
  21210. in: query
  21211. name: sumflag
  21212. type: integer
  21213. produces:
  21214. - application/json
  21215. responses:
  21216. "200":
  21217. description: OK
  21218. schema:
  21219. items:
  21220. $ref: '#/definitions/models.Ermcp3AreaSpotPLReport'
  21221. type: array
  21222. "500":
  21223. description: Internal Server Error
  21224. schema:
  21225. $ref: '#/definitions/app.Response'
  21226. security:
  21227. - ApiKeyAuth: []
  21228. summary: 查询现货报表
  21229. tags:
  21230. - 企业风险管理v3(app)
  21231. /Ermcp3/QryAreaStockReport:
  21232. get:
  21233. parameters:
  21234. - description: 用户ID
  21235. in: query
  21236. name: userid
  21237. required: true
  21238. type: integer
  21239. - description: 查询类型 1-报表 2-报表明细
  21240. in: query
  21241. name: querytype
  21242. required: true
  21243. type: integer
  21244. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21245. in: query
  21246. name: cycletype
  21247. required: true
  21248. type: integer
  21249. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21250. 全(0)【原值】
  21251. in: query
  21252. name: cycletime
  21253. required: true
  21254. type: string
  21255. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库
  21256. in: query
  21257. name: sumfields
  21258. type: string
  21259. - description: 品种ID
  21260. in: query
  21261. name: deliverygoodsid
  21262. type: integer
  21263. - description: 品类ID
  21264. in: query
  21265. name: wrstandardid
  21266. type: integer
  21267. - description: 品牌ID
  21268. in: query
  21269. name: spotgoodsbrandid
  21270. type: integer
  21271. - description: 仓库ID
  21272. in: query
  21273. name: warehouseinfoid
  21274. type: integer
  21275. produces:
  21276. - application/json
  21277. responses:
  21278. "200":
  21279. description: OK
  21280. schema:
  21281. items:
  21282. $ref: '#/definitions/models.Ermcp3AreaStockReportEx'
  21283. type: array
  21284. "500":
  21285. description: Internal Server Error
  21286. schema:
  21287. $ref: '#/definitions/app.Response'
  21288. security:
  21289. - ApiKeyAuth: []
  21290. summary: 查询库存报表
  21291. tags:
  21292. - 企业风险管理v3(app)
  21293. /Ermcp3/QryAreaSumPL:
  21294. get:
  21295. parameters:
  21296. - description: 用户ID
  21297. in: query
  21298. name: userid
  21299. required: true
  21300. type: integer
  21301. - description: 查询类型 1-报表 2-报表明细
  21302. in: query
  21303. name: querytype
  21304. required: true
  21305. type: integer
  21306. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21307. in: query
  21308. name: cycletype
  21309. required: true
  21310. type: integer
  21311. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21312. 全(0)【原值】
  21313. in: query
  21314. name: cycletime
  21315. required: true
  21316. type: string
  21317. - description: 币种id(明细必填)
  21318. in: query
  21319. name: currencyid
  21320. type: integer
  21321. - description: 套保品种ID, 查询类型为2时起效
  21322. in: query
  21323. name: middlegoodsid
  21324. type: integer
  21325. produces:
  21326. - application/json
  21327. responses:
  21328. "200":
  21329. description: OK
  21330. schema:
  21331. items:
  21332. $ref: '#/definitions/models.Ermcp3ArealSumPL'
  21333. type: array
  21334. "500":
  21335. description: Internal Server Error
  21336. schema:
  21337. $ref: '#/definitions/app.Response'
  21338. security:
  21339. - ApiKeyAuth: []
  21340. summary: 查询汇总损益表
  21341. tags:
  21342. - 企业风险管理v3(app)
  21343. /Ermcp3/QryFinanceReport:
  21344. get:
  21345. parameters:
  21346. - description: 用户ID
  21347. in: query
  21348. name: userid
  21349. required: true
  21350. type: integer
  21351. - description: 查询类型 1-报表 2-报表明细
  21352. in: query
  21353. name: querytype
  21354. required: true
  21355. type: integer
  21356. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21357. in: query
  21358. name: cycletype
  21359. required: true
  21360. type: integer
  21361. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21362. 全(0)【原值】
  21363. in: query
  21364. name: cycletime
  21365. required: true
  21366. type: string
  21367. - description: 币种id(报表明细必填)
  21368. in: query
  21369. name: currencyid
  21370. type: integer
  21371. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌
  21372. in: query
  21373. name: sumfields
  21374. type: string
  21375. produces:
  21376. - application/json
  21377. responses:
  21378. "200":
  21379. description: OK
  21380. schema:
  21381. items:
  21382. $ref: '#/definitions/models.Ermcp3FinanceReport'
  21383. type: array
  21384. "500":
  21385. description: Internal Server Error
  21386. schema:
  21387. $ref: '#/definitions/app.Response'
  21388. security:
  21389. - ApiKeyAuth: []
  21390. summary: 查询财务报表
  21391. tags:
  21392. - 企业风险管理v3(app)
  21393. /Ermcp3/QrySCMiddleGoodsReport:
  21394. get:
  21395. parameters:
  21396. - description: 用户ID
  21397. in: query
  21398. name: userid
  21399. required: true
  21400. type: integer
  21401. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21402. in: query
  21403. name: cycletype
  21404. required: true
  21405. type: integer
  21406. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21407. 全(0)【原值】
  21408. in: query
  21409. name: cycletime
  21410. required: true
  21411. type: string
  21412. - description: 合同id
  21413. in: query
  21414. name: spotcontractid
  21415. type: integer
  21416. - description: 套保品种id
  21417. in: query
  21418. name: middlegoodsid
  21419. type: integer
  21420. - description: 现货品种id
  21421. in: query
  21422. name: deliverygoodsid
  21423. type: integer
  21424. - description: 现货商品id
  21425. in: query
  21426. name: wrstandardid
  21427. type: integer
  21428. - description: 合同编号(模糊匹配)
  21429. in: query
  21430. name: contractno
  21431. type: string
  21432. produces:
  21433. - application/json
  21434. responses:
  21435. "200":
  21436. description: OK
  21437. schema:
  21438. items:
  21439. $ref: '#/definitions/models.Ermcp3SCMiddleGoodsReport'
  21440. type: array
  21441. "500":
  21442. description: Internal Server Error
  21443. schema:
  21444. $ref: '#/definitions/app.Response'
  21445. security:
  21446. - ApiKeyAuth: []
  21447. summary: 查询定价报表
  21448. tags:
  21449. - 企业风险管理v3(app)
  21450. /Ermcp3/QryTaFutureDataReport:
  21451. get:
  21452. parameters:
  21453. - description: 用户ID
  21454. in: query
  21455. name: userid
  21456. required: true
  21457. type: integer
  21458. - description: 查询类型 1-报表 2-报表明细
  21459. in: query
  21460. name: querytype
  21461. required: true
  21462. type: integer
  21463. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21464. in: query
  21465. name: cycletype
  21466. required: true
  21467. type: integer
  21468. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21469. 全(0)【原值】
  21470. in: query
  21471. name: cycletime
  21472. required: true
  21473. type: string
  21474. - description: 币种id(查明细必填)
  21475. in: query
  21476. name: currencyid
  21477. type: integer
  21478. - description: 品种id(查明细必填)
  21479. in: query
  21480. name: goodsgroupid
  21481. type: integer
  21482. - description: 商品id(查明细必填)
  21483. in: query
  21484. name: goodsid
  21485. type: integer
  21486. - description: 买卖方向(查明细必填)
  21487. in: query
  21488. name: buyorsell
  21489. type: integer
  21490. produces:
  21491. - application/json
  21492. responses:
  21493. "200":
  21494. description: OK
  21495. schema:
  21496. items:
  21497. $ref: '#/definitions/models.Ermcp3TaFutuReDataReport'
  21498. type: array
  21499. "500":
  21500. description: Internal Server Error
  21501. schema:
  21502. $ref: '#/definitions/app.Response'
  21503. security:
  21504. - ApiKeyAuth: []
  21505. summary: 查询期货报表
  21506. tags:
  21507. - 企业风险管理v3(app)
  21508. /Ermcp3/QueryAreaStock:
  21509. get:
  21510. parameters:
  21511. - description: 用户ID
  21512. in: query
  21513. name: userid
  21514. required: true
  21515. type: integer
  21516. produces:
  21517. - application/json
  21518. responses:
  21519. "200":
  21520. description: OK
  21521. schema:
  21522. items:
  21523. $ref: '#/definitions/models.Ermcp3AreaStock'
  21524. type: array
  21525. "500":
  21526. description: Internal Server Error
  21527. schema:
  21528. $ref: '#/definitions/app.Response'
  21529. security:
  21530. - ApiKeyAuth: []
  21531. summary: 查询机构库存(库存管理/当前库存)
  21532. tags:
  21533. - 企业风险管理v3(app)
  21534. /Ermcp3/QueryAreaStockApply:
  21535. get:
  21536. parameters:
  21537. - description: 用户ID
  21538. in: query
  21539. name: userid
  21540. required: true
  21541. type: integer
  21542. - description: 用户类型 2-机构 7-企业成员
  21543. in: query
  21544. name: usertype
  21545. type: integer
  21546. - description: 现货商品ID
  21547. in: query
  21548. name: deliverygoodsid
  21549. type: integer
  21550. - description: 出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  21551. in: query
  21552. name: inouttype
  21553. type: string
  21554. - description: 合同ID
  21555. in: query
  21556. name: spotcontractid
  21557. type: integer
  21558. - description: 品类ID
  21559. in: query
  21560. name: wrstandardid
  21561. type: integer
  21562. - description: 品牌ID
  21563. in: query
  21564. name: spotgoodsbrandid
  21565. type: integer
  21566. - description: 仓库ID
  21567. in: query
  21568. name: warehouseinfoid
  21569. type: integer
  21570. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  21571. in: query
  21572. name: applystatus
  21573. type: string
  21574. produces:
  21575. - application/json
  21576. responses:
  21577. "200":
  21578. description: OK
  21579. schema:
  21580. items:
  21581. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  21582. type: array
  21583. "500":
  21584. description: Internal Server Error
  21585. schema:
  21586. $ref: '#/definitions/app.Response'
  21587. security:
  21588. - ApiKeyAuth: []
  21589. summary: 查询库存申请(出入库记录|库存审核)
  21590. tags:
  21591. - 企业风险管理v3(app)
  21592. /Ermcp3/QueryAreaStockApplySum:
  21593. get:
  21594. parameters:
  21595. - description: 合同ID
  21596. in: query
  21597. name: spotcontractid
  21598. required: true
  21599. type: integer
  21600. produces:
  21601. - application/json
  21602. responses:
  21603. "200":
  21604. description: OK
  21605. schema:
  21606. items:
  21607. $ref: '#/definitions/models.Ermcp3AreaStockApplySum'
  21608. type: array
  21609. "500":
  21610. description: Internal Server Error
  21611. schema:
  21612. $ref: '#/definitions/app.Response'
  21613. security:
  21614. - ApiKeyAuth: []
  21615. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  21616. tags:
  21617. - 企业风险管理v3(app)
  21618. /Ermcp3/QueryDGFactoryItem:
  21619. get:
  21620. parameters:
  21621. - description: 用户id
  21622. in: query
  21623. name: userid
  21624. type: integer
  21625. - description: 用户类型 2-机构 7-企业成员
  21626. in: query
  21627. name: usertype
  21628. type: integer
  21629. - description: 选择项ID(SEQ_DGFACTORYITEM)
  21630. in: query
  21631. name: dgfactoryitemid
  21632. type: integer
  21633. - description: 现货品种ID
  21634. in: query
  21635. name: deliverygoodsid
  21636. type: integer
  21637. - description: 要素项类型
  21638. in: query
  21639. name: dgfactoryitemtypeid
  21640. type: integer
  21641. - description: 顺序
  21642. in: query
  21643. name: orderindex
  21644. type: integer
  21645. produces:
  21646. - application/json
  21647. responses:
  21648. "200":
  21649. description: OK
  21650. schema:
  21651. items:
  21652. $ref: '#/definitions/models.ErmcpDGFactoryItem'
  21653. type: array
  21654. "500":
  21655. description: Internal Server Error
  21656. schema:
  21657. $ref: '#/definitions/app.Response'
  21658. security:
  21659. - ApiKeyAuth: []
  21660. summary: 查询品种要素定义项
  21661. tags:
  21662. - 企业风险管理v3(app)
  21663. /Ermcp3/QueryDeliveryGoods:
  21664. get:
  21665. parameters:
  21666. - description: 用户id
  21667. in: query
  21668. name: userid
  21669. required: true
  21670. type: integer
  21671. - description: 用户类型 2-机构 7-企业成员
  21672. in: query
  21673. name: usertype
  21674. type: integer
  21675. - description: 排除已配置的业务类型商品 1-套保 2-套利
  21676. in: query
  21677. name: excludecfg
  21678. type: integer
  21679. produces:
  21680. - application/json
  21681. responses:
  21682. "200":
  21683. description: OK
  21684. schema:
  21685. items:
  21686. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  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/QueryDeliveryGoodsDetail:
  21698. get:
  21699. parameters:
  21700. - description: 用户id
  21701. in: query
  21702. name: userid
  21703. required: true
  21704. type: integer
  21705. - description: 用户类型 2-机构 7-企业成员
  21706. in: query
  21707. name: usertype
  21708. type: integer
  21709. - description: 现货商品id
  21710. in: query
  21711. name: deliverygoodsid
  21712. type: integer
  21713. - description: 过滤下级为空, 1-过滤. 比如 品种大豆的下级品类列表为空, 则大豆不显示; 比如品类的下级套保品列表为空, 则该品类不显示
  21714. in: query
  21715. name: filtersubempty
  21716. type: integer
  21717. produces:
  21718. - application/json
  21719. responses:
  21720. "200":
  21721. description: OK
  21722. schema:
  21723. items:
  21724. $ref: '#/definitions/models.XHDeliveryGoods'
  21725. type: array
  21726. "500":
  21727. description: Internal Server Error
  21728. schema:
  21729. $ref: '#/definitions/app.Response'
  21730. security:
  21731. - ApiKeyAuth: []
  21732. summary: 查询现货商品详情
  21733. tags:
  21734. - 企业风险管理v3(app)
  21735. /Ermcp3/QueryErmcp3ContractMiddleGoodsCfg:
  21736. get:
  21737. parameters:
  21738. - description: 合同id
  21739. in: query
  21740. name: spotcontractid
  21741. required: true
  21742. type: string
  21743. produces:
  21744. - application/json
  21745. responses:
  21746. "200":
  21747. description: OK
  21748. schema:
  21749. items:
  21750. $ref: '#/definitions/models.Ermcp3ContractMiddleGoodsCfg'
  21751. type: array
  21752. "500":
  21753. description: Internal Server Error
  21754. schema:
  21755. $ref: '#/definitions/app.Response'
  21756. security:
  21757. - ApiKeyAuth: []
  21758. summary: 查询现货合同期现配置信息
  21759. tags:
  21760. - 企业风险管理v3(app)
  21761. /Ermcp3/QueryExposureDetail:
  21762. get:
  21763. parameters:
  21764. - description: 用户id
  21765. in: query
  21766. name: userid
  21767. required: true
  21768. type: integer
  21769. - description: 用户类型 2-机构 7-企业成员
  21770. in: query
  21771. name: usertype
  21772. type: integer
  21773. - description: 套保商品
  21774. in: query
  21775. name: middlegoodsid
  21776. required: true
  21777. type: integer
  21778. produces:
  21779. - application/json
  21780. responses:
  21781. "200":
  21782. description: OK
  21783. schema:
  21784. items:
  21785. $ref: '#/definitions/models.Ermcp3ExposureDetail'
  21786. type: array
  21787. "500":
  21788. description: Internal Server Error
  21789. schema:
  21790. $ref: '#/definitions/app.Response'
  21791. security:
  21792. - ApiKeyAuth: []
  21793. summary: 查询敞口现货明细
  21794. tags:
  21795. - 企业风险管理v3(app)
  21796. /Ermcp3/QueryExposureSpot:
  21797. get:
  21798. parameters:
  21799. - description: 用户id
  21800. in: query
  21801. name: userid
  21802. required: true
  21803. type: integer
  21804. - description: 用户类型 2-机构 7-企业成员
  21805. in: query
  21806. name: usertype
  21807. type: integer
  21808. produces:
  21809. - application/json
  21810. responses:
  21811. "200":
  21812. description: OK
  21813. schema:
  21814. items:
  21815. $ref: '#/definitions/models.Ermcp3AreaSpot'
  21816. type: array
  21817. "500":
  21818. description: Internal Server Error
  21819. schema:
  21820. $ref: '#/definitions/app.Response'
  21821. security:
  21822. - ApiKeyAuth: []
  21823. summary: 查询敞口现货头寸(敞口/现货头寸)
  21824. tags:
  21825. - 企业风险管理v3(app)
  21826. /Ermcp3/QueryExposureSpotDetail:
  21827. get:
  21828. parameters:
  21829. - description: 用户id
  21830. in: query
  21831. name: userid
  21832. required: true
  21833. type: integer
  21834. - description: 用户类型 2-机构 7-企业成员
  21835. in: query
  21836. name: usertype
  21837. type: integer
  21838. - description: 现货商品ID
  21839. in: query
  21840. name: wrstandardid
  21841. required: true
  21842. type: integer
  21843. produces:
  21844. - application/json
  21845. responses:
  21846. "200":
  21847. description: OK
  21848. schema:
  21849. items:
  21850. $ref: '#/definitions/models.Ermcp3AreaSpotDetail'
  21851. type: array
  21852. "500":
  21853. description: Internal Server Error
  21854. schema:
  21855. $ref: '#/definitions/app.Response'
  21856. security:
  21857. - ApiKeyAuth: []
  21858. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  21859. tags:
  21860. - 企业风险管理v3(app)
  21861. /Ermcp3/QueryGoodsGroup:
  21862. get:
  21863. parameters:
  21864. - description: 用户id
  21865. in: query
  21866. name: userid
  21867. required: true
  21868. type: integer
  21869. - description: 用户类型 2-机构 7-企业成员
  21870. in: query
  21871. name: usertype
  21872. type: integer
  21873. - description: 排除套保品中已关联的商品组 1-排除
  21874. in: query
  21875. name: excludecfg
  21876. type: integer
  21877. produces:
  21878. - application/json
  21879. responses:
  21880. "200":
  21881. description: OK
  21882. schema:
  21883. items:
  21884. $ref: '#/definitions/models.Ermcp3GoodsGroup'
  21885. type: array
  21886. "500":
  21887. description: Internal Server Error
  21888. schema:
  21889. $ref: '#/definitions/app.Response'
  21890. security:
  21891. - ApiKeyAuth: []
  21892. summary: 查询期货商品组
  21893. tags:
  21894. - 企业风险管理v3(app)
  21895. /Ermcp3/QueryGoodsWrstandard:
  21896. get:
  21897. parameters:
  21898. - description: 用户id
  21899. in: query
  21900. name: userid
  21901. required: true
  21902. type: integer
  21903. - description: 用户类型 2-机构 7-企业成员
  21904. in: query
  21905. name: usertype
  21906. type: integer
  21907. - description: 现货商品id
  21908. in: query
  21909. name: deliverygoodsid
  21910. type: integer
  21911. produces:
  21912. - application/json
  21913. responses:
  21914. "200":
  21915. description: OK
  21916. schema:
  21917. items:
  21918. $ref: '#/definitions/models.Ermcp3Wrstandard'
  21919. type: array
  21920. "500":
  21921. description: Internal Server Error
  21922. schema:
  21923. $ref: '#/definitions/app.Response'
  21924. security:
  21925. - ApiKeyAuth: []
  21926. summary: 查询商品品类
  21927. tags:
  21928. - 企业风险管理v3(app)
  21929. /Ermcp3/QueryGoodsbrand:
  21930. get:
  21931. parameters:
  21932. - description: 用户id
  21933. in: query
  21934. name: userid
  21935. required: true
  21936. type: integer
  21937. - description: 用户类型 2-机构 7-企业成员
  21938. in: query
  21939. name: usertype
  21940. type: integer
  21941. produces:
  21942. - application/json
  21943. responses:
  21944. "200":
  21945. description: OK
  21946. schema:
  21947. items:
  21948. $ref: '#/definitions/models.Ermcp3Brand'
  21949. type: array
  21950. "500":
  21951. description: Internal Server Error
  21952. schema:
  21953. $ref: '#/definitions/app.Response'
  21954. security:
  21955. - ApiKeyAuth: []
  21956. summary: 查询商品品牌
  21957. tags:
  21958. - 企业风险管理v3(app)
  21959. /Ermcp3/QueryHPMiddleGoods:
  21960. get:
  21961. parameters:
  21962. - description: 用户ID(填登录用户的userid)
  21963. in: query
  21964. name: userid
  21965. required: true
  21966. type: integer
  21967. - description: 买卖方向 0-买 1-卖
  21968. in: query
  21969. name: buyorsell
  21970. required: true
  21971. type: integer
  21972. - description: 商品组id
  21973. in: query
  21974. name: goodsgroupid
  21975. required: true
  21976. type: integer
  21977. - description: 套保计划编号(模糊匹配)
  21978. in: query
  21979. name: hedgeplanno
  21980. type: string
  21981. - description: 现货商品名称(模糊匹配)
  21982. in: query
  21983. name: wrstandardname
  21984. type: string
  21985. produces:
  21986. - application/json
  21987. responses:
  21988. "200":
  21989. description: OK
  21990. schema:
  21991. items:
  21992. $ref: '#/definitions/models.Ermcp3HPMiddleGoods'
  21993. type: array
  21994. "500":
  21995. description: Internal Server Error
  21996. schema:
  21997. $ref: '#/definitions/app.Response'
  21998. security:
  21999. - ApiKeyAuth: []
  22000. summary: 查询可关联套保计划
  22001. tags:
  22002. - 企业风险管理v3(app)
  22003. /Ermcp3/QueryHedgePlan:
  22004. get:
  22005. parameters:
  22006. - description: 用户ID
  22007. in: query
  22008. name: userid
  22009. required: true
  22010. type: integer
  22011. - description: 用户类型 2-机构 7-企业成员
  22012. in: query
  22013. name: usertype
  22014. type: integer
  22015. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  22016. in: query
  22017. name: hedgeplanstatus
  22018. required: true
  22019. type: string
  22020. produces:
  22021. - application/json
  22022. responses:
  22023. "200":
  22024. description: OK
  22025. schema:
  22026. items:
  22027. $ref: '#/definitions/models.Ermcp3HedgePlan'
  22028. type: array
  22029. "500":
  22030. description: Internal Server Error
  22031. schema:
  22032. $ref: '#/definitions/app.Response'
  22033. security:
  22034. - ApiKeyAuth: []
  22035. summary: 查询套保计划
  22036. tags:
  22037. - 企业风险管理v3(app)
  22038. /Ermcp3/QueryInnerTradeLink:
  22039. get:
  22040. description: 页面 app 现货->期现关联->外部成交单关联->点"解除关联"按钮->解除外部关联的页面信息
  22041. parameters:
  22042. - description: 外部成交单号
  22043. in: query
  22044. name: outtradeid
  22045. required: true
  22046. type: integer
  22047. produces:
  22048. - application/json
  22049. responses:
  22050. "200":
  22051. description: OK
  22052. schema:
  22053. items:
  22054. $ref: '#/definitions/models.Ermcp3InnerTradeLink'
  22055. type: array
  22056. "500":
  22057. description: Internal Server Error
  22058. schema:
  22059. $ref: '#/definitions/app.Response'
  22060. security:
  22061. - ApiKeyAuth: []
  22062. summary: 查询外部成交单关联的内部单信息(在解除外部关联页面使用)
  22063. tags:
  22064. - 企业风险管理v3(app)
  22065. /Ermcp3/QueryMiddleGoodsDetail:
  22066. get:
  22067. parameters:
  22068. - description: 用户id
  22069. in: query
  22070. name: userid
  22071. required: true
  22072. type: integer
  22073. - description: 用户类型 2-机构 7-企业成员
  22074. in: query
  22075. name: usertype
  22076. type: integer
  22077. - description: 套保品种id
  22078. in: query
  22079. name: middlegoodsid
  22080. type: integer
  22081. produces:
  22082. - application/json
  22083. responses:
  22084. "200":
  22085. description: OK
  22086. schema:
  22087. items:
  22088. $ref: '#/definitions/models.TBMiddleGoods'
  22089. type: array
  22090. "500":
  22091. description: Internal Server Error
  22092. schema:
  22093. $ref: '#/definitions/app.Response'
  22094. security:
  22095. - ApiKeyAuth: []
  22096. summary: 查询套保品种详情(套保品种/商品详情)
  22097. tags:
  22098. - 企业风险管理v3(app)
  22099. /Ermcp3/QueryOutTradeLink:
  22100. get:
  22101. description: 页面 app 现货->期现关联->外部成交单关联
  22102. parameters:
  22103. - description: 用户ID(填登录用户的userid)
  22104. in: query
  22105. name: userid
  22106. required: true
  22107. type: integer
  22108. - description: 外部订单号(模糊匹配)
  22109. in: query
  22110. name: outtradeid
  22111. type: string
  22112. - description: 合约名称/代码(模糊匹配)
  22113. in: query
  22114. name: goodsname
  22115. type: string
  22116. - description: 关联状态 0-未关联 1-已关联
  22117. in: query
  22118. name: hasinnerorder
  22119. type: integer
  22120. produces:
  22121. - application/json
  22122. responses:
  22123. "200":
  22124. description: OK
  22125. schema:
  22126. items:
  22127. $ref: '#/definitions/models.Ermcp3OutTradeLink'
  22128. type: array
  22129. "500":
  22130. description: Internal Server Error
  22131. schema:
  22132. $ref: '#/definitions/app.Response'
  22133. security:
  22134. - ApiKeyAuth: []
  22135. summary: 查询外部成交单关联
  22136. tags:
  22137. - 企业风险管理v3(app)
  22138. /Ermcp3/QueryPaAreaAuditCfg:
  22139. get:
  22140. parameters:
  22141. - description: 用户id
  22142. in: query
  22143. name: userid
  22144. required: true
  22145. type: integer
  22146. produces:
  22147. - application/json
  22148. responses:
  22149. "200":
  22150. description: OK
  22151. schema:
  22152. items:
  22153. $ref: '#/definitions/models.Ermcp3PaAreaAuditCfg'
  22154. type: array
  22155. "500":
  22156. description: Internal Server Error
  22157. schema:
  22158. $ref: '#/definitions/app.Response'
  22159. security:
  22160. - ApiKeyAuth: []
  22161. summary: 查询审核设置
  22162. tags:
  22163. - 企业风险管理v3(app)
  22164. /Ermcp3/QueryPaAreaSubject:
  22165. get:
  22166. parameters:
  22167. - description: 用户id
  22168. in: query
  22169. name: userid
  22170. required: true
  22171. type: integer
  22172. - description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  22173. in: query
  22174. name: subjectid
  22175. type: integer
  22176. - description: 主体类型 - 1:交易主体 2:业务部门
  22177. in: query
  22178. name: subjecttype
  22179. type: integer
  22180. - description: '主体状态 - 1:正常 2: 停用'
  22181. in: query
  22182. name: subjectstatus
  22183. type: integer
  22184. produces:
  22185. - application/json
  22186. responses:
  22187. "200":
  22188. description: OK
  22189. schema:
  22190. items:
  22191. $ref: '#/definitions/models.Ermcp3PaAreaSubject'
  22192. type: array
  22193. "500":
  22194. description: Internal Server Error
  22195. schema:
  22196. $ref: '#/definitions/app.Response'
  22197. security:
  22198. - ApiKeyAuth: []
  22199. summary: 查询交易主体
  22200. tags:
  22201. - 企业风险管理v3(app)
  22202. /Ermcp3/QueryPaTradeLink:
  22203. get:
  22204. description: 页面 app 现货->期现关联->期现单据关联
  22205. parameters:
  22206. - description: 用户ID
  22207. in: query
  22208. name: userid
  22209. required: true
  22210. type: integer
  22211. produces:
  22212. - application/json
  22213. responses:
  22214. "200":
  22215. description: OK
  22216. schema:
  22217. items:
  22218. $ref: '#/definitions/models.Ermcp3PaTradeLink'
  22219. type: array
  22220. "500":
  22221. description: Internal Server Error
  22222. schema:
  22223. $ref: '#/definitions/app.Response'
  22224. security:
  22225. - ApiKeyAuth: []
  22226. summary: 查询期现单据关联
  22227. tags:
  22228. - 企业风险管理v3(app)
  22229. /Ermcp3/QueryPaTradeLinkDetail:
  22230. get:
  22231. description: 页面 app 现货->期现关联->关联记录
  22232. parameters:
  22233. - description: 用户ID(填登录用户的userid)
  22234. in: query
  22235. name: userid
  22236. required: true
  22237. type: integer
  22238. - description: 关联状态 1:成功 2:失败 3:解绑
  22239. in: query
  22240. name: linkstatus
  22241. type: integer
  22242. - description: 期货订单号(模糊匹配)
  22243. in: query
  22244. name: tradeid
  22245. type: string
  22246. - description: 现货编号(模糊匹配)
  22247. in: query
  22248. name: contractno
  22249. type: string
  22250. - description: 期货账户(模糊匹配)
  22251. in: query
  22252. name: taname
  22253. type: string
  22254. produces:
  22255. - application/json
  22256. responses:
  22257. "200":
  22258. description: OK
  22259. schema:
  22260. items:
  22261. $ref: '#/definitions/models.Ermcp3TradeLinkDetail'
  22262. type: array
  22263. "500":
  22264. description: Internal Server Error
  22265. schema:
  22266. $ref: '#/definitions/app.Response'
  22267. security:
  22268. - ApiKeyAuth: []
  22269. summary: 查询期现关联记录
  22270. tags:
  22271. - 企业风险管理v3(app)
  22272. /Ermcp3/QueryParamChangeApp:
  22273. get:
  22274. description: |-
  22275. 原型页面:
  22276. 1.商品信息->商品参数修改流水-> 增值税税率 | 折算系数 | 成本权重; 流水页面查申请状态为“审核通过”的记录
  22277. 2.风管审核->套保比例审核 | 折算系数审核 | 增值税税率审核 | 成本权重审核
  22278. parameters:
  22279. - description: 用户ID
  22280. in: query
  22281. name: userid
  22282. required: true
  22283. type: integer
  22284. - description: 现货品种id
  22285. in: query
  22286. name: deliverygoodsid
  22287. type: integer
  22288. - description: 现货商品id
  22289. in: query
  22290. name: wrstandardid
  22291. type: integer
  22292. - description: 套保商品id
  22293. in: query
  22294. name: middlegoodsid
  22295. type: integer
  22296. - description: 操作类型 1:新增 2:修改
  22297. in: query
  22298. name: operatetype
  22299. type: integer
  22300. - description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  22301. in: query
  22302. name: paramchangetype
  22303. type: integer
  22304. - description: 申请状态(逗号隔开,如1,2,3) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  22305. in: query
  22306. name: ftstatus
  22307. type: string
  22308. produces:
  22309. - application/json
  22310. responses:
  22311. "200":
  22312. description: OK
  22313. schema:
  22314. items:
  22315. $ref: '#/definitions/models.Ermcp3ParamChangeApp'
  22316. type: array
  22317. "500":
  22318. description: Internal Server Error
  22319. schema:
  22320. $ref: '#/definitions/app.Response'
  22321. security:
  22322. - ApiKeyAuth: []
  22323. summary: 查询现货商品参数变更申请(流水)
  22324. tags:
  22325. - 企业风险管理v3(app)
  22326. /Ermcp3/QueryRootUserAccount:
  22327. get:
  22328. parameters:
  22329. - description: 用户ID
  22330. in: query
  22331. name: userid
  22332. required: true
  22333. type: integer
  22334. produces:
  22335. - application/json
  22336. responses:
  22337. "200":
  22338. description: OK
  22339. schema:
  22340. items:
  22341. $ref: '#/definitions/models.Ermcp3RootUserAccount'
  22342. type: array
  22343. "500":
  22344. description: Internal Server Error
  22345. schema:
  22346. $ref: '#/definitions/app.Response'
  22347. security:
  22348. - ApiKeyAuth: []
  22349. summary: 查询顶级用户信息
  22350. tags:
  22351. - 企业风险管理v3(app)
  22352. /Ermcp3/QuerySCMiddleGoods:
  22353. get:
  22354. description: |-
  22355. 页面 app 现货->期现关联->期现单据关联->点"关联"按钮->弹出界面 : 现货订单
  22356. 现货编号 即 合同编号
  22357. parameters:
  22358. - description: 用户ID(填登录用户的userid)
  22359. in: query
  22360. name: userid
  22361. required: true
  22362. type: integer
  22363. - description: 买卖方向 0-买 1-卖
  22364. in: query
  22365. name: buyorsell
  22366. required: true
  22367. type: integer
  22368. - description: 商品组id
  22369. in: query
  22370. name: goodsgroupid
  22371. required: true
  22372. type: integer
  22373. - description: 业务类型 1:套保 2:套利
  22374. in: query
  22375. name: biztype
  22376. type: integer
  22377. - description: 现货编号(模糊匹配)
  22378. in: query
  22379. name: contractno
  22380. type: string
  22381. - description: 对手方(模糊匹配)
  22382. in: query
  22383. name: customername
  22384. type: string
  22385. - description: 现货商品名称(模糊匹配)
  22386. in: query
  22387. name: wrstandardname
  22388. type: string
  22389. produces:
  22390. - application/json
  22391. responses:
  22392. "200":
  22393. description: OK
  22394. schema:
  22395. items:
  22396. $ref: '#/definitions/models.Ermcp3SCMiddleGoods'
  22397. type: array
  22398. "500":
  22399. description: Internal Server Error
  22400. schema:
  22401. $ref: '#/definitions/app.Response'
  22402. security:
  22403. - ApiKeyAuth: []
  22404. summary: 查询现货订单
  22405. tags:
  22406. - 企业风险管理v3(app)
  22407. /Ermcp3/QuerySpotContract:
  22408. get:
  22409. parameters:
  22410. - description: 用户id(当指定contractid, userid可不填)
  22411. in: query
  22412. name: userid
  22413. required: true
  22414. type: integer
  22415. - description: 用户类型 2-机构 7-企业成员
  22416. in: query
  22417. name: usertype
  22418. type: integer
  22419. - description: 合同类型 1-采购, -1-销售
  22420. in: query
  22421. name: contracttype
  22422. type: integer
  22423. - description: 查询类型(逗号隔开, 如1,2,3) 1-未提交 2-待审核 3-履约中 4-已完成
  22424. in: query
  22425. name: querytype
  22426. type: string
  22427. - description: 合同ID(SpotContractId)
  22428. in: query
  22429. name: contractid
  22430. type: string
  22431. - description: 合同编号(模糊匹配)
  22432. in: query
  22433. name: contractno
  22434. type: string
  22435. - description: 商品名称(模糊匹配)
  22436. in: query
  22437. name: wrstandardname
  22438. type: string
  22439. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中
  22440. 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  22441. in: query
  22442. name: status
  22443. type: string
  22444. - description: 是否只查今日的合同 1-查今日合同
  22445. in: query
  22446. name: istoday
  22447. type: integer
  22448. produces:
  22449. - application/json
  22450. responses:
  22451. "200":
  22452. description: OK
  22453. schema:
  22454. items:
  22455. $ref: '#/definitions/models.Ermcp3Contract'
  22456. type: array
  22457. "500":
  22458. description: Internal Server Error
  22459. schema:
  22460. $ref: '#/definitions/app.Response'
  22461. security:
  22462. - ApiKeyAuth: []
  22463. summary: 查询现货合同
  22464. tags:
  22465. - 企业风险管理v3(app)
  22466. /Ermcp3/QuerySpotContractBS:
  22467. get:
  22468. parameters:
  22469. - description: 用户id
  22470. in: query
  22471. name: userid
  22472. required: true
  22473. type: integer
  22474. - description: 用户类型 2-机构 7-企业成员
  22475. in: query
  22476. name: usertype
  22477. type: integer
  22478. - description: 合同类型 1-采购, -1-销售
  22479. in: query
  22480. name: contracttype
  22481. required: true
  22482. type: integer
  22483. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  22484. in: query
  22485. name: querytype
  22486. type: integer
  22487. - description: 合同ID(SpotContractId)
  22488. in: query
  22489. name: contractid
  22490. type: string
  22491. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中
  22492. 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  22493. in: query
  22494. name: status
  22495. type: string
  22496. - description: 是否只查今日的合同 1-查今日合同
  22497. in: query
  22498. name: istoday
  22499. type: integer
  22500. produces:
  22501. - application/json
  22502. responses:
  22503. "200":
  22504. description: OK
  22505. schema:
  22506. items:
  22507. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  22508. type: array
  22509. "500":
  22510. description: Internal Server Error
  22511. schema:
  22512. $ref: '#/definitions/app.Response'
  22513. security:
  22514. - ApiKeyAuth: []
  22515. summary: 查询合同(采购/销售)
  22516. tags:
  22517. - 企业风险管理v3(app)
  22518. /Ermcp3/QuerySpotGoodsPrice:
  22519. get:
  22520. parameters:
  22521. - description: 用户ID
  22522. in: query
  22523. name: userid
  22524. required: true
  22525. type: integer
  22526. produces:
  22527. - application/json
  22528. responses:
  22529. "200":
  22530. description: OK
  22531. schema:
  22532. items:
  22533. $ref: '#/definitions/models.Ermcp3SpotGoodsPrice'
  22534. type: array
  22535. "500":
  22536. description: Internal Server Error
  22537. schema:
  22538. $ref: '#/definitions/app.Response'
  22539. security:
  22540. - ApiKeyAuth: []
  22541. summary: 查询现货市价(现货市价)
  22542. tags:
  22543. - 企业风险管理v3(app)
  22544. /Ermcp3/QuerySpotGoodsPriceLog:
  22545. get:
  22546. parameters:
  22547. - description: 用户ID
  22548. in: query
  22549. name: userid
  22550. required: true
  22551. type: integer
  22552. - description: 现货商品ID
  22553. in: query
  22554. name: deliverygoodsid
  22555. required: true
  22556. type: integer
  22557. - description: 品牌ID
  22558. in: query
  22559. name: brandid
  22560. type: integer
  22561. - description: 品类ID
  22562. in: query
  22563. name: wrstandardid
  22564. type: integer
  22565. produces:
  22566. - application/json
  22567. responses:
  22568. "200":
  22569. description: OK
  22570. schema:
  22571. items:
  22572. $ref: '#/definitions/models.Ermcp3SpotGoodsPriceLog'
  22573. type: array
  22574. "500":
  22575. description: Internal Server Error
  22576. schema:
  22577. $ref: '#/definitions/app.Response'
  22578. security:
  22579. - ApiKeyAuth: []
  22580. summary: 查询现货市价详情(现货市价/详情)
  22581. tags:
  22582. - 企业风险管理v3(app)
  22583. /Ermcp3/QuerySubTaaccount:
  22584. get:
  22585. description: 页面 app 现货->期现关联->外部成交单关联->点"关联"按钮->选择期货子账户
  22586. parameters:
  22587. - description: 母账号id
  22588. in: query
  22589. name: parentaccountid
  22590. type: integer
  22591. - description: 母账号代码
  22592. in: query
  22593. name: parentaccountcode
  22594. type: string
  22595. produces:
  22596. - application/json
  22597. responses:
  22598. "200":
  22599. description: OK
  22600. schema:
  22601. items:
  22602. $ref: '#/definitions/models.Ermcp3SubTaaccount'
  22603. type: array
  22604. "500":
  22605. description: Internal Server Error
  22606. schema:
  22607. $ref: '#/definitions/app.Response'
  22608. security:
  22609. - ApiKeyAuth: []
  22610. summary: 查询期货子账户
  22611. tags:
  22612. - 企业风险管理v3(app)
  22613. /Ermcp8/QueryERMCP2HedgedItemSpotDetail:
  22614. get:
  22615. parameters:
  22616. - description: 套期项目ID
  22617. in: query
  22618. name: hedgeditemid
  22619. required: true
  22620. type: integer
  22621. produces:
  22622. - application/json
  22623. responses:
  22624. "200":
  22625. description: OK
  22626. schema:
  22627. items:
  22628. $ref: '#/definitions/models.Ermcp2hedgeditemspotDetail'
  22629. type: array
  22630. "500":
  22631. description: Internal Server Error
  22632. schema:
  22633. $ref: '#/definitions/app.Response'
  22634. security:
  22635. - ApiKeyAuth: []
  22636. summary: 现货成交明细查询
  22637. tags:
  22638. - 企业风险管理v8
  22639. /Ermcp8/QueryERMCP2HedgedItemspot:
  22640. get:
  22641. parameters:
  22642. - description: 套期项目ID
  22643. in: query
  22644. name: hedgeditemid
  22645. required: true
  22646. type: integer
  22647. produces:
  22648. - application/json
  22649. responses:
  22650. "200":
  22651. description: OK
  22652. schema:
  22653. items:
  22654. $ref: '#/definitions/models.Ermcp2hedgeditemspot'
  22655. type: array
  22656. "500":
  22657. description: Internal Server Error
  22658. schema:
  22659. $ref: '#/definitions/app.Response'
  22660. security:
  22661. - ApiKeyAuth: []
  22662. summary: 套期计划明细查询
  22663. tags:
  22664. - 企业风险管理v8
  22665. /Ermcp8/QueryERMCPJRLinkPos:
  22666. get:
  22667. parameters:
  22668. - description: 套期项目ID
  22669. in: query
  22670. name: hedgeditemid
  22671. required: true
  22672. type: integer
  22673. produces:
  22674. - application/json
  22675. responses:
  22676. "200":
  22677. description: OK
  22678. schema:
  22679. items:
  22680. $ref: '#/definitions/models.Ermcpjrlinkpos'
  22681. type: array
  22682. "500":
  22683. description: Internal Server Error
  22684. schema:
  22685. $ref: '#/definitions/app.Response'
  22686. security:
  22687. - ApiKeyAuth: []
  22688. summary: 期货持仓明细查询
  22689. tags:
  22690. - 企业风险管理v8
  22691. /Ermcp8/QueryERMCPPatradeLinkDetail:
  22692. get:
  22693. parameters:
  22694. - description: 套期项目ID
  22695. in: query
  22696. name: hedgeditemid
  22697. required: true
  22698. type: integer
  22699. produces:
  22700. - application/json
  22701. responses:
  22702. "200":
  22703. description: OK
  22704. schema:
  22705. items:
  22706. $ref: '#/definitions/models.Ermcppatradelinkdetail'
  22707. type: array
  22708. "500":
  22709. description: Internal Server Error
  22710. schema:
  22711. $ref: '#/definitions/app.Response'
  22712. security:
  22713. - ApiKeyAuth: []
  22714. summary: 期货成交单明细查询
  22715. tags:
  22716. - 企业风险管理v8
  22717. /Ermcp8/QueryErmcp2AreaExposure:
  22718. get:
  22719. parameters:
  22720. - description: 用户ID
  22721. in: query
  22722. name: userid
  22723. required: true
  22724. type: string
  22725. produces:
  22726. - application/json
  22727. responses:
  22728. "200":
  22729. description: OK
  22730. schema:
  22731. items:
  22732. $ref: '#/definitions/models.Ermcp2AreaExposure'
  22733. type: array
  22734. "500":
  22735. description: Internal Server Error
  22736. schema:
  22737. $ref: '#/definitions/app.Response'
  22738. security:
  22739. - ApiKeyAuth: []
  22740. summary: 企业敞口查询
  22741. tags:
  22742. - 企业风险管理v8
  22743. /Ermcp8/QueryErmcp2HedgedItem:
  22744. get:
  22745. description: 已完成项目查询 -> 项目状态 = 3:正常完结 or 5:异常完结
  22746. parameters:
  22747. - description: 用户ID
  22748. in: query
  22749. name: userid
  22750. required: true
  22751. type: string
  22752. - description: 套期类型 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  22753. in: query
  22754. name: hedgedtype
  22755. type: integer
  22756. - description: 项目状态 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  22757. in: query
  22758. name: hedgeditemstatus
  22759. type: integer
  22760. produces:
  22761. - application/json
  22762. responses:
  22763. "200":
  22764. description: OK
  22765. schema:
  22766. items:
  22767. $ref: '#/definitions/models.Ermcp2hedgeditem'
  22768. type: array
  22769. "500":
  22770. description: Internal Server Error
  22771. schema:
  22772. $ref: '#/definitions/app.Response'
  22773. security:
  22774. - ApiKeyAuth: []
  22775. summary: 查询被套期项目信息
  22776. tags:
  22777. - 企业风险管理v8
  22778. /Ermcp8/QueryErmcp2HedgedItemLink:
  22779. get:
  22780. parameters:
  22781. - description: 现货合同ID
  22782. in: query
  22783. name: spotcontractid
  22784. required: true
  22785. type: integer
  22786. produces:
  22787. - application/json
  22788. responses:
  22789. "200":
  22790. description: OK
  22791. schema:
  22792. items:
  22793. $ref: '#/definitions/models.Ermcp2hedgeditemlink'
  22794. type: array
  22795. "500":
  22796. description: Internal Server Error
  22797. schema:
  22798. $ref: '#/definitions/app.Response'
  22799. security:
  22800. - ApiKeyAuth: []
  22801. summary: 现货合同关联被套期项目查询
  22802. tags:
  22803. - 企业风险管理v8
  22804. /Ermcp8/QueryErmcp2HedgedItemsDetail:
  22805. get:
  22806. parameters:
  22807. - description: 用户ID
  22808. in: query
  22809. name: userid
  22810. required: true
  22811. type: integer
  22812. - description: 套保品种ID
  22813. in: query
  22814. name: middlegoodsid
  22815. required: true
  22816. type: integer
  22817. produces:
  22818. - application/json
  22819. responses:
  22820. "200":
  22821. description: OK
  22822. schema:
  22823. items:
  22824. $ref: '#/definitions/models.Ermcp2hedgeditemsDetail'
  22825. type: array
  22826. "500":
  22827. description: Internal Server Error
  22828. schema:
  22829. $ref: '#/definitions/app.Response'
  22830. security:
  22831. - ApiKeyAuth: []
  22832. summary: 敞口明细 - 计划变动明细
  22833. tags:
  22834. - 企业风险管理v8
  22835. /Ermcp8/QueryErmcp2StockSpotChangeLog:
  22836. get:
  22837. parameters:
  22838. - description: 用户ID
  22839. in: query
  22840. name: userid
  22841. required: true
  22842. type: integer
  22843. - description: 套保品种ID
  22844. in: query
  22845. name: middlegoodsid
  22846. required: true
  22847. type: integer
  22848. produces:
  22849. - application/json
  22850. responses:
  22851. "200":
  22852. description: OK
  22853. schema:
  22854. items:
  22855. $ref: '#/definitions/models.Ermcp2stockspotchangelog'
  22856. type: array
  22857. "500":
  22858. description: Internal Server Error
  22859. schema:
  22860. $ref: '#/definitions/app.Response'
  22861. security:
  22862. - ApiKeyAuth: []
  22863. summary: 敞口明细 - 现货变动明细查询
  22864. tags:
  22865. - 企业风险管理v8
  22866. /Ermcp8/QueryErmcp8EnableHedgeditem:
  22867. get:
  22868. parameters:
  22869. - description: 用户ID
  22870. in: query
  22871. name: userid
  22872. required: true
  22873. type: integer
  22874. - description: 现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  22875. in: query
  22876. name: spottype
  22877. required: true
  22878. type: integer
  22879. - description: 现货商品ID
  22880. in: query
  22881. name: wrstandardid
  22882. type: integer
  22883. produces:
  22884. - application/json
  22885. responses:
  22886. "200":
  22887. description: OK
  22888. schema:
  22889. items:
  22890. $ref: '#/definitions/models.Ermcp8EnableHedgeditem'
  22891. type: array
  22892. "500":
  22893. description: Internal Server Error
  22894. schema:
  22895. $ref: '#/definitions/app.Response'
  22896. security:
  22897. - ApiKeyAuth: []
  22898. summary: 可关联项目查询
  22899. tags:
  22900. - 企业风险管理v8
  22901. /Ermcp8/QueryErmcp8HedgeditemReport:
  22902. get:
  22903. parameters:
  22904. - description: 用户ID
  22905. in: query
  22906. name: userid
  22907. required: true
  22908. type: integer
  22909. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  22910. in: query
  22911. name: cycletype
  22912. type: integer
  22913. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  22914. 全(0)【原值】
  22915. in: query
  22916. name: cycletime
  22917. required: true
  22918. type: string
  22919. - description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  22920. in: query
  22921. name: hedgedtype
  22922. type: integer
  22923. - description: 项目状态 - 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  22924. in: query
  22925. name: hedgeditemstatus
  22926. type: integer
  22927. - description: 项目编号,模糊查询
  22928. in: query
  22929. name: hedgeditemnum
  22930. type: string
  22931. - description: 现货商品ID
  22932. in: query
  22933. name: wrstandardid
  22934. type: integer
  22935. produces:
  22936. - application/json
  22937. responses:
  22938. "200":
  22939. description: OK
  22940. schema:
  22941. items:
  22942. $ref: '#/definitions/models.Ermcp8HedgeditemReport'
  22943. type: array
  22944. "500":
  22945. description: Internal Server Error
  22946. schema:
  22947. $ref: '#/definitions/app.Response'
  22948. security:
  22949. - ApiKeyAuth: []
  22950. summary: 套期项目报表查询
  22951. tags:
  22952. - 企业风险管理v8
  22953. /Ermcp8/QueryErmcp8RunningHedgeditem:
  22954. get:
  22955. parameters:
  22956. - description: 用户ID
  22957. in: query
  22958. name: userid
  22959. required: true
  22960. type: string
  22961. produces:
  22962. - application/json
  22963. responses:
  22964. "200":
  22965. description: OK
  22966. schema:
  22967. items:
  22968. $ref: '#/definitions/models.Ermcp8RunningHedgeditem'
  22969. type: array
  22970. "500":
  22971. description: Internal Server Error
  22972. schema:
  22973. $ref: '#/definitions/app.Response'
  22974. security:
  22975. - ApiKeyAuth: []
  22976. summary: 查询执行中项目查询信息
  22977. tags:
  22978. - 企业风险管理v8
  22979. /Ermcp8/QueryInternalEnableTradeDetail:
  22980. get:
  22981. parameters:
  22982. - description: 企业ID
  22983. in: query
  22984. name: areauserid
  22985. required: true
  22986. type: integer
  22987. - description: 期货合约ID
  22988. in: query
  22989. name: goodsid
  22990. required: true
  22991. type: integer
  22992. - description: 交易用户ID
  22993. in: query
  22994. name: tradeuserid
  22995. required: true
  22996. type: integer
  22997. produces:
  22998. - application/json
  22999. responses:
  23000. "200":
  23001. description: OK
  23002. schema:
  23003. items:
  23004. $ref: '#/definitions/models.InternalEnableTradeDetail'
  23005. type: array
  23006. "500":
  23007. description: Internal Server Error
  23008. schema:
  23009. $ref: '#/definitions/app.Response'
  23010. security:
  23011. - ApiKeyAuth: []
  23012. summary: 内部成交单可关联项目查询
  23013. tags:
  23014. - 企业风险管理v8
  23015. /Ermcp8/QueryInternalUncorrelatedTradeDetail:
  23016. get:
  23017. parameters:
  23018. - description: 用户编号
  23019. in: query
  23020. name: userid
  23021. required: true
  23022. type: integer
  23023. - description: 起始日期(格式yyyymmdd)
  23024. in: query
  23025. name: begindate
  23026. type: string
  23027. - description: 终止日期(格式yyyymmdd)
  23028. in: query
  23029. name: enddate
  23030. type: string
  23031. - description: 合约代码
  23032. in: query
  23033. name: goodscode
  23034. type: string
  23035. - description: 合约名称
  23036. in: query
  23037. name: goodsname
  23038. type: string
  23039. - description: 成交单号
  23040. in: query
  23041. name: tradeid
  23042. type: integer
  23043. - description: 方向 - 0:买 1:卖
  23044. in: query
  23045. name: buyorsell
  23046. type: integer
  23047. - description: 套期主体
  23048. in: query
  23049. name: accountname
  23050. type: string
  23051. produces:
  23052. - application/json
  23053. responses:
  23054. "200":
  23055. description: OK
  23056. schema:
  23057. items:
  23058. $ref: '#/definitions/models.InternalUncorrelatedTradeDetail'
  23059. type: array
  23060. "500":
  23061. description: Internal Server Error
  23062. schema:
  23063. $ref: '#/definitions/app.Response'
  23064. security:
  23065. - ApiKeyAuth: []
  23066. summary: 内部未关联成交单查询
  23067. tags:
  23068. - 企业风险管理v8
  23069. /Ermcp8/QueryMarketCalendar:
  23070. get:
  23071. parameters:
  23072. - description: 市场ID
  23073. in: query
  23074. name: marketid
  23075. type: integer
  23076. produces:
  23077. - application/json
  23078. responses:
  23079. "200":
  23080. description: OK
  23081. schema:
  23082. items:
  23083. $ref: '#/definitions/models.Marketcalendar'
  23084. type: array
  23085. "500":
  23086. description: Internal Server Error
  23087. schema:
  23088. $ref: '#/definitions/app.Response'
  23089. security:
  23090. - ApiKeyAuth: []
  23091. summary: 市场节假日查询
  23092. tags:
  23093. - 企业风险管理v8
  23094. /Ermcp8/QueryPatradeLinkDetail:
  23095. get:
  23096. parameters:
  23097. - description: 用户ID
  23098. in: query
  23099. name: userid
  23100. required: true
  23101. type: integer
  23102. - description: 套保品种ID
  23103. in: query
  23104. name: middlegoodsid
  23105. required: true
  23106. type: integer
  23107. produces:
  23108. - application/json
  23109. responses:
  23110. "200":
  23111. description: OK
  23112. schema:
  23113. items:
  23114. $ref: '#/definitions/models.Patradelinkdetail'
  23115. type: array
  23116. "500":
  23117. description: Internal Server Error
  23118. schema:
  23119. $ref: '#/definitions/app.Response'
  23120. security:
  23121. - ApiKeyAuth: []
  23122. summary: 敞口明细 - 期货变动明细
  23123. tags:
  23124. - 企业风险管理v8
  23125. /Ermcp8/QueryUnLinkErmcpHedgePlan:
  23126. get:
  23127. parameters:
  23128. - description: 企业ID
  23129. in: query
  23130. name: areauserid
  23131. required: true
  23132. type: integer
  23133. - description: 计划类型 - 1:采购 -1:销售
  23134. in: query
  23135. name: contracttype
  23136. type: integer
  23137. - description: 计划编号,模糊查询
  23138. in: query
  23139. name: hedgeplanno
  23140. type: string
  23141. - description: 现货商品,模糊查询
  23142. in: query
  23143. name: wrstandardname
  23144. type: string
  23145. produces:
  23146. - application/json
  23147. responses:
  23148. "200":
  23149. description: OK
  23150. schema:
  23151. items:
  23152. $ref: '#/definitions/models.Unlinkermcphedgeplan'
  23153. type: array
  23154. "500":
  23155. description: Internal Server Error
  23156. schema:
  23157. $ref: '#/definitions/app.Response'
  23158. security:
  23159. - ApiKeyAuth: []
  23160. summary: 未关联购销计划
  23161. tags:
  23162. - 企业风险管理v8
  23163. /Ermcp8/QueryUnLinkSpotContract:
  23164. get:
  23165. parameters:
  23166. - description: 用户ID
  23167. in: query
  23168. name: userid
  23169. required: true
  23170. type: integer
  23171. - description: 定价类型 - 1:一口价 2:点价 3:暂定价
  23172. in: query
  23173. name: pricetype
  23174. type: integer
  23175. - description: 合同编号, 模拟查询
  23176. in: query
  23177. name: contractno
  23178. type: string
  23179. - description: 对手方, 模拟查询
  23180. in: query
  23181. name: customername
  23182. type: string
  23183. - description: 项合同类型 - 1:采购 -1:销售
  23184. in: query
  23185. name: contracttype
  23186. type: integer
  23187. produces:
  23188. - application/json
  23189. responses:
  23190. "200":
  23191. description: OK
  23192. schema:
  23193. items:
  23194. $ref: '#/definitions/models.ErmcpSpotContractModelEx'
  23195. type: array
  23196. "500":
  23197. description: Internal Server Error
  23198. schema:
  23199. $ref: '#/definitions/app.Response'
  23200. security:
  23201. - ApiKeyAuth: []
  23202. summary: 未关联合同查询
  23203. tags:
  23204. - 企业风险管理v8
  23205. /Erms2/QueryArbitrageStrategy:
  23206. get:
  23207. parameters:
  23208. - description: 账户ID
  23209. in: query
  23210. name: userid
  23211. required: true
  23212. type: integer
  23213. - description: 商品组ID(品种ID)
  23214. in: query
  23215. name: goodsgroupid
  23216. type: string
  23217. produces:
  23218. - application/json
  23219. responses:
  23220. "200":
  23221. description: OK
  23222. schema:
  23223. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  23224. "500":
  23225. description: Internal Server Error
  23226. schema:
  23227. $ref: '#/definitions/app.Response'
  23228. security:
  23229. - ApiKeyAuth: []
  23230. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  23231. tags:
  23232. - 风险管理
  23233. /Erms2/QueryInnerTradeDetail:
  23234. get:
  23235. parameters:
  23236. - description: 资金账户
  23237. in: query
  23238. name: accountid
  23239. required: true
  23240. type: integer
  23241. produces:
  23242. - application/json
  23243. responses:
  23244. "200":
  23245. description: OK
  23246. schema:
  23247. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  23248. "500":
  23249. description: Internal Server Error
  23250. schema:
  23251. $ref: '#/definitions/app.Response'
  23252. security:
  23253. - ApiKeyAuth: []
  23254. summary: 查询内部成交单信息
  23255. tags:
  23256. - 风险管理
  23257. /Erms2/QuerySpotContract:
  23258. get:
  23259. parameters:
  23260. - description: 策略申请ID
  23261. in: query
  23262. name: asapplyid
  23263. required: true
  23264. type: integer
  23265. - description: 现货合同ID
  23266. in: query
  23267. name: spotcontractid
  23268. type: integer
  23269. produces:
  23270. - application/json
  23271. responses:
  23272. "200":
  23273. description: OK
  23274. schema:
  23275. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  23276. "500":
  23277. description: Internal Server Error
  23278. schema:
  23279. $ref: '#/definitions/app.Response'
  23280. security:
  23281. - ApiKeyAuth: []
  23282. summary: 查询现货合同表信息(指定策略ID、未结束的)
  23283. tags:
  23284. - 风险管理
  23285. /Erms3/AddErms2ASApply:
  23286. post:
  23287. parameters:
  23288. - description: 申请参数
  23289. in: body
  23290. name: jsonBody
  23291. required: true
  23292. schema:
  23293. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  23294. produces:
  23295. - application/json
  23296. responses:
  23297. "200":
  23298. description: OK
  23299. schema:
  23300. $ref: '#/definitions/app.Response'
  23301. "500":
  23302. description: Internal Server Error
  23303. schema:
  23304. $ref: '#/definitions/app.Response'
  23305. security:
  23306. - ApiKeyAuth: []
  23307. summary: 新增期现套利业务申请
  23308. tags:
  23309. - 风险管理v3
  23310. /Erms3/AddErms2SpotTradeApply:
  23311. post:
  23312. parameters:
  23313. - description: 申请参数
  23314. in: body
  23315. name: jsonBody
  23316. required: true
  23317. schema:
  23318. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  23319. produces:
  23320. - application/json
  23321. responses:
  23322. "200":
  23323. description: OK
  23324. schema:
  23325. $ref: '#/definitions/app.Response'
  23326. "500":
  23327. description: Internal Server Error
  23328. schema:
  23329. $ref: '#/definitions/app.Response'
  23330. security:
  23331. - ApiKeyAuth: []
  23332. summary: 新增现货贸易业务申请
  23333. tags:
  23334. - 风险管理v3
  23335. /Erms3/AddSpotContractApply:
  23336. post:
  23337. parameters:
  23338. - description: 申请参数
  23339. in: body
  23340. name: jsonBody
  23341. required: true
  23342. schema:
  23343. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  23344. produces:
  23345. - application/json
  23346. responses:
  23347. "200":
  23348. description: OK
  23349. schema:
  23350. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  23351. "500":
  23352. description: Internal Server Error
  23353. schema:
  23354. $ref: '#/definitions/app.Response'
  23355. security:
  23356. - ApiKeyAuth: []
  23357. summary: 新增现货合同申请
  23358. tags:
  23359. - 风险管理v3
  23360. /Erms3/AddUserInfoApply:
  23361. post:
  23362. parameters:
  23363. - description: 用户信息
  23364. in: body
  23365. name: jsonBody
  23366. required: true
  23367. schema:
  23368. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  23369. produces:
  23370. - application/json
  23371. responses:
  23372. "200":
  23373. description: OK
  23374. schema:
  23375. $ref: '#/definitions/app.Response'
  23376. "500":
  23377. description: Internal Server Error
  23378. schema:
  23379. $ref: '#/definitions/app.Response'
  23380. security:
  23381. - ApiKeyAuth: []
  23382. summary: 新增客户申请
  23383. tags:
  23384. - 风险管理v3
  23385. /Erms3/DeleteUserInfoApply:
  23386. get:
  23387. description: 只可删除 UserState = 1 (未提交)状态的申请信息
  23388. parameters:
  23389. - description: 用户ID
  23390. in: query
  23391. name: userID
  23392. required: true
  23393. type: integer
  23394. produces:
  23395. - application/json
  23396. responses:
  23397. "200":
  23398. description: OK
  23399. schema:
  23400. $ref: '#/definitions/app.Response'
  23401. "500":
  23402. description: Internal Server Error
  23403. schema:
  23404. $ref: '#/definitions/app.Response'
  23405. security:
  23406. - ApiKeyAuth: []
  23407. summary: 删除客户申请
  23408. tags:
  23409. - 风险管理v3
  23410. /Erms3/ModifyUserInfoApply:
  23411. post:
  23412. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid":
  23413. int, "userstate": 2 }'
  23414. parameters:
  23415. - description: 用户信息
  23416. in: body
  23417. name: jsonBody
  23418. required: true
  23419. schema:
  23420. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  23421. produces:
  23422. - application/json
  23423. responses:
  23424. "200":
  23425. description: OK
  23426. schema:
  23427. $ref: '#/definitions/app.Response'
  23428. "500":
  23429. description: Internal Server Error
  23430. schema:
  23431. $ref: '#/definitions/app.Response'
  23432. security:
  23433. - ApiKeyAuth: []
  23434. summary: 修改客户申请
  23435. tags:
  23436. - 风险管理v3
  23437. /Erms3/QueryBusinessInfo:
  23438. get:
  23439. parameters:
  23440. - description: 资金账号ID列表,用逗号分隔
  23441. in: query
  23442. name: accountids
  23443. required: true
  23444. type: string
  23445. - description: 状态,0为未结束 1为已结束
  23446. in: query
  23447. name: status
  23448. required: true
  23449. type: integer
  23450. produces:
  23451. - application/json
  23452. responses:
  23453. "200":
  23454. description: OK
  23455. schema:
  23456. items:
  23457. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  23458. type: array
  23459. "500":
  23460. description: Internal Server Error
  23461. schema:
  23462. $ref: '#/definitions/app.Response'
  23463. security:
  23464. - ApiKeyAuth: []
  23465. summary: 查询业务表单数据
  23466. tags:
  23467. - 风险管理v3
  23468. /Erms3/QueryPendingAuditContract:
  23469. get:
  23470. parameters:
  23471. - description: 资金账号ID列表,逗号隔开
  23472. in: query
  23473. name: accountids
  23474. required: true
  23475. type: string
  23476. - description: 合同类型 1-采购 -1-销售
  23477. in: query
  23478. name: contracttype
  23479. required: true
  23480. type: integer
  23481. - description: 合同模式 1-普通 2-回购
  23482. in: query
  23483. name: contractmode
  23484. required: true
  23485. type: integer
  23486. produces:
  23487. - application/json
  23488. responses:
  23489. "200":
  23490. description: OK
  23491. schema:
  23492. items:
  23493. $ref: '#/definitions/erms3.QryAuditContractRsp'
  23494. type: array
  23495. "500":
  23496. description: Internal Server Error
  23497. schema:
  23498. $ref: '#/definitions/app.Response'
  23499. security:
  23500. - ApiKeyAuth: []
  23501. summary: 查询待审核合同
  23502. tags:
  23503. - 风险管理v3
  23504. /Erms3/QueryPendingBusiness:
  23505. get:
  23506. parameters:
  23507. - description: 资金账号ID列表,逗号隔开
  23508. in: query
  23509. name: accountids
  23510. required: true
  23511. type: string
  23512. produces:
  23513. - application/json
  23514. responses:
  23515. "200":
  23516. description: OK
  23517. schema:
  23518. items:
  23519. $ref: '#/definitions/erms3.QryPendingBizRsp'
  23520. type: array
  23521. "500":
  23522. description: Internal Server Error
  23523. schema:
  23524. $ref: '#/definitions/app.Response'
  23525. security:
  23526. - ApiKeyAuth: []
  23527. summary: 查询待审核基差贸易业务
  23528. tags:
  23529. - 风险管理v3
  23530. /Erms3/QuerySpotContractAppleForm:
  23531. get:
  23532. parameters:
  23533. - description: 登录账号
  23534. in: query
  23535. name: loginID
  23536. required: true
  23537. type: integer
  23538. produces:
  23539. - application/json
  23540. responses:
  23541. "200":
  23542. description: OK
  23543. schema:
  23544. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  23545. "500":
  23546. description: Internal Server Error
  23547. schema:
  23548. $ref: '#/definitions/app.Response'
  23549. security:
  23550. - ApiKeyAuth: []
  23551. summary: 查询合同申请表单数据
  23552. tags:
  23553. - 风险管理v3
  23554. /Erms3/QuerySpotContractDetail:
  23555. get:
  23556. parameters:
  23557. - description: 资金账号ID列表,用逗号分隔
  23558. in: query
  23559. name: accountids
  23560. required: true
  23561. type: string
  23562. - description: 合同类型,1为采购合同 -1为销售合同
  23563. in: query
  23564. name: contracttype
  23565. required: true
  23566. type: integer
  23567. - description: 合同模式,1为普通合同 2为回购销售合同
  23568. in: query
  23569. name: contractmode
  23570. required: true
  23571. type: integer
  23572. - description: 状态,0为履约中 1为已完成
  23573. in: query
  23574. name: status
  23575. required: true
  23576. type: integer
  23577. produces:
  23578. - application/json
  23579. responses:
  23580. "200":
  23581. description: OK
  23582. schema:
  23583. items:
  23584. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  23585. type: array
  23586. "500":
  23587. description: Internal Server Error
  23588. schema:
  23589. $ref: '#/definitions/app.Response'
  23590. security:
  23591. - ApiKeyAuth: []
  23592. summary: 查询合同详细信息
  23593. tags:
  23594. - 风险管理v3
  23595. /Erms3/QueryUserInfoApplies:
  23596. get:
  23597. parameters:
  23598. - description: 页码
  23599. in: query
  23600. name: page
  23601. type: integer
  23602. - description: 每页条数
  23603. in: query
  23604. name: pagesize
  23605. type: integer
  23606. - description: 客户名称,支持模糊查询
  23607. in: query
  23608. name: userName
  23609. type: string
  23610. produces:
  23611. - application/json
  23612. responses:
  23613. "200":
  23614. description: OK
  23615. schema:
  23616. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  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/QueryUserInfos:
  23627. get:
  23628. parameters:
  23629. - description: 页码
  23630. in: query
  23631. name: page
  23632. type: integer
  23633. - description: 每页条数
  23634. in: query
  23635. name: pagesize
  23636. type: integer
  23637. - description: 客户名称,支持模糊查询
  23638. in: query
  23639. name: userName
  23640. type: string
  23641. produces:
  23642. - application/json
  23643. responses:
  23644. "200":
  23645. description: OK
  23646. schema:
  23647. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  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. /Guangzuan/GetGoods:
  23658. get:
  23659. parameters:
  23660. - description: 商品编号
  23661. in: query
  23662. name: goodsno
  23663. required: true
  23664. type: string
  23665. produces:
  23666. - application/json
  23667. responses:
  23668. "200":
  23669. description: OK
  23670. schema:
  23671. $ref: '#/definitions/models.GZGoods'
  23672. "500":
  23673. description: Internal Server Error
  23674. schema:
  23675. $ref: '#/definitions/app.Response'
  23676. security:
  23677. - ApiKeyAuth: []
  23678. - LoginID: []
  23679. - Group: []
  23680. summary: 获取钻石详情
  23681. tags:
  23682. - 广钻
  23683. /Guangzuan/QueryBuyOrder:
  23684. get:
  23685. parameters:
  23686. - description: 页码
  23687. in: query
  23688. name: page
  23689. type: integer
  23690. - description: 每页条数
  23691. in: query
  23692. name: pagesize
  23693. type: integer
  23694. - description: 商品(查询字段-模糊查询)
  23695. in: query
  23696. name: zsallproperties
  23697. type: string
  23698. - description: 钻石分类枚举ID
  23699. in: query
  23700. name: zscategory
  23701. type: integer
  23702. - description: 委托单号
  23703. in: query
  23704. name: wrtradeorderid
  23705. type: integer
  23706. - description: 买方(查询字段-模糊查询)
  23707. in: query
  23708. name: buyusername
  23709. type: string
  23710. produces:
  23711. - application/json
  23712. responses:
  23713. "200":
  23714. description: OK
  23715. schema:
  23716. items:
  23717. $ref: '#/definitions/models.BuyOrder'
  23718. type: array
  23719. "500":
  23720. description: Internal Server Error
  23721. schema:
  23722. $ref: '#/definitions/app.Response'
  23723. security:
  23724. - ApiKeyAuth: []
  23725. - LoginID: []
  23726. - Group: []
  23727. summary: 查询求购大厅委托单
  23728. tags:
  23729. - 广钻
  23730. /Guangzuan/QueryDiamond:
  23731. post:
  23732. parameters:
  23733. - description: 钻石搜索入参
  23734. in: body
  23735. name: data
  23736. required: true
  23737. schema:
  23738. $ref: '#/definitions/models.SellOrderQueryReq'
  23739. produces:
  23740. - application/json
  23741. responses:
  23742. "200":
  23743. description: OK
  23744. schema:
  23745. items:
  23746. $ref: '#/definitions/models.SellOrder'
  23747. type: array
  23748. "500":
  23749. description: Internal Server Error
  23750. schema:
  23751. $ref: '#/definitions/app.Response'
  23752. security:
  23753. - ApiKeyAuth: []
  23754. - LoginID: []
  23755. - Group: []
  23756. summary: 钻石搜索
  23757. tags:
  23758. - 广钻
  23759. /Guangzuan/QueryMyBargainApply:
  23760. get:
  23761. parameters:
  23762. - description: 用户ID
  23763. in: query
  23764. name: userid
  23765. required: true
  23766. type: integer
  23767. - description: 页码
  23768. in: query
  23769. name: page
  23770. type: integer
  23771. - description: 每页条数
  23772. in: query
  23773. name: pagesize
  23774. type: integer
  23775. - description: 申请状态(不传查全部) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  23776. in: query
  23777. name: applystatus
  23778. type: integer
  23779. produces:
  23780. - application/json
  23781. responses:
  23782. "200":
  23783. description: OK
  23784. schema:
  23785. items:
  23786. $ref: '#/definitions/models.MyBargainApply'
  23787. type: array
  23788. "500":
  23789. description: Internal Server Error
  23790. schema:
  23791. $ref: '#/definitions/app.Response'
  23792. security:
  23793. - ApiKeyAuth: []
  23794. - LoginID: []
  23795. - Group: []
  23796. summary: 查询我的询价-求购
  23797. tags:
  23798. - 广钻
  23799. /Guangzuan/QueryMyBuyOrder:
  23800. get:
  23801. parameters:
  23802. - description: 用户ID
  23803. in: query
  23804. name: userid
  23805. required: true
  23806. type: integer
  23807. - description: 页码
  23808. in: query
  23809. name: page
  23810. type: integer
  23811. - description: 每页条数
  23812. in: query
  23813. name: pagesize
  23814. type: integer
  23815. - description: 商品(查询字段-模糊查询)
  23816. in: query
  23817. name: zsallproperties
  23818. type: string
  23819. - description: 钻石分类枚举ID
  23820. in: query
  23821. name: zscategory
  23822. type: integer
  23823. - description: 委托单号
  23824. in: query
  23825. name: wrtradeorderid
  23826. type: integer
  23827. - description: 是否历史查询
  23828. in: query
  23829. name: ishis
  23830. type: boolean
  23831. produces:
  23832. - application/json
  23833. responses:
  23834. "200":
  23835. description: OK
  23836. schema:
  23837. items:
  23838. $ref: '#/definitions/models.MyBuyOrder'
  23839. type: array
  23840. "500":
  23841. description: Internal Server Error
  23842. schema:
  23843. $ref: '#/definitions/app.Response'
  23844. security:
  23845. - ApiKeyAuth: []
  23846. - LoginID: []
  23847. - Group: []
  23848. summary: 查询我的求购
  23849. tags:
  23850. - 广钻
  23851. /Guangzuan/QueryMyDeListing:
  23852. get:
  23853. parameters:
  23854. - description: 用户ID
  23855. in: query
  23856. name: userid
  23857. required: true
  23858. type: integer
  23859. - description: 页码
  23860. in: query
  23861. name: page
  23862. type: integer
  23863. - description: 每页条数
  23864. in: query
  23865. name: pagesize
  23866. type: integer
  23867. - description: 商品(查询字段-模糊查询)
  23868. in: query
  23869. name: zsallproperties
  23870. type: string
  23871. - description: 钻石分类枚举ID
  23872. in: query
  23873. name: zscategory
  23874. type: integer
  23875. - description: 成交单号
  23876. in: query
  23877. name: wrtradedetailid
  23878. type: integer
  23879. - description: 方向,0-全部(可不传) 1-购买 2-出售
  23880. in: query
  23881. name: buyorsell
  23882. type: integer
  23883. - description: 开始交易日(yyyymmdd)
  23884. in: query
  23885. name: begindate
  23886. type: string
  23887. - description: 结束交易日(yyyymmdd)
  23888. in: query
  23889. name: enddate
  23890. type: string
  23891. produces:
  23892. - application/json
  23893. responses:
  23894. "200":
  23895. description: OK
  23896. schema:
  23897. items:
  23898. $ref: '#/definitions/models.MyDeListing'
  23899. type: array
  23900. "500":
  23901. description: Internal Server Error
  23902. schema:
  23903. $ref: '#/definitions/app.Response'
  23904. security:
  23905. - ApiKeyAuth: []
  23906. - LoginID: []
  23907. - Group: []
  23908. summary: 查询我的摘牌
  23909. tags:
  23910. - 广钻
  23911. /Guangzuan/QueryMyDelistingApply:
  23912. get:
  23913. parameters:
  23914. - description: 用户ID
  23915. in: query
  23916. name: userid
  23917. required: true
  23918. type: integer
  23919. - description: 页码
  23920. in: query
  23921. name: page
  23922. type: integer
  23923. - description: 每页条数
  23924. in: query
  23925. name: pagesize
  23926. type: integer
  23927. - description: 申请状态(不传查全部) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  23928. in: query
  23929. name: applystatus
  23930. type: integer
  23931. produces:
  23932. - application/json
  23933. responses:
  23934. "200":
  23935. description: OK
  23936. schema:
  23937. items:
  23938. $ref: '#/definitions/models.MyDelistingApply'
  23939. type: array
  23940. "500":
  23941. description: Internal Server Error
  23942. schema:
  23943. $ref: '#/definitions/app.Response'
  23944. security:
  23945. - ApiKeyAuth: []
  23946. - LoginID: []
  23947. - Group: []
  23948. summary: 查询我的询价-出售
  23949. tags:
  23950. - 广钻
  23951. /Guangzuan/QueryMySellOrder:
  23952. get:
  23953. parameters:
  23954. - description: 用户ID
  23955. in: query
  23956. name: userid
  23957. required: true
  23958. type: integer
  23959. - description: 页码
  23960. in: query
  23961. name: page
  23962. type: integer
  23963. - description: 每页条数
  23964. in: query
  23965. name: pagesize
  23966. type: integer
  23967. - description: 商品(查询字段-模糊查询)
  23968. in: query
  23969. name: zsallproperties
  23970. type: string
  23971. - description: 钻石分类枚举ID
  23972. in: query
  23973. name: zscategory
  23974. type: integer
  23975. - description: 委托单号
  23976. in: query
  23977. name: wrtradeorderid
  23978. type: integer
  23979. - description: 是否历史查询
  23980. in: query
  23981. name: ishis
  23982. type: boolean
  23983. produces:
  23984. - application/json
  23985. responses:
  23986. "200":
  23987. description: OK
  23988. schema:
  23989. items:
  23990. $ref: '#/definitions/models.MySellOrder'
  23991. type: array
  23992. "500":
  23993. description: Internal Server Error
  23994. schema:
  23995. $ref: '#/definitions/app.Response'
  23996. security:
  23997. - ApiKeyAuth: []
  23998. - LoginID: []
  23999. - Group: []
  24000. summary: 查询我的出售
  24001. tags:
  24002. - 广钻
  24003. /Guangzuan/QueryMyWRPosition:
  24004. get:
  24005. parameters:
  24006. - description: 页码
  24007. in: query
  24008. name: page
  24009. type: integer
  24010. - description: 每页条数
  24011. in: query
  24012. name: pagesize
  24013. type: integer
  24014. - description: 登录用户ID
  24015. in: query
  24016. name: wruserid
  24017. required: true
  24018. type: integer
  24019. - description: 商品(查询字段-模糊查询)
  24020. in: query
  24021. name: zsallproperties
  24022. type: string
  24023. - description: 钻石分类枚举ID
  24024. in: query
  24025. name: zscategory
  24026. type: integer
  24027. - description: 仓库ID
  24028. in: query
  24029. name: warehouseid
  24030. type: integer
  24031. produces:
  24032. - application/json
  24033. responses:
  24034. "200":
  24035. description: OK
  24036. schema:
  24037. items:
  24038. $ref: '#/definitions/models.MyWRPosition'
  24039. type: array
  24040. "500":
  24041. description: Internal Server Error
  24042. schema:
  24043. $ref: '#/definitions/app.Response'
  24044. security:
  24045. - ApiKeyAuth: []
  24046. - LoginID: []
  24047. - Group: []
  24048. summary: 查询我的库存
  24049. tags:
  24050. - 广钻
  24051. /Guangzuan/QuerySellOrder:
  24052. get:
  24053. parameters:
  24054. - description: 页码
  24055. in: query
  24056. name: page
  24057. type: integer
  24058. - description: 每页条数
  24059. in: query
  24060. name: pagesize
  24061. type: integer
  24062. - description: 商品(查询字段-模糊查询)
  24063. in: query
  24064. name: zsallproperties
  24065. type: string
  24066. - description: 钻石分类枚举ID
  24067. in: query
  24068. name: zscategory
  24069. type: integer
  24070. - description: 委托单号
  24071. in: query
  24072. name: wrtradeorderid
  24073. type: integer
  24074. - description: 卖方(查询字段-模糊查询)
  24075. in: query
  24076. name: buyusername
  24077. type: string
  24078. produces:
  24079. - application/json
  24080. responses:
  24081. "200":
  24082. description: OK
  24083. schema:
  24084. items:
  24085. $ref: '#/definitions/models.SellOrder'
  24086. type: array
  24087. "500":
  24088. description: Internal Server Error
  24089. schema:
  24090. $ref: '#/definitions/app.Response'
  24091. security:
  24092. - ApiKeyAuth: []
  24093. - LoginID: []
  24094. - Group: []
  24095. summary: 查询出售大厅委托单
  24096. tags:
  24097. - 广钻
  24098. /Guangzuan/QueryWarehouseInfo:
  24099. get:
  24100. parameters:
  24101. - description: 页码
  24102. in: query
  24103. name: page
  24104. type: integer
  24105. - description: 每页条数
  24106. in: query
  24107. name: pagesize
  24108. type: integer
  24109. - description: 用户ID
  24110. in: query
  24111. name: userid
  24112. required: true
  24113. type: integer
  24114. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  24115. in: query
  24116. name: status
  24117. type: string
  24118. - description: 是返回交易所仓库
  24119. in: query
  24120. name: isincludeexchange
  24121. type: boolean
  24122. produces:
  24123. - application/json
  24124. responses:
  24125. "200":
  24126. description: OK
  24127. schema:
  24128. items:
  24129. $ref: '#/definitions/models.GZWarehouseinfo'
  24130. type: array
  24131. "500":
  24132. description: Internal Server Error
  24133. schema:
  24134. $ref: '#/definitions/app.Response'
  24135. security:
  24136. - ApiKeyAuth: []
  24137. - LoginID: []
  24138. - Group: []
  24139. summary: 查询仓库信息
  24140. tags:
  24141. - 广钻
  24142. /Market/GetAllExExchanges:
  24143. get:
  24144. produces:
  24145. - application/json
  24146. responses:
  24147. "200":
  24148. description: OK
  24149. schema:
  24150. $ref: '#/definitions/models.Goods'
  24151. "500":
  24152. description: Internal Server Error
  24153. schema:
  24154. $ref: '#/definitions/app.Response'
  24155. security:
  24156. - ApiKeyAuth: []
  24157. summary: 获取所有外部交易所信息
  24158. tags:
  24159. - 通用市场
  24160. /Market/QueryGoodsesByLoginID:
  24161. get:
  24162. parameters:
  24163. - description: 登录账号
  24164. in: query
  24165. name: loginID
  24166. required: true
  24167. type: integer
  24168. - description: 市场ID列表,格式:1,2,3
  24169. in: query
  24170. name: marketIDs
  24171. type: string
  24172. produces:
  24173. - application/json
  24174. responses:
  24175. "200":
  24176. description: OK
  24177. schema:
  24178. $ref: '#/definitions/models.Goods'
  24179. "500":
  24180. description: Internal Server Error
  24181. schema:
  24182. $ref: '#/definitions/app.Response'
  24183. security:
  24184. - ApiKeyAuth: []
  24185. summary: 获取登录账号有权限的商品信息
  24186. tags:
  24187. - 通用市场
  24188. /Market/QueryMarketRun:
  24189. get:
  24190. parameters:
  24191. - description: 市场ID,不传返回所有
  24192. in: query
  24193. name: marketID
  24194. type: integer
  24195. produces:
  24196. - application/json
  24197. responses:
  24198. "200":
  24199. description: OK
  24200. schema:
  24201. $ref: '#/definitions/models.Marketrun'
  24202. "500":
  24203. description: Internal Server Error
  24204. schema:
  24205. $ref: '#/definitions/app.Response'
  24206. security:
  24207. - ApiKeyAuth: []
  24208. summary: 查询市场运行信息
  24209. tags:
  24210. - 通用市场
  24211. /Market/QueryMarketsByLoginID:
  24212. get:
  24213. parameters:
  24214. - description: 登录账号
  24215. in: query
  24216. name: loginID
  24217. required: true
  24218. type: integer
  24219. produces:
  24220. - application/json
  24221. responses:
  24222. "200":
  24223. description: OK
  24224. schema:
  24225. $ref: '#/definitions/models.Market'
  24226. "500":
  24227. description: Internal Server Error
  24228. schema:
  24229. $ref: '#/definitions/app.Response'
  24230. security:
  24231. - ApiKeyAuth: []
  24232. summary: 获取登录账号有权限的市场信息
  24233. tags:
  24234. - 通用市场
  24235. /Order/QueryHisTradeDetail:
  24236. get:
  24237. parameters:
  24238. - description: 资金账户 - 格式:1,2,3
  24239. in: query
  24240. name: accountID
  24241. required: true
  24242. type: string
  24243. - description: 成交单号
  24244. in: query
  24245. name: tradeID
  24246. type: integer
  24247. - description: 委托单号
  24248. in: query
  24249. name: orderID
  24250. type: integer
  24251. - description: 商品ID
  24252. in: query
  24253. name: goodsID
  24254. type: integer
  24255. - description: 交易模式 - 格式:1,2,3
  24256. in: query
  24257. name: tradeMode
  24258. type: string
  24259. - description: 委托单据类型
  24260. in: query
  24261. name: buildType
  24262. type: integer
  24263. - description: 成交类别 - 格式:1,2,3
  24264. in: query
  24265. name: tradeType
  24266. type: string
  24267. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  24268. in: query
  24269. name: startDate
  24270. type: string
  24271. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  24272. in: query
  24273. name: endDate
  24274. type: string
  24275. produces:
  24276. - application/json
  24277. responses:
  24278. "200":
  24279. description: OK
  24280. schema:
  24281. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  24282. "500":
  24283. description: Internal Server Error
  24284. schema:
  24285. $ref: '#/definitions/app.Response'
  24286. security:
  24287. - ApiKeyAuth: []
  24288. summary: 历史成交单查询(合约市场)
  24289. tags:
  24290. - 通用单据
  24291. /Order/QueryHisTradeOrderDetail:
  24292. get:
  24293. parameters:
  24294. - description: 资金账户 - 格式:1,2,3
  24295. in: query
  24296. name: accountID
  24297. required: true
  24298. type: string
  24299. - description: 交易模式 - 格式:1,2,3
  24300. in: query
  24301. name: tradeMode
  24302. type: string
  24303. - description: 委托状态 - 格式:1,2,3
  24304. in: query
  24305. name: orderStatus
  24306. type: string
  24307. - description: 委托单号
  24308. in: query
  24309. name: orderID
  24310. type: integer
  24311. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  24312. in: query
  24313. name: startDate
  24314. type: string
  24315. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  24316. in: query
  24317. name: endDate
  24318. type: string
  24319. produces:
  24320. - application/json
  24321. responses:
  24322. "200":
  24323. description: OK
  24324. schema:
  24325. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  24326. "500":
  24327. description: Internal Server Error
  24328. schema:
  24329. $ref: '#/definitions/app.Response'
  24330. security:
  24331. - ApiKeyAuth: []
  24332. summary: 历史委托单查询请求(合约市场)
  24333. tags:
  24334. - 通用单据
  24335. /Order/QueryTradeDetail:
  24336. get:
  24337. parameters:
  24338. - description: 资金账户 - 格式:1,2,3
  24339. in: query
  24340. name: accountID
  24341. required: true
  24342. type: string
  24343. - description: 成交单号
  24344. in: query
  24345. name: tradeID
  24346. type: integer
  24347. - description: 委托单号
  24348. in: query
  24349. name: orderID
  24350. type: integer
  24351. - description: 交易模式 - 格式:1,2,3
  24352. in: query
  24353. name: tradeMode
  24354. type: string
  24355. - description: 委托单据类型
  24356. in: query
  24357. name: buildType
  24358. type: integer
  24359. - description: 成交类别 - 格式:1,2,3
  24360. in: query
  24361. name: tradeType
  24362. type: string
  24363. - description: 商品ID
  24364. in: query
  24365. name: goodsID
  24366. type: integer
  24367. produces:
  24368. - application/json
  24369. responses:
  24370. "200":
  24371. description: OK
  24372. schema:
  24373. $ref: '#/definitions/order.QueryTradeDetailRsp'
  24374. "500":
  24375. description: Internal Server Error
  24376. schema:
  24377. $ref: '#/definitions/app.Response'
  24378. security:
  24379. - ApiKeyAuth: []
  24380. summary: 成交单查询(合约市场)
  24381. tags:
  24382. - 通用单据
  24383. /Order/QueryTradeHolderDetail:
  24384. get:
  24385. parameters:
  24386. - description: 用户id
  24387. in: query
  24388. name: userid
  24389. type: integer
  24390. - description: 资金账号, 格式 1,2,3
  24391. in: query
  24392. name: accids
  24393. type: string
  24394. - description: 交易模式, 格式 1,2,3
  24395. in: query
  24396. name: trademodes
  24397. type: string
  24398. - description: 市场id, 格式 1,2,3
  24399. in: query
  24400. name: marketids
  24401. type: string
  24402. - description: 商品id
  24403. in: query
  24404. name: goodsid
  24405. type: integer
  24406. - description: 买卖方向 0-买 1-卖
  24407. in: query
  24408. name: buyorsell
  24409. type: integer
  24410. produces:
  24411. - application/json
  24412. responses:
  24413. "200":
  24414. description: OK
  24415. schema:
  24416. items:
  24417. $ref: '#/definitions/models.TradeHolderDetail'
  24418. type: array
  24419. "500":
  24420. description: Internal Server Error
  24421. schema:
  24422. $ref: '#/definitions/app.Response'
  24423. security:
  24424. - ApiKeyAuth: []
  24425. summary: 查询持仓明细
  24426. tags:
  24427. - 通用单据
  24428. /Order/QueryTradeOrderDetail:
  24429. get:
  24430. parameters:
  24431. - description: 资金账户 - 格式:1,2,3
  24432. in: query
  24433. name: accountID
  24434. required: true
  24435. type: string
  24436. - description: 交易模式 - 格式:1,2,3
  24437. in: query
  24438. name: tradeMode
  24439. type: string
  24440. - description: 委托状态 - 格式:1,2,3
  24441. in: query
  24442. name: orderStatus
  24443. type: string
  24444. - description: 委托单号
  24445. in: query
  24446. name: orderID
  24447. type: integer
  24448. produces:
  24449. - application/json
  24450. responses:
  24451. "200":
  24452. description: OK
  24453. schema:
  24454. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  24455. "500":
  24456. description: Internal Server Error
  24457. schema:
  24458. $ref: '#/definitions/app.Response'
  24459. security:
  24460. - ApiKeyAuth: []
  24461. summary: 委托单查询请求(合约市场)
  24462. tags:
  24463. - 通用单据
  24464. /Order/QueryTradePosition:
  24465. get:
  24466. parameters:
  24467. - description: 资金账户 - 格式:1,2,3
  24468. in: query
  24469. name: accountID
  24470. required: true
  24471. type: string
  24472. - description: 交易模式 - 格式:1,2,3
  24473. in: query
  24474. name: tradeMode
  24475. type: string
  24476. produces:
  24477. - application/json
  24478. responses:
  24479. "200":
  24480. description: OK
  24481. schema:
  24482. $ref: '#/definitions/order.QueryTradePositionRsp'
  24483. "500":
  24484. description: Internal Server Error
  24485. schema:
  24486. $ref: '#/definitions/app.Response'
  24487. security:
  24488. - ApiKeyAuth: []
  24489. summary: 持仓汇总查询(合约市场)
  24490. tags:
  24491. - 通用单据
  24492. /Quote/QueryHistoryDatas:
  24493. get:
  24494. parameters:
  24495. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  24496. 日线 12:周线 13:月线 14:年线'
  24497. in: query
  24498. name: cycleType
  24499. required: true
  24500. type: integer
  24501. - description: 商品代码
  24502. in: query
  24503. name: goodsCode
  24504. required: true
  24505. type: string
  24506. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  24507. in: query
  24508. name: startTime
  24509. type: string
  24510. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  24511. in: query
  24512. name: endTime
  24513. type: string
  24514. - description: 条数
  24515. in: query
  24516. name: count
  24517. type: integer
  24518. - description: 是否按时间顺序排序(默认为时间倒序排序)
  24519. in: query
  24520. name: isAsc
  24521. type: boolean
  24522. produces:
  24523. - application/json
  24524. responses:
  24525. "200":
  24526. description: OK
  24527. schema:
  24528. $ref: '#/definitions/quote.HistoryData'
  24529. "500":
  24530. description: Internal Server Error
  24531. schema:
  24532. $ref: '#/definitions/app.Response'
  24533. security:
  24534. - ApiKeyAuth: []
  24535. summary: 查询行情历史数据
  24536. tags:
  24537. - 行情服务
  24538. /Quote/QueryHistoryTikDatas:
  24539. get:
  24540. parameters:
  24541. - description: 商品代码
  24542. in: query
  24543. name: goodsCode
  24544. required: true
  24545. type: string
  24546. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  24547. in: query
  24548. name: startTime
  24549. type: string
  24550. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  24551. in: query
  24552. name: endTime
  24553. type: string
  24554. - description: 条数
  24555. in: query
  24556. name: count
  24557. type: integer
  24558. - description: 是否按时间顺序排序(默认为时间倒序排序)
  24559. in: query
  24560. name: isAsc
  24561. type: boolean
  24562. produces:
  24563. - application/json
  24564. responses:
  24565. "200":
  24566. description: OK
  24567. schema:
  24568. $ref: '#/definitions/quote.HistoryTikData'
  24569. "500":
  24570. description: Internal Server Error
  24571. schema:
  24572. $ref: '#/definitions/app.Response'
  24573. security:
  24574. - ApiKeyAuth: []
  24575. summary: 查询行情Tik数据
  24576. tags:
  24577. - 行情服务
  24578. /Quote/QueryQuoteDay:
  24579. get:
  24580. parameters:
  24581. - description: 此参数不填则查所有;商品代码列表,格式:CU2102,CU2103,AL2107
  24582. in: query
  24583. name: goodsCodes
  24584. type: string
  24585. produces:
  24586. - application/json
  24587. responses:
  24588. "200":
  24589. description: OK
  24590. schema:
  24591. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  24592. "500":
  24593. description: Internal Server Error
  24594. schema:
  24595. $ref: '#/definitions/app.Response'
  24596. security:
  24597. - ApiKeyAuth: []
  24598. summary: 获取商品盘面信息
  24599. tags:
  24600. - 行情服务
  24601. /Quote/QueryTSData:
  24602. get:
  24603. parameters:
  24604. - description: 商品代码
  24605. in: query
  24606. name: goodsCode
  24607. required: true
  24608. type: string
  24609. produces:
  24610. - application/json
  24611. responses:
  24612. "200":
  24613. description: OK
  24614. schema:
  24615. $ref: '#/definitions/quote.QueryTSDataRsp'
  24616. "500":
  24617. description: Internal Server Error
  24618. schema:
  24619. $ref: '#/definitions/app.Response'
  24620. security:
  24621. - ApiKeyAuth: []
  24622. summary: 分时图数据查询
  24623. tags:
  24624. - 行情服务
  24625. /SZDZ/QueryConvertConfig:
  24626. get:
  24627. parameters:
  24628. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  24629. 6:交易转花生米(不设置)
  24630. in: query
  24631. name: convertType
  24632. type: integer
  24633. - description: 外部商品代码[JD\PD]
  24634. in: query
  24635. name: outerGoodsCode
  24636. type: string
  24637. - description: 内部商品ID列表[交易],格式:1,2,3
  24638. in: query
  24639. name: innerGoodsIDs
  24640. type: string
  24641. produces:
  24642. - application/json
  24643. responses:
  24644. "200":
  24645. description: OK
  24646. schema:
  24647. $ref: '#/definitions/models.Szdz3convertconfig'
  24648. "500":
  24649. description: Internal Server Error
  24650. schema:
  24651. $ref: '#/definitions/app.Response'
  24652. security:
  24653. - ApiKeyAuth: []
  24654. summary: 查询交易系统转换设置
  24655. tags:
  24656. - 定制【尚志大宗】
  24657. /SZDZ/QueryConvertLog:
  24658. get:
  24659. parameters:
  24660. - description: 资金账户 - 格式:1,2,3
  24661. in: query
  24662. name: accountID
  24663. required: true
  24664. type: string
  24665. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  24666. in: query
  24667. name: startDate
  24668. type: string
  24669. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  24670. in: query
  24671. name: endDate
  24672. type: string
  24673. produces:
  24674. - application/json
  24675. responses:
  24676. "200":
  24677. description: OK
  24678. schema:
  24679. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  24680. "500":
  24681. description: Internal Server Error
  24682. schema:
  24683. $ref: '#/definitions/app.Response'
  24684. security:
  24685. - ApiKeyAuth: []
  24686. summary: 交易系统转换流水查询
  24687. tags:
  24688. - 定制【尚志大宗】
  24689. /SZDZ/QueryGoodsPickup:
  24690. get:
  24691. parameters:
  24692. - description: 资金账户 - 格式:1,2,3
  24693. in: query
  24694. name: accountID
  24695. required: true
  24696. type: string
  24697. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  24698. in: query
  24699. name: takeOrderStatus
  24700. type: integer
  24701. produces:
  24702. - application/json
  24703. responses:
  24704. "200":
  24705. description: OK
  24706. schema:
  24707. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  24708. "500":
  24709. description: Internal Server Error
  24710. schema:
  24711. $ref: '#/definitions/app.Response'
  24712. security:
  24713. - ApiKeyAuth: []
  24714. summary: 商品提货单查询
  24715. tags:
  24716. - 定制【尚志大宗】
  24717. /SZDZ/QueryRecieptOrder:
  24718. get:
  24719. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  24720. parameters:
  24721. - description: 页码
  24722. in: query
  24723. name: page
  24724. type: integer
  24725. - description: 每页条数
  24726. in: query
  24727. name: pagesize
  24728. type: integer
  24729. - description: 商品ID
  24730. in: query
  24731. name: goodsID
  24732. required: true
  24733. type: integer
  24734. - description: 所属账户名称
  24735. in: query
  24736. name: accountName
  24737. type: string
  24738. - description: 市场ID
  24739. in: query
  24740. name: marketID
  24741. type: integer
  24742. - description: 方向 - 0:买 1:卖
  24743. in: query
  24744. name: buyorsell
  24745. required: true
  24746. type: integer
  24747. produces:
  24748. - application/json
  24749. responses:
  24750. "200":
  24751. description: OK
  24752. schema:
  24753. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  24754. "500":
  24755. description: Internal Server Error
  24756. schema:
  24757. $ref: '#/definitions/app.Response'
  24758. security:
  24759. - ApiKeyAuth: []
  24760. summary: 点选挂牌委托单据查询(摘牌大厅)
  24761. tags:
  24762. - 定制【尚志大宗】
  24763. /SZDZ/QuerySZDZTradePosition:
  24764. get:
  24765. parameters:
  24766. - description: 资金账户
  24767. in: query
  24768. name: accountID
  24769. required: true
  24770. type: integer
  24771. produces:
  24772. - application/json
  24773. responses:
  24774. "200":
  24775. description: OK
  24776. schema:
  24777. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  24778. "500":
  24779. description: Internal Server Error
  24780. schema:
  24781. $ref: '#/definitions/app.Response'
  24782. security:
  24783. - ApiKeyAuth: []
  24784. summary: 持仓汇总查询(尚志大宗)
  24785. tags:
  24786. - 定制【尚志大宗】
  24787. /SZDZ/SearchWhite:
  24788. get:
  24789. parameters:
  24790. - description: 用户ID
  24791. in: query
  24792. name: userID
  24793. required: true
  24794. type: integer
  24795. produces:
  24796. - application/json
  24797. responses:
  24798. "200":
  24799. description: OK
  24800. schema:
  24801. $ref: '#/definitions/models.Szdz3searchwhitelist'
  24802. "500":
  24803. description: Internal Server Error
  24804. schema:
  24805. $ref: '#/definitions/app.Response'
  24806. security:
  24807. - ApiKeyAuth: []
  24808. summary: 搜索白名单
  24809. tags:
  24810. - 定制【尚志大宗】
  24811. /Search/SearchGoodses:
  24812. get:
  24813. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  24814. parameters:
  24815. - description: 检索内容
  24816. in: query
  24817. name: content
  24818. required: true
  24819. type: string
  24820. - description: 交易模式,格式:1,2,3
  24821. in: query
  24822. name: tradeModes
  24823. type: string
  24824. produces:
  24825. - application/json
  24826. responses:
  24827. "200":
  24828. description: OK
  24829. schema:
  24830. $ref: '#/definitions/models.SearchGoods'
  24831. "500":
  24832. description: Internal Server Error
  24833. schema:
  24834. $ref: '#/definitions/app.Response'
  24835. summary: 检索商品信息
  24836. tags:
  24837. - 检索服务
  24838. /TaAccount/GetTaAccounts:
  24839. get:
  24840. parameters:
  24841. - description: 登录账户
  24842. in: query
  24843. name: loginID
  24844. required: true
  24845. type: integer
  24846. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  24847. in: query
  24848. name: taAccountType
  24849. type: integer
  24850. produces:
  24851. - application/json
  24852. responses:
  24853. "200":
  24854. description: OK
  24855. schema:
  24856. $ref: '#/definitions/models.Taaccount'
  24857. "500":
  24858. description: Internal Server Error
  24859. schema:
  24860. $ref: '#/definitions/app.Response'
  24861. security:
  24862. - ApiKeyAuth: []
  24863. summary: 获取资金账户信息
  24864. tags:
  24865. - 资金账户
  24866. /TaAccount/QueryAmountLog:
  24867. get:
  24868. parameters:
  24869. - description: 页码
  24870. in: query
  24871. name: page
  24872. type: integer
  24873. - description: 每页条数
  24874. in: query
  24875. name: pagesize
  24876. type: integer
  24877. - description: 资金账户 - 格式:1,2,3
  24878. in: query
  24879. name: accountID
  24880. required: true
  24881. type: string
  24882. - description: 资金操作类型 - 格式:1,2,3
  24883. in: query
  24884. name: OperateType
  24885. type: string
  24886. produces:
  24887. - application/json
  24888. responses:
  24889. "200":
  24890. description: OK
  24891. schema:
  24892. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  24893. "500":
  24894. description: Internal Server Error
  24895. schema:
  24896. $ref: '#/definitions/app.Response'
  24897. security:
  24898. - ApiKeyAuth: []
  24899. summary: 资金流水查询(当前)
  24900. tags:
  24901. - 资金账户
  24902. /TaAccount/QueryHisAmountLog:
  24903. get:
  24904. parameters:
  24905. - description: 页码
  24906. in: query
  24907. name: page
  24908. type: integer
  24909. - description: 每页条数
  24910. in: query
  24911. name: pagesize
  24912. type: integer
  24913. - description: 资金账户 - 格式:1,2,3
  24914. in: query
  24915. name: accountID
  24916. required: true
  24917. type: string
  24918. - description: 资金操作类型 - 格式:1,2,3
  24919. in: query
  24920. name: OperateType
  24921. type: string
  24922. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  24923. in: query
  24924. name: startDate
  24925. type: string
  24926. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  24927. in: query
  24928. name: endDate
  24929. type: string
  24930. produces:
  24931. - application/json
  24932. responses:
  24933. "200":
  24934. description: OK
  24935. schema:
  24936. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  24937. "500":
  24938. description: Internal Server Error
  24939. schema:
  24940. $ref: '#/definitions/app.Response'
  24941. security:
  24942. - ApiKeyAuth: []
  24943. summary: 资金流水查询(历史)
  24944. tags:
  24945. - 资金账户
  24946. /TaAccount/QueryRelatedTaAccount:
  24947. get:
  24948. parameters:
  24949. - description: 关联UserID
  24950. in: query
  24951. name: relateduserid
  24952. required: true
  24953. type: integer
  24954. produces:
  24955. - application/json
  24956. responses:
  24957. "200":
  24958. description: OK
  24959. schema:
  24960. items:
  24961. $ref: '#/definitions/models.RelatedTaAccount'
  24962. type: array
  24963. "500":
  24964. description: Internal Server Error
  24965. schema:
  24966. $ref: '#/definitions/app.Response'
  24967. security:
  24968. - ApiKeyAuth: []
  24969. summary: 查询关联资金账户信息
  24970. tags:
  24971. - 资金账户
  24972. /Tjmd/QueryQuoteGoodsList:
  24973. get:
  24974. description: 用户类型必传, 查掉期报价列表 marketids=掉期市场id
  24975. parameters:
  24976. - description: 用户类型
  24977. in: query
  24978. name: usertype
  24979. required: true
  24980. type: integer
  24981. - description: 市场id, 格式 1,2,3
  24982. in: query
  24983. name: marketids
  24984. type: string
  24985. - description: 商品组id
  24986. in: query
  24987. name: goodsgroupid
  24988. type: integer
  24989. - description: 商品id
  24990. in: query
  24991. name: goodsid
  24992. type: integer
  24993. produces:
  24994. - application/json
  24995. responses:
  24996. "200":
  24997. description: OK
  24998. schema:
  24999. items:
  25000. $ref: '#/definitions/models.TjmdQuoteGoods'
  25001. type: array
  25002. "500":
  25003. description: Internal Server Error
  25004. schema:
  25005. $ref: '#/definitions/app.Response'
  25006. security:
  25007. - ApiKeyAuth: []
  25008. summary: 查询掉期报价列表
  25009. tags:
  25010. - 天津麦顿
  25011. /Tjmd/QueryTjmdHolderDetailTradeInfo:
  25012. get:
  25013. parameters:
  25014. - description: 成交单号
  25015. in: query
  25016. name: tradeid
  25017. required: true
  25018. type: string
  25019. produces:
  25020. - application/json
  25021. responses:
  25022. "200":
  25023. description: OK
  25024. schema:
  25025. items:
  25026. $ref: '#/definitions/models.TjmdHolderDetailTradeInfo'
  25027. type: array
  25028. "500":
  25029. description: Internal Server Error
  25030. schema:
  25031. $ref: '#/definitions/app.Response'
  25032. security:
  25033. - ApiKeyAuth: []
  25034. summary: 掉期商品订单详情(交易确认书)
  25035. tags:
  25036. - 天津麦顿
  25037. /Tjmd/QueryTjmdMarketSection:
  25038. get:
  25039. produces:
  25040. - application/json
  25041. responses:
  25042. "200":
  25043. description: OK
  25044. schema:
  25045. items:
  25046. $ref: '#/definitions/models.TjmdMarketSection'
  25047. type: array
  25048. "500":
  25049. description: Internal Server Error
  25050. schema:
  25051. $ref: '#/definitions/app.Response'
  25052. security:
  25053. - ApiKeyAuth: []
  25054. summary: 查询市场板块
  25055. tags:
  25056. - 天津麦顿
  25057. /Tjmd/QueryTjmdTodayAccountMargin:
  25058. get:
  25059. parameters:
  25060. - description: 市场id
  25061. in: query
  25062. name: marketid
  25063. type: string
  25064. - description: 商品id
  25065. in: query
  25066. name: goodsid
  25067. type: string
  25068. - description: 资金账号
  25069. in: query
  25070. name: accountid
  25071. type: string
  25072. produces:
  25073. - application/json
  25074. responses:
  25075. "200":
  25076. description: OK
  25077. schema:
  25078. items:
  25079. $ref: '#/definitions/models.TjmdTodayAccountMargin'
  25080. type: array
  25081. "500":
  25082. description: Internal Server Error
  25083. schema:
  25084. $ref: '#/definitions/app.Response'
  25085. security:
  25086. - ApiKeyAuth: []
  25087. summary: 查询今日账户保证金配置
  25088. tags:
  25089. - 天津麦顿
  25090. /Tjmd/QueryTjmdTradeOrderDetail:
  25091. get:
  25092. description: 用户类型必传, 投资者只能看到自营会员的单, 反之亦然
  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: 用户id
  25103. in: query
  25104. name: userid
  25105. required: true
  25106. type: integer
  25107. - description: 用户类型
  25108. in: query
  25109. name: usertype
  25110. required: true
  25111. type: integer
  25112. - description: 市场id, 格式 1,2,3
  25113. in: query
  25114. name: marketids
  25115. type: string
  25116. - description: 商品id
  25117. in: query
  25118. name: goodsid
  25119. required: true
  25120. type: integer
  25121. - description: 买卖方向 0-买 1-卖
  25122. in: query
  25123. name: buyorsell
  25124. required: true
  25125. type: integer
  25126. produces:
  25127. - application/json
  25128. responses:
  25129. "200":
  25130. description: OK
  25131. schema:
  25132. items:
  25133. $ref: '#/definitions/models.TjmdTradeOrderDetail'
  25134. type: array
  25135. "500":
  25136. description: Internal Server Error
  25137. schema:
  25138. $ref: '#/definitions/app.Response'
  25139. security:
  25140. - ApiKeyAuth: []
  25141. summary: 查询掉期买卖大厅
  25142. tags:
  25143. - 天津麦顿
  25144. /Tjmd/QueryTjmdTransferApply:
  25145. get:
  25146. parameters:
  25147. - description: 类型 1-我的申请 2-对方申请
  25148. in: query
  25149. name: applytype
  25150. required: true
  25151. type: integer
  25152. - description: 市场id, 格式 1,2,3
  25153. in: query
  25154. name: marketids
  25155. type: string
  25156. - description: 资金账号, 格式 25000000001,25000000003
  25157. in: query
  25158. name: accountids
  25159. type: string
  25160. - description: 开始交易日(yyyymmdd)
  25161. in: query
  25162. name: begindate
  25163. type: string
  25164. - description: 结束交易日(yyyymmdd)
  25165. in: query
  25166. name: enddate
  25167. type: string
  25168. produces:
  25169. - application/json
  25170. responses:
  25171. "200":
  25172. description: OK
  25173. schema:
  25174. items:
  25175. $ref: '#/definitions/models.TjmdTransferApply'
  25176. type: array
  25177. "500":
  25178. description: Internal Server Error
  25179. schema:
  25180. $ref: '#/definitions/app.Response'
  25181. security:
  25182. - ApiKeyAuth: []
  25183. summary: 查询掉期协议单
  25184. tags:
  25185. - 天津麦顿
  25186. /Trade/QueryRecieptOrder:
  25187. get:
  25188. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  25189. parameters:
  25190. - description: 页码
  25191. in: query
  25192. name: page
  25193. type: integer
  25194. - description: 每页条数
  25195. in: query
  25196. name: pagesize
  25197. type: integer
  25198. - description: 商品ID
  25199. in: query
  25200. name: goodsID
  25201. required: true
  25202. type: integer
  25203. - description: 所属账户名称
  25204. in: query
  25205. name: accountName
  25206. type: string
  25207. - description: 市场ID
  25208. in: query
  25209. name: marketID
  25210. type: integer
  25211. - description: 方向 - 0:买 1:卖
  25212. in: query
  25213. name: buyorsell
  25214. required: true
  25215. type: integer
  25216. produces:
  25217. - application/json
  25218. responses:
  25219. "200":
  25220. description: OK
  25221. schema:
  25222. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  25223. "500":
  25224. description: Internal Server Error
  25225. schema:
  25226. $ref: '#/definitions/app.Response'
  25227. security:
  25228. - ApiKeyAuth: []
  25229. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  25230. tags:
  25231. - 通用交易
  25232. /User/AddMessageBoard:
  25233. post:
  25234. parameters:
  25235. - description: 用户ID
  25236. in: query
  25237. name: userID
  25238. required: true
  25239. type: integer
  25240. - description: 留言信息
  25241. in: query
  25242. name: message
  25243. required: true
  25244. type: string
  25245. - description: 联系电话
  25246. in: query
  25247. name: contactNum
  25248. required: true
  25249. type: string
  25250. produces:
  25251. - application/json
  25252. responses:
  25253. "200":
  25254. description: OK
  25255. schema:
  25256. $ref: '#/definitions/app.Response'
  25257. "500":
  25258. description: Internal Server Error
  25259. schema:
  25260. $ref: '#/definitions/app.Response'
  25261. security:
  25262. - ApiKeyAuth: []
  25263. summary: 添加用户留言板信息
  25264. tags:
  25265. - 用户信息
  25266. /User/AddUserFavoriteGoods:
  25267. post:
  25268. parameters:
  25269. - description: 用户ID
  25270. in: query
  25271. name: userID
  25272. required: true
  25273. type: integer
  25274. - description: 商品ID
  25275. in: query
  25276. name: goodsID
  25277. required: true
  25278. type: integer
  25279. produces:
  25280. - application/json
  25281. responses:
  25282. "200":
  25283. description: OK
  25284. schema:
  25285. $ref: '#/definitions/app.Response'
  25286. "500":
  25287. description: Internal Server Error
  25288. schema:
  25289. $ref: '#/definitions/app.Response'
  25290. security:
  25291. - ApiKeyAuth: []
  25292. summary: 添加用户商品收藏信息
  25293. tags:
  25294. - 用户信息
  25295. /User/GetLoginID:
  25296. get:
  25297. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  25298. parameters:
  25299. - description: 登录代码
  25300. in: query
  25301. name: username
  25302. required: true
  25303. type: string
  25304. produces:
  25305. - application/json
  25306. responses:
  25307. "200":
  25308. description: OK
  25309. schema:
  25310. $ref: '#/definitions/app.Response'
  25311. "500":
  25312. description: Internal Server Error
  25313. schema:
  25314. $ref: '#/definitions/app.Response'
  25315. summary: 获取登录ID
  25316. tags:
  25317. - 用户信息
  25318. /User/GetUserAccount:
  25319. get:
  25320. parameters:
  25321. - description: 用户ID
  25322. in: query
  25323. name: userID
  25324. required: true
  25325. type: integer
  25326. produces:
  25327. - application/json
  25328. responses:
  25329. "200":
  25330. description: OK
  25331. schema:
  25332. $ref: '#/definitions/models.Useraccount'
  25333. "500":
  25334. description: Internal Server Error
  25335. schema:
  25336. $ref: '#/definitions/app.Response'
  25337. security:
  25338. - ApiKeyAuth: []
  25339. summary: 获取用户账号信息
  25340. tags:
  25341. - 用户信息
  25342. /User/GetUserAuthStatus:
  25343. get:
  25344. parameters:
  25345. - description: 用户ID
  25346. in: query
  25347. name: userID
  25348. required: true
  25349. type: integer
  25350. produces:
  25351. - application/json
  25352. responses:
  25353. "200":
  25354. description: OK
  25355. schema:
  25356. $ref: '#/definitions/app.Response'
  25357. "500":
  25358. description: Internal Server Error
  25359. schema:
  25360. $ref: '#/definitions/app.Response'
  25361. security:
  25362. - ApiKeyAuth: []
  25363. summary: 获取用户实名认证状态
  25364. tags:
  25365. - 用户信息
  25366. /User/LoginQuery:
  25367. get:
  25368. parameters:
  25369. - description: 登录账号
  25370. in: query
  25371. name: loginID
  25372. required: true
  25373. type: integer
  25374. produces:
  25375. - application/json
  25376. responses:
  25377. "200":
  25378. description: OK
  25379. schema:
  25380. $ref: '#/definitions/user.LoginQueryRsp'
  25381. "500":
  25382. description: Internal Server Error
  25383. schema:
  25384. $ref: '#/definitions/app.Response'
  25385. security:
  25386. - ApiKeyAuth: []
  25387. summary: 账户登录后信息查询
  25388. tags:
  25389. - 用户信息
  25390. /User/QueryMessageBoard:
  25391. get:
  25392. parameters:
  25393. - description: 用户ID
  25394. in: query
  25395. name: userID
  25396. required: true
  25397. type: integer
  25398. produces:
  25399. - application/json
  25400. responses:
  25401. "200":
  25402. description: OK
  25403. schema:
  25404. $ref: '#/definitions/models.Messageboard'
  25405. "500":
  25406. description: Internal Server Error
  25407. schema:
  25408. $ref: '#/definitions/app.Response'
  25409. security:
  25410. - ApiKeyAuth: []
  25411. summary: 获取用户留言板信息
  25412. tags:
  25413. - 用户信息
  25414. /User/QueryUserFavoriteGoodses:
  25415. get:
  25416. parameters:
  25417. - description: 用户ID
  25418. in: query
  25419. name: userID
  25420. required: true
  25421. type: integer
  25422. produces:
  25423. - application/json
  25424. responses:
  25425. "200":
  25426. description: OK
  25427. schema:
  25428. $ref: '#/definitions/models.Userfavoritegoods'
  25429. "500":
  25430. description: Internal Server Error
  25431. schema:
  25432. $ref: '#/definitions/app.Response'
  25433. security:
  25434. - ApiKeyAuth: []
  25435. summary: 获取用户商品收藏信息
  25436. tags:
  25437. - 用户信息
  25438. /User/QueryUserInfo:
  25439. get:
  25440. parameters:
  25441. - description: 用户ID
  25442. in: query
  25443. name: userID
  25444. required: true
  25445. type: integer
  25446. - description: 是否解密
  25447. in: query
  25448. name: isDecrypt
  25449. type: boolean
  25450. produces:
  25451. - application/json
  25452. responses:
  25453. "200":
  25454. description: OK
  25455. schema:
  25456. $ref: '#/definitions/models.Userinfo'
  25457. "500":
  25458. description: Internal Server Error
  25459. schema:
  25460. $ref: '#/definitions/app.Response'
  25461. security:
  25462. - ApiKeyAuth: []
  25463. summary: 获取用户信息
  25464. tags:
  25465. - 用户信息
  25466. /User/QueryUserReferNum:
  25467. get:
  25468. parameters:
  25469. - description: 用户ID
  25470. in: query
  25471. name: userID
  25472. required: true
  25473. type: integer
  25474. produces:
  25475. - application/json
  25476. responses:
  25477. "200":
  25478. description: OK
  25479. schema:
  25480. $ref: '#/definitions/app.Response'
  25481. "500":
  25482. description: Internal Server Error
  25483. schema:
  25484. $ref: '#/definitions/app.Response'
  25485. summary: 获取用户邀请码
  25486. tags:
  25487. - 用户信息
  25488. /User/RemoveUserFavoriteGoods:
  25489. post:
  25490. parameters:
  25491. - description: 用户ID
  25492. in: query
  25493. name: userID
  25494. required: true
  25495. type: integer
  25496. - description: 商品ID
  25497. in: query
  25498. name: goodsID
  25499. required: true
  25500. type: integer
  25501. produces:
  25502. - application/json
  25503. responses:
  25504. "200":
  25505. description: OK
  25506. schema:
  25507. $ref: '#/definitions/app.Response'
  25508. "500":
  25509. description: Internal Server Error
  25510. schema:
  25511. $ref: '#/definitions/app.Response'
  25512. security:
  25513. - ApiKeyAuth: []
  25514. summary: 移除用户商品收藏信息
  25515. tags:
  25516. - 用户信息
  25517. /User/UpdateUserAccountStatus:
  25518. post:
  25519. parameters:
  25520. - description: 用户ID
  25521. in: query
  25522. name: userID
  25523. required: true
  25524. type: integer
  25525. - description: 账户状态 - 4:正常 6:注销(停用)
  25526. in: query
  25527. name: accountStatus
  25528. required: true
  25529. type: integer
  25530. produces:
  25531. - application/json
  25532. responses:
  25533. "200":
  25534. description: OK
  25535. schema:
  25536. $ref: '#/definitions/app.Response'
  25537. "500":
  25538. description: Internal Server Error
  25539. schema:
  25540. $ref: '#/definitions/app.Response'
  25541. security:
  25542. - ApiKeyAuth: []
  25543. summary: 更新用户状态
  25544. tags:
  25545. - 用户信息
  25546. /WRTrade/GetAllDeliveryGoods:
  25547. get:
  25548. produces:
  25549. - application/json
  25550. responses:
  25551. "200":
  25552. description: OK
  25553. schema:
  25554. $ref: '#/definitions/app.Response'
  25555. "500":
  25556. description: Internal Server Error
  25557. schema:
  25558. $ref: '#/definitions/app.Response'
  25559. security:
  25560. - ApiKeyAuth: []
  25561. summary: 获取带仓单分类的种类信息
  25562. tags:
  25563. - 仓单贸易
  25564. - 仓单贸易
  25565. /WrTrade2/InsertXhcpSellBackApply:
  25566. post:
  25567. parameters:
  25568. - description: 回收申请
  25569. in: body
  25570. name: jsonBody
  25571. required: true
  25572. schema:
  25573. $ref: '#/definitions/models.XhcpSellBackApplyEx'
  25574. produces:
  25575. - application/json
  25576. responses:
  25577. "200":
  25578. description: OK
  25579. schema:
  25580. $ref: '#/definitions/app.Response'
  25581. "500":
  25582. description: Internal Server Error
  25583. schema:
  25584. $ref: '#/definitions/app.Response'
  25585. security:
  25586. - ApiKeyAuth: []
  25587. summary: 新增回收申请(新会陈皮)
  25588. tags:
  25589. - 仓单贸易v2
  25590. /WrTrade2/QueryDeliveryGoodsSection:
  25591. get:
  25592. produces:
  25593. - application/json
  25594. responses:
  25595. "200":
  25596. description: OK
  25597. schema:
  25598. items:
  25599. $ref: '#/definitions/models.WrDeliveryGoodsSection'
  25600. type: array
  25601. "500":
  25602. description: Internal Server Error
  25603. schema:
  25604. $ref: '#/definitions/app.Response'
  25605. security:
  25606. - ApiKeyAuth: []
  25607. summary: 查询板块(分类)
  25608. tags:
  25609. - 仓单贸易v2
  25610. /WrTrade2/QueryFaProductDetail:
  25611. get:
  25612. description: 页面 买卖大厅 -> 选择融资方案
  25613. parameters:
  25614. - description: 仓单要素id
  25615. in: query
  25616. name: wrfactortypeid
  25617. required: true
  25618. type: integer
  25619. produces:
  25620. - application/json
  25621. responses:
  25622. "200":
  25623. description: OK
  25624. schema:
  25625. items:
  25626. $ref: '#/definitions/models.WrFAProductDetail'
  25627. type: array
  25628. "500":
  25629. description: Internal Server Error
  25630. schema:
  25631. $ref: '#/definitions/app.Response'
  25632. security:
  25633. - ApiKeyAuth: []
  25634. summary: 查询融资产品列表
  25635. tags:
  25636. - 仓单贸易v2
  25637. /WrTrade2/QueryFilterItem:
  25638. get:
  25639. parameters:
  25640. - description: 类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库
  25641. in: query
  25642. name: itype
  25643. required: true
  25644. type: string
  25645. produces:
  25646. - application/json
  25647. responses:
  25648. "200":
  25649. description: OK
  25650. schema:
  25651. items:
  25652. $ref: '#/definitions/models.WrFilterItem'
  25653. type: array
  25654. "500":
  25655. description: Internal Server Error
  25656. schema:
  25657. $ref: '#/definitions/app.Response'
  25658. security:
  25659. - ApiKeyAuth: []
  25660. summary: 查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)
  25661. tags:
  25662. - 仓单贸易v2
  25663. /WrTrade2/QueryFtDeliveryGoods:
  25664. get:
  25665. produces:
  25666. - application/json
  25667. responses:
  25668. "200":
  25669. description: OK
  25670. schema:
  25671. items:
  25672. $ref: '#/definitions/models.WrFtDeliveryGoods'
  25673. type: array
  25674. "500":
  25675. description: Internal Server Error
  25676. schema:
  25677. $ref: '#/definitions/app.Response'
  25678. security:
  25679. - ApiKeyAuth: []
  25680. summary: 查询品种品类筛选框列表
  25681. tags:
  25682. - 仓单贸易v2
  25683. /WrTrade2/QueryHoldLB:
  25684. get:
  25685. description: 页面 现货仓单->现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。
  25686. parameters:
  25687. - description: 资金账号
  25688. in: query
  25689. name: accountid
  25690. required: true
  25691. type: integer
  25692. - description: 仓库id
  25693. in: query
  25694. name: warehouseid
  25695. type: integer
  25696. - description: 品种id
  25697. in: query
  25698. name: deliverygoodsid
  25699. type: integer
  25700. - description: 品类id
  25701. in: query
  25702. name: wrstandardid
  25703. type: integer
  25704. - description: 仓单要素id
  25705. in: query
  25706. name: wrfactortypeid
  25707. type: integer
  25708. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  25709. in: query
  25710. name: dgitemname
  25711. type: string
  25712. produces:
  25713. - application/json
  25714. responses:
  25715. "200":
  25716. description: OK
  25717. schema:
  25718. items:
  25719. $ref: '#/definitions/models.WrHoldLB'
  25720. type: array
  25721. "500":
  25722. description: Internal Server Error
  25723. schema:
  25724. $ref: '#/definitions/app.Response'
  25725. security:
  25726. - ApiKeyAuth: []
  25727. summary: 查询仓单持有记录
  25728. tags:
  25729. - 仓单贸易v2
  25730. /WrTrade2/QueryOrderQuote:
  25731. get:
  25732. description: 仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth
  25733. 唯一确定1条记录
  25734. parameters:
  25735. - description: 页码
  25736. in: query
  25737. name: page
  25738. type: integer
  25739. - description: 每页条数
  25740. in: query
  25741. name: pagesize
  25742. type: integer
  25743. - description: 仓单贸易市场id
  25744. in: query
  25745. name: marketid
  25746. type: integer
  25747. - description: 价格方式 - 1:固定价 2-浮动价
  25748. in: query
  25749. name: wrpricetype
  25750. required: true
  25751. type: integer
  25752. - description: 0:仓单预售 1:仓单贸易
  25753. in: query
  25754. name: haswr
  25755. type: integer
  25756. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  25757. in: query
  25758. name: dgitemname
  25759. type: string
  25760. - description: 仓库id(筛选条件)
  25761. in: query
  25762. name: warehouseid
  25763. type: integer
  25764. - description: 品种id
  25765. in: query
  25766. name: deliverygoodsid
  25767. type: integer
  25768. - description: 品类id
  25769. in: query
  25770. name: wrstandardid
  25771. type: integer
  25772. - description: 品牌id(dgfactoryitemid)
  25773. in: query
  25774. name: brandid
  25775. type: integer
  25776. - description: 年份id(dgfactoryitemid)
  25777. in: query
  25778. name: yearsid
  25779. type: integer
  25780. - description: 仓单要素id
  25781. in: query
  25782. name: wrfactortypeid
  25783. type: integer
  25784. - description: 交收月(yyyy-mm) 仓单预售填写
  25785. in: query
  25786. name: deliverymonth
  25787. type: string
  25788. produces:
  25789. - application/json
  25790. responses:
  25791. "200":
  25792. description: OK
  25793. schema:
  25794. items:
  25795. $ref: '#/definitions/models.WrOrderQuote'
  25796. type: array
  25797. "500":
  25798. description: Internal Server Error
  25799. schema:
  25800. $ref: '#/definitions/app.Response'
  25801. security:
  25802. - ApiKeyAuth: []
  25803. summary: 查询大厅行情列表
  25804. tags:
  25805. - 仓单贸易v2
  25806. /WrTrade2/QueryOrderQuoteDetail:
  25807. get:
  25808. parameters:
  25809. - description: 页码
  25810. in: query
  25811. name: page
  25812. type: integer
  25813. - description: 每页条数
  25814. in: query
  25815. name: pagesize
  25816. type: integer
  25817. - description: 仓单贸易市场id
  25818. in: query
  25819. name: marketid
  25820. type: integer
  25821. - description: 价格方式 - 1:固定价 2-浮动价
  25822. in: query
  25823. name: wrpricetype
  25824. required: true
  25825. type: integer
  25826. - description: 0:仓单预售 1:仓单贸易
  25827. in: query
  25828. name: haswr
  25829. type: integer
  25830. - description: 仓单要素id
  25831. in: query
  25832. name: wrfactortypeid
  25833. required: true
  25834. type: integer
  25835. - description: 期货商品id(浮动价方式时填)
  25836. in: query
  25837. name: goodsid
  25838. type: integer
  25839. - description: 买卖方向 0-买 1-卖
  25840. in: query
  25841. name: buyorsell
  25842. required: true
  25843. type: integer
  25844. - description: 交收月(yyyy-mm) 查仓单预售的买卖大厅时填写
  25845. in: query
  25846. name: deliverymonth
  25847. type: string
  25848. produces:
  25849. - application/json
  25850. responses:
  25851. "200":
  25852. description: OK
  25853. schema:
  25854. items:
  25855. $ref: '#/definitions/models.WrOrderQuoteDetail'
  25856. type: array
  25857. "500":
  25858. description: Internal Server Error
  25859. schema:
  25860. $ref: '#/definitions/app.Response'
  25861. security:
  25862. - ApiKeyAuth: []
  25863. summary: 查询买卖大厅
  25864. tags:
  25865. - 仓单贸易v2
  25866. /WrTrade2/QueryOrderQuoteMyq:
  25867. get:
  25868. parameters:
  25869. - description: 页码
  25870. in: query
  25871. name: page
  25872. type: integer
  25873. - description: 每页条数
  25874. in: query
  25875. name: pagesize
  25876. type: integer
  25877. - description: 用户id
  25878. in: query
  25879. name: userid
  25880. required: true
  25881. type: integer
  25882. - description: 仓单贸易市场id
  25883. in: query
  25884. name: marketid
  25885. type: integer
  25886. - description: 0:仓单预售 1:仓单贸易
  25887. in: query
  25888. name: haswr
  25889. type: integer
  25890. - description: 买卖方向 0-买 1-卖
  25891. in: query
  25892. name: buyorsell
  25893. required: true
  25894. type: integer
  25895. - description: 品种id
  25896. in: query
  25897. name: deliverygoodsid
  25898. type: integer
  25899. - description: 品类id
  25900. in: query
  25901. name: wrstandardid
  25902. type: integer
  25903. - description: 交收月(yyyy-mm) 仓单预售填写
  25904. in: query
  25905. name: deliverymonth
  25906. type: string
  25907. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  25908. in: query
  25909. name: dgitemname
  25910. type: string
  25911. produces:
  25912. - application/json
  25913. responses:
  25914. "200":
  25915. description: OK
  25916. schema:
  25917. items:
  25918. $ref: '#/definitions/models.WrQuoteOrderMyq'
  25919. type: array
  25920. "500":
  25921. description: Internal Server Error
  25922. schema:
  25923. $ref: '#/definitions/app.Response'
  25924. security:
  25925. - ApiKeyAuth: []
  25926. summary: 查询贸易圈挂牌大厅
  25927. tags:
  25928. - 仓单贸易v2
  25929. /WrTrade2/QueryPerformancePlan:
  25930. get:
  25931. parameters:
  25932. - description: 用户id
  25933. in: query
  25934. name: userid
  25935. required: true
  25936. type: integer
  25937. - description: 买卖方向 0-买 1-卖
  25938. in: query
  25939. name: buyorsell
  25940. required: true
  25941. type: integer
  25942. - description: 履约状态(可多个,逗号隔开) 1:待激活 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成
  25943. 8:释放冻结失败 9:超时待处理 10:超时关闭
  25944. in: query
  25945. name: status
  25946. type: string
  25947. - description: 开始交易日(yyyymmdd)
  25948. in: query
  25949. name: begindate
  25950. type: string
  25951. - description: 结束交易日(yyyymmdd)
  25952. in: query
  25953. name: enddate
  25954. type: string
  25955. produces:
  25956. - application/json
  25957. responses:
  25958. "200":
  25959. description: OK
  25960. schema:
  25961. items:
  25962. $ref: '#/definitions/models.WrPerformancePlan'
  25963. type: array
  25964. "500":
  25965. description: Internal Server Error
  25966. schema:
  25967. $ref: '#/definitions/app.Response'
  25968. security:
  25969. - ApiKeyAuth: []
  25970. summary: 查询履约信息
  25971. tags:
  25972. - 仓单贸易v2
  25973. /WrTrade2/QueryPermancePlanTmp:
  25974. get:
  25975. description: |-
  25976. 返回指定用户的模板和公共模板(用户id为空)
  25977. 注意:天津麦顿客户 填写marketid参数,其它参数不用填;其它客户不用填marketid字段
  25978. parameters:
  25979. - description: 用户id
  25980. in: query
  25981. name: userid
  25982. type: integer
  25983. - description: 模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  25984. (无仓单) 5:挂牌期权 6:竞拍-降价式
  25985. in: query
  25986. name: tmptype
  25987. type: string
  25988. - description: 是否包含公共模板(用户id为空的) 1-包含
  25989. in: query
  25990. name: includepub
  25991. type: integer
  25992. - description: 市场id(天津麦顿指定此参数,其它不用)
  25993. in: query
  25994. name: marketid
  25995. type: integer
  25996. produces:
  25997. - application/json
  25998. responses:
  25999. "200":
  26000. description: OK
  26001. schema:
  26002. items:
  26003. $ref: '#/definitions/models.WrPerformanceTemplateEx'
  26004. type: array
  26005. "500":
  26006. description: Internal Server Error
  26007. schema:
  26008. $ref: '#/definitions/app.Response'
  26009. security:
  26010. - ApiKeyAuth: []
  26011. summary: 查询履约模板
  26012. tags:
  26013. - 仓单贸易v2
  26014. /WrTrade2/QuerySiteColumnDetail:
  26015. get:
  26016. parameters:
  26017. - description: 页码
  26018. in: query
  26019. name: page
  26020. type: integer
  26021. - description: 每页条数
  26022. in: query
  26023. name: pagesize
  26024. type: integer
  26025. - description: 所属栏目id
  26026. in: query
  26027. name: columnid
  26028. type: integer
  26029. produces:
  26030. - application/json
  26031. responses:
  26032. "200":
  26033. description: OK
  26034. schema:
  26035. items:
  26036. $ref: '#/definitions/models.WrSiteColumnDetail'
  26037. type: array
  26038. "500":
  26039. description: Internal Server Error
  26040. schema:
  26041. $ref: '#/definitions/app.Response'
  26042. security:
  26043. - ApiKeyAuth: []
  26044. summary: 查询资讯
  26045. tags:
  26046. - 仓单贸易v2
  26047. /WrTrade2/QuerySpotGroupTradeSum:
  26048. get:
  26049. produces:
  26050. - application/json
  26051. responses:
  26052. "200":
  26053. description: OK
  26054. schema:
  26055. items:
  26056. $ref: '#/definitions/models.WrSpotGroupTradeSumEx'
  26057. type: array
  26058. "500":
  26059. description: Internal Server Error
  26060. schema:
  26061. $ref: '#/definitions/app.Response'
  26062. security:
  26063. - ApiKeyAuth: []
  26064. summary: 查询指数
  26065. tags:
  26066. - 仓单贸易v2
  26067. /WrTrade2/QuerySpotGroupTradeSumDetail:
  26068. get:
  26069. description: 查询的结果将会按日期 从小到大 排序
  26070. parameters:
  26071. - description: 现货商品id
  26072. in: query
  26073. name: deliverygoodsid
  26074. required: true
  26075. type: integer
  26076. - description: 查询最新多少条记录(如不填写此项, 默认查30条)
  26077. in: query
  26078. name: lastnum
  26079. type: integer
  26080. produces:
  26081. - application/json
  26082. responses:
  26083. "200":
  26084. description: OK
  26085. schema:
  26086. items:
  26087. $ref: '#/definitions/models.WrSpotGroupTradeSumDetail'
  26088. type: array
  26089. "500":
  26090. description: Internal Server Error
  26091. schema:
  26092. $ref: '#/definitions/app.Response'
  26093. security:
  26094. - ApiKeyAuth: []
  26095. summary: 查询指数详细(价格走势图)
  26096. tags:
  26097. - 仓单贸易v2
  26098. /WrTrade2/QueryWrAverageTradePrice:
  26099. get:
  26100. parameters:
  26101. - description: 页码
  26102. in: query
  26103. name: page
  26104. type: integer
  26105. - description: 每页条数
  26106. in: query
  26107. name: pagesize
  26108. type: integer
  26109. - description: 0:仓单预售 1:仓单贸易
  26110. in: query
  26111. name: haswr
  26112. required: true
  26113. type: integer
  26114. - description: 仓单要素id
  26115. in: query
  26116. name: wrfactortypeid
  26117. required: true
  26118. type: integer
  26119. produces:
  26120. - application/json
  26121. responses:
  26122. "200":
  26123. description: OK
  26124. schema:
  26125. items:
  26126. $ref: '#/definitions/models.WrAverageTradePrice'
  26127. type: array
  26128. "500":
  26129. description: Internal Server Error
  26130. schema:
  26131. $ref: '#/definitions/app.Response'
  26132. security:
  26133. - ApiKeyAuth: []
  26134. summary: 查询成交价(历史走势)
  26135. tags:
  26136. - 仓单贸易v2
  26137. /WrTrade2/QueryWrBrandAndYears:
  26138. get:
  26139. produces:
  26140. - application/json
  26141. responses:
  26142. "200":
  26143. description: OK
  26144. schema:
  26145. items:
  26146. $ref: '#/definitions/models.WrBrandAndYears'
  26147. type: array
  26148. "500":
  26149. description: Internal Server Error
  26150. schema:
  26151. $ref: '#/definitions/app.Response'
  26152. security:
  26153. - ApiKeyAuth: []
  26154. summary: 查询品牌和年份
  26155. tags:
  26156. - 仓单贸易v2
  26157. /WrTrade2/QueryWrBsGoodsInfo:
  26158. get:
  26159. description: 合约交易/买卖大厅/详情
  26160. parameters:
  26161. - description: 商品id
  26162. in: query
  26163. name: goodsid
  26164. required: true
  26165. type: integer
  26166. produces:
  26167. - application/json
  26168. responses:
  26169. "200":
  26170. description: OK
  26171. schema:
  26172. items:
  26173. $ref: '#/definitions/models.WrBsGoodsInfo'
  26174. type: array
  26175. "500":
  26176. description: Internal Server Error
  26177. schema:
  26178. $ref: '#/definitions/app.Response'
  26179. security:
  26180. - ApiKeyAuth: []
  26181. summary: 查询合约交易买卖大厅详情
  26182. tags:
  26183. - 仓单贸易v2
  26184. /WrTrade2/QueryWrBuybackDetail:
  26185. get:
  26186. parameters:
  26187. - description: 融资合同id
  26188. in: query
  26189. name: scfcontractid
  26190. type: integer
  26191. produces:
  26192. - application/json
  26193. responses:
  26194. "200":
  26195. description: OK
  26196. schema:
  26197. items:
  26198. $ref: '#/definitions/models.WrBuybackDetail'
  26199. type: array
  26200. "500":
  26201. description: Internal Server Error
  26202. schema:
  26203. $ref: '#/definitions/app.Response'
  26204. security:
  26205. - ApiKeyAuth: []
  26206. summary: 查询仓单回购明细
  26207. tags:
  26208. - 仓单贸易v2
  26209. /WrTrade2/QueryWrClientAdSpaceConfig:
  26210. get:
  26211. produces:
  26212. - application/json
  26213. responses:
  26214. "200":
  26215. description: OK
  26216. schema:
  26217. items:
  26218. $ref: '#/definitions/models.WrClientAdSpaceConfig'
  26219. type: array
  26220. "500":
  26221. description: Internal Server Error
  26222. schema:
  26223. $ref: '#/definitions/app.Response'
  26224. security:
  26225. - ApiKeyAuth: []
  26226. summary: 查询固定广告配置
  26227. tags:
  26228. - 仓单贸易v2
  26229. /WrTrade2/QueryWrDeliveryAvalidHoldLB:
  26230. get:
  26231. parameters:
  26232. - description: 资金账号
  26233. in: query
  26234. name: accountid
  26235. required: true
  26236. type: integer
  26237. - description: 商品id
  26238. in: query
  26239. name: goodsid
  26240. required: true
  26241. type: integer
  26242. produces:
  26243. - application/json
  26244. responses:
  26245. "200":
  26246. description: OK
  26247. schema:
  26248. items:
  26249. $ref: '#/definitions/models.WrDeliveryAvalidHoldLB'
  26250. type: array
  26251. "500":
  26252. description: Internal Server Error
  26253. schema:
  26254. $ref: '#/definitions/app.Response'
  26255. security:
  26256. - ApiKeyAuth: []
  26257. summary: 查询合约交收可点选仓单
  26258. tags:
  26259. - 仓单贸易v2
  26260. /WrTrade2/QueryWrDeliveryDetail:
  26261. get:
  26262. parameters:
  26263. - description: 用户id
  26264. in: query
  26265. name: userid
  26266. required: true
  26267. type: integer
  26268. - description: 资金账号id
  26269. in: query
  26270. name: accountid
  26271. type: integer
  26272. - description: 开始交易日(yyyymmdd)
  26273. in: query
  26274. name: begindate
  26275. type: string
  26276. - description: 结束交易日(yyyymmdd)
  26277. in: query
  26278. name: enddate
  26279. type: string
  26280. produces:
  26281. - application/json
  26282. responses:
  26283. "200":
  26284. description: OK
  26285. schema:
  26286. items:
  26287. $ref: '#/definitions/models.WrDeliveryDetail'
  26288. type: array
  26289. "500":
  26290. description: Internal Server Error
  26291. schema:
  26292. $ref: '#/definitions/app.Response'
  26293. security:
  26294. - ApiKeyAuth: []
  26295. summary: 查询交收
  26296. tags:
  26297. - 仓单贸易v2
  26298. /WrTrade2/QueryWrDraftUserInfo:
  26299. get:
  26300. parameters:
  26301. - description: 用户ID
  26302. in: query
  26303. name: userid
  26304. required: true
  26305. type: integer
  26306. - description: 用户状态 1:正常 2:注销
  26307. in: query
  26308. name: userstatus
  26309. type: integer
  26310. produces:
  26311. - application/json
  26312. responses:
  26313. "200":
  26314. description: OK
  26315. schema:
  26316. items:
  26317. $ref: '#/definitions/models.WrDraftUserInfo'
  26318. type: array
  26319. "500":
  26320. description: Internal Server Error
  26321. schema:
  26322. $ref: '#/definitions/app.Response'
  26323. security:
  26324. - ApiKeyAuth: []
  26325. summary: 查询实名认证信息
  26326. tags:
  26327. - 仓单贸易v2
  26328. /WrTrade2/QueryWrFactorTypeInfo:
  26329. get:
  26330. parameters:
  26331. - description: 仓单要素id
  26332. in: query
  26333. name: wrfactortypeid
  26334. required: true
  26335. type: integer
  26336. produces:
  26337. - application/json
  26338. responses:
  26339. "200":
  26340. description: OK
  26341. schema:
  26342. items:
  26343. $ref: '#/definitions/models.WrFactorTypeInfo'
  26344. type: array
  26345. "500":
  26346. description: Internal Server Error
  26347. schema:
  26348. $ref: '#/definitions/app.Response'
  26349. security:
  26350. - ApiKeyAuth: []
  26351. summary: 查询仓单要素详细信息
  26352. tags:
  26353. - 仓单贸易v2
  26354. /WrTrade2/QueryWrFactorTypeInfoEx:
  26355. get:
  26356. parameters:
  26357. - description: 仓单要素id
  26358. in: query
  26359. name: wrfactortypeid
  26360. required: true
  26361. type: integer
  26362. produces:
  26363. - application/json
  26364. responses:
  26365. "200":
  26366. description: OK
  26367. schema:
  26368. items:
  26369. $ref: '#/definitions/models.WrTypeItem'
  26370. type: array
  26371. "500":
  26372. description: Internal Server Error
  26373. schema:
  26374. $ref: '#/definitions/app.Response'
  26375. security:
  26376. - ApiKeyAuth: []
  26377. summary: 查询仓单要素详细信息列表项
  26378. tags:
  26379. - 仓单贸易v2
  26380. /WrTrade2/QueryWrFinanceBuyApply:
  26381. get:
  26382. description: 页面 融资信息+ / 申请单
  26383. parameters:
  26384. - description: 用户id
  26385. in: query
  26386. name: userid
  26387. required: true
  26388. type: integer
  26389. produces:
  26390. - application/json
  26391. responses:
  26392. "200":
  26393. description: OK
  26394. schema:
  26395. items:
  26396. $ref: '#/definitions/models.WrFinanceBuyApply'
  26397. type: array
  26398. "500":
  26399. description: Internal Server Error
  26400. schema:
  26401. $ref: '#/definitions/app.Response'
  26402. security:
  26403. - ApiKeyAuth: []
  26404. summary: 查询融资购买申请
  26405. tags:
  26406. - 仓单贸易v2
  26407. /WrTrade2/QueryWrFriendApply:
  26408. get:
  26409. parameters:
  26410. - description: 用户id
  26411. in: query
  26412. name: userid
  26413. required: true
  26414. type: integer
  26415. produces:
  26416. - application/json
  26417. responses:
  26418. "200":
  26419. description: OK
  26420. schema:
  26421. items:
  26422. $ref: '#/definitions/models.WrFriendApply'
  26423. type: array
  26424. "500":
  26425. description: Internal Server Error
  26426. schema:
  26427. $ref: '#/definitions/app.Response'
  26428. security:
  26429. - ApiKeyAuth: []
  26430. summary: 查询好友申请记录
  26431. tags:
  26432. - 仓单贸易v2
  26433. /WrTrade2/QueryWrGoodsInfo:
  26434. get:
  26435. parameters:
  26436. - description: 仓单贸易市场id
  26437. in: query
  26438. name: marketid
  26439. type: integer
  26440. - description: 0:仓单预售 1:仓单贸易
  26441. in: query
  26442. name: haswr
  26443. required: true
  26444. type: integer
  26445. - description: 仓单要素id
  26446. in: query
  26447. name: wrfactortypeid
  26448. required: true
  26449. type: integer
  26450. - description: 履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)
  26451. in: query
  26452. name: tmplateid
  26453. type: integer
  26454. produces:
  26455. - application/json
  26456. responses:
  26457. "200":
  26458. description: OK
  26459. schema:
  26460. items:
  26461. $ref: '#/definitions/models.WrGoodsInfo'
  26462. type: array
  26463. "500":
  26464. description: Internal Server Error
  26465. schema:
  26466. $ref: '#/definitions/app.Response'
  26467. security:
  26468. - ApiKeyAuth: []
  26469. summary: 查询仓单商品信息
  26470. tags:
  26471. - 仓单贸易v2
  26472. /WrTrade2/QueryWrMarketTradeConfig:
  26473. get:
  26474. parameters:
  26475. - description: 市场id
  26476. in: query
  26477. name: marketid
  26478. type: integer
  26479. produces:
  26480. - application/json
  26481. responses:
  26482. "200":
  26483. description: OK
  26484. schema:
  26485. items:
  26486. $ref: '#/definitions/models.WrMarketTradeConfig'
  26487. type: array
  26488. "500":
  26489. description: Internal Server Error
  26490. schema:
  26491. $ref: '#/definitions/app.Response'
  26492. security:
  26493. - ApiKeyAuth: []
  26494. summary: 查询市场交易参数配置
  26495. tags:
  26496. - 仓单贸易v2
  26497. /WrTrade2/QueryWrOrderDetail:
  26498. get:
  26499. description: 页面 现货仓单 | 预售仓单 -> 委托单
  26500. parameters:
  26501. - description: 页码
  26502. in: query
  26503. name: page
  26504. type: integer
  26505. - description: 每页条数
  26506. in: query
  26507. name: pagesize
  26508. type: integer
  26509. - description: 用户id
  26510. in: query
  26511. name: userid
  26512. required: true
  26513. type: integer
  26514. - description: 仓单贸易市场id
  26515. in: query
  26516. name: marketid
  26517. type: integer
  26518. - description: 0:仓单预售 1:仓单贸易
  26519. in: query
  26520. name: haswr
  26521. required: true
  26522. type: integer
  26523. - description: 是否仅查可撤单据 1:可撤 注:此参数仅对当前记录有效, 且不含47模式市场
  26524. in: query
  26525. name: bcancel
  26526. type: integer
  26527. - description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  26528. in: query
  26529. name: wrtradetype
  26530. type: integer
  26531. - description: 开始交易日(yyyymmdd)
  26532. in: query
  26533. name: begindate
  26534. type: string
  26535. - description: 结束交易日(yyyymmdd)
  26536. in: query
  26537. name: enddate
  26538. type: string
  26539. produces:
  26540. - application/json
  26541. responses:
  26542. "200":
  26543. description: OK
  26544. schema:
  26545. items:
  26546. $ref: '#/definitions/models.WrOrderDetail'
  26547. type: array
  26548. "500":
  26549. description: Internal Server Error
  26550. schema:
  26551. $ref: '#/definitions/app.Response'
  26552. security:
  26553. - ApiKeyAuth: []
  26554. summary: 查询仓单委托单
  26555. tags:
  26556. - 仓单贸易v2
  26557. /WrTrade2/QueryWrOutInApply:
  26558. get:
  26559. parameters:
  26560. - description: 页码
  26561. in: query
  26562. name: page
  26563. type: integer
  26564. - description: 每页条数
  26565. in: query
  26566. name: pagesize
  26567. type: integer
  26568. - description: 用户id
  26569. in: query
  26570. name: userid
  26571. required: true
  26572. type: integer
  26573. - description: 开始交易日(yyyymmdd)
  26574. in: query
  26575. name: begindate
  26576. type: string
  26577. - description: 结束交易日(yyyymmdd)
  26578. in: query
  26579. name: enddate
  26580. type: string
  26581. produces:
  26582. - application/json
  26583. responses:
  26584. "200":
  26585. description: OK
  26586. schema:
  26587. items:
  26588. $ref: '#/definitions/models.WrOutInApply'
  26589. type: array
  26590. "500":
  26591. description: Internal Server Error
  26592. schema:
  26593. $ref: '#/definitions/app.Response'
  26594. security:
  26595. - ApiKeyAuth: []
  26596. summary: 查询提货申请
  26597. tags:
  26598. - 仓单贸易v2
  26599. /WrTrade2/QueryWrPerformancePlanStep:
  26600. get:
  26601. parameters:
  26602. - description: 履约计划id(performanceplanid)
  26603. in: query
  26604. name: planid
  26605. required: true
  26606. type: integer
  26607. - description: 当前步骤id
  26608. in: query
  26609. name: curstepid
  26610. type: integer
  26611. produces:
  26612. - application/json
  26613. responses:
  26614. "200":
  26615. description: OK
  26616. schema:
  26617. items:
  26618. $ref: '#/definitions/models.WrPerformancePlanStep'
  26619. type: array
  26620. "500":
  26621. description: Internal Server Error
  26622. schema:
  26623. $ref: '#/definitions/app.Response'
  26624. security:
  26625. - ApiKeyAuth: []
  26626. summary: 查询履约信息详情
  26627. tags:
  26628. - 仓单贸易v2
  26629. /WrTrade2/QueryWrPerformanceStepType:
  26630. get:
  26631. produces:
  26632. - application/json
  26633. responses:
  26634. "200":
  26635. description: OK
  26636. schema:
  26637. items:
  26638. $ref: '#/definitions/models.WrPerformanceStepType'
  26639. type: array
  26640. "500":
  26641. description: Internal Server Error
  26642. schema:
  26643. $ref: '#/definitions/app.Response'
  26644. security:
  26645. - ApiKeyAuth: []
  26646. summary: 查询履约步骤枚举
  26647. tags:
  26648. - 仓单贸易v2
  26649. /WrTrade2/QueryWrPosition:
  26650. get:
  26651. description: 页面 现货仓单->现货汇总/库存汇总; 预售仓单->订单汇总
  26652. parameters:
  26653. - description: 用户id
  26654. in: query
  26655. name: userid
  26656. required: true
  26657. type: integer
  26658. - description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  26659. in: query
  26660. name: querytype
  26661. required: true
  26662. type: integer
  26663. - description: 0:仓单预售 1:仓单贸易
  26664. in: query
  26665. name: haswr
  26666. required: true
  26667. type: integer
  26668. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  26669. in: query
  26670. name: dgitemname
  26671. type: string
  26672. - description: 仓库id(筛选条件)
  26673. in: query
  26674. name: warehouseid
  26675. type: integer
  26676. - description: 品种id
  26677. in: query
  26678. name: deliverygoodsid
  26679. type: integer
  26680. - description: 品类id
  26681. in: query
  26682. name: wrstandardid
  26683. type: integer
  26684. produces:
  26685. - application/json
  26686. responses:
  26687. "200":
  26688. description: OK
  26689. schema:
  26690. items:
  26691. $ref: '#/definitions/models.WrPosition'
  26692. type: array
  26693. "500":
  26694. description: Internal Server Error
  26695. schema:
  26696. $ref: '#/definitions/app.Response'
  26697. security:
  26698. - ApiKeyAuth: []
  26699. summary: 查询现货(预售)仓单持仓
  26700. tags:
  26701. - 仓单贸易v2
  26702. /WrTrade2/QueryWrPreSaleInfo:
  26703. get:
  26704. parameters:
  26705. - description: 市场id
  26706. in: query
  26707. name: marketid
  26708. type: integer
  26709. - description: 预售状态(逗号隔开,如1,2,3) 1:未开始 2:进行中 3:已结束 4:已关闭
  26710. in: query
  26711. name: presalestatus
  26712. type: string
  26713. - description: 摇号标识 - 0:未摇号 1:已摇号
  26714. in: query
  26715. name: lotteryflag
  26716. type: integer
  26717. - description: 最近多少条记录(按创建时间倒序)
  26718. in: query
  26719. name: lastnum
  26720. type: integer
  26721. produces:
  26722. - application/json
  26723. responses:
  26724. "200":
  26725. description: OK
  26726. schema:
  26727. items:
  26728. $ref: '#/definitions/models.WrPreSaleInfo'
  26729. type: array
  26730. "500":
  26731. description: Internal Server Error
  26732. schema:
  26733. $ref: '#/definitions/app.Response'
  26734. security:
  26735. - ApiKeyAuth: []
  26736. summary: 查询新品发布
  26737. tags:
  26738. - 仓单贸易v2
  26739. /WrTrade2/QueryWrReckonSpotGoodsTradeSum:
  26740. get:
  26741. parameters:
  26742. - description: 市场id
  26743. in: query
  26744. name: marketid
  26745. required: true
  26746. type: integer
  26747. - description: 现货商品id
  26748. in: query
  26749. name: wrstandardid
  26750. required: true
  26751. type: integer
  26752. - description: 开始交易日(yyyymmdd)
  26753. in: query
  26754. name: begindate
  26755. type: string
  26756. - description: 结束交易日(yyyymmdd)
  26757. in: query
  26758. name: enddate
  26759. type: string
  26760. - description: 最近多少条记录(按交易日倒序)
  26761. in: query
  26762. name: lastnum
  26763. type: integer
  26764. - description: 是否今日
  26765. in: query
  26766. name: istoday
  26767. type: boolean
  26768. produces:
  26769. - application/json
  26770. responses:
  26771. "200":
  26772. description: OK
  26773. schema:
  26774. items:
  26775. $ref: '#/definitions/models.WrReckonSpotGoodsTradeSum'
  26776. type: array
  26777. "500":
  26778. description: Internal Server Error
  26779. schema:
  26780. $ref: '#/definitions/app.Response'
  26781. security:
  26782. - ApiKeyAuth: []
  26783. summary: 查询价格走势
  26784. tags:
  26785. - 仓单贸易v2
  26786. /WrTrade2/QueryWrScfContract:
  26787. get:
  26788. parameters:
  26789. - description: 用户id
  26790. in: query
  26791. name: userid
  26792. required: true
  26793. type: integer
  26794. - description: 融资合同id
  26795. in: query
  26796. name: scfcontractid
  26797. type: integer
  26798. produces:
  26799. - application/json
  26800. responses:
  26801. "200":
  26802. description: OK
  26803. schema:
  26804. items:
  26805. $ref: '#/definitions/models.WrScfContract'
  26806. type: array
  26807. "500":
  26808. description: Internal Server Error
  26809. schema:
  26810. $ref: '#/definitions/app.Response'
  26811. security:
  26812. - ApiKeyAuth: []
  26813. summary: 查询仓单贸易融资合同
  26814. tags:
  26815. - 仓单贸易v2
  26816. /WrTrade2/QueryWrScfContractInterest:
  26817. get:
  26818. parameters:
  26819. - description: 融资合同id
  26820. in: query
  26821. name: scfcontractid
  26822. type: integer
  26823. produces:
  26824. - application/json
  26825. responses:
  26826. "200":
  26827. description: OK
  26828. schema:
  26829. items:
  26830. $ref: '#/definitions/models.WrScfContractInterest'
  26831. type: array
  26832. "500":
  26833. description: Internal Server Error
  26834. schema:
  26835. $ref: '#/definitions/app.Response'
  26836. security:
  26837. - ApiKeyAuth: []
  26838. summary: 查询融资合同费用明细
  26839. tags:
  26840. - 仓单贸易v2
  26841. /WrTrade2/QueryWrSearchUser:
  26842. get:
  26843. parameters:
  26844. - description: 用户名称(模糊匹配)
  26845. in: query
  26846. name: username
  26847. required: true
  26848. type: string
  26849. produces:
  26850. - application/json
  26851. responses:
  26852. "200":
  26853. description: OK
  26854. schema:
  26855. items:
  26856. $ref: '#/definitions/models.WrSearchUser'
  26857. type: array
  26858. "500":
  26859. description: Internal Server Error
  26860. schema:
  26861. $ref: '#/definitions/app.Response'
  26862. security:
  26863. - ApiKeyAuth: []
  26864. summary: 查询用户
  26865. tags:
  26866. - 仓单贸易v2
  26867. /WrTrade2/QueryWrSpecialMatchOrder:
  26868. get:
  26869. description: 页面 现货仓单 | 预售仓单 -> 指定成交
  26870. parameters:
  26871. - description: 页码
  26872. in: query
  26873. name: page
  26874. type: integer
  26875. - description: 每页条数
  26876. in: query
  26877. name: pagesize
  26878. type: integer
  26879. - description: 用户id
  26880. in: query
  26881. name: userid
  26882. required: true
  26883. type: integer
  26884. - description: 仓单贸易市场id
  26885. in: query
  26886. name: marketid
  26887. type: integer
  26888. - description: 0:仓单预售 1:仓单贸易
  26889. in: query
  26890. name: haswr
  26891. required: true
  26892. type: integer
  26893. - description: 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  26894. in: query
  26895. name: isspecified
  26896. type: integer
  26897. produces:
  26898. - application/json
  26899. responses:
  26900. "200":
  26901. description: OK
  26902. schema:
  26903. items:
  26904. $ref: '#/definitions/models.WrSpecialMatchOrder'
  26905. type: array
  26906. "500":
  26907. description: Internal Server Error
  26908. schema:
  26909. $ref: '#/definitions/app.Response'
  26910. security:
  26911. - ApiKeyAuth: []
  26912. summary: 查询指定成交
  26913. tags:
  26914. - 仓单贸易v2
  26915. /WrTrade2/QueryWrStandardFactoryItem:
  26916. get:
  26917. parameters:
  26918. - description: 品类id
  26919. in: query
  26920. name: wrstandardid
  26921. required: true
  26922. type: integer
  26923. produces:
  26924. - application/json
  26925. responses:
  26926. "200":
  26927. description: OK
  26928. schema:
  26929. items:
  26930. $ref: '#/definitions/models.WrStandardFactoryItemEx'
  26931. type: array
  26932. "500":
  26933. description: Internal Server Error
  26934. schema:
  26935. $ref: '#/definitions/app.Response'
  26936. security:
  26937. - ApiKeyAuth: []
  26938. summary: 查询品类要素定义项
  26939. tags:
  26940. - 仓单贸易v2
  26941. /WrTrade2/QueryWrTradeBargainApply:
  26942. get:
  26943. description: 1.页面 挂单/议价单, 只需传单号就行 <br>2.页面 议价->我的议价 参数 userid=登录userid <br>3.页面
  26944. 议价->对方议价 填写matchuserid=登录用户id
  26945. parameters:
  26946. - description: 议价人id(摘牌方)
  26947. in: query
  26948. name: userid
  26949. type: integer
  26950. - description: 挂牌方id(查对方议价时,填写此项)
  26951. in: query
  26952. name: matchuserid
  26953. type: integer
  26954. - description: 关联委托单id
  26955. in: query
  26956. name: wrtradeorderid
  26957. type: integer
  26958. - description: 0:仓单预售 1:仓单贸易
  26959. in: query
  26960. name: haswr
  26961. required: true
  26962. type: integer
  26963. - description: 开始交易日(yyyymmdd)
  26964. in: query
  26965. name: begindate
  26966. type: string
  26967. - description: 结束交易日(yyyymmdd)
  26968. in: query
  26969. name: enddate
  26970. type: string
  26971. produces:
  26972. - application/json
  26973. responses:
  26974. "200":
  26975. description: OK
  26976. schema:
  26977. items:
  26978. $ref: '#/definitions/models.WRTradeBargainApply'
  26979. type: array
  26980. "500":
  26981. description: Internal Server Error
  26982. schema:
  26983. $ref: '#/definitions/app.Response'
  26984. security:
  26985. - ApiKeyAuth: []
  26986. summary: 查询议价单
  26987. tags:
  26988. - 仓单贸易v2
  26989. /WrTrade2/QueryWrTradeDetail:
  26990. get:
  26991. parameters:
  26992. - description: 页码
  26993. in: query
  26994. name: page
  26995. type: integer
  26996. - description: 每页条数
  26997. in: query
  26998. name: pagesize
  26999. type: integer
  27000. - description: 用户id
  27001. in: query
  27002. name: userid
  27003. required: true
  27004. type: integer
  27005. - description: 仓单贸易市场id
  27006. in: query
  27007. name: marketid
  27008. type: integer
  27009. - description: 0:仓单预售 1:仓单贸易
  27010. in: query
  27011. name: haswr
  27012. required: true
  27013. type: integer
  27014. - description: 开始交易日(yyyymmdd)
  27015. in: query
  27016. name: begindate
  27017. type: string
  27018. - description: 结束交易日(yyyymmdd)
  27019. in: query
  27020. name: enddate
  27021. type: string
  27022. produces:
  27023. - application/json
  27024. responses:
  27025. "200":
  27026. description: OK
  27027. schema:
  27028. items:
  27029. $ref: '#/definitions/models.WrTradeDetail'
  27030. type: array
  27031. "500":
  27032. description: Internal Server Error
  27033. schema:
  27034. $ref: '#/definitions/app.Response'
  27035. security:
  27036. - ApiKeyAuth: []
  27037. summary: 查询仓单成交明细
  27038. tags:
  27039. - 仓单贸易v2
  27040. /WrTrade2/QueryWrTradeOrderDetail:
  27041. get:
  27042. parameters:
  27043. - description: 页码
  27044. in: query
  27045. name: page
  27046. type: integer
  27047. - description: 每页条数
  27048. in: query
  27049. name: pagesize
  27050. type: integer
  27051. - description: 商品id
  27052. in: query
  27053. name: goodsid
  27054. required: true
  27055. type: integer
  27056. - description: 买卖方向 0-买 1-卖
  27057. in: query
  27058. name: buyorsell
  27059. required: true
  27060. type: integer
  27061. produces:
  27062. - application/json
  27063. responses:
  27064. "200":
  27065. description: OK
  27066. schema:
  27067. items:
  27068. $ref: '#/definitions/models.WrTradeOrderDetail'
  27069. type: array
  27070. "500":
  27071. description: Internal Server Error
  27072. schema:
  27073. $ref: '#/definitions/app.Response'
  27074. security:
  27075. - ApiKeyAuth: []
  27076. summary: 查询合约交易买卖大厅
  27077. tags:
  27078. - 仓单贸易v2
  27079. /WrTrade2/QueryWrTradeQuote:
  27080. get:
  27081. parameters:
  27082. - description: 现货商品id
  27083. in: query
  27084. name: wrstandardid
  27085. required: true
  27086. type: integer
  27087. - description: 开始日期(yyyymmdd)
  27088. in: query
  27089. name: begindate
  27090. required: true
  27091. type: string
  27092. - description: 结束日期(yyyymmdd)
  27093. in: query
  27094. name: enddate
  27095. required: true
  27096. type: string
  27097. - description: 市场id
  27098. in: query
  27099. name: marketid
  27100. type: integer
  27101. produces:
  27102. - application/json
  27103. responses:
  27104. "200":
  27105. description: OK
  27106. schema:
  27107. items:
  27108. $ref: '#/definitions/models.Wrtradetradequote'
  27109. type: array
  27110. "500":
  27111. description: Internal Server Error
  27112. schema:
  27113. $ref: '#/definitions/app.Response'
  27114. security:
  27115. - ApiKeyAuth: []
  27116. summary: 查询仓单贸易成交行情
  27117. tags:
  27118. - 仓单贸易v2
  27119. /WrTrade2/QueryWrUserFriend:
  27120. get:
  27121. parameters:
  27122. - description: 用户id
  27123. in: query
  27124. name: userid
  27125. required: true
  27126. type: integer
  27127. - description: 新朋友userid, 如果填写了此项则查找新朋友
  27128. in: query
  27129. name: newuserid
  27130. type: integer
  27131. produces:
  27132. - application/json
  27133. responses:
  27134. "200":
  27135. description: OK
  27136. schema:
  27137. items:
  27138. $ref: '#/definitions/models.WrUserFriend'
  27139. type: array
  27140. "500":
  27141. description: Internal Server Error
  27142. schema:
  27143. $ref: '#/definitions/app.Response'
  27144. security:
  27145. - ApiKeyAuth: []
  27146. summary: 查询我的朋友
  27147. tags:
  27148. - 仓单贸易v2
  27149. /WrTrade2/QueryWrUserReceiptInfo:
  27150. get:
  27151. parameters:
  27152. - description: 用户id
  27153. in: query
  27154. name: userid
  27155. type: integer
  27156. - description: 发票类型 - 1:个人 2:企业
  27157. in: query
  27158. name: receipttype
  27159. type: integer
  27160. produces:
  27161. - application/json
  27162. responses:
  27163. "200":
  27164. description: OK
  27165. schema:
  27166. items:
  27167. $ref: '#/definitions/models.WrUserReceiptInfo'
  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/QueryXhcpSellBackApply:
  27179. get:
  27180. parameters:
  27181. - description: 用户ID
  27182. in: query
  27183. name: userid
  27184. required: true
  27185. type: integer
  27186. produces:
  27187. - application/json
  27188. responses:
  27189. "200":
  27190. description: OK
  27191. schema:
  27192. items:
  27193. $ref: '#/definitions/models.Xhcpsellbackapply'
  27194. type: array
  27195. "500":
  27196. description: Internal Server Error
  27197. schema:
  27198. $ref: '#/definitions/app.Response'
  27199. security:
  27200. - ApiKeyAuth: []
  27201. summary: 查询我的回收申请(新会陈皮)
  27202. tags:
  27203. - 仓单贸易v2
  27204. /ZJ/GetBankTip:
  27205. get:
  27206. produces:
  27207. - application/json
  27208. responses:
  27209. "200":
  27210. description: OK
  27211. schema:
  27212. type: string
  27213. "500":
  27214. description: Internal Server Error
  27215. schema:
  27216. $ref: '#/definitions/app.Response'
  27217. summary: 获取中江网银端出入金提示信息
  27218. tags:
  27219. - 中江
  27220. /ZJ/GetCusBankChannels:
  27221. get:
  27222. produces:
  27223. - application/json
  27224. responses:
  27225. "200":
  27226. description: OK
  27227. schema:
  27228. items:
  27229. type: string
  27230. type: array
  27231. "500":
  27232. description: Internal Server Error
  27233. schema:
  27234. $ref: '#/definitions/app.Response'
  27235. summary: 获取中江出入金渠道显示列表
  27236. tags:
  27237. - 中江
  27238. securityDefinitions:
  27239. ApiKeyAuth:
  27240. in: header
  27241. name: Authorization
  27242. type: apiKey
  27243. Group:
  27244. in: header
  27245. name: Group
  27246. type: apiKey
  27247. LoginID:
  27248. in: header
  27249. name: LoginID
  27250. type: apiKey
  27251. swagger: "2.0"