swagger.yaml 763 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758187591876018761187621876318764187651876618767187681876918770187711877218773187741877518776187771877818779187801878118782187831878418785187861878718788187891879018791187921879318794187951879618797187981879918800188011880218803188041880518806188071880818809188101881118812188131881418815188161881718818188191882018821188221882318824188251882618827188281882918830188311883218833188341883518836188371883818839188401884118842188431884418845188461884718848188491885018851188521885318854188551885618857188581885918860188611886218863188641886518866188671886818869188701887118872188731887418875188761887718878188791888018881188821888318884188851888618887188881888918890188911889218893188941889518896188971889818899189001890118902189031890418905189061890718908189091891018911189121891318914189151891618917189181891918920189211892218923189241892518926189271892818929189301893118932189331893418935189361893718938189391894018941189421894318944189451894618947189481894918950189511895218953189541895518956189571895818959189601896118962189631896418965189661896718968189691897018971189721897318974189751897618977189781897918980189811898218983189841898518986189871898818989189901899118992189931899418995189961899718998189991900019001190021900319004190051900619007190081900919010190111901219013190141901519016190171901819019190201902119022190231902419025190261902719028190291903019031190321903319034190351903619037190381903919040190411904219043190441904519046190471904819049190501905119052190531905419055190561905719058190591906019061190621906319064190651906619067190681906919070190711907219073190741907519076190771907819079190801908119082190831908419085190861908719088190891909019091190921909319094190951909619097190981909919100191011910219103191041910519106191071910819109191101911119112191131911419115191161911719118191191912019121191221912319124191251912619127191281912919130191311913219133191341913519136191371913819139191401914119142191431914419145191461914719148191491915019151191521915319154191551915619157191581915919160191611916219163191641916519166191671916819169191701917119172191731917419175191761917719178191791918019181191821918319184191851918619187191881918919190191911919219193191941919519196191971919819199192001920119202192031920419205192061920719208192091921019211192121921319214192151921619217192181921919220192211922219223192241922519226192271922819229192301923119232192331923419235192361923719238192391924019241192421924319244192451924619247192481924919250192511925219253192541925519256192571925819259192601926119262192631926419265192661926719268192691927019271192721927319274192751927619277192781927919280192811928219283192841928519286192871928819289192901929119292192931929419295192961929719298192991930019301193021930319304193051930619307193081930919310193111931219313193141931519316193171931819319193201932119322193231932419325193261932719328193291933019331193321933319334193351933619337193381933919340193411934219343193441934519346193471934819349193501935119352193531935419355193561935719358193591936019361193621936319364193651936619367193681936919370193711937219373193741937519376193771937819379193801938119382193831938419385193861938719388193891939019391193921939319394193951939619397193981939919400194011940219403194041940519406194071940819409194101941119412194131941419415194161941719418194191942019421194221942319424194251942619427194281942919430194311943219433194341943519436194371943819439194401944119442194431944419445194461944719448194491945019451194521945319454194551945619457194581945919460194611946219463194641946519466194671946819469194701947119472194731947419475194761947719478194791948019481194821948319484194851948619487194881948919490194911949219493194941949519496194971949819499195001950119502195031950419505195061950719508195091951019511195121951319514195151951619517195181951919520195211952219523195241952519526195271952819529195301953119532195331953419535195361953719538195391954019541195421954319544195451954619547195481954919550195511955219553195541955519556195571955819559195601956119562195631956419565195661956719568195691957019571195721957319574195751957619577195781957919580195811958219583195841958519586195871958819589195901959119592195931959419595195961959719598195991960019601196021960319604196051960619607196081960919610196111961219613196141961519616196171961819619196201962119622196231962419625196261962719628196291963019631196321963319634196351963619637196381963919640196411964219643196441964519646196471964819649196501965119652196531965419655196561965719658196591966019661196621966319664196651966619667196681966919670196711967219673196741967519676196771967819679196801968119682196831968419685196861968719688196891969019691196921969319694196951969619697196981969919700197011970219703197041970519706197071970819709197101971119712197131971419715197161971719718197191972019721197221972319724197251972619727197281972919730197311973219733197341973519736197371973819739197401974119742197431974419745197461974719748197491975019751197521975319754197551975619757197581975919760197611976219763197641976519766197671976819769197701977119772197731977419775197761977719778197791978019781197821978319784197851978619787197881978919790197911979219793197941979519796197971979819799198001980119802198031980419805198061980719808198091981019811198121981319814198151981619817198181981919820198211982219823198241982519826198271982819829198301983119832198331983419835198361983719838198391984019841198421984319844198451984619847198481984919850198511985219853198541985519856198571985819859198601986119862198631986419865198661986719868198691987019871198721987319874198751987619877198781987919880198811988219883198841988519886198871988819889198901989119892198931989419895198961989719898198991990019901199021990319904199051990619907199081990919910199111991219913199141991519916199171991819919199201992119922199231992419925199261992719928199291993019931199321993319934199351993619937199381993919940199411994219943199441994519946199471994819949199501995119952199531995419955199561995719958199591996019961199621996319964199651996619967199681996919970199711997219973199741997519976199771997819979199801998119982199831998419985199861998719988199891999019991199921999319994199951999619997199981999920000200012000220003200042000520006200072000820009200102001120012200132001420015200162001720018200192002020021200222002320024200252002620027200282002920030200312003220033200342003520036200372003820039200402004120042200432004420045200462004720048200492005020051200522005320054200552005620057200582005920060200612006220063200642006520066200672006820069200702007120072200732007420075200762007720078200792008020081200822008320084200852008620087200882008920090200912009220093200942009520096200972009820099201002010120102201032010420105201062010720108201092011020111201122011320114201152011620117201182011920120201212012220123201242012520126201272012820129201302013120132201332013420135201362013720138201392014020141201422014320144201452014620147201482014920150201512015220153201542015520156201572015820159201602016120162201632016420165201662016720168201692017020171201722017320174201752017620177201782017920180201812018220183201842018520186201872018820189201902019120192201932019420195201962019720198201992020020201202022020320204202052020620207202082020920210202112021220213202142021520216202172021820219202202022120222202232022420225202262022720228202292023020231202322023320234202352023620237202382023920240202412024220243202442024520246202472024820249202502025120252202532025420255202562025720258202592026020261202622026320264202652026620267202682026920270202712027220273202742027520276202772027820279202802028120282202832028420285202862028720288202892029020291202922029320294202952029620297202982029920300203012030220303203042030520306203072030820309203102031120312203132031420315203162031720318203192032020321203222032320324203252032620327203282032920330203312033220333203342033520336203372033820339203402034120342203432034420345203462034720348203492035020351203522035320354203552035620357203582035920360203612036220363203642036520366203672036820369203702037120372203732037420375203762037720378203792038020381203822038320384203852038620387203882038920390203912039220393203942039520396203972039820399204002040120402204032040420405204062040720408204092041020411204122041320414204152041620417204182041920420204212042220423204242042520426204272042820429204302043120432204332043420435204362043720438204392044020441204422044320444204452044620447204482044920450204512045220453204542045520456204572045820459204602046120462204632046420465204662046720468204692047020471204722047320474204752047620477204782047920480204812048220483204842048520486204872048820489204902049120492204932049420495204962049720498204992050020501205022050320504205052050620507205082050920510205112051220513205142051520516205172051820519205202052120522205232052420525205262052720528205292053020531205322053320534205352053620537205382053920540205412054220543205442054520546205472054820549205502055120552205532055420555205562055720558205592056020561205622056320564205652056620567205682056920570205712057220573205742057520576205772057820579205802058120582205832058420585205862058720588205892059020591205922059320594205952059620597205982059920600206012060220603206042060520606206072060820609206102061120612206132061420615206162061720618206192062020621206222062320624206252062620627206282062920630206312063220633206342063520636206372063820639206402064120642206432064420645206462064720648206492065020651206522065320654206552065620657206582065920660206612066220663206642066520666206672066820669206702067120672206732067420675206762067720678206792068020681206822068320684206852068620687206882068920690206912069220693206942069520696206972069820699207002070120702207032070420705207062070720708207092071020711207122071320714207152071620717207182071920720207212072220723207242072520726207272072820729207302073120732207332073420735207362073720738207392074020741207422074320744207452074620747207482074920750207512075220753207542075520756207572075820759207602076120762207632076420765207662076720768207692077020771207722077320774207752077620777207782077920780207812078220783207842078520786207872078820789207902079120792207932079420795207962079720798207992080020801208022080320804208052080620807208082080920810208112081220813208142081520816208172081820819208202082120822208232082420825208262082720828208292083020831208322083320834208352083620837208382083920840208412084220843208442084520846208472084820849208502085120852208532085420855208562085720858208592086020861208622086320864208652086620867208682086920870208712087220873208742087520876208772087820879208802088120882208832088420885208862088720888208892089020891208922089320894208952089620897208982089920900209012090220903209042090520906209072090820909209102091120912209132091420915209162091720918209192092020921209222092320924209252092620927209282092920930209312093220933209342093520936209372093820939209402094120942209432094420945209462094720948209492095020951209522095320954209552095620957209582095920960209612096220963209642096520966209672096820969209702097120972209732097420975209762097720978209792098020981209822098320984209852098620987209882098920990209912099220993209942099520996209972099820999210002100121002210032100421005210062100721008210092101021011210122101321014210152101621017210182101921020210212102221023210242102521026210272102821029210302103121032210332103421035210362103721038210392104021041210422104321044210452104621047210482104921050210512105221053210542105521056210572105821059210602106121062210632106421065210662106721068210692107021071210722107321074210752107621077210782107921080210812108221083210842108521086210872108821089210902109121092210932109421095210962109721098210992110021101211022110321104211052110621107211082110921110211112111221113211142111521116211172111821119211202112121122211232112421125211262112721128211292113021131211322113321134211352113621137211382113921140211412114221143211442114521146211472114821149211502115121152211532115421155211562115721158211592116021161211622116321164211652116621167211682116921170211712117221173211742117521176211772117821179211802118121182211832118421185211862118721188211892119021191211922119321194211952119621197211982119921200212012120221203212042120521206212072120821209212102121121212212132121421215212162121721218212192122021221212222122321224212252122621227212282122921230212312123221233212342123521236212372123821239212402124121242212432124421245212462124721248212492125021251212522125321254212552125621257212582125921260212612126221263212642126521266212672126821269212702127121272212732127421275212762127721278212792128021281212822128321284212852128621287212882128921290212912129221293212942129521296212972129821299213002130121302213032130421305213062130721308213092131021311213122131321314213152131621317213182131921320213212132221323213242132521326213272132821329213302133121332213332133421335213362133721338213392134021341213422134321344213452134621347213482134921350213512135221353213542135521356213572135821359213602136121362213632136421365213662136721368213692137021371213722137321374213752137621377213782137921380213812138221383213842138521386213872138821389213902139121392213932139421395213962139721398213992140021401214022140321404214052140621407214082140921410214112141221413214142141521416214172141821419214202142121422214232142421425214262142721428214292143021431214322143321434214352143621437214382143921440214412144221443214442144521446214472144821449214502145121452214532145421455214562145721458214592146021461214622146321464214652146621467214682146921470214712147221473214742147521476214772147821479214802148121482214832148421485214862148721488214892149021491214922149321494214952149621497214982149921500215012150221503215042150521506215072150821509215102151121512215132151421515215162151721518215192152021521215222152321524215252152621527215282152921530215312153221533215342153521536215372153821539215402154121542215432154421545215462154721548215492155021551215522155321554215552155621557215582155921560215612156221563215642156521566215672156821569215702157121572215732157421575215762157721578215792158021581215822158321584215852158621587215882158921590215912159221593215942159521596215972159821599216002160121602216032160421605216062160721608216092161021611216122161321614216152161621617216182161921620216212162221623216242162521626216272162821629216302163121632216332163421635216362163721638216392164021641216422164321644216452164621647216482164921650216512165221653216542165521656216572165821659216602166121662216632166421665216662166721668216692167021671216722167321674216752167621677216782167921680216812168221683216842168521686216872168821689216902169121692216932169421695216962169721698216992170021701217022170321704217052170621707217082170921710217112171221713217142171521716217172171821719217202172121722217232172421725217262172721728217292173021731217322173321734217352173621737217382173921740217412174221743217442174521746217472174821749217502175121752217532175421755217562175721758217592176021761217622176321764217652176621767217682176921770217712177221773217742177521776217772177821779217802178121782217832178421785217862178721788217892179021791217922179321794217952179621797217982179921800218012180221803218042180521806218072180821809218102181121812218132181421815218162181721818218192182021821218222182321824218252182621827218282182921830218312183221833218342183521836218372183821839218402184121842218432184421845218462184721848218492185021851218522185321854218552185621857218582185921860218612186221863218642186521866218672186821869218702187121872218732187421875218762187721878218792188021881218822188321884218852188621887218882188921890218912189221893218942189521896218972189821899219002190121902219032190421905219062190721908219092191021911219122191321914219152191621917219182191921920219212192221923219242192521926219272192821929219302193121932219332193421935219362193721938219392194021941219422194321944219452194621947219482194921950219512195221953219542195521956219572195821959219602196121962219632196421965219662196721968219692197021971219722197321974219752197621977219782197921980219812198221983219842198521986219872198821989219902199121992219932199421995219962199721998219992200022001220022200322004220052200622007220082200922010220112201222013220142201522016220172201822019220202202122022220232202422025220262202722028220292203022031220322203322034220352203622037220382203922040220412204222043220442204522046220472204822049220502205122052220532205422055220562205722058220592206022061220622206322064220652206622067220682206922070220712207222073220742207522076220772207822079220802208122082220832208422085220862208722088220892209022091220922209322094220952209622097220982209922100221012210222103221042210522106221072210822109221102211122112221132211422115221162211722118221192212022121221222212322124221252212622127221282212922130221312213222133221342213522136221372213822139221402214122142221432214422145221462214722148221492215022151221522215322154221552215622157221582215922160221612216222163221642216522166221672216822169221702217122172221732217422175221762217722178221792218022181221822218322184221852218622187221882218922190221912219222193221942219522196221972219822199222002220122202222032220422205222062220722208222092221022211222122221322214222152221622217222182221922220222212222222223222242222522226222272222822229222302223122232222332223422235222362223722238222392224022241222422224322244222452224622247222482224922250222512225222253222542225522256222572225822259222602226122262222632226422265222662226722268222692227022271222722227322274222752227622277222782227922280222812228222283222842228522286222872228822289222902229122292222932229422295222962229722298222992230022301223022230322304223052230622307223082230922310223112231222313223142231522316223172231822319223202232122322223232232422325223262232722328223292233022331223322233322334223352233622337223382233922340223412234222343223442234522346223472234822349223502235122352223532235422355223562235722358223592236022361223622236322364223652236622367223682236922370223712237222373223742237522376223772237822379223802238122382223832238422385223862238722388223892239022391223922239322394223952239622397223982239922400224012240222403224042240522406224072240822409224102241122412224132241422415224162241722418224192242022421224222242322424224252242622427224282242922430224312243222433224342243522436224372243822439224402244122442224432244422445224462244722448224492245022451224522245322454224552245622457224582245922460224612246222463224642246522466224672246822469224702247122472224732247422475224762247722478224792248022481224822248322484224852248622487224882248922490224912249222493224942249522496224972249822499225002250122502225032250422505225062250722508225092251022511225122251322514225152251622517225182251922520225212252222523225242252522526225272252822529225302253122532225332253422535225362253722538225392254022541225422254322544225452254622547225482254922550225512255222553225542255522556225572255822559225602256122562225632256422565225662256722568225692257022571225722257322574225752257622577225782257922580225812258222583225842258522586225872258822589225902259122592225932259422595225962259722598225992260022601226022260322604226052260622607226082260922610226112261222613226142261522616226172261822619226202262122622226232262422625226262262722628226292263022631226322263322634226352263622637226382263922640226412264222643226442264522646226472264822649226502265122652226532265422655226562265722658226592266022661226622266322664226652266622667226682266922670226712267222673226742267522676226772267822679226802268122682226832268422685226862268722688226892269022691226922269322694226952269622697226982269922700227012270222703227042270522706227072270822709227102271122712227132271422715227162271722718227192272022721227222272322724227252272622727227282272922730227312273222733227342273522736227372273822739227402274122742227432274422745227462274722748227492275022751227522275322754227552275622757227582275922760227612276222763227642276522766227672276822769227702277122772227732277422775227762277722778227792278022781227822278322784227852278622787227882278922790227912279222793227942279522796227972279822799228002280122802228032280422805228062280722808228092281022811228122281322814228152281622817228182281922820228212282222823228242282522826228272282822829228302283122832228332283422835228362283722838228392284022841228422284322844228452284622847228482284922850228512285222853228542285522856228572285822859228602286122862228632286422865228662286722868228692287022871228722287322874228752287622877228782287922880228812288222883228842288522886228872288822889228902289122892228932289422895228962289722898228992290022901229022290322904229052290622907229082290922910229112291222913229142291522916229172291822919229202292122922229232292422925229262292722928229292293022931229322293322934229352293622937229382293922940229412294222943229442294522946229472294822949229502295122952229532295422955229562295722958229592296022961229622296322964229652296622967229682296922970229712297222973229742297522976229772297822979229802298122982229832298422985229862298722988229892299022991229922299322994229952299622997229982299923000230012300223003230042300523006230072300823009230102301123012230132301423015230162301723018230192302023021230222302323024230252302623027230282302923030230312303223033230342303523036230372303823039230402304123042230432304423045230462304723048230492305023051230522305323054230552305623057230582305923060230612306223063230642306523066230672306823069230702307123072230732307423075230762307723078230792308023081230822308323084230852308623087230882308923090230912309223093230942309523096230972309823099231002310123102231032310423105231062310723108231092311023111231122311323114231152311623117231182311923120231212312223123231242312523126231272312823129231302313123132231332313423135231362313723138231392314023141231422314323144231452314623147231482314923150231512315223153231542315523156231572315823159231602316123162231632316423165231662316723168231692317023171231722317323174231752317623177231782317923180231812318223183231842318523186231872318823189231902319123192231932319423195231962319723198231992320023201232022320323204232052320623207232082320923210232112321223213232142321523216232172321823219232202322123222232232322423225232262322723228232292323023231232322323323234232352323623237232382323923240232412324223243232442324523246232472324823249232502325123252232532325423255232562325723258232592326023261232622326323264232652326623267232682326923270232712327223273232742327523276232772327823279232802328123282232832328423285232862328723288232892329023291232922329323294232952329623297232982329923300233012330223303233042330523306233072330823309233102331123312233132331423315233162331723318233192332023321233222332323324233252332623327233282332923330233312333223333233342333523336233372333823339233402334123342233432334423345233462334723348233492335023351233522335323354233552335623357233582335923360233612336223363233642336523366233672336823369233702337123372233732337423375233762337723378233792338023381233822338323384233852338623387233882338923390233912339223393233942339523396233972339823399234002340123402234032340423405234062340723408234092341023411234122341323414234152341623417234182341923420234212342223423234242342523426234272342823429234302343123432234332343423435234362343723438234392344023441234422344323444234452344623447234482344923450234512345223453234542345523456234572345823459234602346123462234632346423465234662346723468234692347023471234722347323474234752347623477234782347923480234812348223483234842348523486234872348823489234902349123492234932349423495234962349723498234992350023501235022350323504235052350623507235082350923510235112351223513235142351523516235172351823519235202352123522235232352423525235262352723528235292353023531235322353323534235352353623537235382353923540235412354223543235442354523546235472354823549235502355123552235532355423555235562355723558235592356023561235622356323564235652356623567235682356923570235712357223573235742357523576235772357823579235802358123582235832358423585235862358723588235892359023591235922359323594235952359623597235982359923600236012360223603236042360523606236072360823609236102361123612236132361423615236162361723618236192362023621236222362323624236252362623627236282362923630236312363223633236342363523636236372363823639236402364123642236432364423645236462364723648236492365023651236522365323654236552365623657236582365923660236612366223663236642366523666236672366823669236702367123672236732367423675236762367723678236792368023681236822368323684236852368623687236882368923690236912369223693236942369523696236972369823699237002370123702237032370423705237062370723708237092371023711237122371323714237152371623717237182371923720237212372223723237242372523726237272372823729237302373123732237332373423735237362373723738237392374023741237422374323744237452374623747237482374923750237512375223753237542375523756237572375823759237602376123762237632376423765237662376723768237692377023771237722377323774237752377623777237782377923780237812378223783237842378523786237872378823789237902379123792237932379423795237962379723798237992380023801238022380323804238052380623807238082380923810238112381223813238142381523816238172381823819238202382123822238232382423825238262382723828238292383023831238322383323834238352383623837238382383923840238412384223843238442384523846238472384823849238502385123852238532385423855238562385723858238592386023861238622386323864238652386623867238682386923870238712387223873238742387523876238772387823879238802388123882238832388423885238862388723888238892389023891238922389323894238952389623897238982389923900239012390223903239042390523906239072390823909239102391123912239132391423915239162391723918239192392023921239222392323924239252392623927239282392923930239312393223933239342393523936239372393823939239402394123942239432394423945239462394723948239492395023951239522395323954239552395623957239582395923960239612396223963239642396523966239672396823969239702397123972239732397423975239762397723978239792398023981239822398323984239852398623987239882398923990239912399223993239942399523996239972399823999240002400124002240032400424005240062400724008240092401024011240122401324014240152401624017240182401924020240212402224023240242402524026240272402824029240302403124032240332403424035240362403724038240392404024041240422404324044240452404624047240482404924050240512405224053240542405524056240572405824059240602406124062240632406424065240662406724068240692407024071240722407324074240752407624077240782407924080240812408224083240842408524086240872408824089240902409124092240932409424095240962409724098240992410024101241022410324104241052410624107241082410924110241112411224113241142411524116241172411824119241202412124122241232412424125241262412724128241292413024131241322413324134241352413624137241382413924140241412414224143241442414524146241472414824149241502415124152241532415424155241562415724158241592416024161241622416324164241652416624167241682416924170241712417224173241742417524176241772417824179241802418124182241832418424185241862418724188241892419024191241922419324194241952419624197241982419924200242012420224203242042420524206242072420824209242102421124212242132421424215242162421724218242192422024221242222422324224242252422624227242282422924230242312423224233242342423524236242372423824239242402424124242242432424424245242462424724248242492425024251242522425324254242552425624257242582425924260242612426224263242642426524266242672426824269242702427124272242732427424275242762427724278242792428024281242822428324284242852428624287242882428924290242912429224293242942429524296242972429824299243002430124302243032430424305243062430724308243092431024311243122431324314243152431624317243182431924320243212432224323243242432524326243272432824329243302433124332243332433424335243362433724338243392434024341243422434324344243452434624347243482434924350243512435224353243542435524356243572435824359243602436124362243632436424365243662436724368243692437024371243722437324374243752437624377243782437924380243812438224383243842438524386243872438824389243902439124392243932439424395243962439724398243992440024401244022440324404244052440624407244082440924410244112441224413244142441524416244172441824419244202442124422244232442424425244262442724428244292443024431244322443324434244352443624437244382443924440244412444224443244442444524446244472444824449244502445124452244532445424455244562445724458244592446024461244622446324464244652446624467244682446924470244712447224473244742447524476244772447824479244802448124482244832448424485244862448724488244892449024491244922449324494244952449624497244982449924500245012450224503245042450524506245072450824509245102451124512245132451424515245162451724518245192452024521245222452324524245252452624527245282452924530245312453224533245342453524536245372453824539245402454124542245432454424545245462454724548245492455024551245522455324554245552455624557245582455924560245612456224563245642456524566245672456824569245702457124572245732457424575245762457724578245792458024581245822458324584245852458624587245882458924590245912459224593245942459524596245972459824599246002460124602246032460424605246062460724608246092461024611246122461324614246152461624617246182461924620246212462224623246242462524626246272462824629246302463124632246332463424635246362463724638246392464024641246422464324644246452464624647246482464924650246512465224653246542465524656246572465824659246602466124662246632466424665246662466724668246692467024671246722467324674246752467624677246782467924680246812468224683246842468524686246872468824689246902469124692246932469424695246962469724698246992470024701247022470324704247052470624707247082470924710247112471224713247142471524716247172471824719247202472124722247232472424725247262472724728247292473024731247322473324734247352473624737247382473924740247412474224743247442474524746247472474824749247502475124752247532475424755247562475724758247592476024761247622476324764247652476624767247682476924770247712477224773247742477524776247772477824779247802478124782247832478424785247862478724788247892479024791247922479324794247952479624797247982479924800248012480224803248042480524806248072480824809248102481124812248132481424815248162481724818248192482024821248222482324824248252482624827248282482924830248312483224833248342483524836248372483824839248402484124842248432484424845248462484724848248492485024851248522485324854248552485624857248582485924860248612486224863248642486524866248672486824869248702487124872248732487424875248762487724878248792488024881248822488324884248852488624887248882488924890248912489224893248942489524896248972489824899249002490124902249032490424905249062490724908249092491024911249122491324914249152491624917249182491924920249212492224923249242492524926249272492824929249302493124932249332493424935249362493724938249392494024941249422494324944249452494624947249482494924950249512495224953249542495524956249572495824959249602496124962249632496424965249662496724968249692497024971249722497324974249752497624977249782497924980249812498224983249842498524986249872498824989249902499124992249932499424995249962499724998249992500025001250022500325004250052500625007250082500925010250112501225013250142501525016250172501825019250202502125022250232502425025250262502725028250292503025031250322503325034250352503625037250382503925040250412504225043250442504525046250472504825049250502505125052250532505425055250562505725058250592506025061250622506325064250652506625067250682506925070250712507225073250742507525076250772507825079250802508125082250832508425085250862508725088250892509025091250922509325094250952509625097250982509925100251012510225103251042510525106251072510825109251102511125112251132511425115251162511725118251192512025121251222512325124251252512625127251282512925130251312513225133251342513525136251372513825139251402514125142251432514425145251462514725148251492515025151251522515325154251552515625157251582515925160251612516225163251642516525166251672516825169251702517125172251732517425175251762517725178251792518025181251822518325184251852518625187251882518925190251912519225193251942519525196251972519825199252002520125202252032520425205252062520725208252092521025211252122521325214252152521625217252182521925220252212522225223252242522525226252272522825229252302523125232252332523425235252362523725238252392524025241252422524325244252452524625247252482524925250252512525225253252542525525256252572525825259252602526125262252632526425265252662526725268252692527025271252722527325274252752527625277252782527925280252812528225283252842528525286252872528825289252902529125292252932529425295252962529725298252992530025301253022530325304253052530625307253082530925310253112531225313253142531525316253172531825319253202532125322253232532425325253262532725328253292533025331253322533325334253352533625337253382533925340253412534225343253442534525346253472534825349253502535125352253532535425355253562535725358253592536025361253622536325364253652536625367253682536925370253712537225373253742537525376253772537825379253802538125382253832538425385253862538725388253892539025391253922539325394253952539625397253982539925400254012540225403254042540525406254072540825409254102541125412254132541425415254162541725418254192542025421254222542325424254252542625427254282542925430254312543225433254342543525436254372543825439254402544125442254432544425445254462544725448254492545025451254522545325454254552545625457254582545925460254612546225463254642546525466254672546825469254702547125472254732547425475254762547725478254792548025481254822548325484254852548625487254882548925490254912549225493254942549525496254972549825499255002550125502255032550425505255062550725508255092551025511255122551325514255152551625517255182551925520255212552225523255242552525526255272552825529255302553125532255332553425535255362553725538255392554025541255422554325544255452554625547255482554925550255512555225553255542555525556255572555825559255602556125562255632556425565255662556725568255692557025571255722557325574255752557625577255782557925580255812558225583255842558525586255872558825589255902559125592255932559425595255962559725598255992560025601256022560325604256052560625607256082560925610256112561225613256142561525616256172561825619256202562125622256232562425625256262562725628256292563025631256322563325634256352563625637256382563925640256412564225643256442564525646256472564825649256502565125652256532565425655256562565725658256592566025661256622566325664256652566625667256682566925670256712567225673256742567525676256772567825679256802568125682256832568425685256862568725688256892569025691256922569325694256952569625697256982569925700257012570225703257042570525706257072570825709257102571125712257132571425715257162571725718257192572025721257222572325724257252572625727257282572925730257312573225733257342573525736257372573825739257402574125742257432574425745257462574725748257492575025751257522575325754257552575625757257582575925760257612576225763257642576525766257672576825769257702577125772257732577425775257762577725778257792578025781257822578325784257852578625787257882578925790257912579225793257942579525796257972579825799258002580125802258032580425805258062580725808258092581025811258122581325814258152581625817258182581925820258212582225823258242582525826258272582825829258302583125832258332583425835258362583725838258392584025841258422584325844258452584625847258482584925850258512585225853258542585525856258572585825859258602586125862258632586425865258662586725868258692587025871258722587325874258752587625877258782587925880258812588225883258842588525886258872588825889258902589125892258932589425895258962589725898258992590025901259022590325904259052590625907259082590925910259112591225913259142591525916259172591825919259202592125922259232592425925259262592725928259292593025931259322593325934259352593625937259382593925940259412594225943259442594525946259472594825949259502595125952259532595425955259562595725958259592596025961259622596325964259652596625967259682596925970259712597225973259742597525976259772597825979259802598125982259832598425985259862598725988259892599025991259922599325994259952599625997259982599926000260012600226003260042600526006260072600826009260102601126012260132601426015260162601726018260192602026021260222602326024260252602626027260282602926030260312603226033260342603526036260372603826039260402604126042260432604426045260462604726048260492605026051260522605326054260552605626057260582605926060260612606226063260642606526066260672606826069260702607126072260732607426075260762607726078260792608026081260822608326084260852608626087260882608926090260912609226093260942609526096260972609826099261002610126102261032610426105261062610726108261092611026111261122611326114261152611626117261182611926120261212612226123261242612526126261272612826129261302613126132261332613426135261362613726138261392614026141261422614326144261452614626147261482614926150261512615226153261542615526156261572615826159261602616126162261632616426165261662616726168261692617026171261722617326174261752617626177261782617926180261812618226183261842618526186261872618826189261902619126192261932619426195261962619726198261992620026201262022620326204262052620626207262082620926210262112621226213262142621526216262172621826219262202622126222262232622426225262262622726228262292623026231262322623326234262352623626237262382623926240262412624226243262442624526246262472624826249262502625126252262532625426255262562625726258262592626026261262622626326264262652626626267262682626926270262712627226273262742627526276262772627826279262802628126282262832628426285262862628726288262892629026291262922629326294262952629626297262982629926300263012630226303263042630526306263072630826309263102631126312263132631426315263162631726318263192632026321263222632326324263252632626327263282632926330263312633226333263342633526336263372633826339263402634126342263432634426345263462634726348263492635026351263522635326354263552635626357263582635926360263612636226363263642636526366263672636826369263702637126372263732637426375263762637726378263792638026381263822638326384263852638626387263882638926390263912639226393263942639526396263972639826399264002640126402264032640426405264062640726408264092641026411264122641326414264152641626417264182641926420264212642226423264242642526426264272642826429264302643126432264332643426435264362643726438264392644026441264422644326444264452644626447264482644926450264512645226453264542645526456264572645826459264602646126462264632646426465264662646726468264692647026471264722647326474264752647626477264782647926480264812648226483264842648526486264872648826489264902649126492264932649426495264962649726498264992650026501265022650326504265052650626507265082650926510265112651226513265142651526516265172651826519265202652126522265232652426525265262652726528265292653026531265322653326534265352653626537265382653926540265412654226543265442654526546265472654826549265502655126552265532655426555265562655726558265592656026561265622656326564265652656626567265682656926570265712657226573265742657526576265772657826579265802658126582265832658426585265862658726588265892659026591265922659326594265952659626597265982659926600266012660226603266042660526606266072660826609266102661126612266132661426615266162661726618266192662026621266222662326624266252662626627266282662926630266312663226633266342663526636266372663826639266402664126642266432664426645266462664726648266492665026651266522665326654266552665626657266582665926660266612666226663266642666526666266672666826669266702667126672266732667426675266762667726678266792668026681266822668326684266852668626687266882668926690266912669226693266942669526696266972669826699267002670126702267032670426705267062670726708267092671026711267122671326714267152671626717267182671926720267212672226723267242672526726267272672826729267302673126732267332673426735267362673726738267392674026741267422674326744267452674626747267482674926750267512675226753267542675526756267572675826759267602676126762267632676426765267662676726768267692677026771267722677326774267752677626777267782677926780267812678226783267842678526786267872678826789267902679126792267932679426795267962679726798267992680026801268022680326804268052680626807268082680926810268112681226813268142681526816268172681826819268202682126822268232682426825268262682726828268292683026831268322683326834268352683626837268382683926840268412684226843268442684526846268472684826849268502685126852268532685426855268562685726858268592686026861268622686326864268652686626867268682686926870268712687226873268742687526876268772687826879268802688126882268832688426885268862688726888268892689026891268922689326894268952689626897268982689926900269012690226903269042690526906269072690826909269102691126912269132691426915269162691726918269192692026921269222692326924269252692626927269282692926930269312693226933269342693526936269372693826939269402694126942269432694426945269462694726948269492695026951269522695326954269552695626957269582695926960269612696226963269642696526966269672696826969269702697126972269732697426975269762697726978269792698026981269822698326984269852698626987269882698926990269912699226993269942699526996269972699826999270002700127002270032700427005270062700727008270092701027011270122701327014270152701627017270182701927020270212702227023270242702527026270272702827029270302703127032270332703427035270362703727038270392704027041270422704327044270452704627047270482704927050270512705227053270542705527056270572705827059270602706127062270632706427065270662706727068270692707027071270722707327074270752707627077270782707927080270812708227083270842708527086270872708827089270902709127092270932709427095270962709727098270992710027101271022710327104271052710627107271082710927110271112711227113271142711527116271172711827119271202712127122271232712427125271262712727128271292713027131271322713327134271352713627137271382713927140271412714227143271442714527146271472714827149271502715127152271532715427155271562715727158271592716027161271622716327164271652716627167271682716927170271712717227173271742717527176271772717827179271802718127182271832718427185271862718727188271892719027191271922719327194271952719627197271982719927200272012720227203272042720527206272072720827209272102721127212272132721427215272162721727218272192722027221272222722327224272252722627227272282722927230272312723227233272342723527236272372723827239272402724127242272432724427245272462724727248272492725027251272522725327254272552725627257272582725927260272612726227263272642726527266272672726827269272702727127272272732727427275272762727727278272792728027281272822728327284272852728627287272882728927290272912729227293272942729527296272972729827299273002730127302273032730427305
  1. definitions:
  2. app.Response:
  3. properties:
  4. code:
  5. type: integer
  6. data: {}
  7. msg:
  8. type: string
  9. page:
  10. description: 页码
  11. type: integer
  12. pagesize:
  13. description: 每页条数
  14. type: integer
  15. total:
  16. description: 总条数
  17. type: integer
  18. type: object
  19. common.ClientMenu:
  20. properties:
  21. children:
  22. description: 子菜单列表
  23. items:
  24. $ref: '#/definitions/common.ClientMenu'
  25. type: array
  26. code:
  27. description: ID
  28. type: string
  29. isshow:
  30. description: 是否显示
  31. type: boolean
  32. remark:
  33. description: 备注
  34. type: string
  35. rulekey:
  36. description: 对应权限主键,对应FUNCMENULIST表RESOURCECODE
  37. type: string
  38. sort:
  39. description: 排序
  40. type: integer
  41. title:
  42. description: 标题
  43. type: string
  44. type:
  45. description: 类型,1:菜单 2:按钮
  46. type: integer
  47. url:
  48. description: URL
  49. type: string
  50. type: object
  51. common.PCWebMenu:
  52. properties:
  53. auth:
  54. description: 页面权限列表
  55. items:
  56. $ref: '#/definitions/common.PCWebMenuAuth'
  57. type: array
  58. children:
  59. description: 子菜单列表
  60. items:
  61. $ref: '#/definitions/common.PCWebMenu'
  62. type: array
  63. code:
  64. description: ID,新版本中权限KEY也是这个字段
  65. type: string
  66. component:
  67. description: 路由组件
  68. type: string
  69. isshow:
  70. description: 是否显示
  71. type: boolean
  72. path:
  73. description: 路由路径
  74. type: string
  75. remark:
  76. description: 备注
  77. type: string
  78. rulekey:
  79. description: 权限主键,非空表示需要判断控制,非空值不可重复
  80. type: string
  81. sort:
  82. description: 排序
  83. type: integer
  84. title:
  85. description: 标题
  86. type: string
  87. url:
  88. description: URL
  89. type: string
  90. type: object
  91. common.PCWebMenuAuth:
  92. properties:
  93. code:
  94. description: ID,新版本中权限KEY也是这个字段
  95. type: string
  96. isshow:
  97. description: 是否显示
  98. type: boolean
  99. label:
  100. description: 标题
  101. type: string
  102. remark:
  103. description: 备注
  104. type: string
  105. rulekey:
  106. description: 权限主键,非空表示需要判断控制,非空值不可重复
  107. type: string
  108. type: object
  109. common.QueryImageConfigsRsp:
  110. properties:
  111. areauserid:
  112. description: 所属机构ID
  113. type: integer
  114. configid:
  115. description: 配置ID(SEQ_SZDZ2_IMAGECONFIG)
  116. type: integer
  117. createdate:
  118. description: 创建时间
  119. type: string
  120. creatorid:
  121. description: 创建人
  122. type: integer
  123. imagedetailpath:
  124. description: 详情图片 [UrlType = 3时 有且必填,其它类型不需要]
  125. type: string
  126. imagepath:
  127. description: 图片
  128. type: string
  129. imagetype:
  130. description: 类型 - 1:首页轮播(移动) 2:我的(移动)
  131. type: integer
  132. isshow:
  133. description: 是否展示 - 0:不展示 1:展示
  134. type: integer
  135. marketid:
  136. description: 市场ID
  137. type: integer
  138. modifierid:
  139. description: 操作人
  140. type: integer
  141. sort:
  142. description: 排序
  143. type: integer
  144. title:
  145. description: 标题
  146. type: string
  147. trademode:
  148. description: 交易模式
  149. type: integer
  150. updatedate:
  151. description: 修改时间
  152. type: string
  153. url:
  154. description: 链接(地址或商品ID)
  155. type: string
  156. urltype:
  157. description: 链接类型 - 1:直接地址 2:商品ID
  158. type: integer
  159. required:
  160. - configid
  161. type: object
  162. common.QueryNoticeRsp:
  163. properties:
  164. auditoruserid:
  165. description: 审核人
  166. type: integer
  167. auditremark:
  168. description: 审核备注
  169. type: string
  170. audittime:
  171. description: 审核日期
  172. type: string
  173. autoid:
  174. description: 自增ID
  175. type: integer
  176. content:
  177. description: 内容
  178. type: string
  179. createtime:
  180. description: 创建时间
  181. type: string
  182. creatorid:
  183. description: 建仓人
  184. type: integer
  185. endtime:
  186. description: 结束时间
  187. type: string
  188. istop:
  189. description: 是否置顶 - 0:不置顶 1:置顶
  190. type: integer
  191. msgiconurl:
  192. description: 消息图标Url
  193. type: string
  194. msgtype:
  195. description: 消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知
  196. type: integer
  197. publisher:
  198. description: 消息发布者
  199. type: string
  200. readed:
  201. description: 是否已读
  202. type: boolean
  203. scheduletime:
  204. description: 计划发送时间
  205. type: string
  206. sendtype:
  207. description: 推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)
  208. type: integer
  209. sentstatus:
  210. description: 推送状态 - 0:未推送 1:已推送 2:审核拒绝
  211. type: integer
  212. title:
  213. description: 标题
  214. type: string
  215. userid:
  216. description: 会员/投资者ID推送方式 为 个人时,填写投资者ID
  217. type: integer
  218. required:
  219. - autoid
  220. type: object
  221. common.QueryProvincesAndCitiesRsp:
  222. properties:
  223. cities:
  224. description: 市
  225. items:
  226. $ref: '#/definitions/models.Division'
  227. type: array
  228. province:
  229. $ref: '#/definitions/models.Division'
  230. description: 省
  231. type: object
  232. common.QueryTableDefineRsp:
  233. properties:
  234. columns:
  235. description: 列头信息数组
  236. items:
  237. $ref: '#/definitions/models.Tablecolumnconfig'
  238. type: array
  239. remark:
  240. description: Remark
  241. type: string
  242. tabelmenu:
  243. description: 列表菜单
  244. type: string
  245. tablekey:
  246. description: 列表Key
  247. type: string
  248. tablename:
  249. description: 列表名称
  250. type: string
  251. tabletype:
  252. description: 列表类型 - 1:管理端 2:终端
  253. type: integer
  254. required:
  255. - tablekey
  256. type: object
  257. common.QueryTraderMenuRsp:
  258. properties:
  259. OperationMenu:
  260. description: 功能菜单
  261. items:
  262. $ref: '#/definitions/models.OperationPrimaryMenu'
  263. type: array
  264. QuoteMenu:
  265. description: 报价牌分类菜单
  266. items:
  267. $ref: '#/definitions/models.QuotePrimaryMenu'
  268. type: array
  269. type: object
  270. cptrade.Cptradepositioncancel:
  271. properties:
  272. accountid:
  273. description: 申请人账户ID
  274. type: integer
  275. applystatus:
  276. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  277. type: integer
  278. applytime:
  279. description: 申请时间
  280. type: string
  281. cancelid:
  282. description: 注销ID(SEQ_CPTRADE_POSITIONCANCEL)
  283. type: integer
  284. cancelqty:
  285. description: 注销数量
  286. type: integer
  287. createtime:
  288. description: 创建时间
  289. type: string
  290. creatorid:
  291. description: 创建人ID
  292. type: integer
  293. creatorname:
  294. description: 创建人
  295. type: string
  296. goodscode:
  297. description: 订单商品代码
  298. type: string
  299. goodsid:
  300. description: 商品ID
  301. type: integer
  302. goodsname:
  303. description: 订单商品名称
  304. type: string
  305. goodunit:
  306. description: 报价单位
  307. type: string
  308. handlestatus:
  309. description: 处理状态
  310. type: integer
  311. marketid:
  312. description: 市场ID
  313. type: integer
  314. marketname:
  315. description: 市场名称
  316. type: string
  317. tradedate:
  318. description: 交易日(yyyyMMdd)
  319. type: string
  320. userid:
  321. description: 申请人ID
  322. type: integer
  323. required:
  324. - cancelid
  325. type: object
  326. cptrade.Cptradepresaleapply:
  327. properties:
  328. accountid:
  329. description: 申请人账户ID
  330. type: integer
  331. applyid:
  332. description: 申请ID(181+Unix秒时间戳(10位)+xxxxxx)
  333. type: integer
  334. applyremark:
  335. description: 申请备注
  336. type: string
  337. applystatus:
  338. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  339. type: integer
  340. applytime:
  341. description: 申请时间
  342. type: string
  343. attachmenturl:
  344. description: 附件地址
  345. type: string
  346. endtime:
  347. description: 预售结束时间
  348. type: string
  349. goodscode:
  350. description: 商品代码
  351. type: string
  352. goodsid:
  353. description: 商品ID
  354. type: integer
  355. goodsname:
  356. description: 商品名称
  357. type: string
  358. goodunit:
  359. description: 报价单位
  360. type: string
  361. handlestatus:
  362. description: 处理状态
  363. type: integer
  364. marketid:
  365. description: 预售市场ID
  366. type: integer
  367. marketname:
  368. description: 预售市场名称
  369. type: string
  370. presaleqty:
  371. description: 预售数量
  372. type: integer
  373. relatedgoodscode:
  374. description: 关联交易合约代码
  375. type: string
  376. relatedgoodsid:
  377. description: 关联交易合约ID
  378. type: integer
  379. relatedgoodsname:
  380. description: 关联交易合约名称
  381. type: string
  382. starttime:
  383. description: 预售开始时间
  384. type: string
  385. tradedate:
  386. description: 交易日(yyyyMMdd)
  387. type: string
  388. trademode:
  389. description: 交易模式 - 16:挂牌点选 21:大宗竞拍
  390. type: integer
  391. userid:
  392. description: 申请人ID
  393. type: integer
  394. required:
  395. - applyid
  396. type: object
  397. cptrade.Cptradeusergoodsdata:
  398. properties:
  399. EnabledQty:
  400. description: 可用量
  401. type: integer
  402. GoodsCode:
  403. description: 订单商品代码
  404. type: string
  405. GoodsName:
  406. description: 订单商品名称
  407. type: string
  408. WRStandardCode:
  409. description: 仓单标准代码
  410. type: string
  411. WRStandardName:
  412. description: 仓单标准名称
  413. type: string
  414. accountid:
  415. description: 账户ID
  416. type: integer
  417. cancelqty:
  418. description: 注销量
  419. type: integer
  420. curpresaleqty:
  421. description: 当前预售量
  422. type: integer
  423. deliveryqty:
  424. description: 交割量
  425. type: integer
  426. freezeamount:
  427. description: 冻结金额
  428. type: number
  429. goodsid:
  430. description: 商品ID
  431. type: integer
  432. goodunit:
  433. description: 报价单位
  434. type: string
  435. hasspotfreeze:
  436. description: 是否有现货冻结 - 0:否 1:有
  437. type: integer
  438. inqty:
  439. description: 转入量(总数量)
  440. type: integer
  441. marketid:
  442. description: 市场ID
  443. type: integer
  444. presaledamount:
  445. description: 已预售总金额
  446. type: integer
  447. presaledqty:
  448. description: 已预售量
  449. type: integer
  450. userid:
  451. description: 用户ID
  452. type: integer
  453. wrstandardid:
  454. description: 仓单标准ID
  455. type: integer
  456. required:
  457. - accountid
  458. - goodsid
  459. type: object
  460. cptrade.QueryCPTradeMyBidRsp:
  461. properties:
  462. accountid:
  463. description: 账户ID[报价币种]
  464. type: integer
  465. goodsid:
  466. description: 商品ID
  467. type: integer
  468. goodunit:
  469. description: 报价单位
  470. type: string
  471. marketid:
  472. description: 市场ID
  473. type: integer
  474. orderid:
  475. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  476. type: integer
  477. orderprice:
  478. description: 委托价格
  479. type: number
  480. orderqty:
  481. description: 委托数量
  482. type: integer
  483. ordertime:
  484. description: 委托时间
  485. type: string
  486. ordertotalprice:
  487. description: 货款金额(委托总价格=委托价格*委托数量*合约单位)
  488. type: number
  489. ordertotalweight:
  490. description: 竞拍总重量(委托总重量=委托数量*合约单位)
  491. type: integer
  492. totaltotalprice:
  493. description: 成交货款金额(成交总价格=成交价格*成交数量*合约单位)
  494. type: number
  495. tradeprice:
  496. description: 成交价格
  497. type: number
  498. tradeqty:
  499. description: 成交数量
  500. type: integer
  501. required:
  502. - accountid
  503. - goodsid
  504. - marketid
  505. - orderid
  506. - orderqty
  507. - ordertime
  508. - tradeprice
  509. - tradeqty
  510. type: object
  511. cptrade.QueryCPTradeOrderDetailRsq:
  512. properties:
  513. accountid:
  514. description: 账户ID[报价币种]
  515. type: integer
  516. buildtype:
  517. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  518. type: integer
  519. buyorsell:
  520. description: 买卖 - 0:买 1:卖
  521. type: integer
  522. cancelorderid:
  523. description: 撤单单号(撤单时填写)
  524. type: integer
  525. cancelqty:
  526. description: 撤单数量
  527. type: integer
  528. clientordertime:
  529. description: 客户端委托时间
  530. type: string
  531. clientticket:
  532. description: 客户端流水号
  533. type: string
  534. clienttype:
  535. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  536. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  537. type: integer
  538. closeexchagechargevalue:
  539. description: 平仓交易所手续费设置值
  540. type: number
  541. closefeealgorithm:
  542. description: 平仓手续费收取方式 1:比率 2:固定
  543. type: integer
  544. closefreezecharge:
  545. description: 平仓冻结手续费(先建后平操作,需要记录)
  546. type: number
  547. closememberchargevalue:
  548. description: 平仓会员手续费设置值
  549. type: number
  550. closeqty:
  551. description: 平仓数量(先建后平操作 需要记录)
  552. type: integer
  553. closetradeqty:
  554. description: 平仓成交数量(先建后平操作,需要记录)
  555. type: integer
  556. closeunfreezecharge:
  557. description: 平仓解冻手续费(先建后平操作,需要记录)
  558. type: number
  559. delistingtype:
  560. description: 摘牌类型 - 1:价格最优 2:点选成交
  561. type: integer
  562. freezecharge:
  563. description: 冻结手续费
  564. type: number
  565. freezemargin:
  566. description: 冻结保证金(冻结交易金额)
  567. type: number
  568. gcaccountid:
  569. description: 账户ID[合约币种]
  570. type: integer
  571. goodsid:
  572. description: 商品ID
  573. type: integer
  574. isconfirmexercise:
  575. description: 是否确认行权- 0:否 1:是
  576. type: integer
  577. ispreexercise:
  578. description: 是否预申报- 0:否 1:是
  579. type: integer
  580. listingselecttype:
  581. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  582. type: integer
  583. marginalgorithm:
  584. description: 保证金收取方式 1:比率 2:固定
  585. type: integer
  586. marginvalue:
  587. description: 即市保证金设置值
  588. type: number
  589. marketid:
  590. description: 市场ID
  591. type: integer
  592. marketmaxsub:
  593. description: 市价最大偏移范围
  594. type: number
  595. memberuserid:
  596. description: 所属会员UserID
  597. type: integer
  598. openexchagechargevalue:
  599. description: 建仓交易所手续费设置值
  600. type: number
  601. openfeealgorithm:
  602. description: 建仓手续费收取方式 1:比率 2:固定
  603. type: integer
  604. openfreezecharge:
  605. description: 开仓冻结手续费(先建后平操作,需要记录)
  606. type: number
  607. openmemberchargevalue:
  608. description: 建仓会员手续费设置值
  609. type: number
  610. openqty:
  611. description: 开仓数量(先建后平操作,需要记录)
  612. type: integer
  613. opentradeqty:
  614. description: 开仓成交数量(先建后平操作,需要记录)
  615. type: integer
  616. openunfreezecharge:
  617. description: 开仓解冻手续费(先建后平操作,需要记录)
  618. type: number
  619. operatetype:
  620. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  621. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  622. 15:管理端协议转让
  623. type: integer
  624. operatorid:
  625. description: 登录账号(LoginID)
  626. type: integer
  627. optiontype:
  628. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  629. type: integer
  630. orderprice:
  631. description: 委托价格
  632. type: number
  633. orderqty:
  634. description: 委托数量
  635. type: integer
  636. ordersrc:
  637. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  638. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  639. type: integer
  640. orderstatus:
  641. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  642. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  643. 16:成交失败违约(荷兰式竞拍专用)
  644. type: integer
  645. ordertime:
  646. description: 委托时间
  647. type: string
  648. preexerciseprice:
  649. description: 预申报价格
  650. type: number
  651. premium:
  652. description: 权利金
  653. type: number
  654. preorderid:
  655. description: 关联预埋单号(止盈止损单时填写)
  656. type: integer
  657. pricemode:
  658. description: '取价方式 - 1:市价 2: 限价'
  659. type: integer
  660. quoteid:
  661. description: 报价单ID
  662. type: integer
  663. relatedid:
  664. description: 关联单号(交割单)
  665. type: integer
  666. retcode:
  667. description: 错误代码
  668. type: integer
  669. sessionid:
  670. description: 会话ID
  671. type: integer
  672. strorderid:
  673. description: 委托单号
  674. type: string
  675. tradedate:
  676. description: 交易日(yyyyMMdd)
  677. type: string
  678. tradeproperty:
  679. description: 交易属性
  680. type: integer
  681. tradeqty:
  682. description: 成交数量
  683. type: integer
  684. unfreezecharge:
  685. description: 解冻手续费
  686. type: number
  687. unfreezemargin:
  688. description: 解冻保证金
  689. type: number
  690. updatetime:
  691. description: 更新时间
  692. type: string
  693. uuid:
  694. description: 发起端唯一id
  695. type: string
  696. validtime:
  697. description: 有效期限
  698. type: string
  699. validtype:
  700. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  701. type: integer
  702. volumetype:
  703. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  704. type: integer
  705. required:
  706. - accountid
  707. - buildtype
  708. - buyorsell
  709. - goodsid
  710. - marketid
  711. - memberuserid
  712. - operatetype
  713. - orderqty
  714. - ordertime
  715. - pricemode
  716. - strorderid
  717. - tradedate
  718. - validtype
  719. type: object
  720. cptrade.QueryMyCPTradeGoodsRsp:
  721. properties:
  722. accountid:
  723. description: 卖方账户ID
  724. type: integer
  725. agreeunit:
  726. description: 合约单位
  727. type: number
  728. applyid:
  729. description: 关联申请ID
  730. type: integer
  731. attachmenturl:
  732. description: 附件地址
  733. type: string
  734. createtime:
  735. description: 创建时间
  736. type: string
  737. currencyid:
  738. description: 报价货币ID
  739. type: integer
  740. decimalplace:
  741. description: 报价小数位
  742. type: integer
  743. endtime:
  744. description: 预售结束时间
  745. type: string
  746. floorprice:
  747. description: 底价[大宗式竞拍]
  748. type: number
  749. goodscode:
  750. description: 商品代码(预售)
  751. type: string
  752. goodsdetail:
  753. description: 详情[大宗]
  754. type: string
  755. goodsid:
  756. description: 商品ID(自增ID SEQ_GOODS)
  757. type: integer
  758. goodsname:
  759. description: 商品名称(预售)
  760. type: string
  761. goodunit:
  762. description: 报价单位
  763. type: string
  764. goodunitid:
  765. description: 报价单位ID
  766. type: integer
  767. marketid:
  768. description: 所属市场ID
  769. type: integer
  770. marketname:
  771. description: 预售市场名称
  772. type: string
  773. presaledamount:
  774. description: 已预售总金额(预售结束时更新)
  775. type: number
  776. presaledqty:
  777. description: 已预售量(预售结束时更新)
  778. type: integer
  779. presalemode:
  780. description: 预售模式 - 1:一口价 2:大宗式竞拍
  781. type: integer
  782. presaleqty:
  783. description: 预售数量
  784. type: integer
  785. refprice:
  786. description: 参考价格[一口价]
  787. type: number
  788. relatedgoodscode:
  789. description: 商品代码(订单)
  790. type: string
  791. relatedgoodsid:
  792. description: 关联交易合约ID
  793. type: integer
  794. relatedgoodsname:
  795. description: 商品名称(订单)
  796. type: string
  797. relatedmarketid:
  798. description: 关联交易合约市场ID
  799. type: integer
  800. sellstatus:
  801. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  802. type: integer
  803. startprice:
  804. description: 起拍价[大宗式竞拍]
  805. type: number
  806. starttime:
  807. description: 预售开始时间
  808. type: string
  809. tradedate:
  810. description: 交易日(yyyyMMdd)
  811. type: string
  812. tradeprice:
  813. description: 成交价[大宗]
  814. type: number
  815. userid:
  816. description: 卖方用户ID
  817. type: integer
  818. required:
  819. - goodscode
  820. - goodsid
  821. - goodsname
  822. - marketid
  823. - relatedgoodscode
  824. - relatedgoodsname
  825. type: object
  826. cptrade.QueryPresaleGoodsExRsp:
  827. properties:
  828. attachmenturl:
  829. description: 附件地址
  830. type: string
  831. createtime:
  832. description: 创建时间
  833. type: string
  834. endtime:
  835. description: 预售结束时间
  836. type: string
  837. floorprice:
  838. description: 底价[大宗式竞拍]
  839. type: number
  840. goodsdetail:
  841. description: 详情[大宗]
  842. type: string
  843. goodsid:
  844. description: 商品ID(预售)
  845. type: integer
  846. goodunit:
  847. description: 报价单位
  848. type: string
  849. marketid:
  850. description: 预售市场ID - 根据预售模式选择市场
  851. type: integer
  852. presaledamount:
  853. description: 已预售总金额(预售结束时更新)
  854. type: number
  855. presaledqty:
  856. description: 已预售量(预售结束时更新)
  857. type: integer
  858. presalemode:
  859. description: 预售模式 - 1:一口价 2:大宗式竞拍
  860. type: integer
  861. presaleqty:
  862. description: 预售数量
  863. type: integer
  864. refprice:
  865. description: 参考价格[一口价]
  866. type: number
  867. relatedgoodsid:
  868. description: 关联交易合约ID
  869. type: integer
  870. relatedmarketid:
  871. description: 关联交易合约市场ID
  872. type: integer
  873. sellstatus:
  874. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  875. type: integer
  876. startprice:
  877. description: 起拍价[大宗式竞拍]
  878. type: number
  879. starttime:
  880. description: 预售开始时间
  881. type: string
  882. tradedate:
  883. description: 交易日(yyyyMMdd)
  884. type: string
  885. tradeprice:
  886. description: 成交价[大宗]
  887. type: number
  888. required:
  889. - goodsid
  890. type: object
  891. delivery.QueryDeliveryRelationRsp:
  892. properties:
  893. begindate:
  894. description: 起始日期(yyyyMMdd)
  895. type: string
  896. buytemplateid:
  897. description: 买履约计划模板ID
  898. type: integer
  899. deliverygoodscode:
  900. description: 品种代码
  901. type: string
  902. deliverygoodsid:
  903. description: 交割商品
  904. type: integer
  905. deliverygoodsname:
  906. description: 品种名称
  907. type: string
  908. deliverymode:
  909. description: 交割方式 - 1:点选式 2:申报式
  910. type: integer
  911. deliverypricerule:
  912. description: 交割价规则- 1:行情价 2:建仓价
  913. type: integer
  914. deliverytype:
  915. description: 交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割
  916. type: integer
  917. enddate:
  918. description: 结束日期(yyyyMMdd)
  919. type: string
  920. enumdicname:
  921. description: 品类单位名称
  922. type: string
  923. goodscode:
  924. description: 商品代码
  925. type: string
  926. goodsid:
  927. description: 交易合约ID
  928. type: integer
  929. goodsname:
  930. description: 商品名称
  931. type: string
  932. marketid:
  933. description: 市场ID
  934. type: integer
  935. mindeliveryqty:
  936. description: 最小交割系数(K)
  937. type: integer
  938. p2deliveryprice:
  939. description: P2合约价格(商品价时填写0,固定值时填写固定值)
  940. type: number
  941. p2deliveryratio:
  942. description: P2合约系数(p)
  943. type: integer
  944. p2goodsid:
  945. description: P2合约ID
  946. type: integer
  947. p2pricemode:
  948. description: P2合约价格方式 - 1:商品价 2:固定值
  949. type: integer
  950. pdeliveryprice:
  951. description: P合约价格(商品价时填写0,固定值时填写固定值)
  952. type: number
  953. pdeliveryratio:
  954. description: P合约系数(n)
  955. type: integer
  956. pgoodscode:
  957. description: p合约代码
  958. type: string
  959. pgoodsid:
  960. description: P合约ID
  961. type: integer
  962. ppricemode:
  963. description: P合约价格方式 - 1:商品价 2:固定值
  964. type: integer
  965. rratio:
  966. description: 兑换系数(R)
  967. type: integer
  968. rratio1:
  969. description: 兑换系数(交易合约)(R1)
  970. type: integer
  971. rratio2:
  972. description: 兑换系数(仓单标准)(R2)
  973. type: integer
  974. selltemplateid:
  975. description: 卖履约计划模板ID
  976. type: integer
  977. wrstandardid:
  978. description: 仓单标准ID
  979. type: integer
  980. xdeliveryratio:
  981. description: 交易合约系数(m)
  982. type: integer
  983. required:
  984. - begindate
  985. - enddate
  986. - goodsid
  987. - mindeliveryqty
  988. - xdeliveryratio
  989. type: object
  990. ermcp.ExposureDetailRsp:
  991. properties:
  992. areauserid:
  993. description: 机构ID
  994. type: integer
  995. changeQty:
  996. description: 套保变动量
  997. type: number
  998. contracttype:
  999. description: 现货合同类型 - 1:采购 -1:销售
  1000. type: integer
  1001. convertfactor:
  1002. description: 标仓系数
  1003. type: number
  1004. convertratio:
  1005. description: 套保系数
  1006. type: number
  1007. createtime:
  1008. description: 时间
  1009. type: string
  1010. enumdicname:
  1011. description: 现货商品单位名称
  1012. type: string
  1013. logtype:
  1014. description: 类型 - 1:套保计划 2:现货合同
  1015. type: integer
  1016. middlegoodsId:
  1017. description: 套保商品id
  1018. type: integer
  1019. middlegoodscode:
  1020. description: 套保商品代码
  1021. type: string
  1022. middlegoodsname:
  1023. description: 套保商品名称
  1024. type: string
  1025. qty:
  1026. description: 数量
  1027. type: number
  1028. relateNo:
  1029. description: 现货合同/套保计划编号
  1030. type: string
  1031. wrstandardcode:
  1032. description: 现货商品代码
  1033. type: string
  1034. wrstandardid:
  1035. description: 现货商品ID
  1036. type: integer
  1037. wrstandardname:
  1038. description: 现货商品名称
  1039. type: string
  1040. type: object
  1041. ermcp.ExposureHedgePosDetailRsp:
  1042. properties:
  1043. buyorsell:
  1044. description: 买卖方向 0-买 1-卖
  1045. type: integer
  1046. channelbuildtype:
  1047. description: 开平方向 1-建仓 2-平仓
  1048. type: integer
  1049. goodscode:
  1050. description: 商品代码
  1051. type: string
  1052. goodsname:
  1053. description: 商品名称
  1054. type: string
  1055. hedgegoodsid:
  1056. description: 商品id
  1057. type: integer
  1058. tradeqty:
  1059. description: 数量(成交数量)
  1060. type: integer
  1061. tradetime:
  1062. description: 时间(成交时间)
  1063. type: string
  1064. type: object
  1065. ermcp.ExposureHedgePositionRsp:
  1066. properties:
  1067. accountid:
  1068. description: 资金账号[外部母账户]
  1069. type: integer
  1070. curbuyposition:
  1071. description: 期末买头寸
  1072. type: integer
  1073. cursellposition:
  1074. description: 期末卖头寸
  1075. type: integer
  1076. curtdbuyposition:
  1077. description: 期末今日买头寸
  1078. type: integer
  1079. curtdsellposition:
  1080. description: 期末今日卖头寸
  1081. type: integer
  1082. curydbuyposition:
  1083. description: 期末上日买头寸
  1084. type: integer
  1085. curydsellposition:
  1086. description: 期末上日卖头寸
  1087. type: integer
  1088. decreaseqty:
  1089. description: 减少数量 = (期末卖头寸 - 期初卖头寸)*-1
  1090. type: integer
  1091. fretdbuyposition:
  1092. description: 冻结今日买头寸
  1093. type: integer
  1094. fretdsellposition:
  1095. description: 冻结今日卖头寸
  1096. type: integer
  1097. freydbuyposition:
  1098. description: 冻结上日买头寸
  1099. type: integer
  1100. freydsellposition:
  1101. description: 冻结上日卖头寸
  1102. type: integer
  1103. goodscode:
  1104. description: 商品代码
  1105. type: string
  1106. goodsid:
  1107. description: 商品id
  1108. type: integer
  1109. goodsname:
  1110. description: 商品名称
  1111. type: string
  1112. hedgeaccountcode:
  1113. description: 对冲账号
  1114. type: string
  1115. hedgegoodsid:
  1116. description: 对冲合约ID
  1117. type: integer
  1118. increaseqty:
  1119. description: 增加数量 = 期末买头寸 - 期初买头寸
  1120. type: integer
  1121. marketid:
  1122. description: 市场ID
  1123. type: integer
  1124. relateduserid:
  1125. description: 关联用户id
  1126. type: integer
  1127. totalcurqty:
  1128. description: 当前数量(净头寸) = 期末买头寸 - 期末卖头寸
  1129. type: integer
  1130. totalydqty:
  1131. description: 昨日数量(净头寸) = 期初买头寸 - 期初卖头寸
  1132. type: integer
  1133. tradedate:
  1134. description: 交易日(yyyyMMdd)
  1135. type: string
  1136. ydbuyposition:
  1137. description: 期初买头寸
  1138. type: integer
  1139. ydsellposition:
  1140. description: 期初卖头寸
  1141. type: integer
  1142. type: object
  1143. ermcp.ExposureSpotDetailRsp:
  1144. properties:
  1145. contracttype:
  1146. description: 合同类型 1-采购 -1-销售
  1147. type: integer
  1148. createtime:
  1149. description: 创建时间
  1150. type: string
  1151. enumdicname:
  1152. description: 现货商品单位名称
  1153. type: string
  1154. logtype:
  1155. description: 记录类型 1-套保 2-现货合同
  1156. type: integer
  1157. qty:
  1158. description: 数量
  1159. type: number
  1160. recordname:
  1161. description: 类型名称
  1162. type: string
  1163. relatedid:
  1164. description: 套保计划ID/现货合同ID
  1165. type: string
  1166. relatedno:
  1167. description: 编号
  1168. type: string
  1169. strtime:
  1170. description: 时间
  1171. type: string
  1172. wrstandardcode:
  1173. description: 现货商品代码
  1174. type: string
  1175. wrstandardname:
  1176. description: 现货商品名称
  1177. type: string
  1178. type: object
  1179. ermcp.ExposureSpotRsp:
  1180. properties:
  1181. areauserid:
  1182. description: 所属机构
  1183. type: integer
  1184. decreaseqty:
  1185. description: 减少数量=-(销售已定价数量+采购计划数量)
  1186. type: number
  1187. increaseqty:
  1188. description: 增加数量=销售计划数量+采购已定价数量
  1189. type: number
  1190. oritoalspotqty:
  1191. description: 昨日数量
  1192. type: number
  1193. totalspotqty:
  1194. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  1195. type: number
  1196. updatetime:
  1197. description: 更新时间
  1198. type: string
  1199. wrstandardcode:
  1200. description: 现货品种代码
  1201. type: string
  1202. wrstandardid:
  1203. description: 现货商品ID
  1204. type: integer
  1205. wrstandardname:
  1206. description: 现货品种
  1207. type: string
  1208. type: object
  1209. ermcp.HisExposureRsp:
  1210. properties:
  1211. data:
  1212. description: 历史敞口
  1213. items:
  1214. $ref: '#/definitions/models.ErmcpHisExposure'
  1215. type: array
  1216. enumdicname:
  1217. description: 单位名称
  1218. type: string
  1219. middlegoodscode:
  1220. description: 套保品种代码
  1221. type: string
  1222. middlegoodsid:
  1223. description: 套保品种ID
  1224. type: integer
  1225. middlegoodsname:
  1226. description: 套保品种名称
  1227. type: string
  1228. type: object
  1229. ermcp.PendingAuditCntRsp:
  1230. properties:
  1231. areastockqty:
  1232. description: '待审核数量: 库存申请'
  1233. type: integer
  1234. businessdjqty:
  1235. description: '待审核数量: 点价'
  1236. type: integer
  1237. businessfpqty:
  1238. description: '待审核数量: 发票'
  1239. type: integer
  1240. businessjsqty:
  1241. description: '待审核数量: 结算'
  1242. type: integer
  1243. businesskxqty:
  1244. description: '待审核数量: 款项'
  1245. type: integer
  1246. hedgeplanqty:
  1247. description: '待审核数量: 套保计划'
  1248. type: integer
  1249. spotcontractqty:
  1250. description: '待审核数量: 现货合同'
  1251. type: integer
  1252. userqty:
  1253. description: '待审核数量: 用户'
  1254. type: integer
  1255. type: object
  1256. ermcp.QryAvalidGPRsp:
  1257. properties:
  1258. goodsgroupid:
  1259. description: 期货品种id
  1260. type: integer
  1261. goodsgroupname:
  1262. description: 期货品种名称
  1263. type: string
  1264. goodunitid:
  1265. description: 品种单位id
  1266. type: integer
  1267. goodunitname:
  1268. description: 品种单位名称
  1269. type: string
  1270. outergroupcode:
  1271. description: 期货品种代码
  1272. type: string
  1273. type: object
  1274. ermcp.QryBusinessDjRsp:
  1275. properties:
  1276. amount:
  1277. description: 期初均价
  1278. type: number
  1279. applyid:
  1280. description: 申请人
  1281. type: string
  1282. applyname:
  1283. description: 申请人名称
  1284. type: string
  1285. applystatus:
  1286. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1287. type: integer
  1288. applytime:
  1289. description: 申请时间
  1290. type: string
  1291. attachurl:
  1292. description: 附件
  1293. type: string
  1294. auditid:
  1295. description: 审核人ID
  1296. type: string
  1297. auditname:
  1298. description: 审核人名称
  1299. type: string
  1300. auditremark:
  1301. description: 审核备注
  1302. type: string
  1303. audittime:
  1304. description: 审核时间
  1305. type: string
  1306. buyusername:
  1307. description: 采购方名称
  1308. type: string
  1309. contractno:
  1310. description: 合同编号
  1311. type: string
  1312. contractstatus:
  1313. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1314. type: integer
  1315. contracttype:
  1316. description: 现货合同类型 - 1:采购 -1:销售
  1317. type: integer
  1318. deliverygoodscode:
  1319. description: 现货品种代码
  1320. type: string
  1321. deliverygoodsid:
  1322. description: 现货商品ID
  1323. type: integer
  1324. deliverygoodsname:
  1325. description: 现货品种名称
  1326. type: string
  1327. enumdicname:
  1328. description: 单位名称
  1329. type: string
  1330. goodscode:
  1331. description: 点价合约
  1332. type: string
  1333. goodsname:
  1334. description: 商品名称
  1335. type: string
  1336. operateapplyid:
  1337. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1338. type: string
  1339. operateapplytype:
  1340. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1341. type: integer
  1342. pricedPrice:
  1343. description: 点价价格(非必填)
  1344. type: number
  1345. pricedQty:
  1346. description: 点价数量(非必填)
  1347. type: number
  1348. pricemove:
  1349. description: 升贴水
  1350. type: number
  1351. pricetype:
  1352. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1353. type: integer
  1354. relatedid:
  1355. description: 现货合同ID
  1356. type: string
  1357. sellusername:
  1358. description: 销售方名字
  1359. type: string
  1360. userid:
  1361. description: 用户ID
  1362. type: integer
  1363. wrstandardcode:
  1364. description: 品类代码
  1365. type: string
  1366. wrstandardid:
  1367. description: 品类id
  1368. type: integer
  1369. wrstandardname:
  1370. description: 品类名称
  1371. type: string
  1372. type: object
  1373. ermcp.QryBussinessFpRsp:
  1374. properties:
  1375. applyid:
  1376. description: 申请人
  1377. type: string
  1378. applyname:
  1379. description: 申请人名称
  1380. type: string
  1381. applystatus:
  1382. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1383. type: integer
  1384. applytime:
  1385. description: 申请时间
  1386. type: string
  1387. attachurl:
  1388. description: 附件
  1389. type: string
  1390. auditid:
  1391. description: 审核人ID
  1392. type: string
  1393. auditname:
  1394. description: 审核人名称
  1395. type: string
  1396. auditremark:
  1397. description: 审核备注
  1398. type: string
  1399. audittime:
  1400. description: 审核时间
  1401. type: string
  1402. buyusername:
  1403. description: 采购方名称
  1404. type: string
  1405. contractno:
  1406. description: 合同编号
  1407. type: string
  1408. contractstatus:
  1409. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1410. type: integer
  1411. contracttype:
  1412. description: 现货合同类型 - 1:采购 -1:销售
  1413. type: integer
  1414. deliverygoodscode:
  1415. description: 现货品种代码
  1416. type: string
  1417. deliverygoodsid:
  1418. description: 现货商品ID
  1419. type: integer
  1420. deliverygoodsname:
  1421. description: 现货品种名称
  1422. type: string
  1423. enumdicname:
  1424. description: 单位名称
  1425. type: string
  1426. goodscode:
  1427. description: 点价合约
  1428. type: string
  1429. goodsname:
  1430. description: 商品名称
  1431. type: string
  1432. invoiceamount:
  1433. description: 已开收票金额(销售为开票,采购为收票)
  1434. type: number
  1435. operateapplyid:
  1436. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1437. type: string
  1438. operateapplytype:
  1439. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1440. type: integer
  1441. pricemove:
  1442. description: 升贴水
  1443. type: number
  1444. pricetype:
  1445. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1446. type: integer
  1447. relatedid:
  1448. description: 现货合同ID
  1449. type: string
  1450. sellusername:
  1451. description: 销售方名字
  1452. type: string
  1453. userid:
  1454. description: 用户ID
  1455. type: integer
  1456. wrstandardcode:
  1457. description: 品类代码
  1458. type: string
  1459. wrstandardid:
  1460. description: 品类id
  1461. type: integer
  1462. wrstandardname:
  1463. description: 品类名称
  1464. type: string
  1465. type: object
  1466. ermcp.QryBussinessJsExRsp:
  1467. properties:
  1468. applyid:
  1469. description: 申请人
  1470. type: string
  1471. applyname:
  1472. description: 申请人名称
  1473. type: string
  1474. applystatus:
  1475. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1476. type: integer
  1477. applytime:
  1478. description: 申请时间
  1479. type: string
  1480. attachurl:
  1481. description: 附件
  1482. type: string
  1483. auditid:
  1484. description: 审核人ID
  1485. type: string
  1486. auditname:
  1487. description: 审核人名称
  1488. type: string
  1489. auditremark:
  1490. description: 审核备注
  1491. type: string
  1492. audittime:
  1493. description: 审核时间
  1494. type: string
  1495. buyusername:
  1496. description: 采购方名称
  1497. type: string
  1498. contractno:
  1499. description: 合同编号
  1500. type: string
  1501. contractstatus:
  1502. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1503. type: integer
  1504. contracttype:
  1505. description: 现货合同类型 - 1:采购 -1:销售
  1506. type: integer
  1507. deliverygoodscode:
  1508. description: 现货品种代码
  1509. type: string
  1510. deliverygoodsid:
  1511. description: 现货商品ID
  1512. type: integer
  1513. deliverygoodsname:
  1514. description: 现货品种名称
  1515. type: string
  1516. enumdicname:
  1517. description: 单位名称
  1518. type: string
  1519. goodscode:
  1520. description: 点价合约
  1521. type: string
  1522. goodsname:
  1523. description: 商品名称
  1524. type: string
  1525. operateapplyid:
  1526. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1527. type: string
  1528. operateapplytype:
  1529. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1530. type: integer
  1531. pricemove:
  1532. description: 升贴水
  1533. type: number
  1534. pricetype:
  1535. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1536. type: integer
  1537. reckontype:
  1538. description: 结算类型
  1539. type: string
  1540. reckonvalue:
  1541. description: 值
  1542. type: number
  1543. relatedid:
  1544. description: 现货合同ID
  1545. type: string
  1546. sellusername:
  1547. description: 销售方名字
  1548. type: string
  1549. userid:
  1550. description: 用户ID
  1551. type: integer
  1552. wrstandardcode:
  1553. description: 品类代码
  1554. type: string
  1555. wrstandardid:
  1556. description: 品类id
  1557. type: integer
  1558. wrstandardname:
  1559. description: 品类名称
  1560. type: string
  1561. type: object
  1562. ermcp.QryBussinessJsRsp:
  1563. properties:
  1564. addmargin:
  1565. description: 追加保证金(非必填)
  1566. type: number
  1567. applyid:
  1568. description: 申请人
  1569. type: string
  1570. applyname:
  1571. description: 申请人名称
  1572. type: string
  1573. applystatus:
  1574. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1575. type: integer
  1576. applytime:
  1577. description: 申请时间
  1578. type: string
  1579. attachurl:
  1580. description: 附件
  1581. type: string
  1582. auditid:
  1583. description: 审核人ID
  1584. type: string
  1585. auditname:
  1586. description: 审核人名称
  1587. type: string
  1588. auditremark:
  1589. description: 审核备注
  1590. type: string
  1591. audittime:
  1592. description: 审核时间
  1593. type: string
  1594. buyusername:
  1595. description: 采购方名称
  1596. type: string
  1597. contractno:
  1598. description: 合同编号
  1599. type: string
  1600. contractstatus:
  1601. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1602. type: integer
  1603. contracttype:
  1604. description: 现货合同类型 - 1:采购 -1:销售
  1605. type: integer
  1606. decmargin:
  1607. description: 减少保证金(非必填)
  1608. type: number
  1609. deliverygoodscode:
  1610. description: 现货品种代码
  1611. type: string
  1612. deliverygoodsid:
  1613. description: 现货商品ID
  1614. type: integer
  1615. deliverygoodsname:
  1616. description: 现货品种名称
  1617. type: string
  1618. enumdicname:
  1619. description: 单位名称
  1620. type: string
  1621. goodscode:
  1622. description: 点价合约
  1623. type: string
  1624. goodsname:
  1625. description: 商品名称
  1626. type: string
  1627. operateapplyid:
  1628. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1629. type: string
  1630. operateapplytype:
  1631. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1632. type: integer
  1633. pricemove:
  1634. description: 升贴水
  1635. type: number
  1636. pricetype:
  1637. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1638. type: integer
  1639. reckonadjustamount:
  1640. description: 结算调整金额(非必填)
  1641. type: number
  1642. reckonosamount:
  1643. description: 结算溢短金额(非必填)
  1644. type: number
  1645. reckonotheramount:
  1646. description: 结算其他费用(非必填)
  1647. type: number
  1648. reckonrealqty:
  1649. description: 结算实际数量(非必填)
  1650. type: number
  1651. relatedid:
  1652. description: 现货合同ID
  1653. type: string
  1654. sellusername:
  1655. description: 销售方名字
  1656. type: string
  1657. userid:
  1658. description: 用户ID
  1659. type: integer
  1660. wrstandardcode:
  1661. description: 品类代码
  1662. type: string
  1663. wrstandardid:
  1664. description: 品类id
  1665. type: integer
  1666. wrstandardname:
  1667. description: 品类名称
  1668. type: string
  1669. type: object
  1670. ermcp.QryBussinessKxRsp:
  1671. properties:
  1672. applyid:
  1673. description: 申请人
  1674. type: string
  1675. applyname:
  1676. description: 申请人名称
  1677. type: string
  1678. applystatus:
  1679. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1680. type: integer
  1681. applytime:
  1682. description: 申请时间
  1683. type: string
  1684. attachurl:
  1685. description: 附件
  1686. type: string
  1687. auditid:
  1688. description: 审核人ID
  1689. type: string
  1690. auditname:
  1691. description: 审核人名称
  1692. type: string
  1693. auditremark:
  1694. description: 审核备注
  1695. type: string
  1696. audittime:
  1697. description: 审核时间
  1698. type: string
  1699. buyusername:
  1700. description: 采购方名称
  1701. type: string
  1702. contractno:
  1703. description: 合同编号
  1704. type: string
  1705. contractstatus:
  1706. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1707. type: integer
  1708. contracttype:
  1709. description: 现货合同类型 - 1:采购 -1:销售
  1710. type: integer
  1711. deductamount:
  1712. description: 期初均价
  1713. type: number
  1714. deliverygoodscode:
  1715. description: 现货品种代码
  1716. type: string
  1717. deliverygoodsid:
  1718. description: 现货商品ID
  1719. type: integer
  1720. deliverygoodsname:
  1721. description: 现货品种名称
  1722. type: string
  1723. enumdicname:
  1724. description: 单位名称
  1725. type: string
  1726. goodscode:
  1727. description: 点价合约
  1728. type: string
  1729. goodsname:
  1730. description: 商品名称
  1731. type: string
  1732. kxtype:
  1733. description: 款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)
  1734. type: integer
  1735. operateapplyid:
  1736. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1737. type: string
  1738. operateapplytype:
  1739. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1740. type: integer
  1741. payamount:
  1742. description: 期初均价
  1743. type: number
  1744. pricemove:
  1745. description: 升贴水
  1746. type: number
  1747. pricetype:
  1748. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1749. type: integer
  1750. relatedid:
  1751. description: 现货合同ID
  1752. type: string
  1753. sellusername:
  1754. description: 销售方名字
  1755. type: string
  1756. userid:
  1757. description: 用户ID
  1758. type: integer
  1759. wrstandardcode:
  1760. description: 品类代码
  1761. type: string
  1762. wrstandardid:
  1763. description: 品类id
  1764. type: integer
  1765. wrstandardname:
  1766. description: 品类名称
  1767. type: string
  1768. type: object
  1769. ermcp.QryGGCovertCfgRsp:
  1770. properties:
  1771. convertratio:
  1772. description: 折算系数
  1773. type: number
  1774. destgoodsgroupid:
  1775. description: 目标品种ID
  1776. type: integer
  1777. dstcode:
  1778. description: 目录品种代码
  1779. type: string
  1780. dstexchangecode:
  1781. description: 目标期货交易所
  1782. type: string
  1783. dstname:
  1784. description: 目标品种名称
  1785. type: string
  1786. dstunitid:
  1787. description: 目标品种单位ID
  1788. type: integer
  1789. dstunitidname:
  1790. description: 目标品种单位名称
  1791. type: string
  1792. modifytime:
  1793. description: 修改时间
  1794. type: string
  1795. srccode:
  1796. description: 源品种代码
  1797. type: string
  1798. srcexchangecode:
  1799. description: 源期货交易所
  1800. type: string
  1801. srcgoodsgroupid:
  1802. description: 源品种ID
  1803. type: integer
  1804. srcname:
  1805. description: 源品种名称
  1806. type: string
  1807. srcunitid:
  1808. description: 源品种单位ID
  1809. type: integer
  1810. srcunitidname:
  1811. description: 源品种单位名称
  1812. type: string
  1813. type: object
  1814. ermcp.QryMGChangeLogRsp:
  1815. properties:
  1816. aftervalue:
  1817. description: 变更后
  1818. type: number
  1819. applyid:
  1820. description: 操作人
  1821. type: integer
  1822. applyname:
  1823. description: 操作人名称
  1824. type: string
  1825. applysrc:
  1826. description: 操作来源 - 1:管理端 2:终端
  1827. type: integer
  1828. beforevalue:
  1829. description: 变更前
  1830. type: number
  1831. changelogtype:
  1832. description: 变更流水类型 - 1:套保比率变更
  1833. type: integer
  1834. handlestatus:
  1835. description: 处理状态
  1836. type: integer
  1837. logdatetime:
  1838. description: 流水日期
  1839. type: string
  1840. logid:
  1841. description: 流水ID
  1842. type: integer
  1843. logremark:
  1844. description: 流水备注
  1845. type: string
  1846. middlegoodsid:
  1847. description: 套保品种ID
  1848. type: integer
  1849. tradedate:
  1850. description: 交易日(yyyyMMdd)
  1851. type: string
  1852. updatetime:
  1853. description: 更新时间
  1854. type: string
  1855. type: object
  1856. ermcp.QryMiddleGoodsDetailRsp:
  1857. properties:
  1858. cvList:
  1859. description: 期货品种折算列表
  1860. items:
  1861. $ref: '#/definitions/models.ErmcpGGConvertCfg'
  1862. type: array
  1863. mg:
  1864. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  1865. description: 套保品种基本信息
  1866. wrcList:
  1867. description: 现货品种列表(现货商品折算配置)
  1868. items:
  1869. $ref: '#/definitions/models.WRSConverTDetail'
  1870. type: array
  1871. type: object
  1872. ermcp.QryMiddleGoodsRsp:
  1873. properties:
  1874. areauserid:
  1875. description: 机构用户ID
  1876. type: integer
  1877. createtime:
  1878. description: 修改时间
  1879. type: string
  1880. enumdicname:
  1881. description: 单位名称
  1882. type: string
  1883. evaluateratio:
  1884. description: 估价系数
  1885. type: number
  1886. goodsgroupid:
  1887. description: 关联期货品种ID
  1888. type: integer
  1889. goodsunitid:
  1890. description: 单位ID
  1891. type: integer
  1892. isvalid:
  1893. description: 状态 0-无效(停用) 1-有效(正常)
  1894. type: integer
  1895. middlegoodscode:
  1896. description: 套保品种代码
  1897. type: string
  1898. middlegoodsid:
  1899. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  1900. type: integer
  1901. middlegoodsname:
  1902. description: 套保品种名称
  1903. type: string
  1904. modifytime:
  1905. description: 修改时间
  1906. type: string
  1907. needarbitrageratio:
  1908. description: 套利比例
  1909. type: number
  1910. needhedgeratio:
  1911. description: 套保比率
  1912. type: number
  1913. qtydecimalplace:
  1914. description: 数量小数位
  1915. type: integer
  1916. relatedgoodsid:
  1917. description: 关联交易商品ID
  1918. type: integer
  1919. relatedgoodstype:
  1920. description: 关联商品类型 - 1:期货合约 2:现货品种
  1921. type: integer
  1922. remark:
  1923. description: 备注
  1924. type: string
  1925. type: object
  1926. ermcp.QryOPLogRsp:
  1927. properties:
  1928. aftervalue:
  1929. description: 变更后
  1930. type: number
  1931. applyid:
  1932. description: 操作人ID
  1933. type: string
  1934. applyname:
  1935. description: 操作人名称
  1936. type: string
  1937. beforevalue:
  1938. description: 变更前
  1939. type: number
  1940. biztype:
  1941. description: 业务类型 - 1:套保计划 2:现货合同
  1942. type: integer
  1943. contracttype:
  1944. description: 现货合同类型 - 1:采购 -1:销售
  1945. type: integer
  1946. logvalue:
  1947. description: 数值
  1948. type: number
  1949. operatelogtype:
  1950. description: 操作流水类型
  1951. type: integer
  1952. operatelogtypedesc:
  1953. description: 操作流水类型名称
  1954. type: string
  1955. relatedid:
  1956. description: 现货合同ID\套保计划
  1957. type: string
  1958. updatetime:
  1959. description: 更新时间
  1960. type: string
  1961. type: object
  1962. ermcp.QryUserInfoRsp:
  1963. properties:
  1964. address:
  1965. description: 通讯地址
  1966. type: string
  1967. attachment1:
  1968. description: 附件1
  1969. type: string
  1970. audittime:
  1971. description: 审核时间
  1972. type: string
  1973. cardbackphotourl:
  1974. description: 证件反面图片地址
  1975. type: string
  1976. cardfrontphotourl:
  1977. description: 证件正面图片地址
  1978. type: string
  1979. cardnum:
  1980. description: 证件号码
  1981. type: string
  1982. cardtype:
  1983. description: 证件类型
  1984. type: integer
  1985. cardtypename:
  1986. description: 证件类型名称
  1987. type: string
  1988. cityid:
  1989. description: 市
  1990. type: integer
  1991. contactname:
  1992. description: 联系人
  1993. type: string
  1994. countryid:
  1995. description: 国家
  1996. type: integer
  1997. createtime:
  1998. description: 创建时间
  1999. type: string
  2000. customername:
  2001. description: 企业名称
  2002. type: string
  2003. districtid:
  2004. description: 区域
  2005. type: integer
  2006. email:
  2007. description: 邮件
  2008. type: string
  2009. legalpersonname:
  2010. description: 法人姓名(企业)
  2011. type: string
  2012. memberuserid:
  2013. description: 所属机构ID
  2014. type: integer
  2015. mobile:
  2016. description: 手机号码
  2017. type: string
  2018. modifytime:
  2019. description: 修改时间
  2020. type: string
  2021. nickname:
  2022. description: 昵称
  2023. type: string
  2024. provinceid:
  2025. description: 省
  2026. type: integer
  2027. remark:
  2028. description: 备注
  2029. type: string
  2030. status:
  2031. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  2032. type: integer
  2033. statusdesc:
  2034. description: 账户状态中文描述
  2035. type: string
  2036. taxpayernum:
  2037. description: 纳税人识别号
  2038. type: string
  2039. telphone:
  2040. description: 联系电话
  2041. type: string
  2042. userid:
  2043. description: 用户ID
  2044. type: integer
  2045. userinfotype:
  2046. description: 客户类型
  2047. type: string
  2048. type: object
  2049. ermcp.QryWarehouseRsp:
  2050. properties:
  2051. address:
  2052. description: 详细地址
  2053. type: string
  2054. areauserid:
  2055. description: 所属机构
  2056. type: integer
  2057. autoid:
  2058. description: 自增ID(仓库ID)
  2059. type: integer
  2060. cityid:
  2061. description: 市
  2062. type: integer
  2063. contactname:
  2064. description: 联系人
  2065. type: string
  2066. contactnum:
  2067. description: 联系电话
  2068. type: string
  2069. countryid:
  2070. description: 国家
  2071. type: integer
  2072. createtime:
  2073. description: 创建时间
  2074. type: string
  2075. districtid:
  2076. description: 区
  2077. type: integer
  2078. hasvideo:
  2079. description: 是否有视频 - 0:无 1:有
  2080. type: integer
  2081. provinceid:
  2082. description: 省
  2083. type: integer
  2084. remark:
  2085. description: 审核备注
  2086. type: string
  2087. videourl:
  2088. description: 视频地址
  2089. type: string
  2090. warehousecode:
  2091. description: 仓库代码
  2092. type: string
  2093. warehousename:
  2094. description: 仓库名称
  2095. type: string
  2096. warehousestatus:
  2097. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  2098. type: integer
  2099. warehousetype:
  2100. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  2101. type: integer
  2102. type: object
  2103. ermcp.QueryErmcpTradePositionRsp:
  2104. properties:
  2105. agreeunit:
  2106. description: 合约单位
  2107. type: number
  2108. buyorsell:
  2109. description: 方向 - 0:买 1:卖
  2110. type: integer
  2111. curpositionqty:
  2112. description: 持仓(总仓数量, 期末头寸)
  2113. type: integer
  2114. curtdposition:
  2115. description: 今仓数量(期末今日头寸)
  2116. type: integer
  2117. curtdpositionenabled:
  2118. description: 今仓可用
  2119. type: integer
  2120. decimalplace:
  2121. description: 报价小数位
  2122. type: integer
  2123. enableqty:
  2124. description: 可用(总仓可用)
  2125. type: integer
  2126. exexchangename:
  2127. description: 外部交易所名称
  2128. type: string
  2129. exexehangecode:
  2130. description: 外部交易所代码
  2131. type: string
  2132. exexehangeid:
  2133. description: 外部交易所id
  2134. type: integer
  2135. goodscode:
  2136. description: 商品代码(内部)
  2137. type: string
  2138. goodsid:
  2139. description: 商品ID(自增ID SEQ_GOODS)
  2140. type: integer
  2141. goodsname:
  2142. description: 商品名称
  2143. type: string
  2144. last:
  2145. description: 现价
  2146. type: number
  2147. marketid:
  2148. description: 所属市场ID
  2149. type: integer
  2150. openaverageprice:
  2151. description: 开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位
  2152. type: number
  2153. opencost:
  2154. description: 开仓成本
  2155. type: number
  2156. openpl:
  2157. description: 逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向
  2158. = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位
  2159. type: number
  2160. outgoodscode:
  2161. description: 商品代码(外部)
  2162. type: string
  2163. positionaverageprice:
  2164. description: 持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位
  2165. type: number
  2166. positioncost:
  2167. description: 持仓成本
  2168. type: number
  2169. positionpl:
  2170. description: 盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向
  2171. = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位
  2172. type: number
  2173. positionplrate:
  2174. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  2175. type: number
  2176. usedmargin:
  2177. description: 占用保证金
  2178. type: number
  2179. type: object
  2180. ermcp.RealtimeExposurePositionRsp:
  2181. properties:
  2182. agreeunit:
  2183. description: 合约单位
  2184. type: string
  2185. areauserid:
  2186. description: 所属机构id
  2187. type: integer
  2188. convertratio:
  2189. description: 期货品种系数(折算系数)
  2190. type: number
  2191. curhedgeqty:
  2192. description: 期货套期量 = 当前持仓*期货合约单位*期货品种系数
  2193. type: number
  2194. curqty:
  2195. description: 当前持仓
  2196. type: integer
  2197. diffhedgeqty:
  2198. description: 套保品种变动量=持仓变动量*期货合约单位*期货品种系数
  2199. type: number
  2200. diffqty:
  2201. description: 持仓变动量=当前持仓-昨日持仓
  2202. type: integer
  2203. goodscode:
  2204. description: 商品代码
  2205. type: string
  2206. goodsid:
  2207. description: 商品id
  2208. type: integer
  2209. goodsname:
  2210. description: 商品名称
  2211. type: string
  2212. hedgeaccountcode:
  2213. description: 对冲账号(只有外部账号才有值)
  2214. type: string
  2215. middlegoodscode:
  2216. description: 套保商品代码
  2217. type: string
  2218. middlegoodsid:
  2219. description: 套保商品id
  2220. type: integer
  2221. middlegoodsname:
  2222. description: 套保商品名称
  2223. type: string
  2224. ydqty:
  2225. description: 昨日持仓
  2226. type: integer
  2227. type: object
  2228. ermcp.RealtimeExposureRsp:
  2229. properties:
  2230. AreaUserID:
  2231. description: 所属机构
  2232. type: integer
  2233. BuyFutureQty:
  2234. description: 买入期货数量
  2235. type: number
  2236. BuyPlanQty:
  2237. description: 采购计划数量
  2238. type: number
  2239. BuyPricedQty:
  2240. description: 采购合同已定价数量
  2241. type: number
  2242. MiddleGoodsCode:
  2243. description: 套保品种代码
  2244. type: string
  2245. MiddleGoodsHedgeRatio:
  2246. description: 套保比例
  2247. type: number
  2248. MiddleGoodsID:
  2249. description: 套保品种
  2250. type: integer
  2251. MiddleGoodsName:
  2252. description: 套保品种名称
  2253. type: string
  2254. NeedHedgeExposoure:
  2255. description: 应套保敞口(套保敞口)
  2256. type: number
  2257. NeedHedgeRatio:
  2258. description: 应套保敞口比例
  2259. type: number
  2260. OriBuyFutureQty:
  2261. description: 期初买入期货数量
  2262. type: number
  2263. OriBuyPlanQty:
  2264. description: 期初采购计划数量
  2265. type: number
  2266. OriBuyPricedQty:
  2267. description: 期初采购合同已定价数量
  2268. type: number
  2269. OriSellFutureQty:
  2270. description: 期初卖出期货数量
  2271. type: number
  2272. OriSellPlanQty:
  2273. description: 期初销售计划数量
  2274. type: number
  2275. OriSellPricedQty:
  2276. description: 期初销售合同已定价数量
  2277. type: number
  2278. OriTotalSpotQty:
  2279. description: 期初现货总量
  2280. type: number
  2281. SellFutureQty:
  2282. description: 卖出期货数量
  2283. type: number
  2284. SellPlanQty:
  2285. description: 销售计划数量
  2286. type: number
  2287. SellPricedQty:
  2288. description: 销售合同已定价数量
  2289. type: number
  2290. TotalExposure:
  2291. description: 总敞口 平安:净敞口
  2292. type: number
  2293. TotalFutureQty:
  2294. description: 期货总量 平安:保值净持仓量
  2295. type: number
  2296. TotalHedgeRatio:
  2297. description: 敞口比例
  2298. type: number
  2299. TotalNeedHedgeQty:
  2300. description: 应套保总量(现货应套保总量)
  2301. type: number
  2302. TotalSpotQty:
  2303. description: 现货总量 平安:采销定价净值
  2304. type: number
  2305. arbitrageqty:
  2306. description: 套利量
  2307. type: number
  2308. diffArbitrageQty:
  2309. description: 期初均价
  2310. type: number
  2311. diffExposoureQty:
  2312. description: 期初均价
  2313. type: number
  2314. diffFutuQty:
  2315. description: 期初均价
  2316. type: number
  2317. diffHedgeQty:
  2318. description: 期初均价
  2319. type: number
  2320. diffQty:
  2321. description: 期初均价
  2322. type: number
  2323. diffSpotHedgeQty:
  2324. description: 期初均价
  2325. type: number
  2326. diffSpotQty:
  2327. description: 期初均价
  2328. type: number
  2329. enumdicname:
  2330. description: 单位名称
  2331. type: string
  2332. hedgeqty:
  2333. description: 套保量
  2334. type: number
  2335. needarbitrageqty:
  2336. description: 应套利量
  2337. type: number
  2338. needarbitrageratio:
  2339. description: 套利比例
  2340. type: number
  2341. needhedgeqty:
  2342. description: 应套保量
  2343. type: number
  2344. oriarbitrageqty:
  2345. description: 期初套利量
  2346. type: number
  2347. orihedgeqty:
  2348. description: 期初套保量
  2349. type: number
  2350. orineedhedgeexposoure:
  2351. description: 期初套保敞口
  2352. type: number
  2353. oritotalexposure:
  2354. description: 期初总敞口
  2355. type: number
  2356. oritotalfutureqty:
  2357. description: 期初期货总量
  2358. type: number
  2359. oritotalneedhedgeqty:
  2360. description: 期初现货应套保量
  2361. type: number
  2362. type: object
  2363. erms2.QueryArbitrageStrategyRsp:
  2364. properties:
  2365. applybasis:
  2366. description: 申请基差
  2367. type: number
  2368. asapplyid:
  2369. description: 策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)
  2370. type: string
  2371. asname:
  2372. description: 策略名称
  2373. type: string
  2374. asno:
  2375. description: 策略编号
  2376. type: string
  2377. basischangepl:
  2378. description: 基差变动损益[结算更新]
  2379. type: number
  2380. biztype:
  2381. description: 业务类型 - 1:正向套利 -1:反向套利
  2382. type: integer
  2383. closetradedate:
  2384. description: 完结交易日(yyyyMMdd)
  2385. type: string
  2386. curbasis:
  2387. description: 当前基差[结算更新]
  2388. type: number
  2389. deliverygoodsid:
  2390. description: 现货品种ID
  2391. type: integer
  2392. futureavgprice:
  2393. description: 期货建仓均价
  2394. type: number
  2395. futurecloseamount:
  2396. description: 期货平仓金额
  2397. type: number
  2398. futurecloseqty:
  2399. description: 期货平仓数量
  2400. type: number
  2401. futureopenamount:
  2402. description: 期货开仓金额
  2403. type: number
  2404. futureopenqty:
  2405. description: 期货开仓数量
  2406. type: number
  2407. futurepl:
  2408. description: 期货总盈亏[结算更新]
  2409. type: number
  2410. futureqty:
  2411. description: 期货持仓数量
  2412. type: number
  2413. futurequote:
  2414. description: 期货额度
  2415. type: number
  2416. goodsgroupid:
  2417. description: 期货品种ID
  2418. type: integer
  2419. marketid:
  2420. description: 市场ID
  2421. type: integer
  2422. netexposure:
  2423. description: 单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量
  2424. type: number
  2425. netexposurepl:
  2426. description: 净敞口损益 = TotalPL - BasisChangePL[结算更新]
  2427. type: number
  2428. netexposurerate:
  2429. description: 净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0
  2430. type: number
  2431. openbasis:
  2432. description: 建仓基差
  2433. type: number
  2434. pricedspotqty:
  2435. description: 已定价现货数量
  2436. type: number
  2437. pricedspotqtynotax:
  2438. description: 已定价现货不含税数量
  2439. type: number
  2440. remark:
  2441. description: 备注
  2442. type: string
  2443. spotavgprice:
  2444. description: 现货均价
  2445. type: number
  2446. spotbuyamount:
  2447. description: 现货采购金额
  2448. type: number
  2449. spotbuyqty:
  2450. description: 现货采购数量
  2451. type: number
  2452. spotpl:
  2453. description: 现货总盈亏[结算更新]
  2454. type: number
  2455. spotquota:
  2456. description: 现货额度
  2457. type: number
  2458. spotsellamount:
  2459. description: 现货销售金额
  2460. type: number
  2461. spotsellqty:
  2462. description: 现货销售数量
  2463. type: number
  2464. spotusedquota:
  2465. description: 现货占用资金
  2466. type: number
  2467. strategystatus:
  2468. description: 策略状态 - 0:未结束 1:已结束
  2469. type: integer
  2470. totalpl:
  2471. description: 业务合计损益 = FuturePL + SpotPL [结算更新]
  2472. type: number
  2473. tradedate:
  2474. description: 交易日(yyyyMMdd)
  2475. type: string
  2476. updatetime:
  2477. description: 更新时间
  2478. type: string
  2479. usedquota:
  2480. description: 已占用资金
  2481. type: number
  2482. userid:
  2483. description: 所属机构
  2484. type: integer
  2485. required:
  2486. - asapplyid
  2487. type: object
  2488. erms2.QueryInnerTradeDetailRsp:
  2489. properties:
  2490. accountid:
  2491. description: 账号ID
  2492. type: integer
  2493. agreeunit:
  2494. description: 合约单位
  2495. type: number
  2496. asapplyid:
  2497. description: 策略申请ID
  2498. type: integer
  2499. asname:
  2500. description: 策略名称
  2501. type: string
  2502. asno:
  2503. description: 策略编号
  2504. type: string
  2505. buyorsell:
  2506. description: 方向 - 0:买 1:卖
  2507. type: integer
  2508. channelbuildtype:
  2509. description: 委托单据类型 0:无 1:建仓 2:平仓
  2510. type: integer
  2511. closetype:
  2512. description: 平仓方式 - 0:无 1:平今 2:平昨
  2513. type: integer
  2514. decimalplace:
  2515. description: 报价小数位
  2516. type: integer
  2517. detailtype:
  2518. description: 明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整
  2519. type: integer
  2520. exexchangecode:
  2521. description: 外部交易所代码
  2522. type: string
  2523. exexchangename:
  2524. description: 外部交易所名称
  2525. type: string
  2526. goodscode:
  2527. description: 商品代码(合约)
  2528. type: string
  2529. goodsgroupid:
  2530. description: 商品组ID(品种ID)
  2531. type: integer
  2532. goodsgroupname:
  2533. description: 商品组名称(品种)
  2534. type: string
  2535. goodsid:
  2536. description: 商品ID
  2537. type: integer
  2538. goodsname:
  2539. description: 商品名称(合约)
  2540. type: string
  2541. goodunit:
  2542. description: 报价单位
  2543. type: string
  2544. marketid:
  2545. description: 市场ID
  2546. type: integer
  2547. orderid:
  2548. description: 委托单号
  2549. type: string
  2550. outgoodscode:
  2551. description: 商品代码(外部)
  2552. type: string
  2553. relatedouttradeid:
  2554. description: 关联外部成交单ID
  2555. type: string
  2556. remark:
  2557. description: 备注
  2558. type: string
  2559. spotcontractid:
  2560. description: 现货合同ID [1:套利对冲 为合同ID,2:期货换月\3:期货仓位调整时为0]
  2561. type: integer
  2562. spotcontractno:
  2563. description: 现货合同编号
  2564. type: string
  2565. tradeid:
  2566. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  2567. type: string
  2568. tradeprice:
  2569. description: 成交价格
  2570. type: number
  2571. tradeqty:
  2572. description: 成交数量
  2573. type: integer
  2574. tradetime:
  2575. description: 成交时间
  2576. type: string
  2577. updatetime:
  2578. description: 更新时间
  2579. type: string
  2580. required:
  2581. - asapplyid
  2582. - buyorsell
  2583. - goodscode
  2584. - goodsgroupid
  2585. - goodsgroupname
  2586. - goodsname
  2587. - tradeid
  2588. type: object
  2589. erms2.QuerySpotContractRsp:
  2590. properties:
  2591. accountid:
  2592. description: 资金账户ID
  2593. type: integer
  2594. areauserid:
  2595. description: 所属机构
  2596. type: integer
  2597. closedate:
  2598. description: 终止日期
  2599. type: string
  2600. closeremark:
  2601. description: 结束备注
  2602. type: string
  2603. closetradedate:
  2604. description: 完结交易日(yyyyMMdd)
  2605. type: string
  2606. closetype:
  2607. description: 终止类型 - 1:违约 2:提前终止
  2608. type: integer
  2609. contractamount:
  2610. description: 合同金额
  2611. type: number
  2612. contractattachment:
  2613. description: 合同附件
  2614. type: string
  2615. contractno:
  2616. description: 现货合同编号
  2617. type: string
  2618. contractqty:
  2619. description: 合同数量(数值) (用于计算)
  2620. type: number
  2621. contractqtychar:
  2622. description: 合同数量\已订价数量 (用于显示)
  2623. type: string
  2624. contractstatus:
  2625. description: 合同状态 - 0:未结束 1:已结束
  2626. type: integer
  2627. contracttype:
  2628. description: 现货合同类型 - 1:采购合同 -1:销售合同
  2629. type: integer
  2630. customeraccountid:
  2631. description: 客户资金账户ID
  2632. type: integer
  2633. customeruserid:
  2634. description: 客户ID
  2635. type: integer
  2636. deliverygoodsdesc:
  2637. description: 品种说明
  2638. type: string
  2639. deliverygoodsid:
  2640. description: 现货品种ID
  2641. type: integer
  2642. handlestatus:
  2643. description: 处理状态
  2644. type: integer
  2645. invoiceatt:
  2646. description: 发票附件
  2647. type: string
  2648. invoicedatetime:
  2649. description: 开收票更新时间
  2650. type: string
  2651. invoiceopentime:
  2652. description: 开票时间
  2653. type: string
  2654. invoiceremark:
  2655. description: 发票备注
  2656. type: string
  2657. invoicestatus:
  2658. description: 开收票状态 - 0:未开票 1:已开票
  2659. type: integer
  2660. lastdate:
  2661. description: 交货时间
  2662. type: string
  2663. marketid:
  2664. description: 市场ID
  2665. type: integer
  2666. paydatetime:
  2667. description: 收付款更新时间
  2668. type: string
  2669. payremark:
  2670. description: 收付款备注
  2671. type: string
  2672. paystatus:
  2673. description: 收付款状态 - 0:未支付 1:已收款 2:已付款
  2674. type: integer
  2675. positionqty:
  2676. description: 头寸数量 - 合同数量去小数部分
  2677. type: integer
  2678. producttype:
  2679. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  2680. type: integer
  2681. relatedqty:
  2682. description: 已关联数量
  2683. type: number
  2684. relatedstatus:
  2685. description: 关联完结状态 - 0:未结束 1:已结束
  2686. type: integer
  2687. remark:
  2688. description: 备注
  2689. type: string
  2690. signdate:
  2691. description: 签订日期
  2692. type: string
  2693. spotcontractid:
  2694. description: 现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)
  2695. type: string
  2696. spotdatetime:
  2697. description: 收发货更新时间
  2698. type: string
  2699. spotprice:
  2700. description: 价格
  2701. type: number
  2702. spotremark:
  2703. description: 收发货备注
  2704. type: string
  2705. spotstatus:
  2706. description: 收发货状态 - 0:未交收 1:已发货 2:已发货
  2707. type: integer
  2708. tradedate:
  2709. description: 交易日(yyyyMMdd)
  2710. type: string
  2711. userid:
  2712. description: 业务员用户ID
  2713. type: integer
  2714. warehouseid:
  2715. description: 仓库ID
  2716. type: integer
  2717. wrfactortypeid:
  2718. description: 仓单要素类型ID
  2719. type: integer
  2720. wrstandardid:
  2721. description: 仓单标准ID(SEQ_WRSTANDARD)
  2722. type: integer
  2723. required:
  2724. - spotcontractid
  2725. type: object
  2726. erms3.AddErms2ASApplyReq:
  2727. properties:
  2728. applybasis:
  2729. description: 申请基差
  2730. type: number
  2731. applystatus:
  2732. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2733. type: integer
  2734. asapplyid:
  2735. description: 策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)
  2736. type: integer
  2737. asname:
  2738. description: 策略名称
  2739. type: string
  2740. asno:
  2741. description: 策略编号
  2742. type: string
  2743. auditid:
  2744. description: 审核人
  2745. type: integer
  2746. auditremark:
  2747. description: 审核备注
  2748. type: string
  2749. audittime:
  2750. description: 审核时间
  2751. type: string
  2752. biztype:
  2753. description: 业务类型 - 1:正向套利 2:反向套利
  2754. type: integer
  2755. createtime:
  2756. description: 创建时间
  2757. type: string
  2758. creatorid:
  2759. description: 创建人
  2760. type: integer
  2761. deliverygoodsid:
  2762. description: 现货品种ID
  2763. type: integer
  2764. futurequote:
  2765. description: 期货额度
  2766. type: number
  2767. goodsgroupid:
  2768. description: 期货品种ID
  2769. type: integer
  2770. marketid:
  2771. description: 市场ID
  2772. type: integer
  2773. remark:
  2774. description: 备注
  2775. type: string
  2776. spotquota:
  2777. description: 现货额度
  2778. type: number
  2779. tradedate:
  2780. description: 交易日(yyyyMMdd)
  2781. type: string
  2782. userid:
  2783. description: 所属机构
  2784. type: integer
  2785. required:
  2786. - asapplyid
  2787. type: object
  2788. erms3.AddErms2SpotTradeApplyReq:
  2789. properties:
  2790. applyjsondetail:
  2791. description: 申请明细(JSON)
  2792. type: string
  2793. applystatus:
  2794. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2795. type: integer
  2796. areauserid:
  2797. description: 所属机构
  2798. type: integer
  2799. auditid:
  2800. description: 审核人
  2801. type: integer
  2802. auditremark:
  2803. description: 审核备注
  2804. type: string
  2805. audittime:
  2806. description: 审核时间
  2807. type: string
  2808. createtime:
  2809. description: 创建时间
  2810. type: string
  2811. creatorid:
  2812. description: 创建人
  2813. type: integer
  2814. deliverygoodsid:
  2815. description: 现货品种ID
  2816. type: integer
  2817. futureaccountid:
  2818. description: 期货资金账户
  2819. type: integer
  2820. goodsgroupid:
  2821. description: 期货品种
  2822. type: integer
  2823. marketid:
  2824. description: 市场ID
  2825. type: integer
  2826. remark:
  2827. description: 备注
  2828. type: string
  2829. spotaccountid:
  2830. description: 现货资金账户
  2831. type: integer
  2832. spottradeid:
  2833. description: 业务ID(341+Unix秒时间戳(10位)+xxxxxx)
  2834. type: integer
  2835. spottradename:
  2836. description: 业务名称
  2837. type: string
  2838. spottradeno:
  2839. description: 业务编号
  2840. type: string
  2841. tradedate:
  2842. description: 交易日(yyyyMMdd)
  2843. type: string
  2844. wrstandardid:
  2845. description: 仓单标准ID
  2846. type: integer
  2847. required:
  2848. - spottradeid
  2849. type: object
  2850. erms3.AddSpotContractApplyReq:
  2851. properties:
  2852. accountid:
  2853. description: 资金账户ID
  2854. type: integer
  2855. areauserid:
  2856. description: 所属机构
  2857. type: integer
  2858. contractattachment:
  2859. description: 合同附件
  2860. type: string
  2861. contractno:
  2862. description: 现货合同编号
  2863. type: string
  2864. contracttype:
  2865. description: 现货合同类型 - 1:采购 -1:销售
  2866. type: integer
  2867. creatorid:
  2868. description: 申请人
  2869. type: integer
  2870. customeraccountid:
  2871. description: 客户资金账户ID
  2872. type: integer
  2873. customeruserid:
  2874. description: 客户ID
  2875. type: integer
  2876. details:
  2877. description: 明细
  2878. items:
  2879. $ref: '#/definitions/erms3.SoptContractDetail'
  2880. type: array
  2881. orimargin:
  2882. description: 初始保证金
  2883. type: number
  2884. remark:
  2885. description: 备注
  2886. type: string
  2887. signdate:
  2888. description: 签订日期
  2889. type: string
  2890. required:
  2891. - accountid
  2892. - areauserid
  2893. - contractno
  2894. - contracttype
  2895. - customeraccountid
  2896. - customeruserid
  2897. - details
  2898. - orimargin
  2899. - signdate
  2900. type: object
  2901. erms3.AddSpotContractApplyRsp:
  2902. properties:
  2903. contractno:
  2904. description: 现货合同编号
  2905. type: string
  2906. spotcontractid:
  2907. description: 现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)
  2908. type: integer
  2909. required:
  2910. - contractno
  2911. type: object
  2912. erms3.AddUserInfoApplyReq:
  2913. properties:
  2914. accountid:
  2915. description: 交易系统帐号Id (加密存储)
  2916. type: integer
  2917. areacode:
  2918. description: 机构代码
  2919. type: string
  2920. areaid:
  2921. description: 机构Id
  2922. type: integer
  2923. attachment1:
  2924. description: 附件1
  2925. type: string
  2926. attachment2:
  2927. description: 附件2
  2928. type: string
  2929. attachment3:
  2930. description: 附件3
  2931. type: string
  2932. attachment4:
  2933. description: 附件4
  2934. type: string
  2935. attachment5:
  2936. description: 附件5
  2937. type: string
  2938. auditedby:
  2939. description: 审核人
  2940. type: string
  2941. auditime:
  2942. description: 审核时间
  2943. type: string
  2944. auditsrc:
  2945. description: 审核来源 - 1:管理端 2:终端
  2946. type: integer
  2947. bankaccount:
  2948. description: 银行帐号 (加密存储)
  2949. type: string
  2950. bankaccountname:
  2951. description: 收款人名称
  2952. type: string
  2953. bankcardbackphotourl:
  2954. description: 银行卡背面照地址
  2955. type: string
  2956. bankcardfrontphotourl:
  2957. description: 银行卡正面照地址
  2958. type: string
  2959. bankid:
  2960. description: 银行编码
  2961. type: string
  2962. bankname:
  2963. description: 银行名称
  2964. type: string
  2965. bankpictureurl:
  2966. description: 银行卡正面地址
  2967. type: string
  2968. biznature:
  2969. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2970. type: integer
  2971. bizscope:
  2972. description: 企业经营范围(企业)
  2973. type: string
  2974. biztype:
  2975. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  2976. type: integer
  2977. brokerid:
  2978. description: 经纪人ID(加密存储)
  2979. type: string
  2980. cardaddress:
  2981. description: 证件地址 (加密存储)
  2982. type: string
  2983. cardbackphotourl:
  2984. description: 背面证件照地址
  2985. type: string
  2986. cardfrontphotourl:
  2987. description: 正面证件照地址
  2988. type: string
  2989. cardnum:
  2990. description: 证件号码 (加密存储)
  2991. type: string
  2992. cardtype:
  2993. description: 证件类型
  2994. type: integer
  2995. cityid:
  2996. description: 市
  2997. type: integer
  2998. company:
  2999. description: 公司(个人)
  3000. type: string
  3001. contactcardbackphotourl:
  3002. description: 联系人证件背面图片地址
  3003. type: string
  3004. contactcardfrontphotourl:
  3005. description: 联系人证件正面图片地址
  3006. type: string
  3007. contactname:
  3008. description: 联系人
  3009. type: string
  3010. countryid:
  3011. description: 国家
  3012. type: integer
  3013. createtime:
  3014. description: 开户申请时间
  3015. type: string
  3016. cusbankid:
  3017. description: 签约类型
  3018. type: string
  3019. cusbankname:
  3020. description: 签约类型名称
  3021. type: string
  3022. customername:
  3023. description: 客户名称(企业名称)
  3024. type: string
  3025. districtid:
  3026. description: 地区
  3027. type: integer
  3028. email:
  3029. description: Email地址(加密存储)
  3030. type: string
  3031. halfbodyphotourl:
  3032. description: 半身照地址
  3033. type: string
  3034. headurl:
  3035. description: 头像地址
  3036. type: string
  3037. ipaddress:
  3038. description: IP地址
  3039. type: string
  3040. isvalidate:
  3041. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  3042. type: string
  3043. legalcardbackphotourl:
  3044. description: 法人身份证背面照地址
  3045. type: string
  3046. legalcardfrontphotourl:
  3047. description: 法人身份证正面照地址
  3048. type: string
  3049. legalpersonname:
  3050. description: 法人姓名(企业)
  3051. type: string
  3052. logincode:
  3053. description: 登录帐号 (加密存储)
  3054. type: string
  3055. memberareaid:
  3056. description: 所属会员ID
  3057. type: integer
  3058. mobile2:
  3059. description: 手机号码[明文-尚志]
  3060. type: string
  3061. mobilephone:
  3062. description: 手机号码 (加密存储)
  3063. type: string
  3064. modifiedby:
  3065. description: 修改人帐号
  3066. type: integer
  3067. modifiedtime:
  3068. description: 修改时间
  3069. type: string
  3070. nickname:
  3071. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  3072. type: string
  3073. openmode:
  3074. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  3075. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  3076. type: integer
  3077. otherurl:
  3078. description: 其它图片地址[使用分号分隔]
  3079. type: string
  3080. postalcode:
  3081. description: 邮政编码
  3082. type: string
  3083. provinceid:
  3084. description: 省
  3085. type: integer
  3086. proxystatementurl:
  3087. description: 授权委托书
  3088. type: string
  3089. qq:
  3090. description: QQ(加密存储
  3091. type: string
  3092. referral:
  3093. description: 推荐人编码
  3094. type: string
  3095. remark:
  3096. description: 备注
  3097. type: string
  3098. removebeforestatus:
  3099. description: REMOVEBEFORESTATUS
  3100. type: integer
  3101. sex:
  3102. description: 性别 - 0:女 1:男
  3103. type: integer
  3104. signedstatus:
  3105. description: 账户一号签签约状态
  3106. type: integer
  3107. signpdfurl:
  3108. description: 签约pdf文件
  3109. type: string
  3110. subbranch:
  3111. description: 开户支行
  3112. type: string
  3113. taxpayernum:
  3114. description: 纳税人识别号
  3115. type: string
  3116. telphone:
  3117. description: 联系电话(加密存储)
  3118. type: string
  3119. userid:
  3120. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  3121. type: integer
  3122. userinfotype:
  3123. description: 用户信息类型 - 1:个人 2:企业
  3124. type: integer
  3125. username:
  3126. description: 用户姓名
  3127. type: string
  3128. userstate:
  3129. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3130. type: integer
  3131. usertype:
  3132. description: 用户类型 - 1:投资者 2:机构
  3133. type: integer
  3134. videourl:
  3135. description: 视频地址
  3136. type: string
  3137. wechat:
  3138. description: 微信号 (加密存储)
  3139. type: string
  3140. required:
  3141. - userid
  3142. type: object
  3143. erms3.CustomerInfo:
  3144. properties:
  3145. accountids:
  3146. description: 资金账户ID列表
  3147. items:
  3148. type: integer
  3149. type: array
  3150. customername:
  3151. description: 名称(企业名称)
  3152. type: string
  3153. mobile:
  3154. description: 手机号码
  3155. type: string
  3156. userid:
  3157. description: 用户ID
  3158. type: integer
  3159. required:
  3160. - userid
  3161. type: object
  3162. erms3.ModifyUserInfoApplyReq:
  3163. properties:
  3164. accountid:
  3165. description: 交易系统帐号Id (加密存储)
  3166. type: integer
  3167. areacode:
  3168. description: 机构代码
  3169. type: string
  3170. areaid:
  3171. description: 机构Id
  3172. type: integer
  3173. attachment1:
  3174. description: 附件1
  3175. type: string
  3176. attachment2:
  3177. description: 附件2
  3178. type: string
  3179. attachment3:
  3180. description: 附件3
  3181. type: string
  3182. attachment4:
  3183. description: 附件4
  3184. type: string
  3185. attachment5:
  3186. description: 附件5
  3187. type: string
  3188. auditedby:
  3189. description: 审核人
  3190. type: string
  3191. auditime:
  3192. description: 审核时间
  3193. type: string
  3194. auditsrc:
  3195. description: 审核来源 - 1:管理端 2:终端
  3196. type: integer
  3197. bankaccount:
  3198. description: 银行帐号 (加密存储)
  3199. type: string
  3200. bankaccountname:
  3201. description: 收款人名称
  3202. type: string
  3203. bankcardbackphotourl:
  3204. description: 银行卡背面照地址
  3205. type: string
  3206. bankcardfrontphotourl:
  3207. description: 银行卡正面照地址
  3208. type: string
  3209. bankid:
  3210. description: 银行编码
  3211. type: string
  3212. bankname:
  3213. description: 银行名称
  3214. type: string
  3215. bankpictureurl:
  3216. description: 银行卡正面地址
  3217. type: string
  3218. biznature:
  3219. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3220. type: integer
  3221. bizscope:
  3222. description: 企业经营范围(企业)
  3223. type: string
  3224. biztype:
  3225. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  3226. type: integer
  3227. brokerid:
  3228. description: 经纪人ID(加密存储)
  3229. type: string
  3230. cardaddress:
  3231. description: 证件地址 (加密存储)
  3232. type: string
  3233. cardbackphotourl:
  3234. description: 背面证件照地址
  3235. type: string
  3236. cardfrontphotourl:
  3237. description: 正面证件照地址
  3238. type: string
  3239. cardnum:
  3240. description: 证件号码 (加密存储)
  3241. type: string
  3242. cardtype:
  3243. description: 证件类型
  3244. type: integer
  3245. cityid:
  3246. description: 市
  3247. type: integer
  3248. company:
  3249. description: 公司(个人)
  3250. type: string
  3251. contactcardbackphotourl:
  3252. description: 联系人证件背面图片地址
  3253. type: string
  3254. contactcardfrontphotourl:
  3255. description: 联系人证件正面图片地址
  3256. type: string
  3257. contactname:
  3258. description: 联系人
  3259. type: string
  3260. countryid:
  3261. description: 国家
  3262. type: integer
  3263. createtime:
  3264. description: 开户申请时间
  3265. type: string
  3266. cusbankid:
  3267. description: 签约类型
  3268. type: string
  3269. cusbankname:
  3270. description: 签约类型名称
  3271. type: string
  3272. customername:
  3273. description: 客户名称(企业名称)
  3274. type: string
  3275. districtid:
  3276. description: 地区
  3277. type: integer
  3278. email:
  3279. description: Email地址(加密存储)
  3280. type: string
  3281. halfbodyphotourl:
  3282. description: 半身照地址
  3283. type: string
  3284. headurl:
  3285. description: 头像地址
  3286. type: string
  3287. ipaddress:
  3288. description: IP地址
  3289. type: string
  3290. isvalidate:
  3291. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  3292. type: string
  3293. legalcardbackphotourl:
  3294. description: 法人身份证背面照地址
  3295. type: string
  3296. legalcardfrontphotourl:
  3297. description: 法人身份证正面照地址
  3298. type: string
  3299. legalpersonname:
  3300. description: 法人姓名(企业)
  3301. type: string
  3302. logincode:
  3303. description: 登录帐号 (加密存储)
  3304. type: string
  3305. memberareaid:
  3306. description: 所属会员ID
  3307. type: integer
  3308. mobile2:
  3309. description: 手机号码[明文-尚志]
  3310. type: string
  3311. mobilephone:
  3312. description: 手机号码 (加密存储)
  3313. type: string
  3314. modifiedby:
  3315. description: 修改人帐号
  3316. type: integer
  3317. modifiedtime:
  3318. description: 修改时间
  3319. type: string
  3320. nickname:
  3321. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  3322. type: string
  3323. openmode:
  3324. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  3325. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  3326. type: integer
  3327. otherurl:
  3328. description: 其它图片地址[使用分号分隔]
  3329. type: string
  3330. postalcode:
  3331. description: 邮政编码
  3332. type: string
  3333. provinceid:
  3334. description: 省
  3335. type: integer
  3336. proxystatementurl:
  3337. description: 授权委托书
  3338. type: string
  3339. qq:
  3340. description: QQ(加密存储
  3341. type: string
  3342. referral:
  3343. description: 推荐人编码
  3344. type: string
  3345. remark:
  3346. description: 备注
  3347. type: string
  3348. removebeforestatus:
  3349. description: REMOVEBEFORESTATUS
  3350. type: integer
  3351. sex:
  3352. description: 性别 - 0:女 1:男
  3353. type: integer
  3354. signedstatus:
  3355. description: 账户一号签签约状态
  3356. type: integer
  3357. signpdfurl:
  3358. description: 签约pdf文件
  3359. type: string
  3360. subbranch:
  3361. description: 开户支行
  3362. type: string
  3363. taxpayernum:
  3364. description: 纳税人识别号
  3365. type: string
  3366. telphone:
  3367. description: 联系电话(加密存储)
  3368. type: string
  3369. userid:
  3370. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  3371. type: integer
  3372. userinfotype:
  3373. description: 用户信息类型 - 1:个人 2:企业
  3374. type: integer
  3375. username:
  3376. description: 用户姓名
  3377. type: string
  3378. userstate:
  3379. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3380. type: integer
  3381. usertype:
  3382. description: 用户类型 - 1:投资者 2:机构
  3383. type: integer
  3384. videourl:
  3385. description: 视频地址
  3386. type: string
  3387. wechat:
  3388. description: 微信号 (加密存储)
  3389. type: string
  3390. required:
  3391. - userid
  3392. type: object
  3393. erms3.QryAuditContractRsp:
  3394. properties:
  3395. accountid:
  3396. description: 交易员ID
  3397. type: string
  3398. applystatus:
  3399. description: 申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3400. type: integer
  3401. curdeliveryqty:
  3402. description: 未交收量
  3403. type: integer
  3404. customername:
  3405. description: 采购方ID
  3406. type: string
  3407. deliverygoodsid:
  3408. description: 品种ID
  3409. type: string
  3410. deliveryqty:
  3411. description: 交收量
  3412. type: integer
  3413. enumdicname:
  3414. description: 单位名称
  3415. type: string
  3416. matchaccountid:
  3417. description: 业务员ID
  3418. type: string
  3419. matchcustomername:
  3420. description: 销售方ID
  3421. type: string
  3422. pricedqty:
  3423. description: 定价量
  3424. type: number
  3425. signdate:
  3426. description: 签订日期
  3427. type: string
  3428. spotcontractid:
  3429. description: 合同ID
  3430. type: string
  3431. totaldqty:
  3432. description: 合同量
  3433. type: number
  3434. unpricedqty:
  3435. description: 未定价量
  3436. type: number
  3437. wrstandardname:
  3438. description: 商品名称
  3439. type: string
  3440. required:
  3441. - matchcustomername
  3442. - spotcontractid
  3443. type: object
  3444. erms3.QryPendingBizRsp:
  3445. properties:
  3446. accountid:
  3447. description: 现货账户
  3448. type: string
  3449. areaname:
  3450. description: 所属部门
  3451. type: string
  3452. bizid:
  3453. description: 业务ID
  3454. type: string
  3455. bizname:
  3456. description: 业务名称
  3457. type: string
  3458. status:
  3459. description: 状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3460. type: integer
  3461. type:
  3462. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易
  3463. type: integer
  3464. type: object
  3465. erms3.QueryBusinessInfoRsp:
  3466. properties:
  3467. businessid:
  3468. description: 业务ID.
  3469. type: integer
  3470. buyamount:
  3471. description: 采购额.
  3472. type: number
  3473. buyqty:
  3474. description: 采购量.
  3475. type: string
  3476. futurepl:
  3477. description: 期货盈亏.
  3478. type: number
  3479. futureqty:
  3480. description: 期货敞口.
  3481. type: string
  3482. goodsid:
  3483. description: 商品名称/商品代码.
  3484. type: string
  3485. hedgingqty:
  3486. description: 套保量.
  3487. type: string
  3488. sellamount:
  3489. description: 销售额.
  3490. type: number
  3491. sellqty:
  3492. description: 销售量.
  3493. type: string
  3494. spotmarketvalue:
  3495. description: 现货市值.
  3496. type: number
  3497. spotpl:
  3498. description: 浮动权益.
  3499. type: number
  3500. spotqty:
  3501. description: 现货量.
  3502. type: string
  3503. statu:
  3504. description: 状态,0-未结束 1-已结束.
  3505. type: integer
  3506. totalpl:
  3507. description: 总盈亏.
  3508. type: number
  3509. totalqty:
  3510. description: 总敞口.
  3511. type: string
  3512. type:
  3513. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易.
  3514. type: integer
  3515. type: object
  3516. erms3.QuerySpotContractAppleFormRsp:
  3517. properties:
  3518. goodses:
  3519. description: 合约列表
  3520. items:
  3521. $ref: '#/definitions/models.GoodsIDAndName'
  3522. type: array
  3523. oppositeusers:
  3524. description: 对方账号列表
  3525. items:
  3526. $ref: '#/definitions/erms3.CustomerInfo'
  3527. type: array
  3528. ouruser:
  3529. $ref: '#/definitions/erms3.CustomerInfo'
  3530. description: 我方账号
  3531. warehouseinfos:
  3532. description: 仓库信息列表
  3533. items:
  3534. $ref: '#/definitions/models.Warehouseinfo'
  3535. type: array
  3536. wrstandards:
  3537. description: 仓单标准列表
  3538. items:
  3539. $ref: '#/definitions/models.WRStandardInfo'
  3540. type: array
  3541. type: object
  3542. erms3.QuerySpotContractInfoRsp:
  3543. properties:
  3544. accountid:
  3545. description: 表示交易员ID.
  3546. type: integer
  3547. curdeliveryqty:
  3548. description: 表示未交收量.
  3549. type: number
  3550. customername:
  3551. description: 若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.
  3552. type: string
  3553. deliverygoodsid:
  3554. description: 表示品种ID.
  3555. type: string
  3556. deliveryqty:
  3557. description: 表示交收量.
  3558. type: number
  3559. matchaccountid:
  3560. description: 表示业务员ID.
  3561. type: integer
  3562. matchcustomername:
  3563. description: 若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.
  3564. type: string
  3565. priceqty:
  3566. description: 表示定价量.
  3567. type: number
  3568. relatedbizid:
  3569. description: 表示业务ID.
  3570. type: string
  3571. signdate:
  3572. description: 表示签订日期.
  3573. type: string
  3574. spotcontractid:
  3575. description: 合同ID
  3576. type: string
  3577. status:
  3578. description: 表示状态,0-履约中 1-已完成.
  3579. type: integer
  3580. totalqty:
  3581. description: 表示合同量.
  3582. type: number
  3583. unpricedqty:
  3584. description: 表示未定价量.
  3585. type: number
  3586. wrstandardname:
  3587. description: 表示商品ID.
  3588. type: string
  3589. type: object
  3590. erms3.QueryUserInfoAppliesRsp:
  3591. properties:
  3592. biznature:
  3593. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3594. type: integer
  3595. contactname:
  3596. description: 联系人
  3597. type: string
  3598. createtime:
  3599. description: 开户申请时间
  3600. type: string
  3601. userid:
  3602. description: 用户ID(自增ID)
  3603. type: integer
  3604. userinfotype:
  3605. description: 用户信息类型 - 1:个人 2:企业
  3606. type: integer
  3607. username:
  3608. description: 用户姓名
  3609. type: string
  3610. userstate:
  3611. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3612. type: integer
  3613. required:
  3614. - userid
  3615. type: object
  3616. erms3.QueryUserInfosRsp:
  3617. properties:
  3618. biznature:
  3619. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3620. type: integer
  3621. contactname:
  3622. description: 联系人
  3623. type: string
  3624. customername:
  3625. description: 客户名称(企业名称)
  3626. type: string
  3627. userid:
  3628. description: 用户ID
  3629. type: integer
  3630. userinfotype:
  3631. description: 用户信息类型 - 1:个人 2:企业
  3632. type: integer
  3633. userstatus:
  3634. description: 用户状态 - 1:正常 2:注销
  3635. type: integer
  3636. required:
  3637. - userid
  3638. type: object
  3639. erms3.SoptContractDetail:
  3640. properties:
  3641. deliverygoodsdesc:
  3642. description: 现货品种说明
  3643. type: string
  3644. deliverygoodsid:
  3645. description: 现货品种ID
  3646. type: integer
  3647. deliverygoodsname:
  3648. description: 现货品种名称
  3649. type: string
  3650. pointdesc:
  3651. description: 点价描述
  3652. type: string
  3653. producttype:
  3654. description: 产品类型 1:标准仓单 2:等标 3:非标
  3655. type: integer
  3656. producttypename:
  3657. description: 产品类型名称
  3658. type: string
  3659. spotPointOrderVoList:
  3660. description: 点价列表
  3661. items:
  3662. $ref: '#/definitions/erms3.SpotPointOrder'
  3663. type: array
  3664. spotPriceOrderList:
  3665. description: 定价列表
  3666. items:
  3667. $ref: '#/definitions/erms3.SpotPriceOrder'
  3668. type: array
  3669. unitname:
  3670. description: 单位名称
  3671. type: string
  3672. warehouseid:
  3673. description: 仓库ID
  3674. type: integer
  3675. warehousename:
  3676. description: 仓库名称
  3677. type: string
  3678. wrstandardid:
  3679. description: 交易标的ID
  3680. type: integer
  3681. wrstandardname:
  3682. description: 交易标的名称
  3683. type: string
  3684. required:
  3685. - deliverygoodsid
  3686. - producttype
  3687. - unitname
  3688. - warehouseid
  3689. - wrstandardid
  3690. - wrstandardname
  3691. type: object
  3692. erms3.SpotPointOrder:
  3693. properties:
  3694. basic:
  3695. description: 基差
  3696. type: number
  3697. deliveryenddate:
  3698. description: 交收结束日期
  3699. type: string
  3700. deliverystartdate:
  3701. description: 交收开始日期
  3702. type: string
  3703. enddate:
  3704. description: 点价结束日期
  3705. type: string
  3706. goodsid:
  3707. description: 商品ID
  3708. type: integer
  3709. goodsname:
  3710. description: 商品名称
  3711. type: string
  3712. qty:
  3713. description: 数量
  3714. type: number
  3715. startdate:
  3716. description: 点价开始日期
  3717. type: string
  3718. required:
  3719. - basic
  3720. - goodsid
  3721. - qty
  3722. type: object
  3723. erms3.SpotPriceOrder:
  3724. properties:
  3725. amount:
  3726. description: 金额
  3727. type: number
  3728. deliveryenddate:
  3729. description: 交收结束日期
  3730. type: string
  3731. deliverystartdate:
  3732. description: 交收开始日期
  3733. type: string
  3734. price:
  3735. description: 价格
  3736. type: number
  3737. qty:
  3738. description: 数量
  3739. type: number
  3740. required:
  3741. - amount
  3742. - price
  3743. - qty
  3744. type: object
  3745. models.Arearole:
  3746. properties:
  3747. createtime:
  3748. description: 创建时间
  3749. type: string
  3750. creatorid:
  3751. description: 创建人ID
  3752. type: integer
  3753. fromuserid:
  3754. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  3755. type: integer
  3756. isreturnscore:
  3757. description: 是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还
  3758. type: integer
  3759. modifierid:
  3760. description: 修改人ID
  3761. type: integer
  3762. modifytime:
  3763. description: 修改时间
  3764. type: string
  3765. orgtype:
  3766. description: 组织机构类型 1:机构\分支节点 2:交易员\叶子节点 3:部门\分支节点
  3767. type: integer
  3768. outuserid:
  3769. description: 外部账户[场外期权做市商]
  3770. type: string
  3771. parentuserid:
  3772. description: 上级组织机构(组织机构)
  3773. type: integer
  3774. roletype:
  3775. description: 角色类型 - 1:交易所 2:运营机构 3:营销中心 4:仓库机构 5:三方服务机构 6:自营会员 7:经纪会员 8:做市会员
  3776. 9:产业会员 10:金融机构 11:商城店铺 12:子机构 13:报价商 14:积分服务商 15:供货商 16:圈内会员 17:物流机构 18:报价配置机构
  3777. 19:场外期权做市商 20:组织机构 21:顶级机构 22:业务员 23:跟单员 24:交易员 25:客户 98:代理 99:门店
  3778. type: integer
  3779. rootuserid:
  3780. description: 顶级组织机构用户ID(组织机构)
  3781. type: integer
  3782. shoppassword:
  3783. description: 商城店铺登陆密码(商城店铺角色使用)
  3784. type: string
  3785. sublevelpath:
  3786. description: 组织机构层级路径(逗号分隔,首尾加逗号)
  3787. type: string
  3788. suborgtype:
  3789. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  3790. type: integer
  3791. tradeaccountid:
  3792. description: 默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount
  3793. type: integer
  3794. transurl:
  3795. description: 物流地址(物流机构)
  3796. type: string
  3797. userid:
  3798. description: 机构用户ID其他做市关系,都设置为 1
  3799. type: integer
  3800. required:
  3801. - roletype
  3802. - userid
  3803. type: object
  3804. models.BuyOrder:
  3805. properties:
  3806. accountid:
  3807. description: 资金账户ID
  3808. type: integer
  3809. buyusername:
  3810. description: 买方
  3811. type: string
  3812. marketid:
  3813. description: 市场ID
  3814. type: integer
  3815. ordertime:
  3816. description: 委托时间
  3817. type: string
  3818. origin:
  3819. description: 原产地
  3820. type: string
  3821. remark:
  3822. description: 备注
  3823. type: string
  3824. userid:
  3825. description: 用户ID
  3826. type: integer
  3827. validtime:
  3828. description: 有效期限
  3829. type: string
  3830. warehouseids:
  3831. description: 仓库ID - 多个, 逗号分隔
  3832. type: string
  3833. warehouseinfosdisplay:
  3834. type: string
  3835. wrtradeorderid:
  3836. description: '[委托单号]买委托单ID(320+Unix秒时间戳(10位)+xxxxxx)'
  3837. type: string
  3838. wrtradeorderstatus:
  3839. description: 委托状态 - 参考枚举'WRTradeOrderStatus' - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:部成 8:已成 9:部成部撤 10:成交失败 11:委托拒绝 12:经过摘牌(先摘后挂专用) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用) 17:冻结PD成功 18:冻结PD失败 19:冻结能量成功 20:冻结能量失败 21:预约已报价 22:过期未付 23:优惠券处理中 24:仓单生成失败 25:首付扣款失败 26:履约失败 27:撤单解冻贷款失败WRTrade_OrderDetail、
  3840. type: integer
  3841. zscategory:
  3842. description: 钻石分类 - 枚举”ZSCategory“
  3843. type: integer
  3844. zscategorydisplay:
  3845. type: string
  3846. zsclaritytype:
  3847. description: 净度 - 两个, 逗号分隔
  3848. type: string
  3849. zsclaritytypedisplay:
  3850. type: string
  3851. zscolortype:
  3852. description: 颜色 - 两个, 逗号分隔
  3853. type: string
  3854. zscolortypedisplay:
  3855. type: string
  3856. zscrystaltype:
  3857. description: 晶型 - 多个,逗号分隔
  3858. type: string
  3859. zscrystaltypedisplay:
  3860. type: string
  3861. zscurrencytype:
  3862. description: 货币类型 - 多个, 逗号分隔
  3863. type: string
  3864. zscurrencytypedisplay:
  3865. type: string
  3866. zscuttype:
  3867. description: 切工 - 两个, 逗号分隔
  3868. type: string
  3869. zscuttypedisplay:
  3870. type: string
  3871. zsczcolor1type:
  3872. description: 彩钻颜色1, 逗号分隔
  3873. type: string
  3874. zsczcolor1typedisplay:
  3875. type: string
  3876. zsczcolor2type:
  3877. description: 彩钻颜色2, 逗号分隔
  3878. type: string
  3879. zsczcolor2typedisplay:
  3880. type: string
  3881. zsczcolor3type:
  3882. description: 彩钻颜色3, 逗号分隔
  3883. type: string
  3884. zsczcolor3typedisplay:
  3885. type: string
  3886. zsfluorescencetype:
  3887. description: 荧光 - 多个, 逗号分隔
  3888. type: string
  3889. zsfluorescencetypedisplay:
  3890. type: string
  3891. zspolishtype:
  3892. description: 抛光度 - 两个, 逗号分隔
  3893. type: string
  3894. zspolishtypedisplay:
  3895. type: string
  3896. zsshapetype:
  3897. description: 形状 - 多个, 逗号分隔
  3898. type: string
  3899. zsshapetypedisplay:
  3900. type: string
  3901. zssize:
  3902. description: 尺寸 - 两个小数, 逗号分隔
  3903. type: string
  3904. zsstyletype:
  3905. description: 款式 - 多个, 逗号分隔
  3906. type: string
  3907. zsstyletypedisplay:
  3908. type: string
  3909. zssymmetrytype:
  3910. description: 对称度 - 两个, 逗号分隔
  3911. type: string
  3912. zssymmetrytypedisplay:
  3913. type: string
  3914. zstabledisplay:
  3915. description: 求购信息
  3916. type: string
  3917. type: object
  3918. models.DgFactoryItem:
  3919. properties:
  3920. dgfactoryitemid:
  3921. description: 选择项ID(SEQ_DGFACTORYITEM)
  3922. type: integer
  3923. dgfactoryitemtypeid:
  3924. description: 要素项类型
  3925. type: integer
  3926. dgfactoryitemvalue:
  3927. description: 要素项值(类型为仓库时填写仓库名称)
  3928. type: string
  3929. orderindex:
  3930. description: 顺序
  3931. type: integer
  3932. type: object
  3933. models.Division:
  3934. properties:
  3935. autoid:
  3936. description: 自增ID
  3937. type: integer
  3938. divisioncode:
  3939. description: 行政代码
  3940. type: string
  3941. divisionlevel:
  3942. description: 行政级别
  3943. type: string
  3944. divisionname:
  3945. description: 行政名称
  3946. type: string
  3947. modifierid:
  3948. description: 修改人
  3949. type: integer
  3950. modifytime:
  3951. description: 修改时间
  3952. type: string
  3953. parentcode:
  3954. description: 上级行政代码
  3955. type: string
  3956. pathname:
  3957. description: 路径名称
  3958. type: string
  3959. postcode:
  3960. description: 邮政编码
  3961. type: string
  3962. separablename:
  3963. description: 可拆分的全称
  3964. type: string
  3965. shortcode:
  3966. description: 地区简码
  3967. type: string
  3968. required:
  3969. - autoid
  3970. - divisioncode
  3971. type: object
  3972. models.Enumdicitem:
  3973. properties:
  3974. autoid:
  3975. description: 自增ID
  3976. type: integer
  3977. bankmappedvalue:
  3978. description: 银行服务对应值
  3979. type: string
  3980. enumdiccode:
  3981. description: 所属枚举代码
  3982. type: string
  3983. enumdicid:
  3984. description: 所属枚举ID
  3985. type: integer
  3986. enumdicname:
  3987. description: 枚举项名称
  3988. type: string
  3989. enumitemname:
  3990. description: 枚举项值
  3991. type: integer
  3992. enumitemstatus:
  3993. description: 枚举项状态 - 1.启用 2.不启用
  3994. type: integer
  3995. enumitemvalue:
  3996. description: 通用值 - [币种通用简写]
  3997. type: string
  3998. param1:
  3999. description: 参数1[币种:币种小数位]
  4000. type: string
  4001. param2:
  4002. description: 参数1[币种:币种显示单位]
  4003. type: string
  4004. remark:
  4005. description: 备注
  4006. type: string
  4007. required:
  4008. - autoid
  4009. - enumdiccode
  4010. - enumdicid
  4011. - enumitemname
  4012. type: object
  4013. models.Ermcp2AreaExposure:
  4014. properties:
  4015. areauserid:
  4016. description: 所属机构
  4017. type: integer
  4018. enumdicname:
  4019. description: 单位
  4020. type: string
  4021. futureqty:
  4022. description: 期货套期量
  4023. type: number
  4024. futureqtychange:
  4025. description: 期货变动量 = FutureQty - OriFutureQty
  4026. type: number
  4027. goodsunitid:
  4028. description: 单位ID
  4029. type: integer
  4030. hedgedspotexposure:
  4031. description: 被套期现货敞口量
  4032. type: number
  4033. hedgedspratio:
  4034. description: 套期期现比例 = 期货套期量/被套期现货敞口量
  4035. type: number
  4036. hedgedtotalexposourechange:
  4037. description: 被套期敞口变动量 = HedgedTotalExposure - OriHedgedTotalExposure
  4038. type: number
  4039. hedgedtotalexposure:
  4040. description: 套期敞口量 = 被套期现货敞口量+期货套期量
  4041. type: number
  4042. hedgeplanqty:
  4043. description: 套期计划量
  4044. type: number
  4045. hedgeplanqtychange:
  4046. description: 计划变动量 = HedgePlanQty - OriHedgePlanQty
  4047. type: number
  4048. hedgespotqty:
  4049. description: 被套期现货量
  4050. type: number
  4051. middlegoodsid:
  4052. description: 套保品种
  4053. type: integer
  4054. middlegoodsname:
  4055. description: 套保品种名称
  4056. type: string
  4057. orifutureqty:
  4058. description: 期初期货套期量
  4059. type: number
  4060. orihedgedspotexposure:
  4061. description: 期初被套期现货敞口量
  4062. type: number
  4063. orihedgedtotalexposure:
  4064. description: 期初套期敞口量
  4065. type: number
  4066. orihedgeplanqty:
  4067. description: 期初套期计划量
  4068. type: number
  4069. orihedgespotqty:
  4070. description: 期初被套期现货量
  4071. type: number
  4072. orispotexposure:
  4073. description: 期初现货敞口量
  4074. type: number
  4075. orispotqty:
  4076. description: 期初现货总量
  4077. type: number
  4078. oritotalexposure:
  4079. description: 期初总敞口量
  4080. type: number
  4081. spotexposure:
  4082. description: 现货敞口量
  4083. type: number
  4084. spotqty:
  4085. description: 现货总量
  4086. type: number
  4087. spotqtychange:
  4088. description: 现货变动量 = SpotQty - OriSpotQty
  4089. type: number
  4090. spratio:
  4091. description: 总期现比例 = 期货套期量/现货敞口量
  4092. type: number
  4093. totalexposure:
  4094. description: 总敞口量 = 现货敞口量 + 期货套期量
  4095. type: number
  4096. totalexposurechange:
  4097. description: 总敞口变动量 = TotalExposure - OriTotalExposure
  4098. type: number
  4099. updatetime:
  4100. description: 更新时间 --DATE
  4101. type: string
  4102. type: object
  4103. models.Ermcp2hedgeditem:
  4104. properties:
  4105. accountname:
  4106. description: 套期主体
  4107. type: string
  4108. applyid:
  4109. description: 申请人
  4110. type: integer
  4111. applysrc:
  4112. description: 申请来源 - 1:管理端 2:终端
  4113. type: integer
  4114. areauserid:
  4115. description: 企业ID
  4116. type: integer
  4117. auditid:
  4118. description: 审核人
  4119. type: integer
  4120. auditremark:
  4121. description: 审核备注
  4122. type: string
  4123. auditsrc:
  4124. description: 审核来源 - 1:管理端 2:终端
  4125. type: integer
  4126. audittime:
  4127. description: 审核时间
  4128. type: string
  4129. audittradedate:
  4130. description: 审核交易日(yyyyMMdd)
  4131. type: string
  4132. createtime:
  4133. description: 申请时间
  4134. type: string
  4135. curprice:
  4136. description: 当前市场价
  4137. type: number
  4138. curstock:
  4139. description: 期末库存量 = 采购总量 - 销售总量
  4140. type: number
  4141. deliverygoodsid:
  4142. description: 现货品种ID
  4143. type: integer
  4144. enddate:
  4145. description: 完成日期
  4146. type: string
  4147. endtradedate:
  4148. description: 完成交易日
  4149. type: string
  4150. enumdicname:
  4151. description: 单位
  4152. type: string
  4153. exeamount:
  4154. description: 执行市价总额
  4155. type: number
  4156. exeavgprice:
  4157. description: 执行市场均价= 执行市价总额 / 执行现货量
  4158. type: number
  4159. execontractamount:
  4160. description: 执行定价总额
  4161. type: number
  4162. exeqty:
  4163. description: 执行现货量
  4164. type: number
  4165. exerestamount:
  4166. description: 执行剩余市价总额【现货贸易】
  4167. type: number
  4168. futurefloatpl:
  4169. description: 期货浮动损益
  4170. type: number
  4171. futurehedgepl:
  4172. description: 期货实际损益
  4173. type: number
  4174. futurehedgeplchange:
  4175. description: 期货实际损益变动
  4176. type: number
  4177. futurepl:
  4178. description: 期货套期损益
  4179. type: number
  4180. futureplchange:
  4181. description: 期货套期损益变动
  4182. type: number
  4183. hedgeamount:
  4184. description: 套期市价总额
  4185. type: number
  4186. hedgecontractamount:
  4187. description: 套期定价总额 【定价采购合同】【现货贸易】
  4188. type: number
  4189. hedgeditemid:
  4190. description: 被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)
  4191. type: string
  4192. hedgeditemname:
  4193. description: 项目名称
  4194. type: string
  4195. hedgeditemnum:
  4196. description: 项目编号
  4197. type: string
  4198. hedgeditemstatus:
  4199. description: 项目状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4200. type: integer
  4201. hedgedtype:
  4202. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4203. type: integer
  4204. hedgeqty:
  4205. description: 套期现货量
  4206. type: number
  4207. hedgerate:
  4208. description: 套保比率
  4209. type: number
  4210. hedgerestamount:
  4211. description: 套期剩余市价总额【现货贸易】
  4212. type: number
  4213. hedgesumpl:
  4214. description: 套期汇总损益 = 期货汇总损益 + 现货汇总损益
  4215. type: number
  4216. middlegoodslist:
  4217. description: 套期商品列表
  4218. items:
  4219. $ref: '#/definitions/models.Ermcp2himiddlegoods'
  4220. type: array
  4221. oriavgprice:
  4222. description: 期初市场均价 = 套期市价总额 / 套期现货量
  4223. type: number
  4224. orifuturehedgepl:
  4225. description: 期初期货实际损益
  4226. type: number
  4227. orifuturepl:
  4228. description: 期初期货套期损益
  4229. type: number
  4230. orispothedgepl:
  4231. description: 期初现货实际损益
  4232. type: number
  4233. orispotpl:
  4234. description: 期初现货套期损益
  4235. type: number
  4236. planenddate:
  4237. description: 计划结束日期
  4238. type: string
  4239. planstartdate:
  4240. description: 计划开始日期
  4241. type: string
  4242. remark:
  4243. description: 备注
  4244. type: string
  4245. spotbookamount:
  4246. description: 现货账面总额
  4247. type: number
  4248. spotfloatpl:
  4249. description: 现货浮动损益 =(当前市场价 - 期初市场价)*未执行现货量 * 方向(销售计划 为 -1, 其它为1)
  4250. type: number
  4251. spothedgepl:
  4252. description: 现货套期损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)
  4253. type: number
  4254. spothedgeplchange:
  4255. description: 现货实际损益变动
  4256. type: number
  4257. spotpl:
  4258. description: 现货套期损益 = 现货实际损益 + 现货浮动损益
  4259. type: number
  4260. spotplchange:
  4261. description: 现货套期损益变动
  4262. type: number
  4263. spottradepl:
  4264. description: 现货贸易损益【现货贸易】= 执行合同定价总额 - 套期合同定价总额
  4265. type: number
  4266. sumobspl:
  4267. description: 汇总绝对损益【现货贸易】=现货贸易损益+增值税损益+期货套期损益
  4268. type: number
  4269. tradeuserid:
  4270. description: 交易用户ID
  4271. type: integer
  4272. unexeqty:
  4273. description: 未执行现货量 = 套期现货量 - 执行现货量
  4274. type: number
  4275. updatetime:
  4276. description: 更新时间
  4277. type: string
  4278. vatpl:
  4279. description: 增值税损益【现货贸易】= 现货贸易损益 * (增值税率 /(1+增值税率))
  4280. type: number
  4281. vatrate:
  4282. description: 增值税
  4283. type: number
  4284. wrstandardid:
  4285. description: 现货商品ID
  4286. type: integer
  4287. wrstandardname:
  4288. description: 商品名称
  4289. type: string
  4290. type: object
  4291. models.Ermcp2hedgeditemlink:
  4292. properties:
  4293. areauserid:
  4294. description: 企业ID
  4295. type: integer
  4296. createtime:
  4297. description: '[关联时间]创建时间'
  4298. type: string
  4299. customeruserid:
  4300. description: 对手方 【3:采购合同 4:销售合同】
  4301. type: integer
  4302. deliverygoodsid:
  4303. description: 现货品种ID
  4304. type: integer
  4305. enumdicname:
  4306. description: 单位
  4307. type: string
  4308. hedgeditemid:
  4309. description: 被套期项目ID
  4310. type: integer
  4311. hedgeditemlinkid:
  4312. description: 现货关联表ID(626+Unix秒时间戳(10位)+xxxxxx)
  4313. type: integer
  4314. hedgeditemnum:
  4315. description: 项目编号
  4316. type: string
  4317. hedgedtype:
  4318. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4319. type: integer
  4320. relatedamount:
  4321. description: 市价总额 = 关联数量 * 期初市场价
  4322. type: number
  4323. relatedhedgeplanid:
  4324. description: 关联计划ID 【1:采购计划 2:销售计划】
  4325. type: integer
  4326. relatedqty:
  4327. description: 关联数量
  4328. type: number
  4329. relatedspotcontractid:
  4330. description: 关联合同ID 【3:采购合同 4:销售合同】
  4331. type: integer
  4332. relatedtype:
  4333. description: 关联类型 - 1:套期关联 2:执行关联
  4334. type: integer
  4335. spotgoodsbrandid:
  4336. description: 现货品牌ID
  4337. type: integer
  4338. spotpricedamount:
  4339. description: '[关联定价总额]定价总额'
  4340. type: number
  4341. spotpricedavgprice:
  4342. description: '[关联现货均价]现货均价 = 定价总额 / 关联数量'
  4343. type: number
  4344. spottype:
  4345. description: 现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  4346. type: integer
  4347. tradeuserid:
  4348. description: 交易用户ID
  4349. type: integer
  4350. unexeqty:
  4351. description: 未执行现货量【项目关联时值】
  4352. type: number
  4353. wrstandardid:
  4354. description: 现货商品ID
  4355. type: integer
  4356. wrstandardname:
  4357. description: 现货商品
  4358. type: string
  4359. required:
  4360. - relatedspotcontractid
  4361. type: object
  4362. models.Ermcp2hedgeditemsDetail:
  4363. properties:
  4364. accountname:
  4365. description: 套期主体
  4366. type: string
  4367. areauserid:
  4368. description: 企业ID
  4369. type: integer
  4370. createtime:
  4371. description: '[日期时间]创建时间'
  4372. type: string
  4373. customeruserid:
  4374. description: 对手方 【3:采购合同 4:销售合同】
  4375. type: integer
  4376. deliverygoodsid:
  4377. description: 现货品种ID
  4378. type: integer
  4379. enumdicname:
  4380. description: 单位
  4381. type: string
  4382. hedgeditemid:
  4383. description: 被套期项目ID
  4384. type: string
  4385. hedgeditemspotid:
  4386. description: 现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)
  4387. type: string
  4388. hedgedtype:
  4389. description: 套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4390. type: integer
  4391. hedgeplanno:
  4392. description: 计划编号
  4393. type: string
  4394. middlegoodschange:
  4395. description: 套期商品变化量 = RELATEDQTY * 折算系数 * (1/(1+增值税))
  4396. type: number
  4397. oriavgprice:
  4398. description: 期初市场价[当初市场价]
  4399. type: number
  4400. relatedamount:
  4401. description: 市价总额 = 关联数量 * 期初市场价
  4402. type: number
  4403. relatedhedgeplanid:
  4404. description: 关联计划ID 【1:采购计划 2:销售计划】
  4405. type: integer
  4406. relatedqty:
  4407. description: '[期间变化量]关联数量'
  4408. type: number
  4409. relatedspotcontractid:
  4410. description: 关联合同ID 【3:采购合同 4:销售合同】
  4411. type: integer
  4412. relatedtype:
  4413. description: 关联类型 - 1:套期关联 2:执行关联
  4414. type: integer
  4415. spotgoodsbrandid:
  4416. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID" = 2
  4417. type: integer
  4418. spotpricedamount:
  4419. description: 定价总额
  4420. type: number
  4421. spotpricedavgprice:
  4422. description: 现货均价 = 定价总额 / 关联数量
  4423. type: number
  4424. spottype:
  4425. description: 现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  4426. type: integer
  4427. tradeuserid:
  4428. description: 交易用户ID
  4429. type: integer
  4430. unexeqty:
  4431. description: 未执行现货量 = 套期现货量 - 执行现货量
  4432. type: number
  4433. wrstandardid:
  4434. description: 现货商品ID
  4435. type: integer
  4436. wrstandardname:
  4437. description: 现货商品
  4438. type: string
  4439. type: object
  4440. models.Ermcp2hedgeditemspot:
  4441. properties:
  4442. areauserid:
  4443. description: 企业ID
  4444. type: integer
  4445. createtime:
  4446. description: 创建时间
  4447. type: string
  4448. customeruserid:
  4449. description: 对手方 【3:采购合同 4:销售合同】
  4450. type: integer
  4451. deliverygoodsid:
  4452. description: 现货品种ID
  4453. type: integer
  4454. enumdicname:
  4455. description: 单位
  4456. type: string
  4457. hedgeditemid:
  4458. description: 被套期项目ID
  4459. type: string
  4460. hedgeditemspotid:
  4461. description: 现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)
  4462. type: string
  4463. hedgedtype:
  4464. description: 套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4465. type: integer
  4466. hedgeplanno:
  4467. description: 计划编号
  4468. type: string
  4469. oriavgprice:
  4470. description: 期初市场价[当初市场价]
  4471. type: number
  4472. relatedamount:
  4473. description: 市价总额 = 关联数量 * 期初市场价
  4474. type: number
  4475. relatedhedgeplanid:
  4476. description: 关联计划ID 【1:采购计划 2:销售计划】
  4477. type: integer
  4478. relatedqty:
  4479. description: 关联数量[数量]
  4480. type: number
  4481. relatedspotcontractid:
  4482. description: 关联合同ID 【3:采购合同 4:销售合同】
  4483. type: integer
  4484. relatedtype:
  4485. description: 关联类型 - 1:套期关联 2:执行关联
  4486. type: integer
  4487. spotgoodsbrandid:
  4488. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID" = 2
  4489. type: integer
  4490. spotpricedamount:
  4491. description: 定价总额
  4492. type: number
  4493. spotpricedavgprice:
  4494. description: 现货均价 = 定价总额 / 关联数量
  4495. type: number
  4496. spottype:
  4497. description: 现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  4498. type: integer
  4499. tradeuserid:
  4500. description: 交易用户ID
  4501. type: integer
  4502. wrstandardid:
  4503. description: 现货商品ID
  4504. type: integer
  4505. wrstandardname:
  4506. description: 现货商品
  4507. type: string
  4508. required:
  4509. - hedgeditemid
  4510. type: object
  4511. models.Ermcp2hedgeditemspotDetail:
  4512. properties:
  4513. accountname:
  4514. description: 对手方
  4515. type: string
  4516. areauserid:
  4517. description: 企业ID
  4518. type: integer
  4519. brandname:
  4520. description: 品牌
  4521. type: string
  4522. contractno:
  4523. description: 合同编号
  4524. type: string
  4525. createtime:
  4526. description: 创建时间
  4527. type: string
  4528. customeruserid:
  4529. description: 对手方 【3:采购合同 4:销售合同】
  4530. type: integer
  4531. deliverygoodsid:
  4532. description: 现货品种ID
  4533. type: integer
  4534. enumdicname:
  4535. description: 单位
  4536. type: string
  4537. hedgeditemid:
  4538. description: 被套期项目ID
  4539. type: string
  4540. hedgeditemspotid:
  4541. description: 现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)
  4542. type: string
  4543. hedgedtype:
  4544. description: 套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4545. type: integer
  4546. oriavgprice:
  4547. description: 期初市场价[当初市场价]
  4548. type: number
  4549. relatedamount:
  4550. description: 市价总额 = 关联数量 * 期初市场价
  4551. type: number
  4552. relatedhedgeplanid:
  4553. description: 关联计划ID 【1:采购计划 2:销售计划】
  4554. type: integer
  4555. relatedqty:
  4556. description: 关联数量[数量]
  4557. type: number
  4558. relatedspotcontractid:
  4559. description: 关联合同ID 【3:采购合同 4:销售合同】
  4560. type: integer
  4561. relatedtype:
  4562. description: 关联类型 - 1:套期关联 2:执行关联
  4563. type: integer
  4564. spotgoodsbrandid:
  4565. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID" = 2
  4566. type: integer
  4567. spotpricedamount:
  4568. description: 定价总额[金额]
  4569. type: number
  4570. spotpricedavgprice:
  4571. description: 现货均价 = 定价总额 / 关联数量
  4572. type: number
  4573. spottype:
  4574. description: 现货类型[合同类型] - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  4575. type: integer
  4576. tradeuserid:
  4577. description: 交易用户ID
  4578. type: integer
  4579. wrstandardid:
  4580. description: 现货商品ID
  4581. type: integer
  4582. wrstandardname:
  4583. description: 现货商品
  4584. type: string
  4585. required:
  4586. - hedgeditemid
  4587. type: object
  4588. models.Ermcp2himiddlegoods:
  4589. properties:
  4590. futurehedgeqty:
  4591. description: 期货持仓套期量
  4592. type: number
  4593. hedgeditemid:
  4594. description: 被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)
  4595. type: integer
  4596. hiexpsoure:
  4597. description: 期现敞口量 = 未执行套期量 + 期货持仓套期量
  4598. type: number
  4599. middlegoodscode:
  4600. description: 套保商品代码
  4601. type: string
  4602. middlegoodsid:
  4603. description: 套保品种ID
  4604. type: integer
  4605. middlegoodsname:
  4606. description: 套保商品名称
  4607. type: string
  4608. unexehedgeqty:
  4609. description: 未执行套期量 = 未执行现货量*折算系数* (1/(1+增值税)) * 套期比例(项目上)
  4610. type: number
  4611. required:
  4612. - hedgeditemid
  4613. - middlegoodsid
  4614. type: object
  4615. models.Ermcp2stockspotchangelog:
  4616. properties:
  4617. accountname:
  4618. description: 套期主体
  4619. type: string
  4620. aftervalue:
  4621. description: 现货量
  4622. type: number
  4623. beforevalue:
  4624. description: 变更前现货量
  4625. type: number
  4626. contractno:
  4627. description: '[编号]现货合同编号'
  4628. type: string
  4629. contracttype:
  4630. description: 现货合同类型 - 1:采购 -1:销售
  4631. type: integer
  4632. createtime:
  4633. description: 创建时间
  4634. type: string
  4635. customerusername:
  4636. description: 对手方
  4637. type: string
  4638. deliverygoodsid:
  4639. description: 现货品种ID
  4640. type: integer
  4641. exetype:
  4642. description: 执行类型 - 1:采购合同 2:销售合同 3:生产入库 4:生产出库
  4643. type: integer
  4644. logid:
  4645. description: 流水ID(604+Unix秒时间戳(10位)+xxxxxx)
  4646. type: string
  4647. logvalue:
  4648. description: '[期间变化量]现货量变更值'
  4649. type: number
  4650. middlegoodschange:
  4651. description: 套期商品变化量 = LogValue * 折算系数 * (1/(1+增值税))
  4652. type: number
  4653. operatelogtype:
  4654. description: 操作流水类型 - 2:点价数量 21:正常完结(合同) 22:异常终止(合同) 24:采购入库 25:销售出库 26:生产入库
  4655. 27:生产出库
  4656. type: integer
  4657. relatedid:
  4658. description: 现货合同ID
  4659. type: integer
  4660. spotgoodsbrandid:
  4661. description: 现货品牌ID
  4662. type: integer
  4663. tradedate:
  4664. description: 交易日(yyyyMMdd)
  4665. type: string
  4666. userid:
  4667. description: 机构ID
  4668. type: integer
  4669. warehouseinfoid:
  4670. description: 仓库ID
  4671. type: integer
  4672. wrfactortypeid:
  4673. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  4674. type: integer
  4675. wrstandardid:
  4676. description: 现货商品ID
  4677. type: integer
  4678. wrstandardname:
  4679. description: 商品名称
  4680. type: string
  4681. type: object
  4682. models.Ermcp3AreaSpot:
  4683. properties:
  4684. areauserid:
  4685. description: 所属机构
  4686. type: integer
  4687. convertratio:
  4688. description: 套保系数
  4689. type: number
  4690. decreaseqty:
  4691. description: 减少数量=-(销售已定价数量+采购计划数量)
  4692. type: number
  4693. enumdicname:
  4694. description: 单位名称
  4695. type: string
  4696. increaseqty:
  4697. description: 增加数量=销售计划数量+采购已定价数量
  4698. type: number
  4699. oritoalspotqty:
  4700. description: 昨日数量
  4701. type: number
  4702. totalspotqty:
  4703. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  4704. type: number
  4705. unitid:
  4706. description: 现货商品单位id
  4707. type: integer
  4708. updatetime:
  4709. description: 更新时间
  4710. type: string
  4711. wrstandardcode:
  4712. description: 现货商品代码
  4713. type: string
  4714. wrstandardid:
  4715. description: 现货商品ID(SEQ_WRSTANDARD)
  4716. type: integer
  4717. wrstandardname:
  4718. description: 现货商品名称
  4719. type: string
  4720. type: object
  4721. models.Ermcp3AreaSpotDetail:
  4722. properties:
  4723. contracttype:
  4724. description: 合同类型 1-采购 -1-销售
  4725. type: integer
  4726. createtime:
  4727. description: 创建时间
  4728. type: string
  4729. enumdicname:
  4730. description: 现货商品单位名称
  4731. type: string
  4732. logtype:
  4733. description: 记录类型 1-套保 2-现货合同
  4734. type: integer
  4735. qty:
  4736. description: 数量
  4737. type: number
  4738. recordname:
  4739. description: 类型名称
  4740. type: string
  4741. relatedid:
  4742. description: 套保计划ID/现货合同ID
  4743. type: string
  4744. relatedno:
  4745. description: 编号
  4746. type: string
  4747. strtime:
  4748. description: 时间
  4749. type: string
  4750. wrstandardcode:
  4751. description: 现货商品代码
  4752. type: string
  4753. wrstandardid:
  4754. description: 现货商品ID(SEQ_WRSTANDARD)
  4755. type: integer
  4756. wrstandardname:
  4757. description: 现货商品名称
  4758. type: string
  4759. type: object
  4760. models.Ermcp3AreaSpotPLReport:
  4761. properties:
  4762. accountid:
  4763. description: 期货账户ID (作废, 默认为0)
  4764. type: integer
  4765. accountname:
  4766. description: 机构名称
  4767. type: string
  4768. actualpl:
  4769. description: 现货损益
  4770. type: number
  4771. areauserid:
  4772. description: 所属机构\交易用户ID
  4773. type: integer
  4774. begindate:
  4775. description: 开始交易日
  4776. type: string
  4777. biztype:
  4778. description: 业务类型 - 1:套保 2:套利
  4779. type: integer
  4780. brandname:
  4781. description: 品牌名称
  4782. type: string
  4783. curamount:
  4784. description: 期末额
  4785. type: number
  4786. curaverageprice:
  4787. description: 期初均价
  4788. type: number
  4789. curbuyamount:
  4790. description: 期末采购总额
  4791. type: number
  4792. curbuyqty:
  4793. description: 期末采购总量
  4794. type: number
  4795. curmarketvalue:
  4796. description: 期初均价
  4797. type: number
  4798. curqty:
  4799. description: 期末量
  4800. type: number
  4801. currencyid:
  4802. description: 结算币种ID【原值】
  4803. type: integer
  4804. currencyname:
  4805. description: 币种名称
  4806. type: string
  4807. cursellamount:
  4808. description: 期末销售总额
  4809. type: number
  4810. cursellqty:
  4811. description: 期末销售总量
  4812. type: number
  4813. curspotprice:
  4814. description: 期初均价
  4815. type: number
  4816. cycletime:
  4817. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4818. type: string
  4819. cycletype:
  4820. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4821. type: integer
  4822. deliverygoodscode:
  4823. description: 现货品种代码
  4824. type: string
  4825. deliverygoodsid:
  4826. description: 现货品种ID
  4827. type: integer
  4828. deliverygoodsname:
  4829. description: 现货品种名称
  4830. type: string
  4831. enddate:
  4832. description: 结束交易日
  4833. type: string
  4834. enumdicname:
  4835. description: 现货品种单位名称(作废)
  4836. type: string
  4837. floatpl:
  4838. description: 期初均价
  4839. type: number
  4840. goodsunitid:
  4841. description: 现货品种单位id(作废)
  4842. type: integer
  4843. oriamount:
  4844. description: 期初额
  4845. type: number
  4846. oriaverageprice:
  4847. description: 期初均价
  4848. type: number
  4849. oribuyamount:
  4850. description: 期初采购总额
  4851. type: number
  4852. oribuyqty:
  4853. description: 期初采购总量
  4854. type: number
  4855. oriqty:
  4856. description: 期初量
  4857. type: number
  4858. orisellamount:
  4859. description: 期初销售总额
  4860. type: number
  4861. orisellqty:
  4862. description: 期初销售总量
  4863. type: number
  4864. reckondate:
  4865. description: 日照时期(yyyyMMdd)
  4866. type: string
  4867. spotgoodsbrandid:
  4868. description: 现货品牌ID
  4869. type: integer
  4870. todaybuyamount:
  4871. description: 今日采购额(今采购额)
  4872. type: number
  4873. todaybuyaverageprice:
  4874. description: 期初均价
  4875. type: number
  4876. todaybuyqty:
  4877. description: 今日采购量(今采购量)
  4878. type: number
  4879. todayinqty:
  4880. description: 今日入库量(今入库量)
  4881. type: number
  4882. todayoutqty:
  4883. description: 今日出库量(今出库量)
  4884. type: number
  4885. todaysellamount:
  4886. description: 今日销售额(今销售额)
  4887. type: number
  4888. todaysellaverageprice:
  4889. description: 期初均价
  4890. type: number
  4891. todaysellqty:
  4892. description: 今日销售量(今销售量)
  4893. type: number
  4894. unitid:
  4895. description: 品类单位id
  4896. type: integer
  4897. unitidname:
  4898. description: 品类单位名称
  4899. type: string
  4900. updatetime:
  4901. description: 更新时间
  4902. type: string
  4903. wrfactortypeid:
  4904. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  4905. type: integer
  4906. wrstandardcode:
  4907. description: 现货商品(品类)代码
  4908. type: string
  4909. wrstandardid:
  4910. description: 现货品类ID
  4911. type: integer
  4912. wrstandardname:
  4913. description: 现货商品(品类)名称
  4914. type: string
  4915. type: object
  4916. models.Ermcp3AreaStock:
  4917. properties:
  4918. brandname:
  4919. description: 品牌名称
  4920. type: string
  4921. curstock:
  4922. description: 期末库存量(今日量)
  4923. type: number
  4924. deliverygoodscode:
  4925. description: 现货品种代码
  4926. type: string
  4927. deliverygoodsid:
  4928. description: 现货品种id
  4929. type: integer
  4930. deliverygoodsname:
  4931. description: 现货品种名称
  4932. type: string
  4933. enumdicname:
  4934. description: 单位名称
  4935. type: string
  4936. goodsunitid:
  4937. description: 现货商品单位id
  4938. type: integer
  4939. oristock:
  4940. description: 期初库存量(昨日量)
  4941. type: number
  4942. spotgoodsbrandid:
  4943. description: 现货品牌ID
  4944. type: integer
  4945. todaybuyinqty:
  4946. description: 今日采购入库量
  4947. type: number
  4948. todayproduceinqty:
  4949. description: 今日生产入库量
  4950. type: number
  4951. todayproduceoutqty:
  4952. description: 今日生产出库量
  4953. type: number
  4954. todayselloutqty:
  4955. description: 今日销售出库量
  4956. type: number
  4957. unitid:
  4958. description: 单位id
  4959. type: integer
  4960. updatetime:
  4961. description: 更新时间
  4962. type: string
  4963. userid:
  4964. description: 机构ID
  4965. type: integer
  4966. username:
  4967. description: 机构名称
  4968. type: string
  4969. warehousecode:
  4970. description: 仓库代码
  4971. type: string
  4972. warehouseinfoid:
  4973. description: 仓库ID
  4974. type: string
  4975. warehousename:
  4976. description: 仓库名称
  4977. type: string
  4978. warehousetype:
  4979. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4980. type: integer
  4981. wrstandardcode:
  4982. description: 品类代码
  4983. type: string
  4984. wrstandardid:
  4985. description: 品类ID
  4986. type: string
  4987. wrstandardname:
  4988. description: 品类名称
  4989. type: string
  4990. required:
  4991. - userid
  4992. type: object
  4993. models.Ermcp3AreaStockApply:
  4994. properties:
  4995. applyid:
  4996. description: 申请人
  4997. type: integer
  4998. applyname:
  4999. description: 申请人名称
  5000. type: string
  5001. applyremark:
  5002. description: 申请备注
  5003. type: string
  5004. applysrc:
  5005. description: 申请来源 - 1:管理端 2:终端
  5006. type: integer
  5007. applystatus:
  5008. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  5009. type: integer
  5010. applytime:
  5011. description: 申请时间
  5012. type: string
  5013. auditid:
  5014. description: 审核人
  5015. type: integer
  5016. auditname:
  5017. description: 审核人名称
  5018. type: string
  5019. auditremark:
  5020. description: 审核备注
  5021. type: string
  5022. auditsrc:
  5023. description: 审核来源 - 1:管理端 2:终端
  5024. type: integer
  5025. audittime:
  5026. description: 审核时间
  5027. type: string
  5028. audittradedate:
  5029. description: 审核交易日(yyyyMMdd)
  5030. type: string
  5031. brandname:
  5032. description: 品牌名称
  5033. type: string
  5034. buynickname:
  5035. description: 采购方昵称
  5036. type: string
  5037. buyuserid:
  5038. description: 采购方userid
  5039. type: integer
  5040. buyusername:
  5041. description: 采购方名称
  5042. type: string
  5043. contractno:
  5044. description: 合同编号
  5045. type: string
  5046. contractqty:
  5047. description: 合同量
  5048. type: number
  5049. contracttype:
  5050. description: 现货合同类型 - 1:采购 -1:销售
  5051. type: integer
  5052. deliverygoodscode:
  5053. description: 现货品种代码
  5054. type: string
  5055. deliverygoodsid:
  5056. description: 现货品种id
  5057. type: integer
  5058. deliverygoodsname:
  5059. description: 现货品种名称
  5060. type: string
  5061. detailjson:
  5062. description: 明细数据
  5063. type: string
  5064. enumdicname:
  5065. description: 现货商品单位名称
  5066. type: string
  5067. inoutapplyid:
  5068. description: 申请ID(607+Unix秒时间戳(10位)+xxxxxx)
  5069. type: string
  5070. inouttype:
  5071. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  5072. type: integer
  5073. pricetype:
  5074. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  5075. type: integer
  5076. qty:
  5077. description: 数量
  5078. type: number
  5079. sellnickname:
  5080. description: 销售方昵称
  5081. type: string
  5082. selluserid:
  5083. description: 销售方userid
  5084. type: integer
  5085. sellusername:
  5086. description: 销售方名称
  5087. type: string
  5088. spotcontractid:
  5089. description: 关联现货合同ID
  5090. type: string
  5091. spotgoodsbrandid:
  5092. description: 现货品牌ID
  5093. type: integer
  5094. unitid:
  5095. description: 单位id
  5096. type: integer
  5097. userid:
  5098. description: 机构ID
  5099. type: integer
  5100. warehousecode:
  5101. description: 仓库代码
  5102. type: string
  5103. warehouseinfoid:
  5104. description: 现货仓库ID
  5105. type: string
  5106. warehousename:
  5107. description: 仓库名称
  5108. type: string
  5109. warehousetype:
  5110. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  5111. type: integer
  5112. wrstandardcode:
  5113. description: 品类代码
  5114. type: string
  5115. wrstandardid:
  5116. description: 品类ID
  5117. type: integer
  5118. wrstandardname:
  5119. description: 品类名称
  5120. type: string
  5121. type: object
  5122. models.Ermcp3AreaStockApplySum:
  5123. properties:
  5124. brandname:
  5125. description: 品牌名称
  5126. type: string
  5127. inouttype:
  5128. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  5129. type: integer
  5130. spotcontractid:
  5131. description: 关联现货合同ID
  5132. type: string
  5133. spotgoodsbrandid:
  5134. description: 品牌id
  5135. type: integer
  5136. totalqty:
  5137. description: 总数量
  5138. type: number
  5139. wrstandardid:
  5140. description: 品类id
  5141. type: integer
  5142. wrstandardname:
  5143. description: 品类名称
  5144. type: string
  5145. type: object
  5146. models.Ermcp3AreaStockReportEx:
  5147. properties:
  5148. begindate:
  5149. description: 开始交易日
  5150. type: string
  5151. brandname:
  5152. description: 品牌名称
  5153. type: string
  5154. curstock:
  5155. description: 期末库存量
  5156. type: number
  5157. cycletime:
  5158. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5159. type: string
  5160. cycletype:
  5161. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5162. type: integer
  5163. deliverygoodscode:
  5164. description: 现货品种代码
  5165. type: string
  5166. deliverygoodsid:
  5167. description: 现货品种id
  5168. type: integer
  5169. deliverygoodsname:
  5170. description: 现货品种名称
  5171. type: string
  5172. diffqty:
  5173. description: 库存变化量 = 期末 - 期初
  5174. type: number
  5175. enddate:
  5176. description: 结束交易日
  5177. type: string
  5178. enumdicname:
  5179. description: 单位名称
  5180. type: string
  5181. goodsunitid:
  5182. description: 现货单位id
  5183. type: integer
  5184. oristock:
  5185. description: 期初库存量
  5186. type: number
  5187. reckondate:
  5188. description: 日照时期(yyyyMMdd)
  5189. type: string
  5190. spotgoodsbrandid:
  5191. description: 现货品牌ID
  5192. type: integer
  5193. todaybuyinqty:
  5194. description: 今采购入库量
  5195. type: number
  5196. todayproduceinqty:
  5197. description: 今内部入库量
  5198. type: number
  5199. todayproduceoutqty:
  5200. description: 今内部出库量
  5201. type: number
  5202. todayselloutqty:
  5203. description: 今销售出库量
  5204. type: number
  5205. unbuyinqty:
  5206. description: 采购未入库量(数据库未找到相关字段?)
  5207. type: number
  5208. unitid:
  5209. description: 品类单位id
  5210. type: integer
  5211. unselloutqty:
  5212. description: 销售未出库量(数据库未找到相关字段?)
  5213. type: number
  5214. updatetime:
  5215. description: 更新时间
  5216. type: string
  5217. userid:
  5218. description: 机构ID
  5219. type: integer
  5220. username:
  5221. description: 机构名称
  5222. type: string
  5223. warehousecode:
  5224. description: 仓库代码
  5225. type: string
  5226. warehouseinfoid:
  5227. description: 仓库ID
  5228. type: string
  5229. warehousename:
  5230. description: 仓库名称
  5231. type: string
  5232. warehousetype:
  5233. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  5234. type: integer
  5235. wrstandardcode:
  5236. description: 品类代码
  5237. type: string
  5238. wrstandardid:
  5239. description: 品类ID
  5240. type: integer
  5241. wrstandardname:
  5242. description: 品类名称
  5243. type: string
  5244. type: object
  5245. models.Ermcp3ArealSumPL:
  5246. properties:
  5247. accountname:
  5248. description: 机构名称
  5249. type: string
  5250. areauserid:
  5251. description: 所属机构\交易用户ID
  5252. type: integer
  5253. begindate:
  5254. description: 开始交易日
  5255. type: string
  5256. currencyid:
  5257. description: 结算币种ID
  5258. type: integer
  5259. currencyname:
  5260. description: 币种名称
  5261. type: string
  5262. cycletime:
  5263. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5264. type: string
  5265. cycletype:
  5266. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5267. type: integer
  5268. enddate:
  5269. description: 结束交易日
  5270. type: string
  5271. enumdicname:
  5272. description: 单位名称(套保品种)
  5273. type: string
  5274. futureactualpl:
  5275. description: 期货损益
  5276. type: number
  5277. futurefloatpl:
  5278. description: 期货浮动损益
  5279. type: number
  5280. futurespotratio:
  5281. description: 期现比例 = 期货头寸总量 / 现货头寸总量
  5282. type: number
  5283. goodsunitid:
  5284. description: 套保品种单位id
  5285. type: integer
  5286. hedgeexposurepl:
  5287. description: 套保敞口损益
  5288. type: number
  5289. middlegoodscode:
  5290. description: 套保品种代码
  5291. type: string
  5292. middlegoodsid:
  5293. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  5294. type: integer
  5295. middlegoodsname:
  5296. description: 套保品种名称
  5297. type: string
  5298. reckondate:
  5299. description: 日照时期(yyyyMMdd)
  5300. type: string
  5301. spotactualpl:
  5302. description: 现货损益
  5303. type: number
  5304. spotfloatpl:
  5305. description: 现货浮动损益
  5306. type: number
  5307. sumactualpl:
  5308. description: 实际损益 = (ActualPL + FutureActualPL)
  5309. type: number
  5310. sumpl:
  5311. description: 总敞口损益 | 汇总损益
  5312. type: number
  5313. totalfutureqty:
  5314. description: 期货头寸总量
  5315. type: number
  5316. totalneedhedgeqty:
  5317. description: 应套保总量
  5318. type: number
  5319. totalspotqty:
  5320. description: 现货头寸总量
  5321. type: number
  5322. updatetime:
  5323. description: 更新时间
  5324. type: string
  5325. type: object
  5326. models.Ermcp3Brand:
  5327. properties:
  5328. areauserid:
  5329. description: 用户id
  5330. type: integer
  5331. brandid:
  5332. description: 品牌id
  5333. type: integer
  5334. brandname:
  5335. description: 品牌名称
  5336. type: string
  5337. deliverygoodsid:
  5338. description: 品种ID
  5339. type: integer
  5340. isvalid:
  5341. description: 是否有效
  5342. type: integer
  5343. type: object
  5344. models.Ermcp3Contract:
  5345. properties:
  5346. accountid:
  5347. description: 期货账户id
  5348. type: string
  5349. amount:
  5350. description: 金额 [1:一口价、3:暂定价]
  5351. type: number
  5352. attachment:
  5353. description: 附件
  5354. type: string
  5355. auditremark:
  5356. description: 审核意见
  5357. type: string
  5358. audittime:
  5359. description: 审核时间
  5360. type: string
  5361. biztype:
  5362. description: 业务类型 1-套保 2-套利
  5363. type: integer
  5364. brandname:
  5365. description: 品牌名称
  5366. type: string
  5367. buynickname:
  5368. description: 销售方昵称
  5369. type: string
  5370. buyuserid:
  5371. description: 采购方ID
  5372. type: integer
  5373. buyusername:
  5374. description: 采购方名称
  5375. type: string
  5376. contracctstatus:
  5377. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5378. type: integer
  5379. contractmargin:
  5380. description: 合同保证金
  5381. type: number
  5382. contractno:
  5383. description: 现货合同编号
  5384. type: string
  5385. contracttype:
  5386. description: 现货合同类型 - 1:采购 -1:销售
  5387. type: integer
  5388. convertfactor:
  5389. description: 标仓系数(品类)
  5390. type: number
  5391. createtime:
  5392. description: 创建时间
  5393. type: string
  5394. currencyid:
  5395. description: 币种id
  5396. type: integer
  5397. currencyname:
  5398. description: 币种名称
  5399. type: string
  5400. deliveryenddate:
  5401. description: 交收期(结束)
  5402. type: string
  5403. deliverygoodscode:
  5404. description: 现货品种代码
  5405. type: string
  5406. deliverygoodsid:
  5407. description: 现货品种ID
  5408. type: integer
  5409. deliverygoodsname:
  5410. description: 现货品种名称
  5411. type: string
  5412. deliverystartdate:
  5413. description: 交收期(开始)
  5414. type: string
  5415. enddate:
  5416. description: 点价结束日期 [2:点价 3:暂定价]
  5417. type: string
  5418. enumdicname:
  5419. description: 单位名称
  5420. type: string
  5421. goodscode:
  5422. description: 点价合约代码
  5423. type: string
  5424. goodsid:
  5425. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  5426. type: integer
  5427. goodsname:
  5428. description: 点价商品名称
  5429. type: string
  5430. margin:
  5431. description: 当前保证金
  5432. type: number
  5433. meruserid:
  5434. description: 跟单员id
  5435. type: integer
  5436. meruserlogincode:
  5437. description: 跟单员登录代码
  5438. type: string
  5439. merusername:
  5440. description: 跟单员名称
  5441. type: string
  5442. pointdesc:
  5443. description: 点价备注
  5444. type: string
  5445. price:
  5446. description: 价格\暂定价 [1:一口价、3:暂定价]
  5447. type: number
  5448. pricemove:
  5449. description: 升贴水 [2:点价 3:暂定价]
  5450. type: number
  5451. pricetype:
  5452. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  5453. type: integer
  5454. producttype:
  5455. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  5456. type: integer
  5457. qty:
  5458. description: 数量
  5459. type: number
  5460. remark:
  5461. description: 备注
  5462. type: string
  5463. saleuserid:
  5464. description: 业务员id
  5465. type: integer
  5466. saleuserlogincode:
  5467. description: 业务员登录代码
  5468. type: string
  5469. saleusername:
  5470. description: 业务员名称
  5471. type: string
  5472. sellnickname:
  5473. description: 采购方昵称
  5474. type: string
  5475. selluserid:
  5476. description: 销售方ID
  5477. type: integer
  5478. sellusername:
  5479. description: 销售方名称
  5480. type: string
  5481. spotcontractid:
  5482. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  5483. type: string
  5484. spotgoodsbrandid:
  5485. description: 现货品牌ID(DGFactoryItem表的ID)
  5486. type: integer
  5487. spotgoodsdesc:
  5488. description: 商品型号
  5489. type: string
  5490. startdate:
  5491. description: 点价开始日期 [2:点价 3:暂定价]
  5492. type: string
  5493. subjectid:
  5494. description: 交易主体ID
  5495. type: integer
  5496. subjectname:
  5497. description: 交易主体名称
  5498. type: string
  5499. tradeuserid:
  5500. description: 交易员id
  5501. type: integer
  5502. tradeuserlogincode:
  5503. description: 交易员登录代码
  5504. type: string
  5505. tradeusername:
  5506. description: 交易员名称
  5507. type: string
  5508. unitid:
  5509. description: 单位id(取品类上的单位id)
  5510. type: integer
  5511. updatetime:
  5512. description: 更新时间
  5513. type: string
  5514. userid:
  5515. description: 所属机构ID
  5516. type: integer
  5517. vatrate:
  5518. description: 增值税率
  5519. type: number
  5520. wrstandardcode:
  5521. description: 品类代码
  5522. type: string
  5523. wrstandardid:
  5524. description: 品类ID
  5525. type: integer
  5526. wrstandardname:
  5527. description: 品类名称
  5528. type: string
  5529. type: object
  5530. models.Ermcp3ContractMiddleGoodsCfg:
  5531. properties:
  5532. agreeunit:
  5533. description: 合约乘数
  5534. type: number
  5535. convertratio:
  5536. description: 期货品种系数
  5537. type: number
  5538. covertqty:
  5539. description: 折算手数 =【待点价量 / (合约乘数*期货品种系数) 】
  5540. type: integer
  5541. middlegoodsid:
  5542. description: 套保品种ID
  5543. type: integer
  5544. middlegoodspricedqty3:
  5545. description: 已定价量(套保品种应套保量) = MiddleGoodsPricedQty2 * 套保比率
  5546. example: "0"
  5547. type: string
  5548. pendingpricedqty:
  5549. description: 待点价量
  5550. example: "0"
  5551. type: string
  5552. relatedmiddlegoodsqty:
  5553. description: 已关联量(套保品种-期货)
  5554. example: "0"
  5555. type: string
  5556. spotcontractid:
  5557. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  5558. type: string
  5559. type: object
  5560. models.Ermcp3ExposureContractDetail:
  5561. properties:
  5562. biztype:
  5563. description: 业务类型 1-套保 2-套利
  5564. type: integer
  5565. brandname:
  5566. description: 品牌名称
  5567. type: string
  5568. buyuserid:
  5569. description: 采购方id
  5570. type: integer
  5571. buyusername:
  5572. description: 采购方名称
  5573. type: string
  5574. contractno:
  5575. description: 合同编号
  5576. type: string
  5577. contracttype:
  5578. description: 现货合同类型 - 1:采购 -1:销售
  5579. type: integer
  5580. convertfactor:
  5581. description: 标仓系数
  5582. type: number
  5583. convertratio:
  5584. description: 折算系数(套保品种)
  5585. type: number
  5586. curqty:
  5587. description: 今定价量
  5588. type: number
  5589. deliverygoodscode:
  5590. description: 现货品种代码
  5591. type: string
  5592. deliverygoodsid:
  5593. description: 现货品种id
  5594. type: integer
  5595. deliverygoodsname:
  5596. description: 现货品种名称
  5597. type: string
  5598. diffhedgeqty:
  5599. description: 套保变动量
  5600. type: number
  5601. diffneedhedgeqty:
  5602. description: 应套保变动量
  5603. type: number
  5604. diffqty:
  5605. description: 套保品种今变动量
  5606. type: number
  5607. enumdicname:
  5608. description: 单位名称
  5609. type: string
  5610. mgunitname:
  5611. description: 套保品种单位名称
  5612. type: string
  5613. middlegoodscode:
  5614. description: 套保品种代码
  5615. type: string
  5616. middlegoodsid:
  5617. description: 套保品种id
  5618. type: integer
  5619. middlegoodsname:
  5620. description: 套保品种名称
  5621. type: string
  5622. needarbitrageratio:
  5623. description: 应套利比例
  5624. type: number
  5625. needhedgeratio:
  5626. description: 应套保比例
  5627. type: number
  5628. pricedqty:
  5629. description: 已定价量
  5630. type: number
  5631. qty:
  5632. description: 合同量
  5633. type: number
  5634. reckondate:
  5635. description: 交易日(reckondate)
  5636. type: string
  5637. selluserid:
  5638. description: 销售方id
  5639. type: integer
  5640. sellusername:
  5641. description: 销售方名称
  5642. type: string
  5643. spotcontractid:
  5644. description: 合同id
  5645. type: string
  5646. todaypricedqty:
  5647. description: 今定价量
  5648. type: number
  5649. tradedate:
  5650. description: 交易日
  5651. type: string
  5652. unitid:
  5653. description: 品类单位id
  5654. type: integer
  5655. userid:
  5656. description: 机构id
  5657. type: integer
  5658. username:
  5659. description: 交易用户
  5660. type: string
  5661. wrstandardcode:
  5662. description: 现货商品代码
  5663. type: string
  5664. wrstandardid:
  5665. description: 现货商品id
  5666. type: integer
  5667. wrstandardname:
  5668. description: 现货商品名称
  5669. type: string
  5670. type: object
  5671. models.Ermcp3ExposureDetail:
  5672. properties:
  5673. areauserid:
  5674. description: 机构ID
  5675. type: integer
  5676. changeQty:
  5677. description: 套保变动量
  5678. type: number
  5679. contracttype:
  5680. description: 现货合同类型 - 1:采购 -1:销售
  5681. type: integer
  5682. convertfactor:
  5683. description: 标仓系数
  5684. type: number
  5685. convertratio:
  5686. description: 折算系数
  5687. type: number
  5688. createtime:
  5689. description: 时间
  5690. type: string
  5691. enumdicname:
  5692. description: 现货商品单位名称
  5693. type: string
  5694. logtype:
  5695. description: 类型 - 1:套保计划 2:现货合同
  5696. type: integer
  5697. mgunitid:
  5698. description: 套保品种单位id
  5699. type: integer
  5700. mgunitidname:
  5701. description: 套保品种单位名称
  5702. type: string
  5703. middlegoodsId:
  5704. description: 套保商品id
  5705. type: integer
  5706. middlegoodscode:
  5707. description: 套保商品代码
  5708. type: string
  5709. middlegoodsname:
  5710. description: 套保商品名称
  5711. type: string
  5712. qty:
  5713. description: 数量
  5714. type: number
  5715. relateNo:
  5716. description: 现货合同/套保计划编号
  5717. type: string
  5718. unitid:
  5719. description: 现货商品单位id
  5720. type: integer
  5721. wrstandardcode:
  5722. description: 现货商品代码
  5723. type: string
  5724. wrstandardid:
  5725. description: 现货商品ID(SEQ_WRSTANDARD)
  5726. type: integer
  5727. wrstandardname:
  5728. description: 现货商品名称
  5729. type: string
  5730. type: object
  5731. models.Ermcp3ExposureFutuDetail:
  5732. properties:
  5733. accountid:
  5734. description: 交易账户id
  5735. type: integer
  5736. accountname:
  5737. description: 交易账户
  5738. type: string
  5739. begindate:
  5740. description: 开始交易日
  5741. type: string
  5742. buyorsell:
  5743. description: 方向 0-买 1-卖
  5744. type: integer
  5745. diffmgqty:
  5746. description: 套保品种今变化量
  5747. type: number
  5748. diffneedqty:
  5749. description: 应套保总量变化量
  5750. type: number
  5751. difftradeqty:
  5752. description: 交易品种今变化量
  5753. type: number
  5754. enddate:
  5755. description: 结束交易日
  5756. type: string
  5757. enumdicname:
  5758. description: 单位名称
  5759. type: string
  5760. goodscode:
  5761. description: 商品代码
  5762. type: string
  5763. goodsid:
  5764. description: 商品id
  5765. type: integer
  5766. goodsname:
  5767. description: 商品名称
  5768. type: string
  5769. holdqty:
  5770. description: 期末持仓量
  5771. type: number
  5772. middlegoodscode:
  5773. description: 套保商品代码
  5774. type: string
  5775. middlegoodsid:
  5776. description: 套保商品id
  5777. type: integer
  5778. middlegoodsname:
  5779. description: 套保商品名称
  5780. type: string
  5781. oriholdqty:
  5782. description: 期初持仓量
  5783. type: number
  5784. reckondate:
  5785. description: 交易日(RECKONDATE)
  5786. type: string
  5787. todaycloseqty:
  5788. description: 今平仓量
  5789. type: number
  5790. todayopenqty:
  5791. description: 今开仓量
  5792. type: number
  5793. tradedate:
  5794. description: 交易日(RECKONDATE)
  5795. type: string
  5796. username:
  5797. description: 用户名称(交易用户)
  5798. type: string
  5799. type: object
  5800. models.Ermcp3ExposureHedgeplanDetail:
  5801. properties:
  5802. biztype:
  5803. description: 业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利
  5804. type: integer
  5805. changqty:
  5806. description: 应套保总量变化量
  5807. type: number
  5808. contracttype:
  5809. description: 计划类型 - 1:采购 -1:销售
  5810. type: integer
  5811. convertratio:
  5812. description: 折算系数(套保品种)
  5813. type: number
  5814. deliverygoodscode:
  5815. description: 现货商品代码
  5816. type: string
  5817. deliverygoodsid:
  5818. description: 现货商品id
  5819. type: integer
  5820. deliverygoodsname:
  5821. description: 现货商吕名称
  5822. type: string
  5823. dgunitid:
  5824. description: 现货商品单位id
  5825. type: integer
  5826. dgunitidname:
  5827. description: 单位名称(现货商品)
  5828. type: string
  5829. diffqty:
  5830. description: 套保品种今变动量
  5831. type: number
  5832. enumdicname:
  5833. description: 单位名称(品类)
  5834. type: string
  5835. hedgeplanid:
  5836. description: 套保计划id
  5837. type: string
  5838. hedgeplanno:
  5839. description: 套保计划名称
  5840. type: string
  5841. hedgeplanstatus:
  5842. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5843. type: integer
  5844. mgunitidname:
  5845. description: 单位名称(套保商品)
  5846. type: string
  5847. middlegoodscode:
  5848. description: 套保品种代码
  5849. type: string
  5850. middlegoodsid:
  5851. description: 套保品种id
  5852. type: integer
  5853. middlegoodsname:
  5854. description: 套保品种名称
  5855. type: string
  5856. needarbitrageratio:
  5857. description: 应套利比例
  5858. type: number
  5859. needhedgeratio:
  5860. description: 应套保比例
  5861. type: number
  5862. pricedqty:
  5863. description: 已定价量
  5864. type: number
  5865. qty:
  5866. description: 合同量
  5867. type: number
  5868. reckondate:
  5869. description: 交易日(reckondate)
  5870. type: string
  5871. tradedate:
  5872. description: 交易日(登记日)
  5873. type: string
  5874. unitid:
  5875. description: 品类单位id
  5876. type: integer
  5877. userid:
  5878. description: 机构id
  5879. type: integer
  5880. wrstandardcode:
  5881. description: 品类代码
  5882. type: string
  5883. wrstandardid:
  5884. description: 品类id
  5885. type: integer
  5886. wrstandardname:
  5887. description: 品类名称
  5888. type: string
  5889. type: object
  5890. models.Ermcp3ExposureParamChLog:
  5891. properties:
  5892. accountid:
  5893. description: 期货账户ID (作废, 默认为0)
  5894. type: integer
  5895. aftervalue:
  5896. description: 应套保\套利量变更后(调整后应套保总量)
  5897. type: number
  5898. areauserid:
  5899. description: 所属机构\交易用户ID
  5900. type: integer
  5901. beforevalue:
  5902. description: 应套保\套利量变更前(调整前应套保总量)
  5903. type: number
  5904. begindate:
  5905. description: 开始交易日
  5906. type: string
  5907. changelogtype:
  5908. description: 变更流水类型 - 1:套保比率变更 2:套利比率变更
  5909. type: integer
  5910. curvalue:
  5911. description: 当前套保\套利量(套保总量|套利总量)
  5912. type: number
  5913. diffvalue:
  5914. description: 应套保总量变化量
  5915. type: number
  5916. enddate:
  5917. description: 结束交易日
  5918. type: string
  5919. logdatetime:
  5920. description: 流水日期
  5921. type: string
  5922. logid:
  5923. description: 流水ID(609+Unix秒时间戳(10位)+xxxxxx)
  5924. type: string
  5925. middlegoodscode:
  5926. description: 套保品种代码
  5927. type: string
  5928. middlegoodsid:
  5929. description: 套保品种
  5930. type: integer
  5931. middlegoodsname:
  5932. description: 套保品种名称
  5933. type: string
  5934. paramaftervalue:
  5935. description: 参数变更后(调整后参数值)
  5936. type: number
  5937. parambeforevalue:
  5938. description: 参数变更前(调整前参数值)
  5939. type: number
  5940. reckondate:
  5941. description: 交易日(reckondate)
  5942. type: string
  5943. tradedate:
  5944. description: 交易日(yyyyMMdd)
  5945. type: string
  5946. type: object
  5947. models.Ermcp3ExpourseReport:
  5948. properties:
  5949. accountid:
  5950. description: 期货账户ID (作废, 默认为0)
  5951. type: integer
  5952. accountname:
  5953. description: 机构名称
  5954. type: string
  5955. arbitrageqty:
  5956. description: 套利量
  5957. type: number
  5958. areauserid:
  5959. description: 所属机构\交易用户ID
  5960. type: integer
  5961. begindate:
  5962. description: 开始交易日
  5963. type: string
  5964. buyfutureqty:
  5965. description: 买入期货数量
  5966. type: number
  5967. buyplanqty:
  5968. description: 采购计划数量
  5969. type: number
  5970. buypricedqty:
  5971. description: 采购合同已定价数量
  5972. type: number
  5973. cycletime:
  5974. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5975. type: string
  5976. cycletype:
  5977. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5978. type: integer
  5979. diffexposure:
  5980. description: 变动量(套保敞口)
  5981. type: number
  5982. difffutuqty:
  5983. description: 变动量(期货)
  5984. type: number
  5985. diffhedgeqty:
  5986. description: 变动量(现货应套保总量)
  5987. type: number
  5988. diffmgqtya:
  5989. description: 套保变动量
  5990. type: number
  5991. diffmgqtyb:
  5992. description: 套利变动量
  5993. type: number
  5994. diffneedqty:
  5995. description: 应套变动量 = 应套保量 - 期初应套保量 + 应套利量 - 期初应套利量
  5996. type: number
  5997. diffqty:
  5998. description: 变动量(总敞口)
  5999. type: number
  6000. diffspotqty:
  6001. description: 变动量(现货) | 除税变动量
  6002. type: number
  6003. enddate:
  6004. description: 结束交易日
  6005. type: string
  6006. enumdicname:
  6007. description: 单位名称
  6008. type: string
  6009. hedgeqty:
  6010. description: 套保量
  6011. type: number
  6012. mgneedhedgeratio:
  6013. description: 套保比例(套保品的)
  6014. type: number
  6015. middlegoodsid:
  6016. description: 套保品种ID
  6017. type: integer
  6018. middlegoodsname:
  6019. description: 套保商品名称
  6020. type: string
  6021. middlgoodscode:
  6022. description: 套保商品代码
  6023. type: string
  6024. needarbitrageqty:
  6025. description: 应套利量
  6026. type: number
  6027. needarbitrageratio:
  6028. description: 套利比例(套保品的)
  6029. type: number
  6030. needhedgeexposoure:
  6031. description: 应套保敞口(套保敞口)
  6032. type: number
  6033. needhedgeqty:
  6034. description: 应套保量
  6035. type: number
  6036. needhedgeratio:
  6037. description: 应套保敞口比例
  6038. type: number
  6039. needqty:
  6040. description: 应套总量 = 应套保量 + 应套利量
  6041. type: number
  6042. oriarbitrageqty:
  6043. description: 期初套利量
  6044. type: number
  6045. oribuyfutureqty:
  6046. description: 期初买入期货数量
  6047. type: number
  6048. oribuyplanqty:
  6049. description: 期初采购计划数量
  6050. type: number
  6051. oribuypricedqty:
  6052. description: 期初采购合同已定价数量
  6053. type: number
  6054. orihedgeqty:
  6055. description: 期初套保量
  6056. type: number
  6057. orineedarbitrageqty:
  6058. description: 期初应套利量
  6059. type: number
  6060. orineedhedgeexposoure:
  6061. description: 期初应套保敞口
  6062. type: number
  6063. orineedhedgeqty:
  6064. description: 期初应套保量
  6065. type: number
  6066. orisellfutureqty:
  6067. description: 期初卖出期货数量
  6068. type: number
  6069. orisellplanqty:
  6070. description: 期初销售计划数量
  6071. type: number
  6072. orisellpricedqty:
  6073. description: 期初销售合同已定价数量
  6074. type: number
  6075. oritotalexposure:
  6076. description: 期初实时总敞口
  6077. type: number
  6078. oritotalfutureqty:
  6079. description: 期初期货头寸总量
  6080. type: number
  6081. oritotalneedhedgeqty:
  6082. description: 期初应套保总量
  6083. type: number
  6084. oritotalspotqty:
  6085. description: 期初现货头寸总量
  6086. type: number
  6087. reckondate:
  6088. description: 日照时期(yyyyMMdd)
  6089. type: string
  6090. sellfutureqty:
  6091. description: 卖出期货数量
  6092. type: number
  6093. sellplanqty:
  6094. description: 销售计划数量
  6095. type: number
  6096. sellpricedqty:
  6097. description: 销售合同已定价数量
  6098. type: number
  6099. totalexposure:
  6100. description: 实时总敞口(总敞口)
  6101. type: number
  6102. totalfutureqty:
  6103. description: 期货头寸总量(期货总量)
  6104. type: number
  6105. totalhedgeratio:
  6106. description: 敞口比例
  6107. type: number
  6108. totalneedhedgeqty:
  6109. description: 应套保总量(现货应套保总量)
  6110. type: number
  6111. totalspotqty:
  6112. description: 现货头寸总量 | 除税总量
  6113. type: number
  6114. unitid:
  6115. description: 单位id
  6116. type: integer
  6117. updatetime:
  6118. description: 更新时间
  6119. type: string
  6120. type: object
  6121. models.Ermcp3FinanceReport:
  6122. properties:
  6123. accountname:
  6124. description: 机构名称
  6125. type: string
  6126. areauserid:
  6127. description: 所属机构\交易用户ID
  6128. type: integer
  6129. begindate:
  6130. description: 开始交易日
  6131. type: string
  6132. biztype:
  6133. description: 业务类型 - 1:套保 2:套利
  6134. type: integer
  6135. brandname:
  6136. description: 品牌名称
  6137. type: string
  6138. buypreinvoicedamount:
  6139. description: 采购预收票额(预收票额)
  6140. type: number
  6141. buyprepaidamount:
  6142. description: 采购预付款额(预付货款额)
  6143. type: number
  6144. buytodayinvoiceamount:
  6145. description: 采购今收票额(今收票额)
  6146. type: number
  6147. buytodayrefundamount:
  6148. description: 采购今收退款额(今收退款额)
  6149. type: number
  6150. buytodaysettleamount:
  6151. description: 采购今付款额(今付货款额)
  6152. type: number
  6153. buyuninvoicedamount:
  6154. description: 采购应收票额(应收票额)
  6155. type: number
  6156. buyunpaidamount:
  6157. description: 采购应付款额(应付货款额)
  6158. type: number
  6159. currencyid:
  6160. description: 结算币种ID
  6161. type: integer
  6162. currencyname:
  6163. description: 币种名称
  6164. type: string
  6165. cycletime:
  6166. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  6167. type: string
  6168. cycletype:
  6169. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  6170. type: integer
  6171. deliverygoodscode:
  6172. description: 现货品种代码
  6173. type: string
  6174. deliverygoodsid:
  6175. description: 现货品种ID
  6176. type: integer
  6177. deliverygoodsname:
  6178. description: 现货品种名称
  6179. type: string
  6180. enddate:
  6181. description: 结束交易日
  6182. type: string
  6183. reckondate:
  6184. description: 日照时期(yyyyMMdd)
  6185. type: string
  6186. sellpreinvoicedamount:
  6187. description: 销售预开票额(预开票额)
  6188. type: number
  6189. sellprepaidamount:
  6190. description: 销售预收款额(预收货款额)
  6191. type: number
  6192. selltodayinvoiceamount:
  6193. description: 销售今开票额(今开票额)
  6194. type: number
  6195. selltodayrefundamount:
  6196. description: 销售今付退款额(今付退款额)
  6197. type: number
  6198. selltodaysettleamount:
  6199. description: 销售今收款额(今收货款额)
  6200. type: number
  6201. selluninvoicedamount:
  6202. description: 销售应开票额(应开票额)
  6203. type: number
  6204. sellunpaidamount:
  6205. description: 销售应收款额(应收货款额)
  6206. type: number
  6207. spotgoodsbrandid:
  6208. description: 现货品牌ID
  6209. type: integer
  6210. todaypaysum:
  6211. description: 今付款合计
  6212. type: number
  6213. todayreceivesum:
  6214. description: 今收款合计
  6215. type: number
  6216. updatetime:
  6217. description: 更新时间
  6218. type: string
  6219. wrfactortypeid:
  6220. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  6221. type: integer
  6222. wrstandardcode:
  6223. description: 品类代码
  6224. type: string
  6225. wrstandardid:
  6226. description: 现货商品ID
  6227. type: integer
  6228. wrstandardname:
  6229. description: 品类名称
  6230. type: string
  6231. type: object
  6232. models.Ermcp3GoodsGroup:
  6233. properties:
  6234. agreeunit:
  6235. description: 合约单位
  6236. type: number
  6237. areauserid:
  6238. description: 所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)
  6239. type: integer
  6240. canshort:
  6241. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  6242. type: integer
  6243. closepricemode:
  6244. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  6245. type: integer
  6246. createtime:
  6247. description: 创建时间
  6248. type: string
  6249. creatorid:
  6250. description: 创建人
  6251. type: integer
  6252. currencyid:
  6253. description: 报价货币ID
  6254. type: integer
  6255. decimalplace:
  6256. description: 报价小数位
  6257. type: integer
  6258. enumdicname:
  6259. description: 单位名称
  6260. type: string
  6261. exchangefullname:
  6262. description: 交易所全称
  6263. type: string
  6264. excludecfg:
  6265. description: 排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除
  6266. type: integer
  6267. exexchangecode:
  6268. description: 交易所代码
  6269. type: string
  6270. exexchangeid:
  6271. description: 外部交易所ID[通道交易]
  6272. type: integer
  6273. exexchangename:
  6274. description: 交易所名称
  6275. type: string
  6276. goodsgroupid:
  6277. description: 商品组ID(自增ID)
  6278. type: integer
  6279. goodsgroupname:
  6280. description: 商品组名称
  6281. type: string
  6282. goodsgroupstatus:
  6283. description: 商品组状态 - 1:正常 2:注销
  6284. type: integer
  6285. goodunitid:
  6286. description: 报价单位ID
  6287. type: integer
  6288. groupcategroyid:
  6289. description: 品种分类ID
  6290. type: integer
  6291. innerdealmode:
  6292. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  6293. type: integer
  6294. marketid:
  6295. description: 所属市场ID
  6296. type: integer
  6297. modifierid:
  6298. description: 修改人
  6299. type: integer
  6300. modifytime:
  6301. description: 修改时间
  6302. type: string
  6303. outerdealmode:
  6304. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  6305. type: integer
  6306. outergroupcode:
  6307. description: 外部商品组代码[通道交易]
  6308. type: string
  6309. quoteminunit:
  6310. description: 行情最小变动单位 [整数,报价小数位一起使用]
  6311. type: integer
  6312. quotesourcegroupid:
  6313. description: 所属行情源分组ID[参考行情市场用\通道交易]
  6314. type: integer
  6315. syncgoodsqty:
  6316. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  6317. type: integer
  6318. required:
  6319. - areauserid
  6320. type: object
  6321. models.Ermcp3HPMiddleGoods:
  6322. properties:
  6323. biztype:
  6324. description: 业务类型 1:套保 2:套利
  6325. type: integer
  6326. contracttype:
  6327. description: 合同类型 1:采购 -1:销售
  6328. type: integer
  6329. convertratio:
  6330. description: 折算系数
  6331. type: number
  6332. customername:
  6333. description: 对手手名称
  6334. type: string
  6335. customeruserid:
  6336. description: 对手id
  6337. type: integer
  6338. enumdicname:
  6339. description: 现货单位名称
  6340. type: string
  6341. hedgeplanid:
  6342. description: 计划id
  6343. type: string
  6344. hedgeplanno:
  6345. description: 计划编号
  6346. type: string
  6347. middlegoodsid:
  6348. description: 套保品种ID
  6349. type: integer
  6350. middlegoodsplanqty3:
  6351. description: 应套保计划量
  6352. type: number
  6353. needhedgeratio:
  6354. description: 套保比例
  6355. type: number
  6356. pricedqty:
  6357. description: 已定价量
  6358. type: number
  6359. relatedmiddlegoodsqty:
  6360. description: 已关联量(套保品种)(期货)
  6361. type: number
  6362. unitid:
  6363. description: 现货单位id
  6364. type: integer
  6365. userid:
  6366. description: 用户id
  6367. type: integer
  6368. vatrate:
  6369. description: 增值税率
  6370. type: number
  6371. wrstandardcode:
  6372. description: 现货商品代码
  6373. type: string
  6374. wrstandardid:
  6375. description: 现货商品id
  6376. type: integer
  6377. wrstandardname:
  6378. description: 现货商品名称
  6379. type: string
  6380. type: object
  6381. models.Ermcp3HedgePlan:
  6382. properties:
  6383. accountid:
  6384. description: 资金账号
  6385. type: integer
  6386. areauserid:
  6387. description: 用户ID
  6388. type: integer
  6389. auditid:
  6390. description: 审核id
  6391. type: integer
  6392. auditname:
  6393. description: 审核人名称
  6394. type: string
  6395. auditremark:
  6396. description: 审核备注
  6397. type: string
  6398. auditsrc:
  6399. description: 审核来源 1-管理端 2-终端
  6400. type: integer
  6401. audittime:
  6402. description: 审核时间
  6403. type: string
  6404. contracttype:
  6405. description: 计划类型 - 1:采购 -1:销售
  6406. type: integer
  6407. convertfactor:
  6408. description: 标仓系数
  6409. type: number
  6410. createtime:
  6411. description: 创建时间
  6412. type: string
  6413. currencyid:
  6414. description: 币种id
  6415. type: integer
  6416. currencyname:
  6417. description: 币种名称
  6418. type: string
  6419. deliverygoodscode:
  6420. description: 现货品种代码
  6421. type: string
  6422. deliverygoodsid:
  6423. description: 现货品种ID
  6424. type: integer
  6425. deliverygoodsname:
  6426. description: 现货品种名称
  6427. type: string
  6428. enumdicname:
  6429. description: 单位名称(现货商品)
  6430. type: string
  6431. hedgeplanid:
  6432. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  6433. type: string
  6434. hedgeplanno:
  6435. description: 套保计划编号(名称)
  6436. type: string
  6437. hedgeplanstatus:
  6438. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  6439. type: integer
  6440. planqty:
  6441. description: 计划数量
  6442. type: number
  6443. plantime:
  6444. description: 计划时间
  6445. type: string
  6446. producttype:
  6447. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  6448. type: integer
  6449. remark:
  6450. description: 备注
  6451. type: string
  6452. spotgoodsdesc:
  6453. description: 商品型号
  6454. type: string
  6455. taaccountname:
  6456. description: 资金账号名称
  6457. type: string
  6458. tradeuserid:
  6459. description: 交易用户id
  6460. type: integer
  6461. tradeusername:
  6462. description: 交易用户名称
  6463. type: string
  6464. unitid:
  6465. description: 单位id(现货商品)
  6466. type: integer
  6467. updatetime:
  6468. description: 更新时间
  6469. type: string
  6470. vatrate:
  6471. description: 增值税率
  6472. type: number
  6473. wrstandardcode:
  6474. description: 品类代码
  6475. type: string
  6476. wrstandardid:
  6477. description: 品类id
  6478. type: integer
  6479. wrstandardname:
  6480. description: 品类名称
  6481. type: string
  6482. wrunitid:
  6483. description: 品类单位id
  6484. type: integer
  6485. wrunitidame:
  6486. description: 品类单位名称
  6487. type: string
  6488. type: object
  6489. models.Ermcp3InnerTradeLink:
  6490. properties:
  6491. accountid:
  6492. description: 期货账号代码 | 资金账号ID
  6493. type: integer
  6494. buyorsell:
  6495. description: 方向 - 0:买 1:卖
  6496. type: integer
  6497. channelbuildtype:
  6498. description: 委托单据类型 0:无 1:建仓 2:平仓
  6499. type: integer
  6500. currencyid:
  6501. description: 币种id
  6502. type: integer
  6503. currencyname:
  6504. description: 结算币种 名称
  6505. type: string
  6506. goodscode:
  6507. description: 商品代码
  6508. type: string
  6509. goodsid:
  6510. description: 商品ID
  6511. type: integer
  6512. goodsname:
  6513. description: 商品名称
  6514. type: string
  6515. outtradeid:
  6516. description: 外部成交单号
  6517. type: string
  6518. taname:
  6519. description: 期货账户名称
  6520. type: string
  6521. tradeid:
  6522. description: 期货单号 | 内部成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6523. type: string
  6524. tradeprice:
  6525. description: 成交价格
  6526. type: number
  6527. tradeqty:
  6528. description: 期货成交数量
  6529. type: integer
  6530. tradetime:
  6531. description: 关联时间 | 成交时间 ps:因为数据库表里没有关联时间, 所以取外部成交单的成交时间
  6532. type: string
  6533. username:
  6534. description: 用户名称
  6535. type: string
  6536. type: object
  6537. models.Ermcp3OutTradeLink:
  6538. properties:
  6539. buyorsell:
  6540. description: 买卖方向 - 0:买 1:卖
  6541. type: integer
  6542. channelbuildtype:
  6543. description: 开平标志- 0:无 1:建仓 2:平仓
  6544. type: integer
  6545. currencyname:
  6546. description: 币种名称
  6547. type: string
  6548. exexchangecode:
  6549. description: 交易所代码
  6550. type: string
  6551. exexchangename:
  6552. description: 交易所名称
  6553. type: string
  6554. goodscode:
  6555. description: 合约代码
  6556. type: string
  6557. goodsid:
  6558. description: 合约id
  6559. type: integer
  6560. goodsname:
  6561. description: 合约名称
  6562. type: string
  6563. hasinnerorder:
  6564. description: 是否有内部单关联 - 0:无 1:有
  6565. type: integer
  6566. hedgeaccountcode:
  6567. description: 外部账号 | 对冲账号
  6568. type: string
  6569. outtradeid:
  6570. description: 外部订单号 | 外部成交单ID(114+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6571. type: string
  6572. tradeprice:
  6573. description: 成交价格
  6574. type: number
  6575. tradeqty:
  6576. description: 成交数量
  6577. type: integer
  6578. tradetime:
  6579. description: 成交时间
  6580. type: string
  6581. type: object
  6582. models.Ermcp3PaAreaAuditCfg:
  6583. properties:
  6584. areauserid:
  6585. description: 用户ID
  6586. type: integer
  6587. buyinauditflag:
  6588. description: 采购入库是否需要审核 - 0:不需审核 1:需要审核
  6589. type: integer
  6590. costratioauditflag:
  6591. description: 现货商品成本权重修改是否需要审核 - 0:不需审核 1:需要审核
  6592. type: integer
  6593. customerauditflag:
  6594. description: 客户资料是否需要审核 - 0:不需审核 1:需要审核
  6595. type: integer
  6596. deliveryauditflag:
  6597. description: 交收是否需要审核 - 0:不需审核 1:需要审核
  6598. type: integer
  6599. invoiceauditflag:
  6600. description: 发票是否需要审核 - 0:不需审核 1:需要审核
  6601. type: integer
  6602. mgneedhedgeratioauditflag:
  6603. description: 套保品种套保比例修改是否需要审 - 0:不需审核 1:需要审核
  6604. type: integer
  6605. moneyauditflag:
  6606. description: 款项是否需要审核 - 0:不需审核 1:需要审核
  6607. type: integer
  6608. operatorid:
  6609. description: 操作人
  6610. type: integer
  6611. operatorsrc:
  6612. description: 操作来源 - 1:管理端 2:终端
  6613. type: integer
  6614. pointpriceauditflag:
  6615. description: 点价是否需要审核 - 0:不需审核 1:需要审核
  6616. type: integer
  6617. produceinauditflag:
  6618. description: 生产入库是否需要审核 - 0:不需审核 1:需要审核
  6619. type: integer
  6620. produceoutauditflag:
  6621. description: 生产出库是否需要审核 - 0:不需审核 1:需要审核
  6622. type: integer
  6623. selloutauditflag:
  6624. description: 销售出库是否需要审核 - 0:不需审核 1:需要审核
  6625. type: integer
  6626. sgconvertratioauditflag:
  6627. description: 现货商品折算系数修改是否需要审核 - 0:不需审核 1:需要审核
  6628. type: integer
  6629. sgvtaratioauditflag:
  6630. description: 现货商品增值税税率修改是否需要审核 - 0:不需审核 1:需要审核
  6631. type: integer
  6632. spotcontractauditflag:
  6633. description: 现货合同是否需要审核 - 0:不需审核 1:需要审核
  6634. type: integer
  6635. updatetime:
  6636. description: 更新时间
  6637. type: string
  6638. type: object
  6639. models.Ermcp3PaAreaSubject:
  6640. properties:
  6641. areauserid:
  6642. description: 所属机构
  6643. type: integer
  6644. canmodify:
  6645. description: 是否可修改 - 0:否 1:是
  6646. type: integer
  6647. createtime:
  6648. description: 创建时间
  6649. type: string
  6650. creatorid:
  6651. description: 创建人ID
  6652. type: string
  6653. creatorsrc:
  6654. description: 创建人来源 - 1:管理端 2:终端 3:交易
  6655. type: integer
  6656. modifierid:
  6657. description: 修改人
  6658. type: string
  6659. modifiersrc:
  6660. description: 修改人来源 - 1:管理端 2:终端
  6661. type: integer
  6662. modifytime:
  6663. description: 修改时间
  6664. type: string
  6665. parentsubjectid:
  6666. description: 上级主体ID
  6667. type: string
  6668. remark:
  6669. description: 备注
  6670. type: string
  6671. subjectid:
  6672. description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  6673. type: integer
  6674. subjectname:
  6675. description: 主体名称
  6676. type: string
  6677. subjectstatus:
  6678. description: '主体状态 - 1:正常 2: 停用'
  6679. type: integer
  6680. subjecttype:
  6681. description: 主体类型 - 1:交易主体 2:业务部门
  6682. type: integer
  6683. type: object
  6684. models.Ermcp3PaTradeLink:
  6685. properties:
  6686. accountid:
  6687. description: 期货账户代码 | 账号ID
  6688. type: integer
  6689. agreeunit:
  6690. description: 合约乘数
  6691. type: number
  6692. buyorsell:
  6693. description: 方向 - 0:买 1:卖
  6694. type: integer
  6695. channelbuildtype:
  6696. description: 委托单据类型 0:无 1:建仓 2:平仓
  6697. type: integer
  6698. charge:
  6699. description: 手续费
  6700. type: number
  6701. closepl:
  6702. description: 平仓盈亏
  6703. type: number
  6704. closetype:
  6705. description: 平仓方式 - 0:无 1:平今 2:平昨
  6706. type: integer
  6707. convertratio:
  6708. description: 折算系数
  6709. type: number
  6710. enumdicname:
  6711. description: 单位名称
  6712. type: string
  6713. executeprice:
  6714. description: 执行价 [期权]
  6715. type: integer
  6716. goodscode:
  6717. description: 合约代码
  6718. type: string
  6719. goodsgroupid:
  6720. description: 对冲品种ID[期货合约商品组ID]
  6721. type: integer
  6722. goodsid:
  6723. description: 商品ID
  6724. type: integer
  6725. goodsname:
  6726. description: 合约名称
  6727. type: string
  6728. goodunitid:
  6729. description: 单位id
  6730. type: integer
  6731. hedgeflag:
  6732. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  6733. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)
  6734. type: integer
  6735. marketid:
  6736. description: 市场ID
  6737. type: integer
  6738. middlegoodsid:
  6739. description: 套保品种ID
  6740. type: integer
  6741. middlegoodsqty:
  6742. description: 套保品种数量 = TradeQty * AgreeUnit * ConvertRatio
  6743. type: number
  6744. optioncode:
  6745. description: 期权代码 [期权]
  6746. type: string
  6747. ordertype:
  6748. description: 单据类型 - 1:期货单 2:看涨期权单 3:看跌期权单
  6749. type: integer
  6750. ordertypename:
  6751. description: 订单类型
  6752. type: string
  6753. parentaccountid:
  6754. description: 所属母账户
  6755. type: integer
  6756. premium:
  6757. description: 权利金 [期权]
  6758. type: number
  6759. relatedlot:
  6760. description: 已关联数量(已关联数量手) | db:关联手数
  6761. type: number
  6762. relatedouttradeid:
  6763. description: 关联外部成交单ID
  6764. type: string
  6765. relatedqty:
  6766. description: 关联数量
  6767. type: number
  6768. spotcontractid:
  6769. description: 现货合同ID [4:套期保值\10\11]
  6770. type: string
  6771. taname:
  6772. description: 期货账户名称
  6773. type: string
  6774. tradeamount:
  6775. description: 成交金额(账户)
  6776. type: number
  6777. tradedate:
  6778. description: 交易日(yyyyMMdd)
  6779. type: string
  6780. tradeid:
  6781. description: 期货单号 | db:成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6782. type: string
  6783. tradelot:
  6784. description: 成交数量(期货数量) ps:这是手数,转换为具体多少吨要乘以AGREEUNIT | db:成交手数
  6785. type: integer
  6786. tradeprice:
  6787. description: 成交价格
  6788. type: number
  6789. tradetime:
  6790. description: 时间 | db:成交时间
  6791. type: string
  6792. tradetype:
  6793. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  6794. type: integer
  6795. userid:
  6796. description: 所属机构 - 所属母账户的UserID
  6797. type: string
  6798. username:
  6799. description: 用户名称
  6800. type: string
  6801. type: object
  6802. models.Ermcp3ParamChangeApp:
  6803. properties:
  6804. aftervalue:
  6805. description: 变更后
  6806. type: number
  6807. applicationid:
  6808. description: 申请ID(619+Unix秒时间戳(10位)+xxxxxx)
  6809. type: string
  6810. applyid:
  6811. description: 申请人
  6812. type: string
  6813. applyname:
  6814. description: 申请人名称(代码)
  6815. type: string
  6816. applyremark:
  6817. description: 申请备注
  6818. type: string
  6819. applysrc:
  6820. description: 申请来源 - 1:管理端 2:终端
  6821. type: integer
  6822. applystatus:
  6823. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  6824. type: integer
  6825. applytime:
  6826. description: 申请时间
  6827. type: string
  6828. areauserid:
  6829. description: 所属机构用户ID
  6830. type: integer
  6831. auditid:
  6832. description: 审核人
  6833. type: string
  6834. auditname:
  6835. description: 审核人名称(代码)
  6836. type: string
  6837. auditremark:
  6838. description: 审核备注
  6839. type: string
  6840. auditsrc:
  6841. description: 审核来源 - 1:管理端 2:终端
  6842. type: integer
  6843. audittime:
  6844. description: 审核时间
  6845. type: string
  6846. audittradedate:
  6847. description: 审核交易日(yyyyMMdd)
  6848. type: string
  6849. beforevalue:
  6850. description: 变更前
  6851. type: number
  6852. deliverygoodscode:
  6853. description: 品种代码
  6854. type: string
  6855. deliverygoodsid:
  6856. description: 品种id
  6857. type: integer
  6858. deliverygoodsname:
  6859. description: 品种名称
  6860. type: string
  6861. middlegoodscode:
  6862. description: 套保品种代码
  6863. type: string
  6864. middlegoodsid:
  6865. description: 套保品种ID [ParamChangeType = 2,3,4]
  6866. type: integer
  6867. middlegoodsname:
  6868. description: 套保品种名称
  6869. type: string
  6870. operatetype:
  6871. description: 操作类型 - 1:新增 2:修改
  6872. type: integer
  6873. paramchangetype:
  6874. description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  6875. type: integer
  6876. wrstandardcode:
  6877. description: 现货商品代码
  6878. type: string
  6879. wrstandardid:
  6880. description: 现货商品ID [ParamChangeType = 1,2,3]
  6881. type: integer
  6882. wrstandardname:
  6883. description: 现货商品名称
  6884. type: string
  6885. type: object
  6886. models.Ermcp3RootUserAccount:
  6887. properties:
  6888. accountname:
  6889. description: 账户名称(机构名称)
  6890. type: string
  6891. accountstatus:
  6892. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  6893. type: integer
  6894. applysrc:
  6895. description: 申请来源 - 1:管理端 2:终端
  6896. type: integer
  6897. auditremark:
  6898. description: 审核备注
  6899. type: string
  6900. auditsrc:
  6901. description: 审核来源 - 1:管理端 2:终端
  6902. type: integer
  6903. audittime:
  6904. description: 审核时间
  6905. type: string
  6906. audituserid:
  6907. description: 审核人
  6908. type: integer
  6909. broker:
  6910. description: 所属经纪人ID
  6911. type: integer
  6912. canceltime:
  6913. description: 销户时间
  6914. type: string
  6915. canceluserid:
  6916. description: 销户人
  6917. type: integer
  6918. canrecommend:
  6919. description: 是否可推荐 - 0:不可 1;可
  6920. type: integer
  6921. createtime:
  6922. description: 创建时间
  6923. type: string
  6924. creatorid:
  6925. description: 创建人
  6926. type: integer
  6927. hasauth:
  6928. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  6929. type: integer
  6930. isanonymous:
  6931. description: 是否匿名下单 - 0:否 1:是
  6932. type: integer
  6933. maxinvestornum:
  6934. description: 最大用户数(经纪会员下投资者个数)
  6935. type: integer
  6936. memberuserid:
  6937. description: 所属会员ID
  6938. type: integer
  6939. modifierid:
  6940. description: 修改人
  6941. type: integer
  6942. modifyremark:
  6943. description: 变更备注
  6944. type: string
  6945. modifystatus:
  6946. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  6947. type: integer
  6948. modifytime:
  6949. description: 修改时间
  6950. type: string
  6951. nickname:
  6952. description: 昵称
  6953. type: string
  6954. parenttopuser:
  6955. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  6956. type: string
  6957. parentuserid:
  6958. description: 所属机构ID
  6959. type: integer
  6960. reckonaccountid:
  6961. description: 默认结算资金账号ID(机构分润使用) 作废
  6962. type: integer
  6963. refercount:
  6964. description: 推荐总人数
  6965. type: integer
  6966. refereeuserid:
  6967. description: 推荐人ID
  6968. type: integer
  6969. refernum:
  6970. description: 推荐码
  6971. type: string
  6972. rootuserid:
  6973. description: 根用户ID
  6974. type: integer
  6975. subaccountlevel:
  6976. description: 子账户层数
  6977. type: integer
  6978. subarealevelpath:
  6979. description: 子机构层级路径(逗号分隔,首尾加逗号)
  6980. type: string
  6981. userid:
  6982. description: 用户ID
  6983. type: integer
  6984. usertype:
  6985. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  6986. type: integer
  6987. type: object
  6988. models.Ermcp3SCMiddleGoods:
  6989. properties:
  6990. biztype:
  6991. description: 业务类型 1:套保 2:套利
  6992. type: integer
  6993. contractno:
  6994. description: 合同编号
  6995. type: string
  6996. contracttype:
  6997. description: 合同类型 1:采购 -1:销售
  6998. type: integer
  6999. convertratio:
  7000. description: 折算系数
  7001. type: number
  7002. customername:
  7003. description: 对手手名称
  7004. type: string
  7005. customeruserid:
  7006. description: 对手id
  7007. type: integer
  7008. deliverygoodscode:
  7009. description: 现货品种代码
  7010. type: string
  7011. deliverygoodsid:
  7012. description: 现货品种ID
  7013. type: integer
  7014. deliverygoodsname:
  7015. description: 现货品种名称
  7016. type: string
  7017. enumdicname:
  7018. description: 现货单位名称
  7019. type: string
  7020. middlegoodsid:
  7021. description: 套保品种ID
  7022. type: integer
  7023. middlegoodspricedqty3:
  7024. description: 应套保数量 = MiddleGoodsPricedQty2 * 套保比率
  7025. type: number
  7026. needhedgeratio:
  7027. description: 套保比例
  7028. type: number
  7029. pricedqty:
  7030. description: 已定价量
  7031. type: number
  7032. relatedmiddlegoodsqty:
  7033. description: 已关联量(套保品种)(期货)
  7034. type: number
  7035. spotcontractid:
  7036. description: 合同编号
  7037. type: string
  7038. unitid:
  7039. description: 现货单位id
  7040. type: integer
  7041. userid:
  7042. description: 用户id
  7043. type: integer
  7044. vatrate:
  7045. description: 增值税率
  7046. type: number
  7047. wrstandardcode:
  7048. description: 现货商品代码
  7049. type: string
  7050. wrstandardid:
  7051. description: 现货商品id
  7052. type: integer
  7053. wrstandardname:
  7054. description: 现货商品名称
  7055. type: string
  7056. type: object
  7057. models.Ermcp3SCMiddleGoodsReport:
  7058. properties:
  7059. begindate:
  7060. description: 开始交易日
  7061. type: string
  7062. contractno:
  7063. description: 合同编号
  7064. type: string
  7065. contracttype:
  7066. description: 合同类型 1:采购 -1:销售
  7067. type: integer
  7068. convertratio:
  7069. description: 期初均价
  7070. type: number
  7071. cycletime:
  7072. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  7073. type: string
  7074. cycletype:
  7075. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  7076. type: integer
  7077. deliverygoodscode:
  7078. description: 品种代码
  7079. type: string
  7080. deliverygoodsid:
  7081. description: 现货品种ID
  7082. type: integer
  7083. deliverygoodsname:
  7084. description: 品种名称
  7085. type: string
  7086. diffprice:
  7087. description: 期初均价
  7088. type: number
  7089. diffqty:
  7090. description: 期初均价
  7091. type: number
  7092. enddate:
  7093. description: 结束交易日
  7094. type: string
  7095. hedgeplanqty:
  7096. description: 期初均价
  7097. type: number
  7098. matchname:
  7099. description: 交易对手方(个人:用户名称 企业:简称)
  7100. type: string
  7101. matchnickname:
  7102. description: 交易对手方昵称
  7103. type: string
  7104. middlegoodscode:
  7105. description: 套保品种代码
  7106. type: string
  7107. middlegoodsid:
  7108. description: 套保品种ID
  7109. type: integer
  7110. middlegoodsname:
  7111. description: 套保品种名称
  7112. type: string
  7113. middlegoodspricedqty:
  7114. description: 期初均价
  7115. type: number
  7116. middlegoodspricedqty2:
  7117. description: 期初均价
  7118. type: number
  7119. middlegoodspricedqty3:
  7120. description: 期初均价
  7121. type: number
  7122. needhedgeratio:
  7123. description: 期初均价
  7124. type: number
  7125. pricedamount:
  7126. description: 期初均价
  7127. type: number
  7128. pricedamount2:
  7129. description: 期初均价
  7130. type: number
  7131. pricedqty:
  7132. description: 期初均价
  7133. type: number
  7134. reckondate:
  7135. description: 日照时期(yyyyMMdd)
  7136. type: string
  7137. relatedmiddlegoodsamount:
  7138. description: 期初均价
  7139. type: number
  7140. relatedmiddlegoodsqty:
  7141. description: 期初均价
  7142. type: number
  7143. spotcontractid:
  7144. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  7145. type: string
  7146. todayavgfutuprice:
  7147. description: 期初均价
  7148. type: number
  7149. todayavgprice:
  7150. description: 期初均价
  7151. type: number
  7152. todayavgprice2:
  7153. description: 期初均价
  7154. type: number
  7155. todaypricedamount:
  7156. description: 期初均价
  7157. type: number
  7158. todaypricedamount2:
  7159. description: 期初均价
  7160. type: number
  7161. todaypricedqty:
  7162. description: 期初均价
  7163. type: number
  7164. todayrelatedfutureqty:
  7165. description: 期初均价
  7166. type: number
  7167. todayrelatedmiddlegoodsamount:
  7168. description: 期初均价
  7169. type: number
  7170. todayrelatedmiddlegoodsqty:
  7171. description: 期初均价
  7172. type: number
  7173. updatetime:
  7174. description: 更新时间
  7175. type: string
  7176. userid:
  7177. description: 合同所属用户id
  7178. type: integer
  7179. vatrate:
  7180. description: 期初均价
  7181. type: number
  7182. wrstandardcode:
  7183. description: 商品(品类) 代码
  7184. type: string
  7185. wrstandardid:
  7186. description: 现货商品ID
  7187. type: integer
  7188. wrstandardname:
  7189. description: 商品(品类) 名称
  7190. type: string
  7191. type: object
  7192. models.Ermcp3SellBuyContract:
  7193. properties:
  7194. accountid:
  7195. description: 期货账户id
  7196. type: string
  7197. accountname:
  7198. description: 账户名称
  7199. type: string
  7200. attachment:
  7201. description: 附件
  7202. type: string
  7203. audittime:
  7204. description: 审核时间
  7205. type: string
  7206. bizsubjectid:
  7207. description: 归属业务部门ID - SubjectID
  7208. type: integer
  7209. biztype:
  7210. description: 业务类型 1-套保 2-套利
  7211. type: integer
  7212. brandname:
  7213. description: 品牌名称
  7214. type: string
  7215. contracctstatus:
  7216. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  7217. type: integer
  7218. contractmargin:
  7219. description: 合同保证金
  7220. type: number
  7221. contractno:
  7222. description: 合同编号
  7223. type: string
  7224. contracttype:
  7225. description: 合同类型 1-采购, -1-销售
  7226. type: integer
  7227. convertfactor:
  7228. description: 标仓系数(品类)
  7229. type: number
  7230. createtime:
  7231. description: 创建时间
  7232. type: string
  7233. currencyid:
  7234. description: 币种id
  7235. type: integer
  7236. currencyname:
  7237. description: 币种名称
  7238. type: string
  7239. daikaiamount:
  7240. description: 应收(开)票额 | 未收票额
  7241. type: number
  7242. deliveryenddate:
  7243. description: 交割结束日
  7244. type: string
  7245. deliverygoodscode:
  7246. description: 现货品种代码
  7247. type: string
  7248. deliverygoodsid:
  7249. description: 现货商品ID
  7250. type: integer
  7251. deliverygoodsname:
  7252. description: 现货品种名称
  7253. type: string
  7254. deliverystartdate:
  7255. description: 交割开始日
  7256. type: string
  7257. enddate:
  7258. description: 点价结束日
  7259. type: string
  7260. enumdicname:
  7261. description: 单位名称
  7262. type: string
  7263. goodscode:
  7264. description: 点价商品代码
  7265. type: string
  7266. goodsgroupid:
  7267. description: 点价商品组id
  7268. type: integer
  7269. goodsid:
  7270. description: 点价商品ID
  7271. type: integer
  7272. goodsname:
  7273. description: 点价商品名称
  7274. type: string
  7275. invoiceamount:
  7276. description: 已开票额
  7277. type: number
  7278. loanamount:
  7279. description: 贷款总额=已定价额+调整金额
  7280. type: number
  7281. margin:
  7282. description: 保证金
  7283. type: number
  7284. meruserid:
  7285. description: 跟单员id
  7286. type: integer
  7287. meruserlogincode:
  7288. description: 跟单员登录代码
  7289. type: string
  7290. merusername:
  7291. description: 跟单员名称
  7292. type: string
  7293. nickname:
  7294. description: 账户昵称
  7295. type: string
  7296. orireckonrealqty:
  7297. description: 应交收量
  7298. type: number
  7299. payamount:
  7300. description: 已收付额(收款或付款)
  7301. type: number
  7302. preinvoiceamount:
  7303. description: 预收(开)票额
  7304. type: number
  7305. prepayamount:
  7306. description: 预收付额
  7307. type: number
  7308. price:
  7309. description: 价格
  7310. type: number
  7311. pricedamount:
  7312. description: 已定价额
  7313. type: number
  7314. pricedavg:
  7315. description: 已点均价
  7316. type: number
  7317. pricedqty:
  7318. description: 已定价量
  7319. type: number
  7320. pricemove:
  7321. description: 升贴水
  7322. type: number
  7323. pricetype:
  7324. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  7325. type: integer
  7326. producttype:
  7327. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  7328. type: integer
  7329. qty:
  7330. description: 合同量
  7331. type: number
  7332. reckonadjustamount:
  7333. description: 调整金额
  7334. type: number
  7335. reckonedamount:
  7336. description: 实际已收付额(已确定额,已收付总额-已退款总额)
  7337. type: number
  7338. reckonotheramount:
  7339. description: 其它费用
  7340. type: number
  7341. reckonrealqty:
  7342. description: 已交收量
  7343. type: number
  7344. remark:
  7345. description: 备注
  7346. type: string
  7347. saleuserid:
  7348. description: 业务员id
  7349. type: integer
  7350. saleuserlogincode:
  7351. description: 业务员登录代码
  7352. type: string
  7353. saleusername:
  7354. description: 业务员名称
  7355. type: string
  7356. spotcontractid:
  7357. description: 合同ID
  7358. type: string
  7359. spotgoodsbrandid:
  7360. description: 现货品牌ID(DGFactoryItem表的ID)
  7361. type: integer
  7362. spotgoodsdesc:
  7363. description: 商品型号(商品规格)
  7364. type: string
  7365. startdate:
  7366. description: 点价开始日
  7367. type: string
  7368. subjectid:
  7369. description: 交易主体ID
  7370. type: integer
  7371. subjectname:
  7372. description: 交易主体名称
  7373. type: string
  7374. totalamount:
  7375. description: 合计总额
  7376. type: number
  7377. tradeuserid:
  7378. description: 交易员id
  7379. type: integer
  7380. tradeuserlogincode:
  7381. description: 交易员登录代码
  7382. type: string
  7383. tradeusername:
  7384. description: 交易员名称
  7385. type: string
  7386. unpayamount:
  7387. description: 应收付款额(应支付或应收款) | 未付款额
  7388. type: number
  7389. unpricedqty:
  7390. description: 未定价量
  7391. type: number
  7392. unsureqty:
  7393. description: 未确定量 | 未交收量
  7394. type: number
  7395. userid:
  7396. description: 机构ID
  7397. type: integer
  7398. vatrate:
  7399. description: 增值税率
  7400. type: number
  7401. wrstandardcode:
  7402. description: 品类代码
  7403. type: string
  7404. wrstandardid:
  7405. description: 品类ID
  7406. type: integer
  7407. wrstandardname:
  7408. description: 品类名称
  7409. type: string
  7410. type: object
  7411. models.Ermcp3SpotGoodsPrice:
  7412. properties:
  7413. areauserid:
  7414. description: 所属机构id
  7415. type: integer
  7416. brandname:
  7417. description: 品牌名称
  7418. type: string
  7419. currencyid:
  7420. description: 报价货币ID
  7421. type: integer
  7422. currencyname:
  7423. description: 币种名称
  7424. type: string
  7425. deliverygoodscode:
  7426. description: 现货商品代码
  7427. type: string
  7428. deliverygoodsid:
  7429. description: 现货商品id
  7430. type: integer
  7431. deliverygoodsname:
  7432. description: 现货商品名称
  7433. type: string
  7434. enumdicname:
  7435. description: 现货商品单位名称
  7436. type: string
  7437. gbenumdicname:
  7438. description: 品类单位名称
  7439. type: string
  7440. gmunitid:
  7441. description: 品类单位id
  7442. type: integer
  7443. isvalid:
  7444. description: 是否有效 - 0:无效 1:有效
  7445. type: integer
  7446. operateid:
  7447. description: 最后操作人
  7448. type: integer
  7449. operatesrc:
  7450. description: 最后操作来源 - 1:管理端 2:终端
  7451. type: integer
  7452. operatetime:
  7453. description: 最后操作时间
  7454. type: string
  7455. operatorname:
  7456. description: 操作人名称
  7457. type: string
  7458. spotgoodsbrandid:
  7459. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  7460. type: integer
  7461. spotgoodsprice:
  7462. description: 现货价格
  7463. type: number
  7464. tradedate:
  7465. description: 交易日(yyyyMMdd)
  7466. type: string
  7467. unitid:
  7468. description: 现货商品单位id
  7469. type: integer
  7470. wrstandardcode:
  7471. description: 品类代码
  7472. type: string
  7473. wrstandardid:
  7474. description: 现货品类ID(通用则为0)
  7475. type: integer
  7476. wrstandardname:
  7477. description: 品类名称
  7478. type: string
  7479. type: object
  7480. models.Ermcp3SpotGoodsPriceLog:
  7481. properties:
  7482. areauserid:
  7483. description: 所属机构id
  7484. type: integer
  7485. brandname:
  7486. description: 品牌名称
  7487. type: string
  7488. currencyid:
  7489. description: 报价货币ID
  7490. type: integer
  7491. deliverygoodscode:
  7492. description: 现货商品代码
  7493. type: string
  7494. deliverygoodsid:
  7495. description: 现货商品id
  7496. type: integer
  7497. deliverygoodsname:
  7498. description: 现货商品名称
  7499. type: string
  7500. enumdicname:
  7501. description: 现货商品单位名称
  7502. type: string
  7503. gbenumdicname:
  7504. description: 品类单位名称
  7505. type: string
  7506. gmunitid:
  7507. description: 品类单位id
  7508. type: integer
  7509. logid:
  7510. description: 日志id
  7511. type: integer
  7512. operateid:
  7513. description: 最后操作人
  7514. type: integer
  7515. operatesrc:
  7516. description: 最后操作来源 - 1:管理端 2:终端
  7517. type: integer
  7518. operatetime:
  7519. description: 最后操作时间
  7520. type: string
  7521. operatorname:
  7522. description: 操作人名称
  7523. type: string
  7524. spotgoodsbrandid:
  7525. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  7526. type: integer
  7527. spotgoodsprice:
  7528. description: 现货价格
  7529. type: number
  7530. tradedate:
  7531. description: 交易日(yyyyMMdd)
  7532. type: string
  7533. unitid:
  7534. description: 现货商品单位id
  7535. type: integer
  7536. wrstandardcode:
  7537. description: 品类代码
  7538. type: string
  7539. wrstandardid:
  7540. description: 现货品类ID(通用则为0)
  7541. type: integer
  7542. wrstandardname:
  7543. description: 品类名称
  7544. type: string
  7545. type: object
  7546. models.Ermcp3SubTaaccount:
  7547. properties:
  7548. accountid:
  7549. description: 资金账户ID
  7550. type: integer
  7551. parentaccountcode:
  7552. description: 所属根账号代码(母账号代码)
  7553. type: string
  7554. parentaccountid:
  7555. description: 所属根账号(母账号)
  7556. type: integer
  7557. taname:
  7558. description: 资金账号名称
  7559. type: string
  7560. tradestatus:
  7561. description: 交易状态 - 1:正常 2:受限 3:冻结(停用) 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已删除(注销)
  7562. type: integer
  7563. username:
  7564. description: 交易用户
  7565. type: string
  7566. type: object
  7567. models.Ermcp3TaFutuReDataReport:
  7568. properties:
  7569. accountid:
  7570. description: 交易账户
  7571. type: integer
  7572. accountname:
  7573. description: 交易账号名称
  7574. type: string
  7575. agreeunit:
  7576. description: 商品合约单位
  7577. type: number
  7578. begindate:
  7579. description: 开始交易日
  7580. type: string
  7581. buyorsell:
  7582. description: 持仓方向
  7583. type: integer
  7584. charge:
  7585. description: 手续费
  7586. type: number
  7587. closeavgprice:
  7588. description: 期初均价
  7589. type: number
  7590. closepl:
  7591. description: 平仓损益
  7592. type: number
  7593. currencyid:
  7594. description: 结算币种ID
  7595. type: integer
  7596. currencyname:
  7597. description: 币种名称
  7598. type: string
  7599. cycletime:
  7600. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  7601. type: string
  7602. cycletype:
  7603. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  7604. type: integer
  7605. enddate:
  7606. description: 结束交易日
  7607. type: string
  7608. enumdicname:
  7609. description: 单位名称
  7610. type: string
  7611. floatpl:
  7612. description: 浮动损益
  7613. type: number
  7614. goodscode:
  7615. description: 交易合约代码
  7616. type: string
  7617. goodsgroupid:
  7618. description: 交易品种
  7619. type: integer
  7620. goodsgroupname:
  7621. description: 交易品种名称
  7622. type: string
  7623. goodsgroupspotqty:
  7624. description: 交易品种期末量 (= 期末持仓量 * 合约乘数)
  7625. type: number
  7626. goodsid:
  7627. description: 交易合约
  7628. type: integer
  7629. goodsname:
  7630. description: 交易合约名称
  7631. type: string
  7632. goodunitid:
  7633. description: 交易合约单位id
  7634. type: integer
  7635. holdamount:
  7636. description: 期末持仓额
  7637. type: number
  7638. holdqty:
  7639. description: 期初均价
  7640. type: number
  7641. lastholdamount:
  7642. description: 当前持仓额
  7643. type: number
  7644. lastprice:
  7645. description: 最新价
  7646. type: number
  7647. middlegoodsid:
  7648. description: 套保品种id
  7649. type: integer
  7650. middlegoodsname:
  7651. description: 套保商品名称
  7652. type: string
  7653. middlegoodsqty:
  7654. description: 套保品种期末量 (=交易品种期末量 * 期货品种折算系数)
  7655. type: number
  7656. middlgoodscode:
  7657. description: 套保商品代码
  7658. type: string
  7659. openamount:
  7660. description: 期末开仓额
  7661. type: number
  7662. openavgprice:
  7663. description: 期初均价
  7664. type: number
  7665. oriholdamount:
  7666. description: 期初持仓额
  7667. type: number
  7668. oriholdqty:
  7669. description: 期初均价
  7670. type: number
  7671. oriopenamount:
  7672. description: 期初开仓额
  7673. type: number
  7674. outergroupcode:
  7675. description: 交易品种代码
  7676. type: string
  7677. qtydecimalplace:
  7678. description: 成交量小数位
  7679. type: integer
  7680. reckondate:
  7681. description: 日照时期(yyyyMMdd)
  7682. type: string
  7683. reckonholdamount:
  7684. description: 结算持仓额
  7685. type: number
  7686. reckonpl:
  7687. description: 结算损益
  7688. type: number
  7689. reckonpl2:
  7690. description: 结算逐笔盈亏
  7691. type: number
  7692. reckonprice:
  7693. description: 结算价
  7694. type: number
  7695. relateduserid:
  7696. description: 账户关联用户ID
  7697. type: integer
  7698. todaycloseamount:
  7699. description: 今平仓额
  7700. type: number
  7701. todaycloseqty:
  7702. description: 期初均价
  7703. type: number
  7704. todaygoodsgroupspotqty:
  7705. description: 交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)
  7706. type: number
  7707. todaymiddlegoodsqty:
  7708. description: 套保品种变化量 (= 交易品种变化量*期货品种折算系数)
  7709. type: number
  7710. todayopenamount:
  7711. description: 今开仓额
  7712. type: number
  7713. todayopenqty:
  7714. description: 期初均价
  7715. type: number
  7716. userid:
  7717. description: 账户所属用户ID
  7718. type: integer
  7719. type: object
  7720. models.Ermcp3TradeLinkDetail:
  7721. properties:
  7722. accountid:
  7723. description: 资金账号
  7724. type: integer
  7725. agreeunit:
  7726. description: 合约乘数
  7727. type: number
  7728. areauserid:
  7729. description: 所属机构
  7730. type: string
  7731. bizsubjectid:
  7732. description: 归属业务部门ID - SubjectID
  7733. type: string
  7734. buyorsell:
  7735. description: 方向 - 0:买 1:卖
  7736. type: integer
  7737. channelbuildtype:
  7738. description: 委托单据类型 0:无 1:建仓 2:平仓
  7739. type: integer
  7740. contractno:
  7741. description: 现货编号 (合同编号)
  7742. type: string
  7743. convertratio:
  7744. description: 折算系数
  7745. type: number
  7746. createtime:
  7747. description: 关联时间 | 创建时间
  7748. type: string
  7749. creatorid:
  7750. description: 创建人ID
  7751. type: string
  7752. creatorsrc:
  7753. description: 创建人来源 - 1:管理端 2:终端 3:交易
  7754. type: integer
  7755. enumdicname:
  7756. description: 单位名称
  7757. type: string
  7758. goodscode:
  7759. description: 合约代码
  7760. type: string
  7761. goodsgroupid:
  7762. description: 对冲品种ID[期货合约商品组ID]
  7763. type: integer
  7764. goodsid:
  7765. description: 商品ID
  7766. type: integer
  7767. goodsname:
  7768. description: 合约名称
  7769. type: string
  7770. hedgeflag:
  7771. description: 业务类型 | 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安)
  7772. 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)
  7773. type: integer
  7774. linkdetailid:
  7775. description: 关联ID(614+Unix秒时间戳(10位)+xxxxxx)
  7776. type: string
  7777. linkstatus:
  7778. description: 关联状态 - 1:成功 2:失败 3:解绑
  7779. type: integer
  7780. middlegoodscode:
  7781. description: 套保品种代码
  7782. type: string
  7783. middlegoodsid:
  7784. description: 套保品种ID
  7785. type: integer
  7786. middlegoodsname:
  7787. description: 套保品种名称
  7788. type: string
  7789. relatedlot:
  7790. description: 关联手数
  7791. type: number
  7792. relatedmode:
  7793. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  7794. type: integer
  7795. relatedqty:
  7796. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  7797. type: number
  7798. retcode:
  7799. description: 返回码
  7800. type: integer
  7801. saleuserid:
  7802. description: 业务员ID
  7803. type: string
  7804. spotcontractid:
  7805. description: 现货合同\套保计划ID [4,10,11 - 现货合同ID] [9:套期保值(计划) - 套保计划ID]
  7806. type: string
  7807. taname:
  7808. description: 期货账户
  7809. type: string
  7810. tradedate:
  7811. description: 关联交易日(yyyyMMdd)
  7812. type: string
  7813. tradeid:
  7814. description: 期货订单号 | 内部成交单ID
  7815. type: string
  7816. tradelot:
  7817. description: 成交数量 | 成交手数
  7818. type: integer
  7819. tradeprice:
  7820. description: 成交价格
  7821. type: number
  7822. tradetime:
  7823. description: 期货成交时间
  7824. type: string
  7825. tradetradedate:
  7826. description: 成交交易日(yyyyMMdd)
  7827. type: string
  7828. username:
  7829. description: 用户名称
  7830. type: string
  7831. type: object
  7832. models.Ermcp3Wrstandard:
  7833. properties:
  7834. areauserid:
  7835. description: 所属机构
  7836. type: integer
  7837. cantrade:
  7838. description: 是否允许交易 - 0:不允许 1:允许 -1:未配置(数据库里没有记录)
  7839. type: integer
  7840. convertfactor:
  7841. description: 标仓系数
  7842. type: number
  7843. createtime:
  7844. description: 创建时间
  7845. type: string
  7846. creatorid:
  7847. description: 创建人
  7848. type: integer
  7849. deliverygoodsid:
  7850. description: 现货品种ID
  7851. type: integer
  7852. enumdicname:
  7853. description: 品类单位名称
  7854. type: string
  7855. isvalid:
  7856. description: 是否有效 0-无效(停用) 1-有效(正常)
  7857. type: integer
  7858. minivalue:
  7859. description: 最小变动值
  7860. type: integer
  7861. minivaluedp:
  7862. description: 最小变动值小数位
  7863. type: integer
  7864. realminivalue:
  7865. description: 实际最小变动值
  7866. type: integer
  7867. realminivaluedp:
  7868. description: 实际最小变动值小数位
  7869. type: integer
  7870. remark:
  7871. description: 备注
  7872. type: string
  7873. unitid:
  7874. description: 品类单位ID
  7875. type: integer
  7876. updatetime:
  7877. description: 更新时间
  7878. type: string
  7879. wrstandardcode:
  7880. description: 品类代码
  7881. type: string
  7882. wrstandardid:
  7883. description: 品类ID(SEQ_WRSTANDARD)
  7884. type: integer
  7885. wrstandardname:
  7886. description: 品类名称
  7887. type: string
  7888. type: object
  7889. models.Ermcp8EnableHedgeditem:
  7890. properties:
  7891. accountname:
  7892. description: 套期主体
  7893. type: string
  7894. hedgeditemid:
  7895. description: 被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)
  7896. type: string
  7897. hedgeditemname:
  7898. description: 项目名称
  7899. type: string
  7900. hedgeditemnum:
  7901. description: 项目编号
  7902. type: string
  7903. hedgedtype:
  7904. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  7905. type: integer
  7906. planenddate:
  7907. description: 计划结束日期
  7908. type: string
  7909. planstartdate:
  7910. description: 计划开始日期
  7911. type: string
  7912. wrstandardid:
  7913. description: 现货商品ID
  7914. type: integer
  7915. wrstandardname:
  7916. description: 现货商品
  7917. type: string
  7918. type: object
  7919. models.Ermcp8HedgeditemReport:
  7920. properties:
  7921. accountname:
  7922. description: 套期主体
  7923. type: string
  7924. areauserid:
  7925. description: 企业ID
  7926. type: integer
  7927. curprice:
  7928. description: '[当日现货市场价]当前市场价'
  7929. type: number
  7930. enumdicname:
  7931. description: 单位
  7932. type: string
  7933. exeamount:
  7934. description: '[执行现货金额]执行市价总额'
  7935. type: number
  7936. exeavgprice:
  7937. description: '[执行价]执行市场均价= 执行市价总额 / 执行现货量'
  7938. type: number
  7939. exeqty:
  7940. description: '[执行数量]执行现货量'
  7941. type: number
  7942. futurehedgepl:
  7943. description: 期货实际损益
  7944. type: number
  7945. futurehedgeplchange:
  7946. description: 期货实际变动 = 期货实际损益 - 期初期货实际损益
  7947. type: number
  7948. futurepl:
  7949. description: 期货套期损益
  7950. type: number
  7951. futureplchange:
  7952. description: 期货套期变动 = 期货套期损益 - 期初期货套期损益
  7953. type: number
  7954. hedgeamount:
  7955. description: '[套期现货金额]套期市价总额'
  7956. type: number
  7957. hedgeditemnum:
  7958. description: 项目编号,模糊查询
  7959. type: string
  7960. hedgeditemstatus:
  7961. description: 项目状态 - 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  7962. type: integer
  7963. hedgedtype:
  7964. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  7965. type: integer
  7966. hedgeqty:
  7967. description: '[套期数量]套期现货量'
  7968. type: number
  7969. oriavgprice:
  7970. description: '[期初价]期初市场均价 = 套期市价总额 / 套期现货量'
  7971. type: number
  7972. orifuturehedgepl:
  7973. description: 期初期货实际损益
  7974. type: number
  7975. orifuturepl:
  7976. description: 期初期货套期损益
  7977. type: number
  7978. orispothedgepl:
  7979. description: 期初现货实际损益
  7980. type: number
  7981. orispotpl:
  7982. description: 期初现货套期损益
  7983. type: number
  7984. planenddate:
  7985. description: 计划结束日期
  7986. type: string
  7987. planstartdate:
  7988. description: 计划开始日期
  7989. type: string
  7990. spothedgepl:
  7991. description: 现货实际损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)
  7992. type: number
  7993. spothedgeplchange:
  7994. description: 现货实际变动 = 现货实际损益 - 期初现货实际损益
  7995. type: number
  7996. spotpl:
  7997. description: 现货套期损益 = 现货实际损益 + 现货浮动损益
  7998. type: number
  7999. spotplchange:
  8000. description: 现货套期变动 = 现货套期损益 - 期初现货套期损益
  8001. type: number
  8002. tradeuserid:
  8003. description: 交易用户ID
  8004. type: integer
  8005. unexeqty:
  8006. description: 未执行现货量 = 套期现货量 - 执行现货量
  8007. type: number
  8008. wrstandardcode:
  8009. description: 现货品类代码
  8010. type: string
  8011. wrstandardid:
  8012. description: 现货商品ID
  8013. type: integer
  8014. wrstandardname:
  8015. description: '[现货商品]现货品类名称'
  8016. type: string
  8017. type: object
  8018. models.Ermcp8RunningHedgeditem:
  8019. properties:
  8020. accountname:
  8021. description: 套期主体
  8022. type: string
  8023. applyid:
  8024. description: 申请人
  8025. type: integer
  8026. applysrc:
  8027. description: 申请来源 - 1:管理端 2:终端
  8028. type: integer
  8029. areauserid:
  8030. description: 企业ID
  8031. type: integer
  8032. auditid:
  8033. description: 审核人
  8034. type: integer
  8035. auditremark:
  8036. description: 审核备注
  8037. type: string
  8038. auditsrc:
  8039. description: 审核来源 - 1:管理端 2:终端
  8040. type: integer
  8041. audittime:
  8042. description: 审核时间
  8043. type: string
  8044. audittradedate:
  8045. description: 审核交易日(yyyyMMdd)
  8046. type: string
  8047. createtime:
  8048. description: 申请时间
  8049. type: string
  8050. curprice:
  8051. description: 当前市场价
  8052. type: number
  8053. curstock:
  8054. description: 期末库存量 = 采购总量 - 销售总量
  8055. type: number
  8056. deliverygoodsid:
  8057. description: 现货品种ID
  8058. type: integer
  8059. enddate:
  8060. description: 完成日期
  8061. type: string
  8062. endtradedate:
  8063. description: 完成交易日
  8064. type: string
  8065. enumdicname:
  8066. description: 单位
  8067. type: string
  8068. exeamount:
  8069. description: 执行市价总额
  8070. type: number
  8071. exeavgprice:
  8072. description: 执行市场均价= 执行市价总额 / 执行现货量
  8073. type: number
  8074. execontractamount:
  8075. description: 执行定价总额
  8076. type: number
  8077. exeqty:
  8078. description: 执行现货量
  8079. type: number
  8080. exerestamount:
  8081. description: 执行剩余市价总额【现货贸易】
  8082. type: number
  8083. futurefloatpl:
  8084. description: 期货浮动损益
  8085. type: number
  8086. futurehedgepl:
  8087. description: 期货实际损益
  8088. type: number
  8089. futurehedgeplchange:
  8090. description: 期货实际损益变动
  8091. type: number
  8092. futurepl:
  8093. description: 期货套期损益
  8094. type: number
  8095. futureplchange:
  8096. description: 期货套期损益变动
  8097. type: number
  8098. hedgeamount:
  8099. description: 套期市价总额
  8100. type: number
  8101. hedgecontractamount:
  8102. description: 套期定价总额 【定价采购合同】【现货贸易】
  8103. type: number
  8104. hedgeditemid:
  8105. description: 被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)
  8106. type: string
  8107. hedgeditemname:
  8108. description: 项目名称
  8109. type: string
  8110. hedgeditemnum:
  8111. description: 项目编号
  8112. type: string
  8113. hedgeditemstatus:
  8114. description: 项目状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  8115. type: integer
  8116. hedgedtype:
  8117. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  8118. type: integer
  8119. hedgeqty:
  8120. description: 套期现货量
  8121. type: number
  8122. hedgerate:
  8123. description: 套保比率
  8124. type: number
  8125. hedgerestamount:
  8126. description: 套期剩余市价总额【现货贸易】
  8127. type: number
  8128. hedgesumpl:
  8129. description: 套期汇总损益 = 期货汇总损益 + 现货汇总损益
  8130. type: number
  8131. middlegoodslist:
  8132. description: 套期商品列表
  8133. items:
  8134. $ref: '#/definitions/models.Ermcp2himiddlegoods'
  8135. type: array
  8136. oriavgprice:
  8137. description: 期初市场均价 = 套期市价总额 / 套期现货量
  8138. type: number
  8139. orifuturehedgepl:
  8140. description: 期初期货实际损益
  8141. type: number
  8142. orifuturepl:
  8143. description: 期初期货套期损益
  8144. type: number
  8145. orispothedgepl:
  8146. description: 期初现货实际损益
  8147. type: number
  8148. orispotpl:
  8149. description: 期初现货套期损益
  8150. type: number
  8151. planenddate:
  8152. description: 计划结束日期
  8153. type: string
  8154. planstartdate:
  8155. description: 计划开始日期
  8156. type: string
  8157. remark:
  8158. description: 备注
  8159. type: string
  8160. spotbookamount:
  8161. description: 现货账面总额
  8162. type: number
  8163. spotfloatpl:
  8164. description: 现货浮动损益 =(当前市场价 - 期初市场价)*未执行现货量 * 方向(销售计划 为 -1, 其它为1)
  8165. type: number
  8166. spothedgepl:
  8167. description: 现货套期损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)
  8168. type: number
  8169. spothedgeplchange:
  8170. description: 现货实际损益变动
  8171. type: number
  8172. spotpl:
  8173. description: 现货套期损益 = 现货实际损益 + 现货浮动损益
  8174. type: number
  8175. spotplchange:
  8176. description: 现货套期损益变动
  8177. type: number
  8178. spottradepl:
  8179. description: 现货贸易损益【现货贸易】= 执行合同定价总额 - 套期合同定价总额
  8180. type: number
  8181. sumobspl:
  8182. description: 汇总绝对损益【现货贸易】=现货贸易损益+增值税损益+期货套期损益
  8183. type: number
  8184. tradeuserid:
  8185. description: 交易用户ID
  8186. type: integer
  8187. unexeqty:
  8188. description: 未执行现货量 = 套期现货量 - 执行现货量
  8189. type: number
  8190. updatetime:
  8191. description: 更新时间
  8192. type: string
  8193. vatpl:
  8194. description: 增值税损益【现货贸易】= 现货贸易损益 * (增值税率 /(1+增值税率))
  8195. type: number
  8196. vatrate:
  8197. description: 增值税
  8198. type: number
  8199. wrstandardid:
  8200. description: 现货商品ID
  8201. type: integer
  8202. wrstandardname:
  8203. description: 商品名称
  8204. type: string
  8205. type: object
  8206. models.ErmcpBizGroupEx:
  8207. properties:
  8208. acclist:
  8209. description: 账号列表
  8210. items:
  8211. $ref: '#/definitions/models.ErmcpBizGroupTaAccount'
  8212. type: array
  8213. bizgroupid:
  8214. description: 业务分组id
  8215. type: integer
  8216. biztype:
  8217. description: 业务类型 1-套保 2-套利
  8218. type: integer
  8219. wrlist:
  8220. description: 现货商品表
  8221. items:
  8222. $ref: '#/definitions/models.ErmcpBizGroupSpotGoods'
  8223. type: array
  8224. type: object
  8225. models.ErmcpBizGroupSpotGoods:
  8226. properties:
  8227. areauserid:
  8228. description: 所属机构id
  8229. type: integer
  8230. bizgroupid:
  8231. description: 分组id
  8232. type: integer
  8233. biztype:
  8234. description: 业务类型 1-套保 2-套利
  8235. type: integer
  8236. deliverygoodscode:
  8237. description: 现货商品代码
  8238. type: string
  8239. deliverygoodsid:
  8240. description: 现货商品id
  8241. type: integer
  8242. deliverygoodsname:
  8243. description: 现货商品名称
  8244. type: string
  8245. unitid:
  8246. description: 现货商品单位id
  8247. type: integer
  8248. type: object
  8249. models.ErmcpBizGroupTaAccount:
  8250. properties:
  8251. accountid:
  8252. description: 账号id
  8253. type: integer
  8254. accountname:
  8255. description: 账号名称
  8256. type: string
  8257. areauserid:
  8258. description: 所属机构id
  8259. type: integer
  8260. bizgroupid:
  8261. description: 业务分组id
  8262. type: integer
  8263. ismain:
  8264. description: 是否主账号 1-是 0-否
  8265. type: integer
  8266. type: object
  8267. models.ErmcpDGFactoryItem:
  8268. properties:
  8269. areauserid:
  8270. description: 用户id
  8271. type: integer
  8272. deliverygoodsid:
  8273. description: 现货品种ID
  8274. type: integer
  8275. dgfactoryitemid:
  8276. description: 选择项ID(SEQ_DGFACTORYITEM)
  8277. type: integer
  8278. dgfactoryitemtypeid:
  8279. description: 要素项类型
  8280. type: integer
  8281. dgfactoryitemvalue:
  8282. description: 要素项值(类型为仓库时填写仓库名称)
  8283. type: string
  8284. isvalid:
  8285. description: 是否有效 - 0:无效 1:有效
  8286. type: integer
  8287. orderindex:
  8288. description: 顺序
  8289. type: integer
  8290. warehouseid:
  8291. description: 仓库ID(类型为仓库时填写)
  8292. type: integer
  8293. type: object
  8294. models.ErmcpDeliveryGoods:
  8295. properties:
  8296. agreeunit:
  8297. description: 合约单位[散货时默认为1, 整装时默认为标准数量]
  8298. type: integer
  8299. areauserid:
  8300. description: 所属机构
  8301. type: integer
  8302. auditflag:
  8303. description: 交割是否需要审核 - 0:不需要 1:需要审核 默认为0
  8304. type: integer
  8305. categoryid:
  8306. description: 类别ID(SEQ_WRCATEGORY)
  8307. type: integer
  8308. deliverygoodscode:
  8309. description: 现货品种代码
  8310. type: string
  8311. deliverygoodsid:
  8312. description: 现货品种ID(SEQ_DELIVERYGOODS)
  8313. type: integer
  8314. deliverygoodsname:
  8315. description: 现货品种名称
  8316. type: string
  8317. deliverygoodstype:
  8318. description: '现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细'
  8319. type: integer
  8320. dgstatus:
  8321. description: 品种状态 - 作废 - 0:未激活 1:正常
  8322. type: integer
  8323. enumdicname:
  8324. description: 现货品种单位名称
  8325. type: string
  8326. goodsunitid:
  8327. description: 现货品种单位ID
  8328. type: integer
  8329. isvalid:
  8330. description: 是否有效 - 0:无效 1:有效
  8331. type: integer
  8332. qtydecimalplace:
  8333. description: 成交量小数位
  8334. type: integer
  8335. remark:
  8336. description: 备注
  8337. type: string
  8338. standardqty:
  8339. description: 标准数量(库位数量) [标准品特有]
  8340. type: integer
  8341. standardqtyrange:
  8342. description: 标准数量偏差范围 [标准品特有]
  8343. type: integer
  8344. type: object
  8345. models.ErmcpFuturesCompany:
  8346. properties:
  8347. brokerid:
  8348. description: 经纪公司代码
  8349. type: string
  8350. channeladdress:
  8351. description: 对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001
  8352. type: string
  8353. channelid:
  8354. description: 对冲渠道ID
  8355. type: string
  8356. createtime:
  8357. description: 创建时间
  8358. type: string
  8359. creatorid:
  8360. description: 创建人
  8361. type: string
  8362. fcid:
  8363. description: 期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)
  8364. type: integer
  8365. fcname:
  8366. description: 期货公司名称
  8367. type: string
  8368. isvalid:
  8369. description: 是否有效 - 0:无效 1:有效
  8370. type: integer
  8371. mhpaddress:
  8372. description: MHP服务地址(IP:Port)
  8373. type: string
  8374. riskrulegroupid:
  8375. description: 风控规则组ID
  8376. type: string
  8377. tradefeetmpid:
  8378. description: 手续费模板ID[TradeConfigTmpType为2]
  8379. type: string
  8380. trademargintmpid:
  8381. description: 保证金模板ID [TradeConfigTmpType为1]
  8382. type: string
  8383. traderatetmpid:
  8384. description: 汇率模板ID[TradeConfigTmpType为3]
  8385. type: string
  8386. updatetime:
  8387. description: 更新时间
  8388. type: string
  8389. updatorid:
  8390. description: 更新人
  8391. type: string
  8392. type: object
  8393. models.ErmcpGGConvertCfg:
  8394. properties:
  8395. convertratio:
  8396. description: 折算系数
  8397. type: number
  8398. destgoodsgroupid:
  8399. description: 目标品种ID
  8400. type: integer
  8401. dstcode:
  8402. description: 目录品种代码
  8403. type: string
  8404. dstexchangecode:
  8405. description: 目标期货交易所
  8406. type: string
  8407. dstname:
  8408. description: 目标品种名称
  8409. type: string
  8410. dstunitid:
  8411. description: 目标品种单位ID
  8412. type: integer
  8413. dstunitidname:
  8414. description: 目标品种单位名称
  8415. type: string
  8416. modifytime:
  8417. description: 修改时间
  8418. type: string
  8419. srccode:
  8420. description: 源品种代码
  8421. type: string
  8422. srcexchangecode:
  8423. description: 源期货交易所
  8424. type: string
  8425. srcgoodsgroupid:
  8426. description: 源品种ID
  8427. type: integer
  8428. srcname:
  8429. description: 源品种名称
  8430. type: string
  8431. srcunitid:
  8432. description: 源品种单位ID
  8433. type: integer
  8434. srcunitidname:
  8435. description: 源品种单位名称
  8436. type: string
  8437. type: object
  8438. models.ErmcpGoods:
  8439. properties:
  8440. agreeunit:
  8441. description: 合约单位
  8442. type: number
  8443. areauserid:
  8444. description: 所属机构
  8445. type: integer
  8446. auditaccountid:
  8447. description: 审核操作员账号
  8448. type: integer
  8449. audittime:
  8450. description: 审核时间
  8451. type: string
  8452. cancelaccountid:
  8453. description: 注销操作员账号
  8454. type: integer
  8455. canceltime:
  8456. description: 注销时间
  8457. type: string
  8458. closepricemode:
  8459. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  8460. type: integer
  8461. closepriceparam:
  8462. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  8463. type: number
  8464. createtime:
  8465. description: 创建时间
  8466. type: string
  8467. creatorid:
  8468. description: 创建人
  8469. type: integer
  8470. currencyid:
  8471. description: 报价货币ID
  8472. type: integer
  8473. cutmode:
  8474. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  8475. type: integer
  8476. decimalplace:
  8477. description: 报价小数位
  8478. type: integer
  8479. delistingdate:
  8480. description: 商品退市时间(状态:退市) -- 已作废
  8481. type: string
  8482. delistingmode:
  8483. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  8484. type: integer
  8485. deliveryflag:
  8486. description: 交割标志 - 0:不可交割 1:可交割
  8487. type: integer
  8488. enumdicname:
  8489. description: 单位名称
  8490. type: string
  8491. forceclosemode:
  8492. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  8493. type: integer
  8494. forceclosevalue:
  8495. description: 定期强平参数 [收益权]
  8496. type: integer
  8497. goodscode:
  8498. description: 商品代码(内部)
  8499. type: string
  8500. goodscurrencyid:
  8501. description: 合约货币ID
  8502. type: integer
  8503. goodsgroupid:
  8504. description: 所属商品组ID
  8505. type: integer
  8506. goodsid:
  8507. description: 商品ID(自增ID SEQ_GOODS)
  8508. type: integer
  8509. goodsname:
  8510. description: 商品名称
  8511. type: string
  8512. goodsquotetype:
  8513. description: '合约报价类型: 1-直接报价 2-间接报价'
  8514. type: integer
  8515. goodsstatus:
  8516. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  8517. type: integer
  8518. goodstradetype:
  8519. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  8520. type: integer
  8521. goodunitid:
  8522. description: 报价单位ID
  8523. type: integer
  8524. hasquoter:
  8525. description: 是否有报价商 - 0:无报价商 1:有报价商
  8526. type: integer
  8527. hqprotecttime:
  8528. description: 行情保护时间(秒)
  8529. type: integer
  8530. innerdealmode:
  8531. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  8532. type: integer
  8533. isbuylimited:
  8534. description: 是否限制建仓量 - 0:不限制 1:限制
  8535. type: integer
  8536. isvisible:
  8537. description: 游客是否可见 - 0:不可见 1:可见
  8538. type: integer
  8539. lasttradedate:
  8540. description: 最后交易日期(状态:待退市)
  8541. type: string
  8542. listingdate:
  8543. description: 交易开始日期
  8544. type: string
  8545. marketid:
  8546. description: 所属市场ID
  8547. type: integer
  8548. modifierid:
  8549. description: 修改人
  8550. type: integer
  8551. modifystatus:
  8552. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  8553. type: integer
  8554. modifytime:
  8555. description: 修改时间
  8556. type: string
  8557. outerdealmode:
  8558. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  8559. type: integer
  8560. outgoodscode:
  8561. description: 商品代码(外部)
  8562. type: string
  8563. pictureurl:
  8564. description: 商品图片
  8565. type: string
  8566. qtydecimalplace:
  8567. description: 成交量小数位
  8568. type: integer
  8569. quotegear:
  8570. description: 行情档位(1-10)
  8571. type: integer
  8572. quoteminunit:
  8573. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8574. type: integer
  8575. quoteshowtype:
  8576. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  8577. type: integer
  8578. quoteshowtypeinterval:
  8579. description: 行情报价间隔时间(秒)(成交价时为0)
  8580. type: integer
  8581. relatedgoodsid:
  8582. description: 关联参考商品ID
  8583. type: integer
  8584. remark:
  8585. description: 备注
  8586. type: string
  8587. trademode:
  8588. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8589. 21:竞拍-大宗式 22:受托竞价
  8590. type: integer
  8591. required:
  8592. - goodscode
  8593. - goodsid
  8594. - goodsname
  8595. - marketid
  8596. type: object
  8597. models.ErmcpGoodsBrand:
  8598. properties:
  8599. areauserid:
  8600. description: 所属机构
  8601. type: integer
  8602. brandid:
  8603. description: BrandID(SEQ_SPOTGOODSBRAND)
  8604. type: integer
  8605. brandname:
  8606. description: 品牌名称
  8607. type: string
  8608. createtime:
  8609. description: 创建时间
  8610. type: string
  8611. creatorid:
  8612. description: 创建人
  8613. type: integer
  8614. creatorsrc:
  8615. description: 创建人来源 - 1:管理端 2:终端
  8616. type: integer
  8617. deliverygoodsid:
  8618. description: 现货品种ID
  8619. type: integer
  8620. isvalid:
  8621. description: 是否有效 - 0:无效 1:有效
  8622. type: integer
  8623. updatetime:
  8624. description: 更新时间
  8625. type: string
  8626. updatorid:
  8627. description: 更新人
  8628. type: integer
  8629. updatorsrc:
  8630. description: 更新人来源 - 1:管理端 2:终端
  8631. type: integer
  8632. wrstandardid:
  8633. description: 现货商品ID
  8634. type: integer
  8635. type: object
  8636. models.ErmcpGoodsModel:
  8637. properties:
  8638. areauserid:
  8639. description: 所属机构
  8640. type: integer
  8641. convertfactor:
  8642. description: 标仓系数
  8643. type: number
  8644. createtime:
  8645. description: 创建时间
  8646. type: string
  8647. creatorid:
  8648. description: 创建人
  8649. type: integer
  8650. creatorsrc:
  8651. description: 创建人来源 - 1:管理端 2:终端
  8652. type: integer
  8653. deliverygoodsid:
  8654. description: 现货品种ID
  8655. type: integer
  8656. isvalid:
  8657. description: 是否有效 - 0:无效 1:有效
  8658. type: integer
  8659. modelid:
  8660. description: ModelID(SEQ_SPOTGOODSMODEL)
  8661. type: integer
  8662. modelname:
  8663. description: 型号名称
  8664. type: string
  8665. updatetime:
  8666. description: 更新时间
  8667. type: string
  8668. updatorid:
  8669. description: 更新人
  8670. type: integer
  8671. updatorsrc:
  8672. description: 更新人来源 - 1:管理端 2:终端
  8673. type: integer
  8674. wrstandardid:
  8675. description: 现货商品ID
  8676. type: integer
  8677. type: object
  8678. models.ErmcpHisExposure:
  8679. properties:
  8680. needhedgeexposoure:
  8681. description: 应套保敞口
  8682. type: number
  8683. reckondate:
  8684. description: 日照时期(yyyyMMdd)
  8685. type: string
  8686. totalexposure:
  8687. description: 总敞口
  8688. type: number
  8689. type: object
  8690. models.ErmcpLoginTaAccount:
  8691. properties:
  8692. accountid:
  8693. description: 账号id
  8694. type: integer
  8695. accountname:
  8696. description: 账号名称
  8697. type: string
  8698. type: object
  8699. models.ErmcpLoginUser:
  8700. properties:
  8701. acclist:
  8702. description: 关联资金账号
  8703. items:
  8704. $ref: '#/definitions/models.ErmcpLoginTaAccount'
  8705. type: array
  8706. accountname:
  8707. description: 用户名称
  8708. type: string
  8709. clientroleid:
  8710. description: 角色id(usertype=2)
  8711. type: integer
  8712. createtime:
  8713. description: 创建时间
  8714. type: string
  8715. logincode:
  8716. description: 登录代码
  8717. type: string
  8718. loginid:
  8719. description: 登录id(LOGINID)
  8720. type: integer
  8721. loginname:
  8722. description: 登录名称(loginaccount表中的accountname字段)
  8723. type: string
  8724. loginstatus:
  8725. description: 登录账户状态 - 1:正常 2:冻结 3:无效
  8726. type: integer
  8727. memberuserid:
  8728. description: 所属会员id
  8729. type: integer
  8730. mobile:
  8731. description: 手机号
  8732. type: string
  8733. modifytime:
  8734. description: 修改时间
  8735. type: string
  8736. password:
  8737. description: 密码(不可解密)
  8738. type: string
  8739. rolename:
  8740. description: 角色名称
  8741. type: string
  8742. rolestatus:
  8743. description: 角色状态 1-启用 2-停用
  8744. type: integer
  8745. roletype:
  8746. description: 角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员
  8747. type: string
  8748. userid:
  8749. description: 用户id
  8750. type: integer
  8751. usertype:
  8752. description: 用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  8753. type: integer
  8754. type: object
  8755. models.ErmcpLoginUserEx:
  8756. properties:
  8757. accountstatus:
  8758. description: 账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  8759. type: integer
  8760. mobile:
  8761. description: 手机号
  8762. type: string
  8763. querytype:
  8764. description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  8765. type: integer
  8766. roleid:
  8767. description: 角色id(交易账户->用户id)
  8768. type: integer
  8769. rolename:
  8770. description: 角色名称(交易账户->用户名称)
  8771. type: string
  8772. userlist:
  8773. description: 用户列表
  8774. items:
  8775. $ref: '#/definitions/models.ErmcpLoginUser'
  8776. type: array
  8777. usertype:
  8778. description: 用户类型 2-机构 7-企业成员(云平台)
  8779. type: integer
  8780. type: object
  8781. models.ErmcpMiddleGoodsModel:
  8782. properties:
  8783. areauserid:
  8784. description: 机构用户ID
  8785. type: integer
  8786. createtime:
  8787. description: 修改时间
  8788. type: string
  8789. enumdicname:
  8790. description: 单位名称
  8791. type: string
  8792. evaluateratio:
  8793. description: 估价系数
  8794. type: number
  8795. goodsgroupid:
  8796. description: 关联期货品种ID
  8797. type: integer
  8798. goodsunitid:
  8799. description: 单位ID
  8800. type: integer
  8801. isvalid:
  8802. description: 状态 0-无效(停用) 1-有效(正常)
  8803. type: integer
  8804. middlegoodscode:
  8805. description: 套保品种代码
  8806. type: string
  8807. middlegoodsid:
  8808. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  8809. type: integer
  8810. middlegoodsname:
  8811. description: 套保品种名称
  8812. type: string
  8813. modifytime:
  8814. description: 修改时间
  8815. type: string
  8816. needarbitrageratio:
  8817. description: 套利比例
  8818. type: number
  8819. needhedgeratio:
  8820. description: 套保比率
  8821. type: number
  8822. qtydecimalplace:
  8823. description: 数量小数位
  8824. type: integer
  8825. relatedgoodsid:
  8826. description: 关联交易商品ID
  8827. type: integer
  8828. relatedgoodstype:
  8829. description: 关联商品类型 - 1:期货合约 2:现货品种
  8830. type: integer
  8831. remark:
  8832. description: 备注
  8833. type: string
  8834. type: object
  8835. models.ErmcpMiddlegoodsRelateGoods:
  8836. properties:
  8837. agreeunit:
  8838. description: 合约乘数
  8839. type: number
  8840. convertratio:
  8841. description: 折算系数
  8842. type: number
  8843. enumdicname:
  8844. description: 单位名称(交易商品)
  8845. type: string
  8846. goodscode:
  8847. description: 交易商品代码
  8848. type: string
  8849. goodsgroupid:
  8850. description: 交易品种id
  8851. type: integer
  8852. goodsid:
  8853. description: 商品Id
  8854. type: integer
  8855. goodsname:
  8856. description: 交易商品名称
  8857. type: string
  8858. goodunitid:
  8859. description: 交易商品单位id
  8860. type: integer
  8861. middlegoodsid:
  8862. description: 套保商品id
  8863. type: integer
  8864. middlegoodsname:
  8865. description: 套保商品名称
  8866. type: string
  8867. middlegoodsswcode:
  8868. description: 套保商品代码
  8869. type: string
  8870. needarbitrageratio:
  8871. description: 应套利比例
  8872. type: number
  8873. needhedgeratio:
  8874. description: 应套保比例
  8875. type: number
  8876. type: object
  8877. models.ErmcpRole:
  8878. properties:
  8879. areauserid:
  8880. description: 所属机构
  8881. type: integer
  8882. autoid:
  8883. description: 角色ID(自增ID)
  8884. type: integer
  8885. modifierid:
  8886. description: 修改人(创建人)
  8887. type: integer
  8888. modifiername:
  8889. description: 修改人名称
  8890. type: string
  8891. modifytime:
  8892. description: 修改时间(创建时间)
  8893. type: string
  8894. rolename:
  8895. description: 角色名称
  8896. type: string
  8897. rolestatus:
  8898. description: 角色状态 - 1:启用 2:停用
  8899. type: integer
  8900. roletype:
  8901. description: 角色类型 - 1- 管理端 2- 交易端
  8902. type: integer
  8903. type: object
  8904. models.ErmcpRoleMenu:
  8905. properties:
  8906. iconame:
  8907. description: 菜单图标
  8908. type: string
  8909. ishadrole:
  8910. description: 是否有权限
  8911. type: boolean
  8912. menutype:
  8913. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 5:PCWEB(v6)
  8914. type: integer
  8915. parentcode:
  8916. description: 上级资源代码
  8917. type: string
  8918. remark:
  8919. description: 菜单备注
  8920. type: string
  8921. resourcecode:
  8922. description: 菜单代码
  8923. type: string
  8924. resourcelevel:
  8925. description: 级别
  8926. type: integer
  8927. resourcename:
  8928. description: 菜单名称
  8929. type: string
  8930. roleid:
  8931. description: 角色id
  8932. type: integer
  8933. sort:
  8934. description: 排序
  8935. type: integer
  8936. url:
  8937. description: URL
  8938. type: string
  8939. userid:
  8940. description: 用户id
  8941. type: integer
  8942. type: object
  8943. models.ErmcpRoleMenuEx:
  8944. properties:
  8945. menu:
  8946. $ref: '#/definitions/models.ErmcpRoleMenu'
  8947. description: 父级菜单
  8948. subMenu:
  8949. description: 子级菜单
  8950. items:
  8951. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  8952. type: array
  8953. type: object
  8954. models.ErmcpSpotContractModelEx:
  8955. properties:
  8956. accountname:
  8957. description: 套期主体
  8958. type: string
  8959. amount:
  8960. description: 金额 [1:一口价、3:暂定价]
  8961. type: number
  8962. attachment:
  8963. description: 附件
  8964. type: string
  8965. auditremark:
  8966. description: 审核意见
  8967. type: string
  8968. audittime:
  8969. description: 审核时间
  8970. type: string
  8971. avgprice:
  8972. description: 定价均价 = 已定价金额 / 已定价量
  8973. type: number
  8974. brandname:
  8975. description: 品牌名称
  8976. type: string
  8977. buyuserid:
  8978. description: 采购方ID
  8979. type: integer
  8980. buyusername:
  8981. description: 采购方名称
  8982. type: string
  8983. contracctstatus:
  8984. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  8985. type: integer
  8986. contractmargin:
  8987. description: 合同保证金
  8988. type: number
  8989. contractno:
  8990. description: '[合同编号]现货合同编号'
  8991. type: string
  8992. contracttype:
  8993. description: '[合同类型]现货合同类型 - 1:采购 -1:销售'
  8994. type: integer
  8995. convertfactor:
  8996. description: 标仓系数
  8997. type: number
  8998. createtime:
  8999. description: 创建时间
  9000. type: string
  9001. customername:
  9002. description: 对手方
  9003. type: string
  9004. customeruserid:
  9005. description: 客户ID
  9006. type: integer
  9007. deliveryenddate:
  9008. description: 交收期(结束)
  9009. type: string
  9010. deliverygoodscode:
  9011. description: 现货品种代码
  9012. type: string
  9013. deliverygoodsid:
  9014. description: 现货品种ID
  9015. type: integer
  9016. deliverygoodsname:
  9017. description: 现货品种名称
  9018. type: string
  9019. deliverystartdate:
  9020. description: 交收期(开始)
  9021. type: string
  9022. enddate:
  9023. description: 点价结束日期 [2:点价 3:暂定价]
  9024. type: string
  9025. enumdicname:
  9026. description: 单位名称
  9027. type: string
  9028. goodscode:
  9029. description: 点价合约代码
  9030. type: string
  9031. goodsid:
  9032. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  9033. type: integer
  9034. goodsname:
  9035. description: 点价商品名称
  9036. type: string
  9037. isrelated:
  9038. description: 是否已关联计划项目 - 0:否 1:是
  9039. type: integer
  9040. isrelated2:
  9041. description: 是否已关联现货项目 - 0:否 1:是
  9042. type: integer
  9043. margin:
  9044. description: 当前保证金
  9045. type: number
  9046. modelname:
  9047. description: 型号名称
  9048. type: string
  9049. price:
  9050. description: 价格\暂定价 [1:一口价、3:暂定价]
  9051. type: number
  9052. pricedamount:
  9053. description: 已定价金额 = (点价价格+升贴水) * 数量
  9054. type: number
  9055. pricedqty:
  9056. description: 已定价量
  9057. type: number
  9058. pricemove:
  9059. description: 升贴水 [2:点价 3:暂定价]
  9060. type: number
  9061. pricetype:
  9062. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  9063. type: integer
  9064. producttype:
  9065. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  9066. type: integer
  9067. qty:
  9068. description: '[合同数量]数量'
  9069. type: number
  9070. remark:
  9071. description: 备注
  9072. type: string
  9073. selluserid:
  9074. description: 销售方ID
  9075. type: integer
  9076. sellusername:
  9077. description: 销售方名称
  9078. type: string
  9079. spotamount:
  9080. description: 合同现货金额 [不含升贴水]
  9081. type: number
  9082. spotavgprice:
  9083. description: 现货均价 = 合同现货金额 / 已定价量
  9084. type: number
  9085. spotcontractid:
  9086. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  9087. type: string
  9088. spotgoodsbrandid:
  9089. description: 现货品牌ID
  9090. type: integer
  9091. spotgoodsdesc:
  9092. description: 商品型号
  9093. type: string
  9094. spotgoodsmodelid:
  9095. description: 现货型号ID
  9096. type: integer
  9097. startdate:
  9098. description: 点价开始日期 [2:点价 3:暂定价]
  9099. type: string
  9100. tradeuserid:
  9101. description: 交易用户ID
  9102. type: integer
  9103. unpricedqty:
  9104. description: 未定价量 = 合同数量 - 已定价量
  9105. type: number
  9106. updatetime:
  9107. description: 更新时间
  9108. type: string
  9109. userid:
  9110. description: 机构ID
  9111. type: integer
  9112. wrstandardcode:
  9113. description: 现货商品代码
  9114. type: string
  9115. wrstandardid:
  9116. description: 现货商品ID
  9117. type: integer
  9118. wrstandardname:
  9119. description: '[现货商品]现货商品名称'
  9120. type: string
  9121. type: object
  9122. models.ErmcpTaAccount:
  9123. properties:
  9124. accountid:
  9125. description: 账户id
  9126. type: integer
  9127. accountname:
  9128. description: 账户名称
  9129. type: string
  9130. currencyid:
  9131. description: 币种id
  9132. type: integer
  9133. hedgeaccountcode:
  9134. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  9135. type: string
  9136. ismain:
  9137. description: 是否主账户 0-否 1-是
  9138. type: integer
  9139. parentaccountid:
  9140. description: 父账户id
  9141. type: integer
  9142. relateduserid:
  9143. description: 关联userid
  9144. type: integer
  9145. tradefeetmpid:
  9146. description: 手续费模板id
  9147. type: integer
  9148. tradefeetmpname:
  9149. description: 手续费模板名称
  9150. type: string
  9151. trademargintmpid:
  9152. description: 保证金模板id
  9153. type: integer
  9154. trademargintmpname:
  9155. description: 保证金模板名称
  9156. type: string
  9157. traderatetmpid:
  9158. description: 汇率模板id
  9159. type: integer
  9160. traderatetmpname:
  9161. description: 汇率模板名称
  9162. type: string
  9163. tradestatus:
  9164. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  9165. type: integer
  9166. userid:
  9167. description: 用户id
  9168. type: integer
  9169. type: object
  9170. models.ErmcpTaAccountEx:
  9171. properties:
  9172. mainAcc:
  9173. $ref: '#/definitions/models.ErmcpTaAccountM'
  9174. description: 主账号
  9175. subacclist:
  9176. description: 子账号列表
  9177. items:
  9178. $ref: '#/definitions/models.ErmcpTaAccount'
  9179. type: array
  9180. type: object
  9181. models.ErmcpTaAccountInfo:
  9182. properties:
  9183. accountid:
  9184. description: 资金账户ID
  9185. type: integer
  9186. accountname:
  9187. description: 账户名称
  9188. type: string
  9189. balance:
  9190. description: 期初余额
  9191. type: number
  9192. capitalbalance:
  9193. description: 本金余额[外部子账户实际出入金余额]
  9194. type: number
  9195. closepl:
  9196. description: 今日平仓盈亏
  9197. type: number
  9198. creditdecrease:
  9199. description: 今日授信减少
  9200. type: number
  9201. creditincrease:
  9202. description: 今日授信增加
  9203. type: number
  9204. curdebt:
  9205. description: 期末欠款
  9206. type: number
  9207. currencyid:
  9208. description: 货币ID
  9209. type: integer
  9210. currentbalance:
  9211. description: 期末余额
  9212. type: number
  9213. freezecharge:
  9214. description: 手续费冻结
  9215. type: number
  9216. freezemargin:
  9217. description: 冻结保证金
  9218. type: number
  9219. fromaccountid:
  9220. description: 所属上级账户
  9221. type: integer
  9222. inamount:
  9223. description: 今日入金金额(包括三方入金)
  9224. type: number
  9225. ismain:
  9226. description: 是否母账号 0:不是母账户 1:是母账户
  9227. type: integer
  9228. mortgagecredit:
  9229. description: 授信金额
  9230. type: number
  9231. oridebt:
  9232. description: 期初欠款
  9233. type: number
  9234. orifreezecharge:
  9235. description: 期初手续费冻结
  9236. type: number
  9237. orifreezemargin:
  9238. description: 期初冻结保证金
  9239. type: number
  9240. orimortgagecredit:
  9241. description: 期初授信金额
  9242. type: number
  9243. oriothercredit:
  9244. description: 期初其它授信金额
  9245. type: number
  9246. oriotherfreezemargin:
  9247. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  9248. type: number
  9249. orioutamountfreeze:
  9250. description: 期初出金冻结
  9251. type: number
  9252. oriusedmargin:
  9253. description: 期初占用保证金
  9254. type: number
  9255. othercredit:
  9256. description: 其它授信金额
  9257. type: number
  9258. othercreditdecrease:
  9259. description: 今日其它授信减少
  9260. type: number
  9261. othercreditincrease:
  9262. description: 今日其它授信增加
  9263. type: number
  9264. otherfreezemargin:
  9265. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  9266. type: number
  9267. outamount:
  9268. description: 今日出金金额(包括三方出金)
  9269. type: number
  9270. outamountfreeze:
  9271. description: 出金冻结
  9272. type: number
  9273. outthreshold:
  9274. description: 出金阈值
  9275. type: number
  9276. parentaccountid:
  9277. description: 所属根账号
  9278. type: integer
  9279. paycharge:
  9280. description: 今日手续费支出
  9281. type: number
  9282. relateduserid:
  9283. description: 关联用户
  9284. type: integer
  9285. signstatus:
  9286. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  9287. type: integer
  9288. sublevelpath:
  9289. description: 账号层级路径(逗号分隔,首尾加逗号)
  9290. type: string
  9291. taaccounttype:
  9292. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  9293. type: integer
  9294. thirdinamount:
  9295. description: 今日三方入金
  9296. type: number
  9297. thirdoutamount:
  9298. description: 今日三方出金
  9299. type: number
  9300. tradestatus:
  9301. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  9302. type: integer
  9303. transferamount:
  9304. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  9305. type: number
  9306. usedmargin:
  9307. description: 占用保证金
  9308. type: number
  9309. userid:
  9310. description: 用户ID
  9311. type: integer
  9312. type: object
  9313. models.ErmcpTaAccountM:
  9314. properties:
  9315. accountid:
  9316. description: 账户id
  9317. type: integer
  9318. accountname:
  9319. description: 账户名称
  9320. type: string
  9321. currencyid:
  9322. description: 币种id
  9323. type: integer
  9324. fcid:
  9325. description: 期货公司id
  9326. type: integer
  9327. fcname:
  9328. description: 期货公司代码
  9329. type: string
  9330. hedgeaccountcode:
  9331. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  9332. type: string
  9333. ismain:
  9334. description: 是否主账户 0-否 1-是
  9335. type: integer
  9336. parentaccountid:
  9337. description: 父账户id
  9338. type: integer
  9339. relateduserid:
  9340. description: 关联userid
  9341. type: integer
  9342. tradefeetmpid:
  9343. description: 手续费模板id
  9344. type: integer
  9345. tradefeetmpname:
  9346. description: 手续费模板名称
  9347. type: string
  9348. trademargintmpid:
  9349. description: 保证金模板id
  9350. type: integer
  9351. trademargintmpname:
  9352. description: 保证金模板名称
  9353. type: string
  9354. traderatetmpid:
  9355. description: 汇率模板id
  9356. type: integer
  9357. traderatetmpname:
  9358. description: 汇率模板名称
  9359. type: string
  9360. tradestatus:
  9361. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  9362. type: integer
  9363. userid:
  9364. description: 用户id
  9365. type: integer
  9366. type: object
  9367. models.ErmcpTradeConfigTMP:
  9368. properties:
  9369. areauserid:
  9370. description: 所属机构
  9371. type: integer
  9372. basiccurrencyid:
  9373. description: 基本币种ID[汇率] - 目标币种
  9374. type: integer
  9375. mainaccountid:
  9376. description: 主账户ID
  9377. type: integer
  9378. modifierid:
  9379. description: 修改人
  9380. type: integer
  9381. remark:
  9382. description: 备注
  9383. type: string
  9384. tradeconfigtmpid:
  9385. description: 交易配置模板ID(SEQ_TRADECONFIGTMP)
  9386. type: integer
  9387. tradeconfigtmpname:
  9388. description: 交易配置模板名称
  9389. type: string
  9390. tradeconfigtmptype:
  9391. description: 交易配置模板类型 - 1:保证金 2:手续费 3:汇率
  9392. type: integer
  9393. updatetime:
  9394. description: 更新时间
  9395. type: string
  9396. type: object
  9397. models.Ermcpjrlinkpos:
  9398. properties:
  9399. areauserid:
  9400. description: 所属企业
  9401. type: integer
  9402. averageprice:
  9403. description: 持仓均价 (TotalBuyHoldAmount - TotalSellHoldAmount) / NetQty
  9404. type: number
  9405. closepl:
  9406. description: 总平仓盈亏 [期货损益]
  9407. type: number
  9408. executeprice:
  9409. description: 执行价 - 1:期货单 为 0
  9410. type: integer
  9411. futurehedgeqty:
  9412. description: 期货套期量
  9413. type: number
  9414. goodsid:
  9415. description: 期货合约
  9416. type: integer
  9417. middlegoodscode:
  9418. description: 套保商品代码
  9419. type: string
  9420. middlegoodsname:
  9421. description: 套保商品名称
  9422. type: string
  9423. netqty:
  9424. description: 净头寸
  9425. type: number
  9426. optioncode:
  9427. description: 期权代码
  9428. type: string
  9429. ordertype:
  9430. description: 单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单
  9431. type: integer
  9432. reckonpl:
  9433. description: 总盈亏(平仓盈亏 + 结算盈亏 - 手续费)
  9434. type: number
  9435. spotcontractid:
  9436. description: 现货ID [套期项目ID - 金瑞:合同\虚拟合同ID
  9437. type: string
  9438. todayfutureclosepl:
  9439. description: 今日平仓盈亏
  9440. type: number
  9441. totalbuyamount:
  9442. description: 买金额 [期货]
  9443. type: number
  9444. totalbuyholdamount:
  9445. description: 买持仓总金额[期货]
  9446. type: number
  9447. totalbuyqty:
  9448. description: 买数量
  9449. type: number
  9450. totalcharge:
  9451. description: 手续费
  9452. type: number
  9453. totalpremium:
  9454. description: 权利金 [期权]
  9455. type: number
  9456. totalsellamount:
  9457. description: 卖金额 [期货]
  9458. type: number
  9459. totalsellholdamount:
  9460. description: 卖持仓总金额[期货]
  9461. type: number
  9462. totalsellqty:
  9463. description: 卖数量
  9464. type: number
  9465. updatetime:
  9466. description: 更新时间
  9467. type: string
  9468. required:
  9469. - spotcontractid
  9470. type: object
  9471. models.Ermcppatradelinkdetail:
  9472. properties:
  9473. agreeunit:
  9474. description: 合约乘数
  9475. type: number
  9476. amount:
  9477. description: 金额 = RelatedLot * TradePrice * AgreeUnit
  9478. type: number
  9479. areauserid:
  9480. description: 所属机构
  9481. type: integer
  9482. bizsubjectid:
  9483. description: 归属业务部门ID - SubjectID
  9484. type: integer
  9485. buyorsell:
  9486. description: 方向 - 0:买 1:卖
  9487. type: integer
  9488. convertratio:
  9489. description: 品种系数
  9490. type: number
  9491. createtime:
  9492. description: 创建时间
  9493. type: string
  9494. creatorid:
  9495. description: 创建人ID
  9496. type: integer
  9497. creatorsrc:
  9498. description: 创建人来源 - 1:管理端 2:终端 3:交易
  9499. type: integer
  9500. goodsgroupid:
  9501. description: 对冲品种ID[期货合约商品组ID]
  9502. type: integer
  9503. goodsid:
  9504. description: 商品ID
  9505. type: integer
  9506. hedgeditemid:
  9507. description: 现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]
  9508. type: integer
  9509. hedgeflag:
  9510. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  9511. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目
  9512. type: integer
  9513. linkdetailid:
  9514. description: 期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)
  9515. type: string
  9516. linkstatus:
  9517. description: 关联状态 - 1:成功 2:失败 3:解绑
  9518. type: integer
  9519. middlegoodsid:
  9520. description: 套保品种ID
  9521. type: integer
  9522. name:
  9523. description: 账户名/子账户
  9524. type: string
  9525. optioncode:
  9526. description: '[期货合约]期权代码 [期权]'
  9527. type: string
  9528. ordertype:
  9529. description: 单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单
  9530. type: integer
  9531. relatedlot:
  9532. description: '[数量]关联手数'
  9533. type: number
  9534. relatedmode:
  9535. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  9536. type: integer
  9537. relatedqty:
  9538. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  9539. type: number
  9540. retcode:
  9541. description: 返回码
  9542. type: integer
  9543. saleuserid:
  9544. description: 业务员ID
  9545. type: integer
  9546. tradedate:
  9547. description: 关联交易日(yyyyMMdd)
  9548. type: string
  9549. tradeid:
  9550. description: '[成交单号]内部成交单ID'
  9551. type: string
  9552. tradelot:
  9553. description: 成交手数
  9554. type: integer
  9555. tradeprice:
  9556. description: '[价格]成交价格'
  9557. type: number
  9558. tradetime:
  9559. description: 日期时间
  9560. type: string
  9561. tradetradedate:
  9562. description: 成交交易日(yyyyMMdd)
  9563. type: string
  9564. required:
  9565. - hedgeditemid
  9566. type: object
  9567. models.Exchangerateconfig:
  9568. properties:
  9569. descurrencyid:
  9570. description: 目标币种ID
  9571. type: integer
  9572. exchangerate:
  9573. description: 汇率
  9574. type: number
  9575. oricurrencyid:
  9576. description: 源币种ID
  9577. type: integer
  9578. remark:
  9579. description: 备注
  9580. type: string
  9581. type: object
  9582. models.Externalexchange:
  9583. properties:
  9584. autoid:
  9585. description: AutoID - SEQ_EXTERNALEXCHANGE
  9586. type: integer
  9587. exchangefullname:
  9588. description: 外部交易所全称
  9589. type: string
  9590. exexchangecode:
  9591. description: 外部交易所代码
  9592. type: string
  9593. exexchangename:
  9594. description: 外部交易所名称(简称)
  9595. type: string
  9596. ismarketprice:
  9597. description: 是否支持市价 - 0:不支持 1:支持
  9598. type: integer
  9599. quotegear:
  9600. description: 行情档位(1-10)
  9601. type: integer
  9602. showbrokerflag:
  9603. description: 是否显示买卖经纪盘 - 0:不显示 1:显示
  9604. type: integer
  9605. updatetime:
  9606. description: 更新时间
  9607. type: string
  9608. required:
  9609. - autoid
  9610. type: object
  9611. models.Funcmenulist:
  9612. properties:
  9613. iconame:
  9614. description: 菜单图标
  9615. type: string
  9616. menutype:
  9617. description: 菜单类型 1-管理端 2-交易端 3-终端权限
  9618. type: integer
  9619. parentcode:
  9620. description: 上级资源代码
  9621. type: string
  9622. remark:
  9623. description: 备注
  9624. type: string
  9625. resourcecode:
  9626. description: 资源代码
  9627. type: string
  9628. resourcelevel:
  9629. description: 级别 1-一级 2-二级 3-三级 4-四级
  9630. type: integer
  9631. resourcename:
  9632. description: 资源名
  9633. type: string
  9634. sort:
  9635. description: 排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序
  9636. type: integer
  9637. url:
  9638. description: URL
  9639. type: string
  9640. required:
  9641. - resourcecode
  9642. type: object
  9643. models.GZGoods:
  9644. properties:
  9645. cerno:
  9646. description: 证书编号 - 类型:2,4,5
  9647. type: string
  9648. cpcertno:
  9649. description: 金伯利证书编号 - 类型:3
  9650. type: string
  9651. goodsno:
  9652. description: 商品编号
  9653. type: string
  9654. imagepath:
  9655. description: 商品照片(相对地址)
  9656. type: string
  9657. isvalid:
  9658. description: 是否有效 - 0:无效 1:有效
  9659. type: integer
  9660. kppath:
  9661. description: 金伯利证书图片(相对地址) - 类型:3
  9662. type: string
  9663. kpweight:
  9664. description: 金伯利证书重量 - 类型:3
  9665. type: string
  9666. marketprice:
  9667. description: 市场价
  9668. type: string
  9669. mobile:
  9670. description: 手机号码
  9671. type: string
  9672. origin:
  9673. description: 原产地 - 类型:3
  9674. type: string
  9675. price:
  9676. description: 总价(价格) - 类型:1,2,3,4,5
  9677. type: number
  9678. priceper:
  9679. description: 克拉单价 - 类型:1,2,3,5
  9680. type: string
  9681. remark:
  9682. description: 备注
  9683. type: string
  9684. sellusername:
  9685. description: 账户名称(机构名称)
  9686. type: string
  9687. settingmaterial:
  9688. description: 镶嵌材料 - 类型:4
  9689. type: string
  9690. size1:
  9691. description: 尺寸1 - 类型:2,4,5
  9692. type: string
  9693. size2:
  9694. description: 尺寸2 - 类型:2,4,5
  9695. type: string
  9696. size3:
  9697. description: 尺寸3 - 类型:2,4,5
  9698. type: string
  9699. stonedesc:
  9700. description: 配石描述 - 类型:4
  9701. type: string
  9702. userid:
  9703. description: 用户ID
  9704. type: integer
  9705. warehouseid:
  9706. description: 仓库ID
  9707. type: integer
  9708. warehousenamedisplay:
  9709. type: string
  9710. weight:
  9711. description: 总重量(克拉重量) - 类型:1,2,3,4,5
  9712. type: number
  9713. weightavg:
  9714. description: 平均单颗重量 - 类型:1,3
  9715. type: number
  9716. wrpath:
  9717. description: 仓单扫描件(相对地址)
  9718. type: string
  9719. wrstandardid:
  9720. description: 现货商品ID
  9721. type: integer
  9722. zscategory:
  9723. description: 钻石分类 - 枚举”ZSCategory“
  9724. type: integer
  9725. zscategorydisplay:
  9726. type: string
  9727. zscerttype:
  9728. description: 证书类型 - 枚举”ZSCertType“ - 类型:2,4,5
  9729. type: integer
  9730. zscerttypedisplay:
  9731. type: string
  9732. zsclaritytype1:
  9733. description: 净度1 - 枚举”ZSClarityType“ - 类型:1,2,3,4,5
  9734. type: integer
  9735. zsclaritytype1display:
  9736. type: string
  9737. zsclaritytype2:
  9738. description: 净度2 - 枚举”ZSClarityType“ - 类型:1,3
  9739. type: integer
  9740. zsclaritytype2display:
  9741. type: string
  9742. zscolortype1:
  9743. description: 颜色1 - 枚举”ZSColorType“ - 类型:1,2,3,4
  9744. type: integer
  9745. zscolortype1display:
  9746. type: string
  9747. zscolortype2:
  9748. description: 颜色2 - 枚举”ZSColorType“ - 类型:1,3
  9749. type: integer
  9750. zscolortype2display:
  9751. type: string
  9752. zscrystaltype:
  9753. description: 晶型范围 - 枚举“ZSCrystalType“ - 类型:3, 多个,逗号分隔
  9754. type: string
  9755. zscrystaltypedisplay:
  9756. type: string
  9757. zscurrencytype:
  9758. description: 货币类型 - 枚举“ZSCurrencyType”
  9759. type: integer
  9760. zscurrencytypedisplay:
  9761. type: string
  9762. zscurrencytypedisplayunit:
  9763. type: string
  9764. zscuttype1:
  9765. description: 切工1 - 枚举”ZSCutType“ - 类型:1,2,4,5
  9766. type: integer
  9767. zscuttype1display:
  9768. type: string
  9769. zscuttype2:
  9770. description: 切工2 - 枚举”ZSCutType“ - 类型:1
  9771. type: integer
  9772. zscuttype2display:
  9773. type: string
  9774. zsczcolor1type:
  9775. description: 彩钻颜色1 - 枚举”ZSCZColor1Type“ - 类型:5
  9776. type: integer
  9777. zsczcolor1typedisplay:
  9778. type: string
  9779. zsczcolor2type:
  9780. description: 彩钻颜色2 - 枚举”ZSCZColor2Type“ - 类型:5
  9781. type: integer
  9782. zsczcolor2typedisplay:
  9783. type: string
  9784. zsczcolor3type:
  9785. description: 彩钻颜色3 - 枚举”ZSCZColor3Type“ - 类型:5
  9786. type: integer
  9787. zsczcolor3typedisplay:
  9788. type: string
  9789. zsfluorescencetype1:
  9790. description: 荧光1 - 枚举”ZSFluorescenceType“ - 类型:1,2,3,4,5
  9791. type: integer
  9792. zsfluorescencetype1display:
  9793. type: string
  9794. zsfluorescencetype2:
  9795. description: 荧光2 - 枚举”ZSFluorescenceType” - 类型:1,3
  9796. type: integer
  9797. zsfluorescencetype2display:
  9798. type: string
  9799. zspolishtype1:
  9800. description: 抛光度1 - 枚举”ZSPolishType“ - 类型:1,2,4,5
  9801. type: integer
  9802. zspolishtype1display:
  9803. type: string
  9804. zspolishtype2:
  9805. description: 抛光度2 - 枚举”ZSPolishType“ - 类型:1
  9806. type: integer
  9807. zspolishtype2display:
  9808. type: string
  9809. zsshapetype:
  9810. description: 形状 - 枚举”ZSShapeType“ - 类型:1,2,4,5 ;(1为多个,逗号分隔)
  9811. type: string
  9812. zsshapetypedisplay:
  9813. type: string
  9814. zsstyletype:
  9815. description: 款式 - 类型:4
  9816. type: integer
  9817. zsstyletypedisplay:
  9818. type: string
  9819. zssymmetrytype1:
  9820. description: 对称度1 - 枚举”ZSSymmetryType“ - 类型:1,2,4,5
  9821. type: integer
  9822. zssymmetrytype1display:
  9823. type: string
  9824. zssymmetrytype2:
  9825. description: 对称度2 - 枚举”ZSSymmetryType“ - 类型:1
  9826. type: integer
  9827. zssymmetrytype2display:
  9828. type: string
  9829. required:
  9830. - goodsno
  9831. type: object
  9832. models.GZWarehouseinfo:
  9833. properties:
  9834. address:
  9835. description: 详细地址
  9836. type: string
  9837. areauserid:
  9838. description: 所属机构
  9839. type: integer
  9840. autoid:
  9841. description: 自增ID
  9842. type: integer
  9843. cityid:
  9844. description: 市
  9845. type: integer
  9846. contactname:
  9847. description: 联系人
  9848. type: string
  9849. contactnum:
  9850. description: 联系电话
  9851. type: string
  9852. countryid:
  9853. description: 国家
  9854. type: integer
  9855. createtime:
  9856. description: 创建时间
  9857. type: string
  9858. districtid:
  9859. description: 区
  9860. type: integer
  9861. hasvideo:
  9862. description: 是否有视频 - 0:无 1:有
  9863. type: integer
  9864. provinceid:
  9865. description: 省
  9866. type: integer
  9867. remark:
  9868. description: 审核备注
  9869. type: string
  9870. videourl:
  9871. description: 视频地址
  9872. type: string
  9873. warehousecode:
  9874. description: 仓库代码
  9875. type: string
  9876. warehousename:
  9877. description: 仓库名称
  9878. type: string
  9879. warehousestatus:
  9880. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  9881. type: integer
  9882. warehousetype:
  9883. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  9884. type: integer
  9885. type: object
  9886. models.Goods:
  9887. properties:
  9888. agreeunit:
  9889. description: 合约单位
  9890. type: number
  9891. areauserid:
  9892. description: 所属机构
  9893. type: integer
  9894. auditaccountid:
  9895. description: 审核操作员账号
  9896. type: integer
  9897. audittime:
  9898. description: 审核时间
  9899. type: string
  9900. cancelaccountid:
  9901. description: 注销操作员账号
  9902. type: integer
  9903. canceltime:
  9904. description: 注销时间
  9905. type: string
  9906. closepricemode:
  9907. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  9908. type: integer
  9909. closepriceparam:
  9910. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  9911. type: number
  9912. createtime:
  9913. description: 创建时间
  9914. type: string
  9915. creatorid:
  9916. description: 创建人
  9917. type: integer
  9918. currencyid:
  9919. description: 报价货币ID
  9920. type: integer
  9921. cutmode:
  9922. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  9923. type: integer
  9924. decimalplace:
  9925. description: 报价小数位
  9926. type: integer
  9927. delistingdate:
  9928. description: 商品退市时间(状态:退市) -- 已作废
  9929. type: string
  9930. delistingmode:
  9931. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  9932. type: integer
  9933. deliveryflag:
  9934. description: 交割标志 - 0:不可交割 1:可交割
  9935. type: integer
  9936. forceclosemode:
  9937. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  9938. type: integer
  9939. forceclosevalue:
  9940. description: 定期强平参数 [收益权]
  9941. type: integer
  9942. goodscode:
  9943. description: 商品代码(内部)
  9944. type: string
  9945. goodscurrencyid:
  9946. description: 合约货币ID
  9947. type: integer
  9948. goodsgroupid:
  9949. description: 所属商品组ID
  9950. type: integer
  9951. goodsid:
  9952. description: 商品ID(自增ID SEQ_GOODS)
  9953. type: integer
  9954. goodsname:
  9955. description: 商品名称
  9956. type: string
  9957. goodsquotetype:
  9958. description: '合约报价类型: 1-直接报价 2-间接报价'
  9959. type: integer
  9960. goodsstatus:
  9961. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  9962. type: integer
  9963. goodstradetype:
  9964. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  9965. type: integer
  9966. goodunitid:
  9967. description: 报价单位ID
  9968. type: integer
  9969. hasquoter:
  9970. description: 是否有报价商 - 0:无报价商 1:有报价商
  9971. type: integer
  9972. hqprotecttime:
  9973. description: 行情保护时间(秒)
  9974. type: integer
  9975. innerdealmode:
  9976. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  9977. type: integer
  9978. isbuylimited:
  9979. description: 是否限制建仓量 - 0:不限制 1:限制
  9980. type: integer
  9981. isvisible:
  9982. description: 游客是否可见 - 0:不可见 1:可见
  9983. type: integer
  9984. lasttradedate:
  9985. description: 最后交易日期(状态:待退市)
  9986. type: string
  9987. listingdate:
  9988. description: 交易开始日期
  9989. type: string
  9990. marketid:
  9991. description: 所属市场ID
  9992. type: integer
  9993. modifierid:
  9994. description: 修改人
  9995. type: integer
  9996. modifystatus:
  9997. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  9998. type: integer
  9999. modifytime:
  10000. description: 修改时间
  10001. type: string
  10002. outerdealmode:
  10003. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  10004. type: integer
  10005. outgoodscode:
  10006. description: 商品代码(外部)
  10007. type: string
  10008. pictureurl:
  10009. description: 商品图片
  10010. type: string
  10011. qtydecimalplace:
  10012. description: 成交量小数位
  10013. type: integer
  10014. quotegear:
  10015. description: 行情档位(1-10)
  10016. type: integer
  10017. quoteminunit:
  10018. description: 行情最小变动单位 [整数,报价小数位一起使用]
  10019. type: integer
  10020. quoteshowtype:
  10021. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  10022. type: integer
  10023. quoteshowtypeinterval:
  10024. description: 行情报价间隔时间(秒)(成交价时为0)
  10025. type: integer
  10026. remark:
  10027. description: 备注
  10028. type: string
  10029. required:
  10030. - goodscode
  10031. - goodsid
  10032. - goodsname
  10033. - marketid
  10034. type: object
  10035. models.GoodsIDAndName:
  10036. properties:
  10037. goodscode:
  10038. description: 商品代码(内部)
  10039. type: string
  10040. goodsid:
  10041. description: 商品ID(自增ID SEQ_GOODS)
  10042. type: integer
  10043. goodsname:
  10044. description: 商品名称
  10045. type: string
  10046. marketid:
  10047. description: 所属市场ID
  10048. type: integer
  10049. required:
  10050. - goodscode
  10051. - goodsid
  10052. - goodsname
  10053. - marketid
  10054. type: object
  10055. models.Goodsgroup:
  10056. properties:
  10057. agreeunit:
  10058. description: 合约单位
  10059. type: number
  10060. canshort:
  10061. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  10062. type: integer
  10063. closepricemode:
  10064. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  10065. type: integer
  10066. closepriceparam:
  10067. description: 强平最新价浮动比例 - 方式为2时使用
  10068. type: number
  10069. createtime:
  10070. description: 创建时间
  10071. type: string
  10072. creatorid:
  10073. description: 创建人
  10074. type: integer
  10075. currencyid:
  10076. description: 报价货币ID
  10077. type: integer
  10078. decimalplace:
  10079. description: 报价小数位
  10080. type: integer
  10081. exercisetype:
  10082. description: 行权类型[场外期权]-1:欧式期权 2:美式期权
  10083. type: integer
  10084. exexchangeid:
  10085. description: 外部交易所ID[通道交易]
  10086. type: integer
  10087. goodsgroupid:
  10088. description: 商品组ID(自增ID)
  10089. type: integer
  10090. goodsgroupname:
  10091. description: 商品组名称
  10092. type: string
  10093. goodsgroupstatus:
  10094. description: 商品组状态 - 1:正常 2:注销
  10095. type: integer
  10096. goodunitid:
  10097. description: 报价单位ID
  10098. type: integer
  10099. innerdealmode:
  10100. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  10101. type: integer
  10102. isbuylimited:
  10103. description: 是否限制建仓量 - 0:不限制 1:限制
  10104. type: integer
  10105. marketid:
  10106. description: 所属市场ID
  10107. type: integer
  10108. modifierid:
  10109. description: 修改人
  10110. type: integer
  10111. modifytime:
  10112. description: 修改时间
  10113. type: string
  10114. outerdealmode:
  10115. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  10116. type: integer
  10117. outergroupcode:
  10118. description: 外部商品组代码[通道交易]
  10119. type: string
  10120. premiumdecimalplace:
  10121. description: 权利金小数位[场外期权]
  10122. type: integer
  10123. premiumspreadalgorithm:
  10124. description: 权利金点差方式[场外期权] 1:比率 2:固定
  10125. type: integer
  10126. premiumspreadvalue:
  10127. description: 权利金点差值[场外期权]
  10128. type: number
  10129. qtydecimalplace:
  10130. description: 成交量小数位
  10131. type: integer
  10132. quotegear:
  10133. description: 行情档位(1-10)
  10134. type: integer
  10135. quoteminunit:
  10136. description: 行情最小变动单位 [整数,报价小数位一起使用]
  10137. type: integer
  10138. quoterid:
  10139. description: 报价商ID[场外期权]
  10140. type: integer
  10141. quotesourcegroupid:
  10142. description: 所属行情源分组ID[参考行情市场用\通道交易]
  10143. type: integer
  10144. syncgoodsqty:
  10145. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  10146. type: integer
  10147. required:
  10148. - goodsgroupid
  10149. - goodsgroupname
  10150. - goodsgroupstatus
  10151. - marketid
  10152. type: object
  10153. models.Goodssortbypreposition:
  10154. properties:
  10155. goodscode:
  10156. description: 合约代码 - 易盛接口:合约代码=品种代码+合约代码
  10157. type: string
  10158. goodsgroupcode:
  10159. description: 品种代码
  10160. type: string
  10161. prepositionqty:
  10162. description: 昨持仓量
  10163. type: integer
  10164. sortindex:
  10165. description: 排序
  10166. type: integer
  10167. tradedate:
  10168. description: 交易日
  10169. type: string
  10170. updatetime:
  10171. description: 更新时间
  10172. type: string
  10173. required:
  10174. - goodscode
  10175. - tradedate
  10176. type: object
  10177. models.Hedgeinnerholderdetail:
  10178. properties:
  10179. accountid:
  10180. description: 账号ID
  10181. type: integer
  10182. buyorsell:
  10183. description: 方向 - 0:买 1:卖
  10184. type: integer
  10185. freezeqty:
  10186. description: 冻结数量 - 按单平使用
  10187. type: integer
  10188. goodsid:
  10189. description: 商品ID
  10190. type: integer
  10191. holderamount:
  10192. description: 持仓金额 [商品币种]
  10193. type: number
  10194. holderdays:
  10195. description: 剩余冻结天数
  10196. type: integer
  10197. holderprice:
  10198. description: 持仓价格
  10199. type: number
  10200. holderqty:
  10201. description: 持仓数量
  10202. type: integer
  10203. marketid:
  10204. description: 市场ID
  10205. type: integer
  10206. openprice:
  10207. description: 建仓价格
  10208. type: number
  10209. openqty:
  10210. description: 建仓数量
  10211. type: integer
  10212. parentaccountid:
  10213. description: 所属母账户
  10214. type: integer
  10215. releaseamount:
  10216. description: 释放持仓金额[商品币种]
  10217. type: number
  10218. tradeamount:
  10219. description: 成交金额[账户]
  10220. type: number
  10221. tradedate:
  10222. description: 交易日(yyyyMMdd)
  10223. type: string
  10224. tradeid:
  10225. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10226. type: string
  10227. tradetime:
  10228. description: 交易时间
  10229. type: string
  10230. required:
  10231. - buyorsell
  10232. - tradeid
  10233. type: object
  10234. models.Hedgemarketopenlog:
  10235. properties:
  10236. accountid:
  10237. description: 资金账号[外部母账户]
  10238. type: integer
  10239. fcname:
  10240. description: 期货公司名称
  10241. type: string
  10242. handlestatus:
  10243. description: 处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp
  10244. type: integer
  10245. marketid:
  10246. description: 市场ID
  10247. type: integer
  10248. status:
  10249. description: 状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败
  10250. type: integer
  10251. tradedate:
  10252. description: 交易日(yyyyMMdd)
  10253. type: string
  10254. updatetime:
  10255. description: 更新时间
  10256. type: string
  10257. required:
  10258. - accountid
  10259. type: object
  10260. models.InternalEnableTradeDetail:
  10261. properties:
  10262. agreeunit:
  10263. description: 合约乘数
  10264. type: number
  10265. areauserid:
  10266. description: 企业ID
  10267. type: integer
  10268. convertratio:
  10269. description: 品种系数
  10270. type: number
  10271. deliverygoodscode:
  10272. description: 现货品种代码
  10273. type: string
  10274. deliverygoodsid:
  10275. description: 现货品种ID(SEQ_DELIVERYGOODS)
  10276. type: integer
  10277. deliverygoodsname:
  10278. description: 现货品种名称
  10279. type: string
  10280. futurehedgeqty:
  10281. description: '[已关联数量]期货持仓套期量'
  10282. type: number
  10283. goodsid:
  10284. description: 期货合约ID
  10285. type: integer
  10286. hedgeditemid:
  10287. description: 被套期项目ID
  10288. type: string
  10289. hedgeditemnum:
  10290. description: 项目编号
  10291. type: string
  10292. tradeuserid:
  10293. description: 交易用户ID
  10294. type: integer
  10295. unexehedgeqty:
  10296. description: 未执行套期量 = 未执行现货量*折算系数* (1/(1+增值税)) * 套期比例(项目上)
  10297. type: number
  10298. unexespotqty:
  10299. description: 未执行现货量
  10300. type: number
  10301. wrstandardcode:
  10302. description: 现货品类代码
  10303. type: string
  10304. wrstandardid:
  10305. description: 现货品类ID(SEQ_WRSTANDARD)
  10306. type: integer
  10307. wrstandardname:
  10308. description: 现货品类名称
  10309. type: string
  10310. required:
  10311. - areauserid
  10312. - goodsid
  10313. - tradeuserid
  10314. type: object
  10315. models.InternalUncorrelatedTradeDetail:
  10316. properties:
  10317. accountid:
  10318. description: 账号ID
  10319. type: integer
  10320. accountname:
  10321. description: 套期主体
  10322. type: string
  10323. agreeunit:
  10324. description: 合约乘数
  10325. type: number
  10326. areauserid:
  10327. description: 所属机构
  10328. type: integer
  10329. bizsubjectid:
  10330. description: 归属业务部门ID - SubjectID
  10331. type: integer
  10332. buyorsell:
  10333. description: 方向 - 0:买 1:卖
  10334. type: integer
  10335. channelbuildtype:
  10336. description: 委托单据类型 0:无 1:建仓 2:平仓
  10337. type: integer
  10338. convertratio:
  10339. description: 品种系数
  10340. type: number
  10341. createtime:
  10342. description: 创建时间
  10343. type: string
  10344. creatorid:
  10345. description: 创建人ID
  10346. type: integer
  10347. creatorsrc:
  10348. description: 创建人来源 - 1:管理端 2:终端 3:交易
  10349. type: integer
  10350. enableqty:
  10351. description: 项目可关联数量 = 套保品种数量 - 关联数量
  10352. type: number
  10353. enumdicname:
  10354. description: 单位
  10355. type: string
  10356. goodscode:
  10357. description: 合约代码
  10358. type: string
  10359. goodsgroupid:
  10360. description: 对冲品种ID[期货合约商品组ID]
  10361. type: integer
  10362. goodsid:
  10363. description: 商品ID
  10364. type: integer
  10365. goodsname:
  10366. description: 合约名称
  10367. type: string
  10368. hedgeditemid:
  10369. description: 现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]
  10370. type: integer
  10371. hedgeflag:
  10372. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  10373. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目
  10374. type: integer
  10375. linkdetailid:
  10376. description: 期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)
  10377. type: string
  10378. linkstatus:
  10379. description: 关联状态 - 1:成功 2:失败 3:解绑
  10380. type: integer
  10381. middlegoodsid:
  10382. description: 套保品种ID
  10383. type: integer
  10384. middlegoodsqty:
  10385. description: '[套期商品数量]套保品种数量 = TradeQty * AgreeUnit * ConvertRatio'
  10386. type: number
  10387. relatedlot:
  10388. description: '[数量]关联手数'
  10389. type: number
  10390. relatedmode:
  10391. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  10392. type: integer
  10393. relatedqty:
  10394. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  10395. type: number
  10396. retcode:
  10397. description: 返回码
  10398. type: integer
  10399. saleuserid:
  10400. description: 业务员ID
  10401. type: integer
  10402. tradedate:
  10403. description: 关联交易日(yyyyMMdd)
  10404. type: string
  10405. tradeid:
  10406. description: 成交单号
  10407. type: string
  10408. tradelot:
  10409. description: 成交手数
  10410. type: integer
  10411. tradeprice:
  10412. description: 成交价
  10413. type: number
  10414. tradetime:
  10415. description: 成交时间
  10416. type: string
  10417. tradetradedate:
  10418. description: 成交交易日(yyyyMMdd)
  10419. type: string
  10420. tradeuserid:
  10421. description: 交易用户ID
  10422. type: integer
  10423. type: object
  10424. models.Loginaccount:
  10425. properties:
  10426. accountname:
  10427. description: 账户名称
  10428. type: string
  10429. canoutin:
  10430. description: 是否可出入金 - 0:不可 1:可
  10431. type: integer
  10432. clientroleid:
  10433. description: 终端角色ID
  10434. type: integer
  10435. haslogined:
  10436. description: 是否已登录 - 0:未登录 1:已登录
  10437. type: integer
  10438. hasupdatedpwd:
  10439. description: 是否已更改密码 - 0:未修改 1:已修改
  10440. type: integer
  10441. lastloginip:
  10442. description: 最新登录地址
  10443. type: string
  10444. lastloginmode:
  10445. description: 最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端
  10446. 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  10447. type: integer
  10448. lastloginremark:
  10449. description: 最新登录描述
  10450. type: string
  10451. lastlogintime:
  10452. description: 最新登录时间
  10453. type: string
  10454. logincode:
  10455. description: 登录代码
  10456. type: string
  10457. loginfailnum:
  10458. description: 连续登录失败次数(登录成功时清零)
  10459. type: integer
  10460. loginid:
  10461. description: 登陆账号
  10462. type: integer
  10463. loginport:
  10464. description: 最新登录端口
  10465. type: integer
  10466. loginstatus:
  10467. description: 登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)
  10468. type: integer
  10469. loginusertype:
  10470. description: 登录账号类型 - 1:投资者 2:机构交易员
  10471. type: integer
  10472. mobile:
  10473. description: 手机号码(加密存储)
  10474. type: string
  10475. modifierid:
  10476. description: 修改人
  10477. type: integer
  10478. modifysrc:
  10479. description: 审核来源 - 1:管理端 2:终端
  10480. type: integer
  10481. modifytime:
  10482. description: 修改时间
  10483. type: string
  10484. password:
  10485. description: 登陆密码
  10486. type: string
  10487. pwdwrongcount:
  10488. description: 密码错误次数
  10489. type: integer
  10490. relateduserid:
  10491. description: 关联用户ID(机构)
  10492. type: integer
  10493. taaccountrighttype:
  10494. description: 资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限
  10495. type: integer
  10496. unfreezetime:
  10497. description: 账户解冻时间
  10498. type: string
  10499. userid:
  10500. description: 用户ID
  10501. type: integer
  10502. required:
  10503. - loginid
  10504. type: object
  10505. models.MainAccountInfo:
  10506. properties:
  10507. accountid:
  10508. description: 账号id
  10509. type: integer
  10510. accountname:
  10511. description: 账号名称(taaccount表中的名称)
  10512. type: string
  10513. appid:
  10514. description: AppID
  10515. type: string
  10516. authcode:
  10517. description: 授权码
  10518. type: string
  10519. brokerid:
  10520. description: 经纪商id
  10521. type: string
  10522. fcid:
  10523. description: 期货公司id
  10524. type: integer
  10525. fcname:
  10526. description: 期货公司代码
  10527. type: string
  10528. hedgeaccountcode:
  10529. description: 外部账号代码(主账号登录代码)
  10530. type: string
  10531. hedgeaccountpwd:
  10532. description: 密码
  10533. type: string
  10534. ismain:
  10535. description: 是否主账号
  10536. type: integer
  10537. relateduserid:
  10538. description: 关联用户id
  10539. type: integer
  10540. userid:
  10541. description: 关联用户id
  10542. type: integer
  10543. type: object
  10544. models.Market:
  10545. properties:
  10546. auctionwrtype:
  10547. description: 竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可
  10548. type: integer
  10549. canacceptquote:
  10550. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  10551. type: integer
  10552. cangoodsexercise:
  10553. description: '[期权]是否可现货行权- 0:否 1:是'
  10554. type: integer
  10555. cangoodsexercisetype:
  10556. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  10557. type: integer
  10558. canmanualquotestrike:
  10559. description: 是否可手动报行权价- 0:否 1:是 [期权]
  10560. type: integer
  10561. canmutistage:
  10562. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  10563. type: integer
  10564. canpreexercise:
  10565. description: '[期权]是否可预申报- 0:否 1:是'
  10566. type: integer
  10567. clearinterval:
  10568. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  10569. type: integer
  10570. contracttmp:
  10571. description: 合同模板[荷兰式][竞价式][仓单贸易]
  10572. type: string
  10573. exchareaid:
  10574. description: 所属交易所,可以没有
  10575. type: integer
  10576. goodstype:
  10577. description: 商品类型 - 1:交易商品 2:仓单商品
  10578. type: integer
  10579. hasrebate:
  10580. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  10581. type: integer
  10582. hastradecredit:
  10583. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  10584. type: integer
  10585. haswr:
  10586. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  10587. type: integer
  10588. isdeductmargin:
  10589. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  10590. type: integer
  10591. isrecordsource:
  10592. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  10593. type: integer
  10594. isreleasemargin:
  10595. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  10596. type: integer
  10597. marginformula:
  10598. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  10599. type: integer
  10600. marginformula2:
  10601. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  10602. type: integer
  10603. marketid:
  10604. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  10605. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  10606. type: integer
  10607. marketname:
  10608. description: 市场名称
  10609. type: string
  10610. marketserviceid:
  10611. description: 市场服务ID
  10612. type: integer
  10613. marketstatus:
  10614. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  10615. type: integer
  10616. markettype:
  10617. description: 市场类型- 1:非交易服务 2:交易服务
  10618. type: integer
  10619. matchermode:
  10620. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手
  10621. type: integer
  10622. openmethod:
  10623. description: 开盘模式 - 0 自动 1手动
  10624. type: integer
  10625. otcuserid:
  10626. description: 场外期权做市商[场外期权]
  10627. type: integer
  10628. outersynctime:
  10629. description: 外部同步时间点(h24:mi:ss)[场外期权]
  10630. type: string
  10631. pendingflag:
  10632. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  10633. type: integer
  10634. pendingtime:
  10635. description: 待开市时间[通道交易-对冲](HH:mm)
  10636. type: string
  10637. performancetempid:
  10638. description: 履约计划模板ID - 作废
  10639. type: integer
  10640. premiumquotemode:
  10641. description: 权利金报价方式 - 1:自动 2:手动
  10642. type: integer
  10643. rebateratio:
  10644. description: 返利比率[竞价式]
  10645. type: number
  10646. reckonorder:
  10647. description: 结算顺序
  10648. type: integer
  10649. reckonpricealgorithm:
  10650. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  10651. 6.卖一价 7.买一卖一均价 8.外部结算价'
  10652. type: integer
  10653. reckonpriceparam:
  10654. description: 结算价参数
  10655. type: integer
  10656. reckontime:
  10657. description: 结算时间[通道交易-对冲](HH:mm)
  10658. type: string
  10659. roleprioritytype:
  10660. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  10661. type: integer
  10662. selllistingauditflag:
  10663. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  10664. type: integer
  10665. trademarkettype:
  10666. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  10667. type: integer
  10668. trademode:
  10669. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10670. 21:竞拍-大宗式 22:受托竞价
  10671. type: integer
  10672. tradeproperty:
  10673. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  10674. 8:场外期权
  10675. type: integer
  10676. tradetype:
  10677. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  10678. type: integer
  10679. required:
  10680. - marketid
  10681. - marketstatus
  10682. - openmethod
  10683. - reckonpricealgorithm
  10684. - trademode
  10685. - tradeproperty
  10686. type: object
  10687. models.Marketcalendar:
  10688. properties:
  10689. holidaydate:
  10690. description: 节假日期(yyyy-MM-dd)
  10691. type: string
  10692. marketid:
  10693. description: 市场ID
  10694. type: integer
  10695. type: object
  10696. models.Marketrun:
  10697. properties:
  10698. afternexttradedate:
  10699. description: 下下交易日
  10700. type: string
  10701. clearquoteflag:
  10702. description: 行情清盘标志- 1:未发送 2:已发送 3:已回复
  10703. type: integer
  10704. lastreckondate:
  10705. description: 最新交易日(结算成功)
  10706. type: string
  10707. machinedate:
  10708. description: 机器时间
  10709. type: string
  10710. manualflag:
  10711. description: 手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)
  10712. type: integer
  10713. marketid:
  10714. description: 市场ID
  10715. type: integer
  10716. nexttradedate:
  10717. description: 下一交易日
  10718. type: string
  10719. pretradedate:
  10720. description: 上一交易日
  10721. type: string
  10722. reckonflag:
  10723. description: '结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)'
  10724. type: integer
  10725. runstatus:
  10726. description: 运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始
  10727. 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败
  10728. 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内)
  10729. 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功
  10730. 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始
  10731. 62.今日免清算
  10732. type: integer
  10733. sectionid:
  10734. description: 时间段号[多时段时用]
  10735. type: integer
  10736. tradedate:
  10737. description: 当前交易日(服务) 资金结算完成即变更,供交易服务使用
  10738. type: string
  10739. tradedate2:
  10740. description: 当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  10741. type: string
  10742. updatetime:
  10743. description: 更新时间
  10744. type: string
  10745. required:
  10746. - marketid
  10747. - nexttradedate
  10748. - reckonflag
  10749. - runstatus
  10750. - tradedate
  10751. - tradedate2
  10752. type: object
  10753. models.Messageboard:
  10754. properties:
  10755. contactnum:
  10756. description: 联系电话
  10757. type: string
  10758. createtime:
  10759. description: 创建时间
  10760. type: string
  10761. message:
  10762. description: 留言信息
  10763. type: string
  10764. messageboardid:
  10765. description: 留言簿ID(SEQ_MessageBoard)
  10766. type: integer
  10767. userid:
  10768. description: 用户ID
  10769. type: integer
  10770. required:
  10771. - messageboardid
  10772. type: object
  10773. models.MyBargainApply:
  10774. properties:
  10775. accountid:
  10776. description: 摘牌资金账号
  10777. type: integer
  10778. applyprice:
  10779. description: 申请价格
  10780. type: string
  10781. applyremark:
  10782. description: 申请备注
  10783. type: string
  10784. applystatus:
  10785. description: 申请状态 - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  10786. type: integer
  10787. applytime:
  10788. description: 申请时间
  10789. type: string
  10790. buyorsell:
  10791. description: 买卖 - 0:买 1:卖
  10792. type: integer
  10793. confirmprice:
  10794. description: 可接受价格(拒绝时填写)-作废
  10795. type: number
  10796. confirmqty:
  10797. description: 可接受数量(拒绝时填写)-作废
  10798. type: integer
  10799. confirmremark:
  10800. description: 确认备注
  10801. type: string
  10802. confirmtime:
  10803. description: 确认时间
  10804. type: string
  10805. confirmuserid:
  10806. description: 确认人
  10807. type: integer
  10808. handlestatus:
  10809. description: 处理状态
  10810. type: integer
  10811. ladingbillid:
  10812. description: 摘牌方提单ID [卖]
  10813. type: integer
  10814. marketid:
  10815. description: 市场ID
  10816. type: integer
  10817. matchaccountid:
  10818. description: 挂牌方资金账号
  10819. type: integer
  10820. matchuserid:
  10821. description: 挂牌方用户ID
  10822. type: integer
  10823. qty:
  10824. description: 申请数量
  10825. type: integer
  10826. refprice:
  10827. description: 参考价格
  10828. type: string
  10829. retcode:
  10830. description: 委托返回代码
  10831. type: integer
  10832. sellusername:
  10833. description: 卖方
  10834. type: string
  10835. subnum:
  10836. description: 摘牌方提单子单号 [卖]
  10837. type: integer
  10838. tradedate:
  10839. description: 交易日(yyyyMMdd)
  10840. type: string
  10841. userid:
  10842. description: 摘牌人用户ID
  10843. type: integer
  10844. wrbargainid:
  10845. description: '[询价单号]议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)'
  10846. type: string
  10847. wrtradeorderid:
  10848. description: 关联委托单ID
  10849. type: integer
  10850. required:
  10851. - userid
  10852. type: object
  10853. models.MyBuyOrder:
  10854. properties:
  10855. accountid:
  10856. description: 资金账户ID
  10857. type: integer
  10858. marketid:
  10859. description: 市场ID
  10860. type: integer
  10861. ordertime:
  10862. description: 委托时间
  10863. type: string
  10864. origin:
  10865. description: 原产地
  10866. type: string
  10867. remark:
  10868. description: 备注
  10869. type: string
  10870. userid:
  10871. description: 用户ID
  10872. type: integer
  10873. validtime:
  10874. description: 有效期限
  10875. type: string
  10876. warehouseids:
  10877. description: 仓库ID - 多个, 逗号分隔
  10878. type: string
  10879. warehouseinfosdisplay:
  10880. type: string
  10881. wrtradeorderid:
  10882. description: '[委托单号]买委托单ID(320+Unix秒时间戳(10位)+xxxxxx)'
  10883. type: string
  10884. wrtradeorderstatus:
  10885. description: 委托状态 - 参考枚举'WRTradeOrderStatus' - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:部成 8:已成 9:部成部撤 10:成交失败 11:委托拒绝 12:经过摘牌(先摘后挂专用) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用) 17:冻结PD成功 18:冻结PD失败 19:冻结能量成功 20:冻结能量失败 21:预约已报价 22:过期未付 23:优惠券处理中 24:仓单生成失败 25:首付扣款失败 26:履约失败 27:撤单解冻贷款失败WRTrade_OrderDetail、
  10886. type: integer
  10887. zscategory:
  10888. description: 钻石分类 - 枚举”ZSCategory“
  10889. type: integer
  10890. zscategorydisplay:
  10891. type: string
  10892. zsclaritytype:
  10893. description: 净度 - 两个, 逗号分隔
  10894. type: string
  10895. zsclaritytypedisplay:
  10896. type: string
  10897. zscolortype:
  10898. description: 颜色 - 两个, 逗号分隔
  10899. type: string
  10900. zscolortypedisplay:
  10901. type: string
  10902. zscrystaltype:
  10903. description: 晶型 - 多个,逗号分隔
  10904. type: string
  10905. zscrystaltypedisplay:
  10906. type: string
  10907. zscurrencytype:
  10908. description: 货币类型 - 多个, 逗号分隔
  10909. type: string
  10910. zscurrencytypedisplay:
  10911. type: string
  10912. zscuttype:
  10913. description: 切工 - 两个, 逗号分隔
  10914. type: string
  10915. zscuttypedisplay:
  10916. type: string
  10917. zsczcolor1type:
  10918. description: 彩钻颜色1, 逗号分隔
  10919. type: string
  10920. zsczcolor1typedisplay:
  10921. type: string
  10922. zsczcolor2type:
  10923. description: 彩钻颜色2, 逗号分隔
  10924. type: string
  10925. zsczcolor2typedisplay:
  10926. type: string
  10927. zsczcolor3type:
  10928. description: 彩钻颜色3, 逗号分隔
  10929. type: string
  10930. zsczcolor3typedisplay:
  10931. type: string
  10932. zsfluorescencetype:
  10933. description: 荧光 - 多个, 逗号分隔
  10934. type: string
  10935. zsfluorescencetypedisplay:
  10936. type: string
  10937. zspolishtype:
  10938. description: 抛光度 - 两个, 逗号分隔
  10939. type: string
  10940. zspolishtypedisplay:
  10941. type: string
  10942. zsshapetype:
  10943. description: 形状 - 多个, 逗号分隔
  10944. type: string
  10945. zsshapetypedisplay:
  10946. type: string
  10947. zssize:
  10948. description: 尺寸 - 两个小数, 逗号分隔
  10949. type: string
  10950. zsstyletype:
  10951. description: 款式 - 多个, 逗号分隔
  10952. type: string
  10953. zsstyletypedisplay:
  10954. type: string
  10955. zssymmetrytype:
  10956. description: 对称度 - 两个, 逗号分隔
  10957. type: string
  10958. zssymmetrytypedisplay:
  10959. type: string
  10960. zstabledisplay:
  10961. description: 求购信息
  10962. type: string
  10963. required:
  10964. - userid
  10965. type: object
  10966. models.MyDeListing:
  10967. properties:
  10968. buyaccountid:
  10969. description: 买方账号ID
  10970. type: integer
  10971. buychargevalue:
  10972. description: 买方手续费
  10973. type: number
  10974. buyorsell:
  10975. description: 方向 - 0:全部 1:买 2:卖
  10976. type: integer
  10977. buyuserid:
  10978. description: 买方用户ID
  10979. type: integer
  10980. deliverygoodsid:
  10981. description: 现货品种ID
  10982. type: integer
  10983. exchangerate:
  10984. description: 汇率
  10985. type: number
  10986. goodsno:
  10987. description: 商品编号
  10988. type: string
  10989. marketid:
  10990. description: 市场ID
  10991. type: integer
  10992. matchusername:
  10993. description: 对手方
  10994. type: string
  10995. oritradeamount:
  10996. description: 成交金额[商品币种]
  10997. type: number
  10998. performanceplanid:
  10999. description: 履约计划ID/合同ID
  11000. type: integer
  11001. qty:
  11002. description: 成交重量
  11003. type: number
  11004. sellaccountid:
  11005. description: 卖方账号ID
  11006. type: integer
  11007. sellchargevalue:
  11008. description: 卖方手续费
  11009. type: number
  11010. selluserid:
  11011. description: 卖方用户ID
  11012. type: integer
  11013. tradeamount:
  11014. description: 成交金额
  11015. type: number
  11016. tradedate:
  11017. description: 交易日(yyyyMMdd)
  11018. type: string
  11019. tradeprice:
  11020. description: 成交价格
  11021. type: number
  11022. tradetime:
  11023. description: 成交时间
  11024. type: string
  11025. userid:
  11026. description: 用户ID
  11027. type: integer
  11028. wrfactortypeid:
  11029. description: 仓单要素类型ID
  11030. type: integer
  11031. wrstandardid:
  11032. description: 现货商品ID
  11033. type: integer
  11034. wrtradedetailid:
  11035. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  11036. type: string
  11037. zscategory:
  11038. description: 钻石分类 - 枚举”ZSCategory“
  11039. type: integer
  11040. zscategorydisplay:
  11041. type: string
  11042. zscurrencytype:
  11043. description: 货币类型 - 枚举“ZSCurrencyType”
  11044. type: integer
  11045. required:
  11046. - userid
  11047. type: object
  11048. models.MyDelistingApply:
  11049. properties:
  11050. applyprice:
  11051. description: 申请价格
  11052. type: number
  11053. applyqty:
  11054. description: 申请数量
  11055. type: number
  11056. applyremark:
  11057. description: 申请备注
  11058. type: string
  11059. applystatus:
  11060. description: 申请状态 - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  11061. type: integer
  11062. applytime:
  11063. description: 申请时间
  11064. type: string
  11065. auditremark:
  11066. description: 确认备注
  11067. type: string
  11068. audittime:
  11069. description: 确认时间
  11070. type: string
  11071. buyuserid:
  11072. description: 买方用户ID
  11073. type: integer
  11074. buyusername:
  11075. description: 买方
  11076. type: string
  11077. buywrtradeorderid:
  11078. description: 买委托单ID
  11079. type: integer
  11080. ladingbillid:
  11081. description: 卖方提单ID
  11082. type: integer
  11083. marketid:
  11084. description: 市场ID
  11085. type: integer
  11086. sellaccountid:
  11087. description: 卖方账户ID
  11088. type: integer
  11089. selldelistingapplyid:
  11090. description: '[询价单号]卖摘牌申请ID(916+Unix秒时间戳(10位)+xxxxxx)'
  11091. type: integer
  11092. selltradeorderid:
  11093. description: 卖方委托ID(买方确认成交后更新)
  11094. type: integer
  11095. selluserid:
  11096. description: 卖方用户ID
  11097. type: integer
  11098. subnum:
  11099. description: 卖方提单子单号
  11100. type: integer
  11101. wrfactortypeid:
  11102. description: 仓单要素类型ID
  11103. type: integer
  11104. wrstandardid:
  11105. description: 现货商品ID
  11106. type: integer
  11107. required:
  11108. - selluserid
  11109. type: object
  11110. models.MySellOrder:
  11111. properties:
  11112. accountid:
  11113. description: 资金账号
  11114. type: integer
  11115. applyid:
  11116. description: 申请单ID
  11117. type: integer
  11118. attachment1:
  11119. description: 附件1
  11120. type: string
  11121. attachment2:
  11122. description: 附件2
  11123. type: string
  11124. buyorsell:
  11125. description: 买卖 - 0:买 1:卖
  11126. type: integer
  11127. canbargain:
  11128. description: 是否可议价 - 0:不可 1:可
  11129. type: integer
  11130. cancelqty:
  11131. description: 撤销数量
  11132. type: integer
  11133. canceltime:
  11134. description: 撤销时间
  11135. type: string
  11136. chargealgorithm:
  11137. description: 手续费收取方式 1:比率 2:固定
  11138. type: integer
  11139. chargealgorithmvalue:
  11140. description: 手续费设置值(交易所部分)
  11141. type: number
  11142. chargealgorithmvalue2:
  11143. description: 手续费设置值(会员部分)
  11144. type: number
  11145. clientordertime:
  11146. description: 客户端委托时间
  11147. type: string
  11148. exchangerate:
  11149. description: 汇率[67]
  11150. type: number
  11151. firstratio:
  11152. description: 首付比率 - [挂牌时指定,摘牌时使用]
  11153. type: number
  11154. fixedprice:
  11155. description: '[克拉单价]固定价格 - [挂牌]'
  11156. type: number
  11157. freezecharge:
  11158. description: 冻结手续费
  11159. type: number
  11160. freezefirstamount:
  11161. description: 冻结首付金额 - [摘牌]
  11162. type: number
  11163. freezemargin:
  11164. description: 冻结保证金
  11165. type: number
  11166. goodsno:
  11167. description: 商品编号
  11168. type: string
  11169. isspecified:
  11170. description: 是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  11171. type: integer
  11172. marginalgorithm:
  11173. description: 保证金方式 - 1:比率 2:固定
  11174. type: integer
  11175. marginvalue:
  11176. description: 保证金设置值
  11177. type: number
  11178. marketid:
  11179. description: 市场ID
  11180. type: integer
  11181. orderamount:
  11182. description: 挂牌金额[账户] [67]= OrderQty * FixedPrice * ExchangeRate /100
  11183. type: number
  11184. ordertime:
  11185. description: 委托时间
  11186. type: string
  11187. performancetemplateid:
  11188. description: 履约计划模板ID
  11189. type: integer
  11190. pricefactor:
  11191. description: 价格系数(浮动价时填写) - [挂牌]
  11192. type: number
  11193. pricemove:
  11194. description: 升贴水(浮动价时填写) - [挂牌]
  11195. type: number
  11196. relatedwrtradeorderid:
  11197. description: 关联委托单号(摘牌委托关联挂牌委托单ID)
  11198. type: integer
  11199. retcode:
  11200. description: 错误代码
  11201. type: integer
  11202. selledqty:
  11203. description: 成交重量
  11204. type: number
  11205. totalqty:
  11206. description: 总重量
  11207. type: number
  11208. tradedate:
  11209. description: 交易日(yyyyMMdd)
  11210. type: string
  11211. tradeprice:
  11212. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)*
  11213. 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  11214. type: number
  11215. unfreezecharge:
  11216. description: 解冻手续费
  11217. type: number
  11218. unfreezefirstamount:
  11219. description: 解冻首付金额 - [摘牌]
  11220. type: number
  11221. unfreezemargin:
  11222. description: 解冻保证金
  11223. type: number
  11224. userid:
  11225. description: 用户ID
  11226. type: integer
  11227. uuid:
  11228. description: 发起端唯一id
  11229. type: string
  11230. validtime:
  11231. description: 有效期限
  11232. type: string
  11233. validtype:
  11234. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  11235. type: integer
  11236. wrbargainid:
  11237. description: 议价申请单ID
  11238. type: integer
  11239. wrfactortypeid:
  11240. description: 仓单要素类型ID/商品ID(77)
  11241. type: integer
  11242. wrpricetype:
  11243. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  11244. type: integer
  11245. wrstandardid:
  11246. description: 现货商品ID
  11247. type: integer
  11248. wrtradeorderid:
  11249. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  11250. type: string
  11251. wrtradeorderstatus:
  11252. 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:撤单解冻贷款失败
  11253. type: integer
  11254. wrtradetype:
  11255. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  11256. type: integer
  11257. wrtransferuserid:
  11258. description: 仓单受让用户 - [摘牌]
  11259. type: integer
  11260. zscategory:
  11261. description: 钻石分类 - 枚举”ZSCategory“
  11262. type: integer
  11263. zscategorydisplay:
  11264. description: 钻石分类 - 描述
  11265. type: string
  11266. zscurrencytype:
  11267. description: 货币类型 - 枚举“ZSCurrencyType”
  11268. type: integer
  11269. required:
  11270. - userid
  11271. type: object
  11272. models.MyWRPosition:
  11273. properties:
  11274. cerno:
  11275. description: 证书编号 - 类型:2,4,5
  11276. type: string
  11277. cpcertno:
  11278. description: 金伯利证书编号 - 类型:3
  11279. type: string
  11280. ffreezeqty:
  11281. description: 冻结数量:WRPosition表:FREEZEQTY/100 , 保留两位小数
  11282. type: number
  11283. ftotalqty:
  11284. description: 库存数量:WRPosition表:TOTALQTY /100 , 保留两位小数
  11285. type: number
  11286. goodsno:
  11287. description: 商品编号
  11288. type: string
  11289. imagepath:
  11290. description: 商品照片(相对地址)
  11291. type: string
  11292. isvalid:
  11293. description: 是否有效 - 0:无效 1:有效
  11294. type: integer
  11295. kppath:
  11296. description: 金伯利证书图片(相对地址) - 类型:3
  11297. type: string
  11298. kpweight:
  11299. description: 金伯利证书重量 - 类型:3
  11300. type: string
  11301. ladingbillid:
  11302. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  11303. type: string
  11304. marketprice:
  11305. description: 市场价
  11306. type: string
  11307. origin:
  11308. description: 原产地 - 类型:3
  11309. type: string
  11310. price:
  11311. description: 总价(价格) - 类型:1,2,3,4,5
  11312. type: number
  11313. priceper:
  11314. description: 克拉单价 - 类型:1,2,3,5
  11315. type: string
  11316. remark:
  11317. description: 备注
  11318. type: string
  11319. sellmobile:
  11320. description: 手机号码(加密存储)
  11321. type: string
  11322. sellusername:
  11323. description: 账户名称(机构名称)
  11324. type: string
  11325. settingmaterial:
  11326. description: 镶嵌材料 - 类型:4
  11327. type: string
  11328. size1:
  11329. description: 尺寸1 - 类型:2,4,5
  11330. type: string
  11331. size2:
  11332. description: 尺寸2 - 类型:2,4,5
  11333. type: string
  11334. size3:
  11335. description: 尺寸3 - 类型:2,4,5
  11336. type: string
  11337. stonedesc:
  11338. description: 配石描述 - 类型:4
  11339. type: string
  11340. subnum:
  11341. description: 提单子单号
  11342. type: integer
  11343. userid:
  11344. description: 用户ID
  11345. type: integer
  11346. warehouseid:
  11347. description: 仓库ID
  11348. type: integer
  11349. warehousenamedisplay:
  11350. type: string
  11351. weight:
  11352. description: 总重量(克拉重量) - 类型:1,2,3,4,5
  11353. type: number
  11354. weightavg:
  11355. description: 平均单颗重量 - 类型:1,3
  11356. type: number
  11357. wrpath:
  11358. description: 仓单扫描件(相对地址)
  11359. type: string
  11360. wrstandardid:
  11361. description: 现货商品ID
  11362. type: integer
  11363. wruserid:
  11364. description: 登录用户ID
  11365. type: integer
  11366. zscategory:
  11367. description: 钻石分类 - 枚举”ZSCategory“
  11368. type: integer
  11369. zscategorydisplay:
  11370. type: string
  11371. zscerttype:
  11372. description: 证书类型 - 枚举”ZSCertType“ - 类型:2,4,5
  11373. type: integer
  11374. zscerttypedisplay:
  11375. type: string
  11376. zsclaritytype1:
  11377. description: 净度1 - 枚举”ZSClarityType“ - 类型:1,2,3,4,5
  11378. type: integer
  11379. zsclaritytype1display:
  11380. type: string
  11381. zsclaritytype2:
  11382. description: 净度2 - 枚举”ZSClarityType“ - 类型:1,3
  11383. type: integer
  11384. zsclaritytype2display:
  11385. type: string
  11386. zscolortype1:
  11387. description: 颜色1 - 枚举”ZSColorType“ - 类型:1,2,3,4
  11388. type: integer
  11389. zscolortype1display:
  11390. type: string
  11391. zscolortype2:
  11392. description: 颜色2 - 枚举”ZSColorType“ - 类型:1,3
  11393. type: integer
  11394. zscolortype2display:
  11395. type: string
  11396. zscrystaltype:
  11397. description: 晶型范围 - 枚举“ZSCrystalType“ - 类型:3, 多个,逗号分隔
  11398. type: string
  11399. zscrystaltypedisplay:
  11400. type: string
  11401. zscurrencytype:
  11402. description: 货币类型 - 枚举“ZSCurrencyType”
  11403. type: integer
  11404. zscurrencytypedisplay:
  11405. type: string
  11406. zscurrencytypedisplayunit:
  11407. type: string
  11408. zscuttype1:
  11409. description: 切工1 - 枚举”ZSCutType“ - 类型:1,2,4,5
  11410. type: integer
  11411. zscuttype1display:
  11412. type: string
  11413. zscuttype2:
  11414. description: 切工2 - 枚举”ZSCutType“ - 类型:1
  11415. type: integer
  11416. zscuttype2display:
  11417. type: string
  11418. zsczcolor1type:
  11419. description: 彩钻颜色1 - 枚举”ZSCZColor1Type“ - 类型:5
  11420. type: integer
  11421. zsczcolor1typedisplay:
  11422. type: string
  11423. zsczcolor2type:
  11424. description: 彩钻颜色2 - 枚举”ZSCZColor2Type“ - 类型:5
  11425. type: integer
  11426. zsczcolor2typedisplay:
  11427. type: string
  11428. zsczcolor3type:
  11429. description: 彩钻颜色3 - 枚举”ZSCZColor3Type“ - 类型:5
  11430. type: integer
  11431. zsczcolor3typedisplay:
  11432. type: string
  11433. zsfluorescencetype1:
  11434. description: 荧光1 - 枚举”ZSFluorescenceType“ - 类型:1,2,3,4,5
  11435. type: integer
  11436. zsfluorescencetype1display:
  11437. type: string
  11438. zsfluorescencetype2:
  11439. description: 荧光2 - 枚举”ZSFluorescenceType” - 类型:1,3
  11440. type: integer
  11441. zsfluorescencetype2display:
  11442. type: string
  11443. zspolishtype1:
  11444. description: 抛光度1 - 枚举”ZSPolishType“ - 类型:1,2,4,5
  11445. type: integer
  11446. zspolishtype1display:
  11447. type: string
  11448. zspolishtype2:
  11449. description: 抛光度2 - 枚举”ZSPolishType“ - 类型:1
  11450. type: integer
  11451. zspolishtype2display:
  11452. type: string
  11453. zsshapetype:
  11454. description: 形状 - 枚举”ZSShapeType“ - 类型:1,2,4,5 ;(1为多个,逗号分隔)
  11455. type: string
  11456. zsshapetypedisplay:
  11457. type: string
  11458. zsstyletype:
  11459. description: 款式 - 类型:4
  11460. type: integer
  11461. zsstyletypedisplay:
  11462. type: string
  11463. zssymmetrytype1:
  11464. description: 对称度1 - 枚举”ZSSymmetryType“ - 类型:1,2,4,5
  11465. type: integer
  11466. zssymmetrytype1display:
  11467. type: string
  11468. zssymmetrytype2:
  11469. description: 对称度2 - 枚举”ZSSymmetryType“ - 类型:1
  11470. type: integer
  11471. zssymmetrytype2display:
  11472. type: string
  11473. required:
  11474. - wruserid
  11475. type: object
  11476. models.NewFuncmenulist:
  11477. properties:
  11478. authtype:
  11479. description: 权限类型 - 1:菜单 2:组件 3:按钮
  11480. type: integer
  11481. buttonname:
  11482. description: 按钮名称
  11483. type: string
  11484. buttontype:
  11485. description: 按钮类型 - 存按钮样式
  11486. type: string
  11487. component:
  11488. description: 组件名或组件地址
  11489. type: string
  11490. hidden:
  11491. description: 是否隐藏 - 0:显示 1:隐藏
  11492. type: integer
  11493. iconame:
  11494. description: 菜单图标
  11495. type: string
  11496. menutype:
  11497. description: 菜单类型 - 1:管理端 2:PC(C#) 3:移动(云平台) 4:终端(交易所) 5:PC(云平台)
  11498. type: integer
  11499. parentcode:
  11500. description: 上级资源代码
  11501. type: string
  11502. remark:
  11503. description: Remark
  11504. type: string
  11505. resourcecode:
  11506. description: 资源代码
  11507. type: string
  11508. resourcelevel:
  11509. description: 级别1-一级 2-二级 3-三级4-四级
  11510. type: integer
  11511. resourcename:
  11512. description: 资源名(Title)
  11513. type: string
  11514. sort:
  11515. description: 排序
  11516. type: integer
  11517. url:
  11518. description: Url
  11519. type: string
  11520. urltype:
  11521. description: 地址类型 - 1:路由 2:外链 3:内联框架
  11522. type: integer
  11523. required:
  11524. - resourcecode
  11525. type: object
  11526. models.OperationPrimaryMenu:
  11527. properties:
  11528. Children:
  11529. description: 二级功能菜单
  11530. items:
  11531. $ref: '#/definitions/models.OperationSecondaryMenu'
  11532. type: array
  11533. Key:
  11534. description: 菜单KEY
  11535. type: string
  11536. Label:
  11537. description: 菜单标题
  11538. type: string
  11539. type: object
  11540. models.OperationSecondaryMenu:
  11541. properties:
  11542. Key:
  11543. description: 菜单KEY
  11544. type: string
  11545. Label:
  11546. description: 菜单标题
  11547. type: string
  11548. TabList:
  11549. description: 三级功能菜单
  11550. items:
  11551. $ref: '#/definitions/models.OperationTabMenu'
  11552. type: array
  11553. type: object
  11554. models.OperationTabMenu:
  11555. properties:
  11556. Key:
  11557. description: 菜单KEY
  11558. type: string
  11559. Label:
  11560. description: 菜单标题
  11561. type: string
  11562. type: object
  11563. models.Patradelinkdetail:
  11564. properties:
  11565. accountname:
  11566. description: 套期主体
  11567. type: string
  11568. agreeunit:
  11569. description: 合约乘数
  11570. type: number
  11571. amount:
  11572. description: 金额 = RelatedLot * TradePrice * AgreeUnit
  11573. type: number
  11574. areauserid:
  11575. description: 所属机构
  11576. type: integer
  11577. bizsubjectid:
  11578. description: 归属业务部门ID - SubjectID
  11579. type: integer
  11580. buyorsell:
  11581. description: 方向 - 0:买 1:卖
  11582. type: integer
  11583. convertratio:
  11584. description: 品种系数
  11585. type: number
  11586. convertratiochange:
  11587. description: 套期商品变化量 = RelatedLot * AgreeUnit * ConvertRatio
  11588. type: number
  11589. createtime:
  11590. description: '[日期时间]创建时间'
  11591. type: string
  11592. creatorid:
  11593. description: 创建人ID
  11594. type: integer
  11595. creatorsrc:
  11596. description: 创建人来源 - 1:管理端 2:终端 3:交易
  11597. type: integer
  11598. goodscode:
  11599. description: 商品代码(内部)
  11600. type: string
  11601. goodsgroupid:
  11602. description: 对冲品种ID[期货合约商品组ID]
  11603. type: integer
  11604. goodsid:
  11605. description: 商品ID
  11606. type: integer
  11607. hedgeditemid:
  11608. description: 现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]
  11609. type: integer
  11610. hedgeflag:
  11611. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  11612. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目
  11613. type: integer
  11614. linkdetailid:
  11615. description: 期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)
  11616. type: string
  11617. linkstatus:
  11618. description: 关联状态 - 1:成功 2:失败 3:解绑
  11619. type: integer
  11620. middlegoodsid:
  11621. description: 套保品种ID
  11622. type: integer
  11623. name:
  11624. description: 账户名/子账户
  11625. type: string
  11626. optioncode:
  11627. description: '[期货合约]期权代码 [期权]'
  11628. type: string
  11629. ordertype:
  11630. description: 单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单
  11631. type: integer
  11632. relatedlot:
  11633. description: '[数量]关联手数'
  11634. type: number
  11635. relatedmode:
  11636. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  11637. type: integer
  11638. relatedqty:
  11639. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  11640. type: number
  11641. retcode:
  11642. description: 返回码
  11643. type: integer
  11644. saleuserid:
  11645. description: 业务员ID
  11646. type: integer
  11647. tradedate:
  11648. description: 关联交易日(yyyyMMdd)
  11649. type: string
  11650. tradeid:
  11651. description: '[成交单号]内部成交单ID'
  11652. type: string
  11653. tradelot:
  11654. description: 成交手数
  11655. type: integer
  11656. tradeprice:
  11657. description: '[价格]成交价格'
  11658. type: number
  11659. tradetradedate:
  11660. description: 成交交易日(yyyyMMdd)
  11661. type: string
  11662. type: object
  11663. models.QueryErrorInfosRsp:
  11664. properties:
  11665. description:
  11666. description: 异常描述
  11667. type: string
  11668. errorcode:
  11669. description: 异常代码
  11670. type: string
  11671. errorid:
  11672. description: 异常ID
  11673. type: integer
  11674. modulecode:
  11675. description: 所属模块
  11676. type: string
  11677. operatecode:
  11678. description: 所属操作
  11679. type: string
  11680. rownumber:
  11681. description: 行号
  11682. type: string
  11683. required:
  11684. - errorid
  11685. type: object
  11686. models.QueryHedgeOrderDetailRsp:
  11687. properties:
  11688. accountid:
  11689. description: 账户ID
  11690. type: integer
  11691. buyorsell:
  11692. description: 买卖 - 0:买 1:卖
  11693. type: integer
  11694. cancellogincode:
  11695. description: 撤单人
  11696. type: string
  11697. channelbuildtype:
  11698. description: 开平标志 - 0:无 1:建仓 2:平仓
  11699. type: integer
  11700. channelinnerorderstatus:
  11701. description: 委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:部分成交 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败
  11702. 9:全部成交
  11703. type: integer
  11704. channeloperatetype:
  11705. description: 操作类型 - 1:正常委托 2:斩仓委托 3:强平委托
  11706. type: integer
  11707. closetype:
  11708. description: 平仓方式 - 0:无 1:平今 2:平昨
  11709. type: integer
  11710. curexchangerate:
  11711. description: 当前汇率
  11712. type: number
  11713. decimalplace:
  11714. description: 商品报价小数位
  11715. type: integer
  11716. exchangefullname:
  11717. description: 外部交易所全称
  11718. type: string
  11719. goodscode:
  11720. description: 商品代码(内部)
  11721. type: string
  11722. goodsid:
  11723. description: 商品ID
  11724. type: integer
  11725. goodsname:
  11726. description: 商品名称
  11727. type: string
  11728. marketid:
  11729. description: 市场ID
  11730. type: integer
  11731. openfreezemargin:
  11732. description: 冻结保证金(冻结交易金额)
  11733. type: number
  11734. orderid:
  11735. description: 委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11736. type: string
  11737. orderlogincode:
  11738. description: 委托人
  11739. type: string
  11740. orderprice:
  11741. description: 委托价格(账户)
  11742. type: number
  11743. orderqty:
  11744. description: 委托数量
  11745. type: integer
  11746. ordertime:
  11747. description: 委托时间
  11748. type: string
  11749. pricemode:
  11750. description: '取价方式 - 1:市价 2: 限价'
  11751. type: integer
  11752. tradedate:
  11753. description: 交易日(yyyyMMdd)
  11754. type: string
  11755. tradeqty:
  11756. description: 成交数量
  11757. type: integer
  11758. type: object
  11759. models.QueryHedgeTradeDetailRsp:
  11760. properties:
  11761. accountid:
  11762. description: 账号ID
  11763. type: integer
  11764. buyorsell:
  11765. description: 方向 - 0:买 1:卖
  11766. type: integer
  11767. channelbuildtype:
  11768. description: 委托单据类型 0:无 1:建仓 2:平仓
  11769. type: integer
  11770. closecharge:
  11771. description: 平仓手续费(账户)
  11772. type: number
  11773. closecharge2:
  11774. description: 平仓手续费(商品)
  11775. type: number
  11776. closepl:
  11777. description: 平仓盈亏(账户)
  11778. type: number
  11779. closepl2:
  11780. description: 平仓盈亏(商品)
  11781. type: number
  11782. closepl3:
  11783. description: 平仓盈亏(账户)(逐笔)
  11784. type: number
  11785. closepl4:
  11786. description: 平仓盈亏(商品)(逐笔)
  11787. type: number
  11788. closetype:
  11789. description: 平仓方式 - 0:无 1:平今 2:平昨
  11790. type: integer
  11791. curexchangerate:
  11792. description: 当前汇率
  11793. type: number
  11794. decimalplace:
  11795. description: 商品报价小数位
  11796. type: integer
  11797. exchangefullname:
  11798. description: 外部交易所全称
  11799. type: string
  11800. goodscode:
  11801. description: 商品代码(内部)
  11802. type: string
  11803. goodsid:
  11804. description: 商品ID
  11805. type: integer
  11806. goodsname:
  11807. description: 商品名称
  11808. type: string
  11809. marketid:
  11810. description: 市场ID
  11811. type: integer
  11812. opencharge:
  11813. description: 建仓手续费(账户)
  11814. type: number
  11815. opencharge2:
  11816. description: 建仓手续费(商品)
  11817. type: number
  11818. orderid:
  11819. description: 委托单号
  11820. type: string
  11821. orderlogincode:
  11822. description: 委托人
  11823. type: string
  11824. tradeamount:
  11825. description: 成交金额(账户)
  11826. type: number
  11827. tradedate:
  11828. description: 交易日(yyyyMMdd)
  11829. type: string
  11830. tradeid:
  11831. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11832. type: string
  11833. tradeprice:
  11834. description: 成交价格
  11835. type: number
  11836. tradeqty:
  11837. description: 成交数量
  11838. type: integer
  11839. tradetime:
  11840. description: 成交时间
  11841. type: string
  11842. tradetype:
  11843. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  11844. type: integer
  11845. type: object
  11846. models.QuotePrimaryMenu:
  11847. properties:
  11848. Index:
  11849. description: 序号
  11850. type: integer
  11851. Key:
  11852. description: 键名
  11853. type: string
  11854. Name:
  11855. description: 菜单名称
  11856. type: string
  11857. SubMenus:
  11858. description: 子菜单
  11859. items:
  11860. $ref: '#/definitions/models.QuoteSecondaryMenu'
  11861. type: array
  11862. SubTitleType:
  11863. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  11864. type: integer
  11865. TradeModes:
  11866. description: 包含市场交易类型
  11867. type: string
  11868. type: object
  11869. models.QuoteSecondaryMenu:
  11870. properties:
  11871. ExExchangeCode:
  11872. description: 外部交易所代码
  11873. type: string
  11874. ExExchangeID:
  11875. description: 外部交易所ID
  11876. type: integer
  11877. GoodsGroupIDs:
  11878. description: 商品组ID列表
  11879. items:
  11880. type: integer
  11881. type: array
  11882. Index:
  11883. description: 序号
  11884. type: integer
  11885. MarketID:
  11886. description: 市场ID
  11887. type: integer
  11888. MenuTitle:
  11889. description: 菜单标题(市场名称或外部交易所名称)
  11890. type: string
  11891. TradeMode:
  11892. description: 交易模式
  11893. type: integer
  11894. type: object
  11895. models.RelatedTaAccount:
  11896. properties:
  11897. accountid:
  11898. description: 资金账户ID
  11899. type: integer
  11900. type: object
  11901. models.RoleMenu:
  11902. properties:
  11903. hasright:
  11904. description: 是否有权限 0-没有权限 1-有权限
  11905. type: integer
  11906. iconame:
  11907. description: 菜单图标
  11908. type: string
  11909. menutype:
  11910. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  11911. type: integer
  11912. parentcode:
  11913. description: 上级资源代码
  11914. type: string
  11915. remark:
  11916. description: 菜单备注
  11917. type: string
  11918. resourcecode:
  11919. description: 菜单代码
  11920. type: string
  11921. resourcelevel:
  11922. description: 级别
  11923. type: integer
  11924. resourcename:
  11925. description: 菜单名称
  11926. type: string
  11927. roleid:
  11928. description: 角色id
  11929. type: integer
  11930. sort:
  11931. description: 排序
  11932. type: integer
  11933. subMenu:
  11934. description: 子级菜单(结构同上层一样, swag解析不出来)
  11935. items:
  11936. $ref: '#/definitions/models.RoleMenu'
  11937. type: array
  11938. url:
  11939. description: URL
  11940. type: string
  11941. userid:
  11942. description: 用户id
  11943. type: integer
  11944. type: object
  11945. models.SearchGoods:
  11946. properties:
  11947. goodscode:
  11948. description: 商品代码(内部)
  11949. type: string
  11950. goodsid:
  11951. description: 商品ID(自增ID SEQ_GOODS)
  11952. type: integer
  11953. goodsname:
  11954. description: 商品名称
  11955. type: string
  11956. marketid:
  11957. description: 所属市场ID
  11958. type: integer
  11959. marketname:
  11960. description: 市场名称
  11961. type: string
  11962. trademode:
  11963. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  11964. 21:竞拍-大宗式 22:受托竞价
  11965. type: integer
  11966. required:
  11967. - goodscode
  11968. - goodsid
  11969. - goodsname
  11970. - marketid
  11971. - trademode
  11972. type: object
  11973. models.SellOrder:
  11974. properties:
  11975. accountid:
  11976. description: 资金账号
  11977. type: integer
  11978. applyid:
  11979. description: 申请单ID
  11980. type: integer
  11981. attachment1:
  11982. description: 附件1
  11983. type: string
  11984. attachment2:
  11985. description: 附件2
  11986. type: string
  11987. buyorsell:
  11988. description: 买卖 - 0:买 1:卖
  11989. type: integer
  11990. canbargain:
  11991. description: 是否可议价 - 0:不可 1:可
  11992. type: integer
  11993. cancelqty:
  11994. description: 撤销数量
  11995. type: integer
  11996. canceltime:
  11997. description: 撤销时间
  11998. type: string
  11999. chargealgorithm:
  12000. description: 手续费收取方式 1:比率 2:固定
  12001. type: integer
  12002. chargealgorithmvalue:
  12003. description: 手续费设置值(交易所部分)
  12004. type: number
  12005. chargealgorithmvalue2:
  12006. description: 手续费设置值(会员部分)
  12007. type: number
  12008. clientordertime:
  12009. description: 客户端委托时间
  12010. type: string
  12011. exchangerate:
  12012. description: 汇率[67]
  12013. type: number
  12014. firstratio:
  12015. description: 首付比率 - [挂牌时指定,摘牌时使用]
  12016. type: number
  12017. fixedprice:
  12018. description: '[克拉单价]固定价格 - [挂牌]'
  12019. type: number
  12020. freezecharge:
  12021. description: 冻结手续费
  12022. type: number
  12023. freezefirstamount:
  12024. description: 冻结首付金额 - [摘牌]
  12025. type: number
  12026. freezemargin:
  12027. description: 冻结保证金
  12028. type: number
  12029. goodsno:
  12030. description: 商品编号
  12031. type: string
  12032. isQueryDiamond:
  12033. description: 是否钻石查询
  12034. type: boolean
  12035. isspecified:
  12036. description: 是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  12037. type: integer
  12038. marginalgorithm:
  12039. description: 保证金方式 - 1:比率 2:固定
  12040. type: integer
  12041. marginvalue:
  12042. description: 保证金设置值
  12043. type: number
  12044. marketid:
  12045. description: 市场ID
  12046. type: integer
  12047. orderamount:
  12048. description: 挂牌金额[账户] [67]= OrderQty * FixedPrice * ExchangeRate /100
  12049. type: number
  12050. ordertime:
  12051. description: 委托时间
  12052. type: string
  12053. performancetemplateid:
  12054. description: 履约计划模板ID
  12055. type: integer
  12056. pricefactor:
  12057. description: 价格系数(浮动价时填写) - [挂牌]
  12058. type: number
  12059. pricemove:
  12060. description: 升贴水(浮动价时填写) - [挂牌]
  12061. type: number
  12062. relatedwrtradeorderid:
  12063. description: 关联委托单号(摘牌委托关联挂牌委托单ID)
  12064. type: integer
  12065. remainqty:
  12066. description: 剩余重量
  12067. type: number
  12068. retcode:
  12069. description: 错误代码
  12070. type: integer
  12071. sellusername:
  12072. description: 卖方(查询字段-模糊查询)
  12073. type: string
  12074. totalqty:
  12075. description: 总重量
  12076. type: number
  12077. tradedate:
  12078. description: 交易日(yyyyMMdd)
  12079. type: string
  12080. tradeprice:
  12081. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)*
  12082. 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  12083. type: number
  12084. unfreezecharge:
  12085. description: 解冻手续费
  12086. type: number
  12087. unfreezefirstamount:
  12088. description: 解冻首付金额 - [摘牌]
  12089. type: number
  12090. unfreezemargin:
  12091. description: 解冻保证金
  12092. type: number
  12093. userid:
  12094. description: 用户ID
  12095. type: integer
  12096. uuid:
  12097. description: 发起端唯一id
  12098. type: string
  12099. validtime:
  12100. description: 有效期限
  12101. type: string
  12102. validtype:
  12103. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  12104. type: integer
  12105. wrbargainid:
  12106. description: 议价申请单ID
  12107. type: integer
  12108. wrfactortypeid:
  12109. description: 仓单要素类型ID/商品ID(77)
  12110. type: integer
  12111. wrpricetype:
  12112. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  12113. type: integer
  12114. wrstandardid:
  12115. description: 现货商品ID
  12116. type: integer
  12117. wrtradeorderid:
  12118. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  12119. type: string
  12120. wrtradeorderstatus:
  12121. 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:撤单解冻贷款失败
  12122. type: integer
  12123. wrtradetype:
  12124. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  12125. type: integer
  12126. wrtransferuserid:
  12127. description: 仓单受让用户 - [摘牌]
  12128. type: integer
  12129. zscategory:
  12130. description: 钻石分类 - 枚举”ZSCategory“
  12131. type: integer
  12132. zscategorydisplay:
  12133. description: 钻石分类 - 描述
  12134. type: string
  12135. zscurrencytype:
  12136. description: 货币类型 - 枚举“ZSCurrencyType”
  12137. type: integer
  12138. type: object
  12139. models.SellOrderQueryReq:
  12140. properties:
  12141. origin:
  12142. description: 原产地
  12143. type: string
  12144. page:
  12145. description: 页码
  12146. type: integer
  12147. pagesize:
  12148. description: 每页大小
  12149. type: integer
  12150. total:
  12151. description: 总条数
  12152. type: integer
  12153. warehouseid:
  12154. description: 仓库ID
  12155. type: integer
  12156. weight1:
  12157. description: 总重量(克拉重量)-从
  12158. type: number
  12159. weight2:
  12160. description: 总重量(克拉重量)-至
  12161. type: number
  12162. weightavg1:
  12163. description: 平均单颗重量-从
  12164. type: number
  12165. weightavg2:
  12166. description: 平均单颗重量-至
  12167. type: number
  12168. zscategory:
  12169. description: 钻石分类 - 枚举”ZSCategory“
  12170. type: integer
  12171. zscerttype:
  12172. description: 证书类型
  12173. items:
  12174. type: string
  12175. type: array
  12176. zsclaritytype:
  12177. description: 净度
  12178. items:
  12179. type: integer
  12180. type: array
  12181. zscolortype:
  12182. description: 颜色
  12183. items:
  12184. type: integer
  12185. type: array
  12186. zscurrencytype:
  12187. description: 货币类型 - 枚举“ZSCurrencyType”
  12188. items:
  12189. type: string
  12190. type: array
  12191. zscuttype:
  12192. description: 切工
  12193. items:
  12194. type: integer
  12195. type: array
  12196. zsczcolor1type:
  12197. description: 彩钻颜色1
  12198. items:
  12199. type: string
  12200. type: array
  12201. zsfluorescencetype:
  12202. description: 荧光
  12203. items:
  12204. type: integer
  12205. type: array
  12206. zspolishtype:
  12207. description: 抛光度
  12208. items:
  12209. type: integer
  12210. type: array
  12211. zsshapetype:
  12212. description: 形状 - 枚举”ZSShapeType“ - 类型:1,2,4,5 ;(1为多个,逗号分隔)
  12213. items:
  12214. type: string
  12215. type: array
  12216. zsstyletype:
  12217. description: 款式
  12218. items:
  12219. type: string
  12220. type: array
  12221. zssymmetrytype:
  12222. description: 对称度
  12223. items:
  12224. type: integer
  12225. type: array
  12226. required:
  12227. - zscategory
  12228. type: object
  12229. models.Systemparam:
  12230. properties:
  12231. loginid:
  12232. description: 更新用户账号,登录账号
  12233. type: string
  12234. modifyflag:
  12235. description: 修改标志0 不允许修改 1 允许修改
  12236. type: integer
  12237. paramcode:
  12238. description: 参数代码
  12239. type: string
  12240. paramname:
  12241. description: 参数名
  12242. type: string
  12243. paramtype:
  12244. description: 参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城
  12245. type: integer
  12246. paramvalue:
  12247. description: 参数值
  12248. type: string
  12249. paramvalue2:
  12250. description: 参数值(CLOB)
  12251. type: string
  12252. regexpress:
  12253. description: 正则表达式
  12254. type: string
  12255. remark:
  12256. description: 备注
  12257. type: string
  12258. serverip:
  12259. description: 限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置
  12260. type: string
  12261. showflag:
  12262. description: 是否显示0 不显示 1 显示
  12263. type: integer
  12264. updatetime:
  12265. description: 更新时间
  12266. type: string
  12267. userid:
  12268. description: 更新用户ID
  12269. type: integer
  12270. required:
  12271. - paramcode
  12272. type: object
  12273. models.Szdz3convertconfig:
  12274. properties:
  12275. canin:
  12276. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  12277. type: integer
  12278. canout:
  12279. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  12280. type: integer
  12281. converttype:
  12282. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  12283. 6:交易转花生米(不设置)
  12284. type: integer
  12285. createtime:
  12286. description: 创建时间
  12287. type: string
  12288. creatorid:
  12289. description: 创建人
  12290. type: integer
  12291. daymaxvalue:
  12292. description: 当日最大转入限制
  12293. type: number
  12294. freezedays:
  12295. description: 冻结天数 [5:花生米转交易]
  12296. type: integer
  12297. innergoodsid:
  12298. description: 内部商品ID[交易]
  12299. type: integer
  12300. inratio:
  12301. description: 目标值
  12302. type: integer
  12303. modifierid:
  12304. description: 修改人
  12305. type: integer
  12306. modifytime:
  12307. description: 修改时间
  12308. type: string
  12309. outergoodscode:
  12310. description: 外部商品代码[JD\PD]
  12311. type: string
  12312. outratio:
  12313. description: 源值
  12314. type: integer
  12315. pddecimalplace:
  12316. description: PD小数位
  12317. type: integer
  12318. timemaxvalue:
  12319. description: 单次最大转入限制
  12320. type: number
  12321. timeminvalue:
  12322. description: 单次最小转入限制
  12323. type: number
  12324. required:
  12325. - converttype
  12326. - innergoodsid
  12327. - outergoodscode
  12328. type: object
  12329. models.Szdz3searchwhitelist:
  12330. properties:
  12331. createtime:
  12332. description: 创建时间
  12333. type: string
  12334. creatorid:
  12335. description: 创建人
  12336. type: integer
  12337. modifierid:
  12338. description: 修改人
  12339. type: integer
  12340. modifytime:
  12341. description: 修改时间
  12342. type: string
  12343. userid:
  12344. description: 用户ID
  12345. type: integer
  12346. required:
  12347. - userid
  12348. type: object
  12349. models.TBGoods:
  12350. properties:
  12351. agreeunit:
  12352. description: 合约乘数
  12353. type: number
  12354. enumdicname:
  12355. description: 单位名称
  12356. type: string
  12357. goodscode:
  12358. description: 商品代码(内部)
  12359. type: string
  12360. goodsid:
  12361. description: 商品ID(自增ID SEQ_GOODS)
  12362. type: integer
  12363. goodsname:
  12364. description: 商品名称
  12365. type: string
  12366. type: object
  12367. models.TBGoodsGroup:
  12368. properties:
  12369. GDLST:
  12370. description: 商品列表
  12371. items:
  12372. $ref: '#/definitions/models.TBGoods'
  12373. type: array
  12374. convertratio:
  12375. description: 折算系数
  12376. type: number
  12377. enumdicname:
  12378. description: 单位名称
  12379. type: string
  12380. exexchangecode:
  12381. description: 交易所代码
  12382. type: string
  12383. exexchangename:
  12384. description: 交易所名称
  12385. type: string
  12386. goodsgroupid:
  12387. description: 商品组ID(自增ID)
  12388. type: integer
  12389. goodsgroupname:
  12390. description: 商品组名称
  12391. type: string
  12392. goodunitid:
  12393. description: 报价单位ID
  12394. type: integer
  12395. type: object
  12396. models.TBMiddleGoods:
  12397. properties:
  12398. GPLST:
  12399. description: 期货品种列表
  12400. items:
  12401. $ref: '#/definitions/models.TBGoodsGroup'
  12402. type: array
  12403. WDLST:
  12404. description: 商品信息列表(现货品类)
  12405. items:
  12406. $ref: '#/definitions/models.TBWrstandard'
  12407. type: array
  12408. areauserid:
  12409. description: 机构用户ID
  12410. type: integer
  12411. enumdicname:
  12412. description: 单位名称
  12413. type: string
  12414. goodsunitid:
  12415. description: 套保品种单位id
  12416. type: integer
  12417. middlegoodscode:
  12418. description: 套保品种代码
  12419. type: string
  12420. middlegoodsid:
  12421. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  12422. type: integer
  12423. middlegoodsname:
  12424. description: 套保品种名称
  12425. type: string
  12426. needarbitrageratio:
  12427. description: 套利比率
  12428. type: number
  12429. needhedgeratio:
  12430. description: 套保比率
  12431. type: number
  12432. type: object
  12433. models.TBWrstandard:
  12434. properties:
  12435. convertratio:
  12436. description: 折算系数
  12437. type: number
  12438. deliverygoodsname:
  12439. description: 品种名称
  12440. type: string
  12441. enumdicname:
  12442. description: 单位名称
  12443. type: string
  12444. vatrate:
  12445. description: 增值税率
  12446. type: number
  12447. wrstandardcode:
  12448. description: 现货商品代码
  12449. type: string
  12450. wrstandardid:
  12451. description: 现货商品ID(SEQ_WRSTANDARD)
  12452. type: integer
  12453. wrstandardname:
  12454. description: 现货商品名称
  12455. type: string
  12456. type: object
  12457. models.Taaccount:
  12458. properties:
  12459. accountflag:
  12460. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  12461. type: integer
  12462. accountid:
  12463. description: 资金账户ID
  12464. type: integer
  12465. accountname:
  12466. description: 账户名称
  12467. type: string
  12468. balance:
  12469. description: 期初余额
  12470. type: number
  12471. capitalbalance:
  12472. description: 本金余额[外部子账户实际出入金余额]
  12473. type: number
  12474. changeflag:
  12475. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  12476. type: integer
  12477. changetime:
  12478. description: 账户状态变更时间
  12479. type: string
  12480. closepl:
  12481. description: 今日平仓盈亏
  12482. type: number
  12483. creditdecrease:
  12484. description: 今日授信减少
  12485. type: number
  12486. creditincrease:
  12487. description: 今日授信增加
  12488. type: number
  12489. curamount:
  12490. description: 总市值(从持仓中统计)
  12491. type: number
  12492. currencyid:
  12493. description: 货币ID
  12494. type: integer
  12495. currentbalance:
  12496. description: 期末余额
  12497. type: number
  12498. freezecharge:
  12499. description: 手续费冻结
  12500. type: number
  12501. freezemargin:
  12502. description: 冻结保证金
  12503. type: number
  12504. fromaccountid:
  12505. description: 所属上级账户
  12506. type: integer
  12507. inamount:
  12508. description: 今日入金金额(包括三方入金)
  12509. type: number
  12510. ismain:
  12511. description: 是否母账号 0:不是母账户 1:是母账户
  12512. type: integer
  12513. ismarketaccount:
  12514. description: 是否机构接单账号 0:不是 1:是
  12515. type: integer
  12516. isreckonaccount:
  12517. description: 是否机构分润账号 0:不是 1:是
  12518. type: integer
  12519. mortgagecredit:
  12520. description: 授信金额
  12521. type: number
  12522. orifreezecharge:
  12523. description: 期初手续费冻结
  12524. type: number
  12525. orifreezemargin:
  12526. description: 期初冻结保证金
  12527. type: number
  12528. orimortgagecredit:
  12529. description: 期初授信金额
  12530. type: number
  12531. oriothercredit:
  12532. description: 期初其它授信金额
  12533. type: number
  12534. oriotherfreezemargin:
  12535. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  12536. type: number
  12537. orioutamountfreeze:
  12538. description: 期初出金冻结
  12539. type: number
  12540. oriusedmargin:
  12541. description: 期初占用保证金
  12542. type: number
  12543. othercredit:
  12544. description: 其它授信金额
  12545. type: number
  12546. othercreditdecrease:
  12547. description: 今日其它授信减少
  12548. type: number
  12549. othercreditincrease:
  12550. description: 今日其它授信增加
  12551. type: number
  12552. otherfreezemargin:
  12553. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  12554. type: number
  12555. otherincome:
  12556. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  12557. type: number
  12558. otherpay:
  12559. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  12560. type: number
  12561. outamount:
  12562. description: 今日出金金额(包括三方出金)
  12563. type: number
  12564. outamountfreeze:
  12565. description: 出金冻结
  12566. type: number
  12567. outthreshold:
  12568. description: 出金阈值
  12569. type: number
  12570. parentaccountid:
  12571. description: 所属根账号
  12572. type: integer
  12573. paycharge:
  12574. description: 今日手续费支出
  12575. type: number
  12576. relatedaccountstatus:
  12577. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  12578. type: integer
  12579. relateduserid:
  12580. description: 关联用户
  12581. type: integer
  12582. remainamount:
  12583. description: 融资额(从融资合同中统计)
  12584. type: number
  12585. serivcegroup:
  12586. description: 服务分组
  12587. type: integer
  12588. signstatus:
  12589. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  12590. type: integer
  12591. sublevelpath:
  12592. description: 账号层级路径(逗号分隔,首尾加逗号)
  12593. type: string
  12594. taaccounttype:
  12595. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  12596. type: integer
  12597. thirdinamount:
  12598. description: 今日三方入金
  12599. type: number
  12600. thirdoutamount:
  12601. description: 今日三方出金
  12602. type: number
  12603. tradestatus:
  12604. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  12605. type: integer
  12606. tradestatuschangetime:
  12607. description: 激活时间
  12608. type: string
  12609. transferamount:
  12610. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  12611. type: number
  12612. usedmargin:
  12613. description: 占用保证金
  12614. type: number
  12615. userid:
  12616. description: 用户ID
  12617. type: integer
  12618. required:
  12619. - accountid
  12620. - userid
  12621. type: object
  12622. models.Tablecolumnconfig:
  12623. properties:
  12624. aligntype:
  12625. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  12626. type: integer
  12627. autoid:
  12628. description: AutoID
  12629. type: integer
  12630. columnfield:
  12631. description: 列字段
  12632. type: string
  12633. columntitle:
  12634. description: 列Title
  12635. type: string
  12636. columnwidth:
  12637. description: 列宽
  12638. type: string
  12639. fixed:
  12640. description: 固定类型 - 空 | left | right
  12641. type: string
  12642. formatterstring:
  12643. description: 格式化字符
  12644. type: string
  12645. formattertype:
  12646. description: 格式化类型
  12647. type: string
  12648. groupname:
  12649. description: 表头分组名称
  12650. type: string
  12651. ismerge:
  12652. description: 是否合并显示 - 0:不合并 1:合并
  12653. type: integer
  12654. isshow:
  12655. description: 是否显示 - 0:不显示 1:显示
  12656. type: integer
  12657. needsummary:
  12658. description: 是否需要汇总 - 0:不需要 1:需要
  12659. type: integer
  12660. orderindex:
  12661. description: 顺序
  12662. type: integer
  12663. remark:
  12664. description: 备注
  12665. type: string
  12666. summarytype:
  12667. description: 汇总类型 - 1:加总 2:最后一个
  12668. type: integer
  12669. tablekey:
  12670. description: 列表Key
  12671. type: string
  12672. required:
  12673. - autoid
  12674. type: object
  12675. models.TjmdHolderDetailTradeInfo:
  12676. properties:
  12677. agreeunit:
  12678. description: 合约乘数
  12679. type: number
  12680. buyaccountid:
  12681. description: 买方账户
  12682. type: string
  12683. buyusername:
  12684. description: 买方
  12685. type: string
  12686. delistingdate:
  12687. description: 最后结算日
  12688. type: string
  12689. expiredate:
  12690. description: 到期结算价定价日
  12691. type: string
  12692. exprieprice:
  12693. description: 到期清算价格
  12694. type: string
  12695. goodscode:
  12696. description: 商品代码
  12697. type: string
  12698. goodsid:
  12699. description: 商品ID
  12700. type: integer
  12701. goodsname:
  12702. description: 商品名称(交易标的)
  12703. type: string
  12704. lasttradedate:
  12705. description: 最后交易日
  12706. type: string
  12707. listingdate:
  12708. description: 开始交易日
  12709. type: string
  12710. openprice:
  12711. description: 成交价
  12712. type: number
  12713. openqty:
  12714. description: 交易数量
  12715. type: integer
  12716. sellaccountid:
  12717. description: 卖方账户
  12718. type: string
  12719. sellusername:
  12720. description: 卖方
  12721. type: string
  12722. tradeamount:
  12723. description: 初始名义价值
  12724. type: number
  12725. tradedate:
  12726. description: 成交日期
  12727. type: string
  12728. tradeid:
  12729. description: 成交编号
  12730. type: string
  12731. type: object
  12732. models.TjmdMarketSection:
  12733. properties:
  12734. marketsectionid:
  12735. description: 市场版块ID(SEQ_MARKETSECTION)
  12736. type: integer
  12737. marketsectionname:
  12738. description: 市场版块名称
  12739. type: string
  12740. mlist:
  12741. description: 市场列表(板块下面有多少个市场)
  12742. items:
  12743. $ref: '#/definitions/models.TjmdMarketSectionConfig'
  12744. type: array
  12745. orderindex:
  12746. description: 排序
  12747. type: integer
  12748. pictureurl:
  12749. description: 图片url, 规格(90*90)
  12750. type: string
  12751. remark:
  12752. description: 备注
  12753. type: string
  12754. type: object
  12755. models.TjmdMarketSectionConfig:
  12756. properties:
  12757. auctionwrtype:
  12758. description: 仓单类型(现货交易) - 1:无仓单 2:有仓单 3;有无仓单均可
  12759. type: integer
  12760. canacceptquote:
  12761. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  12762. type: integer
  12763. cangoodsexercise:
  12764. description: '[期权]是否可现货行权- 0:否 1:是'
  12765. type: integer
  12766. cangoodsexercisetype:
  12767. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  12768. type: integer
  12769. canmanualquotestrike:
  12770. description: 是否可手动报行权价- 0:否 1:是 [期权]
  12771. type: integer
  12772. canmutistage:
  12773. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  12774. type: integer
  12775. canpreexercise:
  12776. description: '[期权]是否可预申报- 0:否 1:是'
  12777. type: integer
  12778. clearinterval:
  12779. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  12780. type: integer
  12781. contracttmp:
  12782. description: 合同模板[荷兰式][竞价式][仓单贸易]
  12783. type: string
  12784. exchareaid:
  12785. description: 所属交易所,可以没有
  12786. type: integer
  12787. financemarketid:
  12788. description: 融资回购市场ID [仓单贸易]
  12789. type: integer
  12790. goodstype:
  12791. description: 商品类型 - 1:交易商品 2:仓单商品
  12792. type: integer
  12793. hasrebate:
  12794. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  12795. type: integer
  12796. hastradecredit:
  12797. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  12798. type: integer
  12799. haswr:
  12800. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  12801. type: integer
  12802. isdeductmargin:
  12803. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  12804. type: integer
  12805. isrecordsource:
  12806. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  12807. type: integer
  12808. isreleasemargin:
  12809. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  12810. type: integer
  12811. isupdatereckonprice:
  12812. description: 输入结算价标识 - 0:系统生成 1:手工输入(自动) 2:手工输入(手动)
  12813. type: integer
  12814. listingmode:
  12815. description: 挂牌方式 1:一口价 2:浮动价 3:贸易圈 4:协议指定
  12816. type: integer
  12817. marginformula:
  12818. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  12819. type: integer
  12820. marginformula2:
  12821. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  12822. type: integer
  12823. marketid:
  12824. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  12825. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  12826. type: integer
  12827. marketname:
  12828. description: 市场名称
  12829. type: string
  12830. marketsectionid:
  12831. description: 市场版块ID(SEQ_MARKETSECTION)
  12832. type: integer
  12833. marketserviceid:
  12834. description: 市场服务ID
  12835. type: integer
  12836. marketstatus:
  12837. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  12838. type: integer
  12839. markettype:
  12840. description: 市场类型- 1:非交易服务 2:交易服务
  12841. type: integer
  12842. matchermode:
  12843. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手 - 作废
  12844. type: integer
  12845. nowrquotaflag:
  12846. description: 是否校验无仓单额度(仓单贸易) 0:否 1:是
  12847. type: integer
  12848. openmethod:
  12849. description: 开盘模式 - 0 自动 1手动
  12850. type: integer
  12851. orderindex:
  12852. description: 排序
  12853. type: integer
  12854. otcuserid:
  12855. description: 场外期权做市商[场外期权]
  12856. type: integer
  12857. outersynctime:
  12858. description: 外部同步时间点(h24:mi:ss)[场外期权]
  12859. type: string
  12860. paylaterflag:
  12861. description: 是否支持后付 - 0:不支持 1;支持 - [挂牌点选 所有权、预售挂牌支持]
  12862. type: integer
  12863. pendingflag:
  12864. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  12865. type: integer
  12866. pendingtime:
  12867. description: 待开市时间[通道交易-对冲](HH:mm)
  12868. type: string
  12869. performancetempid:
  12870. description: 履约计划模板ID - 作废
  12871. type: integer
  12872. premiumquotemode:
  12873. description: 权利金报价方式 - 1:自动 2:手动
  12874. type: integer
  12875. rebateratio:
  12876. description: 返利比率[竞价式]
  12877. type: number
  12878. reckonorder:
  12879. description: 结算顺序
  12880. type: integer
  12881. reckonpricealgorithm:
  12882. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  12883. 6.卖一价 7.买一卖一均价 8.外部结算价'
  12884. type: integer
  12885. reckonpriceparam:
  12886. description: 结算价参数
  12887. type: integer
  12888. reckontime:
  12889. description: 结算时间[通道交易-对冲](HH:mm)
  12890. type: string
  12891. roleprioritytype:
  12892. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  12893. type: integer
  12894. selllistingauditflag:
  12895. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  12896. type: integer
  12897. trademarkettype:
  12898. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  12899. type: integer
  12900. trademode:
  12901. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  12902. 21:竞拍-大宗式 22:受托竞价
  12903. type: integer
  12904. tradeproperty:
  12905. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  12906. 8:场外期权
  12907. type: integer
  12908. tradetype:
  12909. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  12910. type: integer
  12911. updatereckonpriceinterval:
  12912. description: 输入结算价时长(分钟) [1:手工输入(自动)]
  12913. type: integer
  12914. type: object
  12915. models.TjmdQuoteGoods:
  12916. properties:
  12917. buyqty:
  12918. description: 买量(暂不做, 无值, 保留字段)
  12919. type: number
  12920. decimalplace:
  12921. description: 报价小数位
  12922. type: integer
  12923. goodscode:
  12924. description: 合约代码
  12925. type: string
  12926. goodsgroupid:
  12927. description: 商品组ID(自增ID)
  12928. type: integer
  12929. goodsgroupname:
  12930. description: 商品组名称
  12931. type: string
  12932. goodsid:
  12933. description: 合约id
  12934. type: integer
  12935. goodsname:
  12936. description: 合约名称
  12937. type: string
  12938. refgoodscode:
  12939. description: 标的合约代码
  12940. type: string
  12941. refgoodsid:
  12942. description: 标的合约id
  12943. type: integer
  12944. refgoodsname:
  12945. description: 标的合约名称
  12946. type: string
  12947. sellqty:
  12948. description: 卖量(暂不做, 无值, 保留字段)
  12949. type: number
  12950. type: object
  12951. models.TjmdTodayAccountMargin:
  12952. properties:
  12953. accountid:
  12954. description: 账号ID
  12955. type: integer
  12956. goodsid:
  12957. description: 商品ID
  12958. type: integer
  12959. infoc:
  12960. $ref: '#/definitions/pb.GoodsMarginCfgStruct'
  12961. description: 配置参数
  12962. marketid:
  12963. description: 市场ID
  12964. type: integer
  12965. type: object
  12966. models.TjmdTradeOrderDetail:
  12967. properties:
  12968. buyorsell:
  12969. description: 买卖方向 0-买 1-卖
  12970. type: integer
  12971. goodsid:
  12972. description: 商品id
  12973. type: integer
  12974. marketmaxsub:
  12975. description: 市价最大偏移范围 [浮动价 - 点差]
  12976. type: number
  12977. orderid:
  12978. description: 委托单号
  12979. type: string
  12980. orderprice:
  12981. description: 期初均价
  12982. type: number
  12983. orderqty:
  12984. description: 委托数量
  12985. type: integer
  12986. pricemode:
  12987. description: '取价方式 - 1:市价 2: 限价 3:浮动价'
  12988. type: integer
  12989. userid:
  12990. description: 用户id
  12991. type: integer
  12992. username:
  12993. description: 用户名称(已脱敏)
  12994. type: string
  12995. type: object
  12996. models.TjmdTransferApply:
  12997. properties:
  12998. applyid:
  12999. description: 申请ID(自增ID SEQ_TRADE_HOLDTRANSFERAPPLY)
  13000. type: integer
  13001. applystatus:
  13002. description: 状态 - 0:未提交 1:待审核 2:审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销
  13003. type: integer
  13004. applytime:
  13005. description: 申请时间(时间)
  13006. type: string
  13007. auditremark:
  13008. description: 审核备注(拒绝原因?)
  13009. type: string
  13010. begindate:
  13011. description: 开始交易日(yyyymmdd)
  13012. type: string
  13013. buyorsell:
  13014. description: 买卖 - 0:买 1:卖
  13015. type: integer
  13016. enddate:
  13017. description: 结束交易日(yyyymmdd)
  13018. type: string
  13019. goodscode:
  13020. description: 商品代码
  13021. type: string
  13022. goodsid:
  13023. description: 商品ID
  13024. type: integer
  13025. goodsname:
  13026. description: 商品名称
  13027. type: string
  13028. marketid:
  13029. description: 市场ID
  13030. type: integer
  13031. qty:
  13032. description: 期初均价
  13033. type: number
  13034. tradeid:
  13035. description: 成交单号(关联持仓)
  13036. type: string
  13037. transferamount:
  13038. description: 转让总金额(金额)
  13039. type: number
  13040. transferprice:
  13041. description: 转让价格(协议价格)
  13042. type: number
  13043. type: object
  13044. models.TradeHolderDetail:
  13045. properties:
  13046. accountid:
  13047. description: 账号ID
  13048. type: integer
  13049. agreeunit:
  13050. description: 合约乘数
  13051. type: number
  13052. buyorsell:
  13053. description: 方向 - 0:买 1:卖
  13054. type: integer
  13055. currencyid:
  13056. description: 商品币种id
  13057. type: integer
  13058. currencyname:
  13059. description: 币种名称
  13060. type: string
  13061. decimalplace:
  13062. description: 商品价格小数位
  13063. type: integer
  13064. enumdicname:
  13065. description: 商品单位名称
  13066. type: string
  13067. expirecycle:
  13068. description: 行权周期(天) - 1:滚动行权时填写
  13069. type: integer
  13070. expiredate:
  13071. description: 行权日(yyyyMMdd) - 到期日
  13072. type: string
  13073. expiretype:
  13074. description: 行权日类型 - 1:滚动行权 2:固定日行权
  13075. type: integer
  13076. freezeqty:
  13077. description: 期初均价
  13078. type: number
  13079. goodscode:
  13080. description: 商品代码
  13081. type: string
  13082. goodsid:
  13083. description: 商品ID
  13084. type: integer
  13085. goodsname:
  13086. description: 商品名称
  13087. type: string
  13088. goodunitid:
  13089. description: 商品单位id
  13090. type: integer
  13091. holderamount:
  13092. description: 持仓金额
  13093. type: number
  13094. holdercredit:
  13095. description: 持仓授信金额
  13096. type: number
  13097. holderdays:
  13098. description: 剩余冻结天数
  13099. type: integer
  13100. holderprice:
  13101. description: 持仓价格
  13102. type: number
  13103. holderqty:
  13104. description: 期初均价
  13105. type: number
  13106. isconfirmexercise:
  13107. description: 是否确认行权- 0:否 1:是
  13108. type: integer
  13109. ispreexercise:
  13110. description: 是否预申报- 0:否 1:是 2:不可行权
  13111. type: integer
  13112. marketid:
  13113. description: 市场id
  13114. type: integer
  13115. marketname:
  13116. description: 市场名称
  13117. type: string
  13118. openprice:
  13119. description: 建仓价格
  13120. type: number
  13121. openqty:
  13122. description: 期初均价
  13123. type: number
  13124. optiontype:
  13125. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  13126. type: integer
  13127. preexerciseprice:
  13128. description: 预申报价格
  13129. type: number
  13130. premium:
  13131. description: 权利金
  13132. type: number
  13133. qtydecimalplace:
  13134. description: 商品成交量小数位
  13135. type: integer
  13136. refgoodscode:
  13137. description: 标的合约代码
  13138. type: string
  13139. refgoodsid:
  13140. description: 标的合约id
  13141. type: integer
  13142. releaseamount:
  13143. description: 释放持仓金额
  13144. type: number
  13145. releaseholdercredit:
  13146. description: 释放持仓授信金额
  13147. type: number
  13148. taname:
  13149. description: 资金账号名称
  13150. type: string
  13151. tradeamount:
  13152. description: 成交金额
  13153. type: number
  13154. tradedate:
  13155. description: 交易日(yyyyMMdd)
  13156. type: string
  13157. tradeid:
  13158. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13159. type: string
  13160. trademode:
  13161. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  13162. 21:竞拍-大宗式 22:受托竞价 46:掉期
  13163. type: integer
  13164. tradeproperty:
  13165. description: 交易属性
  13166. type: integer
  13167. tradetime:
  13168. description: 交易时间
  13169. type: string
  13170. userid:
  13171. description: 用户id
  13172. type: integer
  13173. username:
  13174. description: 用户名称
  13175. type: string
  13176. type: object
  13177. models.Unlinkermcphedgeplan:
  13178. properties:
  13179. accountid:
  13180. description: 期货账户ID - 作废
  13181. type: integer
  13182. accountname:
  13183. description: 交易用户
  13184. type: string
  13185. applyid:
  13186. description: 申请人
  13187. type: integer
  13188. applysrc:
  13189. description: 申请来源 - 1:管理端 2:终端
  13190. type: integer
  13191. applytime:
  13192. description: 申请时间
  13193. type: string
  13194. areauserid:
  13195. description: '[企业ID]机构ID'
  13196. type: integer
  13197. auditid:
  13198. description: 审核人
  13199. type: integer
  13200. auditremark:
  13201. description: 审核备注
  13202. type: string
  13203. auditsrc:
  13204. description: 审核来源 - 1:管理端 2:终端
  13205. type: integer
  13206. audittime:
  13207. description: 审核时间
  13208. type: string
  13209. audittradedate:
  13210. description: 审核交易日(yyyyMMdd)
  13211. type: string
  13212. biztype:
  13213. description: 业务类型 - 1:套保
  13214. type: integer
  13215. contracttype:
  13216. description: 计划类型 - 1:采购 -1:销售
  13217. type: integer
  13218. convertfactor:
  13219. description: 标仓系数 - 作废
  13220. type: number
  13221. createtime:
  13222. description: 创建时间
  13223. type: string
  13224. currencyid:
  13225. description: 结算币种ID - 作废
  13226. type: integer
  13227. deliverygoodsid:
  13228. description: 现货品种ID
  13229. type: integer
  13230. enumdicname:
  13231. description: 结算币种
  13232. type: string
  13233. hedgeplanid:
  13234. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  13235. type: string
  13236. hedgeplanno:
  13237. description: '[计划编号]套保计划编号,模糊查询'
  13238. type: string
  13239. hedgeplanstatus:
  13240. description: '[状态]套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回'
  13241. type: integer
  13242. isrelated:
  13243. description: 是否已关联计划项目 - 0:否 1:是
  13244. type: integer
  13245. planqty:
  13246. description: '[计划量]计划数量'
  13247. type: number
  13248. plantime:
  13249. description: 计划时间
  13250. type: string
  13251. producttype:
  13252. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  13253. type: integer
  13254. remark:
  13255. description: 备注
  13256. type: string
  13257. spotgoodsdesc:
  13258. description: 商品型号
  13259. type: string
  13260. tradedate:
  13261. description: 交易日(yyyyMMdd)
  13262. type: string
  13263. tradeuserid:
  13264. description: 交易用户ID
  13265. type: integer
  13266. updatetime:
  13267. description: 更新时间
  13268. type: string
  13269. wrstandardid:
  13270. description: 现货商品ID
  13271. type: integer
  13272. wrstandardname:
  13273. description: 现货商品,模糊查询
  13274. type: string
  13275. required:
  13276. - areauserid
  13277. type: object
  13278. models.Useraccount:
  13279. properties:
  13280. accountname:
  13281. description: 账户名称(机构名称)
  13282. type: string
  13283. accountstatus:
  13284. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  13285. type: integer
  13286. applysrc:
  13287. description: 申请来源 - 1:管理端 2:终端
  13288. type: integer
  13289. auditremark:
  13290. description: 审核备注
  13291. type: string
  13292. auditsrc:
  13293. description: 审核来源 - 1:管理端 2:终端
  13294. type: integer
  13295. audittime:
  13296. description: 审核时间
  13297. type: string
  13298. audituserid:
  13299. description: 审核人
  13300. type: integer
  13301. broker:
  13302. description: 所属经纪人ID
  13303. type: integer
  13304. canceltime:
  13305. description: 销户时间
  13306. type: string
  13307. canceluserid:
  13308. description: 销户人
  13309. type: integer
  13310. canrecommend:
  13311. description: 是否可推荐 - 0:不可 1;可
  13312. type: integer
  13313. createtime:
  13314. description: 创建时间
  13315. type: string
  13316. creatorid:
  13317. description: 创建人
  13318. type: integer
  13319. hasauth:
  13320. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  13321. type: integer
  13322. isanonymous:
  13323. description: 是否匿名下单 - 0:否 1:是
  13324. type: integer
  13325. maxinvestornum:
  13326. description: 最大用户数(经纪会员下投资者个数)
  13327. type: integer
  13328. memberuserid:
  13329. description: 所属会员ID
  13330. type: integer
  13331. modifierid:
  13332. description: 修改人
  13333. type: integer
  13334. modifyremark:
  13335. description: 变更备注
  13336. type: string
  13337. modifystatus:
  13338. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  13339. type: integer
  13340. modifytime:
  13341. description: 修改时间
  13342. type: string
  13343. parenttopuser:
  13344. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  13345. type: string
  13346. parentuserid:
  13347. description: 所属机构ID
  13348. type: integer
  13349. reckonaccountid:
  13350. description: 默认结算资金账号ID(机构分润使用) 作废
  13351. type: integer
  13352. refercount:
  13353. description: 推荐总人数
  13354. type: integer
  13355. refereeuserid:
  13356. description: 推荐人ID
  13357. type: integer
  13358. refernum:
  13359. description: 推荐码
  13360. type: string
  13361. rootuserid:
  13362. description: 根用户ID
  13363. type: integer
  13364. subaccountlevel:
  13365. description: 子账户层数
  13366. type: integer
  13367. subarealevelpath:
  13368. description: 子机构层级路径(逗号分隔,首尾加逗号)
  13369. type: string
  13370. userid:
  13371. description: 用户ID
  13372. type: integer
  13373. usertype:
  13374. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  13375. type: integer
  13376. required:
  13377. - userid
  13378. type: object
  13379. models.Userfavoritegoods:
  13380. properties:
  13381. goodsid:
  13382. description: 商品ID
  13383. type: integer
  13384. required:
  13385. - goodsid
  13386. type: object
  13387. models.Userinfo:
  13388. properties:
  13389. address:
  13390. description: 地址
  13391. type: string
  13392. attachment1:
  13393. description: 附件1
  13394. type: string
  13395. attachment2:
  13396. description: 附件2
  13397. type: string
  13398. bankaccount:
  13399. description: 银行帐号 (加密存储)
  13400. type: string
  13401. bankaccountname:
  13402. description: 收款人名称
  13403. type: string
  13404. bankcardfrontphotourl:
  13405. description: 银行卡正面照地址
  13406. type: string
  13407. bankid:
  13408. description: 银行编码
  13409. type: string
  13410. bankname:
  13411. description: 银行名称
  13412. type: string
  13413. biznature:
  13414. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  13415. type: integer
  13416. bizscope:
  13417. description: 企业经营范围(企业)
  13418. type: string
  13419. cardbackphotourl:
  13420. description: 证件背面图片地址
  13421. type: string
  13422. cardfrontphotourl:
  13423. description: 证件正面图片地址
  13424. type: string
  13425. cardnum:
  13426. description: 证件号码(加密存储)
  13427. type: string
  13428. cardtypeid:
  13429. description: 证件类型ID
  13430. type: integer
  13431. cityid:
  13432. description: 市
  13433. type: integer
  13434. company:
  13435. description: 公司(个人)
  13436. type: string
  13437. contactname:
  13438. description: 联系人
  13439. type: string
  13440. countryid:
  13441. description: 国家
  13442. type: integer
  13443. createtime:
  13444. description: 创建时间
  13445. type: string
  13446. creatorid:
  13447. description: 创建人
  13448. type: integer
  13449. customername:
  13450. description: 客户名称(企业名称)
  13451. type: string
  13452. districtid:
  13453. description: 地区
  13454. type: integer
  13455. email:
  13456. description: 邮件(加密存储)
  13457. type: string
  13458. fax:
  13459. description: 传真(加密存储)
  13460. type: string
  13461. halfbodyphotourl:
  13462. description: 半身照地址
  13463. type: string
  13464. hasencrypt:
  13465. description: 数据是否已加密 - 0:未加密 1:已加密
  13466. type: integer
  13467. headurl:
  13468. description: 头像地址
  13469. type: string
  13470. legalcardbackphotourl:
  13471. description: 法人身份证背面照地址
  13472. type: string
  13473. legalcardfrontphotourl:
  13474. description: 法人身份证正面照地址
  13475. type: string
  13476. legalpersonname:
  13477. description: 法人姓名(企业)
  13478. type: string
  13479. mobile:
  13480. description: 手机号码(加密存储)
  13481. type: string
  13482. mobile2:
  13483. description: 手机号码[明文-尚志]
  13484. type: string
  13485. modifierid:
  13486. description: 修改人
  13487. type: integer
  13488. modifiertime:
  13489. description: 修改时间
  13490. type: string
  13491. needinvoice:
  13492. description: 是否需要发票 - 0:不需要 1:需要
  13493. type: integer
  13494. nickname:
  13495. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  13496. type: string
  13497. openmode:
  13498. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  13499. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  13500. type: integer
  13501. otherurl:
  13502. description: 其它图片地址[使用分号分隔]
  13503. type: string
  13504. postalcode:
  13505. description: 邮政编码
  13506. type: string
  13507. provinceid:
  13508. description: 省
  13509. type: integer
  13510. qq:
  13511. description: QQ(加密存储
  13512. type: string
  13513. remark:
  13514. description: 备注
  13515. type: string
  13516. sex:
  13517. description: '用户性别 0: 女 1: 男'
  13518. type: integer
  13519. signpdfurl:
  13520. description: 签约pdf文件
  13521. type: string
  13522. telphone:
  13523. description: 联系电话(加密存储)
  13524. type: string
  13525. userid:
  13526. description: 用户ID
  13527. type: integer
  13528. userinfotype:
  13529. description: 用户信息类型 - 1:个人 2:企业
  13530. type: integer
  13531. userstatus:
  13532. description: 用户状态 - 1:正常 2:注销
  13533. type: integer
  13534. usertype:
  13535. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  13536. type: integer
  13537. wechat:
  13538. description: 微信(加密存储)
  13539. type: string
  13540. wskhinfo:
  13541. description: 开户申请信息(JSON)
  13542. type: string
  13543. required:
  13544. - userid
  13545. type: object
  13546. models.WRSConverTDetail:
  13547. properties:
  13548. convertratio:
  13549. description: 套保系数
  13550. type: number
  13551. deliverygoodscode:
  13552. description: 现货商品代码
  13553. type: string
  13554. deliverygoodsid:
  13555. description: 现货品种ID
  13556. type: integer
  13557. deliverygoodsname:
  13558. description: 现货商品名称
  13559. type: string
  13560. enumdicname:
  13561. description: 单位名称
  13562. type: string
  13563. goodsunitid:
  13564. description: 套保品种单位id
  13565. type: integer
  13566. middlegoodscode:
  13567. description: 套保品种代码
  13568. type: string
  13569. middlegoodsid:
  13570. description: 套保品种ID
  13571. type: integer
  13572. middlegoodsname:
  13573. description: 套保品种名称
  13574. type: string
  13575. modifytime:
  13576. description: 修改时间
  13577. type: string
  13578. wrstandardid:
  13579. description: 品类ID
  13580. type: integer
  13581. type: object
  13582. models.WRStandardInfo:
  13583. properties:
  13584. areauserid:
  13585. description: 所属机构
  13586. type: integer
  13587. convertfactor:
  13588. description: 标仓系数
  13589. type: number
  13590. createtime:
  13591. description: 创建时间
  13592. type: string
  13593. creatorid:
  13594. description: 创建人
  13595. type: integer
  13596. deliverygoodsid:
  13597. description: 品种ID
  13598. type: integer
  13599. deliverygoodsname:
  13600. description: 交割商品名称
  13601. type: string
  13602. factoryitemjson:
  13603. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  13604. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  13605. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  13606. 逗号分隔'
  13607. type: string
  13608. isvalid:
  13609. description: 是否有效 - 0:无效 1:有效
  13610. type: integer
  13611. minivalue:
  13612. description: 最小变动值
  13613. type: integer
  13614. minivaluedp:
  13615. description: 最小变动值小数位
  13616. type: integer
  13617. realminivalue:
  13618. description: 实际最小变动值
  13619. type: integer
  13620. realminivaluedp:
  13621. description: 实际最小变动值小数位
  13622. type: integer
  13623. remark:
  13624. description: 备注
  13625. type: string
  13626. unitid:
  13627. description: 单位ID
  13628. type: integer
  13629. unitname:
  13630. description: 单位
  13631. type: string
  13632. updatetime:
  13633. description: 更新时间
  13634. type: string
  13635. updatorid:
  13636. description: 更新人
  13637. type: integer
  13638. wrsstatus:
  13639. description: 状态 - 作废 - 0:未激活 1:正常
  13640. type: integer
  13641. wrstandardcode:
  13642. description: 现货品类代码
  13643. type: string
  13644. wrstandardid:
  13645. description: 现货品类ID(SEQ_WRSTANDARD)
  13646. type: integer
  13647. wrstandardname:
  13648. description: 现货品类名称
  13649. type: string
  13650. required:
  13651. - wrstandardid
  13652. type: object
  13653. models.WRTradeBargainApply:
  13654. properties:
  13655. accountid:
  13656. description: 摘牌资金账号
  13657. type: integer
  13658. applyprice:
  13659. description: 申请价格(议价价格)
  13660. type: string
  13661. applyqty:
  13662. description: 摘牌数量(议价数量)
  13663. type: number
  13664. applyremark:
  13665. description: 申请备注
  13666. type: string
  13667. applystatus:
  13668. description: 申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  13669. type: integer
  13670. applytime:
  13671. description: 申请时间(议价时间)
  13672. type: string
  13673. begindate:
  13674. description: 开始交易日(yyyymmdd)
  13675. type: string
  13676. buyorsell:
  13677. description: 买卖(挂牌类型) - 0:买 1:卖
  13678. type: integer
  13679. confirmremark:
  13680. description: 确认备注
  13681. type: string
  13682. confirmtime:
  13683. description: 确认时间
  13684. type: string
  13685. confirmuserid:
  13686. description: 确认人
  13687. type: integer
  13688. deliverygoodscode:
  13689. description: 品种代码
  13690. type: string
  13691. deliverygoodsid:
  13692. description: 品种ID
  13693. type: integer
  13694. deliverygoodsname:
  13695. description: 品种名称
  13696. type: string
  13697. deliverymonth:
  13698. description: 交收月
  13699. type: string
  13700. enddate:
  13701. description: 结束交易日(yyyymmdd)
  13702. type: string
  13703. enumdicname:
  13704. description: 单位名称
  13705. type: string
  13706. fixedprice:
  13707. description: 期初均价
  13708. type: number
  13709. handlestatus:
  13710. description: 处理状态
  13711. type: integer
  13712. marginvalue:
  13713. description: 期初均价
  13714. type: number
  13715. marketid:
  13716. description: 市场ID
  13717. type: integer
  13718. matchaccountid:
  13719. description: 挂牌方资金账号
  13720. type: integer
  13721. matchuserid:
  13722. description: 挂牌方用户id
  13723. type: integer
  13724. matchusername:
  13725. description: 挂牌方用户名称(已脱敏)
  13726. type: string
  13727. minivalue:
  13728. description: 现货商品最小变动值
  13729. type: integer
  13730. optioncompare:
  13731. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  13732. type: string
  13733. orderqty:
  13734. description: 挂牌数量
  13735. type: integer
  13736. refprice:
  13737. description: 参考价格
  13738. type: string
  13739. retcode:
  13740. description: 委托返回代码
  13741. type: integer
  13742. templatename:
  13743. description: 履约方式(履约模板名称)
  13744. type: string
  13745. tradedate:
  13746. description: 交易日(yyyyMMdd)
  13747. type: string
  13748. userid:
  13749. description: 摘牌人用户ID(议价人ID)
  13750. type: integer
  13751. username:
  13752. description: 议价人名字(已脱敏)
  13753. type: string
  13754. validtime:
  13755. description: 有效期限
  13756. type: string
  13757. warehouseid:
  13758. description: 仓库ID
  13759. type: integer
  13760. warehousename:
  13761. description: 仓库名称
  13762. type: string
  13763. wrbargainid:
  13764. description: 议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)
  13765. type: string
  13766. wrfactortypeid:
  13767. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  13768. type: string
  13769. wrfactortypename:
  13770. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  13771. type: string
  13772. wrstandardcode:
  13773. description: 现货商品代码
  13774. type: string
  13775. wrstandardid:
  13776. description: 现货商品ID
  13777. type: integer
  13778. wrstandardname:
  13779. description: 商品名称
  13780. type: string
  13781. wrtradeorderid:
  13782. description: 关联委托单ID
  13783. type: string
  13784. wrtypename:
  13785. description: 商品
  13786. type: string
  13787. type: object
  13788. models.Warehouseinfo:
  13789. properties:
  13790. address:
  13791. description: 详细地址
  13792. type: string
  13793. areauserid:
  13794. description: 所属机构
  13795. type: integer
  13796. autoid:
  13797. description: 自增ID
  13798. type: integer
  13799. cityid:
  13800. description: 市
  13801. type: integer
  13802. contactname:
  13803. description: 联系人
  13804. type: string
  13805. contactnum:
  13806. description: 联系电话
  13807. type: string
  13808. countryid:
  13809. description: 国家
  13810. type: integer
  13811. createtime:
  13812. description: 创建时间
  13813. type: string
  13814. districtid:
  13815. description: 区
  13816. type: integer
  13817. hasvideo:
  13818. description: 是否有视频 - 0:无 1:有
  13819. type: integer
  13820. provinceid:
  13821. description: 省
  13822. type: integer
  13823. remark:
  13824. description: 审核备注
  13825. type: string
  13826. videourl:
  13827. description: 视频地址
  13828. type: string
  13829. warehousecode:
  13830. description: 仓库代码
  13831. type: string
  13832. warehousename:
  13833. description: 仓库名称
  13834. type: string
  13835. warehousestatus:
  13836. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  13837. type: integer
  13838. warehousetype:
  13839. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  13840. type: integer
  13841. required:
  13842. - autoid
  13843. - warehousecode
  13844. type: object
  13845. models.WrAverageTradePrice:
  13846. properties:
  13847. averageprice:
  13848. description: 期初均价
  13849. type: number
  13850. tradedate:
  13851. description: 交易日yyyymm
  13852. type: string
  13853. type: object
  13854. models.WrBrandAndYears:
  13855. properties:
  13856. brandlst:
  13857. description: 品牌列表
  13858. items:
  13859. $ref: '#/definitions/models.DgFactoryItem'
  13860. type: array
  13861. yearslst:
  13862. description: 年份列表
  13863. items:
  13864. $ref: '#/definitions/models.DgFactoryItem'
  13865. type: array
  13866. type: object
  13867. models.WrBsGoodsInfo:
  13868. properties:
  13869. buyorsell:
  13870. description: 买卖方向 0-买 1-卖
  13871. type: integer
  13872. goodsid:
  13873. description: 交易合约ID
  13874. type: integer
  13875. lstitem:
  13876. description: 商品信息项
  13877. items:
  13878. $ref: '#/definitions/models.WrTypeItem'
  13879. type: array
  13880. lststep:
  13881. description: 履约规则
  13882. items:
  13883. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  13884. type: array
  13885. type: object
  13886. models.WrBuybackDetail:
  13887. properties:
  13888. buybackamount:
  13889. description: 回购金额
  13890. type: number
  13891. buybackqty:
  13892. description: 回购数量
  13893. type: number
  13894. buybackreleasemargin:
  13895. description: 回购释放保证金
  13896. type: number
  13897. buybacktime:
  13898. description: 回购时间
  13899. type: string
  13900. errordesc:
  13901. description: 错误描述
  13902. type: string
  13903. handlestatus:
  13904. description: 处理 - 1:待处理 2:处理成功 3:处理失败
  13905. type: integer
  13906. relatedwrid:
  13907. description: 关联仓单ID
  13908. type: integer
  13909. scfcontractid:
  13910. description: SCF合同ID
  13911. type: string
  13912. scfwrbuybackid:
  13913. description: SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)
  13914. type: integer
  13915. tradedate:
  13916. description: 交易日(yyyyMMdd)
  13917. type: string
  13918. type: object
  13919. models.WrClientAdSpaceConfig:
  13920. properties:
  13921. adspaceid:
  13922. description: 广告位ID
  13923. type: integer
  13924. adspacename:
  13925. description: 广告位名称
  13926. type: string
  13927. adspacetype:
  13928. description: 广告位类型 - 1:固定广告位
  13929. type: integer
  13930. areauserid:
  13931. description: 所属机构ID
  13932. type: integer
  13933. createdate:
  13934. description: 创建时间
  13935. type: string
  13936. imagepath:
  13937. description: 图片
  13938. type: string
  13939. modifierid:
  13940. description: 操作人
  13941. type: integer
  13942. recsize:
  13943. description: 推荐尺寸
  13944. type: string
  13945. title:
  13946. description: 标题
  13947. type: string
  13948. updatedate:
  13949. description: 更新时间
  13950. type: string
  13951. urlcontent:
  13952. description: 链接(地址\商品ID\功能菜单Key\appid)
  13953. type: string
  13954. urltype:
  13955. description: 链接类型 - 0:无 1:直接地址 2:商品ID 3:图片详情 4:App功能 5:微信小程序
  13956. type: integer
  13957. type: object
  13958. models.WrDeliveryAvalidHoldLB:
  13959. properties:
  13960. accountid:
  13961. description: 资金账号
  13962. type: integer
  13963. avalidqty:
  13964. description: 数量(可点选数量)
  13965. type: number
  13966. deliverygoodsid:
  13967. description: 品种id
  13968. type: integer
  13969. enumdicname:
  13970. description: 单位名称
  13971. type: string
  13972. goodsid:
  13973. description: x合约商品id
  13974. type: integer
  13975. ladingbillid:
  13976. description: 提单id
  13977. type: string
  13978. pgoodscode:
  13979. description: p商品代码(点价合约)
  13980. type: string
  13981. pgoodsid:
  13982. description: p商品id(点价合约)
  13983. type: integer
  13984. pgoodsname:
  13985. description: p商品名称(点价合约)
  13986. type: string
  13987. pricemove:
  13988. description: 升贴水
  13989. type: number
  13990. subnum:
  13991. description: 提单子id
  13992. type: integer
  13993. userid:
  13994. description: 用户id
  13995. type: integer
  13996. username:
  13997. description: 仓单持有人
  13998. type: string
  13999. warehousecode:
  14000. description: 仓库代码
  14001. type: string
  14002. warehouseid:
  14003. description: 仓库id
  14004. type: integer
  14005. warehousename:
  14006. description: 仓库名称
  14007. type: string
  14008. wrfactortypeid:
  14009. description: 仓单要素id
  14010. type: string
  14011. wrstandardcode:
  14012. description: 品代码
  14013. type: string
  14014. wrstandardid:
  14015. description: 品类d
  14016. type: integer
  14017. wrstandardname:
  14018. description: 品类名称
  14019. type: string
  14020. wrtypename:
  14021. description: 商品
  14022. type: string
  14023. xgoodscode:
  14024. description: x合约代码
  14025. type: string
  14026. xgoodsname:
  14027. description: x合约名称
  14028. type: string
  14029. type: object
  14030. models.WrDeliveryDetail:
  14031. properties:
  14032. accountid:
  14033. description: 账号ID
  14034. type: integer
  14035. averageprice:
  14036. description: 期初均价
  14037. type: number
  14038. begindate:
  14039. description: 开始交易日(yyyymmdd)
  14040. type: string
  14041. buyorsell:
  14042. description: 方向 - 0:买 1:卖
  14043. type: integer
  14044. deliveryamount:
  14045. description: 货款金额(X总货款+P总货款)
  14046. type: number
  14047. deliveryid:
  14048. description: 交割单号(121+Unix秒时间戳(10位)+xxxxxx)
  14049. type: string
  14050. deliveryorderid:
  14051. description: 申报单号
  14052. type: string
  14053. deliverypricemove:
  14054. description: 升贴水(升贴水总额)
  14055. type: number
  14056. deliveryqty:
  14057. description: 交收数量(点选数量)
  14058. type: number
  14059. deliverystatus:
  14060. description: 状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成
  14061. type: integer
  14062. deliverytime:
  14063. description: 交割时间
  14064. type: string
  14065. deliverytotalamount:
  14066. description: 交收金额
  14067. type: number
  14068. enddate:
  14069. description: 结束交易日(yyyymmdd)
  14070. type: string
  14071. enumdicname:
  14072. description: 单位名称
  14073. type: string
  14074. matchaccountid:
  14075. description: 对手账号ID
  14076. type: integer
  14077. matchusername:
  14078. description: 对手方名称(仓单持有人)
  14079. type: string
  14080. p1goodsremainamount:
  14081. description: 点价货款 ps:当PPRICEMODE=2时, 界面需显示"-"
  14082. type: number
  14083. pdeliverycloseqty:
  14084. description: p合约平仓数量
  14085. type: number
  14086. pdeliveryprice:
  14087. description: 点价价格 ps:当PPRICEMODE=2时, 界面需显示"-"
  14088. type: number
  14089. pgoodscode:
  14090. description: 商品代码
  14091. type: string
  14092. pgoodsid:
  14093. description: p点选合约id
  14094. type: integer
  14095. pgoodsname:
  14096. description: 商品名称
  14097. type: string
  14098. ppricemode:
  14099. description: 点价价格方式 - 1:商品价 2:固定值
  14100. type: integer
  14101. tradedate:
  14102. description: 交易日(yyyymmdd)
  14103. type: string
  14104. userid:
  14105. description: 用户id
  14106. type: integer
  14107. username:
  14108. description: 用户名称
  14109. type: string
  14110. warehousename:
  14111. description: 仓库名称
  14112. type: string
  14113. wrfactortypeid:
  14114. description: 仓单要素类型ID
  14115. type: string
  14116. wrtypename:
  14117. description: 商品
  14118. type: string
  14119. xdeliverycloseqty:
  14120. description: 合约数量
  14121. type: number
  14122. xgoodsamount:
  14123. description: 期初均价
  14124. type: number
  14125. xgoodscode:
  14126. description: 商品代码
  14127. type: string
  14128. xgoodsid:
  14129. description: x交易合约ID
  14130. type: integer
  14131. xgoodsname:
  14132. description: 商品名称
  14133. type: string
  14134. type: object
  14135. models.WrDeliveryGoodsSection:
  14136. properties:
  14137. dglst:
  14138. description: 板块商品列表
  14139. items:
  14140. $ref: '#/definitions/models.WrDeliveryGoodsSectionConfig'
  14141. type: array
  14142. imagepath:
  14143. description: 图片地址
  14144. type: string
  14145. orderindex:
  14146. description: 排序
  14147. type: integer
  14148. sectionid:
  14149. description: 版块ID (SEQ_DELIVERYGOODSSECTION) - 自增100开始, 前面ID预留给SectionType
  14150. = 1的版块1 - 云融指数
  14151. type: integer
  14152. sectionname:
  14153. description: 版块名称
  14154. type: string
  14155. sectiontype:
  14156. description: 版块类型 - 1:指数版块 2:普通版块
  14157. type: integer
  14158. type: object
  14159. models.WrDeliveryGoodsSectionConfig:
  14160. properties:
  14161. deliverygoodscode:
  14162. description: 现货商品代码
  14163. type: string
  14164. deliverygoodsid:
  14165. description: 现货品种ID(SEQ_DELIVERYGOODS)
  14166. type: integer
  14167. deliverygoodsname:
  14168. description: 现货商品名称
  14169. type: string
  14170. orderindex:
  14171. description: 排序
  14172. type: integer
  14173. type: object
  14174. models.WrDraftUserInfo:
  14175. properties:
  14176. address:
  14177. description: 地址
  14178. type: string
  14179. attachment1:
  14180. description: 附件1
  14181. type: string
  14182. attachment2:
  14183. description: 附件2
  14184. type: string
  14185. attachment3:
  14186. description: 附件3
  14187. type: string
  14188. attachment4:
  14189. description: 附件4
  14190. type: string
  14191. attachment5:
  14192. description: 附件5
  14193. type: string
  14194. bankaccount:
  14195. description: 银行帐号 (加密存储)
  14196. type: string
  14197. bankaccountname:
  14198. description: 收款人名称
  14199. type: string
  14200. bankcardfrontphotourl:
  14201. description: 银行卡正面照地址
  14202. type: string
  14203. bankid:
  14204. description: 银行编码
  14205. type: string
  14206. bankname:
  14207. description: 银行名称
  14208. type: string
  14209. birthday:
  14210. description: 生日(个人:年月日)
  14211. type: string
  14212. biznature:
  14213. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  14214. type: integer
  14215. bizscope:
  14216. description: 企业经营范围(企业)
  14217. type: string
  14218. biztype:
  14219. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  14220. type: integer
  14221. cardbackphotourl:
  14222. description: 证件背面图片地址
  14223. type: string
  14224. cardfrontphotourl:
  14225. description: 证件正面图片地址
  14226. type: string
  14227. cardnum:
  14228. description: 证件号码(加密存储)
  14229. type: string
  14230. cardtypeid:
  14231. description: 证件类型ID
  14232. type: integer
  14233. cityid:
  14234. description: 市
  14235. type: integer
  14236. company:
  14237. description: 公司(个人)
  14238. type: string
  14239. contactcardbackphotourl:
  14240. description: 联系人证件背面图片地址
  14241. type: string
  14242. contactcardfrontphotourl:
  14243. description: 联系人证件正面图片地址
  14244. type: string
  14245. contactname:
  14246. description: 联系人
  14247. type: string
  14248. countryid:
  14249. description: 国家
  14250. type: integer
  14251. createtime:
  14252. description: 创建时间
  14253. type: string
  14254. creatorid:
  14255. description: 创建人
  14256. type: integer
  14257. creditquota:
  14258. description: 授信额度(金瑞)
  14259. type: number
  14260. customername:
  14261. description: 客户名称(企业名称)
  14262. type: string
  14263. districtid:
  14264. description: 地区
  14265. type: integer
  14266. email:
  14267. description: 邮件(加密存储)
  14268. type: string
  14269. fax:
  14270. description: 传真(加密存储)
  14271. type: string
  14272. halfbodyphotourl:
  14273. description: 半身照地址
  14274. type: string
  14275. hasencrypt:
  14276. description: 数据是否已加密 - 0:未加密 1:已加密
  14277. type: integer
  14278. headurl:
  14279. description: 头像地址
  14280. type: string
  14281. legalcardbackphotourl:
  14282. description: 法人身份证背面照地址
  14283. type: string
  14284. legalcardfrontphotourl:
  14285. description: 法人身份证正面照地址
  14286. type: string
  14287. legalpersonname:
  14288. description: 法人姓名(企业)
  14289. type: string
  14290. mobile:
  14291. description: 手机号码(加密存储)
  14292. type: string
  14293. mobile2:
  14294. description: 手机号码[明文-尚志]
  14295. type: string
  14296. modifierid:
  14297. description: 修改人
  14298. type: integer
  14299. modifiertime:
  14300. description: 修改时间
  14301. type: string
  14302. needinvoice:
  14303. description: 是否需要发票 - 0:不需要 1:需要
  14304. type: integer
  14305. nickname:
  14306. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  14307. type: string
  14308. openmode:
  14309. description: "开户方式 - 1:管理端开户 2\t:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  14310. 6:苹果手机端注册 7:PC交易端注册"
  14311. type: integer
  14312. otherurl:
  14313. description: 其它图片地址[使用分号分隔]
  14314. type: string
  14315. postalcode:
  14316. description: 邮政编码
  14317. type: string
  14318. provinceid:
  14319. description: 省
  14320. type: integer
  14321. proxystatementurl:
  14322. description: 授权委托书
  14323. type: string
  14324. qq:
  14325. description: QQ(加密存储
  14326. type: string
  14327. remark:
  14328. description: 备注
  14329. type: string
  14330. sex:
  14331. description: '用户性别 0: 女 1: 男'
  14332. type: integer
  14333. signpdfurl:
  14334. description: 签约pdf文件
  14335. type: string
  14336. taxpayernum:
  14337. description: 纳税人识别号
  14338. type: string
  14339. telphone:
  14340. description: 联系电话(加密存储)
  14341. type: string
  14342. userid:
  14343. description: 用户ID
  14344. type: integer
  14345. userinfotype:
  14346. description: 用户信息类型 - 1:个人 2:企业
  14347. type: integer
  14348. userstatus:
  14349. description: 用户状态 - 1:正常 2:注销
  14350. type: integer
  14351. usertype:
  14352. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者
  14353. type: integer
  14354. wechat:
  14355. description: 微信(加密存储)
  14356. type: string
  14357. wskhinfo:
  14358. description: 开户申请信息(JSON)
  14359. type: string
  14360. type: object
  14361. models.WrFAProductDetail:
  14362. properties:
  14363. accountid:
  14364. description: 资金账号
  14365. type: integer
  14366. areauserid:
  14367. description: 金融机构ID
  14368. type: integer
  14369. financingdays:
  14370. description: 天数(天)
  14371. type: integer
  14372. interestminlen:
  14373. description: 最小起息天数
  14374. type: integer
  14375. interestrate:
  14376. description: 利率
  14377. type: number
  14378. interestratemode:
  14379. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  14380. type: integer
  14381. interestsettlemode:
  14382. description: 结息方式 - 1:按日结息 3:按月结息
  14383. type: integer
  14384. interestsettlevalue:
  14385. description: 结息方式值
  14386. type: integer
  14387. isautoloan:
  14388. description: 是否自动放款 0-手动 1-自动 (当为自动放款时,显示"放款快")
  14389. type: integer
  14390. loantag:
  14391. description: '放款标识: "放款快" 或者为空'
  14392. type: string
  14393. marginratio:
  14394. description: 保证金比率质押率 - [仓单质押]
  14395. type: number
  14396. productdetailid:
  14397. description: 产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)
  14398. type: integer
  14399. productid:
  14400. description: 金融产品ID
  14401. type: integer
  14402. productname:
  14403. description: 产品名称
  14404. type: string
  14405. updatetime:
  14406. description: 更新时间
  14407. type: string
  14408. username:
  14409. description: 融出方
  14410. type: string
  14411. type: object
  14412. models.WrFactorTypeInfo:
  14413. properties:
  14414. deliverygoodscode:
  14415. description: 品种代码
  14416. type: string
  14417. deliverygoodsname:
  14418. description: 品种名称
  14419. type: string
  14420. dgfactoryitemid:
  14421. description: 选择项id
  14422. type: integer
  14423. dgfactoryitemtypeid:
  14424. description: 要素选择项ID (1-仓库 2-品牌)
  14425. type: integer
  14426. dgfactoryitemvalue:
  14427. description: 要素项值
  14428. type: string
  14429. itemtypename:
  14430. description: 要素项名称
  14431. type: string
  14432. optioncompare:
  14433. description: 选择比较串
  14434. type: string
  14435. warehouseid:
  14436. description: 仓库id
  14437. type: integer
  14438. wrfactortypeid:
  14439. description: 仓单要素ID
  14440. type: string
  14441. wrfactortypename:
  14442. description: 要素名称
  14443. type: string
  14444. wrfactortypename2:
  14445. description: 要素名称(不含仓库)
  14446. type: string
  14447. wrstandardcode:
  14448. description: 品类代码
  14449. type: string
  14450. wrstandardid:
  14451. description: 品类id
  14452. type: integer
  14453. wrstandardname:
  14454. description: 品类名称
  14455. type: string
  14456. type: object
  14457. models.WrFilterItem:
  14458. properties:
  14459. itemcode:
  14460. description: 代码
  14461. type: string
  14462. itemid:
  14463. description: 项id
  14464. type: integer
  14465. itemname:
  14466. description: 名称
  14467. type: string
  14468. itemtype:
  14469. description: 类型 1-品种 2-品类(商品) 3-仓库
  14470. type: integer
  14471. type: object
  14472. models.WrFinanceBuyApply:
  14473. properties:
  14474. applydate:
  14475. description: 申请时间
  14476. type: string
  14477. applystatus:
  14478. description: 申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败
  14479. type: integer
  14480. applyuserid:
  14481. description: 申请人
  14482. type: integer
  14483. auditdate:
  14484. description: 审核时间
  14485. type: string
  14486. auditremark:
  14487. description: 审核备注
  14488. type: string
  14489. audituserid:
  14490. description: 审核人
  14491. type: integer
  14492. buyaccountid:
  14493. description: 买方资金账号
  14494. type: integer
  14495. buyorsell:
  14496. description: 买卖 - 0:买 1:卖
  14497. type: integer
  14498. buyuserid:
  14499. description: 买方用户ID
  14500. type: integer
  14501. buyusername:
  14502. description: 买方名称
  14503. type: string
  14504. buywrtradeorderid:
  14505. description: 融资方买委托单ID
  14506. type: string
  14507. deliverygoodscode:
  14508. description: 品种代码
  14509. type: string
  14510. deliverygoodsid:
  14511. description: 品种ID
  14512. type: integer
  14513. deliverygoodsname:
  14514. description: 品种名称
  14515. type: string
  14516. deliverymonth:
  14517. description: 交收月(yyyy-MM) [无仓单HasWR =0]
  14518. type: string
  14519. enumdicname:
  14520. description: 单位名称
  14521. type: string
  14522. financeaccountid:
  14523. description: 融资方资金帐户ID
  14524. type: integer
  14525. financeapplyid:
  14526. description: 融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)
  14527. type: string
  14528. financeareauserid:
  14529. description: 融资方用户ID
  14530. type: string
  14531. financename:
  14532. description: 融出方名称
  14533. type: string
  14534. financetype:
  14535. description: 融资类型 1-融资回购
  14536. type: integer
  14537. financingdays:
  14538. description: 天数(天)
  14539. type: integer
  14540. freezebuymargin:
  14541. description: 冻结融资保证金(买方)
  14542. type: number
  14543. handleremark:
  14544. description: 处理备注
  14545. type: string
  14546. handlestatus:
  14547. description: 处理状态
  14548. type: integer
  14549. interestminlen:
  14550. description: 最小起息天数
  14551. type: integer
  14552. interestrate:
  14553. description: 利率
  14554. type: number
  14555. interestratemode:
  14556. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  14557. type: integer
  14558. interestsettlemode:
  14559. description: 结息方式 - 1:按日结息 3:按月结息
  14560. type: integer
  14561. interestsettlevalue:
  14562. description: 结息方式值
  14563. type: integer
  14564. isautoloan:
  14565. description: 是否自动放款 - 0:手动 1:自动
  14566. type: integer
  14567. marginratio:
  14568. description: 保证金比率质押率 - [仓单质押]
  14569. type: number
  14570. marketid:
  14571. description: 市场ID
  14572. type: integer
  14573. minivalue:
  14574. description: 现货商品最小变动值
  14575. type: integer
  14576. optioncompare:
  14577. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14578. type: string
  14579. orderqty:
  14580. description: 委托数量(商品数量)
  14581. type: number
  14582. productdetailid:
  14583. description: 产品组合ID
  14584. type: integer
  14585. productid:
  14586. description: 金融产品ID
  14587. type: integer
  14588. productname:
  14589. description: 产品名称
  14590. type: string
  14591. remark:
  14592. description: 备注
  14593. type: string
  14594. scfcontractid:
  14595. description: 仓单回购合同ID
  14596. type: string
  14597. sellaccountid:
  14598. description: 卖方资金账号
  14599. type: integer
  14600. selluserid:
  14601. description: 卖方用户ID
  14602. type: integer
  14603. sellwrtradeorderid:
  14604. description: 卖方委托单ID
  14605. type: string
  14606. tradeamount:
  14607. description: 成交金额(借款金额)
  14608. type: number
  14609. tradedate:
  14610. description: 交易日(yyyyMMdd)
  14611. type: string
  14612. tradeprice:
  14613. description: 成交价格
  14614. type: number
  14615. warehouseid:
  14616. description: 仓库ID
  14617. type: integer
  14618. warehousename:
  14619. description: 仓库名称
  14620. type: string
  14621. wrfactortypeid:
  14622. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  14623. type: string
  14624. wrfactortypename:
  14625. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14626. type: string
  14627. wrpricetype:
  14628. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌单]
  14629. type: integer
  14630. wrstandardcode:
  14631. description: 现货商品代码
  14632. type: string
  14633. wrstandardid:
  14634. description: 现货商品ID
  14635. type: integer
  14636. wrstandardname:
  14637. description: 商品名称
  14638. type: string
  14639. wrtypename:
  14640. description: 商品
  14641. type: string
  14642. type: object
  14643. models.WrFriendApply:
  14644. properties:
  14645. applicantid:
  14646. description: 申请人
  14647. type: integer
  14648. applyname:
  14649. description: 申请人名称
  14650. type: string
  14651. applysrc:
  14652. description: 申请来源 - 1:管理端 2:终端
  14653. type: integer
  14654. applystatus:
  14655. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  14656. type: integer
  14657. applytime:
  14658. description: 申请时间
  14659. type: string
  14660. auditname:
  14661. description: 审核人名称
  14662. type: string
  14663. auditorid:
  14664. description: 审核人
  14665. type: integer
  14666. auditremark:
  14667. description: 审核备注
  14668. type: string
  14669. auditsrc:
  14670. description: 审核来源 - 1:管理端 2:终端
  14671. type: integer
  14672. audittime:
  14673. description: 审核时间
  14674. type: string
  14675. friendapplyid:
  14676. description: 申请ID(SEQ_FRIENDAPPLY)
  14677. type: string
  14678. friendname:
  14679. description: 好友名字(已脱敏)
  14680. type: string
  14681. frienduserid:
  14682. description: 好友用户ID
  14683. type: string
  14684. remark:
  14685. description: 备注
  14686. type: string
  14687. userid:
  14688. description: 申请人用户ID
  14689. type: integer
  14690. type: object
  14691. models.WrFtDeliveryGoods:
  14692. properties:
  14693. deliverygoodscode:
  14694. description: 品种代码
  14695. type: string
  14696. deliverygoodsid:
  14697. description: 品种ID
  14698. type: integer
  14699. deliverygoodsname:
  14700. description: 品种名称
  14701. type: string
  14702. wdlst:
  14703. description: 商品列表
  14704. items:
  14705. $ref: '#/definitions/models.WrFtWrstandard'
  14706. type: array
  14707. type: object
  14708. models.WrFtWrstandard:
  14709. properties:
  14710. enumdicname:
  14711. description: 单位名称
  14712. type: string
  14713. minivalue:
  14714. description: 最小变动值
  14715. type: integer
  14716. wrstandardcode:
  14717. description: 现货商品代码
  14718. type: string
  14719. wrstandardid:
  14720. description: 现货商品ID
  14721. type: integer
  14722. wrstandardname:
  14723. description: 商品名称
  14724. type: string
  14725. type: object
  14726. models.WrGoodsInfo:
  14727. properties:
  14728. haswr:
  14729. description: 0:仓单预售 1:仓单贸易
  14730. type: integer
  14731. lstitem:
  14732. description: 商品信息项
  14733. items:
  14734. $ref: '#/definitions/models.WrTypeItem'
  14735. type: array
  14736. lststep:
  14737. description: 履约规则
  14738. items:
  14739. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  14740. type: array
  14741. marketid:
  14742. description: 市场id
  14743. type: integer
  14744. type: object
  14745. models.WrGoodsPerformanceStep:
  14746. properties:
  14747. autoid:
  14748. description: AutoID
  14749. type: integer
  14750. isauto:
  14751. description: 是否自动 - 0:不自动 1:自动
  14752. type: integer
  14753. remark:
  14754. description: 备注
  14755. type: string
  14756. stepdate:
  14757. description: 天数信息(T+N)
  14758. type: string
  14759. stepdays:
  14760. description: 距离上一步天数
  14761. type: integer
  14762. stepindex:
  14763. description: 步骤序号
  14764. type: integer
  14765. stepinfo:
  14766. description: 步骤信息(步骤名称+步骤值)
  14767. type: string
  14768. steptypeid:
  14769. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  14770. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  14771. type: integer
  14772. steptypename:
  14773. description: 步骤名称
  14774. type: string
  14775. stepvalue:
  14776. description: 期初均价
  14777. type: number
  14778. templateid:
  14779. description: 履约计划模板ID
  14780. type: integer
  14781. type: object
  14782. models.WrHoldLB:
  14783. properties:
  14784. accountid:
  14785. description: 持有人帐户ID
  14786. type: integer
  14787. bannerpicurl:
  14788. description: Banner图
  14789. type: string
  14790. createtime:
  14791. description: 创建时间(过户时间)
  14792. type: string
  14793. deliverygoodscode:
  14794. description: 品种代码
  14795. type: string
  14796. deliverygoodsid:
  14797. description: 品种ID
  14798. type: integer
  14799. deliverygoodsname:
  14800. description: 品种名称
  14801. type: string
  14802. enableqty:
  14803. description: 可用数量
  14804. type: number
  14805. enumdicname:
  14806. description: 单位名称
  14807. type: string
  14808. freezerqty:
  14809. description: 冻结数量
  14810. type: number
  14811. ladingbillid:
  14812. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  14813. type: string
  14814. minivalue:
  14815. description: 现货商品最小变动值
  14816. type: integer
  14817. optioncompare:
  14818. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14819. type: string
  14820. parentsubnum:
  14821. description: 拆分父子单号
  14822. type: integer
  14823. pledgeqty:
  14824. description: 质押数量
  14825. type: number
  14826. qty:
  14827. description: 数量
  14828. type: number
  14829. subnum:
  14830. description: 提单子单号
  14831. type: integer
  14832. thumurls:
  14833. description: 缩略图
  14834. type: string
  14835. tradedate:
  14836. description: 交易日(yyyyMMdd)
  14837. type: string
  14838. userid:
  14839. description: 持有人ID
  14840. type: integer
  14841. warehouseid:
  14842. description: 仓库ID
  14843. type: integer
  14844. warehousename:
  14845. description: 仓库名称
  14846. type: string
  14847. wrfactortypeid:
  14848. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  14849. type: string
  14850. wrfactortypename:
  14851. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14852. type: string
  14853. wrholdeno:
  14854. description: 仓单编号
  14855. type: string
  14856. wrid:
  14857. description: 仓单变更ID
  14858. type: string
  14859. wrstandardcode:
  14860. description: 现货商品代码
  14861. type: string
  14862. wrstandardid:
  14863. description: 现货商品ID
  14864. type: integer
  14865. wrstandardname:
  14866. description: 商品名称
  14867. type: string
  14868. wrtypename:
  14869. description: 商品
  14870. type: string
  14871. type: object
  14872. models.WrMarketTradeConfig:
  14873. properties:
  14874. basisdownratio:
  14875. description: 浮动价基差下限比例(仓单贸易)
  14876. type: number
  14877. basisupratio:
  14878. description: 浮动价基差上限比例(仓单贸易)
  14879. type: number
  14880. buychargealgorithm:
  14881. description: 买方手续费收取方式 1:比率 2:固定
  14882. type: integer
  14883. buychargealgorithm2:
  14884. description: 回购买方手续费收取方式 1:比率 2:固定 --77:现货商城
  14885. type: integer
  14886. buychargealgorithmvalue:
  14887. description: 买方手续费设置值(交易所部分)
  14888. type: number
  14889. buychargealgorithmvalue2:
  14890. description: 买方手续费设置值(会员部分)
  14891. type: number
  14892. buychargealgorithmvalue3:
  14893. description: 回购买方手续费设置值(交易所部分) --77:现货商城
  14894. type: number
  14895. buychargealgorithmvalue4:
  14896. description: 回购买方手续费设置值(会员部分) --77:现货商城
  14897. type: number
  14898. buyfirstmarginalgorithm:
  14899. description: 买方出价保证金方式 - 1:比率 2:固定 - [竞拍]
  14900. type: integer
  14901. buyfirstmarginvalue:
  14902. description: 买方出价保证金设置值 - [竞拍]
  14903. type: number
  14904. buymarginalgorithm:
  14905. description: 买方保证金方式 - 1:比率 2:固定
  14906. type: integer
  14907. buymarginvalue:
  14908. description: 买方保证金设置值
  14909. type: number
  14910. buyreleaseratio:
  14911. description: 买方释放比率[2:分步履约]
  14912. type: number
  14913. executemode:
  14914. description: 执行方式[2:分步履约] - 1:顺序执行 2:交叉执行
  14915. type: integer
  14916. executeside:
  14917. description: 执行方[2:分步履约] - 1:买方 2:卖方
  14918. type: integer
  14919. failedchargealgorithm:
  14920. description: 流拍手续费收取方式 1:比率 2:固定
  14921. type: integer
  14922. failedchargevalue:
  14923. description: 流拍手续费设置值
  14924. type: number
  14925. failedchargevalue2:
  14926. description: 流拍卖方手续费设置值
  14927. type: number
  14928. holddays:
  14929. description: 合同期限[2:分步履约]
  14930. type: integer
  14931. listingmode:
  14932. description: 挂牌方式 - 1:一口价 2:浮动价 3:贸易圈 4:协议指定
  14933. type: integer
  14934. marketid:
  14935. description: 市场ID-仓单贸易、竞拍、预售
  14936. type: integer
  14937. minqty:
  14938. description: 最小执行量[2:分步履约]
  14939. type: number
  14940. modifierid:
  14941. description: 修改人
  14942. type: integer
  14943. nowrquotaflag:
  14944. description: 是否校验无仓单额度(仓单贸易) - 0:否 1:是
  14945. type: integer
  14946. performancetempid:
  14947. description: 履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  14948. 立即执行(-1)
  14949. type: integer
  14950. performancetempid2:
  14951. description: 履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  14952. 立即执行
  14953. type: integer
  14954. performancetempid2s:
  14955. description: 履约计划模板IDs(无仓单) - 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货
  14956. - 履约方式: 立即执行
  14957. type: string
  14958. performancetempids:
  14959. description: 履约计划模板IDs(有仓单)- 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货
  14960. - 履约方式: 立即执行(-1)
  14961. type: string
  14962. performanceway:
  14963. description: 交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]
  14964. type: integer
  14965. sellchargealgorithm:
  14966. description: 卖方手续费收取方式 1:比率 2:固定
  14967. type: integer
  14968. sellchargealgorithm2:
  14969. description: 回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城
  14970. type: integer
  14971. sellchargealgorithmvalue:
  14972. description: 卖方手续费设置值(交易所部分)
  14973. type: number
  14974. sellchargealgorithmvalue2:
  14975. description: 卖方手续费设置值(会员部分)
  14976. type: number
  14977. sellchargealgorithmvalue3:
  14978. description: 回购卖方手续费设置值(交易所部分) --77:现货商城
  14979. type: number
  14980. sellchargealgorithmvalue4:
  14981. description: 回购卖方手续费设置值(会员部分) --77:现货商城
  14982. type: number
  14983. sellmarginalgorithm:
  14984. description: 卖方保证金方式 - 1:比率 2:固定
  14985. type: integer
  14986. sellmarginvalue:
  14987. description: 卖方保证金设置值
  14988. type: number
  14989. sellmarginvalue2:
  14990. description: 卖方保证金设置值(无仓单)
  14991. type: number
  14992. sellreleaseratio:
  14993. description: 卖方释放比率[2:分步履约]
  14994. type: number
  14995. updatetime:
  14996. description: 更新时间
  14997. type: string
  14998. type: object
  14999. models.WrOrderDetail:
  15000. properties:
  15001. accountid:
  15002. description: 交易账号(资金账号)
  15003. type: integer
  15004. allfriendsflag:
  15005. description: 是否全好友可见 - 0:否 1:是
  15006. type: integer
  15007. amount:
  15008. description: 期初均价
  15009. type: number
  15010. bannerpicurl:
  15011. description: Banner图
  15012. type: string
  15013. begindate:
  15014. description: 开始交易日(yyyymmdd)
  15015. type: string
  15016. buyorsell:
  15017. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  15018. type: integer
  15019. canbargain:
  15020. description: 是否可议价 - 0:不可 1:可
  15021. type: integer
  15022. cancelqty:
  15023. description: 撤销数量
  15024. type: number
  15025. canpart:
  15026. description: 是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)
  15027. type: integer
  15028. delistminqty:
  15029. description: 起摘数量
  15030. type: integer
  15031. deliverygoodscode:
  15032. description: 品种代码
  15033. type: string
  15034. deliverygoodsid:
  15035. description: 品种ID
  15036. type: integer
  15037. deliverygoodsname:
  15038. description: 品种名称
  15039. type: string
  15040. deliverymonth:
  15041. description: 交收月
  15042. type: string
  15043. enddate:
  15044. description: 结束交易日(yyyymmdd)
  15045. type: string
  15046. enumdicname:
  15047. description: 单位名称
  15048. type: string
  15049. fixedprice:
  15050. description: 固定价格 - [挂牌]
  15051. type: number
  15052. freezecharge:
  15053. description: 期初均价
  15054. type: number
  15055. freezemargin:
  15056. description: 期初均价
  15057. type: number
  15058. futupricemove:
  15059. description: 期货升贴水
  15060. type: number
  15061. futushow:
  15062. description: 期货合约/升贴水
  15063. type: string
  15064. goodscode:
  15065. description: 期货合约
  15066. type: string
  15067. goodsid:
  15068. description: 期货商品id
  15069. type: integer
  15070. goodsname:
  15071. description: 商品名称
  15072. type: string
  15073. haswr:
  15074. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  15075. type: integer
  15076. isspecified:
  15077. description: 是否指定对手 - 0:不指定 1:指定 - [挂牌]
  15078. type: integer
  15079. ladingbillid:
  15080. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  15081. type: string
  15082. marginvalue:
  15083. description: 期初均价
  15084. type: number
  15085. marketid:
  15086. description: 市场ID
  15087. type: integer
  15088. matchusername:
  15089. description: 对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)
  15090. type: string
  15091. minivalue:
  15092. description: 现货商品最小变动值
  15093. type: integer
  15094. optioncompare:
  15095. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15096. type: string
  15097. orderqty:
  15098. description: 委托数量
  15099. type: number
  15100. ordertime:
  15101. description: 委托时间(挂牌时间)
  15102. type: string
  15103. performancetemplateid:
  15104. description: 履约模板id
  15105. type: integer
  15106. pricemove:
  15107. description: 升贴水(浮动价时填写) - [挂牌]
  15108. type: number
  15109. taname:
  15110. description: 交易用户名称(资金账号名称)
  15111. type: string
  15112. thumurls:
  15113. description: 缩略图
  15114. type: string
  15115. tradedate:
  15116. description: 交易日(yyyyMMdd)
  15117. type: string
  15118. tradeprice:
  15119. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)*
  15120. 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  15121. type: number
  15122. tradeqty:
  15123. description: 成交数量
  15124. type: number
  15125. userid:
  15126. description: 用户ID
  15127. type: integer
  15128. validtime:
  15129. description: 挂牌有效期
  15130. type: string
  15131. validtype:
  15132. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  15133. type: integer
  15134. warehouseid:
  15135. description: 仓库ID
  15136. type: integer
  15137. warehousename:
  15138. description: 仓库名称
  15139. type: string
  15140. wrfactortypeid:
  15141. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15142. type: string
  15143. wrfactortypename:
  15144. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15145. type: string
  15146. wrpricetype:
  15147. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  15148. type: integer
  15149. wrstandardcode:
  15150. description: 现货商品代码
  15151. type: string
  15152. wrstandardid:
  15153. description: 现货商品ID
  15154. type: integer
  15155. wrstandardname:
  15156. description: 商品名称
  15157. type: string
  15158. wrtradeorderid:
  15159. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  15160. type: string
  15161. wrtradeorderstatus:
  15162. 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:撤单解冻贷款失败
  15163. type: integer
  15164. wrtradetype:
  15165. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  15166. type: integer
  15167. wrtypename:
  15168. description: 商品
  15169. type: string
  15170. type: object
  15171. models.WrOrderQuote:
  15172. properties:
  15173. bannerpicurl:
  15174. description: Banner图
  15175. type: string
  15176. buyprice:
  15177. description: 买价
  15178. type: number
  15179. buypricemove:
  15180. description: 买升贴水(基差)
  15181. type: number
  15182. buyqty:
  15183. description: 买量
  15184. type: number
  15185. deliverygoodscode:
  15186. description: 品种代码
  15187. type: string
  15188. deliverygoodsid:
  15189. description: 品种id
  15190. type: integer
  15191. deliverygoodsname:
  15192. description: 品种名称
  15193. type: string
  15194. deliverymonth:
  15195. description: 交收月
  15196. type: string
  15197. enumdicname:
  15198. description: 单位名称
  15199. type: string
  15200. goodscode:
  15201. description: 商品合约(浮动价列表才有)
  15202. type: string
  15203. goodsid:
  15204. description: 商品id(浮动价列表才有)
  15205. type: integer
  15206. minivalue:
  15207. description: 现货商品最小变动值
  15208. type: integer
  15209. pictureurls:
  15210. description: 详情图片(逗号分隔)
  15211. type: string
  15212. sellprice:
  15213. description: 卖价
  15214. type: number
  15215. sellpricemove:
  15216. description: 卖升贴水(基差)
  15217. type: number
  15218. sellqty:
  15219. description: 卖量
  15220. type: number
  15221. thumurls:
  15222. description: 缩略图片(1:1)(逗号分隔)
  15223. type: string
  15224. warehousecode:
  15225. description: 仓库代码
  15226. type: string
  15227. warehouseid:
  15228. description: 仓库id
  15229. type: integer
  15230. warehousename:
  15231. description: 仓库名称
  15232. type: string
  15233. wrfactortypeid:
  15234. description: 仓单要素id
  15235. type: string
  15236. wrfactortypename:
  15237. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15238. type: string
  15239. wrgoodsname:
  15240. description: 商品(商品名称+仓库要素名称 拼接)
  15241. type: string
  15242. wrstandardcode:
  15243. description: 商品代码
  15244. type: string
  15245. wrstandardid:
  15246. description: 商品id
  15247. type: integer
  15248. wrstandardname:
  15249. description: 商品名称
  15250. type: string
  15251. type: object
  15252. models.WrOrderQuoteDetail:
  15253. properties:
  15254. buyorsell:
  15255. description: 买卖 - 0:买 1:卖
  15256. type: integer
  15257. delistminqty:
  15258. description: 期初均价
  15259. type: number
  15260. deliverymonth:
  15261. description: 交收月
  15262. type: string
  15263. enumdicname:
  15264. description: 单位名称
  15265. type: string
  15266. fixedprice:
  15267. description: 买(卖)价
  15268. type: number
  15269. marketid:
  15270. description: 市场id
  15271. type: integer
  15272. minivalue:
  15273. description: 现货商品最小变动值
  15274. type: integer
  15275. orderqty:
  15276. description: 买(卖)量(=委托量-成交量)
  15277. type: number
  15278. ordertime:
  15279. description: 委托时间
  15280. type: string
  15281. pricemove:
  15282. description: 买(卖)升贴水- 基差
  15283. type: number
  15284. userid:
  15285. description: 购买方(销售方)用户ID
  15286. type: integer
  15287. username:
  15288. description: 购买方(销售方)
  15289. type: string
  15290. wrtradeorderid:
  15291. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  15292. type: string
  15293. type: object
  15294. models.WrOutInApply:
  15295. properties:
  15296. applyid:
  15297. description: 申请单id
  15298. type: string
  15299. applystatus:
  15300. description: 申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败
  15301. 8:已撤销
  15302. type: integer
  15303. applytime:
  15304. description: 申请时间
  15305. type: string
  15306. applytype:
  15307. description: 申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销
  15308. type: integer
  15309. bannerpicurl:
  15310. description: Banner图
  15311. type: string
  15312. begindate:
  15313. description: 开始交易日(yyyymmdd)
  15314. type: string
  15315. deliverygoodscode:
  15316. description: 品种代码
  15317. type: string
  15318. deliverygoodsid:
  15319. description: 品种ID
  15320. type: integer
  15321. deliverygoodsname:
  15322. description: 品种名称
  15323. type: string
  15324. enddate:
  15325. description: 结束交易日(yyyymmdd)
  15326. type: string
  15327. enumdicname:
  15328. description: 单位名称
  15329. type: string
  15330. expresscompany:
  15331. description: 物流公司
  15332. type: string
  15333. expressnum:
  15334. description: 物流单号
  15335. type: string
  15336. minivalue:
  15337. description: 现货商品最小变动值
  15338. type: integer
  15339. optioncompare:
  15340. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15341. type: string
  15342. qty:
  15343. description: 数量
  15344. type: integer
  15345. userid:
  15346. description: 用户id
  15347. type: integer
  15348. warehouseid:
  15349. description: 仓库ID
  15350. type: integer
  15351. warehousename:
  15352. description: 仓库名称
  15353. type: string
  15354. wrfactortypeid:
  15355. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15356. type: string
  15357. wrfactortypename:
  15358. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15359. type: string
  15360. wrstandardcode:
  15361. description: 现货商品代码
  15362. type: string
  15363. wrstandardid:
  15364. description: 现货商品ID
  15365. type: integer
  15366. wrstandardname:
  15367. description: 商品名称
  15368. type: string
  15369. wrtypename:
  15370. description: 商品
  15371. type: string
  15372. type: object
  15373. models.WrPerformancePlan:
  15374. properties:
  15375. activatemonth:
  15376. description: 履约激活月 [无仓单的交易收月](yyyy-MM)
  15377. type: string
  15378. amount:
  15379. description: 履约金额(总金额)
  15380. type: number
  15381. begindate:
  15382. description: 开始交易日(yyyymmdd)
  15383. type: string
  15384. buyaccountid:
  15385. description: 买方账号
  15386. type: integer
  15387. buyerfreezeamount:
  15388. description: 履约冻结(买履约)
  15389. type: number
  15390. buyerfreezeamountremain:
  15391. description: 履约冻结剩余(买履约)
  15392. type: number
  15393. buyorsell:
  15394. description: 买卖方向 0-买 1-卖
  15395. type: integer
  15396. buypaidamount:
  15397. description: 买方已冻/已扣金额 (已付金额)
  15398. type: number
  15399. buyusername:
  15400. description: 买方名字
  15401. type: string
  15402. contractid:
  15403. description: 合同ID
  15404. type: integer
  15405. createtime:
  15406. description: 创建时间
  15407. type: string
  15408. creatorid:
  15409. description: 创建人
  15410. type: integer
  15411. curstepdeadline:
  15412. description: 当前步骤到期时间
  15413. type: string
  15414. curstepid:
  15415. description: 当前步骤ID
  15416. type: string
  15417. curstepname:
  15418. description: 当前步骤名称
  15419. type: string
  15420. deliverygoodscode:
  15421. description: 品种代码
  15422. type: string
  15423. deliverygoodsid:
  15424. description: 品种ID
  15425. type: integer
  15426. deliverygoodsname:
  15427. description: 品种名称
  15428. type: string
  15429. enddate:
  15430. description: 结束交易日(yyyymmdd)
  15431. type: string
  15432. enumdicname:
  15433. description: 单位名称
  15434. type: string
  15435. expressfee:
  15436. description: 运费
  15437. type: number
  15438. expressfeeconfirmed:
  15439. description: 是否确认运费 - 0:无 1:买方确认 2:卖方确认
  15440. type: integer
  15441. hasovershort:
  15442. description: 是否确认溢短 - 0:没有 1:买方确认 2:卖方确认
  15443. type: integer
  15444. haswr:
  15445. description: 类型 0-仓单预售 1-仓单贸易
  15446. type: integer
  15447. marketid:
  15448. description: 市场ID
  15449. type: integer
  15450. middleaccountid:
  15451. description: 中间商资金账号ID
  15452. type: integer
  15453. middleuserid:
  15454. description: 中间商用户ID
  15455. type: integer
  15456. minivalue:
  15457. description: 现货商品最小变动值
  15458. type: integer
  15459. optioncompare:
  15460. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15461. type: string
  15462. overshortamount:
  15463. description: 溢短金额
  15464. type: number
  15465. overshortqty:
  15466. description: 溢短数量
  15467. type: number
  15468. paymenttype:
  15469. description: 付款方式 - 1:冻结 2:扣款
  15470. type: integer
  15471. performanceplanid:
  15472. description: 履约计划ID(130+yyMMddHHmmss+xxxx)
  15473. type: string
  15474. performancestatus:
  15475. description: 履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败
  15476. 9:超时待处理 10:超时关闭
  15477. type: integer
  15478. performancetype:
  15479. description: 履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式
  15480. 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统
  15481. type: integer
  15482. qty:
  15483. description: 履约数量
  15484. type: number
  15485. relatedorderid:
  15486. description: 关联单号(履约类型的关联单号)
  15487. type: string
  15488. remark:
  15489. description: 备注
  15490. type: string
  15491. sellaccountid:
  15492. description: 卖方账号
  15493. type: integer
  15494. sellerfreezeamount:
  15495. description: 履约冻结(卖履约)
  15496. type: number
  15497. sellerfreezeamountremain:
  15498. description: 履约冻结剩余(卖履约)
  15499. type: number
  15500. sellreceivedamount:
  15501. description: 卖方已收金额
  15502. type: number
  15503. sellusername:
  15504. description: 卖方名字
  15505. type: string
  15506. shipremark:
  15507. description: 发货备注[物流单号]
  15508. type: string
  15509. starttime:
  15510. description: 开始时间
  15511. type: string
  15512. steptypeid:
  15513. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  15514. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  15515. type: integer
  15516. typename:
  15517. description: 履约类型 名称
  15518. type: string
  15519. unpaidamount:
  15520. description: 期初均价
  15521. type: number
  15522. userid:
  15523. description: 用户id
  15524. type: integer
  15525. warehouseid:
  15526. description: 仓库ID
  15527. type: integer
  15528. warehousename:
  15529. description: 仓库名称
  15530. type: string
  15531. wrfactortypeid:
  15532. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15533. type: string
  15534. wrfactortypename:
  15535. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15536. type: string
  15537. wrstandardcode:
  15538. description: 现货商品代码
  15539. type: string
  15540. wrstandardid:
  15541. description: 现货商品ID
  15542. type: integer
  15543. wrstandardname:
  15544. description: 商品名称
  15545. type: string
  15546. wrtransferuserid:
  15547. description: 仓单受让用户
  15548. type: integer
  15549. wrtypename:
  15550. description: 商品
  15551. type: string
  15552. required:
  15553. - userid
  15554. type: object
  15555. models.WrPerformancePlanStep:
  15556. properties:
  15557. delaydays:
  15558. description: 延期申请天数
  15559. type: integer
  15560. deliverygoodscode:
  15561. description: 品种代码
  15562. type: string
  15563. deliverygoodsid:
  15564. description: 品种ID
  15565. type: integer
  15566. deliverygoodsname:
  15567. description: 品种名称
  15568. type: string
  15569. endtime:
  15570. description: 结束日期
  15571. type: string
  15572. enumdicname:
  15573. description: 单位名称
  15574. type: string
  15575. executeside:
  15576. description: 步骤执行方 - 1:买方 2:卖方
  15577. type: integer
  15578. handlestatus:
  15579. description: 处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败
  15580. 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求
  15581. 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败
  15582. type: integer
  15583. isauto:
  15584. description: 是否自动 - 0:不自动 1:自动
  15585. type: integer
  15586. islastreceivestep:
  15587. description: 是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)
  15588. type: integer
  15589. minivalue:
  15590. description: 现货商品最小变动值
  15591. type: integer
  15592. optioncompare:
  15593. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15594. type: string
  15595. overdays:
  15596. description: 超期天数 = 当前时间(数据库时间) - 结束日期
  15597. type: integer
  15598. performancestepid:
  15599. description: 履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)
  15600. type: string
  15601. planid:
  15602. description: 所属履约计划ID
  15603. type: string
  15604. realamount:
  15605. description: 实际完成金额
  15606. type: number
  15607. relatedorderid:
  15608. description: 关联单号
  15609. type: string
  15610. remaindays:
  15611. description: 剩余天数
  15612. type: integer
  15613. remark:
  15614. description: 错误备注
  15615. type: string
  15616. starttime:
  15617. description: 开始日期
  15618. type: string
  15619. stepamount:
  15620. description: 步骤金额
  15621. type: number
  15622. stepdays:
  15623. description: 距离上一步天数(分钟)
  15624. type: integer
  15625. stepindex:
  15626. description: 步骤序号
  15627. type: integer
  15628. steplanchtype:
  15629. description: 步骤启动类型 - 1:系统自动 2:手动
  15630. type: integer
  15631. stepremark:
  15632. description: 步骤备注
  15633. type: string
  15634. stepstatus:
  15635. description: 步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭
  15636. type: integer
  15637. steptypeid:
  15638. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  15639. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  15640. type: integer
  15641. steptypename:
  15642. description: 步骤名称
  15643. type: string
  15644. stepvalue:
  15645. description: 步骤值
  15646. type: number
  15647. warehouseid:
  15648. description: 仓库ID
  15649. type: integer
  15650. warehousename:
  15651. description: 仓库名称
  15652. type: string
  15653. wrfactortypeid:
  15654. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15655. type: string
  15656. wrfactortypename:
  15657. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15658. type: string
  15659. wrstandardcode:
  15660. description: 现货商品代码
  15661. type: string
  15662. wrstandardid:
  15663. description: 现货商品ID
  15664. type: integer
  15665. wrstandardname:
  15666. description: 商品名称
  15667. type: string
  15668. wrtypename:
  15669. description: 商品
  15670. type: string
  15671. type: object
  15672. models.WrPerformanceStepType:
  15673. properties:
  15674. canauto:
  15675. description: '能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)'
  15676. type: integer
  15677. steptypeid:
  15678. description: 步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移
  15679. type: integer
  15680. steptypename:
  15681. description: 步骤类型名称
  15682. type: string
  15683. type: object
  15684. models.WrPerformanceTemplateEx:
  15685. properties:
  15686. autoid:
  15687. description: AutoID 模板id
  15688. type: integer
  15689. createtime:
  15690. description: 创建时间
  15691. type: string
  15692. creatorid:
  15693. description: 创建人
  15694. type: integer
  15695. lstStep:
  15696. description: 步骤信息列表
  15697. items:
  15698. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  15699. type: array
  15700. paymenttype:
  15701. description: 支付方式 - 1:冻结 2:扣款
  15702. type: integer
  15703. takemode:
  15704. description: 提货方式 - 1:无 2:买方自提 3:卖方发货
  15705. type: integer
  15706. templatename:
  15707. description: 模板名称
  15708. type: string
  15709. templatetype:
  15710. description: 模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  15711. (无仓单) 5:挂牌期权 6:竞拍-降价式
  15712. type: integer
  15713. userid:
  15714. description: 所属用户
  15715. type: integer
  15716. type: object
  15717. models.WrPosition:
  15718. properties:
  15719. accountid:
  15720. description: 帐户ID
  15721. type: integer
  15722. buyexcuteqty:
  15723. description: 采购履约中数量
  15724. type: number
  15725. creditcurqty:
  15726. description: 授信当前数量(预售仓单:预售当前量)
  15727. type: number
  15728. creditenableqty:
  15729. description: '授信可用数量(预售仓单: 可用数量)'
  15730. type: number
  15731. creditfreezeqty:
  15732. description: '授信冻结数量(预售仓单: 当前数量)'
  15733. type: number
  15734. credittotalqty:
  15735. description: 授信总数量(预售仓单:预售总量)
  15736. type: number
  15737. credittradeqty:
  15738. description: 授信成交数量(预售仓单:成交总量)
  15739. type: number
  15740. deliverygoodscode:
  15741. description: 品种代码
  15742. type: string
  15743. deliverygoodsid:
  15744. description: 品种ID
  15745. type: integer
  15746. deliverygoodsname:
  15747. description: 品种名称
  15748. type: string
  15749. enalbeqty:
  15750. description: 可用数量
  15751. type: number
  15752. enumdicname:
  15753. description: 单位名称
  15754. type: string
  15755. freezeqty:
  15756. description: 总冻结数量
  15757. type: number
  15758. haswr:
  15759. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  15760. type: integer
  15761. minivalue:
  15762. description: 现货商品最小变动值
  15763. type: integer
  15764. modifytime:
  15765. description: 修改时间(过户时间)
  15766. type: string
  15767. optioncompare:
  15768. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15769. type: string
  15770. pledgeqty:
  15771. description: 质押数量
  15772. type: number
  15773. querytype:
  15774. description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  15775. type: integer
  15776. sellexcuteqty:
  15777. description: 销售履约中数量
  15778. type: number
  15779. totalqty:
  15780. description: 总数量(库存数量)
  15781. type: number
  15782. warehouseid:
  15783. description: 仓库ID
  15784. type: integer
  15785. warehousename:
  15786. description: 仓库名称
  15787. type: string
  15788. wrfactortypeid:
  15789. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15790. type: string
  15791. wrfactortypename:
  15792. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15793. type: string
  15794. wrpositionid:
  15795. description: 仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)
  15796. type: string
  15797. wrpositionno:
  15798. description: 仓单编号
  15799. type: string
  15800. wrstandardcode:
  15801. description: 现货商品代码
  15802. type: string
  15803. wrstandardid:
  15804. description: 现货商品ID
  15805. type: integer
  15806. wrstandardname:
  15807. description: 商品名称
  15808. type: string
  15809. wrtypename:
  15810. description: 商品
  15811. type: string
  15812. wruserid:
  15813. description: 持有人ID
  15814. type: integer
  15815. type: object
  15816. models.WrPreSaleInfo:
  15817. properties:
  15818. bannerpicurl:
  15819. description: Banner图
  15820. type: string
  15821. baseqty:
  15822. description: 中签基数
  15823. type: number
  15824. createtime:
  15825. description: 创建时间
  15826. type: string
  15827. deliverygoodsid:
  15828. description: 现货品种ID
  15829. type: integer
  15830. enddate:
  15831. description: 预售结束日期
  15832. type: string
  15833. enumdicname:
  15834. description: 单位名称
  15835. type: string
  15836. lotteryflag:
  15837. description: 摇号标识 - 0:未摇号 1:已摇号
  15838. type: integer
  15839. lotteryqty:
  15840. description: 摇号总量
  15841. type: number
  15842. luckyqty:
  15843. description: 已中签量
  15844. type: number
  15845. marketid:
  15846. description: 市场ID
  15847. type: integer
  15848. maxbuyqty:
  15849. description: 单人最大申购量
  15850. type: number
  15851. maxluckyqty:
  15852. description: 单人最大中签量
  15853. type: number
  15854. pictureurls:
  15855. description: 详情图片(逗号分隔)
  15856. type: string
  15857. placeqty:
  15858. description: 已配售量
  15859. type: number
  15860. presaleapplyid:
  15861. description: 预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)
  15862. example: "0"
  15863. type: string
  15864. presaleqty:
  15865. description: 预售总量
  15866. type: number
  15867. presalestatus:
  15868. description: 预售状态 - 1:未开始 2:进行中 3:已结束 4:已关闭
  15869. type: integer
  15870. sellaccountid:
  15871. description: 发行方资金账户ID
  15872. type: integer
  15873. selluserid:
  15874. description: 发行方用户ID
  15875. type: integer
  15876. sellwrtradeorderid:
  15877. description: 发行方卖委托单ID
  15878. type: string
  15879. startdate:
  15880. description: 预售开始日期
  15881. type: string
  15882. takestartdate:
  15883. description: 提货开始日期
  15884. type: string
  15885. thumurls:
  15886. description: 缩略图片(1:1)(逗号分隔)
  15887. type: string
  15888. tradedate:
  15889. description: 交易日
  15890. type: string
  15891. unitid:
  15892. description: 单位ID
  15893. type: integer
  15894. unitprice:
  15895. description: 商品单价
  15896. type: number
  15897. username:
  15898. description: 发行方用户名称
  15899. type: string
  15900. warehousecode:
  15901. description: 仓库代码(仓库简称)
  15902. type: string
  15903. warehouseid:
  15904. description: 仓库ID
  15905. type: integer
  15906. warehousename:
  15907. description: 仓库名称
  15908. type: string
  15909. wrfactortypeid:
  15910. description: 仓单要素类型ID - 根据现货商品\仓库生成
  15911. example: "0"
  15912. type: string
  15913. wrstandardid:
  15914. description: 现货商品ID
  15915. type: integer
  15916. wrstandardname:
  15917. description: 现货商品名称
  15918. type: string
  15919. type: object
  15920. models.WrQuoteOrderMyq:
  15921. properties:
  15922. buyorsell:
  15923. description: 买卖 - 0:买 1:卖
  15924. type: integer
  15925. canbargain:
  15926. description: 是否可议价 - 0:不可 1:可
  15927. type: integer
  15928. canpart:
  15929. description: 是否允许部份摘牌 - 0:不允许 1:允许
  15930. type: integer
  15931. delistminqty:
  15932. description: 期初均价
  15933. type: number
  15934. deliverygoodscode:
  15935. description: 品种代码
  15936. type: string
  15937. deliverygoodsid:
  15938. description: 品种ID
  15939. type: integer
  15940. deliverygoodsname:
  15941. description: 品种名称
  15942. type: string
  15943. deliverymonth:
  15944. description: 交收月
  15945. type: string
  15946. enumdicname:
  15947. description: 单位名称
  15948. type: string
  15949. fixedprice:
  15950. description: 买(卖)价
  15951. type: number
  15952. goodscode:
  15953. description: 商品合约代码
  15954. type: string
  15955. marginflag:
  15956. description: 挂牌是否指定保证金 - 0:未指定 1:指定
  15957. type: integer
  15958. marginvalue:
  15959. description: 保证金设置值
  15960. type: number
  15961. minivalue:
  15962. description: 现货商品最小变动值
  15963. type: integer
  15964. orderqty:
  15965. description: 买(卖)量(=委托量-成交量)
  15966. type: number
  15967. ordertime:
  15968. description: 委托时间
  15969. type: string
  15970. performancetemplateid:
  15971. description: 履约模板id
  15972. type: integer
  15973. pricemove:
  15974. description: 买(卖)升贴水- 基差
  15975. type: number
  15976. templatename:
  15977. description: 履约模板名称
  15978. type: string
  15979. userid:
  15980. description: 购买方(销售方)用户ID
  15981. type: integer
  15982. username:
  15983. description: 购买方(销售方)
  15984. type: string
  15985. validtime:
  15986. description: 有效期限
  15987. type: string
  15988. validtype:
  15989. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  15990. type: integer
  15991. warehousename:
  15992. description: 仓库名称
  15993. type: string
  15994. wrfactortypeid:
  15995. description: 仓单要素id
  15996. type: string
  15997. wrstandardcode:
  15998. description: 现货商品代码
  15999. type: string
  16000. wrstandardid:
  16001. description: 现货商品ID
  16002. type: integer
  16003. wrstandardname:
  16004. description: 商品名称
  16005. type: string
  16006. wrtradeorderid:
  16007. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  16008. type: string
  16009. wrtypename:
  16010. description: 商品
  16011. type: string
  16012. type: object
  16013. models.WrReckonSpotGoodsTradeSum:
  16014. properties:
  16015. begindate:
  16016. description: 开始日期(结果含开始日期) yyyymmdd
  16017. type: string
  16018. enddate:
  16019. description: 结束日期(结果含结束日期) yyyymmdd
  16020. type: string
  16021. istoday:
  16022. description: 是否当日
  16023. type: boolean
  16024. marketid:
  16025. description: 市场ID
  16026. type: integer
  16027. price:
  16028. description: 价格 = 日成交金额 / 日成交数量
  16029. type: string
  16030. reckondate:
  16031. description: 日期 格式 yyyymmdd
  16032. type: string
  16033. tradeamount:
  16034. description: 期初均价
  16035. type: number
  16036. tradeqty:
  16037. description: 期初均价
  16038. type: number
  16039. wrstandardid:
  16040. description: 现货商品ID
  16041. type: integer
  16042. type: object
  16043. models.WrScfContract:
  16044. properties:
  16045. borroweruserid:
  16046. description: 借款用户ID
  16047. type: integer
  16048. buybackwrpositionqty:
  16049. description: 已回购仓单头寸数量 - [仓单回购\仓单质押] -> 已回购数量
  16050. type: number
  16051. closeinterest:
  16052. description: 已结利息 -> 已结费用
  16053. type: number
  16054. currisklevel:
  16055. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  16056. type: integer
  16057. deadline:
  16058. description: 截止日期(yyyyMMdd) -> 借款到期时间
  16059. type: string
  16060. deliverygoodscode:
  16061. description: 品种代码
  16062. type: string
  16063. deliverygoodsid:
  16064. description: 品种ID
  16065. type: integer
  16066. deliverygoodsname:
  16067. description: 品种名称
  16068. type: string
  16069. enumdicname:
  16070. description: 单位名称
  16071. type: string
  16072. financingdays:
  16073. description: 天数(天)
  16074. type: integer
  16075. initmargin:
  16076. description: 保证金 - [仓单回购]
  16077. type: number
  16078. interestamount:
  16079. description: 计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \ 合同剩余金额
  16080. type: number
  16081. interestdebt:
  16082. description: 利息欠款(记录负数) -> 费用欠款
  16083. type: number
  16084. interestminlen:
  16085. description: 最小起息天数
  16086. type: integer
  16087. interestrate:
  16088. description: 利率
  16089. type: number
  16090. interestratemode:
  16091. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  16092. type: integer
  16093. interestsettlemode:
  16094. description: 结息方式 - 1:按日结息 3:按月结息
  16095. type: integer
  16096. interestsettlevalue:
  16097. description: 结息方式值
  16098. type: integer
  16099. isautoloan:
  16100. description: 是否自动放款 - 0:手动 1:自动 - [仓单质押]
  16101. type: integer
  16102. lastcloseinterestday:
  16103. description: 最近结息日(yyyyMMdd)
  16104. type: string
  16105. lenderamount:
  16106. description: 贷款金额 -> 借款金额
  16107. type: number
  16108. lenderuserid:
  16109. description: 贷款方用户ID -> 融出方用户ID
  16110. type: integer
  16111. lenderusername:
  16112. description: 融出方
  16113. type: string
  16114. marginratio:
  16115. description: 保证金比率质押率 - [仓单质押]
  16116. type: number
  16117. marketid:
  16118. description: 市场ID - 拆成三个独立模式后,根据市场ID处理
  16119. type: integer
  16120. minivalue:
  16121. description: 现货商品最小变动值
  16122. type: integer
  16123. optioncompare:
  16124. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16125. type: string
  16126. pricemove:
  16127. description: 估值升贴水值
  16128. type: number
  16129. productdetailid:
  16130. description: 产品组合ID
  16131. type: integer
  16132. productid:
  16133. description: 金融产品ID
  16134. type: integer
  16135. productname:
  16136. description: 产品名称
  16137. type: string
  16138. remainamount:
  16139. description: 合同剩余金额 -> 剩余金额
  16140. type: number
  16141. remainwrpositionqty:
  16142. description: 剩余仓单头寸数量 - [仓单回购\仓单质押] -> 剩余数量(待回购数量)
  16143. type: number
  16144. remark:
  16145. description: 备注
  16146. type: string
  16147. scfcontractid:
  16148. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  16149. type: string
  16150. scfcontractstatus:
  16151. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  16152. 9:违约结束 10:已注销 11:已关闭 99:未提交
  16153. type: integer
  16154. scfcontracttype:
  16155. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购
  16156. type: integer
  16157. startinterestday:
  16158. description: 计息开始日(yyyyMMdd) -> 开始计费日期
  16159. type: string
  16160. totalinterest:
  16161. description: 已计利息 -> 已计费用
  16162. type: number
  16163. unpaidinterest:
  16164. description: 期初均价
  16165. type: number
  16166. updatetime:
  16167. description: 更新时间
  16168. type: string
  16169. warehouseid:
  16170. description: 仓库ID
  16171. type: integer
  16172. warehousename:
  16173. description: 仓库名称
  16174. type: string
  16175. wrfactortypeid:
  16176. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16177. type: string
  16178. wrfactortypename:
  16179. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16180. type: string
  16181. wrqty:
  16182. description: 仓单数量 - [仓单回购\仓单质押] -> 数量
  16183. type: number
  16184. wrstandardcode:
  16185. description: 现货商品代码
  16186. type: string
  16187. wrstandardid:
  16188. description: 现货商品ID
  16189. type: integer
  16190. wrstandardname:
  16191. description: 商品名称
  16192. type: string
  16193. wrtypename:
  16194. description: 商品
  16195. type: string
  16196. type: object
  16197. models.WrScfContractInterest:
  16198. properties:
  16199. closeinterest:
  16200. description: 已结利息
  16201. type: number
  16202. closeintereststatus:
  16203. description: 结息状态 - 1:未结 2:已结
  16204. type: integer
  16205. closetime:
  16206. description: 结息时间
  16207. type: string
  16208. closetradedate:
  16209. description: 结息交易日
  16210. type: string
  16211. creatorid:
  16212. description: 操作人ID
  16213. type: integer
  16214. dayrate:
  16215. description: 日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)
  16216. type: number
  16217. interest:
  16218. description: 利息
  16219. type: number
  16220. interestamount:
  16221. description: 计息金额
  16222. type: number
  16223. interestday:
  16224. description: 计息日(yyyyMMdd)
  16225. type: string
  16226. scfcontractid:
  16227. description: SCF合同ID
  16228. type: string
  16229. scfcontractinterestid:
  16230. description: SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)
  16231. type: integer
  16232. updatetime:
  16233. description: 更新时间
  16234. type: string
  16235. type: object
  16236. models.WrSearchUser:
  16237. properties:
  16238. userid:
  16239. description: 用户ID
  16240. type: integer
  16241. username:
  16242. description: 用户名称(已脱敏)
  16243. type: string
  16244. username2:
  16245. description: 用户名称(未脱敏)
  16246. type: string
  16247. usertype:
  16248. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  16249. type: integer
  16250. required:
  16251. - username
  16252. type: object
  16253. models.WrSiteColumnDetail:
  16254. properties:
  16255. brief:
  16256. description: 简介
  16257. type: string
  16258. context:
  16259. description: 内容
  16260. type: string
  16261. coverimage:
  16262. description: 封面图片
  16263. type: string
  16264. creaedate:
  16265. description: 创建时间
  16266. type: string
  16267. id:
  16268. description: ID(SEQ_SITE_COLUMNDETAIL)
  16269. type: integer
  16270. istop:
  16271. description: 是否置顶 - 0:不置 1:置顶
  16272. type: integer
  16273. publishdate:
  16274. description: 发布日期
  16275. type: string
  16276. title:
  16277. description: 标题
  16278. type: string
  16279. updatedate:
  16280. description: 修改时间
  16281. type: string
  16282. type: object
  16283. models.WrSpecialMatchOrder:
  16284. properties:
  16285. amount:
  16286. description: 金额 = 数量 * 价格
  16287. type: number
  16288. buyorsell:
  16289. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  16290. type: integer
  16291. cancelqty:
  16292. description: 撤销数量
  16293. type: number
  16294. deliverygoodscode:
  16295. description: 品种代码
  16296. type: string
  16297. deliverygoodsid:
  16298. description: 品种ID
  16299. type: integer
  16300. deliverygoodsname:
  16301. description: 品种名称
  16302. type: string
  16303. enumdicname:
  16304. description: 单位名称
  16305. type: string
  16306. fixedprice:
  16307. description: 固定价格(价格)
  16308. type: number
  16309. haswr:
  16310. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  16311. type: integer
  16312. isspecified:
  16313. description: 是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  16314. type: integer
  16315. marketid:
  16316. description: 市场ID
  16317. type: integer
  16318. matchuserid:
  16319. description: 指定方资金账号(字段名为userid,实际存的是accountid by:邓工)
  16320. type: integer
  16321. matchusername:
  16322. description: 指定方
  16323. type: string
  16324. minivalue:
  16325. description: 现货商品最小变动值
  16326. type: integer
  16327. optioncompare:
  16328. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16329. type: string
  16330. orderqty:
  16331. description: 委托数量
  16332. type: number
  16333. ordertime:
  16334. description: 委托时间
  16335. type: string
  16336. pricemove:
  16337. description: 升贴水(浮动价时填写) - [挂牌]
  16338. type: number
  16339. tradedate:
  16340. description: 交易日(yyyyMMdd)
  16341. type: string
  16342. tradeprice:
  16343. description: 成交价格
  16344. type: number
  16345. tradeqty:
  16346. description: 成交数量
  16347. type: number
  16348. userid:
  16349. description: 用户ID
  16350. type: integer
  16351. username:
  16352. description: 发起方
  16353. type: string
  16354. warehouseid:
  16355. description: 仓库ID
  16356. type: integer
  16357. warehousename:
  16358. description: 仓库名称
  16359. type: string
  16360. wrfactortypeid:
  16361. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16362. type: string
  16363. wrfactortypename:
  16364. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16365. type: string
  16366. wrpricetype:
  16367. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  16368. type: integer
  16369. wrstandardcode:
  16370. description: 现货商品代码
  16371. type: string
  16372. wrstandardid:
  16373. description: 现货商品ID
  16374. type: integer
  16375. wrstandardname:
  16376. description: 商品名称
  16377. type: string
  16378. wrtradeorderid:
  16379. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  16380. type: string
  16381. wrtradeorderstatus:
  16382. description: 委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝
  16383. 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤
  16384. type: integer
  16385. wrtradetype:
  16386. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  16387. type: integer
  16388. wrtypename:
  16389. description: 商品
  16390. type: string
  16391. type: object
  16392. models.WrSpotGroupTradeSum:
  16393. properties:
  16394. deliverygoodscode:
  16395. description: 现货品种代码
  16396. type: string
  16397. deliverygoodsid:
  16398. description: 现货品种ID(SEQ_DELIVERYGOODS)
  16399. type: integer
  16400. deliverygoodsname:
  16401. description: 现货品种名称
  16402. type: string
  16403. lastavgprice:
  16404. description: 上上个交易日价格(前2天价格)
  16405. type: string
  16406. lastreckondate:
  16407. description: 上上个交易日(前2天交易日)
  16408. type: string
  16409. reckondate:
  16410. description: 上个交易日(前1天交易日)
  16411. type: string
  16412. todayavgprice:
  16413. description: 上个交易日价格(前1天价格)
  16414. type: string
  16415. updown:
  16416. description: 涨跌
  16417. type: string
  16418. updownratio:
  16419. description: 涨幅(已格式化, 直接显示即可)
  16420. type: string
  16421. type: object
  16422. models.WrSpotGroupTradeSumDetail:
  16423. properties:
  16424. deliverygoodsid:
  16425. description: 现货商品id
  16426. type: integer
  16427. price:
  16428. description: 价格
  16429. type: number
  16430. reckondate:
  16431. description: 日期(yyymmdd, 如:20211031)
  16432. type: string
  16433. type: object
  16434. models.WrSpotGroupTradeSumEx:
  16435. properties:
  16436. lst:
  16437. description: 指数列表
  16438. items:
  16439. $ref: '#/definitions/models.WrSpotGroupTradeSum'
  16440. type: array
  16441. prereckondate:
  16442. description: 上上个交易日(yyymmdd)
  16443. type: string
  16444. reckondate:
  16445. description: 上个交易日(yyyymmdd)
  16446. type: string
  16447. type: object
  16448. models.WrStandardFactoryItem:
  16449. properties:
  16450. dgfactoryitemid:
  16451. description: 选择项id
  16452. type: integer
  16453. dgfactoryitemvalue:
  16454. description: 要素项值
  16455. type: string
  16456. warehouseid:
  16457. description: 仓库id
  16458. type: integer
  16459. type: object
  16460. models.WrStandardFactoryItemEx:
  16461. properties:
  16462. dgfactoryitemtypeid:
  16463. description: 要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)
  16464. type: integer
  16465. itemlst:
  16466. description: 要素项列表
  16467. items:
  16468. $ref: '#/definitions/models.WrStandardFactoryItem'
  16469. type: array
  16470. itemtypename:
  16471. description: 要素项类型名称
  16472. type: string
  16473. wrstandardid:
  16474. description: 品类
  16475. type: integer
  16476. type: object
  16477. models.WrTradeDetail:
  16478. properties:
  16479. accountid:
  16480. description: 资金账号
  16481. type: integer
  16482. bannerpicurl:
  16483. description: Banner图
  16484. type: string
  16485. begindate:
  16486. description: 开始交易日(yyyymmdd)
  16487. type: string
  16488. buyorsell:
  16489. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  16490. type: integer
  16491. chargevalue:
  16492. description: 手续费
  16493. type: number
  16494. deliverygoodscode:
  16495. description: 品种代码
  16496. type: string
  16497. deliverygoodsid:
  16498. description: 品种ID
  16499. type: integer
  16500. deliverygoodsname:
  16501. description: 品种名称
  16502. type: string
  16503. deliverymonth:
  16504. description: 交收月
  16505. type: string
  16506. enddate:
  16507. description: 结束交易日(yyyymmdd)
  16508. type: string
  16509. enumdicname:
  16510. description: 单位名称
  16511. type: string
  16512. haswr:
  16513. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  16514. type: integer
  16515. marketid:
  16516. description: 市场ID
  16517. type: integer
  16518. matchaccountid:
  16519. description: 对手账号
  16520. type: integer
  16521. matchusername:
  16522. description: 对手方
  16523. type: string
  16524. minivalue:
  16525. description: 现货商品最小变动值
  16526. type: integer
  16527. optioncompare:
  16528. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16529. type: string
  16530. thumurls:
  16531. description: 缩略图
  16532. type: string
  16533. tradedate:
  16534. description: 交易日(yyyyMMdd)
  16535. type: string
  16536. tradeprice:
  16537. description: 成交价格
  16538. type: number
  16539. tradeqty:
  16540. description: 成交数量
  16541. type: number
  16542. tradetime:
  16543. description: 成交时间
  16544. type: string
  16545. userid:
  16546. description: 用户ID
  16547. type: integer
  16548. warehouseid:
  16549. description: 仓库ID
  16550. type: integer
  16551. warehousename:
  16552. description: 仓库名称
  16553. type: string
  16554. wrfactortypeid:
  16555. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16556. type: string
  16557. wrfactortypename:
  16558. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16559. type: string
  16560. wrstandardcode:
  16561. description: 现货商品代码
  16562. type: string
  16563. wrstandardid:
  16564. description: 现货商品ID
  16565. type: integer
  16566. wrstandardname:
  16567. description: 商品名称
  16568. type: string
  16569. wrtradedetailid:
  16570. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  16571. type: string
  16572. wrtradetype:
  16573. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  16574. type: integer
  16575. wrtypename:
  16576. description: 商品
  16577. type: string
  16578. type: object
  16579. models.WrTradeOrderDetail:
  16580. properties:
  16581. buyorsell:
  16582. description: 买卖方向 0-买 1-卖
  16583. type: integer
  16584. goodsid:
  16585. description: 商品id
  16586. type: integer
  16587. orderid:
  16588. description: 委托单号
  16589. type: string
  16590. orderprice:
  16591. description: 期初均价
  16592. type: number
  16593. orderqty:
  16594. description: 委托数量
  16595. type: integer
  16596. userid:
  16597. description: 用户id
  16598. type: integer
  16599. username:
  16600. description: 用户名称(已脱敏)
  16601. type: string
  16602. type: object
  16603. models.WrTypeItem:
  16604. properties:
  16605. name:
  16606. description: 名称
  16607. type: string
  16608. value:
  16609. description: 值
  16610. type: string
  16611. type: object
  16612. models.WrUserFriend:
  16613. properties:
  16614. friendname:
  16615. description: 朋友名称(已脱敏)
  16616. type: string
  16617. frienduserid:
  16618. description: 朋友id
  16619. type: integer
  16620. isfriend:
  16621. description: 是否好友 0-不是 1-是
  16622. type: integer
  16623. userid:
  16624. description: 用户id
  16625. type: integer
  16626. type: object
  16627. models.WrUserReceiptInfo:
  16628. properties:
  16629. address:
  16630. description: 地址[发票类型:企业]
  16631. type: string
  16632. autoid:
  16633. description: AutoID
  16634. type: integer
  16635. contactinfo:
  16636. description: 联系方式
  16637. type: string
  16638. idnum:
  16639. description: 身份证号码[发票类型:个人]
  16640. type: string
  16641. isdefault:
  16642. description: 是否默认地址 - 0:否 1:是
  16643. type: integer
  16644. receiptaccount:
  16645. description: 发票帐号[发票类型:企业]
  16646. type: string
  16647. receiptbank:
  16648. description: 发票开户行[发票类型:企业]
  16649. type: string
  16650. receipttype:
  16651. description: 发票类型 - 1:个人 2:企业
  16652. type: integer
  16653. taxpayerid:
  16654. description: 纳税人识别号
  16655. type: string
  16656. userid:
  16657. description: 用户ID
  16658. type: integer
  16659. username:
  16660. description: 户名(个人姓名或企业名称)
  16661. type: string
  16662. type: object
  16663. models.Wrtradetradequote:
  16664. properties:
  16665. begindate:
  16666. description: 开始日期(结果含开始日期) yyyymmdd
  16667. type: string
  16668. buyaccountid:
  16669. description: 买方账号ID
  16670. type: integer
  16671. buyuserid:
  16672. description: 买方用户ID
  16673. type: integer
  16674. deliverygoodsid:
  16675. description: 现货品种ID
  16676. type: integer
  16677. enddate:
  16678. description: 结束日期(结果含结束日期) yyyymmdd
  16679. type: string
  16680. marketid:
  16681. description: 市场ID
  16682. type: integer
  16683. sellaccountid:
  16684. description: 卖方账号ID
  16685. type: integer
  16686. selluserid:
  16687. description: 卖方用户ID
  16688. type: integer
  16689. tradeamount:
  16690. description: 成交金额
  16691. type: number
  16692. tradedate:
  16693. description: 交易日(yyyyMMdd)
  16694. type: string
  16695. tradeprice:
  16696. description: 成交价格
  16697. type: number
  16698. tradeqty:
  16699. description: 成交数量
  16700. type: integer
  16701. tradetime:
  16702. description: 成交时间
  16703. type: string
  16704. wrfactortypeid:
  16705. description: 仓单要素类型ID
  16706. type: integer
  16707. wrstandardid:
  16708. description: 现货商品ID
  16709. type: integer
  16710. wrtradedetailid:
  16711. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  16712. type: string
  16713. type: object
  16714. models.XHBRAND:
  16715. properties:
  16716. brandid:
  16717. description: 品牌id
  16718. type: integer
  16719. brandname:
  16720. description: 品牌名称
  16721. type: string
  16722. isvalid:
  16723. description: 是否有效 0-无效 1-有效
  16724. type: integer
  16725. type: object
  16726. models.XHDeliveryGoods:
  16727. properties:
  16728. areauserid:
  16729. description: 所属机构
  16730. type: integer
  16731. bdlst:
  16732. description: 品牌列表
  16733. items:
  16734. $ref: '#/definitions/models.XHBRAND'
  16735. type: array
  16736. deliverygoodscode:
  16737. description: 现货品种代码
  16738. type: string
  16739. deliverygoodsid:
  16740. description: 现货品种ID(SEQ_DELIVERYGOODS)
  16741. type: integer
  16742. deliverygoodsname:
  16743. description: 现货品种名称
  16744. type: string
  16745. dgstatus:
  16746. description: 品种状态 - 作废 - 0:未激活 1:正常
  16747. type: integer
  16748. filterSubEmpty:
  16749. description: 过滤下级为空的
  16750. type: integer
  16751. isvalid:
  16752. description: 是否有效 - 0:无效 1:有效
  16753. type: integer
  16754. remark:
  16755. description: 备注
  16756. type: string
  16757. unitid:
  16758. description: 单位id(目前看,数据库中是空值)
  16759. type: integer
  16760. wdlst:
  16761. description: 品类(现货商品)列表
  16762. items:
  16763. $ref: '#/definitions/models.XHWrstandard'
  16764. type: array
  16765. type: object
  16766. models.XHMiddleGoods:
  16767. properties:
  16768. GPLST:
  16769. description: 期货品种列表
  16770. items:
  16771. $ref: '#/definitions/models.TBGoodsGroup'
  16772. type: array
  16773. convertratio:
  16774. description: 拆算系数
  16775. type: number
  16776. costratio:
  16777. description: 成本权重
  16778. type: number
  16779. deliverygoodsid:
  16780. description: 现货商品id
  16781. type: integer
  16782. enumdicname:
  16783. description: 单位名称
  16784. type: string
  16785. middlegoodscode:
  16786. description: 套保品种代码
  16787. type: string
  16788. middlegoodsid:
  16789. description: 套保品种id
  16790. type: integer
  16791. middlegoodsname:
  16792. description: 套保品种名称
  16793. type: string
  16794. unitid:
  16795. description: 单位id
  16796. type: integer
  16797. type: object
  16798. models.XHWrstandard:
  16799. properties:
  16800. bannerpicurl:
  16801. description: banner图
  16802. type: string
  16803. deliverygoodsid:
  16804. description: 品种ID
  16805. type: integer
  16806. enumdicname:
  16807. description: 单位名称
  16808. type: string
  16809. mglst:
  16810. description: 套保品列表
  16811. items:
  16812. $ref: '#/definitions/models.XHMiddleGoods'
  16813. type: array
  16814. pictureurls:
  16815. description: 详情图片(逗号分隔)
  16816. type: string
  16817. thumurls:
  16818. description: 缩略图片(1:1)(逗号分隔)
  16819. type: string
  16820. unitid:
  16821. description: 单位id
  16822. type: integer
  16823. vatrate:
  16824. description: 增值税率
  16825. type: number
  16826. wrstandardcode:
  16827. description: 现货商品代码
  16828. type: string
  16829. wrstandardid:
  16830. description: 现货商品ID(SEQ_WRSTANDARD)
  16831. type: integer
  16832. wrstandardname:
  16833. description: 现货商品名称
  16834. type: string
  16835. type: object
  16836. models.XhcpSellBackApplyEx:
  16837. properties:
  16838. applyremark:
  16839. description: 申请备注
  16840. type: string
  16841. expirytype:
  16842. description: 寄售有效期 - 1:3天 2:7天 3:15天 4:长期
  16843. type: integer
  16844. goodsspec:
  16845. description: 商品规格 - 1:整件 2;整提 3:单罐 4:单盒
  16846. type: integer
  16847. holeflag:
  16848. description: 是否破洞[原封] - 1:无破洞 2:破洞
  16849. type: integer
  16850. isunopened:
  16851. description: 是否原封 - 1:否 2:是
  16852. type: integer
  16853. mpflag:
  16854. description: 磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮
  16855. type: integer
  16856. openflag:
  16857. description: 是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。
  16858. 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。
  16859. type: integer
  16860. phonenum:
  16861. description: 联系电话
  16862. type: string
  16863. userid:
  16864. description: 所属用户ID
  16865. type: integer
  16866. zpflag:
  16867. description: 皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮
  16868. type: integer
  16869. required:
  16870. - userid
  16871. type: object
  16872. models.Xhcpsellbackapply:
  16873. properties:
  16874. applyid:
  16875. description: 申请人
  16876. type: integer
  16877. applyremark:
  16878. description: 申请备注
  16879. type: string
  16880. applysrc:
  16881. description: 申请来源 - 1:管理端 2:终端
  16882. type: integer
  16883. applystatus:
  16884. description: 申请状态 - 1:待确认 2:已处理
  16885. type: integer
  16886. applytime:
  16887. description: 申请时间
  16888. type: string
  16889. auditremark:
  16890. description: 审核备注
  16891. type: string
  16892. auditsrc:
  16893. description: 审核来源 - 1:管理端 2:终端
  16894. type: integer
  16895. expirytype:
  16896. description: 寄售有效期 - 1:3天 2:7天 3:15天 4:长期
  16897. type: integer
  16898. goodsspec:
  16899. description: 商品规格 - 1:整件 2;整提 3:单罐 4:单盒
  16900. type: integer
  16901. holeflag:
  16902. description: 是否破洞[原封] - 1:无破洞 2:破洞
  16903. type: integer
  16904. isunopened:
  16905. description: 是否原封 - 1:否 2:是
  16906. type: integer
  16907. mpflag:
  16908. description: 磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮
  16909. type: integer
  16910. openflag:
  16911. description: 是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。
  16912. 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。
  16913. type: integer
  16914. phonenum:
  16915. description: 联系电话
  16916. type: string
  16917. sellbackapplyid:
  16918. description: 回收申请ID - SEQ_XHCP_SELLBACKAPPLY
  16919. type: string
  16920. userid:
  16921. description: 所属用户ID
  16922. type: integer
  16923. zpflag:
  16924. description: 皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮
  16925. type: integer
  16926. required:
  16927. - userid
  16928. type: object
  16929. order.QueryHisTradeDetailRsp:
  16930. properties:
  16931. accountid:
  16932. description: 账户ID[报价币种]
  16933. type: integer
  16934. advanceratio:
  16935. description: 首付比率
  16936. type: number
  16937. buildtype:
  16938. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  16939. type: integer
  16940. buyorsell:
  16941. description: 方向 - 0:买 1:卖
  16942. type: integer
  16943. charge:
  16944. description: 手续费
  16945. type: number
  16946. closecharge:
  16947. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  16948. type: number
  16949. closeexchagechargevalue:
  16950. description: 平仓交易所手续费设置值
  16951. type: number
  16952. closefeealgorithm:
  16953. description: 平仓手续费收取方式 1:比率 2:固定
  16954. type: integer
  16955. closememberchargevalue:
  16956. description: 平仓会员手续费设置值
  16957. type: number
  16958. closepl:
  16959. description: 平仓盈亏
  16960. type: number
  16961. closepl2:
  16962. description: 平仓盈亏[逐笔]
  16963. type: number
  16964. closeqty:
  16965. description: 平仓数量(先建后平操作 需要记录)
  16966. type: number
  16967. creditamount:
  16968. description: 授信金额
  16969. type: number
  16970. decimalplace:
  16971. description: 商品报价小数位
  16972. type: integer
  16973. enumdicname:
  16974. description: 单位名称
  16975. type: string
  16976. gcaccountid:
  16977. description: 账户ID[合约币种]
  16978. type: integer
  16979. goodscode:
  16980. description: 商品代码
  16981. type: string
  16982. goodsid:
  16983. description: 商品ID
  16984. type: integer
  16985. goodsname:
  16986. description: 商品名称
  16987. type: string
  16988. goodunitid:
  16989. description: 商品单位id
  16990. type: integer
  16991. histradedate:
  16992. description: 历史交易日
  16993. type: string
  16994. intclosepl:
  16995. description: 整型盈亏(用于交易结算试算平衡-收益权)
  16996. type: integer
  16997. isconfirmexercise:
  16998. description: 是否确认行权- 0:否 1:是
  16999. type: integer
  17000. ismain:
  17001. description: 是否主单 - 0:不是 1:是
  17002. type: integer
  17003. ispreexercise:
  17004. description: 是否预申报- 0:否 1:是
  17005. type: integer
  17006. isreckoned:
  17007. description: 是否结算 - 0:未结算 1:已结算
  17008. type: integer
  17009. isvaliddata:
  17010. description: 是否有效 - 0:无效 1:有效
  17011. type: integer
  17012. listingselecttype:
  17013. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  17014. type: integer
  17015. marketid:
  17016. description: 市场ID
  17017. type: integer
  17018. marketname:
  17019. description: 市场名称
  17020. type: string
  17021. matchaccountid:
  17022. description: 对手账号id
  17023. type: integer
  17024. memberuserid:
  17025. description: 会员id 个人投资者 需要填写
  17026. type: integer
  17027. opencharge:
  17028. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  17029. type: number
  17030. openexchagechargevalue:
  17031. description: 建仓交易所手续费设置值
  17032. type: number
  17033. openfeealgorithm:
  17034. description: 建仓手续费收取方式 1:比率 2:固定
  17035. type: integer
  17036. openmemberchargevalue:
  17037. description: 建仓会员手续费设置值
  17038. type: number
  17039. openqty:
  17040. description: 开仓数量(先建后平操作 需要记录)
  17041. type: number
  17042. optiontype:
  17043. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  17044. type: integer
  17045. orderid:
  17046. description: 委托单号
  17047. type: string
  17048. payamount:
  17049. description: 支付金额(付款金额)
  17050. type: number
  17051. performanceplanid:
  17052. description: 履约计划ID[期权]
  17053. type: integer
  17054. performancestatus:
  17055. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  17056. type: integer
  17057. preexerciseprice:
  17058. description: 预申报价格
  17059. type: number
  17060. premium:
  17061. description: 权利金 - [持仓单的权利金]
  17062. type: number
  17063. qtydecimalplace:
  17064. description: 商品报价小数位
  17065. type: integer
  17066. recvamount:
  17067. description: 到账金额 = 成交金额 - 手续费
  17068. type: number
  17069. relatedouttradeid:
  17070. description: 关联外部成交单ID
  17071. type: integer
  17072. status:
  17073. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  17074. type: integer
  17075. totalamount:
  17076. description: 订单总额 = 成交金额 + 手续费
  17077. type: number
  17078. tradeamount:
  17079. description: 成交金额[账户币种,用于所有权]
  17080. type: number
  17081. tradedate:
  17082. description: 交易日(yyyyMMdd)
  17083. type: string
  17084. tradeid:
  17085. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17086. type: string
  17087. trademode:
  17088. description: 交易模式
  17089. type: integer
  17090. tradeprice:
  17091. description: 成交价格
  17092. type: number
  17093. tradeproperty:
  17094. description: 交易属性
  17095. type: integer
  17096. tradeqty:
  17097. description: 成交数量
  17098. type: number
  17099. tradetime:
  17100. description: 成交时间
  17101. type: string
  17102. tradetype:
  17103. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  17104. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  17105. type: integer
  17106. required:
  17107. - accountid
  17108. - buyorsell
  17109. - goodsid
  17110. - histradedate
  17111. - marketid
  17112. - memberuserid
  17113. - orderid
  17114. - tradeamount
  17115. - tradedate
  17116. - tradeid
  17117. - tradeprice
  17118. - tradeqty
  17119. - tradetime
  17120. type: object
  17121. order.QueryHisTradeOrderDetailRsp:
  17122. properties:
  17123. accountid:
  17124. description: 账户ID[报价币种]
  17125. type: integer
  17126. buildtype:
  17127. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  17128. type: integer
  17129. buyorsell:
  17130. description: 买卖 - 0:买 1:卖
  17131. type: integer
  17132. cancelorderid:
  17133. description: 撤单单号(撤单时填写)
  17134. type: string
  17135. cancelqty:
  17136. description: 撤单数量
  17137. type: number
  17138. clientordertime:
  17139. description: 客户端委托时间
  17140. type: string
  17141. clientticket:
  17142. description: 客户端流水号
  17143. type: string
  17144. clienttype:
  17145. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  17146. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  17147. type: integer
  17148. closeexchagechargevalue:
  17149. description: 平仓交易所手续费设置值
  17150. type: number
  17151. closefeealgorithm:
  17152. description: 平仓手续费收取方式 1:比率 2:固定
  17153. type: integer
  17154. closefreezecharge:
  17155. description: 平仓冻结手续费(先建后平操作,需要记录)
  17156. type: number
  17157. closememberchargevalue:
  17158. description: 平仓会员手续费设置值
  17159. type: number
  17160. closeqty:
  17161. description: 平仓数量(先建后平操作 需要记录)
  17162. type: number
  17163. closetradeqty:
  17164. description: 平仓成交数量(先建后平操作,需要记录)
  17165. type: number
  17166. closeunfreezecharge:
  17167. description: 平仓解冻手续费(先建后平操作,需要记录)
  17168. type: number
  17169. decimalplace:
  17170. description: 商品报价小数位
  17171. type: integer
  17172. delistingtype:
  17173. description: 摘牌类型 - 1:价格最优 2:点选成交
  17174. type: integer
  17175. enumdicname:
  17176. description: 单位名称
  17177. type: string
  17178. freezecharge:
  17179. description: 冻结手续费
  17180. type: number
  17181. freezemargin:
  17182. description: 冻结保证金(冻结交易金额)
  17183. type: number
  17184. gcaccountid:
  17185. description: 账户ID[合约币种]
  17186. type: integer
  17187. goodscode:
  17188. description: 商品代码
  17189. type: string
  17190. goodsid:
  17191. description: 商品ID
  17192. type: integer
  17193. goodsname:
  17194. description: 商品名称
  17195. type: string
  17196. goodunitid:
  17197. description: 商品单位id
  17198. type: integer
  17199. histradedate:
  17200. description: 历史交易日
  17201. type: string
  17202. isconfirmexercise:
  17203. description: 是否确认行权- 0:否 1:是
  17204. type: integer
  17205. ispreexercise:
  17206. description: 是否预申报- 0:否 1:是
  17207. type: integer
  17208. isvaliddata:
  17209. description: 是否有效 - 0:无效 1:有效
  17210. type: integer
  17211. listingselecttype:
  17212. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  17213. type: integer
  17214. marginalgorithm:
  17215. description: 保证金收取方式 1:比率 2:固定
  17216. type: integer
  17217. marginvalue:
  17218. description: 即市保证金设置值
  17219. type: number
  17220. marketid:
  17221. description: 市场ID
  17222. type: integer
  17223. marketmaxsub:
  17224. description: 市价最大偏移范围
  17225. type: number
  17226. marketname:
  17227. description: 市场名称
  17228. type: string
  17229. memberuserid:
  17230. description: 所属会员UserID
  17231. type: integer
  17232. openexchagechargevalue:
  17233. description: 建仓交易所手续费设置值
  17234. type: number
  17235. openfeealgorithm:
  17236. description: 建仓手续费收取方式 1:比率 2:固定
  17237. type: integer
  17238. openfreezecharge:
  17239. description: 开仓冻结手续费(先建后平操作,需要记录)
  17240. type: number
  17241. openmemberchargevalue:
  17242. description: 建仓会员手续费设置值
  17243. type: number
  17244. openqty:
  17245. description: 开仓数量(先建后平操作,需要记录)
  17246. type: number
  17247. opentradeqty:
  17248. description: 开仓成交数量(先建后平操作,需要记录)
  17249. type: number
  17250. openunfreezecharge:
  17251. description: 开仓解冻手续费(先建后平操作,需要记录)
  17252. type: number
  17253. operatetype:
  17254. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  17255. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  17256. 15:管理端协议转让
  17257. type: integer
  17258. operatorid:
  17259. description: 登录账号(LoginID)
  17260. type: integer
  17261. optiontype:
  17262. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  17263. type: integer
  17264. orderid:
  17265. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17266. type: string
  17267. orderprice:
  17268. description: 委托价格
  17269. type: number
  17270. orderqty:
  17271. description: 委托数量
  17272. type: number
  17273. ordersrc:
  17274. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  17275. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  17276. type: integer
  17277. orderstatus:
  17278. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  17279. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  17280. 16:成交失败违约(荷兰式竞拍专用)
  17281. type: integer
  17282. ordertime:
  17283. description: 委托时间
  17284. type: string
  17285. preexerciseprice:
  17286. description: 预申报价格
  17287. type: number
  17288. premium:
  17289. description: 权利金
  17290. type: number
  17291. preorderid:
  17292. description: 关联预埋单号(止盈止损单时填写)
  17293. type: string
  17294. pricemode:
  17295. description: '取价方式 - 1:市价 2: 限价'
  17296. type: integer
  17297. qtydecimalplace:
  17298. description: 成交量小数位
  17299. type: integer
  17300. quoteid:
  17301. description: 报价单ID
  17302. type: integer
  17303. relatedid:
  17304. description: 关联单号(交割单)
  17305. type: string
  17306. retcode:
  17307. description: 错误代码
  17308. type: integer
  17309. sessionid:
  17310. description: 会话ID
  17311. type: integer
  17312. tradedate:
  17313. description: 交易日(yyyyMMdd)
  17314. type: string
  17315. trademode:
  17316. description: 交易模式
  17317. type: integer
  17318. tradeproperty:
  17319. description: 交易属性
  17320. type: integer
  17321. tradeqty:
  17322. description: 成交数量
  17323. type: number
  17324. unfreezecharge:
  17325. description: 解冻手续费
  17326. type: number
  17327. unfreezemargin:
  17328. description: 解冻保证金
  17329. type: number
  17330. updatetime:
  17331. description: 更新时间
  17332. type: string
  17333. uuid:
  17334. description: 发起端唯一id
  17335. type: string
  17336. validtime:
  17337. description: 有效期限
  17338. type: string
  17339. validtype:
  17340. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  17341. type: integer
  17342. volumetype:
  17343. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  17344. type: integer
  17345. required:
  17346. - accountid
  17347. - buildtype
  17348. - buyorsell
  17349. - goodsid
  17350. - histradedate
  17351. - marketid
  17352. - memberuserid
  17353. - operatetype
  17354. - orderid
  17355. - orderqty
  17356. - ordertime
  17357. - pricemode
  17358. - tradedate
  17359. - validtype
  17360. type: object
  17361. order.QueryTradeDetailRsp:
  17362. properties:
  17363. accountid:
  17364. description: 账户ID[报价币种]
  17365. type: integer
  17366. advanceratio:
  17367. description: 首付比率
  17368. type: number
  17369. buildtype:
  17370. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  17371. type: integer
  17372. buyorsell:
  17373. description: 方向 - 0:买 1:卖
  17374. type: integer
  17375. charge:
  17376. description: 手续费
  17377. type: number
  17378. closecharge:
  17379. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  17380. type: number
  17381. closeexchagechargevalue:
  17382. description: 平仓交易所手续费设置值
  17383. type: number
  17384. closefeealgorithm:
  17385. description: 平仓手续费收取方式 1:比率 2:固定
  17386. type: integer
  17387. closememberchargevalue:
  17388. description: 平仓会员手续费设置值
  17389. type: number
  17390. closepl:
  17391. description: 平仓盈亏
  17392. type: number
  17393. closepl2:
  17394. description: 平仓盈亏[逐笔]
  17395. type: number
  17396. closeqty:
  17397. description: 平仓数量(先建后平操作 需要记录)
  17398. type: number
  17399. creditamount:
  17400. description: 授信金额
  17401. type: number
  17402. decimalplace:
  17403. description: 商品报价小数位
  17404. type: integer
  17405. enumdicname:
  17406. description: 单位名称
  17407. type: string
  17408. gcaccountid:
  17409. description: 账户ID[合约币种]
  17410. type: integer
  17411. goodscode:
  17412. description: 商品代码
  17413. type: string
  17414. goodsid:
  17415. description: 商品ID
  17416. type: integer
  17417. goodsname:
  17418. description: 商品名称
  17419. type: string
  17420. goodunitid:
  17421. description: 商品单位id
  17422. type: integer
  17423. intclosepl:
  17424. description: 整型盈亏(用于交易结算试算平衡-收益权)
  17425. type: integer
  17426. isconfirmexercise:
  17427. description: 是否确认行权- 0:否 1:是
  17428. type: integer
  17429. ismain:
  17430. description: 是否主单 - 0:不是 1:是
  17431. type: integer
  17432. ispreexercise:
  17433. description: 是否预申报- 0:否 1:是
  17434. type: integer
  17435. isreckoned:
  17436. description: 是否结算 - 0:未结算 1:已结算
  17437. type: integer
  17438. listingselecttype:
  17439. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  17440. type: integer
  17441. marketid:
  17442. description: 市场ID
  17443. type: integer
  17444. marketname:
  17445. description: 市场名称
  17446. type: string
  17447. matchaccountid:
  17448. description: 对手账号id
  17449. type: integer
  17450. memberuserid:
  17451. description: 会员id 个人投资者 需要填写
  17452. type: integer
  17453. opencharge:
  17454. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  17455. type: number
  17456. openexchagechargevalue:
  17457. description: 建仓交易所手续费设置值
  17458. type: number
  17459. openfeealgorithm:
  17460. description: 建仓手续费收取方式 1:比率 2:固定
  17461. type: integer
  17462. openmemberchargevalue:
  17463. description: 建仓会员手续费设置值
  17464. type: number
  17465. openqty:
  17466. description: 开仓数量(先建后平操作 需要记录)
  17467. type: number
  17468. optiontype:
  17469. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  17470. type: integer
  17471. orderid:
  17472. description: 委托单号
  17473. type: string
  17474. payamount:
  17475. description: 支付金额(付款金额)
  17476. type: number
  17477. performanceplanid:
  17478. description: 履约计划ID[期权]
  17479. type: integer
  17480. performancestatus:
  17481. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  17482. type: integer
  17483. preexerciseprice:
  17484. description: 预申报价格
  17485. type: number
  17486. premium:
  17487. description: 权利金 - [持仓单的权利金]
  17488. type: number
  17489. qtydecimalplace:
  17490. description: 商品报价小数位
  17491. type: integer
  17492. recvamount:
  17493. description: 到账金额 = 成交金额 - 手续费
  17494. type: number
  17495. relatedouttradeid:
  17496. description: 关联外部成交单ID
  17497. type: integer
  17498. status:
  17499. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  17500. type: integer
  17501. totalamount:
  17502. description: 订单总额 = 成交金额 + 手续费
  17503. type: number
  17504. tradeamount:
  17505. description: 成交金额[账户币种,用于所有权]
  17506. type: number
  17507. tradedate:
  17508. description: 交易日(yyyyMMdd)
  17509. type: string
  17510. tradeid:
  17511. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17512. type: string
  17513. trademode:
  17514. description: 交易模式
  17515. type: integer
  17516. tradeprice:
  17517. description: 成交价格
  17518. type: number
  17519. tradeproperty:
  17520. description: 交易属性
  17521. type: integer
  17522. tradeqty:
  17523. description: 成交数量
  17524. type: number
  17525. tradetime:
  17526. description: 成交时间
  17527. type: string
  17528. tradetype:
  17529. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  17530. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  17531. type: integer
  17532. required:
  17533. - accountid
  17534. - buyorsell
  17535. - goodsid
  17536. - marketid
  17537. - memberuserid
  17538. - orderid
  17539. - tradeamount
  17540. - tradedate
  17541. - tradeid
  17542. - tradeprice
  17543. - tradeqty
  17544. - tradetime
  17545. type: object
  17546. order.QueryTradeOrderDetailRsp:
  17547. properties:
  17548. accountid:
  17549. description: 账户ID[报价币种]
  17550. type: integer
  17551. buildtype:
  17552. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  17553. type: integer
  17554. buyorsell:
  17555. description: 买卖 - 0:买 1:卖
  17556. type: integer
  17557. cancelorderid:
  17558. description: 撤单单号(撤单时填写)
  17559. type: string
  17560. cancelqty:
  17561. description: 撤单数量
  17562. type: number
  17563. clienttype:
  17564. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  17565. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  17566. type: integer
  17567. closefreezecharge:
  17568. description: 平仓冻结手续费(先建后平操作,需要记录)
  17569. type: number
  17570. closeqty:
  17571. description: 平仓数量(先建后平操作 需要记录)
  17572. type: number
  17573. closetradeqty:
  17574. description: 平仓成交数量(先建后平操作,需要记录)
  17575. type: number
  17576. closeunfreezecharge:
  17577. description: 平仓解冻手续费(先建后平操作,需要记录)
  17578. type: number
  17579. decimalplace:
  17580. description: 商品报价小数位
  17581. type: integer
  17582. delistingtype:
  17583. description: 摘牌类型 - 1:价格最优 2:点选成交
  17584. type: integer
  17585. enableqty:
  17586. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  17587. type: number
  17588. enumdicname:
  17589. description: 单位名称
  17590. type: string
  17591. freezecharge:
  17592. description: 冻结手续费
  17593. type: number
  17594. freezemargin:
  17595. description: 冻结保证金(冻结交易金额)
  17596. type: number
  17597. goodscode:
  17598. description: 商品代码
  17599. type: string
  17600. goodsid:
  17601. description: 商品ID
  17602. type: integer
  17603. goodsname:
  17604. description: 商品名称
  17605. type: string
  17606. goodunitid:
  17607. description: 商品单位id
  17608. type: integer
  17609. listingselecttype:
  17610. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  17611. type: integer
  17612. marketid:
  17613. description: 市场ID
  17614. type: integer
  17615. marketname:
  17616. description: 市场名称
  17617. type: string
  17618. openfreezecharge:
  17619. description: 开仓冻结手续费(先建后平操作,需要记录)
  17620. type: number
  17621. openqty:
  17622. description: 开仓数量(先建后平操作,需要记录)
  17623. type: number
  17624. opentradeqty:
  17625. description: 开仓成交数量(先建后平操作,需要记录)
  17626. type: number
  17627. openunfreezecharge:
  17628. description: 开仓解冻手续费(先建后平操作,需要记录)
  17629. type: number
  17630. operatetype:
  17631. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  17632. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  17633. 15:管理端协议转让
  17634. type: integer
  17635. operatorid:
  17636. description: 登录账号(LoginID)
  17637. type: integer
  17638. orderid:
  17639. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17640. type: string
  17641. orderprice:
  17642. description: 委托价格
  17643. type: number
  17644. orderqty:
  17645. description: 委托数量
  17646. type: number
  17647. ordersrc:
  17648. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  17649. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  17650. type: integer
  17651. orderstatus:
  17652. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  17653. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  17654. 16:成交失败违约(荷兰式竞拍专用)
  17655. type: integer
  17656. ordertime:
  17657. description: 委托时间
  17658. type: string
  17659. preorderid:
  17660. description: 关联预埋单号(止盈止损单时填写)
  17661. type: string
  17662. pricemode:
  17663. description: '取价方式 - 1:市价 2: 限价'
  17664. type: integer
  17665. qtydecimalplace:
  17666. description: 商品报价小数位
  17667. type: integer
  17668. relatedid:
  17669. description: 关联单号(交割单)
  17670. type: string
  17671. tradedate:
  17672. description: 交易日(yyyyMMdd)
  17673. type: string
  17674. trademode:
  17675. description: 交易模式
  17676. type: integer
  17677. tradeqty:
  17678. description: 成交数量
  17679. type: number
  17680. unfreezecharge:
  17681. description: 解冻手续费
  17682. type: number
  17683. unfreezemargin:
  17684. description: 解冻保证金
  17685. type: number
  17686. validtime:
  17687. description: 有效期限
  17688. type: string
  17689. validtype:
  17690. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  17691. type: integer
  17692. volumetype:
  17693. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  17694. type: integer
  17695. required:
  17696. - accountid
  17697. - buildtype
  17698. - buyorsell
  17699. - goodsid
  17700. - marketid
  17701. - operatetype
  17702. - orderqty
  17703. - ordertime
  17704. - pricemode
  17705. - tradedate
  17706. - validtype
  17707. type: object
  17708. order.QueryTradePositionRsp:
  17709. properties:
  17710. accountid:
  17711. description: 资金账户
  17712. type: integer
  17713. agreeunit:
  17714. description: 合约单位
  17715. type: number
  17716. averageprice:
  17717. description: 持仓均价
  17718. type: number
  17719. buyorsell:
  17720. description: 方向 - 0:买 1:卖
  17721. type: integer
  17722. closetotalqty:
  17723. description: 平仓总数量
  17724. type: number
  17725. curholderamount:
  17726. description: 当前持仓总金额[商品币种]
  17727. type: number
  17728. curpositionqty:
  17729. description: 当前持仓总数量
  17730. type: number
  17731. currencyid:
  17732. description: 报价货币ID
  17733. type: integer
  17734. curtdposition:
  17735. description: 期末今日头寸
  17736. type: number
  17737. decimalplace:
  17738. description: 报价小数位
  17739. type: integer
  17740. enableqty:
  17741. description: 可用量
  17742. type: number
  17743. fretdposition:
  17744. description: 冻结今日头寸
  17745. type: number
  17746. frozenqty:
  17747. description: 持仓冻结数量
  17748. type: number
  17749. goodscode:
  17750. description: 商品代码
  17751. type: string
  17752. goodsid:
  17753. description: 商品Id
  17754. type: integer
  17755. goodsname:
  17756. description: 商品名称
  17757. type: string
  17758. goodunit:
  17759. description: 报价单位
  17760. type: string
  17761. goodunitid:
  17762. description: 报价单位ID
  17763. type: integer
  17764. holderamount:
  17765. description: 期初持仓总金额[商品币种]
  17766. type: number
  17767. lastprice:
  17768. description: 最新价
  17769. type: number
  17770. marketamount:
  17771. description: 市值
  17772. type: number
  17773. marketid:
  17774. description: 所属市场ID
  17775. type: integer
  17776. openreqqty:
  17777. description: 开仓申请数量(用于比较最大持仓数量)
  17778. type: number
  17779. opentotalqty:
  17780. description: 开仓总数量
  17781. type: number
  17782. otherfrozenqty:
  17783. description: 持仓其他冻结数量(交割冻结)
  17784. type: number
  17785. positionpl:
  17786. description: 持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸
  17787. * 合约单位
  17788. type: number
  17789. positionplrate:
  17790. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  17791. type: number
  17792. positionqty:
  17793. description: 期初持仓数量
  17794. type: number
  17795. qtydecimalplace:
  17796. description: 成交量小数位
  17797. type: integer
  17798. refgoodscode:
  17799. description: 参考商品代码
  17800. type: string
  17801. refgoodsid:
  17802. description: 参考商品ID
  17803. type: integer
  17804. tnqty:
  17805. description: T+N冻结总量
  17806. type: number
  17807. tnusedqty:
  17808. description: T+N使用量(可以使用T+N的冻结数量)
  17809. type: number
  17810. trademode:
  17811. description: 交易模式
  17812. type: integer
  17813. tradeproperty:
  17814. description: 交易属性
  17815. type: integer
  17816. usedmargin:
  17817. description: 占用保证金[商品币种]
  17818. type: number
  17819. required:
  17820. - goodsid
  17821. type: object
  17822. pb.GoodsMarginCfgStruct:
  17823. properties:
  17824. CustomerTypeID:
  17825. description: 投资者客户类型
  17826. type: integer
  17827. GoodsID:
  17828. description: 商品ID
  17829. type: integer
  17830. IsDefault:
  17831. description: 是否默认标志位
  17832. type: integer
  17833. LockMarginValue:
  17834. description: 锁仓保证金
  17835. type: number
  17836. MarginAlgorithm:
  17837. description: 保证金计算方式
  17838. type: integer
  17839. MarketMarginValue:
  17840. description: 即市保证金值
  17841. type: number
  17842. RealMarginAlgorithm:
  17843. description: 实付保证金计算方式
  17844. type: integer
  17845. RealMarginValue:
  17846. description: 实付比例
  17847. type: number
  17848. ReckonMarginValue:
  17849. description: 结算保证金值
  17850. type: number
  17851. type: object
  17852. quote.HistoryData:
  17853. properties:
  17854. c:
  17855. description: 收盘价
  17856. type: number
  17857. f:
  17858. description: 是否补充数据
  17859. type: boolean
  17860. h:
  17861. description: 最高价
  17862. type: number
  17863. hv:
  17864. description: 持仓量
  17865. type: integer
  17866. l:
  17867. description: 最低价
  17868. type: number
  17869. o:
  17870. description: 开盘价
  17871. type: number
  17872. s:
  17873. description: 结算价,日线周期(包括)以上才有
  17874. type: number
  17875. ts:
  17876. description: 时间
  17877. type: string
  17878. tt:
  17879. description: 总金额
  17880. type: number
  17881. tv:
  17882. description: 总量(成交量)
  17883. type: integer
  17884. type: object
  17885. quote.HistoryTikData:
  17886. properties:
  17887. AV:
  17888. description: 卖量
  17889. type: integer
  17890. Ask:
  17891. description: 卖价
  17892. type: number
  17893. BV:
  17894. description: 买量
  17895. type: integer
  17896. Bid:
  17897. description: 买价
  17898. type: number
  17899. HI:
  17900. description: 单笔持仓
  17901. type: integer
  17902. HV:
  17903. description: 持仓量
  17904. type: integer
  17905. PE:
  17906. description: 现价
  17907. type: number
  17908. TDR:
  17909. description: 交易方向,0:买 1:卖
  17910. type: integer
  17911. TK:
  17912. description: 交易类型
  17913. type: integer
  17914. TS:
  17915. description: 行情时间文本
  17916. type: string
  17917. TT:
  17918. description: 现金额
  17919. type: number
  17920. Vol:
  17921. description: 现量
  17922. type: integer
  17923. type: object
  17924. quote.QueryQuoteDayRsp:
  17925. properties:
  17926. ask:
  17927. description: 卖1
  17928. type: number
  17929. ask2:
  17930. description: 卖2
  17931. type: number
  17932. ask3:
  17933. description: 卖3
  17934. type: number
  17935. ask4:
  17936. description: 卖4
  17937. type: number
  17938. ask5:
  17939. description: 卖5
  17940. type: number
  17941. ask6:
  17942. description: 卖6
  17943. type: number
  17944. ask7:
  17945. description: 卖7
  17946. type: number
  17947. ask8:
  17948. description: 卖8
  17949. type: number
  17950. ask9:
  17951. description: 卖9
  17952. type: number
  17953. ask10:
  17954. description: 卖10
  17955. type: number
  17956. askorderid:
  17957. description: 卖单号1
  17958. type: integer
  17959. askorderid2:
  17960. description: 卖单号2
  17961. type: integer
  17962. askorderid3:
  17963. description: 卖单号3
  17964. type: integer
  17965. askorderid4:
  17966. description: 卖单号4
  17967. type: integer
  17968. askorderid5:
  17969. description: 卖单号5
  17970. type: integer
  17971. askordervolume:
  17972. description: 卖单量1
  17973. type: integer
  17974. askordervolume2:
  17975. description: 卖单量2
  17976. type: integer
  17977. askordervolume3:
  17978. description: 卖单量3
  17979. type: integer
  17980. askordervolume4:
  17981. description: 卖单量4
  17982. type: integer
  17983. askordervolume5:
  17984. description: 卖单量5
  17985. type: integer
  17986. askordervolume6:
  17987. description: 卖单量6
  17988. type: integer
  17989. askordervolume7:
  17990. description: 卖单量7
  17991. type: integer
  17992. askordervolume8:
  17993. description: 卖单量8
  17994. type: integer
  17995. askordervolume9:
  17996. description: 卖单量9
  17997. type: integer
  17998. askordervolume10:
  17999. description: 卖单量10
  18000. type: integer
  18001. askqueueinfo:
  18002. description: 大利市卖港股用
  18003. type: string
  18004. askvolume:
  18005. description: 卖量1
  18006. type: integer
  18007. askvolume2:
  18008. description: 卖量2
  18009. type: integer
  18010. askvolume3:
  18011. description: 卖量3
  18012. type: integer
  18013. askvolume4:
  18014. description: 卖量4
  18015. type: integer
  18016. askvolume5:
  18017. description: 卖量5
  18018. type: integer
  18019. askvolume6:
  18020. description: 卖量6
  18021. type: integer
  18022. askvolume7:
  18023. description: 卖量7
  18024. type: integer
  18025. askvolume8:
  18026. description: 卖量8
  18027. type: integer
  18028. askvolume9:
  18029. description: 卖量9
  18030. type: integer
  18031. askvolume10:
  18032. description: 卖量10
  18033. type: integer
  18034. averageprice:
  18035. description: 均价
  18036. type: number
  18037. bid:
  18038. description: 买1
  18039. type: number
  18040. bid2:
  18041. description: 买2
  18042. type: number
  18043. bid3:
  18044. description: 买3
  18045. type: number
  18046. bid4:
  18047. description: 买4
  18048. type: number
  18049. bid5:
  18050. description: 买5
  18051. type: number
  18052. bid6:
  18053. description: 买6
  18054. type: number
  18055. bid7:
  18056. description: 买7
  18057. type: number
  18058. bid8:
  18059. description: 买8
  18060. type: number
  18061. bid9:
  18062. description: 买9
  18063. type: number
  18064. bid10:
  18065. description: 买10
  18066. type: number
  18067. bidorderid:
  18068. description: 买单号1
  18069. type: integer
  18070. bidorderid2:
  18071. description: 买单号2
  18072. type: integer
  18073. bidorderid3:
  18074. description: 买单号3
  18075. type: integer
  18076. bidorderid4:
  18077. description: 买单号4
  18078. type: integer
  18079. bidorderid5:
  18080. description: 买单号5
  18081. type: integer
  18082. bidordervolume:
  18083. description: 买单量1
  18084. type: integer
  18085. bidordervolume2:
  18086. description: 买单量2
  18087. type: integer
  18088. bidordervolume3:
  18089. description: 买单量3
  18090. type: integer
  18091. bidordervolume4:
  18092. description: 买单量4
  18093. type: integer
  18094. bidordervolume5:
  18095. description: 买单量5
  18096. type: integer
  18097. bidordervolume6:
  18098. description: 买单量6
  18099. type: integer
  18100. bidordervolume7:
  18101. description: 买单量7
  18102. type: integer
  18103. bidordervolume8:
  18104. description: 买单量8
  18105. type: integer
  18106. bidordervolume9:
  18107. description: 买单量9
  18108. type: integer
  18109. bidordervolume10:
  18110. description: 买单量10
  18111. type: integer
  18112. bidqueueinfo:
  18113. description: 大利市买港股用
  18114. type: string
  18115. bidvolume:
  18116. description: 买量1
  18117. type: integer
  18118. bidvolume2:
  18119. description: 买量2
  18120. type: integer
  18121. bidvolume3:
  18122. description: 买量3
  18123. type: integer
  18124. bidvolume4:
  18125. description: 买量4
  18126. type: integer
  18127. bidvolume5:
  18128. description: 买量5
  18129. type: integer
  18130. bidvolume6:
  18131. description: 买量6
  18132. type: integer
  18133. bidvolume7:
  18134. description: 买量7
  18135. type: integer
  18136. bidvolume8:
  18137. description: 买量8
  18138. type: integer
  18139. bidvolume9:
  18140. description: 买量9
  18141. type: integer
  18142. bidvolume10:
  18143. description: 买量10
  18144. type: integer
  18145. calloptionpremiums:
  18146. description: 认购期权1
  18147. type: integer
  18148. calloptionpremiums2:
  18149. description: 认购期权2
  18150. type: integer
  18151. calloptionpremiums3:
  18152. description: 认购期权3
  18153. type: integer
  18154. calloptionpremiums4:
  18155. description: 认购期权4
  18156. type: integer
  18157. calloptionpremiums5:
  18158. description: 认购期权5
  18159. type: integer
  18160. cleartime:
  18161. description: 清盘时间
  18162. type: integer
  18163. exchangecode:
  18164. description: 交易所代码
  18165. type: integer
  18166. exchangedate:
  18167. description: 交易日
  18168. type: integer
  18169. goodscode:
  18170. description: 商品代码
  18171. type: string
  18172. grepmarketprice:
  18173. description: 暗盘价 港股专用
  18174. type: number
  18175. highest:
  18176. description: 最高价
  18177. type: number
  18178. holdincrement:
  18179. description: 单笔持仓
  18180. type: integer
  18181. holdvolume:
  18182. description: 持仓
  18183. type: integer
  18184. iep:
  18185. description: 平衡价 港股专用
  18186. type: number
  18187. iev:
  18188. description: 平衡量 港股专用
  18189. type: number
  18190. inventory:
  18191. description: 库存
  18192. type: integer
  18193. iscleared:
  18194. description: 是否清盘标志
  18195. type: integer
  18196. issettled:
  18197. description: 是否结算标志
  18198. type: integer
  18199. last:
  18200. description: 最新价
  18201. type: number
  18202. lastlot:
  18203. description: 最新成交手数
  18204. type: integer
  18205. lasttime:
  18206. description: 行情时间(只有现价变化行情时间才变化)
  18207. type: string
  18208. lastturnover:
  18209. description: 最新成交金额
  18210. type: number
  18211. lastvolume:
  18212. description: 最新成交量
  18213. type: integer
  18214. limitdown:
  18215. description: 跌停价
  18216. type: number
  18217. limitup:
  18218. description: 涨停价
  18219. type: number
  18220. lowest:
  18221. description: 最低价
  18222. type: number
  18223. nontotalholdervolume:
  18224. description: 非交易持仓量
  18225. type: integer
  18226. nontotallot:
  18227. description: 非交易总手数
  18228. type: integer
  18229. nontotalturnover:
  18230. description: 非交易总金额
  18231. type: integer
  18232. nontotalvolume:
  18233. description: 非交易总量
  18234. type: integer
  18235. opened:
  18236. description: 开盘价
  18237. type: number
  18238. opentime:
  18239. description: 开盘时间
  18240. type: string
  18241. orderid:
  18242. description: 序号
  18243. type: integer
  18244. preclose:
  18245. description: 昨收
  18246. type: number
  18247. preholdvolume:
  18248. description: 昨持仓
  18249. type: integer
  18250. presettle:
  18251. description: 昨结价
  18252. type: number
  18253. publictradetype:
  18254. description: 公共交易标志类型 港股专用
  18255. type: string
  18256. putoptionpremiums:
  18257. description: 认沽期权1
  18258. type: integer
  18259. putoptionpremiums2:
  18260. description: 认沽期权2
  18261. type: integer
  18262. putoptionpremiums3:
  18263. description: 认沽期权3
  18264. type: integer
  18265. putoptionpremiums4:
  18266. description: 认沽期权4
  18267. type: integer
  18268. putoptionpremiums5:
  18269. description: 认沽期权5
  18270. type: integer
  18271. settle:
  18272. description: 结算价
  18273. type: number
  18274. strikeprice:
  18275. description: 发行价
  18276. type: number
  18277. totalaskvolume:
  18278. description: 内盘
  18279. type: integer
  18280. totalbidvolume:
  18281. description: 外盘
  18282. type: integer
  18283. totallot:
  18284. description: 总手数
  18285. type: integer
  18286. totalturnover:
  18287. description: 总金额
  18288. type: number
  18289. totalvolume:
  18290. description: 总量
  18291. type: integer
  18292. utclasttime:
  18293. description: utc的行情时间
  18294. type: string
  18295. type: object
  18296. quote.QueryTSDataRsp:
  18297. properties:
  18298. Count:
  18299. description: 交易日应有数据个数
  18300. type: integer
  18301. decimalPlace:
  18302. description: 小数位
  18303. type: integer
  18304. endTime:
  18305. description: 结束时间
  18306. type: string
  18307. goodsCode:
  18308. description: 商品代码
  18309. type: string
  18310. historyDatas:
  18311. description: 历史数据
  18312. items:
  18313. $ref: '#/definitions/quote.HistoryData'
  18314. type: array
  18315. outGoodsCode:
  18316. description: 外部商品代码
  18317. type: string
  18318. preSettle:
  18319. description: 昨结价
  18320. type: number
  18321. runSteps:
  18322. description: 交易日开休市计划
  18323. items:
  18324. $ref: '#/definitions/quote.TSDataRunStep'
  18325. type: array
  18326. startTime:
  18327. description: 开始时间
  18328. type: string
  18329. tradeDate:
  18330. description: 交易日
  18331. type: string
  18332. type: object
  18333. quote.TSDataRunStep:
  18334. properties:
  18335. end:
  18336. description: 真实结束时间
  18337. type: string
  18338. endflag:
  18339. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  18340. type: integer
  18341. endtime:
  18342. description: 结束时间(HH:mm)
  18343. type: string
  18344. endweekday:
  18345. description: 结束周几
  18346. type: integer
  18347. groupid:
  18348. description: 分组ID
  18349. type: integer
  18350. runstep:
  18351. description: 运行阶段 - 2:连续交易
  18352. type: integer
  18353. sectionid:
  18354. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几,
  18355. 结束时间=结算时间 结束周几=结算周几
  18356. type: integer
  18357. start:
  18358. description: 真实开始时间
  18359. type: string
  18360. startflag:
  18361. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  18362. type: integer
  18363. starttime:
  18364. description: 起始时间(HH:mm)
  18365. type: string
  18366. startweekday:
  18367. description: 起始周几
  18368. type: integer
  18369. tradeweekday:
  18370. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  18371. type: integer
  18372. type: object
  18373. szdz.QueryConvertLogRsp:
  18374. properties:
  18375. accountid:
  18376. description: 资金账户ID
  18377. type: integer
  18378. clientticket:
  18379. description: 客户端流水号
  18380. type: string
  18381. converttype:
  18382. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  18383. type: integer
  18384. createtime:
  18385. description: 记账时间
  18386. type: string
  18387. daymaxvalue:
  18388. description: 配置当日最大转入限制
  18389. type: number
  18390. daymaxvalue2:
  18391. description: 配置当日最大转入限制(转入)
  18392. type: number
  18393. goodscode:
  18394. description: 商品代码
  18395. type: string
  18396. goodsname:
  18397. description: 商品名称
  18398. type: string
  18399. handlestatus:
  18400. description: 处理状态
  18401. type: integer
  18402. innergoodsid:
  18403. description: 内部商品ID
  18404. type: integer
  18405. inratio:
  18406. description: 配置转入比值
  18407. type: integer
  18408. invalue:
  18409. description: 目标值
  18410. type: number
  18411. logid:
  18412. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  18413. type: integer
  18414. mobile:
  18415. description: 手机号码(加密存储)
  18416. type: string
  18417. outergoodscode:
  18418. description: 外部商品代码[JD\PD]
  18419. type: string
  18420. outratio:
  18421. description: 配置转出比值
  18422. type: integer
  18423. outvalue:
  18424. description: 源值
  18425. type: number
  18426. pddecimalplace:
  18427. description: PD小数位
  18428. type: integer
  18429. qty:
  18430. description: 数量
  18431. type: string
  18432. remark:
  18433. description: 备注
  18434. type: string
  18435. sessionid:
  18436. description: 会话ID
  18437. type: integer
  18438. timemaxvalue:
  18439. description: 配置单次最大转入限制
  18440. type: number
  18441. timemaxvalue2:
  18442. description: 配置单次最大转入限制(转入)
  18443. type: number
  18444. timeminvalue:
  18445. description: 配置单次最小数量限制
  18446. type: number
  18447. timeminvalue2:
  18448. description: 配置单次最小数量限制(转入)
  18449. type: number
  18450. tradedate:
  18451. description: 交易日(yyyyMMdd)
  18452. type: string
  18453. userid:
  18454. description: 用户ID
  18455. type: integer
  18456. required:
  18457. - logid
  18458. type: object
  18459. szdz.QueryGoodsPickupRsp:
  18460. properties:
  18461. accountid:
  18462. description: 账户ID
  18463. type: integer
  18464. address:
  18465. description: 提货人详细地址
  18466. type: string
  18467. auditer:
  18468. description: 审核人
  18469. type: integer
  18470. audittime:
  18471. description: 审核时间
  18472. type: string
  18473. cardnum:
  18474. description: 提货人证件号码
  18475. type: string
  18476. cardtypeid:
  18477. description: 提货人证件类型
  18478. type: integer
  18479. checkremark:
  18480. description: 审核备注
  18481. type: string
  18482. goodscode:
  18483. description: 商品代码
  18484. type: string
  18485. goodsid:
  18486. description: 商品ID
  18487. type: integer
  18488. goodsname:
  18489. description: 商品名称
  18490. type: string
  18491. handlestatus:
  18492. description: 处理状态
  18493. type: integer
  18494. marketid:
  18495. description: 市场ID
  18496. type: integer
  18497. phonenum:
  18498. description: 提货人联系方式
  18499. type: string
  18500. qty:
  18501. description: 提货数量
  18502. type: number
  18503. recivername:
  18504. description: 提货人姓名
  18505. type: string
  18506. reqtime:
  18507. description: 更新时间
  18508. type: string
  18509. takemode:
  18510. description: 提货方式 - 2:自提 3:配送
  18511. type: integer
  18512. takeorderid:
  18513. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  18514. type: string
  18515. takeorderstatus:
  18516. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  18517. type: integer
  18518. takeremark:
  18519. description: 提货备注
  18520. type: string
  18521. tradedate:
  18522. description: 交易日(yyyyMMdd)
  18523. type: string
  18524. userid:
  18525. description: 用户ID
  18526. type: integer
  18527. required:
  18528. - takeorderid
  18529. type: object
  18530. szdz.QueryRecieptOrderRsp:
  18531. properties:
  18532. accountName:
  18533. description: 所属账号名称(已脱敏)
  18534. type: string
  18535. accountid:
  18536. description: 资金账号
  18537. type: integer
  18538. buyorsell:
  18539. description: 方向 - 0:买 1:卖
  18540. type: integer
  18541. enableqty:
  18542. description: 可摘数量
  18543. type: integer
  18544. goodscode:
  18545. description: 商品代码
  18546. type: string
  18547. goodsid:
  18548. description: 商品ID
  18549. type: integer
  18550. goodsname:
  18551. description: 商品名称
  18552. type: string
  18553. orderid:
  18554. description: 委托单号
  18555. type: string
  18556. orderprice:
  18557. description: 委托价格
  18558. type: number
  18559. ordertime:
  18560. description: 委托时间
  18561. type: string
  18562. tradedate:
  18563. description: 交易日(yyyyMMdd)
  18564. type: string
  18565. required:
  18566. - ordertime
  18567. type: object
  18568. szdz.QuerySZDZTradePositionRsp:
  18569. properties:
  18570. accountid:
  18571. description: 账号Id
  18572. type: integer
  18573. agreeunit:
  18574. description: 合约单位
  18575. type: number
  18576. averageprice:
  18577. description: 持仓均价
  18578. type: number
  18579. buyorsell:
  18580. description: 方向 - 0:买 1:卖
  18581. type: integer
  18582. closetotalqty:
  18583. description: 平仓总数量
  18584. type: integer
  18585. curholderamount:
  18586. description: 当前持仓总金额
  18587. type: number
  18588. curpositionqty:
  18589. description: 当前持仓总数量
  18590. type: integer
  18591. currencyid:
  18592. description: 报价货币ID
  18593. type: integer
  18594. curtdposition:
  18595. description: 期末今日头寸
  18596. type: integer
  18597. decimalplace:
  18598. description: 报价小数位
  18599. type: integer
  18600. enableqty:
  18601. description: 可用量
  18602. type: integer
  18603. fretdposition:
  18604. description: 冻结今日头寸
  18605. type: integer
  18606. frozenqty:
  18607. description: 持仓冻结数量
  18608. type: integer
  18609. goodscode:
  18610. description: 商品代码(内部)
  18611. type: string
  18612. goodsid:
  18613. description: 商品Id
  18614. type: integer
  18615. goodsname:
  18616. description: 商品名称
  18617. type: string
  18618. goodunit:
  18619. description: 报价单位
  18620. type: string
  18621. goodunitid:
  18622. description: 报价单位ID
  18623. type: integer
  18624. holderamount:
  18625. description: 期初持仓总金额
  18626. type: number
  18627. marketid:
  18628. description: 市场ID
  18629. type: integer
  18630. openreqqty:
  18631. description: 开仓申请数量
  18632. type: integer
  18633. opentotalqty:
  18634. description: 开仓总数量
  18635. type: integer
  18636. otherfrozenqty:
  18637. description: 持仓其他冻结数量(交割冻结)
  18638. type: integer
  18639. positionqty:
  18640. description: 期初持仓数量
  18641. type: integer
  18642. szdz3freezqty:
  18643. description: 尚志大宗转换冻结总数量
  18644. type: integer
  18645. tnqty:
  18646. description: T+N冻结总量
  18647. type: integer
  18648. tnusedqty:
  18649. description: T+N使用量
  18650. type: integer
  18651. trademode:
  18652. description: 交易模式
  18653. type: integer
  18654. usedmargin:
  18655. description: 占用保证金
  18656. type: number
  18657. type: object
  18658. taaccount.QueryAmountLogRsp:
  18659. properties:
  18660. OPERATETYPENAME:
  18661. description: 资金操作类型名称
  18662. type: string
  18663. accountid:
  18664. description: 资金账户ID
  18665. type: integer
  18666. agoodscode:
  18667. description: 竞拍商品代码
  18668. type: string
  18669. agoodsname:
  18670. description: 竞拍商品名称
  18671. type: string
  18672. amount:
  18673. description: 资金金额
  18674. type: number
  18675. amountadjusttype:
  18676. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  18677. type: integer
  18678. autoid:
  18679. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  18680. type: integer
  18681. balance:
  18682. description: 期初余额
  18683. type: number
  18684. businesscode:
  18685. description: 业务编号
  18686. type: integer
  18687. createtime:
  18688. description: 发生时间
  18689. type: string
  18690. currencyid:
  18691. description: 币种ID
  18692. type: integer
  18693. currentbalance:
  18694. description: 期末余额(变动后金额)
  18695. type: number
  18696. dgoodscode:
  18697. description: 交割商品代码
  18698. type: string
  18699. dgoodsname:
  18700. description: 交割商品名称
  18701. type: string
  18702. goodscode:
  18703. description: 商品代码
  18704. type: string
  18705. goodsid:
  18706. description: 商品ID
  18707. type: integer
  18708. goodsname:
  18709. description: 商品名称
  18710. type: string
  18711. marketid:
  18712. description: 市场ID
  18713. type: integer
  18714. marketname:
  18715. description: 市场名称
  18716. type: string
  18717. moneyticket:
  18718. description: 资金流水号:银行端流水号
  18719. type: integer
  18720. operatetype:
  18721. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  18722. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  18723. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  18724. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  18725. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  18726. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  18727. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  18728. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  18729. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  18730. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  18731. type: integer
  18732. relationorderid:
  18733. description: 关联单号
  18734. type: string
  18735. remark:
  18736. description: 备注
  18737. type: string
  18738. trademode:
  18739. description: 交易模式
  18740. type: integer
  18741. required:
  18742. - accountid
  18743. - amount
  18744. - amountadjusttype
  18745. - autoid
  18746. - balance
  18747. - createtime
  18748. - currentbalance
  18749. - operatetype
  18750. type: object
  18751. taaccount.QueryHisAmountLogRsp:
  18752. properties:
  18753. OPERATETYPENAME:
  18754. description: 资金操作类型名称
  18755. type: string
  18756. accountid:
  18757. description: 资金账户ID
  18758. type: integer
  18759. agoodscode:
  18760. description: 竞拍商品代码
  18761. type: string
  18762. agoodsname:
  18763. description: 竞拍商品名称
  18764. type: string
  18765. amount:
  18766. description: 资金金额
  18767. type: number
  18768. amountadjusttype:
  18769. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  18770. type: integer
  18771. autoid:
  18772. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  18773. type: integer
  18774. balance:
  18775. description: 期初余额
  18776. type: number
  18777. businesscode:
  18778. description: 业务编号
  18779. type: integer
  18780. createtime:
  18781. description: 发生时间
  18782. type: string
  18783. currencyid:
  18784. description: 币种ID
  18785. type: integer
  18786. currentbalance:
  18787. description: 期末余额(变动后金额)
  18788. type: number
  18789. dgoodscode:
  18790. description: 交割商品代码
  18791. type: string
  18792. dgoodsname:
  18793. description: 交割商品名称
  18794. type: string
  18795. goodscode:
  18796. description: 商品代码
  18797. type: string
  18798. goodsid:
  18799. description: 商品ID
  18800. type: integer
  18801. goodsname:
  18802. description: 商品名称
  18803. type: string
  18804. histradedate:
  18805. description: 历史交易日
  18806. type: string
  18807. isvaliddata:
  18808. description: 是否有效 - 0:无效 1:有效
  18809. type: integer
  18810. marketid:
  18811. description: 市场ID
  18812. type: integer
  18813. marketname:
  18814. description: 市场名称
  18815. type: string
  18816. moneyticket:
  18817. description: 资金流水号:银行端流水号
  18818. type: integer
  18819. operatetype:
  18820. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  18821. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  18822. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  18823. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  18824. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  18825. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  18826. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  18827. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  18828. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  18829. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  18830. type: integer
  18831. relationorderid:
  18832. description: 关联单号
  18833. type: string
  18834. remark:
  18835. description: 备注
  18836. type: string
  18837. trademode:
  18838. description: 交易模式
  18839. type: integer
  18840. required:
  18841. - accountid
  18842. - amount
  18843. - amountadjusttype
  18844. - autoid
  18845. - balance
  18846. - createtime
  18847. - currentbalance
  18848. - histradedate
  18849. - operatetype
  18850. type: object
  18851. trade.QueryRecieptOrderRsp:
  18852. properties:
  18853. accountName:
  18854. description: 所属账号名称(已脱敏)
  18855. type: string
  18856. accountid:
  18857. description: 资金账号
  18858. type: integer
  18859. buyorsell:
  18860. description: 方向 - 0:买 1:卖
  18861. type: integer
  18862. enableqty:
  18863. description: 可摘数量
  18864. type: integer
  18865. goodscode:
  18866. description: 商品代码
  18867. type: string
  18868. goodsid:
  18869. description: 商品ID
  18870. type: integer
  18871. goodsname:
  18872. description: 商品名称
  18873. type: string
  18874. orderid:
  18875. description: 委托单号
  18876. type: string
  18877. orderprice:
  18878. description: 委托价格
  18879. type: number
  18880. ordertime:
  18881. description: 委托时间
  18882. type: string
  18883. tradedate:
  18884. description: 交易日(yyyyMMdd)
  18885. type: string
  18886. required:
  18887. - ordertime
  18888. type: object
  18889. user.LoginQueryRsp:
  18890. properties:
  18891. areaRoles:
  18892. description: 所属角色信息
  18893. items:
  18894. $ref: '#/definitions/models.Arearole'
  18895. type: array
  18896. externalExchanges:
  18897. description: 外部交易所
  18898. items:
  18899. $ref: '#/definitions/models.Externalexchange'
  18900. type: array
  18901. goodsgroups:
  18902. description: 商品组
  18903. items:
  18904. $ref: '#/definitions/models.Goodsgroup'
  18905. type: array
  18906. loginAccount:
  18907. $ref: '#/definitions/models.Loginaccount'
  18908. description: 登录账号
  18909. markets:
  18910. description: 市场
  18911. items:
  18912. $ref: '#/definitions/models.Market'
  18913. type: array
  18914. systemParams:
  18915. description: 系统参数
  18916. items:
  18917. $ref: '#/definitions/models.Systemparam'
  18918. type: array
  18919. userAccount:
  18920. $ref: '#/definitions/models.Useraccount'
  18921. description: 用户账号
  18922. userInfo:
  18923. $ref: '#/definitions/models.Userinfo'
  18924. description: 用户信息
  18925. username:
  18926. description: 用户姓名
  18927. type: string
  18928. type: object
  18929. info:
  18930. contact: {}
  18931. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  18932. termsOfService: http://www.muchinfo.cn
  18933. title: MTP2.0 查询服务 API
  18934. version: "1.0"
  18935. paths:
  18936. /CPTrade/QueryCPTradeMyBidInfos:
  18937. get:
  18938. parameters:
  18939. - description: 资金账户
  18940. in: query
  18941. name: accountid
  18942. required: true
  18943. type: integer
  18944. - description: 预售市场ID
  18945. in: query
  18946. name: marketid
  18947. type: integer
  18948. - description: 预售商品ID
  18949. in: query
  18950. name: goodsid
  18951. type: integer
  18952. produces:
  18953. - application/json
  18954. responses:
  18955. "200":
  18956. description: OK
  18957. schema:
  18958. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  18959. "500":
  18960. description: Internal Server Error
  18961. schema:
  18962. $ref: '#/definitions/app.Response'
  18963. security:
  18964. - ApiKeyAuth: []
  18965. summary: 查询产能预售我的出价信息
  18966. tags:
  18967. - 产能预售
  18968. /CPTrade/QueryCPTradeOrderDetail:
  18969. get:
  18970. parameters:
  18971. - description: 预售商品ID
  18972. in: query
  18973. name: goodsid
  18974. type: integer
  18975. - description: 预售市场ID
  18976. in: query
  18977. name: marketid
  18978. type: integer
  18979. - description: 预售商品ID列表 - 格式:1,2,3
  18980. in: query
  18981. name: goodsids
  18982. type: string
  18983. produces:
  18984. - application/json
  18985. responses:
  18986. "200":
  18987. description: OK
  18988. schema:
  18989. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  18990. "500":
  18991. description: Internal Server Error
  18992. schema:
  18993. $ref: '#/definitions/app.Response'
  18994. security:
  18995. - ApiKeyAuth: []
  18996. summary: 查询产能预售委托单信息
  18997. tags:
  18998. - 产能预售
  18999. /CPTrade/QueryMyCPTradeGoods:
  19000. get:
  19001. parameters:
  19002. - description: 资金账户
  19003. in: query
  19004. name: accountid
  19005. required: true
  19006. type: integer
  19007. produces:
  19008. - application/json
  19009. responses:
  19010. "200":
  19011. description: OK
  19012. schema:
  19013. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  19014. "500":
  19015. description: Internal Server Error
  19016. schema:
  19017. $ref: '#/definitions/app.Response'
  19018. security:
  19019. - ApiKeyAuth: []
  19020. summary: 查询我的预售信息
  19021. tags:
  19022. - 产能预售
  19023. /CPTrade/QueryPositionCancel:
  19024. get:
  19025. parameters:
  19026. - description: 账户ID
  19027. in: query
  19028. name: userid
  19029. required: true
  19030. type: integer
  19031. - description: 注销ID
  19032. in: query
  19033. name: cancelid
  19034. type: integer
  19035. - description: 资金账户ID
  19036. in: query
  19037. name: accountid
  19038. type: integer
  19039. produces:
  19040. - application/json
  19041. responses:
  19042. "200":
  19043. description: OK
  19044. schema:
  19045. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  19046. "500":
  19047. description: Internal Server Error
  19048. schema:
  19049. $ref: '#/definitions/app.Response'
  19050. security:
  19051. - ApiKeyAuth: []
  19052. summary: 查询远期订单注销申请信息
  19053. tags:
  19054. - 产能预售
  19055. /CPTrade/QueryPreasleApply:
  19056. get:
  19057. parameters:
  19058. - description: 账户ID
  19059. in: query
  19060. name: userid
  19061. required: true
  19062. type: integer
  19063. - description: 申请ID
  19064. in: query
  19065. name: applyid
  19066. type: integer
  19067. - description: 资金账户ID
  19068. in: query
  19069. name: accountid
  19070. type: integer
  19071. produces:
  19072. - application/json
  19073. responses:
  19074. "200":
  19075. description: OK
  19076. schema:
  19077. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  19078. "500":
  19079. description: Internal Server Error
  19080. schema:
  19081. $ref: '#/definitions/app.Response'
  19082. security:
  19083. - ApiKeyAuth: []
  19084. summary: 查询产能预售申请信息
  19085. tags:
  19086. - 产能预售
  19087. /CPTrade/QueryPresaleGoodsEx:
  19088. get:
  19089. parameters:
  19090. - description: 预售商品ID
  19091. in: query
  19092. name: goodsid
  19093. type: integer
  19094. - description: 预售市场ID
  19095. in: query
  19096. name: marketid
  19097. type: integer
  19098. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  19099. in: query
  19100. name: presalemode
  19101. type: integer
  19102. - description: 预售商品ID列表 - 格式:1,2,3
  19103. in: query
  19104. name: goodsids
  19105. type: string
  19106. - description: 预售商品代码
  19107. in: query
  19108. name: goodscode
  19109. type: string
  19110. produces:
  19111. - application/json
  19112. responses:
  19113. "200":
  19114. description: OK
  19115. schema:
  19116. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  19117. "500":
  19118. description: Internal Server Error
  19119. schema:
  19120. $ref: '#/definitions/app.Response'
  19121. security:
  19122. - ApiKeyAuth: []
  19123. summary: 查询产能预售商品扩展信息
  19124. tags:
  19125. - 产能预售
  19126. /CPTrade/QueryUserGoodsData:
  19127. get:
  19128. parameters:
  19129. - description: 资金账户ID
  19130. in: query
  19131. name: accountid
  19132. required: true
  19133. type: integer
  19134. produces:
  19135. - application/json
  19136. responses:
  19137. "200":
  19138. description: OK
  19139. schema:
  19140. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  19141. "500":
  19142. description: Internal Server Error
  19143. schema:
  19144. $ref: '#/definitions/app.Response'
  19145. security:
  19146. - ApiKeyAuth: []
  19147. summary: 查询远期订单信息
  19148. tags:
  19149. - 产能预售
  19150. /Common/DeleteNewFuncmenu:
  19151. delete:
  19152. consumes:
  19153. - application/json
  19154. parameters:
  19155. - description: 菜单表数据,只需要resourcecode字段即可
  19156. in: body
  19157. name: data
  19158. required: true
  19159. schema:
  19160. $ref: '#/definitions/models.NewFuncmenulist'
  19161. produces:
  19162. - application/json
  19163. responses:
  19164. "200":
  19165. description: OK
  19166. schema:
  19167. $ref: '#/definitions/app.Response'
  19168. "500":
  19169. description: Internal Server Error
  19170. schema:
  19171. $ref: '#/definitions/app.Response'
  19172. security:
  19173. - ApiKeyAuth: []
  19174. summary: 删除菜单表数据
  19175. tags:
  19176. - 通用服务
  19177. /Common/FindNewFuncmenu:
  19178. get:
  19179. parameters:
  19180. - description: 资源代码
  19181. in: query
  19182. name: resourcecode
  19183. type: string
  19184. - description: 上级资源代码
  19185. in: query
  19186. name: parentcode
  19187. type: string
  19188. - description: 资源名(Title), 模糊查询
  19189. in: query
  19190. name: resourcename
  19191. type: string
  19192. - description: 菜单类型(格式:1,2,3) - 1:管理端 2:PC(C#) 3:移动(云平台) 4:终端(交易所) 5:PC(云平台)
  19193. in: query
  19194. name: menutype
  19195. type: string
  19196. produces:
  19197. - application/json
  19198. responses:
  19199. "200":
  19200. description: OK
  19201. schema:
  19202. items:
  19203. $ref: '#/definitions/models.NewFuncmenulist'
  19204. type: array
  19205. "500":
  19206. description: Internal Server Error
  19207. schema:
  19208. $ref: '#/definitions/app.Response'
  19209. security:
  19210. - ApiKeyAuth: []
  19211. summary: 获取菜单表数据
  19212. tags:
  19213. - 通用服务
  19214. /Common/GetAllEnums:
  19215. get:
  19216. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  19217. parameters:
  19218. - description: 起始自增ID
  19219. in: query
  19220. name: autoid
  19221. type: integer
  19222. produces:
  19223. - application/json
  19224. responses:
  19225. "200":
  19226. description: OK
  19227. schema:
  19228. $ref: '#/definitions/models.Enumdicitem'
  19229. "500":
  19230. description: Internal Server Error
  19231. schema:
  19232. $ref: '#/definitions/app.Response'
  19233. summary: 获取所有枚举信息
  19234. tags:
  19235. - 通用服务
  19236. /Common/GetClientMenus:
  19237. get:
  19238. parameters:
  19239. - description: 登录账号
  19240. in: query
  19241. name: loginID
  19242. required: true
  19243. type: integer
  19244. - description: 终端类型,0:PCWEB 1:Mobile,不传默认返回PC端数据
  19245. in: query
  19246. name: clientType
  19247. type: integer
  19248. - description: 分支名称,ermcp-风管云平台;pingan-平安期货;trader-交易所;不传默认返回风管云平台
  19249. in: query
  19250. name: name
  19251. type: string
  19252. produces:
  19253. - application/json
  19254. responses:
  19255. "200":
  19256. description: OK
  19257. schema:
  19258. items:
  19259. $ref: '#/definitions/common.ClientMenu'
  19260. type: array
  19261. "500":
  19262. description: Internal Server Error
  19263. schema:
  19264. $ref: '#/definitions/app.Response'
  19265. security:
  19266. - ApiKeyAuth: []
  19267. summary: 获取交易端菜单
  19268. tags:
  19269. - 通用服务
  19270. /Common/GetClientNewFuncmenu:
  19271. get:
  19272. parameters:
  19273. - description: 登录账号
  19274. in: query
  19275. name: loginid
  19276. required: true
  19277. type: integer
  19278. - description: 菜单类型 - 1:管理端 2:PC(C#) 3:移动(云平台) 4:终端(交易所) 5:PC(云平台)
  19279. in: query
  19280. name: menutype
  19281. required: true
  19282. type: integer
  19283. produces:
  19284. - application/json
  19285. responses:
  19286. "200":
  19287. description: OK
  19288. schema:
  19289. items:
  19290. $ref: '#/definitions/models.NewFuncmenulist'
  19291. type: array
  19292. "500":
  19293. description: Internal Server Error
  19294. schema:
  19295. $ref: '#/definitions/app.Response'
  19296. security:
  19297. - ApiKeyAuth: []
  19298. summary: 获取终端菜单
  19299. tags:
  19300. - 通用服务
  19301. /Common/GetDivisions:
  19302. get:
  19303. produces:
  19304. - application/json
  19305. responses:
  19306. "200":
  19307. description: OK
  19308. schema:
  19309. $ref: '#/definitions/models.Division'
  19310. "500":
  19311. description: Internal Server Error
  19312. schema:
  19313. $ref: '#/definitions/app.Response'
  19314. summary: 查询区域信息
  19315. tags:
  19316. - 通用服务
  19317. /Common/GetPCWebMenus:
  19318. get:
  19319. parameters:
  19320. - description: 登录账号
  19321. in: query
  19322. name: loginID
  19323. required: true
  19324. type: integer
  19325. - description: 分支名称,ermcp:风管云平台,不传默认返回ermcp
  19326. in: query
  19327. name: name
  19328. type: string
  19329. produces:
  19330. - application/json
  19331. responses:
  19332. "200":
  19333. description: OK
  19334. schema:
  19335. items:
  19336. $ref: '#/definitions/common.PCWebMenu'
  19337. type: array
  19338. "500":
  19339. description: Internal Server Error
  19340. schema:
  19341. $ref: '#/definitions/app.Response'
  19342. security:
  19343. - ApiKeyAuth: []
  19344. summary: 获取PCWeb交易端菜单
  19345. tags:
  19346. - 通用服务
  19347. /Common/GetServerTime:
  19348. get:
  19349. produces:
  19350. - application/json
  19351. responses:
  19352. "200":
  19353. description: OK
  19354. schema:
  19355. $ref: '#/definitions/app.Response'
  19356. "500":
  19357. description: Internal Server Error
  19358. schema:
  19359. $ref: '#/definitions/app.Response'
  19360. summary: 获取服务器时间
  19361. tags:
  19362. - 通用服务
  19363. /Common/InsertNewFuncmenu:
  19364. post:
  19365. consumes:
  19366. - application/json
  19367. parameters:
  19368. - description: 菜单表数据
  19369. in: body
  19370. name: data
  19371. required: true
  19372. schema:
  19373. $ref: '#/definitions/models.NewFuncmenulist'
  19374. produces:
  19375. - application/json
  19376. responses:
  19377. "200":
  19378. description: OK
  19379. schema:
  19380. $ref: '#/definitions/app.Response'
  19381. "500":
  19382. description: Internal Server Error
  19383. schema:
  19384. $ref: '#/definitions/app.Response'
  19385. security:
  19386. - ApiKeyAuth: []
  19387. summary: 插入菜单表数据
  19388. tags:
  19389. - 通用服务
  19390. /Common/NoticeReaded:
  19391. post:
  19392. parameters:
  19393. - description: 登录账号
  19394. in: query
  19395. name: loginID
  19396. required: true
  19397. type: integer
  19398. - description: 通知公告ID
  19399. in: query
  19400. name: noticeID
  19401. required: true
  19402. type: integer
  19403. produces:
  19404. - application/json
  19405. responses:
  19406. "200":
  19407. description: OK
  19408. schema:
  19409. $ref: '#/definitions/app.Response'
  19410. "500":
  19411. description: Internal Server Error
  19412. schema:
  19413. $ref: '#/definitions/app.Response'
  19414. security:
  19415. - ApiKeyAuth: []
  19416. summary: 通知公告设置已读请求
  19417. tags:
  19418. - 通用服务
  19419. /Common/QueryErrorInfos:
  19420. get:
  19421. description: 如果传入rowNumber,则返回此rowNumber后的数据
  19422. parameters:
  19423. - description: 起始行号前索引
  19424. in: query
  19425. name: rowNumber
  19426. type: string
  19427. produces:
  19428. - application/json
  19429. responses:
  19430. "200":
  19431. description: OK
  19432. schema:
  19433. $ref: '#/definitions/models.QueryErrorInfosRsp'
  19434. "500":
  19435. description: Internal Server Error
  19436. schema:
  19437. $ref: '#/definitions/app.Response'
  19438. summary: 获取数据库错误信息
  19439. tags:
  19440. - 通用服务
  19441. /Common/QueryImageConfigs:
  19442. get:
  19443. parameters:
  19444. - description: 用户id
  19445. in: query
  19446. name: userId
  19447. type: integer
  19448. - description: 类型 - 1:App首页轮播 2:我的 3:首页(PC) 4:首页推广(移动-新会)
  19449. in: query
  19450. name: imageType
  19451. type: integer
  19452. produces:
  19453. - application/json
  19454. responses:
  19455. "200":
  19456. description: OK
  19457. schema:
  19458. $ref: '#/definitions/common.QueryImageConfigsRsp'
  19459. "500":
  19460. description: Internal Server Error
  19461. schema:
  19462. $ref: '#/definitions/app.Response'
  19463. summary: 查询轮播图配置信息
  19464. tags:
  19465. - 通用服务
  19466. /Common/QueryNotice:
  19467. get:
  19468. parameters:
  19469. - description: 页码
  19470. in: query
  19471. name: page
  19472. type: integer
  19473. - description: 每页条数
  19474. in: query
  19475. name: pagesize
  19476. type: integer
  19477. - description: 登录账号
  19478. in: query
  19479. name: loginID
  19480. required: true
  19481. type: integer
  19482. - description: 消息类型 - 1:公告通知 2:系统消息
  19483. in: query
  19484. name: msgType
  19485. type: integer
  19486. - description: 是否只获取未读信息
  19487. in: query
  19488. name: onlyUnRead
  19489. type: boolean
  19490. - description: 自增ID,传入后会返回这个ID后面的记录
  19491. in: query
  19492. name: lastID
  19493. type: integer
  19494. produces:
  19495. - application/json
  19496. responses:
  19497. "200":
  19498. description: OK
  19499. schema:
  19500. $ref: '#/definitions/common.QueryNoticeRsp'
  19501. "500":
  19502. description: Internal Server Error
  19503. schema:
  19504. $ref: '#/definitions/app.Response'
  19505. security:
  19506. - ApiKeyAuth: []
  19507. summary: 通知公告系统消息查询
  19508. tags:
  19509. - 通用服务
  19510. /Common/QueryProvincesAndCities:
  19511. get:
  19512. parameters:
  19513. - description: 省ID
  19514. in: query
  19515. name: provinceID
  19516. type: integer
  19517. produces:
  19518. - application/json
  19519. responses:
  19520. "200":
  19521. description: OK
  19522. schema:
  19523. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  19524. "500":
  19525. description: Internal Server Error
  19526. schema:
  19527. $ref: '#/definitions/app.Response'
  19528. summary: 查询省市信息(不包括区)
  19529. tags:
  19530. - 通用服务
  19531. /Common/QueryRates:
  19532. get:
  19533. parameters:
  19534. - description: 页码
  19535. in: query
  19536. name: page
  19537. type: integer
  19538. - description: 每页条数
  19539. in: query
  19540. name: pagesize
  19541. type: integer
  19542. - description: 源币种ID
  19543. in: query
  19544. name: oricurrencyid
  19545. type: integer
  19546. - description: 目标币种ID
  19547. in: query
  19548. name: descurrencyid
  19549. type: integer
  19550. produces:
  19551. - application/json
  19552. responses:
  19553. "200":
  19554. description: OK
  19555. schema:
  19556. items:
  19557. $ref: '#/definitions/models.Exchangerateconfig'
  19558. type: array
  19559. "500":
  19560. description: Internal Server Error
  19561. schema:
  19562. $ref: '#/definitions/app.Response'
  19563. security:
  19564. - ApiKeyAuth: []
  19565. - LoginID: []
  19566. - Group: []
  19567. summary: 查询汇率信息
  19568. tags:
  19569. - 通用服务
  19570. /Common/QueryTableDefine:
  19571. get:
  19572. parameters:
  19573. - description: 表key
  19574. in: query
  19575. name: tableKey
  19576. type: string
  19577. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  19578. in: query
  19579. name: tableType
  19580. type: integer
  19581. produces:
  19582. - application/json
  19583. responses:
  19584. "200":
  19585. description: OK
  19586. schema:
  19587. $ref: '#/definitions/common.QueryTableDefineRsp'
  19588. "500":
  19589. description: Internal Server Error
  19590. schema:
  19591. $ref: '#/definitions/app.Response'
  19592. summary: 查询交易端列表头信息
  19593. tags:
  19594. - 通用服务
  19595. /Common/QueryTraderMenu:
  19596. get:
  19597. parameters:
  19598. - description: 登录账号
  19599. in: query
  19600. name: loginid
  19601. required: true
  19602. type: integer
  19603. produces:
  19604. - application/json
  19605. responses:
  19606. "200":
  19607. description: OK
  19608. schema:
  19609. $ref: '#/definitions/common.QueryTraderMenuRsp'
  19610. "500":
  19611. description: Internal Server Error
  19612. schema:
  19613. $ref: '#/definitions/app.Response'
  19614. summary: 查询交易端菜单
  19615. tags:
  19616. - 通用服务
  19617. /Common/UpdateNewFuncmenu:
  19618. put:
  19619. consumes:
  19620. - application/json
  19621. parameters:
  19622. - description: 菜单表数据
  19623. in: body
  19624. name: data
  19625. required: true
  19626. schema:
  19627. $ref: '#/definitions/models.NewFuncmenulist'
  19628. produces:
  19629. - application/json
  19630. responses:
  19631. "200":
  19632. description: OK
  19633. schema:
  19634. $ref: '#/definitions/app.Response'
  19635. "500":
  19636. description: Internal Server Error
  19637. schema:
  19638. $ref: '#/definitions/app.Response'
  19639. security:
  19640. - ApiKeyAuth: []
  19641. summary: 更新菜单表数据
  19642. tags:
  19643. - 通用服务
  19644. /Delivery/QueryDeliveryRelation:
  19645. get:
  19646. parameters:
  19647. - description: 商品ID
  19648. in: query
  19649. name: goodsid
  19650. type: integer
  19651. - description: 品种ID
  19652. in: query
  19653. name: deliverygoodsid
  19654. type: integer
  19655. - description: 市场ID
  19656. in: query
  19657. name: marketid
  19658. type: integer
  19659. produces:
  19660. - application/json
  19661. responses:
  19662. "200":
  19663. description: OK
  19664. schema:
  19665. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  19666. "500":
  19667. description: Internal Server Error
  19668. schema:
  19669. $ref: '#/definitions/app.Response'
  19670. security:
  19671. - ApiKeyAuth: []
  19672. summary: 查询商品交割关系表
  19673. tags:
  19674. - 交割服务
  19675. /Ermcp/GetErmcpGoods:
  19676. get:
  19677. parameters:
  19678. - description: 用户id(风管云平台版本传值, 只显示用户下设置了套保关联的品种)
  19679. in: query
  19680. name: userid
  19681. type: integer
  19682. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  19683. in: query
  19684. name: lastUpdateTime
  19685. type: string
  19686. produces:
  19687. - application/json
  19688. responses:
  19689. "200":
  19690. description: OK
  19691. schema:
  19692. $ref: '#/definitions/models.ErmcpGoods'
  19693. "500":
  19694. description: Internal Server Error
  19695. schema:
  19696. $ref: '#/definitions/app.Response'
  19697. security:
  19698. - ApiKeyAuth: []
  19699. summary: 查询企业风管期货商品信息
  19700. tags:
  19701. - 企业风险管理(app)
  19702. /Ermcp/GetErmcpGoodsSortByPosition:
  19703. get:
  19704. parameters:
  19705. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  19706. in: query
  19707. name: sortIndex
  19708. type: string
  19709. produces:
  19710. - application/json
  19711. responses:
  19712. "200":
  19713. description: OK
  19714. schema:
  19715. $ref: '#/definitions/models.Goodssortbypreposition'
  19716. "500":
  19717. description: Internal Server Error
  19718. schema:
  19719. $ref: '#/definitions/app.Response'
  19720. security:
  19721. - ApiKeyAuth: []
  19722. summary: 查询企业风管期货主力、次主力商品信息
  19723. tags:
  19724. - 企业风险管理(app)
  19725. /Ermcp/GetErmcpOutAccountStatus:
  19726. get:
  19727. parameters:
  19728. - description: 登录账号
  19729. in: query
  19730. name: loginID
  19731. required: true
  19732. type: integer
  19733. produces:
  19734. - application/json
  19735. responses:
  19736. "200":
  19737. description: OK
  19738. schema:
  19739. $ref: '#/definitions/models.Hedgemarketopenlog'
  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/GetErmcpRoleFuncMenuLists:
  19750. get:
  19751. parameters:
  19752. - description: 登录账号
  19753. in: query
  19754. name: loginID
  19755. required: true
  19756. type: integer
  19757. produces:
  19758. - application/json
  19759. responses:
  19760. "200":
  19761. description: OK
  19762. schema:
  19763. $ref: '#/definitions/models.Funcmenulist'
  19764. "500":
  19765. description: Internal Server Error
  19766. schema:
  19767. $ref: '#/definitions/app.Response'
  19768. security:
  19769. - ApiKeyAuth: []
  19770. summary: 获取企业风管终端权限
  19771. tags:
  19772. - 企业风险管理(app)
  19773. /Ermcp/QueryAccMgrBizGroupSet:
  19774. get:
  19775. parameters:
  19776. - description: 用户ID
  19777. in: query
  19778. name: userid
  19779. required: true
  19780. type: integer
  19781. - description: 现货商品id
  19782. in: query
  19783. name: deliverygoodsid
  19784. type: integer
  19785. produces:
  19786. - application/json
  19787. responses:
  19788. "200":
  19789. description: OK
  19790. schema:
  19791. items:
  19792. $ref: '#/definitions/models.ErmcpBizGroupEx'
  19793. type: array
  19794. "500":
  19795. description: Internal Server Error
  19796. schema:
  19797. $ref: '#/definitions/app.Response'
  19798. security:
  19799. - ApiKeyAuth: []
  19800. summary: 查询业务类型分组(账户管理/账户设置)
  19801. tags:
  19802. - 企业风险管理(app)
  19803. /Ermcp/QueryAccMgrLoginUser:
  19804. get:
  19805. parameters:
  19806. - description: 用户ID
  19807. in: query
  19808. name: userid
  19809. required: true
  19810. type: integer
  19811. - description: 用户类型 2-机构 7-企业成员
  19812. in: query
  19813. name: usertype
  19814. type: integer
  19815. - description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  19816. in: query
  19817. name: querytype
  19818. required: true
  19819. type: integer
  19820. produces:
  19821. - application/json
  19822. responses:
  19823. "200":
  19824. description: OK
  19825. schema:
  19826. items:
  19827. $ref: '#/definitions/models.ErmcpLoginUserEx'
  19828. type: array
  19829. "500":
  19830. description: Internal Server Error
  19831. schema:
  19832. $ref: '#/definitions/app.Response'
  19833. security:
  19834. - ApiKeyAuth: []
  19835. summary: 查询账户管理登录账号(账户管理/登录账号)
  19836. tags:
  19837. - 企业风险管理(app)
  19838. /Ermcp/QueryAccMgrMainAccountInfo:
  19839. get:
  19840. parameters:
  19841. - description: 用户ID
  19842. in: query
  19843. name: userid
  19844. type: integer
  19845. - description: 主账号id
  19846. in: query
  19847. name: accountid
  19848. type: integer
  19849. produces:
  19850. - application/json
  19851. responses:
  19852. "200":
  19853. description: OK
  19854. schema:
  19855. items:
  19856. $ref: '#/definitions/models.MainAccountInfo'
  19857. type: array
  19858. "500":
  19859. description: Internal Server Error
  19860. schema:
  19861. $ref: '#/definitions/app.Response'
  19862. security:
  19863. - ApiKeyAuth: []
  19864. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  19865. tags:
  19866. - 企业风险管理(app)
  19867. /Ermcp/QueryAccMgrRole:
  19868. get:
  19869. parameters:
  19870. - description: 用户ID
  19871. in: query
  19872. name: userid
  19873. required: true
  19874. type: integer
  19875. produces:
  19876. - application/json
  19877. responses:
  19878. "200":
  19879. description: OK
  19880. schema:
  19881. items:
  19882. $ref: '#/definitions/models.ErmcpRole'
  19883. type: array
  19884. "500":
  19885. description: Internal Server Error
  19886. schema:
  19887. $ref: '#/definitions/app.Response'
  19888. security:
  19889. - ApiKeyAuth: []
  19890. summary: 查询账户管理角色设置(账户管理/角色设置)
  19891. tags:
  19892. - 企业风险管理(app)
  19893. /Ermcp/QueryAccMgrRoleMenu:
  19894. get:
  19895. parameters:
  19896. - description: 用户ID
  19897. in: query
  19898. name: userid
  19899. required: true
  19900. type: integer
  19901. - description: 角色id(可多个,逗号隔开)
  19902. in: query
  19903. name: roleid
  19904. type: string
  19905. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易 ps:新加的参数,为了兼容以前,不传则默认查3
  19906. in: query
  19907. name: menutype
  19908. type: integer
  19909. produces:
  19910. - application/json
  19911. responses:
  19912. "200":
  19913. description: OK
  19914. schema:
  19915. items:
  19916. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  19917. type: array
  19918. "500":
  19919. description: Internal Server Error
  19920. schema:
  19921. $ref: '#/definitions/app.Response'
  19922. security:
  19923. - ApiKeyAuth: []
  19924. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  19925. tags:
  19926. - 企业风险管理(app)
  19927. /Ermcp/QueryAccMgrTaAccountInfo:
  19928. get:
  19929. parameters:
  19930. - description: 用户ID
  19931. in: query
  19932. name: userid
  19933. required: true
  19934. type: integer
  19935. - description: 账号id
  19936. in: query
  19937. name: accountid
  19938. type: integer
  19939. produces:
  19940. - application/json
  19941. responses:
  19942. "200":
  19943. description: OK
  19944. schema:
  19945. items:
  19946. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  19947. type: array
  19948. "500":
  19949. description: Internal Server Error
  19950. schema:
  19951. $ref: '#/definitions/app.Response'
  19952. security:
  19953. - ApiKeyAuth: []
  19954. summary: 查询账户管理授信(账户管理/账户设置/授信)
  19955. tags:
  19956. - 企业风险管理(app)
  19957. /Ermcp/QueryAccMgrTaaccount:
  19958. get:
  19959. parameters:
  19960. - description: 用户ID
  19961. in: query
  19962. name: userid
  19963. required: true
  19964. type: integer
  19965. produces:
  19966. - application/json
  19967. responses:
  19968. "200":
  19969. description: OK
  19970. schema:
  19971. items:
  19972. $ref: '#/definitions/models.ErmcpTaAccountEx'
  19973. type: array
  19974. "500":
  19975. description: Internal Server Error
  19976. schema:
  19977. $ref: '#/definitions/app.Response'
  19978. security:
  19979. - ApiKeyAuth: []
  19980. summary: 查询账户管理期货账号(账户管理/期货账号)
  19981. tags:
  19982. - 企业风险管理(app)
  19983. /Ermcp/QueryAvaildGoodsGroup:
  19984. get:
  19985. parameters:
  19986. - description: 所属机构ID
  19987. in: query
  19988. name: userid
  19989. required: true
  19990. type: integer
  19991. produces:
  19992. - application/json
  19993. responses:
  19994. "200":
  19995. description: OK
  19996. schema:
  19997. items:
  19998. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  19999. type: array
  20000. "500":
  20001. description: Internal Server Error
  20002. schema:
  20003. $ref: '#/definitions/app.Response'
  20004. security:
  20005. - ApiKeyAuth: []
  20006. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  20007. tags:
  20008. - 企业风险管理(app)
  20009. /Ermcp/QueryBusinessDj:
  20010. get:
  20011. parameters:
  20012. - description: 用户ID
  20013. in: query
  20014. name: UserId
  20015. required: true
  20016. type: integer
  20017. - description: 用户类型 2-机构 7-企业成员
  20018. in: query
  20019. name: usertype
  20020. type: integer
  20021. - description: 现货合同ID, 不填则查所有
  20022. in: query
  20023. name: relatedid
  20024. type: string
  20025. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20026. in: query
  20027. name: applystatus
  20028. type: string
  20029. produces:
  20030. - application/json
  20031. responses:
  20032. "200":
  20033. description: OK
  20034. schema:
  20035. items:
  20036. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  20037. type: array
  20038. "500":
  20039. description: Internal Server Error
  20040. schema:
  20041. $ref: '#/definitions/app.Response'
  20042. security:
  20043. - ApiKeyAuth: []
  20044. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  20045. tags:
  20046. - 企业风险管理(app)
  20047. /Ermcp/QueryBusinessFp:
  20048. get:
  20049. parameters:
  20050. - description: 用户ID
  20051. in: query
  20052. name: UserId
  20053. required: true
  20054. type: integer
  20055. - description: 用户类型 2-机构 7-企业成员
  20056. in: query
  20057. name: usertype
  20058. type: integer
  20059. - description: 现货合同ID, 不填则查所有
  20060. in: query
  20061. name: relatedid
  20062. type: string
  20063. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20064. in: query
  20065. name: applystatus
  20066. type: string
  20067. produces:
  20068. - application/json
  20069. responses:
  20070. "200":
  20071. description: OK
  20072. schema:
  20073. items:
  20074. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  20075. type: array
  20076. "500":
  20077. description: Internal Server Error
  20078. schema:
  20079. $ref: '#/definitions/app.Response'
  20080. security:
  20081. - ApiKeyAuth: []
  20082. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  20083. tags:
  20084. - 企业风险管理(app)
  20085. /Ermcp/QueryBusinessJs:
  20086. get:
  20087. parameters:
  20088. - description: 用户ID
  20089. in: query
  20090. name: UserId
  20091. required: true
  20092. type: integer
  20093. - description: 用户类型 2-机构 7-企业成员
  20094. in: query
  20095. name: usertype
  20096. type: integer
  20097. - description: 现货合同ID, 不填则查所有
  20098. in: query
  20099. name: relatedid
  20100. type: string
  20101. - description: 操作申请id
  20102. in: query
  20103. name: operateapplyid
  20104. type: string
  20105. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20106. in: query
  20107. name: applystatus
  20108. type: string
  20109. produces:
  20110. - application/json
  20111. responses:
  20112. "200":
  20113. description: OK
  20114. schema:
  20115. items:
  20116. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  20117. type: array
  20118. "500":
  20119. description: Internal Server Error
  20120. schema:
  20121. $ref: '#/definitions/app.Response'
  20122. security:
  20123. - ApiKeyAuth: []
  20124. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  20125. tags:
  20126. - 企业风险管理(app)
  20127. /Ermcp/QueryBusinessJsEx:
  20128. get:
  20129. parameters:
  20130. - description: 用户ID
  20131. in: query
  20132. name: UserId
  20133. required: true
  20134. type: integer
  20135. - description: 用户类型 2-机构 7-企业成员
  20136. in: query
  20137. name: usertype
  20138. type: integer
  20139. - description: 现货合同ID, 不填则查所有
  20140. in: query
  20141. name: relatedid
  20142. type: string
  20143. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20144. in: query
  20145. name: applystatus
  20146. type: string
  20147. produces:
  20148. - application/json
  20149. responses:
  20150. "200":
  20151. description: OK
  20152. schema:
  20153. items:
  20154. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  20155. type: array
  20156. "500":
  20157. description: Internal Server Error
  20158. schema:
  20159. $ref: '#/definitions/app.Response'
  20160. security:
  20161. - ApiKeyAuth: []
  20162. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  20163. tags:
  20164. - 企业风险管理(app)
  20165. /Ermcp/QueryBusinessKx:
  20166. get:
  20167. parameters:
  20168. - description: 用户ID
  20169. in: query
  20170. name: UserId
  20171. required: true
  20172. type: integer
  20173. - description: 用户类型 2-机构 7-企业成员
  20174. in: query
  20175. name: usertype
  20176. type: integer
  20177. - description: 现货合同ID, 不填则查所有
  20178. in: query
  20179. name: relatedid
  20180. type: string
  20181. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20182. in: query
  20183. name: applystatus
  20184. type: string
  20185. produces:
  20186. - application/json
  20187. responses:
  20188. "200":
  20189. description: OK
  20190. schema:
  20191. items:
  20192. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  20193. type: array
  20194. "500":
  20195. description: Internal Server Error
  20196. schema:
  20197. $ref: '#/definitions/app.Response'
  20198. security:
  20199. - ApiKeyAuth: []
  20200. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  20201. tags:
  20202. - 企业风险管理(app)
  20203. /Ermcp/QueryChangeLog:
  20204. get:
  20205. parameters:
  20206. - description: 合同ID
  20207. in: query
  20208. name: RelatedId
  20209. required: true
  20210. type: string
  20211. produces:
  20212. - application/json
  20213. responses:
  20214. "200":
  20215. description: OK
  20216. schema:
  20217. items:
  20218. $ref: '#/definitions/ermcp.QryOPLogRsp'
  20219. type: array
  20220. "500":
  20221. description: Internal Server Error
  20222. schema:
  20223. $ref: '#/definitions/app.Response'
  20224. security:
  20225. - ApiKeyAuth: []
  20226. summary: 查询变更记录
  20227. tags:
  20228. - 企业风险管理(app)
  20229. /Ermcp/QueryErmcpHisOrderDetails:
  20230. get:
  20231. parameters:
  20232. - description: 资金账户ID
  20233. in: query
  20234. name: accountID
  20235. required: true
  20236. type: integer
  20237. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  20238. in: query
  20239. name: startDate
  20240. type: string
  20241. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  20242. in: query
  20243. name: endDate
  20244. type: string
  20245. produces:
  20246. - application/json
  20247. responses:
  20248. "200":
  20249. description: OK
  20250. schema:
  20251. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  20252. "500":
  20253. description: Internal Server Error
  20254. schema:
  20255. $ref: '#/definitions/app.Response'
  20256. security:
  20257. - ApiKeyAuth: []
  20258. summary: 获取企业风管期货历史委托单信息
  20259. tags:
  20260. - 企业风险管理(app)
  20261. /Ermcp/QueryErmcpHisTradeDetails:
  20262. get:
  20263. parameters:
  20264. - description: 资金账户ID
  20265. in: query
  20266. name: accountID
  20267. required: true
  20268. type: integer
  20269. - description: 商品ID
  20270. in: query
  20271. name: goodsID
  20272. type: integer
  20273. - description: 买卖方向,0:买 1:卖
  20274. in: query
  20275. name: buyOrSell
  20276. type: integer
  20277. - description: 关联委托单号
  20278. in: query
  20279. name: orderID
  20280. type: integer
  20281. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  20282. in: query
  20283. name: startDate
  20284. type: string
  20285. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  20286. in: query
  20287. name: endDate
  20288. type: string
  20289. produces:
  20290. - application/json
  20291. responses:
  20292. "200":
  20293. description: OK
  20294. schema:
  20295. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  20296. "500":
  20297. description: Internal Server Error
  20298. schema:
  20299. $ref: '#/definitions/app.Response'
  20300. security:
  20301. - ApiKeyAuth: []
  20302. summary: 获取企业风管期货历史成交单信息
  20303. tags:
  20304. - 企业风险管理(app)
  20305. /Ermcp/QueryErmcpInnerHolderDetails:
  20306. get:
  20307. parameters:
  20308. - description: 资金账户ID
  20309. in: query
  20310. name: accountID
  20311. required: true
  20312. type: integer
  20313. - description: 商品ID
  20314. in: query
  20315. name: goodsID
  20316. type: integer
  20317. - description: 买卖方向,0:买 1:卖
  20318. in: query
  20319. name: buyOrSell
  20320. type: integer
  20321. produces:
  20322. - application/json
  20323. responses:
  20324. "200":
  20325. description: OK
  20326. schema:
  20327. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  20328. "500":
  20329. description: Internal Server Error
  20330. schema:
  20331. $ref: '#/definitions/app.Response'
  20332. security:
  20333. - ApiKeyAuth: []
  20334. summary: 获取企业风管期货内部持仓单信息
  20335. tags:
  20336. - 企业风险管理(app)
  20337. /Ermcp/QueryErmcpOrderDetails:
  20338. get:
  20339. parameters:
  20340. - description: 资金账户ID
  20341. in: query
  20342. name: accountID
  20343. required: true
  20344. type: integer
  20345. produces:
  20346. - application/json
  20347. responses:
  20348. "200":
  20349. description: OK
  20350. schema:
  20351. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  20352. "500":
  20353. description: Internal Server Error
  20354. schema:
  20355. $ref: '#/definitions/app.Response'
  20356. security:
  20357. - ApiKeyAuth: []
  20358. summary: 获取企业风管期货委托单信息
  20359. tags:
  20360. - 企业风险管理(app)
  20361. /Ermcp/QueryErmcpTradeDetails:
  20362. get:
  20363. parameters:
  20364. - description: 资金账户ID
  20365. in: query
  20366. name: accountID
  20367. required: true
  20368. type: integer
  20369. - description: 商品ID
  20370. in: query
  20371. name: goodsID
  20372. type: integer
  20373. - description: 买卖方向,0:买 1:卖
  20374. in: query
  20375. name: buyOrSell
  20376. type: integer
  20377. - description: 关联委托单号
  20378. in: query
  20379. name: orderID
  20380. type: integer
  20381. produces:
  20382. - application/json
  20383. responses:
  20384. "200":
  20385. description: OK
  20386. schema:
  20387. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  20388. "500":
  20389. description: Internal Server Error
  20390. schema:
  20391. $ref: '#/definitions/app.Response'
  20392. security:
  20393. - ApiKeyAuth: []
  20394. summary: 获取企业风管期货成交单信息
  20395. tags:
  20396. - 企业风险管理(app)
  20397. /Ermcp/QueryErmcpTradePosition:
  20398. get:
  20399. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  20400. parameters:
  20401. - description: 资金账户ID
  20402. in: query
  20403. name: accountID
  20404. required: true
  20405. type: integer
  20406. - description: 所属市场ID
  20407. in: query
  20408. name: marketID
  20409. type: integer
  20410. produces:
  20411. - application/json
  20412. responses:
  20413. "200":
  20414. description: OK
  20415. schema:
  20416. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  20417. "500":
  20418. description: Internal Server Error
  20419. schema:
  20420. $ref: '#/definitions/app.Response'
  20421. security:
  20422. - ApiKeyAuth: []
  20423. summary: 获取企业风管期货持仓头寸信息
  20424. tags:
  20425. - 企业风险管理(app)
  20426. /Ermcp/QueryExposureDetail:
  20427. get:
  20428. parameters:
  20429. - description: 所属机构ID
  20430. in: query
  20431. name: areaUserId
  20432. required: true
  20433. type: integer
  20434. - description: 套保商品
  20435. in: query
  20436. name: middleGoodsId
  20437. required: true
  20438. type: integer
  20439. produces:
  20440. - application/json
  20441. responses:
  20442. "200":
  20443. description: OK
  20444. schema:
  20445. items:
  20446. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  20447. type: array
  20448. "500":
  20449. description: Internal Server Error
  20450. schema:
  20451. $ref: '#/definitions/app.Response'
  20452. security:
  20453. - ApiKeyAuth: []
  20454. summary: 查询敞口现货明细
  20455. tags:
  20456. - 企业风险管理(app)
  20457. /Ermcp/QueryExposureGoods:
  20458. get:
  20459. parameters:
  20460. - description: 套保商品id
  20461. in: query
  20462. name: middlegoodsid
  20463. required: true
  20464. type: integer
  20465. produces:
  20466. - application/json
  20467. responses:
  20468. "200":
  20469. description: OK
  20470. schema:
  20471. items:
  20472. $ref: '#/definitions/models.ErmcpMiddlegoodsRelateGoods'
  20473. type: array
  20474. "500":
  20475. description: Internal Server Error
  20476. schema:
  20477. $ref: '#/definitions/app.Response'
  20478. security:
  20479. - ApiKeyAuth: []
  20480. summary: 查询敞口主力合约
  20481. tags:
  20482. - 企业风险管理(app)
  20483. /Ermcp/QueryExposureHedgePosition:
  20484. get:
  20485. parameters:
  20486. - description: 用户id
  20487. in: query
  20488. name: userid
  20489. required: true
  20490. type: integer
  20491. produces:
  20492. - application/json
  20493. responses:
  20494. "200":
  20495. description: OK
  20496. schema:
  20497. items:
  20498. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  20499. type: array
  20500. "500":
  20501. description: Internal Server Error
  20502. schema:
  20503. $ref: '#/definitions/app.Response'
  20504. security:
  20505. - ApiKeyAuth: []
  20506. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  20507. tags:
  20508. - 企业风险管理(app)
  20509. /Ermcp/QueryExposureHedgePositionDetail:
  20510. get:
  20511. parameters:
  20512. - description: 所属机构ID
  20513. in: query
  20514. name: userid
  20515. required: true
  20516. type: integer
  20517. - description: 商品id
  20518. in: query
  20519. name: goodsId
  20520. required: true
  20521. type: integer
  20522. produces:
  20523. - application/json
  20524. responses:
  20525. "200":
  20526. description: OK
  20527. schema:
  20528. items:
  20529. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  20530. type: array
  20531. "500":
  20532. description: Internal Server Error
  20533. schema:
  20534. $ref: '#/definitions/app.Response'
  20535. security:
  20536. - ApiKeyAuth: []
  20537. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  20538. tags:
  20539. - 企业风险管理(app)
  20540. /Ermcp/QueryExposureSpot:
  20541. get:
  20542. parameters:
  20543. - description: 所属机构ID
  20544. in: query
  20545. name: areaUserId
  20546. required: true
  20547. type: integer
  20548. produces:
  20549. - application/json
  20550. responses:
  20551. "200":
  20552. description: OK
  20553. schema:
  20554. items:
  20555. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  20556. type: array
  20557. "500":
  20558. description: Internal Server Error
  20559. schema:
  20560. $ref: '#/definitions/app.Response'
  20561. security:
  20562. - ApiKeyAuth: []
  20563. summary: 查询敞口现货头寸(敞口/现货头寸)
  20564. tags:
  20565. - 企业风险管理(app)
  20566. /Ermcp/QueryExposureSpotDetail:
  20567. get:
  20568. parameters:
  20569. - description: 所属机构ID
  20570. in: query
  20571. name: areaUserId
  20572. required: true
  20573. type: integer
  20574. - description: 现货品种ID
  20575. in: query
  20576. name: wrstandardId
  20577. required: true
  20578. type: integer
  20579. produces:
  20580. - application/json
  20581. responses:
  20582. "200":
  20583. description: OK
  20584. schema:
  20585. items:
  20586. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  20587. type: array
  20588. "500":
  20589. description: Internal Server Error
  20590. schema:
  20591. $ref: '#/definitions/app.Response'
  20592. security:
  20593. - ApiKeyAuth: []
  20594. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  20595. tags:
  20596. - 企业风险管理(app)
  20597. /Ermcp/QueryFuturesCompany:
  20598. get:
  20599. produces:
  20600. - application/json
  20601. responses:
  20602. "200":
  20603. description: OK
  20604. schema:
  20605. items:
  20606. $ref: '#/definitions/models.ErmcpFuturesCompany'
  20607. type: array
  20608. "500":
  20609. description: Internal Server Error
  20610. schema:
  20611. $ref: '#/definitions/app.Response'
  20612. security:
  20613. - ApiKeyAuth: []
  20614. summary: 查询期货公司
  20615. tags:
  20616. - 企业风险管理(app)
  20617. /Ermcp/QueryGGConvertConfig:
  20618. get:
  20619. parameters:
  20620. - description: 品种id(不填则查所有)
  20621. in: query
  20622. name: goodsgroupid
  20623. type: integer
  20624. produces:
  20625. - application/json
  20626. responses:
  20627. "200":
  20628. description: OK
  20629. schema:
  20630. items:
  20631. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  20632. type: array
  20633. "500":
  20634. description: Internal Server Error
  20635. schema:
  20636. $ref: '#/definitions/app.Response'
  20637. security:
  20638. - ApiKeyAuth: []
  20639. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  20640. tags:
  20641. - 企业风险管理(app)
  20642. /Ermcp/QueryGoodsBrand:
  20643. get:
  20644. parameters:
  20645. - description: 用户ID
  20646. in: query
  20647. name: userid
  20648. required: true
  20649. type: integer
  20650. - description: 现货商品ID
  20651. in: query
  20652. name: wrstandardid
  20653. type: integer
  20654. produces:
  20655. - application/json
  20656. responses:
  20657. "200":
  20658. description: OK
  20659. schema:
  20660. items:
  20661. $ref: '#/definitions/models.ErmcpGoodsBrand'
  20662. type: array
  20663. "500":
  20664. description: Internal Server Error
  20665. schema:
  20666. $ref: '#/definitions/app.Response'
  20667. security:
  20668. - ApiKeyAuth: []
  20669. summary: 查询商品品牌
  20670. tags:
  20671. - 企业风险管理(app)
  20672. /Ermcp/QueryGoodsModel:
  20673. get:
  20674. parameters:
  20675. - description: 用户ID
  20676. in: query
  20677. name: userid
  20678. required: true
  20679. type: integer
  20680. produces:
  20681. - application/json
  20682. responses:
  20683. "200":
  20684. description: OK
  20685. schema:
  20686. items:
  20687. $ref: '#/definitions/models.ErmcpGoodsModel'
  20688. type: array
  20689. "500":
  20690. description: Internal Server Error
  20691. schema:
  20692. $ref: '#/definitions/app.Response'
  20693. security:
  20694. - ApiKeyAuth: []
  20695. summary: 查询商品型号
  20696. tags:
  20697. - 企业风险管理(app)
  20698. /Ermcp/QueryHisExposure:
  20699. get:
  20700. parameters:
  20701. - description: 用户id
  20702. in: query
  20703. name: userid
  20704. required: true
  20705. type: integer
  20706. - description: 每个品种记录数
  20707. in: query
  20708. name: lastNum
  20709. required: true
  20710. type: integer
  20711. produces:
  20712. - application/json
  20713. responses:
  20714. "200":
  20715. description: OK
  20716. schema:
  20717. items:
  20718. $ref: '#/definitions/ermcp.HisExposureRsp'
  20719. type: array
  20720. "500":
  20721. description: Internal Server Error
  20722. schema:
  20723. $ref: '#/definitions/app.Response'
  20724. security:
  20725. - ApiKeyAuth: []
  20726. summary: 查询历史敞口(菜单:敞口/历史敞口)
  20727. tags:
  20728. - 企业风险管理(app)
  20729. /Ermcp/QueryMiddleGoods:
  20730. get:
  20731. parameters:
  20732. - description: 所属机构ID
  20733. in: query
  20734. name: userid
  20735. required: true
  20736. type: integer
  20737. - description: 状态 0-停用 1-正常
  20738. in: query
  20739. name: status
  20740. required: true
  20741. type: integer
  20742. produces:
  20743. - application/json
  20744. responses:
  20745. "200":
  20746. description: OK
  20747. schema:
  20748. items:
  20749. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  20750. type: array
  20751. "500":
  20752. description: Internal Server Error
  20753. schema:
  20754. $ref: '#/definitions/app.Response'
  20755. security:
  20756. - ApiKeyAuth: []
  20757. summary: 查询套保品种(菜单:套保品种)
  20758. tags:
  20759. - 企业风险管理(app)
  20760. /Ermcp/QueryMiddleGoodsChangeLog:
  20761. get:
  20762. parameters:
  20763. - description: 所属机构ID
  20764. in: query
  20765. name: userid
  20766. required: true
  20767. type: integer
  20768. - description: 套保品种id
  20769. in: query
  20770. name: middlegoodsid
  20771. required: true
  20772. type: integer
  20773. produces:
  20774. - application/json
  20775. responses:
  20776. "200":
  20777. description: OK
  20778. schema:
  20779. items:
  20780. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  20781. type: array
  20782. "500":
  20783. description: Internal Server Error
  20784. schema:
  20785. $ref: '#/definitions/app.Response'
  20786. security:
  20787. - ApiKeyAuth: []
  20788. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  20789. tags:
  20790. - 企业风险管理(app)
  20791. /Ermcp/QueryMiddleGoodsDetail:
  20792. get:
  20793. parameters:
  20794. - description: 所属机构ID
  20795. in: query
  20796. name: userid
  20797. required: true
  20798. type: integer
  20799. - description: 套保品种id
  20800. in: query
  20801. name: middlegoodsid
  20802. type: integer
  20803. produces:
  20804. - application/json
  20805. responses:
  20806. "200":
  20807. description: OK
  20808. schema:
  20809. items:
  20810. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  20811. type: array
  20812. "500":
  20813. description: Internal Server Error
  20814. schema:
  20815. $ref: '#/definitions/app.Response'
  20816. security:
  20817. - ApiKeyAuth: []
  20818. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  20819. tags:
  20820. - 企业风险管理(app)
  20821. /Ermcp/QueryPendingAuditInfo:
  20822. get:
  20823. parameters:
  20824. - description: 用户ID
  20825. in: query
  20826. name: UserId
  20827. required: true
  20828. type: integer
  20829. produces:
  20830. - application/json
  20831. responses:
  20832. "200":
  20833. description: OK
  20834. schema:
  20835. items:
  20836. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  20837. type: array
  20838. "500":
  20839. description: Internal Server Error
  20840. schema:
  20841. $ref: '#/definitions/app.Response'
  20842. security:
  20843. - ApiKeyAuth: []
  20844. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  20845. tags:
  20846. - 企业风险管理(app)
  20847. /Ermcp/QueryRealtimeExposure:
  20848. get:
  20849. parameters:
  20850. - description: 所属机构ID
  20851. in: query
  20852. name: userid
  20853. required: true
  20854. type: integer
  20855. produces:
  20856. - application/json
  20857. responses:
  20858. "200":
  20859. description: OK
  20860. schema:
  20861. items:
  20862. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  20863. type: array
  20864. "500":
  20865. description: Internal Server Error
  20866. schema:
  20867. $ref: '#/definitions/app.Response'
  20868. security:
  20869. - ApiKeyAuth: []
  20870. summary: 查询实时敞口
  20871. tags:
  20872. - 企业风险管理(app)
  20873. /Ermcp/QueryRealtimeExposurePosition:
  20874. get:
  20875. parameters:
  20876. - description: 用户id
  20877. in: query
  20878. name: userid
  20879. required: true
  20880. type: integer
  20881. - description: 套保商品ID
  20882. in: query
  20883. name: middleGoodsId
  20884. required: true
  20885. type: integer
  20886. produces:
  20887. - application/json
  20888. responses:
  20889. "200":
  20890. description: OK
  20891. schema:
  20892. items:
  20893. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  20894. type: array
  20895. "500":
  20896. description: Internal Server Error
  20897. schema:
  20898. $ref: '#/definitions/app.Response'
  20899. security:
  20900. - ApiKeyAuth: []
  20901. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  20902. tags:
  20903. - 企业风险管理(app)
  20904. /Ermcp/QueryRoleMenu:
  20905. get:
  20906. parameters:
  20907. - description: 登录ID
  20908. in: query
  20909. name: loginid
  20910. required: true
  20911. type: integer
  20912. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易
  20913. in: query
  20914. name: menutype
  20915. type: integer
  20916. produces:
  20917. - application/json
  20918. responses:
  20919. "200":
  20920. description: OK
  20921. schema:
  20922. items:
  20923. $ref: '#/definitions/models.RoleMenu'
  20924. type: array
  20925. "500":
  20926. description: Internal Server Error
  20927. schema:
  20928. $ref: '#/definitions/app.Response'
  20929. security:
  20930. - ApiKeyAuth: []
  20931. summary: 查询角色菜单和权限
  20932. tags:
  20933. - 企业风险管理(app)
  20934. /Ermcp/QueryTradeConfigTMP:
  20935. get:
  20936. parameters:
  20937. - description: 所属机构id
  20938. in: query
  20939. name: areauserid
  20940. type: integer
  20941. produces:
  20942. - application/json
  20943. responses:
  20944. "200":
  20945. description: OK
  20946. schema:
  20947. items:
  20948. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  20949. type: array
  20950. "500":
  20951. description: Internal Server Error
  20952. schema:
  20953. $ref: '#/definitions/app.Response'
  20954. security:
  20955. - ApiKeyAuth: []
  20956. summary: 查询交易模板配置
  20957. tags:
  20958. - 企业风险管理(app)
  20959. /Ermcp/QueryUserInfo:
  20960. get:
  20961. parameters:
  20962. - description: 所属机构用户ID
  20963. in: query
  20964. name: MemberUserID
  20965. required: true
  20966. type: integer
  20967. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  20968. in: query
  20969. name: queryType
  20970. required: true
  20971. type: integer
  20972. produces:
  20973. - application/json
  20974. responses:
  20975. "200":
  20976. description: OK
  20977. schema:
  20978. items:
  20979. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  20980. type: array
  20981. "500":
  20982. description: Internal Server Error
  20983. schema:
  20984. $ref: '#/definitions/app.Response'
  20985. security:
  20986. - ApiKeyAuth: []
  20987. summary: 查询客户资料
  20988. tags:
  20989. - 企业风险管理(app)
  20990. /Ermcp/QueryWarehouseInfo:
  20991. get:
  20992. parameters:
  20993. - description: 用户ID
  20994. in: query
  20995. name: userid
  20996. required: true
  20997. type: integer
  20998. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  20999. in: query
  21000. name: status
  21001. type: string
  21002. produces:
  21003. - application/json
  21004. responses:
  21005. "200":
  21006. description: OK
  21007. schema:
  21008. items:
  21009. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  21010. type: array
  21011. "500":
  21012. description: Internal Server Error
  21013. schema:
  21014. $ref: '#/definitions/app.Response'
  21015. security:
  21016. - ApiKeyAuth: []
  21017. summary: 查询仓库信息
  21018. tags:
  21019. - 企业风险管理(app)
  21020. /Ermcp3/QryAreaExpourseContractDetail:
  21021. get:
  21022. parameters:
  21023. - description: 用户ID
  21024. in: query
  21025. name: userid
  21026. required: true
  21027. type: integer
  21028. - description: 套保商品id
  21029. in: query
  21030. name: middlegoodsid
  21031. required: true
  21032. type: integer
  21033. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21034. in: query
  21035. name: cycletype
  21036. required: true
  21037. type: integer
  21038. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21039. 全(0)【原值】
  21040. in: query
  21041. name: cycletime
  21042. required: true
  21043. type: string
  21044. produces:
  21045. - application/json
  21046. responses:
  21047. "200":
  21048. description: OK
  21049. schema:
  21050. items:
  21051. $ref: '#/definitions/models.Ermcp3ExposureContractDetail'
  21052. type: array
  21053. "500":
  21054. description: Internal Server Error
  21055. schema:
  21056. $ref: '#/definitions/app.Response'
  21057. security:
  21058. - ApiKeyAuth: []
  21059. summary: 查询敞口合同明细(敞口报表/现货合同明细)
  21060. tags:
  21061. - 企业风险管理v3(app)
  21062. /Ermcp3/QryAreaExpourseFutuDetail:
  21063. get:
  21064. parameters:
  21065. - description: 用户ID
  21066. in: query
  21067. name: userid
  21068. required: true
  21069. type: integer
  21070. - description: 套保商品id
  21071. in: query
  21072. name: middlegoodsid
  21073. required: true
  21074. type: integer
  21075. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21076. in: query
  21077. name: cycletype
  21078. required: true
  21079. type: integer
  21080. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21081. 全(0)【原值】
  21082. in: query
  21083. name: cycletime
  21084. required: true
  21085. type: string
  21086. produces:
  21087. - application/json
  21088. responses:
  21089. "200":
  21090. description: OK
  21091. schema:
  21092. items:
  21093. $ref: '#/definitions/models.Ermcp3ExposureFutuDetail'
  21094. type: array
  21095. "500":
  21096. description: Internal Server Error
  21097. schema:
  21098. $ref: '#/definitions/app.Response'
  21099. security:
  21100. - ApiKeyAuth: []
  21101. summary: 查询敞口期货明细(敞口报表/期货明细)
  21102. tags:
  21103. - 企业风险管理v3(app)
  21104. /Ermcp3/QryAreaExpourseHedgeplanDetail:
  21105. get:
  21106. parameters:
  21107. - description: 用户ID
  21108. in: query
  21109. name: userid
  21110. required: true
  21111. type: integer
  21112. - description: 套保商品id
  21113. in: query
  21114. name: middlegoodsid
  21115. required: true
  21116. type: integer
  21117. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21118. in: query
  21119. name: cycletype
  21120. required: true
  21121. type: integer
  21122. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21123. 全(0)【原值】
  21124. in: query
  21125. name: cycletime
  21126. required: true
  21127. type: string
  21128. produces:
  21129. - application/json
  21130. responses:
  21131. "200":
  21132. description: OK
  21133. schema:
  21134. items:
  21135. $ref: '#/definitions/models.Ermcp3ExposureHedgeplanDetail'
  21136. type: array
  21137. "500":
  21138. description: Internal Server Error
  21139. schema:
  21140. $ref: '#/definitions/app.Response'
  21141. security:
  21142. - ApiKeyAuth: []
  21143. summary: 查询敞口套保计划明细(敞口报表/套保计划明细)
  21144. tags:
  21145. - 企业风险管理v3(app)
  21146. /Ermcp3/QryAreaExpourseParamChLogDetail:
  21147. get:
  21148. parameters:
  21149. - description: 用户ID
  21150. in: query
  21151. name: userid
  21152. required: true
  21153. type: integer
  21154. - description: 套保商品id
  21155. in: query
  21156. name: middlegoodsid
  21157. required: true
  21158. type: integer
  21159. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21160. in: query
  21161. name: cycletype
  21162. required: true
  21163. type: integer
  21164. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21165. 全(0)【原值】
  21166. in: query
  21167. name: cycletime
  21168. required: true
  21169. type: string
  21170. produces:
  21171. - application/json
  21172. responses:
  21173. "200":
  21174. description: OK
  21175. schema:
  21176. items:
  21177. $ref: '#/definitions/models.Ermcp3ExposureParamChLog'
  21178. type: array
  21179. "500":
  21180. description: Internal Server Error
  21181. schema:
  21182. $ref: '#/definitions/app.Response'
  21183. security:
  21184. - ApiKeyAuth: []
  21185. summary: 查询敞口参数调整明细(敞口报表/参数调整明细)
  21186. tags:
  21187. - 企业风险管理v3(app)
  21188. /Ermcp3/QryAreaExpourseReport:
  21189. get:
  21190. parameters:
  21191. - description: 用户ID
  21192. in: query
  21193. name: userid
  21194. required: true
  21195. type: integer
  21196. - description: 查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口
  21197. in: query
  21198. name: querytype
  21199. required: true
  21200. type: integer
  21201. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21202. in: query
  21203. name: cycletype
  21204. required: true
  21205. type: integer
  21206. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21207. 全(0)【原值】
  21208. in: query
  21209. name: cycletime
  21210. required: true
  21211. type: string
  21212. produces:
  21213. - application/json
  21214. responses:
  21215. "200":
  21216. description: OK
  21217. schema:
  21218. items:
  21219. $ref: '#/definitions/models.Ermcp3ExpourseReport'
  21220. type: array
  21221. "500":
  21222. description: Internal Server Error
  21223. schema:
  21224. $ref: '#/definitions/app.Response'
  21225. security:
  21226. - ApiKeyAuth: []
  21227. summary: 查询敞口报表
  21228. tags:
  21229. - 企业风险管理v3(app)
  21230. /Ermcp3/QryAreaSpotplReport:
  21231. get:
  21232. description: 目前pcweb的日/周/月报表与手机端的汇总维度不同, 所以增加了可选参数sumflag参数, pcweb请填1
  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: 现货品种id(明细必填)
  21256. in: query
  21257. name: deliverygoodsid
  21258. type: integer
  21259. - description: 币种id(明细必填)
  21260. in: query
  21261. name: currencyid
  21262. type: integer
  21263. - description: 日/周/月报表汇总维度 1:品种+品类
  21264. in: query
  21265. name: sumflag
  21266. type: integer
  21267. produces:
  21268. - application/json
  21269. responses:
  21270. "200":
  21271. description: OK
  21272. schema:
  21273. items:
  21274. $ref: '#/definitions/models.Ermcp3AreaSpotPLReport'
  21275. type: array
  21276. "500":
  21277. description: Internal Server Error
  21278. schema:
  21279. $ref: '#/definitions/app.Response'
  21280. security:
  21281. - ApiKeyAuth: []
  21282. summary: 查询现货报表
  21283. tags:
  21284. - 企业风险管理v3(app)
  21285. /Ermcp3/QryAreaStockReport:
  21286. get:
  21287. parameters:
  21288. - description: 用户ID
  21289. in: query
  21290. name: userid
  21291. required: true
  21292. type: integer
  21293. - description: 查询类型 1-报表 2-报表明细
  21294. in: query
  21295. name: querytype
  21296. required: true
  21297. type: integer
  21298. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21299. in: query
  21300. name: cycletype
  21301. required: true
  21302. type: integer
  21303. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21304. 全(0)【原值】
  21305. in: query
  21306. name: cycletime
  21307. required: true
  21308. type: string
  21309. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库
  21310. in: query
  21311. name: sumfields
  21312. type: string
  21313. - description: 品种ID
  21314. in: query
  21315. name: deliverygoodsid
  21316. type: integer
  21317. - description: 品类ID
  21318. in: query
  21319. name: wrstandardid
  21320. type: integer
  21321. - description: 品牌ID
  21322. in: query
  21323. name: spotgoodsbrandid
  21324. type: integer
  21325. - description: 仓库ID
  21326. in: query
  21327. name: warehouseinfoid
  21328. type: integer
  21329. produces:
  21330. - application/json
  21331. responses:
  21332. "200":
  21333. description: OK
  21334. schema:
  21335. items:
  21336. $ref: '#/definitions/models.Ermcp3AreaStockReportEx'
  21337. type: array
  21338. "500":
  21339. description: Internal Server Error
  21340. schema:
  21341. $ref: '#/definitions/app.Response'
  21342. security:
  21343. - ApiKeyAuth: []
  21344. summary: 查询库存报表
  21345. tags:
  21346. - 企业风险管理v3(app)
  21347. /Ermcp3/QryAreaSumPL:
  21348. get:
  21349. parameters:
  21350. - description: 用户ID
  21351. in: query
  21352. name: userid
  21353. required: true
  21354. type: integer
  21355. - description: 查询类型 1-报表 2-报表明细
  21356. in: query
  21357. name: querytype
  21358. required: true
  21359. type: integer
  21360. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21361. in: query
  21362. name: cycletype
  21363. required: true
  21364. type: integer
  21365. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21366. 全(0)【原值】
  21367. in: query
  21368. name: cycletime
  21369. required: true
  21370. type: string
  21371. - description: 币种id(明细必填)
  21372. in: query
  21373. name: currencyid
  21374. type: integer
  21375. - description: 套保品种ID, 查询类型为2时起效
  21376. in: query
  21377. name: middlegoodsid
  21378. type: integer
  21379. produces:
  21380. - application/json
  21381. responses:
  21382. "200":
  21383. description: OK
  21384. schema:
  21385. items:
  21386. $ref: '#/definitions/models.Ermcp3ArealSumPL'
  21387. type: array
  21388. "500":
  21389. description: Internal Server Error
  21390. schema:
  21391. $ref: '#/definitions/app.Response'
  21392. security:
  21393. - ApiKeyAuth: []
  21394. summary: 查询汇总损益表
  21395. tags:
  21396. - 企业风险管理v3(app)
  21397. /Ermcp3/QryFinanceReport:
  21398. get:
  21399. parameters:
  21400. - description: 用户ID
  21401. in: query
  21402. name: userid
  21403. required: true
  21404. type: integer
  21405. - description: 查询类型 1-报表 2-报表明细
  21406. in: query
  21407. name: querytype
  21408. required: true
  21409. type: integer
  21410. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21411. in: query
  21412. name: cycletype
  21413. required: true
  21414. type: integer
  21415. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21416. 全(0)【原值】
  21417. in: query
  21418. name: cycletime
  21419. required: true
  21420. type: string
  21421. - description: 币种id(报表明细必填)
  21422. in: query
  21423. name: currencyid
  21424. type: integer
  21425. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌
  21426. in: query
  21427. name: sumfields
  21428. type: string
  21429. produces:
  21430. - application/json
  21431. responses:
  21432. "200":
  21433. description: OK
  21434. schema:
  21435. items:
  21436. $ref: '#/definitions/models.Ermcp3FinanceReport'
  21437. type: array
  21438. "500":
  21439. description: Internal Server Error
  21440. schema:
  21441. $ref: '#/definitions/app.Response'
  21442. security:
  21443. - ApiKeyAuth: []
  21444. summary: 查询财务报表
  21445. tags:
  21446. - 企业风险管理v3(app)
  21447. /Ermcp3/QrySCMiddleGoodsReport:
  21448. get:
  21449. parameters:
  21450. - description: 用户ID
  21451. in: query
  21452. name: userid
  21453. required: true
  21454. type: integer
  21455. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21456. in: query
  21457. name: cycletype
  21458. required: true
  21459. type: integer
  21460. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21461. 全(0)【原值】
  21462. in: query
  21463. name: cycletime
  21464. required: true
  21465. type: string
  21466. - description: 合同id
  21467. in: query
  21468. name: spotcontractid
  21469. type: integer
  21470. - description: 套保品种id
  21471. in: query
  21472. name: middlegoodsid
  21473. type: integer
  21474. - description: 现货品种id
  21475. in: query
  21476. name: deliverygoodsid
  21477. type: integer
  21478. - description: 现货商品id
  21479. in: query
  21480. name: wrstandardid
  21481. type: integer
  21482. - description: 合同编号(模糊匹配)
  21483. in: query
  21484. name: contractno
  21485. type: string
  21486. produces:
  21487. - application/json
  21488. responses:
  21489. "200":
  21490. description: OK
  21491. schema:
  21492. items:
  21493. $ref: '#/definitions/models.Ermcp3SCMiddleGoodsReport'
  21494. type: array
  21495. "500":
  21496. description: Internal Server Error
  21497. schema:
  21498. $ref: '#/definitions/app.Response'
  21499. security:
  21500. - ApiKeyAuth: []
  21501. summary: 查询定价报表
  21502. tags:
  21503. - 企业风险管理v3(app)
  21504. /Ermcp3/QryTaFutureDataReport:
  21505. get:
  21506. parameters:
  21507. - description: 用户ID
  21508. in: query
  21509. name: userid
  21510. required: true
  21511. type: integer
  21512. - description: 查询类型 1-报表 2-报表明细
  21513. in: query
  21514. name: querytype
  21515. required: true
  21516. type: integer
  21517. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21518. in: query
  21519. name: cycletype
  21520. required: true
  21521. type: integer
  21522. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21523. 全(0)【原值】
  21524. in: query
  21525. name: cycletime
  21526. required: true
  21527. type: string
  21528. - description: 币种id(查明细必填)
  21529. in: query
  21530. name: currencyid
  21531. type: integer
  21532. - description: 品种id(查明细必填)
  21533. in: query
  21534. name: goodsgroupid
  21535. type: integer
  21536. - description: 商品id(查明细必填)
  21537. in: query
  21538. name: goodsid
  21539. type: integer
  21540. - description: 买卖方向(查明细必填)
  21541. in: query
  21542. name: buyorsell
  21543. type: integer
  21544. produces:
  21545. - application/json
  21546. responses:
  21547. "200":
  21548. description: OK
  21549. schema:
  21550. items:
  21551. $ref: '#/definitions/models.Ermcp3TaFutuReDataReport'
  21552. type: array
  21553. "500":
  21554. description: Internal Server Error
  21555. schema:
  21556. $ref: '#/definitions/app.Response'
  21557. security:
  21558. - ApiKeyAuth: []
  21559. summary: 查询期货报表
  21560. tags:
  21561. - 企业风险管理v3(app)
  21562. /Ermcp3/QueryAreaStock:
  21563. get:
  21564. parameters:
  21565. - description: 用户ID
  21566. in: query
  21567. name: userid
  21568. required: true
  21569. type: integer
  21570. produces:
  21571. - application/json
  21572. responses:
  21573. "200":
  21574. description: OK
  21575. schema:
  21576. items:
  21577. $ref: '#/definitions/models.Ermcp3AreaStock'
  21578. type: array
  21579. "500":
  21580. description: Internal Server Error
  21581. schema:
  21582. $ref: '#/definitions/app.Response'
  21583. security:
  21584. - ApiKeyAuth: []
  21585. summary: 查询机构库存(库存管理/当前库存)
  21586. tags:
  21587. - 企业风险管理v3(app)
  21588. /Ermcp3/QueryAreaStockApply:
  21589. get:
  21590. parameters:
  21591. - description: 用户ID
  21592. in: query
  21593. name: userid
  21594. required: true
  21595. type: integer
  21596. - description: 用户类型 2-机构 7-企业成员
  21597. in: query
  21598. name: usertype
  21599. type: integer
  21600. - description: 现货商品ID
  21601. in: query
  21602. name: deliverygoodsid
  21603. type: integer
  21604. - description: 出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  21605. in: query
  21606. name: inouttype
  21607. type: string
  21608. - description: 合同ID
  21609. in: query
  21610. name: spotcontractid
  21611. type: integer
  21612. - description: 品类ID
  21613. in: query
  21614. name: wrstandardid
  21615. type: integer
  21616. - description: 品牌ID
  21617. in: query
  21618. name: spotgoodsbrandid
  21619. type: integer
  21620. - description: 仓库ID
  21621. in: query
  21622. name: warehouseinfoid
  21623. type: integer
  21624. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  21625. in: query
  21626. name: applystatus
  21627. type: string
  21628. produces:
  21629. - application/json
  21630. responses:
  21631. "200":
  21632. description: OK
  21633. schema:
  21634. items:
  21635. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  21636. type: array
  21637. "500":
  21638. description: Internal Server Error
  21639. schema:
  21640. $ref: '#/definitions/app.Response'
  21641. security:
  21642. - ApiKeyAuth: []
  21643. summary: 查询库存申请(出入库记录|库存审核)
  21644. tags:
  21645. - 企业风险管理v3(app)
  21646. /Ermcp3/QueryAreaStockApplySum:
  21647. get:
  21648. parameters:
  21649. - description: 合同ID
  21650. in: query
  21651. name: spotcontractid
  21652. required: true
  21653. type: integer
  21654. produces:
  21655. - application/json
  21656. responses:
  21657. "200":
  21658. description: OK
  21659. schema:
  21660. items:
  21661. $ref: '#/definitions/models.Ermcp3AreaStockApplySum'
  21662. type: array
  21663. "500":
  21664. description: Internal Server Error
  21665. schema:
  21666. $ref: '#/definitions/app.Response'
  21667. security:
  21668. - ApiKeyAuth: []
  21669. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  21670. tags:
  21671. - 企业风险管理v3(app)
  21672. /Ermcp3/QueryDGFactoryItem:
  21673. get:
  21674. parameters:
  21675. - description: 用户id
  21676. in: query
  21677. name: userid
  21678. type: integer
  21679. - description: 用户类型 2-机构 7-企业成员
  21680. in: query
  21681. name: usertype
  21682. type: integer
  21683. - description: 选择项ID(SEQ_DGFACTORYITEM)
  21684. in: query
  21685. name: dgfactoryitemid
  21686. type: integer
  21687. - description: 现货品种ID
  21688. in: query
  21689. name: deliverygoodsid
  21690. type: integer
  21691. - description: 要素项类型
  21692. in: query
  21693. name: dgfactoryitemtypeid
  21694. type: integer
  21695. - description: 顺序
  21696. in: query
  21697. name: orderindex
  21698. type: integer
  21699. produces:
  21700. - application/json
  21701. responses:
  21702. "200":
  21703. description: OK
  21704. schema:
  21705. items:
  21706. $ref: '#/definitions/models.ErmcpDGFactoryItem'
  21707. type: array
  21708. "500":
  21709. description: Internal Server Error
  21710. schema:
  21711. $ref: '#/definitions/app.Response'
  21712. security:
  21713. - ApiKeyAuth: []
  21714. summary: 查询品种要素定义项
  21715. tags:
  21716. - 企业风险管理v3(app)
  21717. /Ermcp3/QueryDeliveryGoods:
  21718. get:
  21719. parameters:
  21720. - description: 用户id
  21721. in: query
  21722. name: userid
  21723. required: true
  21724. type: integer
  21725. - description: 用户类型 2-机构 7-企业成员
  21726. in: query
  21727. name: usertype
  21728. type: integer
  21729. - description: 排除已配置的业务类型商品 1-套保 2-套利
  21730. in: query
  21731. name: excludecfg
  21732. type: integer
  21733. produces:
  21734. - application/json
  21735. responses:
  21736. "200":
  21737. description: OK
  21738. schema:
  21739. items:
  21740. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  21741. type: array
  21742. "500":
  21743. description: Internal Server Error
  21744. schema:
  21745. $ref: '#/definitions/app.Response'
  21746. security:
  21747. - ApiKeyAuth: []
  21748. summary: 查询现货商品
  21749. tags:
  21750. - 企业风险管理v3(app)
  21751. /Ermcp3/QueryDeliveryGoodsDetail:
  21752. get:
  21753. parameters:
  21754. - description: 用户id
  21755. in: query
  21756. name: userid
  21757. required: true
  21758. type: integer
  21759. - description: 用户类型 2-机构 7-企业成员
  21760. in: query
  21761. name: usertype
  21762. type: integer
  21763. - description: 现货商品id
  21764. in: query
  21765. name: deliverygoodsid
  21766. type: integer
  21767. - description: 过滤下级为空, 1-过滤. 比如 品种大豆的下级品类列表为空, 则大豆不显示; 比如品类的下级套保品列表为空, 则该品类不显示
  21768. in: query
  21769. name: filtersubempty
  21770. type: integer
  21771. produces:
  21772. - application/json
  21773. responses:
  21774. "200":
  21775. description: OK
  21776. schema:
  21777. items:
  21778. $ref: '#/definitions/models.XHDeliveryGoods'
  21779. type: array
  21780. "500":
  21781. description: Internal Server Error
  21782. schema:
  21783. $ref: '#/definitions/app.Response'
  21784. security:
  21785. - ApiKeyAuth: []
  21786. summary: 查询现货商品详情
  21787. tags:
  21788. - 企业风险管理v3(app)
  21789. /Ermcp3/QueryErmcp3ContractMiddleGoodsCfg:
  21790. get:
  21791. parameters:
  21792. - description: 合同id
  21793. in: query
  21794. name: spotcontractid
  21795. required: true
  21796. type: string
  21797. produces:
  21798. - application/json
  21799. responses:
  21800. "200":
  21801. description: OK
  21802. schema:
  21803. items:
  21804. $ref: '#/definitions/models.Ermcp3ContractMiddleGoodsCfg'
  21805. type: array
  21806. "500":
  21807. description: Internal Server Error
  21808. schema:
  21809. $ref: '#/definitions/app.Response'
  21810. security:
  21811. - ApiKeyAuth: []
  21812. summary: 查询现货合同期现配置信息
  21813. tags:
  21814. - 企业风险管理v3(app)
  21815. /Ermcp3/QueryExposureDetail:
  21816. get:
  21817. parameters:
  21818. - description: 用户id
  21819. in: query
  21820. name: userid
  21821. required: true
  21822. type: integer
  21823. - description: 用户类型 2-机构 7-企业成员
  21824. in: query
  21825. name: usertype
  21826. type: integer
  21827. - description: 套保商品
  21828. in: query
  21829. name: middlegoodsid
  21830. required: true
  21831. type: integer
  21832. produces:
  21833. - application/json
  21834. responses:
  21835. "200":
  21836. description: OK
  21837. schema:
  21838. items:
  21839. $ref: '#/definitions/models.Ermcp3ExposureDetail'
  21840. type: array
  21841. "500":
  21842. description: Internal Server Error
  21843. schema:
  21844. $ref: '#/definitions/app.Response'
  21845. security:
  21846. - ApiKeyAuth: []
  21847. summary: 查询敞口现货明细
  21848. tags:
  21849. - 企业风险管理v3(app)
  21850. /Ermcp3/QueryExposureSpot:
  21851. get:
  21852. parameters:
  21853. - description: 用户id
  21854. in: query
  21855. name: userid
  21856. required: true
  21857. type: integer
  21858. - description: 用户类型 2-机构 7-企业成员
  21859. in: query
  21860. name: usertype
  21861. type: integer
  21862. produces:
  21863. - application/json
  21864. responses:
  21865. "200":
  21866. description: OK
  21867. schema:
  21868. items:
  21869. $ref: '#/definitions/models.Ermcp3AreaSpot'
  21870. type: array
  21871. "500":
  21872. description: Internal Server Error
  21873. schema:
  21874. $ref: '#/definitions/app.Response'
  21875. security:
  21876. - ApiKeyAuth: []
  21877. summary: 查询敞口现货头寸(敞口/现货头寸)
  21878. tags:
  21879. - 企业风险管理v3(app)
  21880. /Ermcp3/QueryExposureSpotDetail:
  21881. get:
  21882. parameters:
  21883. - description: 用户id
  21884. in: query
  21885. name: userid
  21886. required: true
  21887. type: integer
  21888. - description: 用户类型 2-机构 7-企业成员
  21889. in: query
  21890. name: usertype
  21891. type: integer
  21892. - description: 现货商品ID
  21893. in: query
  21894. name: wrstandardid
  21895. required: true
  21896. type: integer
  21897. produces:
  21898. - application/json
  21899. responses:
  21900. "200":
  21901. description: OK
  21902. schema:
  21903. items:
  21904. $ref: '#/definitions/models.Ermcp3AreaSpotDetail'
  21905. type: array
  21906. "500":
  21907. description: Internal Server Error
  21908. schema:
  21909. $ref: '#/definitions/app.Response'
  21910. security:
  21911. - ApiKeyAuth: []
  21912. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  21913. tags:
  21914. - 企业风险管理v3(app)
  21915. /Ermcp3/QueryGoodsGroup:
  21916. get:
  21917. parameters:
  21918. - description: 用户id
  21919. in: query
  21920. name: userid
  21921. required: true
  21922. type: integer
  21923. - description: 用户类型 2-机构 7-企业成员
  21924. in: query
  21925. name: usertype
  21926. type: integer
  21927. - description: 排除套保品中已关联的商品组 1-排除
  21928. in: query
  21929. name: excludecfg
  21930. type: integer
  21931. produces:
  21932. - application/json
  21933. responses:
  21934. "200":
  21935. description: OK
  21936. schema:
  21937. items:
  21938. $ref: '#/definitions/models.Ermcp3GoodsGroup'
  21939. type: array
  21940. "500":
  21941. description: Internal Server Error
  21942. schema:
  21943. $ref: '#/definitions/app.Response'
  21944. security:
  21945. - ApiKeyAuth: []
  21946. summary: 查询期货商品组
  21947. tags:
  21948. - 企业风险管理v3(app)
  21949. /Ermcp3/QueryGoodsWrstandard:
  21950. get:
  21951. parameters:
  21952. - description: 用户id
  21953. in: query
  21954. name: userid
  21955. required: true
  21956. type: integer
  21957. - description: 用户类型 2-机构 7-企业成员
  21958. in: query
  21959. name: usertype
  21960. type: integer
  21961. - description: 现货商品id
  21962. in: query
  21963. name: deliverygoodsid
  21964. type: integer
  21965. produces:
  21966. - application/json
  21967. responses:
  21968. "200":
  21969. description: OK
  21970. schema:
  21971. items:
  21972. $ref: '#/definitions/models.Ermcp3Wrstandard'
  21973. type: array
  21974. "500":
  21975. description: Internal Server Error
  21976. schema:
  21977. $ref: '#/definitions/app.Response'
  21978. security:
  21979. - ApiKeyAuth: []
  21980. summary: 查询商品品类
  21981. tags:
  21982. - 企业风险管理v3(app)
  21983. /Ermcp3/QueryGoodsbrand:
  21984. get:
  21985. parameters:
  21986. - description: 用户id
  21987. in: query
  21988. name: userid
  21989. required: true
  21990. type: integer
  21991. - description: 用户类型 2-机构 7-企业成员
  21992. in: query
  21993. name: usertype
  21994. type: integer
  21995. produces:
  21996. - application/json
  21997. responses:
  21998. "200":
  21999. description: OK
  22000. schema:
  22001. items:
  22002. $ref: '#/definitions/models.Ermcp3Brand'
  22003. type: array
  22004. "500":
  22005. description: Internal Server Error
  22006. schema:
  22007. $ref: '#/definitions/app.Response'
  22008. security:
  22009. - ApiKeyAuth: []
  22010. summary: 查询商品品牌
  22011. tags:
  22012. - 企业风险管理v3(app)
  22013. /Ermcp3/QueryHPMiddleGoods:
  22014. get:
  22015. parameters:
  22016. - description: 用户ID(填登录用户的userid)
  22017. in: query
  22018. name: userid
  22019. required: true
  22020. type: integer
  22021. - description: 买卖方向 0-买 1-卖
  22022. in: query
  22023. name: buyorsell
  22024. required: true
  22025. type: integer
  22026. - description: 商品组id
  22027. in: query
  22028. name: goodsgroupid
  22029. required: true
  22030. type: integer
  22031. - description: 套保计划编号(模糊匹配)
  22032. in: query
  22033. name: hedgeplanno
  22034. type: string
  22035. - description: 现货商品名称(模糊匹配)
  22036. in: query
  22037. name: wrstandardname
  22038. type: string
  22039. produces:
  22040. - application/json
  22041. responses:
  22042. "200":
  22043. description: OK
  22044. schema:
  22045. items:
  22046. $ref: '#/definitions/models.Ermcp3HPMiddleGoods'
  22047. type: array
  22048. "500":
  22049. description: Internal Server Error
  22050. schema:
  22051. $ref: '#/definitions/app.Response'
  22052. security:
  22053. - ApiKeyAuth: []
  22054. summary: 查询可关联套保计划
  22055. tags:
  22056. - 企业风险管理v3(app)
  22057. /Ermcp3/QueryHedgePlan:
  22058. get:
  22059. parameters:
  22060. - description: 用户ID
  22061. in: query
  22062. name: userid
  22063. required: true
  22064. type: integer
  22065. - description: 用户类型 2-机构 7-企业成员
  22066. in: query
  22067. name: usertype
  22068. type: integer
  22069. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  22070. in: query
  22071. name: hedgeplanstatus
  22072. required: true
  22073. type: string
  22074. produces:
  22075. - application/json
  22076. responses:
  22077. "200":
  22078. description: OK
  22079. schema:
  22080. items:
  22081. $ref: '#/definitions/models.Ermcp3HedgePlan'
  22082. type: array
  22083. "500":
  22084. description: Internal Server Error
  22085. schema:
  22086. $ref: '#/definitions/app.Response'
  22087. security:
  22088. - ApiKeyAuth: []
  22089. summary: 查询套保计划
  22090. tags:
  22091. - 企业风险管理v3(app)
  22092. /Ermcp3/QueryInnerTradeLink:
  22093. get:
  22094. description: 页面 app 现货->期现关联->外部成交单关联->点"解除关联"按钮->解除外部关联的页面信息
  22095. parameters:
  22096. - description: 外部成交单号
  22097. in: query
  22098. name: outtradeid
  22099. required: true
  22100. type: integer
  22101. produces:
  22102. - application/json
  22103. responses:
  22104. "200":
  22105. description: OK
  22106. schema:
  22107. items:
  22108. $ref: '#/definitions/models.Ermcp3InnerTradeLink'
  22109. type: array
  22110. "500":
  22111. description: Internal Server Error
  22112. schema:
  22113. $ref: '#/definitions/app.Response'
  22114. security:
  22115. - ApiKeyAuth: []
  22116. summary: 查询外部成交单关联的内部单信息(在解除外部关联页面使用)
  22117. tags:
  22118. - 企业风险管理v3(app)
  22119. /Ermcp3/QueryMiddleGoodsDetail:
  22120. get:
  22121. parameters:
  22122. - description: 用户id
  22123. in: query
  22124. name: userid
  22125. required: true
  22126. type: integer
  22127. - description: 用户类型 2-机构 7-企业成员
  22128. in: query
  22129. name: usertype
  22130. type: integer
  22131. - description: 套保品种id
  22132. in: query
  22133. name: middlegoodsid
  22134. type: integer
  22135. produces:
  22136. - application/json
  22137. responses:
  22138. "200":
  22139. description: OK
  22140. schema:
  22141. items:
  22142. $ref: '#/definitions/models.TBMiddleGoods'
  22143. type: array
  22144. "500":
  22145. description: Internal Server Error
  22146. schema:
  22147. $ref: '#/definitions/app.Response'
  22148. security:
  22149. - ApiKeyAuth: []
  22150. summary: 查询套保品种详情(套保品种/商品详情)
  22151. tags:
  22152. - 企业风险管理v3(app)
  22153. /Ermcp3/QueryOutTradeLink:
  22154. get:
  22155. description: 页面 app 现货->期现关联->外部成交单关联
  22156. parameters:
  22157. - description: 用户ID(填登录用户的userid)
  22158. in: query
  22159. name: userid
  22160. required: true
  22161. type: integer
  22162. - description: 外部订单号(模糊匹配)
  22163. in: query
  22164. name: outtradeid
  22165. type: string
  22166. - description: 合约名称/代码(模糊匹配)
  22167. in: query
  22168. name: goodsname
  22169. type: string
  22170. - description: 关联状态 0-未关联 1-已关联
  22171. in: query
  22172. name: hasinnerorder
  22173. type: integer
  22174. produces:
  22175. - application/json
  22176. responses:
  22177. "200":
  22178. description: OK
  22179. schema:
  22180. items:
  22181. $ref: '#/definitions/models.Ermcp3OutTradeLink'
  22182. type: array
  22183. "500":
  22184. description: Internal Server Error
  22185. schema:
  22186. $ref: '#/definitions/app.Response'
  22187. security:
  22188. - ApiKeyAuth: []
  22189. summary: 查询外部成交单关联
  22190. tags:
  22191. - 企业风险管理v3(app)
  22192. /Ermcp3/QueryPaAreaAuditCfg:
  22193. get:
  22194. parameters:
  22195. - description: 用户id
  22196. in: query
  22197. name: userid
  22198. required: true
  22199. type: integer
  22200. produces:
  22201. - application/json
  22202. responses:
  22203. "200":
  22204. description: OK
  22205. schema:
  22206. items:
  22207. $ref: '#/definitions/models.Ermcp3PaAreaAuditCfg'
  22208. type: array
  22209. "500":
  22210. description: Internal Server Error
  22211. schema:
  22212. $ref: '#/definitions/app.Response'
  22213. security:
  22214. - ApiKeyAuth: []
  22215. summary: 查询审核设置
  22216. tags:
  22217. - 企业风险管理v3(app)
  22218. /Ermcp3/QueryPaAreaSubject:
  22219. get:
  22220. parameters:
  22221. - description: 用户id
  22222. in: query
  22223. name: userid
  22224. required: true
  22225. type: integer
  22226. - description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  22227. in: query
  22228. name: subjectid
  22229. type: integer
  22230. - description: 主体类型 - 1:交易主体 2:业务部门
  22231. in: query
  22232. name: subjecttype
  22233. type: integer
  22234. - description: '主体状态 - 1:正常 2: 停用'
  22235. in: query
  22236. name: subjectstatus
  22237. type: integer
  22238. produces:
  22239. - application/json
  22240. responses:
  22241. "200":
  22242. description: OK
  22243. schema:
  22244. items:
  22245. $ref: '#/definitions/models.Ermcp3PaAreaSubject'
  22246. type: array
  22247. "500":
  22248. description: Internal Server Error
  22249. schema:
  22250. $ref: '#/definitions/app.Response'
  22251. security:
  22252. - ApiKeyAuth: []
  22253. summary: 查询交易主体
  22254. tags:
  22255. - 企业风险管理v3(app)
  22256. /Ermcp3/QueryPaTradeLink:
  22257. get:
  22258. description: 页面 app 现货->期现关联->期现单据关联
  22259. parameters:
  22260. - description: 用户ID
  22261. in: query
  22262. name: userid
  22263. required: true
  22264. type: integer
  22265. produces:
  22266. - application/json
  22267. responses:
  22268. "200":
  22269. description: OK
  22270. schema:
  22271. items:
  22272. $ref: '#/definitions/models.Ermcp3PaTradeLink'
  22273. type: array
  22274. "500":
  22275. description: Internal Server Error
  22276. schema:
  22277. $ref: '#/definitions/app.Response'
  22278. security:
  22279. - ApiKeyAuth: []
  22280. summary: 查询期现单据关联
  22281. tags:
  22282. - 企业风险管理v3(app)
  22283. /Ermcp3/QueryPaTradeLinkDetail:
  22284. get:
  22285. description: 页面 app 现货->期现关联->关联记录
  22286. parameters:
  22287. - description: 用户ID(填登录用户的userid)
  22288. in: query
  22289. name: userid
  22290. required: true
  22291. type: integer
  22292. - description: 关联状态 1:成功 2:失败 3:解绑
  22293. in: query
  22294. name: linkstatus
  22295. type: integer
  22296. - description: 期货订单号(模糊匹配)
  22297. in: query
  22298. name: tradeid
  22299. type: string
  22300. - description: 现货编号(模糊匹配)
  22301. in: query
  22302. name: contractno
  22303. type: string
  22304. - description: 期货账户(模糊匹配)
  22305. in: query
  22306. name: taname
  22307. type: string
  22308. produces:
  22309. - application/json
  22310. responses:
  22311. "200":
  22312. description: OK
  22313. schema:
  22314. items:
  22315. $ref: '#/definitions/models.Ermcp3TradeLinkDetail'
  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/QueryParamChangeApp:
  22327. get:
  22328. description: |-
  22329. 原型页面:
  22330. 1.商品信息->商品参数修改流水-> 增值税税率 | 折算系数 | 成本权重; 流水页面查申请状态为“审核通过”的记录
  22331. 2.风管审核->套保比例审核 | 折算系数审核 | 增值税税率审核 | 成本权重审核
  22332. parameters:
  22333. - description: 用户ID
  22334. in: query
  22335. name: userid
  22336. required: true
  22337. type: integer
  22338. - description: 现货品种id
  22339. in: query
  22340. name: deliverygoodsid
  22341. type: integer
  22342. - description: 现货商品id
  22343. in: query
  22344. name: wrstandardid
  22345. type: integer
  22346. - description: 套保商品id
  22347. in: query
  22348. name: middlegoodsid
  22349. type: integer
  22350. - description: 操作类型 1:新增 2:修改
  22351. in: query
  22352. name: operatetype
  22353. type: integer
  22354. - description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  22355. in: query
  22356. name: paramchangetype
  22357. type: integer
  22358. - description: 申请状态(逗号隔开,如1,2,3) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  22359. in: query
  22360. name: ftstatus
  22361. type: string
  22362. produces:
  22363. - application/json
  22364. responses:
  22365. "200":
  22366. description: OK
  22367. schema:
  22368. items:
  22369. $ref: '#/definitions/models.Ermcp3ParamChangeApp'
  22370. type: array
  22371. "500":
  22372. description: Internal Server Error
  22373. schema:
  22374. $ref: '#/definitions/app.Response'
  22375. security:
  22376. - ApiKeyAuth: []
  22377. summary: 查询现货商品参数变更申请(流水)
  22378. tags:
  22379. - 企业风险管理v3(app)
  22380. /Ermcp3/QueryRootUserAccount:
  22381. get:
  22382. parameters:
  22383. - description: 用户ID
  22384. in: query
  22385. name: userid
  22386. required: true
  22387. type: integer
  22388. produces:
  22389. - application/json
  22390. responses:
  22391. "200":
  22392. description: OK
  22393. schema:
  22394. items:
  22395. $ref: '#/definitions/models.Ermcp3RootUserAccount'
  22396. type: array
  22397. "500":
  22398. description: Internal Server Error
  22399. schema:
  22400. $ref: '#/definitions/app.Response'
  22401. security:
  22402. - ApiKeyAuth: []
  22403. summary: 查询顶级用户信息
  22404. tags:
  22405. - 企业风险管理v3(app)
  22406. /Ermcp3/QuerySCMiddleGoods:
  22407. get:
  22408. description: |-
  22409. 页面 app 现货->期现关联->期现单据关联->点"关联"按钮->弹出界面 : 现货订单
  22410. 现货编号 即 合同编号
  22411. parameters:
  22412. - description: 用户ID(填登录用户的userid)
  22413. in: query
  22414. name: userid
  22415. required: true
  22416. type: integer
  22417. - description: 买卖方向 0-买 1-卖
  22418. in: query
  22419. name: buyorsell
  22420. required: true
  22421. type: integer
  22422. - description: 商品组id
  22423. in: query
  22424. name: goodsgroupid
  22425. required: true
  22426. type: integer
  22427. - description: 业务类型 1:套保 2:套利
  22428. in: query
  22429. name: biztype
  22430. type: integer
  22431. - description: 现货编号(模糊匹配)
  22432. in: query
  22433. name: contractno
  22434. type: string
  22435. - description: 对手方(模糊匹配)
  22436. in: query
  22437. name: customername
  22438. type: string
  22439. - description: 现货商品名称(模糊匹配)
  22440. in: query
  22441. name: wrstandardname
  22442. type: string
  22443. produces:
  22444. - application/json
  22445. responses:
  22446. "200":
  22447. description: OK
  22448. schema:
  22449. items:
  22450. $ref: '#/definitions/models.Ermcp3SCMiddleGoods'
  22451. type: array
  22452. "500":
  22453. description: Internal Server Error
  22454. schema:
  22455. $ref: '#/definitions/app.Response'
  22456. security:
  22457. - ApiKeyAuth: []
  22458. summary: 查询现货订单
  22459. tags:
  22460. - 企业风险管理v3(app)
  22461. /Ermcp3/QuerySpotContract:
  22462. get:
  22463. parameters:
  22464. - description: 用户id(当指定contractid, userid可不填)
  22465. in: query
  22466. name: userid
  22467. required: true
  22468. type: integer
  22469. - description: 用户类型 2-机构 7-企业成员
  22470. in: query
  22471. name: usertype
  22472. type: integer
  22473. - description: 合同类型 1-采购, -1-销售
  22474. in: query
  22475. name: contracttype
  22476. type: integer
  22477. - description: 查询类型(逗号隔开, 如1,2,3) 1-未提交 2-待审核 3-履约中 4-已完成
  22478. in: query
  22479. name: querytype
  22480. type: string
  22481. - description: 合同ID(SpotContractId)
  22482. in: query
  22483. name: contractid
  22484. type: string
  22485. - description: 合同编号(模糊匹配)
  22486. in: query
  22487. name: contractno
  22488. type: string
  22489. - description: 商品名称(模糊匹配)
  22490. in: query
  22491. name: wrstandardname
  22492. type: string
  22493. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中
  22494. 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  22495. in: query
  22496. name: status
  22497. type: string
  22498. - description: 是否只查今日的合同 1-查今日合同
  22499. in: query
  22500. name: istoday
  22501. type: integer
  22502. produces:
  22503. - application/json
  22504. responses:
  22505. "200":
  22506. description: OK
  22507. schema:
  22508. items:
  22509. $ref: '#/definitions/models.Ermcp3Contract'
  22510. type: array
  22511. "500":
  22512. description: Internal Server Error
  22513. schema:
  22514. $ref: '#/definitions/app.Response'
  22515. security:
  22516. - ApiKeyAuth: []
  22517. summary: 查询现货合同
  22518. tags:
  22519. - 企业风险管理v3(app)
  22520. /Ermcp3/QuerySpotContractBS:
  22521. get:
  22522. parameters:
  22523. - description: 用户id
  22524. in: query
  22525. name: userid
  22526. required: true
  22527. type: integer
  22528. - description: 用户类型 2-机构 7-企业成员
  22529. in: query
  22530. name: usertype
  22531. type: integer
  22532. - description: 合同类型 1-采购, -1-销售
  22533. in: query
  22534. name: contracttype
  22535. required: true
  22536. type: integer
  22537. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  22538. in: query
  22539. name: querytype
  22540. type: integer
  22541. - description: 合同ID(SpotContractId)
  22542. in: query
  22543. name: contractid
  22544. type: string
  22545. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中
  22546. 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  22547. in: query
  22548. name: status
  22549. type: string
  22550. - description: 是否只查今日的合同 1-查今日合同
  22551. in: query
  22552. name: istoday
  22553. type: integer
  22554. produces:
  22555. - application/json
  22556. responses:
  22557. "200":
  22558. description: OK
  22559. schema:
  22560. items:
  22561. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  22562. type: array
  22563. "500":
  22564. description: Internal Server Error
  22565. schema:
  22566. $ref: '#/definitions/app.Response'
  22567. security:
  22568. - ApiKeyAuth: []
  22569. summary: 查询合同(采购/销售)
  22570. tags:
  22571. - 企业风险管理v3(app)
  22572. /Ermcp3/QuerySpotGoodsPrice:
  22573. get:
  22574. parameters:
  22575. - description: 用户ID
  22576. in: query
  22577. name: userid
  22578. required: true
  22579. type: integer
  22580. produces:
  22581. - application/json
  22582. responses:
  22583. "200":
  22584. description: OK
  22585. schema:
  22586. items:
  22587. $ref: '#/definitions/models.Ermcp3SpotGoodsPrice'
  22588. type: array
  22589. "500":
  22590. description: Internal Server Error
  22591. schema:
  22592. $ref: '#/definitions/app.Response'
  22593. security:
  22594. - ApiKeyAuth: []
  22595. summary: 查询现货市价(现货市价)
  22596. tags:
  22597. - 企业风险管理v3(app)
  22598. /Ermcp3/QuerySpotGoodsPriceLog:
  22599. get:
  22600. parameters:
  22601. - description: 用户ID
  22602. in: query
  22603. name: userid
  22604. required: true
  22605. type: integer
  22606. - description: 现货商品ID
  22607. in: query
  22608. name: deliverygoodsid
  22609. required: true
  22610. type: integer
  22611. - description: 品牌ID
  22612. in: query
  22613. name: brandid
  22614. type: integer
  22615. - description: 品类ID
  22616. in: query
  22617. name: wrstandardid
  22618. type: integer
  22619. produces:
  22620. - application/json
  22621. responses:
  22622. "200":
  22623. description: OK
  22624. schema:
  22625. items:
  22626. $ref: '#/definitions/models.Ermcp3SpotGoodsPriceLog'
  22627. type: array
  22628. "500":
  22629. description: Internal Server Error
  22630. schema:
  22631. $ref: '#/definitions/app.Response'
  22632. security:
  22633. - ApiKeyAuth: []
  22634. summary: 查询现货市价详情(现货市价/详情)
  22635. tags:
  22636. - 企业风险管理v3(app)
  22637. /Ermcp3/QuerySubTaaccount:
  22638. get:
  22639. description: 页面 app 现货->期现关联->外部成交单关联->点"关联"按钮->选择期货子账户
  22640. parameters:
  22641. - description: 母账号id
  22642. in: query
  22643. name: parentaccountid
  22644. type: integer
  22645. - description: 母账号代码
  22646. in: query
  22647. name: parentaccountcode
  22648. type: string
  22649. produces:
  22650. - application/json
  22651. responses:
  22652. "200":
  22653. description: OK
  22654. schema:
  22655. items:
  22656. $ref: '#/definitions/models.Ermcp3SubTaaccount'
  22657. type: array
  22658. "500":
  22659. description: Internal Server Error
  22660. schema:
  22661. $ref: '#/definitions/app.Response'
  22662. security:
  22663. - ApiKeyAuth: []
  22664. summary: 查询期货子账户
  22665. tags:
  22666. - 企业风险管理v3(app)
  22667. /Ermcp8/QueryERMCP2HedgedItemSpotDetail:
  22668. get:
  22669. parameters:
  22670. - description: 套期项目ID
  22671. in: query
  22672. name: hedgeditemid
  22673. required: true
  22674. type: integer
  22675. produces:
  22676. - application/json
  22677. responses:
  22678. "200":
  22679. description: OK
  22680. schema:
  22681. items:
  22682. $ref: '#/definitions/models.Ermcp2hedgeditemspotDetail'
  22683. type: array
  22684. "500":
  22685. description: Internal Server Error
  22686. schema:
  22687. $ref: '#/definitions/app.Response'
  22688. security:
  22689. - ApiKeyAuth: []
  22690. summary: 现货成交明细查询
  22691. tags:
  22692. - 企业风险管理v8
  22693. /Ermcp8/QueryERMCP2HedgedItemspot:
  22694. get:
  22695. parameters:
  22696. - description: 套期项目ID
  22697. in: query
  22698. name: hedgeditemid
  22699. required: true
  22700. type: integer
  22701. produces:
  22702. - application/json
  22703. responses:
  22704. "200":
  22705. description: OK
  22706. schema:
  22707. items:
  22708. $ref: '#/definitions/models.Ermcp2hedgeditemspot'
  22709. type: array
  22710. "500":
  22711. description: Internal Server Error
  22712. schema:
  22713. $ref: '#/definitions/app.Response'
  22714. security:
  22715. - ApiKeyAuth: []
  22716. summary: 套期计划明细查询
  22717. tags:
  22718. - 企业风险管理v8
  22719. /Ermcp8/QueryERMCPJRLinkPos:
  22720. get:
  22721. parameters:
  22722. - description: 套期项目ID
  22723. in: query
  22724. name: hedgeditemid
  22725. required: true
  22726. type: integer
  22727. produces:
  22728. - application/json
  22729. responses:
  22730. "200":
  22731. description: OK
  22732. schema:
  22733. items:
  22734. $ref: '#/definitions/models.Ermcpjrlinkpos'
  22735. type: array
  22736. "500":
  22737. description: Internal Server Error
  22738. schema:
  22739. $ref: '#/definitions/app.Response'
  22740. security:
  22741. - ApiKeyAuth: []
  22742. summary: 期货持仓明细查询
  22743. tags:
  22744. - 企业风险管理v8
  22745. /Ermcp8/QueryERMCPPatradeLinkDetail:
  22746. get:
  22747. parameters:
  22748. - description: 套期项目ID
  22749. in: query
  22750. name: hedgeditemid
  22751. required: true
  22752. type: integer
  22753. produces:
  22754. - application/json
  22755. responses:
  22756. "200":
  22757. description: OK
  22758. schema:
  22759. items:
  22760. $ref: '#/definitions/models.Ermcppatradelinkdetail'
  22761. type: array
  22762. "500":
  22763. description: Internal Server Error
  22764. schema:
  22765. $ref: '#/definitions/app.Response'
  22766. security:
  22767. - ApiKeyAuth: []
  22768. summary: 期货成交单明细查询
  22769. tags:
  22770. - 企业风险管理v8
  22771. /Ermcp8/QueryErmcp2AreaExposure:
  22772. get:
  22773. parameters:
  22774. - description: 用户ID
  22775. in: query
  22776. name: userid
  22777. required: true
  22778. type: string
  22779. produces:
  22780. - application/json
  22781. responses:
  22782. "200":
  22783. description: OK
  22784. schema:
  22785. items:
  22786. $ref: '#/definitions/models.Ermcp2AreaExposure'
  22787. type: array
  22788. "500":
  22789. description: Internal Server Error
  22790. schema:
  22791. $ref: '#/definitions/app.Response'
  22792. security:
  22793. - ApiKeyAuth: []
  22794. summary: 企业敞口查询
  22795. tags:
  22796. - 企业风险管理v8
  22797. /Ermcp8/QueryErmcp2HedgedItem:
  22798. get:
  22799. description: 已完成项目查询 -> 项目状态 = 3:正常完结 or 5:异常完结
  22800. parameters:
  22801. - description: 用户ID
  22802. in: query
  22803. name: userid
  22804. required: true
  22805. type: string
  22806. - description: 套期类型 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  22807. in: query
  22808. name: hedgedtype
  22809. type: integer
  22810. - description: 项目状态 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  22811. in: query
  22812. name: hedgeditemstatus
  22813. type: integer
  22814. produces:
  22815. - application/json
  22816. responses:
  22817. "200":
  22818. description: OK
  22819. schema:
  22820. items:
  22821. $ref: '#/definitions/models.Ermcp2hedgeditem'
  22822. type: array
  22823. "500":
  22824. description: Internal Server Error
  22825. schema:
  22826. $ref: '#/definitions/app.Response'
  22827. security:
  22828. - ApiKeyAuth: []
  22829. summary: 查询被套期项目信息
  22830. tags:
  22831. - 企业风险管理v8
  22832. /Ermcp8/QueryErmcp2HedgedItemLink:
  22833. get:
  22834. parameters:
  22835. - description: 现货合同ID
  22836. in: query
  22837. name: spotcontractid
  22838. required: true
  22839. type: integer
  22840. produces:
  22841. - application/json
  22842. responses:
  22843. "200":
  22844. description: OK
  22845. schema:
  22846. items:
  22847. $ref: '#/definitions/models.Ermcp2hedgeditemlink'
  22848. type: array
  22849. "500":
  22850. description: Internal Server Error
  22851. schema:
  22852. $ref: '#/definitions/app.Response'
  22853. security:
  22854. - ApiKeyAuth: []
  22855. summary: 现货合同关联被套期项目查询
  22856. tags:
  22857. - 企业风险管理v8
  22858. /Ermcp8/QueryErmcp2HedgedItemsDetail:
  22859. get:
  22860. parameters:
  22861. - description: 用户ID
  22862. in: query
  22863. name: userid
  22864. required: true
  22865. type: integer
  22866. - description: 套保品种ID
  22867. in: query
  22868. name: middlegoodsid
  22869. required: true
  22870. type: integer
  22871. produces:
  22872. - application/json
  22873. responses:
  22874. "200":
  22875. description: OK
  22876. schema:
  22877. items:
  22878. $ref: '#/definitions/models.Ermcp2hedgeditemsDetail'
  22879. type: array
  22880. "500":
  22881. description: Internal Server Error
  22882. schema:
  22883. $ref: '#/definitions/app.Response'
  22884. security:
  22885. - ApiKeyAuth: []
  22886. summary: 敞口明细 - 计划变动明细
  22887. tags:
  22888. - 企业风险管理v8
  22889. /Ermcp8/QueryErmcp2StockSpotChangeLog:
  22890. get:
  22891. parameters:
  22892. - description: 用户ID
  22893. in: query
  22894. name: userid
  22895. required: true
  22896. type: integer
  22897. - description: 套保品种ID
  22898. in: query
  22899. name: middlegoodsid
  22900. required: true
  22901. type: integer
  22902. produces:
  22903. - application/json
  22904. responses:
  22905. "200":
  22906. description: OK
  22907. schema:
  22908. items:
  22909. $ref: '#/definitions/models.Ermcp2stockspotchangelog'
  22910. type: array
  22911. "500":
  22912. description: Internal Server Error
  22913. schema:
  22914. $ref: '#/definitions/app.Response'
  22915. security:
  22916. - ApiKeyAuth: []
  22917. summary: 敞口明细 - 现货变动明细查询
  22918. tags:
  22919. - 企业风险管理v8
  22920. /Ermcp8/QueryErmcp8EnableHedgeditem:
  22921. get:
  22922. parameters:
  22923. - description: 用户ID
  22924. in: query
  22925. name: userid
  22926. required: true
  22927. type: integer
  22928. - description: 现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  22929. in: query
  22930. name: spottype
  22931. required: true
  22932. type: integer
  22933. - description: 现货商品ID
  22934. in: query
  22935. name: wrstandardid
  22936. type: integer
  22937. produces:
  22938. - application/json
  22939. responses:
  22940. "200":
  22941. description: OK
  22942. schema:
  22943. items:
  22944. $ref: '#/definitions/models.Ermcp8EnableHedgeditem'
  22945. type: array
  22946. "500":
  22947. description: Internal Server Error
  22948. schema:
  22949. $ref: '#/definitions/app.Response'
  22950. security:
  22951. - ApiKeyAuth: []
  22952. summary: 可关联项目查询
  22953. tags:
  22954. - 企业风险管理v8
  22955. /Ermcp8/QueryErmcp8HedgeditemReport:
  22956. get:
  22957. parameters:
  22958. - description: 用户ID
  22959. in: query
  22960. name: userid
  22961. required: true
  22962. type: integer
  22963. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  22964. in: query
  22965. name: cycletype
  22966. type: integer
  22967. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  22968. 全(0)【原值】
  22969. in: query
  22970. name: cycletime
  22971. required: true
  22972. type: string
  22973. - description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  22974. in: query
  22975. name: hedgedtype
  22976. type: integer
  22977. - description: 项目状态 - 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  22978. in: query
  22979. name: hedgeditemstatus
  22980. type: integer
  22981. - description: 项目编号,模糊查询
  22982. in: query
  22983. name: hedgeditemnum
  22984. type: string
  22985. - description: 现货商品ID
  22986. in: query
  22987. name: wrstandardid
  22988. type: integer
  22989. produces:
  22990. - application/json
  22991. responses:
  22992. "200":
  22993. description: OK
  22994. schema:
  22995. items:
  22996. $ref: '#/definitions/models.Ermcp8HedgeditemReport'
  22997. type: array
  22998. "500":
  22999. description: Internal Server Error
  23000. schema:
  23001. $ref: '#/definitions/app.Response'
  23002. security:
  23003. - ApiKeyAuth: []
  23004. summary: 套期项目报表查询
  23005. tags:
  23006. - 企业风险管理v8
  23007. /Ermcp8/QueryErmcp8RunningHedgeditem:
  23008. get:
  23009. parameters:
  23010. - description: 用户ID
  23011. in: query
  23012. name: userid
  23013. required: true
  23014. type: string
  23015. produces:
  23016. - application/json
  23017. responses:
  23018. "200":
  23019. description: OK
  23020. schema:
  23021. items:
  23022. $ref: '#/definitions/models.Ermcp8RunningHedgeditem'
  23023. type: array
  23024. "500":
  23025. description: Internal Server Error
  23026. schema:
  23027. $ref: '#/definitions/app.Response'
  23028. security:
  23029. - ApiKeyAuth: []
  23030. summary: 查询执行中项目查询信息
  23031. tags:
  23032. - 企业风险管理v8
  23033. /Ermcp8/QueryInternalEnableTradeDetail:
  23034. get:
  23035. parameters:
  23036. - description: 企业ID
  23037. in: query
  23038. name: areauserid
  23039. required: true
  23040. type: integer
  23041. - description: 期货合约ID
  23042. in: query
  23043. name: goodsid
  23044. required: true
  23045. type: integer
  23046. - description: 交易用户ID
  23047. in: query
  23048. name: tradeuserid
  23049. required: true
  23050. type: integer
  23051. produces:
  23052. - application/json
  23053. responses:
  23054. "200":
  23055. description: OK
  23056. schema:
  23057. items:
  23058. $ref: '#/definitions/models.InternalEnableTradeDetail'
  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/QueryInternalUncorrelatedTradeDetail:
  23070. get:
  23071. parameters:
  23072. - description: 用户编号
  23073. in: query
  23074. name: userid
  23075. required: true
  23076. type: integer
  23077. - description: 起始日期(格式yyyymmdd)
  23078. in: query
  23079. name: begindate
  23080. type: string
  23081. - description: 终止日期(格式yyyymmdd)
  23082. in: query
  23083. name: enddate
  23084. type: string
  23085. - description: 合约代码
  23086. in: query
  23087. name: goodscode
  23088. type: string
  23089. - description: 合约名称
  23090. in: query
  23091. name: goodsname
  23092. type: string
  23093. - description: 成交单号
  23094. in: query
  23095. name: tradeid
  23096. type: integer
  23097. - description: 方向 - 0:买 1:卖
  23098. in: query
  23099. name: buyorsell
  23100. type: integer
  23101. - description: 套期主体
  23102. in: query
  23103. name: accountname
  23104. type: string
  23105. produces:
  23106. - application/json
  23107. responses:
  23108. "200":
  23109. description: OK
  23110. schema:
  23111. items:
  23112. $ref: '#/definitions/models.InternalUncorrelatedTradeDetail'
  23113. type: array
  23114. "500":
  23115. description: Internal Server Error
  23116. schema:
  23117. $ref: '#/definitions/app.Response'
  23118. security:
  23119. - ApiKeyAuth: []
  23120. summary: 内部未关联成交单查询
  23121. tags:
  23122. - 企业风险管理v8
  23123. /Ermcp8/QueryMarketCalendar:
  23124. get:
  23125. parameters:
  23126. - description: 市场ID
  23127. in: query
  23128. name: marketid
  23129. type: integer
  23130. produces:
  23131. - application/json
  23132. responses:
  23133. "200":
  23134. description: OK
  23135. schema:
  23136. items:
  23137. $ref: '#/definitions/models.Marketcalendar'
  23138. type: array
  23139. "500":
  23140. description: Internal Server Error
  23141. schema:
  23142. $ref: '#/definitions/app.Response'
  23143. security:
  23144. - ApiKeyAuth: []
  23145. summary: 市场节假日查询
  23146. tags:
  23147. - 企业风险管理v8
  23148. /Ermcp8/QueryPatradeLinkDetail:
  23149. get:
  23150. parameters:
  23151. - description: 用户ID
  23152. in: query
  23153. name: userid
  23154. required: true
  23155. type: integer
  23156. - description: 套保品种ID
  23157. in: query
  23158. name: middlegoodsid
  23159. required: true
  23160. type: integer
  23161. produces:
  23162. - application/json
  23163. responses:
  23164. "200":
  23165. description: OK
  23166. schema:
  23167. items:
  23168. $ref: '#/definitions/models.Patradelinkdetail'
  23169. type: array
  23170. "500":
  23171. description: Internal Server Error
  23172. schema:
  23173. $ref: '#/definitions/app.Response'
  23174. security:
  23175. - ApiKeyAuth: []
  23176. summary: 敞口明细 - 期货变动明细
  23177. tags:
  23178. - 企业风险管理v8
  23179. /Ermcp8/QueryUnLinkErmcpHedgePlan:
  23180. get:
  23181. parameters:
  23182. - description: 企业ID
  23183. in: query
  23184. name: areauserid
  23185. required: true
  23186. type: integer
  23187. - description: 计划类型 - 1:采购 -1:销售
  23188. in: query
  23189. name: contracttype
  23190. type: integer
  23191. - description: 计划编号,模糊查询
  23192. in: query
  23193. name: hedgeplanno
  23194. type: string
  23195. - description: 现货商品,模糊查询
  23196. in: query
  23197. name: wrstandardname
  23198. type: string
  23199. produces:
  23200. - application/json
  23201. responses:
  23202. "200":
  23203. description: OK
  23204. schema:
  23205. items:
  23206. $ref: '#/definitions/models.Unlinkermcphedgeplan'
  23207. type: array
  23208. "500":
  23209. description: Internal Server Error
  23210. schema:
  23211. $ref: '#/definitions/app.Response'
  23212. security:
  23213. - ApiKeyAuth: []
  23214. summary: 未关联购销计划
  23215. tags:
  23216. - 企业风险管理v8
  23217. /Ermcp8/QueryUnLinkSpotContract:
  23218. get:
  23219. parameters:
  23220. - description: 用户ID
  23221. in: query
  23222. name: userid
  23223. required: true
  23224. type: integer
  23225. - description: 定价类型 - 1:一口价 2:点价 3:暂定价
  23226. in: query
  23227. name: pricetype
  23228. type: integer
  23229. - description: 合同编号, 模拟查询
  23230. in: query
  23231. name: contractno
  23232. type: string
  23233. - description: 对手方, 模拟查询
  23234. in: query
  23235. name: customername
  23236. type: string
  23237. - description: 项合同类型 - 1:采购 -1:销售
  23238. in: query
  23239. name: contracttype
  23240. type: integer
  23241. produces:
  23242. - application/json
  23243. responses:
  23244. "200":
  23245. description: OK
  23246. schema:
  23247. items:
  23248. $ref: '#/definitions/models.ErmcpSpotContractModelEx'
  23249. type: array
  23250. "500":
  23251. description: Internal Server Error
  23252. schema:
  23253. $ref: '#/definitions/app.Response'
  23254. security:
  23255. - ApiKeyAuth: []
  23256. summary: 未关联合同查询
  23257. tags:
  23258. - 企业风险管理v8
  23259. /Erms2/QueryArbitrageStrategy:
  23260. get:
  23261. parameters:
  23262. - description: 账户ID
  23263. in: query
  23264. name: userid
  23265. required: true
  23266. type: integer
  23267. - description: 商品组ID(品种ID)
  23268. in: query
  23269. name: goodsgroupid
  23270. type: string
  23271. produces:
  23272. - application/json
  23273. responses:
  23274. "200":
  23275. description: OK
  23276. schema:
  23277. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  23278. "500":
  23279. description: Internal Server Error
  23280. schema:
  23281. $ref: '#/definitions/app.Response'
  23282. security:
  23283. - ApiKeyAuth: []
  23284. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  23285. tags:
  23286. - 风险管理
  23287. /Erms2/QueryInnerTradeDetail:
  23288. get:
  23289. parameters:
  23290. - description: 资金账户
  23291. in: query
  23292. name: accountid
  23293. required: true
  23294. type: integer
  23295. produces:
  23296. - application/json
  23297. responses:
  23298. "200":
  23299. description: OK
  23300. schema:
  23301. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  23302. "500":
  23303. description: Internal Server Error
  23304. schema:
  23305. $ref: '#/definitions/app.Response'
  23306. security:
  23307. - ApiKeyAuth: []
  23308. summary: 查询内部成交单信息
  23309. tags:
  23310. - 风险管理
  23311. /Erms2/QuerySpotContract:
  23312. get:
  23313. parameters:
  23314. - description: 策略申请ID
  23315. in: query
  23316. name: asapplyid
  23317. required: true
  23318. type: integer
  23319. - description: 现货合同ID
  23320. in: query
  23321. name: spotcontractid
  23322. type: integer
  23323. produces:
  23324. - application/json
  23325. responses:
  23326. "200":
  23327. description: OK
  23328. schema:
  23329. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  23330. "500":
  23331. description: Internal Server Error
  23332. schema:
  23333. $ref: '#/definitions/app.Response'
  23334. security:
  23335. - ApiKeyAuth: []
  23336. summary: 查询现货合同表信息(指定策略ID、未结束的)
  23337. tags:
  23338. - 风险管理
  23339. /Erms3/AddErms2ASApply:
  23340. post:
  23341. parameters:
  23342. - description: 申请参数
  23343. in: body
  23344. name: jsonBody
  23345. required: true
  23346. schema:
  23347. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  23348. produces:
  23349. - application/json
  23350. responses:
  23351. "200":
  23352. description: OK
  23353. schema:
  23354. $ref: '#/definitions/app.Response'
  23355. "500":
  23356. description: Internal Server Error
  23357. schema:
  23358. $ref: '#/definitions/app.Response'
  23359. security:
  23360. - ApiKeyAuth: []
  23361. summary: 新增期现套利业务申请
  23362. tags:
  23363. - 风险管理v3
  23364. /Erms3/AddErms2SpotTradeApply:
  23365. post:
  23366. parameters:
  23367. - description: 申请参数
  23368. in: body
  23369. name: jsonBody
  23370. required: true
  23371. schema:
  23372. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  23373. produces:
  23374. - application/json
  23375. responses:
  23376. "200":
  23377. description: OK
  23378. schema:
  23379. $ref: '#/definitions/app.Response'
  23380. "500":
  23381. description: Internal Server Error
  23382. schema:
  23383. $ref: '#/definitions/app.Response'
  23384. security:
  23385. - ApiKeyAuth: []
  23386. summary: 新增现货贸易业务申请
  23387. tags:
  23388. - 风险管理v3
  23389. /Erms3/AddSpotContractApply:
  23390. post:
  23391. parameters:
  23392. - description: 申请参数
  23393. in: body
  23394. name: jsonBody
  23395. required: true
  23396. schema:
  23397. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  23398. produces:
  23399. - application/json
  23400. responses:
  23401. "200":
  23402. description: OK
  23403. schema:
  23404. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  23405. "500":
  23406. description: Internal Server Error
  23407. schema:
  23408. $ref: '#/definitions/app.Response'
  23409. security:
  23410. - ApiKeyAuth: []
  23411. summary: 新增现货合同申请
  23412. tags:
  23413. - 风险管理v3
  23414. /Erms3/AddUserInfoApply:
  23415. post:
  23416. parameters:
  23417. - description: 用户信息
  23418. in: body
  23419. name: jsonBody
  23420. required: true
  23421. schema:
  23422. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  23423. produces:
  23424. - application/json
  23425. responses:
  23426. "200":
  23427. description: OK
  23428. schema:
  23429. $ref: '#/definitions/app.Response'
  23430. "500":
  23431. description: Internal Server Error
  23432. schema:
  23433. $ref: '#/definitions/app.Response'
  23434. security:
  23435. - ApiKeyAuth: []
  23436. summary: 新增客户申请
  23437. tags:
  23438. - 风险管理v3
  23439. /Erms3/DeleteUserInfoApply:
  23440. get:
  23441. description: 只可删除 UserState = 1 (未提交)状态的申请信息
  23442. parameters:
  23443. - description: 用户ID
  23444. in: query
  23445. name: userID
  23446. required: true
  23447. type: integer
  23448. produces:
  23449. - application/json
  23450. responses:
  23451. "200":
  23452. description: OK
  23453. schema:
  23454. $ref: '#/definitions/app.Response'
  23455. "500":
  23456. description: Internal Server Error
  23457. schema:
  23458. $ref: '#/definitions/app.Response'
  23459. security:
  23460. - ApiKeyAuth: []
  23461. summary: 删除客户申请
  23462. tags:
  23463. - 风险管理v3
  23464. /Erms3/ModifyUserInfoApply:
  23465. post:
  23466. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid":
  23467. int, "userstate": 2 }'
  23468. parameters:
  23469. - description: 用户信息
  23470. in: body
  23471. name: jsonBody
  23472. required: true
  23473. schema:
  23474. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  23475. produces:
  23476. - application/json
  23477. responses:
  23478. "200":
  23479. description: OK
  23480. schema:
  23481. $ref: '#/definitions/app.Response'
  23482. "500":
  23483. description: Internal Server Error
  23484. schema:
  23485. $ref: '#/definitions/app.Response'
  23486. security:
  23487. - ApiKeyAuth: []
  23488. summary: 修改客户申请
  23489. tags:
  23490. - 风险管理v3
  23491. /Erms3/QueryBusinessInfo:
  23492. get:
  23493. parameters:
  23494. - description: 资金账号ID列表,用逗号分隔
  23495. in: query
  23496. name: accountids
  23497. required: true
  23498. type: string
  23499. - description: 状态,0为未结束 1为已结束
  23500. in: query
  23501. name: status
  23502. required: true
  23503. type: integer
  23504. produces:
  23505. - application/json
  23506. responses:
  23507. "200":
  23508. description: OK
  23509. schema:
  23510. items:
  23511. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  23512. type: array
  23513. "500":
  23514. description: Internal Server Error
  23515. schema:
  23516. $ref: '#/definitions/app.Response'
  23517. security:
  23518. - ApiKeyAuth: []
  23519. summary: 查询业务表单数据
  23520. tags:
  23521. - 风险管理v3
  23522. /Erms3/QueryPendingAuditContract:
  23523. get:
  23524. parameters:
  23525. - description: 资金账号ID列表,逗号隔开
  23526. in: query
  23527. name: accountids
  23528. required: true
  23529. type: string
  23530. - description: 合同类型 1-采购 -1-销售
  23531. in: query
  23532. name: contracttype
  23533. required: true
  23534. type: integer
  23535. - description: 合同模式 1-普通 2-回购
  23536. in: query
  23537. name: contractmode
  23538. required: true
  23539. type: integer
  23540. produces:
  23541. - application/json
  23542. responses:
  23543. "200":
  23544. description: OK
  23545. schema:
  23546. items:
  23547. $ref: '#/definitions/erms3.QryAuditContractRsp'
  23548. type: array
  23549. "500":
  23550. description: Internal Server Error
  23551. schema:
  23552. $ref: '#/definitions/app.Response'
  23553. security:
  23554. - ApiKeyAuth: []
  23555. summary: 查询待审核合同
  23556. tags:
  23557. - 风险管理v3
  23558. /Erms3/QueryPendingBusiness:
  23559. get:
  23560. parameters:
  23561. - description: 资金账号ID列表,逗号隔开
  23562. in: query
  23563. name: accountids
  23564. required: true
  23565. type: string
  23566. produces:
  23567. - application/json
  23568. responses:
  23569. "200":
  23570. description: OK
  23571. schema:
  23572. items:
  23573. $ref: '#/definitions/erms3.QryPendingBizRsp'
  23574. type: array
  23575. "500":
  23576. description: Internal Server Error
  23577. schema:
  23578. $ref: '#/definitions/app.Response'
  23579. security:
  23580. - ApiKeyAuth: []
  23581. summary: 查询待审核基差贸易业务
  23582. tags:
  23583. - 风险管理v3
  23584. /Erms3/QuerySpotContractAppleForm:
  23585. get:
  23586. parameters:
  23587. - description: 登录账号
  23588. in: query
  23589. name: loginID
  23590. required: true
  23591. type: integer
  23592. produces:
  23593. - application/json
  23594. responses:
  23595. "200":
  23596. description: OK
  23597. schema:
  23598. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  23599. "500":
  23600. description: Internal Server Error
  23601. schema:
  23602. $ref: '#/definitions/app.Response'
  23603. security:
  23604. - ApiKeyAuth: []
  23605. summary: 查询合同申请表单数据
  23606. tags:
  23607. - 风险管理v3
  23608. /Erms3/QuerySpotContractDetail:
  23609. get:
  23610. parameters:
  23611. - description: 资金账号ID列表,用逗号分隔
  23612. in: query
  23613. name: accountids
  23614. required: true
  23615. type: string
  23616. - description: 合同类型,1为采购合同 -1为销售合同
  23617. in: query
  23618. name: contracttype
  23619. required: true
  23620. type: integer
  23621. - description: 合同模式,1为普通合同 2为回购销售合同
  23622. in: query
  23623. name: contractmode
  23624. required: true
  23625. type: integer
  23626. - description: 状态,0为履约中 1为已完成
  23627. in: query
  23628. name: status
  23629. required: true
  23630. type: integer
  23631. produces:
  23632. - application/json
  23633. responses:
  23634. "200":
  23635. description: OK
  23636. schema:
  23637. items:
  23638. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  23639. type: array
  23640. "500":
  23641. description: Internal Server Error
  23642. schema:
  23643. $ref: '#/definitions/app.Response'
  23644. security:
  23645. - ApiKeyAuth: []
  23646. summary: 查询合同详细信息
  23647. tags:
  23648. - 风险管理v3
  23649. /Erms3/QueryUserInfoApplies:
  23650. get:
  23651. parameters:
  23652. - description: 页码
  23653. in: query
  23654. name: page
  23655. type: integer
  23656. - description: 每页条数
  23657. in: query
  23658. name: pagesize
  23659. type: integer
  23660. - description: 客户名称,支持模糊查询
  23661. in: query
  23662. name: userName
  23663. type: string
  23664. produces:
  23665. - application/json
  23666. responses:
  23667. "200":
  23668. description: OK
  23669. schema:
  23670. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  23671. "500":
  23672. description: Internal Server Error
  23673. schema:
  23674. $ref: '#/definitions/app.Response'
  23675. security:
  23676. - ApiKeyAuth: []
  23677. summary: 客户申请信息查询
  23678. tags:
  23679. - 风险管理v3
  23680. /Erms3/QueryUserInfos:
  23681. get:
  23682. parameters:
  23683. - description: 页码
  23684. in: query
  23685. name: page
  23686. type: integer
  23687. - description: 每页条数
  23688. in: query
  23689. name: pagesize
  23690. type: integer
  23691. - description: 客户名称,支持模糊查询
  23692. in: query
  23693. name: userName
  23694. type: string
  23695. produces:
  23696. - application/json
  23697. responses:
  23698. "200":
  23699. description: OK
  23700. schema:
  23701. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  23702. "500":
  23703. description: Internal Server Error
  23704. schema:
  23705. $ref: '#/definitions/app.Response'
  23706. security:
  23707. - ApiKeyAuth: []
  23708. summary: 客户信息查询
  23709. tags:
  23710. - 风险管理v3
  23711. /Guangzuan/GetGoods:
  23712. get:
  23713. parameters:
  23714. - description: 商品编号
  23715. in: query
  23716. name: goodsno
  23717. required: true
  23718. type: string
  23719. produces:
  23720. - application/json
  23721. responses:
  23722. "200":
  23723. description: OK
  23724. schema:
  23725. $ref: '#/definitions/models.GZGoods'
  23726. "500":
  23727. description: Internal Server Error
  23728. schema:
  23729. $ref: '#/definitions/app.Response'
  23730. security:
  23731. - ApiKeyAuth: []
  23732. - LoginID: []
  23733. - Group: []
  23734. summary: 获取钻石详情
  23735. tags:
  23736. - 广钻
  23737. /Guangzuan/QueryBuyOrder:
  23738. get:
  23739. parameters:
  23740. - description: 页码
  23741. in: query
  23742. name: page
  23743. type: integer
  23744. - description: 每页条数
  23745. in: query
  23746. name: pagesize
  23747. type: integer
  23748. - description: 商品(查询字段-模糊查询)
  23749. in: query
  23750. name: zsallproperties
  23751. type: string
  23752. - description: 钻石分类枚举ID
  23753. in: query
  23754. name: zscategory
  23755. type: integer
  23756. - description: 委托单号
  23757. in: query
  23758. name: wrtradeorderid
  23759. type: integer
  23760. - description: 买方(查询字段-模糊查询)
  23761. in: query
  23762. name: buyusername
  23763. type: string
  23764. produces:
  23765. - application/json
  23766. responses:
  23767. "200":
  23768. description: OK
  23769. schema:
  23770. items:
  23771. $ref: '#/definitions/models.BuyOrder'
  23772. type: array
  23773. "500":
  23774. description: Internal Server Error
  23775. schema:
  23776. $ref: '#/definitions/app.Response'
  23777. security:
  23778. - ApiKeyAuth: []
  23779. - LoginID: []
  23780. - Group: []
  23781. summary: 查询求购大厅委托单
  23782. tags:
  23783. - 广钻
  23784. /Guangzuan/QueryDiamond:
  23785. post:
  23786. parameters:
  23787. - description: 钻石搜索入参
  23788. in: body
  23789. name: data
  23790. required: true
  23791. schema:
  23792. $ref: '#/definitions/models.SellOrderQueryReq'
  23793. produces:
  23794. - application/json
  23795. responses:
  23796. "200":
  23797. description: OK
  23798. schema:
  23799. items:
  23800. $ref: '#/definitions/models.SellOrder'
  23801. type: array
  23802. "500":
  23803. description: Internal Server Error
  23804. schema:
  23805. $ref: '#/definitions/app.Response'
  23806. security:
  23807. - ApiKeyAuth: []
  23808. - LoginID: []
  23809. - Group: []
  23810. summary: 钻石搜索
  23811. tags:
  23812. - 广钻
  23813. /Guangzuan/QueryMyBargainApply:
  23814. get:
  23815. parameters:
  23816. - description: 用户ID
  23817. in: query
  23818. name: userid
  23819. required: true
  23820. type: integer
  23821. - description: 页码
  23822. in: query
  23823. name: page
  23824. type: integer
  23825. - description: 每页条数
  23826. in: query
  23827. name: pagesize
  23828. type: integer
  23829. - description: 申请状态(不传查全部) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  23830. in: query
  23831. name: applystatus
  23832. type: integer
  23833. produces:
  23834. - application/json
  23835. responses:
  23836. "200":
  23837. description: OK
  23838. schema:
  23839. items:
  23840. $ref: '#/definitions/models.MyBargainApply'
  23841. type: array
  23842. "500":
  23843. description: Internal Server Error
  23844. schema:
  23845. $ref: '#/definitions/app.Response'
  23846. security:
  23847. - ApiKeyAuth: []
  23848. - LoginID: []
  23849. - Group: []
  23850. summary: 查询我的询价-求购
  23851. tags:
  23852. - 广钻
  23853. /Guangzuan/QueryMyBuyOrder:
  23854. get:
  23855. parameters:
  23856. - description: 用户ID
  23857. in: query
  23858. name: userid
  23859. required: true
  23860. type: integer
  23861. - description: 页码
  23862. in: query
  23863. name: page
  23864. type: integer
  23865. - description: 每页条数
  23866. in: query
  23867. name: pagesize
  23868. type: integer
  23869. - description: 商品(查询字段-模糊查询)
  23870. in: query
  23871. name: zsallproperties
  23872. type: string
  23873. - description: 钻石分类枚举ID
  23874. in: query
  23875. name: zscategory
  23876. type: integer
  23877. - description: 委托单号
  23878. in: query
  23879. name: wrtradeorderid
  23880. type: integer
  23881. - description: 是否历史查询
  23882. in: query
  23883. name: ishis
  23884. type: boolean
  23885. produces:
  23886. - application/json
  23887. responses:
  23888. "200":
  23889. description: OK
  23890. schema:
  23891. items:
  23892. $ref: '#/definitions/models.MyBuyOrder'
  23893. type: array
  23894. "500":
  23895. description: Internal Server Error
  23896. schema:
  23897. $ref: '#/definitions/app.Response'
  23898. security:
  23899. - ApiKeyAuth: []
  23900. - LoginID: []
  23901. - Group: []
  23902. summary: 查询我的求购
  23903. tags:
  23904. - 广钻
  23905. /Guangzuan/QueryMyDeListing:
  23906. get:
  23907. parameters:
  23908. - description: 用户ID
  23909. in: query
  23910. name: userid
  23911. required: true
  23912. type: integer
  23913. - description: 页码
  23914. in: query
  23915. name: page
  23916. type: integer
  23917. - description: 每页条数
  23918. in: query
  23919. name: pagesize
  23920. type: integer
  23921. - description: 商品(查询字段-模糊查询)
  23922. in: query
  23923. name: zsallproperties
  23924. type: string
  23925. - description: 钻石分类枚举ID
  23926. in: query
  23927. name: zscategory
  23928. type: integer
  23929. - description: 成交单号
  23930. in: query
  23931. name: wrtradedetailid
  23932. type: integer
  23933. - description: 方向,0-全部(可不传) 1-购买 2-出售
  23934. in: query
  23935. name: buyorsell
  23936. type: integer
  23937. - description: 开始交易日(yyyymmdd)
  23938. in: query
  23939. name: begindate
  23940. type: string
  23941. - description: 结束交易日(yyyymmdd)
  23942. in: query
  23943. name: enddate
  23944. type: string
  23945. produces:
  23946. - application/json
  23947. responses:
  23948. "200":
  23949. description: OK
  23950. schema:
  23951. items:
  23952. $ref: '#/definitions/models.MyDeListing'
  23953. type: array
  23954. "500":
  23955. description: Internal Server Error
  23956. schema:
  23957. $ref: '#/definitions/app.Response'
  23958. security:
  23959. - ApiKeyAuth: []
  23960. - LoginID: []
  23961. - Group: []
  23962. summary: 查询我的摘牌
  23963. tags:
  23964. - 广钻
  23965. /Guangzuan/QueryMyDelistingApply:
  23966. get:
  23967. parameters:
  23968. - description: 用户ID
  23969. in: query
  23970. name: userid
  23971. required: true
  23972. type: integer
  23973. - description: 页码
  23974. in: query
  23975. name: page
  23976. type: integer
  23977. - description: 每页条数
  23978. in: query
  23979. name: pagesize
  23980. type: integer
  23981. - description: 申请状态(不传查全部) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  23982. in: query
  23983. name: applystatus
  23984. type: integer
  23985. produces:
  23986. - application/json
  23987. responses:
  23988. "200":
  23989. description: OK
  23990. schema:
  23991. items:
  23992. $ref: '#/definitions/models.MyDelistingApply'
  23993. type: array
  23994. "500":
  23995. description: Internal Server Error
  23996. schema:
  23997. $ref: '#/definitions/app.Response'
  23998. security:
  23999. - ApiKeyAuth: []
  24000. - LoginID: []
  24001. - Group: []
  24002. summary: 查询我的询价-出售
  24003. tags:
  24004. - 广钻
  24005. /Guangzuan/QueryMySellOrder:
  24006. get:
  24007. parameters:
  24008. - description: 用户ID
  24009. in: query
  24010. name: userid
  24011. required: true
  24012. type: integer
  24013. - description: 页码
  24014. in: query
  24015. name: page
  24016. type: integer
  24017. - description: 每页条数
  24018. in: query
  24019. name: pagesize
  24020. type: integer
  24021. - description: 商品(查询字段-模糊查询)
  24022. in: query
  24023. name: zsallproperties
  24024. type: string
  24025. - description: 钻石分类枚举ID
  24026. in: query
  24027. name: zscategory
  24028. type: integer
  24029. - description: 委托单号
  24030. in: query
  24031. name: wrtradeorderid
  24032. type: integer
  24033. - description: 是否历史查询
  24034. in: query
  24035. name: ishis
  24036. type: boolean
  24037. produces:
  24038. - application/json
  24039. responses:
  24040. "200":
  24041. description: OK
  24042. schema:
  24043. items:
  24044. $ref: '#/definitions/models.MySellOrder'
  24045. type: array
  24046. "500":
  24047. description: Internal Server Error
  24048. schema:
  24049. $ref: '#/definitions/app.Response'
  24050. security:
  24051. - ApiKeyAuth: []
  24052. - LoginID: []
  24053. - Group: []
  24054. summary: 查询我的出售
  24055. tags:
  24056. - 广钻
  24057. /Guangzuan/QueryMyWRPosition:
  24058. get:
  24059. parameters:
  24060. - description: 页码
  24061. in: query
  24062. name: page
  24063. type: integer
  24064. - description: 每页条数
  24065. in: query
  24066. name: pagesize
  24067. type: integer
  24068. - description: 登录用户ID
  24069. in: query
  24070. name: wruserid
  24071. required: true
  24072. type: integer
  24073. - description: 商品(查询字段-模糊查询)
  24074. in: query
  24075. name: zsallproperties
  24076. type: string
  24077. - description: 钻石分类枚举ID
  24078. in: query
  24079. name: zscategory
  24080. type: integer
  24081. - description: 仓库ID
  24082. in: query
  24083. name: warehouseid
  24084. type: integer
  24085. produces:
  24086. - application/json
  24087. responses:
  24088. "200":
  24089. description: OK
  24090. schema:
  24091. items:
  24092. $ref: '#/definitions/models.MyWRPosition'
  24093. type: array
  24094. "500":
  24095. description: Internal Server Error
  24096. schema:
  24097. $ref: '#/definitions/app.Response'
  24098. security:
  24099. - ApiKeyAuth: []
  24100. - LoginID: []
  24101. - Group: []
  24102. summary: 查询我的库存
  24103. tags:
  24104. - 广钻
  24105. /Guangzuan/QuerySellOrder:
  24106. get:
  24107. parameters:
  24108. - description: 页码
  24109. in: query
  24110. name: page
  24111. type: integer
  24112. - description: 每页条数
  24113. in: query
  24114. name: pagesize
  24115. type: integer
  24116. - description: 商品(查询字段-模糊查询)
  24117. in: query
  24118. name: zsallproperties
  24119. type: string
  24120. - description: 钻石分类枚举ID
  24121. in: query
  24122. name: zscategory
  24123. type: integer
  24124. - description: 委托单号
  24125. in: query
  24126. name: wrtradeorderid
  24127. type: integer
  24128. - description: 卖方(查询字段-模糊查询)
  24129. in: query
  24130. name: buyusername
  24131. type: string
  24132. produces:
  24133. - application/json
  24134. responses:
  24135. "200":
  24136. description: OK
  24137. schema:
  24138. items:
  24139. $ref: '#/definitions/models.SellOrder'
  24140. type: array
  24141. "500":
  24142. description: Internal Server Error
  24143. schema:
  24144. $ref: '#/definitions/app.Response'
  24145. security:
  24146. - ApiKeyAuth: []
  24147. - LoginID: []
  24148. - Group: []
  24149. summary: 查询出售大厅委托单
  24150. tags:
  24151. - 广钻
  24152. /Guangzuan/QueryWarehouseInfo:
  24153. get:
  24154. parameters:
  24155. - description: 页码
  24156. in: query
  24157. name: page
  24158. type: integer
  24159. - description: 每页条数
  24160. in: query
  24161. name: pagesize
  24162. type: integer
  24163. - description: 用户ID
  24164. in: query
  24165. name: userid
  24166. required: true
  24167. type: integer
  24168. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  24169. in: query
  24170. name: status
  24171. type: string
  24172. - description: 是返回交易所仓库
  24173. in: query
  24174. name: isincludeexchange
  24175. type: boolean
  24176. produces:
  24177. - application/json
  24178. responses:
  24179. "200":
  24180. description: OK
  24181. schema:
  24182. items:
  24183. $ref: '#/definitions/models.GZWarehouseinfo'
  24184. type: array
  24185. "500":
  24186. description: Internal Server Error
  24187. schema:
  24188. $ref: '#/definitions/app.Response'
  24189. security:
  24190. - ApiKeyAuth: []
  24191. - LoginID: []
  24192. - Group: []
  24193. summary: 查询仓库信息
  24194. tags:
  24195. - 广钻
  24196. /Market/GetAllExExchanges:
  24197. get:
  24198. produces:
  24199. - application/json
  24200. responses:
  24201. "200":
  24202. description: OK
  24203. schema:
  24204. $ref: '#/definitions/models.Goods'
  24205. "500":
  24206. description: Internal Server Error
  24207. schema:
  24208. $ref: '#/definitions/app.Response'
  24209. security:
  24210. - ApiKeyAuth: []
  24211. summary: 获取所有外部交易所信息
  24212. tags:
  24213. - 通用市场
  24214. /Market/QueryGoodsesByLoginID:
  24215. get:
  24216. parameters:
  24217. - description: 登录账号
  24218. in: query
  24219. name: loginID
  24220. required: true
  24221. type: integer
  24222. - description: 市场ID列表,格式:1,2,3
  24223. in: query
  24224. name: marketIDs
  24225. type: string
  24226. produces:
  24227. - application/json
  24228. responses:
  24229. "200":
  24230. description: OK
  24231. schema:
  24232. $ref: '#/definitions/models.Goods'
  24233. "500":
  24234. description: Internal Server Error
  24235. schema:
  24236. $ref: '#/definitions/app.Response'
  24237. security:
  24238. - ApiKeyAuth: []
  24239. summary: 获取登录账号有权限的商品信息
  24240. tags:
  24241. - 通用市场
  24242. /Market/QueryMarketRun:
  24243. get:
  24244. parameters:
  24245. - description: 市场ID,不传返回所有
  24246. in: query
  24247. name: marketID
  24248. type: integer
  24249. produces:
  24250. - application/json
  24251. responses:
  24252. "200":
  24253. description: OK
  24254. schema:
  24255. $ref: '#/definitions/models.Marketrun'
  24256. "500":
  24257. description: Internal Server Error
  24258. schema:
  24259. $ref: '#/definitions/app.Response'
  24260. security:
  24261. - ApiKeyAuth: []
  24262. summary: 查询市场运行信息
  24263. tags:
  24264. - 通用市场
  24265. /Market/QueryMarketsByLoginID:
  24266. get:
  24267. parameters:
  24268. - description: 登录账号
  24269. in: query
  24270. name: loginID
  24271. required: true
  24272. type: integer
  24273. produces:
  24274. - application/json
  24275. responses:
  24276. "200":
  24277. description: OK
  24278. schema:
  24279. $ref: '#/definitions/models.Market'
  24280. "500":
  24281. description: Internal Server Error
  24282. schema:
  24283. $ref: '#/definitions/app.Response'
  24284. security:
  24285. - ApiKeyAuth: []
  24286. summary: 获取登录账号有权限的市场信息
  24287. tags:
  24288. - 通用市场
  24289. /Order/QueryHisTradeDetail:
  24290. get:
  24291. parameters:
  24292. - description: 资金账户 - 格式:1,2,3
  24293. in: query
  24294. name: accountID
  24295. required: true
  24296. type: string
  24297. - description: 成交单号
  24298. in: query
  24299. name: tradeID
  24300. type: integer
  24301. - description: 委托单号
  24302. in: query
  24303. name: orderID
  24304. type: integer
  24305. - description: 商品ID
  24306. in: query
  24307. name: goodsID
  24308. type: integer
  24309. - description: 交易模式 - 格式:1,2,3
  24310. in: query
  24311. name: tradeMode
  24312. type: string
  24313. - description: 委托单据类型
  24314. in: query
  24315. name: buildType
  24316. type: integer
  24317. - description: 成交类别 - 格式:1,2,3
  24318. in: query
  24319. name: tradeType
  24320. type: string
  24321. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  24322. in: query
  24323. name: startDate
  24324. type: string
  24325. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  24326. in: query
  24327. name: endDate
  24328. type: string
  24329. produces:
  24330. - application/json
  24331. responses:
  24332. "200":
  24333. description: OK
  24334. schema:
  24335. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  24336. "500":
  24337. description: Internal Server Error
  24338. schema:
  24339. $ref: '#/definitions/app.Response'
  24340. security:
  24341. - ApiKeyAuth: []
  24342. summary: 历史成交单查询(合约市场)
  24343. tags:
  24344. - 通用单据
  24345. /Order/QueryHisTradeOrderDetail:
  24346. get:
  24347. parameters:
  24348. - description: 资金账户 - 格式:1,2,3
  24349. in: query
  24350. name: accountID
  24351. required: true
  24352. type: string
  24353. - description: 交易模式 - 格式:1,2,3
  24354. in: query
  24355. name: tradeMode
  24356. type: string
  24357. - description: 委托状态 - 格式:1,2,3
  24358. in: query
  24359. name: orderStatus
  24360. type: string
  24361. - description: 委托单号
  24362. in: query
  24363. name: orderID
  24364. type: integer
  24365. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  24366. in: query
  24367. name: startDate
  24368. type: string
  24369. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  24370. in: query
  24371. name: endDate
  24372. type: string
  24373. produces:
  24374. - application/json
  24375. responses:
  24376. "200":
  24377. description: OK
  24378. schema:
  24379. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  24380. "500":
  24381. description: Internal Server Error
  24382. schema:
  24383. $ref: '#/definitions/app.Response'
  24384. security:
  24385. - ApiKeyAuth: []
  24386. summary: 历史委托单查询请求(合约市场)
  24387. tags:
  24388. - 通用单据
  24389. /Order/QueryTradeDetail:
  24390. get:
  24391. parameters:
  24392. - description: 资金账户 - 格式:1,2,3
  24393. in: query
  24394. name: accountID
  24395. required: true
  24396. type: string
  24397. - description: 成交单号
  24398. in: query
  24399. name: tradeID
  24400. type: integer
  24401. - description: 委托单号
  24402. in: query
  24403. name: orderID
  24404. type: integer
  24405. - description: 交易模式 - 格式:1,2,3
  24406. in: query
  24407. name: tradeMode
  24408. type: string
  24409. - description: 委托单据类型
  24410. in: query
  24411. name: buildType
  24412. type: integer
  24413. - description: 成交类别 - 格式:1,2,3
  24414. in: query
  24415. name: tradeType
  24416. type: string
  24417. - description: 商品ID
  24418. in: query
  24419. name: goodsID
  24420. type: integer
  24421. produces:
  24422. - application/json
  24423. responses:
  24424. "200":
  24425. description: OK
  24426. schema:
  24427. $ref: '#/definitions/order.QueryTradeDetailRsp'
  24428. "500":
  24429. description: Internal Server Error
  24430. schema:
  24431. $ref: '#/definitions/app.Response'
  24432. security:
  24433. - ApiKeyAuth: []
  24434. summary: 成交单查询(合约市场)
  24435. tags:
  24436. - 通用单据
  24437. /Order/QueryTradeHolderDetail:
  24438. get:
  24439. parameters:
  24440. - description: 用户id
  24441. in: query
  24442. name: userid
  24443. type: integer
  24444. - description: 资金账号, 格式 1,2,3
  24445. in: query
  24446. name: accids
  24447. type: string
  24448. - description: 交易模式, 格式 1,2,3
  24449. in: query
  24450. name: trademodes
  24451. type: string
  24452. - description: 市场id, 格式 1,2,3
  24453. in: query
  24454. name: marketids
  24455. type: string
  24456. - description: 商品id
  24457. in: query
  24458. name: goodsid
  24459. type: integer
  24460. - description: 买卖方向 0-买 1-卖
  24461. in: query
  24462. name: buyorsell
  24463. type: integer
  24464. produces:
  24465. - application/json
  24466. responses:
  24467. "200":
  24468. description: OK
  24469. schema:
  24470. items:
  24471. $ref: '#/definitions/models.TradeHolderDetail'
  24472. type: array
  24473. "500":
  24474. description: Internal Server Error
  24475. schema:
  24476. $ref: '#/definitions/app.Response'
  24477. security:
  24478. - ApiKeyAuth: []
  24479. summary: 查询持仓明细
  24480. tags:
  24481. - 通用单据
  24482. /Order/QueryTradeOrderDetail:
  24483. get:
  24484. parameters:
  24485. - description: 资金账户 - 格式:1,2,3
  24486. in: query
  24487. name: accountID
  24488. required: true
  24489. type: string
  24490. - description: 交易模式 - 格式:1,2,3
  24491. in: query
  24492. name: tradeMode
  24493. type: string
  24494. - description: 委托状态 - 格式:1,2,3
  24495. in: query
  24496. name: orderStatus
  24497. type: string
  24498. - description: 委托单号
  24499. in: query
  24500. name: orderID
  24501. type: integer
  24502. produces:
  24503. - application/json
  24504. responses:
  24505. "200":
  24506. description: OK
  24507. schema:
  24508. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  24509. "500":
  24510. description: Internal Server Error
  24511. schema:
  24512. $ref: '#/definitions/app.Response'
  24513. security:
  24514. - ApiKeyAuth: []
  24515. summary: 委托单查询请求(合约市场)
  24516. tags:
  24517. - 通用单据
  24518. /Order/QueryTradePosition:
  24519. get:
  24520. parameters:
  24521. - description: 资金账户 - 格式:1,2,3
  24522. in: query
  24523. name: accountID
  24524. required: true
  24525. type: string
  24526. - description: 交易模式 - 格式:1,2,3
  24527. in: query
  24528. name: tradeMode
  24529. type: string
  24530. produces:
  24531. - application/json
  24532. responses:
  24533. "200":
  24534. description: OK
  24535. schema:
  24536. $ref: '#/definitions/order.QueryTradePositionRsp'
  24537. "500":
  24538. description: Internal Server Error
  24539. schema:
  24540. $ref: '#/definitions/app.Response'
  24541. security:
  24542. - ApiKeyAuth: []
  24543. summary: 持仓汇总查询(合约市场)
  24544. tags:
  24545. - 通用单据
  24546. /Quote/QueryHistoryDatas:
  24547. get:
  24548. parameters:
  24549. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  24550. 日线 12:周线 13:月线 14:年线'
  24551. in: query
  24552. name: cycleType
  24553. required: true
  24554. type: integer
  24555. - description: 商品代码
  24556. in: query
  24557. name: goodsCode
  24558. required: true
  24559. type: string
  24560. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  24561. in: query
  24562. name: startTime
  24563. type: string
  24564. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  24565. in: query
  24566. name: endTime
  24567. type: string
  24568. - description: 条数
  24569. in: query
  24570. name: count
  24571. type: integer
  24572. - description: 是否按时间顺序排序(默认为时间倒序排序)
  24573. in: query
  24574. name: isAsc
  24575. type: boolean
  24576. produces:
  24577. - application/json
  24578. responses:
  24579. "200":
  24580. description: OK
  24581. schema:
  24582. $ref: '#/definitions/quote.HistoryData'
  24583. "500":
  24584. description: Internal Server Error
  24585. schema:
  24586. $ref: '#/definitions/app.Response'
  24587. security:
  24588. - ApiKeyAuth: []
  24589. summary: 查询行情历史数据
  24590. tags:
  24591. - 行情服务
  24592. /Quote/QueryHistoryTikDatas:
  24593. get:
  24594. parameters:
  24595. - description: 商品代码
  24596. in: query
  24597. name: goodsCode
  24598. required: true
  24599. type: string
  24600. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  24601. in: query
  24602. name: startTime
  24603. type: string
  24604. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  24605. in: query
  24606. name: endTime
  24607. type: string
  24608. - description: 条数
  24609. in: query
  24610. name: count
  24611. type: integer
  24612. - description: 是否按时间顺序排序(默认为时间倒序排序)
  24613. in: query
  24614. name: isAsc
  24615. type: boolean
  24616. produces:
  24617. - application/json
  24618. responses:
  24619. "200":
  24620. description: OK
  24621. schema:
  24622. $ref: '#/definitions/quote.HistoryTikData'
  24623. "500":
  24624. description: Internal Server Error
  24625. schema:
  24626. $ref: '#/definitions/app.Response'
  24627. security:
  24628. - ApiKeyAuth: []
  24629. summary: 查询行情Tik数据
  24630. tags:
  24631. - 行情服务
  24632. /Quote/QueryQuoteDay:
  24633. get:
  24634. parameters:
  24635. - description: 此参数不填则查所有;商品代码列表,格式:CU2102,CU2103,AL2107
  24636. in: query
  24637. name: goodsCodes
  24638. type: string
  24639. produces:
  24640. - application/json
  24641. responses:
  24642. "200":
  24643. description: OK
  24644. schema:
  24645. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  24646. "500":
  24647. description: Internal Server Error
  24648. schema:
  24649. $ref: '#/definitions/app.Response'
  24650. security:
  24651. - ApiKeyAuth: []
  24652. summary: 获取商品盘面信息
  24653. tags:
  24654. - 行情服务
  24655. /Quote/QueryTSData:
  24656. get:
  24657. parameters:
  24658. - description: 商品代码
  24659. in: query
  24660. name: goodsCode
  24661. required: true
  24662. type: string
  24663. produces:
  24664. - application/json
  24665. responses:
  24666. "200":
  24667. description: OK
  24668. schema:
  24669. $ref: '#/definitions/quote.QueryTSDataRsp'
  24670. "500":
  24671. description: Internal Server Error
  24672. schema:
  24673. $ref: '#/definitions/app.Response'
  24674. security:
  24675. - ApiKeyAuth: []
  24676. summary: 分时图数据查询
  24677. tags:
  24678. - 行情服务
  24679. /SZDZ/QueryConvertConfig:
  24680. get:
  24681. parameters:
  24682. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  24683. 6:交易转花生米(不设置)
  24684. in: query
  24685. name: convertType
  24686. type: integer
  24687. - description: 外部商品代码[JD\PD]
  24688. in: query
  24689. name: outerGoodsCode
  24690. type: string
  24691. - description: 内部商品ID列表[交易],格式:1,2,3
  24692. in: query
  24693. name: innerGoodsIDs
  24694. type: string
  24695. produces:
  24696. - application/json
  24697. responses:
  24698. "200":
  24699. description: OK
  24700. schema:
  24701. $ref: '#/definitions/models.Szdz3convertconfig'
  24702. "500":
  24703. description: Internal Server Error
  24704. schema:
  24705. $ref: '#/definitions/app.Response'
  24706. security:
  24707. - ApiKeyAuth: []
  24708. summary: 查询交易系统转换设置
  24709. tags:
  24710. - 定制【尚志大宗】
  24711. /SZDZ/QueryConvertLog:
  24712. get:
  24713. parameters:
  24714. - description: 资金账户 - 格式:1,2,3
  24715. in: query
  24716. name: accountID
  24717. required: true
  24718. type: string
  24719. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  24720. in: query
  24721. name: startDate
  24722. type: string
  24723. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  24724. in: query
  24725. name: endDate
  24726. type: string
  24727. produces:
  24728. - application/json
  24729. responses:
  24730. "200":
  24731. description: OK
  24732. schema:
  24733. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  24734. "500":
  24735. description: Internal Server Error
  24736. schema:
  24737. $ref: '#/definitions/app.Response'
  24738. security:
  24739. - ApiKeyAuth: []
  24740. summary: 交易系统转换流水查询
  24741. tags:
  24742. - 定制【尚志大宗】
  24743. /SZDZ/QueryGoodsPickup:
  24744. get:
  24745. parameters:
  24746. - description: 资金账户 - 格式:1,2,3
  24747. in: query
  24748. name: accountID
  24749. required: true
  24750. type: string
  24751. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  24752. in: query
  24753. name: takeOrderStatus
  24754. type: integer
  24755. produces:
  24756. - application/json
  24757. responses:
  24758. "200":
  24759. description: OK
  24760. schema:
  24761. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  24762. "500":
  24763. description: Internal Server Error
  24764. schema:
  24765. $ref: '#/definitions/app.Response'
  24766. security:
  24767. - ApiKeyAuth: []
  24768. summary: 商品提货单查询
  24769. tags:
  24770. - 定制【尚志大宗】
  24771. /SZDZ/QueryRecieptOrder:
  24772. get:
  24773. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  24774. parameters:
  24775. - description: 页码
  24776. in: query
  24777. name: page
  24778. type: integer
  24779. - description: 每页条数
  24780. in: query
  24781. name: pagesize
  24782. type: integer
  24783. - description: 商品ID
  24784. in: query
  24785. name: goodsID
  24786. required: true
  24787. type: integer
  24788. - description: 所属账户名称
  24789. in: query
  24790. name: accountName
  24791. type: string
  24792. - description: 市场ID
  24793. in: query
  24794. name: marketID
  24795. type: integer
  24796. - description: 方向 - 0:买 1:卖
  24797. in: query
  24798. name: buyorsell
  24799. required: true
  24800. type: integer
  24801. produces:
  24802. - application/json
  24803. responses:
  24804. "200":
  24805. description: OK
  24806. schema:
  24807. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  24808. "500":
  24809. description: Internal Server Error
  24810. schema:
  24811. $ref: '#/definitions/app.Response'
  24812. security:
  24813. - ApiKeyAuth: []
  24814. summary: 点选挂牌委托单据查询(摘牌大厅)
  24815. tags:
  24816. - 定制【尚志大宗】
  24817. /SZDZ/QuerySZDZTradePosition:
  24818. get:
  24819. parameters:
  24820. - description: 资金账户
  24821. in: query
  24822. name: accountID
  24823. required: true
  24824. type: integer
  24825. produces:
  24826. - application/json
  24827. responses:
  24828. "200":
  24829. description: OK
  24830. schema:
  24831. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  24832. "500":
  24833. description: Internal Server Error
  24834. schema:
  24835. $ref: '#/definitions/app.Response'
  24836. security:
  24837. - ApiKeyAuth: []
  24838. summary: 持仓汇总查询(尚志大宗)
  24839. tags:
  24840. - 定制【尚志大宗】
  24841. /SZDZ/SearchWhite:
  24842. get:
  24843. parameters:
  24844. - description: 用户ID
  24845. in: query
  24846. name: userID
  24847. required: true
  24848. type: integer
  24849. produces:
  24850. - application/json
  24851. responses:
  24852. "200":
  24853. description: OK
  24854. schema:
  24855. $ref: '#/definitions/models.Szdz3searchwhitelist'
  24856. "500":
  24857. description: Internal Server Error
  24858. schema:
  24859. $ref: '#/definitions/app.Response'
  24860. security:
  24861. - ApiKeyAuth: []
  24862. summary: 搜索白名单
  24863. tags:
  24864. - 定制【尚志大宗】
  24865. /Search/SearchGoodses:
  24866. get:
  24867. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  24868. parameters:
  24869. - description: 检索内容
  24870. in: query
  24871. name: content
  24872. required: true
  24873. type: string
  24874. - description: 交易模式,格式:1,2,3
  24875. in: query
  24876. name: tradeModes
  24877. type: string
  24878. produces:
  24879. - application/json
  24880. responses:
  24881. "200":
  24882. description: OK
  24883. schema:
  24884. $ref: '#/definitions/models.SearchGoods'
  24885. "500":
  24886. description: Internal Server Error
  24887. schema:
  24888. $ref: '#/definitions/app.Response'
  24889. summary: 检索商品信息
  24890. tags:
  24891. - 检索服务
  24892. /TaAccount/GetTaAccounts:
  24893. get:
  24894. parameters:
  24895. - description: 登录账户
  24896. in: query
  24897. name: loginID
  24898. required: true
  24899. type: integer
  24900. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  24901. in: query
  24902. name: taAccountType
  24903. type: integer
  24904. produces:
  24905. - application/json
  24906. responses:
  24907. "200":
  24908. description: OK
  24909. schema:
  24910. $ref: '#/definitions/models.Taaccount'
  24911. "500":
  24912. description: Internal Server Error
  24913. schema:
  24914. $ref: '#/definitions/app.Response'
  24915. security:
  24916. - ApiKeyAuth: []
  24917. summary: 获取资金账户信息
  24918. tags:
  24919. - 资金账户
  24920. /TaAccount/QueryAmountLog:
  24921. get:
  24922. parameters:
  24923. - description: 页码
  24924. in: query
  24925. name: page
  24926. type: integer
  24927. - description: 每页条数
  24928. in: query
  24929. name: pagesize
  24930. type: integer
  24931. - description: 资金账户 - 格式:1,2,3
  24932. in: query
  24933. name: accountID
  24934. required: true
  24935. type: string
  24936. - description: 资金操作类型 - 格式:1,2,3
  24937. in: query
  24938. name: OperateType
  24939. type: string
  24940. produces:
  24941. - application/json
  24942. responses:
  24943. "200":
  24944. description: OK
  24945. schema:
  24946. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  24947. "500":
  24948. description: Internal Server Error
  24949. schema:
  24950. $ref: '#/definitions/app.Response'
  24951. security:
  24952. - ApiKeyAuth: []
  24953. summary: 资金流水查询(当前)
  24954. tags:
  24955. - 资金账户
  24956. /TaAccount/QueryHisAmountLog:
  24957. get:
  24958. parameters:
  24959. - description: 页码
  24960. in: query
  24961. name: page
  24962. type: integer
  24963. - description: 每页条数
  24964. in: query
  24965. name: pagesize
  24966. type: integer
  24967. - description: 资金账户 - 格式:1,2,3
  24968. in: query
  24969. name: accountID
  24970. required: true
  24971. type: string
  24972. - description: 资金操作类型 - 格式:1,2,3
  24973. in: query
  24974. name: OperateType
  24975. type: string
  24976. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  24977. in: query
  24978. name: startDate
  24979. type: string
  24980. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  24981. in: query
  24982. name: endDate
  24983. type: string
  24984. produces:
  24985. - application/json
  24986. responses:
  24987. "200":
  24988. description: OK
  24989. schema:
  24990. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  24991. "500":
  24992. description: Internal Server Error
  24993. schema:
  24994. $ref: '#/definitions/app.Response'
  24995. security:
  24996. - ApiKeyAuth: []
  24997. summary: 资金流水查询(历史)
  24998. tags:
  24999. - 资金账户
  25000. /TaAccount/QueryRelatedTaAccount:
  25001. get:
  25002. parameters:
  25003. - description: 关联UserID
  25004. in: query
  25005. name: relateduserid
  25006. required: true
  25007. type: integer
  25008. produces:
  25009. - application/json
  25010. responses:
  25011. "200":
  25012. description: OK
  25013. schema:
  25014. items:
  25015. $ref: '#/definitions/models.RelatedTaAccount'
  25016. type: array
  25017. "500":
  25018. description: Internal Server Error
  25019. schema:
  25020. $ref: '#/definitions/app.Response'
  25021. security:
  25022. - ApiKeyAuth: []
  25023. summary: 查询关联资金账户信息
  25024. tags:
  25025. - 资金账户
  25026. /Tjmd/QueryQuoteGoodsList:
  25027. get:
  25028. description: 用户类型必传, 查掉期报价列表 marketids=掉期市场id
  25029. parameters:
  25030. - description: 用户类型
  25031. in: query
  25032. name: usertype
  25033. required: true
  25034. type: integer
  25035. - description: 市场id, 格式 1,2,3
  25036. in: query
  25037. name: marketids
  25038. type: string
  25039. - description: 商品组id
  25040. in: query
  25041. name: goodsgroupid
  25042. type: integer
  25043. - description: 商品id
  25044. in: query
  25045. name: goodsid
  25046. type: integer
  25047. produces:
  25048. - application/json
  25049. responses:
  25050. "200":
  25051. description: OK
  25052. schema:
  25053. items:
  25054. $ref: '#/definitions/models.TjmdQuoteGoods'
  25055. type: array
  25056. "500":
  25057. description: Internal Server Error
  25058. schema:
  25059. $ref: '#/definitions/app.Response'
  25060. security:
  25061. - ApiKeyAuth: []
  25062. summary: 查询掉期报价列表
  25063. tags:
  25064. - 天津麦顿
  25065. /Tjmd/QueryTjmdHolderDetailTradeInfo:
  25066. get:
  25067. parameters:
  25068. - description: 成交单号
  25069. in: query
  25070. name: tradeid
  25071. required: true
  25072. type: string
  25073. produces:
  25074. - application/json
  25075. responses:
  25076. "200":
  25077. description: OK
  25078. schema:
  25079. items:
  25080. $ref: '#/definitions/models.TjmdHolderDetailTradeInfo'
  25081. type: array
  25082. "500":
  25083. description: Internal Server Error
  25084. schema:
  25085. $ref: '#/definitions/app.Response'
  25086. security:
  25087. - ApiKeyAuth: []
  25088. summary: 掉期商品订单详情(交易确认书)
  25089. tags:
  25090. - 天津麦顿
  25091. /Tjmd/QueryTjmdMarketSection:
  25092. get:
  25093. produces:
  25094. - application/json
  25095. responses:
  25096. "200":
  25097. description: OK
  25098. schema:
  25099. items:
  25100. $ref: '#/definitions/models.TjmdMarketSection'
  25101. type: array
  25102. "500":
  25103. description: Internal Server Error
  25104. schema:
  25105. $ref: '#/definitions/app.Response'
  25106. security:
  25107. - ApiKeyAuth: []
  25108. summary: 查询市场板块
  25109. tags:
  25110. - 天津麦顿
  25111. /Tjmd/QueryTjmdTodayAccountMargin:
  25112. get:
  25113. parameters:
  25114. - description: 市场id
  25115. in: query
  25116. name: marketid
  25117. type: string
  25118. - description: 商品id
  25119. in: query
  25120. name: goodsid
  25121. type: string
  25122. - description: 资金账号
  25123. in: query
  25124. name: accountid
  25125. type: string
  25126. produces:
  25127. - application/json
  25128. responses:
  25129. "200":
  25130. description: OK
  25131. schema:
  25132. items:
  25133. $ref: '#/definitions/models.TjmdTodayAccountMargin'
  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/QueryTjmdTradeOrderDetail:
  25145. get:
  25146. description: 用户类型必传, 投资者只能看到自营会员的单, 反之亦然
  25147. parameters:
  25148. - description: 页码
  25149. in: query
  25150. name: page
  25151. type: integer
  25152. - description: 每页条数
  25153. in: query
  25154. name: pagesize
  25155. type: integer
  25156. - description: 用户id
  25157. in: query
  25158. name: userid
  25159. required: true
  25160. type: integer
  25161. - description: 用户类型
  25162. in: query
  25163. name: usertype
  25164. required: true
  25165. type: integer
  25166. - description: 市场id, 格式 1,2,3
  25167. in: query
  25168. name: marketids
  25169. type: string
  25170. - description: 商品id
  25171. in: query
  25172. name: goodsid
  25173. required: true
  25174. type: integer
  25175. - description: 买卖方向 0-买 1-卖
  25176. in: query
  25177. name: buyorsell
  25178. required: true
  25179. type: integer
  25180. produces:
  25181. - application/json
  25182. responses:
  25183. "200":
  25184. description: OK
  25185. schema:
  25186. items:
  25187. $ref: '#/definitions/models.TjmdTradeOrderDetail'
  25188. type: array
  25189. "500":
  25190. description: Internal Server Error
  25191. schema:
  25192. $ref: '#/definitions/app.Response'
  25193. security:
  25194. - ApiKeyAuth: []
  25195. summary: 查询掉期买卖大厅
  25196. tags:
  25197. - 天津麦顿
  25198. /Tjmd/QueryTjmdTransferApply:
  25199. get:
  25200. parameters:
  25201. - description: 类型 1-我的申请 2-对方申请
  25202. in: query
  25203. name: applytype
  25204. required: true
  25205. type: integer
  25206. - description: 市场id, 格式 1,2,3
  25207. in: query
  25208. name: marketids
  25209. type: string
  25210. - description: 资金账号, 格式 25000000001,25000000003
  25211. in: query
  25212. name: accountids
  25213. type: string
  25214. - description: 开始交易日(yyyymmdd)
  25215. in: query
  25216. name: begindate
  25217. type: string
  25218. - description: 结束交易日(yyyymmdd)
  25219. in: query
  25220. name: enddate
  25221. type: string
  25222. produces:
  25223. - application/json
  25224. responses:
  25225. "200":
  25226. description: OK
  25227. schema:
  25228. items:
  25229. $ref: '#/definitions/models.TjmdTransferApply'
  25230. type: array
  25231. "500":
  25232. description: Internal Server Error
  25233. schema:
  25234. $ref: '#/definitions/app.Response'
  25235. security:
  25236. - ApiKeyAuth: []
  25237. summary: 查询掉期协议单
  25238. tags:
  25239. - 天津麦顿
  25240. /Trade/QueryRecieptOrder:
  25241. get:
  25242. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  25243. parameters:
  25244. - description: 页码
  25245. in: query
  25246. name: page
  25247. type: integer
  25248. - description: 每页条数
  25249. in: query
  25250. name: pagesize
  25251. type: integer
  25252. - description: 商品ID
  25253. in: query
  25254. name: goodsID
  25255. required: true
  25256. type: integer
  25257. - description: 所属账户名称
  25258. in: query
  25259. name: accountName
  25260. type: string
  25261. - description: 市场ID
  25262. in: query
  25263. name: marketID
  25264. type: integer
  25265. - description: 方向 - 0:买 1:卖
  25266. in: query
  25267. name: buyorsell
  25268. required: true
  25269. type: integer
  25270. produces:
  25271. - application/json
  25272. responses:
  25273. "200":
  25274. description: OK
  25275. schema:
  25276. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  25277. "500":
  25278. description: Internal Server Error
  25279. schema:
  25280. $ref: '#/definitions/app.Response'
  25281. security:
  25282. - ApiKeyAuth: []
  25283. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  25284. tags:
  25285. - 通用交易
  25286. /User/AddMessageBoard:
  25287. post:
  25288. parameters:
  25289. - description: 用户ID
  25290. in: query
  25291. name: userID
  25292. required: true
  25293. type: integer
  25294. - description: 留言信息
  25295. in: query
  25296. name: message
  25297. required: true
  25298. type: string
  25299. - description: 联系电话
  25300. in: query
  25301. name: contactNum
  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. security:
  25316. - ApiKeyAuth: []
  25317. summary: 添加用户留言板信息
  25318. tags:
  25319. - 用户信息
  25320. /User/AddUserFavoriteGoods:
  25321. post:
  25322. parameters:
  25323. - description: 用户ID
  25324. in: query
  25325. name: userID
  25326. required: true
  25327. type: integer
  25328. - description: 商品ID
  25329. in: query
  25330. name: goodsID
  25331. required: true
  25332. type: integer
  25333. produces:
  25334. - application/json
  25335. responses:
  25336. "200":
  25337. description: OK
  25338. schema:
  25339. $ref: '#/definitions/app.Response'
  25340. "500":
  25341. description: Internal Server Error
  25342. schema:
  25343. $ref: '#/definitions/app.Response'
  25344. security:
  25345. - ApiKeyAuth: []
  25346. summary: 添加用户商品收藏信息
  25347. tags:
  25348. - 用户信息
  25349. /User/GetLoginID:
  25350. get:
  25351. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  25352. parameters:
  25353. - description: 登录代码
  25354. in: query
  25355. name: username
  25356. required: true
  25357. type: string
  25358. produces:
  25359. - application/json
  25360. responses:
  25361. "200":
  25362. description: OK
  25363. schema:
  25364. $ref: '#/definitions/app.Response'
  25365. "500":
  25366. description: Internal Server Error
  25367. schema:
  25368. $ref: '#/definitions/app.Response'
  25369. summary: 获取登录ID
  25370. tags:
  25371. - 用户信息
  25372. /User/GetUserAccount:
  25373. get:
  25374. parameters:
  25375. - description: 用户ID
  25376. in: query
  25377. name: userID
  25378. required: true
  25379. type: integer
  25380. produces:
  25381. - application/json
  25382. responses:
  25383. "200":
  25384. description: OK
  25385. schema:
  25386. $ref: '#/definitions/models.Useraccount'
  25387. "500":
  25388. description: Internal Server Error
  25389. schema:
  25390. $ref: '#/definitions/app.Response'
  25391. security:
  25392. - ApiKeyAuth: []
  25393. summary: 获取用户账号信息
  25394. tags:
  25395. - 用户信息
  25396. /User/GetUserAuthStatus:
  25397. get:
  25398. parameters:
  25399. - description: 用户ID
  25400. in: query
  25401. name: userID
  25402. required: true
  25403. type: integer
  25404. produces:
  25405. - application/json
  25406. responses:
  25407. "200":
  25408. description: OK
  25409. schema:
  25410. $ref: '#/definitions/app.Response'
  25411. "500":
  25412. description: Internal Server Error
  25413. schema:
  25414. $ref: '#/definitions/app.Response'
  25415. security:
  25416. - ApiKeyAuth: []
  25417. summary: 获取用户实名认证状态
  25418. tags:
  25419. - 用户信息
  25420. /User/LoginQuery:
  25421. get:
  25422. parameters:
  25423. - description: 登录账号
  25424. in: query
  25425. name: loginID
  25426. required: true
  25427. type: integer
  25428. produces:
  25429. - application/json
  25430. responses:
  25431. "200":
  25432. description: OK
  25433. schema:
  25434. $ref: '#/definitions/user.LoginQueryRsp'
  25435. "500":
  25436. description: Internal Server Error
  25437. schema:
  25438. $ref: '#/definitions/app.Response'
  25439. security:
  25440. - ApiKeyAuth: []
  25441. summary: 账户登录后信息查询
  25442. tags:
  25443. - 用户信息
  25444. /User/QueryMessageBoard:
  25445. get:
  25446. parameters:
  25447. - description: 用户ID
  25448. in: query
  25449. name: userID
  25450. required: true
  25451. type: integer
  25452. produces:
  25453. - application/json
  25454. responses:
  25455. "200":
  25456. description: OK
  25457. schema:
  25458. $ref: '#/definitions/models.Messageboard'
  25459. "500":
  25460. description: Internal Server Error
  25461. schema:
  25462. $ref: '#/definitions/app.Response'
  25463. security:
  25464. - ApiKeyAuth: []
  25465. summary: 获取用户留言板信息
  25466. tags:
  25467. - 用户信息
  25468. /User/QueryUserFavoriteGoodses:
  25469. get:
  25470. parameters:
  25471. - description: 用户ID
  25472. in: query
  25473. name: userID
  25474. required: true
  25475. type: integer
  25476. produces:
  25477. - application/json
  25478. responses:
  25479. "200":
  25480. description: OK
  25481. schema:
  25482. $ref: '#/definitions/models.Userfavoritegoods'
  25483. "500":
  25484. description: Internal Server Error
  25485. schema:
  25486. $ref: '#/definitions/app.Response'
  25487. security:
  25488. - ApiKeyAuth: []
  25489. summary: 获取用户商品收藏信息
  25490. tags:
  25491. - 用户信息
  25492. /User/QueryUserInfo:
  25493. get:
  25494. parameters:
  25495. - description: 用户ID
  25496. in: query
  25497. name: userID
  25498. required: true
  25499. type: integer
  25500. - description: 是否解密
  25501. in: query
  25502. name: isDecrypt
  25503. type: boolean
  25504. produces:
  25505. - application/json
  25506. responses:
  25507. "200":
  25508. description: OK
  25509. schema:
  25510. $ref: '#/definitions/models.Userinfo'
  25511. "500":
  25512. description: Internal Server Error
  25513. schema:
  25514. $ref: '#/definitions/app.Response'
  25515. security:
  25516. - ApiKeyAuth: []
  25517. summary: 获取用户信息
  25518. tags:
  25519. - 用户信息
  25520. /User/QueryUserReferNum:
  25521. get:
  25522. parameters:
  25523. - description: 用户ID
  25524. in: query
  25525. name: userID
  25526. required: true
  25527. type: integer
  25528. produces:
  25529. - application/json
  25530. responses:
  25531. "200":
  25532. description: OK
  25533. schema:
  25534. $ref: '#/definitions/app.Response'
  25535. "500":
  25536. description: Internal Server Error
  25537. schema:
  25538. $ref: '#/definitions/app.Response'
  25539. summary: 获取用户邀请码
  25540. tags:
  25541. - 用户信息
  25542. /User/RemoveUserFavoriteGoods:
  25543. post:
  25544. parameters:
  25545. - description: 用户ID
  25546. in: query
  25547. name: userID
  25548. required: true
  25549. type: integer
  25550. - description: 商品ID
  25551. in: query
  25552. name: goodsID
  25553. required: true
  25554. type: integer
  25555. produces:
  25556. - application/json
  25557. responses:
  25558. "200":
  25559. description: OK
  25560. schema:
  25561. $ref: '#/definitions/app.Response'
  25562. "500":
  25563. description: Internal Server Error
  25564. schema:
  25565. $ref: '#/definitions/app.Response'
  25566. security:
  25567. - ApiKeyAuth: []
  25568. summary: 移除用户商品收藏信息
  25569. tags:
  25570. - 用户信息
  25571. /User/UpdateUserAccountStatus:
  25572. post:
  25573. parameters:
  25574. - description: 用户ID
  25575. in: query
  25576. name: userID
  25577. required: true
  25578. type: integer
  25579. - description: 账户状态 - 4:正常 6:注销(停用)
  25580. in: query
  25581. name: accountStatus
  25582. required: true
  25583. type: integer
  25584. produces:
  25585. - application/json
  25586. responses:
  25587. "200":
  25588. description: OK
  25589. schema:
  25590. $ref: '#/definitions/app.Response'
  25591. "500":
  25592. description: Internal Server Error
  25593. schema:
  25594. $ref: '#/definitions/app.Response'
  25595. security:
  25596. - ApiKeyAuth: []
  25597. summary: 更新用户状态
  25598. tags:
  25599. - 用户信息
  25600. /WRTrade/GetAllDeliveryGoods:
  25601. get:
  25602. produces:
  25603. - application/json
  25604. responses:
  25605. "200":
  25606. description: OK
  25607. schema:
  25608. $ref: '#/definitions/app.Response'
  25609. "500":
  25610. description: Internal Server Error
  25611. schema:
  25612. $ref: '#/definitions/app.Response'
  25613. security:
  25614. - ApiKeyAuth: []
  25615. summary: 获取带仓单分类的种类信息
  25616. tags:
  25617. - 仓单贸易
  25618. - 仓单贸易
  25619. /WrTrade2/InsertXhcpSellBackApply:
  25620. post:
  25621. parameters:
  25622. - description: 回收申请
  25623. in: body
  25624. name: jsonBody
  25625. required: true
  25626. schema:
  25627. $ref: '#/definitions/models.XhcpSellBackApplyEx'
  25628. produces:
  25629. - application/json
  25630. responses:
  25631. "200":
  25632. description: OK
  25633. schema:
  25634. $ref: '#/definitions/app.Response'
  25635. "500":
  25636. description: Internal Server Error
  25637. schema:
  25638. $ref: '#/definitions/app.Response'
  25639. security:
  25640. - ApiKeyAuth: []
  25641. summary: 新增回收申请(新会陈皮)
  25642. tags:
  25643. - 仓单贸易v2
  25644. /WrTrade2/QueryDeliveryGoodsSection:
  25645. get:
  25646. produces:
  25647. - application/json
  25648. responses:
  25649. "200":
  25650. description: OK
  25651. schema:
  25652. items:
  25653. $ref: '#/definitions/models.WrDeliveryGoodsSection'
  25654. type: array
  25655. "500":
  25656. description: Internal Server Error
  25657. schema:
  25658. $ref: '#/definitions/app.Response'
  25659. security:
  25660. - ApiKeyAuth: []
  25661. summary: 查询板块(分类)
  25662. tags:
  25663. - 仓单贸易v2
  25664. /WrTrade2/QueryFaProductDetail:
  25665. get:
  25666. description: 页面 买卖大厅 -> 选择融资方案
  25667. parameters:
  25668. - description: 仓单要素id
  25669. in: query
  25670. name: wrfactortypeid
  25671. required: true
  25672. type: integer
  25673. produces:
  25674. - application/json
  25675. responses:
  25676. "200":
  25677. description: OK
  25678. schema:
  25679. items:
  25680. $ref: '#/definitions/models.WrFAProductDetail'
  25681. type: array
  25682. "500":
  25683. description: Internal Server Error
  25684. schema:
  25685. $ref: '#/definitions/app.Response'
  25686. security:
  25687. - ApiKeyAuth: []
  25688. summary: 查询融资产品列表
  25689. tags:
  25690. - 仓单贸易v2
  25691. /WrTrade2/QueryFilterItem:
  25692. get:
  25693. parameters:
  25694. - description: 类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库
  25695. in: query
  25696. name: itype
  25697. required: true
  25698. type: string
  25699. produces:
  25700. - application/json
  25701. responses:
  25702. "200":
  25703. description: OK
  25704. schema:
  25705. items:
  25706. $ref: '#/definitions/models.WrFilterItem'
  25707. type: array
  25708. "500":
  25709. description: Internal Server Error
  25710. schema:
  25711. $ref: '#/definitions/app.Response'
  25712. security:
  25713. - ApiKeyAuth: []
  25714. summary: 查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)
  25715. tags:
  25716. - 仓单贸易v2
  25717. /WrTrade2/QueryFtDeliveryGoods:
  25718. get:
  25719. produces:
  25720. - application/json
  25721. responses:
  25722. "200":
  25723. description: OK
  25724. schema:
  25725. items:
  25726. $ref: '#/definitions/models.WrFtDeliveryGoods'
  25727. type: array
  25728. "500":
  25729. description: Internal Server Error
  25730. schema:
  25731. $ref: '#/definitions/app.Response'
  25732. security:
  25733. - ApiKeyAuth: []
  25734. summary: 查询品种品类筛选框列表
  25735. tags:
  25736. - 仓单贸易v2
  25737. /WrTrade2/QueryHoldLB:
  25738. get:
  25739. description: 页面 现货仓单->现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。
  25740. parameters:
  25741. - description: 资金账号
  25742. in: query
  25743. name: accountid
  25744. required: true
  25745. type: integer
  25746. - description: 仓库id
  25747. in: query
  25748. name: warehouseid
  25749. type: integer
  25750. - description: 品种id
  25751. in: query
  25752. name: deliverygoodsid
  25753. type: integer
  25754. - description: 品类id
  25755. in: query
  25756. name: wrstandardid
  25757. type: integer
  25758. - description: 仓单要素id
  25759. in: query
  25760. name: wrfactortypeid
  25761. type: integer
  25762. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  25763. in: query
  25764. name: dgitemname
  25765. type: string
  25766. produces:
  25767. - application/json
  25768. responses:
  25769. "200":
  25770. description: OK
  25771. schema:
  25772. items:
  25773. $ref: '#/definitions/models.WrHoldLB'
  25774. type: array
  25775. "500":
  25776. description: Internal Server Error
  25777. schema:
  25778. $ref: '#/definitions/app.Response'
  25779. security:
  25780. - ApiKeyAuth: []
  25781. summary: 查询仓单持有记录
  25782. tags:
  25783. - 仓单贸易v2
  25784. /WrTrade2/QueryOrderQuote:
  25785. get:
  25786. description: 仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth
  25787. 唯一确定1条记录
  25788. parameters:
  25789. - description: 页码
  25790. in: query
  25791. name: page
  25792. type: integer
  25793. - description: 每页条数
  25794. in: query
  25795. name: pagesize
  25796. type: integer
  25797. - description: 仓单贸易市场id
  25798. in: query
  25799. name: marketid
  25800. type: integer
  25801. - description: 价格方式 - 1:固定价 2-浮动价
  25802. in: query
  25803. name: wrpricetype
  25804. required: true
  25805. type: integer
  25806. - description: 0:仓单预售 1:仓单贸易
  25807. in: query
  25808. name: haswr
  25809. type: integer
  25810. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  25811. in: query
  25812. name: dgitemname
  25813. type: string
  25814. - description: 仓库id(筛选条件)
  25815. in: query
  25816. name: warehouseid
  25817. type: integer
  25818. - description: 品种id
  25819. in: query
  25820. name: deliverygoodsid
  25821. type: integer
  25822. - description: 品类id
  25823. in: query
  25824. name: wrstandardid
  25825. type: integer
  25826. - description: 品牌id(dgfactoryitemid)
  25827. in: query
  25828. name: brandid
  25829. type: integer
  25830. - description: 年份id(dgfactoryitemid)
  25831. in: query
  25832. name: yearsid
  25833. type: integer
  25834. - description: 仓单要素id
  25835. in: query
  25836. name: wrfactortypeid
  25837. type: integer
  25838. - description: 交收月(yyyy-mm) 仓单预售填写
  25839. in: query
  25840. name: deliverymonth
  25841. type: string
  25842. produces:
  25843. - application/json
  25844. responses:
  25845. "200":
  25846. description: OK
  25847. schema:
  25848. items:
  25849. $ref: '#/definitions/models.WrOrderQuote'
  25850. type: array
  25851. "500":
  25852. description: Internal Server Error
  25853. schema:
  25854. $ref: '#/definitions/app.Response'
  25855. security:
  25856. - ApiKeyAuth: []
  25857. summary: 查询大厅行情列表
  25858. tags:
  25859. - 仓单贸易v2
  25860. /WrTrade2/QueryOrderQuoteDetail:
  25861. get:
  25862. parameters:
  25863. - description: 页码
  25864. in: query
  25865. name: page
  25866. type: integer
  25867. - description: 每页条数
  25868. in: query
  25869. name: pagesize
  25870. type: integer
  25871. - description: 仓单贸易市场id
  25872. in: query
  25873. name: marketid
  25874. type: integer
  25875. - description: 价格方式 - 1:固定价 2-浮动价
  25876. in: query
  25877. name: wrpricetype
  25878. required: true
  25879. type: integer
  25880. - description: 0:仓单预售 1:仓单贸易
  25881. in: query
  25882. name: haswr
  25883. type: integer
  25884. - description: 仓单要素id
  25885. in: query
  25886. name: wrfactortypeid
  25887. required: true
  25888. type: integer
  25889. - description: 期货商品id(浮动价方式时填)
  25890. in: query
  25891. name: goodsid
  25892. type: integer
  25893. - description: 买卖方向 0-买 1-卖
  25894. in: query
  25895. name: buyorsell
  25896. required: true
  25897. type: integer
  25898. - description: 交收月(yyyy-mm) 查仓单预售的买卖大厅时填写
  25899. in: query
  25900. name: deliverymonth
  25901. type: string
  25902. produces:
  25903. - application/json
  25904. responses:
  25905. "200":
  25906. description: OK
  25907. schema:
  25908. items:
  25909. $ref: '#/definitions/models.WrOrderQuoteDetail'
  25910. type: array
  25911. "500":
  25912. description: Internal Server Error
  25913. schema:
  25914. $ref: '#/definitions/app.Response'
  25915. security:
  25916. - ApiKeyAuth: []
  25917. summary: 查询买卖大厅
  25918. tags:
  25919. - 仓单贸易v2
  25920. /WrTrade2/QueryOrderQuoteMyq:
  25921. get:
  25922. parameters:
  25923. - description: 页码
  25924. in: query
  25925. name: page
  25926. type: integer
  25927. - description: 每页条数
  25928. in: query
  25929. name: pagesize
  25930. type: integer
  25931. - description: 用户id
  25932. in: query
  25933. name: userid
  25934. required: true
  25935. type: integer
  25936. - description: 仓单贸易市场id
  25937. in: query
  25938. name: marketid
  25939. type: integer
  25940. - description: 0:仓单预售 1:仓单贸易
  25941. in: query
  25942. name: haswr
  25943. type: integer
  25944. - description: 买卖方向 0-买 1-卖
  25945. in: query
  25946. name: buyorsell
  25947. required: true
  25948. type: integer
  25949. - description: 品种id
  25950. in: query
  25951. name: deliverygoodsid
  25952. type: integer
  25953. - description: 品类id
  25954. in: query
  25955. name: wrstandardid
  25956. type: integer
  25957. - description: 交收月(yyyy-mm) 仓单预售填写
  25958. in: query
  25959. name: deliverymonth
  25960. type: string
  25961. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  25962. in: query
  25963. name: dgitemname
  25964. type: string
  25965. produces:
  25966. - application/json
  25967. responses:
  25968. "200":
  25969. description: OK
  25970. schema:
  25971. items:
  25972. $ref: '#/definitions/models.WrQuoteOrderMyq'
  25973. type: array
  25974. "500":
  25975. description: Internal Server Error
  25976. schema:
  25977. $ref: '#/definitions/app.Response'
  25978. security:
  25979. - ApiKeyAuth: []
  25980. summary: 查询贸易圈挂牌大厅
  25981. tags:
  25982. - 仓单贸易v2
  25983. /WrTrade2/QueryPerformancePlan:
  25984. get:
  25985. parameters:
  25986. - description: 用户id
  25987. in: query
  25988. name: userid
  25989. required: true
  25990. type: integer
  25991. - description: 买卖方向 0-买 1-卖
  25992. in: query
  25993. name: buyorsell
  25994. required: true
  25995. type: integer
  25996. - description: 履约状态(可多个,逗号隔开) 1:待激活 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成
  25997. 8:释放冻结失败 9:超时待处理 10:超时关闭
  25998. in: query
  25999. name: status
  26000. type: string
  26001. - description: 开始交易日(yyyymmdd)
  26002. in: query
  26003. name: begindate
  26004. type: string
  26005. - description: 结束交易日(yyyymmdd)
  26006. in: query
  26007. name: enddate
  26008. type: string
  26009. produces:
  26010. - application/json
  26011. responses:
  26012. "200":
  26013. description: OK
  26014. schema:
  26015. items:
  26016. $ref: '#/definitions/models.WrPerformancePlan'
  26017. type: array
  26018. "500":
  26019. description: Internal Server Error
  26020. schema:
  26021. $ref: '#/definitions/app.Response'
  26022. security:
  26023. - ApiKeyAuth: []
  26024. summary: 查询履约信息
  26025. tags:
  26026. - 仓单贸易v2
  26027. /WrTrade2/QueryPermancePlanTmp:
  26028. get:
  26029. description: |-
  26030. 返回指定用户的模板和公共模板(用户id为空)
  26031. 注意:天津麦顿客户 填写marketid参数,其它参数不用填;其它客户不用填marketid字段
  26032. parameters:
  26033. - description: 用户id
  26034. in: query
  26035. name: userid
  26036. type: integer
  26037. - description: 模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  26038. (无仓单) 5:挂牌期权 6:竞拍-降价式
  26039. in: query
  26040. name: tmptype
  26041. type: string
  26042. - description: 是否包含公共模板(用户id为空的) 1-包含
  26043. in: query
  26044. name: includepub
  26045. type: integer
  26046. - description: 市场id(天津麦顿指定此参数,其它不用)
  26047. in: query
  26048. name: marketid
  26049. type: integer
  26050. produces:
  26051. - application/json
  26052. responses:
  26053. "200":
  26054. description: OK
  26055. schema:
  26056. items:
  26057. $ref: '#/definitions/models.WrPerformanceTemplateEx'
  26058. type: array
  26059. "500":
  26060. description: Internal Server Error
  26061. schema:
  26062. $ref: '#/definitions/app.Response'
  26063. security:
  26064. - ApiKeyAuth: []
  26065. summary: 查询履约模板
  26066. tags:
  26067. - 仓单贸易v2
  26068. /WrTrade2/QuerySiteColumnDetail:
  26069. get:
  26070. parameters:
  26071. - description: 页码
  26072. in: query
  26073. name: page
  26074. type: integer
  26075. - description: 每页条数
  26076. in: query
  26077. name: pagesize
  26078. type: integer
  26079. - description: 所属栏目id
  26080. in: query
  26081. name: columnid
  26082. type: integer
  26083. produces:
  26084. - application/json
  26085. responses:
  26086. "200":
  26087. description: OK
  26088. schema:
  26089. items:
  26090. $ref: '#/definitions/models.WrSiteColumnDetail'
  26091. type: array
  26092. "500":
  26093. description: Internal Server Error
  26094. schema:
  26095. $ref: '#/definitions/app.Response'
  26096. security:
  26097. - ApiKeyAuth: []
  26098. summary: 查询资讯
  26099. tags:
  26100. - 仓单贸易v2
  26101. /WrTrade2/QuerySpotGroupTradeSum:
  26102. get:
  26103. produces:
  26104. - application/json
  26105. responses:
  26106. "200":
  26107. description: OK
  26108. schema:
  26109. items:
  26110. $ref: '#/definitions/models.WrSpotGroupTradeSumEx'
  26111. type: array
  26112. "500":
  26113. description: Internal Server Error
  26114. schema:
  26115. $ref: '#/definitions/app.Response'
  26116. security:
  26117. - ApiKeyAuth: []
  26118. summary: 查询指数
  26119. tags:
  26120. - 仓单贸易v2
  26121. /WrTrade2/QuerySpotGroupTradeSumDetail:
  26122. get:
  26123. description: 查询的结果将会按日期 从小到大 排序
  26124. parameters:
  26125. - description: 现货商品id
  26126. in: query
  26127. name: deliverygoodsid
  26128. required: true
  26129. type: integer
  26130. - description: 查询最新多少条记录(如不填写此项, 默认查30条)
  26131. in: query
  26132. name: lastnum
  26133. type: integer
  26134. produces:
  26135. - application/json
  26136. responses:
  26137. "200":
  26138. description: OK
  26139. schema:
  26140. items:
  26141. $ref: '#/definitions/models.WrSpotGroupTradeSumDetail'
  26142. type: array
  26143. "500":
  26144. description: Internal Server Error
  26145. schema:
  26146. $ref: '#/definitions/app.Response'
  26147. security:
  26148. - ApiKeyAuth: []
  26149. summary: 查询指数详细(价格走势图)
  26150. tags:
  26151. - 仓单贸易v2
  26152. /WrTrade2/QueryWrAverageTradePrice:
  26153. get:
  26154. parameters:
  26155. - description: 页码
  26156. in: query
  26157. name: page
  26158. type: integer
  26159. - description: 每页条数
  26160. in: query
  26161. name: pagesize
  26162. type: integer
  26163. - description: 0:仓单预售 1:仓单贸易
  26164. in: query
  26165. name: haswr
  26166. required: true
  26167. type: integer
  26168. - description: 仓单要素id
  26169. in: query
  26170. name: wrfactortypeid
  26171. required: true
  26172. type: integer
  26173. produces:
  26174. - application/json
  26175. responses:
  26176. "200":
  26177. description: OK
  26178. schema:
  26179. items:
  26180. $ref: '#/definitions/models.WrAverageTradePrice'
  26181. type: array
  26182. "500":
  26183. description: Internal Server Error
  26184. schema:
  26185. $ref: '#/definitions/app.Response'
  26186. security:
  26187. - ApiKeyAuth: []
  26188. summary: 查询成交价(历史走势)
  26189. tags:
  26190. - 仓单贸易v2
  26191. /WrTrade2/QueryWrBrandAndYears:
  26192. get:
  26193. produces:
  26194. - application/json
  26195. responses:
  26196. "200":
  26197. description: OK
  26198. schema:
  26199. items:
  26200. $ref: '#/definitions/models.WrBrandAndYears'
  26201. type: array
  26202. "500":
  26203. description: Internal Server Error
  26204. schema:
  26205. $ref: '#/definitions/app.Response'
  26206. security:
  26207. - ApiKeyAuth: []
  26208. summary: 查询品牌和年份
  26209. tags:
  26210. - 仓单贸易v2
  26211. /WrTrade2/QueryWrBsGoodsInfo:
  26212. get:
  26213. description: 合约交易/买卖大厅/详情
  26214. parameters:
  26215. - description: 商品id
  26216. in: query
  26217. name: goodsid
  26218. required: true
  26219. type: integer
  26220. produces:
  26221. - application/json
  26222. responses:
  26223. "200":
  26224. description: OK
  26225. schema:
  26226. items:
  26227. $ref: '#/definitions/models.WrBsGoodsInfo'
  26228. type: array
  26229. "500":
  26230. description: Internal Server Error
  26231. schema:
  26232. $ref: '#/definitions/app.Response'
  26233. security:
  26234. - ApiKeyAuth: []
  26235. summary: 查询合约交易买卖大厅详情
  26236. tags:
  26237. - 仓单贸易v2
  26238. /WrTrade2/QueryWrBuybackDetail:
  26239. get:
  26240. parameters:
  26241. - description: 融资合同id
  26242. in: query
  26243. name: scfcontractid
  26244. type: integer
  26245. produces:
  26246. - application/json
  26247. responses:
  26248. "200":
  26249. description: OK
  26250. schema:
  26251. items:
  26252. $ref: '#/definitions/models.WrBuybackDetail'
  26253. type: array
  26254. "500":
  26255. description: Internal Server Error
  26256. schema:
  26257. $ref: '#/definitions/app.Response'
  26258. security:
  26259. - ApiKeyAuth: []
  26260. summary: 查询仓单回购明细
  26261. tags:
  26262. - 仓单贸易v2
  26263. /WrTrade2/QueryWrClientAdSpaceConfig:
  26264. get:
  26265. produces:
  26266. - application/json
  26267. responses:
  26268. "200":
  26269. description: OK
  26270. schema:
  26271. items:
  26272. $ref: '#/definitions/models.WrClientAdSpaceConfig'
  26273. type: array
  26274. "500":
  26275. description: Internal Server Error
  26276. schema:
  26277. $ref: '#/definitions/app.Response'
  26278. security:
  26279. - ApiKeyAuth: []
  26280. summary: 查询固定广告配置
  26281. tags:
  26282. - 仓单贸易v2
  26283. /WrTrade2/QueryWrDeliveryAvalidHoldLB:
  26284. get:
  26285. parameters:
  26286. - description: 资金账号
  26287. in: query
  26288. name: accountid
  26289. required: true
  26290. type: integer
  26291. - description: 商品id
  26292. in: query
  26293. name: goodsid
  26294. required: true
  26295. type: integer
  26296. produces:
  26297. - application/json
  26298. responses:
  26299. "200":
  26300. description: OK
  26301. schema:
  26302. items:
  26303. $ref: '#/definitions/models.WrDeliveryAvalidHoldLB'
  26304. type: array
  26305. "500":
  26306. description: Internal Server Error
  26307. schema:
  26308. $ref: '#/definitions/app.Response'
  26309. security:
  26310. - ApiKeyAuth: []
  26311. summary: 查询合约交收可点选仓单
  26312. tags:
  26313. - 仓单贸易v2
  26314. /WrTrade2/QueryWrDeliveryDetail:
  26315. get:
  26316. parameters:
  26317. - description: 用户id
  26318. in: query
  26319. name: userid
  26320. required: true
  26321. type: integer
  26322. - description: 资金账号id
  26323. in: query
  26324. name: accountid
  26325. type: integer
  26326. - description: 开始交易日(yyyymmdd)
  26327. in: query
  26328. name: begindate
  26329. type: string
  26330. - description: 结束交易日(yyyymmdd)
  26331. in: query
  26332. name: enddate
  26333. type: string
  26334. produces:
  26335. - application/json
  26336. responses:
  26337. "200":
  26338. description: OK
  26339. schema:
  26340. items:
  26341. $ref: '#/definitions/models.WrDeliveryDetail'
  26342. type: array
  26343. "500":
  26344. description: Internal Server Error
  26345. schema:
  26346. $ref: '#/definitions/app.Response'
  26347. security:
  26348. - ApiKeyAuth: []
  26349. summary: 查询交收
  26350. tags:
  26351. - 仓单贸易v2
  26352. /WrTrade2/QueryWrDraftUserInfo:
  26353. get:
  26354. parameters:
  26355. - description: 用户ID
  26356. in: query
  26357. name: userid
  26358. required: true
  26359. type: integer
  26360. - description: 用户状态 1:正常 2:注销
  26361. in: query
  26362. name: userstatus
  26363. type: integer
  26364. produces:
  26365. - application/json
  26366. responses:
  26367. "200":
  26368. description: OK
  26369. schema:
  26370. items:
  26371. $ref: '#/definitions/models.WrDraftUserInfo'
  26372. type: array
  26373. "500":
  26374. description: Internal Server Error
  26375. schema:
  26376. $ref: '#/definitions/app.Response'
  26377. security:
  26378. - ApiKeyAuth: []
  26379. summary: 查询实名认证信息
  26380. tags:
  26381. - 仓单贸易v2
  26382. /WrTrade2/QueryWrFactorTypeInfo:
  26383. get:
  26384. parameters:
  26385. - description: 仓单要素id
  26386. in: query
  26387. name: wrfactortypeid
  26388. required: true
  26389. type: integer
  26390. produces:
  26391. - application/json
  26392. responses:
  26393. "200":
  26394. description: OK
  26395. schema:
  26396. items:
  26397. $ref: '#/definitions/models.WrFactorTypeInfo'
  26398. type: array
  26399. "500":
  26400. description: Internal Server Error
  26401. schema:
  26402. $ref: '#/definitions/app.Response'
  26403. security:
  26404. - ApiKeyAuth: []
  26405. summary: 查询仓单要素详细信息
  26406. tags:
  26407. - 仓单贸易v2
  26408. /WrTrade2/QueryWrFactorTypeInfoEx:
  26409. get:
  26410. parameters:
  26411. - description: 仓单要素id
  26412. in: query
  26413. name: wrfactortypeid
  26414. required: true
  26415. type: integer
  26416. produces:
  26417. - application/json
  26418. responses:
  26419. "200":
  26420. description: OK
  26421. schema:
  26422. items:
  26423. $ref: '#/definitions/models.WrTypeItem'
  26424. type: array
  26425. "500":
  26426. description: Internal Server Error
  26427. schema:
  26428. $ref: '#/definitions/app.Response'
  26429. security:
  26430. - ApiKeyAuth: []
  26431. summary: 查询仓单要素详细信息列表项
  26432. tags:
  26433. - 仓单贸易v2
  26434. /WrTrade2/QueryWrFinanceBuyApply:
  26435. get:
  26436. description: 页面 融资信息+ / 申请单
  26437. parameters:
  26438. - description: 用户id
  26439. in: query
  26440. name: userid
  26441. required: true
  26442. type: integer
  26443. produces:
  26444. - application/json
  26445. responses:
  26446. "200":
  26447. description: OK
  26448. schema:
  26449. items:
  26450. $ref: '#/definitions/models.WrFinanceBuyApply'
  26451. type: array
  26452. "500":
  26453. description: Internal Server Error
  26454. schema:
  26455. $ref: '#/definitions/app.Response'
  26456. security:
  26457. - ApiKeyAuth: []
  26458. summary: 查询融资购买申请
  26459. tags:
  26460. - 仓单贸易v2
  26461. /WrTrade2/QueryWrFriendApply:
  26462. get:
  26463. parameters:
  26464. - description: 用户id
  26465. in: query
  26466. name: userid
  26467. required: true
  26468. type: integer
  26469. produces:
  26470. - application/json
  26471. responses:
  26472. "200":
  26473. description: OK
  26474. schema:
  26475. items:
  26476. $ref: '#/definitions/models.WrFriendApply'
  26477. type: array
  26478. "500":
  26479. description: Internal Server Error
  26480. schema:
  26481. $ref: '#/definitions/app.Response'
  26482. security:
  26483. - ApiKeyAuth: []
  26484. summary: 查询好友申请记录
  26485. tags:
  26486. - 仓单贸易v2
  26487. /WrTrade2/QueryWrGoodsInfo:
  26488. get:
  26489. parameters:
  26490. - description: 仓单贸易市场id
  26491. in: query
  26492. name: marketid
  26493. type: integer
  26494. - description: 0:仓单预售 1:仓单贸易
  26495. in: query
  26496. name: haswr
  26497. required: true
  26498. type: integer
  26499. - description: 仓单要素id
  26500. in: query
  26501. name: wrfactortypeid
  26502. required: true
  26503. type: integer
  26504. - description: 履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)
  26505. in: query
  26506. name: tmplateid
  26507. type: integer
  26508. produces:
  26509. - application/json
  26510. responses:
  26511. "200":
  26512. description: OK
  26513. schema:
  26514. items:
  26515. $ref: '#/definitions/models.WrGoodsInfo'
  26516. type: array
  26517. "500":
  26518. description: Internal Server Error
  26519. schema:
  26520. $ref: '#/definitions/app.Response'
  26521. security:
  26522. - ApiKeyAuth: []
  26523. summary: 查询仓单商品信息
  26524. tags:
  26525. - 仓单贸易v2
  26526. /WrTrade2/QueryWrMarketTradeConfig:
  26527. get:
  26528. parameters:
  26529. - description: 市场id
  26530. in: query
  26531. name: marketid
  26532. type: integer
  26533. produces:
  26534. - application/json
  26535. responses:
  26536. "200":
  26537. description: OK
  26538. schema:
  26539. items:
  26540. $ref: '#/definitions/models.WrMarketTradeConfig'
  26541. type: array
  26542. "500":
  26543. description: Internal Server Error
  26544. schema:
  26545. $ref: '#/definitions/app.Response'
  26546. security:
  26547. - ApiKeyAuth: []
  26548. summary: 查询市场交易参数配置
  26549. tags:
  26550. - 仓单贸易v2
  26551. /WrTrade2/QueryWrOrderDetail:
  26552. get:
  26553. description: 页面 现货仓单 | 预售仓单 -> 委托单
  26554. parameters:
  26555. - description: 页码
  26556. in: query
  26557. name: page
  26558. type: integer
  26559. - description: 每页条数
  26560. in: query
  26561. name: pagesize
  26562. type: integer
  26563. - description: 用户id
  26564. in: query
  26565. name: userid
  26566. required: true
  26567. type: integer
  26568. - description: 仓单贸易市场id
  26569. in: query
  26570. name: marketid
  26571. type: integer
  26572. - description: 0:仓单预售 1:仓单贸易
  26573. in: query
  26574. name: haswr
  26575. required: true
  26576. type: integer
  26577. - description: 是否仅查可撤单据 1:可撤 注:此参数仅对当前记录有效, 且不含47模式市场
  26578. in: query
  26579. name: bcancel
  26580. type: integer
  26581. - description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  26582. in: query
  26583. name: wrtradetype
  26584. type: integer
  26585. - description: 开始交易日(yyyymmdd)
  26586. in: query
  26587. name: begindate
  26588. type: string
  26589. - description: 结束交易日(yyyymmdd)
  26590. in: query
  26591. name: enddate
  26592. type: string
  26593. produces:
  26594. - application/json
  26595. responses:
  26596. "200":
  26597. description: OK
  26598. schema:
  26599. items:
  26600. $ref: '#/definitions/models.WrOrderDetail'
  26601. type: array
  26602. "500":
  26603. description: Internal Server Error
  26604. schema:
  26605. $ref: '#/definitions/app.Response'
  26606. security:
  26607. - ApiKeyAuth: []
  26608. summary: 查询仓单委托单
  26609. tags:
  26610. - 仓单贸易v2
  26611. /WrTrade2/QueryWrOutInApply:
  26612. get:
  26613. parameters:
  26614. - description: 页码
  26615. in: query
  26616. name: page
  26617. type: integer
  26618. - description: 每页条数
  26619. in: query
  26620. name: pagesize
  26621. type: integer
  26622. - description: 用户id
  26623. in: query
  26624. name: userid
  26625. required: true
  26626. type: integer
  26627. - description: 开始交易日(yyyymmdd)
  26628. in: query
  26629. name: begindate
  26630. type: string
  26631. - description: 结束交易日(yyyymmdd)
  26632. in: query
  26633. name: enddate
  26634. type: string
  26635. produces:
  26636. - application/json
  26637. responses:
  26638. "200":
  26639. description: OK
  26640. schema:
  26641. items:
  26642. $ref: '#/definitions/models.WrOutInApply'
  26643. type: array
  26644. "500":
  26645. description: Internal Server Error
  26646. schema:
  26647. $ref: '#/definitions/app.Response'
  26648. security:
  26649. - ApiKeyAuth: []
  26650. summary: 查询提货申请
  26651. tags:
  26652. - 仓单贸易v2
  26653. /WrTrade2/QueryWrPerformancePlanStep:
  26654. get:
  26655. parameters:
  26656. - description: 履约计划id(performanceplanid)
  26657. in: query
  26658. name: planid
  26659. required: true
  26660. type: integer
  26661. - description: 当前步骤id
  26662. in: query
  26663. name: curstepid
  26664. type: integer
  26665. produces:
  26666. - application/json
  26667. responses:
  26668. "200":
  26669. description: OK
  26670. schema:
  26671. items:
  26672. $ref: '#/definitions/models.WrPerformancePlanStep'
  26673. type: array
  26674. "500":
  26675. description: Internal Server Error
  26676. schema:
  26677. $ref: '#/definitions/app.Response'
  26678. security:
  26679. - ApiKeyAuth: []
  26680. summary: 查询履约信息详情
  26681. tags:
  26682. - 仓单贸易v2
  26683. /WrTrade2/QueryWrPerformanceStepType:
  26684. get:
  26685. produces:
  26686. - application/json
  26687. responses:
  26688. "200":
  26689. description: OK
  26690. schema:
  26691. items:
  26692. $ref: '#/definitions/models.WrPerformanceStepType'
  26693. type: array
  26694. "500":
  26695. description: Internal Server Error
  26696. schema:
  26697. $ref: '#/definitions/app.Response'
  26698. security:
  26699. - ApiKeyAuth: []
  26700. summary: 查询履约步骤枚举
  26701. tags:
  26702. - 仓单贸易v2
  26703. /WrTrade2/QueryWrPosition:
  26704. get:
  26705. description: 页面 现货仓单->现货汇总/库存汇总; 预售仓单->订单汇总
  26706. parameters:
  26707. - description: 用户id
  26708. in: query
  26709. name: userid
  26710. required: true
  26711. type: integer
  26712. - description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  26713. in: query
  26714. name: querytype
  26715. required: true
  26716. type: integer
  26717. - description: 0:仓单预售 1:仓单贸易
  26718. in: query
  26719. name: haswr
  26720. required: true
  26721. type: integer
  26722. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  26723. in: query
  26724. name: dgitemname
  26725. type: string
  26726. - description: 仓库id(筛选条件)
  26727. in: query
  26728. name: warehouseid
  26729. type: integer
  26730. - description: 品种id
  26731. in: query
  26732. name: deliverygoodsid
  26733. type: integer
  26734. - description: 品类id
  26735. in: query
  26736. name: wrstandardid
  26737. type: integer
  26738. produces:
  26739. - application/json
  26740. responses:
  26741. "200":
  26742. description: OK
  26743. schema:
  26744. items:
  26745. $ref: '#/definitions/models.WrPosition'
  26746. type: array
  26747. "500":
  26748. description: Internal Server Error
  26749. schema:
  26750. $ref: '#/definitions/app.Response'
  26751. security:
  26752. - ApiKeyAuth: []
  26753. summary: 查询现货(预售)仓单持仓
  26754. tags:
  26755. - 仓单贸易v2
  26756. /WrTrade2/QueryWrPreSaleInfo:
  26757. get:
  26758. parameters:
  26759. - description: 市场id
  26760. in: query
  26761. name: marketid
  26762. type: integer
  26763. - description: 预售状态(逗号隔开,如1,2,3) 1:未开始 2:进行中 3:已结束 4:已关闭
  26764. in: query
  26765. name: presalestatus
  26766. type: string
  26767. - description: 摇号标识 - 0:未摇号 1:已摇号
  26768. in: query
  26769. name: lotteryflag
  26770. type: integer
  26771. - description: 最近多少条记录(按创建时间倒序)
  26772. in: query
  26773. name: lastnum
  26774. type: integer
  26775. produces:
  26776. - application/json
  26777. responses:
  26778. "200":
  26779. description: OK
  26780. schema:
  26781. items:
  26782. $ref: '#/definitions/models.WrPreSaleInfo'
  26783. type: array
  26784. "500":
  26785. description: Internal Server Error
  26786. schema:
  26787. $ref: '#/definitions/app.Response'
  26788. security:
  26789. - ApiKeyAuth: []
  26790. summary: 查询新品发布
  26791. tags:
  26792. - 仓单贸易v2
  26793. /WrTrade2/QueryWrReckonSpotGoodsTradeSum:
  26794. get:
  26795. parameters:
  26796. - description: 市场id
  26797. in: query
  26798. name: marketid
  26799. required: true
  26800. type: integer
  26801. - description: 现货商品id
  26802. in: query
  26803. name: wrstandardid
  26804. required: true
  26805. type: integer
  26806. - description: 开始交易日(yyyymmdd)
  26807. in: query
  26808. name: begindate
  26809. type: string
  26810. - description: 结束交易日(yyyymmdd)
  26811. in: query
  26812. name: enddate
  26813. type: string
  26814. - description: 最近多少条记录(按交易日倒序)
  26815. in: query
  26816. name: lastnum
  26817. type: integer
  26818. - description: 是否今日
  26819. in: query
  26820. name: istoday
  26821. type: boolean
  26822. produces:
  26823. - application/json
  26824. responses:
  26825. "200":
  26826. description: OK
  26827. schema:
  26828. items:
  26829. $ref: '#/definitions/models.WrReckonSpotGoodsTradeSum'
  26830. type: array
  26831. "500":
  26832. description: Internal Server Error
  26833. schema:
  26834. $ref: '#/definitions/app.Response'
  26835. security:
  26836. - ApiKeyAuth: []
  26837. summary: 查询价格走势
  26838. tags:
  26839. - 仓单贸易v2
  26840. /WrTrade2/QueryWrScfContract:
  26841. get:
  26842. parameters:
  26843. - description: 用户id
  26844. in: query
  26845. name: userid
  26846. required: true
  26847. type: integer
  26848. - description: 融资合同id
  26849. in: query
  26850. name: scfcontractid
  26851. type: integer
  26852. produces:
  26853. - application/json
  26854. responses:
  26855. "200":
  26856. description: OK
  26857. schema:
  26858. items:
  26859. $ref: '#/definitions/models.WrScfContract'
  26860. type: array
  26861. "500":
  26862. description: Internal Server Error
  26863. schema:
  26864. $ref: '#/definitions/app.Response'
  26865. security:
  26866. - ApiKeyAuth: []
  26867. summary: 查询仓单贸易融资合同
  26868. tags:
  26869. - 仓单贸易v2
  26870. /WrTrade2/QueryWrScfContractInterest:
  26871. get:
  26872. parameters:
  26873. - description: 融资合同id
  26874. in: query
  26875. name: scfcontractid
  26876. type: integer
  26877. produces:
  26878. - application/json
  26879. responses:
  26880. "200":
  26881. description: OK
  26882. schema:
  26883. items:
  26884. $ref: '#/definitions/models.WrScfContractInterest'
  26885. type: array
  26886. "500":
  26887. description: Internal Server Error
  26888. schema:
  26889. $ref: '#/definitions/app.Response'
  26890. security:
  26891. - ApiKeyAuth: []
  26892. summary: 查询融资合同费用明细
  26893. tags:
  26894. - 仓单贸易v2
  26895. /WrTrade2/QueryWrSearchUser:
  26896. get:
  26897. parameters:
  26898. - description: 用户名称(模糊匹配)
  26899. in: query
  26900. name: username
  26901. required: true
  26902. type: string
  26903. produces:
  26904. - application/json
  26905. responses:
  26906. "200":
  26907. description: OK
  26908. schema:
  26909. items:
  26910. $ref: '#/definitions/models.WrSearchUser'
  26911. type: array
  26912. "500":
  26913. description: Internal Server Error
  26914. schema:
  26915. $ref: '#/definitions/app.Response'
  26916. security:
  26917. - ApiKeyAuth: []
  26918. summary: 查询用户
  26919. tags:
  26920. - 仓单贸易v2
  26921. /WrTrade2/QueryWrSpecialMatchOrder:
  26922. get:
  26923. description: 页面 现货仓单 | 预售仓单 -> 指定成交
  26924. parameters:
  26925. - description: 页码
  26926. in: query
  26927. name: page
  26928. type: integer
  26929. - description: 每页条数
  26930. in: query
  26931. name: pagesize
  26932. type: integer
  26933. - description: 用户id
  26934. in: query
  26935. name: userid
  26936. required: true
  26937. type: integer
  26938. - description: 仓单贸易市场id
  26939. in: query
  26940. name: marketid
  26941. type: integer
  26942. - description: 0:仓单预售 1:仓单贸易
  26943. in: query
  26944. name: haswr
  26945. required: true
  26946. type: integer
  26947. - description: 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  26948. in: query
  26949. name: isspecified
  26950. type: integer
  26951. produces:
  26952. - application/json
  26953. responses:
  26954. "200":
  26955. description: OK
  26956. schema:
  26957. items:
  26958. $ref: '#/definitions/models.WrSpecialMatchOrder'
  26959. type: array
  26960. "500":
  26961. description: Internal Server Error
  26962. schema:
  26963. $ref: '#/definitions/app.Response'
  26964. security:
  26965. - ApiKeyAuth: []
  26966. summary: 查询指定成交
  26967. tags:
  26968. - 仓单贸易v2
  26969. /WrTrade2/QueryWrStandardFactoryItem:
  26970. get:
  26971. parameters:
  26972. - description: 品类id
  26973. in: query
  26974. name: wrstandardid
  26975. required: true
  26976. type: integer
  26977. produces:
  26978. - application/json
  26979. responses:
  26980. "200":
  26981. description: OK
  26982. schema:
  26983. items:
  26984. $ref: '#/definitions/models.WrStandardFactoryItemEx'
  26985. type: array
  26986. "500":
  26987. description: Internal Server Error
  26988. schema:
  26989. $ref: '#/definitions/app.Response'
  26990. security:
  26991. - ApiKeyAuth: []
  26992. summary: 查询品类要素定义项
  26993. tags:
  26994. - 仓单贸易v2
  26995. /WrTrade2/QueryWrTradeBargainApply:
  26996. get:
  26997. description: 1.页面 挂单/议价单, 只需传单号就行 <br>2.页面 议价->我的议价 参数 userid=登录userid <br>3.页面
  26998. 议价->对方议价 填写matchuserid=登录用户id
  26999. parameters:
  27000. - description: 议价人id(摘牌方)
  27001. in: query
  27002. name: userid
  27003. type: integer
  27004. - description: 挂牌方id(查对方议价时,填写此项)
  27005. in: query
  27006. name: matchuserid
  27007. type: integer
  27008. - description: 关联委托单id
  27009. in: query
  27010. name: wrtradeorderid
  27011. type: integer
  27012. - description: 0:仓单预售 1:仓单贸易
  27013. in: query
  27014. name: haswr
  27015. required: true
  27016. type: integer
  27017. - description: 开始交易日(yyyymmdd)
  27018. in: query
  27019. name: begindate
  27020. type: string
  27021. - description: 结束交易日(yyyymmdd)
  27022. in: query
  27023. name: enddate
  27024. type: string
  27025. produces:
  27026. - application/json
  27027. responses:
  27028. "200":
  27029. description: OK
  27030. schema:
  27031. items:
  27032. $ref: '#/definitions/models.WRTradeBargainApply'
  27033. type: array
  27034. "500":
  27035. description: Internal Server Error
  27036. schema:
  27037. $ref: '#/definitions/app.Response'
  27038. security:
  27039. - ApiKeyAuth: []
  27040. summary: 查询议价单
  27041. tags:
  27042. - 仓单贸易v2
  27043. /WrTrade2/QueryWrTradeDetail:
  27044. get:
  27045. parameters:
  27046. - description: 页码
  27047. in: query
  27048. name: page
  27049. type: integer
  27050. - description: 每页条数
  27051. in: query
  27052. name: pagesize
  27053. type: integer
  27054. - description: 用户id
  27055. in: query
  27056. name: userid
  27057. required: true
  27058. type: integer
  27059. - description: 仓单贸易市场id
  27060. in: query
  27061. name: marketid
  27062. type: integer
  27063. - description: 0:仓单预售 1:仓单贸易
  27064. in: query
  27065. name: haswr
  27066. required: true
  27067. type: integer
  27068. - description: 开始交易日(yyyymmdd)
  27069. in: query
  27070. name: begindate
  27071. type: string
  27072. - description: 结束交易日(yyyymmdd)
  27073. in: query
  27074. name: enddate
  27075. type: string
  27076. produces:
  27077. - application/json
  27078. responses:
  27079. "200":
  27080. description: OK
  27081. schema:
  27082. items:
  27083. $ref: '#/definitions/models.WrTradeDetail'
  27084. type: array
  27085. "500":
  27086. description: Internal Server Error
  27087. schema:
  27088. $ref: '#/definitions/app.Response'
  27089. security:
  27090. - ApiKeyAuth: []
  27091. summary: 查询仓单成交明细
  27092. tags:
  27093. - 仓单贸易v2
  27094. /WrTrade2/QueryWrTradeOrderDetail:
  27095. get:
  27096. parameters:
  27097. - description: 页码
  27098. in: query
  27099. name: page
  27100. type: integer
  27101. - description: 每页条数
  27102. in: query
  27103. name: pagesize
  27104. type: integer
  27105. - description: 商品id
  27106. in: query
  27107. name: goodsid
  27108. required: true
  27109. type: integer
  27110. - description: 买卖方向 0-买 1-卖
  27111. in: query
  27112. name: buyorsell
  27113. required: true
  27114. type: integer
  27115. produces:
  27116. - application/json
  27117. responses:
  27118. "200":
  27119. description: OK
  27120. schema:
  27121. items:
  27122. $ref: '#/definitions/models.WrTradeOrderDetail'
  27123. type: array
  27124. "500":
  27125. description: Internal Server Error
  27126. schema:
  27127. $ref: '#/definitions/app.Response'
  27128. security:
  27129. - ApiKeyAuth: []
  27130. summary: 查询合约交易买卖大厅
  27131. tags:
  27132. - 仓单贸易v2
  27133. /WrTrade2/QueryWrTradeQuote:
  27134. get:
  27135. parameters:
  27136. - description: 现货商品id
  27137. in: query
  27138. name: wrstandardid
  27139. required: true
  27140. type: integer
  27141. - description: 开始日期(yyyymmdd)
  27142. in: query
  27143. name: begindate
  27144. required: true
  27145. type: string
  27146. - description: 结束日期(yyyymmdd)
  27147. in: query
  27148. name: enddate
  27149. required: true
  27150. type: string
  27151. - description: 市场id
  27152. in: query
  27153. name: marketid
  27154. type: integer
  27155. produces:
  27156. - application/json
  27157. responses:
  27158. "200":
  27159. description: OK
  27160. schema:
  27161. items:
  27162. $ref: '#/definitions/models.Wrtradetradequote'
  27163. type: array
  27164. "500":
  27165. description: Internal Server Error
  27166. schema:
  27167. $ref: '#/definitions/app.Response'
  27168. security:
  27169. - ApiKeyAuth: []
  27170. summary: 查询仓单贸易成交行情
  27171. tags:
  27172. - 仓单贸易v2
  27173. /WrTrade2/QueryWrUserFriend:
  27174. get:
  27175. parameters:
  27176. - description: 用户id
  27177. in: query
  27178. name: userid
  27179. required: true
  27180. type: integer
  27181. - description: 新朋友userid, 如果填写了此项则查找新朋友
  27182. in: query
  27183. name: newuserid
  27184. type: integer
  27185. produces:
  27186. - application/json
  27187. responses:
  27188. "200":
  27189. description: OK
  27190. schema:
  27191. items:
  27192. $ref: '#/definitions/models.WrUserFriend'
  27193. type: array
  27194. "500":
  27195. description: Internal Server Error
  27196. schema:
  27197. $ref: '#/definitions/app.Response'
  27198. security:
  27199. - ApiKeyAuth: []
  27200. summary: 查询我的朋友
  27201. tags:
  27202. - 仓单贸易v2
  27203. /WrTrade2/QueryWrUserReceiptInfo:
  27204. get:
  27205. parameters:
  27206. - description: 用户id
  27207. in: query
  27208. name: userid
  27209. type: integer
  27210. - description: 发票类型 - 1:个人 2:企业
  27211. in: query
  27212. name: receipttype
  27213. type: integer
  27214. produces:
  27215. - application/json
  27216. responses:
  27217. "200":
  27218. description: OK
  27219. schema:
  27220. items:
  27221. $ref: '#/definitions/models.WrUserReceiptInfo'
  27222. type: array
  27223. "500":
  27224. description: Internal Server Error
  27225. schema:
  27226. $ref: '#/definitions/app.Response'
  27227. security:
  27228. - ApiKeyAuth: []
  27229. summary: 查询发票信息
  27230. tags:
  27231. - 仓单贸易v2
  27232. /WrTrade2/QueryXhcpSellBackApply:
  27233. get:
  27234. parameters:
  27235. - description: 用户ID
  27236. in: query
  27237. name: userid
  27238. required: true
  27239. type: integer
  27240. produces:
  27241. - application/json
  27242. responses:
  27243. "200":
  27244. description: OK
  27245. schema:
  27246. items:
  27247. $ref: '#/definitions/models.Xhcpsellbackapply'
  27248. type: array
  27249. "500":
  27250. description: Internal Server Error
  27251. schema:
  27252. $ref: '#/definitions/app.Response'
  27253. security:
  27254. - ApiKeyAuth: []
  27255. summary: 查询我的回收申请(新会陈皮)
  27256. tags:
  27257. - 仓单贸易v2
  27258. /ZJ/GetBankTip:
  27259. get:
  27260. produces:
  27261. - application/json
  27262. responses:
  27263. "200":
  27264. description: OK
  27265. schema:
  27266. type: string
  27267. "500":
  27268. description: Internal Server Error
  27269. schema:
  27270. $ref: '#/definitions/app.Response'
  27271. summary: 获取中江网银端出入金提示信息
  27272. tags:
  27273. - 中江
  27274. /ZJ/GetCusBankChannels:
  27275. get:
  27276. produces:
  27277. - application/json
  27278. responses:
  27279. "200":
  27280. description: OK
  27281. schema:
  27282. items:
  27283. type: string
  27284. type: array
  27285. "500":
  27286. description: Internal Server Error
  27287. schema:
  27288. $ref: '#/definitions/app.Response'
  27289. summary: 获取中江出入金渠道显示列表
  27290. tags:
  27291. - 中江
  27292. securityDefinitions:
  27293. ApiKeyAuth:
  27294. in: header
  27295. name: Authorization
  27296. type: apiKey
  27297. Group:
  27298. in: header
  27299. name: Group
  27300. type: apiKey
  27301. LoginID:
  27302. in: header
  27303. name: LoginID
  27304. type: apiKey
  27305. swagger: "2.0"