swagger.yaml 755 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849218502185121852218532185421855218562185721858218592186021861218622186321864218652186621867218682186921870218712187221873218742187521876218772187821879218802188121882218832188421885218862188721888218892189021891218922189321894218952189621897218982189921900219012190221903219042190521906219072190821909219102191121912219132191421915219162191721918219192192021921219222192321924219252192621927219282192921930219312193221933219342193521936219372193821939219402194121942219432194421945219462194721948219492195021951219522195321954219552195621957219582195921960219612196221963219642196521966219672196821969219702197121972219732197421975219762197721978219792198021981219822198321984219852198621987219882198921990219912199221993219942199521996219972199821999220002200122002220032200422005220062200722008220092201022011220122201322014220152201622017220182201922020220212202222023220242202522026220272202822029220302203122032220332203422035220362203722038220392204022041220422204322044220452204622047220482204922050220512205222053220542205522056220572205822059220602206122062220632206422065220662206722068220692207022071220722207322074220752207622077220782207922080220812208222083220842208522086220872208822089220902209122092220932209422095220962209722098220992210022101221022210322104221052210622107221082210922110221112211222113221142211522116221172211822119221202212122122221232212422125221262212722128221292213022131221322213322134221352213622137221382213922140221412214222143221442214522146221472214822149221502215122152221532215422155221562215722158221592216022161221622216322164221652216622167221682216922170221712217222173221742217522176221772217822179221802218122182221832218422185221862218722188221892219022191221922219322194221952219622197221982219922200222012220222203222042220522206222072220822209222102221122212222132221422215222162221722218222192222022221222222222322224222252222622227222282222922230222312223222233222342223522236222372223822239222402224122242222432224422245222462224722248222492225022251222522225322254222552225622257222582225922260222612226222263222642226522266222672226822269222702227122272222732227422275222762227722278222792228022281222822228322284222852228622287222882228922290222912229222293222942229522296222972229822299223002230122302223032230422305223062230722308223092231022311223122231322314223152231622317223182231922320223212232222323223242232522326223272232822329223302233122332223332233422335223362233722338223392234022341223422234322344223452234622347223482234922350223512235222353223542235522356223572235822359223602236122362223632236422365223662236722368223692237022371223722237322374223752237622377223782237922380223812238222383223842238522386223872238822389223902239122392223932239422395223962239722398223992240022401224022240322404224052240622407224082240922410224112241222413224142241522416224172241822419224202242122422224232242422425224262242722428224292243022431224322243322434224352243622437224382243922440224412244222443224442244522446224472244822449224502245122452224532245422455224562245722458224592246022461224622246322464224652246622467224682246922470224712247222473224742247522476224772247822479224802248122482224832248422485224862248722488224892249022491224922249322494224952249622497224982249922500225012250222503225042250522506225072250822509225102251122512225132251422515225162251722518225192252022521225222252322524225252252622527225282252922530225312253222533225342253522536225372253822539225402254122542225432254422545225462254722548225492255022551225522255322554225552255622557225582255922560225612256222563225642256522566225672256822569225702257122572225732257422575225762257722578225792258022581225822258322584225852258622587225882258922590225912259222593225942259522596225972259822599226002260122602226032260422605226062260722608226092261022611226122261322614226152261622617226182261922620226212262222623226242262522626226272262822629226302263122632226332263422635226362263722638226392264022641226422264322644226452264622647226482264922650226512265222653226542265522656226572265822659226602266122662226632266422665226662266722668226692267022671226722267322674226752267622677226782267922680226812268222683226842268522686226872268822689226902269122692226932269422695226962269722698226992270022701227022270322704227052270622707227082270922710227112271222713227142271522716227172271822719227202272122722227232272422725227262272722728227292273022731227322273322734227352273622737227382273922740227412274222743227442274522746227472274822749227502275122752227532275422755227562275722758227592276022761227622276322764227652276622767227682276922770227712277222773227742277522776227772277822779227802278122782227832278422785227862278722788227892279022791227922279322794227952279622797227982279922800228012280222803228042280522806228072280822809228102281122812228132281422815228162281722818228192282022821228222282322824228252282622827228282282922830228312283222833228342283522836228372283822839228402284122842228432284422845228462284722848228492285022851228522285322854228552285622857228582285922860228612286222863228642286522866228672286822869228702287122872228732287422875228762287722878228792288022881228822288322884228852288622887228882288922890228912289222893228942289522896228972289822899229002290122902229032290422905229062290722908229092291022911229122291322914229152291622917229182291922920229212292222923229242292522926229272292822929229302293122932229332293422935229362293722938229392294022941229422294322944229452294622947229482294922950229512295222953229542295522956229572295822959229602296122962229632296422965229662296722968229692297022971229722297322974229752297622977229782297922980229812298222983229842298522986229872298822989229902299122992229932299422995229962299722998229992300023001230022300323004230052300623007230082300923010230112301223013230142301523016230172301823019230202302123022230232302423025230262302723028230292303023031230322303323034230352303623037230382303923040230412304223043230442304523046230472304823049230502305123052230532305423055230562305723058230592306023061230622306323064230652306623067230682306923070230712307223073230742307523076230772307823079230802308123082230832308423085230862308723088230892309023091230922309323094230952309623097230982309923100231012310223103231042310523106231072310823109231102311123112231132311423115231162311723118231192312023121231222312323124231252312623127231282312923130231312313223133231342313523136231372313823139231402314123142231432314423145231462314723148231492315023151231522315323154231552315623157231582315923160231612316223163231642316523166231672316823169231702317123172231732317423175231762317723178231792318023181231822318323184231852318623187231882318923190231912319223193231942319523196231972319823199232002320123202232032320423205232062320723208232092321023211232122321323214232152321623217232182321923220232212322223223232242322523226232272322823229232302323123232232332323423235232362323723238232392324023241232422324323244232452324623247232482324923250232512325223253232542325523256232572325823259232602326123262232632326423265232662326723268232692327023271232722327323274232752327623277232782327923280232812328223283232842328523286232872328823289232902329123292232932329423295232962329723298232992330023301233022330323304233052330623307233082330923310233112331223313233142331523316233172331823319233202332123322233232332423325233262332723328233292333023331233322333323334233352333623337233382333923340233412334223343233442334523346233472334823349233502335123352233532335423355233562335723358233592336023361233622336323364233652336623367233682336923370233712337223373233742337523376233772337823379233802338123382233832338423385233862338723388233892339023391233922339323394233952339623397233982339923400234012340223403234042340523406234072340823409234102341123412234132341423415234162341723418234192342023421234222342323424234252342623427234282342923430234312343223433234342343523436234372343823439234402344123442234432344423445234462344723448234492345023451234522345323454234552345623457234582345923460234612346223463234642346523466234672346823469234702347123472234732347423475234762347723478234792348023481234822348323484234852348623487234882348923490234912349223493234942349523496234972349823499235002350123502235032350423505235062350723508235092351023511235122351323514235152351623517235182351923520235212352223523235242352523526235272352823529235302353123532235332353423535235362353723538235392354023541235422354323544235452354623547235482354923550235512355223553235542355523556235572355823559235602356123562235632356423565235662356723568235692357023571235722357323574235752357623577235782357923580235812358223583235842358523586235872358823589235902359123592235932359423595235962359723598235992360023601236022360323604236052360623607236082360923610236112361223613236142361523616236172361823619236202362123622236232362423625236262362723628236292363023631236322363323634236352363623637236382363923640236412364223643236442364523646236472364823649236502365123652236532365423655236562365723658236592366023661236622366323664236652366623667236682366923670236712367223673236742367523676236772367823679236802368123682236832368423685236862368723688236892369023691236922369323694236952369623697236982369923700237012370223703237042370523706237072370823709237102371123712237132371423715237162371723718237192372023721237222372323724237252372623727237282372923730237312373223733237342373523736237372373823739237402374123742237432374423745237462374723748237492375023751237522375323754237552375623757237582375923760237612376223763237642376523766237672376823769237702377123772237732377423775237762377723778237792378023781237822378323784237852378623787237882378923790237912379223793237942379523796237972379823799238002380123802238032380423805238062380723808238092381023811238122381323814238152381623817238182381923820238212382223823238242382523826238272382823829238302383123832238332383423835238362383723838238392384023841238422384323844238452384623847238482384923850238512385223853238542385523856238572385823859238602386123862238632386423865238662386723868238692387023871238722387323874238752387623877238782387923880238812388223883238842388523886238872388823889238902389123892238932389423895238962389723898238992390023901239022390323904239052390623907239082390923910239112391223913239142391523916239172391823919239202392123922239232392423925239262392723928239292393023931239322393323934239352393623937239382393923940239412394223943239442394523946239472394823949239502395123952239532395423955239562395723958239592396023961239622396323964239652396623967239682396923970239712397223973239742397523976239772397823979239802398123982239832398423985239862398723988239892399023991239922399323994239952399623997239982399924000240012400224003240042400524006240072400824009240102401124012240132401424015240162401724018240192402024021240222402324024240252402624027240282402924030240312403224033240342403524036240372403824039240402404124042240432404424045240462404724048240492405024051240522405324054240552405624057240582405924060240612406224063240642406524066240672406824069240702407124072240732407424075240762407724078240792408024081240822408324084240852408624087240882408924090240912409224093240942409524096240972409824099241002410124102241032410424105241062410724108241092411024111241122411324114241152411624117241182411924120241212412224123241242412524126241272412824129241302413124132241332413424135241362413724138241392414024141241422414324144241452414624147241482414924150241512415224153241542415524156241572415824159241602416124162241632416424165241662416724168241692417024171241722417324174241752417624177241782417924180241812418224183241842418524186241872418824189241902419124192241932419424195241962419724198241992420024201242022420324204242052420624207242082420924210242112421224213242142421524216242172421824219242202422124222242232422424225242262422724228242292423024231242322423324234242352423624237242382423924240242412424224243242442424524246242472424824249242502425124252242532425424255242562425724258242592426024261242622426324264242652426624267242682426924270242712427224273242742427524276242772427824279242802428124282242832428424285242862428724288242892429024291242922429324294242952429624297242982429924300243012430224303243042430524306243072430824309243102431124312243132431424315243162431724318243192432024321243222432324324243252432624327243282432924330243312433224333243342433524336243372433824339243402434124342243432434424345243462434724348243492435024351243522435324354243552435624357243582435924360243612436224363243642436524366243672436824369243702437124372243732437424375243762437724378243792438024381243822438324384243852438624387243882438924390243912439224393243942439524396243972439824399244002440124402244032440424405244062440724408244092441024411244122441324414244152441624417244182441924420244212442224423244242442524426244272442824429244302443124432244332443424435244362443724438244392444024441244422444324444244452444624447244482444924450244512445224453244542445524456244572445824459244602446124462244632446424465244662446724468244692447024471244722447324474244752447624477244782447924480244812448224483244842448524486244872448824489244902449124492244932449424495244962449724498244992450024501245022450324504245052450624507245082450924510245112451224513245142451524516245172451824519245202452124522245232452424525245262452724528245292453024531245322453324534245352453624537245382453924540245412454224543245442454524546245472454824549245502455124552245532455424555245562455724558245592456024561245622456324564245652456624567245682456924570245712457224573245742457524576245772457824579245802458124582245832458424585245862458724588245892459024591245922459324594245952459624597245982459924600246012460224603246042460524606246072460824609246102461124612246132461424615246162461724618246192462024621246222462324624246252462624627246282462924630246312463224633246342463524636246372463824639246402464124642246432464424645246462464724648246492465024651246522465324654246552465624657246582465924660246612466224663246642466524666246672466824669246702467124672246732467424675246762467724678246792468024681246822468324684246852468624687246882468924690246912469224693246942469524696246972469824699247002470124702247032470424705247062470724708247092471024711247122471324714247152471624717247182471924720247212472224723247242472524726247272472824729247302473124732247332473424735247362473724738247392474024741247422474324744247452474624747247482474924750247512475224753247542475524756247572475824759247602476124762247632476424765247662476724768247692477024771247722477324774247752477624777247782477924780247812478224783247842478524786247872478824789247902479124792247932479424795247962479724798247992480024801248022480324804248052480624807248082480924810248112481224813248142481524816248172481824819248202482124822248232482424825248262482724828248292483024831248322483324834248352483624837248382483924840248412484224843248442484524846248472484824849248502485124852248532485424855248562485724858248592486024861248622486324864248652486624867248682486924870248712487224873248742487524876248772487824879248802488124882248832488424885248862488724888248892489024891248922489324894248952489624897248982489924900249012490224903249042490524906249072490824909249102491124912249132491424915249162491724918249192492024921249222492324924249252492624927249282492924930249312493224933249342493524936249372493824939249402494124942249432494424945249462494724948249492495024951249522495324954249552495624957249582495924960249612496224963249642496524966249672496824969249702497124972249732497424975249762497724978249792498024981249822498324984249852498624987249882498924990249912499224993249942499524996249972499824999250002500125002250032500425005250062500725008250092501025011250122501325014250152501625017250182501925020250212502225023250242502525026250272502825029250302503125032250332503425035250362503725038250392504025041250422504325044250452504625047250482504925050250512505225053250542505525056250572505825059250602506125062250632506425065250662506725068250692507025071250722507325074250752507625077250782507925080250812508225083250842508525086250872508825089250902509125092250932509425095250962509725098250992510025101251022510325104251052510625107251082510925110251112511225113251142511525116251172511825119251202512125122251232512425125251262512725128251292513025131251322513325134251352513625137251382513925140251412514225143251442514525146251472514825149251502515125152251532515425155251562515725158251592516025161251622516325164251652516625167251682516925170251712517225173251742517525176251772517825179251802518125182251832518425185251862518725188251892519025191251922519325194251952519625197251982519925200252012520225203252042520525206252072520825209252102521125212252132521425215252162521725218252192522025221252222522325224252252522625227252282522925230252312523225233252342523525236252372523825239252402524125242252432524425245252462524725248252492525025251252522525325254252552525625257252582525925260252612526225263252642526525266252672526825269252702527125272252732527425275252762527725278252792528025281252822528325284252852528625287252882528925290252912529225293252942529525296252972529825299253002530125302253032530425305253062530725308253092531025311253122531325314253152531625317253182531925320253212532225323253242532525326253272532825329253302533125332253332533425335253362533725338253392534025341253422534325344253452534625347253482534925350253512535225353253542535525356253572535825359253602536125362253632536425365253662536725368253692537025371253722537325374253752537625377253782537925380253812538225383253842538525386253872538825389253902539125392253932539425395253962539725398253992540025401254022540325404254052540625407254082540925410254112541225413254142541525416254172541825419254202542125422254232542425425254262542725428254292543025431254322543325434254352543625437254382543925440254412544225443254442544525446254472544825449254502545125452254532545425455254562545725458254592546025461254622546325464254652546625467254682546925470254712547225473254742547525476254772547825479254802548125482254832548425485254862548725488254892549025491254922549325494254952549625497254982549925500255012550225503255042550525506255072550825509255102551125512255132551425515255162551725518255192552025521255222552325524255252552625527255282552925530255312553225533255342553525536255372553825539255402554125542255432554425545255462554725548255492555025551255522555325554255552555625557255582555925560255612556225563255642556525566255672556825569255702557125572255732557425575255762557725578255792558025581255822558325584255852558625587255882558925590255912559225593255942559525596255972559825599256002560125602256032560425605256062560725608256092561025611256122561325614256152561625617256182561925620256212562225623256242562525626256272562825629256302563125632256332563425635256362563725638256392564025641256422564325644256452564625647256482564925650256512565225653256542565525656256572565825659256602566125662256632566425665256662566725668256692567025671256722567325674256752567625677256782567925680256812568225683256842568525686256872568825689256902569125692256932569425695256962569725698256992570025701257022570325704257052570625707257082570925710257112571225713257142571525716257172571825719257202572125722257232572425725257262572725728257292573025731257322573325734257352573625737257382573925740257412574225743257442574525746257472574825749257502575125752257532575425755257562575725758257592576025761257622576325764257652576625767257682576925770257712577225773257742577525776257772577825779257802578125782257832578425785257862578725788257892579025791257922579325794257952579625797257982579925800258012580225803258042580525806258072580825809258102581125812258132581425815258162581725818258192582025821258222582325824258252582625827258282582925830258312583225833258342583525836258372583825839258402584125842258432584425845258462584725848258492585025851258522585325854258552585625857258582585925860258612586225863258642586525866258672586825869258702587125872258732587425875258762587725878258792588025881258822588325884258852588625887258882588925890258912589225893258942589525896258972589825899259002590125902259032590425905259062590725908259092591025911259122591325914259152591625917259182591925920259212592225923259242592525926259272592825929259302593125932259332593425935259362593725938259392594025941259422594325944259452594625947259482594925950259512595225953259542595525956259572595825959259602596125962259632596425965259662596725968259692597025971259722597325974259752597625977259782597925980259812598225983259842598525986259872598825989259902599125992259932599425995259962599725998259992600026001260022600326004260052600626007260082600926010260112601226013260142601526016260172601826019260202602126022260232602426025260262602726028260292603026031260322603326034260352603626037260382603926040260412604226043260442604526046260472604826049260502605126052260532605426055260562605726058260592606026061260622606326064260652606626067260682606926070260712607226073260742607526076260772607826079260802608126082260832608426085260862608726088260892609026091260922609326094260952609626097260982609926100261012610226103261042610526106261072610826109261102611126112261132611426115261162611726118261192612026121261222612326124261252612626127261282612926130261312613226133261342613526136261372613826139261402614126142261432614426145261462614726148261492615026151261522615326154261552615626157261582615926160261612616226163261642616526166261672616826169261702617126172261732617426175261762617726178261792618026181261822618326184261852618626187261882618926190261912619226193261942619526196261972619826199262002620126202262032620426205262062620726208262092621026211262122621326214262152621626217262182621926220262212622226223262242622526226262272622826229262302623126232262332623426235262362623726238262392624026241262422624326244262452624626247262482624926250262512625226253262542625526256262572625826259262602626126262262632626426265262662626726268262692627026271262722627326274262752627626277262782627926280262812628226283262842628526286262872628826289262902629126292262932629426295262962629726298262992630026301263022630326304263052630626307263082630926310263112631226313263142631526316263172631826319263202632126322263232632426325263262632726328263292633026331263322633326334263352633626337263382633926340263412634226343263442634526346263472634826349263502635126352263532635426355263562635726358263592636026361263622636326364263652636626367263682636926370263712637226373263742637526376263772637826379263802638126382263832638426385263862638726388263892639026391263922639326394263952639626397263982639926400264012640226403264042640526406264072640826409264102641126412264132641426415264162641726418264192642026421264222642326424264252642626427264282642926430264312643226433264342643526436264372643826439264402644126442264432644426445264462644726448264492645026451264522645326454264552645626457264582645926460264612646226463264642646526466264672646826469264702647126472264732647426475264762647726478264792648026481264822648326484264852648626487264882648926490264912649226493264942649526496264972649826499265002650126502265032650426505265062650726508265092651026511265122651326514265152651626517265182651926520265212652226523265242652526526265272652826529265302653126532265332653426535265362653726538265392654026541265422654326544265452654626547265482654926550265512655226553265542655526556265572655826559265602656126562265632656426565265662656726568265692657026571265722657326574265752657626577265782657926580265812658226583265842658526586265872658826589265902659126592265932659426595265962659726598265992660026601266022660326604266052660626607266082660926610266112661226613266142661526616266172661826619266202662126622266232662426625266262662726628266292663026631266322663326634266352663626637266382663926640266412664226643266442664526646266472664826649266502665126652266532665426655266562665726658266592666026661266622666326664266652666626667266682666926670266712667226673266742667526676266772667826679266802668126682266832668426685266862668726688266892669026691266922669326694266952669626697266982669926700267012670226703267042670526706267072670826709267102671126712267132671426715267162671726718267192672026721267222672326724267252672626727267282672926730267312673226733267342673526736267372673826739267402674126742267432674426745267462674726748267492675026751267522675326754267552675626757267582675926760267612676226763267642676526766267672676826769267702677126772267732677426775267762677726778267792678026781267822678326784267852678626787267882678926790267912679226793267942679526796267972679826799268002680126802268032680426805268062680726808268092681026811268122681326814268152681626817268182681926820268212682226823268242682526826268272682826829268302683126832268332683426835268362683726838268392684026841268422684326844268452684626847268482684926850268512685226853268542685526856268572685826859268602686126862268632686426865268662686726868268692687026871268722687326874268752687626877268782687926880268812688226883268842688526886268872688826889268902689126892268932689426895268962689726898268992690026901269022690326904269052690626907269082690926910269112691226913269142691526916269172691826919269202692126922269232692426925269262692726928269292693026931269322693326934269352693626937269382693926940269412694226943269442694526946269472694826949269502695126952269532695426955269562695726958269592696026961269622696326964269652696626967269682696926970269712697226973269742697526976269772697826979269802698126982269832698426985269862698726988269892699026991269922699326994269952699626997269982699927000270012700227003270042700527006270072700827009270102701127012270132701427015270162701727018270192702027021270222702327024
  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: integer
  3838. wrtradeorderstatus:
  3839. description: 委托状态 - 参考枚举'WRTradeOrderStatus' - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:部成 8:已成 9:部成部撤 10:成交失败 11:委托拒绝 12:经过摘牌(先摘后挂专用) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用) 17:冻结PD成功 18:冻结PD失败 19:冻结能量成功 20:冻结能量失败 21:预约已报价 22:过期未付 23:优惠券处理中 24:仓单生成失败 25:首付扣款失败 26:履约失败 27:撤单解冻贷款失败WRTrade_OrderDetail、
  3840. type: integer
  3841. zscategory:
  3842. description: 钻石分类 - 枚举”ZSCategory“
  3843. type: integer
  3844. zscategorydisplay:
  3845. type: string
  3846. zsclaritytype:
  3847. description: 净度 - 两个, 逗号分隔
  3848. type: string
  3849. zsclaritytypedisplay:
  3850. type: string
  3851. zscolortype:
  3852. description: 颜色 - 两个, 逗号分隔
  3853. type: string
  3854. zscolortypedisplay:
  3855. type: string
  3856. zscrystaltype:
  3857. description: 晶型 - 多个,逗号分隔
  3858. type: string
  3859. zscrystaltypedisplay:
  3860. type: string
  3861. zscurrencytype:
  3862. description: 货币类型 - 多个, 逗号分隔
  3863. type: string
  3864. zscurrencytypedisplay:
  3865. type: string
  3866. zscuttype:
  3867. description: 切工 - 两个, 逗号分隔
  3868. type: string
  3869. zscuttypedisplay:
  3870. type: string
  3871. zsczcolor1type:
  3872. description: 彩钻颜色1, 逗号分隔
  3873. type: string
  3874. zsczcolor1typedisplay:
  3875. type: string
  3876. zsczcolor2type:
  3877. description: 彩钻颜色2, 逗号分隔
  3878. type: string
  3879. zsczcolor2typedisplay:
  3880. type: string
  3881. zsczcolor3type:
  3882. description: 彩钻颜色3, 逗号分隔
  3883. type: string
  3884. zsczcolor3typedisplay:
  3885. type: string
  3886. zsfluorescencetype:
  3887. description: 荧光 - 多个, 逗号分隔
  3888. type: string
  3889. zsfluorescencetypedisplay:
  3890. type: string
  3891. zspolishtype:
  3892. description: 抛光度 - 两个, 逗号分隔
  3893. type: string
  3894. zspolishtypedisplay:
  3895. type: string
  3896. zsshapetype:
  3897. description: 形状 - 多个, 逗号分隔
  3898. type: string
  3899. zsshapetypedisplay:
  3900. type: string
  3901. zssize:
  3902. description: 尺寸 - 两个小数, 逗号分隔
  3903. type: string
  3904. zsstyletype:
  3905. description: 款式 - 多个, 逗号分隔
  3906. type: string
  3907. zsstyletypedisplay:
  3908. type: string
  3909. zssymmetrytype:
  3910. description: 对称度 - 两个, 逗号分隔
  3911. type: string
  3912. zssymmetrytypedisplay:
  3913. type: string
  3914. zstabledisplay:
  3915. description: 求购信息
  3916. type: string
  3917. type: object
  3918. models.DgFactoryItem:
  3919. properties:
  3920. dgfactoryitemid:
  3921. description: 选择项ID(SEQ_DGFACTORYITEM)
  3922. type: integer
  3923. dgfactoryitemtypeid:
  3924. description: 要素项类型
  3925. type: integer
  3926. dgfactoryitemvalue:
  3927. description: 要素项值(类型为仓库时填写仓库名称)
  3928. type: string
  3929. orderindex:
  3930. description: 顺序
  3931. type: integer
  3932. type: object
  3933. models.Division:
  3934. properties:
  3935. autoid:
  3936. description: 自增ID
  3937. type: integer
  3938. divisioncode:
  3939. description: 行政代码
  3940. type: string
  3941. divisionlevel:
  3942. description: 行政级别
  3943. type: string
  3944. divisionname:
  3945. description: 行政名称
  3946. type: string
  3947. modifierid:
  3948. description: 修改人
  3949. type: integer
  3950. modifytime:
  3951. description: 修改时间
  3952. type: string
  3953. parentcode:
  3954. description: 上级行政代码
  3955. type: string
  3956. pathname:
  3957. description: 路径名称
  3958. type: string
  3959. postcode:
  3960. description: 邮政编码
  3961. type: string
  3962. separablename:
  3963. description: 可拆分的全称
  3964. type: string
  3965. shortcode:
  3966. description: 地区简码
  3967. type: string
  3968. required:
  3969. - autoid
  3970. - divisioncode
  3971. type: object
  3972. models.Enumdicitem:
  3973. properties:
  3974. autoid:
  3975. description: 自增ID
  3976. type: integer
  3977. bankmappedvalue:
  3978. description: 银行服务对应值
  3979. type: string
  3980. enumdiccode:
  3981. description: 所属枚举代码
  3982. type: string
  3983. enumdicid:
  3984. description: 所属枚举ID
  3985. type: integer
  3986. enumdicname:
  3987. description: 枚举项名称
  3988. type: string
  3989. enumitemname:
  3990. description: 枚举项值
  3991. type: integer
  3992. enumitemstatus:
  3993. description: 枚举项状态 - 1.启用 2.不启用
  3994. type: integer
  3995. enumitemvalue:
  3996. description: 通用值 - [币种通用简写]
  3997. type: string
  3998. param1:
  3999. description: 参数1[币种:币种小数位]
  4000. type: string
  4001. param2:
  4002. description: 参数1[币种:币种显示单位]
  4003. type: string
  4004. remark:
  4005. description: 备注
  4006. type: string
  4007. required:
  4008. - autoid
  4009. - enumdiccode
  4010. - enumdicid
  4011. - enumitemname
  4012. type: object
  4013. models.Ermcp2AreaExposure:
  4014. properties:
  4015. areauserid:
  4016. description: 所属机构
  4017. type: integer
  4018. enumdicname:
  4019. description: 单位
  4020. type: string
  4021. futureqty:
  4022. description: 期货套期量
  4023. type: number
  4024. futureqtychange:
  4025. description: 期货变动量 = FutureQty - OriFutureQty
  4026. type: number
  4027. goodsunitid:
  4028. description: 单位ID
  4029. type: integer
  4030. hedgedspotexposure:
  4031. description: 被套期现货敞口量
  4032. type: number
  4033. hedgedspratio:
  4034. description: 套期期现比例 = 期货套期量/被套期现货敞口量
  4035. type: number
  4036. hedgedtotalexposourechange:
  4037. description: 被套期敞口变动量 = HedgedTotalExposure - OriHedgedTotalExposure
  4038. type: number
  4039. hedgedtotalexposure:
  4040. description: 套期敞口量 = 被套期现货敞口量+期货套期量
  4041. type: number
  4042. hedgeplanqty:
  4043. description: 套期计划量
  4044. type: number
  4045. hedgeplanqtychange:
  4046. description: 计划变动量 = HedgePlanQty - OriHedgePlanQty
  4047. type: number
  4048. hedgespotqty:
  4049. description: 被套期现货量
  4050. type: number
  4051. middlegoodsid:
  4052. description: 套保品种
  4053. type: integer
  4054. middlegoodsname:
  4055. description: 套保品种名称
  4056. type: string
  4057. orifutureqty:
  4058. description: 期初期货套期量
  4059. type: number
  4060. orihedgedspotexposure:
  4061. description: 期初被套期现货敞口量
  4062. type: number
  4063. orihedgedtotalexposure:
  4064. description: 期初套期敞口量
  4065. type: number
  4066. orihedgeplanqty:
  4067. description: 期初套期计划量
  4068. type: number
  4069. orihedgespotqty:
  4070. description: 期初被套期现货量
  4071. type: number
  4072. orispotexposure:
  4073. description: 期初现货敞口量
  4074. type: number
  4075. orispotqty:
  4076. description: 期初现货总量
  4077. type: number
  4078. oritotalexposure:
  4079. description: 期初总敞口量
  4080. type: number
  4081. spotexposure:
  4082. description: 现货敞口量
  4083. type: number
  4084. spotqty:
  4085. description: 现货总量
  4086. type: number
  4087. spotqtychange:
  4088. description: 现货变动量 = SpotQty - OriSpotQty
  4089. type: number
  4090. spratio:
  4091. description: 总期现比例 = 期货套期量/现货敞口量
  4092. type: number
  4093. totalexposure:
  4094. description: 总敞口量 = 现货敞口量 + 期货套期量
  4095. type: number
  4096. totalexposurechange:
  4097. description: 总敞口变动量 = TotalExposure - OriTotalExposure
  4098. type: number
  4099. updatetime:
  4100. description: 更新时间 --DATE
  4101. type: string
  4102. type: object
  4103. models.Ermcp2hedgeditem:
  4104. properties:
  4105. accountname:
  4106. description: 套期主体
  4107. type: string
  4108. applyid:
  4109. description: 申请人
  4110. type: integer
  4111. applysrc:
  4112. description: 申请来源 - 1:管理端 2:终端
  4113. type: integer
  4114. areauserid:
  4115. description: 企业ID
  4116. type: integer
  4117. auditid:
  4118. description: 审核人
  4119. type: integer
  4120. auditremark:
  4121. description: 审核备注
  4122. type: string
  4123. auditsrc:
  4124. description: 审核来源 - 1:管理端 2:终端
  4125. type: integer
  4126. audittime:
  4127. description: 审核时间
  4128. type: string
  4129. audittradedate:
  4130. description: 审核交易日(yyyyMMdd)
  4131. type: string
  4132. createtime:
  4133. description: 申请时间
  4134. type: string
  4135. curprice:
  4136. description: 当前市场价
  4137. type: number
  4138. curstock:
  4139. description: 期末库存量 = 采购总量 - 销售总量
  4140. type: number
  4141. deliverygoodsid:
  4142. description: 现货品种ID
  4143. type: integer
  4144. enddate:
  4145. description: 完成日期
  4146. type: string
  4147. endtradedate:
  4148. description: 完成交易日
  4149. type: string
  4150. enumdicname:
  4151. description: 单位
  4152. type: string
  4153. exeamount:
  4154. description: 执行市价总额
  4155. type: number
  4156. exeavgprice:
  4157. description: 执行市场均价= 执行市价总额 / 执行现货量
  4158. type: number
  4159. execontractamount:
  4160. description: 执行定价总额
  4161. type: number
  4162. exeqty:
  4163. description: 执行现货量
  4164. type: number
  4165. exerestamount:
  4166. description: 执行剩余市价总额【现货贸易】
  4167. type: number
  4168. futurefloatpl:
  4169. description: 期货浮动损益
  4170. type: number
  4171. futurehedgepl:
  4172. description: 期货实际损益
  4173. type: number
  4174. futurehedgeplchange:
  4175. description: 期货实际损益变动
  4176. type: number
  4177. futurepl:
  4178. description: 期货套期损益
  4179. type: number
  4180. futureplchange:
  4181. description: 期货套期损益变动
  4182. type: number
  4183. hedgeamount:
  4184. description: 套期市价总额
  4185. type: number
  4186. hedgecontractamount:
  4187. description: 套期定价总额 【定价采购合同】【现货贸易】
  4188. type: number
  4189. hedgeditemid:
  4190. description: 被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)
  4191. type: string
  4192. hedgeditemname:
  4193. description: 项目名称
  4194. type: string
  4195. hedgeditemnum:
  4196. description: 项目编号
  4197. type: string
  4198. hedgeditemstatus:
  4199. description: 项目状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4200. type: integer
  4201. hedgedtype:
  4202. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4203. type: integer
  4204. hedgeqty:
  4205. description: 套期现货量
  4206. type: number
  4207. hedgerate:
  4208. description: 套保比率
  4209. type: number
  4210. hedgerestamount:
  4211. description: 套期剩余市价总额【现货贸易】
  4212. type: number
  4213. hedgesumpl:
  4214. description: 套期汇总损益 = 期货汇总损益 + 现货汇总损益
  4215. type: number
  4216. middlegoodslist:
  4217. description: 套期商品列表
  4218. items:
  4219. $ref: '#/definitions/models.Ermcp2himiddlegoods'
  4220. type: array
  4221. oriavgprice:
  4222. description: 期初市场均价 = 套期市价总额 / 套期现货量
  4223. type: number
  4224. orifuturehedgepl:
  4225. description: 期初期货实际损益
  4226. type: number
  4227. orifuturepl:
  4228. description: 期初期货套期损益
  4229. type: number
  4230. orispothedgepl:
  4231. description: 期初现货实际损益
  4232. type: number
  4233. orispotpl:
  4234. description: 期初现货套期损益
  4235. type: number
  4236. planenddate:
  4237. description: 计划结束日期
  4238. type: string
  4239. planstartdate:
  4240. description: 计划开始日期
  4241. type: string
  4242. remark:
  4243. description: 备注
  4244. type: string
  4245. spotbookamount:
  4246. description: 现货账面总额
  4247. type: number
  4248. spotfloatpl:
  4249. description: 现货浮动损益 =(当前市场价 - 期初市场价)*未执行现货量 * 方向(销售计划 为 -1, 其它为1)
  4250. type: number
  4251. spothedgepl:
  4252. description: 现货套期损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)
  4253. type: number
  4254. spothedgeplchange:
  4255. description: 现货实际损益变动
  4256. type: number
  4257. spotpl:
  4258. description: 现货套期损益 = 现货实际损益 + 现货浮动损益
  4259. type: number
  4260. spotplchange:
  4261. description: 现货套期损益变动
  4262. type: number
  4263. spottradepl:
  4264. description: 现货贸易损益【现货贸易】= 执行合同定价总额 - 套期合同定价总额
  4265. type: number
  4266. sumobspl:
  4267. description: 汇总绝对损益【现货贸易】=现货贸易损益+增值税损益+期货套期损益
  4268. type: number
  4269. tradeuserid:
  4270. description: 交易用户ID
  4271. type: integer
  4272. unexeqty:
  4273. description: 未执行现货量 = 套期现货量 - 执行现货量
  4274. type: number
  4275. updatetime:
  4276. description: 更新时间
  4277. type: string
  4278. vatpl:
  4279. description: 增值税损益【现货贸易】= 现货贸易损益 * (增值税率 /(1+增值税率))
  4280. type: number
  4281. vatrate:
  4282. description: 增值税
  4283. type: number
  4284. wrstandardid:
  4285. description: 现货商品ID
  4286. type: integer
  4287. wrstandardname:
  4288. description: 商品名称
  4289. type: string
  4290. type: object
  4291. models.Ermcp2hedgeditemlink:
  4292. properties:
  4293. areauserid:
  4294. description: 企业ID
  4295. type: integer
  4296. createtime:
  4297. description: '[关联时间]创建时间'
  4298. type: string
  4299. customeruserid:
  4300. description: 对手方 【3:采购合同 4:销售合同】
  4301. type: integer
  4302. deliverygoodsid:
  4303. description: 现货品种ID
  4304. type: integer
  4305. enumdicname:
  4306. description: 单位
  4307. type: string
  4308. hedgeditemid:
  4309. description: 被套期项目ID
  4310. type: integer
  4311. hedgeditemlinkid:
  4312. description: 现货关联表ID(626+Unix秒时间戳(10位)+xxxxxx)
  4313. type: integer
  4314. hedgeditemnum:
  4315. description: 项目编号
  4316. type: string
  4317. hedgedtype:
  4318. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4319. type: integer
  4320. relatedamount:
  4321. description: 市价总额 = 关联数量 * 期初市场价
  4322. type: number
  4323. relatedhedgeplanid:
  4324. description: 关联计划ID 【1:采购计划 2:销售计划】
  4325. type: integer
  4326. relatedqty:
  4327. description: 关联数量
  4328. type: number
  4329. relatedspotcontractid:
  4330. description: 关联合同ID 【3:采购合同 4:销售合同】
  4331. type: integer
  4332. relatedtype:
  4333. description: 关联类型 - 1:套期关联 2:执行关联
  4334. type: integer
  4335. spotgoodsbrandid:
  4336. description: 现货品牌ID
  4337. type: integer
  4338. spotpricedamount:
  4339. description: '[关联定价总额]定价总额'
  4340. type: number
  4341. spotpricedavgprice:
  4342. description: '[关联现货均价]现货均价 = 定价总额 / 关联数量'
  4343. type: number
  4344. spottype:
  4345. description: 现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  4346. type: integer
  4347. tradeuserid:
  4348. description: 交易用户ID
  4349. type: integer
  4350. unexeqty:
  4351. description: 未执行现货量【项目关联时值】
  4352. type: number
  4353. wrstandardid:
  4354. description: 现货商品ID
  4355. type: integer
  4356. wrstandardname:
  4357. description: 现货商品
  4358. type: string
  4359. required:
  4360. - relatedspotcontractid
  4361. type: object
  4362. models.Ermcp2hedgeditemsDetail:
  4363. properties:
  4364. accountname:
  4365. description: 套期主体
  4366. type: string
  4367. areauserid:
  4368. description: 企业ID
  4369. type: integer
  4370. createtime:
  4371. description: '[日期时间]创建时间'
  4372. type: string
  4373. customeruserid:
  4374. description: 对手方 【3:采购合同 4:销售合同】
  4375. type: integer
  4376. deliverygoodsid:
  4377. description: 现货品种ID
  4378. type: integer
  4379. enumdicname:
  4380. description: 单位
  4381. type: string
  4382. hedgeditemid:
  4383. description: 被套期项目ID
  4384. type: string
  4385. hedgeditemspotid:
  4386. description: 现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)
  4387. type: string
  4388. hedgedtype:
  4389. description: 套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4390. type: integer
  4391. hedgeplanno:
  4392. description: 计划编号
  4393. type: string
  4394. middlegoodschange:
  4395. description: 套期商品变化量 = RELATEDQTY * 折算系数 * (1/(1+增值税))
  4396. type: number
  4397. oriavgprice:
  4398. description: 期初市场价[当初市场价]
  4399. type: number
  4400. relatedamount:
  4401. description: 市价总额 = 关联数量 * 期初市场价
  4402. type: number
  4403. relatedhedgeplanid:
  4404. description: 关联计划ID 【1:采购计划 2:销售计划】
  4405. type: integer
  4406. relatedqty:
  4407. description: '[期间变化量]关联数量'
  4408. type: number
  4409. relatedspotcontractid:
  4410. description: 关联合同ID 【3:采购合同 4:销售合同】
  4411. type: integer
  4412. relatedtype:
  4413. description: 关联类型 - 1:套期关联 2:执行关联
  4414. type: integer
  4415. spotgoodsbrandid:
  4416. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID" = 2
  4417. type: integer
  4418. spotpricedamount:
  4419. description: 定价总额
  4420. type: number
  4421. spotpricedavgprice:
  4422. description: 现货均价 = 定价总额 / 关联数量
  4423. type: number
  4424. spottype:
  4425. description: 现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  4426. type: integer
  4427. tradeuserid:
  4428. description: 交易用户ID
  4429. type: integer
  4430. unexeqty:
  4431. description: 未执行现货量 = 套期现货量 - 执行现货量
  4432. type: number
  4433. wrstandardid:
  4434. description: 现货商品ID
  4435. type: integer
  4436. wrstandardname:
  4437. description: 现货商品
  4438. type: string
  4439. type: object
  4440. models.Ermcp2hedgeditemspot:
  4441. properties:
  4442. areauserid:
  4443. description: 企业ID
  4444. type: integer
  4445. createtime:
  4446. description: 创建时间
  4447. type: string
  4448. customeruserid:
  4449. description: 对手方 【3:采购合同 4:销售合同】
  4450. type: integer
  4451. deliverygoodsid:
  4452. description: 现货品种ID
  4453. type: integer
  4454. enumdicname:
  4455. description: 单位
  4456. type: string
  4457. hedgeditemid:
  4458. description: 被套期项目ID
  4459. type: string
  4460. hedgeditemspotid:
  4461. description: 现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)
  4462. type: string
  4463. hedgedtype:
  4464. description: 套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4465. type: integer
  4466. hedgeplanno:
  4467. description: 计划编号
  4468. type: string
  4469. oriavgprice:
  4470. description: 期初市场价[当初市场价]
  4471. type: number
  4472. relatedamount:
  4473. description: 市价总额 = 关联数量 * 期初市场价
  4474. type: number
  4475. relatedhedgeplanid:
  4476. description: 关联计划ID 【1:采购计划 2:销售计划】
  4477. type: integer
  4478. relatedqty:
  4479. description: 关联数量[数量]
  4480. type: number
  4481. relatedspotcontractid:
  4482. description: 关联合同ID 【3:采购合同 4:销售合同】
  4483. type: integer
  4484. relatedtype:
  4485. description: 关联类型 - 1:套期关联 2:执行关联
  4486. type: integer
  4487. spotgoodsbrandid:
  4488. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID" = 2
  4489. type: integer
  4490. spotpricedamount:
  4491. description: 定价总额
  4492. type: number
  4493. spotpricedavgprice:
  4494. description: 现货均价 = 定价总额 / 关联数量
  4495. type: number
  4496. spottype:
  4497. description: 现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  4498. type: integer
  4499. tradeuserid:
  4500. description: 交易用户ID
  4501. type: integer
  4502. wrstandardid:
  4503. description: 现货商品ID
  4504. type: integer
  4505. wrstandardname:
  4506. description: 现货商品
  4507. type: string
  4508. required:
  4509. - hedgeditemid
  4510. type: object
  4511. models.Ermcp2hedgeditemspotDetail:
  4512. properties:
  4513. accountname:
  4514. description: 对手方
  4515. type: string
  4516. areauserid:
  4517. description: 企业ID
  4518. type: integer
  4519. brandname:
  4520. description: 品牌
  4521. type: string
  4522. contractno:
  4523. description: 合同编号
  4524. type: string
  4525. createtime:
  4526. description: 创建时间
  4527. type: string
  4528. customeruserid:
  4529. description: 对手方 【3:采购合同 4:销售合同】
  4530. type: integer
  4531. deliverygoodsid:
  4532. description: 现货品种ID
  4533. type: integer
  4534. enumdicname:
  4535. description: 单位
  4536. type: string
  4537. hedgeditemid:
  4538. description: 被套期项目ID
  4539. type: string
  4540. hedgeditemspotid:
  4541. description: 现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)
  4542. type: string
  4543. hedgedtype:
  4544. description: 套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4545. type: integer
  4546. oriavgprice:
  4547. description: 期初市场价[当初市场价]
  4548. type: number
  4549. relatedamount:
  4550. description: 市价总额 = 关联数量 * 期初市场价
  4551. type: number
  4552. relatedhedgeplanid:
  4553. description: 关联计划ID 【1:采购计划 2:销售计划】
  4554. type: integer
  4555. relatedqty:
  4556. description: 关联数量[数量]
  4557. type: number
  4558. relatedspotcontractid:
  4559. description: 关联合同ID 【3:采购合同 4:销售合同】
  4560. type: integer
  4561. relatedtype:
  4562. description: 关联类型 - 1:套期关联 2:执行关联
  4563. type: integer
  4564. spotgoodsbrandid:
  4565. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID" = 2
  4566. type: integer
  4567. spotpricedamount:
  4568. description: 定价总额[金额]
  4569. type: number
  4570. spotpricedavgprice:
  4571. description: 现货均价 = 定价总额 / 关联数量
  4572. type: number
  4573. spottype:
  4574. description: 现货类型[合同类型] - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  4575. type: integer
  4576. tradeuserid:
  4577. description: 交易用户ID
  4578. type: integer
  4579. wrstandardid:
  4580. description: 现货商品ID
  4581. type: integer
  4582. wrstandardname:
  4583. description: 现货商品
  4584. type: string
  4585. required:
  4586. - hedgeditemid
  4587. type: object
  4588. models.Ermcp2himiddlegoods:
  4589. properties:
  4590. futurehedgeqty:
  4591. description: 期货持仓套期量
  4592. type: number
  4593. hedgeditemid:
  4594. description: 被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)
  4595. type: integer
  4596. hiexpsoure:
  4597. description: 期现敞口量 = 未执行套期量 + 期货持仓套期量
  4598. type: number
  4599. middlegoodscode:
  4600. description: 套保商品代码
  4601. type: string
  4602. middlegoodsid:
  4603. description: 套保品种ID
  4604. type: integer
  4605. middlegoodsname:
  4606. description: 套保商品名称
  4607. type: string
  4608. unexehedgeqty:
  4609. description: 未执行套期量 = 未执行现货量*折算系数* (1/(1+增值税)) * 套期比例(项目上)
  4610. type: number
  4611. required:
  4612. - hedgeditemid
  4613. - middlegoodsid
  4614. type: object
  4615. models.Ermcp2stockspotchangelog:
  4616. properties:
  4617. accountname:
  4618. description: 套期主体
  4619. type: string
  4620. aftervalue:
  4621. description: 现货量
  4622. type: number
  4623. beforevalue:
  4624. description: 变更前现货量
  4625. type: number
  4626. contractno:
  4627. description: '[编号]现货合同编号'
  4628. type: string
  4629. contracttype:
  4630. description: 现货合同类型 - 1:采购 -1:销售
  4631. type: integer
  4632. createtime:
  4633. description: 创建时间
  4634. type: string
  4635. customerusername:
  4636. description: 对手方
  4637. type: string
  4638. deliverygoodsid:
  4639. description: 现货品种ID
  4640. type: integer
  4641. exetype:
  4642. description: 执行类型 - 1:采购合同 2:销售合同 3:生产入库 4:生产出库
  4643. type: integer
  4644. logid:
  4645. description: 流水ID(604+Unix秒时间戳(10位)+xxxxxx)
  4646. type: string
  4647. logvalue:
  4648. description: '[期间变化量]现货量变更值'
  4649. type: number
  4650. middlegoodschange:
  4651. description: 套期商品变化量 = LogValue * 折算系数 * (1/(1+增值税))
  4652. type: number
  4653. operatelogtype:
  4654. description: 操作流水类型 - 2:点价数量 21:正常完结(合同) 22:异常终止(合同) 24:采购入库 25:销售出库 26:生产入库
  4655. 27:生产出库
  4656. type: integer
  4657. relatedid:
  4658. description: 现货合同ID
  4659. type: integer
  4660. spotgoodsbrandid:
  4661. description: 现货品牌ID
  4662. type: integer
  4663. tradedate:
  4664. description: 交易日(yyyyMMdd)
  4665. type: string
  4666. userid:
  4667. description: 机构ID
  4668. type: integer
  4669. warehouseinfoid:
  4670. description: 仓库ID
  4671. type: integer
  4672. wrfactortypeid:
  4673. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  4674. type: integer
  4675. wrstandardid:
  4676. description: 现货商品ID
  4677. type: integer
  4678. wrstandardname:
  4679. description: 商品名称
  4680. type: string
  4681. type: object
  4682. models.Ermcp3AreaSpot:
  4683. properties:
  4684. areauserid:
  4685. description: 所属机构
  4686. type: integer
  4687. convertratio:
  4688. description: 套保系数
  4689. type: number
  4690. decreaseqty:
  4691. description: 减少数量=-(销售已定价数量+采购计划数量)
  4692. type: number
  4693. enumdicname:
  4694. description: 单位名称
  4695. type: string
  4696. increaseqty:
  4697. description: 增加数量=销售计划数量+采购已定价数量
  4698. type: number
  4699. oritoalspotqty:
  4700. description: 昨日数量
  4701. type: number
  4702. totalspotqty:
  4703. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  4704. type: number
  4705. unitid:
  4706. description: 现货商品单位id
  4707. type: integer
  4708. updatetime:
  4709. description: 更新时间
  4710. type: string
  4711. wrstandardcode:
  4712. description: 现货商品代码
  4713. type: string
  4714. wrstandardid:
  4715. description: 现货商品ID(SEQ_WRSTANDARD)
  4716. type: integer
  4717. wrstandardname:
  4718. description: 现货商品名称
  4719. type: string
  4720. type: object
  4721. models.Ermcp3AreaSpotDetail:
  4722. properties:
  4723. contracttype:
  4724. description: 合同类型 1-采购 -1-销售
  4725. type: integer
  4726. createtime:
  4727. description: 创建时间
  4728. type: string
  4729. enumdicname:
  4730. description: 现货商品单位名称
  4731. type: string
  4732. logtype:
  4733. description: 记录类型 1-套保 2-现货合同
  4734. type: integer
  4735. qty:
  4736. description: 数量
  4737. type: number
  4738. recordname:
  4739. description: 类型名称
  4740. type: string
  4741. relatedid:
  4742. description: 套保计划ID/现货合同ID
  4743. type: string
  4744. relatedno:
  4745. description: 编号
  4746. type: string
  4747. strtime:
  4748. description: 时间
  4749. type: string
  4750. wrstandardcode:
  4751. description: 现货商品代码
  4752. type: string
  4753. wrstandardid:
  4754. description: 现货商品ID(SEQ_WRSTANDARD)
  4755. type: integer
  4756. wrstandardname:
  4757. description: 现货商品名称
  4758. type: string
  4759. type: object
  4760. models.Ermcp3AreaSpotPLReport:
  4761. properties:
  4762. accountid:
  4763. description: 期货账户ID (作废, 默认为0)
  4764. type: integer
  4765. accountname:
  4766. description: 机构名称
  4767. type: string
  4768. actualpl:
  4769. description: 现货损益
  4770. type: number
  4771. areauserid:
  4772. description: 所属机构\交易用户ID
  4773. type: integer
  4774. begindate:
  4775. description: 开始交易日
  4776. type: string
  4777. biztype:
  4778. description: 业务类型 - 1:套保 2:套利
  4779. type: integer
  4780. brandname:
  4781. description: 品牌名称
  4782. type: string
  4783. curamount:
  4784. description: 期末额
  4785. type: number
  4786. curaverageprice:
  4787. description: 期初均价
  4788. type: number
  4789. curbuyamount:
  4790. description: 期末采购总额
  4791. type: number
  4792. curbuyqty:
  4793. description: 期末采购总量
  4794. type: number
  4795. curmarketvalue:
  4796. description: 期初均价
  4797. type: number
  4798. curqty:
  4799. description: 期末量
  4800. type: number
  4801. currencyid:
  4802. description: 结算币种ID【原值】
  4803. type: integer
  4804. currencyname:
  4805. description: 币种名称
  4806. type: string
  4807. cursellamount:
  4808. description: 期末销售总额
  4809. type: number
  4810. cursellqty:
  4811. description: 期末销售总量
  4812. type: number
  4813. curspotprice:
  4814. description: 期初均价
  4815. type: number
  4816. cycletime:
  4817. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4818. type: string
  4819. cycletype:
  4820. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4821. type: integer
  4822. deliverygoodscode:
  4823. description: 现货品种代码
  4824. type: string
  4825. deliverygoodsid:
  4826. description: 现货品种ID
  4827. type: integer
  4828. deliverygoodsname:
  4829. description: 现货品种名称
  4830. type: string
  4831. enddate:
  4832. description: 结束交易日
  4833. type: string
  4834. enumdicname:
  4835. description: 现货品种单位名称(作废)
  4836. type: string
  4837. floatpl:
  4838. description: 期初均价
  4839. type: number
  4840. goodsunitid:
  4841. description: 现货品种单位id(作废)
  4842. type: integer
  4843. oriamount:
  4844. description: 期初额
  4845. type: number
  4846. oriaverageprice:
  4847. description: 期初均价
  4848. type: number
  4849. oribuyamount:
  4850. description: 期初采购总额
  4851. type: number
  4852. oribuyqty:
  4853. description: 期初采购总量
  4854. type: number
  4855. oriqty:
  4856. description: 期初量
  4857. type: number
  4858. orisellamount:
  4859. description: 期初销售总额
  4860. type: number
  4861. orisellqty:
  4862. description: 期初销售总量
  4863. type: number
  4864. reckondate:
  4865. description: 日照时期(yyyyMMdd)
  4866. type: string
  4867. spotgoodsbrandid:
  4868. description: 现货品牌ID
  4869. type: integer
  4870. todaybuyamount:
  4871. description: 今日采购额(今采购额)
  4872. type: number
  4873. todaybuyaverageprice:
  4874. description: 期初均价
  4875. type: number
  4876. todaybuyqty:
  4877. description: 今日采购量(今采购量)
  4878. type: number
  4879. todayinqty:
  4880. description: 今日入库量(今入库量)
  4881. type: number
  4882. todayoutqty:
  4883. description: 今日出库量(今出库量)
  4884. type: number
  4885. todaysellamount:
  4886. description: 今日销售额(今销售额)
  4887. type: number
  4888. todaysellaverageprice:
  4889. description: 期初均价
  4890. type: number
  4891. todaysellqty:
  4892. description: 今日销售量(今销售量)
  4893. type: number
  4894. unitid:
  4895. description: 品类单位id
  4896. type: integer
  4897. unitidname:
  4898. description: 品类单位名称
  4899. type: string
  4900. updatetime:
  4901. description: 更新时间
  4902. type: string
  4903. wrfactortypeid:
  4904. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  4905. type: integer
  4906. wrstandardcode:
  4907. description: 现货商品(品类)代码
  4908. type: string
  4909. wrstandardid:
  4910. description: 现货品类ID
  4911. type: integer
  4912. wrstandardname:
  4913. description: 现货商品(品类)名称
  4914. type: string
  4915. type: object
  4916. models.Ermcp3AreaStock:
  4917. properties:
  4918. brandname:
  4919. description: 品牌名称
  4920. type: string
  4921. curstock:
  4922. description: 期末库存量(今日量)
  4923. type: number
  4924. deliverygoodscode:
  4925. description: 现货品种代码
  4926. type: string
  4927. deliverygoodsid:
  4928. description: 现货品种id
  4929. type: integer
  4930. deliverygoodsname:
  4931. description: 现货品种名称
  4932. type: string
  4933. enumdicname:
  4934. description: 单位名称
  4935. type: string
  4936. goodsunitid:
  4937. description: 现货商品单位id
  4938. type: integer
  4939. oristock:
  4940. description: 期初库存量(昨日量)
  4941. type: number
  4942. spotgoodsbrandid:
  4943. description: 现货品牌ID
  4944. type: integer
  4945. todaybuyinqty:
  4946. description: 今日采购入库量
  4947. type: number
  4948. todayproduceinqty:
  4949. description: 今日生产入库量
  4950. type: number
  4951. todayproduceoutqty:
  4952. description: 今日生产出库量
  4953. type: number
  4954. todayselloutqty:
  4955. description: 今日销售出库量
  4956. type: number
  4957. unitid:
  4958. description: 单位id
  4959. type: integer
  4960. updatetime:
  4961. description: 更新时间
  4962. type: string
  4963. userid:
  4964. description: 机构ID
  4965. type: integer
  4966. username:
  4967. description: 机构名称
  4968. type: string
  4969. warehousecode:
  4970. description: 仓库代码
  4971. type: string
  4972. warehouseinfoid:
  4973. description: 仓库ID
  4974. type: string
  4975. warehousename:
  4976. description: 仓库名称
  4977. type: string
  4978. warehousetype:
  4979. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4980. type: integer
  4981. wrstandardcode:
  4982. description: 品类代码
  4983. type: string
  4984. wrstandardid:
  4985. description: 品类ID
  4986. type: string
  4987. wrstandardname:
  4988. description: 品类名称
  4989. type: string
  4990. required:
  4991. - userid
  4992. type: object
  4993. models.Ermcp3AreaStockApply:
  4994. properties:
  4995. applyid:
  4996. description: 申请人
  4997. type: integer
  4998. applyname:
  4999. description: 申请人名称
  5000. type: string
  5001. applyremark:
  5002. description: 申请备注
  5003. type: string
  5004. applysrc:
  5005. description: 申请来源 - 1:管理端 2:终端
  5006. type: integer
  5007. applystatus:
  5008. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  5009. type: integer
  5010. applytime:
  5011. description: 申请时间
  5012. type: string
  5013. auditid:
  5014. description: 审核人
  5015. type: integer
  5016. auditname:
  5017. description: 审核人名称
  5018. type: string
  5019. auditremark:
  5020. description: 审核备注
  5021. type: string
  5022. auditsrc:
  5023. description: 审核来源 - 1:管理端 2:终端
  5024. type: integer
  5025. audittime:
  5026. description: 审核时间
  5027. type: string
  5028. audittradedate:
  5029. description: 审核交易日(yyyyMMdd)
  5030. type: string
  5031. brandname:
  5032. description: 品牌名称
  5033. type: string
  5034. buynickname:
  5035. description: 采购方昵称
  5036. type: string
  5037. buyuserid:
  5038. description: 采购方userid
  5039. type: integer
  5040. buyusername:
  5041. description: 采购方名称
  5042. type: string
  5043. contractno:
  5044. description: 合同编号
  5045. type: string
  5046. contractqty:
  5047. description: 合同量
  5048. type: number
  5049. contracttype:
  5050. description: 现货合同类型 - 1:采购 -1:销售
  5051. type: integer
  5052. deliverygoodscode:
  5053. description: 现货品种代码
  5054. type: string
  5055. deliverygoodsid:
  5056. description: 现货品种id
  5057. type: integer
  5058. deliverygoodsname:
  5059. description: 现货品种名称
  5060. type: string
  5061. detailjson:
  5062. description: 明细数据
  5063. type: string
  5064. enumdicname:
  5065. description: 现货商品单位名称
  5066. type: string
  5067. inoutapplyid:
  5068. description: 申请ID(607+Unix秒时间戳(10位)+xxxxxx)
  5069. type: string
  5070. inouttype:
  5071. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  5072. type: integer
  5073. pricetype:
  5074. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  5075. type: integer
  5076. qty:
  5077. description: 数量
  5078. type: number
  5079. sellnickname:
  5080. description: 销售方昵称
  5081. type: string
  5082. selluserid:
  5083. description: 销售方userid
  5084. type: integer
  5085. sellusername:
  5086. description: 销售方名称
  5087. type: string
  5088. spotcontractid:
  5089. description: 关联现货合同ID
  5090. type: string
  5091. spotgoodsbrandid:
  5092. description: 现货品牌ID
  5093. type: integer
  5094. unitid:
  5095. description: 单位id
  5096. type: integer
  5097. userid:
  5098. description: 机构ID
  5099. type: integer
  5100. warehousecode:
  5101. description: 仓库代码
  5102. type: string
  5103. warehouseinfoid:
  5104. description: 现货仓库ID
  5105. type: string
  5106. warehousename:
  5107. description: 仓库名称
  5108. type: string
  5109. warehousetype:
  5110. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  5111. type: integer
  5112. wrstandardcode:
  5113. description: 品类代码
  5114. type: string
  5115. wrstandardid:
  5116. description: 品类ID
  5117. type: integer
  5118. wrstandardname:
  5119. description: 品类名称
  5120. type: string
  5121. type: object
  5122. models.Ermcp3AreaStockApplySum:
  5123. properties:
  5124. brandname:
  5125. description: 品牌名称
  5126. type: string
  5127. inouttype:
  5128. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  5129. type: integer
  5130. spotcontractid:
  5131. description: 关联现货合同ID
  5132. type: string
  5133. spotgoodsbrandid:
  5134. description: 品牌id
  5135. type: integer
  5136. totalqty:
  5137. description: 总数量
  5138. type: number
  5139. wrstandardid:
  5140. description: 品类id
  5141. type: integer
  5142. wrstandardname:
  5143. description: 品类名称
  5144. type: string
  5145. type: object
  5146. models.Ermcp3AreaStockReportEx:
  5147. properties:
  5148. begindate:
  5149. description: 开始交易日
  5150. type: string
  5151. brandname:
  5152. description: 品牌名称
  5153. type: string
  5154. curstock:
  5155. description: 期末库存量
  5156. type: number
  5157. cycletime:
  5158. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5159. type: string
  5160. cycletype:
  5161. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5162. type: integer
  5163. deliverygoodscode:
  5164. description: 现货品种代码
  5165. type: string
  5166. deliverygoodsid:
  5167. description: 现货品种id
  5168. type: integer
  5169. deliverygoodsname:
  5170. description: 现货品种名称
  5171. type: string
  5172. diffqty:
  5173. description: 库存变化量 = 期末 - 期初
  5174. type: number
  5175. enddate:
  5176. description: 结束交易日
  5177. type: string
  5178. enumdicname:
  5179. description: 单位名称
  5180. type: string
  5181. goodsunitid:
  5182. description: 现货单位id
  5183. type: integer
  5184. oristock:
  5185. description: 期初库存量
  5186. type: number
  5187. reckondate:
  5188. description: 日照时期(yyyyMMdd)
  5189. type: string
  5190. spotgoodsbrandid:
  5191. description: 现货品牌ID
  5192. type: integer
  5193. todaybuyinqty:
  5194. description: 今采购入库量
  5195. type: number
  5196. todayproduceinqty:
  5197. description: 今内部入库量
  5198. type: number
  5199. todayproduceoutqty:
  5200. description: 今内部出库量
  5201. type: number
  5202. todayselloutqty:
  5203. description: 今销售出库量
  5204. type: number
  5205. unbuyinqty:
  5206. description: 采购未入库量(数据库未找到相关字段?)
  5207. type: number
  5208. unitid:
  5209. description: 品类单位id
  5210. type: integer
  5211. unselloutqty:
  5212. description: 销售未出库量(数据库未找到相关字段?)
  5213. type: number
  5214. updatetime:
  5215. description: 更新时间
  5216. type: string
  5217. userid:
  5218. description: 机构ID
  5219. type: integer
  5220. username:
  5221. description: 机构名称
  5222. type: string
  5223. warehousecode:
  5224. description: 仓库代码
  5225. type: string
  5226. warehouseinfoid:
  5227. description: 仓库ID
  5228. type: string
  5229. warehousename:
  5230. description: 仓库名称
  5231. type: string
  5232. warehousetype:
  5233. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  5234. type: integer
  5235. wrstandardcode:
  5236. description: 品类代码
  5237. type: string
  5238. wrstandardid:
  5239. description: 品类ID
  5240. type: integer
  5241. wrstandardname:
  5242. description: 品类名称
  5243. type: string
  5244. type: object
  5245. models.Ermcp3ArealSumPL:
  5246. properties:
  5247. accountname:
  5248. description: 机构名称
  5249. type: string
  5250. areauserid:
  5251. description: 所属机构\交易用户ID
  5252. type: integer
  5253. begindate:
  5254. description: 开始交易日
  5255. type: string
  5256. currencyid:
  5257. description: 结算币种ID
  5258. type: integer
  5259. currencyname:
  5260. description: 币种名称
  5261. type: string
  5262. cycletime:
  5263. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5264. type: string
  5265. cycletype:
  5266. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5267. type: integer
  5268. enddate:
  5269. description: 结束交易日
  5270. type: string
  5271. enumdicname:
  5272. description: 单位名称(套保品种)
  5273. type: string
  5274. futureactualpl:
  5275. description: 期货损益
  5276. type: number
  5277. futurefloatpl:
  5278. description: 期货浮动损益
  5279. type: number
  5280. futurespotratio:
  5281. description: 期现比例 = 期货头寸总量 / 现货头寸总量
  5282. type: number
  5283. goodsunitid:
  5284. description: 套保品种单位id
  5285. type: integer
  5286. hedgeexposurepl:
  5287. description: 套保敞口损益
  5288. type: number
  5289. middlegoodscode:
  5290. description: 套保品种代码
  5291. type: string
  5292. middlegoodsid:
  5293. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  5294. type: integer
  5295. middlegoodsname:
  5296. description: 套保品种名称
  5297. type: string
  5298. reckondate:
  5299. description: 日照时期(yyyyMMdd)
  5300. type: string
  5301. spotactualpl:
  5302. description: 现货损益
  5303. type: number
  5304. spotfloatpl:
  5305. description: 现货浮动损益
  5306. type: number
  5307. sumactualpl:
  5308. description: 实际损益 = (ActualPL + FutureActualPL)
  5309. type: number
  5310. sumpl:
  5311. description: 总敞口损益 | 汇总损益
  5312. type: number
  5313. totalfutureqty:
  5314. description: 期货头寸总量
  5315. type: number
  5316. totalneedhedgeqty:
  5317. description: 应套保总量
  5318. type: number
  5319. totalspotqty:
  5320. description: 现货头寸总量
  5321. type: number
  5322. updatetime:
  5323. description: 更新时间
  5324. type: string
  5325. type: object
  5326. models.Ermcp3Brand:
  5327. properties:
  5328. areauserid:
  5329. description: 用户id
  5330. type: integer
  5331. brandid:
  5332. description: 品牌id
  5333. type: integer
  5334. brandname:
  5335. description: 品牌名称
  5336. type: string
  5337. deliverygoodsid:
  5338. description: 品种ID
  5339. type: integer
  5340. isvalid:
  5341. description: 是否有效
  5342. type: integer
  5343. type: object
  5344. models.Ermcp3Contract:
  5345. properties:
  5346. accountid:
  5347. description: 期货账户id
  5348. type: string
  5349. amount:
  5350. description: 金额 [1:一口价、3:暂定价]
  5351. type: number
  5352. attachment:
  5353. description: 附件
  5354. type: string
  5355. auditremark:
  5356. description: 审核意见
  5357. type: string
  5358. audittime:
  5359. description: 审核时间
  5360. type: string
  5361. biztype:
  5362. description: 业务类型 1-套保 2-套利
  5363. type: integer
  5364. brandname:
  5365. description: 品牌名称
  5366. type: string
  5367. buynickname:
  5368. description: 销售方昵称
  5369. type: string
  5370. buyuserid:
  5371. description: 采购方ID
  5372. type: integer
  5373. buyusername:
  5374. description: 采购方名称
  5375. type: string
  5376. contracctstatus:
  5377. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5378. type: integer
  5379. contractmargin:
  5380. description: 合同保证金
  5381. type: number
  5382. contractno:
  5383. description: 现货合同编号
  5384. type: string
  5385. contracttype:
  5386. description: 现货合同类型 - 1:采购 -1:销售
  5387. type: integer
  5388. convertfactor:
  5389. description: 标仓系数(品类)
  5390. type: number
  5391. createtime:
  5392. description: 创建时间
  5393. type: string
  5394. currencyid:
  5395. description: 币种id
  5396. type: integer
  5397. currencyname:
  5398. description: 币种名称
  5399. type: string
  5400. deliveryenddate:
  5401. description: 交收期(结束)
  5402. type: string
  5403. deliverygoodscode:
  5404. description: 现货品种代码
  5405. type: string
  5406. deliverygoodsid:
  5407. description: 现货品种ID
  5408. type: integer
  5409. deliverygoodsname:
  5410. description: 现货品种名称
  5411. type: string
  5412. deliverystartdate:
  5413. description: 交收期(开始)
  5414. type: string
  5415. enddate:
  5416. description: 点价结束日期 [2:点价 3:暂定价]
  5417. type: string
  5418. enumdicname:
  5419. description: 单位名称
  5420. type: string
  5421. goodscode:
  5422. description: 点价合约代码
  5423. type: string
  5424. goodsid:
  5425. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  5426. type: integer
  5427. goodsname:
  5428. description: 点价商品名称
  5429. type: string
  5430. margin:
  5431. description: 当前保证金
  5432. type: number
  5433. meruserid:
  5434. description: 跟单员id
  5435. type: integer
  5436. meruserlogincode:
  5437. description: 跟单员登录代码
  5438. type: string
  5439. merusername:
  5440. description: 跟单员名称
  5441. type: string
  5442. pointdesc:
  5443. description: 点价备注
  5444. type: string
  5445. price:
  5446. description: 价格\暂定价 [1:一口价、3:暂定价]
  5447. type: number
  5448. pricemove:
  5449. description: 升贴水 [2:点价 3:暂定价]
  5450. type: number
  5451. pricetype:
  5452. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  5453. type: integer
  5454. producttype:
  5455. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  5456. type: integer
  5457. qty:
  5458. description: 数量
  5459. type: number
  5460. remark:
  5461. description: 备注
  5462. type: string
  5463. saleuserid:
  5464. description: 业务员id
  5465. type: integer
  5466. saleuserlogincode:
  5467. description: 业务员登录代码
  5468. type: string
  5469. saleusername:
  5470. description: 业务员名称
  5471. type: string
  5472. sellnickname:
  5473. description: 采购方昵称
  5474. type: string
  5475. selluserid:
  5476. description: 销售方ID
  5477. type: integer
  5478. sellusername:
  5479. description: 销售方名称
  5480. type: string
  5481. spotcontractid:
  5482. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  5483. type: string
  5484. spotgoodsbrandid:
  5485. description: 现货品牌ID(DGFactoryItem表的ID)
  5486. type: integer
  5487. spotgoodsdesc:
  5488. description: 商品型号
  5489. type: string
  5490. startdate:
  5491. description: 点价开始日期 [2:点价 3:暂定价]
  5492. type: string
  5493. subjectid:
  5494. description: 交易主体ID
  5495. type: integer
  5496. subjectname:
  5497. description: 交易主体名称
  5498. type: string
  5499. tradeuserid:
  5500. description: 交易员id
  5501. type: integer
  5502. tradeuserlogincode:
  5503. description: 交易员登录代码
  5504. type: string
  5505. tradeusername:
  5506. description: 交易员名称
  5507. type: string
  5508. unitid:
  5509. description: 单位id(取品类上的单位id)
  5510. type: integer
  5511. updatetime:
  5512. description: 更新时间
  5513. type: string
  5514. userid:
  5515. description: 所属机构ID
  5516. type: integer
  5517. vatrate:
  5518. description: 增值税率
  5519. type: number
  5520. wrstandardcode:
  5521. description: 品类代码
  5522. type: string
  5523. wrstandardid:
  5524. description: 品类ID
  5525. type: integer
  5526. wrstandardname:
  5527. description: 品类名称
  5528. type: string
  5529. type: object
  5530. models.Ermcp3ContractMiddleGoodsCfg:
  5531. properties:
  5532. agreeunit:
  5533. description: 合约乘数
  5534. type: number
  5535. convertratio:
  5536. description: 期货品种系数
  5537. type: number
  5538. covertqty:
  5539. description: 折算手数 =【待点价量 / (合约乘数*期货品种系数) 】
  5540. type: integer
  5541. middlegoodsid:
  5542. description: 套保品种ID
  5543. type: integer
  5544. middlegoodspricedqty3:
  5545. description: 已定价量(套保品种应套保量) = MiddleGoodsPricedQty2 * 套保比率
  5546. example: "0"
  5547. type: string
  5548. pendingpricedqty:
  5549. description: 待点价量
  5550. example: "0"
  5551. type: string
  5552. relatedmiddlegoodsqty:
  5553. description: 已关联量(套保品种-期货)
  5554. example: "0"
  5555. type: string
  5556. spotcontractid:
  5557. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  5558. type: string
  5559. type: object
  5560. models.Ermcp3ExposureContractDetail:
  5561. properties:
  5562. biztype:
  5563. description: 业务类型 1-套保 2-套利
  5564. type: integer
  5565. brandname:
  5566. description: 品牌名称
  5567. type: string
  5568. buyuserid:
  5569. description: 采购方id
  5570. type: integer
  5571. buyusername:
  5572. description: 采购方名称
  5573. type: string
  5574. contractno:
  5575. description: 合同编号
  5576. type: string
  5577. contracttype:
  5578. description: 现货合同类型 - 1:采购 -1:销售
  5579. type: integer
  5580. convertfactor:
  5581. description: 标仓系数
  5582. type: number
  5583. convertratio:
  5584. description: 折算系数(套保品种)
  5585. type: number
  5586. curqty:
  5587. description: 今定价量
  5588. type: number
  5589. deliverygoodscode:
  5590. description: 现货品种代码
  5591. type: string
  5592. deliverygoodsid:
  5593. description: 现货品种id
  5594. type: integer
  5595. deliverygoodsname:
  5596. description: 现货品种名称
  5597. type: string
  5598. diffhedgeqty:
  5599. description: 套保变动量
  5600. type: number
  5601. diffneedhedgeqty:
  5602. description: 应套保变动量
  5603. type: number
  5604. diffqty:
  5605. description: 套保品种今变动量
  5606. type: number
  5607. enumdicname:
  5608. description: 单位名称
  5609. type: string
  5610. mgunitname:
  5611. description: 套保品种单位名称
  5612. type: string
  5613. middlegoodscode:
  5614. description: 套保品种代码
  5615. type: string
  5616. middlegoodsid:
  5617. description: 套保品种id
  5618. type: integer
  5619. middlegoodsname:
  5620. description: 套保品种名称
  5621. type: string
  5622. needarbitrageratio:
  5623. description: 应套利比例
  5624. type: number
  5625. needhedgeratio:
  5626. description: 应套保比例
  5627. type: number
  5628. pricedqty:
  5629. description: 已定价量
  5630. type: number
  5631. qty:
  5632. description: 合同量
  5633. type: number
  5634. reckondate:
  5635. description: 交易日(reckondate)
  5636. type: string
  5637. selluserid:
  5638. description: 销售方id
  5639. type: integer
  5640. sellusername:
  5641. description: 销售方名称
  5642. type: string
  5643. spotcontractid:
  5644. description: 合同id
  5645. type: string
  5646. todaypricedqty:
  5647. description: 今定价量
  5648. type: number
  5649. tradedate:
  5650. description: 交易日
  5651. type: string
  5652. unitid:
  5653. description: 品类单位id
  5654. type: integer
  5655. userid:
  5656. description: 机构id
  5657. type: integer
  5658. username:
  5659. description: 交易用户
  5660. type: string
  5661. wrstandardcode:
  5662. description: 现货商品代码
  5663. type: string
  5664. wrstandardid:
  5665. description: 现货商品id
  5666. type: integer
  5667. wrstandardname:
  5668. description: 现货商品名称
  5669. type: string
  5670. type: object
  5671. models.Ermcp3ExposureDetail:
  5672. properties:
  5673. areauserid:
  5674. description: 机构ID
  5675. type: integer
  5676. changeQty:
  5677. description: 套保变动量
  5678. type: number
  5679. contracttype:
  5680. description: 现货合同类型 - 1:采购 -1:销售
  5681. type: integer
  5682. convertfactor:
  5683. description: 标仓系数
  5684. type: number
  5685. convertratio:
  5686. description: 折算系数
  5687. type: number
  5688. createtime:
  5689. description: 时间
  5690. type: string
  5691. enumdicname:
  5692. description: 现货商品单位名称
  5693. type: string
  5694. logtype:
  5695. description: 类型 - 1:套保计划 2:现货合同
  5696. type: integer
  5697. mgunitid:
  5698. description: 套保品种单位id
  5699. type: integer
  5700. mgunitidname:
  5701. description: 套保品种单位名称
  5702. type: string
  5703. middlegoodsId:
  5704. description: 套保商品id
  5705. type: integer
  5706. middlegoodscode:
  5707. description: 套保商品代码
  5708. type: string
  5709. middlegoodsname:
  5710. description: 套保商品名称
  5711. type: string
  5712. qty:
  5713. description: 数量
  5714. type: number
  5715. relateNo:
  5716. description: 现货合同/套保计划编号
  5717. type: string
  5718. unitid:
  5719. description: 现货商品单位id
  5720. type: integer
  5721. wrstandardcode:
  5722. description: 现货商品代码
  5723. type: string
  5724. wrstandardid:
  5725. description: 现货商品ID(SEQ_WRSTANDARD)
  5726. type: integer
  5727. wrstandardname:
  5728. description: 现货商品名称
  5729. type: string
  5730. type: object
  5731. models.Ermcp3ExposureFutuDetail:
  5732. properties:
  5733. accountid:
  5734. description: 交易账户id
  5735. type: integer
  5736. accountname:
  5737. description: 交易账户
  5738. type: string
  5739. begindate:
  5740. description: 开始交易日
  5741. type: string
  5742. buyorsell:
  5743. description: 方向 0-买 1-卖
  5744. type: integer
  5745. diffmgqty:
  5746. description: 套保品种今变化量
  5747. type: number
  5748. diffneedqty:
  5749. description: 应套保总量变化量
  5750. type: number
  5751. difftradeqty:
  5752. description: 交易品种今变化量
  5753. type: number
  5754. enddate:
  5755. description: 结束交易日
  5756. type: string
  5757. enumdicname:
  5758. description: 单位名称
  5759. type: string
  5760. goodscode:
  5761. description: 商品代码
  5762. type: string
  5763. goodsid:
  5764. description: 商品id
  5765. type: integer
  5766. goodsname:
  5767. description: 商品名称
  5768. type: string
  5769. holdqty:
  5770. description: 期末持仓量
  5771. type: number
  5772. middlegoodscode:
  5773. description: 套保商品代码
  5774. type: string
  5775. middlegoodsid:
  5776. description: 套保商品id
  5777. type: integer
  5778. middlegoodsname:
  5779. description: 套保商品名称
  5780. type: string
  5781. oriholdqty:
  5782. description: 期初持仓量
  5783. type: number
  5784. reckondate:
  5785. description: 交易日(RECKONDATE)
  5786. type: string
  5787. todaycloseqty:
  5788. description: 今平仓量
  5789. type: number
  5790. todayopenqty:
  5791. description: 今开仓量
  5792. type: number
  5793. tradedate:
  5794. description: 交易日(RECKONDATE)
  5795. type: string
  5796. username:
  5797. description: 用户名称(交易用户)
  5798. type: string
  5799. type: object
  5800. models.Ermcp3ExposureHedgeplanDetail:
  5801. properties:
  5802. biztype:
  5803. description: 业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利
  5804. type: integer
  5805. changqty:
  5806. description: 应套保总量变化量
  5807. type: number
  5808. contracttype:
  5809. description: 计划类型 - 1:采购 -1:销售
  5810. type: integer
  5811. convertratio:
  5812. description: 折算系数(套保品种)
  5813. type: number
  5814. deliverygoodscode:
  5815. description: 现货商品代码
  5816. type: string
  5817. deliverygoodsid:
  5818. description: 现货商品id
  5819. type: integer
  5820. deliverygoodsname:
  5821. description: 现货商吕名称
  5822. type: string
  5823. dgunitid:
  5824. description: 现货商品单位id
  5825. type: integer
  5826. dgunitidname:
  5827. description: 单位名称(现货商品)
  5828. type: string
  5829. diffqty:
  5830. description: 套保品种今变动量
  5831. type: number
  5832. enumdicname:
  5833. description: 单位名称(品类)
  5834. type: string
  5835. hedgeplanid:
  5836. description: 套保计划id
  5837. type: string
  5838. hedgeplanno:
  5839. description: 套保计划名称
  5840. type: string
  5841. hedgeplanstatus:
  5842. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5843. type: integer
  5844. mgunitidname:
  5845. description: 单位名称(套保商品)
  5846. type: string
  5847. middlegoodscode:
  5848. description: 套保品种代码
  5849. type: string
  5850. middlegoodsid:
  5851. description: 套保品种id
  5852. type: integer
  5853. middlegoodsname:
  5854. description: 套保品种名称
  5855. type: string
  5856. needarbitrageratio:
  5857. description: 应套利比例
  5858. type: number
  5859. needhedgeratio:
  5860. description: 应套保比例
  5861. type: number
  5862. pricedqty:
  5863. description: 已定价量
  5864. type: number
  5865. qty:
  5866. description: 合同量
  5867. type: number
  5868. reckondate:
  5869. description: 交易日(reckondate)
  5870. type: string
  5871. tradedate:
  5872. description: 交易日(登记日)
  5873. type: string
  5874. unitid:
  5875. description: 品类单位id
  5876. type: integer
  5877. userid:
  5878. description: 机构id
  5879. type: integer
  5880. wrstandardcode:
  5881. description: 品类代码
  5882. type: string
  5883. wrstandardid:
  5884. description: 品类id
  5885. type: integer
  5886. wrstandardname:
  5887. description: 品类名称
  5888. type: string
  5889. type: object
  5890. models.Ermcp3ExposureParamChLog:
  5891. properties:
  5892. accountid:
  5893. description: 期货账户ID (作废, 默认为0)
  5894. type: integer
  5895. aftervalue:
  5896. description: 应套保\套利量变更后(调整后应套保总量)
  5897. type: number
  5898. areauserid:
  5899. description: 所属机构\交易用户ID
  5900. type: integer
  5901. beforevalue:
  5902. description: 应套保\套利量变更前(调整前应套保总量)
  5903. type: number
  5904. begindate:
  5905. description: 开始交易日
  5906. type: string
  5907. changelogtype:
  5908. description: 变更流水类型 - 1:套保比率变更 2:套利比率变更
  5909. type: integer
  5910. curvalue:
  5911. description: 当前套保\套利量(套保总量|套利总量)
  5912. type: number
  5913. diffvalue:
  5914. description: 应套保总量变化量
  5915. type: number
  5916. enddate:
  5917. description: 结束交易日
  5918. type: string
  5919. logdatetime:
  5920. description: 流水日期
  5921. type: string
  5922. logid:
  5923. description: 流水ID(609+Unix秒时间戳(10位)+xxxxxx)
  5924. type: string
  5925. middlegoodscode:
  5926. description: 套保品种代码
  5927. type: string
  5928. middlegoodsid:
  5929. description: 套保品种
  5930. type: integer
  5931. middlegoodsname:
  5932. description: 套保品种名称
  5933. type: string
  5934. paramaftervalue:
  5935. description: 参数变更后(调整后参数值)
  5936. type: number
  5937. parambeforevalue:
  5938. description: 参数变更前(调整前参数值)
  5939. type: number
  5940. reckondate:
  5941. description: 交易日(reckondate)
  5942. type: string
  5943. tradedate:
  5944. description: 交易日(yyyyMMdd)
  5945. type: string
  5946. type: object
  5947. models.Ermcp3ExpourseReport:
  5948. properties:
  5949. accountid:
  5950. description: 期货账户ID (作废, 默认为0)
  5951. type: integer
  5952. accountname:
  5953. description: 机构名称
  5954. type: string
  5955. arbitrageqty:
  5956. description: 套利量
  5957. type: number
  5958. areauserid:
  5959. description: 所属机构\交易用户ID
  5960. type: integer
  5961. begindate:
  5962. description: 开始交易日
  5963. type: string
  5964. buyfutureqty:
  5965. description: 买入期货数量
  5966. type: number
  5967. buyplanqty:
  5968. description: 采购计划数量
  5969. type: number
  5970. buypricedqty:
  5971. description: 采购合同已定价数量
  5972. type: number
  5973. cycletime:
  5974. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5975. type: string
  5976. cycletype:
  5977. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5978. type: integer
  5979. diffexposure:
  5980. description: 变动量(套保敞口)
  5981. type: number
  5982. difffutuqty:
  5983. description: 变动量(期货)
  5984. type: number
  5985. diffhedgeqty:
  5986. description: 变动量(现货应套保总量)
  5987. type: number
  5988. diffmgqtya:
  5989. description: 套保变动量
  5990. type: number
  5991. diffmgqtyb:
  5992. description: 套利变动量
  5993. type: number
  5994. diffneedqty:
  5995. description: 应套变动量 = 应套保量 - 期初应套保量 + 应套利量 - 期初应套利量
  5996. type: number
  5997. diffqty:
  5998. description: 变动量(总敞口)
  5999. type: number
  6000. diffspotqty:
  6001. description: 变动量(现货) | 除税变动量
  6002. type: number
  6003. enddate:
  6004. description: 结束交易日
  6005. type: string
  6006. enumdicname:
  6007. description: 单位名称
  6008. type: string
  6009. hedgeqty:
  6010. description: 套保量
  6011. type: number
  6012. mgneedhedgeratio:
  6013. description: 套保比例(套保品的)
  6014. type: number
  6015. middlegoodsid:
  6016. description: 套保品种ID
  6017. type: integer
  6018. middlegoodsname:
  6019. description: 套保商品名称
  6020. type: string
  6021. middlgoodscode:
  6022. description: 套保商品代码
  6023. type: string
  6024. needarbitrageqty:
  6025. description: 应套利量
  6026. type: number
  6027. needarbitrageratio:
  6028. description: 套利比例(套保品的)
  6029. type: number
  6030. needhedgeexposoure:
  6031. description: 应套保敞口(套保敞口)
  6032. type: number
  6033. needhedgeqty:
  6034. description: 应套保量
  6035. type: number
  6036. needhedgeratio:
  6037. description: 应套保敞口比例
  6038. type: number
  6039. needqty:
  6040. description: 应套总量 = 应套保量 + 应套利量
  6041. type: number
  6042. oriarbitrageqty:
  6043. description: 期初套利量
  6044. type: number
  6045. oribuyfutureqty:
  6046. description: 期初买入期货数量
  6047. type: number
  6048. oribuyplanqty:
  6049. description: 期初采购计划数量
  6050. type: number
  6051. oribuypricedqty:
  6052. description: 期初采购合同已定价数量
  6053. type: number
  6054. orihedgeqty:
  6055. description: 期初套保量
  6056. type: number
  6057. orineedarbitrageqty:
  6058. description: 期初应套利量
  6059. type: number
  6060. orineedhedgeexposoure:
  6061. description: 期初应套保敞口
  6062. type: number
  6063. orineedhedgeqty:
  6064. description: 期初应套保量
  6065. type: number
  6066. orisellfutureqty:
  6067. description: 期初卖出期货数量
  6068. type: number
  6069. orisellplanqty:
  6070. description: 期初销售计划数量
  6071. type: number
  6072. orisellpricedqty:
  6073. description: 期初销售合同已定价数量
  6074. type: number
  6075. oritotalexposure:
  6076. description: 期初实时总敞口
  6077. type: number
  6078. oritotalfutureqty:
  6079. description: 期初期货头寸总量
  6080. type: number
  6081. oritotalneedhedgeqty:
  6082. description: 期初应套保总量
  6083. type: number
  6084. oritotalspotqty:
  6085. description: 期初现货头寸总量
  6086. type: number
  6087. reckondate:
  6088. description: 日照时期(yyyyMMdd)
  6089. type: string
  6090. sellfutureqty:
  6091. description: 卖出期货数量
  6092. type: number
  6093. sellplanqty:
  6094. description: 销售计划数量
  6095. type: number
  6096. sellpricedqty:
  6097. description: 销售合同已定价数量
  6098. type: number
  6099. totalexposure:
  6100. description: 实时总敞口(总敞口)
  6101. type: number
  6102. totalfutureqty:
  6103. description: 期货头寸总量(期货总量)
  6104. type: number
  6105. totalhedgeratio:
  6106. description: 敞口比例
  6107. type: number
  6108. totalneedhedgeqty:
  6109. description: 应套保总量(现货应套保总量)
  6110. type: number
  6111. totalspotqty:
  6112. description: 现货头寸总量 | 除税总量
  6113. type: number
  6114. unitid:
  6115. description: 单位id
  6116. type: integer
  6117. updatetime:
  6118. description: 更新时间
  6119. type: string
  6120. type: object
  6121. models.Ermcp3FinanceReport:
  6122. properties:
  6123. accountname:
  6124. description: 机构名称
  6125. type: string
  6126. areauserid:
  6127. description: 所属机构\交易用户ID
  6128. type: integer
  6129. begindate:
  6130. description: 开始交易日
  6131. type: string
  6132. biztype:
  6133. description: 业务类型 - 1:套保 2:套利
  6134. type: integer
  6135. brandname:
  6136. description: 品牌名称
  6137. type: string
  6138. buypreinvoicedamount:
  6139. description: 采购预收票额(预收票额)
  6140. type: number
  6141. buyprepaidamount:
  6142. description: 采购预付款额(预付货款额)
  6143. type: number
  6144. buytodayinvoiceamount:
  6145. description: 采购今收票额(今收票额)
  6146. type: number
  6147. buytodayrefundamount:
  6148. description: 采购今收退款额(今收退款额)
  6149. type: number
  6150. buytodaysettleamount:
  6151. description: 采购今付款额(今付货款额)
  6152. type: number
  6153. buyuninvoicedamount:
  6154. description: 采购应收票额(应收票额)
  6155. type: number
  6156. buyunpaidamount:
  6157. description: 采购应付款额(应付货款额)
  6158. type: number
  6159. currencyid:
  6160. description: 结算币种ID
  6161. type: integer
  6162. currencyname:
  6163. description: 币种名称
  6164. type: string
  6165. cycletime:
  6166. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  6167. type: string
  6168. cycletype:
  6169. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  6170. type: integer
  6171. deliverygoodscode:
  6172. description: 现货品种代码
  6173. type: string
  6174. deliverygoodsid:
  6175. description: 现货品种ID
  6176. type: integer
  6177. deliverygoodsname:
  6178. description: 现货品种名称
  6179. type: string
  6180. enddate:
  6181. description: 结束交易日
  6182. type: string
  6183. reckondate:
  6184. description: 日照时期(yyyyMMdd)
  6185. type: string
  6186. sellpreinvoicedamount:
  6187. description: 销售预开票额(预开票额)
  6188. type: number
  6189. sellprepaidamount:
  6190. description: 销售预收款额(预收货款额)
  6191. type: number
  6192. selltodayinvoiceamount:
  6193. description: 销售今开票额(今开票额)
  6194. type: number
  6195. selltodayrefundamount:
  6196. description: 销售今付退款额(今付退款额)
  6197. type: number
  6198. selltodaysettleamount:
  6199. description: 销售今收款额(今收货款额)
  6200. type: number
  6201. selluninvoicedamount:
  6202. description: 销售应开票额(应开票额)
  6203. type: number
  6204. sellunpaidamount:
  6205. description: 销售应收款额(应收货款额)
  6206. type: number
  6207. spotgoodsbrandid:
  6208. description: 现货品牌ID
  6209. type: integer
  6210. todaypaysum:
  6211. description: 今付款合计
  6212. type: number
  6213. todayreceivesum:
  6214. description: 今收款合计
  6215. type: number
  6216. updatetime:
  6217. description: 更新时间
  6218. type: string
  6219. wrfactortypeid:
  6220. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  6221. type: integer
  6222. wrstandardcode:
  6223. description: 品类代码
  6224. type: string
  6225. wrstandardid:
  6226. description: 现货商品ID
  6227. type: integer
  6228. wrstandardname:
  6229. description: 品类名称
  6230. type: string
  6231. type: object
  6232. models.Ermcp3GoodsGroup:
  6233. properties:
  6234. agreeunit:
  6235. description: 合约单位
  6236. type: number
  6237. areauserid:
  6238. description: 所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)
  6239. type: integer
  6240. canshort:
  6241. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  6242. type: integer
  6243. closepricemode:
  6244. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  6245. type: integer
  6246. createtime:
  6247. description: 创建时间
  6248. type: string
  6249. creatorid:
  6250. description: 创建人
  6251. type: integer
  6252. currencyid:
  6253. description: 报价货币ID
  6254. type: integer
  6255. decimalplace:
  6256. description: 报价小数位
  6257. type: integer
  6258. enumdicname:
  6259. description: 单位名称
  6260. type: string
  6261. exchangefullname:
  6262. description: 交易所全称
  6263. type: string
  6264. excludecfg:
  6265. description: 排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除
  6266. type: integer
  6267. exexchangecode:
  6268. description: 交易所代码
  6269. type: string
  6270. exexchangeid:
  6271. description: 外部交易所ID[通道交易]
  6272. type: integer
  6273. exexchangename:
  6274. description: 交易所名称
  6275. type: string
  6276. goodsgroupid:
  6277. description: 商品组ID(自增ID)
  6278. type: integer
  6279. goodsgroupname:
  6280. description: 商品组名称
  6281. type: string
  6282. goodsgroupstatus:
  6283. description: 商品组状态 - 1:正常 2:注销
  6284. type: integer
  6285. goodunitid:
  6286. description: 报价单位ID
  6287. type: integer
  6288. groupcategroyid:
  6289. description: 品种分类ID
  6290. type: integer
  6291. innerdealmode:
  6292. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  6293. type: integer
  6294. marketid:
  6295. description: 所属市场ID
  6296. type: integer
  6297. modifierid:
  6298. description: 修改人
  6299. type: integer
  6300. modifytime:
  6301. description: 修改时间
  6302. type: string
  6303. outerdealmode:
  6304. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  6305. type: integer
  6306. outergroupcode:
  6307. description: 外部商品组代码[通道交易]
  6308. type: string
  6309. quoteminunit:
  6310. description: 行情最小变动单位 [整数,报价小数位一起使用]
  6311. type: integer
  6312. quotesourcegroupid:
  6313. description: 所属行情源分组ID[参考行情市场用\通道交易]
  6314. type: integer
  6315. syncgoodsqty:
  6316. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  6317. type: integer
  6318. required:
  6319. - areauserid
  6320. type: object
  6321. models.Ermcp3HPMiddleGoods:
  6322. properties:
  6323. biztype:
  6324. description: 业务类型 1:套保 2:套利
  6325. type: integer
  6326. contracttype:
  6327. description: 合同类型 1:采购 -1:销售
  6328. type: integer
  6329. convertratio:
  6330. description: 折算系数
  6331. type: number
  6332. customername:
  6333. description: 对手手名称
  6334. type: string
  6335. customeruserid:
  6336. description: 对手id
  6337. type: integer
  6338. enumdicname:
  6339. description: 现货单位名称
  6340. type: string
  6341. hedgeplanid:
  6342. description: 计划id
  6343. type: string
  6344. hedgeplanno:
  6345. description: 计划编号
  6346. type: string
  6347. middlegoodsid:
  6348. description: 套保品种ID
  6349. type: integer
  6350. middlegoodsplanqty3:
  6351. description: 应套保计划量
  6352. type: number
  6353. needhedgeratio:
  6354. description: 套保比例
  6355. type: number
  6356. pricedqty:
  6357. description: 已定价量
  6358. type: number
  6359. relatedmiddlegoodsqty:
  6360. description: 已关联量(套保品种)(期货)
  6361. type: number
  6362. unitid:
  6363. description: 现货单位id
  6364. type: integer
  6365. userid:
  6366. description: 用户id
  6367. type: integer
  6368. vatrate:
  6369. description: 增值税率
  6370. type: number
  6371. wrstandardcode:
  6372. description: 现货商品代码
  6373. type: string
  6374. wrstandardid:
  6375. description: 现货商品id
  6376. type: integer
  6377. wrstandardname:
  6378. description: 现货商品名称
  6379. type: string
  6380. type: object
  6381. models.Ermcp3HedgePlan:
  6382. properties:
  6383. accountid:
  6384. description: 资金账号
  6385. type: integer
  6386. areauserid:
  6387. description: 用户ID
  6388. type: integer
  6389. auditid:
  6390. description: 审核id
  6391. type: integer
  6392. auditname:
  6393. description: 审核人名称
  6394. type: string
  6395. auditremark:
  6396. description: 审核备注
  6397. type: string
  6398. auditsrc:
  6399. description: 审核来源 1-管理端 2-终端
  6400. type: integer
  6401. audittime:
  6402. description: 审核时间
  6403. type: string
  6404. contracttype:
  6405. description: 计划类型 - 1:采购 -1:销售
  6406. type: integer
  6407. convertfactor:
  6408. description: 标仓系数
  6409. type: number
  6410. createtime:
  6411. description: 创建时间
  6412. type: string
  6413. currencyid:
  6414. description: 币种id
  6415. type: integer
  6416. currencyname:
  6417. description: 币种名称
  6418. type: string
  6419. deliverygoodscode:
  6420. description: 现货品种代码
  6421. type: string
  6422. deliverygoodsid:
  6423. description: 现货品种ID
  6424. type: integer
  6425. deliverygoodsname:
  6426. description: 现货品种名称
  6427. type: string
  6428. enumdicname:
  6429. description: 单位名称(现货商品)
  6430. type: string
  6431. hedgeplanid:
  6432. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  6433. type: string
  6434. hedgeplanno:
  6435. description: 套保计划编号(名称)
  6436. type: string
  6437. hedgeplanstatus:
  6438. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  6439. type: integer
  6440. planqty:
  6441. description: 计划数量
  6442. type: number
  6443. plantime:
  6444. description: 计划时间
  6445. type: string
  6446. producttype:
  6447. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  6448. type: integer
  6449. remark:
  6450. description: 备注
  6451. type: string
  6452. spotgoodsdesc:
  6453. description: 商品型号
  6454. type: string
  6455. taaccountname:
  6456. description: 资金账号名称
  6457. type: string
  6458. tradeuserid:
  6459. description: 交易用户id
  6460. type: integer
  6461. tradeusername:
  6462. description: 交易用户名称
  6463. type: string
  6464. unitid:
  6465. description: 单位id(现货商品)
  6466. type: integer
  6467. updatetime:
  6468. description: 更新时间
  6469. type: string
  6470. vatrate:
  6471. description: 增值税率
  6472. type: number
  6473. wrstandardcode:
  6474. description: 品类代码
  6475. type: string
  6476. wrstandardid:
  6477. description: 品类id
  6478. type: integer
  6479. wrstandardname:
  6480. description: 品类名称
  6481. type: string
  6482. wrunitid:
  6483. description: 品类单位id
  6484. type: integer
  6485. wrunitidame:
  6486. description: 品类单位名称
  6487. type: string
  6488. type: object
  6489. models.Ermcp3InnerTradeLink:
  6490. properties:
  6491. accountid:
  6492. description: 期货账号代码 | 资金账号ID
  6493. type: integer
  6494. buyorsell:
  6495. description: 方向 - 0:买 1:卖
  6496. type: integer
  6497. channelbuildtype:
  6498. description: 委托单据类型 0:无 1:建仓 2:平仓
  6499. type: integer
  6500. currencyid:
  6501. description: 币种id
  6502. type: integer
  6503. currencyname:
  6504. description: 结算币种 名称
  6505. type: string
  6506. goodscode:
  6507. description: 商品代码
  6508. type: string
  6509. goodsid:
  6510. description: 商品ID
  6511. type: integer
  6512. goodsname:
  6513. description: 商品名称
  6514. type: string
  6515. outtradeid:
  6516. description: 外部成交单号
  6517. type: string
  6518. taname:
  6519. description: 期货账户名称
  6520. type: string
  6521. tradeid:
  6522. description: 期货单号 | 内部成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6523. type: string
  6524. tradeprice:
  6525. description: 成交价格
  6526. type: number
  6527. tradeqty:
  6528. description: 期货成交数量
  6529. type: integer
  6530. tradetime:
  6531. description: 关联时间 | 成交时间 ps:因为数据库表里没有关联时间, 所以取外部成交单的成交时间
  6532. type: string
  6533. username:
  6534. description: 用户名称
  6535. type: string
  6536. type: object
  6537. models.Ermcp3OutTradeLink:
  6538. properties:
  6539. buyorsell:
  6540. description: 买卖方向 - 0:买 1:卖
  6541. type: integer
  6542. channelbuildtype:
  6543. description: 开平标志- 0:无 1:建仓 2:平仓
  6544. type: integer
  6545. currencyname:
  6546. description: 币种名称
  6547. type: string
  6548. exexchangecode:
  6549. description: 交易所代码
  6550. type: string
  6551. exexchangename:
  6552. description: 交易所名称
  6553. type: string
  6554. goodscode:
  6555. description: 合约代码
  6556. type: string
  6557. goodsid:
  6558. description: 合约id
  6559. type: integer
  6560. goodsname:
  6561. description: 合约名称
  6562. type: string
  6563. hasinnerorder:
  6564. description: 是否有内部单关联 - 0:无 1:有
  6565. type: integer
  6566. hedgeaccountcode:
  6567. description: 外部账号 | 对冲账号
  6568. type: string
  6569. outtradeid:
  6570. description: 外部订单号 | 外部成交单ID(114+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6571. type: string
  6572. tradeprice:
  6573. description: 成交价格
  6574. type: number
  6575. tradeqty:
  6576. description: 成交数量
  6577. type: integer
  6578. tradetime:
  6579. description: 成交时间
  6580. type: string
  6581. type: object
  6582. models.Ermcp3PaAreaAuditCfg:
  6583. properties:
  6584. areauserid:
  6585. description: 用户ID
  6586. type: integer
  6587. buyinauditflag:
  6588. description: 采购入库是否需要审核 - 0:不需审核 1:需要审核
  6589. type: integer
  6590. costratioauditflag:
  6591. description: 现货商品成本权重修改是否需要审核 - 0:不需审核 1:需要审核
  6592. type: integer
  6593. customerauditflag:
  6594. description: 客户资料是否需要审核 - 0:不需审核 1:需要审核
  6595. type: integer
  6596. deliveryauditflag:
  6597. description: 交收是否需要审核 - 0:不需审核 1:需要审核
  6598. type: integer
  6599. invoiceauditflag:
  6600. description: 发票是否需要审核 - 0:不需审核 1:需要审核
  6601. type: integer
  6602. mgneedhedgeratioauditflag:
  6603. description: 套保品种套保比例修改是否需要审 - 0:不需审核 1:需要审核
  6604. type: integer
  6605. moneyauditflag:
  6606. description: 款项是否需要审核 - 0:不需审核 1:需要审核
  6607. type: integer
  6608. operatorid:
  6609. description: 操作人
  6610. type: integer
  6611. operatorsrc:
  6612. description: 操作来源 - 1:管理端 2:终端
  6613. type: integer
  6614. pointpriceauditflag:
  6615. description: 点价是否需要审核 - 0:不需审核 1:需要审核
  6616. type: integer
  6617. produceinauditflag:
  6618. description: 生产入库是否需要审核 - 0:不需审核 1:需要审核
  6619. type: integer
  6620. produceoutauditflag:
  6621. description: 生产出库是否需要审核 - 0:不需审核 1:需要审核
  6622. type: integer
  6623. selloutauditflag:
  6624. description: 销售出库是否需要审核 - 0:不需审核 1:需要审核
  6625. type: integer
  6626. sgconvertratioauditflag:
  6627. description: 现货商品折算系数修改是否需要审核 - 0:不需审核 1:需要审核
  6628. type: integer
  6629. sgvtaratioauditflag:
  6630. description: 现货商品增值税税率修改是否需要审核 - 0:不需审核 1:需要审核
  6631. type: integer
  6632. spotcontractauditflag:
  6633. description: 现货合同是否需要审核 - 0:不需审核 1:需要审核
  6634. type: integer
  6635. updatetime:
  6636. description: 更新时间
  6637. type: string
  6638. type: object
  6639. models.Ermcp3PaAreaSubject:
  6640. properties:
  6641. areauserid:
  6642. description: 所属机构
  6643. type: integer
  6644. canmodify:
  6645. description: 是否可修改 - 0:否 1:是
  6646. type: integer
  6647. createtime:
  6648. description: 创建时间
  6649. type: string
  6650. creatorid:
  6651. description: 创建人ID
  6652. type: string
  6653. creatorsrc:
  6654. description: 创建人来源 - 1:管理端 2:终端 3:交易
  6655. type: integer
  6656. modifierid:
  6657. description: 修改人
  6658. type: string
  6659. modifiersrc:
  6660. description: 修改人来源 - 1:管理端 2:终端
  6661. type: integer
  6662. modifytime:
  6663. description: 修改时间
  6664. type: string
  6665. parentsubjectid:
  6666. description: 上级主体ID
  6667. type: string
  6668. remark:
  6669. description: 备注
  6670. type: string
  6671. subjectid:
  6672. description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  6673. type: integer
  6674. subjectname:
  6675. description: 主体名称
  6676. type: string
  6677. subjectstatus:
  6678. description: '主体状态 - 1:正常 2: 停用'
  6679. type: integer
  6680. subjecttype:
  6681. description: 主体类型 - 1:交易主体 2:业务部门
  6682. type: integer
  6683. type: object
  6684. models.Ermcp3PaTradeLink:
  6685. properties:
  6686. accountid:
  6687. description: 期货账户代码 | 账号ID
  6688. type: integer
  6689. agreeunit:
  6690. description: 合约乘数
  6691. type: number
  6692. buyorsell:
  6693. description: 方向 - 0:买 1:卖
  6694. type: integer
  6695. channelbuildtype:
  6696. description: 委托单据类型 0:无 1:建仓 2:平仓
  6697. type: integer
  6698. charge:
  6699. description: 手续费
  6700. type: number
  6701. closepl:
  6702. description: 平仓盈亏
  6703. type: number
  6704. closetype:
  6705. description: 平仓方式 - 0:无 1:平今 2:平昨
  6706. type: integer
  6707. convertratio:
  6708. description: 折算系数
  6709. type: number
  6710. enumdicname:
  6711. description: 单位名称
  6712. type: string
  6713. executeprice:
  6714. description: 执行价 [期权]
  6715. type: integer
  6716. goodscode:
  6717. description: 合约代码
  6718. type: string
  6719. goodsgroupid:
  6720. description: 对冲品种ID[期货合约商品组ID]
  6721. type: integer
  6722. goodsid:
  6723. description: 商品ID
  6724. type: integer
  6725. goodsname:
  6726. description: 合约名称
  6727. type: string
  6728. goodunitid:
  6729. description: 单位id
  6730. type: integer
  6731. hedgeflag:
  6732. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  6733. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)
  6734. type: integer
  6735. marketid:
  6736. description: 市场ID
  6737. type: integer
  6738. middlegoodsid:
  6739. description: 套保品种ID
  6740. type: integer
  6741. middlegoodsqty:
  6742. description: 套保品种数量 = TradeQty * AgreeUnit * ConvertRatio
  6743. type: number
  6744. optioncode:
  6745. description: 期权代码 [期权]
  6746. type: string
  6747. ordertype:
  6748. description: 单据类型 - 1:期货单 2:看涨期权单 3:看跌期权单
  6749. type: integer
  6750. ordertypename:
  6751. description: 订单类型
  6752. type: string
  6753. parentaccountid:
  6754. description: 所属母账户
  6755. type: integer
  6756. premium:
  6757. description: 权利金 [期权]
  6758. type: number
  6759. relatedlot:
  6760. description: 已关联数量(已关联数量手) | db:关联手数
  6761. type: number
  6762. relatedouttradeid:
  6763. description: 关联外部成交单ID
  6764. type: string
  6765. relatedqty:
  6766. description: 关联数量
  6767. type: number
  6768. spotcontractid:
  6769. description: 现货合同ID [4:套期保值\10\11]
  6770. type: string
  6771. taname:
  6772. description: 期货账户名称
  6773. type: string
  6774. tradeamount:
  6775. description: 成交金额(账户)
  6776. type: number
  6777. tradedate:
  6778. description: 交易日(yyyyMMdd)
  6779. type: string
  6780. tradeid:
  6781. description: 期货单号 | db:成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6782. type: string
  6783. tradelot:
  6784. description: 成交数量(期货数量) ps:这是手数,转换为具体多少吨要乘以AGREEUNIT | db:成交手数
  6785. type: integer
  6786. tradeprice:
  6787. description: 成交价格
  6788. type: number
  6789. tradetime:
  6790. description: 时间 | db:成交时间
  6791. type: string
  6792. tradetype:
  6793. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  6794. type: integer
  6795. userid:
  6796. description: 所属机构 - 所属母账户的UserID
  6797. type: string
  6798. username:
  6799. description: 用户名称
  6800. type: string
  6801. type: object
  6802. models.Ermcp3ParamChangeApp:
  6803. properties:
  6804. aftervalue:
  6805. description: 变更后
  6806. type: number
  6807. applicationid:
  6808. description: 申请ID(619+Unix秒时间戳(10位)+xxxxxx)
  6809. type: string
  6810. applyid:
  6811. description: 申请人
  6812. type: string
  6813. applyname:
  6814. description: 申请人名称(代码)
  6815. type: string
  6816. applyremark:
  6817. description: 申请备注
  6818. type: string
  6819. applysrc:
  6820. description: 申请来源 - 1:管理端 2:终端
  6821. type: integer
  6822. applystatus:
  6823. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  6824. type: integer
  6825. applytime:
  6826. description: 申请时间
  6827. type: string
  6828. areauserid:
  6829. description: 所属机构用户ID
  6830. type: integer
  6831. auditid:
  6832. description: 审核人
  6833. type: string
  6834. auditname:
  6835. description: 审核人名称(代码)
  6836. type: string
  6837. auditremark:
  6838. description: 审核备注
  6839. type: string
  6840. auditsrc:
  6841. description: 审核来源 - 1:管理端 2:终端
  6842. type: integer
  6843. audittime:
  6844. description: 审核时间
  6845. type: string
  6846. audittradedate:
  6847. description: 审核交易日(yyyyMMdd)
  6848. type: string
  6849. beforevalue:
  6850. description: 变更前
  6851. type: number
  6852. deliverygoodscode:
  6853. description: 品种代码
  6854. type: string
  6855. deliverygoodsid:
  6856. description: 品种id
  6857. type: integer
  6858. deliverygoodsname:
  6859. description: 品种名称
  6860. type: string
  6861. middlegoodscode:
  6862. description: 套保品种代码
  6863. type: string
  6864. middlegoodsid:
  6865. description: 套保品种ID [ParamChangeType = 2,3,4]
  6866. type: integer
  6867. middlegoodsname:
  6868. description: 套保品种名称
  6869. type: string
  6870. operatetype:
  6871. description: 操作类型 - 1:新增 2:修改
  6872. type: integer
  6873. paramchangetype:
  6874. description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  6875. type: integer
  6876. wrstandardcode:
  6877. description: 现货商品代码
  6878. type: string
  6879. wrstandardid:
  6880. description: 现货商品ID [ParamChangeType = 1,2,3]
  6881. type: integer
  6882. wrstandardname:
  6883. description: 现货商品名称
  6884. type: string
  6885. type: object
  6886. models.Ermcp3RootUserAccount:
  6887. properties:
  6888. accountname:
  6889. description: 账户名称(机构名称)
  6890. type: string
  6891. accountstatus:
  6892. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  6893. type: integer
  6894. applysrc:
  6895. description: 申请来源 - 1:管理端 2:终端
  6896. type: integer
  6897. auditremark:
  6898. description: 审核备注
  6899. type: string
  6900. auditsrc:
  6901. description: 审核来源 - 1:管理端 2:终端
  6902. type: integer
  6903. audittime:
  6904. description: 审核时间
  6905. type: string
  6906. audituserid:
  6907. description: 审核人
  6908. type: integer
  6909. broker:
  6910. description: 所属经纪人ID
  6911. type: integer
  6912. canceltime:
  6913. description: 销户时间
  6914. type: string
  6915. canceluserid:
  6916. description: 销户人
  6917. type: integer
  6918. canrecommend:
  6919. description: 是否可推荐 - 0:不可 1;可
  6920. type: integer
  6921. createtime:
  6922. description: 创建时间
  6923. type: string
  6924. creatorid:
  6925. description: 创建人
  6926. type: integer
  6927. hasauth:
  6928. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  6929. type: integer
  6930. isanonymous:
  6931. description: 是否匿名下单 - 0:否 1:是
  6932. type: integer
  6933. maxinvestornum:
  6934. description: 最大用户数(经纪会员下投资者个数)
  6935. type: integer
  6936. memberuserid:
  6937. description: 所属会员ID
  6938. type: integer
  6939. modifierid:
  6940. description: 修改人
  6941. type: integer
  6942. modifyremark:
  6943. description: 变更备注
  6944. type: string
  6945. modifystatus:
  6946. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  6947. type: integer
  6948. modifytime:
  6949. description: 修改时间
  6950. type: string
  6951. nickname:
  6952. description: 昵称
  6953. type: string
  6954. parenttopuser:
  6955. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  6956. type: string
  6957. parentuserid:
  6958. description: 所属机构ID
  6959. type: integer
  6960. reckonaccountid:
  6961. description: 默认结算资金账号ID(机构分润使用) 作废
  6962. type: integer
  6963. refercount:
  6964. description: 推荐总人数
  6965. type: integer
  6966. refereeuserid:
  6967. description: 推荐人ID
  6968. type: integer
  6969. refernum:
  6970. description: 推荐码
  6971. type: string
  6972. rootuserid:
  6973. description: 根用户ID
  6974. type: integer
  6975. subaccountlevel:
  6976. description: 子账户层数
  6977. type: integer
  6978. subarealevelpath:
  6979. description: 子机构层级路径(逗号分隔,首尾加逗号)
  6980. type: string
  6981. userid:
  6982. description: 用户ID
  6983. type: integer
  6984. usertype:
  6985. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  6986. type: integer
  6987. type: object
  6988. models.Ermcp3SCMiddleGoods:
  6989. properties:
  6990. biztype:
  6991. description: 业务类型 1:套保 2:套利
  6992. type: integer
  6993. contractno:
  6994. description: 合同编号
  6995. type: string
  6996. contracttype:
  6997. description: 合同类型 1:采购 -1:销售
  6998. type: integer
  6999. convertratio:
  7000. description: 折算系数
  7001. type: number
  7002. customername:
  7003. description: 对手手名称
  7004. type: string
  7005. customeruserid:
  7006. description: 对手id
  7007. type: integer
  7008. deliverygoodscode:
  7009. description: 现货品种代码
  7010. type: string
  7011. deliverygoodsid:
  7012. description: 现货品种ID
  7013. type: integer
  7014. deliverygoodsname:
  7015. description: 现货品种名称
  7016. type: string
  7017. enumdicname:
  7018. description: 现货单位名称
  7019. type: string
  7020. middlegoodsid:
  7021. description: 套保品种ID
  7022. type: integer
  7023. middlegoodspricedqty3:
  7024. description: 应套保数量 = MiddleGoodsPricedQty2 * 套保比率
  7025. type: number
  7026. needhedgeratio:
  7027. description: 套保比例
  7028. type: number
  7029. pricedqty:
  7030. description: 已定价量
  7031. type: number
  7032. relatedmiddlegoodsqty:
  7033. description: 已关联量(套保品种)(期货)
  7034. type: number
  7035. spotcontractid:
  7036. description: 合同编号
  7037. type: string
  7038. unitid:
  7039. description: 现货单位id
  7040. type: integer
  7041. userid:
  7042. description: 用户id
  7043. type: integer
  7044. vatrate:
  7045. description: 增值税率
  7046. type: number
  7047. wrstandardcode:
  7048. description: 现货商品代码
  7049. type: string
  7050. wrstandardid:
  7051. description: 现货商品id
  7052. type: integer
  7053. wrstandardname:
  7054. description: 现货商品名称
  7055. type: string
  7056. type: object
  7057. models.Ermcp3SCMiddleGoodsReport:
  7058. properties:
  7059. begindate:
  7060. description: 开始交易日
  7061. type: string
  7062. contractno:
  7063. description: 合同编号
  7064. type: string
  7065. contracttype:
  7066. description: 合同类型 1:采购 -1:销售
  7067. type: integer
  7068. convertratio:
  7069. description: 期初均价
  7070. type: number
  7071. cycletime:
  7072. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  7073. type: string
  7074. cycletype:
  7075. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  7076. type: integer
  7077. deliverygoodscode:
  7078. description: 品种代码
  7079. type: string
  7080. deliverygoodsid:
  7081. description: 现货品种ID
  7082. type: integer
  7083. deliverygoodsname:
  7084. description: 品种名称
  7085. type: string
  7086. diffprice:
  7087. description: 期初均价
  7088. type: number
  7089. diffqty:
  7090. description: 期初均价
  7091. type: number
  7092. enddate:
  7093. description: 结束交易日
  7094. type: string
  7095. hedgeplanqty:
  7096. description: 期初均价
  7097. type: number
  7098. matchname:
  7099. description: 交易对手方(个人:用户名称 企业:简称)
  7100. type: string
  7101. matchnickname:
  7102. description: 交易对手方昵称
  7103. type: string
  7104. middlegoodscode:
  7105. description: 套保品种代码
  7106. type: string
  7107. middlegoodsid:
  7108. description: 套保品种ID
  7109. type: integer
  7110. middlegoodsname:
  7111. description: 套保品种名称
  7112. type: string
  7113. middlegoodspricedqty:
  7114. description: 期初均价
  7115. type: number
  7116. middlegoodspricedqty2:
  7117. description: 期初均价
  7118. type: number
  7119. middlegoodspricedqty3:
  7120. description: 期初均价
  7121. type: number
  7122. needhedgeratio:
  7123. description: 期初均价
  7124. type: number
  7125. pricedamount:
  7126. description: 期初均价
  7127. type: number
  7128. pricedamount2:
  7129. description: 期初均价
  7130. type: number
  7131. pricedqty:
  7132. description: 期初均价
  7133. type: number
  7134. reckondate:
  7135. description: 日照时期(yyyyMMdd)
  7136. type: string
  7137. relatedmiddlegoodsamount:
  7138. description: 期初均价
  7139. type: number
  7140. relatedmiddlegoodsqty:
  7141. description: 期初均价
  7142. type: number
  7143. spotcontractid:
  7144. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  7145. type: string
  7146. todayavgfutuprice:
  7147. description: 期初均价
  7148. type: number
  7149. todayavgprice:
  7150. description: 期初均价
  7151. type: number
  7152. todayavgprice2:
  7153. description: 期初均价
  7154. type: number
  7155. todaypricedamount:
  7156. description: 期初均价
  7157. type: number
  7158. todaypricedamount2:
  7159. description: 期初均价
  7160. type: number
  7161. todaypricedqty:
  7162. description: 期初均价
  7163. type: number
  7164. todayrelatedfutureqty:
  7165. description: 期初均价
  7166. type: number
  7167. todayrelatedmiddlegoodsamount:
  7168. description: 期初均价
  7169. type: number
  7170. todayrelatedmiddlegoodsqty:
  7171. description: 期初均价
  7172. type: number
  7173. updatetime:
  7174. description: 更新时间
  7175. type: string
  7176. userid:
  7177. description: 合同所属用户id
  7178. type: integer
  7179. vatrate:
  7180. description: 期初均价
  7181. type: number
  7182. wrstandardcode:
  7183. description: 商品(品类) 代码
  7184. type: string
  7185. wrstandardid:
  7186. description: 现货商品ID
  7187. type: integer
  7188. wrstandardname:
  7189. description: 商品(品类) 名称
  7190. type: string
  7191. type: object
  7192. models.Ermcp3SellBuyContract:
  7193. properties:
  7194. accountid:
  7195. description: 期货账户id
  7196. type: string
  7197. accountname:
  7198. description: 账户名称
  7199. type: string
  7200. attachment:
  7201. description: 附件
  7202. type: string
  7203. audittime:
  7204. description: 审核时间
  7205. type: string
  7206. bizsubjectid:
  7207. description: 归属业务部门ID - SubjectID
  7208. type: integer
  7209. biztype:
  7210. description: 业务类型 1-套保 2-套利
  7211. type: integer
  7212. brandname:
  7213. description: 品牌名称
  7214. type: string
  7215. contracctstatus:
  7216. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  7217. type: integer
  7218. contractmargin:
  7219. description: 合同保证金
  7220. type: number
  7221. contractno:
  7222. description: 合同编号
  7223. type: string
  7224. contracttype:
  7225. description: 合同类型 1-采购, -1-销售
  7226. type: integer
  7227. convertfactor:
  7228. description: 标仓系数(品类)
  7229. type: number
  7230. createtime:
  7231. description: 创建时间
  7232. type: string
  7233. currencyid:
  7234. description: 币种id
  7235. type: integer
  7236. currencyname:
  7237. description: 币种名称
  7238. type: string
  7239. daikaiamount:
  7240. description: 应收(开)票额 | 未收票额
  7241. type: number
  7242. deliveryenddate:
  7243. description: 交割结束日
  7244. type: string
  7245. deliverygoodscode:
  7246. description: 现货品种代码
  7247. type: string
  7248. deliverygoodsid:
  7249. description: 现货商品ID
  7250. type: integer
  7251. deliverygoodsname:
  7252. description: 现货品种名称
  7253. type: string
  7254. deliverystartdate:
  7255. description: 交割开始日
  7256. type: string
  7257. enddate:
  7258. description: 点价结束日
  7259. type: string
  7260. enumdicname:
  7261. description: 单位名称
  7262. type: string
  7263. goodscode:
  7264. description: 点价商品代码
  7265. type: string
  7266. goodsgroupid:
  7267. description: 点价商品组id
  7268. type: integer
  7269. goodsid:
  7270. description: 点价商品ID
  7271. type: integer
  7272. goodsname:
  7273. description: 点价商品名称
  7274. type: string
  7275. invoiceamount:
  7276. description: 已开票额
  7277. type: number
  7278. loanamount:
  7279. description: 贷款总额=已定价额+调整金额
  7280. type: number
  7281. margin:
  7282. description: 保证金
  7283. type: number
  7284. meruserid:
  7285. description: 跟单员id
  7286. type: integer
  7287. meruserlogincode:
  7288. description: 跟单员登录代码
  7289. type: string
  7290. merusername:
  7291. description: 跟单员名称
  7292. type: string
  7293. nickname:
  7294. description: 账户昵称
  7295. type: string
  7296. orireckonrealqty:
  7297. description: 应交收量
  7298. type: number
  7299. payamount:
  7300. description: 已收付额(收款或付款)
  7301. type: number
  7302. preinvoiceamount:
  7303. description: 预收(开)票额
  7304. type: number
  7305. prepayamount:
  7306. description: 预收付额
  7307. type: number
  7308. price:
  7309. description: 价格
  7310. type: number
  7311. pricedamount:
  7312. description: 已定价额
  7313. type: number
  7314. pricedavg:
  7315. description: 已点均价
  7316. type: number
  7317. pricedqty:
  7318. description: 已定价量
  7319. type: number
  7320. pricemove:
  7321. description: 升贴水
  7322. type: number
  7323. pricetype:
  7324. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  7325. type: integer
  7326. producttype:
  7327. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  7328. type: integer
  7329. qty:
  7330. description: 合同量
  7331. type: number
  7332. reckonadjustamount:
  7333. description: 调整金额
  7334. type: number
  7335. reckonedamount:
  7336. description: 实际已收付额(已确定额,已收付总额-已退款总额)
  7337. type: number
  7338. reckonotheramount:
  7339. description: 其它费用
  7340. type: number
  7341. reckonrealqty:
  7342. description: 已交收量
  7343. type: number
  7344. remark:
  7345. description: 备注
  7346. type: string
  7347. saleuserid:
  7348. description: 业务员id
  7349. type: integer
  7350. saleuserlogincode:
  7351. description: 业务员登录代码
  7352. type: string
  7353. saleusername:
  7354. description: 业务员名称
  7355. type: string
  7356. spotcontractid:
  7357. description: 合同ID
  7358. type: string
  7359. spotgoodsbrandid:
  7360. description: 现货品牌ID(DGFactoryItem表的ID)
  7361. type: integer
  7362. spotgoodsdesc:
  7363. description: 商品型号(商品规格)
  7364. type: string
  7365. startdate:
  7366. description: 点价开始日
  7367. type: string
  7368. subjectid:
  7369. description: 交易主体ID
  7370. type: integer
  7371. subjectname:
  7372. description: 交易主体名称
  7373. type: string
  7374. totalamount:
  7375. description: 合计总额
  7376. type: number
  7377. tradeuserid:
  7378. description: 交易员id
  7379. type: integer
  7380. tradeuserlogincode:
  7381. description: 交易员登录代码
  7382. type: string
  7383. tradeusername:
  7384. description: 交易员名称
  7385. type: string
  7386. unpayamount:
  7387. description: 应收付款额(应支付或应收款) | 未付款额
  7388. type: number
  7389. unpricedqty:
  7390. description: 未定价量
  7391. type: number
  7392. unsureqty:
  7393. description: 未确定量 | 未交收量
  7394. type: number
  7395. userid:
  7396. description: 机构ID
  7397. type: integer
  7398. vatrate:
  7399. description: 增值税率
  7400. type: number
  7401. wrstandardcode:
  7402. description: 品类代码
  7403. type: string
  7404. wrstandardid:
  7405. description: 品类ID
  7406. type: integer
  7407. wrstandardname:
  7408. description: 品类名称
  7409. type: string
  7410. type: object
  7411. models.Ermcp3SpotGoodsPrice:
  7412. properties:
  7413. areauserid:
  7414. description: 所属机构id
  7415. type: integer
  7416. brandname:
  7417. description: 品牌名称
  7418. type: string
  7419. currencyid:
  7420. description: 报价货币ID
  7421. type: integer
  7422. currencyname:
  7423. description: 币种名称
  7424. type: string
  7425. deliverygoodscode:
  7426. description: 现货商品代码
  7427. type: string
  7428. deliverygoodsid:
  7429. description: 现货商品id
  7430. type: integer
  7431. deliverygoodsname:
  7432. description: 现货商品名称
  7433. type: string
  7434. enumdicname:
  7435. description: 现货商品单位名称
  7436. type: string
  7437. gbenumdicname:
  7438. description: 品类单位名称
  7439. type: string
  7440. gmunitid:
  7441. description: 品类单位id
  7442. type: integer
  7443. isvalid:
  7444. description: 是否有效 - 0:无效 1:有效
  7445. type: integer
  7446. operateid:
  7447. description: 最后操作人
  7448. type: integer
  7449. operatesrc:
  7450. description: 最后操作来源 - 1:管理端 2:终端
  7451. type: integer
  7452. operatetime:
  7453. description: 最后操作时间
  7454. type: string
  7455. operatorname:
  7456. description: 操作人名称
  7457. type: string
  7458. spotgoodsbrandid:
  7459. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  7460. type: integer
  7461. spotgoodsprice:
  7462. description: 现货价格
  7463. type: number
  7464. tradedate:
  7465. description: 交易日(yyyyMMdd)
  7466. type: string
  7467. unitid:
  7468. description: 现货商品单位id
  7469. type: integer
  7470. wrstandardcode:
  7471. description: 品类代码
  7472. type: string
  7473. wrstandardid:
  7474. description: 现货品类ID(通用则为0)
  7475. type: integer
  7476. wrstandardname:
  7477. description: 品类名称
  7478. type: string
  7479. type: object
  7480. models.Ermcp3SpotGoodsPriceLog:
  7481. properties:
  7482. areauserid:
  7483. description: 所属机构id
  7484. type: integer
  7485. brandname:
  7486. description: 品牌名称
  7487. type: string
  7488. currencyid:
  7489. description: 报价货币ID
  7490. type: integer
  7491. deliverygoodscode:
  7492. description: 现货商品代码
  7493. type: string
  7494. deliverygoodsid:
  7495. description: 现货商品id
  7496. type: integer
  7497. deliverygoodsname:
  7498. description: 现货商品名称
  7499. type: string
  7500. enumdicname:
  7501. description: 现货商品单位名称
  7502. type: string
  7503. gbenumdicname:
  7504. description: 品类单位名称
  7505. type: string
  7506. gmunitid:
  7507. description: 品类单位id
  7508. type: integer
  7509. logid:
  7510. description: 日志id
  7511. type: integer
  7512. operateid:
  7513. description: 最后操作人
  7514. type: integer
  7515. operatesrc:
  7516. description: 最后操作来源 - 1:管理端 2:终端
  7517. type: integer
  7518. operatetime:
  7519. description: 最后操作时间
  7520. type: string
  7521. operatorname:
  7522. description: 操作人名称
  7523. type: string
  7524. spotgoodsbrandid:
  7525. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  7526. type: integer
  7527. spotgoodsprice:
  7528. description: 现货价格
  7529. type: number
  7530. tradedate:
  7531. description: 交易日(yyyyMMdd)
  7532. type: string
  7533. unitid:
  7534. description: 现货商品单位id
  7535. type: integer
  7536. wrstandardcode:
  7537. description: 品类代码
  7538. type: string
  7539. wrstandardid:
  7540. description: 现货品类ID(通用则为0)
  7541. type: integer
  7542. wrstandardname:
  7543. description: 品类名称
  7544. type: string
  7545. type: object
  7546. models.Ermcp3SubTaaccount:
  7547. properties:
  7548. accountid:
  7549. description: 资金账户ID
  7550. type: integer
  7551. parentaccountcode:
  7552. description: 所属根账号代码(母账号代码)
  7553. type: string
  7554. parentaccountid:
  7555. description: 所属根账号(母账号)
  7556. type: integer
  7557. taname:
  7558. description: 资金账号名称
  7559. type: string
  7560. tradestatus:
  7561. description: 交易状态 - 1:正常 2:受限 3:冻结(停用) 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已删除(注销)
  7562. type: integer
  7563. username:
  7564. description: 交易用户
  7565. type: string
  7566. type: object
  7567. models.Ermcp3TaFutuReDataReport:
  7568. properties:
  7569. accountid:
  7570. description: 交易账户
  7571. type: integer
  7572. accountname:
  7573. description: 交易账号名称
  7574. type: string
  7575. agreeunit:
  7576. description: 商品合约单位
  7577. type: number
  7578. begindate:
  7579. description: 开始交易日
  7580. type: string
  7581. buyorsell:
  7582. description: 持仓方向
  7583. type: integer
  7584. charge:
  7585. description: 手续费
  7586. type: number
  7587. closeavgprice:
  7588. description: 期初均价
  7589. type: number
  7590. closepl:
  7591. description: 平仓损益
  7592. type: number
  7593. currencyid:
  7594. description: 结算币种ID
  7595. type: integer
  7596. currencyname:
  7597. description: 币种名称
  7598. type: string
  7599. cycletime:
  7600. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  7601. type: string
  7602. cycletype:
  7603. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  7604. type: integer
  7605. enddate:
  7606. description: 结束交易日
  7607. type: string
  7608. enumdicname:
  7609. description: 单位名称
  7610. type: string
  7611. floatpl:
  7612. description: 浮动损益
  7613. type: number
  7614. goodscode:
  7615. description: 交易合约代码
  7616. type: string
  7617. goodsgroupid:
  7618. description: 交易品种
  7619. type: integer
  7620. goodsgroupname:
  7621. description: 交易品种名称
  7622. type: string
  7623. goodsgroupspotqty:
  7624. description: 交易品种期末量 (= 期末持仓量 * 合约乘数)
  7625. type: number
  7626. goodsid:
  7627. description: 交易合约
  7628. type: integer
  7629. goodsname:
  7630. description: 交易合约名称
  7631. type: string
  7632. goodunitid:
  7633. description: 交易合约单位id
  7634. type: integer
  7635. holdamount:
  7636. description: 期末持仓额
  7637. type: number
  7638. holdqty:
  7639. description: 期初均价
  7640. type: number
  7641. lastholdamount:
  7642. description: 当前持仓额
  7643. type: number
  7644. lastprice:
  7645. description: 最新价
  7646. type: number
  7647. middlegoodsid:
  7648. description: 套保品种id
  7649. type: integer
  7650. middlegoodsname:
  7651. description: 套保商品名称
  7652. type: string
  7653. middlegoodsqty:
  7654. description: 套保品种期末量 (=交易品种期末量 * 期货品种折算系数)
  7655. type: number
  7656. middlgoodscode:
  7657. description: 套保商品代码
  7658. type: string
  7659. openamount:
  7660. description: 期末开仓额
  7661. type: number
  7662. openavgprice:
  7663. description: 期初均价
  7664. type: number
  7665. oriholdamount:
  7666. description: 期初持仓额
  7667. type: number
  7668. oriholdqty:
  7669. description: 期初均价
  7670. type: number
  7671. oriopenamount:
  7672. description: 期初开仓额
  7673. type: number
  7674. outergroupcode:
  7675. description: 交易品种代码
  7676. type: string
  7677. qtydecimalplace:
  7678. description: 成交量小数位
  7679. type: integer
  7680. reckondate:
  7681. description: 日照时期(yyyyMMdd)
  7682. type: string
  7683. reckonholdamount:
  7684. description: 结算持仓额
  7685. type: number
  7686. reckonpl:
  7687. description: 结算损益
  7688. type: number
  7689. reckonpl2:
  7690. description: 结算逐笔盈亏
  7691. type: number
  7692. reckonprice:
  7693. description: 结算价
  7694. type: number
  7695. relateduserid:
  7696. description: 账户关联用户ID
  7697. type: integer
  7698. todaycloseamount:
  7699. description: 今平仓额
  7700. type: number
  7701. todaycloseqty:
  7702. description: 期初均价
  7703. type: number
  7704. todaygoodsgroupspotqty:
  7705. description: 交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)
  7706. type: number
  7707. todaymiddlegoodsqty:
  7708. description: 套保品种变化量 (= 交易品种变化量*期货品种折算系数)
  7709. type: number
  7710. todayopenamount:
  7711. description: 今开仓额
  7712. type: number
  7713. todayopenqty:
  7714. description: 期初均价
  7715. type: number
  7716. userid:
  7717. description: 账户所属用户ID
  7718. type: integer
  7719. type: object
  7720. models.Ermcp3TradeLinkDetail:
  7721. properties:
  7722. accountid:
  7723. description: 资金账号
  7724. type: integer
  7725. agreeunit:
  7726. description: 合约乘数
  7727. type: number
  7728. areauserid:
  7729. description: 所属机构
  7730. type: string
  7731. bizsubjectid:
  7732. description: 归属业务部门ID - SubjectID
  7733. type: string
  7734. buyorsell:
  7735. description: 方向 - 0:买 1:卖
  7736. type: integer
  7737. channelbuildtype:
  7738. description: 委托单据类型 0:无 1:建仓 2:平仓
  7739. type: integer
  7740. contractno:
  7741. description: 现货编号 (合同编号)
  7742. type: string
  7743. convertratio:
  7744. description: 折算系数
  7745. type: number
  7746. createtime:
  7747. description: 关联时间 | 创建时间
  7748. type: string
  7749. creatorid:
  7750. description: 创建人ID
  7751. type: string
  7752. creatorsrc:
  7753. description: 创建人来源 - 1:管理端 2:终端 3:交易
  7754. type: integer
  7755. enumdicname:
  7756. description: 单位名称
  7757. type: string
  7758. goodscode:
  7759. description: 合约代码
  7760. type: string
  7761. goodsgroupid:
  7762. description: 对冲品种ID[期货合约商品组ID]
  7763. type: integer
  7764. goodsid:
  7765. description: 商品ID
  7766. type: integer
  7767. goodsname:
  7768. description: 合约名称
  7769. type: string
  7770. hedgeflag:
  7771. description: 业务类型 | 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安)
  7772. 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)
  7773. type: integer
  7774. linkdetailid:
  7775. description: 关联ID(614+Unix秒时间戳(10位)+xxxxxx)
  7776. type: string
  7777. linkstatus:
  7778. description: 关联状态 - 1:成功 2:失败 3:解绑
  7779. type: integer
  7780. middlegoodscode:
  7781. description: 套保品种代码
  7782. type: string
  7783. middlegoodsid:
  7784. description: 套保品种ID
  7785. type: integer
  7786. middlegoodsname:
  7787. description: 套保品种名称
  7788. type: string
  7789. relatedlot:
  7790. description: 关联手数
  7791. type: number
  7792. relatedmode:
  7793. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  7794. type: integer
  7795. relatedqty:
  7796. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  7797. type: number
  7798. retcode:
  7799. description: 返回码
  7800. type: integer
  7801. saleuserid:
  7802. description: 业务员ID
  7803. type: string
  7804. spotcontractid:
  7805. description: 现货合同\套保计划ID [4,10,11 - 现货合同ID] [9:套期保值(计划) - 套保计划ID]
  7806. type: string
  7807. taname:
  7808. description: 期货账户
  7809. type: string
  7810. tradedate:
  7811. description: 关联交易日(yyyyMMdd)
  7812. type: string
  7813. tradeid:
  7814. description: 期货订单号 | 内部成交单ID
  7815. type: string
  7816. tradelot:
  7817. description: 成交数量 | 成交手数
  7818. type: integer
  7819. tradeprice:
  7820. description: 成交价格
  7821. type: number
  7822. tradetime:
  7823. description: 期货成交时间
  7824. type: string
  7825. tradetradedate:
  7826. description: 成交交易日(yyyyMMdd)
  7827. type: string
  7828. username:
  7829. description: 用户名称
  7830. type: string
  7831. type: object
  7832. models.Ermcp3Wrstandard:
  7833. properties:
  7834. areauserid:
  7835. description: 所属机构
  7836. type: integer
  7837. cantrade:
  7838. description: 是否允许交易 - 0:不允许 1:允许 -1:未配置(数据库里没有记录)
  7839. type: integer
  7840. convertfactor:
  7841. description: 标仓系数
  7842. type: number
  7843. createtime:
  7844. description: 创建时间
  7845. type: string
  7846. creatorid:
  7847. description: 创建人
  7848. type: integer
  7849. deliverygoodsid:
  7850. description: 现货品种ID
  7851. type: integer
  7852. enumdicname:
  7853. description: 品类单位名称
  7854. type: string
  7855. isvalid:
  7856. description: 是否有效 0-无效(停用) 1-有效(正常)
  7857. type: integer
  7858. minivalue:
  7859. description: 最小变动值
  7860. type: integer
  7861. minivaluedp:
  7862. description: 最小变动值小数位
  7863. type: integer
  7864. realminivalue:
  7865. description: 实际最小变动值
  7866. type: integer
  7867. realminivaluedp:
  7868. description: 实际最小变动值小数位
  7869. type: integer
  7870. remark:
  7871. description: 备注
  7872. type: string
  7873. unitid:
  7874. description: 品类单位ID
  7875. type: integer
  7876. updatetime:
  7877. description: 更新时间
  7878. type: string
  7879. wrstandardcode:
  7880. description: 品类代码
  7881. type: string
  7882. wrstandardid:
  7883. description: 品类ID(SEQ_WRSTANDARD)
  7884. type: integer
  7885. wrstandardname:
  7886. description: 品类名称
  7887. type: string
  7888. type: object
  7889. models.Ermcp8EnableHedgeditem:
  7890. properties:
  7891. accountname:
  7892. description: 套期主体
  7893. type: string
  7894. hedgeditemid:
  7895. description: 被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)
  7896. type: string
  7897. hedgeditemname:
  7898. description: 项目名称
  7899. type: string
  7900. hedgeditemnum:
  7901. description: 项目编号
  7902. type: string
  7903. hedgedtype:
  7904. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  7905. type: integer
  7906. planenddate:
  7907. description: 计划结束日期
  7908. type: string
  7909. planstartdate:
  7910. description: 计划开始日期
  7911. type: string
  7912. wrstandardid:
  7913. description: 现货商品ID
  7914. type: integer
  7915. wrstandardname:
  7916. description: 现货商品
  7917. type: string
  7918. type: object
  7919. models.Ermcp8HedgeditemReport:
  7920. properties:
  7921. accountname:
  7922. description: 套期主体
  7923. type: string
  7924. areauserid:
  7925. description: 企业ID
  7926. type: integer
  7927. curprice:
  7928. description: '[当日现货市场价]当前市场价'
  7929. type: number
  7930. enumdicname:
  7931. description: 单位
  7932. type: string
  7933. exeamount:
  7934. description: '[执行现货金额]执行市价总额'
  7935. type: number
  7936. exeavgprice:
  7937. description: '[执行价]执行市场均价= 执行市价总额 / 执行现货量'
  7938. type: number
  7939. exeqty:
  7940. description: '[执行数量]执行现货量'
  7941. type: number
  7942. futurehedgepl:
  7943. description: 期货实际损益
  7944. type: number
  7945. futurehedgeplchange:
  7946. description: 期货实际变动 = 期货实际损益 - 期初期货实际损益
  7947. type: number
  7948. futurepl:
  7949. description: 期货套期损益
  7950. type: number
  7951. futureplchange:
  7952. description: 期货套期变动 = 期货套期损益 - 期初期货套期损益
  7953. type: number
  7954. hedgeamount:
  7955. description: '[套期现货金额]套期市价总额'
  7956. type: number
  7957. hedgeditemnum:
  7958. description: 项目编号,模糊查询
  7959. type: string
  7960. hedgeditemstatus:
  7961. description: 项目状态 - 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  7962. type: integer
  7963. hedgedtype:
  7964. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  7965. type: integer
  7966. hedgeqty:
  7967. description: '[套期数量]套期现货量'
  7968. type: number
  7969. oriavgprice:
  7970. description: '[期初价]期初市场均价 = 套期市价总额 / 套期现货量'
  7971. type: number
  7972. orifuturehedgepl:
  7973. description: 期初期货实际损益
  7974. type: number
  7975. orifuturepl:
  7976. description: 期初期货套期损益
  7977. type: number
  7978. orispothedgepl:
  7979. description: 期初现货实际损益
  7980. type: number
  7981. orispotpl:
  7982. description: 期初现货套期损益
  7983. type: number
  7984. planenddate:
  7985. description: 计划结束日期
  7986. type: string
  7987. planstartdate:
  7988. description: 计划开始日期
  7989. type: string
  7990. spothedgepl:
  7991. description: 现货实际损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)
  7992. type: number
  7993. spothedgeplchange:
  7994. description: 现货实际变动 = 现货实际损益 - 期初现货实际损益
  7995. type: number
  7996. spotpl:
  7997. description: 现货套期损益 = 现货实际损益 + 现货浮动损益
  7998. type: number
  7999. spotplchange:
  8000. description: 现货套期变动 = 现货套期损益 - 期初现货套期损益
  8001. type: number
  8002. tradeuserid:
  8003. description: 交易用户ID
  8004. type: integer
  8005. unexeqty:
  8006. description: 未执行现货量 = 套期现货量 - 执行现货量
  8007. type: number
  8008. wrstandardcode:
  8009. description: 现货品类代码
  8010. type: string
  8011. wrstandardid:
  8012. description: 现货商品ID
  8013. type: integer
  8014. wrstandardname:
  8015. description: '[现货商品]现货品类名称'
  8016. type: string
  8017. type: object
  8018. models.Ermcp8RunningHedgeditem:
  8019. properties:
  8020. accountname:
  8021. description: 套期主体
  8022. type: string
  8023. applyid:
  8024. description: 申请人
  8025. type: integer
  8026. applysrc:
  8027. description: 申请来源 - 1:管理端 2:终端
  8028. type: integer
  8029. areauserid:
  8030. description: 企业ID
  8031. type: integer
  8032. auditid:
  8033. description: 审核人
  8034. type: integer
  8035. auditremark:
  8036. description: 审核备注
  8037. type: string
  8038. auditsrc:
  8039. description: 审核来源 - 1:管理端 2:终端
  8040. type: integer
  8041. audittime:
  8042. description: 审核时间
  8043. type: string
  8044. audittradedate:
  8045. description: 审核交易日(yyyyMMdd)
  8046. type: string
  8047. createtime:
  8048. description: 申请时间
  8049. type: string
  8050. curprice:
  8051. description: 当前市场价
  8052. type: number
  8053. curstock:
  8054. description: 期末库存量 = 采购总量 - 销售总量
  8055. type: number
  8056. deliverygoodsid:
  8057. description: 现货品种ID
  8058. type: integer
  8059. enddate:
  8060. description: 完成日期
  8061. type: string
  8062. endtradedate:
  8063. description: 完成交易日
  8064. type: string
  8065. enumdicname:
  8066. description: 单位
  8067. type: string
  8068. exeamount:
  8069. description: 执行市价总额
  8070. type: number
  8071. exeavgprice:
  8072. description: 执行市场均价= 执行市价总额 / 执行现货量
  8073. type: number
  8074. execontractamount:
  8075. description: 执行定价总额
  8076. type: number
  8077. exeqty:
  8078. description: 执行现货量
  8079. type: number
  8080. exerestamount:
  8081. description: 执行剩余市价总额【现货贸易】
  8082. type: number
  8083. futurefloatpl:
  8084. description: 期货浮动损益
  8085. type: number
  8086. futurehedgepl:
  8087. description: 期货实际损益
  8088. type: number
  8089. futurehedgeplchange:
  8090. description: 期货实际损益变动
  8091. type: number
  8092. futurepl:
  8093. description: 期货套期损益
  8094. type: number
  8095. futureplchange:
  8096. description: 期货套期损益变动
  8097. type: number
  8098. hedgeamount:
  8099. description: 套期市价总额
  8100. type: number
  8101. hedgecontractamount:
  8102. description: 套期定价总额 【定价采购合同】【现货贸易】
  8103. type: number
  8104. hedgeditemid:
  8105. description: 被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)
  8106. type: string
  8107. hedgeditemname:
  8108. description: 项目名称
  8109. type: string
  8110. hedgeditemnum:
  8111. description: 项目编号
  8112. type: string
  8113. hedgeditemstatus:
  8114. description: 项目状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  8115. type: integer
  8116. hedgedtype:
  8117. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  8118. type: integer
  8119. hedgeqty:
  8120. description: 套期现货量
  8121. type: number
  8122. hedgerate:
  8123. description: 套保比率
  8124. type: number
  8125. hedgerestamount:
  8126. description: 套期剩余市价总额【现货贸易】
  8127. type: number
  8128. hedgesumpl:
  8129. description: 套期汇总损益 = 期货汇总损益 + 现货汇总损益
  8130. type: number
  8131. middlegoodslist:
  8132. description: 套期商品列表
  8133. items:
  8134. $ref: '#/definitions/models.Ermcp2himiddlegoods'
  8135. type: array
  8136. oriavgprice:
  8137. description: 期初市场均价 = 套期市价总额 / 套期现货量
  8138. type: number
  8139. orifuturehedgepl:
  8140. description: 期初期货实际损益
  8141. type: number
  8142. orifuturepl:
  8143. description: 期初期货套期损益
  8144. type: number
  8145. orispothedgepl:
  8146. description: 期初现货实际损益
  8147. type: number
  8148. orispotpl:
  8149. description: 期初现货套期损益
  8150. type: number
  8151. planenddate:
  8152. description: 计划结束日期
  8153. type: string
  8154. planstartdate:
  8155. description: 计划开始日期
  8156. type: string
  8157. remark:
  8158. description: 备注
  8159. type: string
  8160. spotbookamount:
  8161. description: 现货账面总额
  8162. type: number
  8163. spotfloatpl:
  8164. description: 现货浮动损益 =(当前市场价 - 期初市场价)*未执行现货量 * 方向(销售计划 为 -1, 其它为1)
  8165. type: number
  8166. spothedgepl:
  8167. description: 现货套期损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)
  8168. type: number
  8169. spothedgeplchange:
  8170. description: 现货实际损益变动
  8171. type: number
  8172. spotpl:
  8173. description: 现货套期损益 = 现货实际损益 + 现货浮动损益
  8174. type: number
  8175. spotplchange:
  8176. description: 现货套期损益变动
  8177. type: number
  8178. spottradepl:
  8179. description: 现货贸易损益【现货贸易】= 执行合同定价总额 - 套期合同定价总额
  8180. type: number
  8181. sumobspl:
  8182. description: 汇总绝对损益【现货贸易】=现货贸易损益+增值税损益+期货套期损益
  8183. type: number
  8184. tradeuserid:
  8185. description: 交易用户ID
  8186. type: integer
  8187. unexeqty:
  8188. description: 未执行现货量 = 套期现货量 - 执行现货量
  8189. type: number
  8190. updatetime:
  8191. description: 更新时间
  8192. type: string
  8193. vatpl:
  8194. description: 增值税损益【现货贸易】= 现货贸易损益 * (增值税率 /(1+增值税率))
  8195. type: number
  8196. vatrate:
  8197. description: 增值税
  8198. type: number
  8199. wrstandardid:
  8200. description: 现货商品ID
  8201. type: integer
  8202. wrstandardname:
  8203. description: 商品名称
  8204. type: string
  8205. type: object
  8206. models.ErmcpBizGroupEx:
  8207. properties:
  8208. acclist:
  8209. description: 账号列表
  8210. items:
  8211. $ref: '#/definitions/models.ErmcpBizGroupTaAccount'
  8212. type: array
  8213. bizgroupid:
  8214. description: 业务分组id
  8215. type: integer
  8216. biztype:
  8217. description: 业务类型 1-套保 2-套利
  8218. type: integer
  8219. wrlist:
  8220. description: 现货商品表
  8221. items:
  8222. $ref: '#/definitions/models.ErmcpBizGroupSpotGoods'
  8223. type: array
  8224. type: object
  8225. models.ErmcpBizGroupSpotGoods:
  8226. properties:
  8227. areauserid:
  8228. description: 所属机构id
  8229. type: integer
  8230. bizgroupid:
  8231. description: 分组id
  8232. type: integer
  8233. biztype:
  8234. description: 业务类型 1-套保 2-套利
  8235. type: integer
  8236. deliverygoodscode:
  8237. description: 现货商品代码
  8238. type: string
  8239. deliverygoodsid:
  8240. description: 现货商品id
  8241. type: integer
  8242. deliverygoodsname:
  8243. description: 现货商品名称
  8244. type: string
  8245. unitid:
  8246. description: 现货商品单位id
  8247. type: integer
  8248. type: object
  8249. models.ErmcpBizGroupTaAccount:
  8250. properties:
  8251. accountid:
  8252. description: 账号id
  8253. type: integer
  8254. accountname:
  8255. description: 账号名称
  8256. type: string
  8257. areauserid:
  8258. description: 所属机构id
  8259. type: integer
  8260. bizgroupid:
  8261. description: 业务分组id
  8262. type: integer
  8263. ismain:
  8264. description: 是否主账号 1-是 0-否
  8265. type: integer
  8266. type: object
  8267. models.ErmcpDGFactoryItem:
  8268. properties:
  8269. areauserid:
  8270. description: 用户id
  8271. type: integer
  8272. deliverygoodsid:
  8273. description: 现货品种ID
  8274. type: integer
  8275. dgfactoryitemid:
  8276. description: 选择项ID(SEQ_DGFACTORYITEM)
  8277. type: integer
  8278. dgfactoryitemtypeid:
  8279. description: 要素项类型
  8280. type: integer
  8281. dgfactoryitemvalue:
  8282. description: 要素项值(类型为仓库时填写仓库名称)
  8283. type: string
  8284. isvalid:
  8285. description: 是否有效 - 0:无效 1:有效
  8286. type: integer
  8287. orderindex:
  8288. description: 顺序
  8289. type: integer
  8290. warehouseid:
  8291. description: 仓库ID(类型为仓库时填写)
  8292. type: integer
  8293. type: object
  8294. models.ErmcpDeliveryGoods:
  8295. properties:
  8296. agreeunit:
  8297. description: 合约单位[散货时默认为1, 整装时默认为标准数量]
  8298. type: integer
  8299. areauserid:
  8300. description: 所属机构
  8301. type: integer
  8302. auditflag:
  8303. description: 交割是否需要审核 - 0:不需要 1:需要审核 默认为0
  8304. type: integer
  8305. categoryid:
  8306. description: 类别ID(SEQ_WRCATEGORY)
  8307. type: integer
  8308. deliverygoodscode:
  8309. description: 现货品种代码
  8310. type: string
  8311. deliverygoodsid:
  8312. description: 现货品种ID(SEQ_DELIVERYGOODS)
  8313. type: integer
  8314. deliverygoodsname:
  8315. description: 现货品种名称
  8316. type: string
  8317. deliverygoodstype:
  8318. description: '现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细'
  8319. type: integer
  8320. dgstatus:
  8321. description: 品种状态 - 作废 - 0:未激活 1:正常
  8322. type: integer
  8323. enumdicname:
  8324. description: 现货品种单位名称
  8325. type: string
  8326. goodsunitid:
  8327. description: 现货品种单位ID
  8328. type: integer
  8329. isvalid:
  8330. description: 是否有效 - 0:无效 1:有效
  8331. type: integer
  8332. qtydecimalplace:
  8333. description: 成交量小数位
  8334. type: integer
  8335. remark:
  8336. description: 备注
  8337. type: string
  8338. standardqty:
  8339. description: 标准数量(库位数量) [标准品特有]
  8340. type: integer
  8341. standardqtyrange:
  8342. description: 标准数量偏差范围 [标准品特有]
  8343. type: integer
  8344. type: object
  8345. models.ErmcpFuturesCompany:
  8346. properties:
  8347. brokerid:
  8348. description: 经纪公司代码
  8349. type: string
  8350. channeladdress:
  8351. description: 对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001
  8352. type: string
  8353. channelid:
  8354. description: 对冲渠道ID
  8355. type: string
  8356. createtime:
  8357. description: 创建时间
  8358. type: string
  8359. creatorid:
  8360. description: 创建人
  8361. type: string
  8362. fcid:
  8363. description: 期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)
  8364. type: integer
  8365. fcname:
  8366. description: 期货公司名称
  8367. type: string
  8368. isvalid:
  8369. description: 是否有效 - 0:无效 1:有效
  8370. type: integer
  8371. mhpaddress:
  8372. description: MHP服务地址(IP:Port)
  8373. type: string
  8374. riskrulegroupid:
  8375. description: 风控规则组ID
  8376. type: string
  8377. tradefeetmpid:
  8378. description: 手续费模板ID[TradeConfigTmpType为2]
  8379. type: string
  8380. trademargintmpid:
  8381. description: 保证金模板ID [TradeConfigTmpType为1]
  8382. type: string
  8383. traderatetmpid:
  8384. description: 汇率模板ID[TradeConfigTmpType为3]
  8385. type: string
  8386. updatetime:
  8387. description: 更新时间
  8388. type: string
  8389. updatorid:
  8390. description: 更新人
  8391. type: string
  8392. type: object
  8393. models.ErmcpGGConvertCfg:
  8394. properties:
  8395. convertratio:
  8396. description: 折算系数
  8397. type: number
  8398. destgoodsgroupid:
  8399. description: 目标品种ID
  8400. type: integer
  8401. dstcode:
  8402. description: 目录品种代码
  8403. type: string
  8404. dstexchangecode:
  8405. description: 目标期货交易所
  8406. type: string
  8407. dstname:
  8408. description: 目标品种名称
  8409. type: string
  8410. dstunitid:
  8411. description: 目标品种单位ID
  8412. type: integer
  8413. dstunitidname:
  8414. description: 目标品种单位名称
  8415. type: string
  8416. modifytime:
  8417. description: 修改时间
  8418. type: string
  8419. srccode:
  8420. description: 源品种代码
  8421. type: string
  8422. srcexchangecode:
  8423. description: 源期货交易所
  8424. type: string
  8425. srcgoodsgroupid:
  8426. description: 源品种ID
  8427. type: integer
  8428. srcname:
  8429. description: 源品种名称
  8430. type: string
  8431. srcunitid:
  8432. description: 源品种单位ID
  8433. type: integer
  8434. srcunitidname:
  8435. description: 源品种单位名称
  8436. type: string
  8437. type: object
  8438. models.ErmcpGoods:
  8439. properties:
  8440. agreeunit:
  8441. description: 合约单位
  8442. type: number
  8443. areauserid:
  8444. description: 所属机构
  8445. type: integer
  8446. auditaccountid:
  8447. description: 审核操作员账号
  8448. type: integer
  8449. audittime:
  8450. description: 审核时间
  8451. type: string
  8452. cancelaccountid:
  8453. description: 注销操作员账号
  8454. type: integer
  8455. canceltime:
  8456. description: 注销时间
  8457. type: string
  8458. closepricemode:
  8459. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  8460. type: integer
  8461. closepriceparam:
  8462. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  8463. type: number
  8464. createtime:
  8465. description: 创建时间
  8466. type: string
  8467. creatorid:
  8468. description: 创建人
  8469. type: integer
  8470. currencyid:
  8471. description: 报价货币ID
  8472. type: integer
  8473. cutmode:
  8474. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  8475. type: integer
  8476. decimalplace:
  8477. description: 报价小数位
  8478. type: integer
  8479. delistingdate:
  8480. description: 商品退市时间(状态:退市) -- 已作废
  8481. type: string
  8482. delistingmode:
  8483. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  8484. type: integer
  8485. deliveryflag:
  8486. description: 交割标志 - 0:不可交割 1:可交割
  8487. type: integer
  8488. enumdicname:
  8489. description: 单位名称
  8490. type: string
  8491. forceclosemode:
  8492. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  8493. type: integer
  8494. forceclosevalue:
  8495. description: 定期强平参数 [收益权]
  8496. type: integer
  8497. goodscode:
  8498. description: 商品代码(内部)
  8499. type: string
  8500. goodscurrencyid:
  8501. description: 合约货币ID
  8502. type: integer
  8503. goodsgroupid:
  8504. description: 所属商品组ID
  8505. type: integer
  8506. goodsid:
  8507. description: 商品ID(自增ID SEQ_GOODS)
  8508. type: integer
  8509. goodsname:
  8510. description: 商品名称
  8511. type: string
  8512. goodsquotetype:
  8513. description: '合约报价类型: 1-直接报价 2-间接报价'
  8514. type: integer
  8515. goodsstatus:
  8516. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  8517. type: integer
  8518. goodstradetype:
  8519. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  8520. type: integer
  8521. goodunitid:
  8522. description: 报价单位ID
  8523. type: integer
  8524. hasquoter:
  8525. description: 是否有报价商 - 0:无报价商 1:有报价商
  8526. type: integer
  8527. hqprotecttime:
  8528. description: 行情保护时间(秒)
  8529. type: integer
  8530. innerdealmode:
  8531. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  8532. type: integer
  8533. isbuylimited:
  8534. description: 是否限制建仓量 - 0:不限制 1:限制
  8535. type: integer
  8536. isvisible:
  8537. description: 游客是否可见 - 0:不可见 1:可见
  8538. type: integer
  8539. lasttradedate:
  8540. description: 最后交易日期(状态:待退市)
  8541. type: string
  8542. listingdate:
  8543. description: 交易开始日期
  8544. type: string
  8545. marketid:
  8546. description: 所属市场ID
  8547. type: integer
  8548. modifierid:
  8549. description: 修改人
  8550. type: integer
  8551. modifystatus:
  8552. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  8553. type: integer
  8554. modifytime:
  8555. description: 修改时间
  8556. type: string
  8557. outerdealmode:
  8558. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  8559. type: integer
  8560. outgoodscode:
  8561. description: 商品代码(外部)
  8562. type: string
  8563. pictureurl:
  8564. description: 商品图片
  8565. type: string
  8566. qtydecimalplace:
  8567. description: 成交量小数位
  8568. type: integer
  8569. quotegear:
  8570. description: 行情档位(1-10)
  8571. type: integer
  8572. quoteminunit:
  8573. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8574. type: integer
  8575. quoteshowtype:
  8576. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  8577. type: integer
  8578. quoteshowtypeinterval:
  8579. description: 行情报价间隔时间(秒)(成交价时为0)
  8580. type: integer
  8581. relatedgoodsid:
  8582. description: 关联参考商品ID
  8583. type: integer
  8584. remark:
  8585. description: 备注
  8586. type: string
  8587. trademode:
  8588. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8589. 21:竞拍-大宗式 22:受托竞价
  8590. type: integer
  8591. required:
  8592. - goodscode
  8593. - goodsid
  8594. - goodsname
  8595. - marketid
  8596. type: object
  8597. models.ErmcpGoodsBrand:
  8598. properties:
  8599. areauserid:
  8600. description: 所属机构
  8601. type: integer
  8602. brandid:
  8603. description: BrandID(SEQ_SPOTGOODSBRAND)
  8604. type: integer
  8605. brandname:
  8606. description: 品牌名称
  8607. type: string
  8608. createtime:
  8609. description: 创建时间
  8610. type: string
  8611. creatorid:
  8612. description: 创建人
  8613. type: integer
  8614. creatorsrc:
  8615. description: 创建人来源 - 1:管理端 2:终端
  8616. type: integer
  8617. deliverygoodsid:
  8618. description: 现货品种ID
  8619. type: integer
  8620. isvalid:
  8621. description: 是否有效 - 0:无效 1:有效
  8622. type: integer
  8623. updatetime:
  8624. description: 更新时间
  8625. type: string
  8626. updatorid:
  8627. description: 更新人
  8628. type: integer
  8629. updatorsrc:
  8630. description: 更新人来源 - 1:管理端 2:终端
  8631. type: integer
  8632. wrstandardid:
  8633. description: 现货商品ID
  8634. type: integer
  8635. type: object
  8636. models.ErmcpGoodsModel:
  8637. properties:
  8638. areauserid:
  8639. description: 所属机构
  8640. type: integer
  8641. convertfactor:
  8642. description: 标仓系数
  8643. type: number
  8644. createtime:
  8645. description: 创建时间
  8646. type: string
  8647. creatorid:
  8648. description: 创建人
  8649. type: integer
  8650. creatorsrc:
  8651. description: 创建人来源 - 1:管理端 2:终端
  8652. type: integer
  8653. deliverygoodsid:
  8654. description: 现货品种ID
  8655. type: integer
  8656. isvalid:
  8657. description: 是否有效 - 0:无效 1:有效
  8658. type: integer
  8659. modelid:
  8660. description: ModelID(SEQ_SPOTGOODSMODEL)
  8661. type: integer
  8662. modelname:
  8663. description: 型号名称
  8664. type: string
  8665. updatetime:
  8666. description: 更新时间
  8667. type: string
  8668. updatorid:
  8669. description: 更新人
  8670. type: integer
  8671. updatorsrc:
  8672. description: 更新人来源 - 1:管理端 2:终端
  8673. type: integer
  8674. wrstandardid:
  8675. description: 现货商品ID
  8676. type: integer
  8677. type: object
  8678. models.ErmcpHisExposure:
  8679. properties:
  8680. needhedgeexposoure:
  8681. description: 应套保敞口
  8682. type: number
  8683. reckondate:
  8684. description: 日照时期(yyyyMMdd)
  8685. type: string
  8686. totalexposure:
  8687. description: 总敞口
  8688. type: number
  8689. type: object
  8690. models.ErmcpLoginTaAccount:
  8691. properties:
  8692. accountid:
  8693. description: 账号id
  8694. type: integer
  8695. accountname:
  8696. description: 账号名称
  8697. type: string
  8698. type: object
  8699. models.ErmcpLoginUser:
  8700. properties:
  8701. acclist:
  8702. description: 关联资金账号
  8703. items:
  8704. $ref: '#/definitions/models.ErmcpLoginTaAccount'
  8705. type: array
  8706. accountname:
  8707. description: 用户名称
  8708. type: string
  8709. clientroleid:
  8710. description: 角色id(usertype=2)
  8711. type: integer
  8712. createtime:
  8713. description: 创建时间
  8714. type: string
  8715. logincode:
  8716. description: 登录代码
  8717. type: string
  8718. loginid:
  8719. description: 登录id(LOGINID)
  8720. type: integer
  8721. loginname:
  8722. description: 登录名称(loginaccount表中的accountname字段)
  8723. type: string
  8724. loginstatus:
  8725. description: 登录账户状态 - 1:正常 2:冻结 3:无效
  8726. type: integer
  8727. memberuserid:
  8728. description: 所属会员id
  8729. type: integer
  8730. mobile:
  8731. description: 手机号
  8732. type: string
  8733. modifytime:
  8734. description: 修改时间
  8735. type: string
  8736. password:
  8737. description: 密码(不可解密)
  8738. type: string
  8739. rolename:
  8740. description: 角色名称
  8741. type: string
  8742. rolestatus:
  8743. description: 角色状态 1-启用 2-停用
  8744. type: integer
  8745. roletype:
  8746. description: 角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员
  8747. type: string
  8748. userid:
  8749. description: 用户id
  8750. type: integer
  8751. usertype:
  8752. description: 用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  8753. type: integer
  8754. type: object
  8755. models.ErmcpLoginUserEx:
  8756. properties:
  8757. accountstatus:
  8758. description: 账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  8759. type: integer
  8760. mobile:
  8761. description: 手机号
  8762. type: string
  8763. querytype:
  8764. description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  8765. type: integer
  8766. roleid:
  8767. description: 角色id(交易账户->用户id)
  8768. type: integer
  8769. rolename:
  8770. description: 角色名称(交易账户->用户名称)
  8771. type: string
  8772. userlist:
  8773. description: 用户列表
  8774. items:
  8775. $ref: '#/definitions/models.ErmcpLoginUser'
  8776. type: array
  8777. usertype:
  8778. description: 用户类型 2-机构 7-企业成员(云平台)
  8779. type: integer
  8780. type: object
  8781. models.ErmcpMiddleGoodsModel:
  8782. properties:
  8783. areauserid:
  8784. description: 机构用户ID
  8785. type: integer
  8786. createtime:
  8787. description: 修改时间
  8788. type: string
  8789. enumdicname:
  8790. description: 单位名称
  8791. type: string
  8792. evaluateratio:
  8793. description: 估价系数
  8794. type: number
  8795. goodsgroupid:
  8796. description: 关联期货品种ID
  8797. type: integer
  8798. goodsunitid:
  8799. description: 单位ID
  8800. type: integer
  8801. isvalid:
  8802. description: 状态 0-无效(停用) 1-有效(正常)
  8803. type: integer
  8804. middlegoodscode:
  8805. description: 套保品种代码
  8806. type: string
  8807. middlegoodsid:
  8808. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  8809. type: integer
  8810. middlegoodsname:
  8811. description: 套保品种名称
  8812. type: string
  8813. modifytime:
  8814. description: 修改时间
  8815. type: string
  8816. needarbitrageratio:
  8817. description: 套利比例
  8818. type: number
  8819. needhedgeratio:
  8820. description: 套保比率
  8821. type: number
  8822. qtydecimalplace:
  8823. description: 数量小数位
  8824. type: integer
  8825. relatedgoodsid:
  8826. description: 关联交易商品ID
  8827. type: integer
  8828. relatedgoodstype:
  8829. description: 关联商品类型 - 1:期货合约 2:现货品种
  8830. type: integer
  8831. remark:
  8832. description: 备注
  8833. type: string
  8834. type: object
  8835. models.ErmcpMiddlegoodsRelateGoods:
  8836. properties:
  8837. agreeunit:
  8838. description: 合约乘数
  8839. type: number
  8840. convertratio:
  8841. description: 折算系数
  8842. type: number
  8843. enumdicname:
  8844. description: 单位名称(交易商品)
  8845. type: string
  8846. goodscode:
  8847. description: 交易商品代码
  8848. type: string
  8849. goodsgroupid:
  8850. description: 交易品种id
  8851. type: integer
  8852. goodsid:
  8853. description: 商品Id
  8854. type: integer
  8855. goodsname:
  8856. description: 交易商品名称
  8857. type: string
  8858. goodunitid:
  8859. description: 交易商品单位id
  8860. type: integer
  8861. middlegoodsid:
  8862. description: 套保商品id
  8863. type: integer
  8864. middlegoodsname:
  8865. description: 套保商品名称
  8866. type: string
  8867. middlegoodsswcode:
  8868. description: 套保商品代码
  8869. type: string
  8870. needarbitrageratio:
  8871. description: 应套利比例
  8872. type: number
  8873. needhedgeratio:
  8874. description: 应套保比例
  8875. type: number
  8876. type: object
  8877. models.ErmcpRole:
  8878. properties:
  8879. areauserid:
  8880. description: 所属机构
  8881. type: integer
  8882. autoid:
  8883. description: 角色ID(自增ID)
  8884. type: integer
  8885. modifierid:
  8886. description: 修改人(创建人)
  8887. type: integer
  8888. modifiername:
  8889. description: 修改人名称
  8890. type: string
  8891. modifytime:
  8892. description: 修改时间(创建时间)
  8893. type: string
  8894. rolename:
  8895. description: 角色名称
  8896. type: string
  8897. rolestatus:
  8898. description: 角色状态 - 1:启用 2:停用
  8899. type: integer
  8900. roletype:
  8901. description: 角色类型 - 1- 管理端 2- 交易端
  8902. type: integer
  8903. type: object
  8904. models.ErmcpRoleMenu:
  8905. properties:
  8906. iconame:
  8907. description: 菜单图标
  8908. type: string
  8909. ishadrole:
  8910. description: 是否有权限
  8911. type: boolean
  8912. menutype:
  8913. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 5:PCWEB(v6)
  8914. type: integer
  8915. parentcode:
  8916. description: 上级资源代码
  8917. type: string
  8918. remark:
  8919. description: 菜单备注
  8920. type: string
  8921. resourcecode:
  8922. description: 菜单代码
  8923. type: string
  8924. resourcelevel:
  8925. description: 级别
  8926. type: integer
  8927. resourcename:
  8928. description: 菜单名称
  8929. type: string
  8930. roleid:
  8931. description: 角色id
  8932. type: integer
  8933. sort:
  8934. description: 排序
  8935. type: integer
  8936. url:
  8937. description: URL
  8938. type: string
  8939. userid:
  8940. description: 用户id
  8941. type: integer
  8942. type: object
  8943. models.ErmcpRoleMenuEx:
  8944. properties:
  8945. menu:
  8946. $ref: '#/definitions/models.ErmcpRoleMenu'
  8947. description: 父级菜单
  8948. subMenu:
  8949. description: 子级菜单
  8950. items:
  8951. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  8952. type: array
  8953. type: object
  8954. models.ErmcpSpotContractModelEx:
  8955. properties:
  8956. accountname:
  8957. description: 套期主体
  8958. type: string
  8959. amount:
  8960. description: 金额 [1:一口价、3:暂定价]
  8961. type: number
  8962. attachment:
  8963. description: 附件
  8964. type: string
  8965. auditremark:
  8966. description: 审核意见
  8967. type: string
  8968. audittime:
  8969. description: 审核时间
  8970. type: string
  8971. avgprice:
  8972. description: 定价均价 = 已定价金额 / 已定价量
  8973. type: number
  8974. brandname:
  8975. description: 品牌名称
  8976. type: string
  8977. buyuserid:
  8978. description: 采购方ID
  8979. type: integer
  8980. buyusername:
  8981. description: 采购方名称
  8982. type: string
  8983. contracctstatus:
  8984. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  8985. type: integer
  8986. contractmargin:
  8987. description: 合同保证金
  8988. type: number
  8989. contractno:
  8990. description: '[合同编号]现货合同编号'
  8991. type: string
  8992. contracttype:
  8993. description: '[合同类型]现货合同类型 - 1:采购 -1:销售'
  8994. type: integer
  8995. convertfactor:
  8996. description: 标仓系数
  8997. type: number
  8998. createtime:
  8999. description: 创建时间
  9000. type: string
  9001. customername:
  9002. description: 对手方
  9003. type: string
  9004. customeruserid:
  9005. description: 客户ID
  9006. type: integer
  9007. deliveryenddate:
  9008. description: 交收期(结束)
  9009. type: string
  9010. deliverygoodscode:
  9011. description: 现货品种代码
  9012. type: string
  9013. deliverygoodsid:
  9014. description: 现货品种ID
  9015. type: integer
  9016. deliverygoodsname:
  9017. description: 现货品种名称
  9018. type: string
  9019. deliverystartdate:
  9020. description: 交收期(开始)
  9021. type: string
  9022. enddate:
  9023. description: 点价结束日期 [2:点价 3:暂定价]
  9024. type: string
  9025. enumdicname:
  9026. description: 单位名称
  9027. type: string
  9028. goodscode:
  9029. description: 点价合约代码
  9030. type: string
  9031. goodsid:
  9032. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  9033. type: integer
  9034. goodsname:
  9035. description: 点价商品名称
  9036. type: string
  9037. isrelated:
  9038. description: 是否已关联计划项目 - 0:否 1:是
  9039. type: integer
  9040. isrelated2:
  9041. description: 是否已关联现货项目 - 0:否 1:是
  9042. type: integer
  9043. margin:
  9044. description: 当前保证金
  9045. type: number
  9046. modelname:
  9047. description: 型号名称
  9048. type: string
  9049. price:
  9050. description: 价格\暂定价 [1:一口价、3:暂定价]
  9051. type: number
  9052. pricedamount:
  9053. description: 已定价金额 = (点价价格+升贴水) * 数量
  9054. type: number
  9055. pricedqty:
  9056. description: 已定价量
  9057. type: number
  9058. pricemove:
  9059. description: 升贴水 [2:点价 3:暂定价]
  9060. type: number
  9061. pricetype:
  9062. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  9063. type: integer
  9064. producttype:
  9065. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  9066. type: integer
  9067. qty:
  9068. description: '[合同数量]数量'
  9069. type: number
  9070. remark:
  9071. description: 备注
  9072. type: string
  9073. selluserid:
  9074. description: 销售方ID
  9075. type: integer
  9076. sellusername:
  9077. description: 销售方名称
  9078. type: string
  9079. spotamount:
  9080. description: 合同现货金额 [不含升贴水]
  9081. type: number
  9082. spotavgprice:
  9083. description: 现货均价 = 合同现货金额 / 已定价量
  9084. type: number
  9085. spotcontractid:
  9086. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  9087. type: string
  9088. spotgoodsbrandid:
  9089. description: 现货品牌ID
  9090. type: integer
  9091. spotgoodsdesc:
  9092. description: 商品型号
  9093. type: string
  9094. spotgoodsmodelid:
  9095. description: 现货型号ID
  9096. type: integer
  9097. startdate:
  9098. description: 点价开始日期 [2:点价 3:暂定价]
  9099. type: string
  9100. tradeuserid:
  9101. description: 交易用户ID
  9102. type: integer
  9103. unpricedqty:
  9104. description: 未定价量 = 合同数量 - 已定价量
  9105. type: number
  9106. updatetime:
  9107. description: 更新时间
  9108. type: string
  9109. userid:
  9110. description: 机构ID
  9111. type: integer
  9112. wrstandardcode:
  9113. description: 现货商品代码
  9114. type: string
  9115. wrstandardid:
  9116. description: 现货商品ID
  9117. type: integer
  9118. wrstandardname:
  9119. description: '[现货商品]现货商品名称'
  9120. type: string
  9121. type: object
  9122. models.ErmcpTaAccount:
  9123. properties:
  9124. accountid:
  9125. description: 账户id
  9126. type: integer
  9127. accountname:
  9128. description: 账户名称
  9129. type: string
  9130. currencyid:
  9131. description: 币种id
  9132. type: integer
  9133. hedgeaccountcode:
  9134. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  9135. type: string
  9136. ismain:
  9137. description: 是否主账户 0-否 1-是
  9138. type: integer
  9139. parentaccountid:
  9140. description: 父账户id
  9141. type: integer
  9142. relateduserid:
  9143. description: 关联userid
  9144. type: integer
  9145. tradefeetmpid:
  9146. description: 手续费模板id
  9147. type: integer
  9148. tradefeetmpname:
  9149. description: 手续费模板名称
  9150. type: string
  9151. trademargintmpid:
  9152. description: 保证金模板id
  9153. type: integer
  9154. trademargintmpname:
  9155. description: 保证金模板名称
  9156. type: string
  9157. traderatetmpid:
  9158. description: 汇率模板id
  9159. type: integer
  9160. traderatetmpname:
  9161. description: 汇率模板名称
  9162. type: string
  9163. tradestatus:
  9164. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  9165. type: integer
  9166. userid:
  9167. description: 用户id
  9168. type: integer
  9169. type: object
  9170. models.ErmcpTaAccountEx:
  9171. properties:
  9172. mainAcc:
  9173. $ref: '#/definitions/models.ErmcpTaAccountM'
  9174. description: 主账号
  9175. subacclist:
  9176. description: 子账号列表
  9177. items:
  9178. $ref: '#/definitions/models.ErmcpTaAccount'
  9179. type: array
  9180. type: object
  9181. models.ErmcpTaAccountInfo:
  9182. properties:
  9183. accountid:
  9184. description: 资金账户ID
  9185. type: integer
  9186. accountname:
  9187. description: 账户名称
  9188. type: string
  9189. balance:
  9190. description: 期初余额
  9191. type: number
  9192. capitalbalance:
  9193. description: 本金余额[外部子账户实际出入金余额]
  9194. type: number
  9195. closepl:
  9196. description: 今日平仓盈亏
  9197. type: number
  9198. creditdecrease:
  9199. description: 今日授信减少
  9200. type: number
  9201. creditincrease:
  9202. description: 今日授信增加
  9203. type: number
  9204. curdebt:
  9205. description: 期末欠款
  9206. type: number
  9207. currencyid:
  9208. description: 货币ID
  9209. type: integer
  9210. currentbalance:
  9211. description: 期末余额
  9212. type: number
  9213. freezecharge:
  9214. description: 手续费冻结
  9215. type: number
  9216. freezemargin:
  9217. description: 冻结保证金
  9218. type: number
  9219. fromaccountid:
  9220. description: 所属上级账户
  9221. type: integer
  9222. inamount:
  9223. description: 今日入金金额(包括三方入金)
  9224. type: number
  9225. ismain:
  9226. description: 是否母账号 0:不是母账户 1:是母账户
  9227. type: integer
  9228. mortgagecredit:
  9229. description: 授信金额
  9230. type: number
  9231. oridebt:
  9232. description: 期初欠款
  9233. type: number
  9234. orifreezecharge:
  9235. description: 期初手续费冻结
  9236. type: number
  9237. orifreezemargin:
  9238. description: 期初冻结保证金
  9239. type: number
  9240. orimortgagecredit:
  9241. description: 期初授信金额
  9242. type: number
  9243. oriothercredit:
  9244. description: 期初其它授信金额
  9245. type: number
  9246. oriotherfreezemargin:
  9247. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  9248. type: number
  9249. orioutamountfreeze:
  9250. description: 期初出金冻结
  9251. type: number
  9252. oriusedmargin:
  9253. description: 期初占用保证金
  9254. type: number
  9255. othercredit:
  9256. description: 其它授信金额
  9257. type: number
  9258. othercreditdecrease:
  9259. description: 今日其它授信减少
  9260. type: number
  9261. othercreditincrease:
  9262. description: 今日其它授信增加
  9263. type: number
  9264. otherfreezemargin:
  9265. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  9266. type: number
  9267. outamount:
  9268. description: 今日出金金额(包括三方出金)
  9269. type: number
  9270. outamountfreeze:
  9271. description: 出金冻结
  9272. type: number
  9273. outthreshold:
  9274. description: 出金阈值
  9275. type: number
  9276. parentaccountid:
  9277. description: 所属根账号
  9278. type: integer
  9279. paycharge:
  9280. description: 今日手续费支出
  9281. type: number
  9282. relateduserid:
  9283. description: 关联用户
  9284. type: integer
  9285. signstatus:
  9286. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  9287. type: integer
  9288. sublevelpath:
  9289. description: 账号层级路径(逗号分隔,首尾加逗号)
  9290. type: string
  9291. taaccounttype:
  9292. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  9293. type: integer
  9294. thirdinamount:
  9295. description: 今日三方入金
  9296. type: number
  9297. thirdoutamount:
  9298. description: 今日三方出金
  9299. type: number
  9300. tradestatus:
  9301. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  9302. type: integer
  9303. transferamount:
  9304. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  9305. type: number
  9306. usedmargin:
  9307. description: 占用保证金
  9308. type: number
  9309. userid:
  9310. description: 用户ID
  9311. type: integer
  9312. type: object
  9313. models.ErmcpTaAccountM:
  9314. properties:
  9315. accountid:
  9316. description: 账户id
  9317. type: integer
  9318. accountname:
  9319. description: 账户名称
  9320. type: string
  9321. currencyid:
  9322. description: 币种id
  9323. type: integer
  9324. fcid:
  9325. description: 期货公司id
  9326. type: integer
  9327. fcname:
  9328. description: 期货公司代码
  9329. type: string
  9330. hedgeaccountcode:
  9331. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  9332. type: string
  9333. ismain:
  9334. description: 是否主账户 0-否 1-是
  9335. type: integer
  9336. parentaccountid:
  9337. description: 父账户id
  9338. type: integer
  9339. relateduserid:
  9340. description: 关联userid
  9341. type: integer
  9342. tradefeetmpid:
  9343. description: 手续费模板id
  9344. type: integer
  9345. tradefeetmpname:
  9346. description: 手续费模板名称
  9347. type: string
  9348. trademargintmpid:
  9349. description: 保证金模板id
  9350. type: integer
  9351. trademargintmpname:
  9352. description: 保证金模板名称
  9353. type: string
  9354. traderatetmpid:
  9355. description: 汇率模板id
  9356. type: integer
  9357. traderatetmpname:
  9358. description: 汇率模板名称
  9359. type: string
  9360. tradestatus:
  9361. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  9362. type: integer
  9363. userid:
  9364. description: 用户id
  9365. type: integer
  9366. type: object
  9367. models.ErmcpTradeConfigTMP:
  9368. properties:
  9369. areauserid:
  9370. description: 所属机构
  9371. type: integer
  9372. basiccurrencyid:
  9373. description: 基本币种ID[汇率] - 目标币种
  9374. type: integer
  9375. mainaccountid:
  9376. description: 主账户ID
  9377. type: integer
  9378. modifierid:
  9379. description: 修改人
  9380. type: integer
  9381. remark:
  9382. description: 备注
  9383. type: string
  9384. tradeconfigtmpid:
  9385. description: 交易配置模板ID(SEQ_TRADECONFIGTMP)
  9386. type: integer
  9387. tradeconfigtmpname:
  9388. description: 交易配置模板名称
  9389. type: string
  9390. tradeconfigtmptype:
  9391. description: 交易配置模板类型 - 1:保证金 2:手续费 3:汇率
  9392. type: integer
  9393. updatetime:
  9394. description: 更新时间
  9395. type: string
  9396. type: object
  9397. models.Ermcpjrlinkpos:
  9398. properties:
  9399. areauserid:
  9400. description: 所属企业
  9401. type: integer
  9402. averageprice:
  9403. description: 持仓均价 (TotalBuyHoldAmount - TotalSellHoldAmount) / NetQty
  9404. type: number
  9405. closepl:
  9406. description: 总平仓盈亏 [期货损益]
  9407. type: number
  9408. executeprice:
  9409. description: 执行价 - 1:期货单 为 0
  9410. type: integer
  9411. futurehedgeqty:
  9412. description: 期货套期量
  9413. type: number
  9414. goodsid:
  9415. description: 期货合约
  9416. type: integer
  9417. middlegoodscode:
  9418. description: 套保商品代码
  9419. type: string
  9420. middlegoodsname:
  9421. description: 套保商品名称
  9422. type: string
  9423. netqty:
  9424. description: 净头寸
  9425. type: number
  9426. optioncode:
  9427. description: 期权代码
  9428. type: string
  9429. ordertype:
  9430. description: 单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单
  9431. type: integer
  9432. reckonpl:
  9433. description: 总盈亏(平仓盈亏 + 结算盈亏 - 手续费)
  9434. type: number
  9435. spotcontractid:
  9436. description: 现货ID [套期项目ID - 金瑞:合同\虚拟合同ID
  9437. type: string
  9438. todayfutureclosepl:
  9439. description: 今日平仓盈亏
  9440. type: number
  9441. totalbuyamount:
  9442. description: 买金额 [期货]
  9443. type: number
  9444. totalbuyholdamount:
  9445. description: 买持仓总金额[期货]
  9446. type: number
  9447. totalbuyqty:
  9448. description: 买数量
  9449. type: number
  9450. totalcharge:
  9451. description: 手续费
  9452. type: number
  9453. totalpremium:
  9454. description: 权利金 [期权]
  9455. type: number
  9456. totalsellamount:
  9457. description: 卖金额 [期货]
  9458. type: number
  9459. totalsellholdamount:
  9460. description: 卖持仓总金额[期货]
  9461. type: number
  9462. totalsellqty:
  9463. description: 卖数量
  9464. type: number
  9465. updatetime:
  9466. description: 更新时间
  9467. type: string
  9468. required:
  9469. - spotcontractid
  9470. type: object
  9471. models.Ermcppatradelinkdetail:
  9472. properties:
  9473. agreeunit:
  9474. description: 合约乘数
  9475. type: number
  9476. amount:
  9477. description: 金额 = RelatedLot * TradePrice * AgreeUnit
  9478. type: number
  9479. areauserid:
  9480. description: 所属机构
  9481. type: integer
  9482. bizsubjectid:
  9483. description: 归属业务部门ID - SubjectID
  9484. type: integer
  9485. buyorsell:
  9486. description: 方向 - 0:买 1:卖
  9487. type: integer
  9488. convertratio:
  9489. description: 品种系数
  9490. type: number
  9491. createtime:
  9492. description: 创建时间
  9493. type: string
  9494. creatorid:
  9495. description: 创建人ID
  9496. type: integer
  9497. creatorsrc:
  9498. description: 创建人来源 - 1:管理端 2:终端 3:交易
  9499. type: integer
  9500. goodsgroupid:
  9501. description: 对冲品种ID[期货合约商品组ID]
  9502. type: integer
  9503. goodsid:
  9504. description: 商品ID
  9505. type: integer
  9506. hedgeditemid:
  9507. description: 现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]
  9508. type: integer
  9509. hedgeflag:
  9510. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  9511. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目
  9512. type: integer
  9513. linkdetailid:
  9514. description: 期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)
  9515. type: string
  9516. linkstatus:
  9517. description: 关联状态 - 1:成功 2:失败 3:解绑
  9518. type: integer
  9519. middlegoodsid:
  9520. description: 套保品种ID
  9521. type: integer
  9522. name:
  9523. description: 账户名/子账户
  9524. type: string
  9525. optioncode:
  9526. description: '[期货合约]期权代码 [期权]'
  9527. type: string
  9528. ordertype:
  9529. description: 单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单
  9530. type: integer
  9531. relatedlot:
  9532. description: '[数量]关联手数'
  9533. type: number
  9534. relatedmode:
  9535. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  9536. type: integer
  9537. relatedqty:
  9538. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  9539. type: number
  9540. retcode:
  9541. description: 返回码
  9542. type: integer
  9543. saleuserid:
  9544. description: 业务员ID
  9545. type: integer
  9546. tradedate:
  9547. description: 关联交易日(yyyyMMdd)
  9548. type: string
  9549. tradeid:
  9550. description: '[成交单号]内部成交单ID'
  9551. type: string
  9552. tradelot:
  9553. description: 成交手数
  9554. type: integer
  9555. tradeprice:
  9556. description: '[价格]成交价格'
  9557. type: number
  9558. tradetime:
  9559. description: 日期时间
  9560. type: string
  9561. tradetradedate:
  9562. description: 成交交易日(yyyyMMdd)
  9563. type: string
  9564. required:
  9565. - hedgeditemid
  9566. type: object
  9567. models.Externalexchange:
  9568. properties:
  9569. autoid:
  9570. description: AutoID - SEQ_EXTERNALEXCHANGE
  9571. type: integer
  9572. exchangefullname:
  9573. description: 外部交易所全称
  9574. type: string
  9575. exexchangecode:
  9576. description: 外部交易所代码
  9577. type: string
  9578. exexchangename:
  9579. description: 外部交易所名称(简称)
  9580. type: string
  9581. ismarketprice:
  9582. description: 是否支持市价 - 0:不支持 1:支持
  9583. type: integer
  9584. quotegear:
  9585. description: 行情档位(1-10)
  9586. type: integer
  9587. showbrokerflag:
  9588. description: 是否显示买卖经纪盘 - 0:不显示 1:显示
  9589. type: integer
  9590. updatetime:
  9591. description: 更新时间
  9592. type: string
  9593. required:
  9594. - autoid
  9595. type: object
  9596. models.Funcmenulist:
  9597. properties:
  9598. iconame:
  9599. description: 菜单图标
  9600. type: string
  9601. menutype:
  9602. description: 菜单类型 1-管理端 2-交易端 3-终端权限
  9603. type: integer
  9604. parentcode:
  9605. description: 上级资源代码
  9606. type: string
  9607. remark:
  9608. description: 备注
  9609. type: string
  9610. resourcecode:
  9611. description: 资源代码
  9612. type: string
  9613. resourcelevel:
  9614. description: 级别 1-一级 2-二级 3-三级 4-四级
  9615. type: integer
  9616. resourcename:
  9617. description: 资源名
  9618. type: string
  9619. sort:
  9620. description: 排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序
  9621. type: integer
  9622. url:
  9623. description: URL
  9624. type: string
  9625. required:
  9626. - resourcecode
  9627. type: object
  9628. models.GZWarehouseinfo:
  9629. properties:
  9630. address:
  9631. description: 详细地址
  9632. type: string
  9633. areauserid:
  9634. description: 所属机构
  9635. type: integer
  9636. autoid:
  9637. description: 自增ID
  9638. type: integer
  9639. cityid:
  9640. description: 市
  9641. type: integer
  9642. contactname:
  9643. description: 联系人
  9644. type: string
  9645. contactnum:
  9646. description: 联系电话
  9647. type: string
  9648. countryid:
  9649. description: 国家
  9650. type: integer
  9651. createtime:
  9652. description: 创建时间
  9653. type: string
  9654. districtid:
  9655. description: 区
  9656. type: integer
  9657. hasvideo:
  9658. description: 是否有视频 - 0:无 1:有
  9659. type: integer
  9660. provinceid:
  9661. description: 省
  9662. type: integer
  9663. remark:
  9664. description: 审核备注
  9665. type: string
  9666. videourl:
  9667. description: 视频地址
  9668. type: string
  9669. warehousecode:
  9670. description: 仓库代码
  9671. type: string
  9672. warehousename:
  9673. description: 仓库名称
  9674. type: string
  9675. warehousestatus:
  9676. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  9677. type: integer
  9678. warehousetype:
  9679. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  9680. type: integer
  9681. type: object
  9682. models.Goods:
  9683. properties:
  9684. agreeunit:
  9685. description: 合约单位
  9686. type: number
  9687. areauserid:
  9688. description: 所属机构
  9689. type: integer
  9690. auditaccountid:
  9691. description: 审核操作员账号
  9692. type: integer
  9693. audittime:
  9694. description: 审核时间
  9695. type: string
  9696. cancelaccountid:
  9697. description: 注销操作员账号
  9698. type: integer
  9699. canceltime:
  9700. description: 注销时间
  9701. type: string
  9702. closepricemode:
  9703. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  9704. type: integer
  9705. closepriceparam:
  9706. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  9707. type: number
  9708. createtime:
  9709. description: 创建时间
  9710. type: string
  9711. creatorid:
  9712. description: 创建人
  9713. type: integer
  9714. currencyid:
  9715. description: 报价货币ID
  9716. type: integer
  9717. cutmode:
  9718. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  9719. type: integer
  9720. decimalplace:
  9721. description: 报价小数位
  9722. type: integer
  9723. delistingdate:
  9724. description: 商品退市时间(状态:退市) -- 已作废
  9725. type: string
  9726. delistingmode:
  9727. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  9728. type: integer
  9729. deliveryflag:
  9730. description: 交割标志 - 0:不可交割 1:可交割
  9731. type: integer
  9732. forceclosemode:
  9733. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  9734. type: integer
  9735. forceclosevalue:
  9736. description: 定期强平参数 [收益权]
  9737. type: integer
  9738. goodscode:
  9739. description: 商品代码(内部)
  9740. type: string
  9741. goodscurrencyid:
  9742. description: 合约货币ID
  9743. type: integer
  9744. goodsgroupid:
  9745. description: 所属商品组ID
  9746. type: integer
  9747. goodsid:
  9748. description: 商品ID(自增ID SEQ_GOODS)
  9749. type: integer
  9750. goodsname:
  9751. description: 商品名称
  9752. type: string
  9753. goodsquotetype:
  9754. description: '合约报价类型: 1-直接报价 2-间接报价'
  9755. type: integer
  9756. goodsstatus:
  9757. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  9758. type: integer
  9759. goodstradetype:
  9760. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  9761. type: integer
  9762. goodunitid:
  9763. description: 报价单位ID
  9764. type: integer
  9765. hasquoter:
  9766. description: 是否有报价商 - 0:无报价商 1:有报价商
  9767. type: integer
  9768. hqprotecttime:
  9769. description: 行情保护时间(秒)
  9770. type: integer
  9771. innerdealmode:
  9772. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  9773. type: integer
  9774. isbuylimited:
  9775. description: 是否限制建仓量 - 0:不限制 1:限制
  9776. type: integer
  9777. isvisible:
  9778. description: 游客是否可见 - 0:不可见 1:可见
  9779. type: integer
  9780. lasttradedate:
  9781. description: 最后交易日期(状态:待退市)
  9782. type: string
  9783. listingdate:
  9784. description: 交易开始日期
  9785. type: string
  9786. marketid:
  9787. description: 所属市场ID
  9788. type: integer
  9789. modifierid:
  9790. description: 修改人
  9791. type: integer
  9792. modifystatus:
  9793. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  9794. type: integer
  9795. modifytime:
  9796. description: 修改时间
  9797. type: string
  9798. outerdealmode:
  9799. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  9800. type: integer
  9801. outgoodscode:
  9802. description: 商品代码(外部)
  9803. type: string
  9804. pictureurl:
  9805. description: 商品图片
  9806. type: string
  9807. qtydecimalplace:
  9808. description: 成交量小数位
  9809. type: integer
  9810. quotegear:
  9811. description: 行情档位(1-10)
  9812. type: integer
  9813. quoteminunit:
  9814. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9815. type: integer
  9816. quoteshowtype:
  9817. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  9818. type: integer
  9819. quoteshowtypeinterval:
  9820. description: 行情报价间隔时间(秒)(成交价时为0)
  9821. type: integer
  9822. remark:
  9823. description: 备注
  9824. type: string
  9825. required:
  9826. - goodscode
  9827. - goodsid
  9828. - goodsname
  9829. - marketid
  9830. type: object
  9831. models.GoodsIDAndName:
  9832. properties:
  9833. goodscode:
  9834. description: 商品代码(内部)
  9835. type: string
  9836. goodsid:
  9837. description: 商品ID(自增ID SEQ_GOODS)
  9838. type: integer
  9839. goodsname:
  9840. description: 商品名称
  9841. type: string
  9842. marketid:
  9843. description: 所属市场ID
  9844. type: integer
  9845. required:
  9846. - goodscode
  9847. - goodsid
  9848. - goodsname
  9849. - marketid
  9850. type: object
  9851. models.Goodsgroup:
  9852. properties:
  9853. agreeunit:
  9854. description: 合约单位
  9855. type: number
  9856. canshort:
  9857. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  9858. type: integer
  9859. closepricemode:
  9860. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  9861. type: integer
  9862. closepriceparam:
  9863. description: 强平最新价浮动比例 - 方式为2时使用
  9864. type: number
  9865. createtime:
  9866. description: 创建时间
  9867. type: string
  9868. creatorid:
  9869. description: 创建人
  9870. type: integer
  9871. currencyid:
  9872. description: 报价货币ID
  9873. type: integer
  9874. decimalplace:
  9875. description: 报价小数位
  9876. type: integer
  9877. exercisetype:
  9878. description: 行权类型[场外期权]-1:欧式期权 2:美式期权
  9879. type: integer
  9880. exexchangeid:
  9881. description: 外部交易所ID[通道交易]
  9882. type: integer
  9883. goodsgroupid:
  9884. description: 商品组ID(自增ID)
  9885. type: integer
  9886. goodsgroupname:
  9887. description: 商品组名称
  9888. type: string
  9889. goodsgroupstatus:
  9890. description: 商品组状态 - 1:正常 2:注销
  9891. type: integer
  9892. goodunitid:
  9893. description: 报价单位ID
  9894. type: integer
  9895. innerdealmode:
  9896. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  9897. type: integer
  9898. isbuylimited:
  9899. description: 是否限制建仓量 - 0:不限制 1:限制
  9900. type: integer
  9901. marketid:
  9902. description: 所属市场ID
  9903. type: integer
  9904. modifierid:
  9905. description: 修改人
  9906. type: integer
  9907. modifytime:
  9908. description: 修改时间
  9909. type: string
  9910. outerdealmode:
  9911. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  9912. type: integer
  9913. outergroupcode:
  9914. description: 外部商品组代码[通道交易]
  9915. type: string
  9916. premiumdecimalplace:
  9917. description: 权利金小数位[场外期权]
  9918. type: integer
  9919. premiumspreadalgorithm:
  9920. description: 权利金点差方式[场外期权] 1:比率 2:固定
  9921. type: integer
  9922. premiumspreadvalue:
  9923. description: 权利金点差值[场外期权]
  9924. type: number
  9925. qtydecimalplace:
  9926. description: 成交量小数位
  9927. type: integer
  9928. quotegear:
  9929. description: 行情档位(1-10)
  9930. type: integer
  9931. quoteminunit:
  9932. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9933. type: integer
  9934. quoterid:
  9935. description: 报价商ID[场外期权]
  9936. type: integer
  9937. quotesourcegroupid:
  9938. description: 所属行情源分组ID[参考行情市场用\通道交易]
  9939. type: integer
  9940. syncgoodsqty:
  9941. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  9942. type: integer
  9943. required:
  9944. - goodsgroupid
  9945. - goodsgroupname
  9946. - goodsgroupstatus
  9947. - marketid
  9948. type: object
  9949. models.Goodssortbypreposition:
  9950. properties:
  9951. goodscode:
  9952. description: 合约代码 - 易盛接口:合约代码=品种代码+合约代码
  9953. type: string
  9954. goodsgroupcode:
  9955. description: 品种代码
  9956. type: string
  9957. prepositionqty:
  9958. description: 昨持仓量
  9959. type: integer
  9960. sortindex:
  9961. description: 排序
  9962. type: integer
  9963. tradedate:
  9964. description: 交易日
  9965. type: string
  9966. updatetime:
  9967. description: 更新时间
  9968. type: string
  9969. required:
  9970. - goodscode
  9971. - tradedate
  9972. type: object
  9973. models.Hedgeinnerholderdetail:
  9974. properties:
  9975. accountid:
  9976. description: 账号ID
  9977. type: integer
  9978. buyorsell:
  9979. description: 方向 - 0:买 1:卖
  9980. type: integer
  9981. freezeqty:
  9982. description: 冻结数量 - 按单平使用
  9983. type: integer
  9984. goodsid:
  9985. description: 商品ID
  9986. type: integer
  9987. holderamount:
  9988. description: 持仓金额 [商品币种]
  9989. type: number
  9990. holderdays:
  9991. description: 剩余冻结天数
  9992. type: integer
  9993. holderprice:
  9994. description: 持仓价格
  9995. type: number
  9996. holderqty:
  9997. description: 持仓数量
  9998. type: integer
  9999. marketid:
  10000. description: 市场ID
  10001. type: integer
  10002. openprice:
  10003. description: 建仓价格
  10004. type: number
  10005. openqty:
  10006. description: 建仓数量
  10007. type: integer
  10008. parentaccountid:
  10009. description: 所属母账户
  10010. type: integer
  10011. releaseamount:
  10012. description: 释放持仓金额[商品币种]
  10013. type: number
  10014. tradeamount:
  10015. description: 成交金额[账户]
  10016. type: number
  10017. tradedate:
  10018. description: 交易日(yyyyMMdd)
  10019. type: string
  10020. tradeid:
  10021. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10022. type: string
  10023. tradetime:
  10024. description: 交易时间
  10025. type: string
  10026. required:
  10027. - buyorsell
  10028. - tradeid
  10029. type: object
  10030. models.Hedgemarketopenlog:
  10031. properties:
  10032. accountid:
  10033. description: 资金账号[外部母账户]
  10034. type: integer
  10035. fcname:
  10036. description: 期货公司名称
  10037. type: string
  10038. handlestatus:
  10039. description: 处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp
  10040. type: integer
  10041. marketid:
  10042. description: 市场ID
  10043. type: integer
  10044. status:
  10045. description: 状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败
  10046. type: integer
  10047. tradedate:
  10048. description: 交易日(yyyyMMdd)
  10049. type: string
  10050. updatetime:
  10051. description: 更新时间
  10052. type: string
  10053. required:
  10054. - accountid
  10055. type: object
  10056. models.InternalEnableTradeDetail:
  10057. properties:
  10058. agreeunit:
  10059. description: 合约乘数
  10060. type: number
  10061. areauserid:
  10062. description: 企业ID
  10063. type: integer
  10064. convertratio:
  10065. description: 品种系数
  10066. type: number
  10067. deliverygoodscode:
  10068. description: 现货品种代码
  10069. type: string
  10070. deliverygoodsid:
  10071. description: 现货品种ID(SEQ_DELIVERYGOODS)
  10072. type: integer
  10073. deliverygoodsname:
  10074. description: 现货品种名称
  10075. type: string
  10076. futurehedgeqty:
  10077. description: '[已关联数量]期货持仓套期量'
  10078. type: number
  10079. goodsid:
  10080. description: 期货合约ID
  10081. type: integer
  10082. hedgeditemid:
  10083. description: 被套期项目ID
  10084. type: string
  10085. hedgeditemnum:
  10086. description: 项目编号
  10087. type: string
  10088. tradeuserid:
  10089. description: 交易用户ID
  10090. type: integer
  10091. unexehedgeqty:
  10092. description: 未执行套期量 = 未执行现货量*折算系数* (1/(1+增值税)) * 套期比例(项目上)
  10093. type: number
  10094. unexespotqty:
  10095. description: 未执行现货量
  10096. type: number
  10097. wrstandardcode:
  10098. description: 现货品类代码
  10099. type: string
  10100. wrstandardid:
  10101. description: 现货品类ID(SEQ_WRSTANDARD)
  10102. type: integer
  10103. wrstandardname:
  10104. description: 现货品类名称
  10105. type: string
  10106. required:
  10107. - areauserid
  10108. - goodsid
  10109. - tradeuserid
  10110. type: object
  10111. models.InternalUncorrelatedTradeDetail:
  10112. properties:
  10113. accountid:
  10114. description: 账号ID
  10115. type: integer
  10116. accountname:
  10117. description: 套期主体
  10118. type: string
  10119. agreeunit:
  10120. description: 合约乘数
  10121. type: number
  10122. areauserid:
  10123. description: 所属机构
  10124. type: integer
  10125. bizsubjectid:
  10126. description: 归属业务部门ID - SubjectID
  10127. type: integer
  10128. buyorsell:
  10129. description: 方向 - 0:买 1:卖
  10130. type: integer
  10131. channelbuildtype:
  10132. description: 委托单据类型 0:无 1:建仓 2:平仓
  10133. type: integer
  10134. convertratio:
  10135. description: 品种系数
  10136. type: number
  10137. createtime:
  10138. description: 创建时间
  10139. type: string
  10140. creatorid:
  10141. description: 创建人ID
  10142. type: integer
  10143. creatorsrc:
  10144. description: 创建人来源 - 1:管理端 2:终端 3:交易
  10145. type: integer
  10146. enableqty:
  10147. description: 项目可关联数量 = 套保品种数量 - 关联数量
  10148. type: number
  10149. enumdicname:
  10150. description: 单位
  10151. type: string
  10152. goodscode:
  10153. description: 合约代码
  10154. type: string
  10155. goodsgroupid:
  10156. description: 对冲品种ID[期货合约商品组ID]
  10157. type: integer
  10158. goodsid:
  10159. description: 商品ID
  10160. type: integer
  10161. goodsname:
  10162. description: 合约名称
  10163. type: string
  10164. hedgeditemid:
  10165. description: 现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]
  10166. type: integer
  10167. hedgeflag:
  10168. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  10169. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目
  10170. type: integer
  10171. linkdetailid:
  10172. description: 期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)
  10173. type: string
  10174. linkstatus:
  10175. description: 关联状态 - 1:成功 2:失败 3:解绑
  10176. type: integer
  10177. middlegoodsid:
  10178. description: 套保品种ID
  10179. type: integer
  10180. middlegoodsqty:
  10181. description: '[套期商品数量]套保品种数量 = TradeQty * AgreeUnit * ConvertRatio'
  10182. type: number
  10183. relatedlot:
  10184. description: '[数量]关联手数'
  10185. type: number
  10186. relatedmode:
  10187. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  10188. type: integer
  10189. relatedqty:
  10190. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  10191. type: number
  10192. retcode:
  10193. description: 返回码
  10194. type: integer
  10195. saleuserid:
  10196. description: 业务员ID
  10197. type: integer
  10198. tradedate:
  10199. description: 关联交易日(yyyyMMdd)
  10200. type: string
  10201. tradeid:
  10202. description: 成交单号
  10203. type: string
  10204. tradelot:
  10205. description: 成交手数
  10206. type: integer
  10207. tradeprice:
  10208. description: 成交价
  10209. type: number
  10210. tradetime:
  10211. description: 成交时间
  10212. type: string
  10213. tradetradedate:
  10214. description: 成交交易日(yyyyMMdd)
  10215. type: string
  10216. tradeuserid:
  10217. description: 交易用户ID
  10218. type: integer
  10219. type: object
  10220. models.Loginaccount:
  10221. properties:
  10222. accountname:
  10223. description: 账户名称
  10224. type: string
  10225. canoutin:
  10226. description: 是否可出入金 - 0:不可 1:可
  10227. type: integer
  10228. clientroleid:
  10229. description: 终端角色ID
  10230. type: integer
  10231. haslogined:
  10232. description: 是否已登录 - 0:未登录 1:已登录
  10233. type: integer
  10234. hasupdatedpwd:
  10235. description: 是否已更改密码 - 0:未修改 1:已修改
  10236. type: integer
  10237. lastloginip:
  10238. description: 最新登录地址
  10239. type: string
  10240. lastloginmode:
  10241. description: 最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端
  10242. 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  10243. type: integer
  10244. lastloginremark:
  10245. description: 最新登录描述
  10246. type: string
  10247. lastlogintime:
  10248. description: 最新登录时间
  10249. type: string
  10250. logincode:
  10251. description: 登录代码
  10252. type: string
  10253. loginfailnum:
  10254. description: 连续登录失败次数(登录成功时清零)
  10255. type: integer
  10256. loginid:
  10257. description: 登陆账号
  10258. type: integer
  10259. loginport:
  10260. description: 最新登录端口
  10261. type: integer
  10262. loginstatus:
  10263. description: 登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)
  10264. type: integer
  10265. loginusertype:
  10266. description: 登录账号类型 - 1:投资者 2:机构交易员
  10267. type: integer
  10268. mobile:
  10269. description: 手机号码(加密存储)
  10270. type: string
  10271. modifierid:
  10272. description: 修改人
  10273. type: integer
  10274. modifysrc:
  10275. description: 审核来源 - 1:管理端 2:终端
  10276. type: integer
  10277. modifytime:
  10278. description: 修改时间
  10279. type: string
  10280. password:
  10281. description: 登陆密码
  10282. type: string
  10283. pwdwrongcount:
  10284. description: 密码错误次数
  10285. type: integer
  10286. relateduserid:
  10287. description: 关联用户ID(机构)
  10288. type: integer
  10289. taaccountrighttype:
  10290. description: 资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限
  10291. type: integer
  10292. unfreezetime:
  10293. description: 账户解冻时间
  10294. type: string
  10295. userid:
  10296. description: 用户ID
  10297. type: integer
  10298. required:
  10299. - loginid
  10300. type: object
  10301. models.MainAccountInfo:
  10302. properties:
  10303. accountid:
  10304. description: 账号id
  10305. type: integer
  10306. accountname:
  10307. description: 账号名称(taaccount表中的名称)
  10308. type: string
  10309. appid:
  10310. description: AppID
  10311. type: string
  10312. authcode:
  10313. description: 授权码
  10314. type: string
  10315. brokerid:
  10316. description: 经纪商id
  10317. type: string
  10318. fcid:
  10319. description: 期货公司id
  10320. type: integer
  10321. fcname:
  10322. description: 期货公司代码
  10323. type: string
  10324. hedgeaccountcode:
  10325. description: 外部账号代码(主账号登录代码)
  10326. type: string
  10327. hedgeaccountpwd:
  10328. description: 密码
  10329. type: string
  10330. ismain:
  10331. description: 是否主账号
  10332. type: integer
  10333. relateduserid:
  10334. description: 关联用户id
  10335. type: integer
  10336. userid:
  10337. description: 关联用户id
  10338. type: integer
  10339. type: object
  10340. models.Market:
  10341. properties:
  10342. auctionwrtype:
  10343. description: 竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可
  10344. type: integer
  10345. canacceptquote:
  10346. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  10347. type: integer
  10348. cangoodsexercise:
  10349. description: '[期权]是否可现货行权- 0:否 1:是'
  10350. type: integer
  10351. cangoodsexercisetype:
  10352. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  10353. type: integer
  10354. canmanualquotestrike:
  10355. description: 是否可手动报行权价- 0:否 1:是 [期权]
  10356. type: integer
  10357. canmutistage:
  10358. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  10359. type: integer
  10360. canpreexercise:
  10361. description: '[期权]是否可预申报- 0:否 1:是'
  10362. type: integer
  10363. clearinterval:
  10364. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  10365. type: integer
  10366. contracttmp:
  10367. description: 合同模板[荷兰式][竞价式][仓单贸易]
  10368. type: string
  10369. exchareaid:
  10370. description: 所属交易所,可以没有
  10371. type: integer
  10372. goodstype:
  10373. description: 商品类型 - 1:交易商品 2:仓单商品
  10374. type: integer
  10375. hasrebate:
  10376. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  10377. type: integer
  10378. hastradecredit:
  10379. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  10380. type: integer
  10381. haswr:
  10382. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  10383. type: integer
  10384. isdeductmargin:
  10385. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  10386. type: integer
  10387. isrecordsource:
  10388. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  10389. type: integer
  10390. isreleasemargin:
  10391. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  10392. type: integer
  10393. marginformula:
  10394. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  10395. type: integer
  10396. marginformula2:
  10397. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  10398. type: integer
  10399. marketid:
  10400. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  10401. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  10402. type: integer
  10403. marketname:
  10404. description: 市场名称
  10405. type: string
  10406. marketserviceid:
  10407. description: 市场服务ID
  10408. type: integer
  10409. marketstatus:
  10410. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  10411. type: integer
  10412. markettype:
  10413. description: 市场类型- 1:非交易服务 2:交易服务
  10414. type: integer
  10415. matchermode:
  10416. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手
  10417. type: integer
  10418. openmethod:
  10419. description: 开盘模式 - 0 自动 1手动
  10420. type: integer
  10421. otcuserid:
  10422. description: 场外期权做市商[场外期权]
  10423. type: integer
  10424. outersynctime:
  10425. description: 外部同步时间点(h24:mi:ss)[场外期权]
  10426. type: string
  10427. pendingflag:
  10428. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  10429. type: integer
  10430. pendingtime:
  10431. description: 待开市时间[通道交易-对冲](HH:mm)
  10432. type: string
  10433. performancetempid:
  10434. description: 履约计划模板ID - 作废
  10435. type: integer
  10436. premiumquotemode:
  10437. description: 权利金报价方式 - 1:自动 2:手动
  10438. type: integer
  10439. rebateratio:
  10440. description: 返利比率[竞价式]
  10441. type: number
  10442. reckonorder:
  10443. description: 结算顺序
  10444. type: integer
  10445. reckonpricealgorithm:
  10446. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  10447. 6.卖一价 7.买一卖一均价 8.外部结算价'
  10448. type: integer
  10449. reckonpriceparam:
  10450. description: 结算价参数
  10451. type: integer
  10452. reckontime:
  10453. description: 结算时间[通道交易-对冲](HH:mm)
  10454. type: string
  10455. roleprioritytype:
  10456. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  10457. type: integer
  10458. selllistingauditflag:
  10459. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  10460. type: integer
  10461. trademarkettype:
  10462. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  10463. type: integer
  10464. trademode:
  10465. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10466. 21:竞拍-大宗式 22:受托竞价
  10467. type: integer
  10468. tradeproperty:
  10469. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  10470. 8:场外期权
  10471. type: integer
  10472. tradetype:
  10473. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  10474. type: integer
  10475. required:
  10476. - marketid
  10477. - marketstatus
  10478. - openmethod
  10479. - reckonpricealgorithm
  10480. - trademode
  10481. - tradeproperty
  10482. type: object
  10483. models.Marketcalendar:
  10484. properties:
  10485. holidaydate:
  10486. description: 节假日期(yyyy-MM-dd)
  10487. type: string
  10488. marketid:
  10489. description: 市场ID
  10490. type: integer
  10491. type: object
  10492. models.Marketrun:
  10493. properties:
  10494. afternexttradedate:
  10495. description: 下下交易日
  10496. type: string
  10497. clearquoteflag:
  10498. description: 行情清盘标志- 1:未发送 2:已发送 3:已回复
  10499. type: integer
  10500. lastreckondate:
  10501. description: 最新交易日(结算成功)
  10502. type: string
  10503. machinedate:
  10504. description: 机器时间
  10505. type: string
  10506. manualflag:
  10507. description: 手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)
  10508. type: integer
  10509. marketid:
  10510. description: 市场ID
  10511. type: integer
  10512. nexttradedate:
  10513. description: 下一交易日
  10514. type: string
  10515. pretradedate:
  10516. description: 上一交易日
  10517. type: string
  10518. reckonflag:
  10519. description: '结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)'
  10520. type: integer
  10521. runstatus:
  10522. description: 运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始
  10523. 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败
  10524. 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内)
  10525. 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功
  10526. 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始
  10527. 62.今日免清算
  10528. type: integer
  10529. sectionid:
  10530. description: 时间段号[多时段时用]
  10531. type: integer
  10532. tradedate:
  10533. description: 当前交易日(服务) 资金结算完成即变更,供交易服务使用
  10534. type: string
  10535. tradedate2:
  10536. description: 当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  10537. type: string
  10538. updatetime:
  10539. description: 更新时间
  10540. type: string
  10541. required:
  10542. - marketid
  10543. - nexttradedate
  10544. - reckonflag
  10545. - runstatus
  10546. - tradedate
  10547. - tradedate2
  10548. type: object
  10549. models.Messageboard:
  10550. properties:
  10551. contactnum:
  10552. description: 联系电话
  10553. type: string
  10554. createtime:
  10555. description: 创建时间
  10556. type: string
  10557. message:
  10558. description: 留言信息
  10559. type: string
  10560. messageboardid:
  10561. description: 留言簿ID(SEQ_MessageBoard)
  10562. type: integer
  10563. userid:
  10564. description: 用户ID
  10565. type: integer
  10566. required:
  10567. - messageboardid
  10568. type: object
  10569. models.MyBargainApply:
  10570. properties:
  10571. accountid:
  10572. description: 摘牌资金账号
  10573. type: integer
  10574. applyprice:
  10575. description: 申请价格
  10576. type: string
  10577. applyremark:
  10578. description: 申请备注
  10579. type: string
  10580. applystatus:
  10581. description: 申请状态 - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  10582. type: integer
  10583. applytime:
  10584. description: 申请时间
  10585. type: string
  10586. buyorsell:
  10587. description: 买卖 - 0:买 1:卖
  10588. type: integer
  10589. confirmprice:
  10590. description: 可接受价格(拒绝时填写)-作废
  10591. type: number
  10592. confirmqty:
  10593. description: 可接受数量(拒绝时填写)-作废
  10594. type: integer
  10595. confirmremark:
  10596. description: 确认备注
  10597. type: string
  10598. confirmtime:
  10599. description: 确认时间
  10600. type: string
  10601. confirmuserid:
  10602. description: 确认人
  10603. type: integer
  10604. handlestatus:
  10605. description: 处理状态
  10606. type: integer
  10607. ladingbillid:
  10608. description: 摘牌方提单ID [卖]
  10609. type: integer
  10610. marketid:
  10611. description: 市场ID
  10612. type: integer
  10613. matchaccountid:
  10614. description: 挂牌方资金账号
  10615. type: integer
  10616. matchuserid:
  10617. description: 挂牌方用户ID
  10618. type: integer
  10619. qty:
  10620. description: 申请数量
  10621. type: integer
  10622. refprice:
  10623. description: 参考价格
  10624. type: string
  10625. retcode:
  10626. description: 委托返回代码
  10627. type: integer
  10628. sellusername:
  10629. description: 卖方
  10630. type: string
  10631. subnum:
  10632. description: 摘牌方提单子单号 [卖]
  10633. type: integer
  10634. tradedate:
  10635. description: 交易日(yyyyMMdd)
  10636. type: string
  10637. userid:
  10638. description: 摘牌人用户ID
  10639. type: integer
  10640. wrbargainid:
  10641. description: '[询价单号]议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)'
  10642. type: integer
  10643. wrtradeorderid:
  10644. description: 关联委托单ID
  10645. type: integer
  10646. required:
  10647. - userid
  10648. type: object
  10649. models.MyBuyOrder:
  10650. properties:
  10651. accountid:
  10652. description: 资金账户ID
  10653. type: integer
  10654. marketid:
  10655. description: 市场ID
  10656. type: integer
  10657. ordertime:
  10658. description: 委托时间
  10659. type: string
  10660. origin:
  10661. description: 原产地
  10662. type: string
  10663. remark:
  10664. description: 备注
  10665. type: string
  10666. userid:
  10667. description: 用户ID
  10668. type: integer
  10669. validtime:
  10670. description: 有效期限
  10671. type: string
  10672. warehouseids:
  10673. description: 仓库ID - 多个, 逗号分隔
  10674. type: string
  10675. warehouseinfosdisplay:
  10676. type: string
  10677. wrtradeorderid:
  10678. description: '[委托单号]买委托单ID(320+Unix秒时间戳(10位)+xxxxxx)'
  10679. type: integer
  10680. wrtradeorderstatus:
  10681. 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、
  10682. type: integer
  10683. zscategory:
  10684. description: 钻石分类 - 枚举”ZSCategory“
  10685. type: integer
  10686. zscategorydisplay:
  10687. type: string
  10688. zsclaritytype:
  10689. description: 净度 - 两个, 逗号分隔
  10690. type: string
  10691. zsclaritytypedisplay:
  10692. type: string
  10693. zscolortype:
  10694. description: 颜色 - 两个, 逗号分隔
  10695. type: string
  10696. zscolortypedisplay:
  10697. type: string
  10698. zscrystaltype:
  10699. description: 晶型 - 多个,逗号分隔
  10700. type: string
  10701. zscrystaltypedisplay:
  10702. type: string
  10703. zscurrencytype:
  10704. description: 货币类型 - 多个, 逗号分隔
  10705. type: string
  10706. zscurrencytypedisplay:
  10707. type: string
  10708. zscuttype:
  10709. description: 切工 - 两个, 逗号分隔
  10710. type: string
  10711. zscuttypedisplay:
  10712. type: string
  10713. zsczcolor1type:
  10714. description: 彩钻颜色1, 逗号分隔
  10715. type: string
  10716. zsczcolor1typedisplay:
  10717. type: string
  10718. zsczcolor2type:
  10719. description: 彩钻颜色2, 逗号分隔
  10720. type: string
  10721. zsczcolor2typedisplay:
  10722. type: string
  10723. zsczcolor3type:
  10724. description: 彩钻颜色3, 逗号分隔
  10725. type: string
  10726. zsczcolor3typedisplay:
  10727. type: string
  10728. zsfluorescencetype:
  10729. description: 荧光 - 多个, 逗号分隔
  10730. type: string
  10731. zsfluorescencetypedisplay:
  10732. type: string
  10733. zspolishtype:
  10734. description: 抛光度 - 两个, 逗号分隔
  10735. type: string
  10736. zspolishtypedisplay:
  10737. type: string
  10738. zsshapetype:
  10739. description: 形状 - 多个, 逗号分隔
  10740. type: string
  10741. zsshapetypedisplay:
  10742. type: string
  10743. zssize:
  10744. description: 尺寸 - 两个小数, 逗号分隔
  10745. type: string
  10746. zsstyletype:
  10747. description: 款式 - 多个, 逗号分隔
  10748. type: string
  10749. zsstyletypedisplay:
  10750. type: string
  10751. zssymmetrytype:
  10752. description: 对称度 - 两个, 逗号分隔
  10753. type: string
  10754. zssymmetrytypedisplay:
  10755. type: string
  10756. zstabledisplay:
  10757. description: 求购信息
  10758. type: string
  10759. required:
  10760. - userid
  10761. type: object
  10762. models.MyDeListing:
  10763. properties:
  10764. buyaccountid:
  10765. description: 买方账号ID
  10766. type: integer
  10767. buychargevalue:
  10768. description: 买方手续费
  10769. type: number
  10770. buyorsell:
  10771. description: 方向 - 0:全部 1:买 2:卖
  10772. type: integer
  10773. buyuserid:
  10774. description: 买方用户ID
  10775. type: integer
  10776. deliverygoodsid:
  10777. description: 现货品种ID
  10778. type: integer
  10779. exchangerate:
  10780. description: 汇率
  10781. type: number
  10782. goodsno:
  10783. description: 商品编号
  10784. type: string
  10785. marketid:
  10786. description: 市场ID
  10787. type: integer
  10788. matchusername:
  10789. description: 对手方
  10790. type: string
  10791. oritradeamount:
  10792. description: 成交金额[商品币种]
  10793. type: number
  10794. performanceplanid:
  10795. description: 履约计划ID/合同ID
  10796. type: integer
  10797. qty:
  10798. description: 成交重量
  10799. type: number
  10800. sellaccountid:
  10801. description: 卖方账号ID
  10802. type: integer
  10803. sellchargevalue:
  10804. description: 卖方手续费
  10805. type: number
  10806. selluserid:
  10807. description: 卖方用户ID
  10808. type: integer
  10809. tradeamount:
  10810. description: 成交金额
  10811. type: number
  10812. tradedate:
  10813. description: 交易日(yyyyMMdd)
  10814. type: string
  10815. tradeprice:
  10816. description: 成交价格
  10817. type: number
  10818. tradetime:
  10819. description: 成交时间
  10820. type: string
  10821. userid:
  10822. description: 用户ID
  10823. type: integer
  10824. wrfactortypeid:
  10825. description: 仓单要素类型ID
  10826. type: integer
  10827. wrstandardid:
  10828. description: 现货商品ID
  10829. type: integer
  10830. wrtradedetailid:
  10831. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  10832. type: integer
  10833. zscategory:
  10834. description: 钻石分类 - 枚举”ZSCategory“
  10835. type: integer
  10836. zscategorydisplay:
  10837. type: string
  10838. zscurrencytype:
  10839. description: 货币类型 - 枚举“ZSCurrencyType”
  10840. type: integer
  10841. required:
  10842. - userid
  10843. type: object
  10844. models.MyDelistingApply:
  10845. properties:
  10846. applyprice:
  10847. description: 申请价格
  10848. type: number
  10849. applyqty:
  10850. description: 申请数量
  10851. type: number
  10852. applyremark:
  10853. description: 申请备注
  10854. type: string
  10855. applystatus:
  10856. description: 申请状态 - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  10857. type: integer
  10858. applytime:
  10859. description: 申请时间
  10860. type: string
  10861. auditremark:
  10862. description: 确认备注
  10863. type: string
  10864. audittime:
  10865. description: 确认时间
  10866. type: string
  10867. buyuserid:
  10868. description: 买方用户ID
  10869. type: integer
  10870. buyusername:
  10871. description: 买方
  10872. type: string
  10873. buywrtradeorderid:
  10874. description: 买委托单ID
  10875. type: integer
  10876. ladingbillid:
  10877. description: 卖方提单ID
  10878. type: integer
  10879. marketid:
  10880. description: 市场ID
  10881. type: integer
  10882. sellaccountid:
  10883. description: 卖方账户ID
  10884. type: integer
  10885. selldelistingapplyid:
  10886. description: '[询价单号]卖摘牌申请ID(916+Unix秒时间戳(10位)+xxxxxx)'
  10887. type: integer
  10888. selltradeorderid:
  10889. description: 卖方委托ID(买方确认成交后更新)
  10890. type: integer
  10891. selluserid:
  10892. description: 卖方用户ID
  10893. type: integer
  10894. subnum:
  10895. description: 卖方提单子单号
  10896. type: integer
  10897. wrfactortypeid:
  10898. description: 仓单要素类型ID
  10899. type: integer
  10900. wrstandardid:
  10901. description: 现货商品ID
  10902. type: integer
  10903. required:
  10904. - selluserid
  10905. type: object
  10906. models.MySellOrder:
  10907. properties:
  10908. accountid:
  10909. description: 资金账号
  10910. type: integer
  10911. applyid:
  10912. description: 申请单ID
  10913. type: integer
  10914. attachment1:
  10915. description: 附件1
  10916. type: string
  10917. attachment2:
  10918. description: 附件2
  10919. type: string
  10920. buyorsell:
  10921. description: 买卖 - 0:买 1:卖
  10922. type: integer
  10923. canbargain:
  10924. description: 是否可议价 - 0:不可 1:可
  10925. type: integer
  10926. cancelqty:
  10927. description: 撤销数量
  10928. type: integer
  10929. canceltime:
  10930. description: 撤销时间
  10931. type: string
  10932. chargealgorithm:
  10933. description: 手续费收取方式 1:比率 2:固定
  10934. type: integer
  10935. chargealgorithmvalue:
  10936. description: 手续费设置值(交易所部分)
  10937. type: number
  10938. chargealgorithmvalue2:
  10939. description: 手续费设置值(会员部分)
  10940. type: number
  10941. clientordertime:
  10942. description: 客户端委托时间
  10943. type: string
  10944. exchangerate:
  10945. description: 汇率[67]
  10946. type: number
  10947. firstratio:
  10948. description: 首付比率 - [挂牌时指定,摘牌时使用]
  10949. type: number
  10950. fixedprice:
  10951. description: '[克拉单价]固定价格 - [挂牌]'
  10952. type: number
  10953. freezecharge:
  10954. description: 冻结手续费
  10955. type: number
  10956. freezefirstamount:
  10957. description: 冻结首付金额 - [摘牌]
  10958. type: number
  10959. freezemargin:
  10960. description: 冻结保证金
  10961. type: number
  10962. goodsno:
  10963. description: 商品编号
  10964. type: string
  10965. isspecified:
  10966. description: 是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  10967. type: integer
  10968. marginalgorithm:
  10969. description: 保证金方式 - 1:比率 2:固定
  10970. type: integer
  10971. marginvalue:
  10972. description: 保证金设置值
  10973. type: number
  10974. marketid:
  10975. description: 市场ID
  10976. type: integer
  10977. orderamount:
  10978. description: 挂牌金额[账户] [67]= OrderQty * FixedPrice * ExchangeRate /100
  10979. type: number
  10980. ordertime:
  10981. description: 委托时间
  10982. type: string
  10983. performancetemplateid:
  10984. description: 履约计划模板ID
  10985. type: integer
  10986. pricefactor:
  10987. description: 价格系数(浮动价时填写) - [挂牌]
  10988. type: number
  10989. pricemove:
  10990. description: 升贴水(浮动价时填写) - [挂牌]
  10991. type: number
  10992. relatedwrtradeorderid:
  10993. description: 关联委托单号(摘牌委托关联挂牌委托单ID)
  10994. type: integer
  10995. retcode:
  10996. description: 错误代码
  10997. type: integer
  10998. selledqty:
  10999. description: 成交重量
  11000. type: number
  11001. totalqty:
  11002. description: 总重量
  11003. type: number
  11004. tradedate:
  11005. description: 交易日(yyyyMMdd)
  11006. type: string
  11007. tradeprice:
  11008. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)*
  11009. 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  11010. type: number
  11011. unfreezecharge:
  11012. description: 解冻手续费
  11013. type: number
  11014. unfreezefirstamount:
  11015. description: 解冻首付金额 - [摘牌]
  11016. type: number
  11017. unfreezemargin:
  11018. description: 解冻保证金
  11019. type: number
  11020. userid:
  11021. description: 用户ID
  11022. type: integer
  11023. uuid:
  11024. description: 发起端唯一id
  11025. type: string
  11026. validtime:
  11027. description: 有效期限
  11028. type: string
  11029. validtype:
  11030. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  11031. type: integer
  11032. wrbargainid:
  11033. description: 议价申请单ID
  11034. type: integer
  11035. wrfactortypeid:
  11036. description: 仓单要素类型ID/商品ID(77)
  11037. type: integer
  11038. wrpricetype:
  11039. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  11040. type: integer
  11041. wrstandardid:
  11042. description: 现货商品ID
  11043. type: integer
  11044. wrtradeorderid:
  11045. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  11046. type: integer
  11047. wrtradeorderstatus:
  11048. 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:撤单解冻贷款失败
  11049. type: integer
  11050. wrtradetype:
  11051. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  11052. type: integer
  11053. wrtransferuserid:
  11054. description: 仓单受让用户 - [摘牌]
  11055. type: integer
  11056. zscategory:
  11057. description: 钻石分类 - 枚举”ZSCategory“
  11058. type: integer
  11059. zscurrencytype:
  11060. description: 货币类型 - 枚举“ZSCurrencyType”
  11061. type: integer
  11062. required:
  11063. - userid
  11064. type: object
  11065. models.MyWRPosition:
  11066. properties:
  11067. cerno:
  11068. description: 证书编号 - 类型:2,4,5
  11069. type: string
  11070. cpcertno:
  11071. description: 金伯利证书编号 - 类型:3
  11072. type: string
  11073. ffreezeqty:
  11074. description: 冻结数量:WRPosition表:FREEZEQTY/100 , 保留两位小数
  11075. type: number
  11076. ftotalqty:
  11077. description: 库存数量:WRPosition表:TOTALQTY /100 , 保留两位小数
  11078. type: number
  11079. goodsno:
  11080. description: 商品编号
  11081. type: string
  11082. imagepath:
  11083. description: 商品照片(相对地址)
  11084. type: string
  11085. isvalid:
  11086. description: 是否有效 - 0:无效 1:有效
  11087. type: integer
  11088. kppath:
  11089. description: 金伯利证书图片(相对地址) - 类型:3
  11090. type: string
  11091. kpweight:
  11092. description: 金伯利证书重量 - 类型:3
  11093. type: string
  11094. marketprice:
  11095. description: 市场价
  11096. type: string
  11097. origin:
  11098. description: 原产地 - 类型:3
  11099. type: string
  11100. price:
  11101. description: 总价(价格) - 类型:1,2,3,4,5
  11102. type: number
  11103. priceper:
  11104. description: 克拉单价 - 类型:1,2,3,5
  11105. type: string
  11106. remark:
  11107. description: 备注
  11108. type: string
  11109. sellmobile:
  11110. description: 手机号码(加密存储)
  11111. type: string
  11112. sellusername:
  11113. description: 账户名称(机构名称)
  11114. type: string
  11115. settingmaterial:
  11116. description: 镶嵌材料 - 类型:4
  11117. type: string
  11118. size1:
  11119. description: 尺寸1 - 类型:2,4,5
  11120. type: string
  11121. size2:
  11122. description: 尺寸2 - 类型:2,4,5
  11123. type: string
  11124. size3:
  11125. description: 尺寸3 - 类型:2,4,5
  11126. type: string
  11127. stonedesc:
  11128. description: 配石描述 - 类型:4
  11129. type: string
  11130. userid:
  11131. description: 用户ID
  11132. type: integer
  11133. warehouseid:
  11134. description: 仓库ID
  11135. type: integer
  11136. warehousenamedisplay:
  11137. type: string
  11138. weight:
  11139. description: 总重量(克拉重量) - 类型:1,2,3,4,5
  11140. type: number
  11141. weightavg:
  11142. description: 平均单颗重量 - 类型:1,3
  11143. type: number
  11144. wrpath:
  11145. description: 仓单扫描件(相对地址)
  11146. type: string
  11147. wrstandardid:
  11148. description: 现货商品ID
  11149. type: integer
  11150. wruserid:
  11151. description: 登录用户ID
  11152. type: integer
  11153. zscategory:
  11154. description: 钻石分类 - 枚举”ZSCategory“
  11155. type: integer
  11156. zscategorydisplay:
  11157. type: string
  11158. zscerttype:
  11159. description: 证书类型 - 枚举”ZSCertType“ - 类型:2,4,5
  11160. type: integer
  11161. zscerttypedisplay:
  11162. type: string
  11163. zsclaritytype1:
  11164. description: 净度1 - 枚举”ZSClarityType“ - 类型:1,2,3,4,5
  11165. type: integer
  11166. zsclaritytype1display:
  11167. type: string
  11168. zsclaritytype2:
  11169. description: 净度2 - 枚举”ZSClarityType“ - 类型:1,3
  11170. type: integer
  11171. zsclaritytype2display:
  11172. type: string
  11173. zscolortype1:
  11174. description: 颜色1 - 枚举”ZSColorType“ - 类型:1,2,3,4
  11175. type: integer
  11176. zscolortype1display:
  11177. type: string
  11178. zscolortype2:
  11179. description: 颜色2 - 枚举”ZSColorType“ - 类型:1,3
  11180. type: integer
  11181. zscolortype2display:
  11182. type: string
  11183. zscrystaltype:
  11184. description: 晶型范围 - 枚举“ZSCrystalType“ - 类型:3, 多个,逗号分隔
  11185. type: string
  11186. zscrystaltypedisplay:
  11187. type: string
  11188. zscurrencytype:
  11189. description: 货币类型 - 枚举“ZSCurrencyType”
  11190. type: integer
  11191. zscurrencytypedisplay:
  11192. type: string
  11193. zscurrencytypedisplayunit:
  11194. type: string
  11195. zscuttype1:
  11196. description: 切工1 - 枚举”ZSCutType“ - 类型:1,2,4,5
  11197. type: integer
  11198. zscuttype1display:
  11199. type: string
  11200. zscuttype2:
  11201. description: 切工2 - 枚举”ZSCutType“ - 类型:1
  11202. type: integer
  11203. zscuttype2display:
  11204. type: string
  11205. zsczcolor1type:
  11206. description: 彩钻颜色1 - 枚举”ZSCZColor1Type“ - 类型:5
  11207. type: integer
  11208. zsczcolor1typedisplay:
  11209. type: string
  11210. zsczcolor2type:
  11211. description: 彩钻颜色2 - 枚举”ZSCZColor2Type“ - 类型:5
  11212. type: integer
  11213. zsczcolor2typedisplay:
  11214. type: string
  11215. zsczcolor3type:
  11216. description: 彩钻颜色3 - 枚举”ZSCZColor3Type“ - 类型:5
  11217. type: integer
  11218. zsczcolor3typedisplay:
  11219. type: string
  11220. zsfluorescencetype1:
  11221. description: 荧光1 - 枚举”ZSFluorescenceType“ - 类型:1,2,3,4,5
  11222. type: integer
  11223. zsfluorescencetype1display:
  11224. type: string
  11225. zsfluorescencetype2:
  11226. description: 荧光2 - 枚举”ZSFluorescenceType” - 类型:1,3
  11227. type: integer
  11228. zsfluorescencetype2display:
  11229. type: string
  11230. zspolishtype1:
  11231. description: 抛光度1 - 枚举”ZSPolishType“ - 类型:1,2,4,5
  11232. type: integer
  11233. zspolishtype1display:
  11234. type: string
  11235. zspolishtype2:
  11236. description: 抛光度2 - 枚举”ZSPolishType“ - 类型:1
  11237. type: integer
  11238. zspolishtype2display:
  11239. type: string
  11240. zsshapetype:
  11241. description: 形状 - 枚举”ZSShapeType“ - 类型:1,2,4,5 ;(1为多个,逗号分隔)
  11242. type: string
  11243. zsshapetypedisplay:
  11244. type: string
  11245. zsstyletype:
  11246. description: 款式 - 类型:4
  11247. type: integer
  11248. zsstyletypedisplay:
  11249. type: string
  11250. zssymmetrytype1:
  11251. description: 对称度1 - 枚举”ZSSymmetryType“ - 类型:1,2,4,5
  11252. type: integer
  11253. zssymmetrytype1display:
  11254. type: string
  11255. zssymmetrytype2:
  11256. description: 对称度2 - 枚举”ZSSymmetryType“ - 类型:1
  11257. type: integer
  11258. zssymmetrytype2display:
  11259. type: string
  11260. required:
  11261. - wruserid
  11262. type: object
  11263. models.NewFuncmenulist:
  11264. properties:
  11265. authtype:
  11266. description: 权限类型 - 1:菜单 2:组件 3:按钮
  11267. type: integer
  11268. buttonname:
  11269. description: 按钮名称
  11270. type: string
  11271. buttontype:
  11272. description: 按钮类型 - 存按钮样式
  11273. type: string
  11274. component:
  11275. description: 组件名或组件地址
  11276. type: string
  11277. hidden:
  11278. description: 是否隐藏 - 0:显示 1:隐藏
  11279. type: integer
  11280. iconame:
  11281. description: 菜单图标
  11282. type: string
  11283. menutype:
  11284. description: 菜单类型 - 1:管理端 2:PC(C#) 3:移动(云平台) 4:终端(交易所) 5:PC(云平台)
  11285. type: integer
  11286. parentcode:
  11287. description: 上级资源代码
  11288. type: string
  11289. remark:
  11290. description: Remark
  11291. type: string
  11292. resourcecode:
  11293. description: 资源代码
  11294. type: string
  11295. resourcelevel:
  11296. description: 级别1-一级 2-二级 3-三级4-四级
  11297. type: integer
  11298. resourcename:
  11299. description: 资源名(Title)
  11300. type: string
  11301. sort:
  11302. description: 排序
  11303. type: integer
  11304. url:
  11305. description: Url
  11306. type: string
  11307. urltype:
  11308. description: 地址类型 - 1:路由 2:外链 3:内联框架
  11309. type: integer
  11310. required:
  11311. - resourcecode
  11312. type: object
  11313. models.OperationPrimaryMenu:
  11314. properties:
  11315. Children:
  11316. description: 二级功能菜单
  11317. items:
  11318. $ref: '#/definitions/models.OperationSecondaryMenu'
  11319. type: array
  11320. Key:
  11321. description: 菜单KEY
  11322. type: string
  11323. Label:
  11324. description: 菜单标题
  11325. type: string
  11326. type: object
  11327. models.OperationSecondaryMenu:
  11328. properties:
  11329. Key:
  11330. description: 菜单KEY
  11331. type: string
  11332. Label:
  11333. description: 菜单标题
  11334. type: string
  11335. TabList:
  11336. description: 三级功能菜单
  11337. items:
  11338. $ref: '#/definitions/models.OperationTabMenu'
  11339. type: array
  11340. type: object
  11341. models.OperationTabMenu:
  11342. properties:
  11343. Key:
  11344. description: 菜单KEY
  11345. type: string
  11346. Label:
  11347. description: 菜单标题
  11348. type: string
  11349. type: object
  11350. models.Patradelinkdetail:
  11351. properties:
  11352. accountname:
  11353. description: 套期主体
  11354. type: string
  11355. agreeunit:
  11356. description: 合约乘数
  11357. type: number
  11358. amount:
  11359. description: 金额 = RelatedLot * TradePrice * AgreeUnit
  11360. type: number
  11361. areauserid:
  11362. description: 所属机构
  11363. type: integer
  11364. bizsubjectid:
  11365. description: 归属业务部门ID - SubjectID
  11366. type: integer
  11367. buyorsell:
  11368. description: 方向 - 0:买 1:卖
  11369. type: integer
  11370. convertratio:
  11371. description: 品种系数
  11372. type: number
  11373. convertratiochange:
  11374. description: 套期商品变化量 = RelatedLot * AgreeUnit * ConvertRatio
  11375. type: number
  11376. createtime:
  11377. description: '[日期时间]创建时间'
  11378. type: string
  11379. creatorid:
  11380. description: 创建人ID
  11381. type: integer
  11382. creatorsrc:
  11383. description: 创建人来源 - 1:管理端 2:终端 3:交易
  11384. type: integer
  11385. goodscode:
  11386. description: 商品代码(内部)
  11387. type: string
  11388. goodsgroupid:
  11389. description: 对冲品种ID[期货合约商品组ID]
  11390. type: integer
  11391. goodsid:
  11392. description: 商品ID
  11393. type: integer
  11394. hedgeditemid:
  11395. description: 现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]
  11396. type: integer
  11397. hedgeflag:
  11398. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  11399. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目
  11400. type: integer
  11401. linkdetailid:
  11402. description: 期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)
  11403. type: string
  11404. linkstatus:
  11405. description: 关联状态 - 1:成功 2:失败 3:解绑
  11406. type: integer
  11407. middlegoodsid:
  11408. description: 套保品种ID
  11409. type: integer
  11410. name:
  11411. description: 账户名/子账户
  11412. type: string
  11413. optioncode:
  11414. description: '[期货合约]期权代码 [期权]'
  11415. type: string
  11416. ordertype:
  11417. description: 单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单
  11418. type: integer
  11419. relatedlot:
  11420. description: '[数量]关联手数'
  11421. type: number
  11422. relatedmode:
  11423. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  11424. type: integer
  11425. relatedqty:
  11426. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  11427. type: number
  11428. retcode:
  11429. description: 返回码
  11430. type: integer
  11431. saleuserid:
  11432. description: 业务员ID
  11433. type: integer
  11434. tradedate:
  11435. description: 关联交易日(yyyyMMdd)
  11436. type: string
  11437. tradeid:
  11438. description: '[成交单号]内部成交单ID'
  11439. type: string
  11440. tradelot:
  11441. description: 成交手数
  11442. type: integer
  11443. tradeprice:
  11444. description: '[价格]成交价格'
  11445. type: number
  11446. tradetradedate:
  11447. description: 成交交易日(yyyyMMdd)
  11448. type: string
  11449. type: object
  11450. models.QueryErrorInfosRsp:
  11451. properties:
  11452. description:
  11453. description: 异常描述
  11454. type: string
  11455. errorcode:
  11456. description: 异常代码
  11457. type: string
  11458. errorid:
  11459. description: 异常ID
  11460. type: integer
  11461. modulecode:
  11462. description: 所属模块
  11463. type: string
  11464. operatecode:
  11465. description: 所属操作
  11466. type: string
  11467. rownumber:
  11468. description: 行号
  11469. type: string
  11470. required:
  11471. - errorid
  11472. type: object
  11473. models.QueryHedgeOrderDetailRsp:
  11474. properties:
  11475. accountid:
  11476. description: 账户ID
  11477. type: integer
  11478. buyorsell:
  11479. description: 买卖 - 0:买 1:卖
  11480. type: integer
  11481. cancellogincode:
  11482. description: 撤单人
  11483. type: string
  11484. channelbuildtype:
  11485. description: 开平标志 - 0:无 1:建仓 2:平仓
  11486. type: integer
  11487. channelinnerorderstatus:
  11488. description: 委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:部分成交 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败
  11489. 9:全部成交
  11490. type: integer
  11491. channeloperatetype:
  11492. description: 操作类型 - 1:正常委托 2:斩仓委托 3:强平委托
  11493. type: integer
  11494. closetype:
  11495. description: 平仓方式 - 0:无 1:平今 2:平昨
  11496. type: integer
  11497. curexchangerate:
  11498. description: 当前汇率
  11499. type: number
  11500. decimalplace:
  11501. description: 商品报价小数位
  11502. type: integer
  11503. exchangefullname:
  11504. description: 外部交易所全称
  11505. type: string
  11506. goodscode:
  11507. description: 商品代码(内部)
  11508. type: string
  11509. goodsid:
  11510. description: 商品ID
  11511. type: integer
  11512. goodsname:
  11513. description: 商品名称
  11514. type: string
  11515. marketid:
  11516. description: 市场ID
  11517. type: integer
  11518. openfreezemargin:
  11519. description: 冻结保证金(冻结交易金额)
  11520. type: number
  11521. orderid:
  11522. description: 委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11523. type: string
  11524. orderlogincode:
  11525. description: 委托人
  11526. type: string
  11527. orderprice:
  11528. description: 委托价格(账户)
  11529. type: number
  11530. orderqty:
  11531. description: 委托数量
  11532. type: integer
  11533. ordertime:
  11534. description: 委托时间
  11535. type: string
  11536. pricemode:
  11537. description: '取价方式 - 1:市价 2: 限价'
  11538. type: integer
  11539. tradedate:
  11540. description: 交易日(yyyyMMdd)
  11541. type: string
  11542. tradeqty:
  11543. description: 成交数量
  11544. type: integer
  11545. type: object
  11546. models.QueryHedgeTradeDetailRsp:
  11547. properties:
  11548. accountid:
  11549. description: 账号ID
  11550. type: integer
  11551. buyorsell:
  11552. description: 方向 - 0:买 1:卖
  11553. type: integer
  11554. channelbuildtype:
  11555. description: 委托单据类型 0:无 1:建仓 2:平仓
  11556. type: integer
  11557. closecharge:
  11558. description: 平仓手续费(账户)
  11559. type: number
  11560. closecharge2:
  11561. description: 平仓手续费(商品)
  11562. type: number
  11563. closepl:
  11564. description: 平仓盈亏(账户)
  11565. type: number
  11566. closepl2:
  11567. description: 平仓盈亏(商品)
  11568. type: number
  11569. closepl3:
  11570. description: 平仓盈亏(账户)(逐笔)
  11571. type: number
  11572. closepl4:
  11573. description: 平仓盈亏(商品)(逐笔)
  11574. type: number
  11575. closetype:
  11576. description: 平仓方式 - 0:无 1:平今 2:平昨
  11577. type: integer
  11578. curexchangerate:
  11579. description: 当前汇率
  11580. type: number
  11581. decimalplace:
  11582. description: 商品报价小数位
  11583. type: integer
  11584. exchangefullname:
  11585. description: 外部交易所全称
  11586. type: string
  11587. goodscode:
  11588. description: 商品代码(内部)
  11589. type: string
  11590. goodsid:
  11591. description: 商品ID
  11592. type: integer
  11593. goodsname:
  11594. description: 商品名称
  11595. type: string
  11596. marketid:
  11597. description: 市场ID
  11598. type: integer
  11599. opencharge:
  11600. description: 建仓手续费(账户)
  11601. type: number
  11602. opencharge2:
  11603. description: 建仓手续费(商品)
  11604. type: number
  11605. orderid:
  11606. description: 委托单号
  11607. type: string
  11608. orderlogincode:
  11609. description: 委托人
  11610. type: string
  11611. tradeamount:
  11612. description: 成交金额(账户)
  11613. type: number
  11614. tradedate:
  11615. description: 交易日(yyyyMMdd)
  11616. type: string
  11617. tradeid:
  11618. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11619. type: string
  11620. tradeprice:
  11621. description: 成交价格
  11622. type: number
  11623. tradeqty:
  11624. description: 成交数量
  11625. type: integer
  11626. tradetime:
  11627. description: 成交时间
  11628. type: string
  11629. tradetype:
  11630. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  11631. type: integer
  11632. type: object
  11633. models.QuotePrimaryMenu:
  11634. properties:
  11635. Index:
  11636. description: 序号
  11637. type: integer
  11638. Key:
  11639. description: 键名
  11640. type: string
  11641. Name:
  11642. description: 菜单名称
  11643. type: string
  11644. SubMenus:
  11645. description: 子菜单
  11646. items:
  11647. $ref: '#/definitions/models.QuoteSecondaryMenu'
  11648. type: array
  11649. SubTitleType:
  11650. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  11651. type: integer
  11652. TradeModes:
  11653. description: 包含市场交易类型
  11654. type: string
  11655. type: object
  11656. models.QuoteSecondaryMenu:
  11657. properties:
  11658. ExExchangeCode:
  11659. description: 外部交易所代码
  11660. type: string
  11661. ExExchangeID:
  11662. description: 外部交易所ID
  11663. type: integer
  11664. GoodsGroupIDs:
  11665. description: 商品组ID列表
  11666. items:
  11667. type: integer
  11668. type: array
  11669. Index:
  11670. description: 序号
  11671. type: integer
  11672. MarketID:
  11673. description: 市场ID
  11674. type: integer
  11675. MenuTitle:
  11676. description: 菜单标题(市场名称或外部交易所名称)
  11677. type: string
  11678. TradeMode:
  11679. description: 交易模式
  11680. type: integer
  11681. type: object
  11682. models.RelatedTaAccount:
  11683. properties:
  11684. accountid:
  11685. description: 资金账户ID
  11686. type: integer
  11687. type: object
  11688. models.RoleMenu:
  11689. properties:
  11690. hasright:
  11691. description: 是否有权限 0-没有权限 1-有权限
  11692. type: integer
  11693. iconame:
  11694. description: 菜单图标
  11695. type: string
  11696. menutype:
  11697. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  11698. type: integer
  11699. parentcode:
  11700. description: 上级资源代码
  11701. type: string
  11702. remark:
  11703. description: 菜单备注
  11704. type: string
  11705. resourcecode:
  11706. description: 菜单代码
  11707. type: string
  11708. resourcelevel:
  11709. description: 级别
  11710. type: integer
  11711. resourcename:
  11712. description: 菜单名称
  11713. type: string
  11714. roleid:
  11715. description: 角色id
  11716. type: integer
  11717. sort:
  11718. description: 排序
  11719. type: integer
  11720. subMenu:
  11721. description: 子级菜单(结构同上层一样, swag解析不出来)
  11722. items:
  11723. $ref: '#/definitions/models.RoleMenu'
  11724. type: array
  11725. url:
  11726. description: URL
  11727. type: string
  11728. userid:
  11729. description: 用户id
  11730. type: integer
  11731. type: object
  11732. models.SearchGoods:
  11733. properties:
  11734. goodscode:
  11735. description: 商品代码(内部)
  11736. type: string
  11737. goodsid:
  11738. description: 商品ID(自增ID SEQ_GOODS)
  11739. type: integer
  11740. goodsname:
  11741. description: 商品名称
  11742. type: string
  11743. marketid:
  11744. description: 所属市场ID
  11745. type: integer
  11746. marketname:
  11747. description: 市场名称
  11748. type: string
  11749. trademode:
  11750. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  11751. 21:竞拍-大宗式 22:受托竞价
  11752. type: integer
  11753. required:
  11754. - goodscode
  11755. - goodsid
  11756. - goodsname
  11757. - marketid
  11758. - trademode
  11759. type: object
  11760. models.SellOrder:
  11761. properties:
  11762. accountid:
  11763. description: 资金账号
  11764. type: integer
  11765. applyid:
  11766. description: 申请单ID
  11767. type: integer
  11768. attachment1:
  11769. description: 附件1
  11770. type: string
  11771. attachment2:
  11772. description: 附件2
  11773. type: string
  11774. buyorsell:
  11775. description: 买卖 - 0:买 1:卖
  11776. type: integer
  11777. canbargain:
  11778. description: 是否可议价 - 0:不可 1:可
  11779. type: integer
  11780. cancelqty:
  11781. description: 撤销数量
  11782. type: integer
  11783. canceltime:
  11784. description: 撤销时间
  11785. type: string
  11786. chargealgorithm:
  11787. description: 手续费收取方式 1:比率 2:固定
  11788. type: integer
  11789. chargealgorithmvalue:
  11790. description: 手续费设置值(交易所部分)
  11791. type: number
  11792. chargealgorithmvalue2:
  11793. description: 手续费设置值(会员部分)
  11794. type: number
  11795. clientordertime:
  11796. description: 客户端委托时间
  11797. type: string
  11798. exchangerate:
  11799. description: 汇率[67]
  11800. type: number
  11801. firstratio:
  11802. description: 首付比率 - [挂牌时指定,摘牌时使用]
  11803. type: number
  11804. fixedprice:
  11805. description: '[克拉单价]固定价格 - [挂牌]'
  11806. type: number
  11807. freezecharge:
  11808. description: 冻结手续费
  11809. type: number
  11810. freezefirstamount:
  11811. description: 冻结首付金额 - [摘牌]
  11812. type: number
  11813. freezemargin:
  11814. description: 冻结保证金
  11815. type: number
  11816. goodsno:
  11817. description: 商品编号
  11818. type: string
  11819. isQueryDiamond:
  11820. description: 是否钻石查询
  11821. type: boolean
  11822. isspecified:
  11823. description: 是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  11824. type: integer
  11825. marginalgorithm:
  11826. description: 保证金方式 - 1:比率 2:固定
  11827. type: integer
  11828. marginvalue:
  11829. description: 保证金设置值
  11830. type: number
  11831. marketid:
  11832. description: 市场ID
  11833. type: integer
  11834. orderamount:
  11835. description: 挂牌金额[账户] [67]= OrderQty * FixedPrice * ExchangeRate /100
  11836. type: number
  11837. ordertime:
  11838. description: 委托时间
  11839. type: string
  11840. performancetemplateid:
  11841. description: 履约计划模板ID
  11842. type: integer
  11843. pricefactor:
  11844. description: 价格系数(浮动价时填写) - [挂牌]
  11845. type: number
  11846. pricemove:
  11847. description: 升贴水(浮动价时填写) - [挂牌]
  11848. type: number
  11849. relatedwrtradeorderid:
  11850. description: 关联委托单号(摘牌委托关联挂牌委托单ID)
  11851. type: integer
  11852. remainqty:
  11853. description: 剩余重量
  11854. type: number
  11855. retcode:
  11856. description: 错误代码
  11857. type: integer
  11858. sellusername:
  11859. description: 卖方(查询字段-模糊查询)
  11860. type: string
  11861. totalqty:
  11862. description: 总重量
  11863. type: number
  11864. tradedate:
  11865. description: 交易日(yyyyMMdd)
  11866. type: string
  11867. tradeprice:
  11868. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)*
  11869. 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  11870. type: number
  11871. unfreezecharge:
  11872. description: 解冻手续费
  11873. type: number
  11874. unfreezefirstamount:
  11875. description: 解冻首付金额 - [摘牌]
  11876. type: number
  11877. unfreezemargin:
  11878. description: 解冻保证金
  11879. type: number
  11880. userid:
  11881. description: 用户ID
  11882. type: integer
  11883. uuid:
  11884. description: 发起端唯一id
  11885. type: string
  11886. validtime:
  11887. description: 有效期限
  11888. type: string
  11889. validtype:
  11890. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  11891. type: integer
  11892. wrbargainid:
  11893. description: 议价申请单ID
  11894. type: integer
  11895. wrfactortypeid:
  11896. description: 仓单要素类型ID/商品ID(77)
  11897. type: integer
  11898. wrpricetype:
  11899. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  11900. type: integer
  11901. wrstandardid:
  11902. description: 现货商品ID
  11903. type: integer
  11904. wrtradeorderid:
  11905. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  11906. type: integer
  11907. wrtradeorderstatus:
  11908. 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:撤单解冻贷款失败
  11909. type: integer
  11910. wrtradetype:
  11911. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  11912. type: integer
  11913. wrtransferuserid:
  11914. description: 仓单受让用户 - [摘牌]
  11915. type: integer
  11916. zscategory:
  11917. description: 钻石分类 - 枚举”ZSCategory“
  11918. type: integer
  11919. zscurrencytype:
  11920. description: 货币类型 - 枚举“ZSCurrencyType”
  11921. type: integer
  11922. type: object
  11923. models.SellOrderQueryReq:
  11924. properties:
  11925. origin:
  11926. description: 原产地
  11927. type: string
  11928. page:
  11929. description: 页码
  11930. type: integer
  11931. pagesize:
  11932. description: 每页大小
  11933. type: integer
  11934. total:
  11935. description: 总条数
  11936. type: integer
  11937. warehouseid:
  11938. description: 仓库ID
  11939. type: integer
  11940. weight1:
  11941. description: 总重量(克拉重量)-从
  11942. type: number
  11943. weight2:
  11944. description: 总重量(克拉重量)-至
  11945. type: number
  11946. weightavg1:
  11947. description: 平均单颗重量-从
  11948. type: number
  11949. weightavg2:
  11950. description: 平均单颗重量-至
  11951. type: number
  11952. zscategory:
  11953. description: 钻石分类 - 枚举”ZSCategory“
  11954. type: integer
  11955. zscerttype:
  11956. description: 证书类型
  11957. items:
  11958. type: string
  11959. type: array
  11960. zsclaritytype:
  11961. description: 净度
  11962. items:
  11963. type: integer
  11964. type: array
  11965. zscolortype:
  11966. description: 颜色
  11967. items:
  11968. type: integer
  11969. type: array
  11970. zscurrencytype:
  11971. description: 货币类型 - 枚举“ZSCurrencyType”
  11972. items:
  11973. type: string
  11974. type: array
  11975. zscuttype:
  11976. description: 切工
  11977. items:
  11978. type: integer
  11979. type: array
  11980. zsczcolor1type:
  11981. description: 彩钻颜色1
  11982. items:
  11983. type: string
  11984. type: array
  11985. zsfluorescencetype:
  11986. description: 荧光
  11987. items:
  11988. type: integer
  11989. type: array
  11990. zspolishtype:
  11991. description: 抛光度
  11992. items:
  11993. type: integer
  11994. type: array
  11995. zsshapetype:
  11996. description: 形状 - 枚举”ZSShapeType“ - 类型:1,2,4,5 ;(1为多个,逗号分隔)
  11997. items:
  11998. type: string
  11999. type: array
  12000. zsstyletype:
  12001. description: 款式
  12002. items:
  12003. type: string
  12004. type: array
  12005. zssymmetrytype:
  12006. description: 对称度
  12007. items:
  12008. type: integer
  12009. type: array
  12010. required:
  12011. - zscategory
  12012. type: object
  12013. models.Systemparam:
  12014. properties:
  12015. loginid:
  12016. description: 更新用户账号,登录账号
  12017. type: string
  12018. modifyflag:
  12019. description: 修改标志0 不允许修改 1 允许修改
  12020. type: integer
  12021. paramcode:
  12022. description: 参数代码
  12023. type: string
  12024. paramname:
  12025. description: 参数名
  12026. type: string
  12027. paramtype:
  12028. description: 参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城
  12029. type: integer
  12030. paramvalue:
  12031. description: 参数值
  12032. type: string
  12033. paramvalue2:
  12034. description: 参数值(CLOB)
  12035. type: string
  12036. regexpress:
  12037. description: 正则表达式
  12038. type: string
  12039. remark:
  12040. description: 备注
  12041. type: string
  12042. serverip:
  12043. description: 限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置
  12044. type: string
  12045. showflag:
  12046. description: 是否显示0 不显示 1 显示
  12047. type: integer
  12048. updatetime:
  12049. description: 更新时间
  12050. type: string
  12051. userid:
  12052. description: 更新用户ID
  12053. type: integer
  12054. required:
  12055. - paramcode
  12056. type: object
  12057. models.Szdz3convertconfig:
  12058. properties:
  12059. canin:
  12060. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  12061. type: integer
  12062. canout:
  12063. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  12064. type: integer
  12065. converttype:
  12066. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  12067. 6:交易转花生米(不设置)
  12068. type: integer
  12069. createtime:
  12070. description: 创建时间
  12071. type: string
  12072. creatorid:
  12073. description: 创建人
  12074. type: integer
  12075. daymaxvalue:
  12076. description: 当日最大转入限制
  12077. type: number
  12078. freezedays:
  12079. description: 冻结天数 [5:花生米转交易]
  12080. type: integer
  12081. innergoodsid:
  12082. description: 内部商品ID[交易]
  12083. type: integer
  12084. inratio:
  12085. description: 目标值
  12086. type: integer
  12087. modifierid:
  12088. description: 修改人
  12089. type: integer
  12090. modifytime:
  12091. description: 修改时间
  12092. type: string
  12093. outergoodscode:
  12094. description: 外部商品代码[JD\PD]
  12095. type: string
  12096. outratio:
  12097. description: 源值
  12098. type: integer
  12099. pddecimalplace:
  12100. description: PD小数位
  12101. type: integer
  12102. timemaxvalue:
  12103. description: 单次最大转入限制
  12104. type: number
  12105. timeminvalue:
  12106. description: 单次最小转入限制
  12107. type: number
  12108. required:
  12109. - converttype
  12110. - innergoodsid
  12111. - outergoodscode
  12112. type: object
  12113. models.Szdz3searchwhitelist:
  12114. properties:
  12115. createtime:
  12116. description: 创建时间
  12117. type: string
  12118. creatorid:
  12119. description: 创建人
  12120. type: integer
  12121. modifierid:
  12122. description: 修改人
  12123. type: integer
  12124. modifytime:
  12125. description: 修改时间
  12126. type: string
  12127. userid:
  12128. description: 用户ID
  12129. type: integer
  12130. required:
  12131. - userid
  12132. type: object
  12133. models.TBGoods:
  12134. properties:
  12135. agreeunit:
  12136. description: 合约乘数
  12137. type: number
  12138. enumdicname:
  12139. description: 单位名称
  12140. type: string
  12141. goodscode:
  12142. description: 商品代码(内部)
  12143. type: string
  12144. goodsid:
  12145. description: 商品ID(自增ID SEQ_GOODS)
  12146. type: integer
  12147. goodsname:
  12148. description: 商品名称
  12149. type: string
  12150. type: object
  12151. models.TBGoodsGroup:
  12152. properties:
  12153. GDLST:
  12154. description: 商品列表
  12155. items:
  12156. $ref: '#/definitions/models.TBGoods'
  12157. type: array
  12158. convertratio:
  12159. description: 折算系数
  12160. type: number
  12161. enumdicname:
  12162. description: 单位名称
  12163. type: string
  12164. exexchangecode:
  12165. description: 交易所代码
  12166. type: string
  12167. exexchangename:
  12168. description: 交易所名称
  12169. type: string
  12170. goodsgroupid:
  12171. description: 商品组ID(自增ID)
  12172. type: integer
  12173. goodsgroupname:
  12174. description: 商品组名称
  12175. type: string
  12176. goodunitid:
  12177. description: 报价单位ID
  12178. type: integer
  12179. type: object
  12180. models.TBMiddleGoods:
  12181. properties:
  12182. GPLST:
  12183. description: 期货品种列表
  12184. items:
  12185. $ref: '#/definitions/models.TBGoodsGroup'
  12186. type: array
  12187. WDLST:
  12188. description: 商品信息列表(现货品类)
  12189. items:
  12190. $ref: '#/definitions/models.TBWrstandard'
  12191. type: array
  12192. areauserid:
  12193. description: 机构用户ID
  12194. type: integer
  12195. enumdicname:
  12196. description: 单位名称
  12197. type: string
  12198. goodsunitid:
  12199. description: 套保品种单位id
  12200. type: integer
  12201. middlegoodscode:
  12202. description: 套保品种代码
  12203. type: string
  12204. middlegoodsid:
  12205. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  12206. type: integer
  12207. middlegoodsname:
  12208. description: 套保品种名称
  12209. type: string
  12210. needarbitrageratio:
  12211. description: 套利比率
  12212. type: number
  12213. needhedgeratio:
  12214. description: 套保比率
  12215. type: number
  12216. type: object
  12217. models.TBWrstandard:
  12218. properties:
  12219. convertratio:
  12220. description: 折算系数
  12221. type: number
  12222. deliverygoodsname:
  12223. description: 品种名称
  12224. type: string
  12225. enumdicname:
  12226. description: 单位名称
  12227. type: string
  12228. vatrate:
  12229. description: 增值税率
  12230. type: number
  12231. wrstandardcode:
  12232. description: 现货商品代码
  12233. type: string
  12234. wrstandardid:
  12235. description: 现货商品ID(SEQ_WRSTANDARD)
  12236. type: integer
  12237. wrstandardname:
  12238. description: 现货商品名称
  12239. type: string
  12240. type: object
  12241. models.Taaccount:
  12242. properties:
  12243. accountflag:
  12244. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  12245. type: integer
  12246. accountid:
  12247. description: 资金账户ID
  12248. type: integer
  12249. accountname:
  12250. description: 账户名称
  12251. type: string
  12252. balance:
  12253. description: 期初余额
  12254. type: number
  12255. capitalbalance:
  12256. description: 本金余额[外部子账户实际出入金余额]
  12257. type: number
  12258. changeflag:
  12259. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  12260. type: integer
  12261. changetime:
  12262. description: 账户状态变更时间
  12263. type: string
  12264. closepl:
  12265. description: 今日平仓盈亏
  12266. type: number
  12267. creditdecrease:
  12268. description: 今日授信减少
  12269. type: number
  12270. creditincrease:
  12271. description: 今日授信增加
  12272. type: number
  12273. curamount:
  12274. description: 总市值(从持仓中统计)
  12275. type: number
  12276. currencyid:
  12277. description: 货币ID
  12278. type: integer
  12279. currentbalance:
  12280. description: 期末余额
  12281. type: number
  12282. freezecharge:
  12283. description: 手续费冻结
  12284. type: number
  12285. freezemargin:
  12286. description: 冻结保证金
  12287. type: number
  12288. fromaccountid:
  12289. description: 所属上级账户
  12290. type: integer
  12291. inamount:
  12292. description: 今日入金金额(包括三方入金)
  12293. type: number
  12294. ismain:
  12295. description: 是否母账号 0:不是母账户 1:是母账户
  12296. type: integer
  12297. ismarketaccount:
  12298. description: 是否机构接单账号 0:不是 1:是
  12299. type: integer
  12300. isreckonaccount:
  12301. description: 是否机构分润账号 0:不是 1:是
  12302. type: integer
  12303. mortgagecredit:
  12304. description: 授信金额
  12305. type: number
  12306. orifreezecharge:
  12307. description: 期初手续费冻结
  12308. type: number
  12309. orifreezemargin:
  12310. description: 期初冻结保证金
  12311. type: number
  12312. orimortgagecredit:
  12313. description: 期初授信金额
  12314. type: number
  12315. oriothercredit:
  12316. description: 期初其它授信金额
  12317. type: number
  12318. oriotherfreezemargin:
  12319. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  12320. type: number
  12321. orioutamountfreeze:
  12322. description: 期初出金冻结
  12323. type: number
  12324. oriusedmargin:
  12325. description: 期初占用保证金
  12326. type: number
  12327. othercredit:
  12328. description: 其它授信金额
  12329. type: number
  12330. othercreditdecrease:
  12331. description: 今日其它授信减少
  12332. type: number
  12333. othercreditincrease:
  12334. description: 今日其它授信增加
  12335. type: number
  12336. otherfreezemargin:
  12337. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  12338. type: number
  12339. otherincome:
  12340. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  12341. type: number
  12342. otherpay:
  12343. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  12344. type: number
  12345. outamount:
  12346. description: 今日出金金额(包括三方出金)
  12347. type: number
  12348. outamountfreeze:
  12349. description: 出金冻结
  12350. type: number
  12351. outthreshold:
  12352. description: 出金阈值
  12353. type: number
  12354. parentaccountid:
  12355. description: 所属根账号
  12356. type: integer
  12357. paycharge:
  12358. description: 今日手续费支出
  12359. type: number
  12360. relatedaccountstatus:
  12361. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  12362. type: integer
  12363. relateduserid:
  12364. description: 关联用户
  12365. type: integer
  12366. remainamount:
  12367. description: 融资额(从融资合同中统计)
  12368. type: number
  12369. serivcegroup:
  12370. description: 服务分组
  12371. type: integer
  12372. signstatus:
  12373. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  12374. type: integer
  12375. sublevelpath:
  12376. description: 账号层级路径(逗号分隔,首尾加逗号)
  12377. type: string
  12378. taaccounttype:
  12379. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  12380. type: integer
  12381. thirdinamount:
  12382. description: 今日三方入金
  12383. type: number
  12384. thirdoutamount:
  12385. description: 今日三方出金
  12386. type: number
  12387. tradestatus:
  12388. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  12389. type: integer
  12390. tradestatuschangetime:
  12391. description: 激活时间
  12392. type: string
  12393. transferamount:
  12394. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  12395. type: number
  12396. usedmargin:
  12397. description: 占用保证金
  12398. type: number
  12399. userid:
  12400. description: 用户ID
  12401. type: integer
  12402. required:
  12403. - accountid
  12404. - userid
  12405. type: object
  12406. models.Tablecolumnconfig:
  12407. properties:
  12408. aligntype:
  12409. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  12410. type: integer
  12411. autoid:
  12412. description: AutoID
  12413. type: integer
  12414. columnfield:
  12415. description: 列字段
  12416. type: string
  12417. columntitle:
  12418. description: 列Title
  12419. type: string
  12420. columnwidth:
  12421. description: 列宽
  12422. type: string
  12423. fixed:
  12424. description: 固定类型 - 空 | left | right
  12425. type: string
  12426. formatterstring:
  12427. description: 格式化字符
  12428. type: string
  12429. formattertype:
  12430. description: 格式化类型
  12431. type: string
  12432. groupname:
  12433. description: 表头分组名称
  12434. type: string
  12435. ismerge:
  12436. description: 是否合并显示 - 0:不合并 1:合并
  12437. type: integer
  12438. isshow:
  12439. description: 是否显示 - 0:不显示 1:显示
  12440. type: integer
  12441. needsummary:
  12442. description: 是否需要汇总 - 0:不需要 1:需要
  12443. type: integer
  12444. orderindex:
  12445. description: 顺序
  12446. type: integer
  12447. remark:
  12448. description: 备注
  12449. type: string
  12450. summarytype:
  12451. description: 汇总类型 - 1:加总 2:最后一个
  12452. type: integer
  12453. tablekey:
  12454. description: 列表Key
  12455. type: string
  12456. required:
  12457. - autoid
  12458. type: object
  12459. models.TjmdHolderDetailTradeInfo:
  12460. properties:
  12461. agreeunit:
  12462. description: 合约乘数
  12463. type: number
  12464. buyaccountid:
  12465. description: 买方账户
  12466. type: string
  12467. buyusername:
  12468. description: 买方
  12469. type: string
  12470. delistingdate:
  12471. description: 最后结算日
  12472. type: string
  12473. expiredate:
  12474. description: 到期结算价定价日
  12475. type: string
  12476. exprieprice:
  12477. description: 到期清算价格
  12478. type: string
  12479. goodscode:
  12480. description: 商品代码
  12481. type: string
  12482. goodsid:
  12483. description: 商品ID
  12484. type: integer
  12485. goodsname:
  12486. description: 商品名称(交易标的)
  12487. type: string
  12488. lasttradedate:
  12489. description: 最后交易日
  12490. type: string
  12491. listingdate:
  12492. description: 开始交易日
  12493. type: string
  12494. openprice:
  12495. description: 成交价
  12496. type: number
  12497. openqty:
  12498. description: 交易数量
  12499. type: integer
  12500. sellaccountid:
  12501. description: 卖方账户
  12502. type: string
  12503. sellusername:
  12504. description: 卖方
  12505. type: string
  12506. tradeamount:
  12507. description: 初始名义价值
  12508. type: number
  12509. tradedate:
  12510. description: 成交日期
  12511. type: string
  12512. tradeid:
  12513. description: 成交编号
  12514. type: string
  12515. type: object
  12516. models.TjmdMarketSection:
  12517. properties:
  12518. marketsectionid:
  12519. description: 市场版块ID(SEQ_MARKETSECTION)
  12520. type: integer
  12521. marketsectionname:
  12522. description: 市场版块名称
  12523. type: string
  12524. mlist:
  12525. description: 市场列表(板块下面有多少个市场)
  12526. items:
  12527. $ref: '#/definitions/models.TjmdMarketSectionConfig'
  12528. type: array
  12529. orderindex:
  12530. description: 排序
  12531. type: integer
  12532. pictureurl:
  12533. description: 图片url, 规格(90*90)
  12534. type: string
  12535. remark:
  12536. description: 备注
  12537. type: string
  12538. type: object
  12539. models.TjmdMarketSectionConfig:
  12540. properties:
  12541. auctionwrtype:
  12542. description: 仓单类型(现货交易) - 1:无仓单 2:有仓单 3;有无仓单均可
  12543. type: integer
  12544. canacceptquote:
  12545. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  12546. type: integer
  12547. cangoodsexercise:
  12548. description: '[期权]是否可现货行权- 0:否 1:是'
  12549. type: integer
  12550. cangoodsexercisetype:
  12551. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  12552. type: integer
  12553. canmanualquotestrike:
  12554. description: 是否可手动报行权价- 0:否 1:是 [期权]
  12555. type: integer
  12556. canmutistage:
  12557. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  12558. type: integer
  12559. canpreexercise:
  12560. description: '[期权]是否可预申报- 0:否 1:是'
  12561. type: integer
  12562. clearinterval:
  12563. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  12564. type: integer
  12565. contracttmp:
  12566. description: 合同模板[荷兰式][竞价式][仓单贸易]
  12567. type: string
  12568. exchareaid:
  12569. description: 所属交易所,可以没有
  12570. type: integer
  12571. financemarketid:
  12572. description: 融资回购市场ID [仓单贸易]
  12573. type: integer
  12574. goodstype:
  12575. description: 商品类型 - 1:交易商品 2:仓单商品
  12576. type: integer
  12577. hasrebate:
  12578. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  12579. type: integer
  12580. hastradecredit:
  12581. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  12582. type: integer
  12583. haswr:
  12584. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  12585. type: integer
  12586. isdeductmargin:
  12587. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  12588. type: integer
  12589. isrecordsource:
  12590. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  12591. type: integer
  12592. isreleasemargin:
  12593. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  12594. type: integer
  12595. isupdatereckonprice:
  12596. description: 输入结算价标识 - 0:系统生成 1:手工输入(自动) 2:手工输入(手动)
  12597. type: integer
  12598. listingmode:
  12599. description: 挂牌方式 1:一口价 2:浮动价 3:贸易圈 4:协议指定
  12600. type: integer
  12601. marginformula:
  12602. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  12603. type: integer
  12604. marginformula2:
  12605. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  12606. type: integer
  12607. marketid:
  12608. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  12609. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  12610. type: integer
  12611. marketname:
  12612. description: 市场名称
  12613. type: string
  12614. marketsectionid:
  12615. description: 市场版块ID(SEQ_MARKETSECTION)
  12616. type: integer
  12617. marketserviceid:
  12618. description: 市场服务ID
  12619. type: integer
  12620. marketstatus:
  12621. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  12622. type: integer
  12623. markettype:
  12624. description: 市场类型- 1:非交易服务 2:交易服务
  12625. type: integer
  12626. matchermode:
  12627. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手 - 作废
  12628. type: integer
  12629. nowrquotaflag:
  12630. description: 是否校验无仓单额度(仓单贸易) 0:否 1:是
  12631. type: integer
  12632. openmethod:
  12633. description: 开盘模式 - 0 自动 1手动
  12634. type: integer
  12635. orderindex:
  12636. description: 排序
  12637. type: integer
  12638. otcuserid:
  12639. description: 场外期权做市商[场外期权]
  12640. type: integer
  12641. outersynctime:
  12642. description: 外部同步时间点(h24:mi:ss)[场外期权]
  12643. type: string
  12644. paylaterflag:
  12645. description: 是否支持后付 - 0:不支持 1;支持 - [挂牌点选 所有权、预售挂牌支持]
  12646. type: integer
  12647. pendingflag:
  12648. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  12649. type: integer
  12650. pendingtime:
  12651. description: 待开市时间[通道交易-对冲](HH:mm)
  12652. type: string
  12653. performancetempid:
  12654. description: 履约计划模板ID - 作废
  12655. type: integer
  12656. premiumquotemode:
  12657. description: 权利金报价方式 - 1:自动 2:手动
  12658. type: integer
  12659. rebateratio:
  12660. description: 返利比率[竞价式]
  12661. type: number
  12662. reckonorder:
  12663. description: 结算顺序
  12664. type: integer
  12665. reckonpricealgorithm:
  12666. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  12667. 6.卖一价 7.买一卖一均价 8.外部结算价'
  12668. type: integer
  12669. reckonpriceparam:
  12670. description: 结算价参数
  12671. type: integer
  12672. reckontime:
  12673. description: 结算时间[通道交易-对冲](HH:mm)
  12674. type: string
  12675. roleprioritytype:
  12676. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  12677. type: integer
  12678. selllistingauditflag:
  12679. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  12680. type: integer
  12681. trademarkettype:
  12682. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  12683. type: integer
  12684. trademode:
  12685. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  12686. 21:竞拍-大宗式 22:受托竞价
  12687. type: integer
  12688. tradeproperty:
  12689. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  12690. 8:场外期权
  12691. type: integer
  12692. tradetype:
  12693. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  12694. type: integer
  12695. updatereckonpriceinterval:
  12696. description: 输入结算价时长(分钟) [1:手工输入(自动)]
  12697. type: integer
  12698. type: object
  12699. models.TjmdQuoteGoods:
  12700. properties:
  12701. buyqty:
  12702. description: 买量(暂不做, 无值, 保留字段)
  12703. type: number
  12704. decimalplace:
  12705. description: 报价小数位
  12706. type: integer
  12707. goodscode:
  12708. description: 合约代码
  12709. type: string
  12710. goodsgroupid:
  12711. description: 商品组ID(自增ID)
  12712. type: integer
  12713. goodsgroupname:
  12714. description: 商品组名称
  12715. type: string
  12716. goodsid:
  12717. description: 合约id
  12718. type: integer
  12719. goodsname:
  12720. description: 合约名称
  12721. type: string
  12722. refgoodscode:
  12723. description: 标的合约代码
  12724. type: string
  12725. refgoodsid:
  12726. description: 标的合约id
  12727. type: integer
  12728. refgoodsname:
  12729. description: 标的合约名称
  12730. type: string
  12731. sellqty:
  12732. description: 卖量(暂不做, 无值, 保留字段)
  12733. type: number
  12734. type: object
  12735. models.TjmdTodayAccountMargin:
  12736. properties:
  12737. accountid:
  12738. description: 账号ID
  12739. type: integer
  12740. goodsid:
  12741. description: 商品ID
  12742. type: integer
  12743. infoc:
  12744. $ref: '#/definitions/pb.GoodsMarginCfgStruct'
  12745. description: 配置参数
  12746. marketid:
  12747. description: 市场ID
  12748. type: integer
  12749. type: object
  12750. models.TjmdTradeOrderDetail:
  12751. properties:
  12752. buyorsell:
  12753. description: 买卖方向 0-买 1-卖
  12754. type: integer
  12755. goodsid:
  12756. description: 商品id
  12757. type: integer
  12758. marketmaxsub:
  12759. description: 市价最大偏移范围 [浮动价 - 点差]
  12760. type: number
  12761. orderid:
  12762. description: 委托单号
  12763. type: string
  12764. orderprice:
  12765. description: 期初均价
  12766. type: number
  12767. orderqty:
  12768. description: 委托数量
  12769. type: integer
  12770. pricemode:
  12771. description: '取价方式 - 1:市价 2: 限价 3:浮动价'
  12772. type: integer
  12773. userid:
  12774. description: 用户id
  12775. type: integer
  12776. username:
  12777. description: 用户名称(已脱敏)
  12778. type: string
  12779. type: object
  12780. models.TjmdTransferApply:
  12781. properties:
  12782. applyid:
  12783. description: 申请ID(自增ID SEQ_TRADE_HOLDTRANSFERAPPLY)
  12784. type: integer
  12785. applystatus:
  12786. description: 状态 - 0:未提交 1:待审核 2:审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销
  12787. type: integer
  12788. applytime:
  12789. description: 申请时间(时间)
  12790. type: string
  12791. auditremark:
  12792. description: 审核备注(拒绝原因?)
  12793. type: string
  12794. begindate:
  12795. description: 开始交易日(yyyymmdd)
  12796. type: string
  12797. buyorsell:
  12798. description: 买卖 - 0:买 1:卖
  12799. type: integer
  12800. enddate:
  12801. description: 结束交易日(yyyymmdd)
  12802. type: string
  12803. goodscode:
  12804. description: 商品代码
  12805. type: string
  12806. goodsid:
  12807. description: 商品ID
  12808. type: integer
  12809. goodsname:
  12810. description: 商品名称
  12811. type: string
  12812. marketid:
  12813. description: 市场ID
  12814. type: integer
  12815. qty:
  12816. description: 期初均价
  12817. type: number
  12818. tradeid:
  12819. description: 成交单号(关联持仓)
  12820. type: string
  12821. transferamount:
  12822. description: 转让总金额(金额)
  12823. type: number
  12824. transferprice:
  12825. description: 转让价格(协议价格)
  12826. type: number
  12827. type: object
  12828. models.TradeHolderDetail:
  12829. properties:
  12830. accountid:
  12831. description: 账号ID
  12832. type: integer
  12833. agreeunit:
  12834. description: 合约乘数
  12835. type: number
  12836. buyorsell:
  12837. description: 方向 - 0:买 1:卖
  12838. type: integer
  12839. currencyid:
  12840. description: 商品币种id
  12841. type: integer
  12842. currencyname:
  12843. description: 币种名称
  12844. type: string
  12845. decimalplace:
  12846. description: 商品价格小数位
  12847. type: integer
  12848. enumdicname:
  12849. description: 商品单位名称
  12850. type: string
  12851. expirecycle:
  12852. description: 行权周期(天) - 1:滚动行权时填写
  12853. type: integer
  12854. expiredate:
  12855. description: 行权日(yyyyMMdd) - 到期日
  12856. type: string
  12857. expiretype:
  12858. description: 行权日类型 - 1:滚动行权 2:固定日行权
  12859. type: integer
  12860. freezeqty:
  12861. description: 期初均价
  12862. type: number
  12863. goodscode:
  12864. description: 商品代码
  12865. type: string
  12866. goodsid:
  12867. description: 商品ID
  12868. type: integer
  12869. goodsname:
  12870. description: 商品名称
  12871. type: string
  12872. goodunitid:
  12873. description: 商品单位id
  12874. type: integer
  12875. holderamount:
  12876. description: 持仓金额
  12877. type: number
  12878. holdercredit:
  12879. description: 持仓授信金额
  12880. type: number
  12881. holderdays:
  12882. description: 剩余冻结天数
  12883. type: integer
  12884. holderprice:
  12885. description: 持仓价格
  12886. type: number
  12887. holderqty:
  12888. description: 期初均价
  12889. type: number
  12890. isconfirmexercise:
  12891. description: 是否确认行权- 0:否 1:是
  12892. type: integer
  12893. ispreexercise:
  12894. description: 是否预申报- 0:否 1:是 2:不可行权
  12895. type: integer
  12896. marketid:
  12897. description: 市场id
  12898. type: integer
  12899. marketname:
  12900. description: 市场名称
  12901. type: string
  12902. openprice:
  12903. description: 建仓价格
  12904. type: number
  12905. openqty:
  12906. description: 期初均价
  12907. type: number
  12908. optiontype:
  12909. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  12910. type: integer
  12911. preexerciseprice:
  12912. description: 预申报价格
  12913. type: number
  12914. premium:
  12915. description: 权利金
  12916. type: number
  12917. qtydecimalplace:
  12918. description: 商品成交量小数位
  12919. type: integer
  12920. refgoodscode:
  12921. description: 标的合约代码
  12922. type: string
  12923. refgoodsid:
  12924. description: 标的合约id
  12925. type: integer
  12926. releaseamount:
  12927. description: 释放持仓金额
  12928. type: number
  12929. releaseholdercredit:
  12930. description: 释放持仓授信金额
  12931. type: number
  12932. taname:
  12933. description: 资金账号名称
  12934. type: string
  12935. tradeamount:
  12936. description: 成交金额
  12937. type: number
  12938. tradedate:
  12939. description: 交易日(yyyyMMdd)
  12940. type: string
  12941. tradeid:
  12942. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12943. type: string
  12944. trademode:
  12945. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  12946. 21:竞拍-大宗式 22:受托竞价 46:掉期
  12947. type: integer
  12948. tradeproperty:
  12949. description: 交易属性
  12950. type: integer
  12951. tradetime:
  12952. description: 交易时间
  12953. type: string
  12954. userid:
  12955. description: 用户id
  12956. type: integer
  12957. username:
  12958. description: 用户名称
  12959. type: string
  12960. type: object
  12961. models.Unlinkermcphedgeplan:
  12962. properties:
  12963. accountid:
  12964. description: 期货账户ID - 作废
  12965. type: integer
  12966. accountname:
  12967. description: 交易用户
  12968. type: string
  12969. applyid:
  12970. description: 申请人
  12971. type: integer
  12972. applysrc:
  12973. description: 申请来源 - 1:管理端 2:终端
  12974. type: integer
  12975. applytime:
  12976. description: 申请时间
  12977. type: string
  12978. areauserid:
  12979. description: '[企业ID]机构ID'
  12980. type: integer
  12981. auditid:
  12982. description: 审核人
  12983. type: integer
  12984. auditremark:
  12985. description: 审核备注
  12986. type: string
  12987. auditsrc:
  12988. description: 审核来源 - 1:管理端 2:终端
  12989. type: integer
  12990. audittime:
  12991. description: 审核时间
  12992. type: string
  12993. audittradedate:
  12994. description: 审核交易日(yyyyMMdd)
  12995. type: string
  12996. biztype:
  12997. description: 业务类型 - 1:套保
  12998. type: integer
  12999. contracttype:
  13000. description: 计划类型 - 1:采购 -1:销售
  13001. type: integer
  13002. convertfactor:
  13003. description: 标仓系数 - 作废
  13004. type: number
  13005. createtime:
  13006. description: 创建时间
  13007. type: string
  13008. currencyid:
  13009. description: 结算币种ID - 作废
  13010. type: integer
  13011. deliverygoodsid:
  13012. description: 现货品种ID
  13013. type: integer
  13014. enumdicname:
  13015. description: 结算币种
  13016. type: string
  13017. hedgeplanid:
  13018. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  13019. type: string
  13020. hedgeplanno:
  13021. description: '[计划编号]套保计划编号,模糊查询'
  13022. type: string
  13023. hedgeplanstatus:
  13024. description: '[状态]套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回'
  13025. type: integer
  13026. isrelated:
  13027. description: 是否已关联计划项目 - 0:否 1:是
  13028. type: integer
  13029. planqty:
  13030. description: '[计划量]计划数量'
  13031. type: number
  13032. plantime:
  13033. description: 计划时间
  13034. type: string
  13035. producttype:
  13036. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  13037. type: integer
  13038. remark:
  13039. description: 备注
  13040. type: string
  13041. spotgoodsdesc:
  13042. description: 商品型号
  13043. type: string
  13044. tradedate:
  13045. description: 交易日(yyyyMMdd)
  13046. type: string
  13047. tradeuserid:
  13048. description: 交易用户ID
  13049. type: integer
  13050. updatetime:
  13051. description: 更新时间
  13052. type: string
  13053. wrstandardid:
  13054. description: 现货商品ID
  13055. type: integer
  13056. wrstandardname:
  13057. description: 现货商品,模糊查询
  13058. type: string
  13059. required:
  13060. - areauserid
  13061. type: object
  13062. models.Useraccount:
  13063. properties:
  13064. accountname:
  13065. description: 账户名称(机构名称)
  13066. type: string
  13067. accountstatus:
  13068. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  13069. type: integer
  13070. applysrc:
  13071. description: 申请来源 - 1:管理端 2:终端
  13072. type: integer
  13073. auditremark:
  13074. description: 审核备注
  13075. type: string
  13076. auditsrc:
  13077. description: 审核来源 - 1:管理端 2:终端
  13078. type: integer
  13079. audittime:
  13080. description: 审核时间
  13081. type: string
  13082. audituserid:
  13083. description: 审核人
  13084. type: integer
  13085. broker:
  13086. description: 所属经纪人ID
  13087. type: integer
  13088. canceltime:
  13089. description: 销户时间
  13090. type: string
  13091. canceluserid:
  13092. description: 销户人
  13093. type: integer
  13094. canrecommend:
  13095. description: 是否可推荐 - 0:不可 1;可
  13096. type: integer
  13097. createtime:
  13098. description: 创建时间
  13099. type: string
  13100. creatorid:
  13101. description: 创建人
  13102. type: integer
  13103. hasauth:
  13104. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  13105. type: integer
  13106. isanonymous:
  13107. description: 是否匿名下单 - 0:否 1:是
  13108. type: integer
  13109. maxinvestornum:
  13110. description: 最大用户数(经纪会员下投资者个数)
  13111. type: integer
  13112. memberuserid:
  13113. description: 所属会员ID
  13114. type: integer
  13115. modifierid:
  13116. description: 修改人
  13117. type: integer
  13118. modifyremark:
  13119. description: 变更备注
  13120. type: string
  13121. modifystatus:
  13122. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  13123. type: integer
  13124. modifytime:
  13125. description: 修改时间
  13126. type: string
  13127. parenttopuser:
  13128. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  13129. type: string
  13130. parentuserid:
  13131. description: 所属机构ID
  13132. type: integer
  13133. reckonaccountid:
  13134. description: 默认结算资金账号ID(机构分润使用) 作废
  13135. type: integer
  13136. refercount:
  13137. description: 推荐总人数
  13138. type: integer
  13139. refereeuserid:
  13140. description: 推荐人ID
  13141. type: integer
  13142. refernum:
  13143. description: 推荐码
  13144. type: string
  13145. rootuserid:
  13146. description: 根用户ID
  13147. type: integer
  13148. subaccountlevel:
  13149. description: 子账户层数
  13150. type: integer
  13151. subarealevelpath:
  13152. description: 子机构层级路径(逗号分隔,首尾加逗号)
  13153. type: string
  13154. userid:
  13155. description: 用户ID
  13156. type: integer
  13157. usertype:
  13158. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  13159. type: integer
  13160. required:
  13161. - userid
  13162. type: object
  13163. models.Userfavoritegoods:
  13164. properties:
  13165. goodsid:
  13166. description: 商品ID
  13167. type: integer
  13168. required:
  13169. - goodsid
  13170. type: object
  13171. models.Userinfo:
  13172. properties:
  13173. address:
  13174. description: 地址
  13175. type: string
  13176. attachment1:
  13177. description: 附件1
  13178. type: string
  13179. attachment2:
  13180. description: 附件2
  13181. type: string
  13182. bankaccount:
  13183. description: 银行帐号 (加密存储)
  13184. type: string
  13185. bankaccountname:
  13186. description: 收款人名称
  13187. type: string
  13188. bankcardfrontphotourl:
  13189. description: 银行卡正面照地址
  13190. type: string
  13191. bankid:
  13192. description: 银行编码
  13193. type: string
  13194. bankname:
  13195. description: 银行名称
  13196. type: string
  13197. biznature:
  13198. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  13199. type: integer
  13200. bizscope:
  13201. description: 企业经营范围(企业)
  13202. type: string
  13203. cardbackphotourl:
  13204. description: 证件背面图片地址
  13205. type: string
  13206. cardfrontphotourl:
  13207. description: 证件正面图片地址
  13208. type: string
  13209. cardnum:
  13210. description: 证件号码(加密存储)
  13211. type: string
  13212. cardtypeid:
  13213. description: 证件类型ID
  13214. type: integer
  13215. cityid:
  13216. description: 市
  13217. type: integer
  13218. company:
  13219. description: 公司(个人)
  13220. type: string
  13221. contactname:
  13222. description: 联系人
  13223. type: string
  13224. countryid:
  13225. description: 国家
  13226. type: integer
  13227. createtime:
  13228. description: 创建时间
  13229. type: string
  13230. creatorid:
  13231. description: 创建人
  13232. type: integer
  13233. customername:
  13234. description: 客户名称(企业名称)
  13235. type: string
  13236. districtid:
  13237. description: 地区
  13238. type: integer
  13239. email:
  13240. description: 邮件(加密存储)
  13241. type: string
  13242. fax:
  13243. description: 传真(加密存储)
  13244. type: string
  13245. halfbodyphotourl:
  13246. description: 半身照地址
  13247. type: string
  13248. hasencrypt:
  13249. description: 数据是否已加密 - 0:未加密 1:已加密
  13250. type: integer
  13251. headurl:
  13252. description: 头像地址
  13253. type: string
  13254. legalcardbackphotourl:
  13255. description: 法人身份证背面照地址
  13256. type: string
  13257. legalcardfrontphotourl:
  13258. description: 法人身份证正面照地址
  13259. type: string
  13260. legalpersonname:
  13261. description: 法人姓名(企业)
  13262. type: string
  13263. mobile:
  13264. description: 手机号码(加密存储)
  13265. type: string
  13266. mobile2:
  13267. description: 手机号码[明文-尚志]
  13268. type: string
  13269. modifierid:
  13270. description: 修改人
  13271. type: integer
  13272. modifiertime:
  13273. description: 修改时间
  13274. type: string
  13275. needinvoice:
  13276. description: 是否需要发票 - 0:不需要 1:需要
  13277. type: integer
  13278. nickname:
  13279. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  13280. type: string
  13281. openmode:
  13282. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  13283. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  13284. type: integer
  13285. otherurl:
  13286. description: 其它图片地址[使用分号分隔]
  13287. type: string
  13288. postalcode:
  13289. description: 邮政编码
  13290. type: string
  13291. provinceid:
  13292. description: 省
  13293. type: integer
  13294. qq:
  13295. description: QQ(加密存储
  13296. type: string
  13297. remark:
  13298. description: 备注
  13299. type: string
  13300. sex:
  13301. description: '用户性别 0: 女 1: 男'
  13302. type: integer
  13303. signpdfurl:
  13304. description: 签约pdf文件
  13305. type: string
  13306. telphone:
  13307. description: 联系电话(加密存储)
  13308. type: string
  13309. userid:
  13310. description: 用户ID
  13311. type: integer
  13312. userinfotype:
  13313. description: 用户信息类型 - 1:个人 2:企业
  13314. type: integer
  13315. userstatus:
  13316. description: 用户状态 - 1:正常 2:注销
  13317. type: integer
  13318. usertype:
  13319. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  13320. type: integer
  13321. wechat:
  13322. description: 微信(加密存储)
  13323. type: string
  13324. wskhinfo:
  13325. description: 开户申请信息(JSON)
  13326. type: string
  13327. required:
  13328. - userid
  13329. type: object
  13330. models.WRSConverTDetail:
  13331. properties:
  13332. convertratio:
  13333. description: 套保系数
  13334. type: number
  13335. deliverygoodscode:
  13336. description: 现货商品代码
  13337. type: string
  13338. deliverygoodsid:
  13339. description: 现货品种ID
  13340. type: integer
  13341. deliverygoodsname:
  13342. description: 现货商品名称
  13343. type: string
  13344. enumdicname:
  13345. description: 单位名称
  13346. type: string
  13347. goodsunitid:
  13348. description: 套保品种单位id
  13349. type: integer
  13350. middlegoodscode:
  13351. description: 套保品种代码
  13352. type: string
  13353. middlegoodsid:
  13354. description: 套保品种ID
  13355. type: integer
  13356. middlegoodsname:
  13357. description: 套保品种名称
  13358. type: string
  13359. modifytime:
  13360. description: 修改时间
  13361. type: string
  13362. wrstandardid:
  13363. description: 品类ID
  13364. type: integer
  13365. type: object
  13366. models.WRStandardInfo:
  13367. properties:
  13368. areauserid:
  13369. description: 所属机构
  13370. type: integer
  13371. convertfactor:
  13372. description: 标仓系数
  13373. type: number
  13374. createtime:
  13375. description: 创建时间
  13376. type: string
  13377. creatorid:
  13378. description: 创建人
  13379. type: integer
  13380. deliverygoodsid:
  13381. description: 品种ID
  13382. type: integer
  13383. deliverygoodsname:
  13384. description: 交割商品名称
  13385. type: string
  13386. factoryitemjson:
  13387. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  13388. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  13389. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  13390. 逗号分隔'
  13391. type: string
  13392. isvalid:
  13393. description: 是否有效 - 0:无效 1:有效
  13394. type: integer
  13395. minivalue:
  13396. description: 最小变动值
  13397. type: integer
  13398. minivaluedp:
  13399. description: 最小变动值小数位
  13400. type: integer
  13401. realminivalue:
  13402. description: 实际最小变动值
  13403. type: integer
  13404. realminivaluedp:
  13405. description: 实际最小变动值小数位
  13406. type: integer
  13407. remark:
  13408. description: 备注
  13409. type: string
  13410. unitid:
  13411. description: 单位ID
  13412. type: integer
  13413. unitname:
  13414. description: 单位
  13415. type: string
  13416. updatetime:
  13417. description: 更新时间
  13418. type: string
  13419. updatorid:
  13420. description: 更新人
  13421. type: integer
  13422. wrsstatus:
  13423. description: 状态 - 作废 - 0:未激活 1:正常
  13424. type: integer
  13425. wrstandardcode:
  13426. description: 现货品类代码
  13427. type: string
  13428. wrstandardid:
  13429. description: 现货品类ID(SEQ_WRSTANDARD)
  13430. type: integer
  13431. wrstandardname:
  13432. description: 现货品类名称
  13433. type: string
  13434. required:
  13435. - wrstandardid
  13436. type: object
  13437. models.WRTradeBargainApply:
  13438. properties:
  13439. accountid:
  13440. description: 摘牌资金账号
  13441. type: integer
  13442. applyprice:
  13443. description: 申请价格(议价价格)
  13444. type: string
  13445. applyqty:
  13446. description: 摘牌数量(议价数量)
  13447. type: number
  13448. applyremark:
  13449. description: 申请备注
  13450. type: string
  13451. applystatus:
  13452. description: 申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  13453. type: integer
  13454. applytime:
  13455. description: 申请时间(议价时间)
  13456. type: string
  13457. begindate:
  13458. description: 开始交易日(yyyymmdd)
  13459. type: string
  13460. buyorsell:
  13461. description: 买卖(挂牌类型) - 0:买 1:卖
  13462. type: integer
  13463. confirmremark:
  13464. description: 确认备注
  13465. type: string
  13466. confirmtime:
  13467. description: 确认时间
  13468. type: string
  13469. confirmuserid:
  13470. description: 确认人
  13471. type: integer
  13472. deliverygoodscode:
  13473. description: 品种代码
  13474. type: string
  13475. deliverygoodsid:
  13476. description: 品种ID
  13477. type: integer
  13478. deliverygoodsname:
  13479. description: 品种名称
  13480. type: string
  13481. deliverymonth:
  13482. description: 交收月
  13483. type: string
  13484. enddate:
  13485. description: 结束交易日(yyyymmdd)
  13486. type: string
  13487. enumdicname:
  13488. description: 单位名称
  13489. type: string
  13490. fixedprice:
  13491. description: 期初均价
  13492. type: number
  13493. handlestatus:
  13494. description: 处理状态
  13495. type: integer
  13496. marginvalue:
  13497. description: 期初均价
  13498. type: number
  13499. marketid:
  13500. description: 市场ID
  13501. type: integer
  13502. matchaccountid:
  13503. description: 挂牌方资金账号
  13504. type: integer
  13505. matchuserid:
  13506. description: 挂牌方用户id
  13507. type: integer
  13508. matchusername:
  13509. description: 挂牌方用户名称(已脱敏)
  13510. type: string
  13511. minivalue:
  13512. description: 现货商品最小变动值
  13513. type: integer
  13514. optioncompare:
  13515. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  13516. type: string
  13517. orderqty:
  13518. description: 挂牌数量
  13519. type: integer
  13520. refprice:
  13521. description: 参考价格
  13522. type: string
  13523. retcode:
  13524. description: 委托返回代码
  13525. type: integer
  13526. templatename:
  13527. description: 履约方式(履约模板名称)
  13528. type: string
  13529. tradedate:
  13530. description: 交易日(yyyyMMdd)
  13531. type: string
  13532. userid:
  13533. description: 摘牌人用户ID(议价人ID)
  13534. type: integer
  13535. username:
  13536. description: 议价人名字(已脱敏)
  13537. type: string
  13538. validtime:
  13539. description: 有效期限
  13540. type: string
  13541. warehouseid:
  13542. description: 仓库ID
  13543. type: integer
  13544. warehousename:
  13545. description: 仓库名称
  13546. type: string
  13547. wrbargainid:
  13548. description: 议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)
  13549. type: string
  13550. wrfactortypeid:
  13551. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  13552. type: string
  13553. wrfactortypename:
  13554. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  13555. type: string
  13556. wrstandardcode:
  13557. description: 现货商品代码
  13558. type: string
  13559. wrstandardid:
  13560. description: 现货商品ID
  13561. type: integer
  13562. wrstandardname:
  13563. description: 商品名称
  13564. type: string
  13565. wrtradeorderid:
  13566. description: 关联委托单ID
  13567. type: string
  13568. wrtypename:
  13569. description: 商品
  13570. type: string
  13571. type: object
  13572. models.Warehouseinfo:
  13573. properties:
  13574. address:
  13575. description: 详细地址
  13576. type: string
  13577. areauserid:
  13578. description: 所属机构
  13579. type: integer
  13580. autoid:
  13581. description: 自增ID
  13582. type: integer
  13583. cityid:
  13584. description: 市
  13585. type: integer
  13586. contactname:
  13587. description: 联系人
  13588. type: string
  13589. contactnum:
  13590. description: 联系电话
  13591. type: string
  13592. countryid:
  13593. description: 国家
  13594. type: integer
  13595. createtime:
  13596. description: 创建时间
  13597. type: string
  13598. districtid:
  13599. description: 区
  13600. type: integer
  13601. hasvideo:
  13602. description: 是否有视频 - 0:无 1:有
  13603. type: integer
  13604. provinceid:
  13605. description: 省
  13606. type: integer
  13607. remark:
  13608. description: 审核备注
  13609. type: string
  13610. videourl:
  13611. description: 视频地址
  13612. type: string
  13613. warehousecode:
  13614. description: 仓库代码
  13615. type: string
  13616. warehousename:
  13617. description: 仓库名称
  13618. type: string
  13619. warehousestatus:
  13620. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  13621. type: integer
  13622. warehousetype:
  13623. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  13624. type: integer
  13625. required:
  13626. - autoid
  13627. - warehousecode
  13628. type: object
  13629. models.WrAverageTradePrice:
  13630. properties:
  13631. averageprice:
  13632. description: 期初均价
  13633. type: number
  13634. tradedate:
  13635. description: 交易日yyyymm
  13636. type: string
  13637. type: object
  13638. models.WrBrandAndYears:
  13639. properties:
  13640. brandlst:
  13641. description: 品牌列表
  13642. items:
  13643. $ref: '#/definitions/models.DgFactoryItem'
  13644. type: array
  13645. yearslst:
  13646. description: 年份列表
  13647. items:
  13648. $ref: '#/definitions/models.DgFactoryItem'
  13649. type: array
  13650. type: object
  13651. models.WrBsGoodsInfo:
  13652. properties:
  13653. buyorsell:
  13654. description: 买卖方向 0-买 1-卖
  13655. type: integer
  13656. goodsid:
  13657. description: 交易合约ID
  13658. type: integer
  13659. lstitem:
  13660. description: 商品信息项
  13661. items:
  13662. $ref: '#/definitions/models.WrTypeItem'
  13663. type: array
  13664. lststep:
  13665. description: 履约规则
  13666. items:
  13667. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  13668. type: array
  13669. type: object
  13670. models.WrBuybackDetail:
  13671. properties:
  13672. buybackamount:
  13673. description: 回购金额
  13674. type: number
  13675. buybackqty:
  13676. description: 回购数量
  13677. type: number
  13678. buybackreleasemargin:
  13679. description: 回购释放保证金
  13680. type: number
  13681. buybacktime:
  13682. description: 回购时间
  13683. type: string
  13684. errordesc:
  13685. description: 错误描述
  13686. type: string
  13687. handlestatus:
  13688. description: 处理 - 1:待处理 2:处理成功 3:处理失败
  13689. type: integer
  13690. relatedwrid:
  13691. description: 关联仓单ID
  13692. type: integer
  13693. scfcontractid:
  13694. description: SCF合同ID
  13695. type: string
  13696. scfwrbuybackid:
  13697. description: SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)
  13698. type: integer
  13699. tradedate:
  13700. description: 交易日(yyyyMMdd)
  13701. type: string
  13702. type: object
  13703. models.WrClientAdSpaceConfig:
  13704. properties:
  13705. adspaceid:
  13706. description: 广告位ID
  13707. type: integer
  13708. adspacename:
  13709. description: 广告位名称
  13710. type: string
  13711. adspacetype:
  13712. description: 广告位类型 - 1:固定广告位
  13713. type: integer
  13714. areauserid:
  13715. description: 所属机构ID
  13716. type: integer
  13717. createdate:
  13718. description: 创建时间
  13719. type: string
  13720. imagepath:
  13721. description: 图片
  13722. type: string
  13723. modifierid:
  13724. description: 操作人
  13725. type: integer
  13726. recsize:
  13727. description: 推荐尺寸
  13728. type: string
  13729. title:
  13730. description: 标题
  13731. type: string
  13732. updatedate:
  13733. description: 更新时间
  13734. type: string
  13735. urlcontent:
  13736. description: 链接(地址\商品ID\功能菜单Key\appid)
  13737. type: string
  13738. urltype:
  13739. description: 链接类型 - 0:无 1:直接地址 2:商品ID 3:图片详情 4:App功能 5:微信小程序
  13740. type: integer
  13741. type: object
  13742. models.WrDeliveryAvalidHoldLB:
  13743. properties:
  13744. accountid:
  13745. description: 资金账号
  13746. type: integer
  13747. avalidqty:
  13748. description: 数量(可点选数量)
  13749. type: number
  13750. deliverygoodsid:
  13751. description: 品种id
  13752. type: integer
  13753. enumdicname:
  13754. description: 单位名称
  13755. type: string
  13756. goodsid:
  13757. description: x合约商品id
  13758. type: integer
  13759. ladingbillid:
  13760. description: 提单id
  13761. type: string
  13762. pgoodscode:
  13763. description: p商品代码(点价合约)
  13764. type: string
  13765. pgoodsid:
  13766. description: p商品id(点价合约)
  13767. type: integer
  13768. pgoodsname:
  13769. description: p商品名称(点价合约)
  13770. type: string
  13771. pricemove:
  13772. description: 升贴水
  13773. type: number
  13774. subnum:
  13775. description: 提单子id
  13776. type: integer
  13777. userid:
  13778. description: 用户id
  13779. type: integer
  13780. username:
  13781. description: 仓单持有人
  13782. type: string
  13783. warehousecode:
  13784. description: 仓库代码
  13785. type: string
  13786. warehouseid:
  13787. description: 仓库id
  13788. type: integer
  13789. warehousename:
  13790. description: 仓库名称
  13791. type: string
  13792. wrfactortypeid:
  13793. description: 仓单要素id
  13794. type: string
  13795. wrstandardcode:
  13796. description: 品代码
  13797. type: string
  13798. wrstandardid:
  13799. description: 品类d
  13800. type: integer
  13801. wrstandardname:
  13802. description: 品类名称
  13803. type: string
  13804. wrtypename:
  13805. description: 商品
  13806. type: string
  13807. xgoodscode:
  13808. description: x合约代码
  13809. type: string
  13810. xgoodsname:
  13811. description: x合约名称
  13812. type: string
  13813. type: object
  13814. models.WrDeliveryDetail:
  13815. properties:
  13816. accountid:
  13817. description: 账号ID
  13818. type: integer
  13819. averageprice:
  13820. description: 期初均价
  13821. type: number
  13822. begindate:
  13823. description: 开始交易日(yyyymmdd)
  13824. type: string
  13825. buyorsell:
  13826. description: 方向 - 0:买 1:卖
  13827. type: integer
  13828. deliveryamount:
  13829. description: 货款金额(X总货款+P总货款)
  13830. type: number
  13831. deliveryid:
  13832. description: 交割单号(121+Unix秒时间戳(10位)+xxxxxx)
  13833. type: string
  13834. deliveryorderid:
  13835. description: 申报单号
  13836. type: string
  13837. deliverypricemove:
  13838. description: 升贴水(升贴水总额)
  13839. type: number
  13840. deliveryqty:
  13841. description: 交收数量(点选数量)
  13842. type: number
  13843. deliverystatus:
  13844. description: 状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成
  13845. type: integer
  13846. deliverytime:
  13847. description: 交割时间
  13848. type: string
  13849. deliverytotalamount:
  13850. description: 交收金额
  13851. type: number
  13852. enddate:
  13853. description: 结束交易日(yyyymmdd)
  13854. type: string
  13855. enumdicname:
  13856. description: 单位名称
  13857. type: string
  13858. matchaccountid:
  13859. description: 对手账号ID
  13860. type: integer
  13861. matchusername:
  13862. description: 对手方名称(仓单持有人)
  13863. type: string
  13864. p1goodsremainamount:
  13865. description: 点价货款 ps:当PPRICEMODE=2时, 界面需显示"-"
  13866. type: number
  13867. pdeliverycloseqty:
  13868. description: p合约平仓数量
  13869. type: number
  13870. pdeliveryprice:
  13871. description: 点价价格 ps:当PPRICEMODE=2时, 界面需显示"-"
  13872. type: number
  13873. pgoodscode:
  13874. description: 商品代码
  13875. type: string
  13876. pgoodsid:
  13877. description: p点选合约id
  13878. type: integer
  13879. pgoodsname:
  13880. description: 商品名称
  13881. type: string
  13882. ppricemode:
  13883. description: 点价价格方式 - 1:商品价 2:固定值
  13884. type: integer
  13885. tradedate:
  13886. description: 交易日(yyyymmdd)
  13887. type: string
  13888. userid:
  13889. description: 用户id
  13890. type: integer
  13891. username:
  13892. description: 用户名称
  13893. type: string
  13894. warehousename:
  13895. description: 仓库名称
  13896. type: string
  13897. wrfactortypeid:
  13898. description: 仓单要素类型ID
  13899. type: string
  13900. wrtypename:
  13901. description: 商品
  13902. type: string
  13903. xdeliverycloseqty:
  13904. description: 合约数量
  13905. type: number
  13906. xgoodsamount:
  13907. description: 期初均价
  13908. type: number
  13909. xgoodscode:
  13910. description: 商品代码
  13911. type: string
  13912. xgoodsid:
  13913. description: x交易合约ID
  13914. type: integer
  13915. xgoodsname:
  13916. description: 商品名称
  13917. type: string
  13918. type: object
  13919. models.WrDeliveryGoodsSection:
  13920. properties:
  13921. dglst:
  13922. description: 板块商品列表
  13923. items:
  13924. $ref: '#/definitions/models.WrDeliveryGoodsSectionConfig'
  13925. type: array
  13926. imagepath:
  13927. description: 图片地址
  13928. type: string
  13929. orderindex:
  13930. description: 排序
  13931. type: integer
  13932. sectionid:
  13933. description: 版块ID (SEQ_DELIVERYGOODSSECTION) - 自增100开始, 前面ID预留给SectionType
  13934. = 1的版块1 - 云融指数
  13935. type: integer
  13936. sectionname:
  13937. description: 版块名称
  13938. type: string
  13939. sectiontype:
  13940. description: 版块类型 - 1:指数版块 2:普通版块
  13941. type: integer
  13942. type: object
  13943. models.WrDeliveryGoodsSectionConfig:
  13944. properties:
  13945. deliverygoodscode:
  13946. description: 现货商品代码
  13947. type: string
  13948. deliverygoodsid:
  13949. description: 现货品种ID(SEQ_DELIVERYGOODS)
  13950. type: integer
  13951. deliverygoodsname:
  13952. description: 现货商品名称
  13953. type: string
  13954. orderindex:
  13955. description: 排序
  13956. type: integer
  13957. type: object
  13958. models.WrDraftUserInfo:
  13959. properties:
  13960. address:
  13961. description: 地址
  13962. type: string
  13963. attachment1:
  13964. description: 附件1
  13965. type: string
  13966. attachment2:
  13967. description: 附件2
  13968. type: string
  13969. attachment3:
  13970. description: 附件3
  13971. type: string
  13972. attachment4:
  13973. description: 附件4
  13974. type: string
  13975. attachment5:
  13976. description: 附件5
  13977. type: string
  13978. bankaccount:
  13979. description: 银行帐号 (加密存储)
  13980. type: string
  13981. bankaccountname:
  13982. description: 收款人名称
  13983. type: string
  13984. bankcardfrontphotourl:
  13985. description: 银行卡正面照地址
  13986. type: string
  13987. bankid:
  13988. description: 银行编码
  13989. type: string
  13990. bankname:
  13991. description: 银行名称
  13992. type: string
  13993. birthday:
  13994. description: 生日(个人:年月日)
  13995. type: string
  13996. biznature:
  13997. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  13998. type: integer
  13999. bizscope:
  14000. description: 企业经营范围(企业)
  14001. type: string
  14002. biztype:
  14003. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  14004. type: integer
  14005. cardbackphotourl:
  14006. description: 证件背面图片地址
  14007. type: string
  14008. cardfrontphotourl:
  14009. description: 证件正面图片地址
  14010. type: string
  14011. cardnum:
  14012. description: 证件号码(加密存储)
  14013. type: string
  14014. cardtypeid:
  14015. description: 证件类型ID
  14016. type: integer
  14017. cityid:
  14018. description: 市
  14019. type: integer
  14020. company:
  14021. description: 公司(个人)
  14022. type: string
  14023. contactcardbackphotourl:
  14024. description: 联系人证件背面图片地址
  14025. type: string
  14026. contactcardfrontphotourl:
  14027. description: 联系人证件正面图片地址
  14028. type: string
  14029. contactname:
  14030. description: 联系人
  14031. type: string
  14032. countryid:
  14033. description: 国家
  14034. type: integer
  14035. createtime:
  14036. description: 创建时间
  14037. type: string
  14038. creatorid:
  14039. description: 创建人
  14040. type: integer
  14041. creditquota:
  14042. description: 授信额度(金瑞)
  14043. type: number
  14044. customername:
  14045. description: 客户名称(企业名称)
  14046. type: string
  14047. districtid:
  14048. description: 地区
  14049. type: integer
  14050. email:
  14051. description: 邮件(加密存储)
  14052. type: string
  14053. fax:
  14054. description: 传真(加密存储)
  14055. type: string
  14056. halfbodyphotourl:
  14057. description: 半身照地址
  14058. type: string
  14059. hasencrypt:
  14060. description: 数据是否已加密 - 0:未加密 1:已加密
  14061. type: integer
  14062. headurl:
  14063. description: 头像地址
  14064. type: string
  14065. legalcardbackphotourl:
  14066. description: 法人身份证背面照地址
  14067. type: string
  14068. legalcardfrontphotourl:
  14069. description: 法人身份证正面照地址
  14070. type: string
  14071. legalpersonname:
  14072. description: 法人姓名(企业)
  14073. type: string
  14074. mobile:
  14075. description: 手机号码(加密存储)
  14076. type: string
  14077. mobile2:
  14078. description: 手机号码[明文-尚志]
  14079. type: string
  14080. modifierid:
  14081. description: 修改人
  14082. type: integer
  14083. modifiertime:
  14084. description: 修改时间
  14085. type: string
  14086. needinvoice:
  14087. description: 是否需要发票 - 0:不需要 1:需要
  14088. type: integer
  14089. nickname:
  14090. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  14091. type: string
  14092. openmode:
  14093. description: "开户方式 - 1:管理端开户 2\t:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  14094. 6:苹果手机端注册 7:PC交易端注册"
  14095. type: integer
  14096. otherurl:
  14097. description: 其它图片地址[使用分号分隔]
  14098. type: string
  14099. postalcode:
  14100. description: 邮政编码
  14101. type: string
  14102. provinceid:
  14103. description: 省
  14104. type: integer
  14105. proxystatementurl:
  14106. description: 授权委托书
  14107. type: string
  14108. qq:
  14109. description: QQ(加密存储
  14110. type: string
  14111. remark:
  14112. description: 备注
  14113. type: string
  14114. sex:
  14115. description: '用户性别 0: 女 1: 男'
  14116. type: integer
  14117. signpdfurl:
  14118. description: 签约pdf文件
  14119. type: string
  14120. taxpayernum:
  14121. description: 纳税人识别号
  14122. type: string
  14123. telphone:
  14124. description: 联系电话(加密存储)
  14125. type: string
  14126. userid:
  14127. description: 用户ID
  14128. type: integer
  14129. userinfotype:
  14130. description: 用户信息类型 - 1:个人 2:企业
  14131. type: integer
  14132. userstatus:
  14133. description: 用户状态 - 1:正常 2:注销
  14134. type: integer
  14135. usertype:
  14136. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者
  14137. type: integer
  14138. wechat:
  14139. description: 微信(加密存储)
  14140. type: string
  14141. wskhinfo:
  14142. description: 开户申请信息(JSON)
  14143. type: string
  14144. type: object
  14145. models.WrFAProductDetail:
  14146. properties:
  14147. accountid:
  14148. description: 资金账号
  14149. type: integer
  14150. areauserid:
  14151. description: 金融机构ID
  14152. type: integer
  14153. financingdays:
  14154. description: 天数(天)
  14155. type: integer
  14156. interestminlen:
  14157. description: 最小起息天数
  14158. type: integer
  14159. interestrate:
  14160. description: 利率
  14161. type: number
  14162. interestratemode:
  14163. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  14164. type: integer
  14165. interestsettlemode:
  14166. description: 结息方式 - 1:按日结息 3:按月结息
  14167. type: integer
  14168. interestsettlevalue:
  14169. description: 结息方式值
  14170. type: integer
  14171. isautoloan:
  14172. description: 是否自动放款 0-手动 1-自动 (当为自动放款时,显示"放款快")
  14173. type: integer
  14174. loantag:
  14175. description: '放款标识: "放款快" 或者为空'
  14176. type: string
  14177. marginratio:
  14178. description: 保证金比率质押率 - [仓单质押]
  14179. type: number
  14180. productdetailid:
  14181. description: 产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)
  14182. type: integer
  14183. productid:
  14184. description: 金融产品ID
  14185. type: integer
  14186. productname:
  14187. description: 产品名称
  14188. type: string
  14189. updatetime:
  14190. description: 更新时间
  14191. type: string
  14192. username:
  14193. description: 融出方
  14194. type: string
  14195. type: object
  14196. models.WrFactorTypeInfo:
  14197. properties:
  14198. deliverygoodscode:
  14199. description: 品种代码
  14200. type: string
  14201. deliverygoodsname:
  14202. description: 品种名称
  14203. type: string
  14204. dgfactoryitemid:
  14205. description: 选择项id
  14206. type: integer
  14207. dgfactoryitemtypeid:
  14208. description: 要素选择项ID (1-仓库 2-品牌)
  14209. type: integer
  14210. dgfactoryitemvalue:
  14211. description: 要素项值
  14212. type: string
  14213. itemtypename:
  14214. description: 要素项名称
  14215. type: string
  14216. optioncompare:
  14217. description: 选择比较串
  14218. type: string
  14219. warehouseid:
  14220. description: 仓库id
  14221. type: integer
  14222. wrfactortypeid:
  14223. description: 仓单要素ID
  14224. type: string
  14225. wrfactortypename:
  14226. description: 要素名称
  14227. type: string
  14228. wrfactortypename2:
  14229. description: 要素名称(不含仓库)
  14230. type: string
  14231. wrstandardcode:
  14232. description: 品类代码
  14233. type: string
  14234. wrstandardid:
  14235. description: 品类id
  14236. type: integer
  14237. wrstandardname:
  14238. description: 品类名称
  14239. type: string
  14240. type: object
  14241. models.WrFilterItem:
  14242. properties:
  14243. itemcode:
  14244. description: 代码
  14245. type: string
  14246. itemid:
  14247. description: 项id
  14248. type: integer
  14249. itemname:
  14250. description: 名称
  14251. type: string
  14252. itemtype:
  14253. description: 类型 1-品种 2-品类(商品) 3-仓库
  14254. type: integer
  14255. type: object
  14256. models.WrFinanceBuyApply:
  14257. properties:
  14258. applydate:
  14259. description: 申请时间
  14260. type: string
  14261. applystatus:
  14262. description: 申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败
  14263. type: integer
  14264. applyuserid:
  14265. description: 申请人
  14266. type: integer
  14267. auditdate:
  14268. description: 审核时间
  14269. type: string
  14270. auditremark:
  14271. description: 审核备注
  14272. type: string
  14273. audituserid:
  14274. description: 审核人
  14275. type: integer
  14276. buyaccountid:
  14277. description: 买方资金账号
  14278. type: integer
  14279. buyorsell:
  14280. description: 买卖 - 0:买 1:卖
  14281. type: integer
  14282. buyuserid:
  14283. description: 买方用户ID
  14284. type: integer
  14285. buyusername:
  14286. description: 买方名称
  14287. type: string
  14288. buywrtradeorderid:
  14289. description: 融资方买委托单ID
  14290. type: string
  14291. deliverygoodscode:
  14292. description: 品种代码
  14293. type: string
  14294. deliverygoodsid:
  14295. description: 品种ID
  14296. type: integer
  14297. deliverygoodsname:
  14298. description: 品种名称
  14299. type: string
  14300. deliverymonth:
  14301. description: 交收月(yyyy-MM) [无仓单HasWR =0]
  14302. type: string
  14303. enumdicname:
  14304. description: 单位名称
  14305. type: string
  14306. financeaccountid:
  14307. description: 融资方资金帐户ID
  14308. type: integer
  14309. financeapplyid:
  14310. description: 融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)
  14311. type: string
  14312. financeareauserid:
  14313. description: 融资方用户ID
  14314. type: string
  14315. financename:
  14316. description: 融出方名称
  14317. type: string
  14318. financetype:
  14319. description: 融资类型 1-融资回购
  14320. type: integer
  14321. financingdays:
  14322. description: 天数(天)
  14323. type: integer
  14324. freezebuymargin:
  14325. description: 冻结融资保证金(买方)
  14326. type: number
  14327. handleremark:
  14328. description: 处理备注
  14329. type: string
  14330. handlestatus:
  14331. description: 处理状态
  14332. type: integer
  14333. interestminlen:
  14334. description: 最小起息天数
  14335. type: integer
  14336. interestrate:
  14337. description: 利率
  14338. type: number
  14339. interestratemode:
  14340. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  14341. type: integer
  14342. interestsettlemode:
  14343. description: 结息方式 - 1:按日结息 3:按月结息
  14344. type: integer
  14345. interestsettlevalue:
  14346. description: 结息方式值
  14347. type: integer
  14348. isautoloan:
  14349. description: 是否自动放款 - 0:手动 1:自动
  14350. type: integer
  14351. marginratio:
  14352. description: 保证金比率质押率 - [仓单质押]
  14353. type: number
  14354. marketid:
  14355. description: 市场ID
  14356. type: integer
  14357. minivalue:
  14358. description: 现货商品最小变动值
  14359. type: integer
  14360. optioncompare:
  14361. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14362. type: string
  14363. orderqty:
  14364. description: 委托数量(商品数量)
  14365. type: number
  14366. productdetailid:
  14367. description: 产品组合ID
  14368. type: integer
  14369. productid:
  14370. description: 金融产品ID
  14371. type: integer
  14372. productname:
  14373. description: 产品名称
  14374. type: string
  14375. remark:
  14376. description: 备注
  14377. type: string
  14378. scfcontractid:
  14379. description: 仓单回购合同ID
  14380. type: string
  14381. sellaccountid:
  14382. description: 卖方资金账号
  14383. type: integer
  14384. selluserid:
  14385. description: 卖方用户ID
  14386. type: integer
  14387. sellwrtradeorderid:
  14388. description: 卖方委托单ID
  14389. type: string
  14390. tradeamount:
  14391. description: 成交金额(借款金额)
  14392. type: number
  14393. tradedate:
  14394. description: 交易日(yyyyMMdd)
  14395. type: string
  14396. tradeprice:
  14397. description: 成交价格
  14398. type: number
  14399. warehouseid:
  14400. description: 仓库ID
  14401. type: integer
  14402. warehousename:
  14403. description: 仓库名称
  14404. type: string
  14405. wrfactortypeid:
  14406. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  14407. type: string
  14408. wrfactortypename:
  14409. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14410. type: string
  14411. wrpricetype:
  14412. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌单]
  14413. type: integer
  14414. wrstandardcode:
  14415. description: 现货商品代码
  14416. type: string
  14417. wrstandardid:
  14418. description: 现货商品ID
  14419. type: integer
  14420. wrstandardname:
  14421. description: 商品名称
  14422. type: string
  14423. wrtypename:
  14424. description: 商品
  14425. type: string
  14426. type: object
  14427. models.WrFriendApply:
  14428. properties:
  14429. applicantid:
  14430. description: 申请人
  14431. type: integer
  14432. applyname:
  14433. description: 申请人名称
  14434. type: string
  14435. applysrc:
  14436. description: 申请来源 - 1:管理端 2:终端
  14437. type: integer
  14438. applystatus:
  14439. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  14440. type: integer
  14441. applytime:
  14442. description: 申请时间
  14443. type: string
  14444. auditname:
  14445. description: 审核人名称
  14446. type: string
  14447. auditorid:
  14448. description: 审核人
  14449. type: integer
  14450. auditremark:
  14451. description: 审核备注
  14452. type: string
  14453. auditsrc:
  14454. description: 审核来源 - 1:管理端 2:终端
  14455. type: integer
  14456. audittime:
  14457. description: 审核时间
  14458. type: string
  14459. friendapplyid:
  14460. description: 申请ID(SEQ_FRIENDAPPLY)
  14461. type: string
  14462. friendname:
  14463. description: 好友名字(已脱敏)
  14464. type: string
  14465. frienduserid:
  14466. description: 好友用户ID
  14467. type: string
  14468. remark:
  14469. description: 备注
  14470. type: string
  14471. userid:
  14472. description: 申请人用户ID
  14473. type: integer
  14474. type: object
  14475. models.WrFtDeliveryGoods:
  14476. properties:
  14477. deliverygoodscode:
  14478. description: 品种代码
  14479. type: string
  14480. deliverygoodsid:
  14481. description: 品种ID
  14482. type: integer
  14483. deliverygoodsname:
  14484. description: 品种名称
  14485. type: string
  14486. wdlst:
  14487. description: 商品列表
  14488. items:
  14489. $ref: '#/definitions/models.WrFtWrstandard'
  14490. type: array
  14491. type: object
  14492. models.WrFtWrstandard:
  14493. properties:
  14494. enumdicname:
  14495. description: 单位名称
  14496. type: string
  14497. minivalue:
  14498. description: 最小变动值
  14499. type: integer
  14500. wrstandardcode:
  14501. description: 现货商品代码
  14502. type: string
  14503. wrstandardid:
  14504. description: 现货商品ID
  14505. type: integer
  14506. wrstandardname:
  14507. description: 商品名称
  14508. type: string
  14509. type: object
  14510. models.WrGoodsInfo:
  14511. properties:
  14512. haswr:
  14513. description: 0:仓单预售 1:仓单贸易
  14514. type: integer
  14515. lstitem:
  14516. description: 商品信息项
  14517. items:
  14518. $ref: '#/definitions/models.WrTypeItem'
  14519. type: array
  14520. lststep:
  14521. description: 履约规则
  14522. items:
  14523. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  14524. type: array
  14525. marketid:
  14526. description: 市场id
  14527. type: integer
  14528. type: object
  14529. models.WrGoodsPerformanceStep:
  14530. properties:
  14531. autoid:
  14532. description: AutoID
  14533. type: integer
  14534. isauto:
  14535. description: 是否自动 - 0:不自动 1:自动
  14536. type: integer
  14537. remark:
  14538. description: 备注
  14539. type: string
  14540. stepdate:
  14541. description: 天数信息(T+N)
  14542. type: string
  14543. stepdays:
  14544. description: 距离上一步天数
  14545. type: integer
  14546. stepindex:
  14547. description: 步骤序号
  14548. type: integer
  14549. stepinfo:
  14550. description: 步骤信息(步骤名称+步骤值)
  14551. type: string
  14552. steptypeid:
  14553. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  14554. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  14555. type: integer
  14556. steptypename:
  14557. description: 步骤名称
  14558. type: string
  14559. stepvalue:
  14560. description: 期初均价
  14561. type: number
  14562. templateid:
  14563. description: 履约计划模板ID
  14564. type: integer
  14565. type: object
  14566. models.WrHoldLB:
  14567. properties:
  14568. accountid:
  14569. description: 持有人帐户ID
  14570. type: integer
  14571. bannerpicurl:
  14572. description: Banner图
  14573. type: string
  14574. createtime:
  14575. description: 创建时间(过户时间)
  14576. type: string
  14577. deliverygoodscode:
  14578. description: 品种代码
  14579. type: string
  14580. deliverygoodsid:
  14581. description: 品种ID
  14582. type: integer
  14583. deliverygoodsname:
  14584. description: 品种名称
  14585. type: string
  14586. enableqty:
  14587. description: 可用数量
  14588. type: number
  14589. enumdicname:
  14590. description: 单位名称
  14591. type: string
  14592. freezerqty:
  14593. description: 冻结数量
  14594. type: number
  14595. ladingbillid:
  14596. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  14597. type: string
  14598. minivalue:
  14599. description: 现货商品最小变动值
  14600. type: integer
  14601. optioncompare:
  14602. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14603. type: string
  14604. parentsubnum:
  14605. description: 拆分父子单号
  14606. type: integer
  14607. pledgeqty:
  14608. description: 质押数量
  14609. type: number
  14610. qty:
  14611. description: 数量
  14612. type: number
  14613. subnum:
  14614. description: 提单子单号
  14615. type: integer
  14616. thumurls:
  14617. description: 缩略图
  14618. type: string
  14619. tradedate:
  14620. description: 交易日(yyyyMMdd)
  14621. type: string
  14622. userid:
  14623. description: 持有人ID
  14624. type: integer
  14625. warehouseid:
  14626. description: 仓库ID
  14627. type: integer
  14628. warehousename:
  14629. description: 仓库名称
  14630. type: string
  14631. wrfactortypeid:
  14632. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  14633. type: string
  14634. wrfactortypename:
  14635. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14636. type: string
  14637. wrholdeno:
  14638. description: 仓单编号
  14639. type: string
  14640. wrid:
  14641. description: 仓单变更ID
  14642. type: string
  14643. wrstandardcode:
  14644. description: 现货商品代码
  14645. type: string
  14646. wrstandardid:
  14647. description: 现货商品ID
  14648. type: integer
  14649. wrstandardname:
  14650. description: 商品名称
  14651. type: string
  14652. wrtypename:
  14653. description: 商品
  14654. type: string
  14655. type: object
  14656. models.WrMarketTradeConfig:
  14657. properties:
  14658. basisdownratio:
  14659. description: 浮动价基差下限比例(仓单贸易)
  14660. type: number
  14661. basisupratio:
  14662. description: 浮动价基差上限比例(仓单贸易)
  14663. type: number
  14664. buychargealgorithm:
  14665. description: 买方手续费收取方式 1:比率 2:固定
  14666. type: integer
  14667. buychargealgorithm2:
  14668. description: 回购买方手续费收取方式 1:比率 2:固定 --77:现货商城
  14669. type: integer
  14670. buychargealgorithmvalue:
  14671. description: 买方手续费设置值(交易所部分)
  14672. type: number
  14673. buychargealgorithmvalue2:
  14674. description: 买方手续费设置值(会员部分)
  14675. type: number
  14676. buychargealgorithmvalue3:
  14677. description: 回购买方手续费设置值(交易所部分) --77:现货商城
  14678. type: number
  14679. buychargealgorithmvalue4:
  14680. description: 回购买方手续费设置值(会员部分) --77:现货商城
  14681. type: number
  14682. buyfirstmarginalgorithm:
  14683. description: 买方出价保证金方式 - 1:比率 2:固定 - [竞拍]
  14684. type: integer
  14685. buyfirstmarginvalue:
  14686. description: 买方出价保证金设置值 - [竞拍]
  14687. type: number
  14688. buymarginalgorithm:
  14689. description: 买方保证金方式 - 1:比率 2:固定
  14690. type: integer
  14691. buymarginvalue:
  14692. description: 买方保证金设置值
  14693. type: number
  14694. buyreleaseratio:
  14695. description: 买方释放比率[2:分步履约]
  14696. type: number
  14697. executemode:
  14698. description: 执行方式[2:分步履约] - 1:顺序执行 2:交叉执行
  14699. type: integer
  14700. executeside:
  14701. description: 执行方[2:分步履约] - 1:买方 2:卖方
  14702. type: integer
  14703. failedchargealgorithm:
  14704. description: 流拍手续费收取方式 1:比率 2:固定
  14705. type: integer
  14706. failedchargevalue:
  14707. description: 流拍手续费设置值
  14708. type: number
  14709. failedchargevalue2:
  14710. description: 流拍卖方手续费设置值
  14711. type: number
  14712. holddays:
  14713. description: 合同期限[2:分步履约]
  14714. type: integer
  14715. listingmode:
  14716. description: 挂牌方式 - 1:一口价 2:浮动价 3:贸易圈 4:协议指定
  14717. type: integer
  14718. marketid:
  14719. description: 市场ID-仓单贸易、竞拍、预售
  14720. type: integer
  14721. minqty:
  14722. description: 最小执行量[2:分步履约]
  14723. type: number
  14724. modifierid:
  14725. description: 修改人
  14726. type: integer
  14727. nowrquotaflag:
  14728. description: 是否校验无仓单额度(仓单贸易) - 0:否 1:是
  14729. type: integer
  14730. performancetempid:
  14731. description: 履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  14732. 立即执行(-1)
  14733. type: integer
  14734. performancetempid2:
  14735. description: 履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  14736. 立即执行
  14737. type: integer
  14738. performancetempid2s:
  14739. description: 履约计划模板IDs(无仓单) - 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货
  14740. - 履约方式: 立即执行
  14741. type: string
  14742. performancetempids:
  14743. description: 履约计划模板IDs(有仓单)- 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货
  14744. - 履约方式: 立即执行(-1)
  14745. type: string
  14746. performanceway:
  14747. description: 交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]
  14748. type: integer
  14749. sellchargealgorithm:
  14750. description: 卖方手续费收取方式 1:比率 2:固定
  14751. type: integer
  14752. sellchargealgorithm2:
  14753. description: 回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城
  14754. type: integer
  14755. sellchargealgorithmvalue:
  14756. description: 卖方手续费设置值(交易所部分)
  14757. type: number
  14758. sellchargealgorithmvalue2:
  14759. description: 卖方手续费设置值(会员部分)
  14760. type: number
  14761. sellchargealgorithmvalue3:
  14762. description: 回购卖方手续费设置值(交易所部分) --77:现货商城
  14763. type: number
  14764. sellchargealgorithmvalue4:
  14765. description: 回购卖方手续费设置值(会员部分) --77:现货商城
  14766. type: number
  14767. sellmarginalgorithm:
  14768. description: 卖方保证金方式 - 1:比率 2:固定
  14769. type: integer
  14770. sellmarginvalue:
  14771. description: 卖方保证金设置值
  14772. type: number
  14773. sellmarginvalue2:
  14774. description: 卖方保证金设置值(无仓单)
  14775. type: number
  14776. sellreleaseratio:
  14777. description: 卖方释放比率[2:分步履约]
  14778. type: number
  14779. updatetime:
  14780. description: 更新时间
  14781. type: string
  14782. type: object
  14783. models.WrOrderDetail:
  14784. properties:
  14785. accountid:
  14786. description: 交易账号(资金账号)
  14787. type: integer
  14788. allfriendsflag:
  14789. description: 是否全好友可见 - 0:否 1:是
  14790. type: integer
  14791. amount:
  14792. description: 期初均价
  14793. type: number
  14794. bannerpicurl:
  14795. description: Banner图
  14796. type: string
  14797. begindate:
  14798. description: 开始交易日(yyyymmdd)
  14799. type: string
  14800. buyorsell:
  14801. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  14802. type: integer
  14803. canbargain:
  14804. description: 是否可议价 - 0:不可 1:可
  14805. type: integer
  14806. cancelqty:
  14807. description: 撤销数量
  14808. type: number
  14809. canpart:
  14810. description: 是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)
  14811. type: integer
  14812. delistminqty:
  14813. description: 起摘数量
  14814. type: integer
  14815. deliverygoodscode:
  14816. description: 品种代码
  14817. type: string
  14818. deliverygoodsid:
  14819. description: 品种ID
  14820. type: integer
  14821. deliverygoodsname:
  14822. description: 品种名称
  14823. type: string
  14824. deliverymonth:
  14825. description: 交收月
  14826. type: string
  14827. enddate:
  14828. description: 结束交易日(yyyymmdd)
  14829. type: string
  14830. enumdicname:
  14831. description: 单位名称
  14832. type: string
  14833. fixedprice:
  14834. description: 固定价格 - [挂牌]
  14835. type: number
  14836. freezecharge:
  14837. description: 期初均价
  14838. type: number
  14839. freezemargin:
  14840. description: 期初均价
  14841. type: number
  14842. futupricemove:
  14843. description: 期货升贴水
  14844. type: number
  14845. futushow:
  14846. description: 期货合约/升贴水
  14847. type: string
  14848. goodscode:
  14849. description: 期货合约
  14850. type: string
  14851. goodsid:
  14852. description: 期货商品id
  14853. type: integer
  14854. goodsname:
  14855. description: 商品名称
  14856. type: string
  14857. haswr:
  14858. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  14859. type: integer
  14860. isspecified:
  14861. description: 是否指定对手 - 0:不指定 1:指定 - [挂牌]
  14862. type: integer
  14863. ladingbillid:
  14864. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  14865. type: string
  14866. marginvalue:
  14867. description: 期初均价
  14868. type: number
  14869. marketid:
  14870. description: 市场ID
  14871. type: integer
  14872. matchusername:
  14873. description: 对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)
  14874. type: string
  14875. minivalue:
  14876. description: 现货商品最小变动值
  14877. type: integer
  14878. optioncompare:
  14879. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14880. type: string
  14881. orderqty:
  14882. description: 委托数量
  14883. type: number
  14884. ordertime:
  14885. description: 委托时间(挂牌时间)
  14886. type: string
  14887. performancetemplateid:
  14888. description: 履约模板id
  14889. type: integer
  14890. pricemove:
  14891. description: 升贴水(浮动价时填写) - [挂牌]
  14892. type: number
  14893. taname:
  14894. description: 交易用户名称(资金账号名称)
  14895. type: string
  14896. thumurls:
  14897. description: 缩略图
  14898. type: string
  14899. tradedate:
  14900. description: 交易日(yyyyMMdd)
  14901. type: string
  14902. tradeprice:
  14903. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)*
  14904. 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  14905. type: number
  14906. tradeqty:
  14907. description: 成交数量
  14908. type: number
  14909. userid:
  14910. description: 用户ID
  14911. type: integer
  14912. validtime:
  14913. description: 挂牌有效期
  14914. type: string
  14915. validtype:
  14916. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  14917. type: integer
  14918. warehouseid:
  14919. description: 仓库ID
  14920. type: integer
  14921. warehousename:
  14922. description: 仓库名称
  14923. type: string
  14924. wrfactortypeid:
  14925. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  14926. type: string
  14927. wrfactortypename:
  14928. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14929. type: string
  14930. wrpricetype:
  14931. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  14932. type: integer
  14933. wrstandardcode:
  14934. description: 现货商品代码
  14935. type: string
  14936. wrstandardid:
  14937. description: 现货商品ID
  14938. type: integer
  14939. wrstandardname:
  14940. description: 商品名称
  14941. type: string
  14942. wrtradeorderid:
  14943. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  14944. type: string
  14945. wrtradeorderstatus:
  14946. 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:撤单解冻贷款失败
  14947. type: integer
  14948. wrtradetype:
  14949. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  14950. type: integer
  14951. wrtypename:
  14952. description: 商品
  14953. type: string
  14954. type: object
  14955. models.WrOrderQuote:
  14956. properties:
  14957. bannerpicurl:
  14958. description: Banner图
  14959. type: string
  14960. buyprice:
  14961. description: 买价
  14962. type: number
  14963. buypricemove:
  14964. description: 买升贴水(基差)
  14965. type: number
  14966. buyqty:
  14967. description: 买量
  14968. type: number
  14969. deliverygoodscode:
  14970. description: 品种代码
  14971. type: string
  14972. deliverygoodsid:
  14973. description: 品种id
  14974. type: integer
  14975. deliverygoodsname:
  14976. description: 品种名称
  14977. type: string
  14978. deliverymonth:
  14979. description: 交收月
  14980. type: string
  14981. enumdicname:
  14982. description: 单位名称
  14983. type: string
  14984. goodscode:
  14985. description: 商品合约(浮动价列表才有)
  14986. type: string
  14987. goodsid:
  14988. description: 商品id(浮动价列表才有)
  14989. type: integer
  14990. minivalue:
  14991. description: 现货商品最小变动值
  14992. type: integer
  14993. pictureurls:
  14994. description: 详情图片(逗号分隔)
  14995. type: string
  14996. sellprice:
  14997. description: 卖价
  14998. type: number
  14999. sellpricemove:
  15000. description: 卖升贴水(基差)
  15001. type: number
  15002. sellqty:
  15003. description: 卖量
  15004. type: number
  15005. thumurls:
  15006. description: 缩略图片(1:1)(逗号分隔)
  15007. type: string
  15008. warehousecode:
  15009. description: 仓库代码
  15010. type: string
  15011. warehouseid:
  15012. description: 仓库id
  15013. type: integer
  15014. warehousename:
  15015. description: 仓库名称
  15016. type: string
  15017. wrfactortypeid:
  15018. description: 仓单要素id
  15019. type: string
  15020. wrfactortypename:
  15021. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15022. type: string
  15023. wrgoodsname:
  15024. description: 商品(商品名称+仓库要素名称 拼接)
  15025. type: string
  15026. wrstandardcode:
  15027. description: 商品代码
  15028. type: string
  15029. wrstandardid:
  15030. description: 商品id
  15031. type: integer
  15032. wrstandardname:
  15033. description: 商品名称
  15034. type: string
  15035. type: object
  15036. models.WrOrderQuoteDetail:
  15037. properties:
  15038. buyorsell:
  15039. description: 买卖 - 0:买 1:卖
  15040. type: integer
  15041. delistminqty:
  15042. description: 期初均价
  15043. type: number
  15044. deliverymonth:
  15045. description: 交收月
  15046. type: string
  15047. enumdicname:
  15048. description: 单位名称
  15049. type: string
  15050. fixedprice:
  15051. description: 买(卖)价
  15052. type: number
  15053. marketid:
  15054. description: 市场id
  15055. type: integer
  15056. minivalue:
  15057. description: 现货商品最小变动值
  15058. type: integer
  15059. orderqty:
  15060. description: 买(卖)量(=委托量-成交量)
  15061. type: number
  15062. ordertime:
  15063. description: 委托时间
  15064. type: string
  15065. pricemove:
  15066. description: 买(卖)升贴水- 基差
  15067. type: number
  15068. userid:
  15069. description: 购买方(销售方)用户ID
  15070. type: integer
  15071. username:
  15072. description: 购买方(销售方)
  15073. type: string
  15074. wrtradeorderid:
  15075. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  15076. type: string
  15077. type: object
  15078. models.WrOutInApply:
  15079. properties:
  15080. applyid:
  15081. description: 申请单id
  15082. type: string
  15083. applystatus:
  15084. description: 申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败
  15085. 8:已撤销
  15086. type: integer
  15087. applytime:
  15088. description: 申请时间
  15089. type: string
  15090. applytype:
  15091. description: 申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销
  15092. type: integer
  15093. bannerpicurl:
  15094. description: Banner图
  15095. type: string
  15096. begindate:
  15097. description: 开始交易日(yyyymmdd)
  15098. type: string
  15099. deliverygoodscode:
  15100. description: 品种代码
  15101. type: string
  15102. deliverygoodsid:
  15103. description: 品种ID
  15104. type: integer
  15105. deliverygoodsname:
  15106. description: 品种名称
  15107. type: string
  15108. enddate:
  15109. description: 结束交易日(yyyymmdd)
  15110. type: string
  15111. enumdicname:
  15112. description: 单位名称
  15113. type: string
  15114. expresscompany:
  15115. description: 物流公司
  15116. type: string
  15117. expressnum:
  15118. description: 物流单号
  15119. type: string
  15120. minivalue:
  15121. description: 现货商品最小变动值
  15122. type: integer
  15123. optioncompare:
  15124. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15125. type: string
  15126. qty:
  15127. description: 数量
  15128. type: integer
  15129. userid:
  15130. description: 用户id
  15131. type: integer
  15132. warehouseid:
  15133. description: 仓库ID
  15134. type: integer
  15135. warehousename:
  15136. description: 仓库名称
  15137. type: string
  15138. wrfactortypeid:
  15139. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15140. type: string
  15141. wrfactortypename:
  15142. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15143. type: string
  15144. wrstandardcode:
  15145. description: 现货商品代码
  15146. type: string
  15147. wrstandardid:
  15148. description: 现货商品ID
  15149. type: integer
  15150. wrstandardname:
  15151. description: 商品名称
  15152. type: string
  15153. wrtypename:
  15154. description: 商品
  15155. type: string
  15156. type: object
  15157. models.WrPerformancePlan:
  15158. properties:
  15159. activatemonth:
  15160. description: 履约激活月 [无仓单的交易收月](yyyy-MM)
  15161. type: string
  15162. amount:
  15163. description: 履约金额(总金额)
  15164. type: number
  15165. begindate:
  15166. description: 开始交易日(yyyymmdd)
  15167. type: string
  15168. buyaccountid:
  15169. description: 买方账号
  15170. type: integer
  15171. buyerfreezeamount:
  15172. description: 履约冻结(买履约)
  15173. type: number
  15174. buyerfreezeamountremain:
  15175. description: 履约冻结剩余(买履约)
  15176. type: number
  15177. buyorsell:
  15178. description: 买卖方向 0-买 1-卖
  15179. type: integer
  15180. buypaidamount:
  15181. description: 买方已冻/已扣金额 (已付金额)
  15182. type: number
  15183. buyusername:
  15184. description: 买方名字
  15185. type: string
  15186. contractid:
  15187. description: 合同ID
  15188. type: integer
  15189. createtime:
  15190. description: 创建时间
  15191. type: string
  15192. creatorid:
  15193. description: 创建人
  15194. type: integer
  15195. curstepdeadline:
  15196. description: 当前步骤到期时间
  15197. type: string
  15198. curstepid:
  15199. description: 当前步骤ID
  15200. type: string
  15201. curstepname:
  15202. description: 当前步骤名称
  15203. type: string
  15204. deliverygoodscode:
  15205. description: 品种代码
  15206. type: string
  15207. deliverygoodsid:
  15208. description: 品种ID
  15209. type: integer
  15210. deliverygoodsname:
  15211. description: 品种名称
  15212. type: string
  15213. enddate:
  15214. description: 结束交易日(yyyymmdd)
  15215. type: string
  15216. enumdicname:
  15217. description: 单位名称
  15218. type: string
  15219. expressfee:
  15220. description: 运费
  15221. type: number
  15222. expressfeeconfirmed:
  15223. description: 是否确认运费 - 0:无 1:买方确认 2:卖方确认
  15224. type: integer
  15225. hasovershort:
  15226. description: 是否确认溢短 - 0:没有 1:买方确认 2:卖方确认
  15227. type: integer
  15228. haswr:
  15229. description: 类型 0-仓单预售 1-仓单贸易
  15230. type: integer
  15231. marketid:
  15232. description: 市场ID
  15233. type: integer
  15234. middleaccountid:
  15235. description: 中间商资金账号ID
  15236. type: integer
  15237. middleuserid:
  15238. description: 中间商用户ID
  15239. type: integer
  15240. minivalue:
  15241. description: 现货商品最小变动值
  15242. type: integer
  15243. optioncompare:
  15244. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15245. type: string
  15246. overshortamount:
  15247. description: 溢短金额
  15248. type: number
  15249. overshortqty:
  15250. description: 溢短数量
  15251. type: number
  15252. paymenttype:
  15253. description: 付款方式 - 1:冻结 2:扣款
  15254. type: integer
  15255. performanceplanid:
  15256. description: 履约计划ID(130+yyMMddHHmmss+xxxx)
  15257. type: string
  15258. performancestatus:
  15259. description: 履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败
  15260. 9:超时待处理 10:超时关闭
  15261. type: integer
  15262. performancetype:
  15263. description: 履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式
  15264. 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统
  15265. type: integer
  15266. qty:
  15267. description: 履约数量
  15268. type: number
  15269. relatedorderid:
  15270. description: 关联单号(履约类型的关联单号)
  15271. type: string
  15272. remark:
  15273. description: 备注
  15274. type: string
  15275. sellaccountid:
  15276. description: 卖方账号
  15277. type: integer
  15278. sellerfreezeamount:
  15279. description: 履约冻结(卖履约)
  15280. type: number
  15281. sellerfreezeamountremain:
  15282. description: 履约冻结剩余(卖履约)
  15283. type: number
  15284. sellreceivedamount:
  15285. description: 卖方已收金额
  15286. type: number
  15287. sellusername:
  15288. description: 卖方名字
  15289. type: string
  15290. shipremark:
  15291. description: 发货备注[物流单号]
  15292. type: string
  15293. starttime:
  15294. description: 开始时间
  15295. type: string
  15296. steptypeid:
  15297. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  15298. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  15299. type: integer
  15300. typename:
  15301. description: 履约类型 名称
  15302. type: string
  15303. unpaidamount:
  15304. description: 期初均价
  15305. type: number
  15306. userid:
  15307. description: 用户id
  15308. type: integer
  15309. warehouseid:
  15310. description: 仓库ID
  15311. type: integer
  15312. warehousename:
  15313. description: 仓库名称
  15314. type: string
  15315. wrfactortypeid:
  15316. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15317. type: string
  15318. wrfactortypename:
  15319. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15320. type: string
  15321. wrstandardcode:
  15322. description: 现货商品代码
  15323. type: string
  15324. wrstandardid:
  15325. description: 现货商品ID
  15326. type: integer
  15327. wrstandardname:
  15328. description: 商品名称
  15329. type: string
  15330. wrtransferuserid:
  15331. description: 仓单受让用户
  15332. type: integer
  15333. wrtypename:
  15334. description: 商品
  15335. type: string
  15336. required:
  15337. - userid
  15338. type: object
  15339. models.WrPerformancePlanStep:
  15340. properties:
  15341. delaydays:
  15342. description: 延期申请天数
  15343. type: integer
  15344. deliverygoodscode:
  15345. description: 品种代码
  15346. type: string
  15347. deliverygoodsid:
  15348. description: 品种ID
  15349. type: integer
  15350. deliverygoodsname:
  15351. description: 品种名称
  15352. type: string
  15353. endtime:
  15354. description: 结束日期
  15355. type: string
  15356. enumdicname:
  15357. description: 单位名称
  15358. type: string
  15359. executeside:
  15360. description: 步骤执行方 - 1:买方 2:卖方
  15361. type: integer
  15362. handlestatus:
  15363. description: 处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败
  15364. 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求
  15365. 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败
  15366. type: integer
  15367. isauto:
  15368. description: 是否自动 - 0:不自动 1:自动
  15369. type: integer
  15370. islastreceivestep:
  15371. description: 是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)
  15372. type: integer
  15373. minivalue:
  15374. description: 现货商品最小变动值
  15375. type: integer
  15376. optioncompare:
  15377. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15378. type: string
  15379. overdays:
  15380. description: 超期天数 = 当前时间(数据库时间) - 结束日期
  15381. type: integer
  15382. performancestepid:
  15383. description: 履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)
  15384. type: string
  15385. planid:
  15386. description: 所属履约计划ID
  15387. type: string
  15388. realamount:
  15389. description: 实际完成金额
  15390. type: number
  15391. relatedorderid:
  15392. description: 关联单号
  15393. type: string
  15394. remaindays:
  15395. description: 剩余天数
  15396. type: integer
  15397. remark:
  15398. description: 错误备注
  15399. type: string
  15400. starttime:
  15401. description: 开始日期
  15402. type: string
  15403. stepamount:
  15404. description: 步骤金额
  15405. type: number
  15406. stepdays:
  15407. description: 距离上一步天数(分钟)
  15408. type: integer
  15409. stepindex:
  15410. description: 步骤序号
  15411. type: integer
  15412. steplanchtype:
  15413. description: 步骤启动类型 - 1:系统自动 2:手动
  15414. type: integer
  15415. stepremark:
  15416. description: 步骤备注
  15417. type: string
  15418. stepstatus:
  15419. description: 步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭
  15420. type: integer
  15421. steptypeid:
  15422. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  15423. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  15424. type: integer
  15425. steptypename:
  15426. description: 步骤名称
  15427. type: string
  15428. stepvalue:
  15429. description: 步骤值
  15430. type: number
  15431. warehouseid:
  15432. description: 仓库ID
  15433. type: integer
  15434. warehousename:
  15435. description: 仓库名称
  15436. type: string
  15437. wrfactortypeid:
  15438. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15439. type: string
  15440. wrfactortypename:
  15441. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15442. type: string
  15443. wrstandardcode:
  15444. description: 现货商品代码
  15445. type: string
  15446. wrstandardid:
  15447. description: 现货商品ID
  15448. type: integer
  15449. wrstandardname:
  15450. description: 商品名称
  15451. type: string
  15452. wrtypename:
  15453. description: 商品
  15454. type: string
  15455. type: object
  15456. models.WrPerformanceStepType:
  15457. properties:
  15458. canauto:
  15459. description: '能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)'
  15460. type: integer
  15461. steptypeid:
  15462. description: 步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移
  15463. type: integer
  15464. steptypename:
  15465. description: 步骤类型名称
  15466. type: string
  15467. type: object
  15468. models.WrPerformanceTemplateEx:
  15469. properties:
  15470. autoid:
  15471. description: AutoID 模板id
  15472. type: integer
  15473. createtime:
  15474. description: 创建时间
  15475. type: string
  15476. creatorid:
  15477. description: 创建人
  15478. type: integer
  15479. lstStep:
  15480. description: 步骤信息列表
  15481. items:
  15482. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  15483. type: array
  15484. paymenttype:
  15485. description: 支付方式 - 1:冻结 2:扣款
  15486. type: integer
  15487. takemode:
  15488. description: 提货方式 - 1:无 2:买方自提 3:卖方发货
  15489. type: integer
  15490. templatename:
  15491. description: 模板名称
  15492. type: string
  15493. templatetype:
  15494. description: 模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  15495. (无仓单) 5:挂牌期权 6:竞拍-降价式
  15496. type: integer
  15497. userid:
  15498. description: 所属用户
  15499. type: integer
  15500. type: object
  15501. models.WrPosition:
  15502. properties:
  15503. accountid:
  15504. description: 帐户ID
  15505. type: integer
  15506. buyexcuteqty:
  15507. description: 采购履约中数量
  15508. type: number
  15509. creditcurqty:
  15510. description: 授信当前数量(预售仓单:预售当前量)
  15511. type: number
  15512. creditenableqty:
  15513. description: '授信可用数量(预售仓单: 可用数量)'
  15514. type: number
  15515. creditfreezeqty:
  15516. description: '授信冻结数量(预售仓单: 当前数量)'
  15517. type: number
  15518. credittotalqty:
  15519. description: 授信总数量(预售仓单:预售总量)
  15520. type: number
  15521. credittradeqty:
  15522. description: 授信成交数量(预售仓单:成交总量)
  15523. type: number
  15524. deliverygoodscode:
  15525. description: 品种代码
  15526. type: string
  15527. deliverygoodsid:
  15528. description: 品种ID
  15529. type: integer
  15530. deliverygoodsname:
  15531. description: 品种名称
  15532. type: string
  15533. enalbeqty:
  15534. description: 可用数量
  15535. type: number
  15536. enumdicname:
  15537. description: 单位名称
  15538. type: string
  15539. freezeqty:
  15540. description: 总冻结数量
  15541. type: number
  15542. haswr:
  15543. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  15544. type: integer
  15545. minivalue:
  15546. description: 现货商品最小变动值
  15547. type: integer
  15548. modifytime:
  15549. description: 修改时间(过户时间)
  15550. type: string
  15551. optioncompare:
  15552. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15553. type: string
  15554. pledgeqty:
  15555. description: 质押数量
  15556. type: number
  15557. querytype:
  15558. description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  15559. type: integer
  15560. sellexcuteqty:
  15561. description: 销售履约中数量
  15562. type: number
  15563. totalqty:
  15564. description: 总数量(库存数量)
  15565. type: number
  15566. warehouseid:
  15567. description: 仓库ID
  15568. type: integer
  15569. warehousename:
  15570. description: 仓库名称
  15571. type: string
  15572. wrfactortypeid:
  15573. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15574. type: string
  15575. wrfactortypename:
  15576. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15577. type: string
  15578. wrpositionid:
  15579. description: 仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)
  15580. type: string
  15581. wrpositionno:
  15582. description: 仓单编号
  15583. type: string
  15584. wrstandardcode:
  15585. description: 现货商品代码
  15586. type: string
  15587. wrstandardid:
  15588. description: 现货商品ID
  15589. type: integer
  15590. wrstandardname:
  15591. description: 商品名称
  15592. type: string
  15593. wrtypename:
  15594. description: 商品
  15595. type: string
  15596. wruserid:
  15597. description: 持有人ID
  15598. type: integer
  15599. type: object
  15600. models.WrPreSaleInfo:
  15601. properties:
  15602. bannerpicurl:
  15603. description: Banner图
  15604. type: string
  15605. baseqty:
  15606. description: 中签基数
  15607. type: number
  15608. createtime:
  15609. description: 创建时间
  15610. type: string
  15611. deliverygoodsid:
  15612. description: 现货品种ID
  15613. type: integer
  15614. enddate:
  15615. description: 预售结束日期
  15616. type: string
  15617. enumdicname:
  15618. description: 单位名称
  15619. type: string
  15620. lotteryflag:
  15621. description: 摇号标识 - 0:未摇号 1:已摇号
  15622. type: integer
  15623. lotteryqty:
  15624. description: 摇号总量
  15625. type: number
  15626. luckyqty:
  15627. description: 已中签量
  15628. type: number
  15629. marketid:
  15630. description: 市场ID
  15631. type: integer
  15632. maxbuyqty:
  15633. description: 单人最大申购量
  15634. type: number
  15635. maxluckyqty:
  15636. description: 单人最大中签量
  15637. type: number
  15638. pictureurls:
  15639. description: 详情图片(逗号分隔)
  15640. type: string
  15641. placeqty:
  15642. description: 已配售量
  15643. type: number
  15644. presaleapplyid:
  15645. description: 预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)
  15646. example: "0"
  15647. type: string
  15648. presaleqty:
  15649. description: 预售总量
  15650. type: number
  15651. presalestatus:
  15652. description: 预售状态 - 1:未开始 2:进行中 3:已结束 4:已关闭
  15653. type: integer
  15654. sellaccountid:
  15655. description: 发行方资金账户ID
  15656. type: integer
  15657. selluserid:
  15658. description: 发行方用户ID
  15659. type: integer
  15660. sellwrtradeorderid:
  15661. description: 发行方卖委托单ID
  15662. type: string
  15663. startdate:
  15664. description: 预售开始日期
  15665. type: string
  15666. takestartdate:
  15667. description: 提货开始日期
  15668. type: string
  15669. thumurls:
  15670. description: 缩略图片(1:1)(逗号分隔)
  15671. type: string
  15672. tradedate:
  15673. description: 交易日
  15674. type: string
  15675. unitid:
  15676. description: 单位ID
  15677. type: integer
  15678. unitprice:
  15679. description: 商品单价
  15680. type: number
  15681. username:
  15682. description: 发行方用户名称
  15683. type: string
  15684. warehousecode:
  15685. description: 仓库代码(仓库简称)
  15686. type: string
  15687. warehouseid:
  15688. description: 仓库ID
  15689. type: integer
  15690. warehousename:
  15691. description: 仓库名称
  15692. type: string
  15693. wrfactortypeid:
  15694. description: 仓单要素类型ID - 根据现货商品\仓库生成
  15695. example: "0"
  15696. type: string
  15697. wrstandardid:
  15698. description: 现货商品ID
  15699. type: integer
  15700. wrstandardname:
  15701. description: 现货商品名称
  15702. type: string
  15703. type: object
  15704. models.WrQuoteOrderMyq:
  15705. properties:
  15706. buyorsell:
  15707. description: 买卖 - 0:买 1:卖
  15708. type: integer
  15709. canbargain:
  15710. description: 是否可议价 - 0:不可 1:可
  15711. type: integer
  15712. canpart:
  15713. description: 是否允许部份摘牌 - 0:不允许 1:允许
  15714. type: integer
  15715. delistminqty:
  15716. description: 期初均价
  15717. type: number
  15718. deliverygoodscode:
  15719. description: 品种代码
  15720. type: string
  15721. deliverygoodsid:
  15722. description: 品种ID
  15723. type: integer
  15724. deliverygoodsname:
  15725. description: 品种名称
  15726. type: string
  15727. deliverymonth:
  15728. description: 交收月
  15729. type: string
  15730. enumdicname:
  15731. description: 单位名称
  15732. type: string
  15733. fixedprice:
  15734. description: 买(卖)价
  15735. type: number
  15736. goodscode:
  15737. description: 商品合约代码
  15738. type: string
  15739. marginflag:
  15740. description: 挂牌是否指定保证金 - 0:未指定 1:指定
  15741. type: integer
  15742. marginvalue:
  15743. description: 保证金设置值
  15744. type: number
  15745. minivalue:
  15746. description: 现货商品最小变动值
  15747. type: integer
  15748. orderqty:
  15749. description: 买(卖)量(=委托量-成交量)
  15750. type: number
  15751. ordertime:
  15752. description: 委托时间
  15753. type: string
  15754. performancetemplateid:
  15755. description: 履约模板id
  15756. type: integer
  15757. pricemove:
  15758. description: 买(卖)升贴水- 基差
  15759. type: number
  15760. templatename:
  15761. description: 履约模板名称
  15762. type: string
  15763. userid:
  15764. description: 购买方(销售方)用户ID
  15765. type: integer
  15766. username:
  15767. description: 购买方(销售方)
  15768. type: string
  15769. validtime:
  15770. description: 有效期限
  15771. type: string
  15772. validtype:
  15773. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  15774. type: integer
  15775. warehousename:
  15776. description: 仓库名称
  15777. type: string
  15778. wrfactortypeid:
  15779. description: 仓单要素id
  15780. type: string
  15781. wrstandardcode:
  15782. description: 现货商品代码
  15783. type: string
  15784. wrstandardid:
  15785. description: 现货商品ID
  15786. type: integer
  15787. wrstandardname:
  15788. description: 商品名称
  15789. type: string
  15790. wrtradeorderid:
  15791. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  15792. type: string
  15793. wrtypename:
  15794. description: 商品
  15795. type: string
  15796. type: object
  15797. models.WrReckonSpotGoodsTradeSum:
  15798. properties:
  15799. begindate:
  15800. description: 开始日期(结果含开始日期) yyyymmdd
  15801. type: string
  15802. enddate:
  15803. description: 结束日期(结果含结束日期) yyyymmdd
  15804. type: string
  15805. istoday:
  15806. description: 是否当日
  15807. type: boolean
  15808. marketid:
  15809. description: 市场ID
  15810. type: integer
  15811. price:
  15812. description: 价格 = 日成交金额 / 日成交数量
  15813. type: string
  15814. reckondate:
  15815. description: 日期 格式 yyyymmdd
  15816. type: string
  15817. tradeamount:
  15818. description: 期初均价
  15819. type: number
  15820. tradeqty:
  15821. description: 期初均价
  15822. type: number
  15823. wrstandardid:
  15824. description: 现货商品ID
  15825. type: integer
  15826. type: object
  15827. models.WrScfContract:
  15828. properties:
  15829. borroweruserid:
  15830. description: 借款用户ID
  15831. type: integer
  15832. buybackwrpositionqty:
  15833. description: 已回购仓单头寸数量 - [仓单回购\仓单质押] -> 已回购数量
  15834. type: number
  15835. closeinterest:
  15836. description: 已结利息 -> 已结费用
  15837. type: number
  15838. currisklevel:
  15839. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  15840. type: integer
  15841. deadline:
  15842. description: 截止日期(yyyyMMdd) -> 借款到期时间
  15843. type: string
  15844. deliverygoodscode:
  15845. description: 品种代码
  15846. type: string
  15847. deliverygoodsid:
  15848. description: 品种ID
  15849. type: integer
  15850. deliverygoodsname:
  15851. description: 品种名称
  15852. type: string
  15853. enumdicname:
  15854. description: 单位名称
  15855. type: string
  15856. financingdays:
  15857. description: 天数(天)
  15858. type: integer
  15859. initmargin:
  15860. description: 保证金 - [仓单回购]
  15861. type: number
  15862. interestamount:
  15863. description: 计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \ 合同剩余金额
  15864. type: number
  15865. interestdebt:
  15866. description: 利息欠款(记录负数) -> 费用欠款
  15867. type: number
  15868. interestminlen:
  15869. description: 最小起息天数
  15870. type: integer
  15871. interestrate:
  15872. description: 利率
  15873. type: number
  15874. interestratemode:
  15875. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  15876. type: integer
  15877. interestsettlemode:
  15878. description: 结息方式 - 1:按日结息 3:按月结息
  15879. type: integer
  15880. interestsettlevalue:
  15881. description: 结息方式值
  15882. type: integer
  15883. isautoloan:
  15884. description: 是否自动放款 - 0:手动 1:自动 - [仓单质押]
  15885. type: integer
  15886. lastcloseinterestday:
  15887. description: 最近结息日(yyyyMMdd)
  15888. type: string
  15889. lenderamount:
  15890. description: 贷款金额 -> 借款金额
  15891. type: number
  15892. lenderuserid:
  15893. description: 贷款方用户ID -> 融出方用户ID
  15894. type: integer
  15895. lenderusername:
  15896. description: 融出方
  15897. type: string
  15898. marginratio:
  15899. description: 保证金比率质押率 - [仓单质押]
  15900. type: number
  15901. marketid:
  15902. description: 市场ID - 拆成三个独立模式后,根据市场ID处理
  15903. type: integer
  15904. minivalue:
  15905. description: 现货商品最小变动值
  15906. type: integer
  15907. optioncompare:
  15908. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15909. type: string
  15910. pricemove:
  15911. description: 估值升贴水值
  15912. type: number
  15913. productdetailid:
  15914. description: 产品组合ID
  15915. type: integer
  15916. productid:
  15917. description: 金融产品ID
  15918. type: integer
  15919. productname:
  15920. description: 产品名称
  15921. type: string
  15922. remainamount:
  15923. description: 合同剩余金额 -> 剩余金额
  15924. type: number
  15925. remainwrpositionqty:
  15926. description: 剩余仓单头寸数量 - [仓单回购\仓单质押] -> 剩余数量(待回购数量)
  15927. type: number
  15928. remark:
  15929. description: 备注
  15930. type: string
  15931. scfcontractid:
  15932. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  15933. type: string
  15934. scfcontractstatus:
  15935. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  15936. 9:违约结束 10:已注销 11:已关闭 99:未提交
  15937. type: integer
  15938. scfcontracttype:
  15939. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购
  15940. type: integer
  15941. startinterestday:
  15942. description: 计息开始日(yyyyMMdd) -> 开始计费日期
  15943. type: string
  15944. totalinterest:
  15945. description: 已计利息 -> 已计费用
  15946. type: number
  15947. unpaidinterest:
  15948. description: 期初均价
  15949. type: number
  15950. updatetime:
  15951. description: 更新时间
  15952. type: string
  15953. warehouseid:
  15954. description: 仓库ID
  15955. type: integer
  15956. warehousename:
  15957. description: 仓库名称
  15958. type: string
  15959. wrfactortypeid:
  15960. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15961. type: string
  15962. wrfactortypename:
  15963. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15964. type: string
  15965. wrqty:
  15966. description: 仓单数量 - [仓单回购\仓单质押] -> 数量
  15967. type: number
  15968. wrstandardcode:
  15969. description: 现货商品代码
  15970. type: string
  15971. wrstandardid:
  15972. description: 现货商品ID
  15973. type: integer
  15974. wrstandardname:
  15975. description: 商品名称
  15976. type: string
  15977. wrtypename:
  15978. description: 商品
  15979. type: string
  15980. type: object
  15981. models.WrScfContractInterest:
  15982. properties:
  15983. closeinterest:
  15984. description: 已结利息
  15985. type: number
  15986. closeintereststatus:
  15987. description: 结息状态 - 1:未结 2:已结
  15988. type: integer
  15989. closetime:
  15990. description: 结息时间
  15991. type: string
  15992. closetradedate:
  15993. description: 结息交易日
  15994. type: string
  15995. creatorid:
  15996. description: 操作人ID
  15997. type: integer
  15998. dayrate:
  15999. description: 日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)
  16000. type: number
  16001. interest:
  16002. description: 利息
  16003. type: number
  16004. interestamount:
  16005. description: 计息金额
  16006. type: number
  16007. interestday:
  16008. description: 计息日(yyyyMMdd)
  16009. type: string
  16010. scfcontractid:
  16011. description: SCF合同ID
  16012. type: string
  16013. scfcontractinterestid:
  16014. description: SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)
  16015. type: integer
  16016. updatetime:
  16017. description: 更新时间
  16018. type: string
  16019. type: object
  16020. models.WrSearchUser:
  16021. properties:
  16022. userid:
  16023. description: 用户ID
  16024. type: integer
  16025. username:
  16026. description: 用户名称(已脱敏)
  16027. type: string
  16028. username2:
  16029. description: 用户名称(未脱敏)
  16030. type: string
  16031. usertype:
  16032. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  16033. type: integer
  16034. required:
  16035. - username
  16036. type: object
  16037. models.WrSiteColumnDetail:
  16038. properties:
  16039. brief:
  16040. description: 简介
  16041. type: string
  16042. context:
  16043. description: 内容
  16044. type: string
  16045. coverimage:
  16046. description: 封面图片
  16047. type: string
  16048. creaedate:
  16049. description: 创建时间
  16050. type: string
  16051. id:
  16052. description: ID(SEQ_SITE_COLUMNDETAIL)
  16053. type: integer
  16054. istop:
  16055. description: 是否置顶 - 0:不置 1:置顶
  16056. type: integer
  16057. publishdate:
  16058. description: 发布日期
  16059. type: string
  16060. title:
  16061. description: 标题
  16062. type: string
  16063. updatedate:
  16064. description: 修改时间
  16065. type: string
  16066. type: object
  16067. models.WrSpecialMatchOrder:
  16068. properties:
  16069. amount:
  16070. description: 金额 = 数量 * 价格
  16071. type: number
  16072. buyorsell:
  16073. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  16074. type: integer
  16075. cancelqty:
  16076. description: 撤销数量
  16077. type: number
  16078. deliverygoodscode:
  16079. description: 品种代码
  16080. type: string
  16081. deliverygoodsid:
  16082. description: 品种ID
  16083. type: integer
  16084. deliverygoodsname:
  16085. description: 品种名称
  16086. type: string
  16087. enumdicname:
  16088. description: 单位名称
  16089. type: string
  16090. fixedprice:
  16091. description: 固定价格(价格)
  16092. type: number
  16093. haswr:
  16094. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  16095. type: integer
  16096. isspecified:
  16097. description: 是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  16098. type: integer
  16099. marketid:
  16100. description: 市场ID
  16101. type: integer
  16102. matchuserid:
  16103. description: 指定方资金账号(字段名为userid,实际存的是accountid by:邓工)
  16104. type: integer
  16105. matchusername:
  16106. description: 指定方
  16107. type: string
  16108. minivalue:
  16109. description: 现货商品最小变动值
  16110. type: integer
  16111. optioncompare:
  16112. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16113. type: string
  16114. orderqty:
  16115. description: 委托数量
  16116. type: number
  16117. ordertime:
  16118. description: 委托时间
  16119. type: string
  16120. pricemove:
  16121. description: 升贴水(浮动价时填写) - [挂牌]
  16122. type: number
  16123. tradedate:
  16124. description: 交易日(yyyyMMdd)
  16125. type: string
  16126. tradeprice:
  16127. description: 成交价格
  16128. type: number
  16129. tradeqty:
  16130. description: 成交数量
  16131. type: number
  16132. userid:
  16133. description: 用户ID
  16134. type: integer
  16135. username:
  16136. description: 发起方
  16137. type: string
  16138. warehouseid:
  16139. description: 仓库ID
  16140. type: integer
  16141. warehousename:
  16142. description: 仓库名称
  16143. type: string
  16144. wrfactortypeid:
  16145. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16146. type: string
  16147. wrfactortypename:
  16148. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16149. type: string
  16150. wrpricetype:
  16151. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  16152. type: integer
  16153. wrstandardcode:
  16154. description: 现货商品代码
  16155. type: string
  16156. wrstandardid:
  16157. description: 现货商品ID
  16158. type: integer
  16159. wrstandardname:
  16160. description: 商品名称
  16161. type: string
  16162. wrtradeorderid:
  16163. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  16164. type: string
  16165. wrtradeorderstatus:
  16166. description: 委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝
  16167. 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤
  16168. type: integer
  16169. wrtradetype:
  16170. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  16171. type: integer
  16172. wrtypename:
  16173. description: 商品
  16174. type: string
  16175. type: object
  16176. models.WrSpotGroupTradeSum:
  16177. properties:
  16178. deliverygoodscode:
  16179. description: 现货品种代码
  16180. type: string
  16181. deliverygoodsid:
  16182. description: 现货品种ID(SEQ_DELIVERYGOODS)
  16183. type: integer
  16184. deliverygoodsname:
  16185. description: 现货品种名称
  16186. type: string
  16187. lastavgprice:
  16188. description: 上上个交易日价格(前2天价格)
  16189. type: string
  16190. lastreckondate:
  16191. description: 上上个交易日(前2天交易日)
  16192. type: string
  16193. reckondate:
  16194. description: 上个交易日(前1天交易日)
  16195. type: string
  16196. todayavgprice:
  16197. description: 上个交易日价格(前1天价格)
  16198. type: string
  16199. updown:
  16200. description: 涨跌
  16201. type: string
  16202. updownratio:
  16203. description: 涨幅(已格式化, 直接显示即可)
  16204. type: string
  16205. type: object
  16206. models.WrSpotGroupTradeSumDetail:
  16207. properties:
  16208. deliverygoodsid:
  16209. description: 现货商品id
  16210. type: integer
  16211. price:
  16212. description: 价格
  16213. type: number
  16214. reckondate:
  16215. description: 日期(yyymmdd, 如:20211031)
  16216. type: string
  16217. type: object
  16218. models.WrSpotGroupTradeSumEx:
  16219. properties:
  16220. lst:
  16221. description: 指数列表
  16222. items:
  16223. $ref: '#/definitions/models.WrSpotGroupTradeSum'
  16224. type: array
  16225. prereckondate:
  16226. description: 上上个交易日(yyymmdd)
  16227. type: string
  16228. reckondate:
  16229. description: 上个交易日(yyyymmdd)
  16230. type: string
  16231. type: object
  16232. models.WrStandardFactoryItem:
  16233. properties:
  16234. dgfactoryitemid:
  16235. description: 选择项id
  16236. type: integer
  16237. dgfactoryitemvalue:
  16238. description: 要素项值
  16239. type: string
  16240. warehouseid:
  16241. description: 仓库id
  16242. type: integer
  16243. type: object
  16244. models.WrStandardFactoryItemEx:
  16245. properties:
  16246. dgfactoryitemtypeid:
  16247. description: 要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)
  16248. type: integer
  16249. itemlst:
  16250. description: 要素项列表
  16251. items:
  16252. $ref: '#/definitions/models.WrStandardFactoryItem'
  16253. type: array
  16254. itemtypename:
  16255. description: 要素项类型名称
  16256. type: string
  16257. wrstandardid:
  16258. description: 品类
  16259. type: integer
  16260. type: object
  16261. models.WrTradeDetail:
  16262. properties:
  16263. accountid:
  16264. description: 资金账号
  16265. type: integer
  16266. bannerpicurl:
  16267. description: Banner图
  16268. type: string
  16269. begindate:
  16270. description: 开始交易日(yyyymmdd)
  16271. type: string
  16272. buyorsell:
  16273. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  16274. type: integer
  16275. chargevalue:
  16276. description: 手续费
  16277. type: number
  16278. deliverygoodscode:
  16279. description: 品种代码
  16280. type: string
  16281. deliverygoodsid:
  16282. description: 品种ID
  16283. type: integer
  16284. deliverygoodsname:
  16285. description: 品种名称
  16286. type: string
  16287. deliverymonth:
  16288. description: 交收月
  16289. type: string
  16290. enddate:
  16291. description: 结束交易日(yyyymmdd)
  16292. type: string
  16293. enumdicname:
  16294. description: 单位名称
  16295. type: string
  16296. haswr:
  16297. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  16298. type: integer
  16299. marketid:
  16300. description: 市场ID
  16301. type: integer
  16302. matchaccountid:
  16303. description: 对手账号
  16304. type: integer
  16305. matchusername:
  16306. description: 对手方
  16307. type: string
  16308. minivalue:
  16309. description: 现货商品最小变动值
  16310. type: integer
  16311. optioncompare:
  16312. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16313. type: string
  16314. thumurls:
  16315. description: 缩略图
  16316. type: string
  16317. tradedate:
  16318. description: 交易日(yyyyMMdd)
  16319. type: string
  16320. tradeprice:
  16321. description: 成交价格
  16322. type: number
  16323. tradeqty:
  16324. description: 成交数量
  16325. type: number
  16326. tradetime:
  16327. description: 成交时间
  16328. type: string
  16329. userid:
  16330. description: 用户ID
  16331. type: integer
  16332. warehouseid:
  16333. description: 仓库ID
  16334. type: integer
  16335. warehousename:
  16336. description: 仓库名称
  16337. type: string
  16338. wrfactortypeid:
  16339. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16340. type: string
  16341. wrfactortypename:
  16342. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16343. type: string
  16344. wrstandardcode:
  16345. description: 现货商品代码
  16346. type: string
  16347. wrstandardid:
  16348. description: 现货商品ID
  16349. type: integer
  16350. wrstandardname:
  16351. description: 商品名称
  16352. type: string
  16353. wrtradedetailid:
  16354. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  16355. type: string
  16356. wrtradetype:
  16357. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  16358. type: integer
  16359. wrtypename:
  16360. description: 商品
  16361. type: string
  16362. type: object
  16363. models.WrTradeOrderDetail:
  16364. properties:
  16365. buyorsell:
  16366. description: 买卖方向 0-买 1-卖
  16367. type: integer
  16368. goodsid:
  16369. description: 商品id
  16370. type: integer
  16371. orderid:
  16372. description: 委托单号
  16373. type: string
  16374. orderprice:
  16375. description: 期初均价
  16376. type: number
  16377. orderqty:
  16378. description: 委托数量
  16379. type: integer
  16380. userid:
  16381. description: 用户id
  16382. type: integer
  16383. username:
  16384. description: 用户名称(已脱敏)
  16385. type: string
  16386. type: object
  16387. models.WrTypeItem:
  16388. properties:
  16389. name:
  16390. description: 名称
  16391. type: string
  16392. value:
  16393. description: 值
  16394. type: string
  16395. type: object
  16396. models.WrUserFriend:
  16397. properties:
  16398. friendname:
  16399. description: 朋友名称(已脱敏)
  16400. type: string
  16401. frienduserid:
  16402. description: 朋友id
  16403. type: integer
  16404. isfriend:
  16405. description: 是否好友 0-不是 1-是
  16406. type: integer
  16407. userid:
  16408. description: 用户id
  16409. type: integer
  16410. type: object
  16411. models.WrUserReceiptInfo:
  16412. properties:
  16413. address:
  16414. description: 地址[发票类型:企业]
  16415. type: string
  16416. autoid:
  16417. description: AutoID
  16418. type: integer
  16419. contactinfo:
  16420. description: 联系方式
  16421. type: string
  16422. idnum:
  16423. description: 身份证号码[发票类型:个人]
  16424. type: string
  16425. isdefault:
  16426. description: 是否默认地址 - 0:否 1:是
  16427. type: integer
  16428. receiptaccount:
  16429. description: 发票帐号[发票类型:企业]
  16430. type: string
  16431. receiptbank:
  16432. description: 发票开户行[发票类型:企业]
  16433. type: string
  16434. receipttype:
  16435. description: 发票类型 - 1:个人 2:企业
  16436. type: integer
  16437. taxpayerid:
  16438. description: 纳税人识别号
  16439. type: string
  16440. userid:
  16441. description: 用户ID
  16442. type: integer
  16443. username:
  16444. description: 户名(个人姓名或企业名称)
  16445. type: string
  16446. type: object
  16447. models.Wrtradetradequote:
  16448. properties:
  16449. begindate:
  16450. description: 开始日期(结果含开始日期) yyyymmdd
  16451. type: string
  16452. buyaccountid:
  16453. description: 买方账号ID
  16454. type: integer
  16455. buyuserid:
  16456. description: 买方用户ID
  16457. type: integer
  16458. deliverygoodsid:
  16459. description: 现货品种ID
  16460. type: integer
  16461. enddate:
  16462. description: 结束日期(结果含结束日期) yyyymmdd
  16463. type: string
  16464. marketid:
  16465. description: 市场ID
  16466. type: integer
  16467. sellaccountid:
  16468. description: 卖方账号ID
  16469. type: integer
  16470. selluserid:
  16471. description: 卖方用户ID
  16472. type: integer
  16473. tradeamount:
  16474. description: 成交金额
  16475. type: number
  16476. tradedate:
  16477. description: 交易日(yyyyMMdd)
  16478. type: string
  16479. tradeprice:
  16480. description: 成交价格
  16481. type: number
  16482. tradeqty:
  16483. description: 成交数量
  16484. type: integer
  16485. tradetime:
  16486. description: 成交时间
  16487. type: string
  16488. wrfactortypeid:
  16489. description: 仓单要素类型ID
  16490. type: integer
  16491. wrstandardid:
  16492. description: 现货商品ID
  16493. type: integer
  16494. wrtradedetailid:
  16495. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  16496. type: string
  16497. type: object
  16498. models.XHBRAND:
  16499. properties:
  16500. brandid:
  16501. description: 品牌id
  16502. type: integer
  16503. brandname:
  16504. description: 品牌名称
  16505. type: string
  16506. isvalid:
  16507. description: 是否有效 0-无效 1-有效
  16508. type: integer
  16509. type: object
  16510. models.XHDeliveryGoods:
  16511. properties:
  16512. areauserid:
  16513. description: 所属机构
  16514. type: integer
  16515. bdlst:
  16516. description: 品牌列表
  16517. items:
  16518. $ref: '#/definitions/models.XHBRAND'
  16519. type: array
  16520. deliverygoodscode:
  16521. description: 现货品种代码
  16522. type: string
  16523. deliverygoodsid:
  16524. description: 现货品种ID(SEQ_DELIVERYGOODS)
  16525. type: integer
  16526. deliverygoodsname:
  16527. description: 现货品种名称
  16528. type: string
  16529. dgstatus:
  16530. description: 品种状态 - 作废 - 0:未激活 1:正常
  16531. type: integer
  16532. filterSubEmpty:
  16533. description: 过滤下级为空的
  16534. type: integer
  16535. isvalid:
  16536. description: 是否有效 - 0:无效 1:有效
  16537. type: integer
  16538. remark:
  16539. description: 备注
  16540. type: string
  16541. unitid:
  16542. description: 单位id(目前看,数据库中是空值)
  16543. type: integer
  16544. wdlst:
  16545. description: 品类(现货商品)列表
  16546. items:
  16547. $ref: '#/definitions/models.XHWrstandard'
  16548. type: array
  16549. type: object
  16550. models.XHMiddleGoods:
  16551. properties:
  16552. GPLST:
  16553. description: 期货品种列表
  16554. items:
  16555. $ref: '#/definitions/models.TBGoodsGroup'
  16556. type: array
  16557. convertratio:
  16558. description: 拆算系数
  16559. type: number
  16560. costratio:
  16561. description: 成本权重
  16562. type: number
  16563. deliverygoodsid:
  16564. description: 现货商品id
  16565. type: integer
  16566. enumdicname:
  16567. description: 单位名称
  16568. type: string
  16569. middlegoodscode:
  16570. description: 套保品种代码
  16571. type: string
  16572. middlegoodsid:
  16573. description: 套保品种id
  16574. type: integer
  16575. middlegoodsname:
  16576. description: 套保品种名称
  16577. type: string
  16578. unitid:
  16579. description: 单位id
  16580. type: integer
  16581. type: object
  16582. models.XHWrstandard:
  16583. properties:
  16584. bannerpicurl:
  16585. description: banner图
  16586. type: string
  16587. deliverygoodsid:
  16588. description: 品种ID
  16589. type: integer
  16590. enumdicname:
  16591. description: 单位名称
  16592. type: string
  16593. mglst:
  16594. description: 套保品列表
  16595. items:
  16596. $ref: '#/definitions/models.XHMiddleGoods'
  16597. type: array
  16598. pictureurls:
  16599. description: 详情图片(逗号分隔)
  16600. type: string
  16601. thumurls:
  16602. description: 缩略图片(1:1)(逗号分隔)
  16603. type: string
  16604. unitid:
  16605. description: 单位id
  16606. type: integer
  16607. vatrate:
  16608. description: 增值税率
  16609. type: number
  16610. wrstandardcode:
  16611. description: 现货商品代码
  16612. type: string
  16613. wrstandardid:
  16614. description: 现货商品ID(SEQ_WRSTANDARD)
  16615. type: integer
  16616. wrstandardname:
  16617. description: 现货商品名称
  16618. type: string
  16619. type: object
  16620. models.XhcpSellBackApplyEx:
  16621. properties:
  16622. applyremark:
  16623. description: 申请备注
  16624. type: string
  16625. expirytype:
  16626. description: 寄售有效期 - 1:3天 2:7天 3:15天 4:长期
  16627. type: integer
  16628. goodsspec:
  16629. description: 商品规格 - 1:整件 2;整提 3:单罐 4:单盒
  16630. type: integer
  16631. holeflag:
  16632. description: 是否破洞[原封] - 1:无破洞 2:破洞
  16633. type: integer
  16634. isunopened:
  16635. description: 是否原封 - 1:否 2:是
  16636. type: integer
  16637. mpflag:
  16638. description: 磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮
  16639. type: integer
  16640. openflag:
  16641. description: 是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。
  16642. 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。
  16643. type: integer
  16644. phonenum:
  16645. description: 联系电话
  16646. type: string
  16647. userid:
  16648. description: 所属用户ID
  16649. type: integer
  16650. zpflag:
  16651. description: 皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮
  16652. type: integer
  16653. required:
  16654. - userid
  16655. type: object
  16656. models.Xhcpsellbackapply:
  16657. properties:
  16658. applyid:
  16659. description: 申请人
  16660. type: integer
  16661. applyremark:
  16662. description: 申请备注
  16663. type: string
  16664. applysrc:
  16665. description: 申请来源 - 1:管理端 2:终端
  16666. type: integer
  16667. applystatus:
  16668. description: 申请状态 - 1:待确认 2:已处理
  16669. type: integer
  16670. applytime:
  16671. description: 申请时间
  16672. type: string
  16673. auditremark:
  16674. description: 审核备注
  16675. type: string
  16676. auditsrc:
  16677. description: 审核来源 - 1:管理端 2:终端
  16678. type: integer
  16679. expirytype:
  16680. description: 寄售有效期 - 1:3天 2:7天 3:15天 4:长期
  16681. type: integer
  16682. goodsspec:
  16683. description: 商品规格 - 1:整件 2;整提 3:单罐 4:单盒
  16684. type: integer
  16685. holeflag:
  16686. description: 是否破洞[原封] - 1:无破洞 2:破洞
  16687. type: integer
  16688. isunopened:
  16689. description: 是否原封 - 1:否 2:是
  16690. type: integer
  16691. mpflag:
  16692. description: 磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮
  16693. type: integer
  16694. openflag:
  16695. description: 是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。
  16696. 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。
  16697. type: integer
  16698. phonenum:
  16699. description: 联系电话
  16700. type: string
  16701. sellbackapplyid:
  16702. description: 回收申请ID - SEQ_XHCP_SELLBACKAPPLY
  16703. type: string
  16704. userid:
  16705. description: 所属用户ID
  16706. type: integer
  16707. zpflag:
  16708. description: 皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮
  16709. type: integer
  16710. required:
  16711. - userid
  16712. type: object
  16713. order.QueryHisTradeDetailRsp:
  16714. properties:
  16715. accountid:
  16716. description: 账户ID[报价币种]
  16717. type: integer
  16718. advanceratio:
  16719. description: 首付比率
  16720. type: number
  16721. buildtype:
  16722. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  16723. type: integer
  16724. buyorsell:
  16725. description: 方向 - 0:买 1:卖
  16726. type: integer
  16727. charge:
  16728. description: 手续费
  16729. type: number
  16730. closecharge:
  16731. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  16732. type: number
  16733. closeexchagechargevalue:
  16734. description: 平仓交易所手续费设置值
  16735. type: number
  16736. closefeealgorithm:
  16737. description: 平仓手续费收取方式 1:比率 2:固定
  16738. type: integer
  16739. closememberchargevalue:
  16740. description: 平仓会员手续费设置值
  16741. type: number
  16742. closepl:
  16743. description: 平仓盈亏
  16744. type: number
  16745. closepl2:
  16746. description: 平仓盈亏[逐笔]
  16747. type: number
  16748. closeqty:
  16749. description: 平仓数量(先建后平操作 需要记录)
  16750. type: number
  16751. creditamount:
  16752. description: 授信金额
  16753. type: number
  16754. decimalplace:
  16755. description: 商品报价小数位
  16756. type: integer
  16757. enumdicname:
  16758. description: 单位名称
  16759. type: string
  16760. gcaccountid:
  16761. description: 账户ID[合约币种]
  16762. type: integer
  16763. goodscode:
  16764. description: 商品代码
  16765. type: string
  16766. goodsid:
  16767. description: 商品ID
  16768. type: integer
  16769. goodsname:
  16770. description: 商品名称
  16771. type: string
  16772. goodunitid:
  16773. description: 商品单位id
  16774. type: integer
  16775. histradedate:
  16776. description: 历史交易日
  16777. type: string
  16778. intclosepl:
  16779. description: 整型盈亏(用于交易结算试算平衡-收益权)
  16780. type: integer
  16781. isconfirmexercise:
  16782. description: 是否确认行权- 0:否 1:是
  16783. type: integer
  16784. ismain:
  16785. description: 是否主单 - 0:不是 1:是
  16786. type: integer
  16787. ispreexercise:
  16788. description: 是否预申报- 0:否 1:是
  16789. type: integer
  16790. isreckoned:
  16791. description: 是否结算 - 0:未结算 1:已结算
  16792. type: integer
  16793. isvaliddata:
  16794. description: 是否有效 - 0:无效 1:有效
  16795. type: integer
  16796. listingselecttype:
  16797. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  16798. type: integer
  16799. marketid:
  16800. description: 市场ID
  16801. type: integer
  16802. marketname:
  16803. description: 市场名称
  16804. type: string
  16805. matchaccountid:
  16806. description: 对手账号id
  16807. type: integer
  16808. memberuserid:
  16809. description: 会员id 个人投资者 需要填写
  16810. type: integer
  16811. opencharge:
  16812. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  16813. type: number
  16814. openexchagechargevalue:
  16815. description: 建仓交易所手续费设置值
  16816. type: number
  16817. openfeealgorithm:
  16818. description: 建仓手续费收取方式 1:比率 2:固定
  16819. type: integer
  16820. openmemberchargevalue:
  16821. description: 建仓会员手续费设置值
  16822. type: number
  16823. openqty:
  16824. description: 开仓数量(先建后平操作 需要记录)
  16825. type: number
  16826. optiontype:
  16827. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  16828. type: integer
  16829. orderid:
  16830. description: 委托单号
  16831. type: string
  16832. payamount:
  16833. description: 支付金额(付款金额)
  16834. type: number
  16835. performanceplanid:
  16836. description: 履约计划ID[期权]
  16837. type: integer
  16838. performancestatus:
  16839. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  16840. type: integer
  16841. preexerciseprice:
  16842. description: 预申报价格
  16843. type: number
  16844. premium:
  16845. description: 权利金 - [持仓单的权利金]
  16846. type: number
  16847. qtydecimalplace:
  16848. description: 商品报价小数位
  16849. type: integer
  16850. recvamount:
  16851. description: 到账金额 = 成交金额 - 手续费
  16852. type: number
  16853. relatedouttradeid:
  16854. description: 关联外部成交单ID
  16855. type: integer
  16856. status:
  16857. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  16858. type: integer
  16859. totalamount:
  16860. description: 订单总额 = 成交金额 + 手续费
  16861. type: number
  16862. tradeamount:
  16863. description: 成交金额[账户币种,用于所有权]
  16864. type: number
  16865. tradedate:
  16866. description: 交易日(yyyyMMdd)
  16867. type: string
  16868. tradeid:
  16869. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  16870. type: string
  16871. trademode:
  16872. description: 交易模式
  16873. type: integer
  16874. tradeprice:
  16875. description: 成交价格
  16876. type: number
  16877. tradeproperty:
  16878. description: 交易属性
  16879. type: integer
  16880. tradeqty:
  16881. description: 成交数量
  16882. type: number
  16883. tradetime:
  16884. description: 成交时间
  16885. type: string
  16886. tradetype:
  16887. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  16888. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  16889. type: integer
  16890. required:
  16891. - accountid
  16892. - buyorsell
  16893. - goodsid
  16894. - histradedate
  16895. - marketid
  16896. - memberuserid
  16897. - orderid
  16898. - tradeamount
  16899. - tradedate
  16900. - tradeid
  16901. - tradeprice
  16902. - tradeqty
  16903. - tradetime
  16904. type: object
  16905. order.QueryHisTradeOrderDetailRsp:
  16906. properties:
  16907. accountid:
  16908. description: 账户ID[报价币种]
  16909. type: integer
  16910. buildtype:
  16911. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  16912. type: integer
  16913. buyorsell:
  16914. description: 买卖 - 0:买 1:卖
  16915. type: integer
  16916. cancelorderid:
  16917. description: 撤单单号(撤单时填写)
  16918. type: string
  16919. cancelqty:
  16920. description: 撤单数量
  16921. type: number
  16922. clientordertime:
  16923. description: 客户端委托时间
  16924. type: string
  16925. clientticket:
  16926. description: 客户端流水号
  16927. type: string
  16928. clienttype:
  16929. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  16930. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  16931. type: integer
  16932. closeexchagechargevalue:
  16933. description: 平仓交易所手续费设置值
  16934. type: number
  16935. closefeealgorithm:
  16936. description: 平仓手续费收取方式 1:比率 2:固定
  16937. type: integer
  16938. closefreezecharge:
  16939. description: 平仓冻结手续费(先建后平操作,需要记录)
  16940. type: number
  16941. closememberchargevalue:
  16942. description: 平仓会员手续费设置值
  16943. type: number
  16944. closeqty:
  16945. description: 平仓数量(先建后平操作 需要记录)
  16946. type: number
  16947. closetradeqty:
  16948. description: 平仓成交数量(先建后平操作,需要记录)
  16949. type: number
  16950. closeunfreezecharge:
  16951. description: 平仓解冻手续费(先建后平操作,需要记录)
  16952. type: number
  16953. decimalplace:
  16954. description: 商品报价小数位
  16955. type: integer
  16956. delistingtype:
  16957. description: 摘牌类型 - 1:价格最优 2:点选成交
  16958. type: integer
  16959. enumdicname:
  16960. description: 单位名称
  16961. type: string
  16962. freezecharge:
  16963. description: 冻结手续费
  16964. type: number
  16965. freezemargin:
  16966. description: 冻结保证金(冻结交易金额)
  16967. type: number
  16968. gcaccountid:
  16969. description: 账户ID[合约币种]
  16970. type: integer
  16971. goodscode:
  16972. description: 商品代码
  16973. type: string
  16974. goodsid:
  16975. description: 商品ID
  16976. type: integer
  16977. goodsname:
  16978. description: 商品名称
  16979. type: string
  16980. goodunitid:
  16981. description: 商品单位id
  16982. type: integer
  16983. histradedate:
  16984. description: 历史交易日
  16985. type: string
  16986. isconfirmexercise:
  16987. description: 是否确认行权- 0:否 1:是
  16988. type: integer
  16989. ispreexercise:
  16990. description: 是否预申报- 0:否 1:是
  16991. type: integer
  16992. isvaliddata:
  16993. description: 是否有效 - 0:无效 1:有效
  16994. type: integer
  16995. listingselecttype:
  16996. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  16997. type: integer
  16998. marginalgorithm:
  16999. description: 保证金收取方式 1:比率 2:固定
  17000. type: integer
  17001. marginvalue:
  17002. description: 即市保证金设置值
  17003. type: number
  17004. marketid:
  17005. description: 市场ID
  17006. type: integer
  17007. marketmaxsub:
  17008. description: 市价最大偏移范围
  17009. type: number
  17010. marketname:
  17011. description: 市场名称
  17012. type: string
  17013. memberuserid:
  17014. description: 所属会员UserID
  17015. type: integer
  17016. openexchagechargevalue:
  17017. description: 建仓交易所手续费设置值
  17018. type: number
  17019. openfeealgorithm:
  17020. description: 建仓手续费收取方式 1:比率 2:固定
  17021. type: integer
  17022. openfreezecharge:
  17023. description: 开仓冻结手续费(先建后平操作,需要记录)
  17024. type: number
  17025. openmemberchargevalue:
  17026. description: 建仓会员手续费设置值
  17027. type: number
  17028. openqty:
  17029. description: 开仓数量(先建后平操作,需要记录)
  17030. type: number
  17031. opentradeqty:
  17032. description: 开仓成交数量(先建后平操作,需要记录)
  17033. type: number
  17034. openunfreezecharge:
  17035. description: 开仓解冻手续费(先建后平操作,需要记录)
  17036. type: number
  17037. operatetype:
  17038. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  17039. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  17040. 15:管理端协议转让
  17041. type: integer
  17042. operatorid:
  17043. description: 登录账号(LoginID)
  17044. type: integer
  17045. optiontype:
  17046. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  17047. type: integer
  17048. orderid:
  17049. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17050. type: string
  17051. orderprice:
  17052. description: 委托价格
  17053. type: number
  17054. orderqty:
  17055. description: 委托数量
  17056. type: number
  17057. ordersrc:
  17058. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  17059. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  17060. type: integer
  17061. orderstatus:
  17062. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  17063. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  17064. 16:成交失败违约(荷兰式竞拍专用)
  17065. type: integer
  17066. ordertime:
  17067. description: 委托时间
  17068. type: string
  17069. preexerciseprice:
  17070. description: 预申报价格
  17071. type: number
  17072. premium:
  17073. description: 权利金
  17074. type: number
  17075. preorderid:
  17076. description: 关联预埋单号(止盈止损单时填写)
  17077. type: string
  17078. pricemode:
  17079. description: '取价方式 - 1:市价 2: 限价'
  17080. type: integer
  17081. qtydecimalplace:
  17082. description: 成交量小数位
  17083. type: integer
  17084. quoteid:
  17085. description: 报价单ID
  17086. type: integer
  17087. relatedid:
  17088. description: 关联单号(交割单)
  17089. type: string
  17090. retcode:
  17091. description: 错误代码
  17092. type: integer
  17093. sessionid:
  17094. description: 会话ID
  17095. type: integer
  17096. tradedate:
  17097. description: 交易日(yyyyMMdd)
  17098. type: string
  17099. trademode:
  17100. description: 交易模式
  17101. type: integer
  17102. tradeproperty:
  17103. description: 交易属性
  17104. type: integer
  17105. tradeqty:
  17106. description: 成交数量
  17107. type: number
  17108. unfreezecharge:
  17109. description: 解冻手续费
  17110. type: number
  17111. unfreezemargin:
  17112. description: 解冻保证金
  17113. type: number
  17114. updatetime:
  17115. description: 更新时间
  17116. type: string
  17117. uuid:
  17118. description: 发起端唯一id
  17119. type: string
  17120. validtime:
  17121. description: 有效期限
  17122. type: string
  17123. validtype:
  17124. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  17125. type: integer
  17126. volumetype:
  17127. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  17128. type: integer
  17129. required:
  17130. - accountid
  17131. - buildtype
  17132. - buyorsell
  17133. - goodsid
  17134. - histradedate
  17135. - marketid
  17136. - memberuserid
  17137. - operatetype
  17138. - orderid
  17139. - orderqty
  17140. - ordertime
  17141. - pricemode
  17142. - tradedate
  17143. - validtype
  17144. type: object
  17145. order.QueryTradeDetailRsp:
  17146. properties:
  17147. accountid:
  17148. description: 账户ID[报价币种]
  17149. type: integer
  17150. advanceratio:
  17151. description: 首付比率
  17152. type: number
  17153. buildtype:
  17154. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  17155. type: integer
  17156. buyorsell:
  17157. description: 方向 - 0:买 1:卖
  17158. type: integer
  17159. charge:
  17160. description: 手续费
  17161. type: number
  17162. closecharge:
  17163. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  17164. type: number
  17165. closeexchagechargevalue:
  17166. description: 平仓交易所手续费设置值
  17167. type: number
  17168. closefeealgorithm:
  17169. description: 平仓手续费收取方式 1:比率 2:固定
  17170. type: integer
  17171. closememberchargevalue:
  17172. description: 平仓会员手续费设置值
  17173. type: number
  17174. closepl:
  17175. description: 平仓盈亏
  17176. type: number
  17177. closepl2:
  17178. description: 平仓盈亏[逐笔]
  17179. type: number
  17180. closeqty:
  17181. description: 平仓数量(先建后平操作 需要记录)
  17182. type: number
  17183. creditamount:
  17184. description: 授信金额
  17185. type: number
  17186. decimalplace:
  17187. description: 商品报价小数位
  17188. type: integer
  17189. enumdicname:
  17190. description: 单位名称
  17191. type: string
  17192. gcaccountid:
  17193. description: 账户ID[合约币种]
  17194. type: integer
  17195. goodscode:
  17196. description: 商品代码
  17197. type: string
  17198. goodsid:
  17199. description: 商品ID
  17200. type: integer
  17201. goodsname:
  17202. description: 商品名称
  17203. type: string
  17204. goodunitid:
  17205. description: 商品单位id
  17206. type: integer
  17207. intclosepl:
  17208. description: 整型盈亏(用于交易结算试算平衡-收益权)
  17209. type: integer
  17210. isconfirmexercise:
  17211. description: 是否确认行权- 0:否 1:是
  17212. type: integer
  17213. ismain:
  17214. description: 是否主单 - 0:不是 1:是
  17215. type: integer
  17216. ispreexercise:
  17217. description: 是否预申报- 0:否 1:是
  17218. type: integer
  17219. isreckoned:
  17220. description: 是否结算 - 0:未结算 1:已结算
  17221. type: integer
  17222. listingselecttype:
  17223. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  17224. type: integer
  17225. marketid:
  17226. description: 市场ID
  17227. type: integer
  17228. marketname:
  17229. description: 市场名称
  17230. type: string
  17231. matchaccountid:
  17232. description: 对手账号id
  17233. type: integer
  17234. memberuserid:
  17235. description: 会员id 个人投资者 需要填写
  17236. type: integer
  17237. opencharge:
  17238. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  17239. type: number
  17240. openexchagechargevalue:
  17241. description: 建仓交易所手续费设置值
  17242. type: number
  17243. openfeealgorithm:
  17244. description: 建仓手续费收取方式 1:比率 2:固定
  17245. type: integer
  17246. openmemberchargevalue:
  17247. description: 建仓会员手续费设置值
  17248. type: number
  17249. openqty:
  17250. description: 开仓数量(先建后平操作 需要记录)
  17251. type: number
  17252. optiontype:
  17253. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  17254. type: integer
  17255. orderid:
  17256. description: 委托单号
  17257. type: string
  17258. payamount:
  17259. description: 支付金额(付款金额)
  17260. type: number
  17261. performanceplanid:
  17262. description: 履约计划ID[期权]
  17263. type: integer
  17264. performancestatus:
  17265. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  17266. type: integer
  17267. preexerciseprice:
  17268. description: 预申报价格
  17269. type: number
  17270. premium:
  17271. description: 权利金 - [持仓单的权利金]
  17272. type: number
  17273. qtydecimalplace:
  17274. description: 商品报价小数位
  17275. type: integer
  17276. recvamount:
  17277. description: 到账金额 = 成交金额 - 手续费
  17278. type: number
  17279. relatedouttradeid:
  17280. description: 关联外部成交单ID
  17281. type: integer
  17282. status:
  17283. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  17284. type: integer
  17285. totalamount:
  17286. description: 订单总额 = 成交金额 + 手续费
  17287. type: number
  17288. tradeamount:
  17289. description: 成交金额[账户币种,用于所有权]
  17290. type: number
  17291. tradedate:
  17292. description: 交易日(yyyyMMdd)
  17293. type: string
  17294. tradeid:
  17295. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17296. type: string
  17297. trademode:
  17298. description: 交易模式
  17299. type: integer
  17300. tradeprice:
  17301. description: 成交价格
  17302. type: number
  17303. tradeproperty:
  17304. description: 交易属性
  17305. type: integer
  17306. tradeqty:
  17307. description: 成交数量
  17308. type: number
  17309. tradetime:
  17310. description: 成交时间
  17311. type: string
  17312. tradetype:
  17313. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  17314. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  17315. type: integer
  17316. required:
  17317. - accountid
  17318. - buyorsell
  17319. - goodsid
  17320. - marketid
  17321. - memberuserid
  17322. - orderid
  17323. - tradeamount
  17324. - tradedate
  17325. - tradeid
  17326. - tradeprice
  17327. - tradeqty
  17328. - tradetime
  17329. type: object
  17330. order.QueryTradeOrderDetailRsp:
  17331. properties:
  17332. accountid:
  17333. description: 账户ID[报价币种]
  17334. type: integer
  17335. buildtype:
  17336. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  17337. type: integer
  17338. buyorsell:
  17339. description: 买卖 - 0:买 1:卖
  17340. type: integer
  17341. cancelorderid:
  17342. description: 撤单单号(撤单时填写)
  17343. type: string
  17344. cancelqty:
  17345. description: 撤单数量
  17346. type: number
  17347. clienttype:
  17348. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  17349. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  17350. type: integer
  17351. closefreezecharge:
  17352. description: 平仓冻结手续费(先建后平操作,需要记录)
  17353. type: number
  17354. closeqty:
  17355. description: 平仓数量(先建后平操作 需要记录)
  17356. type: number
  17357. closetradeqty:
  17358. description: 平仓成交数量(先建后平操作,需要记录)
  17359. type: number
  17360. closeunfreezecharge:
  17361. description: 平仓解冻手续费(先建后平操作,需要记录)
  17362. type: number
  17363. decimalplace:
  17364. description: 商品报价小数位
  17365. type: integer
  17366. delistingtype:
  17367. description: 摘牌类型 - 1:价格最优 2:点选成交
  17368. type: integer
  17369. enableqty:
  17370. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  17371. type: number
  17372. enumdicname:
  17373. description: 单位名称
  17374. type: string
  17375. freezecharge:
  17376. description: 冻结手续费
  17377. type: number
  17378. freezemargin:
  17379. description: 冻结保证金(冻结交易金额)
  17380. type: number
  17381. goodscode:
  17382. description: 商品代码
  17383. type: string
  17384. goodsid:
  17385. description: 商品ID
  17386. type: integer
  17387. goodsname:
  17388. description: 商品名称
  17389. type: string
  17390. goodunitid:
  17391. description: 商品单位id
  17392. type: integer
  17393. listingselecttype:
  17394. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  17395. type: integer
  17396. marketid:
  17397. description: 市场ID
  17398. type: integer
  17399. marketname:
  17400. description: 市场名称
  17401. type: string
  17402. openfreezecharge:
  17403. description: 开仓冻结手续费(先建后平操作,需要记录)
  17404. type: number
  17405. openqty:
  17406. description: 开仓数量(先建后平操作,需要记录)
  17407. type: number
  17408. opentradeqty:
  17409. description: 开仓成交数量(先建后平操作,需要记录)
  17410. type: number
  17411. openunfreezecharge:
  17412. description: 开仓解冻手续费(先建后平操作,需要记录)
  17413. type: number
  17414. operatetype:
  17415. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  17416. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  17417. 15:管理端协议转让
  17418. type: integer
  17419. operatorid:
  17420. description: 登录账号(LoginID)
  17421. type: integer
  17422. orderid:
  17423. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17424. type: string
  17425. orderprice:
  17426. description: 委托价格
  17427. type: number
  17428. orderqty:
  17429. description: 委托数量
  17430. type: number
  17431. ordersrc:
  17432. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  17433. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  17434. type: integer
  17435. orderstatus:
  17436. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  17437. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  17438. 16:成交失败违约(荷兰式竞拍专用)
  17439. type: integer
  17440. ordertime:
  17441. description: 委托时间
  17442. type: string
  17443. preorderid:
  17444. description: 关联预埋单号(止盈止损单时填写)
  17445. type: string
  17446. pricemode:
  17447. description: '取价方式 - 1:市价 2: 限价'
  17448. type: integer
  17449. qtydecimalplace:
  17450. description: 商品报价小数位
  17451. type: integer
  17452. relatedid:
  17453. description: 关联单号(交割单)
  17454. type: string
  17455. tradedate:
  17456. description: 交易日(yyyyMMdd)
  17457. type: string
  17458. trademode:
  17459. description: 交易模式
  17460. type: integer
  17461. tradeqty:
  17462. description: 成交数量
  17463. type: number
  17464. unfreezecharge:
  17465. description: 解冻手续费
  17466. type: number
  17467. unfreezemargin:
  17468. description: 解冻保证金
  17469. type: number
  17470. validtime:
  17471. description: 有效期限
  17472. type: string
  17473. validtype:
  17474. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  17475. type: integer
  17476. volumetype:
  17477. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  17478. type: integer
  17479. required:
  17480. - accountid
  17481. - buildtype
  17482. - buyorsell
  17483. - goodsid
  17484. - marketid
  17485. - operatetype
  17486. - orderqty
  17487. - ordertime
  17488. - pricemode
  17489. - tradedate
  17490. - validtype
  17491. type: object
  17492. order.QueryTradePositionRsp:
  17493. properties:
  17494. accountid:
  17495. description: 资金账户
  17496. type: integer
  17497. agreeunit:
  17498. description: 合约单位
  17499. type: number
  17500. averageprice:
  17501. description: 持仓均价
  17502. type: number
  17503. buyorsell:
  17504. description: 方向 - 0:买 1:卖
  17505. type: integer
  17506. closetotalqty:
  17507. description: 平仓总数量
  17508. type: number
  17509. curholderamount:
  17510. description: 当前持仓总金额[商品币种]
  17511. type: number
  17512. curpositionqty:
  17513. description: 当前持仓总数量
  17514. type: number
  17515. currencyid:
  17516. description: 报价货币ID
  17517. type: integer
  17518. curtdposition:
  17519. description: 期末今日头寸
  17520. type: number
  17521. decimalplace:
  17522. description: 报价小数位
  17523. type: integer
  17524. enableqty:
  17525. description: 可用量
  17526. type: number
  17527. fretdposition:
  17528. description: 冻结今日头寸
  17529. type: number
  17530. frozenqty:
  17531. description: 持仓冻结数量
  17532. type: number
  17533. goodscode:
  17534. description: 商品代码
  17535. type: string
  17536. goodsid:
  17537. description: 商品Id
  17538. type: integer
  17539. goodsname:
  17540. description: 商品名称
  17541. type: string
  17542. goodunit:
  17543. description: 报价单位
  17544. type: string
  17545. goodunitid:
  17546. description: 报价单位ID
  17547. type: integer
  17548. holderamount:
  17549. description: 期初持仓总金额[商品币种]
  17550. type: number
  17551. lastprice:
  17552. description: 最新价
  17553. type: number
  17554. marketamount:
  17555. description: 市值
  17556. type: number
  17557. marketid:
  17558. description: 所属市场ID
  17559. type: integer
  17560. openreqqty:
  17561. description: 开仓申请数量(用于比较最大持仓数量)
  17562. type: number
  17563. opentotalqty:
  17564. description: 开仓总数量
  17565. type: number
  17566. otherfrozenqty:
  17567. description: 持仓其他冻结数量(交割冻结)
  17568. type: number
  17569. positionpl:
  17570. description: 持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸
  17571. * 合约单位
  17572. type: number
  17573. positionplrate:
  17574. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  17575. type: number
  17576. positionqty:
  17577. description: 期初持仓数量
  17578. type: number
  17579. qtydecimalplace:
  17580. description: 成交量小数位
  17581. type: integer
  17582. refgoodscode:
  17583. description: 参考商品代码
  17584. type: string
  17585. refgoodsid:
  17586. description: 参考商品ID
  17587. type: integer
  17588. tnqty:
  17589. description: T+N冻结总量
  17590. type: number
  17591. tnusedqty:
  17592. description: T+N使用量(可以使用T+N的冻结数量)
  17593. type: number
  17594. trademode:
  17595. description: 交易模式
  17596. type: integer
  17597. tradeproperty:
  17598. description: 交易属性
  17599. type: integer
  17600. usedmargin:
  17601. description: 占用保证金[商品币种]
  17602. type: number
  17603. required:
  17604. - goodsid
  17605. type: object
  17606. pb.GoodsMarginCfgStruct:
  17607. properties:
  17608. CustomerTypeID:
  17609. description: 投资者客户类型
  17610. type: integer
  17611. GoodsID:
  17612. description: 商品ID
  17613. type: integer
  17614. IsDefault:
  17615. description: 是否默认标志位
  17616. type: integer
  17617. LockMarginValue:
  17618. description: 锁仓保证金
  17619. type: number
  17620. MarginAlgorithm:
  17621. description: 保证金计算方式
  17622. type: integer
  17623. MarketMarginValue:
  17624. description: 即市保证金值
  17625. type: number
  17626. RealMarginAlgorithm:
  17627. description: 实付保证金计算方式
  17628. type: integer
  17629. RealMarginValue:
  17630. description: 实付比例
  17631. type: number
  17632. ReckonMarginValue:
  17633. description: 结算保证金值
  17634. type: number
  17635. type: object
  17636. quote.HistoryData:
  17637. properties:
  17638. c:
  17639. description: 收盘价
  17640. type: number
  17641. f:
  17642. description: 是否补充数据
  17643. type: boolean
  17644. h:
  17645. description: 最高价
  17646. type: number
  17647. hv:
  17648. description: 持仓量
  17649. type: integer
  17650. l:
  17651. description: 最低价
  17652. type: number
  17653. o:
  17654. description: 开盘价
  17655. type: number
  17656. s:
  17657. description: 结算价,日线周期(包括)以上才有
  17658. type: number
  17659. ts:
  17660. description: 时间
  17661. type: string
  17662. tt:
  17663. description: 总金额
  17664. type: number
  17665. tv:
  17666. description: 总量(成交量)
  17667. type: integer
  17668. type: object
  17669. quote.HistoryTikData:
  17670. properties:
  17671. AV:
  17672. description: 卖量
  17673. type: integer
  17674. Ask:
  17675. description: 卖价
  17676. type: number
  17677. BV:
  17678. description: 买量
  17679. type: integer
  17680. Bid:
  17681. description: 买价
  17682. type: number
  17683. HI:
  17684. description: 单笔持仓
  17685. type: integer
  17686. HV:
  17687. description: 持仓量
  17688. type: integer
  17689. PE:
  17690. description: 现价
  17691. type: number
  17692. TDR:
  17693. description: 交易方向,0:买 1:卖
  17694. type: integer
  17695. TK:
  17696. description: 交易类型
  17697. type: integer
  17698. TS:
  17699. description: 行情时间文本
  17700. type: string
  17701. TT:
  17702. description: 现金额
  17703. type: number
  17704. Vol:
  17705. description: 现量
  17706. type: integer
  17707. type: object
  17708. quote.QueryQuoteDayRsp:
  17709. properties:
  17710. ask:
  17711. description: 卖1
  17712. type: number
  17713. ask2:
  17714. description: 卖2
  17715. type: number
  17716. ask3:
  17717. description: 卖3
  17718. type: number
  17719. ask4:
  17720. description: 卖4
  17721. type: number
  17722. ask5:
  17723. description: 卖5
  17724. type: number
  17725. ask6:
  17726. description: 卖6
  17727. type: number
  17728. ask7:
  17729. description: 卖7
  17730. type: number
  17731. ask8:
  17732. description: 卖8
  17733. type: number
  17734. ask9:
  17735. description: 卖9
  17736. type: number
  17737. ask10:
  17738. description: 卖10
  17739. type: number
  17740. askorderid:
  17741. description: 卖单号1
  17742. type: integer
  17743. askorderid2:
  17744. description: 卖单号2
  17745. type: integer
  17746. askorderid3:
  17747. description: 卖单号3
  17748. type: integer
  17749. askorderid4:
  17750. description: 卖单号4
  17751. type: integer
  17752. askorderid5:
  17753. description: 卖单号5
  17754. type: integer
  17755. askordervolume:
  17756. description: 卖单量1
  17757. type: integer
  17758. askordervolume2:
  17759. description: 卖单量2
  17760. type: integer
  17761. askordervolume3:
  17762. description: 卖单量3
  17763. type: integer
  17764. askordervolume4:
  17765. description: 卖单量4
  17766. type: integer
  17767. askordervolume5:
  17768. description: 卖单量5
  17769. type: integer
  17770. askordervolume6:
  17771. description: 卖单量6
  17772. type: integer
  17773. askordervolume7:
  17774. description: 卖单量7
  17775. type: integer
  17776. askordervolume8:
  17777. description: 卖单量8
  17778. type: integer
  17779. askordervolume9:
  17780. description: 卖单量9
  17781. type: integer
  17782. askordervolume10:
  17783. description: 卖单量10
  17784. type: integer
  17785. askqueueinfo:
  17786. description: 大利市卖港股用
  17787. type: string
  17788. askvolume:
  17789. description: 卖量1
  17790. type: integer
  17791. askvolume2:
  17792. description: 卖量2
  17793. type: integer
  17794. askvolume3:
  17795. description: 卖量3
  17796. type: integer
  17797. askvolume4:
  17798. description: 卖量4
  17799. type: integer
  17800. askvolume5:
  17801. description: 卖量5
  17802. type: integer
  17803. askvolume6:
  17804. description: 卖量6
  17805. type: integer
  17806. askvolume7:
  17807. description: 卖量7
  17808. type: integer
  17809. askvolume8:
  17810. description: 卖量8
  17811. type: integer
  17812. askvolume9:
  17813. description: 卖量9
  17814. type: integer
  17815. askvolume10:
  17816. description: 卖量10
  17817. type: integer
  17818. averageprice:
  17819. description: 均价
  17820. type: number
  17821. bid:
  17822. description: 买1
  17823. type: number
  17824. bid2:
  17825. description: 买2
  17826. type: number
  17827. bid3:
  17828. description: 买3
  17829. type: number
  17830. bid4:
  17831. description: 买4
  17832. type: number
  17833. bid5:
  17834. description: 买5
  17835. type: number
  17836. bid6:
  17837. description: 买6
  17838. type: number
  17839. bid7:
  17840. description: 买7
  17841. type: number
  17842. bid8:
  17843. description: 买8
  17844. type: number
  17845. bid9:
  17846. description: 买9
  17847. type: number
  17848. bid10:
  17849. description: 买10
  17850. type: number
  17851. bidorderid:
  17852. description: 买单号1
  17853. type: integer
  17854. bidorderid2:
  17855. description: 买单号2
  17856. type: integer
  17857. bidorderid3:
  17858. description: 买单号3
  17859. type: integer
  17860. bidorderid4:
  17861. description: 买单号4
  17862. type: integer
  17863. bidorderid5:
  17864. description: 买单号5
  17865. type: integer
  17866. bidordervolume:
  17867. description: 买单量1
  17868. type: integer
  17869. bidordervolume2:
  17870. description: 买单量2
  17871. type: integer
  17872. bidordervolume3:
  17873. description: 买单量3
  17874. type: integer
  17875. bidordervolume4:
  17876. description: 买单量4
  17877. type: integer
  17878. bidordervolume5:
  17879. description: 买单量5
  17880. type: integer
  17881. bidordervolume6:
  17882. description: 买单量6
  17883. type: integer
  17884. bidordervolume7:
  17885. description: 买单量7
  17886. type: integer
  17887. bidordervolume8:
  17888. description: 买单量8
  17889. type: integer
  17890. bidordervolume9:
  17891. description: 买单量9
  17892. type: integer
  17893. bidordervolume10:
  17894. description: 买单量10
  17895. type: integer
  17896. bidqueueinfo:
  17897. description: 大利市买港股用
  17898. type: string
  17899. bidvolume:
  17900. description: 买量1
  17901. type: integer
  17902. bidvolume2:
  17903. description: 买量2
  17904. type: integer
  17905. bidvolume3:
  17906. description: 买量3
  17907. type: integer
  17908. bidvolume4:
  17909. description: 买量4
  17910. type: integer
  17911. bidvolume5:
  17912. description: 买量5
  17913. type: integer
  17914. bidvolume6:
  17915. description: 买量6
  17916. type: integer
  17917. bidvolume7:
  17918. description: 买量7
  17919. type: integer
  17920. bidvolume8:
  17921. description: 买量8
  17922. type: integer
  17923. bidvolume9:
  17924. description: 买量9
  17925. type: integer
  17926. bidvolume10:
  17927. description: 买量10
  17928. type: integer
  17929. calloptionpremiums:
  17930. description: 认购期权1
  17931. type: integer
  17932. calloptionpremiums2:
  17933. description: 认购期权2
  17934. type: integer
  17935. calloptionpremiums3:
  17936. description: 认购期权3
  17937. type: integer
  17938. calloptionpremiums4:
  17939. description: 认购期权4
  17940. type: integer
  17941. calloptionpremiums5:
  17942. description: 认购期权5
  17943. type: integer
  17944. cleartime:
  17945. description: 清盘时间
  17946. type: integer
  17947. exchangecode:
  17948. description: 交易所代码
  17949. type: integer
  17950. exchangedate:
  17951. description: 交易日
  17952. type: integer
  17953. goodscode:
  17954. description: 商品代码
  17955. type: string
  17956. grepmarketprice:
  17957. description: 暗盘价 港股专用
  17958. type: number
  17959. highest:
  17960. description: 最高价
  17961. type: number
  17962. holdincrement:
  17963. description: 单笔持仓
  17964. type: integer
  17965. holdvolume:
  17966. description: 持仓
  17967. type: integer
  17968. iep:
  17969. description: 平衡价 港股专用
  17970. type: number
  17971. iev:
  17972. description: 平衡量 港股专用
  17973. type: number
  17974. inventory:
  17975. description: 库存
  17976. type: integer
  17977. iscleared:
  17978. description: 是否清盘标志
  17979. type: integer
  17980. issettled:
  17981. description: 是否结算标志
  17982. type: integer
  17983. last:
  17984. description: 最新价
  17985. type: number
  17986. lastlot:
  17987. description: 最新成交手数
  17988. type: integer
  17989. lasttime:
  17990. description: 行情时间(只有现价变化行情时间才变化)
  17991. type: string
  17992. lastturnover:
  17993. description: 最新成交金额
  17994. type: number
  17995. lastvolume:
  17996. description: 最新成交量
  17997. type: integer
  17998. limitdown:
  17999. description: 跌停价
  18000. type: number
  18001. limitup:
  18002. description: 涨停价
  18003. type: number
  18004. lowest:
  18005. description: 最低价
  18006. type: number
  18007. nontotalholdervolume:
  18008. description: 非交易持仓量
  18009. type: integer
  18010. nontotallot:
  18011. description: 非交易总手数
  18012. type: integer
  18013. nontotalturnover:
  18014. description: 非交易总金额
  18015. type: integer
  18016. nontotalvolume:
  18017. description: 非交易总量
  18018. type: integer
  18019. opened:
  18020. description: 开盘价
  18021. type: number
  18022. opentime:
  18023. description: 开盘时间
  18024. type: string
  18025. orderid:
  18026. description: 序号
  18027. type: integer
  18028. preclose:
  18029. description: 昨收
  18030. type: number
  18031. preholdvolume:
  18032. description: 昨持仓
  18033. type: integer
  18034. presettle:
  18035. description: 昨结价
  18036. type: number
  18037. publictradetype:
  18038. description: 公共交易标志类型 港股专用
  18039. type: string
  18040. putoptionpremiums:
  18041. description: 认沽期权1
  18042. type: integer
  18043. putoptionpremiums2:
  18044. description: 认沽期权2
  18045. type: integer
  18046. putoptionpremiums3:
  18047. description: 认沽期权3
  18048. type: integer
  18049. putoptionpremiums4:
  18050. description: 认沽期权4
  18051. type: integer
  18052. putoptionpremiums5:
  18053. description: 认沽期权5
  18054. type: integer
  18055. settle:
  18056. description: 结算价
  18057. type: number
  18058. strikeprice:
  18059. description: 发行价
  18060. type: number
  18061. totalaskvolume:
  18062. description: 内盘
  18063. type: integer
  18064. totalbidvolume:
  18065. description: 外盘
  18066. type: integer
  18067. totallot:
  18068. description: 总手数
  18069. type: integer
  18070. totalturnover:
  18071. description: 总金额
  18072. type: number
  18073. totalvolume:
  18074. description: 总量
  18075. type: integer
  18076. utclasttime:
  18077. description: utc的行情时间
  18078. type: string
  18079. type: object
  18080. quote.QueryTSDataRsp:
  18081. properties:
  18082. Count:
  18083. description: 交易日应有数据个数
  18084. type: integer
  18085. decimalPlace:
  18086. description: 小数位
  18087. type: integer
  18088. endTime:
  18089. description: 结束时间
  18090. type: string
  18091. goodsCode:
  18092. description: 商品代码
  18093. type: string
  18094. historyDatas:
  18095. description: 历史数据
  18096. items:
  18097. $ref: '#/definitions/quote.HistoryData'
  18098. type: array
  18099. outGoodsCode:
  18100. description: 外部商品代码
  18101. type: string
  18102. preSettle:
  18103. description: 昨结价
  18104. type: number
  18105. runSteps:
  18106. description: 交易日开休市计划
  18107. items:
  18108. $ref: '#/definitions/quote.TSDataRunStep'
  18109. type: array
  18110. startTime:
  18111. description: 开始时间
  18112. type: string
  18113. tradeDate:
  18114. description: 交易日
  18115. type: string
  18116. type: object
  18117. quote.TSDataRunStep:
  18118. properties:
  18119. end:
  18120. description: 真实结束时间
  18121. type: string
  18122. endflag:
  18123. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  18124. type: integer
  18125. endtime:
  18126. description: 结束时间(HH:mm)
  18127. type: string
  18128. endweekday:
  18129. description: 结束周几
  18130. type: integer
  18131. groupid:
  18132. description: 分组ID
  18133. type: integer
  18134. runstep:
  18135. description: 运行阶段 - 2:连续交易
  18136. type: integer
  18137. sectionid:
  18138. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几,
  18139. 结束时间=结算时间 结束周几=结算周几
  18140. type: integer
  18141. start:
  18142. description: 真实开始时间
  18143. type: string
  18144. startflag:
  18145. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  18146. type: integer
  18147. starttime:
  18148. description: 起始时间(HH:mm)
  18149. type: string
  18150. startweekday:
  18151. description: 起始周几
  18152. type: integer
  18153. tradeweekday:
  18154. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  18155. type: integer
  18156. type: object
  18157. szdz.QueryConvertLogRsp:
  18158. properties:
  18159. accountid:
  18160. description: 资金账户ID
  18161. type: integer
  18162. clientticket:
  18163. description: 客户端流水号
  18164. type: string
  18165. converttype:
  18166. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  18167. type: integer
  18168. createtime:
  18169. description: 记账时间
  18170. type: string
  18171. daymaxvalue:
  18172. description: 配置当日最大转入限制
  18173. type: number
  18174. daymaxvalue2:
  18175. description: 配置当日最大转入限制(转入)
  18176. type: number
  18177. goodscode:
  18178. description: 商品代码
  18179. type: string
  18180. goodsname:
  18181. description: 商品名称
  18182. type: string
  18183. handlestatus:
  18184. description: 处理状态
  18185. type: integer
  18186. innergoodsid:
  18187. description: 内部商品ID
  18188. type: integer
  18189. inratio:
  18190. description: 配置转入比值
  18191. type: integer
  18192. invalue:
  18193. description: 目标值
  18194. type: number
  18195. logid:
  18196. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  18197. type: integer
  18198. mobile:
  18199. description: 手机号码(加密存储)
  18200. type: string
  18201. outergoodscode:
  18202. description: 外部商品代码[JD\PD]
  18203. type: string
  18204. outratio:
  18205. description: 配置转出比值
  18206. type: integer
  18207. outvalue:
  18208. description: 源值
  18209. type: number
  18210. pddecimalplace:
  18211. description: PD小数位
  18212. type: integer
  18213. qty:
  18214. description: 数量
  18215. type: string
  18216. remark:
  18217. description: 备注
  18218. type: string
  18219. sessionid:
  18220. description: 会话ID
  18221. type: integer
  18222. timemaxvalue:
  18223. description: 配置单次最大转入限制
  18224. type: number
  18225. timemaxvalue2:
  18226. description: 配置单次最大转入限制(转入)
  18227. type: number
  18228. timeminvalue:
  18229. description: 配置单次最小数量限制
  18230. type: number
  18231. timeminvalue2:
  18232. description: 配置单次最小数量限制(转入)
  18233. type: number
  18234. tradedate:
  18235. description: 交易日(yyyyMMdd)
  18236. type: string
  18237. userid:
  18238. description: 用户ID
  18239. type: integer
  18240. required:
  18241. - logid
  18242. type: object
  18243. szdz.QueryGoodsPickupRsp:
  18244. properties:
  18245. accountid:
  18246. description: 账户ID
  18247. type: integer
  18248. address:
  18249. description: 提货人详细地址
  18250. type: string
  18251. auditer:
  18252. description: 审核人
  18253. type: integer
  18254. audittime:
  18255. description: 审核时间
  18256. type: string
  18257. cardnum:
  18258. description: 提货人证件号码
  18259. type: string
  18260. cardtypeid:
  18261. description: 提货人证件类型
  18262. type: integer
  18263. checkremark:
  18264. description: 审核备注
  18265. type: string
  18266. goodscode:
  18267. description: 商品代码
  18268. type: string
  18269. goodsid:
  18270. description: 商品ID
  18271. type: integer
  18272. goodsname:
  18273. description: 商品名称
  18274. type: string
  18275. handlestatus:
  18276. description: 处理状态
  18277. type: integer
  18278. marketid:
  18279. description: 市场ID
  18280. type: integer
  18281. phonenum:
  18282. description: 提货人联系方式
  18283. type: string
  18284. qty:
  18285. description: 提货数量
  18286. type: number
  18287. recivername:
  18288. description: 提货人姓名
  18289. type: string
  18290. reqtime:
  18291. description: 更新时间
  18292. type: string
  18293. takemode:
  18294. description: 提货方式 - 2:自提 3:配送
  18295. type: integer
  18296. takeorderid:
  18297. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  18298. type: string
  18299. takeorderstatus:
  18300. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  18301. type: integer
  18302. takeremark:
  18303. description: 提货备注
  18304. type: string
  18305. tradedate:
  18306. description: 交易日(yyyyMMdd)
  18307. type: string
  18308. userid:
  18309. description: 用户ID
  18310. type: integer
  18311. required:
  18312. - takeorderid
  18313. type: object
  18314. szdz.QueryRecieptOrderRsp:
  18315. properties:
  18316. accountName:
  18317. description: 所属账号名称(已脱敏)
  18318. type: string
  18319. accountid:
  18320. description: 资金账号
  18321. type: integer
  18322. buyorsell:
  18323. description: 方向 - 0:买 1:卖
  18324. type: integer
  18325. enableqty:
  18326. description: 可摘数量
  18327. type: integer
  18328. goodscode:
  18329. description: 商品代码
  18330. type: string
  18331. goodsid:
  18332. description: 商品ID
  18333. type: integer
  18334. goodsname:
  18335. description: 商品名称
  18336. type: string
  18337. orderid:
  18338. description: 委托单号
  18339. type: string
  18340. orderprice:
  18341. description: 委托价格
  18342. type: number
  18343. ordertime:
  18344. description: 委托时间
  18345. type: string
  18346. tradedate:
  18347. description: 交易日(yyyyMMdd)
  18348. type: string
  18349. required:
  18350. - ordertime
  18351. type: object
  18352. szdz.QuerySZDZTradePositionRsp:
  18353. properties:
  18354. accountid:
  18355. description: 账号Id
  18356. type: integer
  18357. agreeunit:
  18358. description: 合约单位
  18359. type: number
  18360. averageprice:
  18361. description: 持仓均价
  18362. type: number
  18363. buyorsell:
  18364. description: 方向 - 0:买 1:卖
  18365. type: integer
  18366. closetotalqty:
  18367. description: 平仓总数量
  18368. type: integer
  18369. curholderamount:
  18370. description: 当前持仓总金额
  18371. type: number
  18372. curpositionqty:
  18373. description: 当前持仓总数量
  18374. type: integer
  18375. currencyid:
  18376. description: 报价货币ID
  18377. type: integer
  18378. curtdposition:
  18379. description: 期末今日头寸
  18380. type: integer
  18381. decimalplace:
  18382. description: 报价小数位
  18383. type: integer
  18384. enableqty:
  18385. description: 可用量
  18386. type: integer
  18387. fretdposition:
  18388. description: 冻结今日头寸
  18389. type: integer
  18390. frozenqty:
  18391. description: 持仓冻结数量
  18392. type: integer
  18393. goodscode:
  18394. description: 商品代码(内部)
  18395. type: string
  18396. goodsid:
  18397. description: 商品Id
  18398. type: integer
  18399. goodsname:
  18400. description: 商品名称
  18401. type: string
  18402. goodunit:
  18403. description: 报价单位
  18404. type: string
  18405. goodunitid:
  18406. description: 报价单位ID
  18407. type: integer
  18408. holderamount:
  18409. description: 期初持仓总金额
  18410. type: number
  18411. marketid:
  18412. description: 市场ID
  18413. type: integer
  18414. openreqqty:
  18415. description: 开仓申请数量
  18416. type: integer
  18417. opentotalqty:
  18418. description: 开仓总数量
  18419. type: integer
  18420. otherfrozenqty:
  18421. description: 持仓其他冻结数量(交割冻结)
  18422. type: integer
  18423. positionqty:
  18424. description: 期初持仓数量
  18425. type: integer
  18426. szdz3freezqty:
  18427. description: 尚志大宗转换冻结总数量
  18428. type: integer
  18429. tnqty:
  18430. description: T+N冻结总量
  18431. type: integer
  18432. tnusedqty:
  18433. description: T+N使用量
  18434. type: integer
  18435. trademode:
  18436. description: 交易模式
  18437. type: integer
  18438. usedmargin:
  18439. description: 占用保证金
  18440. type: number
  18441. type: object
  18442. taaccount.QueryAmountLogRsp:
  18443. properties:
  18444. OPERATETYPENAME:
  18445. description: 资金操作类型名称
  18446. type: string
  18447. accountid:
  18448. description: 资金账户ID
  18449. type: integer
  18450. agoodscode:
  18451. description: 竞拍商品代码
  18452. type: string
  18453. agoodsname:
  18454. description: 竞拍商品名称
  18455. type: string
  18456. amount:
  18457. description: 资金金额
  18458. type: number
  18459. amountadjusttype:
  18460. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  18461. type: integer
  18462. autoid:
  18463. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  18464. type: integer
  18465. balance:
  18466. description: 期初余额
  18467. type: number
  18468. businesscode:
  18469. description: 业务编号
  18470. type: integer
  18471. createtime:
  18472. description: 发生时间
  18473. type: string
  18474. currencyid:
  18475. description: 币种ID
  18476. type: integer
  18477. currentbalance:
  18478. description: 期末余额(变动后金额)
  18479. type: number
  18480. dgoodscode:
  18481. description: 交割商品代码
  18482. type: string
  18483. dgoodsname:
  18484. description: 交割商品名称
  18485. type: string
  18486. goodscode:
  18487. description: 商品代码
  18488. type: string
  18489. goodsid:
  18490. description: 商品ID
  18491. type: integer
  18492. goodsname:
  18493. description: 商品名称
  18494. type: string
  18495. marketid:
  18496. description: 市场ID
  18497. type: integer
  18498. marketname:
  18499. description: 市场名称
  18500. type: string
  18501. moneyticket:
  18502. description: 资金流水号:银行端流水号
  18503. type: integer
  18504. operatetype:
  18505. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  18506. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  18507. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  18508. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  18509. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  18510. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  18511. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  18512. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  18513. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  18514. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  18515. type: integer
  18516. relationorderid:
  18517. description: 关联单号
  18518. type: string
  18519. remark:
  18520. description: 备注
  18521. type: string
  18522. trademode:
  18523. description: 交易模式
  18524. type: integer
  18525. required:
  18526. - accountid
  18527. - amount
  18528. - amountadjusttype
  18529. - autoid
  18530. - balance
  18531. - createtime
  18532. - currentbalance
  18533. - operatetype
  18534. type: object
  18535. taaccount.QueryHisAmountLogRsp:
  18536. properties:
  18537. OPERATETYPENAME:
  18538. description: 资金操作类型名称
  18539. type: string
  18540. accountid:
  18541. description: 资金账户ID
  18542. type: integer
  18543. agoodscode:
  18544. description: 竞拍商品代码
  18545. type: string
  18546. agoodsname:
  18547. description: 竞拍商品名称
  18548. type: string
  18549. amount:
  18550. description: 资金金额
  18551. type: number
  18552. amountadjusttype:
  18553. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  18554. type: integer
  18555. autoid:
  18556. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  18557. type: integer
  18558. balance:
  18559. description: 期初余额
  18560. type: number
  18561. businesscode:
  18562. description: 业务编号
  18563. type: integer
  18564. createtime:
  18565. description: 发生时间
  18566. type: string
  18567. currencyid:
  18568. description: 币种ID
  18569. type: integer
  18570. currentbalance:
  18571. description: 期末余额(变动后金额)
  18572. type: number
  18573. dgoodscode:
  18574. description: 交割商品代码
  18575. type: string
  18576. dgoodsname:
  18577. description: 交割商品名称
  18578. type: string
  18579. goodscode:
  18580. description: 商品代码
  18581. type: string
  18582. goodsid:
  18583. description: 商品ID
  18584. type: integer
  18585. goodsname:
  18586. description: 商品名称
  18587. type: string
  18588. histradedate:
  18589. description: 历史交易日
  18590. type: string
  18591. isvaliddata:
  18592. description: 是否有效 - 0:无效 1:有效
  18593. type: integer
  18594. marketid:
  18595. description: 市场ID
  18596. type: integer
  18597. marketname:
  18598. description: 市场名称
  18599. type: string
  18600. moneyticket:
  18601. description: 资金流水号:银行端流水号
  18602. type: integer
  18603. operatetype:
  18604. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  18605. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  18606. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  18607. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  18608. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  18609. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  18610. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  18611. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  18612. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  18613. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  18614. type: integer
  18615. relationorderid:
  18616. description: 关联单号
  18617. type: string
  18618. remark:
  18619. description: 备注
  18620. type: string
  18621. trademode:
  18622. description: 交易模式
  18623. type: integer
  18624. required:
  18625. - accountid
  18626. - amount
  18627. - amountadjusttype
  18628. - autoid
  18629. - balance
  18630. - createtime
  18631. - currentbalance
  18632. - histradedate
  18633. - operatetype
  18634. type: object
  18635. trade.QueryRecieptOrderRsp:
  18636. properties:
  18637. accountName:
  18638. description: 所属账号名称(已脱敏)
  18639. type: string
  18640. accountid:
  18641. description: 资金账号
  18642. type: integer
  18643. buyorsell:
  18644. description: 方向 - 0:买 1:卖
  18645. type: integer
  18646. enableqty:
  18647. description: 可摘数量
  18648. type: integer
  18649. goodscode:
  18650. description: 商品代码
  18651. type: string
  18652. goodsid:
  18653. description: 商品ID
  18654. type: integer
  18655. goodsname:
  18656. description: 商品名称
  18657. type: string
  18658. orderid:
  18659. description: 委托单号
  18660. type: string
  18661. orderprice:
  18662. description: 委托价格
  18663. type: number
  18664. ordertime:
  18665. description: 委托时间
  18666. type: string
  18667. tradedate:
  18668. description: 交易日(yyyyMMdd)
  18669. type: string
  18670. required:
  18671. - ordertime
  18672. type: object
  18673. user.LoginQueryRsp:
  18674. properties:
  18675. areaRoles:
  18676. description: 所属角色信息
  18677. items:
  18678. $ref: '#/definitions/models.Arearole'
  18679. type: array
  18680. externalExchanges:
  18681. description: 外部交易所
  18682. items:
  18683. $ref: '#/definitions/models.Externalexchange'
  18684. type: array
  18685. goodsgroups:
  18686. description: 商品组
  18687. items:
  18688. $ref: '#/definitions/models.Goodsgroup'
  18689. type: array
  18690. loginAccount:
  18691. $ref: '#/definitions/models.Loginaccount'
  18692. description: 登录账号
  18693. markets:
  18694. description: 市场
  18695. items:
  18696. $ref: '#/definitions/models.Market'
  18697. type: array
  18698. systemParams:
  18699. description: 系统参数
  18700. items:
  18701. $ref: '#/definitions/models.Systemparam'
  18702. type: array
  18703. userAccount:
  18704. $ref: '#/definitions/models.Useraccount'
  18705. description: 用户账号
  18706. userInfo:
  18707. $ref: '#/definitions/models.Userinfo'
  18708. description: 用户信息
  18709. username:
  18710. description: 用户姓名
  18711. type: string
  18712. type: object
  18713. info:
  18714. contact: {}
  18715. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  18716. termsOfService: http://www.muchinfo.cn
  18717. title: MTP2.0 查询服务 API
  18718. version: "1.0"
  18719. paths:
  18720. /CPTrade/QueryCPTradeMyBidInfos:
  18721. get:
  18722. parameters:
  18723. - description: 资金账户
  18724. in: query
  18725. name: accountid
  18726. required: true
  18727. type: integer
  18728. - description: 预售市场ID
  18729. in: query
  18730. name: marketid
  18731. type: integer
  18732. - description: 预售商品ID
  18733. in: query
  18734. name: goodsid
  18735. type: integer
  18736. produces:
  18737. - application/json
  18738. responses:
  18739. "200":
  18740. description: OK
  18741. schema:
  18742. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  18743. "500":
  18744. description: Internal Server Error
  18745. schema:
  18746. $ref: '#/definitions/app.Response'
  18747. security:
  18748. - ApiKeyAuth: []
  18749. summary: 查询产能预售我的出价信息
  18750. tags:
  18751. - 产能预售
  18752. /CPTrade/QueryCPTradeOrderDetail:
  18753. get:
  18754. parameters:
  18755. - description: 预售商品ID
  18756. in: query
  18757. name: goodsid
  18758. type: integer
  18759. - description: 预售市场ID
  18760. in: query
  18761. name: marketid
  18762. type: integer
  18763. - description: 预售商品ID列表 - 格式:1,2,3
  18764. in: query
  18765. name: goodsids
  18766. type: string
  18767. produces:
  18768. - application/json
  18769. responses:
  18770. "200":
  18771. description: OK
  18772. schema:
  18773. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  18774. "500":
  18775. description: Internal Server Error
  18776. schema:
  18777. $ref: '#/definitions/app.Response'
  18778. security:
  18779. - ApiKeyAuth: []
  18780. summary: 查询产能预售委托单信息
  18781. tags:
  18782. - 产能预售
  18783. /CPTrade/QueryMyCPTradeGoods:
  18784. get:
  18785. parameters:
  18786. - description: 资金账户
  18787. in: query
  18788. name: accountid
  18789. required: true
  18790. type: integer
  18791. produces:
  18792. - application/json
  18793. responses:
  18794. "200":
  18795. description: OK
  18796. schema:
  18797. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  18798. "500":
  18799. description: Internal Server Error
  18800. schema:
  18801. $ref: '#/definitions/app.Response'
  18802. security:
  18803. - ApiKeyAuth: []
  18804. summary: 查询我的预售信息
  18805. tags:
  18806. - 产能预售
  18807. /CPTrade/QueryPositionCancel:
  18808. get:
  18809. parameters:
  18810. - description: 账户ID
  18811. in: query
  18812. name: userid
  18813. required: true
  18814. type: integer
  18815. - description: 注销ID
  18816. in: query
  18817. name: cancelid
  18818. type: integer
  18819. - description: 资金账户ID
  18820. in: query
  18821. name: accountid
  18822. type: integer
  18823. produces:
  18824. - application/json
  18825. responses:
  18826. "200":
  18827. description: OK
  18828. schema:
  18829. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  18830. "500":
  18831. description: Internal Server Error
  18832. schema:
  18833. $ref: '#/definitions/app.Response'
  18834. security:
  18835. - ApiKeyAuth: []
  18836. summary: 查询远期订单注销申请信息
  18837. tags:
  18838. - 产能预售
  18839. /CPTrade/QueryPreasleApply:
  18840. get:
  18841. parameters:
  18842. - description: 账户ID
  18843. in: query
  18844. name: userid
  18845. required: true
  18846. type: integer
  18847. - description: 申请ID
  18848. in: query
  18849. name: applyid
  18850. type: integer
  18851. - description: 资金账户ID
  18852. in: query
  18853. name: accountid
  18854. type: integer
  18855. produces:
  18856. - application/json
  18857. responses:
  18858. "200":
  18859. description: OK
  18860. schema:
  18861. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  18862. "500":
  18863. description: Internal Server Error
  18864. schema:
  18865. $ref: '#/definitions/app.Response'
  18866. security:
  18867. - ApiKeyAuth: []
  18868. summary: 查询产能预售申请信息
  18869. tags:
  18870. - 产能预售
  18871. /CPTrade/QueryPresaleGoodsEx:
  18872. get:
  18873. parameters:
  18874. - description: 预售商品ID
  18875. in: query
  18876. name: goodsid
  18877. type: integer
  18878. - description: 预售市场ID
  18879. in: query
  18880. name: marketid
  18881. type: integer
  18882. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  18883. in: query
  18884. name: presalemode
  18885. type: integer
  18886. - description: 预售商品ID列表 - 格式:1,2,3
  18887. in: query
  18888. name: goodsids
  18889. type: string
  18890. - description: 预售商品代码
  18891. in: query
  18892. name: goodscode
  18893. type: string
  18894. produces:
  18895. - application/json
  18896. responses:
  18897. "200":
  18898. description: OK
  18899. schema:
  18900. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  18901. "500":
  18902. description: Internal Server Error
  18903. schema:
  18904. $ref: '#/definitions/app.Response'
  18905. security:
  18906. - ApiKeyAuth: []
  18907. summary: 查询产能预售商品扩展信息
  18908. tags:
  18909. - 产能预售
  18910. /CPTrade/QueryUserGoodsData:
  18911. get:
  18912. parameters:
  18913. - description: 资金账户ID
  18914. in: query
  18915. name: accountid
  18916. required: true
  18917. type: integer
  18918. produces:
  18919. - application/json
  18920. responses:
  18921. "200":
  18922. description: OK
  18923. schema:
  18924. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  18925. "500":
  18926. description: Internal Server Error
  18927. schema:
  18928. $ref: '#/definitions/app.Response'
  18929. security:
  18930. - ApiKeyAuth: []
  18931. summary: 查询远期订单信息
  18932. tags:
  18933. - 产能预售
  18934. /Common/DeleteNewFuncmenu:
  18935. delete:
  18936. consumes:
  18937. - application/json
  18938. parameters:
  18939. - description: 菜单表数据,只需要resourcecode字段即可
  18940. in: body
  18941. name: data
  18942. required: true
  18943. schema:
  18944. $ref: '#/definitions/models.NewFuncmenulist'
  18945. produces:
  18946. - application/json
  18947. responses:
  18948. "200":
  18949. description: OK
  18950. schema:
  18951. $ref: '#/definitions/app.Response'
  18952. "500":
  18953. description: Internal Server Error
  18954. schema:
  18955. $ref: '#/definitions/app.Response'
  18956. security:
  18957. - ApiKeyAuth: []
  18958. summary: 删除菜单表数据
  18959. tags:
  18960. - 通用服务
  18961. /Common/FindNewFuncmenu:
  18962. get:
  18963. parameters:
  18964. - description: 资源代码
  18965. in: query
  18966. name: resourcecode
  18967. type: string
  18968. - description: 上级资源代码
  18969. in: query
  18970. name: parentcode
  18971. type: string
  18972. - description: 资源名(Title), 模糊查询
  18973. in: query
  18974. name: resourcename
  18975. type: string
  18976. - description: 菜单类型(格式:1,2,3) - 1:管理端 2:PC(C#) 3:移动(云平台) 4:终端(交易所) 5:PC(云平台)
  18977. in: query
  18978. name: menutype
  18979. type: string
  18980. produces:
  18981. - application/json
  18982. responses:
  18983. "200":
  18984. description: OK
  18985. schema:
  18986. items:
  18987. $ref: '#/definitions/models.NewFuncmenulist'
  18988. type: array
  18989. "500":
  18990. description: Internal Server Error
  18991. schema:
  18992. $ref: '#/definitions/app.Response'
  18993. security:
  18994. - ApiKeyAuth: []
  18995. summary: 获取菜单表数据
  18996. tags:
  18997. - 通用服务
  18998. /Common/GetAllEnums:
  18999. get:
  19000. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  19001. parameters:
  19002. - description: 起始自增ID
  19003. in: query
  19004. name: autoid
  19005. type: integer
  19006. produces:
  19007. - application/json
  19008. responses:
  19009. "200":
  19010. description: OK
  19011. schema:
  19012. $ref: '#/definitions/models.Enumdicitem'
  19013. "500":
  19014. description: Internal Server Error
  19015. schema:
  19016. $ref: '#/definitions/app.Response'
  19017. summary: 获取所有枚举信息
  19018. tags:
  19019. - 通用服务
  19020. /Common/GetClientMenus:
  19021. get:
  19022. parameters:
  19023. - description: 登录账号
  19024. in: query
  19025. name: loginID
  19026. required: true
  19027. type: integer
  19028. - description: 终端类型,0:PCWEB 1:Mobile,不传默认返回PC端数据
  19029. in: query
  19030. name: clientType
  19031. type: integer
  19032. - description: 分支名称,ermcp-风管云平台;pingan-平安期货;trader-交易所;不传默认返回风管云平台
  19033. in: query
  19034. name: name
  19035. type: string
  19036. produces:
  19037. - application/json
  19038. responses:
  19039. "200":
  19040. description: OK
  19041. schema:
  19042. items:
  19043. $ref: '#/definitions/common.ClientMenu'
  19044. type: array
  19045. "500":
  19046. description: Internal Server Error
  19047. schema:
  19048. $ref: '#/definitions/app.Response'
  19049. security:
  19050. - ApiKeyAuth: []
  19051. summary: 获取交易端菜单
  19052. tags:
  19053. - 通用服务
  19054. /Common/GetClientNewFuncmenu:
  19055. get:
  19056. parameters:
  19057. - description: 登录账号
  19058. in: query
  19059. name: loginid
  19060. required: true
  19061. type: integer
  19062. - description: 菜单类型 - 1:管理端 2:PC(C#) 3:移动(云平台) 4:终端(交易所) 5:PC(云平台)
  19063. in: query
  19064. name: menutype
  19065. required: true
  19066. type: integer
  19067. produces:
  19068. - application/json
  19069. responses:
  19070. "200":
  19071. description: OK
  19072. schema:
  19073. items:
  19074. $ref: '#/definitions/models.NewFuncmenulist'
  19075. type: array
  19076. "500":
  19077. description: Internal Server Error
  19078. schema:
  19079. $ref: '#/definitions/app.Response'
  19080. security:
  19081. - ApiKeyAuth: []
  19082. summary: 获取终端菜单
  19083. tags:
  19084. - 通用服务
  19085. /Common/GetDivisions:
  19086. get:
  19087. produces:
  19088. - application/json
  19089. responses:
  19090. "200":
  19091. description: OK
  19092. schema:
  19093. $ref: '#/definitions/models.Division'
  19094. "500":
  19095. description: Internal Server Error
  19096. schema:
  19097. $ref: '#/definitions/app.Response'
  19098. summary: 查询区域信息
  19099. tags:
  19100. - 通用服务
  19101. /Common/GetPCWebMenus:
  19102. get:
  19103. parameters:
  19104. - description: 登录账号
  19105. in: query
  19106. name: loginID
  19107. required: true
  19108. type: integer
  19109. - description: 分支名称,ermcp:风管云平台,不传默认返回ermcp
  19110. in: query
  19111. name: name
  19112. type: string
  19113. produces:
  19114. - application/json
  19115. responses:
  19116. "200":
  19117. description: OK
  19118. schema:
  19119. items:
  19120. $ref: '#/definitions/common.PCWebMenu'
  19121. type: array
  19122. "500":
  19123. description: Internal Server Error
  19124. schema:
  19125. $ref: '#/definitions/app.Response'
  19126. security:
  19127. - ApiKeyAuth: []
  19128. summary: 获取PCWeb交易端菜单
  19129. tags:
  19130. - 通用服务
  19131. /Common/GetServerTime:
  19132. get:
  19133. produces:
  19134. - application/json
  19135. responses:
  19136. "200":
  19137. description: OK
  19138. schema:
  19139. $ref: '#/definitions/app.Response'
  19140. "500":
  19141. description: Internal Server Error
  19142. schema:
  19143. $ref: '#/definitions/app.Response'
  19144. summary: 获取服务器时间
  19145. tags:
  19146. - 通用服务
  19147. /Common/InsertNewFuncmenu:
  19148. post:
  19149. consumes:
  19150. - application/json
  19151. parameters:
  19152. - description: 菜单表数据
  19153. in: body
  19154. name: data
  19155. required: true
  19156. schema:
  19157. $ref: '#/definitions/models.NewFuncmenulist'
  19158. produces:
  19159. - application/json
  19160. responses:
  19161. "200":
  19162. description: OK
  19163. schema:
  19164. $ref: '#/definitions/app.Response'
  19165. "500":
  19166. description: Internal Server Error
  19167. schema:
  19168. $ref: '#/definitions/app.Response'
  19169. security:
  19170. - ApiKeyAuth: []
  19171. summary: 插入菜单表数据
  19172. tags:
  19173. - 通用服务
  19174. /Common/NoticeReaded:
  19175. post:
  19176. parameters:
  19177. - description: 登录账号
  19178. in: query
  19179. name: loginID
  19180. required: true
  19181. type: integer
  19182. - description: 通知公告ID
  19183. in: query
  19184. name: noticeID
  19185. required: true
  19186. type: integer
  19187. produces:
  19188. - application/json
  19189. responses:
  19190. "200":
  19191. description: OK
  19192. schema:
  19193. $ref: '#/definitions/app.Response'
  19194. "500":
  19195. description: Internal Server Error
  19196. schema:
  19197. $ref: '#/definitions/app.Response'
  19198. security:
  19199. - ApiKeyAuth: []
  19200. summary: 通知公告设置已读请求
  19201. tags:
  19202. - 通用服务
  19203. /Common/QueryErrorInfos:
  19204. get:
  19205. description: 如果传入rowNumber,则返回此rowNumber后的数据
  19206. parameters:
  19207. - description: 起始行号前索引
  19208. in: query
  19209. name: rowNumber
  19210. type: string
  19211. produces:
  19212. - application/json
  19213. responses:
  19214. "200":
  19215. description: OK
  19216. schema:
  19217. $ref: '#/definitions/models.QueryErrorInfosRsp'
  19218. "500":
  19219. description: Internal Server Error
  19220. schema:
  19221. $ref: '#/definitions/app.Response'
  19222. summary: 获取数据库错误信息
  19223. tags:
  19224. - 通用服务
  19225. /Common/QueryImageConfigs:
  19226. get:
  19227. parameters:
  19228. - description: 用户id
  19229. in: query
  19230. name: userId
  19231. type: integer
  19232. - description: 类型 - 1:App首页轮播 2:我的 3:首页(PC) 4:首页推广(移动-新会)
  19233. in: query
  19234. name: imageType
  19235. type: integer
  19236. produces:
  19237. - application/json
  19238. responses:
  19239. "200":
  19240. description: OK
  19241. schema:
  19242. $ref: '#/definitions/common.QueryImageConfigsRsp'
  19243. "500":
  19244. description: Internal Server Error
  19245. schema:
  19246. $ref: '#/definitions/app.Response'
  19247. summary: 查询轮播图配置信息
  19248. tags:
  19249. - 通用服务
  19250. /Common/QueryNotice:
  19251. get:
  19252. parameters:
  19253. - description: 页码
  19254. in: query
  19255. name: page
  19256. type: integer
  19257. - description: 每页条数
  19258. in: query
  19259. name: pagesize
  19260. type: integer
  19261. - description: 登录账号
  19262. in: query
  19263. name: loginID
  19264. required: true
  19265. type: integer
  19266. - description: 消息类型 - 1:公告通知 2:系统消息
  19267. in: query
  19268. name: msgType
  19269. type: integer
  19270. - description: 是否只获取未读信息
  19271. in: query
  19272. name: onlyUnRead
  19273. type: boolean
  19274. - description: 自增ID,传入后会返回这个ID后面的记录
  19275. in: query
  19276. name: lastID
  19277. type: integer
  19278. produces:
  19279. - application/json
  19280. responses:
  19281. "200":
  19282. description: OK
  19283. schema:
  19284. $ref: '#/definitions/common.QueryNoticeRsp'
  19285. "500":
  19286. description: Internal Server Error
  19287. schema:
  19288. $ref: '#/definitions/app.Response'
  19289. security:
  19290. - ApiKeyAuth: []
  19291. summary: 通知公告系统消息查询
  19292. tags:
  19293. - 通用服务
  19294. /Common/QueryProvincesAndCities:
  19295. get:
  19296. parameters:
  19297. - description: 省ID
  19298. in: query
  19299. name: provinceID
  19300. type: integer
  19301. produces:
  19302. - application/json
  19303. responses:
  19304. "200":
  19305. description: OK
  19306. schema:
  19307. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  19308. "500":
  19309. description: Internal Server Error
  19310. schema:
  19311. $ref: '#/definitions/app.Response'
  19312. summary: 查询省市信息(不包括区)
  19313. tags:
  19314. - 通用服务
  19315. /Common/QueryTableDefine:
  19316. get:
  19317. parameters:
  19318. - description: 表key
  19319. in: query
  19320. name: tableKey
  19321. type: string
  19322. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  19323. in: query
  19324. name: tableType
  19325. type: integer
  19326. produces:
  19327. - application/json
  19328. responses:
  19329. "200":
  19330. description: OK
  19331. schema:
  19332. $ref: '#/definitions/common.QueryTableDefineRsp'
  19333. "500":
  19334. description: Internal Server Error
  19335. schema:
  19336. $ref: '#/definitions/app.Response'
  19337. summary: 查询交易端列表头信息
  19338. tags:
  19339. - 通用服务
  19340. /Common/QueryTraderMenu:
  19341. get:
  19342. parameters:
  19343. - description: 登录账号
  19344. in: query
  19345. name: loginid
  19346. required: true
  19347. type: integer
  19348. produces:
  19349. - application/json
  19350. responses:
  19351. "200":
  19352. description: OK
  19353. schema:
  19354. $ref: '#/definitions/common.QueryTraderMenuRsp'
  19355. "500":
  19356. description: Internal Server Error
  19357. schema:
  19358. $ref: '#/definitions/app.Response'
  19359. summary: 查询交易端菜单
  19360. tags:
  19361. - 通用服务
  19362. /Common/UpdateNewFuncmenu:
  19363. put:
  19364. consumes:
  19365. - application/json
  19366. parameters:
  19367. - description: 菜单表数据
  19368. in: body
  19369. name: data
  19370. required: true
  19371. schema:
  19372. $ref: '#/definitions/models.NewFuncmenulist'
  19373. produces:
  19374. - application/json
  19375. responses:
  19376. "200":
  19377. description: OK
  19378. schema:
  19379. $ref: '#/definitions/app.Response'
  19380. "500":
  19381. description: Internal Server Error
  19382. schema:
  19383. $ref: '#/definitions/app.Response'
  19384. security:
  19385. - ApiKeyAuth: []
  19386. summary: 更新菜单表数据
  19387. tags:
  19388. - 通用服务
  19389. /Delivery/QueryDeliveryRelation:
  19390. get:
  19391. parameters:
  19392. - description: 商品ID
  19393. in: query
  19394. name: goodsid
  19395. type: integer
  19396. - description: 品种ID
  19397. in: query
  19398. name: deliverygoodsid
  19399. type: integer
  19400. - description: 市场ID
  19401. in: query
  19402. name: marketid
  19403. type: integer
  19404. produces:
  19405. - application/json
  19406. responses:
  19407. "200":
  19408. description: OK
  19409. schema:
  19410. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  19411. "500":
  19412. description: Internal Server Error
  19413. schema:
  19414. $ref: '#/definitions/app.Response'
  19415. security:
  19416. - ApiKeyAuth: []
  19417. summary: 查询商品交割关系表
  19418. tags:
  19419. - 交割服务
  19420. /Ermcp/GetErmcpGoods:
  19421. get:
  19422. parameters:
  19423. - description: 用户id(风管云平台版本传值, 只显示用户下设置了套保关联的品种)
  19424. in: query
  19425. name: userid
  19426. type: integer
  19427. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  19428. in: query
  19429. name: lastUpdateTime
  19430. type: string
  19431. produces:
  19432. - application/json
  19433. responses:
  19434. "200":
  19435. description: OK
  19436. schema:
  19437. $ref: '#/definitions/models.ErmcpGoods'
  19438. "500":
  19439. description: Internal Server Error
  19440. schema:
  19441. $ref: '#/definitions/app.Response'
  19442. security:
  19443. - ApiKeyAuth: []
  19444. summary: 查询企业风管期货商品信息
  19445. tags:
  19446. - 企业风险管理(app)
  19447. /Ermcp/GetErmcpGoodsSortByPosition:
  19448. get:
  19449. parameters:
  19450. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  19451. in: query
  19452. name: sortIndex
  19453. type: string
  19454. produces:
  19455. - application/json
  19456. responses:
  19457. "200":
  19458. description: OK
  19459. schema:
  19460. $ref: '#/definitions/models.Goodssortbypreposition'
  19461. "500":
  19462. description: Internal Server Error
  19463. schema:
  19464. $ref: '#/definitions/app.Response'
  19465. security:
  19466. - ApiKeyAuth: []
  19467. summary: 查询企业风管期货主力、次主力商品信息
  19468. tags:
  19469. - 企业风险管理(app)
  19470. /Ermcp/GetErmcpOutAccountStatus:
  19471. get:
  19472. parameters:
  19473. - description: 登录账号
  19474. in: query
  19475. name: loginID
  19476. required: true
  19477. type: integer
  19478. produces:
  19479. - application/json
  19480. responses:
  19481. "200":
  19482. description: OK
  19483. schema:
  19484. $ref: '#/definitions/models.Hedgemarketopenlog'
  19485. "500":
  19486. description: Internal Server Error
  19487. schema:
  19488. $ref: '#/definitions/app.Response'
  19489. security:
  19490. - ApiKeyAuth: []
  19491. summary: 获取目标登录账号当前对冲账号在线状态
  19492. tags:
  19493. - 企业风险管理(app)
  19494. /Ermcp/GetErmcpRoleFuncMenuLists:
  19495. get:
  19496. parameters:
  19497. - description: 登录账号
  19498. in: query
  19499. name: loginID
  19500. required: true
  19501. type: integer
  19502. produces:
  19503. - application/json
  19504. responses:
  19505. "200":
  19506. description: OK
  19507. schema:
  19508. $ref: '#/definitions/models.Funcmenulist'
  19509. "500":
  19510. description: Internal Server Error
  19511. schema:
  19512. $ref: '#/definitions/app.Response'
  19513. security:
  19514. - ApiKeyAuth: []
  19515. summary: 获取企业风管终端权限
  19516. tags:
  19517. - 企业风险管理(app)
  19518. /Ermcp/QueryAccMgrBizGroupSet:
  19519. get:
  19520. parameters:
  19521. - description: 用户ID
  19522. in: query
  19523. name: userid
  19524. required: true
  19525. type: integer
  19526. - description: 现货商品id
  19527. in: query
  19528. name: deliverygoodsid
  19529. type: integer
  19530. produces:
  19531. - application/json
  19532. responses:
  19533. "200":
  19534. description: OK
  19535. schema:
  19536. items:
  19537. $ref: '#/definitions/models.ErmcpBizGroupEx'
  19538. type: array
  19539. "500":
  19540. description: Internal Server Error
  19541. schema:
  19542. $ref: '#/definitions/app.Response'
  19543. security:
  19544. - ApiKeyAuth: []
  19545. summary: 查询业务类型分组(账户管理/账户设置)
  19546. tags:
  19547. - 企业风险管理(app)
  19548. /Ermcp/QueryAccMgrLoginUser:
  19549. get:
  19550. parameters:
  19551. - description: 用户ID
  19552. in: query
  19553. name: userid
  19554. required: true
  19555. type: integer
  19556. - description: 用户类型 2-机构 7-企业成员
  19557. in: query
  19558. name: usertype
  19559. type: integer
  19560. - description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  19561. in: query
  19562. name: querytype
  19563. required: true
  19564. type: integer
  19565. produces:
  19566. - application/json
  19567. responses:
  19568. "200":
  19569. description: OK
  19570. schema:
  19571. items:
  19572. $ref: '#/definitions/models.ErmcpLoginUserEx'
  19573. type: array
  19574. "500":
  19575. description: Internal Server Error
  19576. schema:
  19577. $ref: '#/definitions/app.Response'
  19578. security:
  19579. - ApiKeyAuth: []
  19580. summary: 查询账户管理登录账号(账户管理/登录账号)
  19581. tags:
  19582. - 企业风险管理(app)
  19583. /Ermcp/QueryAccMgrMainAccountInfo:
  19584. get:
  19585. parameters:
  19586. - description: 用户ID
  19587. in: query
  19588. name: userid
  19589. type: integer
  19590. - description: 主账号id
  19591. in: query
  19592. name: accountid
  19593. type: integer
  19594. produces:
  19595. - application/json
  19596. responses:
  19597. "200":
  19598. description: OK
  19599. schema:
  19600. items:
  19601. $ref: '#/definitions/models.MainAccountInfo'
  19602. type: array
  19603. "500":
  19604. description: Internal Server Error
  19605. schema:
  19606. $ref: '#/definitions/app.Response'
  19607. security:
  19608. - ApiKeyAuth: []
  19609. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  19610. tags:
  19611. - 企业风险管理(app)
  19612. /Ermcp/QueryAccMgrRole:
  19613. get:
  19614. parameters:
  19615. - description: 用户ID
  19616. in: query
  19617. name: userid
  19618. required: true
  19619. type: integer
  19620. produces:
  19621. - application/json
  19622. responses:
  19623. "200":
  19624. description: OK
  19625. schema:
  19626. items:
  19627. $ref: '#/definitions/models.ErmcpRole'
  19628. type: array
  19629. "500":
  19630. description: Internal Server Error
  19631. schema:
  19632. $ref: '#/definitions/app.Response'
  19633. security:
  19634. - ApiKeyAuth: []
  19635. summary: 查询账户管理角色设置(账户管理/角色设置)
  19636. tags:
  19637. - 企业风险管理(app)
  19638. /Ermcp/QueryAccMgrRoleMenu:
  19639. get:
  19640. parameters:
  19641. - description: 用户ID
  19642. in: query
  19643. name: userid
  19644. required: true
  19645. type: integer
  19646. - description: 角色id(可多个,逗号隔开)
  19647. in: query
  19648. name: roleid
  19649. type: string
  19650. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易 ps:新加的参数,为了兼容以前,不传则默认查3
  19651. in: query
  19652. name: menutype
  19653. type: integer
  19654. produces:
  19655. - application/json
  19656. responses:
  19657. "200":
  19658. description: OK
  19659. schema:
  19660. items:
  19661. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  19662. type: array
  19663. "500":
  19664. description: Internal Server Error
  19665. schema:
  19666. $ref: '#/definitions/app.Response'
  19667. security:
  19668. - ApiKeyAuth: []
  19669. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  19670. tags:
  19671. - 企业风险管理(app)
  19672. /Ermcp/QueryAccMgrTaAccountInfo:
  19673. get:
  19674. parameters:
  19675. - description: 用户ID
  19676. in: query
  19677. name: userid
  19678. required: true
  19679. type: integer
  19680. - description: 账号id
  19681. in: query
  19682. name: accountid
  19683. type: integer
  19684. produces:
  19685. - application/json
  19686. responses:
  19687. "200":
  19688. description: OK
  19689. schema:
  19690. items:
  19691. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  19692. type: array
  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/QueryAccMgrTaaccount:
  19703. get:
  19704. parameters:
  19705. - description: 用户ID
  19706. in: query
  19707. name: userid
  19708. required: true
  19709. type: integer
  19710. produces:
  19711. - application/json
  19712. responses:
  19713. "200":
  19714. description: OK
  19715. schema:
  19716. items:
  19717. $ref: '#/definitions/models.ErmcpTaAccountEx'
  19718. type: array
  19719. "500":
  19720. description: Internal Server Error
  19721. schema:
  19722. $ref: '#/definitions/app.Response'
  19723. security:
  19724. - ApiKeyAuth: []
  19725. summary: 查询账户管理期货账号(账户管理/期货账号)
  19726. tags:
  19727. - 企业风险管理(app)
  19728. /Ermcp/QueryAvaildGoodsGroup:
  19729. get:
  19730. parameters:
  19731. - description: 所属机构ID
  19732. in: query
  19733. name: userid
  19734. required: true
  19735. type: integer
  19736. produces:
  19737. - application/json
  19738. responses:
  19739. "200":
  19740. description: OK
  19741. schema:
  19742. items:
  19743. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  19744. type: array
  19745. "500":
  19746. description: Internal Server Error
  19747. schema:
  19748. $ref: '#/definitions/app.Response'
  19749. security:
  19750. - ApiKeyAuth: []
  19751. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  19752. tags:
  19753. - 企业风险管理(app)
  19754. /Ermcp/QueryBusinessDj:
  19755. get:
  19756. parameters:
  19757. - description: 用户ID
  19758. in: query
  19759. name: UserId
  19760. required: true
  19761. type: integer
  19762. - description: 用户类型 2-机构 7-企业成员
  19763. in: query
  19764. name: usertype
  19765. type: integer
  19766. - description: 现货合同ID, 不填则查所有
  19767. in: query
  19768. name: relatedid
  19769. type: string
  19770. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  19771. in: query
  19772. name: applystatus
  19773. type: string
  19774. produces:
  19775. - application/json
  19776. responses:
  19777. "200":
  19778. description: OK
  19779. schema:
  19780. items:
  19781. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  19782. type: array
  19783. "500":
  19784. description: Internal Server Error
  19785. schema:
  19786. $ref: '#/definitions/app.Response'
  19787. security:
  19788. - ApiKeyAuth: []
  19789. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  19790. tags:
  19791. - 企业风险管理(app)
  19792. /Ermcp/QueryBusinessFp:
  19793. get:
  19794. parameters:
  19795. - description: 用户ID
  19796. in: query
  19797. name: UserId
  19798. required: true
  19799. type: integer
  19800. - description: 用户类型 2-机构 7-企业成员
  19801. in: query
  19802. name: usertype
  19803. type: integer
  19804. - description: 现货合同ID, 不填则查所有
  19805. in: query
  19806. name: relatedid
  19807. type: string
  19808. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  19809. in: query
  19810. name: applystatus
  19811. type: string
  19812. produces:
  19813. - application/json
  19814. responses:
  19815. "200":
  19816. description: OK
  19817. schema:
  19818. items:
  19819. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  19820. type: array
  19821. "500":
  19822. description: Internal Server Error
  19823. schema:
  19824. $ref: '#/definitions/app.Response'
  19825. security:
  19826. - ApiKeyAuth: []
  19827. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  19828. tags:
  19829. - 企业风险管理(app)
  19830. /Ermcp/QueryBusinessJs:
  19831. get:
  19832. parameters:
  19833. - description: 用户ID
  19834. in: query
  19835. name: UserId
  19836. required: true
  19837. type: integer
  19838. - description: 用户类型 2-机构 7-企业成员
  19839. in: query
  19840. name: usertype
  19841. type: integer
  19842. - description: 现货合同ID, 不填则查所有
  19843. in: query
  19844. name: relatedid
  19845. type: string
  19846. - description: 操作申请id
  19847. in: query
  19848. name: operateapplyid
  19849. type: string
  19850. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  19851. in: query
  19852. name: applystatus
  19853. type: string
  19854. produces:
  19855. - application/json
  19856. responses:
  19857. "200":
  19858. description: OK
  19859. schema:
  19860. items:
  19861. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  19862. type: array
  19863. "500":
  19864. description: Internal Server Error
  19865. schema:
  19866. $ref: '#/definitions/app.Response'
  19867. security:
  19868. - ApiKeyAuth: []
  19869. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  19870. tags:
  19871. - 企业风险管理(app)
  19872. /Ermcp/QueryBusinessJsEx:
  19873. get:
  19874. parameters:
  19875. - description: 用户ID
  19876. in: query
  19877. name: UserId
  19878. required: true
  19879. type: integer
  19880. - description: 用户类型 2-机构 7-企业成员
  19881. in: query
  19882. name: usertype
  19883. type: integer
  19884. - description: 现货合同ID, 不填则查所有
  19885. in: query
  19886. name: relatedid
  19887. type: string
  19888. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  19889. in: query
  19890. name: applystatus
  19891. type: string
  19892. produces:
  19893. - application/json
  19894. responses:
  19895. "200":
  19896. description: OK
  19897. schema:
  19898. items:
  19899. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  19900. type: array
  19901. "500":
  19902. description: Internal Server Error
  19903. schema:
  19904. $ref: '#/definitions/app.Response'
  19905. security:
  19906. - ApiKeyAuth: []
  19907. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  19908. tags:
  19909. - 企业风险管理(app)
  19910. /Ermcp/QueryBusinessKx:
  19911. get:
  19912. parameters:
  19913. - description: 用户ID
  19914. in: query
  19915. name: UserId
  19916. required: true
  19917. type: integer
  19918. - description: 用户类型 2-机构 7-企业成员
  19919. in: query
  19920. name: usertype
  19921. type: integer
  19922. - description: 现货合同ID, 不填则查所有
  19923. in: query
  19924. name: relatedid
  19925. type: string
  19926. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  19927. in: query
  19928. name: applystatus
  19929. type: string
  19930. produces:
  19931. - application/json
  19932. responses:
  19933. "200":
  19934. description: OK
  19935. schema:
  19936. items:
  19937. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  19938. type: array
  19939. "500":
  19940. description: Internal Server Error
  19941. schema:
  19942. $ref: '#/definitions/app.Response'
  19943. security:
  19944. - ApiKeyAuth: []
  19945. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  19946. tags:
  19947. - 企业风险管理(app)
  19948. /Ermcp/QueryChangeLog:
  19949. get:
  19950. parameters:
  19951. - description: 合同ID
  19952. in: query
  19953. name: RelatedId
  19954. required: true
  19955. type: string
  19956. produces:
  19957. - application/json
  19958. responses:
  19959. "200":
  19960. description: OK
  19961. schema:
  19962. items:
  19963. $ref: '#/definitions/ermcp.QryOPLogRsp'
  19964. type: array
  19965. "500":
  19966. description: Internal Server Error
  19967. schema:
  19968. $ref: '#/definitions/app.Response'
  19969. security:
  19970. - ApiKeyAuth: []
  19971. summary: 查询变更记录
  19972. tags:
  19973. - 企业风险管理(app)
  19974. /Ermcp/QueryErmcpHisOrderDetails:
  19975. get:
  19976. parameters:
  19977. - description: 资金账户ID
  19978. in: query
  19979. name: accountID
  19980. required: true
  19981. type: integer
  19982. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  19983. in: query
  19984. name: startDate
  19985. type: string
  19986. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  19987. in: query
  19988. name: endDate
  19989. type: string
  19990. produces:
  19991. - application/json
  19992. responses:
  19993. "200":
  19994. description: OK
  19995. schema:
  19996. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  19997. "500":
  19998. description: Internal Server Error
  19999. schema:
  20000. $ref: '#/definitions/app.Response'
  20001. security:
  20002. - ApiKeyAuth: []
  20003. summary: 获取企业风管期货历史委托单信息
  20004. tags:
  20005. - 企业风险管理(app)
  20006. /Ermcp/QueryErmcpHisTradeDetails:
  20007. get:
  20008. parameters:
  20009. - description: 资金账户ID
  20010. in: query
  20011. name: accountID
  20012. required: true
  20013. type: integer
  20014. - description: 商品ID
  20015. in: query
  20016. name: goodsID
  20017. type: integer
  20018. - description: 买卖方向,0:买 1:卖
  20019. in: query
  20020. name: buyOrSell
  20021. type: integer
  20022. - description: 关联委托单号
  20023. in: query
  20024. name: orderID
  20025. type: integer
  20026. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  20027. in: query
  20028. name: startDate
  20029. type: string
  20030. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  20031. in: query
  20032. name: endDate
  20033. type: string
  20034. produces:
  20035. - application/json
  20036. responses:
  20037. "200":
  20038. description: OK
  20039. schema:
  20040. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  20041. "500":
  20042. description: Internal Server Error
  20043. schema:
  20044. $ref: '#/definitions/app.Response'
  20045. security:
  20046. - ApiKeyAuth: []
  20047. summary: 获取企业风管期货历史成交单信息
  20048. tags:
  20049. - 企业风险管理(app)
  20050. /Ermcp/QueryErmcpInnerHolderDetails:
  20051. get:
  20052. parameters:
  20053. - description: 资金账户ID
  20054. in: query
  20055. name: accountID
  20056. required: true
  20057. type: integer
  20058. - description: 商品ID
  20059. in: query
  20060. name: goodsID
  20061. type: integer
  20062. - description: 买卖方向,0:买 1:卖
  20063. in: query
  20064. name: buyOrSell
  20065. type: integer
  20066. produces:
  20067. - application/json
  20068. responses:
  20069. "200":
  20070. description: OK
  20071. schema:
  20072. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  20073. "500":
  20074. description: Internal Server Error
  20075. schema:
  20076. $ref: '#/definitions/app.Response'
  20077. security:
  20078. - ApiKeyAuth: []
  20079. summary: 获取企业风管期货内部持仓单信息
  20080. tags:
  20081. - 企业风险管理(app)
  20082. /Ermcp/QueryErmcpOrderDetails:
  20083. get:
  20084. parameters:
  20085. - description: 资金账户ID
  20086. in: query
  20087. name: accountID
  20088. required: true
  20089. type: integer
  20090. produces:
  20091. - application/json
  20092. responses:
  20093. "200":
  20094. description: OK
  20095. schema:
  20096. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  20097. "500":
  20098. description: Internal Server Error
  20099. schema:
  20100. $ref: '#/definitions/app.Response'
  20101. security:
  20102. - ApiKeyAuth: []
  20103. summary: 获取企业风管期货委托单信息
  20104. tags:
  20105. - 企业风险管理(app)
  20106. /Ermcp/QueryErmcpTradeDetails:
  20107. get:
  20108. parameters:
  20109. - description: 资金账户ID
  20110. in: query
  20111. name: accountID
  20112. required: true
  20113. type: integer
  20114. - description: 商品ID
  20115. in: query
  20116. name: goodsID
  20117. type: integer
  20118. - description: 买卖方向,0:买 1:卖
  20119. in: query
  20120. name: buyOrSell
  20121. type: integer
  20122. - description: 关联委托单号
  20123. in: query
  20124. name: orderID
  20125. type: integer
  20126. produces:
  20127. - application/json
  20128. responses:
  20129. "200":
  20130. description: OK
  20131. schema:
  20132. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  20133. "500":
  20134. description: Internal Server Error
  20135. schema:
  20136. $ref: '#/definitions/app.Response'
  20137. security:
  20138. - ApiKeyAuth: []
  20139. summary: 获取企业风管期货成交单信息
  20140. tags:
  20141. - 企业风险管理(app)
  20142. /Ermcp/QueryErmcpTradePosition:
  20143. get:
  20144. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  20145. parameters:
  20146. - description: 资金账户ID
  20147. in: query
  20148. name: accountID
  20149. required: true
  20150. type: integer
  20151. - description: 所属市场ID
  20152. in: query
  20153. name: marketID
  20154. type: integer
  20155. produces:
  20156. - application/json
  20157. responses:
  20158. "200":
  20159. description: OK
  20160. schema:
  20161. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  20162. "500":
  20163. description: Internal Server Error
  20164. schema:
  20165. $ref: '#/definitions/app.Response'
  20166. security:
  20167. - ApiKeyAuth: []
  20168. summary: 获取企业风管期货持仓头寸信息
  20169. tags:
  20170. - 企业风险管理(app)
  20171. /Ermcp/QueryExposureDetail:
  20172. get:
  20173. parameters:
  20174. - description: 所属机构ID
  20175. in: query
  20176. name: areaUserId
  20177. required: true
  20178. type: integer
  20179. - description: 套保商品
  20180. in: query
  20181. name: middleGoodsId
  20182. required: true
  20183. type: integer
  20184. produces:
  20185. - application/json
  20186. responses:
  20187. "200":
  20188. description: OK
  20189. schema:
  20190. items:
  20191. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  20192. type: array
  20193. "500":
  20194. description: Internal Server Error
  20195. schema:
  20196. $ref: '#/definitions/app.Response'
  20197. security:
  20198. - ApiKeyAuth: []
  20199. summary: 查询敞口现货明细
  20200. tags:
  20201. - 企业风险管理(app)
  20202. /Ermcp/QueryExposureGoods:
  20203. get:
  20204. parameters:
  20205. - description: 套保商品id
  20206. in: query
  20207. name: middlegoodsid
  20208. required: true
  20209. type: integer
  20210. produces:
  20211. - application/json
  20212. responses:
  20213. "200":
  20214. description: OK
  20215. schema:
  20216. items:
  20217. $ref: '#/definitions/models.ErmcpMiddlegoodsRelateGoods'
  20218. type: array
  20219. "500":
  20220. description: Internal Server Error
  20221. schema:
  20222. $ref: '#/definitions/app.Response'
  20223. security:
  20224. - ApiKeyAuth: []
  20225. summary: 查询敞口主力合约
  20226. tags:
  20227. - 企业风险管理(app)
  20228. /Ermcp/QueryExposureHedgePosition:
  20229. get:
  20230. parameters:
  20231. - description: 用户id
  20232. in: query
  20233. name: userid
  20234. required: true
  20235. type: integer
  20236. produces:
  20237. - application/json
  20238. responses:
  20239. "200":
  20240. description: OK
  20241. schema:
  20242. items:
  20243. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  20244. type: array
  20245. "500":
  20246. description: Internal Server Error
  20247. schema:
  20248. $ref: '#/definitions/app.Response'
  20249. security:
  20250. - ApiKeyAuth: []
  20251. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  20252. tags:
  20253. - 企业风险管理(app)
  20254. /Ermcp/QueryExposureHedgePositionDetail:
  20255. get:
  20256. parameters:
  20257. - description: 所属机构ID
  20258. in: query
  20259. name: userid
  20260. required: true
  20261. type: integer
  20262. - description: 商品id
  20263. in: query
  20264. name: goodsId
  20265. required: true
  20266. type: integer
  20267. produces:
  20268. - application/json
  20269. responses:
  20270. "200":
  20271. description: OK
  20272. schema:
  20273. items:
  20274. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  20275. type: array
  20276. "500":
  20277. description: Internal Server Error
  20278. schema:
  20279. $ref: '#/definitions/app.Response'
  20280. security:
  20281. - ApiKeyAuth: []
  20282. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  20283. tags:
  20284. - 企业风险管理(app)
  20285. /Ermcp/QueryExposureSpot:
  20286. get:
  20287. parameters:
  20288. - description: 所属机构ID
  20289. in: query
  20290. name: areaUserId
  20291. required: true
  20292. type: integer
  20293. produces:
  20294. - application/json
  20295. responses:
  20296. "200":
  20297. description: OK
  20298. schema:
  20299. items:
  20300. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  20301. type: array
  20302. "500":
  20303. description: Internal Server Error
  20304. schema:
  20305. $ref: '#/definitions/app.Response'
  20306. security:
  20307. - ApiKeyAuth: []
  20308. summary: 查询敞口现货头寸(敞口/现货头寸)
  20309. tags:
  20310. - 企业风险管理(app)
  20311. /Ermcp/QueryExposureSpotDetail:
  20312. get:
  20313. parameters:
  20314. - description: 所属机构ID
  20315. in: query
  20316. name: areaUserId
  20317. required: true
  20318. type: integer
  20319. - description: 现货品种ID
  20320. in: query
  20321. name: wrstandardId
  20322. required: true
  20323. type: integer
  20324. produces:
  20325. - application/json
  20326. responses:
  20327. "200":
  20328. description: OK
  20329. schema:
  20330. items:
  20331. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  20332. type: array
  20333. "500":
  20334. description: Internal Server Error
  20335. schema:
  20336. $ref: '#/definitions/app.Response'
  20337. security:
  20338. - ApiKeyAuth: []
  20339. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  20340. tags:
  20341. - 企业风险管理(app)
  20342. /Ermcp/QueryFuturesCompany:
  20343. get:
  20344. produces:
  20345. - application/json
  20346. responses:
  20347. "200":
  20348. description: OK
  20349. schema:
  20350. items:
  20351. $ref: '#/definitions/models.ErmcpFuturesCompany'
  20352. type: array
  20353. "500":
  20354. description: Internal Server Error
  20355. schema:
  20356. $ref: '#/definitions/app.Response'
  20357. security:
  20358. - ApiKeyAuth: []
  20359. summary: 查询期货公司
  20360. tags:
  20361. - 企业风险管理(app)
  20362. /Ermcp/QueryGGConvertConfig:
  20363. get:
  20364. parameters:
  20365. - description: 品种id(不填则查所有)
  20366. in: query
  20367. name: goodsgroupid
  20368. type: integer
  20369. produces:
  20370. - application/json
  20371. responses:
  20372. "200":
  20373. description: OK
  20374. schema:
  20375. items:
  20376. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  20377. type: array
  20378. "500":
  20379. description: Internal Server Error
  20380. schema:
  20381. $ref: '#/definitions/app.Response'
  20382. security:
  20383. - ApiKeyAuth: []
  20384. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  20385. tags:
  20386. - 企业风险管理(app)
  20387. /Ermcp/QueryGoodsBrand:
  20388. get:
  20389. parameters:
  20390. - description: 用户ID
  20391. in: query
  20392. name: userid
  20393. required: true
  20394. type: integer
  20395. - description: 现货商品ID
  20396. in: query
  20397. name: wrstandardid
  20398. type: integer
  20399. produces:
  20400. - application/json
  20401. responses:
  20402. "200":
  20403. description: OK
  20404. schema:
  20405. items:
  20406. $ref: '#/definitions/models.ErmcpGoodsBrand'
  20407. type: array
  20408. "500":
  20409. description: Internal Server Error
  20410. schema:
  20411. $ref: '#/definitions/app.Response'
  20412. security:
  20413. - ApiKeyAuth: []
  20414. summary: 查询商品品牌
  20415. tags:
  20416. - 企业风险管理(app)
  20417. /Ermcp/QueryGoodsModel:
  20418. get:
  20419. parameters:
  20420. - description: 用户ID
  20421. in: query
  20422. name: userid
  20423. required: true
  20424. type: integer
  20425. produces:
  20426. - application/json
  20427. responses:
  20428. "200":
  20429. description: OK
  20430. schema:
  20431. items:
  20432. $ref: '#/definitions/models.ErmcpGoodsModel'
  20433. type: array
  20434. "500":
  20435. description: Internal Server Error
  20436. schema:
  20437. $ref: '#/definitions/app.Response'
  20438. security:
  20439. - ApiKeyAuth: []
  20440. summary: 查询商品型号
  20441. tags:
  20442. - 企业风险管理(app)
  20443. /Ermcp/QueryHisExposure:
  20444. get:
  20445. parameters:
  20446. - description: 用户id
  20447. in: query
  20448. name: userid
  20449. required: true
  20450. type: integer
  20451. - description: 每个品种记录数
  20452. in: query
  20453. name: lastNum
  20454. required: true
  20455. type: integer
  20456. produces:
  20457. - application/json
  20458. responses:
  20459. "200":
  20460. description: OK
  20461. schema:
  20462. items:
  20463. $ref: '#/definitions/ermcp.HisExposureRsp'
  20464. type: array
  20465. "500":
  20466. description: Internal Server Error
  20467. schema:
  20468. $ref: '#/definitions/app.Response'
  20469. security:
  20470. - ApiKeyAuth: []
  20471. summary: 查询历史敞口(菜单:敞口/历史敞口)
  20472. tags:
  20473. - 企业风险管理(app)
  20474. /Ermcp/QueryMiddleGoods:
  20475. get:
  20476. parameters:
  20477. - description: 所属机构ID
  20478. in: query
  20479. name: userid
  20480. required: true
  20481. type: integer
  20482. - description: 状态 0-停用 1-正常
  20483. in: query
  20484. name: status
  20485. required: true
  20486. type: integer
  20487. produces:
  20488. - application/json
  20489. responses:
  20490. "200":
  20491. description: OK
  20492. schema:
  20493. items:
  20494. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  20495. type: array
  20496. "500":
  20497. description: Internal Server Error
  20498. schema:
  20499. $ref: '#/definitions/app.Response'
  20500. security:
  20501. - ApiKeyAuth: []
  20502. summary: 查询套保品种(菜单:套保品种)
  20503. tags:
  20504. - 企业风险管理(app)
  20505. /Ermcp/QueryMiddleGoodsChangeLog:
  20506. get:
  20507. parameters:
  20508. - description: 所属机构ID
  20509. in: query
  20510. name: userid
  20511. required: true
  20512. type: integer
  20513. - description: 套保品种id
  20514. in: query
  20515. name: middlegoodsid
  20516. required: true
  20517. type: integer
  20518. produces:
  20519. - application/json
  20520. responses:
  20521. "200":
  20522. description: OK
  20523. schema:
  20524. items:
  20525. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  20526. type: array
  20527. "500":
  20528. description: Internal Server Error
  20529. schema:
  20530. $ref: '#/definitions/app.Response'
  20531. security:
  20532. - ApiKeyAuth: []
  20533. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  20534. tags:
  20535. - 企业风险管理(app)
  20536. /Ermcp/QueryMiddleGoodsDetail:
  20537. get:
  20538. parameters:
  20539. - description: 所属机构ID
  20540. in: query
  20541. name: userid
  20542. required: true
  20543. type: integer
  20544. - description: 套保品种id
  20545. in: query
  20546. name: middlegoodsid
  20547. type: integer
  20548. produces:
  20549. - application/json
  20550. responses:
  20551. "200":
  20552. description: OK
  20553. schema:
  20554. items:
  20555. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  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/QueryPendingAuditInfo:
  20567. get:
  20568. parameters:
  20569. - description: 用户ID
  20570. in: query
  20571. name: UserId
  20572. required: true
  20573. type: integer
  20574. produces:
  20575. - application/json
  20576. responses:
  20577. "200":
  20578. description: OK
  20579. schema:
  20580. items:
  20581. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  20582. type: array
  20583. "500":
  20584. description: Internal Server Error
  20585. schema:
  20586. $ref: '#/definitions/app.Response'
  20587. security:
  20588. - ApiKeyAuth: []
  20589. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  20590. tags:
  20591. - 企业风险管理(app)
  20592. /Ermcp/QueryRealtimeExposure:
  20593. get:
  20594. parameters:
  20595. - description: 所属机构ID
  20596. in: query
  20597. name: userid
  20598. required: true
  20599. type: integer
  20600. produces:
  20601. - application/json
  20602. responses:
  20603. "200":
  20604. description: OK
  20605. schema:
  20606. items:
  20607. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  20608. type: array
  20609. "500":
  20610. description: Internal Server Error
  20611. schema:
  20612. $ref: '#/definitions/app.Response'
  20613. security:
  20614. - ApiKeyAuth: []
  20615. summary: 查询实时敞口
  20616. tags:
  20617. - 企业风险管理(app)
  20618. /Ermcp/QueryRealtimeExposurePosition:
  20619. get:
  20620. parameters:
  20621. - description: 用户id
  20622. in: query
  20623. name: userid
  20624. required: true
  20625. type: integer
  20626. - description: 套保商品ID
  20627. in: query
  20628. name: middleGoodsId
  20629. required: true
  20630. type: integer
  20631. produces:
  20632. - application/json
  20633. responses:
  20634. "200":
  20635. description: OK
  20636. schema:
  20637. items:
  20638. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  20639. type: array
  20640. "500":
  20641. description: Internal Server Error
  20642. schema:
  20643. $ref: '#/definitions/app.Response'
  20644. security:
  20645. - ApiKeyAuth: []
  20646. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  20647. tags:
  20648. - 企业风险管理(app)
  20649. /Ermcp/QueryRoleMenu:
  20650. get:
  20651. parameters:
  20652. - description: 登录ID
  20653. in: query
  20654. name: loginid
  20655. required: true
  20656. type: integer
  20657. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易
  20658. in: query
  20659. name: menutype
  20660. type: integer
  20661. produces:
  20662. - application/json
  20663. responses:
  20664. "200":
  20665. description: OK
  20666. schema:
  20667. items:
  20668. $ref: '#/definitions/models.RoleMenu'
  20669. type: array
  20670. "500":
  20671. description: Internal Server Error
  20672. schema:
  20673. $ref: '#/definitions/app.Response'
  20674. security:
  20675. - ApiKeyAuth: []
  20676. summary: 查询角色菜单和权限
  20677. tags:
  20678. - 企业风险管理(app)
  20679. /Ermcp/QueryTradeConfigTMP:
  20680. get:
  20681. parameters:
  20682. - description: 所属机构id
  20683. in: query
  20684. name: areauserid
  20685. type: integer
  20686. produces:
  20687. - application/json
  20688. responses:
  20689. "200":
  20690. description: OK
  20691. schema:
  20692. items:
  20693. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  20694. type: array
  20695. "500":
  20696. description: Internal Server Error
  20697. schema:
  20698. $ref: '#/definitions/app.Response'
  20699. security:
  20700. - ApiKeyAuth: []
  20701. summary: 查询交易模板配置
  20702. tags:
  20703. - 企业风险管理(app)
  20704. /Ermcp/QueryUserInfo:
  20705. get:
  20706. parameters:
  20707. - description: 所属机构用户ID
  20708. in: query
  20709. name: MemberUserID
  20710. required: true
  20711. type: integer
  20712. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  20713. in: query
  20714. name: queryType
  20715. required: true
  20716. type: integer
  20717. produces:
  20718. - application/json
  20719. responses:
  20720. "200":
  20721. description: OK
  20722. schema:
  20723. items:
  20724. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  20725. type: array
  20726. "500":
  20727. description: Internal Server Error
  20728. schema:
  20729. $ref: '#/definitions/app.Response'
  20730. security:
  20731. - ApiKeyAuth: []
  20732. summary: 查询客户资料
  20733. tags:
  20734. - 企业风险管理(app)
  20735. /Ermcp/QueryWarehouseInfo:
  20736. get:
  20737. parameters:
  20738. - description: 用户ID
  20739. in: query
  20740. name: userid
  20741. required: true
  20742. type: integer
  20743. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  20744. in: query
  20745. name: status
  20746. type: string
  20747. produces:
  20748. - application/json
  20749. responses:
  20750. "200":
  20751. description: OK
  20752. schema:
  20753. items:
  20754. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  20755. type: array
  20756. "500":
  20757. description: Internal Server Error
  20758. schema:
  20759. $ref: '#/definitions/app.Response'
  20760. security:
  20761. - ApiKeyAuth: []
  20762. summary: 查询仓库信息
  20763. tags:
  20764. - 企业风险管理(app)
  20765. /Ermcp3/QryAreaExpourseContractDetail:
  20766. get:
  20767. parameters:
  20768. - description: 用户ID
  20769. in: query
  20770. name: userid
  20771. required: true
  20772. type: integer
  20773. - description: 套保商品id
  20774. in: query
  20775. name: middlegoodsid
  20776. required: true
  20777. type: integer
  20778. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  20779. in: query
  20780. name: cycletype
  20781. required: true
  20782. type: integer
  20783. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  20784. 全(0)【原值】
  20785. in: query
  20786. name: cycletime
  20787. required: true
  20788. type: string
  20789. produces:
  20790. - application/json
  20791. responses:
  20792. "200":
  20793. description: OK
  20794. schema:
  20795. items:
  20796. $ref: '#/definitions/models.Ermcp3ExposureContractDetail'
  20797. type: array
  20798. "500":
  20799. description: Internal Server Error
  20800. schema:
  20801. $ref: '#/definitions/app.Response'
  20802. security:
  20803. - ApiKeyAuth: []
  20804. summary: 查询敞口合同明细(敞口报表/现货合同明细)
  20805. tags:
  20806. - 企业风险管理v3(app)
  20807. /Ermcp3/QryAreaExpourseFutuDetail:
  20808. get:
  20809. parameters:
  20810. - description: 用户ID
  20811. in: query
  20812. name: userid
  20813. required: true
  20814. type: integer
  20815. - description: 套保商品id
  20816. in: query
  20817. name: middlegoodsid
  20818. required: true
  20819. type: integer
  20820. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  20821. in: query
  20822. name: cycletype
  20823. required: true
  20824. type: integer
  20825. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  20826. 全(0)【原值】
  20827. in: query
  20828. name: cycletime
  20829. required: true
  20830. type: string
  20831. produces:
  20832. - application/json
  20833. responses:
  20834. "200":
  20835. description: OK
  20836. schema:
  20837. items:
  20838. $ref: '#/definitions/models.Ermcp3ExposureFutuDetail'
  20839. type: array
  20840. "500":
  20841. description: Internal Server Error
  20842. schema:
  20843. $ref: '#/definitions/app.Response'
  20844. security:
  20845. - ApiKeyAuth: []
  20846. summary: 查询敞口期货明细(敞口报表/期货明细)
  20847. tags:
  20848. - 企业风险管理v3(app)
  20849. /Ermcp3/QryAreaExpourseHedgeplanDetail:
  20850. get:
  20851. parameters:
  20852. - description: 用户ID
  20853. in: query
  20854. name: userid
  20855. required: true
  20856. type: integer
  20857. - description: 套保商品id
  20858. in: query
  20859. name: middlegoodsid
  20860. required: true
  20861. type: integer
  20862. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  20863. in: query
  20864. name: cycletype
  20865. required: true
  20866. type: integer
  20867. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  20868. 全(0)【原值】
  20869. in: query
  20870. name: cycletime
  20871. required: true
  20872. type: string
  20873. produces:
  20874. - application/json
  20875. responses:
  20876. "200":
  20877. description: OK
  20878. schema:
  20879. items:
  20880. $ref: '#/definitions/models.Ermcp3ExposureHedgeplanDetail'
  20881. type: array
  20882. "500":
  20883. description: Internal Server Error
  20884. schema:
  20885. $ref: '#/definitions/app.Response'
  20886. security:
  20887. - ApiKeyAuth: []
  20888. summary: 查询敞口套保计划明细(敞口报表/套保计划明细)
  20889. tags:
  20890. - 企业风险管理v3(app)
  20891. /Ermcp3/QryAreaExpourseParamChLogDetail:
  20892. get:
  20893. parameters:
  20894. - description: 用户ID
  20895. in: query
  20896. name: userid
  20897. required: true
  20898. type: integer
  20899. - description: 套保商品id
  20900. in: query
  20901. name: middlegoodsid
  20902. required: true
  20903. type: integer
  20904. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  20905. in: query
  20906. name: cycletype
  20907. required: true
  20908. type: integer
  20909. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  20910. 全(0)【原值】
  20911. in: query
  20912. name: cycletime
  20913. required: true
  20914. type: string
  20915. produces:
  20916. - application/json
  20917. responses:
  20918. "200":
  20919. description: OK
  20920. schema:
  20921. items:
  20922. $ref: '#/definitions/models.Ermcp3ExposureParamChLog'
  20923. type: array
  20924. "500":
  20925. description: Internal Server Error
  20926. schema:
  20927. $ref: '#/definitions/app.Response'
  20928. security:
  20929. - ApiKeyAuth: []
  20930. summary: 查询敞口参数调整明细(敞口报表/参数调整明细)
  20931. tags:
  20932. - 企业风险管理v3(app)
  20933. /Ermcp3/QryAreaExpourseReport:
  20934. get:
  20935. parameters:
  20936. - description: 用户ID
  20937. in: query
  20938. name: userid
  20939. required: true
  20940. type: integer
  20941. - description: 查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口
  20942. in: query
  20943. name: querytype
  20944. required: true
  20945. type: integer
  20946. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  20947. in: query
  20948. name: cycletype
  20949. required: true
  20950. type: integer
  20951. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  20952. 全(0)【原值】
  20953. in: query
  20954. name: cycletime
  20955. required: true
  20956. type: string
  20957. produces:
  20958. - application/json
  20959. responses:
  20960. "200":
  20961. description: OK
  20962. schema:
  20963. items:
  20964. $ref: '#/definitions/models.Ermcp3ExpourseReport'
  20965. type: array
  20966. "500":
  20967. description: Internal Server Error
  20968. schema:
  20969. $ref: '#/definitions/app.Response'
  20970. security:
  20971. - ApiKeyAuth: []
  20972. summary: 查询敞口报表
  20973. tags:
  20974. - 企业风险管理v3(app)
  20975. /Ermcp3/QryAreaSpotplReport:
  20976. get:
  20977. description: 目前pcweb的日/周/月报表与手机端的汇总维度不同, 所以增加了可选参数sumflag参数, pcweb请填1
  20978. parameters:
  20979. - description: 用户ID
  20980. in: query
  20981. name: userid
  20982. required: true
  20983. type: integer
  20984. - description: 查询类型 1-报表 2-报表明细
  20985. in: query
  20986. name: querytype
  20987. required: true
  20988. type: integer
  20989. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  20990. in: query
  20991. name: cycletype
  20992. required: true
  20993. type: integer
  20994. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  20995. 全(0)【原值】
  20996. in: query
  20997. name: cycletime
  20998. required: true
  20999. type: string
  21000. - description: 现货品种id(明细必填)
  21001. in: query
  21002. name: deliverygoodsid
  21003. type: integer
  21004. - description: 币种id(明细必填)
  21005. in: query
  21006. name: currencyid
  21007. type: integer
  21008. - description: 日/周/月报表汇总维度 1:品种+品类
  21009. in: query
  21010. name: sumflag
  21011. type: integer
  21012. produces:
  21013. - application/json
  21014. responses:
  21015. "200":
  21016. description: OK
  21017. schema:
  21018. items:
  21019. $ref: '#/definitions/models.Ermcp3AreaSpotPLReport'
  21020. type: array
  21021. "500":
  21022. description: Internal Server Error
  21023. schema:
  21024. $ref: '#/definitions/app.Response'
  21025. security:
  21026. - ApiKeyAuth: []
  21027. summary: 查询现货报表
  21028. tags:
  21029. - 企业风险管理v3(app)
  21030. /Ermcp3/QryAreaStockReport:
  21031. get:
  21032. parameters:
  21033. - description: 用户ID
  21034. in: query
  21035. name: userid
  21036. required: true
  21037. type: integer
  21038. - description: 查询类型 1-报表 2-报表明细
  21039. in: query
  21040. name: querytype
  21041. required: true
  21042. type: integer
  21043. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21044. in: query
  21045. name: cycletype
  21046. required: true
  21047. type: integer
  21048. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21049. 全(0)【原值】
  21050. in: query
  21051. name: cycletime
  21052. required: true
  21053. type: string
  21054. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库
  21055. in: query
  21056. name: sumfields
  21057. type: string
  21058. - description: 品种ID
  21059. in: query
  21060. name: deliverygoodsid
  21061. type: integer
  21062. - description: 品类ID
  21063. in: query
  21064. name: wrstandardid
  21065. type: integer
  21066. - description: 品牌ID
  21067. in: query
  21068. name: spotgoodsbrandid
  21069. type: integer
  21070. - description: 仓库ID
  21071. in: query
  21072. name: warehouseinfoid
  21073. type: integer
  21074. produces:
  21075. - application/json
  21076. responses:
  21077. "200":
  21078. description: OK
  21079. schema:
  21080. items:
  21081. $ref: '#/definitions/models.Ermcp3AreaStockReportEx'
  21082. type: array
  21083. "500":
  21084. description: Internal Server Error
  21085. schema:
  21086. $ref: '#/definitions/app.Response'
  21087. security:
  21088. - ApiKeyAuth: []
  21089. summary: 查询库存报表
  21090. tags:
  21091. - 企业风险管理v3(app)
  21092. /Ermcp3/QryAreaSumPL:
  21093. get:
  21094. parameters:
  21095. - description: 用户ID
  21096. in: query
  21097. name: userid
  21098. required: true
  21099. type: integer
  21100. - description: 查询类型 1-报表 2-报表明细
  21101. in: query
  21102. name: querytype
  21103. required: true
  21104. type: integer
  21105. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21106. in: query
  21107. name: cycletype
  21108. required: true
  21109. type: integer
  21110. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21111. 全(0)【原值】
  21112. in: query
  21113. name: cycletime
  21114. required: true
  21115. type: string
  21116. - description: 币种id(明细必填)
  21117. in: query
  21118. name: currencyid
  21119. type: integer
  21120. - description: 套保品种ID, 查询类型为2时起效
  21121. in: query
  21122. name: middlegoodsid
  21123. type: integer
  21124. produces:
  21125. - application/json
  21126. responses:
  21127. "200":
  21128. description: OK
  21129. schema:
  21130. items:
  21131. $ref: '#/definitions/models.Ermcp3ArealSumPL'
  21132. type: array
  21133. "500":
  21134. description: Internal Server Error
  21135. schema:
  21136. $ref: '#/definitions/app.Response'
  21137. security:
  21138. - ApiKeyAuth: []
  21139. summary: 查询汇总损益表
  21140. tags:
  21141. - 企业风险管理v3(app)
  21142. /Ermcp3/QryFinanceReport:
  21143. get:
  21144. parameters:
  21145. - description: 用户ID
  21146. in: query
  21147. name: userid
  21148. required: true
  21149. type: integer
  21150. - description: 查询类型 1-报表 2-报表明细
  21151. in: query
  21152. name: querytype
  21153. required: true
  21154. type: integer
  21155. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21156. in: query
  21157. name: cycletype
  21158. required: true
  21159. type: integer
  21160. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21161. 全(0)【原值】
  21162. in: query
  21163. name: cycletime
  21164. required: true
  21165. type: string
  21166. - description: 币种id(报表明细必填)
  21167. in: query
  21168. name: currencyid
  21169. type: integer
  21170. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌
  21171. in: query
  21172. name: sumfields
  21173. type: string
  21174. produces:
  21175. - application/json
  21176. responses:
  21177. "200":
  21178. description: OK
  21179. schema:
  21180. items:
  21181. $ref: '#/definitions/models.Ermcp3FinanceReport'
  21182. type: array
  21183. "500":
  21184. description: Internal Server Error
  21185. schema:
  21186. $ref: '#/definitions/app.Response'
  21187. security:
  21188. - ApiKeyAuth: []
  21189. summary: 查询财务报表
  21190. tags:
  21191. - 企业风险管理v3(app)
  21192. /Ermcp3/QrySCMiddleGoodsReport:
  21193. get:
  21194. parameters:
  21195. - description: 用户ID
  21196. in: query
  21197. name: userid
  21198. required: true
  21199. type: integer
  21200. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21201. in: query
  21202. name: cycletype
  21203. required: true
  21204. type: integer
  21205. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21206. 全(0)【原值】
  21207. in: query
  21208. name: cycletime
  21209. required: true
  21210. type: string
  21211. - description: 合同id
  21212. in: query
  21213. name: spotcontractid
  21214. type: integer
  21215. - description: 套保品种id
  21216. in: query
  21217. name: middlegoodsid
  21218. type: integer
  21219. - description: 现货品种id
  21220. in: query
  21221. name: deliverygoodsid
  21222. type: integer
  21223. - description: 现货商品id
  21224. in: query
  21225. name: wrstandardid
  21226. type: integer
  21227. - description: 合同编号(模糊匹配)
  21228. in: query
  21229. name: contractno
  21230. type: string
  21231. produces:
  21232. - application/json
  21233. responses:
  21234. "200":
  21235. description: OK
  21236. schema:
  21237. items:
  21238. $ref: '#/definitions/models.Ermcp3SCMiddleGoodsReport'
  21239. type: array
  21240. "500":
  21241. description: Internal Server Error
  21242. schema:
  21243. $ref: '#/definitions/app.Response'
  21244. security:
  21245. - ApiKeyAuth: []
  21246. summary: 查询定价报表
  21247. tags:
  21248. - 企业风险管理v3(app)
  21249. /Ermcp3/QryTaFutureDataReport:
  21250. get:
  21251. parameters:
  21252. - description: 用户ID
  21253. in: query
  21254. name: userid
  21255. required: true
  21256. type: integer
  21257. - description: 查询类型 1-报表 2-报表明细
  21258. in: query
  21259. name: querytype
  21260. required: true
  21261. type: integer
  21262. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21263. in: query
  21264. name: cycletype
  21265. required: true
  21266. type: integer
  21267. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21268. 全(0)【原值】
  21269. in: query
  21270. name: cycletime
  21271. required: true
  21272. type: string
  21273. - description: 币种id(查明细必填)
  21274. in: query
  21275. name: currencyid
  21276. type: integer
  21277. - description: 品种id(查明细必填)
  21278. in: query
  21279. name: goodsgroupid
  21280. type: integer
  21281. - description: 商品id(查明细必填)
  21282. in: query
  21283. name: goodsid
  21284. type: integer
  21285. - description: 买卖方向(查明细必填)
  21286. in: query
  21287. name: buyorsell
  21288. type: integer
  21289. produces:
  21290. - application/json
  21291. responses:
  21292. "200":
  21293. description: OK
  21294. schema:
  21295. items:
  21296. $ref: '#/definitions/models.Ermcp3TaFutuReDataReport'
  21297. type: array
  21298. "500":
  21299. description: Internal Server Error
  21300. schema:
  21301. $ref: '#/definitions/app.Response'
  21302. security:
  21303. - ApiKeyAuth: []
  21304. summary: 查询期货报表
  21305. tags:
  21306. - 企业风险管理v3(app)
  21307. /Ermcp3/QueryAreaStock:
  21308. get:
  21309. parameters:
  21310. - description: 用户ID
  21311. in: query
  21312. name: userid
  21313. required: true
  21314. type: integer
  21315. produces:
  21316. - application/json
  21317. responses:
  21318. "200":
  21319. description: OK
  21320. schema:
  21321. items:
  21322. $ref: '#/definitions/models.Ermcp3AreaStock'
  21323. type: array
  21324. "500":
  21325. description: Internal Server Error
  21326. schema:
  21327. $ref: '#/definitions/app.Response'
  21328. security:
  21329. - ApiKeyAuth: []
  21330. summary: 查询机构库存(库存管理/当前库存)
  21331. tags:
  21332. - 企业风险管理v3(app)
  21333. /Ermcp3/QueryAreaStockApply:
  21334. get:
  21335. parameters:
  21336. - description: 用户ID
  21337. in: query
  21338. name: userid
  21339. required: true
  21340. type: integer
  21341. - description: 用户类型 2-机构 7-企业成员
  21342. in: query
  21343. name: usertype
  21344. type: integer
  21345. - description: 现货商品ID
  21346. in: query
  21347. name: deliverygoodsid
  21348. type: integer
  21349. - description: 出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  21350. in: query
  21351. name: inouttype
  21352. type: string
  21353. - description: 合同ID
  21354. in: query
  21355. name: spotcontractid
  21356. type: integer
  21357. - description: 品类ID
  21358. in: query
  21359. name: wrstandardid
  21360. type: integer
  21361. - description: 品牌ID
  21362. in: query
  21363. name: spotgoodsbrandid
  21364. type: integer
  21365. - description: 仓库ID
  21366. in: query
  21367. name: warehouseinfoid
  21368. type: integer
  21369. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  21370. in: query
  21371. name: applystatus
  21372. type: string
  21373. produces:
  21374. - application/json
  21375. responses:
  21376. "200":
  21377. description: OK
  21378. schema:
  21379. items:
  21380. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  21381. type: array
  21382. "500":
  21383. description: Internal Server Error
  21384. schema:
  21385. $ref: '#/definitions/app.Response'
  21386. security:
  21387. - ApiKeyAuth: []
  21388. summary: 查询库存申请(出入库记录|库存审核)
  21389. tags:
  21390. - 企业风险管理v3(app)
  21391. /Ermcp3/QueryAreaStockApplySum:
  21392. get:
  21393. parameters:
  21394. - description: 合同ID
  21395. in: query
  21396. name: spotcontractid
  21397. required: true
  21398. type: integer
  21399. produces:
  21400. - application/json
  21401. responses:
  21402. "200":
  21403. description: OK
  21404. schema:
  21405. items:
  21406. $ref: '#/definitions/models.Ermcp3AreaStockApplySum'
  21407. type: array
  21408. "500":
  21409. description: Internal Server Error
  21410. schema:
  21411. $ref: '#/definitions/app.Response'
  21412. security:
  21413. - ApiKeyAuth: []
  21414. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  21415. tags:
  21416. - 企业风险管理v3(app)
  21417. /Ermcp3/QueryDGFactoryItem:
  21418. get:
  21419. parameters:
  21420. - description: 用户id
  21421. in: query
  21422. name: userid
  21423. type: integer
  21424. - description: 用户类型 2-机构 7-企业成员
  21425. in: query
  21426. name: usertype
  21427. type: integer
  21428. - description: 选择项ID(SEQ_DGFACTORYITEM)
  21429. in: query
  21430. name: dgfactoryitemid
  21431. type: integer
  21432. - description: 现货品种ID
  21433. in: query
  21434. name: deliverygoodsid
  21435. type: integer
  21436. - description: 要素项类型
  21437. in: query
  21438. name: dgfactoryitemtypeid
  21439. type: integer
  21440. - description: 顺序
  21441. in: query
  21442. name: orderindex
  21443. type: integer
  21444. produces:
  21445. - application/json
  21446. responses:
  21447. "200":
  21448. description: OK
  21449. schema:
  21450. items:
  21451. $ref: '#/definitions/models.ErmcpDGFactoryItem'
  21452. type: array
  21453. "500":
  21454. description: Internal Server Error
  21455. schema:
  21456. $ref: '#/definitions/app.Response'
  21457. security:
  21458. - ApiKeyAuth: []
  21459. summary: 查询品种要素定义项
  21460. tags:
  21461. - 企业风险管理v3(app)
  21462. /Ermcp3/QueryDeliveryGoods:
  21463. get:
  21464. parameters:
  21465. - description: 用户id
  21466. in: query
  21467. name: userid
  21468. required: true
  21469. type: integer
  21470. - description: 用户类型 2-机构 7-企业成员
  21471. in: query
  21472. name: usertype
  21473. type: integer
  21474. - description: 排除已配置的业务类型商品 1-套保 2-套利
  21475. in: query
  21476. name: excludecfg
  21477. type: integer
  21478. produces:
  21479. - application/json
  21480. responses:
  21481. "200":
  21482. description: OK
  21483. schema:
  21484. items:
  21485. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  21486. type: array
  21487. "500":
  21488. description: Internal Server Error
  21489. schema:
  21490. $ref: '#/definitions/app.Response'
  21491. security:
  21492. - ApiKeyAuth: []
  21493. summary: 查询现货商品
  21494. tags:
  21495. - 企业风险管理v3(app)
  21496. /Ermcp3/QueryDeliveryGoodsDetail:
  21497. get:
  21498. parameters:
  21499. - description: 用户id
  21500. in: query
  21501. name: userid
  21502. required: true
  21503. type: integer
  21504. - description: 用户类型 2-机构 7-企业成员
  21505. in: query
  21506. name: usertype
  21507. type: integer
  21508. - description: 现货商品id
  21509. in: query
  21510. name: deliverygoodsid
  21511. type: integer
  21512. - description: 过滤下级为空, 1-过滤. 比如 品种大豆的下级品类列表为空, 则大豆不显示; 比如品类的下级套保品列表为空, 则该品类不显示
  21513. in: query
  21514. name: filtersubempty
  21515. type: integer
  21516. produces:
  21517. - application/json
  21518. responses:
  21519. "200":
  21520. description: OK
  21521. schema:
  21522. items:
  21523. $ref: '#/definitions/models.XHDeliveryGoods'
  21524. type: array
  21525. "500":
  21526. description: Internal Server Error
  21527. schema:
  21528. $ref: '#/definitions/app.Response'
  21529. security:
  21530. - ApiKeyAuth: []
  21531. summary: 查询现货商品详情
  21532. tags:
  21533. - 企业风险管理v3(app)
  21534. /Ermcp3/QueryErmcp3ContractMiddleGoodsCfg:
  21535. get:
  21536. parameters:
  21537. - description: 合同id
  21538. in: query
  21539. name: spotcontractid
  21540. required: true
  21541. type: string
  21542. produces:
  21543. - application/json
  21544. responses:
  21545. "200":
  21546. description: OK
  21547. schema:
  21548. items:
  21549. $ref: '#/definitions/models.Ermcp3ContractMiddleGoodsCfg'
  21550. type: array
  21551. "500":
  21552. description: Internal Server Error
  21553. schema:
  21554. $ref: '#/definitions/app.Response'
  21555. security:
  21556. - ApiKeyAuth: []
  21557. summary: 查询现货合同期现配置信息
  21558. tags:
  21559. - 企业风险管理v3(app)
  21560. /Ermcp3/QueryExposureDetail:
  21561. get:
  21562. parameters:
  21563. - description: 用户id
  21564. in: query
  21565. name: userid
  21566. required: true
  21567. type: integer
  21568. - description: 用户类型 2-机构 7-企业成员
  21569. in: query
  21570. name: usertype
  21571. type: integer
  21572. - description: 套保商品
  21573. in: query
  21574. name: middlegoodsid
  21575. required: true
  21576. type: integer
  21577. produces:
  21578. - application/json
  21579. responses:
  21580. "200":
  21581. description: OK
  21582. schema:
  21583. items:
  21584. $ref: '#/definitions/models.Ermcp3ExposureDetail'
  21585. type: array
  21586. "500":
  21587. description: Internal Server Error
  21588. schema:
  21589. $ref: '#/definitions/app.Response'
  21590. security:
  21591. - ApiKeyAuth: []
  21592. summary: 查询敞口现货明细
  21593. tags:
  21594. - 企业风险管理v3(app)
  21595. /Ermcp3/QueryExposureSpot:
  21596. get:
  21597. parameters:
  21598. - description: 用户id
  21599. in: query
  21600. name: userid
  21601. required: true
  21602. type: integer
  21603. - description: 用户类型 2-机构 7-企业成员
  21604. in: query
  21605. name: usertype
  21606. type: integer
  21607. produces:
  21608. - application/json
  21609. responses:
  21610. "200":
  21611. description: OK
  21612. schema:
  21613. items:
  21614. $ref: '#/definitions/models.Ermcp3AreaSpot'
  21615. type: array
  21616. "500":
  21617. description: Internal Server Error
  21618. schema:
  21619. $ref: '#/definitions/app.Response'
  21620. security:
  21621. - ApiKeyAuth: []
  21622. summary: 查询敞口现货头寸(敞口/现货头寸)
  21623. tags:
  21624. - 企业风险管理v3(app)
  21625. /Ermcp3/QueryExposureSpotDetail:
  21626. get:
  21627. parameters:
  21628. - description: 用户id
  21629. in: query
  21630. name: userid
  21631. required: true
  21632. type: integer
  21633. - description: 用户类型 2-机构 7-企业成员
  21634. in: query
  21635. name: usertype
  21636. type: integer
  21637. - description: 现货商品ID
  21638. in: query
  21639. name: wrstandardid
  21640. required: true
  21641. type: integer
  21642. produces:
  21643. - application/json
  21644. responses:
  21645. "200":
  21646. description: OK
  21647. schema:
  21648. items:
  21649. $ref: '#/definitions/models.Ermcp3AreaSpotDetail'
  21650. type: array
  21651. "500":
  21652. description: Internal Server Error
  21653. schema:
  21654. $ref: '#/definitions/app.Response'
  21655. security:
  21656. - ApiKeyAuth: []
  21657. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  21658. tags:
  21659. - 企业风险管理v3(app)
  21660. /Ermcp3/QueryGoodsGroup:
  21661. get:
  21662. parameters:
  21663. - description: 用户id
  21664. in: query
  21665. name: userid
  21666. required: true
  21667. type: integer
  21668. - description: 用户类型 2-机构 7-企业成员
  21669. in: query
  21670. name: usertype
  21671. type: integer
  21672. - description: 排除套保品中已关联的商品组 1-排除
  21673. in: query
  21674. name: excludecfg
  21675. type: integer
  21676. produces:
  21677. - application/json
  21678. responses:
  21679. "200":
  21680. description: OK
  21681. schema:
  21682. items:
  21683. $ref: '#/definitions/models.Ermcp3GoodsGroup'
  21684. type: array
  21685. "500":
  21686. description: Internal Server Error
  21687. schema:
  21688. $ref: '#/definitions/app.Response'
  21689. security:
  21690. - ApiKeyAuth: []
  21691. summary: 查询期货商品组
  21692. tags:
  21693. - 企业风险管理v3(app)
  21694. /Ermcp3/QueryGoodsWrstandard:
  21695. get:
  21696. parameters:
  21697. - description: 用户id
  21698. in: query
  21699. name: userid
  21700. required: true
  21701. type: integer
  21702. - description: 用户类型 2-机构 7-企业成员
  21703. in: query
  21704. name: usertype
  21705. type: integer
  21706. - description: 现货商品id
  21707. in: query
  21708. name: deliverygoodsid
  21709. type: integer
  21710. produces:
  21711. - application/json
  21712. responses:
  21713. "200":
  21714. description: OK
  21715. schema:
  21716. items:
  21717. $ref: '#/definitions/models.Ermcp3Wrstandard'
  21718. type: array
  21719. "500":
  21720. description: Internal Server Error
  21721. schema:
  21722. $ref: '#/definitions/app.Response'
  21723. security:
  21724. - ApiKeyAuth: []
  21725. summary: 查询商品品类
  21726. tags:
  21727. - 企业风险管理v3(app)
  21728. /Ermcp3/QueryGoodsbrand:
  21729. get:
  21730. parameters:
  21731. - description: 用户id
  21732. in: query
  21733. name: userid
  21734. required: true
  21735. type: integer
  21736. - description: 用户类型 2-机构 7-企业成员
  21737. in: query
  21738. name: usertype
  21739. type: integer
  21740. produces:
  21741. - application/json
  21742. responses:
  21743. "200":
  21744. description: OK
  21745. schema:
  21746. items:
  21747. $ref: '#/definitions/models.Ermcp3Brand'
  21748. type: array
  21749. "500":
  21750. description: Internal Server Error
  21751. schema:
  21752. $ref: '#/definitions/app.Response'
  21753. security:
  21754. - ApiKeyAuth: []
  21755. summary: 查询商品品牌
  21756. tags:
  21757. - 企业风险管理v3(app)
  21758. /Ermcp3/QueryHPMiddleGoods:
  21759. get:
  21760. parameters:
  21761. - description: 用户ID(填登录用户的userid)
  21762. in: query
  21763. name: userid
  21764. required: true
  21765. type: integer
  21766. - description: 买卖方向 0-买 1-卖
  21767. in: query
  21768. name: buyorsell
  21769. required: true
  21770. type: integer
  21771. - description: 商品组id
  21772. in: query
  21773. name: goodsgroupid
  21774. required: true
  21775. type: integer
  21776. - description: 套保计划编号(模糊匹配)
  21777. in: query
  21778. name: hedgeplanno
  21779. type: string
  21780. - description: 现货商品名称(模糊匹配)
  21781. in: query
  21782. name: wrstandardname
  21783. type: string
  21784. produces:
  21785. - application/json
  21786. responses:
  21787. "200":
  21788. description: OK
  21789. schema:
  21790. items:
  21791. $ref: '#/definitions/models.Ermcp3HPMiddleGoods'
  21792. type: array
  21793. "500":
  21794. description: Internal Server Error
  21795. schema:
  21796. $ref: '#/definitions/app.Response'
  21797. security:
  21798. - ApiKeyAuth: []
  21799. summary: 查询可关联套保计划
  21800. tags:
  21801. - 企业风险管理v3(app)
  21802. /Ermcp3/QueryHedgePlan:
  21803. get:
  21804. parameters:
  21805. - description: 用户ID
  21806. in: query
  21807. name: userid
  21808. required: true
  21809. type: integer
  21810. - description: 用户类型 2-机构 7-企业成员
  21811. in: query
  21812. name: usertype
  21813. type: integer
  21814. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  21815. in: query
  21816. name: hedgeplanstatus
  21817. required: true
  21818. type: string
  21819. produces:
  21820. - application/json
  21821. responses:
  21822. "200":
  21823. description: OK
  21824. schema:
  21825. items:
  21826. $ref: '#/definitions/models.Ermcp3HedgePlan'
  21827. type: array
  21828. "500":
  21829. description: Internal Server Error
  21830. schema:
  21831. $ref: '#/definitions/app.Response'
  21832. security:
  21833. - ApiKeyAuth: []
  21834. summary: 查询套保计划
  21835. tags:
  21836. - 企业风险管理v3(app)
  21837. /Ermcp3/QueryInnerTradeLink:
  21838. get:
  21839. description: 页面 app 现货->期现关联->外部成交单关联->点"解除关联"按钮->解除外部关联的页面信息
  21840. parameters:
  21841. - description: 外部成交单号
  21842. in: query
  21843. name: outtradeid
  21844. required: true
  21845. type: integer
  21846. produces:
  21847. - application/json
  21848. responses:
  21849. "200":
  21850. description: OK
  21851. schema:
  21852. items:
  21853. $ref: '#/definitions/models.Ermcp3InnerTradeLink'
  21854. type: array
  21855. "500":
  21856. description: Internal Server Error
  21857. schema:
  21858. $ref: '#/definitions/app.Response'
  21859. security:
  21860. - ApiKeyAuth: []
  21861. summary: 查询外部成交单关联的内部单信息(在解除外部关联页面使用)
  21862. tags:
  21863. - 企业风险管理v3(app)
  21864. /Ermcp3/QueryMiddleGoodsDetail:
  21865. get:
  21866. parameters:
  21867. - description: 用户id
  21868. in: query
  21869. name: userid
  21870. required: true
  21871. type: integer
  21872. - description: 用户类型 2-机构 7-企业成员
  21873. in: query
  21874. name: usertype
  21875. type: integer
  21876. - description: 套保品种id
  21877. in: query
  21878. name: middlegoodsid
  21879. type: integer
  21880. produces:
  21881. - application/json
  21882. responses:
  21883. "200":
  21884. description: OK
  21885. schema:
  21886. items:
  21887. $ref: '#/definitions/models.TBMiddleGoods'
  21888. type: array
  21889. "500":
  21890. description: Internal Server Error
  21891. schema:
  21892. $ref: '#/definitions/app.Response'
  21893. security:
  21894. - ApiKeyAuth: []
  21895. summary: 查询套保品种详情(套保品种/商品详情)
  21896. tags:
  21897. - 企业风险管理v3(app)
  21898. /Ermcp3/QueryOutTradeLink:
  21899. get:
  21900. description: 页面 app 现货->期现关联->外部成交单关联
  21901. parameters:
  21902. - description: 用户ID(填登录用户的userid)
  21903. in: query
  21904. name: userid
  21905. required: true
  21906. type: integer
  21907. - description: 外部订单号(模糊匹配)
  21908. in: query
  21909. name: outtradeid
  21910. type: string
  21911. - description: 合约名称/代码(模糊匹配)
  21912. in: query
  21913. name: goodsname
  21914. type: string
  21915. - description: 关联状态 0-未关联 1-已关联
  21916. in: query
  21917. name: hasinnerorder
  21918. type: integer
  21919. produces:
  21920. - application/json
  21921. responses:
  21922. "200":
  21923. description: OK
  21924. schema:
  21925. items:
  21926. $ref: '#/definitions/models.Ermcp3OutTradeLink'
  21927. type: array
  21928. "500":
  21929. description: Internal Server Error
  21930. schema:
  21931. $ref: '#/definitions/app.Response'
  21932. security:
  21933. - ApiKeyAuth: []
  21934. summary: 查询外部成交单关联
  21935. tags:
  21936. - 企业风险管理v3(app)
  21937. /Ermcp3/QueryPaAreaAuditCfg:
  21938. get:
  21939. parameters:
  21940. - description: 用户id
  21941. in: query
  21942. name: userid
  21943. required: true
  21944. type: integer
  21945. produces:
  21946. - application/json
  21947. responses:
  21948. "200":
  21949. description: OK
  21950. schema:
  21951. items:
  21952. $ref: '#/definitions/models.Ermcp3PaAreaAuditCfg'
  21953. type: array
  21954. "500":
  21955. description: Internal Server Error
  21956. schema:
  21957. $ref: '#/definitions/app.Response'
  21958. security:
  21959. - ApiKeyAuth: []
  21960. summary: 查询审核设置
  21961. tags:
  21962. - 企业风险管理v3(app)
  21963. /Ermcp3/QueryPaAreaSubject:
  21964. get:
  21965. parameters:
  21966. - description: 用户id
  21967. in: query
  21968. name: userid
  21969. required: true
  21970. type: integer
  21971. - description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  21972. in: query
  21973. name: subjectid
  21974. type: integer
  21975. - description: 主体类型 - 1:交易主体 2:业务部门
  21976. in: query
  21977. name: subjecttype
  21978. type: integer
  21979. - description: '主体状态 - 1:正常 2: 停用'
  21980. in: query
  21981. name: subjectstatus
  21982. type: integer
  21983. produces:
  21984. - application/json
  21985. responses:
  21986. "200":
  21987. description: OK
  21988. schema:
  21989. items:
  21990. $ref: '#/definitions/models.Ermcp3PaAreaSubject'
  21991. type: array
  21992. "500":
  21993. description: Internal Server Error
  21994. schema:
  21995. $ref: '#/definitions/app.Response'
  21996. security:
  21997. - ApiKeyAuth: []
  21998. summary: 查询交易主体
  21999. tags:
  22000. - 企业风险管理v3(app)
  22001. /Ermcp3/QueryPaTradeLink:
  22002. get:
  22003. description: 页面 app 现货->期现关联->期现单据关联
  22004. parameters:
  22005. - description: 用户ID
  22006. in: query
  22007. name: userid
  22008. required: true
  22009. type: integer
  22010. produces:
  22011. - application/json
  22012. responses:
  22013. "200":
  22014. description: OK
  22015. schema:
  22016. items:
  22017. $ref: '#/definitions/models.Ermcp3PaTradeLink'
  22018. type: array
  22019. "500":
  22020. description: Internal Server Error
  22021. schema:
  22022. $ref: '#/definitions/app.Response'
  22023. security:
  22024. - ApiKeyAuth: []
  22025. summary: 查询期现单据关联
  22026. tags:
  22027. - 企业风险管理v3(app)
  22028. /Ermcp3/QueryPaTradeLinkDetail:
  22029. get:
  22030. description: 页面 app 现货->期现关联->关联记录
  22031. parameters:
  22032. - description: 用户ID(填登录用户的userid)
  22033. in: query
  22034. name: userid
  22035. required: true
  22036. type: integer
  22037. - description: 关联状态 1:成功 2:失败 3:解绑
  22038. in: query
  22039. name: linkstatus
  22040. type: integer
  22041. - description: 期货订单号(模糊匹配)
  22042. in: query
  22043. name: tradeid
  22044. type: string
  22045. - description: 现货编号(模糊匹配)
  22046. in: query
  22047. name: contractno
  22048. type: string
  22049. - description: 期货账户(模糊匹配)
  22050. in: query
  22051. name: taname
  22052. type: string
  22053. produces:
  22054. - application/json
  22055. responses:
  22056. "200":
  22057. description: OK
  22058. schema:
  22059. items:
  22060. $ref: '#/definitions/models.Ermcp3TradeLinkDetail'
  22061. type: array
  22062. "500":
  22063. description: Internal Server Error
  22064. schema:
  22065. $ref: '#/definitions/app.Response'
  22066. security:
  22067. - ApiKeyAuth: []
  22068. summary: 查询期现关联记录
  22069. tags:
  22070. - 企业风险管理v3(app)
  22071. /Ermcp3/QueryParamChangeApp:
  22072. get:
  22073. description: |-
  22074. 原型页面:
  22075. 1.商品信息->商品参数修改流水-> 增值税税率 | 折算系数 | 成本权重; 流水页面查申请状态为“审核通过”的记录
  22076. 2.风管审核->套保比例审核 | 折算系数审核 | 增值税税率审核 | 成本权重审核
  22077. parameters:
  22078. - description: 用户ID
  22079. in: query
  22080. name: userid
  22081. required: true
  22082. type: integer
  22083. - description: 现货品种id
  22084. in: query
  22085. name: deliverygoodsid
  22086. type: integer
  22087. - description: 现货商品id
  22088. in: query
  22089. name: wrstandardid
  22090. type: integer
  22091. - description: 套保商品id
  22092. in: query
  22093. name: middlegoodsid
  22094. type: integer
  22095. - description: 操作类型 1:新增 2:修改
  22096. in: query
  22097. name: operatetype
  22098. type: integer
  22099. - description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  22100. in: query
  22101. name: paramchangetype
  22102. type: integer
  22103. - description: 申请状态(逗号隔开,如1,2,3) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  22104. in: query
  22105. name: ftstatus
  22106. type: string
  22107. produces:
  22108. - application/json
  22109. responses:
  22110. "200":
  22111. description: OK
  22112. schema:
  22113. items:
  22114. $ref: '#/definitions/models.Ermcp3ParamChangeApp'
  22115. type: array
  22116. "500":
  22117. description: Internal Server Error
  22118. schema:
  22119. $ref: '#/definitions/app.Response'
  22120. security:
  22121. - ApiKeyAuth: []
  22122. summary: 查询现货商品参数变更申请(流水)
  22123. tags:
  22124. - 企业风险管理v3(app)
  22125. /Ermcp3/QueryRootUserAccount:
  22126. get:
  22127. parameters:
  22128. - description: 用户ID
  22129. in: query
  22130. name: userid
  22131. required: true
  22132. type: integer
  22133. produces:
  22134. - application/json
  22135. responses:
  22136. "200":
  22137. description: OK
  22138. schema:
  22139. items:
  22140. $ref: '#/definitions/models.Ermcp3RootUserAccount'
  22141. type: array
  22142. "500":
  22143. description: Internal Server Error
  22144. schema:
  22145. $ref: '#/definitions/app.Response'
  22146. security:
  22147. - ApiKeyAuth: []
  22148. summary: 查询顶级用户信息
  22149. tags:
  22150. - 企业风险管理v3(app)
  22151. /Ermcp3/QuerySCMiddleGoods:
  22152. get:
  22153. description: |-
  22154. 页面 app 现货->期现关联->期现单据关联->点"关联"按钮->弹出界面 : 现货订单
  22155. 现货编号 即 合同编号
  22156. parameters:
  22157. - description: 用户ID(填登录用户的userid)
  22158. in: query
  22159. name: userid
  22160. required: true
  22161. type: integer
  22162. - description: 买卖方向 0-买 1-卖
  22163. in: query
  22164. name: buyorsell
  22165. required: true
  22166. type: integer
  22167. - description: 商品组id
  22168. in: query
  22169. name: goodsgroupid
  22170. required: true
  22171. type: integer
  22172. - description: 业务类型 1:套保 2:套利
  22173. in: query
  22174. name: biztype
  22175. type: integer
  22176. - description: 现货编号(模糊匹配)
  22177. in: query
  22178. name: contractno
  22179. type: string
  22180. - description: 对手方(模糊匹配)
  22181. in: query
  22182. name: customername
  22183. type: string
  22184. - description: 现货商品名称(模糊匹配)
  22185. in: query
  22186. name: wrstandardname
  22187. type: string
  22188. produces:
  22189. - application/json
  22190. responses:
  22191. "200":
  22192. description: OK
  22193. schema:
  22194. items:
  22195. $ref: '#/definitions/models.Ermcp3SCMiddleGoods'
  22196. type: array
  22197. "500":
  22198. description: Internal Server Error
  22199. schema:
  22200. $ref: '#/definitions/app.Response'
  22201. security:
  22202. - ApiKeyAuth: []
  22203. summary: 查询现货订单
  22204. tags:
  22205. - 企业风险管理v3(app)
  22206. /Ermcp3/QuerySpotContract:
  22207. get:
  22208. parameters:
  22209. - description: 用户id(当指定contractid, userid可不填)
  22210. in: query
  22211. name: userid
  22212. required: true
  22213. type: integer
  22214. - description: 用户类型 2-机构 7-企业成员
  22215. in: query
  22216. name: usertype
  22217. type: integer
  22218. - description: 合同类型 1-采购, -1-销售
  22219. in: query
  22220. name: contracttype
  22221. type: integer
  22222. - description: 查询类型(逗号隔开, 如1,2,3) 1-未提交 2-待审核 3-履约中 4-已完成
  22223. in: query
  22224. name: querytype
  22225. type: string
  22226. - description: 合同ID(SpotContractId)
  22227. in: query
  22228. name: contractid
  22229. type: string
  22230. - description: 合同编号(模糊匹配)
  22231. in: query
  22232. name: contractno
  22233. type: string
  22234. - description: 商品名称(模糊匹配)
  22235. in: query
  22236. name: wrstandardname
  22237. type: string
  22238. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中
  22239. 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  22240. in: query
  22241. name: status
  22242. type: string
  22243. - description: 是否只查今日的合同 1-查今日合同
  22244. in: query
  22245. name: istoday
  22246. type: integer
  22247. produces:
  22248. - application/json
  22249. responses:
  22250. "200":
  22251. description: OK
  22252. schema:
  22253. items:
  22254. $ref: '#/definitions/models.Ermcp3Contract'
  22255. type: array
  22256. "500":
  22257. description: Internal Server Error
  22258. schema:
  22259. $ref: '#/definitions/app.Response'
  22260. security:
  22261. - ApiKeyAuth: []
  22262. summary: 查询现货合同
  22263. tags:
  22264. - 企业风险管理v3(app)
  22265. /Ermcp3/QuerySpotContractBS:
  22266. get:
  22267. parameters:
  22268. - description: 用户id
  22269. in: query
  22270. name: userid
  22271. required: true
  22272. type: integer
  22273. - description: 用户类型 2-机构 7-企业成员
  22274. in: query
  22275. name: usertype
  22276. type: integer
  22277. - description: 合同类型 1-采购, -1-销售
  22278. in: query
  22279. name: contracttype
  22280. required: true
  22281. type: integer
  22282. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  22283. in: query
  22284. name: querytype
  22285. type: integer
  22286. - description: 合同ID(SpotContractId)
  22287. in: query
  22288. name: contractid
  22289. type: string
  22290. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中
  22291. 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  22292. in: query
  22293. name: status
  22294. type: string
  22295. - description: 是否只查今日的合同 1-查今日合同
  22296. in: query
  22297. name: istoday
  22298. type: integer
  22299. produces:
  22300. - application/json
  22301. responses:
  22302. "200":
  22303. description: OK
  22304. schema:
  22305. items:
  22306. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  22307. type: array
  22308. "500":
  22309. description: Internal Server Error
  22310. schema:
  22311. $ref: '#/definitions/app.Response'
  22312. security:
  22313. - ApiKeyAuth: []
  22314. summary: 查询合同(采购/销售)
  22315. tags:
  22316. - 企业风险管理v3(app)
  22317. /Ermcp3/QuerySpotGoodsPrice:
  22318. get:
  22319. parameters:
  22320. - description: 用户ID
  22321. in: query
  22322. name: userid
  22323. required: true
  22324. type: integer
  22325. produces:
  22326. - application/json
  22327. responses:
  22328. "200":
  22329. description: OK
  22330. schema:
  22331. items:
  22332. $ref: '#/definitions/models.Ermcp3SpotGoodsPrice'
  22333. type: array
  22334. "500":
  22335. description: Internal Server Error
  22336. schema:
  22337. $ref: '#/definitions/app.Response'
  22338. security:
  22339. - ApiKeyAuth: []
  22340. summary: 查询现货市价(现货市价)
  22341. tags:
  22342. - 企业风险管理v3(app)
  22343. /Ermcp3/QuerySpotGoodsPriceLog:
  22344. get:
  22345. parameters:
  22346. - description: 用户ID
  22347. in: query
  22348. name: userid
  22349. required: true
  22350. type: integer
  22351. - description: 现货商品ID
  22352. in: query
  22353. name: deliverygoodsid
  22354. required: true
  22355. type: integer
  22356. - description: 品牌ID
  22357. in: query
  22358. name: brandid
  22359. type: integer
  22360. - description: 品类ID
  22361. in: query
  22362. name: wrstandardid
  22363. type: integer
  22364. produces:
  22365. - application/json
  22366. responses:
  22367. "200":
  22368. description: OK
  22369. schema:
  22370. items:
  22371. $ref: '#/definitions/models.Ermcp3SpotGoodsPriceLog'
  22372. type: array
  22373. "500":
  22374. description: Internal Server Error
  22375. schema:
  22376. $ref: '#/definitions/app.Response'
  22377. security:
  22378. - ApiKeyAuth: []
  22379. summary: 查询现货市价详情(现货市价/详情)
  22380. tags:
  22381. - 企业风险管理v3(app)
  22382. /Ermcp3/QuerySubTaaccount:
  22383. get:
  22384. description: 页面 app 现货->期现关联->外部成交单关联->点"关联"按钮->选择期货子账户
  22385. parameters:
  22386. - description: 母账号id
  22387. in: query
  22388. name: parentaccountid
  22389. type: integer
  22390. - description: 母账号代码
  22391. in: query
  22392. name: parentaccountcode
  22393. type: string
  22394. produces:
  22395. - application/json
  22396. responses:
  22397. "200":
  22398. description: OK
  22399. schema:
  22400. items:
  22401. $ref: '#/definitions/models.Ermcp3SubTaaccount'
  22402. type: array
  22403. "500":
  22404. description: Internal Server Error
  22405. schema:
  22406. $ref: '#/definitions/app.Response'
  22407. security:
  22408. - ApiKeyAuth: []
  22409. summary: 查询期货子账户
  22410. tags:
  22411. - 企业风险管理v3(app)
  22412. /Ermcp8/QueryERMCP2HedgedItemSpotDetail:
  22413. get:
  22414. parameters:
  22415. - description: 套期项目ID
  22416. in: query
  22417. name: hedgeditemid
  22418. required: true
  22419. type: integer
  22420. produces:
  22421. - application/json
  22422. responses:
  22423. "200":
  22424. description: OK
  22425. schema:
  22426. items:
  22427. $ref: '#/definitions/models.Ermcp2hedgeditemspotDetail'
  22428. type: array
  22429. "500":
  22430. description: Internal Server Error
  22431. schema:
  22432. $ref: '#/definitions/app.Response'
  22433. security:
  22434. - ApiKeyAuth: []
  22435. summary: 现货成交明细查询
  22436. tags:
  22437. - 企业风险管理v8
  22438. /Ermcp8/QueryERMCP2HedgedItemspot:
  22439. get:
  22440. parameters:
  22441. - description: 套期项目ID
  22442. in: query
  22443. name: hedgeditemid
  22444. required: true
  22445. type: integer
  22446. produces:
  22447. - application/json
  22448. responses:
  22449. "200":
  22450. description: OK
  22451. schema:
  22452. items:
  22453. $ref: '#/definitions/models.Ermcp2hedgeditemspot'
  22454. type: array
  22455. "500":
  22456. description: Internal Server Error
  22457. schema:
  22458. $ref: '#/definitions/app.Response'
  22459. security:
  22460. - ApiKeyAuth: []
  22461. summary: 套期计划明细查询
  22462. tags:
  22463. - 企业风险管理v8
  22464. /Ermcp8/QueryERMCPJRLinkPos:
  22465. get:
  22466. parameters:
  22467. - description: 套期项目ID
  22468. in: query
  22469. name: hedgeditemid
  22470. required: true
  22471. type: integer
  22472. produces:
  22473. - application/json
  22474. responses:
  22475. "200":
  22476. description: OK
  22477. schema:
  22478. items:
  22479. $ref: '#/definitions/models.Ermcpjrlinkpos'
  22480. type: array
  22481. "500":
  22482. description: Internal Server Error
  22483. schema:
  22484. $ref: '#/definitions/app.Response'
  22485. security:
  22486. - ApiKeyAuth: []
  22487. summary: 期货持仓明细查询
  22488. tags:
  22489. - 企业风险管理v8
  22490. /Ermcp8/QueryERMCPPatradeLinkDetail:
  22491. get:
  22492. parameters:
  22493. - description: 套期项目ID
  22494. in: query
  22495. name: hedgeditemid
  22496. required: true
  22497. type: integer
  22498. produces:
  22499. - application/json
  22500. responses:
  22501. "200":
  22502. description: OK
  22503. schema:
  22504. items:
  22505. $ref: '#/definitions/models.Ermcppatradelinkdetail'
  22506. type: array
  22507. "500":
  22508. description: Internal Server Error
  22509. schema:
  22510. $ref: '#/definitions/app.Response'
  22511. security:
  22512. - ApiKeyAuth: []
  22513. summary: 期货成交单明细查询
  22514. tags:
  22515. - 企业风险管理v8
  22516. /Ermcp8/QueryErmcp2AreaExposure:
  22517. get:
  22518. parameters:
  22519. - description: 用户ID
  22520. in: query
  22521. name: userid
  22522. required: true
  22523. type: string
  22524. produces:
  22525. - application/json
  22526. responses:
  22527. "200":
  22528. description: OK
  22529. schema:
  22530. items:
  22531. $ref: '#/definitions/models.Ermcp2AreaExposure'
  22532. type: array
  22533. "500":
  22534. description: Internal Server Error
  22535. schema:
  22536. $ref: '#/definitions/app.Response'
  22537. security:
  22538. - ApiKeyAuth: []
  22539. summary: 企业敞口查询
  22540. tags:
  22541. - 企业风险管理v8
  22542. /Ermcp8/QueryErmcp2HedgedItem:
  22543. get:
  22544. description: 已完成项目查询 -> 项目状态 = 3:正常完结 or 5:异常完结
  22545. parameters:
  22546. - description: 用户ID
  22547. in: query
  22548. name: userid
  22549. required: true
  22550. type: string
  22551. - description: 套期类型 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  22552. in: query
  22553. name: hedgedtype
  22554. type: integer
  22555. - description: 项目状态 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  22556. in: query
  22557. name: hedgeditemstatus
  22558. type: integer
  22559. produces:
  22560. - application/json
  22561. responses:
  22562. "200":
  22563. description: OK
  22564. schema:
  22565. items:
  22566. $ref: '#/definitions/models.Ermcp2hedgeditem'
  22567. type: array
  22568. "500":
  22569. description: Internal Server Error
  22570. schema:
  22571. $ref: '#/definitions/app.Response'
  22572. security:
  22573. - ApiKeyAuth: []
  22574. summary: 查询被套期项目信息
  22575. tags:
  22576. - 企业风险管理v8
  22577. /Ermcp8/QueryErmcp2HedgedItemLink:
  22578. get:
  22579. parameters:
  22580. - description: 现货合同ID
  22581. in: query
  22582. name: spotcontractid
  22583. required: true
  22584. type: integer
  22585. produces:
  22586. - application/json
  22587. responses:
  22588. "200":
  22589. description: OK
  22590. schema:
  22591. items:
  22592. $ref: '#/definitions/models.Ermcp2hedgeditemlink'
  22593. type: array
  22594. "500":
  22595. description: Internal Server Error
  22596. schema:
  22597. $ref: '#/definitions/app.Response'
  22598. security:
  22599. - ApiKeyAuth: []
  22600. summary: 现货合同关联被套期项目查询
  22601. tags:
  22602. - 企业风险管理v8
  22603. /Ermcp8/QueryErmcp2HedgedItemsDetail:
  22604. get:
  22605. parameters:
  22606. - description: 用户ID
  22607. in: query
  22608. name: userid
  22609. required: true
  22610. type: integer
  22611. - description: 套保品种ID
  22612. in: query
  22613. name: middlegoodsid
  22614. required: true
  22615. type: integer
  22616. produces:
  22617. - application/json
  22618. responses:
  22619. "200":
  22620. description: OK
  22621. schema:
  22622. items:
  22623. $ref: '#/definitions/models.Ermcp2hedgeditemsDetail'
  22624. type: array
  22625. "500":
  22626. description: Internal Server Error
  22627. schema:
  22628. $ref: '#/definitions/app.Response'
  22629. security:
  22630. - ApiKeyAuth: []
  22631. summary: 敞口明细 - 计划变动明细
  22632. tags:
  22633. - 企业风险管理v8
  22634. /Ermcp8/QueryErmcp2StockSpotChangeLog:
  22635. get:
  22636. parameters:
  22637. - description: 用户ID
  22638. in: query
  22639. name: userid
  22640. required: true
  22641. type: integer
  22642. - description: 套保品种ID
  22643. in: query
  22644. name: middlegoodsid
  22645. required: true
  22646. type: integer
  22647. produces:
  22648. - application/json
  22649. responses:
  22650. "200":
  22651. description: OK
  22652. schema:
  22653. items:
  22654. $ref: '#/definitions/models.Ermcp2stockspotchangelog'
  22655. type: array
  22656. "500":
  22657. description: Internal Server Error
  22658. schema:
  22659. $ref: '#/definitions/app.Response'
  22660. security:
  22661. - ApiKeyAuth: []
  22662. summary: 敞口明细 - 现货变动明细查询
  22663. tags:
  22664. - 企业风险管理v8
  22665. /Ermcp8/QueryErmcp8EnableHedgeditem:
  22666. get:
  22667. parameters:
  22668. - description: 用户ID
  22669. in: query
  22670. name: userid
  22671. required: true
  22672. type: integer
  22673. - description: 现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  22674. in: query
  22675. name: spottype
  22676. required: true
  22677. type: integer
  22678. - description: 现货商品ID
  22679. in: query
  22680. name: wrstandardid
  22681. type: integer
  22682. produces:
  22683. - application/json
  22684. responses:
  22685. "200":
  22686. description: OK
  22687. schema:
  22688. items:
  22689. $ref: '#/definitions/models.Ermcp8EnableHedgeditem'
  22690. type: array
  22691. "500":
  22692. description: Internal Server Error
  22693. schema:
  22694. $ref: '#/definitions/app.Response'
  22695. security:
  22696. - ApiKeyAuth: []
  22697. summary: 可关联项目查询
  22698. tags:
  22699. - 企业风险管理v8
  22700. /Ermcp8/QueryErmcp8HedgeditemReport:
  22701. get:
  22702. parameters:
  22703. - description: 用户ID
  22704. in: query
  22705. name: userid
  22706. required: true
  22707. type: integer
  22708. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  22709. in: query
  22710. name: cycletype
  22711. type: integer
  22712. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  22713. 全(0)【原值】
  22714. in: query
  22715. name: cycletime
  22716. required: true
  22717. type: string
  22718. - description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  22719. in: query
  22720. name: hedgedtype
  22721. type: integer
  22722. - description: 项目状态 - 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  22723. in: query
  22724. name: hedgeditemstatus
  22725. type: integer
  22726. - description: 项目编号,模糊查询
  22727. in: query
  22728. name: hedgeditemnum
  22729. type: string
  22730. - description: 现货商品ID
  22731. in: query
  22732. name: wrstandardid
  22733. type: integer
  22734. produces:
  22735. - application/json
  22736. responses:
  22737. "200":
  22738. description: OK
  22739. schema:
  22740. items:
  22741. $ref: '#/definitions/models.Ermcp8HedgeditemReport'
  22742. type: array
  22743. "500":
  22744. description: Internal Server Error
  22745. schema:
  22746. $ref: '#/definitions/app.Response'
  22747. security:
  22748. - ApiKeyAuth: []
  22749. summary: 套期项目报表查询
  22750. tags:
  22751. - 企业风险管理v8
  22752. /Ermcp8/QueryErmcp8RunningHedgeditem:
  22753. get:
  22754. parameters:
  22755. - description: 用户ID
  22756. in: query
  22757. name: userid
  22758. required: true
  22759. type: string
  22760. produces:
  22761. - application/json
  22762. responses:
  22763. "200":
  22764. description: OK
  22765. schema:
  22766. items:
  22767. $ref: '#/definitions/models.Ermcp8RunningHedgeditem'
  22768. type: array
  22769. "500":
  22770. description: Internal Server Error
  22771. schema:
  22772. $ref: '#/definitions/app.Response'
  22773. security:
  22774. - ApiKeyAuth: []
  22775. summary: 查询执行中项目查询信息
  22776. tags:
  22777. - 企业风险管理v8
  22778. /Ermcp8/QueryInternalEnableTradeDetail:
  22779. get:
  22780. parameters:
  22781. - description: 企业ID
  22782. in: query
  22783. name: areauserid
  22784. required: true
  22785. type: integer
  22786. - description: 期货合约ID
  22787. in: query
  22788. name: goodsid
  22789. required: true
  22790. type: integer
  22791. - description: 交易用户ID
  22792. in: query
  22793. name: tradeuserid
  22794. required: true
  22795. type: integer
  22796. produces:
  22797. - application/json
  22798. responses:
  22799. "200":
  22800. description: OK
  22801. schema:
  22802. items:
  22803. $ref: '#/definitions/models.InternalEnableTradeDetail'
  22804. type: array
  22805. "500":
  22806. description: Internal Server Error
  22807. schema:
  22808. $ref: '#/definitions/app.Response'
  22809. security:
  22810. - ApiKeyAuth: []
  22811. summary: 内部成交单可关联项目查询
  22812. tags:
  22813. - 企业风险管理v8
  22814. /Ermcp8/QueryInternalUncorrelatedTradeDetail:
  22815. get:
  22816. parameters:
  22817. - description: 用户编号
  22818. in: query
  22819. name: userid
  22820. required: true
  22821. type: integer
  22822. - description: 起始日期(格式yyyymmdd)
  22823. in: query
  22824. name: begindate
  22825. type: string
  22826. - description: 终止日期(格式yyyymmdd)
  22827. in: query
  22828. name: enddate
  22829. type: string
  22830. - description: 合约代码
  22831. in: query
  22832. name: goodscode
  22833. type: string
  22834. - description: 合约名称
  22835. in: query
  22836. name: goodsname
  22837. type: string
  22838. - description: 成交单号
  22839. in: query
  22840. name: tradeid
  22841. type: integer
  22842. - description: 方向 - 0:买 1:卖
  22843. in: query
  22844. name: buyorsell
  22845. type: integer
  22846. - description: 套期主体
  22847. in: query
  22848. name: accountname
  22849. type: string
  22850. produces:
  22851. - application/json
  22852. responses:
  22853. "200":
  22854. description: OK
  22855. schema:
  22856. items:
  22857. $ref: '#/definitions/models.InternalUncorrelatedTradeDetail'
  22858. type: array
  22859. "500":
  22860. description: Internal Server Error
  22861. schema:
  22862. $ref: '#/definitions/app.Response'
  22863. security:
  22864. - ApiKeyAuth: []
  22865. summary: 内部未关联成交单查询
  22866. tags:
  22867. - 企业风险管理v8
  22868. /Ermcp8/QueryMarketCalendar:
  22869. get:
  22870. parameters:
  22871. - description: 市场ID
  22872. in: query
  22873. name: marketid
  22874. type: integer
  22875. produces:
  22876. - application/json
  22877. responses:
  22878. "200":
  22879. description: OK
  22880. schema:
  22881. items:
  22882. $ref: '#/definitions/models.Marketcalendar'
  22883. type: array
  22884. "500":
  22885. description: Internal Server Error
  22886. schema:
  22887. $ref: '#/definitions/app.Response'
  22888. security:
  22889. - ApiKeyAuth: []
  22890. summary: 市场节假日查询
  22891. tags:
  22892. - 企业风险管理v8
  22893. /Ermcp8/QueryPatradeLinkDetail:
  22894. get:
  22895. parameters:
  22896. - description: 用户ID
  22897. in: query
  22898. name: userid
  22899. required: true
  22900. type: integer
  22901. - description: 套保品种ID
  22902. in: query
  22903. name: middlegoodsid
  22904. required: true
  22905. type: integer
  22906. produces:
  22907. - application/json
  22908. responses:
  22909. "200":
  22910. description: OK
  22911. schema:
  22912. items:
  22913. $ref: '#/definitions/models.Patradelinkdetail'
  22914. type: array
  22915. "500":
  22916. description: Internal Server Error
  22917. schema:
  22918. $ref: '#/definitions/app.Response'
  22919. security:
  22920. - ApiKeyAuth: []
  22921. summary: 敞口明细 - 期货变动明细
  22922. tags:
  22923. - 企业风险管理v8
  22924. /Ermcp8/QueryUnLinkErmcpHedgePlan:
  22925. get:
  22926. parameters:
  22927. - description: 企业ID
  22928. in: query
  22929. name: areauserid
  22930. required: true
  22931. type: integer
  22932. - description: 计划类型 - 1:采购 -1:销售
  22933. in: query
  22934. name: contracttype
  22935. type: integer
  22936. - description: 计划编号,模糊查询
  22937. in: query
  22938. name: hedgeplanno
  22939. type: string
  22940. - description: 现货商品,模糊查询
  22941. in: query
  22942. name: wrstandardname
  22943. type: string
  22944. produces:
  22945. - application/json
  22946. responses:
  22947. "200":
  22948. description: OK
  22949. schema:
  22950. items:
  22951. $ref: '#/definitions/models.Unlinkermcphedgeplan'
  22952. type: array
  22953. "500":
  22954. description: Internal Server Error
  22955. schema:
  22956. $ref: '#/definitions/app.Response'
  22957. security:
  22958. - ApiKeyAuth: []
  22959. summary: 未关联购销计划
  22960. tags:
  22961. - 企业风险管理v8
  22962. /Ermcp8/QueryUnLinkSpotContract:
  22963. get:
  22964. parameters:
  22965. - description: 用户ID
  22966. in: query
  22967. name: userid
  22968. required: true
  22969. type: integer
  22970. - description: 定价类型 - 1:一口价 2:点价 3:暂定价
  22971. in: query
  22972. name: pricetype
  22973. type: integer
  22974. - description: 合同编号, 模拟查询
  22975. in: query
  22976. name: contractno
  22977. type: string
  22978. - description: 对手方, 模拟查询
  22979. in: query
  22980. name: customername
  22981. type: string
  22982. - description: 项合同类型 - 1:采购 -1:销售
  22983. in: query
  22984. name: contracttype
  22985. type: integer
  22986. produces:
  22987. - application/json
  22988. responses:
  22989. "200":
  22990. description: OK
  22991. schema:
  22992. items:
  22993. $ref: '#/definitions/models.ErmcpSpotContractModelEx'
  22994. type: array
  22995. "500":
  22996. description: Internal Server Error
  22997. schema:
  22998. $ref: '#/definitions/app.Response'
  22999. security:
  23000. - ApiKeyAuth: []
  23001. summary: 未关联合同查询
  23002. tags:
  23003. - 企业风险管理v8
  23004. /Erms2/QueryArbitrageStrategy:
  23005. get:
  23006. parameters:
  23007. - description: 账户ID
  23008. in: query
  23009. name: userid
  23010. required: true
  23011. type: integer
  23012. - description: 商品组ID(品种ID)
  23013. in: query
  23014. name: goodsgroupid
  23015. type: string
  23016. produces:
  23017. - application/json
  23018. responses:
  23019. "200":
  23020. description: OK
  23021. schema:
  23022. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  23023. "500":
  23024. description: Internal Server Error
  23025. schema:
  23026. $ref: '#/definitions/app.Response'
  23027. security:
  23028. - ApiKeyAuth: []
  23029. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  23030. tags:
  23031. - 风险管理
  23032. /Erms2/QueryInnerTradeDetail:
  23033. get:
  23034. parameters:
  23035. - description: 资金账户
  23036. in: query
  23037. name: accountid
  23038. required: true
  23039. type: integer
  23040. produces:
  23041. - application/json
  23042. responses:
  23043. "200":
  23044. description: OK
  23045. schema:
  23046. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  23047. "500":
  23048. description: Internal Server Error
  23049. schema:
  23050. $ref: '#/definitions/app.Response'
  23051. security:
  23052. - ApiKeyAuth: []
  23053. summary: 查询内部成交单信息
  23054. tags:
  23055. - 风险管理
  23056. /Erms2/QuerySpotContract:
  23057. get:
  23058. parameters:
  23059. - description: 策略申请ID
  23060. in: query
  23061. name: asapplyid
  23062. required: true
  23063. type: integer
  23064. - description: 现货合同ID
  23065. in: query
  23066. name: spotcontractid
  23067. type: integer
  23068. produces:
  23069. - application/json
  23070. responses:
  23071. "200":
  23072. description: OK
  23073. schema:
  23074. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  23075. "500":
  23076. description: Internal Server Error
  23077. schema:
  23078. $ref: '#/definitions/app.Response'
  23079. security:
  23080. - ApiKeyAuth: []
  23081. summary: 查询现货合同表信息(指定策略ID、未结束的)
  23082. tags:
  23083. - 风险管理
  23084. /Erms3/AddErms2ASApply:
  23085. post:
  23086. parameters:
  23087. - description: 申请参数
  23088. in: body
  23089. name: jsonBody
  23090. required: true
  23091. schema:
  23092. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  23093. produces:
  23094. - application/json
  23095. responses:
  23096. "200":
  23097. description: OK
  23098. schema:
  23099. $ref: '#/definitions/app.Response'
  23100. "500":
  23101. description: Internal Server Error
  23102. schema:
  23103. $ref: '#/definitions/app.Response'
  23104. security:
  23105. - ApiKeyAuth: []
  23106. summary: 新增期现套利业务申请
  23107. tags:
  23108. - 风险管理v3
  23109. /Erms3/AddErms2SpotTradeApply:
  23110. post:
  23111. parameters:
  23112. - description: 申请参数
  23113. in: body
  23114. name: jsonBody
  23115. required: true
  23116. schema:
  23117. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  23118. produces:
  23119. - application/json
  23120. responses:
  23121. "200":
  23122. description: OK
  23123. schema:
  23124. $ref: '#/definitions/app.Response'
  23125. "500":
  23126. description: Internal Server Error
  23127. schema:
  23128. $ref: '#/definitions/app.Response'
  23129. security:
  23130. - ApiKeyAuth: []
  23131. summary: 新增现货贸易业务申请
  23132. tags:
  23133. - 风险管理v3
  23134. /Erms3/AddSpotContractApply:
  23135. post:
  23136. parameters:
  23137. - description: 申请参数
  23138. in: body
  23139. name: jsonBody
  23140. required: true
  23141. schema:
  23142. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  23143. produces:
  23144. - application/json
  23145. responses:
  23146. "200":
  23147. description: OK
  23148. schema:
  23149. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  23150. "500":
  23151. description: Internal Server Error
  23152. schema:
  23153. $ref: '#/definitions/app.Response'
  23154. security:
  23155. - ApiKeyAuth: []
  23156. summary: 新增现货合同申请
  23157. tags:
  23158. - 风险管理v3
  23159. /Erms3/AddUserInfoApply:
  23160. post:
  23161. parameters:
  23162. - description: 用户信息
  23163. in: body
  23164. name: jsonBody
  23165. required: true
  23166. schema:
  23167. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  23168. produces:
  23169. - application/json
  23170. responses:
  23171. "200":
  23172. description: OK
  23173. schema:
  23174. $ref: '#/definitions/app.Response'
  23175. "500":
  23176. description: Internal Server Error
  23177. schema:
  23178. $ref: '#/definitions/app.Response'
  23179. security:
  23180. - ApiKeyAuth: []
  23181. summary: 新增客户申请
  23182. tags:
  23183. - 风险管理v3
  23184. /Erms3/DeleteUserInfoApply:
  23185. get:
  23186. description: 只可删除 UserState = 1 (未提交)状态的申请信息
  23187. parameters:
  23188. - description: 用户ID
  23189. in: query
  23190. name: userID
  23191. required: true
  23192. type: integer
  23193. produces:
  23194. - application/json
  23195. responses:
  23196. "200":
  23197. description: OK
  23198. schema:
  23199. $ref: '#/definitions/app.Response'
  23200. "500":
  23201. description: Internal Server Error
  23202. schema:
  23203. $ref: '#/definitions/app.Response'
  23204. security:
  23205. - ApiKeyAuth: []
  23206. summary: 删除客户申请
  23207. tags:
  23208. - 风险管理v3
  23209. /Erms3/ModifyUserInfoApply:
  23210. post:
  23211. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid":
  23212. int, "userstate": 2 }'
  23213. parameters:
  23214. - description: 用户信息
  23215. in: body
  23216. name: jsonBody
  23217. required: true
  23218. schema:
  23219. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  23220. produces:
  23221. - application/json
  23222. responses:
  23223. "200":
  23224. description: OK
  23225. schema:
  23226. $ref: '#/definitions/app.Response'
  23227. "500":
  23228. description: Internal Server Error
  23229. schema:
  23230. $ref: '#/definitions/app.Response'
  23231. security:
  23232. - ApiKeyAuth: []
  23233. summary: 修改客户申请
  23234. tags:
  23235. - 风险管理v3
  23236. /Erms3/QueryBusinessInfo:
  23237. get:
  23238. parameters:
  23239. - description: 资金账号ID列表,用逗号分隔
  23240. in: query
  23241. name: accountids
  23242. required: true
  23243. type: string
  23244. - description: 状态,0为未结束 1为已结束
  23245. in: query
  23246. name: status
  23247. required: true
  23248. type: integer
  23249. produces:
  23250. - application/json
  23251. responses:
  23252. "200":
  23253. description: OK
  23254. schema:
  23255. items:
  23256. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  23257. type: array
  23258. "500":
  23259. description: Internal Server Error
  23260. schema:
  23261. $ref: '#/definitions/app.Response'
  23262. security:
  23263. - ApiKeyAuth: []
  23264. summary: 查询业务表单数据
  23265. tags:
  23266. - 风险管理v3
  23267. /Erms3/QueryPendingAuditContract:
  23268. get:
  23269. parameters:
  23270. - description: 资金账号ID列表,逗号隔开
  23271. in: query
  23272. name: accountids
  23273. required: true
  23274. type: string
  23275. - description: 合同类型 1-采购 -1-销售
  23276. in: query
  23277. name: contracttype
  23278. required: true
  23279. type: integer
  23280. - description: 合同模式 1-普通 2-回购
  23281. in: query
  23282. name: contractmode
  23283. required: true
  23284. type: integer
  23285. produces:
  23286. - application/json
  23287. responses:
  23288. "200":
  23289. description: OK
  23290. schema:
  23291. items:
  23292. $ref: '#/definitions/erms3.QryAuditContractRsp'
  23293. type: array
  23294. "500":
  23295. description: Internal Server Error
  23296. schema:
  23297. $ref: '#/definitions/app.Response'
  23298. security:
  23299. - ApiKeyAuth: []
  23300. summary: 查询待审核合同
  23301. tags:
  23302. - 风险管理v3
  23303. /Erms3/QueryPendingBusiness:
  23304. get:
  23305. parameters:
  23306. - description: 资金账号ID列表,逗号隔开
  23307. in: query
  23308. name: accountids
  23309. required: true
  23310. type: string
  23311. produces:
  23312. - application/json
  23313. responses:
  23314. "200":
  23315. description: OK
  23316. schema:
  23317. items:
  23318. $ref: '#/definitions/erms3.QryPendingBizRsp'
  23319. type: array
  23320. "500":
  23321. description: Internal Server Error
  23322. schema:
  23323. $ref: '#/definitions/app.Response'
  23324. security:
  23325. - ApiKeyAuth: []
  23326. summary: 查询待审核基差贸易业务
  23327. tags:
  23328. - 风险管理v3
  23329. /Erms3/QuerySpotContractAppleForm:
  23330. get:
  23331. parameters:
  23332. - description: 登录账号
  23333. in: query
  23334. name: loginID
  23335. required: true
  23336. type: integer
  23337. produces:
  23338. - application/json
  23339. responses:
  23340. "200":
  23341. description: OK
  23342. schema:
  23343. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  23344. "500":
  23345. description: Internal Server Error
  23346. schema:
  23347. $ref: '#/definitions/app.Response'
  23348. security:
  23349. - ApiKeyAuth: []
  23350. summary: 查询合同申请表单数据
  23351. tags:
  23352. - 风险管理v3
  23353. /Erms3/QuerySpotContractDetail:
  23354. get:
  23355. parameters:
  23356. - description: 资金账号ID列表,用逗号分隔
  23357. in: query
  23358. name: accountids
  23359. required: true
  23360. type: string
  23361. - description: 合同类型,1为采购合同 -1为销售合同
  23362. in: query
  23363. name: contracttype
  23364. required: true
  23365. type: integer
  23366. - description: 合同模式,1为普通合同 2为回购销售合同
  23367. in: query
  23368. name: contractmode
  23369. required: true
  23370. type: integer
  23371. - description: 状态,0为履约中 1为已完成
  23372. in: query
  23373. name: status
  23374. required: true
  23375. type: integer
  23376. produces:
  23377. - application/json
  23378. responses:
  23379. "200":
  23380. description: OK
  23381. schema:
  23382. items:
  23383. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  23384. type: array
  23385. "500":
  23386. description: Internal Server Error
  23387. schema:
  23388. $ref: '#/definitions/app.Response'
  23389. security:
  23390. - ApiKeyAuth: []
  23391. summary: 查询合同详细信息
  23392. tags:
  23393. - 风险管理v3
  23394. /Erms3/QueryUserInfoApplies:
  23395. get:
  23396. parameters:
  23397. - description: 页码
  23398. in: query
  23399. name: page
  23400. type: integer
  23401. - description: 每页条数
  23402. in: query
  23403. name: pagesize
  23404. type: integer
  23405. - description: 客户名称,支持模糊查询
  23406. in: query
  23407. name: userName
  23408. type: string
  23409. produces:
  23410. - application/json
  23411. responses:
  23412. "200":
  23413. description: OK
  23414. schema:
  23415. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  23416. "500":
  23417. description: Internal Server Error
  23418. schema:
  23419. $ref: '#/definitions/app.Response'
  23420. security:
  23421. - ApiKeyAuth: []
  23422. summary: 客户申请信息查询
  23423. tags:
  23424. - 风险管理v3
  23425. /Erms3/QueryUserInfos:
  23426. get:
  23427. parameters:
  23428. - description: 页码
  23429. in: query
  23430. name: page
  23431. type: integer
  23432. - description: 每页条数
  23433. in: query
  23434. name: pagesize
  23435. type: integer
  23436. - description: 客户名称,支持模糊查询
  23437. in: query
  23438. name: userName
  23439. type: string
  23440. produces:
  23441. - application/json
  23442. responses:
  23443. "200":
  23444. description: OK
  23445. schema:
  23446. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  23447. "500":
  23448. description: Internal Server Error
  23449. schema:
  23450. $ref: '#/definitions/app.Response'
  23451. security:
  23452. - ApiKeyAuth: []
  23453. summary: 客户信息查询
  23454. tags:
  23455. - 风险管理v3
  23456. /Guangzuan/QueryBuyOrder:
  23457. get:
  23458. parameters:
  23459. - description: 页码
  23460. in: query
  23461. name: page
  23462. type: integer
  23463. - description: 每页条数
  23464. in: query
  23465. name: pagesize
  23466. type: integer
  23467. - description: 商品(查询字段-模糊查询)
  23468. in: query
  23469. name: zsallproperties
  23470. type: string
  23471. - description: 钻石分类枚举ID
  23472. in: query
  23473. name: zscategory
  23474. type: integer
  23475. - description: 委托单号
  23476. in: query
  23477. name: wrtradeorderid
  23478. type: integer
  23479. - description: 买方(查询字段-模糊查询)
  23480. in: query
  23481. name: buyusername
  23482. type: string
  23483. produces:
  23484. - application/json
  23485. responses:
  23486. "200":
  23487. description: OK
  23488. schema:
  23489. items:
  23490. $ref: '#/definitions/models.BuyOrder'
  23491. type: array
  23492. "500":
  23493. description: Internal Server Error
  23494. schema:
  23495. $ref: '#/definitions/app.Response'
  23496. security:
  23497. - ApiKeyAuth: []
  23498. - LoginID: []
  23499. - Group: []
  23500. summary: 查询求购大厅委托单
  23501. tags:
  23502. - 广钻
  23503. /Guangzuan/QueryDiamond:
  23504. post:
  23505. parameters:
  23506. - description: 钻石搜索入参
  23507. in: body
  23508. name: data
  23509. required: true
  23510. schema:
  23511. $ref: '#/definitions/models.SellOrderQueryReq'
  23512. produces:
  23513. - application/json
  23514. responses:
  23515. "200":
  23516. description: OK
  23517. schema:
  23518. items:
  23519. $ref: '#/definitions/models.SellOrder'
  23520. type: array
  23521. "500":
  23522. description: Internal Server Error
  23523. schema:
  23524. $ref: '#/definitions/app.Response'
  23525. security:
  23526. - ApiKeyAuth: []
  23527. - LoginID: []
  23528. - Group: []
  23529. summary: 钻石搜索
  23530. tags:
  23531. - 广钻
  23532. /Guangzuan/QueryMyBargainApply:
  23533. get:
  23534. parameters:
  23535. - description: 用户ID
  23536. in: query
  23537. name: userid
  23538. required: true
  23539. type: integer
  23540. - description: 页码
  23541. in: query
  23542. name: page
  23543. type: integer
  23544. - description: 每页条数
  23545. in: query
  23546. name: pagesize
  23547. type: integer
  23548. - description: 申请状态(不传查全部) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  23549. in: query
  23550. name: applystatus
  23551. type: integer
  23552. produces:
  23553. - application/json
  23554. responses:
  23555. "200":
  23556. description: OK
  23557. schema:
  23558. items:
  23559. $ref: '#/definitions/models.MyBargainApply'
  23560. type: array
  23561. "500":
  23562. description: Internal Server Error
  23563. schema:
  23564. $ref: '#/definitions/app.Response'
  23565. security:
  23566. - ApiKeyAuth: []
  23567. - LoginID: []
  23568. - Group: []
  23569. summary: 查询我的询价-求购
  23570. tags:
  23571. - 广钻
  23572. /Guangzuan/QueryMyBuyOrder:
  23573. get:
  23574. parameters:
  23575. - description: 用户ID
  23576. in: query
  23577. name: userid
  23578. required: true
  23579. type: integer
  23580. - description: 页码
  23581. in: query
  23582. name: page
  23583. type: integer
  23584. - description: 每页条数
  23585. in: query
  23586. name: pagesize
  23587. type: integer
  23588. - description: 商品(查询字段-模糊查询)
  23589. in: query
  23590. name: zsallproperties
  23591. type: string
  23592. - description: 钻石分类枚举ID
  23593. in: query
  23594. name: zscategory
  23595. type: integer
  23596. - description: 委托单号
  23597. in: query
  23598. name: wrtradeorderid
  23599. type: integer
  23600. - description: 是否历史查询
  23601. in: query
  23602. name: ishis
  23603. type: boolean
  23604. produces:
  23605. - application/json
  23606. responses:
  23607. "200":
  23608. description: OK
  23609. schema:
  23610. items:
  23611. $ref: '#/definitions/models.MyBuyOrder'
  23612. type: array
  23613. "500":
  23614. description: Internal Server Error
  23615. schema:
  23616. $ref: '#/definitions/app.Response'
  23617. security:
  23618. - ApiKeyAuth: []
  23619. - LoginID: []
  23620. - Group: []
  23621. summary: 查询我的求购
  23622. tags:
  23623. - 广钻
  23624. /Guangzuan/QueryMyDeListing:
  23625. get:
  23626. parameters:
  23627. - description: 用户ID
  23628. in: query
  23629. name: userid
  23630. required: true
  23631. type: integer
  23632. - description: 页码
  23633. in: query
  23634. name: page
  23635. type: integer
  23636. - description: 每页条数
  23637. in: query
  23638. name: pagesize
  23639. type: integer
  23640. - description: 商品(查询字段-模糊查询)
  23641. in: query
  23642. name: zsallproperties
  23643. type: string
  23644. - description: 钻石分类枚举ID
  23645. in: query
  23646. name: zscategory
  23647. type: integer
  23648. - description: 成交单号
  23649. in: query
  23650. name: wrtradedetailid
  23651. type: integer
  23652. - description: 方向,0-全部(可不传) 1-购买 2-出售
  23653. in: query
  23654. name: buyorsell
  23655. type: integer
  23656. - description: 开始交易日(yyyymmdd)
  23657. in: query
  23658. name: begindate
  23659. type: string
  23660. - description: 结束交易日(yyyymmdd)
  23661. in: query
  23662. name: enddate
  23663. type: string
  23664. produces:
  23665. - application/json
  23666. responses:
  23667. "200":
  23668. description: OK
  23669. schema:
  23670. items:
  23671. $ref: '#/definitions/models.MyDeListing'
  23672. type: array
  23673. "500":
  23674. description: Internal Server Error
  23675. schema:
  23676. $ref: '#/definitions/app.Response'
  23677. security:
  23678. - ApiKeyAuth: []
  23679. - LoginID: []
  23680. - Group: []
  23681. summary: 查询我的摘牌
  23682. tags:
  23683. - 广钻
  23684. /Guangzuan/QueryMyDelistingApply:
  23685. get:
  23686. parameters:
  23687. - description: 用户ID
  23688. in: query
  23689. name: userid
  23690. required: true
  23691. type: integer
  23692. - description: 页码
  23693. in: query
  23694. name: page
  23695. type: integer
  23696. - description: 每页条数
  23697. in: query
  23698. name: pagesize
  23699. type: integer
  23700. - description: 申请状态(不传查全部) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  23701. in: query
  23702. name: applystatus
  23703. type: integer
  23704. produces:
  23705. - application/json
  23706. responses:
  23707. "200":
  23708. description: OK
  23709. schema:
  23710. items:
  23711. $ref: '#/definitions/models.MyDelistingApply'
  23712. type: array
  23713. "500":
  23714. description: Internal Server Error
  23715. schema:
  23716. $ref: '#/definitions/app.Response'
  23717. security:
  23718. - ApiKeyAuth: []
  23719. - LoginID: []
  23720. - Group: []
  23721. summary: 查询我的询价-出售
  23722. tags:
  23723. - 广钻
  23724. /Guangzuan/QueryMySellOrder:
  23725. get:
  23726. parameters:
  23727. - description: 用户ID
  23728. in: query
  23729. name: userid
  23730. required: true
  23731. type: integer
  23732. - description: 页码
  23733. in: query
  23734. name: page
  23735. type: integer
  23736. - description: 每页条数
  23737. in: query
  23738. name: pagesize
  23739. type: integer
  23740. - description: 商品(查询字段-模糊查询)
  23741. in: query
  23742. name: zsallproperties
  23743. type: string
  23744. - description: 钻石分类枚举ID
  23745. in: query
  23746. name: zscategory
  23747. type: integer
  23748. - description: 委托单号
  23749. in: query
  23750. name: wrtradeorderid
  23751. type: integer
  23752. - description: 是否历史查询
  23753. in: query
  23754. name: ishis
  23755. type: boolean
  23756. produces:
  23757. - application/json
  23758. responses:
  23759. "200":
  23760. description: OK
  23761. schema:
  23762. items:
  23763. $ref: '#/definitions/models.MySellOrder'
  23764. type: array
  23765. "500":
  23766. description: Internal Server Error
  23767. schema:
  23768. $ref: '#/definitions/app.Response'
  23769. security:
  23770. - ApiKeyAuth: []
  23771. - LoginID: []
  23772. - Group: []
  23773. summary: 查询我的出售
  23774. tags:
  23775. - 广钻
  23776. /Guangzuan/QueryMyWRPosition:
  23777. get:
  23778. parameters:
  23779. - description: 页码
  23780. in: query
  23781. name: page
  23782. type: integer
  23783. - description: 每页条数
  23784. in: query
  23785. name: pagesize
  23786. type: integer
  23787. - description: 登录用户ID
  23788. in: query
  23789. name: wruserid
  23790. required: true
  23791. type: integer
  23792. - description: 商品(查询字段-模糊查询)
  23793. in: query
  23794. name: zsallproperties
  23795. type: string
  23796. - description: 钻石分类枚举ID
  23797. in: query
  23798. name: zscategory
  23799. type: integer
  23800. - description: 仓库ID
  23801. in: query
  23802. name: warehouseid
  23803. type: integer
  23804. produces:
  23805. - application/json
  23806. responses:
  23807. "200":
  23808. description: OK
  23809. schema:
  23810. items:
  23811. $ref: '#/definitions/models.MyWRPosition'
  23812. type: array
  23813. "500":
  23814. description: Internal Server Error
  23815. schema:
  23816. $ref: '#/definitions/app.Response'
  23817. security:
  23818. - ApiKeyAuth: []
  23819. - LoginID: []
  23820. - Group: []
  23821. summary: 查询我的库存
  23822. tags:
  23823. - 广钻
  23824. /Guangzuan/QuerySellOrder:
  23825. get:
  23826. parameters:
  23827. - description: 页码
  23828. in: query
  23829. name: page
  23830. type: integer
  23831. - description: 每页条数
  23832. in: query
  23833. name: pagesize
  23834. type: integer
  23835. - description: 商品(查询字段-模糊查询)
  23836. in: query
  23837. name: zsallproperties
  23838. type: string
  23839. - description: 钻石分类枚举ID
  23840. in: query
  23841. name: zscategory
  23842. type: integer
  23843. - description: 委托单号
  23844. in: query
  23845. name: wrtradeorderid
  23846. type: integer
  23847. - description: 卖方(查询字段-模糊查询)
  23848. in: query
  23849. name: buyusername
  23850. type: string
  23851. produces:
  23852. - application/json
  23853. responses:
  23854. "200":
  23855. description: OK
  23856. schema:
  23857. items:
  23858. $ref: '#/definitions/models.SellOrder'
  23859. type: array
  23860. "500":
  23861. description: Internal Server Error
  23862. schema:
  23863. $ref: '#/definitions/app.Response'
  23864. security:
  23865. - ApiKeyAuth: []
  23866. - LoginID: []
  23867. - Group: []
  23868. summary: 查询出售大厅委托单
  23869. tags:
  23870. - 广钻
  23871. /Guangzuan/QueryWarehouseInfo:
  23872. get:
  23873. parameters:
  23874. - description: 页码
  23875. in: query
  23876. name: page
  23877. type: integer
  23878. - description: 每页条数
  23879. in: query
  23880. name: pagesize
  23881. type: integer
  23882. - description: 用户ID
  23883. in: query
  23884. name: userid
  23885. required: true
  23886. type: integer
  23887. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  23888. in: query
  23889. name: status
  23890. type: string
  23891. - description: 是返回交易所仓库
  23892. in: query
  23893. name: isincludeexchange
  23894. type: boolean
  23895. produces:
  23896. - application/json
  23897. responses:
  23898. "200":
  23899. description: OK
  23900. schema:
  23901. items:
  23902. $ref: '#/definitions/models.GZWarehouseinfo'
  23903. type: array
  23904. "500":
  23905. description: Internal Server Error
  23906. schema:
  23907. $ref: '#/definitions/app.Response'
  23908. security:
  23909. - ApiKeyAuth: []
  23910. - LoginID: []
  23911. - Group: []
  23912. summary: 查询仓库信息
  23913. tags:
  23914. - 广钻
  23915. /Market/GetAllExExchanges:
  23916. get:
  23917. produces:
  23918. - application/json
  23919. responses:
  23920. "200":
  23921. description: OK
  23922. schema:
  23923. $ref: '#/definitions/models.Goods'
  23924. "500":
  23925. description: Internal Server Error
  23926. schema:
  23927. $ref: '#/definitions/app.Response'
  23928. security:
  23929. - ApiKeyAuth: []
  23930. summary: 获取所有外部交易所信息
  23931. tags:
  23932. - 通用市场
  23933. /Market/QueryGoodsesByLoginID:
  23934. get:
  23935. parameters:
  23936. - description: 登录账号
  23937. in: query
  23938. name: loginID
  23939. required: true
  23940. type: integer
  23941. - description: 市场ID列表,格式:1,2,3
  23942. in: query
  23943. name: marketIDs
  23944. type: string
  23945. produces:
  23946. - application/json
  23947. responses:
  23948. "200":
  23949. description: OK
  23950. schema:
  23951. $ref: '#/definitions/models.Goods'
  23952. "500":
  23953. description: Internal Server Error
  23954. schema:
  23955. $ref: '#/definitions/app.Response'
  23956. security:
  23957. - ApiKeyAuth: []
  23958. summary: 获取登录账号有权限的商品信息
  23959. tags:
  23960. - 通用市场
  23961. /Market/QueryMarketRun:
  23962. get:
  23963. parameters:
  23964. - description: 市场ID,不传返回所有
  23965. in: query
  23966. name: marketID
  23967. type: integer
  23968. produces:
  23969. - application/json
  23970. responses:
  23971. "200":
  23972. description: OK
  23973. schema:
  23974. $ref: '#/definitions/models.Marketrun'
  23975. "500":
  23976. description: Internal Server Error
  23977. schema:
  23978. $ref: '#/definitions/app.Response'
  23979. security:
  23980. - ApiKeyAuth: []
  23981. summary: 查询市场运行信息
  23982. tags:
  23983. - 通用市场
  23984. /Market/QueryMarketsByLoginID:
  23985. get:
  23986. parameters:
  23987. - description: 登录账号
  23988. in: query
  23989. name: loginID
  23990. required: true
  23991. type: integer
  23992. produces:
  23993. - application/json
  23994. responses:
  23995. "200":
  23996. description: OK
  23997. schema:
  23998. $ref: '#/definitions/models.Market'
  23999. "500":
  24000. description: Internal Server Error
  24001. schema:
  24002. $ref: '#/definitions/app.Response'
  24003. security:
  24004. - ApiKeyAuth: []
  24005. summary: 获取登录账号有权限的市场信息
  24006. tags:
  24007. - 通用市场
  24008. /Order/QueryHisTradeDetail:
  24009. get:
  24010. parameters:
  24011. - description: 资金账户 - 格式:1,2,3
  24012. in: query
  24013. name: accountID
  24014. required: true
  24015. type: string
  24016. - description: 成交单号
  24017. in: query
  24018. name: tradeID
  24019. type: integer
  24020. - description: 委托单号
  24021. in: query
  24022. name: orderID
  24023. type: integer
  24024. - description: 商品ID
  24025. in: query
  24026. name: goodsID
  24027. type: integer
  24028. - description: 交易模式 - 格式:1,2,3
  24029. in: query
  24030. name: tradeMode
  24031. type: string
  24032. - description: 委托单据类型
  24033. in: query
  24034. name: buildType
  24035. type: integer
  24036. - description: 成交类别 - 格式:1,2,3
  24037. in: query
  24038. name: tradeType
  24039. type: string
  24040. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  24041. in: query
  24042. name: startDate
  24043. type: string
  24044. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  24045. in: query
  24046. name: endDate
  24047. type: string
  24048. produces:
  24049. - application/json
  24050. responses:
  24051. "200":
  24052. description: OK
  24053. schema:
  24054. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  24055. "500":
  24056. description: Internal Server Error
  24057. schema:
  24058. $ref: '#/definitions/app.Response'
  24059. security:
  24060. - ApiKeyAuth: []
  24061. summary: 历史成交单查询(合约市场)
  24062. tags:
  24063. - 通用单据
  24064. /Order/QueryHisTradeOrderDetail:
  24065. get:
  24066. parameters:
  24067. - description: 资金账户 - 格式:1,2,3
  24068. in: query
  24069. name: accountID
  24070. required: true
  24071. type: string
  24072. - description: 交易模式 - 格式:1,2,3
  24073. in: query
  24074. name: tradeMode
  24075. type: string
  24076. - description: 委托状态 - 格式:1,2,3
  24077. in: query
  24078. name: orderStatus
  24079. type: string
  24080. - description: 委托单号
  24081. in: query
  24082. name: orderID
  24083. type: integer
  24084. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  24085. in: query
  24086. name: startDate
  24087. type: string
  24088. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  24089. in: query
  24090. name: endDate
  24091. type: string
  24092. produces:
  24093. - application/json
  24094. responses:
  24095. "200":
  24096. description: OK
  24097. schema:
  24098. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  24099. "500":
  24100. description: Internal Server Error
  24101. schema:
  24102. $ref: '#/definitions/app.Response'
  24103. security:
  24104. - ApiKeyAuth: []
  24105. summary: 历史委托单查询请求(合约市场)
  24106. tags:
  24107. - 通用单据
  24108. /Order/QueryTradeDetail:
  24109. get:
  24110. parameters:
  24111. - description: 资金账户 - 格式:1,2,3
  24112. in: query
  24113. name: accountID
  24114. required: true
  24115. type: string
  24116. - description: 成交单号
  24117. in: query
  24118. name: tradeID
  24119. type: integer
  24120. - description: 委托单号
  24121. in: query
  24122. name: orderID
  24123. type: integer
  24124. - description: 交易模式 - 格式:1,2,3
  24125. in: query
  24126. name: tradeMode
  24127. type: string
  24128. - description: 委托单据类型
  24129. in: query
  24130. name: buildType
  24131. type: integer
  24132. - description: 成交类别 - 格式:1,2,3
  24133. in: query
  24134. name: tradeType
  24135. type: string
  24136. - description: 商品ID
  24137. in: query
  24138. name: goodsID
  24139. type: integer
  24140. produces:
  24141. - application/json
  24142. responses:
  24143. "200":
  24144. description: OK
  24145. schema:
  24146. $ref: '#/definitions/order.QueryTradeDetailRsp'
  24147. "500":
  24148. description: Internal Server Error
  24149. schema:
  24150. $ref: '#/definitions/app.Response'
  24151. security:
  24152. - ApiKeyAuth: []
  24153. summary: 成交单查询(合约市场)
  24154. tags:
  24155. - 通用单据
  24156. /Order/QueryTradeHolderDetail:
  24157. get:
  24158. parameters:
  24159. - description: 用户id
  24160. in: query
  24161. name: userid
  24162. type: integer
  24163. - description: 资金账号, 格式 1,2,3
  24164. in: query
  24165. name: accids
  24166. type: string
  24167. - description: 交易模式, 格式 1,2,3
  24168. in: query
  24169. name: trademodes
  24170. type: string
  24171. - description: 市场id, 格式 1,2,3
  24172. in: query
  24173. name: marketids
  24174. type: string
  24175. - description: 商品id
  24176. in: query
  24177. name: goodsid
  24178. type: integer
  24179. - description: 买卖方向 0-买 1-卖
  24180. in: query
  24181. name: buyorsell
  24182. type: integer
  24183. produces:
  24184. - application/json
  24185. responses:
  24186. "200":
  24187. description: OK
  24188. schema:
  24189. items:
  24190. $ref: '#/definitions/models.TradeHolderDetail'
  24191. type: array
  24192. "500":
  24193. description: Internal Server Error
  24194. schema:
  24195. $ref: '#/definitions/app.Response'
  24196. security:
  24197. - ApiKeyAuth: []
  24198. summary: 查询持仓明细
  24199. tags:
  24200. - 通用单据
  24201. /Order/QueryTradeOrderDetail:
  24202. get:
  24203. parameters:
  24204. - description: 资金账户 - 格式:1,2,3
  24205. in: query
  24206. name: accountID
  24207. required: true
  24208. type: string
  24209. - description: 交易模式 - 格式:1,2,3
  24210. in: query
  24211. name: tradeMode
  24212. type: string
  24213. - description: 委托状态 - 格式:1,2,3
  24214. in: query
  24215. name: orderStatus
  24216. type: string
  24217. - description: 委托单号
  24218. in: query
  24219. name: orderID
  24220. type: integer
  24221. produces:
  24222. - application/json
  24223. responses:
  24224. "200":
  24225. description: OK
  24226. schema:
  24227. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  24228. "500":
  24229. description: Internal Server Error
  24230. schema:
  24231. $ref: '#/definitions/app.Response'
  24232. security:
  24233. - ApiKeyAuth: []
  24234. summary: 委托单查询请求(合约市场)
  24235. tags:
  24236. - 通用单据
  24237. /Order/QueryTradePosition:
  24238. get:
  24239. parameters:
  24240. - description: 资金账户 - 格式:1,2,3
  24241. in: query
  24242. name: accountID
  24243. required: true
  24244. type: string
  24245. - description: 交易模式 - 格式:1,2,3
  24246. in: query
  24247. name: tradeMode
  24248. type: string
  24249. produces:
  24250. - application/json
  24251. responses:
  24252. "200":
  24253. description: OK
  24254. schema:
  24255. $ref: '#/definitions/order.QueryTradePositionRsp'
  24256. "500":
  24257. description: Internal Server Error
  24258. schema:
  24259. $ref: '#/definitions/app.Response'
  24260. security:
  24261. - ApiKeyAuth: []
  24262. summary: 持仓汇总查询(合约市场)
  24263. tags:
  24264. - 通用单据
  24265. /Quote/QueryHistoryDatas:
  24266. get:
  24267. parameters:
  24268. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  24269. 日线 12:周线 13:月线 14:年线'
  24270. in: query
  24271. name: cycleType
  24272. required: true
  24273. type: integer
  24274. - description: 商品代码
  24275. in: query
  24276. name: goodsCode
  24277. required: true
  24278. type: string
  24279. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  24280. in: query
  24281. name: startTime
  24282. type: string
  24283. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  24284. in: query
  24285. name: endTime
  24286. type: string
  24287. - description: 条数
  24288. in: query
  24289. name: count
  24290. type: integer
  24291. - description: 是否按时间顺序排序(默认为时间倒序排序)
  24292. in: query
  24293. name: isAsc
  24294. type: boolean
  24295. produces:
  24296. - application/json
  24297. responses:
  24298. "200":
  24299. description: OK
  24300. schema:
  24301. $ref: '#/definitions/quote.HistoryData'
  24302. "500":
  24303. description: Internal Server Error
  24304. schema:
  24305. $ref: '#/definitions/app.Response'
  24306. security:
  24307. - ApiKeyAuth: []
  24308. summary: 查询行情历史数据
  24309. tags:
  24310. - 行情服务
  24311. /Quote/QueryHistoryTikDatas:
  24312. get:
  24313. parameters:
  24314. - description: 商品代码
  24315. in: query
  24316. name: goodsCode
  24317. required: true
  24318. type: string
  24319. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  24320. in: query
  24321. name: startTime
  24322. type: string
  24323. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  24324. in: query
  24325. name: endTime
  24326. type: string
  24327. - description: 条数
  24328. in: query
  24329. name: count
  24330. type: integer
  24331. - description: 是否按时间顺序排序(默认为时间倒序排序)
  24332. in: query
  24333. name: isAsc
  24334. type: boolean
  24335. produces:
  24336. - application/json
  24337. responses:
  24338. "200":
  24339. description: OK
  24340. schema:
  24341. $ref: '#/definitions/quote.HistoryTikData'
  24342. "500":
  24343. description: Internal Server Error
  24344. schema:
  24345. $ref: '#/definitions/app.Response'
  24346. security:
  24347. - ApiKeyAuth: []
  24348. summary: 查询行情Tik数据
  24349. tags:
  24350. - 行情服务
  24351. /Quote/QueryQuoteDay:
  24352. get:
  24353. parameters:
  24354. - description: 此参数不填则查所有;商品代码列表,格式:CU2102,CU2103,AL2107
  24355. in: query
  24356. name: goodsCodes
  24357. type: string
  24358. produces:
  24359. - application/json
  24360. responses:
  24361. "200":
  24362. description: OK
  24363. schema:
  24364. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  24365. "500":
  24366. description: Internal Server Error
  24367. schema:
  24368. $ref: '#/definitions/app.Response'
  24369. security:
  24370. - ApiKeyAuth: []
  24371. summary: 获取商品盘面信息
  24372. tags:
  24373. - 行情服务
  24374. /Quote/QueryTSData:
  24375. get:
  24376. parameters:
  24377. - description: 商品代码
  24378. in: query
  24379. name: goodsCode
  24380. required: true
  24381. type: string
  24382. produces:
  24383. - application/json
  24384. responses:
  24385. "200":
  24386. description: OK
  24387. schema:
  24388. $ref: '#/definitions/quote.QueryTSDataRsp'
  24389. "500":
  24390. description: Internal Server Error
  24391. schema:
  24392. $ref: '#/definitions/app.Response'
  24393. security:
  24394. - ApiKeyAuth: []
  24395. summary: 分时图数据查询
  24396. tags:
  24397. - 行情服务
  24398. /SZDZ/QueryConvertConfig:
  24399. get:
  24400. parameters:
  24401. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  24402. 6:交易转花生米(不设置)
  24403. in: query
  24404. name: convertType
  24405. type: integer
  24406. - description: 外部商品代码[JD\PD]
  24407. in: query
  24408. name: outerGoodsCode
  24409. type: string
  24410. - description: 内部商品ID列表[交易],格式:1,2,3
  24411. in: query
  24412. name: innerGoodsIDs
  24413. type: string
  24414. produces:
  24415. - application/json
  24416. responses:
  24417. "200":
  24418. description: OK
  24419. schema:
  24420. $ref: '#/definitions/models.Szdz3convertconfig'
  24421. "500":
  24422. description: Internal Server Error
  24423. schema:
  24424. $ref: '#/definitions/app.Response'
  24425. security:
  24426. - ApiKeyAuth: []
  24427. summary: 查询交易系统转换设置
  24428. tags:
  24429. - 定制【尚志大宗】
  24430. /SZDZ/QueryConvertLog:
  24431. get:
  24432. parameters:
  24433. - description: 资金账户 - 格式:1,2,3
  24434. in: query
  24435. name: accountID
  24436. required: true
  24437. type: string
  24438. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  24439. in: query
  24440. name: startDate
  24441. type: string
  24442. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  24443. in: query
  24444. name: endDate
  24445. type: string
  24446. produces:
  24447. - application/json
  24448. responses:
  24449. "200":
  24450. description: OK
  24451. schema:
  24452. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  24453. "500":
  24454. description: Internal Server Error
  24455. schema:
  24456. $ref: '#/definitions/app.Response'
  24457. security:
  24458. - ApiKeyAuth: []
  24459. summary: 交易系统转换流水查询
  24460. tags:
  24461. - 定制【尚志大宗】
  24462. /SZDZ/QueryGoodsPickup:
  24463. get:
  24464. parameters:
  24465. - description: 资金账户 - 格式:1,2,3
  24466. in: query
  24467. name: accountID
  24468. required: true
  24469. type: string
  24470. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  24471. in: query
  24472. name: takeOrderStatus
  24473. type: integer
  24474. produces:
  24475. - application/json
  24476. responses:
  24477. "200":
  24478. description: OK
  24479. schema:
  24480. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  24481. "500":
  24482. description: Internal Server Error
  24483. schema:
  24484. $ref: '#/definitions/app.Response'
  24485. security:
  24486. - ApiKeyAuth: []
  24487. summary: 商品提货单查询
  24488. tags:
  24489. - 定制【尚志大宗】
  24490. /SZDZ/QueryRecieptOrder:
  24491. get:
  24492. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  24493. parameters:
  24494. - description: 页码
  24495. in: query
  24496. name: page
  24497. type: integer
  24498. - description: 每页条数
  24499. in: query
  24500. name: pagesize
  24501. type: integer
  24502. - description: 商品ID
  24503. in: query
  24504. name: goodsID
  24505. required: true
  24506. type: integer
  24507. - description: 所属账户名称
  24508. in: query
  24509. name: accountName
  24510. type: string
  24511. - description: 市场ID
  24512. in: query
  24513. name: marketID
  24514. type: integer
  24515. - description: 方向 - 0:买 1:卖
  24516. in: query
  24517. name: buyorsell
  24518. required: true
  24519. type: integer
  24520. produces:
  24521. - application/json
  24522. responses:
  24523. "200":
  24524. description: OK
  24525. schema:
  24526. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  24527. "500":
  24528. description: Internal Server Error
  24529. schema:
  24530. $ref: '#/definitions/app.Response'
  24531. security:
  24532. - ApiKeyAuth: []
  24533. summary: 点选挂牌委托单据查询(摘牌大厅)
  24534. tags:
  24535. - 定制【尚志大宗】
  24536. /SZDZ/QuerySZDZTradePosition:
  24537. get:
  24538. parameters:
  24539. - description: 资金账户
  24540. in: query
  24541. name: accountID
  24542. required: true
  24543. type: integer
  24544. produces:
  24545. - application/json
  24546. responses:
  24547. "200":
  24548. description: OK
  24549. schema:
  24550. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  24551. "500":
  24552. description: Internal Server Error
  24553. schema:
  24554. $ref: '#/definitions/app.Response'
  24555. security:
  24556. - ApiKeyAuth: []
  24557. summary: 持仓汇总查询(尚志大宗)
  24558. tags:
  24559. - 定制【尚志大宗】
  24560. /SZDZ/SearchWhite:
  24561. get:
  24562. parameters:
  24563. - description: 用户ID
  24564. in: query
  24565. name: userID
  24566. required: true
  24567. type: integer
  24568. produces:
  24569. - application/json
  24570. responses:
  24571. "200":
  24572. description: OK
  24573. schema:
  24574. $ref: '#/definitions/models.Szdz3searchwhitelist'
  24575. "500":
  24576. description: Internal Server Error
  24577. schema:
  24578. $ref: '#/definitions/app.Response'
  24579. security:
  24580. - ApiKeyAuth: []
  24581. summary: 搜索白名单
  24582. tags:
  24583. - 定制【尚志大宗】
  24584. /Search/SearchGoodses:
  24585. get:
  24586. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  24587. parameters:
  24588. - description: 检索内容
  24589. in: query
  24590. name: content
  24591. required: true
  24592. type: string
  24593. - description: 交易模式,格式:1,2,3
  24594. in: query
  24595. name: tradeModes
  24596. type: string
  24597. produces:
  24598. - application/json
  24599. responses:
  24600. "200":
  24601. description: OK
  24602. schema:
  24603. $ref: '#/definitions/models.SearchGoods'
  24604. "500":
  24605. description: Internal Server Error
  24606. schema:
  24607. $ref: '#/definitions/app.Response'
  24608. summary: 检索商品信息
  24609. tags:
  24610. - 检索服务
  24611. /TaAccount/GetTaAccounts:
  24612. get:
  24613. parameters:
  24614. - description: 登录账户
  24615. in: query
  24616. name: loginID
  24617. required: true
  24618. type: integer
  24619. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  24620. in: query
  24621. name: taAccountType
  24622. type: integer
  24623. produces:
  24624. - application/json
  24625. responses:
  24626. "200":
  24627. description: OK
  24628. schema:
  24629. $ref: '#/definitions/models.Taaccount'
  24630. "500":
  24631. description: Internal Server Error
  24632. schema:
  24633. $ref: '#/definitions/app.Response'
  24634. security:
  24635. - ApiKeyAuth: []
  24636. summary: 获取资金账户信息
  24637. tags:
  24638. - 资金账户
  24639. /TaAccount/QueryAmountLog:
  24640. get:
  24641. parameters:
  24642. - description: 页码
  24643. in: query
  24644. name: page
  24645. type: integer
  24646. - description: 每页条数
  24647. in: query
  24648. name: pagesize
  24649. type: integer
  24650. - description: 资金账户 - 格式:1,2,3
  24651. in: query
  24652. name: accountID
  24653. required: true
  24654. type: string
  24655. - description: 资金操作类型 - 格式:1,2,3
  24656. in: query
  24657. name: OperateType
  24658. type: string
  24659. produces:
  24660. - application/json
  24661. responses:
  24662. "200":
  24663. description: OK
  24664. schema:
  24665. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  24666. "500":
  24667. description: Internal Server Error
  24668. schema:
  24669. $ref: '#/definitions/app.Response'
  24670. security:
  24671. - ApiKeyAuth: []
  24672. summary: 资金流水查询(当前)
  24673. tags:
  24674. - 资金账户
  24675. /TaAccount/QueryHisAmountLog:
  24676. get:
  24677. parameters:
  24678. - description: 页码
  24679. in: query
  24680. name: page
  24681. type: integer
  24682. - description: 每页条数
  24683. in: query
  24684. name: pagesize
  24685. type: integer
  24686. - description: 资金账户 - 格式:1,2,3
  24687. in: query
  24688. name: accountID
  24689. required: true
  24690. type: string
  24691. - description: 资金操作类型 - 格式:1,2,3
  24692. in: query
  24693. name: OperateType
  24694. type: string
  24695. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  24696. in: query
  24697. name: startDate
  24698. type: string
  24699. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  24700. in: query
  24701. name: endDate
  24702. type: string
  24703. produces:
  24704. - application/json
  24705. responses:
  24706. "200":
  24707. description: OK
  24708. schema:
  24709. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  24710. "500":
  24711. description: Internal Server Error
  24712. schema:
  24713. $ref: '#/definitions/app.Response'
  24714. security:
  24715. - ApiKeyAuth: []
  24716. summary: 资金流水查询(历史)
  24717. tags:
  24718. - 资金账户
  24719. /TaAccount/QueryRelatedTaAccount:
  24720. get:
  24721. parameters:
  24722. - description: 关联UserID
  24723. in: query
  24724. name: relateduserid
  24725. required: true
  24726. type: integer
  24727. produces:
  24728. - application/json
  24729. responses:
  24730. "200":
  24731. description: OK
  24732. schema:
  24733. items:
  24734. $ref: '#/definitions/models.RelatedTaAccount'
  24735. type: array
  24736. "500":
  24737. description: Internal Server Error
  24738. schema:
  24739. $ref: '#/definitions/app.Response'
  24740. security:
  24741. - ApiKeyAuth: []
  24742. summary: 查询关联资金账户信息
  24743. tags:
  24744. - 资金账户
  24745. /Tjmd/QueryQuoteGoodsList:
  24746. get:
  24747. description: 用户类型必传, 查掉期报价列表 marketids=掉期市场id
  24748. parameters:
  24749. - description: 用户类型
  24750. in: query
  24751. name: usertype
  24752. required: true
  24753. type: integer
  24754. - description: 市场id, 格式 1,2,3
  24755. in: query
  24756. name: marketids
  24757. type: string
  24758. - description: 商品组id
  24759. in: query
  24760. name: goodsgroupid
  24761. type: integer
  24762. - description: 商品id
  24763. in: query
  24764. name: goodsid
  24765. type: integer
  24766. produces:
  24767. - application/json
  24768. responses:
  24769. "200":
  24770. description: OK
  24771. schema:
  24772. items:
  24773. $ref: '#/definitions/models.TjmdQuoteGoods'
  24774. type: array
  24775. "500":
  24776. description: Internal Server Error
  24777. schema:
  24778. $ref: '#/definitions/app.Response'
  24779. security:
  24780. - ApiKeyAuth: []
  24781. summary: 查询掉期报价列表
  24782. tags:
  24783. - 天津麦顿
  24784. /Tjmd/QueryTjmdHolderDetailTradeInfo:
  24785. get:
  24786. parameters:
  24787. - description: 成交单号
  24788. in: query
  24789. name: tradeid
  24790. required: true
  24791. type: string
  24792. produces:
  24793. - application/json
  24794. responses:
  24795. "200":
  24796. description: OK
  24797. schema:
  24798. items:
  24799. $ref: '#/definitions/models.TjmdHolderDetailTradeInfo'
  24800. type: array
  24801. "500":
  24802. description: Internal Server Error
  24803. schema:
  24804. $ref: '#/definitions/app.Response'
  24805. security:
  24806. - ApiKeyAuth: []
  24807. summary: 掉期商品订单详情(交易确认书)
  24808. tags:
  24809. - 天津麦顿
  24810. /Tjmd/QueryTjmdMarketSection:
  24811. get:
  24812. produces:
  24813. - application/json
  24814. responses:
  24815. "200":
  24816. description: OK
  24817. schema:
  24818. items:
  24819. $ref: '#/definitions/models.TjmdMarketSection'
  24820. type: array
  24821. "500":
  24822. description: Internal Server Error
  24823. schema:
  24824. $ref: '#/definitions/app.Response'
  24825. security:
  24826. - ApiKeyAuth: []
  24827. summary: 查询市场板块
  24828. tags:
  24829. - 天津麦顿
  24830. /Tjmd/QueryTjmdTodayAccountMargin:
  24831. get:
  24832. parameters:
  24833. - description: 市场id
  24834. in: query
  24835. name: marketid
  24836. type: string
  24837. - description: 商品id
  24838. in: query
  24839. name: goodsid
  24840. type: string
  24841. - description: 资金账号
  24842. in: query
  24843. name: accountid
  24844. type: string
  24845. produces:
  24846. - application/json
  24847. responses:
  24848. "200":
  24849. description: OK
  24850. schema:
  24851. items:
  24852. $ref: '#/definitions/models.TjmdTodayAccountMargin'
  24853. type: array
  24854. "500":
  24855. description: Internal Server Error
  24856. schema:
  24857. $ref: '#/definitions/app.Response'
  24858. security:
  24859. - ApiKeyAuth: []
  24860. summary: 查询今日账户保证金配置
  24861. tags:
  24862. - 天津麦顿
  24863. /Tjmd/QueryTjmdTradeOrderDetail:
  24864. get:
  24865. description: 用户类型必传, 投资者只能看到自营会员的单, 反之亦然
  24866. parameters:
  24867. - description: 页码
  24868. in: query
  24869. name: page
  24870. type: integer
  24871. - description: 每页条数
  24872. in: query
  24873. name: pagesize
  24874. type: integer
  24875. - description: 用户id
  24876. in: query
  24877. name: userid
  24878. required: true
  24879. type: integer
  24880. - description: 用户类型
  24881. in: query
  24882. name: usertype
  24883. required: true
  24884. type: integer
  24885. - description: 市场id, 格式 1,2,3
  24886. in: query
  24887. name: marketids
  24888. type: string
  24889. - description: 商品id
  24890. in: query
  24891. name: goodsid
  24892. required: true
  24893. type: integer
  24894. - description: 买卖方向 0-买 1-卖
  24895. in: query
  24896. name: buyorsell
  24897. required: true
  24898. type: integer
  24899. produces:
  24900. - application/json
  24901. responses:
  24902. "200":
  24903. description: OK
  24904. schema:
  24905. items:
  24906. $ref: '#/definitions/models.TjmdTradeOrderDetail'
  24907. type: array
  24908. "500":
  24909. description: Internal Server Error
  24910. schema:
  24911. $ref: '#/definitions/app.Response'
  24912. security:
  24913. - ApiKeyAuth: []
  24914. summary: 查询掉期买卖大厅
  24915. tags:
  24916. - 天津麦顿
  24917. /Tjmd/QueryTjmdTransferApply:
  24918. get:
  24919. parameters:
  24920. - description: 类型 1-我的申请 2-对方申请
  24921. in: query
  24922. name: applytype
  24923. required: true
  24924. type: integer
  24925. - description: 市场id, 格式 1,2,3
  24926. in: query
  24927. name: marketids
  24928. type: string
  24929. - description: 资金账号, 格式 25000000001,25000000003
  24930. in: query
  24931. name: accountids
  24932. type: string
  24933. - description: 开始交易日(yyyymmdd)
  24934. in: query
  24935. name: begindate
  24936. type: string
  24937. - description: 结束交易日(yyyymmdd)
  24938. in: query
  24939. name: enddate
  24940. type: string
  24941. produces:
  24942. - application/json
  24943. responses:
  24944. "200":
  24945. description: OK
  24946. schema:
  24947. items:
  24948. $ref: '#/definitions/models.TjmdTransferApply'
  24949. type: array
  24950. "500":
  24951. description: Internal Server Error
  24952. schema:
  24953. $ref: '#/definitions/app.Response'
  24954. security:
  24955. - ApiKeyAuth: []
  24956. summary: 查询掉期协议单
  24957. tags:
  24958. - 天津麦顿
  24959. /Trade/QueryRecieptOrder:
  24960. get:
  24961. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  24962. parameters:
  24963. - description: 页码
  24964. in: query
  24965. name: page
  24966. type: integer
  24967. - description: 每页条数
  24968. in: query
  24969. name: pagesize
  24970. type: integer
  24971. - description: 商品ID
  24972. in: query
  24973. name: goodsID
  24974. required: true
  24975. type: integer
  24976. - description: 所属账户名称
  24977. in: query
  24978. name: accountName
  24979. type: string
  24980. - description: 市场ID
  24981. in: query
  24982. name: marketID
  24983. type: integer
  24984. - description: 方向 - 0:买 1:卖
  24985. in: query
  24986. name: buyorsell
  24987. required: true
  24988. type: integer
  24989. produces:
  24990. - application/json
  24991. responses:
  24992. "200":
  24993. description: OK
  24994. schema:
  24995. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  24996. "500":
  24997. description: Internal Server Error
  24998. schema:
  24999. $ref: '#/definitions/app.Response'
  25000. security:
  25001. - ApiKeyAuth: []
  25002. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  25003. tags:
  25004. - 通用交易
  25005. /User/AddMessageBoard:
  25006. post:
  25007. parameters:
  25008. - description: 用户ID
  25009. in: query
  25010. name: userID
  25011. required: true
  25012. type: integer
  25013. - description: 留言信息
  25014. in: query
  25015. name: message
  25016. required: true
  25017. type: string
  25018. - description: 联系电话
  25019. in: query
  25020. name: contactNum
  25021. required: true
  25022. type: string
  25023. produces:
  25024. - application/json
  25025. responses:
  25026. "200":
  25027. description: OK
  25028. schema:
  25029. $ref: '#/definitions/app.Response'
  25030. "500":
  25031. description: Internal Server Error
  25032. schema:
  25033. $ref: '#/definitions/app.Response'
  25034. security:
  25035. - ApiKeyAuth: []
  25036. summary: 添加用户留言板信息
  25037. tags:
  25038. - 用户信息
  25039. /User/AddUserFavoriteGoods:
  25040. post:
  25041. parameters:
  25042. - description: 用户ID
  25043. in: query
  25044. name: userID
  25045. required: true
  25046. type: integer
  25047. - description: 商品ID
  25048. in: query
  25049. name: goodsID
  25050. required: true
  25051. type: integer
  25052. produces:
  25053. - application/json
  25054. responses:
  25055. "200":
  25056. description: OK
  25057. schema:
  25058. $ref: '#/definitions/app.Response'
  25059. "500":
  25060. description: Internal Server Error
  25061. schema:
  25062. $ref: '#/definitions/app.Response'
  25063. security:
  25064. - ApiKeyAuth: []
  25065. summary: 添加用户商品收藏信息
  25066. tags:
  25067. - 用户信息
  25068. /User/GetLoginID:
  25069. get:
  25070. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  25071. parameters:
  25072. - description: 登录代码
  25073. in: query
  25074. name: username
  25075. required: true
  25076. type: string
  25077. produces:
  25078. - application/json
  25079. responses:
  25080. "200":
  25081. description: OK
  25082. schema:
  25083. $ref: '#/definitions/app.Response'
  25084. "500":
  25085. description: Internal Server Error
  25086. schema:
  25087. $ref: '#/definitions/app.Response'
  25088. summary: 获取登录ID
  25089. tags:
  25090. - 用户信息
  25091. /User/GetUserAccount:
  25092. get:
  25093. parameters:
  25094. - description: 用户ID
  25095. in: query
  25096. name: userID
  25097. required: true
  25098. type: integer
  25099. produces:
  25100. - application/json
  25101. responses:
  25102. "200":
  25103. description: OK
  25104. schema:
  25105. $ref: '#/definitions/models.Useraccount'
  25106. "500":
  25107. description: Internal Server Error
  25108. schema:
  25109. $ref: '#/definitions/app.Response'
  25110. security:
  25111. - ApiKeyAuth: []
  25112. summary: 获取用户账号信息
  25113. tags:
  25114. - 用户信息
  25115. /User/GetUserAuthStatus:
  25116. get:
  25117. parameters:
  25118. - description: 用户ID
  25119. in: query
  25120. name: userID
  25121. required: true
  25122. type: integer
  25123. produces:
  25124. - application/json
  25125. responses:
  25126. "200":
  25127. description: OK
  25128. schema:
  25129. $ref: '#/definitions/app.Response'
  25130. "500":
  25131. description: Internal Server Error
  25132. schema:
  25133. $ref: '#/definitions/app.Response'
  25134. security:
  25135. - ApiKeyAuth: []
  25136. summary: 获取用户实名认证状态
  25137. tags:
  25138. - 用户信息
  25139. /User/LoginQuery:
  25140. get:
  25141. parameters:
  25142. - description: 登录账号
  25143. in: query
  25144. name: loginID
  25145. required: true
  25146. type: integer
  25147. produces:
  25148. - application/json
  25149. responses:
  25150. "200":
  25151. description: OK
  25152. schema:
  25153. $ref: '#/definitions/user.LoginQueryRsp'
  25154. "500":
  25155. description: Internal Server Error
  25156. schema:
  25157. $ref: '#/definitions/app.Response'
  25158. security:
  25159. - ApiKeyAuth: []
  25160. summary: 账户登录后信息查询
  25161. tags:
  25162. - 用户信息
  25163. /User/QueryMessageBoard:
  25164. get:
  25165. parameters:
  25166. - description: 用户ID
  25167. in: query
  25168. name: userID
  25169. required: true
  25170. type: integer
  25171. produces:
  25172. - application/json
  25173. responses:
  25174. "200":
  25175. description: OK
  25176. schema:
  25177. $ref: '#/definitions/models.Messageboard'
  25178. "500":
  25179. description: Internal Server Error
  25180. schema:
  25181. $ref: '#/definitions/app.Response'
  25182. security:
  25183. - ApiKeyAuth: []
  25184. summary: 获取用户留言板信息
  25185. tags:
  25186. - 用户信息
  25187. /User/QueryUserFavoriteGoodses:
  25188. get:
  25189. parameters:
  25190. - description: 用户ID
  25191. in: query
  25192. name: userID
  25193. required: true
  25194. type: integer
  25195. produces:
  25196. - application/json
  25197. responses:
  25198. "200":
  25199. description: OK
  25200. schema:
  25201. $ref: '#/definitions/models.Userfavoritegoods'
  25202. "500":
  25203. description: Internal Server Error
  25204. schema:
  25205. $ref: '#/definitions/app.Response'
  25206. security:
  25207. - ApiKeyAuth: []
  25208. summary: 获取用户商品收藏信息
  25209. tags:
  25210. - 用户信息
  25211. /User/QueryUserInfo:
  25212. get:
  25213. parameters:
  25214. - description: 用户ID
  25215. in: query
  25216. name: userID
  25217. required: true
  25218. type: integer
  25219. - description: 是否解密
  25220. in: query
  25221. name: isDecrypt
  25222. type: boolean
  25223. produces:
  25224. - application/json
  25225. responses:
  25226. "200":
  25227. description: OK
  25228. schema:
  25229. $ref: '#/definitions/models.Userinfo'
  25230. "500":
  25231. description: Internal Server Error
  25232. schema:
  25233. $ref: '#/definitions/app.Response'
  25234. security:
  25235. - ApiKeyAuth: []
  25236. summary: 获取用户信息
  25237. tags:
  25238. - 用户信息
  25239. /User/QueryUserReferNum:
  25240. get:
  25241. parameters:
  25242. - description: 用户ID
  25243. in: query
  25244. name: userID
  25245. required: true
  25246. type: integer
  25247. produces:
  25248. - application/json
  25249. responses:
  25250. "200":
  25251. description: OK
  25252. schema:
  25253. $ref: '#/definitions/app.Response'
  25254. "500":
  25255. description: Internal Server Error
  25256. schema:
  25257. $ref: '#/definitions/app.Response'
  25258. summary: 获取用户邀请码
  25259. tags:
  25260. - 用户信息
  25261. /User/RemoveUserFavoriteGoods:
  25262. post:
  25263. parameters:
  25264. - description: 用户ID
  25265. in: query
  25266. name: userID
  25267. required: true
  25268. type: integer
  25269. - description: 商品ID
  25270. in: query
  25271. name: goodsID
  25272. required: true
  25273. type: integer
  25274. produces:
  25275. - application/json
  25276. responses:
  25277. "200":
  25278. description: OK
  25279. schema:
  25280. $ref: '#/definitions/app.Response'
  25281. "500":
  25282. description: Internal Server Error
  25283. schema:
  25284. $ref: '#/definitions/app.Response'
  25285. security:
  25286. - ApiKeyAuth: []
  25287. summary: 移除用户商品收藏信息
  25288. tags:
  25289. - 用户信息
  25290. /User/UpdateUserAccountStatus:
  25291. post:
  25292. parameters:
  25293. - description: 用户ID
  25294. in: query
  25295. name: userID
  25296. required: true
  25297. type: integer
  25298. - description: 账户状态 - 4:正常 6:注销(停用)
  25299. in: query
  25300. name: accountStatus
  25301. required: true
  25302. type: integer
  25303. produces:
  25304. - application/json
  25305. responses:
  25306. "200":
  25307. description: OK
  25308. schema:
  25309. $ref: '#/definitions/app.Response'
  25310. "500":
  25311. description: Internal Server Error
  25312. schema:
  25313. $ref: '#/definitions/app.Response'
  25314. security:
  25315. - ApiKeyAuth: []
  25316. summary: 更新用户状态
  25317. tags:
  25318. - 用户信息
  25319. /WRTrade/GetAllDeliveryGoods:
  25320. get:
  25321. produces:
  25322. - application/json
  25323. responses:
  25324. "200":
  25325. description: OK
  25326. schema:
  25327. $ref: '#/definitions/app.Response'
  25328. "500":
  25329. description: Internal Server Error
  25330. schema:
  25331. $ref: '#/definitions/app.Response'
  25332. security:
  25333. - ApiKeyAuth: []
  25334. summary: 获取带仓单分类的种类信息
  25335. tags:
  25336. - 仓单贸易
  25337. - 仓单贸易
  25338. /WrTrade2/InsertXhcpSellBackApply:
  25339. post:
  25340. parameters:
  25341. - description: 回收申请
  25342. in: body
  25343. name: jsonBody
  25344. required: true
  25345. schema:
  25346. $ref: '#/definitions/models.XhcpSellBackApplyEx'
  25347. produces:
  25348. - application/json
  25349. responses:
  25350. "200":
  25351. description: OK
  25352. schema:
  25353. $ref: '#/definitions/app.Response'
  25354. "500":
  25355. description: Internal Server Error
  25356. schema:
  25357. $ref: '#/definitions/app.Response'
  25358. security:
  25359. - ApiKeyAuth: []
  25360. summary: 新增回收申请(新会陈皮)
  25361. tags:
  25362. - 仓单贸易v2
  25363. /WrTrade2/QueryDeliveryGoodsSection:
  25364. get:
  25365. produces:
  25366. - application/json
  25367. responses:
  25368. "200":
  25369. description: OK
  25370. schema:
  25371. items:
  25372. $ref: '#/definitions/models.WrDeliveryGoodsSection'
  25373. type: array
  25374. "500":
  25375. description: Internal Server Error
  25376. schema:
  25377. $ref: '#/definitions/app.Response'
  25378. security:
  25379. - ApiKeyAuth: []
  25380. summary: 查询板块(分类)
  25381. tags:
  25382. - 仓单贸易v2
  25383. /WrTrade2/QueryFaProductDetail:
  25384. get:
  25385. description: 页面 买卖大厅 -> 选择融资方案
  25386. parameters:
  25387. - description: 仓单要素id
  25388. in: query
  25389. name: wrfactortypeid
  25390. required: true
  25391. type: integer
  25392. produces:
  25393. - application/json
  25394. responses:
  25395. "200":
  25396. description: OK
  25397. schema:
  25398. items:
  25399. $ref: '#/definitions/models.WrFAProductDetail'
  25400. type: array
  25401. "500":
  25402. description: Internal Server Error
  25403. schema:
  25404. $ref: '#/definitions/app.Response'
  25405. security:
  25406. - ApiKeyAuth: []
  25407. summary: 查询融资产品列表
  25408. tags:
  25409. - 仓单贸易v2
  25410. /WrTrade2/QueryFilterItem:
  25411. get:
  25412. parameters:
  25413. - description: 类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库
  25414. in: query
  25415. name: itype
  25416. required: true
  25417. type: string
  25418. produces:
  25419. - application/json
  25420. responses:
  25421. "200":
  25422. description: OK
  25423. schema:
  25424. items:
  25425. $ref: '#/definitions/models.WrFilterItem'
  25426. type: array
  25427. "500":
  25428. description: Internal Server Error
  25429. schema:
  25430. $ref: '#/definitions/app.Response'
  25431. security:
  25432. - ApiKeyAuth: []
  25433. summary: 查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)
  25434. tags:
  25435. - 仓单贸易v2
  25436. /WrTrade2/QueryFtDeliveryGoods:
  25437. get:
  25438. produces:
  25439. - application/json
  25440. responses:
  25441. "200":
  25442. description: OK
  25443. schema:
  25444. items:
  25445. $ref: '#/definitions/models.WrFtDeliveryGoods'
  25446. type: array
  25447. "500":
  25448. description: Internal Server Error
  25449. schema:
  25450. $ref: '#/definitions/app.Response'
  25451. security:
  25452. - ApiKeyAuth: []
  25453. summary: 查询品种品类筛选框列表
  25454. tags:
  25455. - 仓单贸易v2
  25456. /WrTrade2/QueryHoldLB:
  25457. get:
  25458. description: 页面 现货仓单->现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。
  25459. parameters:
  25460. - description: 资金账号
  25461. in: query
  25462. name: accountid
  25463. required: true
  25464. type: integer
  25465. - description: 仓库id
  25466. in: query
  25467. name: warehouseid
  25468. type: integer
  25469. - description: 品种id
  25470. in: query
  25471. name: deliverygoodsid
  25472. type: integer
  25473. - description: 品类id
  25474. in: query
  25475. name: wrstandardid
  25476. type: integer
  25477. - description: 仓单要素id
  25478. in: query
  25479. name: wrfactortypeid
  25480. type: integer
  25481. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  25482. in: query
  25483. name: dgitemname
  25484. type: string
  25485. produces:
  25486. - application/json
  25487. responses:
  25488. "200":
  25489. description: OK
  25490. schema:
  25491. items:
  25492. $ref: '#/definitions/models.WrHoldLB'
  25493. type: array
  25494. "500":
  25495. description: Internal Server Error
  25496. schema:
  25497. $ref: '#/definitions/app.Response'
  25498. security:
  25499. - ApiKeyAuth: []
  25500. summary: 查询仓单持有记录
  25501. tags:
  25502. - 仓单贸易v2
  25503. /WrTrade2/QueryOrderQuote:
  25504. get:
  25505. description: 仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth
  25506. 唯一确定1条记录
  25507. parameters:
  25508. - description: 页码
  25509. in: query
  25510. name: page
  25511. type: integer
  25512. - description: 每页条数
  25513. in: query
  25514. name: pagesize
  25515. type: integer
  25516. - description: 仓单贸易市场id
  25517. in: query
  25518. name: marketid
  25519. type: integer
  25520. - description: 价格方式 - 1:固定价 2-浮动价
  25521. in: query
  25522. name: wrpricetype
  25523. required: true
  25524. type: integer
  25525. - description: 0:仓单预售 1:仓单贸易
  25526. in: query
  25527. name: haswr
  25528. type: integer
  25529. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  25530. in: query
  25531. name: dgitemname
  25532. type: string
  25533. - description: 仓库id(筛选条件)
  25534. in: query
  25535. name: warehouseid
  25536. type: integer
  25537. - description: 品种id
  25538. in: query
  25539. name: deliverygoodsid
  25540. type: integer
  25541. - description: 品类id
  25542. in: query
  25543. name: wrstandardid
  25544. type: integer
  25545. - description: 品牌id(dgfactoryitemid)
  25546. in: query
  25547. name: brandid
  25548. type: integer
  25549. - description: 年份id(dgfactoryitemid)
  25550. in: query
  25551. name: yearsid
  25552. type: integer
  25553. - description: 仓单要素id
  25554. in: query
  25555. name: wrfactortypeid
  25556. type: integer
  25557. - description: 交收月(yyyy-mm) 仓单预售填写
  25558. in: query
  25559. name: deliverymonth
  25560. type: string
  25561. produces:
  25562. - application/json
  25563. responses:
  25564. "200":
  25565. description: OK
  25566. schema:
  25567. items:
  25568. $ref: '#/definitions/models.WrOrderQuote'
  25569. type: array
  25570. "500":
  25571. description: Internal Server Error
  25572. schema:
  25573. $ref: '#/definitions/app.Response'
  25574. security:
  25575. - ApiKeyAuth: []
  25576. summary: 查询大厅行情列表
  25577. tags:
  25578. - 仓单贸易v2
  25579. /WrTrade2/QueryOrderQuoteDetail:
  25580. get:
  25581. parameters:
  25582. - description: 页码
  25583. in: query
  25584. name: page
  25585. type: integer
  25586. - description: 每页条数
  25587. in: query
  25588. name: pagesize
  25589. type: integer
  25590. - description: 仓单贸易市场id
  25591. in: query
  25592. name: marketid
  25593. type: integer
  25594. - description: 价格方式 - 1:固定价 2-浮动价
  25595. in: query
  25596. name: wrpricetype
  25597. required: true
  25598. type: integer
  25599. - description: 0:仓单预售 1:仓单贸易
  25600. in: query
  25601. name: haswr
  25602. type: integer
  25603. - description: 仓单要素id
  25604. in: query
  25605. name: wrfactortypeid
  25606. required: true
  25607. type: integer
  25608. - description: 期货商品id(浮动价方式时填)
  25609. in: query
  25610. name: goodsid
  25611. type: integer
  25612. - description: 买卖方向 0-买 1-卖
  25613. in: query
  25614. name: buyorsell
  25615. required: true
  25616. type: integer
  25617. - description: 交收月(yyyy-mm) 查仓单预售的买卖大厅时填写
  25618. in: query
  25619. name: deliverymonth
  25620. type: string
  25621. produces:
  25622. - application/json
  25623. responses:
  25624. "200":
  25625. description: OK
  25626. schema:
  25627. items:
  25628. $ref: '#/definitions/models.WrOrderQuoteDetail'
  25629. type: array
  25630. "500":
  25631. description: Internal Server Error
  25632. schema:
  25633. $ref: '#/definitions/app.Response'
  25634. security:
  25635. - ApiKeyAuth: []
  25636. summary: 查询买卖大厅
  25637. tags:
  25638. - 仓单贸易v2
  25639. /WrTrade2/QueryOrderQuoteMyq:
  25640. get:
  25641. parameters:
  25642. - description: 页码
  25643. in: query
  25644. name: page
  25645. type: integer
  25646. - description: 每页条数
  25647. in: query
  25648. name: pagesize
  25649. type: integer
  25650. - description: 用户id
  25651. in: query
  25652. name: userid
  25653. required: true
  25654. type: integer
  25655. - description: 仓单贸易市场id
  25656. in: query
  25657. name: marketid
  25658. type: integer
  25659. - description: 0:仓单预售 1:仓单贸易
  25660. in: query
  25661. name: haswr
  25662. type: integer
  25663. - description: 买卖方向 0-买 1-卖
  25664. in: query
  25665. name: buyorsell
  25666. required: true
  25667. type: integer
  25668. - description: 品种id
  25669. in: query
  25670. name: deliverygoodsid
  25671. type: integer
  25672. - description: 品类id
  25673. in: query
  25674. name: wrstandardid
  25675. type: integer
  25676. - description: 交收月(yyyy-mm) 仓单预售填写
  25677. in: query
  25678. name: deliverymonth
  25679. type: string
  25680. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  25681. in: query
  25682. name: dgitemname
  25683. type: string
  25684. produces:
  25685. - application/json
  25686. responses:
  25687. "200":
  25688. description: OK
  25689. schema:
  25690. items:
  25691. $ref: '#/definitions/models.WrQuoteOrderMyq'
  25692. type: array
  25693. "500":
  25694. description: Internal Server Error
  25695. schema:
  25696. $ref: '#/definitions/app.Response'
  25697. security:
  25698. - ApiKeyAuth: []
  25699. summary: 查询贸易圈挂牌大厅
  25700. tags:
  25701. - 仓单贸易v2
  25702. /WrTrade2/QueryPerformancePlan:
  25703. get:
  25704. parameters:
  25705. - description: 用户id
  25706. in: query
  25707. name: userid
  25708. required: true
  25709. type: integer
  25710. - description: 买卖方向 0-买 1-卖
  25711. in: query
  25712. name: buyorsell
  25713. required: true
  25714. type: integer
  25715. - description: 履约状态(可多个,逗号隔开) 1:待激活 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成
  25716. 8:释放冻结失败 9:超时待处理 10:超时关闭
  25717. in: query
  25718. name: status
  25719. type: string
  25720. - description: 开始交易日(yyyymmdd)
  25721. in: query
  25722. name: begindate
  25723. type: string
  25724. - description: 结束交易日(yyyymmdd)
  25725. in: query
  25726. name: enddate
  25727. type: string
  25728. produces:
  25729. - application/json
  25730. responses:
  25731. "200":
  25732. description: OK
  25733. schema:
  25734. items:
  25735. $ref: '#/definitions/models.WrPerformancePlan'
  25736. type: array
  25737. "500":
  25738. description: Internal Server Error
  25739. schema:
  25740. $ref: '#/definitions/app.Response'
  25741. security:
  25742. - ApiKeyAuth: []
  25743. summary: 查询履约信息
  25744. tags:
  25745. - 仓单贸易v2
  25746. /WrTrade2/QueryPermancePlanTmp:
  25747. get:
  25748. description: |-
  25749. 返回指定用户的模板和公共模板(用户id为空)
  25750. 注意:天津麦顿客户 填写marketid参数,其它参数不用填;其它客户不用填marketid字段
  25751. parameters:
  25752. - description: 用户id
  25753. in: query
  25754. name: userid
  25755. type: integer
  25756. - description: 模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  25757. (无仓单) 5:挂牌期权 6:竞拍-降价式
  25758. in: query
  25759. name: tmptype
  25760. type: string
  25761. - description: 是否包含公共模板(用户id为空的) 1-包含
  25762. in: query
  25763. name: includepub
  25764. type: integer
  25765. - description: 市场id(天津麦顿指定此参数,其它不用)
  25766. in: query
  25767. name: marketid
  25768. type: integer
  25769. produces:
  25770. - application/json
  25771. responses:
  25772. "200":
  25773. description: OK
  25774. schema:
  25775. items:
  25776. $ref: '#/definitions/models.WrPerformanceTemplateEx'
  25777. type: array
  25778. "500":
  25779. description: Internal Server Error
  25780. schema:
  25781. $ref: '#/definitions/app.Response'
  25782. security:
  25783. - ApiKeyAuth: []
  25784. summary: 查询履约模板
  25785. tags:
  25786. - 仓单贸易v2
  25787. /WrTrade2/QuerySiteColumnDetail:
  25788. get:
  25789. parameters:
  25790. - description: 页码
  25791. in: query
  25792. name: page
  25793. type: integer
  25794. - description: 每页条数
  25795. in: query
  25796. name: pagesize
  25797. type: integer
  25798. - description: 所属栏目id
  25799. in: query
  25800. name: columnid
  25801. type: integer
  25802. produces:
  25803. - application/json
  25804. responses:
  25805. "200":
  25806. description: OK
  25807. schema:
  25808. items:
  25809. $ref: '#/definitions/models.WrSiteColumnDetail'
  25810. type: array
  25811. "500":
  25812. description: Internal Server Error
  25813. schema:
  25814. $ref: '#/definitions/app.Response'
  25815. security:
  25816. - ApiKeyAuth: []
  25817. summary: 查询资讯
  25818. tags:
  25819. - 仓单贸易v2
  25820. /WrTrade2/QuerySpotGroupTradeSum:
  25821. get:
  25822. produces:
  25823. - application/json
  25824. responses:
  25825. "200":
  25826. description: OK
  25827. schema:
  25828. items:
  25829. $ref: '#/definitions/models.WrSpotGroupTradeSumEx'
  25830. type: array
  25831. "500":
  25832. description: Internal Server Error
  25833. schema:
  25834. $ref: '#/definitions/app.Response'
  25835. security:
  25836. - ApiKeyAuth: []
  25837. summary: 查询指数
  25838. tags:
  25839. - 仓单贸易v2
  25840. /WrTrade2/QuerySpotGroupTradeSumDetail:
  25841. get:
  25842. description: 查询的结果将会按日期 从小到大 排序
  25843. parameters:
  25844. - description: 现货商品id
  25845. in: query
  25846. name: deliverygoodsid
  25847. required: true
  25848. type: integer
  25849. - description: 查询最新多少条记录(如不填写此项, 默认查30条)
  25850. in: query
  25851. name: lastnum
  25852. type: integer
  25853. produces:
  25854. - application/json
  25855. responses:
  25856. "200":
  25857. description: OK
  25858. schema:
  25859. items:
  25860. $ref: '#/definitions/models.WrSpotGroupTradeSumDetail'
  25861. type: array
  25862. "500":
  25863. description: Internal Server Error
  25864. schema:
  25865. $ref: '#/definitions/app.Response'
  25866. security:
  25867. - ApiKeyAuth: []
  25868. summary: 查询指数详细(价格走势图)
  25869. tags:
  25870. - 仓单贸易v2
  25871. /WrTrade2/QueryWrAverageTradePrice:
  25872. get:
  25873. parameters:
  25874. - description: 页码
  25875. in: query
  25876. name: page
  25877. type: integer
  25878. - description: 每页条数
  25879. in: query
  25880. name: pagesize
  25881. type: integer
  25882. - description: 0:仓单预售 1:仓单贸易
  25883. in: query
  25884. name: haswr
  25885. required: true
  25886. type: integer
  25887. - description: 仓单要素id
  25888. in: query
  25889. name: wrfactortypeid
  25890. required: true
  25891. type: integer
  25892. produces:
  25893. - application/json
  25894. responses:
  25895. "200":
  25896. description: OK
  25897. schema:
  25898. items:
  25899. $ref: '#/definitions/models.WrAverageTradePrice'
  25900. type: array
  25901. "500":
  25902. description: Internal Server Error
  25903. schema:
  25904. $ref: '#/definitions/app.Response'
  25905. security:
  25906. - ApiKeyAuth: []
  25907. summary: 查询成交价(历史走势)
  25908. tags:
  25909. - 仓单贸易v2
  25910. /WrTrade2/QueryWrBrandAndYears:
  25911. get:
  25912. produces:
  25913. - application/json
  25914. responses:
  25915. "200":
  25916. description: OK
  25917. schema:
  25918. items:
  25919. $ref: '#/definitions/models.WrBrandAndYears'
  25920. type: array
  25921. "500":
  25922. description: Internal Server Error
  25923. schema:
  25924. $ref: '#/definitions/app.Response'
  25925. security:
  25926. - ApiKeyAuth: []
  25927. summary: 查询品牌和年份
  25928. tags:
  25929. - 仓单贸易v2
  25930. /WrTrade2/QueryWrBsGoodsInfo:
  25931. get:
  25932. description: 合约交易/买卖大厅/详情
  25933. parameters:
  25934. - description: 商品id
  25935. in: query
  25936. name: goodsid
  25937. required: true
  25938. type: integer
  25939. produces:
  25940. - application/json
  25941. responses:
  25942. "200":
  25943. description: OK
  25944. schema:
  25945. items:
  25946. $ref: '#/definitions/models.WrBsGoodsInfo'
  25947. type: array
  25948. "500":
  25949. description: Internal Server Error
  25950. schema:
  25951. $ref: '#/definitions/app.Response'
  25952. security:
  25953. - ApiKeyAuth: []
  25954. summary: 查询合约交易买卖大厅详情
  25955. tags:
  25956. - 仓单贸易v2
  25957. /WrTrade2/QueryWrBuybackDetail:
  25958. get:
  25959. parameters:
  25960. - description: 融资合同id
  25961. in: query
  25962. name: scfcontractid
  25963. type: integer
  25964. produces:
  25965. - application/json
  25966. responses:
  25967. "200":
  25968. description: OK
  25969. schema:
  25970. items:
  25971. $ref: '#/definitions/models.WrBuybackDetail'
  25972. type: array
  25973. "500":
  25974. description: Internal Server Error
  25975. schema:
  25976. $ref: '#/definitions/app.Response'
  25977. security:
  25978. - ApiKeyAuth: []
  25979. summary: 查询仓单回购明细
  25980. tags:
  25981. - 仓单贸易v2
  25982. /WrTrade2/QueryWrClientAdSpaceConfig:
  25983. get:
  25984. produces:
  25985. - application/json
  25986. responses:
  25987. "200":
  25988. description: OK
  25989. schema:
  25990. items:
  25991. $ref: '#/definitions/models.WrClientAdSpaceConfig'
  25992. type: array
  25993. "500":
  25994. description: Internal Server Error
  25995. schema:
  25996. $ref: '#/definitions/app.Response'
  25997. security:
  25998. - ApiKeyAuth: []
  25999. summary: 查询固定广告配置
  26000. tags:
  26001. - 仓单贸易v2
  26002. /WrTrade2/QueryWrDeliveryAvalidHoldLB:
  26003. get:
  26004. parameters:
  26005. - description: 资金账号
  26006. in: query
  26007. name: accountid
  26008. required: true
  26009. type: integer
  26010. - description: 商品id
  26011. in: query
  26012. name: goodsid
  26013. required: true
  26014. type: integer
  26015. produces:
  26016. - application/json
  26017. responses:
  26018. "200":
  26019. description: OK
  26020. schema:
  26021. items:
  26022. $ref: '#/definitions/models.WrDeliveryAvalidHoldLB'
  26023. type: array
  26024. "500":
  26025. description: Internal Server Error
  26026. schema:
  26027. $ref: '#/definitions/app.Response'
  26028. security:
  26029. - ApiKeyAuth: []
  26030. summary: 查询合约交收可点选仓单
  26031. tags:
  26032. - 仓单贸易v2
  26033. /WrTrade2/QueryWrDeliveryDetail:
  26034. get:
  26035. parameters:
  26036. - description: 用户id
  26037. in: query
  26038. name: userid
  26039. required: true
  26040. type: integer
  26041. - description: 资金账号id
  26042. in: query
  26043. name: accountid
  26044. type: integer
  26045. - description: 开始交易日(yyyymmdd)
  26046. in: query
  26047. name: begindate
  26048. type: string
  26049. - description: 结束交易日(yyyymmdd)
  26050. in: query
  26051. name: enddate
  26052. type: string
  26053. produces:
  26054. - application/json
  26055. responses:
  26056. "200":
  26057. description: OK
  26058. schema:
  26059. items:
  26060. $ref: '#/definitions/models.WrDeliveryDetail'
  26061. type: array
  26062. "500":
  26063. description: Internal Server Error
  26064. schema:
  26065. $ref: '#/definitions/app.Response'
  26066. security:
  26067. - ApiKeyAuth: []
  26068. summary: 查询交收
  26069. tags:
  26070. - 仓单贸易v2
  26071. /WrTrade2/QueryWrDraftUserInfo:
  26072. get:
  26073. parameters:
  26074. - description: 用户ID
  26075. in: query
  26076. name: userid
  26077. required: true
  26078. type: integer
  26079. - description: 用户状态 1:正常 2:注销
  26080. in: query
  26081. name: userstatus
  26082. type: integer
  26083. produces:
  26084. - application/json
  26085. responses:
  26086. "200":
  26087. description: OK
  26088. schema:
  26089. items:
  26090. $ref: '#/definitions/models.WrDraftUserInfo'
  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/QueryWrFactorTypeInfo:
  26102. get:
  26103. parameters:
  26104. - description: 仓单要素id
  26105. in: query
  26106. name: wrfactortypeid
  26107. required: true
  26108. type: integer
  26109. produces:
  26110. - application/json
  26111. responses:
  26112. "200":
  26113. description: OK
  26114. schema:
  26115. items:
  26116. $ref: '#/definitions/models.WrFactorTypeInfo'
  26117. type: array
  26118. "500":
  26119. description: Internal Server Error
  26120. schema:
  26121. $ref: '#/definitions/app.Response'
  26122. security:
  26123. - ApiKeyAuth: []
  26124. summary: 查询仓单要素详细信息
  26125. tags:
  26126. - 仓单贸易v2
  26127. /WrTrade2/QueryWrFactorTypeInfoEx:
  26128. get:
  26129. parameters:
  26130. - description: 仓单要素id
  26131. in: query
  26132. name: wrfactortypeid
  26133. required: true
  26134. type: integer
  26135. produces:
  26136. - application/json
  26137. responses:
  26138. "200":
  26139. description: OK
  26140. schema:
  26141. items:
  26142. $ref: '#/definitions/models.WrTypeItem'
  26143. type: array
  26144. "500":
  26145. description: Internal Server Error
  26146. schema:
  26147. $ref: '#/definitions/app.Response'
  26148. security:
  26149. - ApiKeyAuth: []
  26150. summary: 查询仓单要素详细信息列表项
  26151. tags:
  26152. - 仓单贸易v2
  26153. /WrTrade2/QueryWrFinanceBuyApply:
  26154. get:
  26155. description: 页面 融资信息+ / 申请单
  26156. parameters:
  26157. - description: 用户id
  26158. in: query
  26159. name: userid
  26160. required: true
  26161. type: integer
  26162. produces:
  26163. - application/json
  26164. responses:
  26165. "200":
  26166. description: OK
  26167. schema:
  26168. items:
  26169. $ref: '#/definitions/models.WrFinanceBuyApply'
  26170. type: array
  26171. "500":
  26172. description: Internal Server Error
  26173. schema:
  26174. $ref: '#/definitions/app.Response'
  26175. security:
  26176. - ApiKeyAuth: []
  26177. summary: 查询融资购买申请
  26178. tags:
  26179. - 仓单贸易v2
  26180. /WrTrade2/QueryWrFriendApply:
  26181. get:
  26182. parameters:
  26183. - description: 用户id
  26184. in: query
  26185. name: userid
  26186. required: true
  26187. type: integer
  26188. produces:
  26189. - application/json
  26190. responses:
  26191. "200":
  26192. description: OK
  26193. schema:
  26194. items:
  26195. $ref: '#/definitions/models.WrFriendApply'
  26196. type: array
  26197. "500":
  26198. description: Internal Server Error
  26199. schema:
  26200. $ref: '#/definitions/app.Response'
  26201. security:
  26202. - ApiKeyAuth: []
  26203. summary: 查询好友申请记录
  26204. tags:
  26205. - 仓单贸易v2
  26206. /WrTrade2/QueryWrGoodsInfo:
  26207. get:
  26208. parameters:
  26209. - description: 仓单贸易市场id
  26210. in: query
  26211. name: marketid
  26212. type: integer
  26213. - description: 0:仓单预售 1:仓单贸易
  26214. in: query
  26215. name: haswr
  26216. required: true
  26217. type: integer
  26218. - description: 仓单要素id
  26219. in: query
  26220. name: wrfactortypeid
  26221. required: true
  26222. type: integer
  26223. - description: 履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)
  26224. in: query
  26225. name: tmplateid
  26226. type: integer
  26227. produces:
  26228. - application/json
  26229. responses:
  26230. "200":
  26231. description: OK
  26232. schema:
  26233. items:
  26234. $ref: '#/definitions/models.WrGoodsInfo'
  26235. type: array
  26236. "500":
  26237. description: Internal Server Error
  26238. schema:
  26239. $ref: '#/definitions/app.Response'
  26240. security:
  26241. - ApiKeyAuth: []
  26242. summary: 查询仓单商品信息
  26243. tags:
  26244. - 仓单贸易v2
  26245. /WrTrade2/QueryWrMarketTradeConfig:
  26246. get:
  26247. parameters:
  26248. - description: 市场id
  26249. in: query
  26250. name: marketid
  26251. type: integer
  26252. produces:
  26253. - application/json
  26254. responses:
  26255. "200":
  26256. description: OK
  26257. schema:
  26258. items:
  26259. $ref: '#/definitions/models.WrMarketTradeConfig'
  26260. type: array
  26261. "500":
  26262. description: Internal Server Error
  26263. schema:
  26264. $ref: '#/definitions/app.Response'
  26265. security:
  26266. - ApiKeyAuth: []
  26267. summary: 查询市场交易参数配置
  26268. tags:
  26269. - 仓单贸易v2
  26270. /WrTrade2/QueryWrOrderDetail:
  26271. get:
  26272. description: 页面 现货仓单 | 预售仓单 -> 委托单
  26273. parameters:
  26274. - description: 页码
  26275. in: query
  26276. name: page
  26277. type: integer
  26278. - description: 每页条数
  26279. in: query
  26280. name: pagesize
  26281. type: integer
  26282. - description: 用户id
  26283. in: query
  26284. name: userid
  26285. required: true
  26286. type: integer
  26287. - description: 仓单贸易市场id
  26288. in: query
  26289. name: marketid
  26290. type: integer
  26291. - description: 0:仓单预售 1:仓单贸易
  26292. in: query
  26293. name: haswr
  26294. required: true
  26295. type: integer
  26296. - description: 是否仅查可撤单据 1:可撤 注:此参数仅对当前记录有效, 且不含47模式市场
  26297. in: query
  26298. name: bcancel
  26299. type: integer
  26300. - description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  26301. in: query
  26302. name: wrtradetype
  26303. type: integer
  26304. - description: 开始交易日(yyyymmdd)
  26305. in: query
  26306. name: begindate
  26307. type: string
  26308. - description: 结束交易日(yyyymmdd)
  26309. in: query
  26310. name: enddate
  26311. type: string
  26312. produces:
  26313. - application/json
  26314. responses:
  26315. "200":
  26316. description: OK
  26317. schema:
  26318. items:
  26319. $ref: '#/definitions/models.WrOrderDetail'
  26320. type: array
  26321. "500":
  26322. description: Internal Server Error
  26323. schema:
  26324. $ref: '#/definitions/app.Response'
  26325. security:
  26326. - ApiKeyAuth: []
  26327. summary: 查询仓单委托单
  26328. tags:
  26329. - 仓单贸易v2
  26330. /WrTrade2/QueryWrOutInApply:
  26331. get:
  26332. parameters:
  26333. - description: 页码
  26334. in: query
  26335. name: page
  26336. type: integer
  26337. - description: 每页条数
  26338. in: query
  26339. name: pagesize
  26340. type: integer
  26341. - description: 用户id
  26342. in: query
  26343. name: userid
  26344. required: true
  26345. type: integer
  26346. - description: 开始交易日(yyyymmdd)
  26347. in: query
  26348. name: begindate
  26349. type: string
  26350. - description: 结束交易日(yyyymmdd)
  26351. in: query
  26352. name: enddate
  26353. type: string
  26354. produces:
  26355. - application/json
  26356. responses:
  26357. "200":
  26358. description: OK
  26359. schema:
  26360. items:
  26361. $ref: '#/definitions/models.WrOutInApply'
  26362. type: array
  26363. "500":
  26364. description: Internal Server Error
  26365. schema:
  26366. $ref: '#/definitions/app.Response'
  26367. security:
  26368. - ApiKeyAuth: []
  26369. summary: 查询提货申请
  26370. tags:
  26371. - 仓单贸易v2
  26372. /WrTrade2/QueryWrPerformancePlanStep:
  26373. get:
  26374. parameters:
  26375. - description: 履约计划id(performanceplanid)
  26376. in: query
  26377. name: planid
  26378. required: true
  26379. type: integer
  26380. - description: 当前步骤id
  26381. in: query
  26382. name: curstepid
  26383. type: integer
  26384. produces:
  26385. - application/json
  26386. responses:
  26387. "200":
  26388. description: OK
  26389. schema:
  26390. items:
  26391. $ref: '#/definitions/models.WrPerformancePlanStep'
  26392. type: array
  26393. "500":
  26394. description: Internal Server Error
  26395. schema:
  26396. $ref: '#/definitions/app.Response'
  26397. security:
  26398. - ApiKeyAuth: []
  26399. summary: 查询履约信息详情
  26400. tags:
  26401. - 仓单贸易v2
  26402. /WrTrade2/QueryWrPerformanceStepType:
  26403. get:
  26404. produces:
  26405. - application/json
  26406. responses:
  26407. "200":
  26408. description: OK
  26409. schema:
  26410. items:
  26411. $ref: '#/definitions/models.WrPerformanceStepType'
  26412. type: array
  26413. "500":
  26414. description: Internal Server Error
  26415. schema:
  26416. $ref: '#/definitions/app.Response'
  26417. security:
  26418. - ApiKeyAuth: []
  26419. summary: 查询履约步骤枚举
  26420. tags:
  26421. - 仓单贸易v2
  26422. /WrTrade2/QueryWrPosition:
  26423. get:
  26424. description: 页面 现货仓单->现货汇总/库存汇总; 预售仓单->订单汇总
  26425. parameters:
  26426. - description: 用户id
  26427. in: query
  26428. name: userid
  26429. required: true
  26430. type: integer
  26431. - description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  26432. in: query
  26433. name: querytype
  26434. required: true
  26435. type: integer
  26436. - description: 0:仓单预售 1:仓单贸易
  26437. in: query
  26438. name: haswr
  26439. required: true
  26440. type: integer
  26441. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  26442. in: query
  26443. name: dgitemname
  26444. type: string
  26445. - description: 仓库id(筛选条件)
  26446. in: query
  26447. name: warehouseid
  26448. type: integer
  26449. - description: 品种id
  26450. in: query
  26451. name: deliverygoodsid
  26452. type: integer
  26453. - description: 品类id
  26454. in: query
  26455. name: wrstandardid
  26456. type: integer
  26457. produces:
  26458. - application/json
  26459. responses:
  26460. "200":
  26461. description: OK
  26462. schema:
  26463. items:
  26464. $ref: '#/definitions/models.WrPosition'
  26465. type: array
  26466. "500":
  26467. description: Internal Server Error
  26468. schema:
  26469. $ref: '#/definitions/app.Response'
  26470. security:
  26471. - ApiKeyAuth: []
  26472. summary: 查询现货(预售)仓单持仓
  26473. tags:
  26474. - 仓单贸易v2
  26475. /WrTrade2/QueryWrPreSaleInfo:
  26476. get:
  26477. parameters:
  26478. - description: 市场id
  26479. in: query
  26480. name: marketid
  26481. type: integer
  26482. - description: 预售状态(逗号隔开,如1,2,3) 1:未开始 2:进行中 3:已结束 4:已关闭
  26483. in: query
  26484. name: presalestatus
  26485. type: string
  26486. - description: 摇号标识 - 0:未摇号 1:已摇号
  26487. in: query
  26488. name: lotteryflag
  26489. type: integer
  26490. - description: 最近多少条记录(按创建时间倒序)
  26491. in: query
  26492. name: lastnum
  26493. type: integer
  26494. produces:
  26495. - application/json
  26496. responses:
  26497. "200":
  26498. description: OK
  26499. schema:
  26500. items:
  26501. $ref: '#/definitions/models.WrPreSaleInfo'
  26502. type: array
  26503. "500":
  26504. description: Internal Server Error
  26505. schema:
  26506. $ref: '#/definitions/app.Response'
  26507. security:
  26508. - ApiKeyAuth: []
  26509. summary: 查询新品发布
  26510. tags:
  26511. - 仓单贸易v2
  26512. /WrTrade2/QueryWrReckonSpotGoodsTradeSum:
  26513. get:
  26514. parameters:
  26515. - description: 市场id
  26516. in: query
  26517. name: marketid
  26518. required: true
  26519. type: integer
  26520. - description: 现货商品id
  26521. in: query
  26522. name: wrstandardid
  26523. required: true
  26524. type: integer
  26525. - description: 开始交易日(yyyymmdd)
  26526. in: query
  26527. name: begindate
  26528. type: string
  26529. - description: 结束交易日(yyyymmdd)
  26530. in: query
  26531. name: enddate
  26532. type: string
  26533. - description: 最近多少条记录(按交易日倒序)
  26534. in: query
  26535. name: lastnum
  26536. type: integer
  26537. - description: 是否今日
  26538. in: query
  26539. name: istoday
  26540. type: boolean
  26541. produces:
  26542. - application/json
  26543. responses:
  26544. "200":
  26545. description: OK
  26546. schema:
  26547. items:
  26548. $ref: '#/definitions/models.WrReckonSpotGoodsTradeSum'
  26549. type: array
  26550. "500":
  26551. description: Internal Server Error
  26552. schema:
  26553. $ref: '#/definitions/app.Response'
  26554. security:
  26555. - ApiKeyAuth: []
  26556. summary: 查询价格走势
  26557. tags:
  26558. - 仓单贸易v2
  26559. /WrTrade2/QueryWrScfContract:
  26560. get:
  26561. parameters:
  26562. - description: 用户id
  26563. in: query
  26564. name: userid
  26565. required: true
  26566. type: integer
  26567. - description: 融资合同id
  26568. in: query
  26569. name: scfcontractid
  26570. type: integer
  26571. produces:
  26572. - application/json
  26573. responses:
  26574. "200":
  26575. description: OK
  26576. schema:
  26577. items:
  26578. $ref: '#/definitions/models.WrScfContract'
  26579. type: array
  26580. "500":
  26581. description: Internal Server Error
  26582. schema:
  26583. $ref: '#/definitions/app.Response'
  26584. security:
  26585. - ApiKeyAuth: []
  26586. summary: 查询仓单贸易融资合同
  26587. tags:
  26588. - 仓单贸易v2
  26589. /WrTrade2/QueryWrScfContractInterest:
  26590. get:
  26591. parameters:
  26592. - description: 融资合同id
  26593. in: query
  26594. name: scfcontractid
  26595. type: integer
  26596. produces:
  26597. - application/json
  26598. responses:
  26599. "200":
  26600. description: OK
  26601. schema:
  26602. items:
  26603. $ref: '#/definitions/models.WrScfContractInterest'
  26604. type: array
  26605. "500":
  26606. description: Internal Server Error
  26607. schema:
  26608. $ref: '#/definitions/app.Response'
  26609. security:
  26610. - ApiKeyAuth: []
  26611. summary: 查询融资合同费用明细
  26612. tags:
  26613. - 仓单贸易v2
  26614. /WrTrade2/QueryWrSearchUser:
  26615. get:
  26616. parameters:
  26617. - description: 用户名称(模糊匹配)
  26618. in: query
  26619. name: username
  26620. required: true
  26621. type: string
  26622. produces:
  26623. - application/json
  26624. responses:
  26625. "200":
  26626. description: OK
  26627. schema:
  26628. items:
  26629. $ref: '#/definitions/models.WrSearchUser'
  26630. type: array
  26631. "500":
  26632. description: Internal Server Error
  26633. schema:
  26634. $ref: '#/definitions/app.Response'
  26635. security:
  26636. - ApiKeyAuth: []
  26637. summary: 查询用户
  26638. tags:
  26639. - 仓单贸易v2
  26640. /WrTrade2/QueryWrSpecialMatchOrder:
  26641. get:
  26642. description: 页面 现货仓单 | 预售仓单 -> 指定成交
  26643. parameters:
  26644. - description: 页码
  26645. in: query
  26646. name: page
  26647. type: integer
  26648. - description: 每页条数
  26649. in: query
  26650. name: pagesize
  26651. type: integer
  26652. - description: 用户id
  26653. in: query
  26654. name: userid
  26655. required: true
  26656. type: integer
  26657. - description: 仓单贸易市场id
  26658. in: query
  26659. name: marketid
  26660. type: integer
  26661. - description: 0:仓单预售 1:仓单贸易
  26662. in: query
  26663. name: haswr
  26664. required: true
  26665. type: integer
  26666. - description: 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  26667. in: query
  26668. name: isspecified
  26669. type: integer
  26670. produces:
  26671. - application/json
  26672. responses:
  26673. "200":
  26674. description: OK
  26675. schema:
  26676. items:
  26677. $ref: '#/definitions/models.WrSpecialMatchOrder'
  26678. type: array
  26679. "500":
  26680. description: Internal Server Error
  26681. schema:
  26682. $ref: '#/definitions/app.Response'
  26683. security:
  26684. - ApiKeyAuth: []
  26685. summary: 查询指定成交
  26686. tags:
  26687. - 仓单贸易v2
  26688. /WrTrade2/QueryWrStandardFactoryItem:
  26689. get:
  26690. parameters:
  26691. - description: 品类id
  26692. in: query
  26693. name: wrstandardid
  26694. required: true
  26695. type: integer
  26696. produces:
  26697. - application/json
  26698. responses:
  26699. "200":
  26700. description: OK
  26701. schema:
  26702. items:
  26703. $ref: '#/definitions/models.WrStandardFactoryItemEx'
  26704. type: array
  26705. "500":
  26706. description: Internal Server Error
  26707. schema:
  26708. $ref: '#/definitions/app.Response'
  26709. security:
  26710. - ApiKeyAuth: []
  26711. summary: 查询品类要素定义项
  26712. tags:
  26713. - 仓单贸易v2
  26714. /WrTrade2/QueryWrTradeBargainApply:
  26715. get:
  26716. description: 1.页面 挂单/议价单, 只需传单号就行 <br>2.页面 议价->我的议价 参数 userid=登录userid <br>3.页面
  26717. 议价->对方议价 填写matchuserid=登录用户id
  26718. parameters:
  26719. - description: 议价人id(摘牌方)
  26720. in: query
  26721. name: userid
  26722. type: integer
  26723. - description: 挂牌方id(查对方议价时,填写此项)
  26724. in: query
  26725. name: matchuserid
  26726. type: integer
  26727. - description: 关联委托单id
  26728. in: query
  26729. name: wrtradeorderid
  26730. type: integer
  26731. - description: 0:仓单预售 1:仓单贸易
  26732. in: query
  26733. name: haswr
  26734. required: true
  26735. type: integer
  26736. - description: 开始交易日(yyyymmdd)
  26737. in: query
  26738. name: begindate
  26739. type: string
  26740. - description: 结束交易日(yyyymmdd)
  26741. in: query
  26742. name: enddate
  26743. type: string
  26744. produces:
  26745. - application/json
  26746. responses:
  26747. "200":
  26748. description: OK
  26749. schema:
  26750. items:
  26751. $ref: '#/definitions/models.WRTradeBargainApply'
  26752. type: array
  26753. "500":
  26754. description: Internal Server Error
  26755. schema:
  26756. $ref: '#/definitions/app.Response'
  26757. security:
  26758. - ApiKeyAuth: []
  26759. summary: 查询议价单
  26760. tags:
  26761. - 仓单贸易v2
  26762. /WrTrade2/QueryWrTradeDetail:
  26763. get:
  26764. parameters:
  26765. - description: 页码
  26766. in: query
  26767. name: page
  26768. type: integer
  26769. - description: 每页条数
  26770. in: query
  26771. name: pagesize
  26772. type: integer
  26773. - description: 用户id
  26774. in: query
  26775. name: userid
  26776. required: true
  26777. type: integer
  26778. - description: 仓单贸易市场id
  26779. in: query
  26780. name: marketid
  26781. type: integer
  26782. - description: 0:仓单预售 1:仓单贸易
  26783. in: query
  26784. name: haswr
  26785. required: true
  26786. type: integer
  26787. - description: 开始交易日(yyyymmdd)
  26788. in: query
  26789. name: begindate
  26790. type: string
  26791. - description: 结束交易日(yyyymmdd)
  26792. in: query
  26793. name: enddate
  26794. type: string
  26795. produces:
  26796. - application/json
  26797. responses:
  26798. "200":
  26799. description: OK
  26800. schema:
  26801. items:
  26802. $ref: '#/definitions/models.WrTradeDetail'
  26803. type: array
  26804. "500":
  26805. description: Internal Server Error
  26806. schema:
  26807. $ref: '#/definitions/app.Response'
  26808. security:
  26809. - ApiKeyAuth: []
  26810. summary: 查询仓单成交明细
  26811. tags:
  26812. - 仓单贸易v2
  26813. /WrTrade2/QueryWrTradeOrderDetail:
  26814. get:
  26815. parameters:
  26816. - description: 页码
  26817. in: query
  26818. name: page
  26819. type: integer
  26820. - description: 每页条数
  26821. in: query
  26822. name: pagesize
  26823. type: integer
  26824. - description: 商品id
  26825. in: query
  26826. name: goodsid
  26827. required: true
  26828. type: integer
  26829. - description: 买卖方向 0-买 1-卖
  26830. in: query
  26831. name: buyorsell
  26832. required: true
  26833. type: integer
  26834. produces:
  26835. - application/json
  26836. responses:
  26837. "200":
  26838. description: OK
  26839. schema:
  26840. items:
  26841. $ref: '#/definitions/models.WrTradeOrderDetail'
  26842. type: array
  26843. "500":
  26844. description: Internal Server Error
  26845. schema:
  26846. $ref: '#/definitions/app.Response'
  26847. security:
  26848. - ApiKeyAuth: []
  26849. summary: 查询合约交易买卖大厅
  26850. tags:
  26851. - 仓单贸易v2
  26852. /WrTrade2/QueryWrTradeQuote:
  26853. get:
  26854. parameters:
  26855. - description: 现货商品id
  26856. in: query
  26857. name: wrstandardid
  26858. required: true
  26859. type: integer
  26860. - description: 开始日期(yyyymmdd)
  26861. in: query
  26862. name: begindate
  26863. required: true
  26864. type: string
  26865. - description: 结束日期(yyyymmdd)
  26866. in: query
  26867. name: enddate
  26868. required: true
  26869. type: string
  26870. - description: 市场id
  26871. in: query
  26872. name: marketid
  26873. type: integer
  26874. produces:
  26875. - application/json
  26876. responses:
  26877. "200":
  26878. description: OK
  26879. schema:
  26880. items:
  26881. $ref: '#/definitions/models.Wrtradetradequote'
  26882. type: array
  26883. "500":
  26884. description: Internal Server Error
  26885. schema:
  26886. $ref: '#/definitions/app.Response'
  26887. security:
  26888. - ApiKeyAuth: []
  26889. summary: 查询仓单贸易成交行情
  26890. tags:
  26891. - 仓单贸易v2
  26892. /WrTrade2/QueryWrUserFriend:
  26893. get:
  26894. parameters:
  26895. - description: 用户id
  26896. in: query
  26897. name: userid
  26898. required: true
  26899. type: integer
  26900. - description: 新朋友userid, 如果填写了此项则查找新朋友
  26901. in: query
  26902. name: newuserid
  26903. type: integer
  26904. produces:
  26905. - application/json
  26906. responses:
  26907. "200":
  26908. description: OK
  26909. schema:
  26910. items:
  26911. $ref: '#/definitions/models.WrUserFriend'
  26912. type: array
  26913. "500":
  26914. description: Internal Server Error
  26915. schema:
  26916. $ref: '#/definitions/app.Response'
  26917. security:
  26918. - ApiKeyAuth: []
  26919. summary: 查询我的朋友
  26920. tags:
  26921. - 仓单贸易v2
  26922. /WrTrade2/QueryWrUserReceiptInfo:
  26923. get:
  26924. parameters:
  26925. - description: 用户id
  26926. in: query
  26927. name: userid
  26928. type: integer
  26929. - description: 发票类型 - 1:个人 2:企业
  26930. in: query
  26931. name: receipttype
  26932. type: integer
  26933. produces:
  26934. - application/json
  26935. responses:
  26936. "200":
  26937. description: OK
  26938. schema:
  26939. items:
  26940. $ref: '#/definitions/models.WrUserReceiptInfo'
  26941. type: array
  26942. "500":
  26943. description: Internal Server Error
  26944. schema:
  26945. $ref: '#/definitions/app.Response'
  26946. security:
  26947. - ApiKeyAuth: []
  26948. summary: 查询发票信息
  26949. tags:
  26950. - 仓单贸易v2
  26951. /WrTrade2/QueryXhcpSellBackApply:
  26952. get:
  26953. parameters:
  26954. - description: 用户ID
  26955. in: query
  26956. name: userid
  26957. required: true
  26958. type: integer
  26959. produces:
  26960. - application/json
  26961. responses:
  26962. "200":
  26963. description: OK
  26964. schema:
  26965. items:
  26966. $ref: '#/definitions/models.Xhcpsellbackapply'
  26967. type: array
  26968. "500":
  26969. description: Internal Server Error
  26970. schema:
  26971. $ref: '#/definitions/app.Response'
  26972. security:
  26973. - ApiKeyAuth: []
  26974. summary: 查询我的回收申请(新会陈皮)
  26975. tags:
  26976. - 仓单贸易v2
  26977. /ZJ/GetBankTip:
  26978. get:
  26979. produces:
  26980. - application/json
  26981. responses:
  26982. "200":
  26983. description: OK
  26984. schema:
  26985. type: string
  26986. "500":
  26987. description: Internal Server Error
  26988. schema:
  26989. $ref: '#/definitions/app.Response'
  26990. summary: 获取中江网银端出入金提示信息
  26991. tags:
  26992. - 中江
  26993. /ZJ/GetCusBankChannels:
  26994. get:
  26995. produces:
  26996. - application/json
  26997. responses:
  26998. "200":
  26999. description: OK
  27000. schema:
  27001. items:
  27002. type: string
  27003. type: array
  27004. "500":
  27005. description: Internal Server Error
  27006. schema:
  27007. $ref: '#/definitions/app.Response'
  27008. summary: 获取中江出入金渠道显示列表
  27009. tags:
  27010. - 中江
  27011. securityDefinitions:
  27012. ApiKeyAuth:
  27013. in: header
  27014. name: Authorization
  27015. type: apiKey
  27016. Group:
  27017. in: header
  27018. name: Group
  27019. type: apiKey
  27020. LoginID:
  27021. in: header
  27022. name: LoginID
  27023. type: apiKey
  27024. swagger: "2.0"