swagger.yaml 753 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849218502185121852218532185421855218562185721858218592186021861218622186321864218652186621867218682186921870218712187221873218742187521876218772187821879218802188121882218832188421885218862188721888218892189021891218922189321894218952189621897218982189921900219012190221903219042190521906219072190821909219102191121912219132191421915219162191721918219192192021921219222192321924219252192621927219282192921930219312193221933219342193521936219372193821939219402194121942219432194421945219462194721948219492195021951219522195321954219552195621957219582195921960219612196221963219642196521966219672196821969219702197121972219732197421975219762197721978219792198021981219822198321984219852198621987219882198921990219912199221993219942199521996219972199821999220002200122002220032200422005220062200722008220092201022011220122201322014220152201622017220182201922020220212202222023220242202522026220272202822029220302203122032220332203422035220362203722038220392204022041220422204322044220452204622047220482204922050220512205222053220542205522056220572205822059220602206122062220632206422065220662206722068220692207022071220722207322074220752207622077220782207922080220812208222083220842208522086220872208822089220902209122092220932209422095220962209722098220992210022101221022210322104221052210622107221082210922110221112211222113221142211522116221172211822119221202212122122221232212422125221262212722128221292213022131221322213322134221352213622137221382213922140221412214222143221442214522146221472214822149221502215122152221532215422155221562215722158221592216022161221622216322164221652216622167221682216922170221712217222173221742217522176221772217822179221802218122182221832218422185221862218722188221892219022191221922219322194221952219622197221982219922200222012220222203222042220522206222072220822209222102221122212222132221422215222162221722218222192222022221222222222322224222252222622227222282222922230222312223222233222342223522236222372223822239222402224122242222432224422245222462224722248222492225022251222522225322254222552225622257222582225922260222612226222263222642226522266222672226822269222702227122272222732227422275222762227722278222792228022281222822228322284222852228622287222882228922290222912229222293222942229522296222972229822299223002230122302223032230422305223062230722308223092231022311223122231322314223152231622317223182231922320223212232222323223242232522326223272232822329223302233122332223332233422335223362233722338223392234022341223422234322344223452234622347223482234922350223512235222353223542235522356223572235822359223602236122362223632236422365223662236722368223692237022371223722237322374223752237622377223782237922380223812238222383223842238522386223872238822389223902239122392223932239422395223962239722398223992240022401224022240322404224052240622407224082240922410224112241222413224142241522416224172241822419224202242122422224232242422425224262242722428224292243022431224322243322434224352243622437224382243922440224412244222443224442244522446224472244822449224502245122452224532245422455224562245722458224592246022461224622246322464224652246622467224682246922470224712247222473224742247522476224772247822479224802248122482224832248422485224862248722488224892249022491224922249322494224952249622497224982249922500225012250222503225042250522506225072250822509225102251122512225132251422515225162251722518225192252022521225222252322524225252252622527225282252922530225312253222533225342253522536225372253822539225402254122542225432254422545225462254722548225492255022551225522255322554225552255622557225582255922560225612256222563225642256522566225672256822569225702257122572225732257422575225762257722578225792258022581225822258322584225852258622587225882258922590225912259222593225942259522596225972259822599226002260122602226032260422605226062260722608226092261022611226122261322614226152261622617226182261922620226212262222623226242262522626226272262822629226302263122632226332263422635226362263722638226392264022641226422264322644226452264622647226482264922650226512265222653226542265522656226572265822659226602266122662226632266422665226662266722668226692267022671226722267322674226752267622677226782267922680226812268222683226842268522686226872268822689226902269122692226932269422695226962269722698226992270022701227022270322704227052270622707227082270922710227112271222713227142271522716227172271822719227202272122722227232272422725227262272722728227292273022731227322273322734227352273622737227382273922740227412274222743227442274522746227472274822749227502275122752227532275422755227562275722758227592276022761227622276322764227652276622767227682276922770227712277222773227742277522776227772277822779227802278122782227832278422785227862278722788227892279022791227922279322794227952279622797227982279922800228012280222803228042280522806228072280822809228102281122812228132281422815228162281722818228192282022821228222282322824228252282622827228282282922830228312283222833228342283522836228372283822839228402284122842228432284422845228462284722848228492285022851228522285322854228552285622857228582285922860228612286222863228642286522866228672286822869228702287122872228732287422875228762287722878228792288022881228822288322884228852288622887228882288922890228912289222893228942289522896228972289822899229002290122902229032290422905229062290722908229092291022911229122291322914229152291622917229182291922920229212292222923229242292522926229272292822929229302293122932229332293422935229362293722938229392294022941229422294322944229452294622947229482294922950229512295222953229542295522956229572295822959229602296122962229632296422965229662296722968229692297022971229722297322974229752297622977229782297922980229812298222983229842298522986229872298822989229902299122992229932299422995229962299722998229992300023001230022300323004230052300623007230082300923010230112301223013230142301523016230172301823019230202302123022230232302423025230262302723028230292303023031230322303323034230352303623037230382303923040230412304223043230442304523046230472304823049230502305123052230532305423055230562305723058230592306023061230622306323064230652306623067230682306923070230712307223073230742307523076230772307823079230802308123082230832308423085230862308723088230892309023091230922309323094230952309623097230982309923100231012310223103231042310523106231072310823109231102311123112231132311423115231162311723118231192312023121231222312323124231252312623127231282312923130231312313223133231342313523136231372313823139231402314123142231432314423145231462314723148231492315023151231522315323154231552315623157231582315923160231612316223163231642316523166231672316823169231702317123172231732317423175231762317723178231792318023181231822318323184231852318623187231882318923190231912319223193231942319523196231972319823199232002320123202232032320423205232062320723208232092321023211232122321323214232152321623217232182321923220232212322223223232242322523226232272322823229232302323123232232332323423235232362323723238232392324023241232422324323244232452324623247232482324923250232512325223253232542325523256232572325823259232602326123262232632326423265232662326723268232692327023271232722327323274232752327623277232782327923280232812328223283232842328523286232872328823289232902329123292232932329423295232962329723298232992330023301233022330323304233052330623307233082330923310233112331223313233142331523316233172331823319233202332123322233232332423325233262332723328233292333023331233322333323334233352333623337233382333923340233412334223343233442334523346233472334823349233502335123352233532335423355233562335723358233592336023361233622336323364233652336623367233682336923370233712337223373233742337523376233772337823379233802338123382233832338423385233862338723388233892339023391233922339323394233952339623397233982339923400234012340223403234042340523406234072340823409234102341123412234132341423415234162341723418234192342023421234222342323424234252342623427234282342923430234312343223433234342343523436234372343823439234402344123442234432344423445234462344723448234492345023451234522345323454234552345623457234582345923460234612346223463234642346523466234672346823469234702347123472234732347423475234762347723478234792348023481234822348323484234852348623487234882348923490234912349223493234942349523496234972349823499235002350123502235032350423505235062350723508235092351023511235122351323514235152351623517235182351923520235212352223523235242352523526235272352823529235302353123532235332353423535235362353723538235392354023541235422354323544235452354623547235482354923550235512355223553235542355523556235572355823559235602356123562235632356423565235662356723568235692357023571235722357323574235752357623577235782357923580235812358223583235842358523586235872358823589235902359123592235932359423595235962359723598235992360023601236022360323604236052360623607236082360923610236112361223613236142361523616236172361823619236202362123622236232362423625236262362723628236292363023631236322363323634236352363623637236382363923640236412364223643236442364523646236472364823649236502365123652236532365423655236562365723658236592366023661236622366323664236652366623667236682366923670236712367223673236742367523676236772367823679236802368123682236832368423685236862368723688236892369023691236922369323694236952369623697236982369923700237012370223703237042370523706237072370823709237102371123712237132371423715237162371723718237192372023721237222372323724237252372623727237282372923730237312373223733237342373523736237372373823739237402374123742237432374423745237462374723748237492375023751237522375323754237552375623757237582375923760237612376223763237642376523766237672376823769237702377123772237732377423775237762377723778237792378023781237822378323784237852378623787237882378923790237912379223793237942379523796237972379823799238002380123802238032380423805238062380723808238092381023811238122381323814238152381623817238182381923820238212382223823238242382523826238272382823829238302383123832238332383423835238362383723838238392384023841238422384323844238452384623847238482384923850238512385223853238542385523856238572385823859238602386123862238632386423865238662386723868238692387023871238722387323874238752387623877238782387923880238812388223883238842388523886238872388823889238902389123892238932389423895238962389723898238992390023901239022390323904239052390623907239082390923910239112391223913239142391523916239172391823919239202392123922239232392423925239262392723928239292393023931239322393323934239352393623937239382393923940239412394223943239442394523946239472394823949239502395123952239532395423955239562395723958239592396023961239622396323964239652396623967239682396923970239712397223973239742397523976239772397823979239802398123982239832398423985239862398723988239892399023991239922399323994239952399623997239982399924000240012400224003240042400524006240072400824009240102401124012240132401424015240162401724018240192402024021240222402324024240252402624027240282402924030240312403224033240342403524036240372403824039240402404124042240432404424045240462404724048240492405024051240522405324054240552405624057240582405924060240612406224063240642406524066240672406824069240702407124072240732407424075240762407724078240792408024081240822408324084240852408624087240882408924090240912409224093240942409524096240972409824099241002410124102241032410424105241062410724108241092411024111241122411324114241152411624117241182411924120241212412224123241242412524126241272412824129241302413124132241332413424135241362413724138241392414024141241422414324144241452414624147241482414924150241512415224153241542415524156241572415824159241602416124162241632416424165241662416724168241692417024171241722417324174241752417624177241782417924180241812418224183241842418524186241872418824189241902419124192241932419424195241962419724198241992420024201242022420324204242052420624207242082420924210242112421224213242142421524216242172421824219242202422124222242232422424225242262422724228242292423024231242322423324234242352423624237242382423924240242412424224243242442424524246242472424824249242502425124252242532425424255242562425724258242592426024261242622426324264242652426624267242682426924270242712427224273242742427524276242772427824279242802428124282242832428424285242862428724288242892429024291242922429324294242952429624297242982429924300243012430224303243042430524306243072430824309243102431124312243132431424315243162431724318243192432024321243222432324324243252432624327243282432924330243312433224333243342433524336243372433824339243402434124342243432434424345243462434724348243492435024351243522435324354243552435624357243582435924360243612436224363243642436524366243672436824369243702437124372243732437424375243762437724378243792438024381243822438324384243852438624387243882438924390243912439224393243942439524396243972439824399244002440124402244032440424405244062440724408244092441024411244122441324414244152441624417244182441924420244212442224423244242442524426244272442824429244302443124432244332443424435244362443724438244392444024441244422444324444244452444624447244482444924450244512445224453244542445524456244572445824459244602446124462244632446424465244662446724468244692447024471244722447324474244752447624477244782447924480244812448224483244842448524486244872448824489244902449124492244932449424495244962449724498244992450024501245022450324504245052450624507245082450924510245112451224513245142451524516245172451824519245202452124522245232452424525245262452724528245292453024531245322453324534245352453624537245382453924540245412454224543245442454524546245472454824549245502455124552245532455424555245562455724558245592456024561245622456324564245652456624567245682456924570245712457224573245742457524576245772457824579245802458124582245832458424585245862458724588245892459024591245922459324594245952459624597245982459924600246012460224603246042460524606246072460824609246102461124612246132461424615246162461724618246192462024621246222462324624246252462624627246282462924630246312463224633246342463524636246372463824639246402464124642246432464424645246462464724648246492465024651246522465324654246552465624657246582465924660246612466224663246642466524666246672466824669246702467124672246732467424675246762467724678246792468024681246822468324684246852468624687246882468924690246912469224693246942469524696246972469824699247002470124702247032470424705247062470724708247092471024711247122471324714247152471624717247182471924720247212472224723247242472524726247272472824729247302473124732247332473424735247362473724738247392474024741247422474324744247452474624747247482474924750247512475224753247542475524756247572475824759247602476124762247632476424765247662476724768247692477024771247722477324774247752477624777247782477924780247812478224783247842478524786247872478824789247902479124792247932479424795247962479724798247992480024801248022480324804248052480624807248082480924810248112481224813248142481524816248172481824819248202482124822248232482424825248262482724828248292483024831248322483324834248352483624837248382483924840248412484224843248442484524846248472484824849248502485124852248532485424855248562485724858248592486024861248622486324864248652486624867248682486924870248712487224873248742487524876248772487824879248802488124882248832488424885248862488724888248892489024891248922489324894248952489624897248982489924900249012490224903249042490524906249072490824909249102491124912249132491424915249162491724918249192492024921249222492324924249252492624927249282492924930249312493224933249342493524936249372493824939249402494124942249432494424945249462494724948249492495024951249522495324954249552495624957249582495924960249612496224963249642496524966249672496824969249702497124972249732497424975249762497724978249792498024981249822498324984249852498624987249882498924990249912499224993249942499524996249972499824999250002500125002250032500425005250062500725008250092501025011250122501325014250152501625017250182501925020250212502225023250242502525026250272502825029250302503125032250332503425035250362503725038250392504025041250422504325044250452504625047250482504925050250512505225053250542505525056250572505825059250602506125062250632506425065250662506725068250692507025071250722507325074250752507625077250782507925080250812508225083250842508525086250872508825089250902509125092250932509425095250962509725098250992510025101251022510325104251052510625107251082510925110251112511225113251142511525116251172511825119251202512125122251232512425125251262512725128251292513025131251322513325134251352513625137251382513925140251412514225143251442514525146251472514825149251502515125152251532515425155251562515725158251592516025161251622516325164251652516625167251682516925170251712517225173251742517525176251772517825179251802518125182251832518425185251862518725188251892519025191251922519325194251952519625197251982519925200252012520225203252042520525206252072520825209252102521125212252132521425215252162521725218252192522025221252222522325224252252522625227252282522925230252312523225233252342523525236252372523825239252402524125242252432524425245252462524725248252492525025251252522525325254252552525625257252582525925260252612526225263252642526525266252672526825269252702527125272252732527425275252762527725278252792528025281252822528325284252852528625287252882528925290252912529225293252942529525296252972529825299253002530125302253032530425305253062530725308253092531025311253122531325314253152531625317253182531925320253212532225323253242532525326253272532825329253302533125332253332533425335253362533725338253392534025341253422534325344253452534625347253482534925350253512535225353253542535525356253572535825359253602536125362253632536425365253662536725368253692537025371253722537325374253752537625377253782537925380253812538225383253842538525386253872538825389253902539125392253932539425395253962539725398253992540025401254022540325404254052540625407254082540925410254112541225413254142541525416254172541825419254202542125422254232542425425254262542725428254292543025431254322543325434254352543625437254382543925440254412544225443254442544525446254472544825449254502545125452254532545425455254562545725458254592546025461254622546325464254652546625467254682546925470254712547225473254742547525476254772547825479254802548125482254832548425485254862548725488254892549025491254922549325494254952549625497254982549925500255012550225503255042550525506255072550825509255102551125512255132551425515255162551725518255192552025521255222552325524255252552625527255282552925530255312553225533255342553525536255372553825539255402554125542255432554425545255462554725548255492555025551255522555325554255552555625557255582555925560255612556225563255642556525566255672556825569255702557125572255732557425575255762557725578255792558025581255822558325584255852558625587255882558925590255912559225593255942559525596255972559825599256002560125602256032560425605256062560725608256092561025611256122561325614256152561625617256182561925620256212562225623256242562525626256272562825629256302563125632256332563425635256362563725638256392564025641256422564325644256452564625647256482564925650256512565225653256542565525656256572565825659256602566125662256632566425665256662566725668256692567025671256722567325674256752567625677256782567925680256812568225683256842568525686256872568825689256902569125692256932569425695256962569725698256992570025701257022570325704257052570625707257082570925710257112571225713257142571525716257172571825719257202572125722257232572425725257262572725728257292573025731257322573325734257352573625737257382573925740257412574225743257442574525746257472574825749257502575125752257532575425755257562575725758257592576025761257622576325764257652576625767257682576925770257712577225773257742577525776257772577825779257802578125782257832578425785257862578725788257892579025791257922579325794257952579625797257982579925800258012580225803258042580525806258072580825809258102581125812258132581425815258162581725818258192582025821258222582325824258252582625827258282582925830258312583225833258342583525836258372583825839258402584125842258432584425845258462584725848258492585025851258522585325854258552585625857258582585925860258612586225863258642586525866258672586825869258702587125872258732587425875258762587725878258792588025881258822588325884258852588625887258882588925890258912589225893258942589525896258972589825899259002590125902259032590425905259062590725908259092591025911259122591325914259152591625917259182591925920259212592225923259242592525926259272592825929259302593125932259332593425935259362593725938259392594025941259422594325944259452594625947259482594925950259512595225953259542595525956259572595825959259602596125962259632596425965259662596725968259692597025971259722597325974259752597625977259782597925980259812598225983259842598525986259872598825989259902599125992259932599425995259962599725998259992600026001260022600326004260052600626007260082600926010260112601226013260142601526016260172601826019260202602126022260232602426025260262602726028260292603026031260322603326034260352603626037260382603926040260412604226043260442604526046260472604826049260502605126052260532605426055260562605726058260592606026061260622606326064260652606626067260682606926070260712607226073260742607526076260772607826079260802608126082260832608426085260862608726088260892609026091260922609326094260952609626097260982609926100261012610226103261042610526106261072610826109261102611126112261132611426115261162611726118261192612026121261222612326124261252612626127261282612926130261312613226133261342613526136261372613826139261402614126142261432614426145261462614726148261492615026151261522615326154261552615626157261582615926160261612616226163261642616526166261672616826169261702617126172261732617426175261762617726178261792618026181261822618326184261852618626187261882618926190261912619226193261942619526196261972619826199262002620126202262032620426205262062620726208262092621026211262122621326214262152621626217262182621926220262212622226223262242622526226262272622826229262302623126232262332623426235262362623726238262392624026241262422624326244262452624626247262482624926250262512625226253262542625526256262572625826259262602626126262262632626426265262662626726268262692627026271262722627326274262752627626277262782627926280262812628226283262842628526286262872628826289262902629126292262932629426295262962629726298262992630026301263022630326304263052630626307263082630926310263112631226313263142631526316263172631826319263202632126322263232632426325263262632726328263292633026331263322633326334263352633626337263382633926340263412634226343263442634526346263472634826349263502635126352263532635426355263562635726358263592636026361263622636326364263652636626367263682636926370263712637226373263742637526376263772637826379263802638126382263832638426385263862638726388263892639026391263922639326394263952639626397263982639926400264012640226403264042640526406264072640826409264102641126412264132641426415264162641726418264192642026421264222642326424264252642626427264282642926430264312643226433264342643526436264372643826439264402644126442264432644426445264462644726448264492645026451264522645326454264552645626457264582645926460264612646226463264642646526466264672646826469264702647126472264732647426475264762647726478264792648026481264822648326484264852648626487264882648926490264912649226493264942649526496264972649826499265002650126502265032650426505265062650726508265092651026511265122651326514265152651626517265182651926520265212652226523265242652526526265272652826529265302653126532265332653426535265362653726538265392654026541265422654326544265452654626547265482654926550265512655226553265542655526556265572655826559265602656126562265632656426565265662656726568265692657026571265722657326574265752657626577265782657926580265812658226583265842658526586265872658826589265902659126592265932659426595265962659726598265992660026601266022660326604266052660626607266082660926610266112661226613266142661526616266172661826619266202662126622266232662426625266262662726628266292663026631266322663326634266352663626637266382663926640266412664226643266442664526646266472664826649266502665126652266532665426655266562665726658266592666026661266622666326664266652666626667266682666926670266712667226673266742667526676266772667826679266802668126682266832668426685266862668726688266892669026691266922669326694266952669626697266982669926700267012670226703267042670526706267072670826709267102671126712267132671426715267162671726718267192672026721267222672326724267252672626727267282672926730267312673226733267342673526736267372673826739267402674126742267432674426745267462674726748267492675026751267522675326754267552675626757267582675926760267612676226763267642676526766267672676826769267702677126772267732677426775267762677726778267792678026781267822678326784267852678626787267882678926790267912679226793267942679526796267972679826799268002680126802268032680426805268062680726808268092681026811268122681326814268152681626817268182681926820268212682226823268242682526826268272682826829268302683126832268332683426835268362683726838268392684026841268422684326844268452684626847268482684926850268512685226853268542685526856268572685826859268602686126862268632686426865268662686726868268692687026871268722687326874268752687626877268782687926880268812688226883268842688526886268872688826889268902689126892268932689426895268962689726898268992690026901269022690326904269052690626907269082690926910269112691226913269142691526916269172691826919269202692126922269232692426925269262692726928269292693026931269322693326934269352693626937269382693926940269412694226943269442694526946269472694826949269502695126952269532695426955269562695726958269592696026961269622696326964269652696626967269682696926970269712697226973269742697526976269772697826979269802698126982269832698426985269862698726988269892699026991269922699326994269952699626997269982699927000270012700227003270042700527006
  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. origin:
  3816. description: 原产地
  3817. type: string
  3818. remark:
  3819. description: 备注
  3820. type: string
  3821. userid:
  3822. description: 用户ID
  3823. type: integer
  3824. warehouseids:
  3825. description: 仓库ID - 多个, 逗号分隔
  3826. type: string
  3827. warehouseinfosdisplay:
  3828. type: string
  3829. wrtradeorderid:
  3830. description: '[委托单号]买委托单ID(320+Unix秒时间戳(10位)+xxxxxx)'
  3831. type: integer
  3832. zscategory:
  3833. description: 钻石分类 - 枚举”ZSCategory“
  3834. type: integer
  3835. zscategorydisplay:
  3836. type: string
  3837. zsclaritytype:
  3838. description: 净度 - 两个, 逗号分隔
  3839. type: string
  3840. zsclaritytypedisplay:
  3841. type: string
  3842. zscolortype:
  3843. description: 颜色 - 两个, 逗号分隔
  3844. type: string
  3845. zscolortypedisplay:
  3846. type: string
  3847. zscrystaltype:
  3848. description: 晶型 - 多个,逗号分隔
  3849. type: string
  3850. zscrystaltypedisplay:
  3851. type: string
  3852. zscurrencytype:
  3853. description: 货币类型 - 多个, 逗号分隔
  3854. type: string
  3855. zscurrencytypedisplay:
  3856. type: string
  3857. zscuttype:
  3858. description: 切工 - 两个, 逗号分隔
  3859. type: string
  3860. zscuttypedisplay:
  3861. type: string
  3862. zsczcolor1type:
  3863. description: 彩钻颜色1, 逗号分隔
  3864. type: string
  3865. zsczcolor1typedisplay:
  3866. type: string
  3867. zsczcolor2type:
  3868. description: 彩钻颜色2, 逗号分隔
  3869. type: string
  3870. zsczcolor2typedisplay:
  3871. type: string
  3872. zsczcolor3type:
  3873. description: 彩钻颜色3, 逗号分隔
  3874. type: string
  3875. zsczcolor3typedisplay:
  3876. type: string
  3877. zsfluorescencetype:
  3878. description: 荧光 - 多个, 逗号分隔
  3879. type: string
  3880. zsfluorescencetypedisplay:
  3881. type: string
  3882. zspolishtype:
  3883. description: 抛光度 - 两个, 逗号分隔
  3884. type: string
  3885. zspolishtypedisplay:
  3886. type: string
  3887. zsshapetype:
  3888. description: 形状 - 多个, 逗号分隔
  3889. type: string
  3890. zsshapetypedisplay:
  3891. type: string
  3892. zssize:
  3893. description: 尺寸 - 两个小数, 逗号分隔
  3894. type: string
  3895. zsstyletype:
  3896. description: 款式 - 多个, 逗号分隔
  3897. type: string
  3898. zsstyletypedisplay:
  3899. type: string
  3900. zssymmetrytype:
  3901. description: 对称度 - 两个, 逗号分隔
  3902. type: string
  3903. zssymmetrytypedisplay:
  3904. type: string
  3905. zstabledisplay:
  3906. description: 求购信息
  3907. type: string
  3908. type: object
  3909. models.DgFactoryItem:
  3910. properties:
  3911. dgfactoryitemid:
  3912. description: 选择项ID(SEQ_DGFACTORYITEM)
  3913. type: integer
  3914. dgfactoryitemtypeid:
  3915. description: 要素项类型
  3916. type: integer
  3917. dgfactoryitemvalue:
  3918. description: 要素项值(类型为仓库时填写仓库名称)
  3919. type: string
  3920. orderindex:
  3921. description: 顺序
  3922. type: integer
  3923. type: object
  3924. models.Division:
  3925. properties:
  3926. autoid:
  3927. description: 自增ID
  3928. type: integer
  3929. divisioncode:
  3930. description: 行政代码
  3931. type: string
  3932. divisionlevel:
  3933. description: 行政级别
  3934. type: string
  3935. divisionname:
  3936. description: 行政名称
  3937. type: string
  3938. modifierid:
  3939. description: 修改人
  3940. type: integer
  3941. modifytime:
  3942. description: 修改时间
  3943. type: string
  3944. parentcode:
  3945. description: 上级行政代码
  3946. type: string
  3947. pathname:
  3948. description: 路径名称
  3949. type: string
  3950. postcode:
  3951. description: 邮政编码
  3952. type: string
  3953. separablename:
  3954. description: 可拆分的全称
  3955. type: string
  3956. shortcode:
  3957. description: 地区简码
  3958. type: string
  3959. required:
  3960. - autoid
  3961. - divisioncode
  3962. type: object
  3963. models.Enumdicitem:
  3964. properties:
  3965. autoid:
  3966. description: 自增ID
  3967. type: integer
  3968. bankmappedvalue:
  3969. description: 银行服务对应值
  3970. type: string
  3971. enumdiccode:
  3972. description: 所属枚举代码
  3973. type: string
  3974. enumdicid:
  3975. description: 所属枚举ID
  3976. type: integer
  3977. enumdicname:
  3978. description: 枚举项名称
  3979. type: string
  3980. enumitemname:
  3981. description: 枚举项值
  3982. type: integer
  3983. enumitemstatus:
  3984. description: 枚举项状态 - 1.启用 2.不启用
  3985. type: integer
  3986. enumitemvalue:
  3987. description: 通用值 - [币种通用简写]
  3988. type: string
  3989. param1:
  3990. description: 参数1[币种:币种小数位]
  3991. type: string
  3992. param2:
  3993. description: 参数1[币种:币种显示单位]
  3994. type: string
  3995. remark:
  3996. description: 备注
  3997. type: string
  3998. required:
  3999. - autoid
  4000. - enumdiccode
  4001. - enumdicid
  4002. - enumitemname
  4003. type: object
  4004. models.Ermcp2AreaExposure:
  4005. properties:
  4006. areauserid:
  4007. description: 所属机构
  4008. type: integer
  4009. enumdicname:
  4010. description: 单位
  4011. type: string
  4012. futureqty:
  4013. description: 期货套期量
  4014. type: number
  4015. futureqtychange:
  4016. description: 期货变动量 = FutureQty - OriFutureQty
  4017. type: number
  4018. goodsunitid:
  4019. description: 单位ID
  4020. type: integer
  4021. hedgedspotexposure:
  4022. description: 被套期现货敞口量
  4023. type: number
  4024. hedgedspratio:
  4025. description: 套期期现比例 = 期货套期量/被套期现货敞口量
  4026. type: number
  4027. hedgedtotalexposourechange:
  4028. description: 被套期敞口变动量 = HedgedTotalExposure - OriHedgedTotalExposure
  4029. type: number
  4030. hedgedtotalexposure:
  4031. description: 套期敞口量 = 被套期现货敞口量+期货套期量
  4032. type: number
  4033. hedgeplanqty:
  4034. description: 套期计划量
  4035. type: number
  4036. hedgeplanqtychange:
  4037. description: 计划变动量 = HedgePlanQty - OriHedgePlanQty
  4038. type: number
  4039. hedgespotqty:
  4040. description: 被套期现货量
  4041. type: number
  4042. middlegoodsid:
  4043. description: 套保品种
  4044. type: integer
  4045. middlegoodsname:
  4046. description: 套保品种名称
  4047. type: string
  4048. orifutureqty:
  4049. description: 期初期货套期量
  4050. type: number
  4051. orihedgedspotexposure:
  4052. description: 期初被套期现货敞口量
  4053. type: number
  4054. orihedgedtotalexposure:
  4055. description: 期初套期敞口量
  4056. type: number
  4057. orihedgeplanqty:
  4058. description: 期初套期计划量
  4059. type: number
  4060. orihedgespotqty:
  4061. description: 期初被套期现货量
  4062. type: number
  4063. orispotexposure:
  4064. description: 期初现货敞口量
  4065. type: number
  4066. orispotqty:
  4067. description: 期初现货总量
  4068. type: number
  4069. oritotalexposure:
  4070. description: 期初总敞口量
  4071. type: number
  4072. spotexposure:
  4073. description: 现货敞口量
  4074. type: number
  4075. spotqty:
  4076. description: 现货总量
  4077. type: number
  4078. spotqtychange:
  4079. description: 现货变动量 = SpotQty - OriSpotQty
  4080. type: number
  4081. spratio:
  4082. description: 总期现比例 = 期货套期量/现货敞口量
  4083. type: number
  4084. totalexposure:
  4085. description: 总敞口量 = 现货敞口量 + 期货套期量
  4086. type: number
  4087. totalexposurechange:
  4088. description: 总敞口变动量 = TotalExposure - OriTotalExposure
  4089. type: number
  4090. updatetime:
  4091. description: 更新时间 --DATE
  4092. type: string
  4093. type: object
  4094. models.Ermcp2hedgeditem:
  4095. properties:
  4096. accountname:
  4097. description: 套期主体
  4098. type: string
  4099. applyid:
  4100. description: 申请人
  4101. type: integer
  4102. applysrc:
  4103. description: 申请来源 - 1:管理端 2:终端
  4104. type: integer
  4105. areauserid:
  4106. description: 企业ID
  4107. type: integer
  4108. auditid:
  4109. description: 审核人
  4110. type: integer
  4111. auditremark:
  4112. description: 审核备注
  4113. type: string
  4114. auditsrc:
  4115. description: 审核来源 - 1:管理端 2:终端
  4116. type: integer
  4117. audittime:
  4118. description: 审核时间
  4119. type: string
  4120. audittradedate:
  4121. description: 审核交易日(yyyyMMdd)
  4122. type: string
  4123. createtime:
  4124. description: 申请时间
  4125. type: string
  4126. curprice:
  4127. description: 当前市场价
  4128. type: number
  4129. curstock:
  4130. description: 期末库存量 = 采购总量 - 销售总量
  4131. type: number
  4132. deliverygoodsid:
  4133. description: 现货品种ID
  4134. type: integer
  4135. enddate:
  4136. description: 完成日期
  4137. type: string
  4138. endtradedate:
  4139. description: 完成交易日
  4140. type: string
  4141. enumdicname:
  4142. description: 单位
  4143. type: string
  4144. exeamount:
  4145. description: 执行市价总额
  4146. type: number
  4147. exeavgprice:
  4148. description: 执行市场均价= 执行市价总额 / 执行现货量
  4149. type: number
  4150. execontractamount:
  4151. description: 执行定价总额
  4152. type: number
  4153. exeqty:
  4154. description: 执行现货量
  4155. type: number
  4156. exerestamount:
  4157. description: 执行剩余市价总额【现货贸易】
  4158. type: number
  4159. futurefloatpl:
  4160. description: 期货浮动损益
  4161. type: number
  4162. futurehedgepl:
  4163. description: 期货实际损益
  4164. type: number
  4165. futurehedgeplchange:
  4166. description: 期货实际损益变动
  4167. type: number
  4168. futurepl:
  4169. description: 期货套期损益
  4170. type: number
  4171. futureplchange:
  4172. description: 期货套期损益变动
  4173. type: number
  4174. hedgeamount:
  4175. description: 套期市价总额
  4176. type: number
  4177. hedgecontractamount:
  4178. description: 套期定价总额 【定价采购合同】【现货贸易】
  4179. type: number
  4180. hedgeditemid:
  4181. description: 被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)
  4182. type: string
  4183. hedgeditemname:
  4184. description: 项目名称
  4185. type: string
  4186. hedgeditemnum:
  4187. description: 项目编号
  4188. type: string
  4189. hedgeditemstatus:
  4190. description: 项目状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4191. type: integer
  4192. hedgedtype:
  4193. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4194. type: integer
  4195. hedgeqty:
  4196. description: 套期现货量
  4197. type: number
  4198. hedgerate:
  4199. description: 套保比率
  4200. type: number
  4201. hedgerestamount:
  4202. description: 套期剩余市价总额【现货贸易】
  4203. type: number
  4204. hedgesumpl:
  4205. description: 套期汇总损益 = 期货汇总损益 + 现货汇总损益
  4206. type: number
  4207. middlegoodslist:
  4208. description: 套期商品列表
  4209. items:
  4210. $ref: '#/definitions/models.Ermcp2himiddlegoods'
  4211. type: array
  4212. oriavgprice:
  4213. description: 期初市场均价 = 套期市价总额 / 套期现货量
  4214. type: number
  4215. orifuturehedgepl:
  4216. description: 期初期货实际损益
  4217. type: number
  4218. orifuturepl:
  4219. description: 期初期货套期损益
  4220. type: number
  4221. orispothedgepl:
  4222. description: 期初现货实际损益
  4223. type: number
  4224. orispotpl:
  4225. description: 期初现货套期损益
  4226. type: number
  4227. planenddate:
  4228. description: 计划结束日期
  4229. type: string
  4230. planstartdate:
  4231. description: 计划开始日期
  4232. type: string
  4233. remark:
  4234. description: 备注
  4235. type: string
  4236. spotbookamount:
  4237. description: 现货账面总额
  4238. type: number
  4239. spotfloatpl:
  4240. description: 现货浮动损益 =(当前市场价 - 期初市场价)*未执行现货量 * 方向(销售计划 为 -1, 其它为1)
  4241. type: number
  4242. spothedgepl:
  4243. description: 现货套期损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)
  4244. type: number
  4245. spothedgeplchange:
  4246. description: 现货实际损益变动
  4247. type: number
  4248. spotpl:
  4249. description: 现货套期损益 = 现货实际损益 + 现货浮动损益
  4250. type: number
  4251. spotplchange:
  4252. description: 现货套期损益变动
  4253. type: number
  4254. spottradepl:
  4255. description: 现货贸易损益【现货贸易】= 执行合同定价总额 - 套期合同定价总额
  4256. type: number
  4257. sumobspl:
  4258. description: 汇总绝对损益【现货贸易】=现货贸易损益+增值税损益+期货套期损益
  4259. type: number
  4260. tradeuserid:
  4261. description: 交易用户ID
  4262. type: integer
  4263. unexeqty:
  4264. description: 未执行现货量 = 套期现货量 - 执行现货量
  4265. type: number
  4266. updatetime:
  4267. description: 更新时间
  4268. type: string
  4269. vatpl:
  4270. description: 增值税损益【现货贸易】= 现货贸易损益 * (增值税率 /(1+增值税率))
  4271. type: number
  4272. vatrate:
  4273. description: 增值税
  4274. type: number
  4275. wrstandardid:
  4276. description: 现货商品ID
  4277. type: integer
  4278. wrstandardname:
  4279. description: 商品名称
  4280. type: string
  4281. type: object
  4282. models.Ermcp2hedgeditemlink:
  4283. properties:
  4284. areauserid:
  4285. description: 企业ID
  4286. type: integer
  4287. createtime:
  4288. description: '[关联时间]创建时间'
  4289. type: string
  4290. customeruserid:
  4291. description: 对手方 【3:采购合同 4:销售合同】
  4292. type: integer
  4293. deliverygoodsid:
  4294. description: 现货品种ID
  4295. type: integer
  4296. enumdicname:
  4297. description: 单位
  4298. type: string
  4299. hedgeditemid:
  4300. description: 被套期项目ID
  4301. type: integer
  4302. hedgeditemlinkid:
  4303. description: 现货关联表ID(626+Unix秒时间戳(10位)+xxxxxx)
  4304. type: integer
  4305. hedgeditemnum:
  4306. description: 项目编号
  4307. type: string
  4308. hedgedtype:
  4309. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4310. type: integer
  4311. relatedamount:
  4312. description: 市价总额 = 关联数量 * 期初市场价
  4313. type: number
  4314. relatedhedgeplanid:
  4315. description: 关联计划ID 【1:采购计划 2:销售计划】
  4316. type: integer
  4317. relatedqty:
  4318. description: 关联数量
  4319. type: number
  4320. relatedspotcontractid:
  4321. description: 关联合同ID 【3:采购合同 4:销售合同】
  4322. type: integer
  4323. relatedtype:
  4324. description: 关联类型 - 1:套期关联 2:执行关联
  4325. type: integer
  4326. spotgoodsbrandid:
  4327. description: 现货品牌ID
  4328. type: integer
  4329. spotpricedamount:
  4330. description: '[关联定价总额]定价总额'
  4331. type: number
  4332. spotpricedavgprice:
  4333. description: '[关联现货均价]现货均价 = 定价总额 / 关联数量'
  4334. type: number
  4335. spottype:
  4336. description: 现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  4337. type: integer
  4338. tradeuserid:
  4339. description: 交易用户ID
  4340. type: integer
  4341. unexeqty:
  4342. description: 未执行现货量【项目关联时值】
  4343. type: number
  4344. wrstandardid:
  4345. description: 现货商品ID
  4346. type: integer
  4347. wrstandardname:
  4348. description: 现货商品
  4349. type: string
  4350. required:
  4351. - relatedspotcontractid
  4352. type: object
  4353. models.Ermcp2hedgeditemsDetail:
  4354. properties:
  4355. accountname:
  4356. description: 套期主体
  4357. type: string
  4358. areauserid:
  4359. description: 企业ID
  4360. type: integer
  4361. createtime:
  4362. description: '[日期时间]创建时间'
  4363. type: string
  4364. customeruserid:
  4365. description: 对手方 【3:采购合同 4:销售合同】
  4366. type: integer
  4367. deliverygoodsid:
  4368. description: 现货品种ID
  4369. type: integer
  4370. enumdicname:
  4371. description: 单位
  4372. type: string
  4373. hedgeditemid:
  4374. description: 被套期项目ID
  4375. type: string
  4376. hedgeditemspotid:
  4377. description: 现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)
  4378. type: string
  4379. hedgedtype:
  4380. description: 套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4381. type: integer
  4382. hedgeplanno:
  4383. description: 计划编号
  4384. type: string
  4385. middlegoodschange:
  4386. description: 套期商品变化量 = RELATEDQTY * 折算系数 * (1/(1+增值税))
  4387. type: number
  4388. oriavgprice:
  4389. description: 期初市场价[当初市场价]
  4390. type: number
  4391. relatedamount:
  4392. description: 市价总额 = 关联数量 * 期初市场价
  4393. type: number
  4394. relatedhedgeplanid:
  4395. description: 关联计划ID 【1:采购计划 2:销售计划】
  4396. type: integer
  4397. relatedqty:
  4398. description: '[期间变化量]关联数量'
  4399. type: number
  4400. relatedspotcontractid:
  4401. description: 关联合同ID 【3:采购合同 4:销售合同】
  4402. type: integer
  4403. relatedtype:
  4404. description: 关联类型 - 1:套期关联 2:执行关联
  4405. type: integer
  4406. spotgoodsbrandid:
  4407. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID" = 2
  4408. type: integer
  4409. spotpricedamount:
  4410. description: 定价总额
  4411. type: number
  4412. spotpricedavgprice:
  4413. description: 现货均价 = 定价总额 / 关联数量
  4414. type: number
  4415. spottype:
  4416. description: 现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  4417. type: integer
  4418. tradeuserid:
  4419. description: 交易用户ID
  4420. type: integer
  4421. unexeqty:
  4422. description: 未执行现货量 = 套期现货量 - 执行现货量
  4423. type: number
  4424. wrstandardid:
  4425. description: 现货商品ID
  4426. type: integer
  4427. wrstandardname:
  4428. description: 现货商品
  4429. type: string
  4430. type: object
  4431. models.Ermcp2hedgeditemspot:
  4432. properties:
  4433. areauserid:
  4434. description: 企业ID
  4435. type: integer
  4436. createtime:
  4437. description: 创建时间
  4438. type: string
  4439. customeruserid:
  4440. description: 对手方 【3:采购合同 4:销售合同】
  4441. type: integer
  4442. deliverygoodsid:
  4443. description: 现货品种ID
  4444. type: integer
  4445. enumdicname:
  4446. description: 单位
  4447. type: string
  4448. hedgeditemid:
  4449. description: 被套期项目ID
  4450. type: string
  4451. hedgeditemspotid:
  4452. description: 现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)
  4453. type: string
  4454. hedgedtype:
  4455. description: 套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4456. type: integer
  4457. hedgeplanno:
  4458. description: 计划编号
  4459. type: string
  4460. oriavgprice:
  4461. description: 期初市场价[当初市场价]
  4462. type: number
  4463. relatedamount:
  4464. description: 市价总额 = 关联数量 * 期初市场价
  4465. type: number
  4466. relatedhedgeplanid:
  4467. description: 关联计划ID 【1:采购计划 2:销售计划】
  4468. type: integer
  4469. relatedqty:
  4470. description: 关联数量[数量]
  4471. type: number
  4472. relatedspotcontractid:
  4473. description: 关联合同ID 【3:采购合同 4:销售合同】
  4474. type: integer
  4475. relatedtype:
  4476. description: 关联类型 - 1:套期关联 2:执行关联
  4477. type: integer
  4478. spotgoodsbrandid:
  4479. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID" = 2
  4480. type: integer
  4481. spotpricedamount:
  4482. description: 定价总额
  4483. type: number
  4484. spotpricedavgprice:
  4485. description: 现货均价 = 定价总额 / 关联数量
  4486. type: number
  4487. spottype:
  4488. description: 现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  4489. type: integer
  4490. tradeuserid:
  4491. description: 交易用户ID
  4492. type: integer
  4493. wrstandardid:
  4494. description: 现货商品ID
  4495. type: integer
  4496. wrstandardname:
  4497. description: 现货商品
  4498. type: string
  4499. required:
  4500. - hedgeditemid
  4501. type: object
  4502. models.Ermcp2hedgeditemspotDetail:
  4503. properties:
  4504. accountname:
  4505. description: 对手方
  4506. type: string
  4507. areauserid:
  4508. description: 企业ID
  4509. type: integer
  4510. brandname:
  4511. description: 品牌
  4512. type: string
  4513. contractno:
  4514. description: 合同编号
  4515. type: string
  4516. createtime:
  4517. description: 创建时间
  4518. type: string
  4519. customeruserid:
  4520. description: 对手方 【3:采购合同 4:销售合同】
  4521. type: integer
  4522. deliverygoodsid:
  4523. description: 现货品种ID
  4524. type: integer
  4525. enumdicname:
  4526. description: 单位
  4527. type: string
  4528. hedgeditemid:
  4529. description: 被套期项目ID
  4530. type: string
  4531. hedgeditemspotid:
  4532. description: 现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)
  4533. type: string
  4534. hedgedtype:
  4535. description: 套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4536. type: integer
  4537. oriavgprice:
  4538. description: 期初市场价[当初市场价]
  4539. type: number
  4540. relatedamount:
  4541. description: 市价总额 = 关联数量 * 期初市场价
  4542. type: number
  4543. relatedhedgeplanid:
  4544. description: 关联计划ID 【1:采购计划 2:销售计划】
  4545. type: integer
  4546. relatedqty:
  4547. description: 关联数量[数量]
  4548. type: number
  4549. relatedspotcontractid:
  4550. description: 关联合同ID 【3:采购合同 4:销售合同】
  4551. type: integer
  4552. relatedtype:
  4553. description: 关联类型 - 1:套期关联 2:执行关联
  4554. type: integer
  4555. spotgoodsbrandid:
  4556. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID" = 2
  4557. type: integer
  4558. spotpricedamount:
  4559. description: 定价总额[金额]
  4560. type: number
  4561. spotpricedavgprice:
  4562. description: 现货均价 = 定价总额 / 关联数量
  4563. type: number
  4564. spottype:
  4565. description: 现货类型[合同类型] - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  4566. type: integer
  4567. tradeuserid:
  4568. description: 交易用户ID
  4569. type: integer
  4570. wrstandardid:
  4571. description: 现货商品ID
  4572. type: integer
  4573. wrstandardname:
  4574. description: 现货商品
  4575. type: string
  4576. required:
  4577. - hedgeditemid
  4578. type: object
  4579. models.Ermcp2himiddlegoods:
  4580. properties:
  4581. futurehedgeqty:
  4582. description: 期货持仓套期量
  4583. type: number
  4584. hedgeditemid:
  4585. description: 被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)
  4586. type: integer
  4587. hiexpsoure:
  4588. description: 期现敞口量 = 未执行套期量 + 期货持仓套期量
  4589. type: number
  4590. middlegoodscode:
  4591. description: 套保商品代码
  4592. type: string
  4593. middlegoodsid:
  4594. description: 套保品种ID
  4595. type: integer
  4596. middlegoodsname:
  4597. description: 套保商品名称
  4598. type: string
  4599. unexehedgeqty:
  4600. description: 未执行套期量 = 未执行现货量*折算系数* (1/(1+增值税)) * 套期比例(项目上)
  4601. type: number
  4602. required:
  4603. - hedgeditemid
  4604. - middlegoodsid
  4605. type: object
  4606. models.Ermcp2stockspotchangelog:
  4607. properties:
  4608. accountname:
  4609. description: 套期主体
  4610. type: string
  4611. aftervalue:
  4612. description: 现货量
  4613. type: number
  4614. beforevalue:
  4615. description: 变更前现货量
  4616. type: number
  4617. contractno:
  4618. description: '[编号]现货合同编号'
  4619. type: string
  4620. contracttype:
  4621. description: 现货合同类型 - 1:采购 -1:销售
  4622. type: integer
  4623. createtime:
  4624. description: 创建时间
  4625. type: string
  4626. customerusername:
  4627. description: 对手方
  4628. type: string
  4629. deliverygoodsid:
  4630. description: 现货品种ID
  4631. type: integer
  4632. exetype:
  4633. description: 执行类型 - 1:采购合同 2:销售合同 3:生产入库 4:生产出库
  4634. type: integer
  4635. logid:
  4636. description: 流水ID(604+Unix秒时间戳(10位)+xxxxxx)
  4637. type: string
  4638. logvalue:
  4639. description: '[期间变化量]现货量变更值'
  4640. type: number
  4641. middlegoodschange:
  4642. description: 套期商品变化量 = LogValue * 折算系数 * (1/(1+增值税))
  4643. type: number
  4644. operatelogtype:
  4645. description: 操作流水类型 - 2:点价数量 21:正常完结(合同) 22:异常终止(合同) 24:采购入库 25:销售出库 26:生产入库
  4646. 27:生产出库
  4647. type: integer
  4648. relatedid:
  4649. description: 现货合同ID
  4650. type: integer
  4651. spotgoodsbrandid:
  4652. description: 现货品牌ID
  4653. type: integer
  4654. tradedate:
  4655. description: 交易日(yyyyMMdd)
  4656. type: string
  4657. userid:
  4658. description: 机构ID
  4659. type: integer
  4660. warehouseinfoid:
  4661. description: 仓库ID
  4662. type: integer
  4663. wrfactortypeid:
  4664. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  4665. type: integer
  4666. wrstandardid:
  4667. description: 现货商品ID
  4668. type: integer
  4669. wrstandardname:
  4670. description: 商品名称
  4671. type: string
  4672. type: object
  4673. models.Ermcp3AreaSpot:
  4674. properties:
  4675. areauserid:
  4676. description: 所属机构
  4677. type: integer
  4678. convertratio:
  4679. description: 套保系数
  4680. type: number
  4681. decreaseqty:
  4682. description: 减少数量=-(销售已定价数量+采购计划数量)
  4683. type: number
  4684. enumdicname:
  4685. description: 单位名称
  4686. type: string
  4687. increaseqty:
  4688. description: 增加数量=销售计划数量+采购已定价数量
  4689. type: number
  4690. oritoalspotqty:
  4691. description: 昨日数量
  4692. type: number
  4693. totalspotqty:
  4694. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  4695. type: number
  4696. unitid:
  4697. description: 现货商品单位id
  4698. type: integer
  4699. updatetime:
  4700. description: 更新时间
  4701. type: string
  4702. wrstandardcode:
  4703. description: 现货商品代码
  4704. type: string
  4705. wrstandardid:
  4706. description: 现货商品ID(SEQ_WRSTANDARD)
  4707. type: integer
  4708. wrstandardname:
  4709. description: 现货商品名称
  4710. type: string
  4711. type: object
  4712. models.Ermcp3AreaSpotDetail:
  4713. properties:
  4714. contracttype:
  4715. description: 合同类型 1-采购 -1-销售
  4716. type: integer
  4717. createtime:
  4718. description: 创建时间
  4719. type: string
  4720. enumdicname:
  4721. description: 现货商品单位名称
  4722. type: string
  4723. logtype:
  4724. description: 记录类型 1-套保 2-现货合同
  4725. type: integer
  4726. qty:
  4727. description: 数量
  4728. type: number
  4729. recordname:
  4730. description: 类型名称
  4731. type: string
  4732. relatedid:
  4733. description: 套保计划ID/现货合同ID
  4734. type: string
  4735. relatedno:
  4736. description: 编号
  4737. type: string
  4738. strtime:
  4739. description: 时间
  4740. type: string
  4741. wrstandardcode:
  4742. description: 现货商品代码
  4743. type: string
  4744. wrstandardid:
  4745. description: 现货商品ID(SEQ_WRSTANDARD)
  4746. type: integer
  4747. wrstandardname:
  4748. description: 现货商品名称
  4749. type: string
  4750. type: object
  4751. models.Ermcp3AreaSpotPLReport:
  4752. properties:
  4753. accountid:
  4754. description: 期货账户ID (作废, 默认为0)
  4755. type: integer
  4756. accountname:
  4757. description: 机构名称
  4758. type: string
  4759. actualpl:
  4760. description: 现货损益
  4761. type: number
  4762. areauserid:
  4763. description: 所属机构\交易用户ID
  4764. type: integer
  4765. begindate:
  4766. description: 开始交易日
  4767. type: string
  4768. biztype:
  4769. description: 业务类型 - 1:套保 2:套利
  4770. type: integer
  4771. brandname:
  4772. description: 品牌名称
  4773. type: string
  4774. curamount:
  4775. description: 期末额
  4776. type: number
  4777. curaverageprice:
  4778. description: 期初均价
  4779. type: number
  4780. curbuyamount:
  4781. description: 期末采购总额
  4782. type: number
  4783. curbuyqty:
  4784. description: 期末采购总量
  4785. type: number
  4786. curmarketvalue:
  4787. description: 期初均价
  4788. type: number
  4789. curqty:
  4790. description: 期末量
  4791. type: number
  4792. currencyid:
  4793. description: 结算币种ID【原值】
  4794. type: integer
  4795. currencyname:
  4796. description: 币种名称
  4797. type: string
  4798. cursellamount:
  4799. description: 期末销售总额
  4800. type: number
  4801. cursellqty:
  4802. description: 期末销售总量
  4803. type: number
  4804. curspotprice:
  4805. description: 期初均价
  4806. type: number
  4807. cycletime:
  4808. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4809. type: string
  4810. cycletype:
  4811. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4812. type: integer
  4813. deliverygoodscode:
  4814. description: 现货品种代码
  4815. type: string
  4816. deliverygoodsid:
  4817. description: 现货品种ID
  4818. type: integer
  4819. deliverygoodsname:
  4820. description: 现货品种名称
  4821. type: string
  4822. enddate:
  4823. description: 结束交易日
  4824. type: string
  4825. enumdicname:
  4826. description: 现货品种单位名称(作废)
  4827. type: string
  4828. floatpl:
  4829. description: 期初均价
  4830. type: number
  4831. goodsunitid:
  4832. description: 现货品种单位id(作废)
  4833. type: integer
  4834. oriamount:
  4835. description: 期初额
  4836. type: number
  4837. oriaverageprice:
  4838. description: 期初均价
  4839. type: number
  4840. oribuyamount:
  4841. description: 期初采购总额
  4842. type: number
  4843. oribuyqty:
  4844. description: 期初采购总量
  4845. type: number
  4846. oriqty:
  4847. description: 期初量
  4848. type: number
  4849. orisellamount:
  4850. description: 期初销售总额
  4851. type: number
  4852. orisellqty:
  4853. description: 期初销售总量
  4854. type: number
  4855. reckondate:
  4856. description: 日照时期(yyyyMMdd)
  4857. type: string
  4858. spotgoodsbrandid:
  4859. description: 现货品牌ID
  4860. type: integer
  4861. todaybuyamount:
  4862. description: 今日采购额(今采购额)
  4863. type: number
  4864. todaybuyaverageprice:
  4865. description: 期初均价
  4866. type: number
  4867. todaybuyqty:
  4868. description: 今日采购量(今采购量)
  4869. type: number
  4870. todayinqty:
  4871. description: 今日入库量(今入库量)
  4872. type: number
  4873. todayoutqty:
  4874. description: 今日出库量(今出库量)
  4875. type: number
  4876. todaysellamount:
  4877. description: 今日销售额(今销售额)
  4878. type: number
  4879. todaysellaverageprice:
  4880. description: 期初均价
  4881. type: number
  4882. todaysellqty:
  4883. description: 今日销售量(今销售量)
  4884. type: number
  4885. unitid:
  4886. description: 品类单位id
  4887. type: integer
  4888. unitidname:
  4889. description: 品类单位名称
  4890. type: string
  4891. updatetime:
  4892. description: 更新时间
  4893. type: string
  4894. wrfactortypeid:
  4895. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  4896. type: integer
  4897. wrstandardcode:
  4898. description: 现货商品(品类)代码
  4899. type: string
  4900. wrstandardid:
  4901. description: 现货品类ID
  4902. type: integer
  4903. wrstandardname:
  4904. description: 现货商品(品类)名称
  4905. type: string
  4906. type: object
  4907. models.Ermcp3AreaStock:
  4908. properties:
  4909. brandname:
  4910. description: 品牌名称
  4911. type: string
  4912. curstock:
  4913. description: 期末库存量(今日量)
  4914. type: number
  4915. deliverygoodscode:
  4916. description: 现货品种代码
  4917. type: string
  4918. deliverygoodsid:
  4919. description: 现货品种id
  4920. type: integer
  4921. deliverygoodsname:
  4922. description: 现货品种名称
  4923. type: string
  4924. enumdicname:
  4925. description: 单位名称
  4926. type: string
  4927. goodsunitid:
  4928. description: 现货商品单位id
  4929. type: integer
  4930. oristock:
  4931. description: 期初库存量(昨日量)
  4932. type: number
  4933. spotgoodsbrandid:
  4934. description: 现货品牌ID
  4935. type: integer
  4936. todaybuyinqty:
  4937. description: 今日采购入库量
  4938. type: number
  4939. todayproduceinqty:
  4940. description: 今日生产入库量
  4941. type: number
  4942. todayproduceoutqty:
  4943. description: 今日生产出库量
  4944. type: number
  4945. todayselloutqty:
  4946. description: 今日销售出库量
  4947. type: number
  4948. unitid:
  4949. description: 单位id
  4950. type: integer
  4951. updatetime:
  4952. description: 更新时间
  4953. type: string
  4954. userid:
  4955. description: 机构ID
  4956. type: integer
  4957. username:
  4958. description: 机构名称
  4959. type: string
  4960. warehousecode:
  4961. description: 仓库代码
  4962. type: string
  4963. warehouseinfoid:
  4964. description: 仓库ID
  4965. type: string
  4966. warehousename:
  4967. description: 仓库名称
  4968. type: string
  4969. warehousetype:
  4970. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4971. type: integer
  4972. wrstandardcode:
  4973. description: 品类代码
  4974. type: string
  4975. wrstandardid:
  4976. description: 品类ID
  4977. type: string
  4978. wrstandardname:
  4979. description: 品类名称
  4980. type: string
  4981. required:
  4982. - userid
  4983. type: object
  4984. models.Ermcp3AreaStockApply:
  4985. properties:
  4986. applyid:
  4987. description: 申请人
  4988. type: integer
  4989. applyname:
  4990. description: 申请人名称
  4991. type: string
  4992. applyremark:
  4993. description: 申请备注
  4994. type: string
  4995. applysrc:
  4996. description: 申请来源 - 1:管理端 2:终端
  4997. type: integer
  4998. applystatus:
  4999. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  5000. type: integer
  5001. applytime:
  5002. description: 申请时间
  5003. type: string
  5004. auditid:
  5005. description: 审核人
  5006. type: integer
  5007. auditname:
  5008. description: 审核人名称
  5009. type: string
  5010. auditremark:
  5011. description: 审核备注
  5012. type: string
  5013. auditsrc:
  5014. description: 审核来源 - 1:管理端 2:终端
  5015. type: integer
  5016. audittime:
  5017. description: 审核时间
  5018. type: string
  5019. audittradedate:
  5020. description: 审核交易日(yyyyMMdd)
  5021. type: string
  5022. brandname:
  5023. description: 品牌名称
  5024. type: string
  5025. buynickname:
  5026. description: 采购方昵称
  5027. type: string
  5028. buyuserid:
  5029. description: 采购方userid
  5030. type: integer
  5031. buyusername:
  5032. description: 采购方名称
  5033. type: string
  5034. contractno:
  5035. description: 合同编号
  5036. type: string
  5037. contractqty:
  5038. description: 合同量
  5039. type: number
  5040. contracttype:
  5041. description: 现货合同类型 - 1:采购 -1:销售
  5042. type: integer
  5043. deliverygoodscode:
  5044. description: 现货品种代码
  5045. type: string
  5046. deliverygoodsid:
  5047. description: 现货品种id
  5048. type: integer
  5049. deliverygoodsname:
  5050. description: 现货品种名称
  5051. type: string
  5052. detailjson:
  5053. description: 明细数据
  5054. type: string
  5055. enumdicname:
  5056. description: 现货商品单位名称
  5057. type: string
  5058. inoutapplyid:
  5059. description: 申请ID(607+Unix秒时间戳(10位)+xxxxxx)
  5060. type: string
  5061. inouttype:
  5062. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  5063. type: integer
  5064. pricetype:
  5065. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  5066. type: integer
  5067. qty:
  5068. description: 数量
  5069. type: number
  5070. sellnickname:
  5071. description: 销售方昵称
  5072. type: string
  5073. selluserid:
  5074. description: 销售方userid
  5075. type: integer
  5076. sellusername:
  5077. description: 销售方名称
  5078. type: string
  5079. spotcontractid:
  5080. description: 关联现货合同ID
  5081. type: string
  5082. spotgoodsbrandid:
  5083. description: 现货品牌ID
  5084. type: integer
  5085. unitid:
  5086. description: 单位id
  5087. type: integer
  5088. userid:
  5089. description: 机构ID
  5090. type: integer
  5091. warehousecode:
  5092. description: 仓库代码
  5093. type: string
  5094. warehouseinfoid:
  5095. description: 现货仓库ID
  5096. type: string
  5097. warehousename:
  5098. description: 仓库名称
  5099. type: string
  5100. warehousetype:
  5101. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  5102. type: integer
  5103. wrstandardcode:
  5104. description: 品类代码
  5105. type: string
  5106. wrstandardid:
  5107. description: 品类ID
  5108. type: integer
  5109. wrstandardname:
  5110. description: 品类名称
  5111. type: string
  5112. type: object
  5113. models.Ermcp3AreaStockApplySum:
  5114. properties:
  5115. brandname:
  5116. description: 品牌名称
  5117. type: string
  5118. inouttype:
  5119. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  5120. type: integer
  5121. spotcontractid:
  5122. description: 关联现货合同ID
  5123. type: string
  5124. spotgoodsbrandid:
  5125. description: 品牌id
  5126. type: integer
  5127. totalqty:
  5128. description: 总数量
  5129. type: number
  5130. wrstandardid:
  5131. description: 品类id
  5132. type: integer
  5133. wrstandardname:
  5134. description: 品类名称
  5135. type: string
  5136. type: object
  5137. models.Ermcp3AreaStockReportEx:
  5138. properties:
  5139. begindate:
  5140. description: 开始交易日
  5141. type: string
  5142. brandname:
  5143. description: 品牌名称
  5144. type: string
  5145. curstock:
  5146. description: 期末库存量
  5147. type: number
  5148. cycletime:
  5149. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5150. type: string
  5151. cycletype:
  5152. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5153. type: integer
  5154. deliverygoodscode:
  5155. description: 现货品种代码
  5156. type: string
  5157. deliverygoodsid:
  5158. description: 现货品种id
  5159. type: integer
  5160. deliverygoodsname:
  5161. description: 现货品种名称
  5162. type: string
  5163. diffqty:
  5164. description: 库存变化量 = 期末 - 期初
  5165. type: number
  5166. enddate:
  5167. description: 结束交易日
  5168. type: string
  5169. enumdicname:
  5170. description: 单位名称
  5171. type: string
  5172. goodsunitid:
  5173. description: 现货单位id
  5174. type: integer
  5175. oristock:
  5176. description: 期初库存量
  5177. type: number
  5178. reckondate:
  5179. description: 日照时期(yyyyMMdd)
  5180. type: string
  5181. spotgoodsbrandid:
  5182. description: 现货品牌ID
  5183. type: integer
  5184. todaybuyinqty:
  5185. description: 今采购入库量
  5186. type: number
  5187. todayproduceinqty:
  5188. description: 今内部入库量
  5189. type: number
  5190. todayproduceoutqty:
  5191. description: 今内部出库量
  5192. type: number
  5193. todayselloutqty:
  5194. description: 今销售出库量
  5195. type: number
  5196. unbuyinqty:
  5197. description: 采购未入库量(数据库未找到相关字段?)
  5198. type: number
  5199. unitid:
  5200. description: 品类单位id
  5201. type: integer
  5202. unselloutqty:
  5203. description: 销售未出库量(数据库未找到相关字段?)
  5204. type: number
  5205. updatetime:
  5206. description: 更新时间
  5207. type: string
  5208. userid:
  5209. description: 机构ID
  5210. type: integer
  5211. username:
  5212. description: 机构名称
  5213. type: string
  5214. warehousecode:
  5215. description: 仓库代码
  5216. type: string
  5217. warehouseinfoid:
  5218. description: 仓库ID
  5219. type: string
  5220. warehousename:
  5221. description: 仓库名称
  5222. type: string
  5223. warehousetype:
  5224. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  5225. type: integer
  5226. wrstandardcode:
  5227. description: 品类代码
  5228. type: string
  5229. wrstandardid:
  5230. description: 品类ID
  5231. type: integer
  5232. wrstandardname:
  5233. description: 品类名称
  5234. type: string
  5235. type: object
  5236. models.Ermcp3ArealSumPL:
  5237. properties:
  5238. accountname:
  5239. description: 机构名称
  5240. type: string
  5241. areauserid:
  5242. description: 所属机构\交易用户ID
  5243. type: integer
  5244. begindate:
  5245. description: 开始交易日
  5246. type: string
  5247. currencyid:
  5248. description: 结算币种ID
  5249. type: integer
  5250. currencyname:
  5251. description: 币种名称
  5252. type: string
  5253. cycletime:
  5254. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5255. type: string
  5256. cycletype:
  5257. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5258. type: integer
  5259. enddate:
  5260. description: 结束交易日
  5261. type: string
  5262. enumdicname:
  5263. description: 单位名称(套保品种)
  5264. type: string
  5265. futureactualpl:
  5266. description: 期货损益
  5267. type: number
  5268. futurefloatpl:
  5269. description: 期货浮动损益
  5270. type: number
  5271. futurespotratio:
  5272. description: 期现比例 = 期货头寸总量 / 现货头寸总量
  5273. type: number
  5274. goodsunitid:
  5275. description: 套保品种单位id
  5276. type: integer
  5277. hedgeexposurepl:
  5278. description: 套保敞口损益
  5279. type: number
  5280. middlegoodscode:
  5281. description: 套保品种代码
  5282. type: string
  5283. middlegoodsid:
  5284. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  5285. type: integer
  5286. middlegoodsname:
  5287. description: 套保品种名称
  5288. type: string
  5289. reckondate:
  5290. description: 日照时期(yyyyMMdd)
  5291. type: string
  5292. spotactualpl:
  5293. description: 现货损益
  5294. type: number
  5295. spotfloatpl:
  5296. description: 现货浮动损益
  5297. type: number
  5298. sumactualpl:
  5299. description: 实际损益 = (ActualPL + FutureActualPL)
  5300. type: number
  5301. sumpl:
  5302. description: 总敞口损益 | 汇总损益
  5303. type: number
  5304. totalfutureqty:
  5305. description: 期货头寸总量
  5306. type: number
  5307. totalneedhedgeqty:
  5308. description: 应套保总量
  5309. type: number
  5310. totalspotqty:
  5311. description: 现货头寸总量
  5312. type: number
  5313. updatetime:
  5314. description: 更新时间
  5315. type: string
  5316. type: object
  5317. models.Ermcp3Brand:
  5318. properties:
  5319. areauserid:
  5320. description: 用户id
  5321. type: integer
  5322. brandid:
  5323. description: 品牌id
  5324. type: integer
  5325. brandname:
  5326. description: 品牌名称
  5327. type: string
  5328. deliverygoodsid:
  5329. description: 品种ID
  5330. type: integer
  5331. isvalid:
  5332. description: 是否有效
  5333. type: integer
  5334. type: object
  5335. models.Ermcp3Contract:
  5336. properties:
  5337. accountid:
  5338. description: 期货账户id
  5339. type: string
  5340. amount:
  5341. description: 金额 [1:一口价、3:暂定价]
  5342. type: number
  5343. attachment:
  5344. description: 附件
  5345. type: string
  5346. auditremark:
  5347. description: 审核意见
  5348. type: string
  5349. audittime:
  5350. description: 审核时间
  5351. type: string
  5352. biztype:
  5353. description: 业务类型 1-套保 2-套利
  5354. type: integer
  5355. brandname:
  5356. description: 品牌名称
  5357. type: string
  5358. buynickname:
  5359. description: 销售方昵称
  5360. type: string
  5361. buyuserid:
  5362. description: 采购方ID
  5363. type: integer
  5364. buyusername:
  5365. description: 采购方名称
  5366. type: string
  5367. contracctstatus:
  5368. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5369. type: integer
  5370. contractmargin:
  5371. description: 合同保证金
  5372. type: number
  5373. contractno:
  5374. description: 现货合同编号
  5375. type: string
  5376. contracttype:
  5377. description: 现货合同类型 - 1:采购 -1:销售
  5378. type: integer
  5379. convertfactor:
  5380. description: 标仓系数(品类)
  5381. type: number
  5382. createtime:
  5383. description: 创建时间
  5384. type: string
  5385. currencyid:
  5386. description: 币种id
  5387. type: integer
  5388. currencyname:
  5389. description: 币种名称
  5390. type: string
  5391. deliveryenddate:
  5392. description: 交收期(结束)
  5393. type: string
  5394. deliverygoodscode:
  5395. description: 现货品种代码
  5396. type: string
  5397. deliverygoodsid:
  5398. description: 现货品种ID
  5399. type: integer
  5400. deliverygoodsname:
  5401. description: 现货品种名称
  5402. type: string
  5403. deliverystartdate:
  5404. description: 交收期(开始)
  5405. type: string
  5406. enddate:
  5407. description: 点价结束日期 [2:点价 3:暂定价]
  5408. type: string
  5409. enumdicname:
  5410. description: 单位名称
  5411. type: string
  5412. goodscode:
  5413. description: 点价合约代码
  5414. type: string
  5415. goodsid:
  5416. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  5417. type: integer
  5418. goodsname:
  5419. description: 点价商品名称
  5420. type: string
  5421. margin:
  5422. description: 当前保证金
  5423. type: number
  5424. meruserid:
  5425. description: 跟单员id
  5426. type: integer
  5427. meruserlogincode:
  5428. description: 跟单员登录代码
  5429. type: string
  5430. merusername:
  5431. description: 跟单员名称
  5432. type: string
  5433. pointdesc:
  5434. description: 点价备注
  5435. type: string
  5436. price:
  5437. description: 价格\暂定价 [1:一口价、3:暂定价]
  5438. type: number
  5439. pricemove:
  5440. description: 升贴水 [2:点价 3:暂定价]
  5441. type: number
  5442. pricetype:
  5443. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  5444. type: integer
  5445. producttype:
  5446. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  5447. type: integer
  5448. qty:
  5449. description: 数量
  5450. type: number
  5451. remark:
  5452. description: 备注
  5453. type: string
  5454. saleuserid:
  5455. description: 业务员id
  5456. type: integer
  5457. saleuserlogincode:
  5458. description: 业务员登录代码
  5459. type: string
  5460. saleusername:
  5461. description: 业务员名称
  5462. type: string
  5463. sellnickname:
  5464. description: 采购方昵称
  5465. type: string
  5466. selluserid:
  5467. description: 销售方ID
  5468. type: integer
  5469. sellusername:
  5470. description: 销售方名称
  5471. type: string
  5472. spotcontractid:
  5473. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  5474. type: string
  5475. spotgoodsbrandid:
  5476. description: 现货品牌ID(DGFactoryItem表的ID)
  5477. type: integer
  5478. spotgoodsdesc:
  5479. description: 商品型号
  5480. type: string
  5481. startdate:
  5482. description: 点价开始日期 [2:点价 3:暂定价]
  5483. type: string
  5484. subjectid:
  5485. description: 交易主体ID
  5486. type: integer
  5487. subjectname:
  5488. description: 交易主体名称
  5489. type: string
  5490. tradeuserid:
  5491. description: 交易员id
  5492. type: integer
  5493. tradeuserlogincode:
  5494. description: 交易员登录代码
  5495. type: string
  5496. tradeusername:
  5497. description: 交易员名称
  5498. type: string
  5499. unitid:
  5500. description: 单位id(取品类上的单位id)
  5501. type: integer
  5502. updatetime:
  5503. description: 更新时间
  5504. type: string
  5505. userid:
  5506. description: 所属机构ID
  5507. type: integer
  5508. vatrate:
  5509. description: 增值税率
  5510. type: number
  5511. wrstandardcode:
  5512. description: 品类代码
  5513. type: string
  5514. wrstandardid:
  5515. description: 品类ID
  5516. type: integer
  5517. wrstandardname:
  5518. description: 品类名称
  5519. type: string
  5520. type: object
  5521. models.Ermcp3ContractMiddleGoodsCfg:
  5522. properties:
  5523. agreeunit:
  5524. description: 合约乘数
  5525. type: number
  5526. convertratio:
  5527. description: 期货品种系数
  5528. type: number
  5529. covertqty:
  5530. description: 折算手数 =【待点价量 / (合约乘数*期货品种系数) 】
  5531. type: integer
  5532. middlegoodsid:
  5533. description: 套保品种ID
  5534. type: integer
  5535. middlegoodspricedqty3:
  5536. description: 已定价量(套保品种应套保量) = MiddleGoodsPricedQty2 * 套保比率
  5537. example: "0"
  5538. type: string
  5539. pendingpricedqty:
  5540. description: 待点价量
  5541. example: "0"
  5542. type: string
  5543. relatedmiddlegoodsqty:
  5544. description: 已关联量(套保品种-期货)
  5545. example: "0"
  5546. type: string
  5547. spotcontractid:
  5548. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  5549. type: string
  5550. type: object
  5551. models.Ermcp3ExposureContractDetail:
  5552. properties:
  5553. biztype:
  5554. description: 业务类型 1-套保 2-套利
  5555. type: integer
  5556. brandname:
  5557. description: 品牌名称
  5558. type: string
  5559. buyuserid:
  5560. description: 采购方id
  5561. type: integer
  5562. buyusername:
  5563. description: 采购方名称
  5564. type: string
  5565. contractno:
  5566. description: 合同编号
  5567. type: string
  5568. contracttype:
  5569. description: 现货合同类型 - 1:采购 -1:销售
  5570. type: integer
  5571. convertfactor:
  5572. description: 标仓系数
  5573. type: number
  5574. convertratio:
  5575. description: 折算系数(套保品种)
  5576. type: number
  5577. curqty:
  5578. description: 今定价量
  5579. type: number
  5580. deliverygoodscode:
  5581. description: 现货品种代码
  5582. type: string
  5583. deliverygoodsid:
  5584. description: 现货品种id
  5585. type: integer
  5586. deliverygoodsname:
  5587. description: 现货品种名称
  5588. type: string
  5589. diffhedgeqty:
  5590. description: 套保变动量
  5591. type: number
  5592. diffneedhedgeqty:
  5593. description: 应套保变动量
  5594. type: number
  5595. diffqty:
  5596. description: 套保品种今变动量
  5597. type: number
  5598. enumdicname:
  5599. description: 单位名称
  5600. type: string
  5601. mgunitname:
  5602. description: 套保品种单位名称
  5603. type: string
  5604. middlegoodscode:
  5605. description: 套保品种代码
  5606. type: string
  5607. middlegoodsid:
  5608. description: 套保品种id
  5609. type: integer
  5610. middlegoodsname:
  5611. description: 套保品种名称
  5612. type: string
  5613. needarbitrageratio:
  5614. description: 应套利比例
  5615. type: number
  5616. needhedgeratio:
  5617. description: 应套保比例
  5618. type: number
  5619. pricedqty:
  5620. description: 已定价量
  5621. type: number
  5622. qty:
  5623. description: 合同量
  5624. type: number
  5625. reckondate:
  5626. description: 交易日(reckondate)
  5627. type: string
  5628. selluserid:
  5629. description: 销售方id
  5630. type: integer
  5631. sellusername:
  5632. description: 销售方名称
  5633. type: string
  5634. spotcontractid:
  5635. description: 合同id
  5636. type: string
  5637. todaypricedqty:
  5638. description: 今定价量
  5639. type: number
  5640. tradedate:
  5641. description: 交易日
  5642. type: string
  5643. unitid:
  5644. description: 品类单位id
  5645. type: integer
  5646. userid:
  5647. description: 机构id
  5648. type: integer
  5649. username:
  5650. description: 交易用户
  5651. type: string
  5652. wrstandardcode:
  5653. description: 现货商品代码
  5654. type: string
  5655. wrstandardid:
  5656. description: 现货商品id
  5657. type: integer
  5658. wrstandardname:
  5659. description: 现货商品名称
  5660. type: string
  5661. type: object
  5662. models.Ermcp3ExposureDetail:
  5663. properties:
  5664. areauserid:
  5665. description: 机构ID
  5666. type: integer
  5667. changeQty:
  5668. description: 套保变动量
  5669. type: number
  5670. contracttype:
  5671. description: 现货合同类型 - 1:采购 -1:销售
  5672. type: integer
  5673. convertfactor:
  5674. description: 标仓系数
  5675. type: number
  5676. convertratio:
  5677. description: 折算系数
  5678. type: number
  5679. createtime:
  5680. description: 时间
  5681. type: string
  5682. enumdicname:
  5683. description: 现货商品单位名称
  5684. type: string
  5685. logtype:
  5686. description: 类型 - 1:套保计划 2:现货合同
  5687. type: integer
  5688. mgunitid:
  5689. description: 套保品种单位id
  5690. type: integer
  5691. mgunitidname:
  5692. description: 套保品种单位名称
  5693. type: string
  5694. middlegoodsId:
  5695. description: 套保商品id
  5696. type: integer
  5697. middlegoodscode:
  5698. description: 套保商品代码
  5699. type: string
  5700. middlegoodsname:
  5701. description: 套保商品名称
  5702. type: string
  5703. qty:
  5704. description: 数量
  5705. type: number
  5706. relateNo:
  5707. description: 现货合同/套保计划编号
  5708. type: string
  5709. unitid:
  5710. description: 现货商品单位id
  5711. type: integer
  5712. wrstandardcode:
  5713. description: 现货商品代码
  5714. type: string
  5715. wrstandardid:
  5716. description: 现货商品ID(SEQ_WRSTANDARD)
  5717. type: integer
  5718. wrstandardname:
  5719. description: 现货商品名称
  5720. type: string
  5721. type: object
  5722. models.Ermcp3ExposureFutuDetail:
  5723. properties:
  5724. accountid:
  5725. description: 交易账户id
  5726. type: integer
  5727. accountname:
  5728. description: 交易账户
  5729. type: string
  5730. begindate:
  5731. description: 开始交易日
  5732. type: string
  5733. buyorsell:
  5734. description: 方向 0-买 1-卖
  5735. type: integer
  5736. diffmgqty:
  5737. description: 套保品种今变化量
  5738. type: number
  5739. diffneedqty:
  5740. description: 应套保总量变化量
  5741. type: number
  5742. difftradeqty:
  5743. description: 交易品种今变化量
  5744. type: number
  5745. enddate:
  5746. description: 结束交易日
  5747. type: string
  5748. enumdicname:
  5749. description: 单位名称
  5750. type: string
  5751. goodscode:
  5752. description: 商品代码
  5753. type: string
  5754. goodsid:
  5755. description: 商品id
  5756. type: integer
  5757. goodsname:
  5758. description: 商品名称
  5759. type: string
  5760. holdqty:
  5761. description: 期末持仓量
  5762. type: number
  5763. middlegoodscode:
  5764. description: 套保商品代码
  5765. type: string
  5766. middlegoodsid:
  5767. description: 套保商品id
  5768. type: integer
  5769. middlegoodsname:
  5770. description: 套保商品名称
  5771. type: string
  5772. oriholdqty:
  5773. description: 期初持仓量
  5774. type: number
  5775. reckondate:
  5776. description: 交易日(RECKONDATE)
  5777. type: string
  5778. todaycloseqty:
  5779. description: 今平仓量
  5780. type: number
  5781. todayopenqty:
  5782. description: 今开仓量
  5783. type: number
  5784. tradedate:
  5785. description: 交易日(RECKONDATE)
  5786. type: string
  5787. username:
  5788. description: 用户名称(交易用户)
  5789. type: string
  5790. type: object
  5791. models.Ermcp3ExposureHedgeplanDetail:
  5792. properties:
  5793. biztype:
  5794. description: 业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利
  5795. type: integer
  5796. changqty:
  5797. description: 应套保总量变化量
  5798. type: number
  5799. contracttype:
  5800. description: 计划类型 - 1:采购 -1:销售
  5801. type: integer
  5802. convertratio:
  5803. description: 折算系数(套保品种)
  5804. type: number
  5805. deliverygoodscode:
  5806. description: 现货商品代码
  5807. type: string
  5808. deliverygoodsid:
  5809. description: 现货商品id
  5810. type: integer
  5811. deliverygoodsname:
  5812. description: 现货商吕名称
  5813. type: string
  5814. dgunitid:
  5815. description: 现货商品单位id
  5816. type: integer
  5817. dgunitidname:
  5818. description: 单位名称(现货商品)
  5819. type: string
  5820. diffqty:
  5821. description: 套保品种今变动量
  5822. type: number
  5823. enumdicname:
  5824. description: 单位名称(品类)
  5825. type: string
  5826. hedgeplanid:
  5827. description: 套保计划id
  5828. type: string
  5829. hedgeplanno:
  5830. description: 套保计划名称
  5831. type: string
  5832. hedgeplanstatus:
  5833. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5834. type: integer
  5835. mgunitidname:
  5836. description: 单位名称(套保商品)
  5837. type: string
  5838. middlegoodscode:
  5839. description: 套保品种代码
  5840. type: string
  5841. middlegoodsid:
  5842. description: 套保品种id
  5843. type: integer
  5844. middlegoodsname:
  5845. description: 套保品种名称
  5846. type: string
  5847. needarbitrageratio:
  5848. description: 应套利比例
  5849. type: number
  5850. needhedgeratio:
  5851. description: 应套保比例
  5852. type: number
  5853. pricedqty:
  5854. description: 已定价量
  5855. type: number
  5856. qty:
  5857. description: 合同量
  5858. type: number
  5859. reckondate:
  5860. description: 交易日(reckondate)
  5861. type: string
  5862. tradedate:
  5863. description: 交易日(登记日)
  5864. type: string
  5865. unitid:
  5866. description: 品类单位id
  5867. type: integer
  5868. userid:
  5869. description: 机构id
  5870. type: integer
  5871. wrstandardcode:
  5872. description: 品类代码
  5873. type: string
  5874. wrstandardid:
  5875. description: 品类id
  5876. type: integer
  5877. wrstandardname:
  5878. description: 品类名称
  5879. type: string
  5880. type: object
  5881. models.Ermcp3ExposureParamChLog:
  5882. properties:
  5883. accountid:
  5884. description: 期货账户ID (作废, 默认为0)
  5885. type: integer
  5886. aftervalue:
  5887. description: 应套保\套利量变更后(调整后应套保总量)
  5888. type: number
  5889. areauserid:
  5890. description: 所属机构\交易用户ID
  5891. type: integer
  5892. beforevalue:
  5893. description: 应套保\套利量变更前(调整前应套保总量)
  5894. type: number
  5895. begindate:
  5896. description: 开始交易日
  5897. type: string
  5898. changelogtype:
  5899. description: 变更流水类型 - 1:套保比率变更 2:套利比率变更
  5900. type: integer
  5901. curvalue:
  5902. description: 当前套保\套利量(套保总量|套利总量)
  5903. type: number
  5904. diffvalue:
  5905. description: 应套保总量变化量
  5906. type: number
  5907. enddate:
  5908. description: 结束交易日
  5909. type: string
  5910. logdatetime:
  5911. description: 流水日期
  5912. type: string
  5913. logid:
  5914. description: 流水ID(609+Unix秒时间戳(10位)+xxxxxx)
  5915. type: string
  5916. middlegoodscode:
  5917. description: 套保品种代码
  5918. type: string
  5919. middlegoodsid:
  5920. description: 套保品种
  5921. type: integer
  5922. middlegoodsname:
  5923. description: 套保品种名称
  5924. type: string
  5925. paramaftervalue:
  5926. description: 参数变更后(调整后参数值)
  5927. type: number
  5928. parambeforevalue:
  5929. description: 参数变更前(调整前参数值)
  5930. type: number
  5931. reckondate:
  5932. description: 交易日(reckondate)
  5933. type: string
  5934. tradedate:
  5935. description: 交易日(yyyyMMdd)
  5936. type: string
  5937. type: object
  5938. models.Ermcp3ExpourseReport:
  5939. properties:
  5940. accountid:
  5941. description: 期货账户ID (作废, 默认为0)
  5942. type: integer
  5943. accountname:
  5944. description: 机构名称
  5945. type: string
  5946. arbitrageqty:
  5947. description: 套利量
  5948. type: number
  5949. areauserid:
  5950. description: 所属机构\交易用户ID
  5951. type: integer
  5952. begindate:
  5953. description: 开始交易日
  5954. type: string
  5955. buyfutureqty:
  5956. description: 买入期货数量
  5957. type: number
  5958. buyplanqty:
  5959. description: 采购计划数量
  5960. type: number
  5961. buypricedqty:
  5962. description: 采购合同已定价数量
  5963. type: number
  5964. cycletime:
  5965. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5966. type: string
  5967. cycletype:
  5968. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5969. type: integer
  5970. diffexposure:
  5971. description: 变动量(套保敞口)
  5972. type: number
  5973. difffutuqty:
  5974. description: 变动量(期货)
  5975. type: number
  5976. diffhedgeqty:
  5977. description: 变动量(现货应套保总量)
  5978. type: number
  5979. diffmgqtya:
  5980. description: 套保变动量
  5981. type: number
  5982. diffmgqtyb:
  5983. description: 套利变动量
  5984. type: number
  5985. diffneedqty:
  5986. description: 应套变动量 = 应套保量 - 期初应套保量 + 应套利量 - 期初应套利量
  5987. type: number
  5988. diffqty:
  5989. description: 变动量(总敞口)
  5990. type: number
  5991. diffspotqty:
  5992. description: 变动量(现货) | 除税变动量
  5993. type: number
  5994. enddate:
  5995. description: 结束交易日
  5996. type: string
  5997. enumdicname:
  5998. description: 单位名称
  5999. type: string
  6000. hedgeqty:
  6001. description: 套保量
  6002. type: number
  6003. mgneedhedgeratio:
  6004. description: 套保比例(套保品的)
  6005. type: number
  6006. middlegoodsid:
  6007. description: 套保品种ID
  6008. type: integer
  6009. middlegoodsname:
  6010. description: 套保商品名称
  6011. type: string
  6012. middlgoodscode:
  6013. description: 套保商品代码
  6014. type: string
  6015. needarbitrageqty:
  6016. description: 应套利量
  6017. type: number
  6018. needarbitrageratio:
  6019. description: 套利比例(套保品的)
  6020. type: number
  6021. needhedgeexposoure:
  6022. description: 应套保敞口(套保敞口)
  6023. type: number
  6024. needhedgeqty:
  6025. description: 应套保量
  6026. type: number
  6027. needhedgeratio:
  6028. description: 应套保敞口比例
  6029. type: number
  6030. needqty:
  6031. description: 应套总量 = 应套保量 + 应套利量
  6032. type: number
  6033. oriarbitrageqty:
  6034. description: 期初套利量
  6035. type: number
  6036. oribuyfutureqty:
  6037. description: 期初买入期货数量
  6038. type: number
  6039. oribuyplanqty:
  6040. description: 期初采购计划数量
  6041. type: number
  6042. oribuypricedqty:
  6043. description: 期初采购合同已定价数量
  6044. type: number
  6045. orihedgeqty:
  6046. description: 期初套保量
  6047. type: number
  6048. orineedarbitrageqty:
  6049. description: 期初应套利量
  6050. type: number
  6051. orineedhedgeexposoure:
  6052. description: 期初应套保敞口
  6053. type: number
  6054. orineedhedgeqty:
  6055. description: 期初应套保量
  6056. type: number
  6057. orisellfutureqty:
  6058. description: 期初卖出期货数量
  6059. type: number
  6060. orisellplanqty:
  6061. description: 期初销售计划数量
  6062. type: number
  6063. orisellpricedqty:
  6064. description: 期初销售合同已定价数量
  6065. type: number
  6066. oritotalexposure:
  6067. description: 期初实时总敞口
  6068. type: number
  6069. oritotalfutureqty:
  6070. description: 期初期货头寸总量
  6071. type: number
  6072. oritotalneedhedgeqty:
  6073. description: 期初应套保总量
  6074. type: number
  6075. oritotalspotqty:
  6076. description: 期初现货头寸总量
  6077. type: number
  6078. reckondate:
  6079. description: 日照时期(yyyyMMdd)
  6080. type: string
  6081. sellfutureqty:
  6082. description: 卖出期货数量
  6083. type: number
  6084. sellplanqty:
  6085. description: 销售计划数量
  6086. type: number
  6087. sellpricedqty:
  6088. description: 销售合同已定价数量
  6089. type: number
  6090. totalexposure:
  6091. description: 实时总敞口(总敞口)
  6092. type: number
  6093. totalfutureqty:
  6094. description: 期货头寸总量(期货总量)
  6095. type: number
  6096. totalhedgeratio:
  6097. description: 敞口比例
  6098. type: number
  6099. totalneedhedgeqty:
  6100. description: 应套保总量(现货应套保总量)
  6101. type: number
  6102. totalspotqty:
  6103. description: 现货头寸总量 | 除税总量
  6104. type: number
  6105. unitid:
  6106. description: 单位id
  6107. type: integer
  6108. updatetime:
  6109. description: 更新时间
  6110. type: string
  6111. type: object
  6112. models.Ermcp3FinanceReport:
  6113. properties:
  6114. accountname:
  6115. description: 机构名称
  6116. type: string
  6117. areauserid:
  6118. description: 所属机构\交易用户ID
  6119. type: integer
  6120. begindate:
  6121. description: 开始交易日
  6122. type: string
  6123. biztype:
  6124. description: 业务类型 - 1:套保 2:套利
  6125. type: integer
  6126. brandname:
  6127. description: 品牌名称
  6128. type: string
  6129. buypreinvoicedamount:
  6130. description: 采购预收票额(预收票额)
  6131. type: number
  6132. buyprepaidamount:
  6133. description: 采购预付款额(预付货款额)
  6134. type: number
  6135. buytodayinvoiceamount:
  6136. description: 采购今收票额(今收票额)
  6137. type: number
  6138. buytodayrefundamount:
  6139. description: 采购今收退款额(今收退款额)
  6140. type: number
  6141. buytodaysettleamount:
  6142. description: 采购今付款额(今付货款额)
  6143. type: number
  6144. buyuninvoicedamount:
  6145. description: 采购应收票额(应收票额)
  6146. type: number
  6147. buyunpaidamount:
  6148. description: 采购应付款额(应付货款额)
  6149. type: number
  6150. currencyid:
  6151. description: 结算币种ID
  6152. type: integer
  6153. currencyname:
  6154. description: 币种名称
  6155. type: string
  6156. cycletime:
  6157. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  6158. type: string
  6159. cycletype:
  6160. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  6161. type: integer
  6162. deliverygoodscode:
  6163. description: 现货品种代码
  6164. type: string
  6165. deliverygoodsid:
  6166. description: 现货品种ID
  6167. type: integer
  6168. deliverygoodsname:
  6169. description: 现货品种名称
  6170. type: string
  6171. enddate:
  6172. description: 结束交易日
  6173. type: string
  6174. reckondate:
  6175. description: 日照时期(yyyyMMdd)
  6176. type: string
  6177. sellpreinvoicedamount:
  6178. description: 销售预开票额(预开票额)
  6179. type: number
  6180. sellprepaidamount:
  6181. description: 销售预收款额(预收货款额)
  6182. type: number
  6183. selltodayinvoiceamount:
  6184. description: 销售今开票额(今开票额)
  6185. type: number
  6186. selltodayrefundamount:
  6187. description: 销售今付退款额(今付退款额)
  6188. type: number
  6189. selltodaysettleamount:
  6190. description: 销售今收款额(今收货款额)
  6191. type: number
  6192. selluninvoicedamount:
  6193. description: 销售应开票额(应开票额)
  6194. type: number
  6195. sellunpaidamount:
  6196. description: 销售应收款额(应收货款额)
  6197. type: number
  6198. spotgoodsbrandid:
  6199. description: 现货品牌ID
  6200. type: integer
  6201. todaypaysum:
  6202. description: 今付款合计
  6203. type: number
  6204. todayreceivesum:
  6205. description: 今收款合计
  6206. type: number
  6207. updatetime:
  6208. description: 更新时间
  6209. type: string
  6210. wrfactortypeid:
  6211. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  6212. type: integer
  6213. wrstandardcode:
  6214. description: 品类代码
  6215. type: string
  6216. wrstandardid:
  6217. description: 现货商品ID
  6218. type: integer
  6219. wrstandardname:
  6220. description: 品类名称
  6221. type: string
  6222. type: object
  6223. models.Ermcp3GoodsGroup:
  6224. properties:
  6225. agreeunit:
  6226. description: 合约单位
  6227. type: number
  6228. areauserid:
  6229. description: 所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)
  6230. type: integer
  6231. canshort:
  6232. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  6233. type: integer
  6234. closepricemode:
  6235. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  6236. type: integer
  6237. createtime:
  6238. description: 创建时间
  6239. type: string
  6240. creatorid:
  6241. description: 创建人
  6242. type: integer
  6243. currencyid:
  6244. description: 报价货币ID
  6245. type: integer
  6246. decimalplace:
  6247. description: 报价小数位
  6248. type: integer
  6249. enumdicname:
  6250. description: 单位名称
  6251. type: string
  6252. exchangefullname:
  6253. description: 交易所全称
  6254. type: string
  6255. excludecfg:
  6256. description: 排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除
  6257. type: integer
  6258. exexchangecode:
  6259. description: 交易所代码
  6260. type: string
  6261. exexchangeid:
  6262. description: 外部交易所ID[通道交易]
  6263. type: integer
  6264. exexchangename:
  6265. description: 交易所名称
  6266. type: string
  6267. goodsgroupid:
  6268. description: 商品组ID(自增ID)
  6269. type: integer
  6270. goodsgroupname:
  6271. description: 商品组名称
  6272. type: string
  6273. goodsgroupstatus:
  6274. description: 商品组状态 - 1:正常 2:注销
  6275. type: integer
  6276. goodunitid:
  6277. description: 报价单位ID
  6278. type: integer
  6279. groupcategroyid:
  6280. description: 品种分类ID
  6281. type: integer
  6282. innerdealmode:
  6283. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  6284. type: integer
  6285. marketid:
  6286. description: 所属市场ID
  6287. type: integer
  6288. modifierid:
  6289. description: 修改人
  6290. type: integer
  6291. modifytime:
  6292. description: 修改时间
  6293. type: string
  6294. outerdealmode:
  6295. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  6296. type: integer
  6297. outergroupcode:
  6298. description: 外部商品组代码[通道交易]
  6299. type: string
  6300. quoteminunit:
  6301. description: 行情最小变动单位 [整数,报价小数位一起使用]
  6302. type: integer
  6303. quotesourcegroupid:
  6304. description: 所属行情源分组ID[参考行情市场用\通道交易]
  6305. type: integer
  6306. syncgoodsqty:
  6307. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  6308. type: integer
  6309. required:
  6310. - areauserid
  6311. type: object
  6312. models.Ermcp3HPMiddleGoods:
  6313. properties:
  6314. biztype:
  6315. description: 业务类型 1:套保 2:套利
  6316. type: integer
  6317. contracttype:
  6318. description: 合同类型 1:采购 -1:销售
  6319. type: integer
  6320. convertratio:
  6321. description: 折算系数
  6322. type: number
  6323. customername:
  6324. description: 对手手名称
  6325. type: string
  6326. customeruserid:
  6327. description: 对手id
  6328. type: integer
  6329. enumdicname:
  6330. description: 现货单位名称
  6331. type: string
  6332. hedgeplanid:
  6333. description: 计划id
  6334. type: string
  6335. hedgeplanno:
  6336. description: 计划编号
  6337. type: string
  6338. middlegoodsid:
  6339. description: 套保品种ID
  6340. type: integer
  6341. middlegoodsplanqty3:
  6342. description: 应套保计划量
  6343. type: number
  6344. needhedgeratio:
  6345. description: 套保比例
  6346. type: number
  6347. pricedqty:
  6348. description: 已定价量
  6349. type: number
  6350. relatedmiddlegoodsqty:
  6351. description: 已关联量(套保品种)(期货)
  6352. type: number
  6353. unitid:
  6354. description: 现货单位id
  6355. type: integer
  6356. userid:
  6357. description: 用户id
  6358. type: integer
  6359. vatrate:
  6360. description: 增值税率
  6361. type: number
  6362. wrstandardcode:
  6363. description: 现货商品代码
  6364. type: string
  6365. wrstandardid:
  6366. description: 现货商品id
  6367. type: integer
  6368. wrstandardname:
  6369. description: 现货商品名称
  6370. type: string
  6371. type: object
  6372. models.Ermcp3HedgePlan:
  6373. properties:
  6374. accountid:
  6375. description: 资金账号
  6376. type: integer
  6377. areauserid:
  6378. description: 用户ID
  6379. type: integer
  6380. auditid:
  6381. description: 审核id
  6382. type: integer
  6383. auditname:
  6384. description: 审核人名称
  6385. type: string
  6386. auditremark:
  6387. description: 审核备注
  6388. type: string
  6389. auditsrc:
  6390. description: 审核来源 1-管理端 2-终端
  6391. type: integer
  6392. audittime:
  6393. description: 审核时间
  6394. type: string
  6395. contracttype:
  6396. description: 计划类型 - 1:采购 -1:销售
  6397. type: integer
  6398. convertfactor:
  6399. description: 标仓系数
  6400. type: number
  6401. createtime:
  6402. description: 创建时间
  6403. type: string
  6404. currencyid:
  6405. description: 币种id
  6406. type: integer
  6407. currencyname:
  6408. description: 币种名称
  6409. type: string
  6410. deliverygoodscode:
  6411. description: 现货品种代码
  6412. type: string
  6413. deliverygoodsid:
  6414. description: 现货品种ID
  6415. type: integer
  6416. deliverygoodsname:
  6417. description: 现货品种名称
  6418. type: string
  6419. enumdicname:
  6420. description: 单位名称(现货商品)
  6421. type: string
  6422. hedgeplanid:
  6423. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  6424. type: string
  6425. hedgeplanno:
  6426. description: 套保计划编号(名称)
  6427. type: string
  6428. hedgeplanstatus:
  6429. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  6430. type: integer
  6431. planqty:
  6432. description: 计划数量
  6433. type: number
  6434. plantime:
  6435. description: 计划时间
  6436. type: string
  6437. producttype:
  6438. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  6439. type: integer
  6440. remark:
  6441. description: 备注
  6442. type: string
  6443. spotgoodsdesc:
  6444. description: 商品型号
  6445. type: string
  6446. taaccountname:
  6447. description: 资金账号名称
  6448. type: string
  6449. tradeuserid:
  6450. description: 交易用户id
  6451. type: integer
  6452. tradeusername:
  6453. description: 交易用户名称
  6454. type: string
  6455. unitid:
  6456. description: 单位id(现货商品)
  6457. type: integer
  6458. updatetime:
  6459. description: 更新时间
  6460. type: string
  6461. vatrate:
  6462. description: 增值税率
  6463. type: number
  6464. wrstandardcode:
  6465. description: 品类代码
  6466. type: string
  6467. wrstandardid:
  6468. description: 品类id
  6469. type: integer
  6470. wrstandardname:
  6471. description: 品类名称
  6472. type: string
  6473. wrunitid:
  6474. description: 品类单位id
  6475. type: integer
  6476. wrunitidame:
  6477. description: 品类单位名称
  6478. type: string
  6479. type: object
  6480. models.Ermcp3InnerTradeLink:
  6481. properties:
  6482. accountid:
  6483. description: 期货账号代码 | 资金账号ID
  6484. type: integer
  6485. buyorsell:
  6486. description: 方向 - 0:买 1:卖
  6487. type: integer
  6488. channelbuildtype:
  6489. description: 委托单据类型 0:无 1:建仓 2:平仓
  6490. type: integer
  6491. currencyid:
  6492. description: 币种id
  6493. type: integer
  6494. currencyname:
  6495. description: 结算币种 名称
  6496. type: string
  6497. goodscode:
  6498. description: 商品代码
  6499. type: string
  6500. goodsid:
  6501. description: 商品ID
  6502. type: integer
  6503. goodsname:
  6504. description: 商品名称
  6505. type: string
  6506. outtradeid:
  6507. description: 外部成交单号
  6508. type: string
  6509. taname:
  6510. description: 期货账户名称
  6511. type: string
  6512. tradeid:
  6513. description: 期货单号 | 内部成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6514. type: string
  6515. tradeprice:
  6516. description: 成交价格
  6517. type: number
  6518. tradeqty:
  6519. description: 期货成交数量
  6520. type: integer
  6521. tradetime:
  6522. description: 关联时间 | 成交时间 ps:因为数据库表里没有关联时间, 所以取外部成交单的成交时间
  6523. type: string
  6524. username:
  6525. description: 用户名称
  6526. type: string
  6527. type: object
  6528. models.Ermcp3OutTradeLink:
  6529. properties:
  6530. buyorsell:
  6531. description: 买卖方向 - 0:买 1:卖
  6532. type: integer
  6533. channelbuildtype:
  6534. description: 开平标志- 0:无 1:建仓 2:平仓
  6535. type: integer
  6536. currencyname:
  6537. description: 币种名称
  6538. type: string
  6539. exexchangecode:
  6540. description: 交易所代码
  6541. type: string
  6542. exexchangename:
  6543. description: 交易所名称
  6544. type: string
  6545. goodscode:
  6546. description: 合约代码
  6547. type: string
  6548. goodsid:
  6549. description: 合约id
  6550. type: integer
  6551. goodsname:
  6552. description: 合约名称
  6553. type: string
  6554. hasinnerorder:
  6555. description: 是否有内部单关联 - 0:无 1:有
  6556. type: integer
  6557. hedgeaccountcode:
  6558. description: 外部账号 | 对冲账号
  6559. type: string
  6560. outtradeid:
  6561. description: 外部订单号 | 外部成交单ID(114+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6562. type: string
  6563. tradeprice:
  6564. description: 成交价格
  6565. type: number
  6566. tradeqty:
  6567. description: 成交数量
  6568. type: integer
  6569. tradetime:
  6570. description: 成交时间
  6571. type: string
  6572. type: object
  6573. models.Ermcp3PaAreaAuditCfg:
  6574. properties:
  6575. areauserid:
  6576. description: 用户ID
  6577. type: integer
  6578. buyinauditflag:
  6579. description: 采购入库是否需要审核 - 0:不需审核 1:需要审核
  6580. type: integer
  6581. costratioauditflag:
  6582. description: 现货商品成本权重修改是否需要审核 - 0:不需审核 1:需要审核
  6583. type: integer
  6584. customerauditflag:
  6585. description: 客户资料是否需要审核 - 0:不需审核 1:需要审核
  6586. type: integer
  6587. deliveryauditflag:
  6588. description: 交收是否需要审核 - 0:不需审核 1:需要审核
  6589. type: integer
  6590. invoiceauditflag:
  6591. description: 发票是否需要审核 - 0:不需审核 1:需要审核
  6592. type: integer
  6593. mgneedhedgeratioauditflag:
  6594. description: 套保品种套保比例修改是否需要审 - 0:不需审核 1:需要审核
  6595. type: integer
  6596. moneyauditflag:
  6597. description: 款项是否需要审核 - 0:不需审核 1:需要审核
  6598. type: integer
  6599. operatorid:
  6600. description: 操作人
  6601. type: integer
  6602. operatorsrc:
  6603. description: 操作来源 - 1:管理端 2:终端
  6604. type: integer
  6605. pointpriceauditflag:
  6606. description: 点价是否需要审核 - 0:不需审核 1:需要审核
  6607. type: integer
  6608. produceinauditflag:
  6609. description: 生产入库是否需要审核 - 0:不需审核 1:需要审核
  6610. type: integer
  6611. produceoutauditflag:
  6612. description: 生产出库是否需要审核 - 0:不需审核 1:需要审核
  6613. type: integer
  6614. selloutauditflag:
  6615. description: 销售出库是否需要审核 - 0:不需审核 1:需要审核
  6616. type: integer
  6617. sgconvertratioauditflag:
  6618. description: 现货商品折算系数修改是否需要审核 - 0:不需审核 1:需要审核
  6619. type: integer
  6620. sgvtaratioauditflag:
  6621. description: 现货商品增值税税率修改是否需要审核 - 0:不需审核 1:需要审核
  6622. type: integer
  6623. spotcontractauditflag:
  6624. description: 现货合同是否需要审核 - 0:不需审核 1:需要审核
  6625. type: integer
  6626. updatetime:
  6627. description: 更新时间
  6628. type: string
  6629. type: object
  6630. models.Ermcp3PaAreaSubject:
  6631. properties:
  6632. areauserid:
  6633. description: 所属机构
  6634. type: integer
  6635. canmodify:
  6636. description: 是否可修改 - 0:否 1:是
  6637. type: integer
  6638. createtime:
  6639. description: 创建时间
  6640. type: string
  6641. creatorid:
  6642. description: 创建人ID
  6643. type: string
  6644. creatorsrc:
  6645. description: 创建人来源 - 1:管理端 2:终端 3:交易
  6646. type: integer
  6647. modifierid:
  6648. description: 修改人
  6649. type: string
  6650. modifiersrc:
  6651. description: 修改人来源 - 1:管理端 2:终端
  6652. type: integer
  6653. modifytime:
  6654. description: 修改时间
  6655. type: string
  6656. parentsubjectid:
  6657. description: 上级主体ID
  6658. type: string
  6659. remark:
  6660. description: 备注
  6661. type: string
  6662. subjectid:
  6663. description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  6664. type: integer
  6665. subjectname:
  6666. description: 主体名称
  6667. type: string
  6668. subjectstatus:
  6669. description: '主体状态 - 1:正常 2: 停用'
  6670. type: integer
  6671. subjecttype:
  6672. description: 主体类型 - 1:交易主体 2:业务部门
  6673. type: integer
  6674. type: object
  6675. models.Ermcp3PaTradeLink:
  6676. properties:
  6677. accountid:
  6678. description: 期货账户代码 | 账号ID
  6679. type: integer
  6680. agreeunit:
  6681. description: 合约乘数
  6682. type: number
  6683. buyorsell:
  6684. description: 方向 - 0:买 1:卖
  6685. type: integer
  6686. channelbuildtype:
  6687. description: 委托单据类型 0:无 1:建仓 2:平仓
  6688. type: integer
  6689. charge:
  6690. description: 手续费
  6691. type: number
  6692. closepl:
  6693. description: 平仓盈亏
  6694. type: number
  6695. closetype:
  6696. description: 平仓方式 - 0:无 1:平今 2:平昨
  6697. type: integer
  6698. convertratio:
  6699. description: 折算系数
  6700. type: number
  6701. enumdicname:
  6702. description: 单位名称
  6703. type: string
  6704. executeprice:
  6705. description: 执行价 [期权]
  6706. type: integer
  6707. goodscode:
  6708. description: 合约代码
  6709. type: string
  6710. goodsgroupid:
  6711. description: 对冲品种ID[期货合约商品组ID]
  6712. type: integer
  6713. goodsid:
  6714. description: 商品ID
  6715. type: integer
  6716. goodsname:
  6717. description: 合约名称
  6718. type: string
  6719. goodunitid:
  6720. description: 单位id
  6721. type: integer
  6722. hedgeflag:
  6723. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  6724. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)
  6725. type: integer
  6726. marketid:
  6727. description: 市场ID
  6728. type: integer
  6729. middlegoodsid:
  6730. description: 套保品种ID
  6731. type: integer
  6732. middlegoodsqty:
  6733. description: 套保品种数量 = TradeQty * AgreeUnit * ConvertRatio
  6734. type: number
  6735. optioncode:
  6736. description: 期权代码 [期权]
  6737. type: string
  6738. ordertype:
  6739. description: 单据类型 - 1:期货单 2:看涨期权单 3:看跌期权单
  6740. type: integer
  6741. ordertypename:
  6742. description: 订单类型
  6743. type: string
  6744. parentaccountid:
  6745. description: 所属母账户
  6746. type: integer
  6747. premium:
  6748. description: 权利金 [期权]
  6749. type: number
  6750. relatedlot:
  6751. description: 已关联数量(已关联数量手) | db:关联手数
  6752. type: number
  6753. relatedouttradeid:
  6754. description: 关联外部成交单ID
  6755. type: string
  6756. relatedqty:
  6757. description: 关联数量
  6758. type: number
  6759. spotcontractid:
  6760. description: 现货合同ID [4:套期保值\10\11]
  6761. type: string
  6762. taname:
  6763. description: 期货账户名称
  6764. type: string
  6765. tradeamount:
  6766. description: 成交金额(账户)
  6767. type: number
  6768. tradedate:
  6769. description: 交易日(yyyyMMdd)
  6770. type: string
  6771. tradeid:
  6772. description: 期货单号 | db:成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6773. type: string
  6774. tradelot:
  6775. description: 成交数量(期货数量) ps:这是手数,转换为具体多少吨要乘以AGREEUNIT | db:成交手数
  6776. type: integer
  6777. tradeprice:
  6778. description: 成交价格
  6779. type: number
  6780. tradetime:
  6781. description: 时间 | db:成交时间
  6782. type: string
  6783. tradetype:
  6784. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  6785. type: integer
  6786. userid:
  6787. description: 所属机构 - 所属母账户的UserID
  6788. type: string
  6789. username:
  6790. description: 用户名称
  6791. type: string
  6792. type: object
  6793. models.Ermcp3ParamChangeApp:
  6794. properties:
  6795. aftervalue:
  6796. description: 变更后
  6797. type: number
  6798. applicationid:
  6799. description: 申请ID(619+Unix秒时间戳(10位)+xxxxxx)
  6800. type: string
  6801. applyid:
  6802. description: 申请人
  6803. type: string
  6804. applyname:
  6805. description: 申请人名称(代码)
  6806. type: string
  6807. applyremark:
  6808. description: 申请备注
  6809. type: string
  6810. applysrc:
  6811. description: 申请来源 - 1:管理端 2:终端
  6812. type: integer
  6813. applystatus:
  6814. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  6815. type: integer
  6816. applytime:
  6817. description: 申请时间
  6818. type: string
  6819. areauserid:
  6820. description: 所属机构用户ID
  6821. type: integer
  6822. auditid:
  6823. description: 审核人
  6824. type: string
  6825. auditname:
  6826. description: 审核人名称(代码)
  6827. type: string
  6828. auditremark:
  6829. description: 审核备注
  6830. type: string
  6831. auditsrc:
  6832. description: 审核来源 - 1:管理端 2:终端
  6833. type: integer
  6834. audittime:
  6835. description: 审核时间
  6836. type: string
  6837. audittradedate:
  6838. description: 审核交易日(yyyyMMdd)
  6839. type: string
  6840. beforevalue:
  6841. description: 变更前
  6842. type: number
  6843. deliverygoodscode:
  6844. description: 品种代码
  6845. type: string
  6846. deliverygoodsid:
  6847. description: 品种id
  6848. type: integer
  6849. deliverygoodsname:
  6850. description: 品种名称
  6851. type: string
  6852. middlegoodscode:
  6853. description: 套保品种代码
  6854. type: string
  6855. middlegoodsid:
  6856. description: 套保品种ID [ParamChangeType = 2,3,4]
  6857. type: integer
  6858. middlegoodsname:
  6859. description: 套保品种名称
  6860. type: string
  6861. operatetype:
  6862. description: 操作类型 - 1:新增 2:修改
  6863. type: integer
  6864. paramchangetype:
  6865. description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  6866. type: integer
  6867. wrstandardcode:
  6868. description: 现货商品代码
  6869. type: string
  6870. wrstandardid:
  6871. description: 现货商品ID [ParamChangeType = 1,2,3]
  6872. type: integer
  6873. wrstandardname:
  6874. description: 现货商品名称
  6875. type: string
  6876. type: object
  6877. models.Ermcp3RootUserAccount:
  6878. properties:
  6879. accountname:
  6880. description: 账户名称(机构名称)
  6881. type: string
  6882. accountstatus:
  6883. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  6884. type: integer
  6885. applysrc:
  6886. description: 申请来源 - 1:管理端 2:终端
  6887. type: integer
  6888. auditremark:
  6889. description: 审核备注
  6890. type: string
  6891. auditsrc:
  6892. description: 审核来源 - 1:管理端 2:终端
  6893. type: integer
  6894. audittime:
  6895. description: 审核时间
  6896. type: string
  6897. audituserid:
  6898. description: 审核人
  6899. type: integer
  6900. broker:
  6901. description: 所属经纪人ID
  6902. type: integer
  6903. canceltime:
  6904. description: 销户时间
  6905. type: string
  6906. canceluserid:
  6907. description: 销户人
  6908. type: integer
  6909. canrecommend:
  6910. description: 是否可推荐 - 0:不可 1;可
  6911. type: integer
  6912. createtime:
  6913. description: 创建时间
  6914. type: string
  6915. creatorid:
  6916. description: 创建人
  6917. type: integer
  6918. hasauth:
  6919. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  6920. type: integer
  6921. isanonymous:
  6922. description: 是否匿名下单 - 0:否 1:是
  6923. type: integer
  6924. maxinvestornum:
  6925. description: 最大用户数(经纪会员下投资者个数)
  6926. type: integer
  6927. memberuserid:
  6928. description: 所属会员ID
  6929. type: integer
  6930. modifierid:
  6931. description: 修改人
  6932. type: integer
  6933. modifyremark:
  6934. description: 变更备注
  6935. type: string
  6936. modifystatus:
  6937. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  6938. type: integer
  6939. modifytime:
  6940. description: 修改时间
  6941. type: string
  6942. nickname:
  6943. description: 昵称
  6944. type: string
  6945. parenttopuser:
  6946. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  6947. type: string
  6948. parentuserid:
  6949. description: 所属机构ID
  6950. type: integer
  6951. reckonaccountid:
  6952. description: 默认结算资金账号ID(机构分润使用) 作废
  6953. type: integer
  6954. refercount:
  6955. description: 推荐总人数
  6956. type: integer
  6957. refereeuserid:
  6958. description: 推荐人ID
  6959. type: integer
  6960. refernum:
  6961. description: 推荐码
  6962. type: string
  6963. rootuserid:
  6964. description: 根用户ID
  6965. type: integer
  6966. subaccountlevel:
  6967. description: 子账户层数
  6968. type: integer
  6969. subarealevelpath:
  6970. description: 子机构层级路径(逗号分隔,首尾加逗号)
  6971. type: string
  6972. userid:
  6973. description: 用户ID
  6974. type: integer
  6975. usertype:
  6976. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  6977. type: integer
  6978. type: object
  6979. models.Ermcp3SCMiddleGoods:
  6980. properties:
  6981. biztype:
  6982. description: 业务类型 1:套保 2:套利
  6983. type: integer
  6984. contractno:
  6985. description: 合同编号
  6986. type: string
  6987. contracttype:
  6988. description: 合同类型 1:采购 -1:销售
  6989. type: integer
  6990. convertratio:
  6991. description: 折算系数
  6992. type: number
  6993. customername:
  6994. description: 对手手名称
  6995. type: string
  6996. customeruserid:
  6997. description: 对手id
  6998. type: integer
  6999. deliverygoodscode:
  7000. description: 现货品种代码
  7001. type: string
  7002. deliverygoodsid:
  7003. description: 现货品种ID
  7004. type: integer
  7005. deliverygoodsname:
  7006. description: 现货品种名称
  7007. type: string
  7008. enumdicname:
  7009. description: 现货单位名称
  7010. type: string
  7011. middlegoodsid:
  7012. description: 套保品种ID
  7013. type: integer
  7014. middlegoodspricedqty3:
  7015. description: 应套保数量 = MiddleGoodsPricedQty2 * 套保比率
  7016. type: number
  7017. needhedgeratio:
  7018. description: 套保比例
  7019. type: number
  7020. pricedqty:
  7021. description: 已定价量
  7022. type: number
  7023. relatedmiddlegoodsqty:
  7024. description: 已关联量(套保品种)(期货)
  7025. type: number
  7026. spotcontractid:
  7027. description: 合同编号
  7028. type: string
  7029. unitid:
  7030. description: 现货单位id
  7031. type: integer
  7032. userid:
  7033. description: 用户id
  7034. type: integer
  7035. vatrate:
  7036. description: 增值税率
  7037. type: number
  7038. wrstandardcode:
  7039. description: 现货商品代码
  7040. type: string
  7041. wrstandardid:
  7042. description: 现货商品id
  7043. type: integer
  7044. wrstandardname:
  7045. description: 现货商品名称
  7046. type: string
  7047. type: object
  7048. models.Ermcp3SCMiddleGoodsReport:
  7049. properties:
  7050. begindate:
  7051. description: 开始交易日
  7052. type: string
  7053. contractno:
  7054. description: 合同编号
  7055. type: string
  7056. contracttype:
  7057. description: 合同类型 1:采购 -1:销售
  7058. type: integer
  7059. convertratio:
  7060. description: 期初均价
  7061. type: number
  7062. cycletime:
  7063. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  7064. type: string
  7065. cycletype:
  7066. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  7067. type: integer
  7068. deliverygoodscode:
  7069. description: 品种代码
  7070. type: string
  7071. deliverygoodsid:
  7072. description: 现货品种ID
  7073. type: integer
  7074. deliverygoodsname:
  7075. description: 品种名称
  7076. type: string
  7077. diffprice:
  7078. description: 期初均价
  7079. type: number
  7080. diffqty:
  7081. description: 期初均价
  7082. type: number
  7083. enddate:
  7084. description: 结束交易日
  7085. type: string
  7086. hedgeplanqty:
  7087. description: 期初均价
  7088. type: number
  7089. matchname:
  7090. description: 交易对手方(个人:用户名称 企业:简称)
  7091. type: string
  7092. matchnickname:
  7093. description: 交易对手方昵称
  7094. type: string
  7095. middlegoodscode:
  7096. description: 套保品种代码
  7097. type: string
  7098. middlegoodsid:
  7099. description: 套保品种ID
  7100. type: integer
  7101. middlegoodsname:
  7102. description: 套保品种名称
  7103. type: string
  7104. middlegoodspricedqty:
  7105. description: 期初均价
  7106. type: number
  7107. middlegoodspricedqty2:
  7108. description: 期初均价
  7109. type: number
  7110. middlegoodspricedqty3:
  7111. description: 期初均价
  7112. type: number
  7113. needhedgeratio:
  7114. description: 期初均价
  7115. type: number
  7116. pricedamount:
  7117. description: 期初均价
  7118. type: number
  7119. pricedamount2:
  7120. description: 期初均价
  7121. type: number
  7122. pricedqty:
  7123. description: 期初均价
  7124. type: number
  7125. reckondate:
  7126. description: 日照时期(yyyyMMdd)
  7127. type: string
  7128. relatedmiddlegoodsamount:
  7129. description: 期初均价
  7130. type: number
  7131. relatedmiddlegoodsqty:
  7132. description: 期初均价
  7133. type: number
  7134. spotcontractid:
  7135. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  7136. type: string
  7137. todayavgfutuprice:
  7138. description: 期初均价
  7139. type: number
  7140. todayavgprice:
  7141. description: 期初均价
  7142. type: number
  7143. todayavgprice2:
  7144. description: 期初均价
  7145. type: number
  7146. todaypricedamount:
  7147. description: 期初均价
  7148. type: number
  7149. todaypricedamount2:
  7150. description: 期初均价
  7151. type: number
  7152. todaypricedqty:
  7153. description: 期初均价
  7154. type: number
  7155. todayrelatedfutureqty:
  7156. description: 期初均价
  7157. type: number
  7158. todayrelatedmiddlegoodsamount:
  7159. description: 期初均价
  7160. type: number
  7161. todayrelatedmiddlegoodsqty:
  7162. description: 期初均价
  7163. type: number
  7164. updatetime:
  7165. description: 更新时间
  7166. type: string
  7167. userid:
  7168. description: 合同所属用户id
  7169. type: integer
  7170. vatrate:
  7171. description: 期初均价
  7172. type: number
  7173. wrstandardcode:
  7174. description: 商品(品类) 代码
  7175. type: string
  7176. wrstandardid:
  7177. description: 现货商品ID
  7178. type: integer
  7179. wrstandardname:
  7180. description: 商品(品类) 名称
  7181. type: string
  7182. type: object
  7183. models.Ermcp3SellBuyContract:
  7184. properties:
  7185. accountid:
  7186. description: 期货账户id
  7187. type: string
  7188. accountname:
  7189. description: 账户名称
  7190. type: string
  7191. attachment:
  7192. description: 附件
  7193. type: string
  7194. audittime:
  7195. description: 审核时间
  7196. type: string
  7197. bizsubjectid:
  7198. description: 归属业务部门ID - SubjectID
  7199. type: integer
  7200. biztype:
  7201. description: 业务类型 1-套保 2-套利
  7202. type: integer
  7203. brandname:
  7204. description: 品牌名称
  7205. type: string
  7206. contracctstatus:
  7207. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  7208. type: integer
  7209. contractmargin:
  7210. description: 合同保证金
  7211. type: number
  7212. contractno:
  7213. description: 合同编号
  7214. type: string
  7215. contracttype:
  7216. description: 合同类型 1-采购, -1-销售
  7217. type: integer
  7218. convertfactor:
  7219. description: 标仓系数(品类)
  7220. type: number
  7221. createtime:
  7222. description: 创建时间
  7223. type: string
  7224. currencyid:
  7225. description: 币种id
  7226. type: integer
  7227. currencyname:
  7228. description: 币种名称
  7229. type: string
  7230. daikaiamount:
  7231. description: 应收(开)票额 | 未收票额
  7232. type: number
  7233. deliveryenddate:
  7234. description: 交割结束日
  7235. type: string
  7236. deliverygoodscode:
  7237. description: 现货品种代码
  7238. type: string
  7239. deliverygoodsid:
  7240. description: 现货商品ID
  7241. type: integer
  7242. deliverygoodsname:
  7243. description: 现货品种名称
  7244. type: string
  7245. deliverystartdate:
  7246. description: 交割开始日
  7247. type: string
  7248. enddate:
  7249. description: 点价结束日
  7250. type: string
  7251. enumdicname:
  7252. description: 单位名称
  7253. type: string
  7254. goodscode:
  7255. description: 点价商品代码
  7256. type: string
  7257. goodsgroupid:
  7258. description: 点价商品组id
  7259. type: integer
  7260. goodsid:
  7261. description: 点价商品ID
  7262. type: integer
  7263. goodsname:
  7264. description: 点价商品名称
  7265. type: string
  7266. invoiceamount:
  7267. description: 已开票额
  7268. type: number
  7269. loanamount:
  7270. description: 贷款总额=已定价额+调整金额
  7271. type: number
  7272. margin:
  7273. description: 保证金
  7274. type: number
  7275. meruserid:
  7276. description: 跟单员id
  7277. type: integer
  7278. meruserlogincode:
  7279. description: 跟单员登录代码
  7280. type: string
  7281. merusername:
  7282. description: 跟单员名称
  7283. type: string
  7284. nickname:
  7285. description: 账户昵称
  7286. type: string
  7287. orireckonrealqty:
  7288. description: 应交收量
  7289. type: number
  7290. payamount:
  7291. description: 已收付额(收款或付款)
  7292. type: number
  7293. preinvoiceamount:
  7294. description: 预收(开)票额
  7295. type: number
  7296. prepayamount:
  7297. description: 预收付额
  7298. type: number
  7299. price:
  7300. description: 价格
  7301. type: number
  7302. pricedamount:
  7303. description: 已定价额
  7304. type: number
  7305. pricedavg:
  7306. description: 已点均价
  7307. type: number
  7308. pricedqty:
  7309. description: 已定价量
  7310. type: number
  7311. pricemove:
  7312. description: 升贴水
  7313. type: number
  7314. pricetype:
  7315. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  7316. type: integer
  7317. producttype:
  7318. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  7319. type: integer
  7320. qty:
  7321. description: 合同量
  7322. type: number
  7323. reckonadjustamount:
  7324. description: 调整金额
  7325. type: number
  7326. reckonedamount:
  7327. description: 实际已收付额(已确定额,已收付总额-已退款总额)
  7328. type: number
  7329. reckonotheramount:
  7330. description: 其它费用
  7331. type: number
  7332. reckonrealqty:
  7333. description: 已交收量
  7334. type: number
  7335. remark:
  7336. description: 备注
  7337. type: string
  7338. saleuserid:
  7339. description: 业务员id
  7340. type: integer
  7341. saleuserlogincode:
  7342. description: 业务员登录代码
  7343. type: string
  7344. saleusername:
  7345. description: 业务员名称
  7346. type: string
  7347. spotcontractid:
  7348. description: 合同ID
  7349. type: string
  7350. spotgoodsbrandid:
  7351. description: 现货品牌ID(DGFactoryItem表的ID)
  7352. type: integer
  7353. spotgoodsdesc:
  7354. description: 商品型号(商品规格)
  7355. type: string
  7356. startdate:
  7357. description: 点价开始日
  7358. type: string
  7359. subjectid:
  7360. description: 交易主体ID
  7361. type: integer
  7362. subjectname:
  7363. description: 交易主体名称
  7364. type: string
  7365. totalamount:
  7366. description: 合计总额
  7367. type: number
  7368. tradeuserid:
  7369. description: 交易员id
  7370. type: integer
  7371. tradeuserlogincode:
  7372. description: 交易员登录代码
  7373. type: string
  7374. tradeusername:
  7375. description: 交易员名称
  7376. type: string
  7377. unpayamount:
  7378. description: 应收付款额(应支付或应收款) | 未付款额
  7379. type: number
  7380. unpricedqty:
  7381. description: 未定价量
  7382. type: number
  7383. unsureqty:
  7384. description: 未确定量 | 未交收量
  7385. type: number
  7386. userid:
  7387. description: 机构ID
  7388. type: integer
  7389. vatrate:
  7390. description: 增值税率
  7391. type: number
  7392. wrstandardcode:
  7393. description: 品类代码
  7394. type: string
  7395. wrstandardid:
  7396. description: 品类ID
  7397. type: integer
  7398. wrstandardname:
  7399. description: 品类名称
  7400. type: string
  7401. type: object
  7402. models.Ermcp3SpotGoodsPrice:
  7403. properties:
  7404. areauserid:
  7405. description: 所属机构id
  7406. type: integer
  7407. brandname:
  7408. description: 品牌名称
  7409. type: string
  7410. currencyid:
  7411. description: 报价货币ID
  7412. type: integer
  7413. currencyname:
  7414. description: 币种名称
  7415. type: string
  7416. deliverygoodscode:
  7417. description: 现货商品代码
  7418. type: string
  7419. deliverygoodsid:
  7420. description: 现货商品id
  7421. type: integer
  7422. deliverygoodsname:
  7423. description: 现货商品名称
  7424. type: string
  7425. enumdicname:
  7426. description: 现货商品单位名称
  7427. type: string
  7428. gbenumdicname:
  7429. description: 品类单位名称
  7430. type: string
  7431. gmunitid:
  7432. description: 品类单位id
  7433. type: integer
  7434. isvalid:
  7435. description: 是否有效 - 0:无效 1:有效
  7436. type: integer
  7437. operateid:
  7438. description: 最后操作人
  7439. type: integer
  7440. operatesrc:
  7441. description: 最后操作来源 - 1:管理端 2:终端
  7442. type: integer
  7443. operatetime:
  7444. description: 最后操作时间
  7445. type: string
  7446. operatorname:
  7447. description: 操作人名称
  7448. type: string
  7449. spotgoodsbrandid:
  7450. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  7451. type: integer
  7452. spotgoodsprice:
  7453. description: 现货价格
  7454. type: number
  7455. tradedate:
  7456. description: 交易日(yyyyMMdd)
  7457. type: string
  7458. unitid:
  7459. description: 现货商品单位id
  7460. type: integer
  7461. wrstandardcode:
  7462. description: 品类代码
  7463. type: string
  7464. wrstandardid:
  7465. description: 现货品类ID(通用则为0)
  7466. type: integer
  7467. wrstandardname:
  7468. description: 品类名称
  7469. type: string
  7470. type: object
  7471. models.Ermcp3SpotGoodsPriceLog:
  7472. properties:
  7473. areauserid:
  7474. description: 所属机构id
  7475. type: integer
  7476. brandname:
  7477. description: 品牌名称
  7478. type: string
  7479. currencyid:
  7480. description: 报价货币ID
  7481. type: integer
  7482. deliverygoodscode:
  7483. description: 现货商品代码
  7484. type: string
  7485. deliverygoodsid:
  7486. description: 现货商品id
  7487. type: integer
  7488. deliverygoodsname:
  7489. description: 现货商品名称
  7490. type: string
  7491. enumdicname:
  7492. description: 现货商品单位名称
  7493. type: string
  7494. gbenumdicname:
  7495. description: 品类单位名称
  7496. type: string
  7497. gmunitid:
  7498. description: 品类单位id
  7499. type: integer
  7500. logid:
  7501. description: 日志id
  7502. type: integer
  7503. operateid:
  7504. description: 最后操作人
  7505. type: integer
  7506. operatesrc:
  7507. description: 最后操作来源 - 1:管理端 2:终端
  7508. type: integer
  7509. operatetime:
  7510. description: 最后操作时间
  7511. type: string
  7512. operatorname:
  7513. description: 操作人名称
  7514. type: string
  7515. spotgoodsbrandid:
  7516. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  7517. type: integer
  7518. spotgoodsprice:
  7519. description: 现货价格
  7520. type: number
  7521. tradedate:
  7522. description: 交易日(yyyyMMdd)
  7523. type: string
  7524. unitid:
  7525. description: 现货商品单位id
  7526. type: integer
  7527. wrstandardcode:
  7528. description: 品类代码
  7529. type: string
  7530. wrstandardid:
  7531. description: 现货品类ID(通用则为0)
  7532. type: integer
  7533. wrstandardname:
  7534. description: 品类名称
  7535. type: string
  7536. type: object
  7537. models.Ermcp3SubTaaccount:
  7538. properties:
  7539. accountid:
  7540. description: 资金账户ID
  7541. type: integer
  7542. parentaccountcode:
  7543. description: 所属根账号代码(母账号代码)
  7544. type: string
  7545. parentaccountid:
  7546. description: 所属根账号(母账号)
  7547. type: integer
  7548. taname:
  7549. description: 资金账号名称
  7550. type: string
  7551. tradestatus:
  7552. description: 交易状态 - 1:正常 2:受限 3:冻结(停用) 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已删除(注销)
  7553. type: integer
  7554. username:
  7555. description: 交易用户
  7556. type: string
  7557. type: object
  7558. models.Ermcp3TaFutuReDataReport:
  7559. properties:
  7560. accountid:
  7561. description: 交易账户
  7562. type: integer
  7563. accountname:
  7564. description: 交易账号名称
  7565. type: string
  7566. agreeunit:
  7567. description: 商品合约单位
  7568. type: number
  7569. begindate:
  7570. description: 开始交易日
  7571. type: string
  7572. buyorsell:
  7573. description: 持仓方向
  7574. type: integer
  7575. charge:
  7576. description: 手续费
  7577. type: number
  7578. closeavgprice:
  7579. description: 期初均价
  7580. type: number
  7581. closepl:
  7582. description: 平仓损益
  7583. type: number
  7584. currencyid:
  7585. description: 结算币种ID
  7586. type: integer
  7587. currencyname:
  7588. description: 币种名称
  7589. type: string
  7590. cycletime:
  7591. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  7592. type: string
  7593. cycletype:
  7594. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  7595. type: integer
  7596. enddate:
  7597. description: 结束交易日
  7598. type: string
  7599. enumdicname:
  7600. description: 单位名称
  7601. type: string
  7602. floatpl:
  7603. description: 浮动损益
  7604. type: number
  7605. goodscode:
  7606. description: 交易合约代码
  7607. type: string
  7608. goodsgroupid:
  7609. description: 交易品种
  7610. type: integer
  7611. goodsgroupname:
  7612. description: 交易品种名称
  7613. type: string
  7614. goodsgroupspotqty:
  7615. description: 交易品种期末量 (= 期末持仓量 * 合约乘数)
  7616. type: number
  7617. goodsid:
  7618. description: 交易合约
  7619. type: integer
  7620. goodsname:
  7621. description: 交易合约名称
  7622. type: string
  7623. goodunitid:
  7624. description: 交易合约单位id
  7625. type: integer
  7626. holdamount:
  7627. description: 期末持仓额
  7628. type: number
  7629. holdqty:
  7630. description: 期初均价
  7631. type: number
  7632. lastholdamount:
  7633. description: 当前持仓额
  7634. type: number
  7635. lastprice:
  7636. description: 最新价
  7637. type: number
  7638. middlegoodsid:
  7639. description: 套保品种id
  7640. type: integer
  7641. middlegoodsname:
  7642. description: 套保商品名称
  7643. type: string
  7644. middlegoodsqty:
  7645. description: 套保品种期末量 (=交易品种期末量 * 期货品种折算系数)
  7646. type: number
  7647. middlgoodscode:
  7648. description: 套保商品代码
  7649. type: string
  7650. openamount:
  7651. description: 期末开仓额
  7652. type: number
  7653. openavgprice:
  7654. description: 期初均价
  7655. type: number
  7656. oriholdamount:
  7657. description: 期初持仓额
  7658. type: number
  7659. oriholdqty:
  7660. description: 期初均价
  7661. type: number
  7662. oriopenamount:
  7663. description: 期初开仓额
  7664. type: number
  7665. outergroupcode:
  7666. description: 交易品种代码
  7667. type: string
  7668. qtydecimalplace:
  7669. description: 成交量小数位
  7670. type: integer
  7671. reckondate:
  7672. description: 日照时期(yyyyMMdd)
  7673. type: string
  7674. reckonholdamount:
  7675. description: 结算持仓额
  7676. type: number
  7677. reckonpl:
  7678. description: 结算损益
  7679. type: number
  7680. reckonpl2:
  7681. description: 结算逐笔盈亏
  7682. type: number
  7683. reckonprice:
  7684. description: 结算价
  7685. type: number
  7686. relateduserid:
  7687. description: 账户关联用户ID
  7688. type: integer
  7689. todaycloseamount:
  7690. description: 今平仓额
  7691. type: number
  7692. todaycloseqty:
  7693. description: 期初均价
  7694. type: number
  7695. todaygoodsgroupspotqty:
  7696. description: 交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)
  7697. type: number
  7698. todaymiddlegoodsqty:
  7699. description: 套保品种变化量 (= 交易品种变化量*期货品种折算系数)
  7700. type: number
  7701. todayopenamount:
  7702. description: 今开仓额
  7703. type: number
  7704. todayopenqty:
  7705. description: 期初均价
  7706. type: number
  7707. userid:
  7708. description: 账户所属用户ID
  7709. type: integer
  7710. type: object
  7711. models.Ermcp3TradeLinkDetail:
  7712. properties:
  7713. accountid:
  7714. description: 资金账号
  7715. type: integer
  7716. agreeunit:
  7717. description: 合约乘数
  7718. type: number
  7719. areauserid:
  7720. description: 所属机构
  7721. type: string
  7722. bizsubjectid:
  7723. description: 归属业务部门ID - SubjectID
  7724. type: string
  7725. buyorsell:
  7726. description: 方向 - 0:买 1:卖
  7727. type: integer
  7728. channelbuildtype:
  7729. description: 委托单据类型 0:无 1:建仓 2:平仓
  7730. type: integer
  7731. contractno:
  7732. description: 现货编号 (合同编号)
  7733. type: string
  7734. convertratio:
  7735. description: 折算系数
  7736. type: number
  7737. createtime:
  7738. description: 关联时间 | 创建时间
  7739. type: string
  7740. creatorid:
  7741. description: 创建人ID
  7742. type: string
  7743. creatorsrc:
  7744. description: 创建人来源 - 1:管理端 2:终端 3:交易
  7745. type: integer
  7746. enumdicname:
  7747. description: 单位名称
  7748. type: string
  7749. goodscode:
  7750. description: 合约代码
  7751. type: string
  7752. goodsgroupid:
  7753. description: 对冲品种ID[期货合约商品组ID]
  7754. type: integer
  7755. goodsid:
  7756. description: 商品ID
  7757. type: integer
  7758. goodsname:
  7759. description: 合约名称
  7760. type: string
  7761. hedgeflag:
  7762. description: 业务类型 | 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安)
  7763. 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)
  7764. type: integer
  7765. linkdetailid:
  7766. description: 关联ID(614+Unix秒时间戳(10位)+xxxxxx)
  7767. type: string
  7768. linkstatus:
  7769. description: 关联状态 - 1:成功 2:失败 3:解绑
  7770. type: integer
  7771. middlegoodscode:
  7772. description: 套保品种代码
  7773. type: string
  7774. middlegoodsid:
  7775. description: 套保品种ID
  7776. type: integer
  7777. middlegoodsname:
  7778. description: 套保品种名称
  7779. type: string
  7780. relatedlot:
  7781. description: 关联手数
  7782. type: number
  7783. relatedmode:
  7784. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  7785. type: integer
  7786. relatedqty:
  7787. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  7788. type: number
  7789. retcode:
  7790. description: 返回码
  7791. type: integer
  7792. saleuserid:
  7793. description: 业务员ID
  7794. type: string
  7795. spotcontractid:
  7796. description: 现货合同\套保计划ID [4,10,11 - 现货合同ID] [9:套期保值(计划) - 套保计划ID]
  7797. type: string
  7798. taname:
  7799. description: 期货账户
  7800. type: string
  7801. tradedate:
  7802. description: 关联交易日(yyyyMMdd)
  7803. type: string
  7804. tradeid:
  7805. description: 期货订单号 | 内部成交单ID
  7806. type: string
  7807. tradelot:
  7808. description: 成交数量 | 成交手数
  7809. type: integer
  7810. tradeprice:
  7811. description: 成交价格
  7812. type: number
  7813. tradetime:
  7814. description: 期货成交时间
  7815. type: string
  7816. tradetradedate:
  7817. description: 成交交易日(yyyyMMdd)
  7818. type: string
  7819. username:
  7820. description: 用户名称
  7821. type: string
  7822. type: object
  7823. models.Ermcp3Wrstandard:
  7824. properties:
  7825. areauserid:
  7826. description: 所属机构
  7827. type: integer
  7828. cantrade:
  7829. description: 是否允许交易 - 0:不允许 1:允许 -1:未配置(数据库里没有记录)
  7830. type: integer
  7831. convertfactor:
  7832. description: 标仓系数
  7833. type: number
  7834. createtime:
  7835. description: 创建时间
  7836. type: string
  7837. creatorid:
  7838. description: 创建人
  7839. type: integer
  7840. deliverygoodsid:
  7841. description: 现货品种ID
  7842. type: integer
  7843. enumdicname:
  7844. description: 品类单位名称
  7845. type: string
  7846. isvalid:
  7847. description: 是否有效 0-无效(停用) 1-有效(正常)
  7848. type: integer
  7849. minivalue:
  7850. description: 最小变动值
  7851. type: integer
  7852. minivaluedp:
  7853. description: 最小变动值小数位
  7854. type: integer
  7855. realminivalue:
  7856. description: 实际最小变动值
  7857. type: integer
  7858. realminivaluedp:
  7859. description: 实际最小变动值小数位
  7860. type: integer
  7861. remark:
  7862. description: 备注
  7863. type: string
  7864. unitid:
  7865. description: 品类单位ID
  7866. type: integer
  7867. updatetime:
  7868. description: 更新时间
  7869. type: string
  7870. wrstandardcode:
  7871. description: 品类代码
  7872. type: string
  7873. wrstandardid:
  7874. description: 品类ID(SEQ_WRSTANDARD)
  7875. type: integer
  7876. wrstandardname:
  7877. description: 品类名称
  7878. type: string
  7879. type: object
  7880. models.Ermcp8EnableHedgeditem:
  7881. properties:
  7882. accountname:
  7883. description: 套期主体
  7884. type: string
  7885. hedgeditemid:
  7886. description: 被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)
  7887. type: string
  7888. hedgeditemname:
  7889. description: 项目名称
  7890. type: string
  7891. hedgeditemnum:
  7892. description: 项目编号
  7893. type: string
  7894. hedgedtype:
  7895. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  7896. type: integer
  7897. planenddate:
  7898. description: 计划结束日期
  7899. type: string
  7900. planstartdate:
  7901. description: 计划开始日期
  7902. type: string
  7903. wrstandardid:
  7904. description: 现货商品ID
  7905. type: integer
  7906. wrstandardname:
  7907. description: 现货商品
  7908. type: string
  7909. type: object
  7910. models.Ermcp8HedgeditemReport:
  7911. properties:
  7912. accountname:
  7913. description: 套期主体
  7914. type: string
  7915. areauserid:
  7916. description: 企业ID
  7917. type: integer
  7918. curprice:
  7919. description: '[当日现货市场价]当前市场价'
  7920. type: number
  7921. enumdicname:
  7922. description: 单位
  7923. type: string
  7924. exeamount:
  7925. description: '[执行现货金额]执行市价总额'
  7926. type: number
  7927. exeavgprice:
  7928. description: '[执行价]执行市场均价= 执行市价总额 / 执行现货量'
  7929. type: number
  7930. exeqty:
  7931. description: '[执行数量]执行现货量'
  7932. type: number
  7933. futurehedgepl:
  7934. description: 期货实际损益
  7935. type: number
  7936. futurehedgeplchange:
  7937. description: 期货实际变动 = 期货实际损益 - 期初期货实际损益
  7938. type: number
  7939. futurepl:
  7940. description: 期货套期损益
  7941. type: number
  7942. futureplchange:
  7943. description: 期货套期变动 = 期货套期损益 - 期初期货套期损益
  7944. type: number
  7945. hedgeamount:
  7946. description: '[套期现货金额]套期市价总额'
  7947. type: number
  7948. hedgeditemnum:
  7949. description: 项目编号,模糊查询
  7950. type: string
  7951. hedgeditemstatus:
  7952. description: 项目状态 - 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  7953. type: integer
  7954. hedgedtype:
  7955. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  7956. type: integer
  7957. hedgeqty:
  7958. description: '[套期数量]套期现货量'
  7959. type: number
  7960. oriavgprice:
  7961. description: '[期初价]期初市场均价 = 套期市价总额 / 套期现货量'
  7962. type: number
  7963. orifuturehedgepl:
  7964. description: 期初期货实际损益
  7965. type: number
  7966. orifuturepl:
  7967. description: 期初期货套期损益
  7968. type: number
  7969. orispothedgepl:
  7970. description: 期初现货实际损益
  7971. type: number
  7972. orispotpl:
  7973. description: 期初现货套期损益
  7974. type: number
  7975. planenddate:
  7976. description: 计划结束日期
  7977. type: string
  7978. planstartdate:
  7979. description: 计划开始日期
  7980. type: string
  7981. spothedgepl:
  7982. description: 现货实际损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)
  7983. type: number
  7984. spothedgeplchange:
  7985. description: 现货实际变动 = 现货实际损益 - 期初现货实际损益
  7986. type: number
  7987. spotpl:
  7988. description: 现货套期损益 = 现货实际损益 + 现货浮动损益
  7989. type: number
  7990. spotplchange:
  7991. description: 现货套期变动 = 现货套期损益 - 期初现货套期损益
  7992. type: number
  7993. tradeuserid:
  7994. description: 交易用户ID
  7995. type: integer
  7996. unexeqty:
  7997. description: 未执行现货量 = 套期现货量 - 执行现货量
  7998. type: number
  7999. wrstandardcode:
  8000. description: 现货品类代码
  8001. type: string
  8002. wrstandardid:
  8003. description: 现货商品ID
  8004. type: integer
  8005. wrstandardname:
  8006. description: '[现货商品]现货品类名称'
  8007. type: string
  8008. type: object
  8009. models.Ermcp8RunningHedgeditem:
  8010. properties:
  8011. accountname:
  8012. description: 套期主体
  8013. type: string
  8014. applyid:
  8015. description: 申请人
  8016. type: integer
  8017. applysrc:
  8018. description: 申请来源 - 1:管理端 2:终端
  8019. type: integer
  8020. areauserid:
  8021. description: 企业ID
  8022. type: integer
  8023. auditid:
  8024. description: 审核人
  8025. type: integer
  8026. auditremark:
  8027. description: 审核备注
  8028. type: string
  8029. auditsrc:
  8030. description: 审核来源 - 1:管理端 2:终端
  8031. type: integer
  8032. audittime:
  8033. description: 审核时间
  8034. type: string
  8035. audittradedate:
  8036. description: 审核交易日(yyyyMMdd)
  8037. type: string
  8038. createtime:
  8039. description: 申请时间
  8040. type: string
  8041. curprice:
  8042. description: 当前市场价
  8043. type: number
  8044. curstock:
  8045. description: 期末库存量 = 采购总量 - 销售总量
  8046. type: number
  8047. deliverygoodsid:
  8048. description: 现货品种ID
  8049. type: integer
  8050. enddate:
  8051. description: 完成日期
  8052. type: string
  8053. endtradedate:
  8054. description: 完成交易日
  8055. type: string
  8056. enumdicname:
  8057. description: 单位
  8058. type: string
  8059. exeamount:
  8060. description: 执行市价总额
  8061. type: number
  8062. exeavgprice:
  8063. description: 执行市场均价= 执行市价总额 / 执行现货量
  8064. type: number
  8065. execontractamount:
  8066. description: 执行定价总额
  8067. type: number
  8068. exeqty:
  8069. description: 执行现货量
  8070. type: number
  8071. exerestamount:
  8072. description: 执行剩余市价总额【现货贸易】
  8073. type: number
  8074. futurefloatpl:
  8075. description: 期货浮动损益
  8076. type: number
  8077. futurehedgepl:
  8078. description: 期货实际损益
  8079. type: number
  8080. futurehedgeplchange:
  8081. description: 期货实际损益变动
  8082. type: number
  8083. futurepl:
  8084. description: 期货套期损益
  8085. type: number
  8086. futureplchange:
  8087. description: 期货套期损益变动
  8088. type: number
  8089. hedgeamount:
  8090. description: 套期市价总额
  8091. type: number
  8092. hedgecontractamount:
  8093. description: 套期定价总额 【定价采购合同】【现货贸易】
  8094. type: number
  8095. hedgeditemid:
  8096. description: 被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)
  8097. type: string
  8098. hedgeditemname:
  8099. description: 项目名称
  8100. type: string
  8101. hedgeditemnum:
  8102. description: 项目编号
  8103. type: string
  8104. hedgeditemstatus:
  8105. description: 项目状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  8106. type: integer
  8107. hedgedtype:
  8108. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  8109. type: integer
  8110. hedgeqty:
  8111. description: 套期现货量
  8112. type: number
  8113. hedgerate:
  8114. description: 套保比率
  8115. type: number
  8116. hedgerestamount:
  8117. description: 套期剩余市价总额【现货贸易】
  8118. type: number
  8119. hedgesumpl:
  8120. description: 套期汇总损益 = 期货汇总损益 + 现货汇总损益
  8121. type: number
  8122. middlegoodslist:
  8123. description: 套期商品列表
  8124. items:
  8125. $ref: '#/definitions/models.Ermcp2himiddlegoods'
  8126. type: array
  8127. oriavgprice:
  8128. description: 期初市场均价 = 套期市价总额 / 套期现货量
  8129. type: number
  8130. orifuturehedgepl:
  8131. description: 期初期货实际损益
  8132. type: number
  8133. orifuturepl:
  8134. description: 期初期货套期损益
  8135. type: number
  8136. orispothedgepl:
  8137. description: 期初现货实际损益
  8138. type: number
  8139. orispotpl:
  8140. description: 期初现货套期损益
  8141. type: number
  8142. planenddate:
  8143. description: 计划结束日期
  8144. type: string
  8145. planstartdate:
  8146. description: 计划开始日期
  8147. type: string
  8148. remark:
  8149. description: 备注
  8150. type: string
  8151. spotbookamount:
  8152. description: 现货账面总额
  8153. type: number
  8154. spotfloatpl:
  8155. description: 现货浮动损益 =(当前市场价 - 期初市场价)*未执行现货量 * 方向(销售计划 为 -1, 其它为1)
  8156. type: number
  8157. spothedgepl:
  8158. description: 现货套期损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)
  8159. type: number
  8160. spothedgeplchange:
  8161. description: 现货实际损益变动
  8162. type: number
  8163. spotpl:
  8164. description: 现货套期损益 = 现货实际损益 + 现货浮动损益
  8165. type: number
  8166. spotplchange:
  8167. description: 现货套期损益变动
  8168. type: number
  8169. spottradepl:
  8170. description: 现货贸易损益【现货贸易】= 执行合同定价总额 - 套期合同定价总额
  8171. type: number
  8172. sumobspl:
  8173. description: 汇总绝对损益【现货贸易】=现货贸易损益+增值税损益+期货套期损益
  8174. type: number
  8175. tradeuserid:
  8176. description: 交易用户ID
  8177. type: integer
  8178. unexeqty:
  8179. description: 未执行现货量 = 套期现货量 - 执行现货量
  8180. type: number
  8181. updatetime:
  8182. description: 更新时间
  8183. type: string
  8184. vatpl:
  8185. description: 增值税损益【现货贸易】= 现货贸易损益 * (增值税率 /(1+增值税率))
  8186. type: number
  8187. vatrate:
  8188. description: 增值税
  8189. type: number
  8190. wrstandardid:
  8191. description: 现货商品ID
  8192. type: integer
  8193. wrstandardname:
  8194. description: 商品名称
  8195. type: string
  8196. type: object
  8197. models.ErmcpBizGroupEx:
  8198. properties:
  8199. acclist:
  8200. description: 账号列表
  8201. items:
  8202. $ref: '#/definitions/models.ErmcpBizGroupTaAccount'
  8203. type: array
  8204. bizgroupid:
  8205. description: 业务分组id
  8206. type: integer
  8207. biztype:
  8208. description: 业务类型 1-套保 2-套利
  8209. type: integer
  8210. wrlist:
  8211. description: 现货商品表
  8212. items:
  8213. $ref: '#/definitions/models.ErmcpBizGroupSpotGoods'
  8214. type: array
  8215. type: object
  8216. models.ErmcpBizGroupSpotGoods:
  8217. properties:
  8218. areauserid:
  8219. description: 所属机构id
  8220. type: integer
  8221. bizgroupid:
  8222. description: 分组id
  8223. type: integer
  8224. biztype:
  8225. description: 业务类型 1-套保 2-套利
  8226. type: integer
  8227. deliverygoodscode:
  8228. description: 现货商品代码
  8229. type: string
  8230. deliverygoodsid:
  8231. description: 现货商品id
  8232. type: integer
  8233. deliverygoodsname:
  8234. description: 现货商品名称
  8235. type: string
  8236. unitid:
  8237. description: 现货商品单位id
  8238. type: integer
  8239. type: object
  8240. models.ErmcpBizGroupTaAccount:
  8241. properties:
  8242. accountid:
  8243. description: 账号id
  8244. type: integer
  8245. accountname:
  8246. description: 账号名称
  8247. type: string
  8248. areauserid:
  8249. description: 所属机构id
  8250. type: integer
  8251. bizgroupid:
  8252. description: 业务分组id
  8253. type: integer
  8254. ismain:
  8255. description: 是否主账号 1-是 0-否
  8256. type: integer
  8257. type: object
  8258. models.ErmcpDGFactoryItem:
  8259. properties:
  8260. areauserid:
  8261. description: 用户id
  8262. type: integer
  8263. deliverygoodsid:
  8264. description: 现货品种ID
  8265. type: integer
  8266. dgfactoryitemid:
  8267. description: 选择项ID(SEQ_DGFACTORYITEM)
  8268. type: integer
  8269. dgfactoryitemtypeid:
  8270. description: 要素项类型
  8271. type: integer
  8272. dgfactoryitemvalue:
  8273. description: 要素项值(类型为仓库时填写仓库名称)
  8274. type: string
  8275. isvalid:
  8276. description: 是否有效 - 0:无效 1:有效
  8277. type: integer
  8278. orderindex:
  8279. description: 顺序
  8280. type: integer
  8281. warehouseid:
  8282. description: 仓库ID(类型为仓库时填写)
  8283. type: integer
  8284. type: object
  8285. models.ErmcpDeliveryGoods:
  8286. properties:
  8287. agreeunit:
  8288. description: 合约单位[散货时默认为1, 整装时默认为标准数量]
  8289. type: integer
  8290. areauserid:
  8291. description: 所属机构
  8292. type: integer
  8293. auditflag:
  8294. description: 交割是否需要审核 - 0:不需要 1:需要审核 默认为0
  8295. type: integer
  8296. categoryid:
  8297. description: 类别ID(SEQ_WRCATEGORY)
  8298. type: integer
  8299. deliverygoodscode:
  8300. description: 现货品种代码
  8301. type: string
  8302. deliverygoodsid:
  8303. description: 现货品种ID(SEQ_DELIVERYGOODS)
  8304. type: integer
  8305. deliverygoodsname:
  8306. description: 现货品种名称
  8307. type: string
  8308. deliverygoodstype:
  8309. description: '现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细'
  8310. type: integer
  8311. dgstatus:
  8312. description: 品种状态 - 作废 - 0:未激活 1:正常
  8313. type: integer
  8314. enumdicname:
  8315. description: 现货品种单位名称
  8316. type: string
  8317. goodsunitid:
  8318. description: 现货品种单位ID
  8319. type: integer
  8320. isvalid:
  8321. description: 是否有效 - 0:无效 1:有效
  8322. type: integer
  8323. qtydecimalplace:
  8324. description: 成交量小数位
  8325. type: integer
  8326. remark:
  8327. description: 备注
  8328. type: string
  8329. standardqty:
  8330. description: 标准数量(库位数量) [标准品特有]
  8331. type: integer
  8332. standardqtyrange:
  8333. description: 标准数量偏差范围 [标准品特有]
  8334. type: integer
  8335. type: object
  8336. models.ErmcpFuturesCompany:
  8337. properties:
  8338. brokerid:
  8339. description: 经纪公司代码
  8340. type: string
  8341. channeladdress:
  8342. description: 对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001
  8343. type: string
  8344. channelid:
  8345. description: 对冲渠道ID
  8346. type: string
  8347. createtime:
  8348. description: 创建时间
  8349. type: string
  8350. creatorid:
  8351. description: 创建人
  8352. type: string
  8353. fcid:
  8354. description: 期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)
  8355. type: integer
  8356. fcname:
  8357. description: 期货公司名称
  8358. type: string
  8359. isvalid:
  8360. description: 是否有效 - 0:无效 1:有效
  8361. type: integer
  8362. mhpaddress:
  8363. description: MHP服务地址(IP:Port)
  8364. type: string
  8365. riskrulegroupid:
  8366. description: 风控规则组ID
  8367. type: string
  8368. tradefeetmpid:
  8369. description: 手续费模板ID[TradeConfigTmpType为2]
  8370. type: string
  8371. trademargintmpid:
  8372. description: 保证金模板ID [TradeConfigTmpType为1]
  8373. type: string
  8374. traderatetmpid:
  8375. description: 汇率模板ID[TradeConfigTmpType为3]
  8376. type: string
  8377. updatetime:
  8378. description: 更新时间
  8379. type: string
  8380. updatorid:
  8381. description: 更新人
  8382. type: string
  8383. type: object
  8384. models.ErmcpGGConvertCfg:
  8385. properties:
  8386. convertratio:
  8387. description: 折算系数
  8388. type: number
  8389. destgoodsgroupid:
  8390. description: 目标品种ID
  8391. type: integer
  8392. dstcode:
  8393. description: 目录品种代码
  8394. type: string
  8395. dstexchangecode:
  8396. description: 目标期货交易所
  8397. type: string
  8398. dstname:
  8399. description: 目标品种名称
  8400. type: string
  8401. dstunitid:
  8402. description: 目标品种单位ID
  8403. type: integer
  8404. dstunitidname:
  8405. description: 目标品种单位名称
  8406. type: string
  8407. modifytime:
  8408. description: 修改时间
  8409. type: string
  8410. srccode:
  8411. description: 源品种代码
  8412. type: string
  8413. srcexchangecode:
  8414. description: 源期货交易所
  8415. type: string
  8416. srcgoodsgroupid:
  8417. description: 源品种ID
  8418. type: integer
  8419. srcname:
  8420. description: 源品种名称
  8421. type: string
  8422. srcunitid:
  8423. description: 源品种单位ID
  8424. type: integer
  8425. srcunitidname:
  8426. description: 源品种单位名称
  8427. type: string
  8428. type: object
  8429. models.ErmcpGoods:
  8430. properties:
  8431. agreeunit:
  8432. description: 合约单位
  8433. type: number
  8434. areauserid:
  8435. description: 所属机构
  8436. type: integer
  8437. auditaccountid:
  8438. description: 审核操作员账号
  8439. type: integer
  8440. audittime:
  8441. description: 审核时间
  8442. type: string
  8443. cancelaccountid:
  8444. description: 注销操作员账号
  8445. type: integer
  8446. canceltime:
  8447. description: 注销时间
  8448. type: string
  8449. closepricemode:
  8450. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  8451. type: integer
  8452. closepriceparam:
  8453. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  8454. type: number
  8455. createtime:
  8456. description: 创建时间
  8457. type: string
  8458. creatorid:
  8459. description: 创建人
  8460. type: integer
  8461. currencyid:
  8462. description: 报价货币ID
  8463. type: integer
  8464. cutmode:
  8465. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  8466. type: integer
  8467. decimalplace:
  8468. description: 报价小数位
  8469. type: integer
  8470. delistingdate:
  8471. description: 商品退市时间(状态:退市) -- 已作废
  8472. type: string
  8473. delistingmode:
  8474. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  8475. type: integer
  8476. deliveryflag:
  8477. description: 交割标志 - 0:不可交割 1:可交割
  8478. type: integer
  8479. enumdicname:
  8480. description: 单位名称
  8481. type: string
  8482. forceclosemode:
  8483. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  8484. type: integer
  8485. forceclosevalue:
  8486. description: 定期强平参数 [收益权]
  8487. type: integer
  8488. goodscode:
  8489. description: 商品代码(内部)
  8490. type: string
  8491. goodscurrencyid:
  8492. description: 合约货币ID
  8493. type: integer
  8494. goodsgroupid:
  8495. description: 所属商品组ID
  8496. type: integer
  8497. goodsid:
  8498. description: 商品ID(自增ID SEQ_GOODS)
  8499. type: integer
  8500. goodsname:
  8501. description: 商品名称
  8502. type: string
  8503. goodsquotetype:
  8504. description: '合约报价类型: 1-直接报价 2-间接报价'
  8505. type: integer
  8506. goodsstatus:
  8507. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  8508. type: integer
  8509. goodstradetype:
  8510. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  8511. type: integer
  8512. goodunitid:
  8513. description: 报价单位ID
  8514. type: integer
  8515. hasquoter:
  8516. description: 是否有报价商 - 0:无报价商 1:有报价商
  8517. type: integer
  8518. hqprotecttime:
  8519. description: 行情保护时间(秒)
  8520. type: integer
  8521. innerdealmode:
  8522. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  8523. type: integer
  8524. isbuylimited:
  8525. description: 是否限制建仓量 - 0:不限制 1:限制
  8526. type: integer
  8527. isvisible:
  8528. description: 游客是否可见 - 0:不可见 1:可见
  8529. type: integer
  8530. lasttradedate:
  8531. description: 最后交易日期(状态:待退市)
  8532. type: string
  8533. listingdate:
  8534. description: 交易开始日期
  8535. type: string
  8536. marketid:
  8537. description: 所属市场ID
  8538. type: integer
  8539. modifierid:
  8540. description: 修改人
  8541. type: integer
  8542. modifystatus:
  8543. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  8544. type: integer
  8545. modifytime:
  8546. description: 修改时间
  8547. type: string
  8548. outerdealmode:
  8549. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  8550. type: integer
  8551. outgoodscode:
  8552. description: 商品代码(外部)
  8553. type: string
  8554. pictureurl:
  8555. description: 商品图片
  8556. type: string
  8557. qtydecimalplace:
  8558. description: 成交量小数位
  8559. type: integer
  8560. quotegear:
  8561. description: 行情档位(1-10)
  8562. type: integer
  8563. quoteminunit:
  8564. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8565. type: integer
  8566. quoteshowtype:
  8567. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  8568. type: integer
  8569. quoteshowtypeinterval:
  8570. description: 行情报价间隔时间(秒)(成交价时为0)
  8571. type: integer
  8572. relatedgoodsid:
  8573. description: 关联参考商品ID
  8574. type: integer
  8575. remark:
  8576. description: 备注
  8577. type: string
  8578. trademode:
  8579. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8580. 21:竞拍-大宗式 22:受托竞价
  8581. type: integer
  8582. required:
  8583. - goodscode
  8584. - goodsid
  8585. - goodsname
  8586. - marketid
  8587. type: object
  8588. models.ErmcpGoodsBrand:
  8589. properties:
  8590. areauserid:
  8591. description: 所属机构
  8592. type: integer
  8593. brandid:
  8594. description: BrandID(SEQ_SPOTGOODSBRAND)
  8595. type: integer
  8596. brandname:
  8597. description: 品牌名称
  8598. type: string
  8599. createtime:
  8600. description: 创建时间
  8601. type: string
  8602. creatorid:
  8603. description: 创建人
  8604. type: integer
  8605. creatorsrc:
  8606. description: 创建人来源 - 1:管理端 2:终端
  8607. type: integer
  8608. deliverygoodsid:
  8609. description: 现货品种ID
  8610. type: integer
  8611. isvalid:
  8612. description: 是否有效 - 0:无效 1:有效
  8613. type: integer
  8614. updatetime:
  8615. description: 更新时间
  8616. type: string
  8617. updatorid:
  8618. description: 更新人
  8619. type: integer
  8620. updatorsrc:
  8621. description: 更新人来源 - 1:管理端 2:终端
  8622. type: integer
  8623. wrstandardid:
  8624. description: 现货商品ID
  8625. type: integer
  8626. type: object
  8627. models.ErmcpGoodsModel:
  8628. properties:
  8629. areauserid:
  8630. description: 所属机构
  8631. type: integer
  8632. convertfactor:
  8633. description: 标仓系数
  8634. type: number
  8635. createtime:
  8636. description: 创建时间
  8637. type: string
  8638. creatorid:
  8639. description: 创建人
  8640. type: integer
  8641. creatorsrc:
  8642. description: 创建人来源 - 1:管理端 2:终端
  8643. type: integer
  8644. deliverygoodsid:
  8645. description: 现货品种ID
  8646. type: integer
  8647. isvalid:
  8648. description: 是否有效 - 0:无效 1:有效
  8649. type: integer
  8650. modelid:
  8651. description: ModelID(SEQ_SPOTGOODSMODEL)
  8652. type: integer
  8653. modelname:
  8654. description: 型号名称
  8655. type: string
  8656. updatetime:
  8657. description: 更新时间
  8658. type: string
  8659. updatorid:
  8660. description: 更新人
  8661. type: integer
  8662. updatorsrc:
  8663. description: 更新人来源 - 1:管理端 2:终端
  8664. type: integer
  8665. wrstandardid:
  8666. description: 现货商品ID
  8667. type: integer
  8668. type: object
  8669. models.ErmcpHisExposure:
  8670. properties:
  8671. needhedgeexposoure:
  8672. description: 应套保敞口
  8673. type: number
  8674. reckondate:
  8675. description: 日照时期(yyyyMMdd)
  8676. type: string
  8677. totalexposure:
  8678. description: 总敞口
  8679. type: number
  8680. type: object
  8681. models.ErmcpLoginTaAccount:
  8682. properties:
  8683. accountid:
  8684. description: 账号id
  8685. type: integer
  8686. accountname:
  8687. description: 账号名称
  8688. type: string
  8689. type: object
  8690. models.ErmcpLoginUser:
  8691. properties:
  8692. acclist:
  8693. description: 关联资金账号
  8694. items:
  8695. $ref: '#/definitions/models.ErmcpLoginTaAccount'
  8696. type: array
  8697. accountname:
  8698. description: 用户名称
  8699. type: string
  8700. clientroleid:
  8701. description: 角色id(usertype=2)
  8702. type: integer
  8703. createtime:
  8704. description: 创建时间
  8705. type: string
  8706. logincode:
  8707. description: 登录代码
  8708. type: string
  8709. loginid:
  8710. description: 登录id(LOGINID)
  8711. type: integer
  8712. loginname:
  8713. description: 登录名称(loginaccount表中的accountname字段)
  8714. type: string
  8715. loginstatus:
  8716. description: 登录账户状态 - 1:正常 2:冻结 3:无效
  8717. type: integer
  8718. memberuserid:
  8719. description: 所属会员id
  8720. type: integer
  8721. mobile:
  8722. description: 手机号
  8723. type: string
  8724. modifytime:
  8725. description: 修改时间
  8726. type: string
  8727. password:
  8728. description: 密码(不可解密)
  8729. type: string
  8730. rolename:
  8731. description: 角色名称
  8732. type: string
  8733. rolestatus:
  8734. description: 角色状态 1-启用 2-停用
  8735. type: integer
  8736. roletype:
  8737. description: 角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员
  8738. type: string
  8739. userid:
  8740. description: 用户id
  8741. type: integer
  8742. usertype:
  8743. description: 用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  8744. type: integer
  8745. type: object
  8746. models.ErmcpLoginUserEx:
  8747. properties:
  8748. accountstatus:
  8749. description: 账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  8750. type: integer
  8751. mobile:
  8752. description: 手机号
  8753. type: string
  8754. querytype:
  8755. description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  8756. type: integer
  8757. roleid:
  8758. description: 角色id(交易账户->用户id)
  8759. type: integer
  8760. rolename:
  8761. description: 角色名称(交易账户->用户名称)
  8762. type: string
  8763. userlist:
  8764. description: 用户列表
  8765. items:
  8766. $ref: '#/definitions/models.ErmcpLoginUser'
  8767. type: array
  8768. usertype:
  8769. description: 用户类型 2-机构 7-企业成员(云平台)
  8770. type: integer
  8771. type: object
  8772. models.ErmcpMiddleGoodsModel:
  8773. properties:
  8774. areauserid:
  8775. description: 机构用户ID
  8776. type: integer
  8777. createtime:
  8778. description: 修改时间
  8779. type: string
  8780. enumdicname:
  8781. description: 单位名称
  8782. type: string
  8783. evaluateratio:
  8784. description: 估价系数
  8785. type: number
  8786. goodsgroupid:
  8787. description: 关联期货品种ID
  8788. type: integer
  8789. goodsunitid:
  8790. description: 单位ID
  8791. type: integer
  8792. isvalid:
  8793. description: 状态 0-无效(停用) 1-有效(正常)
  8794. type: integer
  8795. middlegoodscode:
  8796. description: 套保品种代码
  8797. type: string
  8798. middlegoodsid:
  8799. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  8800. type: integer
  8801. middlegoodsname:
  8802. description: 套保品种名称
  8803. type: string
  8804. modifytime:
  8805. description: 修改时间
  8806. type: string
  8807. needarbitrageratio:
  8808. description: 套利比例
  8809. type: number
  8810. needhedgeratio:
  8811. description: 套保比率
  8812. type: number
  8813. qtydecimalplace:
  8814. description: 数量小数位
  8815. type: integer
  8816. relatedgoodsid:
  8817. description: 关联交易商品ID
  8818. type: integer
  8819. relatedgoodstype:
  8820. description: 关联商品类型 - 1:期货合约 2:现货品种
  8821. type: integer
  8822. remark:
  8823. description: 备注
  8824. type: string
  8825. type: object
  8826. models.ErmcpMiddlegoodsRelateGoods:
  8827. properties:
  8828. agreeunit:
  8829. description: 合约乘数
  8830. type: number
  8831. convertratio:
  8832. description: 折算系数
  8833. type: number
  8834. enumdicname:
  8835. description: 单位名称(交易商品)
  8836. type: string
  8837. goodscode:
  8838. description: 交易商品代码
  8839. type: string
  8840. goodsgroupid:
  8841. description: 交易品种id
  8842. type: integer
  8843. goodsid:
  8844. description: 商品Id
  8845. type: integer
  8846. goodsname:
  8847. description: 交易商品名称
  8848. type: string
  8849. goodunitid:
  8850. description: 交易商品单位id
  8851. type: integer
  8852. middlegoodsid:
  8853. description: 套保商品id
  8854. type: integer
  8855. middlegoodsname:
  8856. description: 套保商品名称
  8857. type: string
  8858. middlegoodsswcode:
  8859. description: 套保商品代码
  8860. type: string
  8861. needarbitrageratio:
  8862. description: 应套利比例
  8863. type: number
  8864. needhedgeratio:
  8865. description: 应套保比例
  8866. type: number
  8867. type: object
  8868. models.ErmcpRole:
  8869. properties:
  8870. areauserid:
  8871. description: 所属机构
  8872. type: integer
  8873. autoid:
  8874. description: 角色ID(自增ID)
  8875. type: integer
  8876. modifierid:
  8877. description: 修改人(创建人)
  8878. type: integer
  8879. modifiername:
  8880. description: 修改人名称
  8881. type: string
  8882. modifytime:
  8883. description: 修改时间(创建时间)
  8884. type: string
  8885. rolename:
  8886. description: 角色名称
  8887. type: string
  8888. rolestatus:
  8889. description: 角色状态 - 1:启用 2:停用
  8890. type: integer
  8891. roletype:
  8892. description: 角色类型 - 1- 管理端 2- 交易端
  8893. type: integer
  8894. type: object
  8895. models.ErmcpRoleMenu:
  8896. properties:
  8897. iconame:
  8898. description: 菜单图标
  8899. type: string
  8900. ishadrole:
  8901. description: 是否有权限
  8902. type: boolean
  8903. menutype:
  8904. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 5:PCWEB(v6)
  8905. type: integer
  8906. parentcode:
  8907. description: 上级资源代码
  8908. type: string
  8909. remark:
  8910. description: 菜单备注
  8911. type: string
  8912. resourcecode:
  8913. description: 菜单代码
  8914. type: string
  8915. resourcelevel:
  8916. description: 级别
  8917. type: integer
  8918. resourcename:
  8919. description: 菜单名称
  8920. type: string
  8921. roleid:
  8922. description: 角色id
  8923. type: integer
  8924. sort:
  8925. description: 排序
  8926. type: integer
  8927. url:
  8928. description: URL
  8929. type: string
  8930. userid:
  8931. description: 用户id
  8932. type: integer
  8933. type: object
  8934. models.ErmcpRoleMenuEx:
  8935. properties:
  8936. menu:
  8937. $ref: '#/definitions/models.ErmcpRoleMenu'
  8938. description: 父级菜单
  8939. subMenu:
  8940. description: 子级菜单
  8941. items:
  8942. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  8943. type: array
  8944. type: object
  8945. models.ErmcpSpotContractModelEx:
  8946. properties:
  8947. accountname:
  8948. description: 套期主体
  8949. type: string
  8950. amount:
  8951. description: 金额 [1:一口价、3:暂定价]
  8952. type: number
  8953. attachment:
  8954. description: 附件
  8955. type: string
  8956. auditremark:
  8957. description: 审核意见
  8958. type: string
  8959. audittime:
  8960. description: 审核时间
  8961. type: string
  8962. avgprice:
  8963. description: 定价均价 = 已定价金额 / 已定价量
  8964. type: number
  8965. brandname:
  8966. description: 品牌名称
  8967. type: string
  8968. buyuserid:
  8969. description: 采购方ID
  8970. type: integer
  8971. buyusername:
  8972. description: 采购方名称
  8973. type: string
  8974. contracctstatus:
  8975. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  8976. type: integer
  8977. contractmargin:
  8978. description: 合同保证金
  8979. type: number
  8980. contractno:
  8981. description: '[合同编号]现货合同编号'
  8982. type: string
  8983. contracttype:
  8984. description: '[合同类型]现货合同类型 - 1:采购 -1:销售'
  8985. type: integer
  8986. convertfactor:
  8987. description: 标仓系数
  8988. type: number
  8989. createtime:
  8990. description: 创建时间
  8991. type: string
  8992. customername:
  8993. description: 对手方
  8994. type: string
  8995. customeruserid:
  8996. description: 客户ID
  8997. type: integer
  8998. deliveryenddate:
  8999. description: 交收期(结束)
  9000. type: string
  9001. deliverygoodscode:
  9002. description: 现货品种代码
  9003. type: string
  9004. deliverygoodsid:
  9005. description: 现货品种ID
  9006. type: integer
  9007. deliverygoodsname:
  9008. description: 现货品种名称
  9009. type: string
  9010. deliverystartdate:
  9011. description: 交收期(开始)
  9012. type: string
  9013. enddate:
  9014. description: 点价结束日期 [2:点价 3:暂定价]
  9015. type: string
  9016. enumdicname:
  9017. description: 单位名称
  9018. type: string
  9019. goodscode:
  9020. description: 点价合约代码
  9021. type: string
  9022. goodsid:
  9023. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  9024. type: integer
  9025. goodsname:
  9026. description: 点价商品名称
  9027. type: string
  9028. isrelated:
  9029. description: 是否已关联计划项目 - 0:否 1:是
  9030. type: integer
  9031. isrelated2:
  9032. description: 是否已关联现货项目 - 0:否 1:是
  9033. type: integer
  9034. margin:
  9035. description: 当前保证金
  9036. type: number
  9037. modelname:
  9038. description: 型号名称
  9039. type: string
  9040. price:
  9041. description: 价格\暂定价 [1:一口价、3:暂定价]
  9042. type: number
  9043. pricedamount:
  9044. description: 已定价金额 = (点价价格+升贴水) * 数量
  9045. type: number
  9046. pricedqty:
  9047. description: 已定价量
  9048. type: number
  9049. pricemove:
  9050. description: 升贴水 [2:点价 3:暂定价]
  9051. type: number
  9052. pricetype:
  9053. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  9054. type: integer
  9055. producttype:
  9056. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  9057. type: integer
  9058. qty:
  9059. description: '[合同数量]数量'
  9060. type: number
  9061. remark:
  9062. description: 备注
  9063. type: string
  9064. selluserid:
  9065. description: 销售方ID
  9066. type: integer
  9067. sellusername:
  9068. description: 销售方名称
  9069. type: string
  9070. spotamount:
  9071. description: 合同现货金额 [不含升贴水]
  9072. type: number
  9073. spotavgprice:
  9074. description: 现货均价 = 合同现货金额 / 已定价量
  9075. type: number
  9076. spotcontractid:
  9077. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  9078. type: string
  9079. spotgoodsbrandid:
  9080. description: 现货品牌ID
  9081. type: integer
  9082. spotgoodsdesc:
  9083. description: 商品型号
  9084. type: string
  9085. spotgoodsmodelid:
  9086. description: 现货型号ID
  9087. type: integer
  9088. startdate:
  9089. description: 点价开始日期 [2:点价 3:暂定价]
  9090. type: string
  9091. tradeuserid:
  9092. description: 交易用户ID
  9093. type: integer
  9094. unpricedqty:
  9095. description: 未定价量 = 合同数量 - 已定价量
  9096. type: number
  9097. updatetime:
  9098. description: 更新时间
  9099. type: string
  9100. userid:
  9101. description: 机构ID
  9102. type: integer
  9103. wrstandardcode:
  9104. description: 现货商品代码
  9105. type: string
  9106. wrstandardid:
  9107. description: 现货商品ID
  9108. type: integer
  9109. wrstandardname:
  9110. description: '[现货商品]现货商品名称'
  9111. type: string
  9112. type: object
  9113. models.ErmcpTaAccount:
  9114. properties:
  9115. accountid:
  9116. description: 账户id
  9117. type: integer
  9118. accountname:
  9119. description: 账户名称
  9120. type: string
  9121. currencyid:
  9122. description: 币种id
  9123. type: integer
  9124. hedgeaccountcode:
  9125. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  9126. type: string
  9127. ismain:
  9128. description: 是否主账户 0-否 1-是
  9129. type: integer
  9130. parentaccountid:
  9131. description: 父账户id
  9132. type: integer
  9133. relateduserid:
  9134. description: 关联userid
  9135. type: integer
  9136. tradefeetmpid:
  9137. description: 手续费模板id
  9138. type: integer
  9139. tradefeetmpname:
  9140. description: 手续费模板名称
  9141. type: string
  9142. trademargintmpid:
  9143. description: 保证金模板id
  9144. type: integer
  9145. trademargintmpname:
  9146. description: 保证金模板名称
  9147. type: string
  9148. traderatetmpid:
  9149. description: 汇率模板id
  9150. type: integer
  9151. traderatetmpname:
  9152. description: 汇率模板名称
  9153. type: string
  9154. tradestatus:
  9155. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  9156. type: integer
  9157. userid:
  9158. description: 用户id
  9159. type: integer
  9160. type: object
  9161. models.ErmcpTaAccountEx:
  9162. properties:
  9163. mainAcc:
  9164. $ref: '#/definitions/models.ErmcpTaAccountM'
  9165. description: 主账号
  9166. subacclist:
  9167. description: 子账号列表
  9168. items:
  9169. $ref: '#/definitions/models.ErmcpTaAccount'
  9170. type: array
  9171. type: object
  9172. models.ErmcpTaAccountInfo:
  9173. properties:
  9174. accountid:
  9175. description: 资金账户ID
  9176. type: integer
  9177. accountname:
  9178. description: 账户名称
  9179. type: string
  9180. balance:
  9181. description: 期初余额
  9182. type: number
  9183. capitalbalance:
  9184. description: 本金余额[外部子账户实际出入金余额]
  9185. type: number
  9186. closepl:
  9187. description: 今日平仓盈亏
  9188. type: number
  9189. creditdecrease:
  9190. description: 今日授信减少
  9191. type: number
  9192. creditincrease:
  9193. description: 今日授信增加
  9194. type: number
  9195. curdebt:
  9196. description: 期末欠款
  9197. type: number
  9198. currencyid:
  9199. description: 货币ID
  9200. type: integer
  9201. currentbalance:
  9202. description: 期末余额
  9203. type: number
  9204. freezecharge:
  9205. description: 手续费冻结
  9206. type: number
  9207. freezemargin:
  9208. description: 冻结保证金
  9209. type: number
  9210. fromaccountid:
  9211. description: 所属上级账户
  9212. type: integer
  9213. inamount:
  9214. description: 今日入金金额(包括三方入金)
  9215. type: number
  9216. ismain:
  9217. description: 是否母账号 0:不是母账户 1:是母账户
  9218. type: integer
  9219. mortgagecredit:
  9220. description: 授信金额
  9221. type: number
  9222. oridebt:
  9223. description: 期初欠款
  9224. type: number
  9225. orifreezecharge:
  9226. description: 期初手续费冻结
  9227. type: number
  9228. orifreezemargin:
  9229. description: 期初冻结保证金
  9230. type: number
  9231. orimortgagecredit:
  9232. description: 期初授信金额
  9233. type: number
  9234. oriothercredit:
  9235. description: 期初其它授信金额
  9236. type: number
  9237. oriotherfreezemargin:
  9238. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  9239. type: number
  9240. orioutamountfreeze:
  9241. description: 期初出金冻结
  9242. type: number
  9243. oriusedmargin:
  9244. description: 期初占用保证金
  9245. type: number
  9246. othercredit:
  9247. description: 其它授信金额
  9248. type: number
  9249. othercreditdecrease:
  9250. description: 今日其它授信减少
  9251. type: number
  9252. othercreditincrease:
  9253. description: 今日其它授信增加
  9254. type: number
  9255. otherfreezemargin:
  9256. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  9257. type: number
  9258. outamount:
  9259. description: 今日出金金额(包括三方出金)
  9260. type: number
  9261. outamountfreeze:
  9262. description: 出金冻结
  9263. type: number
  9264. outthreshold:
  9265. description: 出金阈值
  9266. type: number
  9267. parentaccountid:
  9268. description: 所属根账号
  9269. type: integer
  9270. paycharge:
  9271. description: 今日手续费支出
  9272. type: number
  9273. relateduserid:
  9274. description: 关联用户
  9275. type: integer
  9276. signstatus:
  9277. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  9278. type: integer
  9279. sublevelpath:
  9280. description: 账号层级路径(逗号分隔,首尾加逗号)
  9281. type: string
  9282. taaccounttype:
  9283. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  9284. type: integer
  9285. thirdinamount:
  9286. description: 今日三方入金
  9287. type: number
  9288. thirdoutamount:
  9289. description: 今日三方出金
  9290. type: number
  9291. tradestatus:
  9292. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  9293. type: integer
  9294. transferamount:
  9295. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  9296. type: number
  9297. usedmargin:
  9298. description: 占用保证金
  9299. type: number
  9300. userid:
  9301. description: 用户ID
  9302. type: integer
  9303. type: object
  9304. models.ErmcpTaAccountM:
  9305. properties:
  9306. accountid:
  9307. description: 账户id
  9308. type: integer
  9309. accountname:
  9310. description: 账户名称
  9311. type: string
  9312. currencyid:
  9313. description: 币种id
  9314. type: integer
  9315. fcid:
  9316. description: 期货公司id
  9317. type: integer
  9318. fcname:
  9319. description: 期货公司代码
  9320. type: string
  9321. hedgeaccountcode:
  9322. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  9323. type: string
  9324. ismain:
  9325. description: 是否主账户 0-否 1-是
  9326. type: integer
  9327. parentaccountid:
  9328. description: 父账户id
  9329. type: integer
  9330. relateduserid:
  9331. description: 关联userid
  9332. type: integer
  9333. tradefeetmpid:
  9334. description: 手续费模板id
  9335. type: integer
  9336. tradefeetmpname:
  9337. description: 手续费模板名称
  9338. type: string
  9339. trademargintmpid:
  9340. description: 保证金模板id
  9341. type: integer
  9342. trademargintmpname:
  9343. description: 保证金模板名称
  9344. type: string
  9345. traderatetmpid:
  9346. description: 汇率模板id
  9347. type: integer
  9348. traderatetmpname:
  9349. description: 汇率模板名称
  9350. type: string
  9351. tradestatus:
  9352. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  9353. type: integer
  9354. userid:
  9355. description: 用户id
  9356. type: integer
  9357. type: object
  9358. models.ErmcpTradeConfigTMP:
  9359. properties:
  9360. areauserid:
  9361. description: 所属机构
  9362. type: integer
  9363. basiccurrencyid:
  9364. description: 基本币种ID[汇率] - 目标币种
  9365. type: integer
  9366. mainaccountid:
  9367. description: 主账户ID
  9368. type: integer
  9369. modifierid:
  9370. description: 修改人
  9371. type: integer
  9372. remark:
  9373. description: 备注
  9374. type: string
  9375. tradeconfigtmpid:
  9376. description: 交易配置模板ID(SEQ_TRADECONFIGTMP)
  9377. type: integer
  9378. tradeconfigtmpname:
  9379. description: 交易配置模板名称
  9380. type: string
  9381. tradeconfigtmptype:
  9382. description: 交易配置模板类型 - 1:保证金 2:手续费 3:汇率
  9383. type: integer
  9384. updatetime:
  9385. description: 更新时间
  9386. type: string
  9387. type: object
  9388. models.Ermcpjrlinkpos:
  9389. properties:
  9390. areauserid:
  9391. description: 所属企业
  9392. type: integer
  9393. averageprice:
  9394. description: 持仓均价 (TotalBuyHoldAmount - TotalSellHoldAmount) / NetQty
  9395. type: number
  9396. closepl:
  9397. description: 总平仓盈亏 [期货损益]
  9398. type: number
  9399. executeprice:
  9400. description: 执行价 - 1:期货单 为 0
  9401. type: integer
  9402. futurehedgeqty:
  9403. description: 期货套期量
  9404. type: number
  9405. goodsid:
  9406. description: 期货合约
  9407. type: integer
  9408. middlegoodscode:
  9409. description: 套保商品代码
  9410. type: string
  9411. middlegoodsname:
  9412. description: 套保商品名称
  9413. type: string
  9414. netqty:
  9415. description: 净头寸
  9416. type: number
  9417. optioncode:
  9418. description: 期权代码
  9419. type: string
  9420. ordertype:
  9421. description: 单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单
  9422. type: integer
  9423. reckonpl:
  9424. description: 总盈亏(平仓盈亏 + 结算盈亏 - 手续费)
  9425. type: number
  9426. spotcontractid:
  9427. description: 现货ID [套期项目ID - 金瑞:合同\虚拟合同ID
  9428. type: string
  9429. todayfutureclosepl:
  9430. description: 今日平仓盈亏
  9431. type: number
  9432. totalbuyamount:
  9433. description: 买金额 [期货]
  9434. type: number
  9435. totalbuyholdamount:
  9436. description: 买持仓总金额[期货]
  9437. type: number
  9438. totalbuyqty:
  9439. description: 买数量
  9440. type: number
  9441. totalcharge:
  9442. description: 手续费
  9443. type: number
  9444. totalpremium:
  9445. description: 权利金 [期权]
  9446. type: number
  9447. totalsellamount:
  9448. description: 卖金额 [期货]
  9449. type: number
  9450. totalsellholdamount:
  9451. description: 卖持仓总金额[期货]
  9452. type: number
  9453. totalsellqty:
  9454. description: 卖数量
  9455. type: number
  9456. updatetime:
  9457. description: 更新时间
  9458. type: string
  9459. required:
  9460. - spotcontractid
  9461. type: object
  9462. models.Ermcppatradelinkdetail:
  9463. properties:
  9464. agreeunit:
  9465. description: 合约乘数
  9466. type: number
  9467. amount:
  9468. description: 金额 = RelatedLot * TradePrice * AgreeUnit
  9469. type: number
  9470. areauserid:
  9471. description: 所属机构
  9472. type: integer
  9473. bizsubjectid:
  9474. description: 归属业务部门ID - SubjectID
  9475. type: integer
  9476. buyorsell:
  9477. description: 方向 - 0:买 1:卖
  9478. type: integer
  9479. convertratio:
  9480. description: 品种系数
  9481. type: number
  9482. createtime:
  9483. description: 创建时间
  9484. type: string
  9485. creatorid:
  9486. description: 创建人ID
  9487. type: integer
  9488. creatorsrc:
  9489. description: 创建人来源 - 1:管理端 2:终端 3:交易
  9490. type: integer
  9491. goodsgroupid:
  9492. description: 对冲品种ID[期货合约商品组ID]
  9493. type: integer
  9494. goodsid:
  9495. description: 商品ID
  9496. type: integer
  9497. hedgeditemid:
  9498. description: 现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]
  9499. type: integer
  9500. hedgeflag:
  9501. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  9502. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目
  9503. type: integer
  9504. linkdetailid:
  9505. description: 期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)
  9506. type: string
  9507. linkstatus:
  9508. description: 关联状态 - 1:成功 2:失败 3:解绑
  9509. type: integer
  9510. middlegoodsid:
  9511. description: 套保品种ID
  9512. type: integer
  9513. name:
  9514. description: 账户名/子账户
  9515. type: string
  9516. optioncode:
  9517. description: '[期货合约]期权代码 [期权]'
  9518. type: string
  9519. ordertype:
  9520. description: 单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单
  9521. type: integer
  9522. relatedlot:
  9523. description: '[数量]关联手数'
  9524. type: number
  9525. relatedmode:
  9526. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  9527. type: integer
  9528. relatedqty:
  9529. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  9530. type: number
  9531. retcode:
  9532. description: 返回码
  9533. type: integer
  9534. saleuserid:
  9535. description: 业务员ID
  9536. type: integer
  9537. tradedate:
  9538. description: 关联交易日(yyyyMMdd)
  9539. type: string
  9540. tradeid:
  9541. description: '[成交单号]内部成交单ID'
  9542. type: string
  9543. tradelot:
  9544. description: 成交手数
  9545. type: integer
  9546. tradeprice:
  9547. description: '[价格]成交价格'
  9548. type: number
  9549. tradetime:
  9550. description: 日期时间
  9551. type: string
  9552. tradetradedate:
  9553. description: 成交交易日(yyyyMMdd)
  9554. type: string
  9555. required:
  9556. - hedgeditemid
  9557. type: object
  9558. models.Externalexchange:
  9559. properties:
  9560. autoid:
  9561. description: AutoID - SEQ_EXTERNALEXCHANGE
  9562. type: integer
  9563. exchangefullname:
  9564. description: 外部交易所全称
  9565. type: string
  9566. exexchangecode:
  9567. description: 外部交易所代码
  9568. type: string
  9569. exexchangename:
  9570. description: 外部交易所名称(简称)
  9571. type: string
  9572. ismarketprice:
  9573. description: 是否支持市价 - 0:不支持 1:支持
  9574. type: integer
  9575. quotegear:
  9576. description: 行情档位(1-10)
  9577. type: integer
  9578. showbrokerflag:
  9579. description: 是否显示买卖经纪盘 - 0:不显示 1:显示
  9580. type: integer
  9581. updatetime:
  9582. description: 更新时间
  9583. type: string
  9584. required:
  9585. - autoid
  9586. type: object
  9587. models.Funcmenulist:
  9588. properties:
  9589. iconame:
  9590. description: 菜单图标
  9591. type: string
  9592. menutype:
  9593. description: 菜单类型 1-管理端 2-交易端 3-终端权限
  9594. type: integer
  9595. parentcode:
  9596. description: 上级资源代码
  9597. type: string
  9598. remark:
  9599. description: 备注
  9600. type: string
  9601. resourcecode:
  9602. description: 资源代码
  9603. type: string
  9604. resourcelevel:
  9605. description: 级别 1-一级 2-二级 3-三级 4-四级
  9606. type: integer
  9607. resourcename:
  9608. description: 资源名
  9609. type: string
  9610. sort:
  9611. description: 排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序
  9612. type: integer
  9613. url:
  9614. description: URL
  9615. type: string
  9616. required:
  9617. - resourcecode
  9618. type: object
  9619. models.GZWarehouseinfo:
  9620. properties:
  9621. address:
  9622. description: 详细地址
  9623. type: string
  9624. areauserid:
  9625. description: 所属机构
  9626. type: integer
  9627. autoid:
  9628. description: 自增ID
  9629. type: integer
  9630. cityid:
  9631. description: 市
  9632. type: integer
  9633. contactname:
  9634. description: 联系人
  9635. type: string
  9636. contactnum:
  9637. description: 联系电话
  9638. type: string
  9639. countryid:
  9640. description: 国家
  9641. type: integer
  9642. createtime:
  9643. description: 创建时间
  9644. type: string
  9645. districtid:
  9646. description: 区
  9647. type: integer
  9648. hasvideo:
  9649. description: 是否有视频 - 0:无 1:有
  9650. type: integer
  9651. provinceid:
  9652. description: 省
  9653. type: integer
  9654. remark:
  9655. description: 审核备注
  9656. type: string
  9657. videourl:
  9658. description: 视频地址
  9659. type: string
  9660. warehousecode:
  9661. description: 仓库代码
  9662. type: string
  9663. warehousename:
  9664. description: 仓库名称
  9665. type: string
  9666. warehousestatus:
  9667. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  9668. type: integer
  9669. warehousetype:
  9670. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  9671. type: integer
  9672. type: object
  9673. models.Goods:
  9674. properties:
  9675. agreeunit:
  9676. description: 合约单位
  9677. type: number
  9678. areauserid:
  9679. description: 所属机构
  9680. type: integer
  9681. auditaccountid:
  9682. description: 审核操作员账号
  9683. type: integer
  9684. audittime:
  9685. description: 审核时间
  9686. type: string
  9687. cancelaccountid:
  9688. description: 注销操作员账号
  9689. type: integer
  9690. canceltime:
  9691. description: 注销时间
  9692. type: string
  9693. closepricemode:
  9694. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  9695. type: integer
  9696. closepriceparam:
  9697. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  9698. type: number
  9699. createtime:
  9700. description: 创建时间
  9701. type: string
  9702. creatorid:
  9703. description: 创建人
  9704. type: integer
  9705. currencyid:
  9706. description: 报价货币ID
  9707. type: integer
  9708. cutmode:
  9709. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  9710. type: integer
  9711. decimalplace:
  9712. description: 报价小数位
  9713. type: integer
  9714. delistingdate:
  9715. description: 商品退市时间(状态:退市) -- 已作废
  9716. type: string
  9717. delistingmode:
  9718. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  9719. type: integer
  9720. deliveryflag:
  9721. description: 交割标志 - 0:不可交割 1:可交割
  9722. type: integer
  9723. forceclosemode:
  9724. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  9725. type: integer
  9726. forceclosevalue:
  9727. description: 定期强平参数 [收益权]
  9728. type: integer
  9729. goodscode:
  9730. description: 商品代码(内部)
  9731. type: string
  9732. goodscurrencyid:
  9733. description: 合约货币ID
  9734. type: integer
  9735. goodsgroupid:
  9736. description: 所属商品组ID
  9737. type: integer
  9738. goodsid:
  9739. description: 商品ID(自增ID SEQ_GOODS)
  9740. type: integer
  9741. goodsname:
  9742. description: 商品名称
  9743. type: string
  9744. goodsquotetype:
  9745. description: '合约报价类型: 1-直接报价 2-间接报价'
  9746. type: integer
  9747. goodsstatus:
  9748. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  9749. type: integer
  9750. goodstradetype:
  9751. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  9752. type: integer
  9753. goodunitid:
  9754. description: 报价单位ID
  9755. type: integer
  9756. hasquoter:
  9757. description: 是否有报价商 - 0:无报价商 1:有报价商
  9758. type: integer
  9759. hqprotecttime:
  9760. description: 行情保护时间(秒)
  9761. type: integer
  9762. innerdealmode:
  9763. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  9764. type: integer
  9765. isbuylimited:
  9766. description: 是否限制建仓量 - 0:不限制 1:限制
  9767. type: integer
  9768. isvisible:
  9769. description: 游客是否可见 - 0:不可见 1:可见
  9770. type: integer
  9771. lasttradedate:
  9772. description: 最后交易日期(状态:待退市)
  9773. type: string
  9774. listingdate:
  9775. description: 交易开始日期
  9776. type: string
  9777. marketid:
  9778. description: 所属市场ID
  9779. type: integer
  9780. modifierid:
  9781. description: 修改人
  9782. type: integer
  9783. modifystatus:
  9784. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  9785. type: integer
  9786. modifytime:
  9787. description: 修改时间
  9788. type: string
  9789. outerdealmode:
  9790. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  9791. type: integer
  9792. outgoodscode:
  9793. description: 商品代码(外部)
  9794. type: string
  9795. pictureurl:
  9796. description: 商品图片
  9797. type: string
  9798. qtydecimalplace:
  9799. description: 成交量小数位
  9800. type: integer
  9801. quotegear:
  9802. description: 行情档位(1-10)
  9803. type: integer
  9804. quoteminunit:
  9805. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9806. type: integer
  9807. quoteshowtype:
  9808. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  9809. type: integer
  9810. quoteshowtypeinterval:
  9811. description: 行情报价间隔时间(秒)(成交价时为0)
  9812. type: integer
  9813. remark:
  9814. description: 备注
  9815. type: string
  9816. required:
  9817. - goodscode
  9818. - goodsid
  9819. - goodsname
  9820. - marketid
  9821. type: object
  9822. models.GoodsIDAndName:
  9823. properties:
  9824. goodscode:
  9825. description: 商品代码(内部)
  9826. type: string
  9827. goodsid:
  9828. description: 商品ID(自增ID SEQ_GOODS)
  9829. type: integer
  9830. goodsname:
  9831. description: 商品名称
  9832. type: string
  9833. marketid:
  9834. description: 所属市场ID
  9835. type: integer
  9836. required:
  9837. - goodscode
  9838. - goodsid
  9839. - goodsname
  9840. - marketid
  9841. type: object
  9842. models.Goodsgroup:
  9843. properties:
  9844. agreeunit:
  9845. description: 合约单位
  9846. type: number
  9847. canshort:
  9848. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  9849. type: integer
  9850. closepricemode:
  9851. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  9852. type: integer
  9853. closepriceparam:
  9854. description: 强平最新价浮动比例 - 方式为2时使用
  9855. type: number
  9856. createtime:
  9857. description: 创建时间
  9858. type: string
  9859. creatorid:
  9860. description: 创建人
  9861. type: integer
  9862. currencyid:
  9863. description: 报价货币ID
  9864. type: integer
  9865. decimalplace:
  9866. description: 报价小数位
  9867. type: integer
  9868. exercisetype:
  9869. description: 行权类型[场外期权]-1:欧式期权 2:美式期权
  9870. type: integer
  9871. exexchangeid:
  9872. description: 外部交易所ID[通道交易]
  9873. type: integer
  9874. goodsgroupid:
  9875. description: 商品组ID(自增ID)
  9876. type: integer
  9877. goodsgroupname:
  9878. description: 商品组名称
  9879. type: string
  9880. goodsgroupstatus:
  9881. description: 商品组状态 - 1:正常 2:注销
  9882. type: integer
  9883. goodunitid:
  9884. description: 报价单位ID
  9885. type: integer
  9886. innerdealmode:
  9887. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  9888. type: integer
  9889. isbuylimited:
  9890. description: 是否限制建仓量 - 0:不限制 1:限制
  9891. type: integer
  9892. marketid:
  9893. description: 所属市场ID
  9894. type: integer
  9895. modifierid:
  9896. description: 修改人
  9897. type: integer
  9898. modifytime:
  9899. description: 修改时间
  9900. type: string
  9901. outerdealmode:
  9902. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  9903. type: integer
  9904. outergroupcode:
  9905. description: 外部商品组代码[通道交易]
  9906. type: string
  9907. premiumdecimalplace:
  9908. description: 权利金小数位[场外期权]
  9909. type: integer
  9910. premiumspreadalgorithm:
  9911. description: 权利金点差方式[场外期权] 1:比率 2:固定
  9912. type: integer
  9913. premiumspreadvalue:
  9914. description: 权利金点差值[场外期权]
  9915. type: number
  9916. qtydecimalplace:
  9917. description: 成交量小数位
  9918. type: integer
  9919. quotegear:
  9920. description: 行情档位(1-10)
  9921. type: integer
  9922. quoteminunit:
  9923. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9924. type: integer
  9925. quoterid:
  9926. description: 报价商ID[场外期权]
  9927. type: integer
  9928. quotesourcegroupid:
  9929. description: 所属行情源分组ID[参考行情市场用\通道交易]
  9930. type: integer
  9931. syncgoodsqty:
  9932. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  9933. type: integer
  9934. required:
  9935. - goodsgroupid
  9936. - goodsgroupname
  9937. - goodsgroupstatus
  9938. - marketid
  9939. type: object
  9940. models.Goodssortbypreposition:
  9941. properties:
  9942. goodscode:
  9943. description: 合约代码 - 易盛接口:合约代码=品种代码+合约代码
  9944. type: string
  9945. goodsgroupcode:
  9946. description: 品种代码
  9947. type: string
  9948. prepositionqty:
  9949. description: 昨持仓量
  9950. type: integer
  9951. sortindex:
  9952. description: 排序
  9953. type: integer
  9954. tradedate:
  9955. description: 交易日
  9956. type: string
  9957. updatetime:
  9958. description: 更新时间
  9959. type: string
  9960. required:
  9961. - goodscode
  9962. - tradedate
  9963. type: object
  9964. models.Hedgeinnerholderdetail:
  9965. properties:
  9966. accountid:
  9967. description: 账号ID
  9968. type: integer
  9969. buyorsell:
  9970. description: 方向 - 0:买 1:卖
  9971. type: integer
  9972. freezeqty:
  9973. description: 冻结数量 - 按单平使用
  9974. type: integer
  9975. goodsid:
  9976. description: 商品ID
  9977. type: integer
  9978. holderamount:
  9979. description: 持仓金额 [商品币种]
  9980. type: number
  9981. holderdays:
  9982. description: 剩余冻结天数
  9983. type: integer
  9984. holderprice:
  9985. description: 持仓价格
  9986. type: number
  9987. holderqty:
  9988. description: 持仓数量
  9989. type: integer
  9990. marketid:
  9991. description: 市场ID
  9992. type: integer
  9993. openprice:
  9994. description: 建仓价格
  9995. type: number
  9996. openqty:
  9997. description: 建仓数量
  9998. type: integer
  9999. parentaccountid:
  10000. description: 所属母账户
  10001. type: integer
  10002. releaseamount:
  10003. description: 释放持仓金额[商品币种]
  10004. type: number
  10005. tradeamount:
  10006. description: 成交金额[账户]
  10007. type: number
  10008. tradedate:
  10009. description: 交易日(yyyyMMdd)
  10010. type: string
  10011. tradeid:
  10012. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10013. type: string
  10014. tradetime:
  10015. description: 交易时间
  10016. type: string
  10017. required:
  10018. - buyorsell
  10019. - tradeid
  10020. type: object
  10021. models.Hedgemarketopenlog:
  10022. properties:
  10023. accountid:
  10024. description: 资金账号[外部母账户]
  10025. type: integer
  10026. fcname:
  10027. description: 期货公司名称
  10028. type: string
  10029. handlestatus:
  10030. description: 处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp
  10031. type: integer
  10032. marketid:
  10033. description: 市场ID
  10034. type: integer
  10035. status:
  10036. description: 状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败
  10037. type: integer
  10038. tradedate:
  10039. description: 交易日(yyyyMMdd)
  10040. type: string
  10041. updatetime:
  10042. description: 更新时间
  10043. type: string
  10044. required:
  10045. - accountid
  10046. type: object
  10047. models.InternalEnableTradeDetail:
  10048. properties:
  10049. agreeunit:
  10050. description: 合约乘数
  10051. type: number
  10052. areauserid:
  10053. description: 企业ID
  10054. type: integer
  10055. convertratio:
  10056. description: 品种系数
  10057. type: number
  10058. deliverygoodscode:
  10059. description: 现货品种代码
  10060. type: string
  10061. deliverygoodsid:
  10062. description: 现货品种ID(SEQ_DELIVERYGOODS)
  10063. type: integer
  10064. deliverygoodsname:
  10065. description: 现货品种名称
  10066. type: string
  10067. futurehedgeqty:
  10068. description: '[已关联数量]期货持仓套期量'
  10069. type: number
  10070. goodsid:
  10071. description: 期货合约ID
  10072. type: integer
  10073. hedgeditemid:
  10074. description: 被套期项目ID
  10075. type: string
  10076. hedgeditemnum:
  10077. description: 项目编号
  10078. type: string
  10079. tradeuserid:
  10080. description: 交易用户ID
  10081. type: integer
  10082. unexehedgeqty:
  10083. description: 未执行套期量 = 未执行现货量*折算系数* (1/(1+增值税)) * 套期比例(项目上)
  10084. type: number
  10085. unexespotqty:
  10086. description: 未执行现货量
  10087. type: number
  10088. wrstandardcode:
  10089. description: 现货品类代码
  10090. type: string
  10091. wrstandardid:
  10092. description: 现货品类ID(SEQ_WRSTANDARD)
  10093. type: integer
  10094. wrstandardname:
  10095. description: 现货品类名称
  10096. type: string
  10097. required:
  10098. - areauserid
  10099. - goodsid
  10100. - tradeuserid
  10101. type: object
  10102. models.InternalUncorrelatedTradeDetail:
  10103. properties:
  10104. accountid:
  10105. description: 账号ID
  10106. type: integer
  10107. accountname:
  10108. description: 套期主体
  10109. type: string
  10110. agreeunit:
  10111. description: 合约乘数
  10112. type: number
  10113. areauserid:
  10114. description: 所属机构
  10115. type: integer
  10116. bizsubjectid:
  10117. description: 归属业务部门ID - SubjectID
  10118. type: integer
  10119. buyorsell:
  10120. description: 方向 - 0:买 1:卖
  10121. type: integer
  10122. channelbuildtype:
  10123. description: 委托单据类型 0:无 1:建仓 2:平仓
  10124. type: integer
  10125. convertratio:
  10126. description: 品种系数
  10127. type: number
  10128. createtime:
  10129. description: 创建时间
  10130. type: string
  10131. creatorid:
  10132. description: 创建人ID
  10133. type: integer
  10134. creatorsrc:
  10135. description: 创建人来源 - 1:管理端 2:终端 3:交易
  10136. type: integer
  10137. enableqty:
  10138. description: 项目可关联数量 = 套保品种数量 - 关联数量
  10139. type: number
  10140. enumdicname:
  10141. description: 单位
  10142. type: string
  10143. goodscode:
  10144. description: 合约代码
  10145. type: string
  10146. goodsgroupid:
  10147. description: 对冲品种ID[期货合约商品组ID]
  10148. type: integer
  10149. goodsid:
  10150. description: 商品ID
  10151. type: integer
  10152. goodsname:
  10153. description: 合约名称
  10154. type: string
  10155. hedgeditemid:
  10156. description: 现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]
  10157. type: integer
  10158. hedgeflag:
  10159. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  10160. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目
  10161. type: integer
  10162. linkdetailid:
  10163. description: 期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)
  10164. type: string
  10165. linkstatus:
  10166. description: 关联状态 - 1:成功 2:失败 3:解绑
  10167. type: integer
  10168. middlegoodsid:
  10169. description: 套保品种ID
  10170. type: integer
  10171. middlegoodsqty:
  10172. description: '[套期商品数量]套保品种数量 = TradeQty * AgreeUnit * ConvertRatio'
  10173. type: number
  10174. relatedlot:
  10175. description: '[数量]关联手数'
  10176. type: number
  10177. relatedmode:
  10178. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  10179. type: integer
  10180. relatedqty:
  10181. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  10182. type: number
  10183. retcode:
  10184. description: 返回码
  10185. type: integer
  10186. saleuserid:
  10187. description: 业务员ID
  10188. type: integer
  10189. tradedate:
  10190. description: 关联交易日(yyyyMMdd)
  10191. type: string
  10192. tradeid:
  10193. description: 成交单号
  10194. type: string
  10195. tradelot:
  10196. description: 成交手数
  10197. type: integer
  10198. tradeprice:
  10199. description: 成交价
  10200. type: number
  10201. tradetime:
  10202. description: 成交时间
  10203. type: string
  10204. tradetradedate:
  10205. description: 成交交易日(yyyyMMdd)
  10206. type: string
  10207. tradeuserid:
  10208. description: 交易用户ID
  10209. type: integer
  10210. type: object
  10211. models.Loginaccount:
  10212. properties:
  10213. accountname:
  10214. description: 账户名称
  10215. type: string
  10216. canoutin:
  10217. description: 是否可出入金 - 0:不可 1:可
  10218. type: integer
  10219. clientroleid:
  10220. description: 终端角色ID
  10221. type: integer
  10222. haslogined:
  10223. description: 是否已登录 - 0:未登录 1:已登录
  10224. type: integer
  10225. hasupdatedpwd:
  10226. description: 是否已更改密码 - 0:未修改 1:已修改
  10227. type: integer
  10228. lastloginip:
  10229. description: 最新登录地址
  10230. type: string
  10231. lastloginmode:
  10232. description: 最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端
  10233. 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  10234. type: integer
  10235. lastloginremark:
  10236. description: 最新登录描述
  10237. type: string
  10238. lastlogintime:
  10239. description: 最新登录时间
  10240. type: string
  10241. logincode:
  10242. description: 登录代码
  10243. type: string
  10244. loginfailnum:
  10245. description: 连续登录失败次数(登录成功时清零)
  10246. type: integer
  10247. loginid:
  10248. description: 登陆账号
  10249. type: integer
  10250. loginport:
  10251. description: 最新登录端口
  10252. type: integer
  10253. loginstatus:
  10254. description: 登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)
  10255. type: integer
  10256. loginusertype:
  10257. description: 登录账号类型 - 1:投资者 2:机构交易员
  10258. type: integer
  10259. mobile:
  10260. description: 手机号码(加密存储)
  10261. type: string
  10262. modifierid:
  10263. description: 修改人
  10264. type: integer
  10265. modifysrc:
  10266. description: 审核来源 - 1:管理端 2:终端
  10267. type: integer
  10268. modifytime:
  10269. description: 修改时间
  10270. type: string
  10271. password:
  10272. description: 登陆密码
  10273. type: string
  10274. pwdwrongcount:
  10275. description: 密码错误次数
  10276. type: integer
  10277. relateduserid:
  10278. description: 关联用户ID(机构)
  10279. type: integer
  10280. taaccountrighttype:
  10281. description: 资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限
  10282. type: integer
  10283. unfreezetime:
  10284. description: 账户解冻时间
  10285. type: string
  10286. userid:
  10287. description: 用户ID
  10288. type: integer
  10289. required:
  10290. - loginid
  10291. type: object
  10292. models.MainAccountInfo:
  10293. properties:
  10294. accountid:
  10295. description: 账号id
  10296. type: integer
  10297. accountname:
  10298. description: 账号名称(taaccount表中的名称)
  10299. type: string
  10300. appid:
  10301. description: AppID
  10302. type: string
  10303. authcode:
  10304. description: 授权码
  10305. type: string
  10306. brokerid:
  10307. description: 经纪商id
  10308. type: string
  10309. fcid:
  10310. description: 期货公司id
  10311. type: integer
  10312. fcname:
  10313. description: 期货公司代码
  10314. type: string
  10315. hedgeaccountcode:
  10316. description: 外部账号代码(主账号登录代码)
  10317. type: string
  10318. hedgeaccountpwd:
  10319. description: 密码
  10320. type: string
  10321. ismain:
  10322. description: 是否主账号
  10323. type: integer
  10324. relateduserid:
  10325. description: 关联用户id
  10326. type: integer
  10327. userid:
  10328. description: 关联用户id
  10329. type: integer
  10330. type: object
  10331. models.Market:
  10332. properties:
  10333. auctionwrtype:
  10334. description: 竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可
  10335. type: integer
  10336. canacceptquote:
  10337. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  10338. type: integer
  10339. cangoodsexercise:
  10340. description: '[期权]是否可现货行权- 0:否 1:是'
  10341. type: integer
  10342. cangoodsexercisetype:
  10343. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  10344. type: integer
  10345. canmanualquotestrike:
  10346. description: 是否可手动报行权价- 0:否 1:是 [期权]
  10347. type: integer
  10348. canmutistage:
  10349. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  10350. type: integer
  10351. canpreexercise:
  10352. description: '[期权]是否可预申报- 0:否 1:是'
  10353. type: integer
  10354. clearinterval:
  10355. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  10356. type: integer
  10357. contracttmp:
  10358. description: 合同模板[荷兰式][竞价式][仓单贸易]
  10359. type: string
  10360. exchareaid:
  10361. description: 所属交易所,可以没有
  10362. type: integer
  10363. goodstype:
  10364. description: 商品类型 - 1:交易商品 2:仓单商品
  10365. type: integer
  10366. hasrebate:
  10367. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  10368. type: integer
  10369. hastradecredit:
  10370. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  10371. type: integer
  10372. haswr:
  10373. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  10374. type: integer
  10375. isdeductmargin:
  10376. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  10377. type: integer
  10378. isrecordsource:
  10379. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  10380. type: integer
  10381. isreleasemargin:
  10382. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  10383. type: integer
  10384. marginformula:
  10385. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  10386. type: integer
  10387. marginformula2:
  10388. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  10389. type: integer
  10390. marketid:
  10391. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  10392. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  10393. type: integer
  10394. marketname:
  10395. description: 市场名称
  10396. type: string
  10397. marketserviceid:
  10398. description: 市场服务ID
  10399. type: integer
  10400. marketstatus:
  10401. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  10402. type: integer
  10403. markettype:
  10404. description: 市场类型- 1:非交易服务 2:交易服务
  10405. type: integer
  10406. matchermode:
  10407. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手
  10408. type: integer
  10409. openmethod:
  10410. description: 开盘模式 - 0 自动 1手动
  10411. type: integer
  10412. otcuserid:
  10413. description: 场外期权做市商[场外期权]
  10414. type: integer
  10415. outersynctime:
  10416. description: 外部同步时间点(h24:mi:ss)[场外期权]
  10417. type: string
  10418. pendingflag:
  10419. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  10420. type: integer
  10421. pendingtime:
  10422. description: 待开市时间[通道交易-对冲](HH:mm)
  10423. type: string
  10424. performancetempid:
  10425. description: 履约计划模板ID - 作废
  10426. type: integer
  10427. premiumquotemode:
  10428. description: 权利金报价方式 - 1:自动 2:手动
  10429. type: integer
  10430. rebateratio:
  10431. description: 返利比率[竞价式]
  10432. type: number
  10433. reckonorder:
  10434. description: 结算顺序
  10435. type: integer
  10436. reckonpricealgorithm:
  10437. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  10438. 6.卖一价 7.买一卖一均价 8.外部结算价'
  10439. type: integer
  10440. reckonpriceparam:
  10441. description: 结算价参数
  10442. type: integer
  10443. reckontime:
  10444. description: 结算时间[通道交易-对冲](HH:mm)
  10445. type: string
  10446. roleprioritytype:
  10447. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  10448. type: integer
  10449. selllistingauditflag:
  10450. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  10451. type: integer
  10452. trademarkettype:
  10453. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  10454. type: integer
  10455. trademode:
  10456. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10457. 21:竞拍-大宗式 22:受托竞价
  10458. type: integer
  10459. tradeproperty:
  10460. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  10461. 8:场外期权
  10462. type: integer
  10463. tradetype:
  10464. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  10465. type: integer
  10466. required:
  10467. - marketid
  10468. - marketstatus
  10469. - openmethod
  10470. - reckonpricealgorithm
  10471. - trademode
  10472. - tradeproperty
  10473. type: object
  10474. models.Marketcalendar:
  10475. properties:
  10476. holidaydate:
  10477. description: 节假日期(yyyy-MM-dd)
  10478. type: string
  10479. marketid:
  10480. description: 市场ID
  10481. type: integer
  10482. type: object
  10483. models.Marketrun:
  10484. properties:
  10485. afternexttradedate:
  10486. description: 下下交易日
  10487. type: string
  10488. clearquoteflag:
  10489. description: 行情清盘标志- 1:未发送 2:已发送 3:已回复
  10490. type: integer
  10491. lastreckondate:
  10492. description: 最新交易日(结算成功)
  10493. type: string
  10494. machinedate:
  10495. description: 机器时间
  10496. type: string
  10497. manualflag:
  10498. description: 手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)
  10499. type: integer
  10500. marketid:
  10501. description: 市场ID
  10502. type: integer
  10503. nexttradedate:
  10504. description: 下一交易日
  10505. type: string
  10506. pretradedate:
  10507. description: 上一交易日
  10508. type: string
  10509. reckonflag:
  10510. description: '结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)'
  10511. type: integer
  10512. runstatus:
  10513. description: 运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始
  10514. 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败
  10515. 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内)
  10516. 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功
  10517. 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始
  10518. 62.今日免清算
  10519. type: integer
  10520. sectionid:
  10521. description: 时间段号[多时段时用]
  10522. type: integer
  10523. tradedate:
  10524. description: 当前交易日(服务) 资金结算完成即变更,供交易服务使用
  10525. type: string
  10526. tradedate2:
  10527. description: 当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  10528. type: string
  10529. updatetime:
  10530. description: 更新时间
  10531. type: string
  10532. required:
  10533. - marketid
  10534. - nexttradedate
  10535. - reckonflag
  10536. - runstatus
  10537. - tradedate
  10538. - tradedate2
  10539. type: object
  10540. models.Messageboard:
  10541. properties:
  10542. contactnum:
  10543. description: 联系电话
  10544. type: string
  10545. createtime:
  10546. description: 创建时间
  10547. type: string
  10548. message:
  10549. description: 留言信息
  10550. type: string
  10551. messageboardid:
  10552. description: 留言簿ID(SEQ_MessageBoard)
  10553. type: integer
  10554. userid:
  10555. description: 用户ID
  10556. type: integer
  10557. required:
  10558. - messageboardid
  10559. type: object
  10560. models.MyBargainApply:
  10561. properties:
  10562. accountid:
  10563. description: 摘牌资金账号
  10564. type: integer
  10565. applyprice:
  10566. description: 申请价格
  10567. type: string
  10568. applyqty:
  10569. description: 摘牌数量
  10570. type: integer
  10571. applyremark:
  10572. description: 申请备注
  10573. type: string
  10574. applystatus:
  10575. description: 申请状态 - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  10576. type: integer
  10577. applytime:
  10578. description: 申请时间
  10579. type: string
  10580. buyorsell:
  10581. description: 买卖 - 0:买 1:卖
  10582. type: integer
  10583. confirmprice:
  10584. description: 可接受价格(拒绝时填写)-作废
  10585. type: number
  10586. confirmqty:
  10587. description: 可接受数量(拒绝时填写)-作废
  10588. type: integer
  10589. confirmremark:
  10590. description: 确认备注
  10591. type: string
  10592. confirmtime:
  10593. description: 确认时间
  10594. type: string
  10595. confirmuserid:
  10596. description: 确认人
  10597. type: integer
  10598. handlestatus:
  10599. description: 处理状态
  10600. type: integer
  10601. ladingbillid:
  10602. description: 摘牌方提单ID [卖]
  10603. type: integer
  10604. marketid:
  10605. description: 市场ID
  10606. type: integer
  10607. matchaccountid:
  10608. description: 挂牌方资金账号
  10609. type: integer
  10610. matchuserid:
  10611. description: 挂牌方用户ID
  10612. type: integer
  10613. refprice:
  10614. description: 参考价格
  10615. type: string
  10616. retcode:
  10617. description: 委托返回代码
  10618. type: integer
  10619. sellusername:
  10620. description: 卖方
  10621. type: string
  10622. subnum:
  10623. description: 摘牌方提单子单号 [卖]
  10624. type: integer
  10625. tradedate:
  10626. description: 交易日(yyyyMMdd)
  10627. type: string
  10628. userid:
  10629. description: 摘牌人用户ID
  10630. type: integer
  10631. wrbargainid:
  10632. description: '[询价单号]议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)'
  10633. type: integer
  10634. wrtradeorderid:
  10635. description: 关联委托单ID
  10636. type: integer
  10637. required:
  10638. - userid
  10639. type: object
  10640. models.MyBuyOrder:
  10641. properties:
  10642. accountid:
  10643. description: 资金账户ID
  10644. type: integer
  10645. marketid:
  10646. description: 市场ID
  10647. type: integer
  10648. origin:
  10649. description: 原产地
  10650. type: string
  10651. remark:
  10652. description: 备注
  10653. type: string
  10654. userid:
  10655. description: 用户ID
  10656. type: integer
  10657. warehouseids:
  10658. description: 仓库ID - 多个, 逗号分隔
  10659. type: string
  10660. warehouseinfosdisplay:
  10661. type: string
  10662. wrtradeorderid:
  10663. description: '[委托单号]买委托单ID(320+Unix秒时间戳(10位)+xxxxxx)'
  10664. type: integer
  10665. zscategory:
  10666. description: 钻石分类 - 枚举”ZSCategory“
  10667. type: integer
  10668. zscategorydisplay:
  10669. type: string
  10670. zsclaritytype:
  10671. description: 净度 - 两个, 逗号分隔
  10672. type: string
  10673. zsclaritytypedisplay:
  10674. type: string
  10675. zscolortype:
  10676. description: 颜色 - 两个, 逗号分隔
  10677. type: string
  10678. zscolortypedisplay:
  10679. type: string
  10680. zscrystaltype:
  10681. description: 晶型 - 多个,逗号分隔
  10682. type: string
  10683. zscrystaltypedisplay:
  10684. type: string
  10685. zscurrencytype:
  10686. description: 货币类型 - 多个, 逗号分隔
  10687. type: string
  10688. zscurrencytypedisplay:
  10689. type: string
  10690. zscuttype:
  10691. description: 切工 - 两个, 逗号分隔
  10692. type: string
  10693. zscuttypedisplay:
  10694. type: string
  10695. zsczcolor1type:
  10696. description: 彩钻颜色1, 逗号分隔
  10697. type: string
  10698. zsczcolor1typedisplay:
  10699. type: string
  10700. zsczcolor2type:
  10701. description: 彩钻颜色2, 逗号分隔
  10702. type: string
  10703. zsczcolor2typedisplay:
  10704. type: string
  10705. zsczcolor3type:
  10706. description: 彩钻颜色3, 逗号分隔
  10707. type: string
  10708. zsczcolor3typedisplay:
  10709. type: string
  10710. zsfluorescencetype:
  10711. description: 荧光 - 多个, 逗号分隔
  10712. type: string
  10713. zsfluorescencetypedisplay:
  10714. type: string
  10715. zspolishtype:
  10716. description: 抛光度 - 两个, 逗号分隔
  10717. type: string
  10718. zspolishtypedisplay:
  10719. type: string
  10720. zsshapetype:
  10721. description: 形状 - 多个, 逗号分隔
  10722. type: string
  10723. zsshapetypedisplay:
  10724. type: string
  10725. zssize:
  10726. description: 尺寸 - 两个小数, 逗号分隔
  10727. type: string
  10728. zsstyletype:
  10729. description: 款式 - 多个, 逗号分隔
  10730. type: string
  10731. zsstyletypedisplay:
  10732. type: string
  10733. zssymmetrytype:
  10734. description: 对称度 - 两个, 逗号分隔
  10735. type: string
  10736. zssymmetrytypedisplay:
  10737. type: string
  10738. zstabledisplay:
  10739. description: 求购信息
  10740. type: string
  10741. required:
  10742. - userid
  10743. type: object
  10744. models.MyDeListing:
  10745. properties:
  10746. buyaccountid:
  10747. description: 买方账号ID
  10748. type: integer
  10749. buychargevalue:
  10750. description: 买方手续费
  10751. type: number
  10752. buyorsell:
  10753. description: 方向 - 0:全部 1:买 2:卖
  10754. type: integer
  10755. buyuserid:
  10756. description: 买方用户ID
  10757. type: integer
  10758. deliverygoodsid:
  10759. description: 现货品种ID
  10760. type: integer
  10761. exchangerate:
  10762. description: 汇率
  10763. type: number
  10764. goodsno:
  10765. description: 商品编号
  10766. type: string
  10767. marketid:
  10768. description: 市场ID
  10769. type: integer
  10770. matchusername:
  10771. description: 对手方
  10772. type: string
  10773. oritradeamount:
  10774. description: 成交金额[商品币种]
  10775. type: number
  10776. performanceplanid:
  10777. description: 履约计划ID/合同ID
  10778. type: integer
  10779. sellaccountid:
  10780. description: 卖方账号ID
  10781. type: integer
  10782. sellchargevalue:
  10783. description: 卖方手续费
  10784. type: number
  10785. selluserid:
  10786. description: 卖方用户ID
  10787. type: integer
  10788. tradeamount:
  10789. description: 成交金额
  10790. type: number
  10791. tradedate:
  10792. description: 交易日(yyyyMMdd)
  10793. type: string
  10794. tradeprice:
  10795. description: 成交价格
  10796. type: number
  10797. tradeqty:
  10798. description: 成交数量
  10799. type: integer
  10800. tradetime:
  10801. description: 成交时间
  10802. type: string
  10803. userid:
  10804. description: 用户ID
  10805. type: integer
  10806. wrfactortypeid:
  10807. description: 仓单要素类型ID
  10808. type: integer
  10809. wrstandardid:
  10810. description: 现货商品ID
  10811. type: integer
  10812. wrtradedetailid:
  10813. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  10814. type: integer
  10815. zscategory:
  10816. description: 钻石分类 - 枚举”ZSCategory“
  10817. type: integer
  10818. zscategorydisplay:
  10819. type: string
  10820. zscurrencytype:
  10821. description: 货币类型 - 枚举“ZSCurrencyType”
  10822. type: integer
  10823. required:
  10824. - userid
  10825. type: object
  10826. models.MyDelistingApply:
  10827. properties:
  10828. applyprice:
  10829. description: 申请价格
  10830. type: number
  10831. applyqty:
  10832. description: 申请数量
  10833. type: number
  10834. applyremark:
  10835. description: 申请备注
  10836. type: string
  10837. applystatus:
  10838. description: 申请状态 - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  10839. type: integer
  10840. applytime:
  10841. description: 申请时间
  10842. type: string
  10843. auditremark:
  10844. description: 确认备注
  10845. type: string
  10846. audittime:
  10847. description: 确认时间
  10848. type: string
  10849. buyuserid:
  10850. description: 买方用户ID
  10851. type: integer
  10852. buyusername:
  10853. description: 买方
  10854. type: string
  10855. buywrtradeorderid:
  10856. description: 买委托单ID
  10857. type: integer
  10858. ladingbillid:
  10859. description: 卖方提单ID
  10860. type: integer
  10861. marketid:
  10862. description: 市场ID
  10863. type: integer
  10864. sellaccountid:
  10865. description: 卖方账户ID
  10866. type: integer
  10867. selldelistingapplyid:
  10868. description: '[询价单号]卖摘牌申请ID(916+Unix秒时间戳(10位)+xxxxxx)'
  10869. type: integer
  10870. selltradeorderid:
  10871. description: 卖方委托ID(买方确认成交后更新)
  10872. type: integer
  10873. selluserid:
  10874. description: 卖方用户ID
  10875. type: integer
  10876. subnum:
  10877. description: 卖方提单子单号
  10878. type: integer
  10879. wrfactortypeid:
  10880. description: 仓单要素类型ID
  10881. type: integer
  10882. wrstandardid:
  10883. description: 现货商品ID
  10884. type: integer
  10885. required:
  10886. - selluserid
  10887. type: object
  10888. models.MySellOrder:
  10889. properties:
  10890. accountid:
  10891. description: 资金账号
  10892. type: integer
  10893. applyid:
  10894. description: 申请单ID
  10895. type: integer
  10896. attachment1:
  10897. description: 附件1
  10898. type: string
  10899. attachment2:
  10900. description: 附件2
  10901. type: string
  10902. buyorsell:
  10903. description: 买卖 - 0:买 1:卖
  10904. type: integer
  10905. canbargain:
  10906. description: 是否可议价 - 0:不可 1:可
  10907. type: integer
  10908. cancelqty:
  10909. description: 撤销数量
  10910. type: integer
  10911. canceltime:
  10912. description: 撤销时间
  10913. type: string
  10914. chargealgorithm:
  10915. description: 手续费收取方式 1:比率 2:固定
  10916. type: integer
  10917. chargealgorithmvalue:
  10918. description: 手续费设置值(交易所部分)
  10919. type: number
  10920. chargealgorithmvalue2:
  10921. description: 手续费设置值(会员部分)
  10922. type: number
  10923. clientordertime:
  10924. description: 客户端委托时间
  10925. type: string
  10926. exchangerate:
  10927. description: 汇率[67]
  10928. type: number
  10929. firstratio:
  10930. description: 首付比率 - [挂牌时指定,摘牌时使用]
  10931. type: number
  10932. fixedprice:
  10933. description: 固定价格 - [挂牌]
  10934. type: number
  10935. freezecharge:
  10936. description: 冻结手续费
  10937. type: number
  10938. freezefirstamount:
  10939. description: 冻结首付金额 - [摘牌]
  10940. type: number
  10941. freezemargin:
  10942. description: 冻结保证金
  10943. type: number
  10944. goodsno:
  10945. description: 商品编号
  10946. type: string
  10947. isspecified:
  10948. description: 是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  10949. type: integer
  10950. marginalgorithm:
  10951. description: 保证金方式 - 1:比率 2:固定
  10952. type: integer
  10953. marginvalue:
  10954. description: 保证金设置值
  10955. type: number
  10956. marketid:
  10957. description: 市场ID
  10958. type: integer
  10959. orderamount:
  10960. description: 挂牌金额[账户] [67]= OrderQty * FixedPrice * ExchangeRate /100
  10961. type: number
  10962. orderqty:
  10963. description: 委托数量
  10964. type: integer
  10965. ordertime:
  10966. description: 委托时间
  10967. type: string
  10968. performancetemplateid:
  10969. description: 履约计划模板ID
  10970. type: integer
  10971. pricefactor:
  10972. description: 价格系数(浮动价时填写) - [挂牌]
  10973. type: number
  10974. pricemove:
  10975. description: 升贴水(浮动价时填写) - [挂牌]
  10976. type: number
  10977. relatedwrtradeorderid:
  10978. description: 关联委托单号(摘牌委托关联挂牌委托单ID)
  10979. type: integer
  10980. retcode:
  10981. description: 错误代码
  10982. type: integer
  10983. tradedate:
  10984. description: 交易日(yyyyMMdd)
  10985. type: string
  10986. tradeprice:
  10987. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)*
  10988. 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  10989. type: number
  10990. tradeqty:
  10991. description: 成交数量
  10992. type: integer
  10993. unfreezecharge:
  10994. description: 解冻手续费
  10995. type: number
  10996. unfreezefirstamount:
  10997. description: 解冻首付金额 - [摘牌]
  10998. type: number
  10999. unfreezemargin:
  11000. description: 解冻保证金
  11001. type: number
  11002. userid:
  11003. description: 用户ID
  11004. type: integer
  11005. uuid:
  11006. description: 发起端唯一id
  11007. type: string
  11008. validtime:
  11009. description: 有效期限
  11010. type: string
  11011. validtype:
  11012. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  11013. type: integer
  11014. wrbargainid:
  11015. description: 议价申请单ID
  11016. type: integer
  11017. wrfactortypeid:
  11018. description: 仓单要素类型ID/商品ID(77)
  11019. type: integer
  11020. wrpricetype:
  11021. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  11022. type: integer
  11023. wrstandardid:
  11024. description: 现货商品ID
  11025. type: integer
  11026. wrtradeorderid:
  11027. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  11028. type: integer
  11029. wrtradeorderstatus:
  11030. 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:撤单解冻贷款失败
  11031. type: integer
  11032. wrtradetype:
  11033. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  11034. type: integer
  11035. wrtransferuserid:
  11036. description: 仓单受让用户 - [摘牌]
  11037. type: integer
  11038. zscategory:
  11039. description: 钻石分类 - 枚举”ZSCategory“
  11040. type: integer
  11041. zscurrencytype:
  11042. description: 货币类型 - 枚举“ZSCurrencyType”
  11043. type: integer
  11044. required:
  11045. - userid
  11046. type: object
  11047. models.MyWRPosition:
  11048. properties:
  11049. cerno:
  11050. description: 证书编号 - 类型:2,4,5
  11051. type: string
  11052. cpcertno:
  11053. description: 金伯利证书编号 - 类型:3
  11054. type: string
  11055. ffreezeqty:
  11056. description: 冻结数量:WRPosition表:FREEZEQTY/100 , 保留两位小数
  11057. type: number
  11058. ftotalqty:
  11059. description: 库存数量:WRPosition表:TOTALQTY /100 , 保留两位小数
  11060. type: number
  11061. goodsno:
  11062. description: 商品编号
  11063. type: string
  11064. imagepath:
  11065. description: 商品照片(相对地址)
  11066. type: string
  11067. isvalid:
  11068. description: 是否有效 - 0:无效 1:有效
  11069. type: integer
  11070. kppath:
  11071. description: 金伯利证书图片(相对地址) - 类型:3
  11072. type: string
  11073. kpweight:
  11074. description: 金伯利证书重量 - 类型:3
  11075. type: string
  11076. marketprice:
  11077. description: 市场价
  11078. type: string
  11079. origin:
  11080. description: 原产地 - 类型:3
  11081. type: string
  11082. price:
  11083. description: 总价(价格) - 类型:1,2,3,4,5
  11084. type: number
  11085. priceper:
  11086. description: 克拉单价 - 类型:1,2,3,5
  11087. type: string
  11088. remark:
  11089. description: 备注
  11090. type: string
  11091. sellmobile:
  11092. description: 手机号码(加密存储)
  11093. type: string
  11094. sellusername:
  11095. description: 账户名称(机构名称)
  11096. type: string
  11097. settingmaterial:
  11098. description: 镶嵌材料 - 类型:4
  11099. type: string
  11100. size1:
  11101. description: 尺寸1 - 类型:2,4,5
  11102. type: string
  11103. size2:
  11104. description: 尺寸2 - 类型:2,4,5
  11105. type: string
  11106. size3:
  11107. description: 尺寸3 - 类型:2,4,5
  11108. type: string
  11109. stonedesc:
  11110. description: 配石描述 - 类型:4
  11111. type: string
  11112. userid:
  11113. description: 用户ID
  11114. type: integer
  11115. warehouseid:
  11116. description: 仓库ID
  11117. type: integer
  11118. warehousenamedisplay:
  11119. type: string
  11120. weight:
  11121. description: 总重量(克拉重量) - 类型:1,2,3,4,5
  11122. type: number
  11123. weightavg:
  11124. description: 平均单颗重量 - 类型:1,3
  11125. type: number
  11126. wrpath:
  11127. description: 仓单扫描件(相对地址)
  11128. type: string
  11129. wrstandardid:
  11130. description: 现货商品ID
  11131. type: integer
  11132. wruserid:
  11133. description: 登录用户ID
  11134. type: integer
  11135. zscategory:
  11136. description: 钻石分类 - 枚举”ZSCategory“
  11137. type: integer
  11138. zscategorydisplay:
  11139. type: string
  11140. zscerttype:
  11141. description: 证书类型 - 枚举”ZSCertType“ - 类型:2,4,5
  11142. type: integer
  11143. zscerttypedisplay:
  11144. type: string
  11145. zsclaritytype1:
  11146. description: 净度1 - 枚举”ZSClarityType“ - 类型:1,2,3,4,5
  11147. type: integer
  11148. zsclaritytype1display:
  11149. type: string
  11150. zsclaritytype2:
  11151. description: 净度2 - 枚举”ZSClarityType“ - 类型:1,3
  11152. type: integer
  11153. zsclaritytype2display:
  11154. type: string
  11155. zscolortype1:
  11156. description: 颜色1 - 枚举”ZSColorType“ - 类型:1,2,3,4
  11157. type: integer
  11158. zscolortype1display:
  11159. type: string
  11160. zscolortype2:
  11161. description: 颜色2 - 枚举”ZSColorType“ - 类型:1,3
  11162. type: integer
  11163. zscolortype2display:
  11164. type: string
  11165. zscrystaltype:
  11166. description: 晶型范围 - 枚举“ZSCrystalType“ - 类型:3, 多个,逗号分隔
  11167. type: string
  11168. zscrystaltypedisplay:
  11169. type: string
  11170. zscurrencytype:
  11171. description: 货币类型 - 枚举“ZSCurrencyType”
  11172. type: integer
  11173. zscurrencytypedisplay:
  11174. type: string
  11175. zscurrencytypedisplayunit:
  11176. type: string
  11177. zscuttype1:
  11178. description: 切工1 - 枚举”ZSCutType“ - 类型:1,2,4,5
  11179. type: integer
  11180. zscuttype1display:
  11181. type: string
  11182. zscuttype2:
  11183. description: 切工2 - 枚举”ZSCutType“ - 类型:1
  11184. type: integer
  11185. zscuttype2display:
  11186. type: string
  11187. zsczcolor1type:
  11188. description: 彩钻颜色1 - 枚举”ZSCZColor1Type“ - 类型:5
  11189. type: integer
  11190. zsczcolor1typedisplay:
  11191. type: string
  11192. zsczcolor2type:
  11193. description: 彩钻颜色2 - 枚举”ZSCZColor2Type“ - 类型:5
  11194. type: integer
  11195. zsczcolor2typedisplay:
  11196. type: string
  11197. zsczcolor3type:
  11198. description: 彩钻颜色3 - 枚举”ZSCZColor3Type“ - 类型:5
  11199. type: integer
  11200. zsczcolor3typedisplay:
  11201. type: string
  11202. zsfluorescencetype1:
  11203. description: 荧光1 - 枚举”ZSFluorescenceType“ - 类型:1,2,3,4,5
  11204. type: integer
  11205. zsfluorescencetype1display:
  11206. type: string
  11207. zsfluorescencetype2:
  11208. description: 荧光2 - 枚举”ZSFluorescenceType” - 类型:1,3
  11209. type: integer
  11210. zsfluorescencetype2display:
  11211. type: string
  11212. zspolishtype1:
  11213. description: 抛光度1 - 枚举”ZSPolishType“ - 类型:1,2,4,5
  11214. type: integer
  11215. zspolishtype1display:
  11216. type: string
  11217. zspolishtype2:
  11218. description: 抛光度2 - 枚举”ZSPolishType“ - 类型:1
  11219. type: integer
  11220. zspolishtype2display:
  11221. type: string
  11222. zsshapetype:
  11223. description: 形状 - 枚举”ZSShapeType“ - 类型:1,2,4,5 ;(1为多个,逗号分隔)
  11224. type: string
  11225. zsshapetypedisplay:
  11226. type: string
  11227. zsstyletype:
  11228. description: 款式 - 类型:4
  11229. type: integer
  11230. zsstyletypedisplay:
  11231. type: string
  11232. zssymmetrytype1:
  11233. description: 对称度1 - 枚举”ZSSymmetryType“ - 类型:1,2,4,5
  11234. type: integer
  11235. zssymmetrytype1display:
  11236. type: string
  11237. zssymmetrytype2:
  11238. description: 对称度2 - 枚举”ZSSymmetryType“ - 类型:1
  11239. type: integer
  11240. zssymmetrytype2display:
  11241. type: string
  11242. required:
  11243. - wruserid
  11244. type: object
  11245. models.NewFuncmenulist:
  11246. properties:
  11247. authtype:
  11248. description: 权限类型 - 1:菜单 2:组件 3:按钮
  11249. type: integer
  11250. buttonname:
  11251. description: 按钮名称
  11252. type: string
  11253. buttontype:
  11254. description: 按钮类型 - 存按钮样式
  11255. type: string
  11256. component:
  11257. description: 组件名或组件地址
  11258. type: string
  11259. hidden:
  11260. description: 是否隐藏 - 0:显示 1:隐藏
  11261. type: integer
  11262. iconame:
  11263. description: 菜单图标
  11264. type: string
  11265. menutype:
  11266. description: 菜单类型 - 1:管理端 2:PC(C#) 3:移动(云平台) 4:终端(交易所) 5:PC(云平台)
  11267. type: integer
  11268. parentcode:
  11269. description: 上级资源代码
  11270. type: string
  11271. remark:
  11272. description: Remark
  11273. type: string
  11274. resourcecode:
  11275. description: 资源代码
  11276. type: string
  11277. resourcelevel:
  11278. description: 级别1-一级 2-二级 3-三级4-四级
  11279. type: integer
  11280. resourcename:
  11281. description: 资源名(Title)
  11282. type: string
  11283. sort:
  11284. description: 排序
  11285. type: integer
  11286. url:
  11287. description: Url
  11288. type: string
  11289. urltype:
  11290. description: 地址类型 - 1:路由 2:外链 3:内联框架
  11291. type: integer
  11292. required:
  11293. - resourcecode
  11294. type: object
  11295. models.OperationPrimaryMenu:
  11296. properties:
  11297. Children:
  11298. description: 二级功能菜单
  11299. items:
  11300. $ref: '#/definitions/models.OperationSecondaryMenu'
  11301. type: array
  11302. Key:
  11303. description: 菜单KEY
  11304. type: string
  11305. Label:
  11306. description: 菜单标题
  11307. type: string
  11308. type: object
  11309. models.OperationSecondaryMenu:
  11310. properties:
  11311. Key:
  11312. description: 菜单KEY
  11313. type: string
  11314. Label:
  11315. description: 菜单标题
  11316. type: string
  11317. TabList:
  11318. description: 三级功能菜单
  11319. items:
  11320. $ref: '#/definitions/models.OperationTabMenu'
  11321. type: array
  11322. type: object
  11323. models.OperationTabMenu:
  11324. properties:
  11325. Key:
  11326. description: 菜单KEY
  11327. type: string
  11328. Label:
  11329. description: 菜单标题
  11330. type: string
  11331. type: object
  11332. models.Patradelinkdetail:
  11333. properties:
  11334. accountname:
  11335. description: 套期主体
  11336. type: string
  11337. agreeunit:
  11338. description: 合约乘数
  11339. type: number
  11340. amount:
  11341. description: 金额 = RelatedLot * TradePrice * AgreeUnit
  11342. type: number
  11343. areauserid:
  11344. description: 所属机构
  11345. type: integer
  11346. bizsubjectid:
  11347. description: 归属业务部门ID - SubjectID
  11348. type: integer
  11349. buyorsell:
  11350. description: 方向 - 0:买 1:卖
  11351. type: integer
  11352. convertratio:
  11353. description: 品种系数
  11354. type: number
  11355. convertratiochange:
  11356. description: 套期商品变化量 = RelatedLot * AgreeUnit * ConvertRatio
  11357. type: number
  11358. createtime:
  11359. description: '[日期时间]创建时间'
  11360. type: string
  11361. creatorid:
  11362. description: 创建人ID
  11363. type: integer
  11364. creatorsrc:
  11365. description: 创建人来源 - 1:管理端 2:终端 3:交易
  11366. type: integer
  11367. goodscode:
  11368. description: 商品代码(内部)
  11369. type: string
  11370. goodsgroupid:
  11371. description: 对冲品种ID[期货合约商品组ID]
  11372. type: integer
  11373. goodsid:
  11374. description: 商品ID
  11375. type: integer
  11376. hedgeditemid:
  11377. description: 现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]
  11378. type: integer
  11379. hedgeflag:
  11380. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  11381. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目
  11382. type: integer
  11383. linkdetailid:
  11384. description: 期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)
  11385. type: string
  11386. linkstatus:
  11387. description: 关联状态 - 1:成功 2:失败 3:解绑
  11388. type: integer
  11389. middlegoodsid:
  11390. description: 套保品种ID
  11391. type: integer
  11392. name:
  11393. description: 账户名/子账户
  11394. type: string
  11395. optioncode:
  11396. description: '[期货合约]期权代码 [期权]'
  11397. type: string
  11398. ordertype:
  11399. description: 单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单
  11400. type: integer
  11401. relatedlot:
  11402. description: '[数量]关联手数'
  11403. type: number
  11404. relatedmode:
  11405. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  11406. type: integer
  11407. relatedqty:
  11408. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  11409. type: number
  11410. retcode:
  11411. description: 返回码
  11412. type: integer
  11413. saleuserid:
  11414. description: 业务员ID
  11415. type: integer
  11416. tradedate:
  11417. description: 关联交易日(yyyyMMdd)
  11418. type: string
  11419. tradeid:
  11420. description: '[成交单号]内部成交单ID'
  11421. type: string
  11422. tradelot:
  11423. description: 成交手数
  11424. type: integer
  11425. tradeprice:
  11426. description: '[价格]成交价格'
  11427. type: number
  11428. tradetradedate:
  11429. description: 成交交易日(yyyyMMdd)
  11430. type: string
  11431. type: object
  11432. models.QueryErrorInfosRsp:
  11433. properties:
  11434. description:
  11435. description: 异常描述
  11436. type: string
  11437. errorcode:
  11438. description: 异常代码
  11439. type: string
  11440. errorid:
  11441. description: 异常ID
  11442. type: integer
  11443. modulecode:
  11444. description: 所属模块
  11445. type: string
  11446. operatecode:
  11447. description: 所属操作
  11448. type: string
  11449. rownumber:
  11450. description: 行号
  11451. type: string
  11452. required:
  11453. - errorid
  11454. type: object
  11455. models.QueryHedgeOrderDetailRsp:
  11456. properties:
  11457. accountid:
  11458. description: 账户ID
  11459. type: integer
  11460. buyorsell:
  11461. description: 买卖 - 0:买 1:卖
  11462. type: integer
  11463. cancellogincode:
  11464. description: 撤单人
  11465. type: string
  11466. channelbuildtype:
  11467. description: 开平标志 - 0:无 1:建仓 2:平仓
  11468. type: integer
  11469. channelinnerorderstatus:
  11470. description: 委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:部分成交 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败
  11471. 9:全部成交
  11472. type: integer
  11473. channeloperatetype:
  11474. description: 操作类型 - 1:正常委托 2:斩仓委托 3:强平委托
  11475. type: integer
  11476. closetype:
  11477. description: 平仓方式 - 0:无 1:平今 2:平昨
  11478. type: integer
  11479. curexchangerate:
  11480. description: 当前汇率
  11481. type: number
  11482. decimalplace:
  11483. description: 商品报价小数位
  11484. type: integer
  11485. exchangefullname:
  11486. description: 外部交易所全称
  11487. type: string
  11488. goodscode:
  11489. description: 商品代码(内部)
  11490. type: string
  11491. goodsid:
  11492. description: 商品ID
  11493. type: integer
  11494. goodsname:
  11495. description: 商品名称
  11496. type: string
  11497. marketid:
  11498. description: 市场ID
  11499. type: integer
  11500. openfreezemargin:
  11501. description: 冻结保证金(冻结交易金额)
  11502. type: number
  11503. orderid:
  11504. description: 委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11505. type: string
  11506. orderlogincode:
  11507. description: 委托人
  11508. type: string
  11509. orderprice:
  11510. description: 委托价格(账户)
  11511. type: number
  11512. orderqty:
  11513. description: 委托数量
  11514. type: integer
  11515. ordertime:
  11516. description: 委托时间
  11517. type: string
  11518. pricemode:
  11519. description: '取价方式 - 1:市价 2: 限价'
  11520. type: integer
  11521. tradedate:
  11522. description: 交易日(yyyyMMdd)
  11523. type: string
  11524. tradeqty:
  11525. description: 成交数量
  11526. type: integer
  11527. type: object
  11528. models.QueryHedgeTradeDetailRsp:
  11529. properties:
  11530. accountid:
  11531. description: 账号ID
  11532. type: integer
  11533. buyorsell:
  11534. description: 方向 - 0:买 1:卖
  11535. type: integer
  11536. channelbuildtype:
  11537. description: 委托单据类型 0:无 1:建仓 2:平仓
  11538. type: integer
  11539. closecharge:
  11540. description: 平仓手续费(账户)
  11541. type: number
  11542. closecharge2:
  11543. description: 平仓手续费(商品)
  11544. type: number
  11545. closepl:
  11546. description: 平仓盈亏(账户)
  11547. type: number
  11548. closepl2:
  11549. description: 平仓盈亏(商品)
  11550. type: number
  11551. closepl3:
  11552. description: 平仓盈亏(账户)(逐笔)
  11553. type: number
  11554. closepl4:
  11555. description: 平仓盈亏(商品)(逐笔)
  11556. type: number
  11557. closetype:
  11558. description: 平仓方式 - 0:无 1:平今 2:平昨
  11559. type: integer
  11560. curexchangerate:
  11561. description: 当前汇率
  11562. type: number
  11563. decimalplace:
  11564. description: 商品报价小数位
  11565. type: integer
  11566. exchangefullname:
  11567. description: 外部交易所全称
  11568. type: string
  11569. goodscode:
  11570. description: 商品代码(内部)
  11571. type: string
  11572. goodsid:
  11573. description: 商品ID
  11574. type: integer
  11575. goodsname:
  11576. description: 商品名称
  11577. type: string
  11578. marketid:
  11579. description: 市场ID
  11580. type: integer
  11581. opencharge:
  11582. description: 建仓手续费(账户)
  11583. type: number
  11584. opencharge2:
  11585. description: 建仓手续费(商品)
  11586. type: number
  11587. orderid:
  11588. description: 委托单号
  11589. type: string
  11590. orderlogincode:
  11591. description: 委托人
  11592. type: string
  11593. tradeamount:
  11594. description: 成交金额(账户)
  11595. type: number
  11596. tradedate:
  11597. description: 交易日(yyyyMMdd)
  11598. type: string
  11599. tradeid:
  11600. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11601. type: string
  11602. tradeprice:
  11603. description: 成交价格
  11604. type: number
  11605. tradeqty:
  11606. description: 成交数量
  11607. type: integer
  11608. tradetime:
  11609. description: 成交时间
  11610. type: string
  11611. tradetype:
  11612. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  11613. type: integer
  11614. type: object
  11615. models.QuotePrimaryMenu:
  11616. properties:
  11617. Index:
  11618. description: 序号
  11619. type: integer
  11620. Key:
  11621. description: 键名
  11622. type: string
  11623. Name:
  11624. description: 菜单名称
  11625. type: string
  11626. SubMenus:
  11627. description: 子菜单
  11628. items:
  11629. $ref: '#/definitions/models.QuoteSecondaryMenu'
  11630. type: array
  11631. SubTitleType:
  11632. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  11633. type: integer
  11634. TradeModes:
  11635. description: 包含市场交易类型
  11636. type: string
  11637. type: object
  11638. models.QuoteSecondaryMenu:
  11639. properties:
  11640. ExExchangeCode:
  11641. description: 外部交易所代码
  11642. type: string
  11643. ExExchangeID:
  11644. description: 外部交易所ID
  11645. type: integer
  11646. GoodsGroupIDs:
  11647. description: 商品组ID列表
  11648. items:
  11649. type: integer
  11650. type: array
  11651. Index:
  11652. description: 序号
  11653. type: integer
  11654. MarketID:
  11655. description: 市场ID
  11656. type: integer
  11657. MenuTitle:
  11658. description: 菜单标题(市场名称或外部交易所名称)
  11659. type: string
  11660. TradeMode:
  11661. description: 交易模式
  11662. type: integer
  11663. type: object
  11664. models.RelatedTaAccount:
  11665. properties:
  11666. accountid:
  11667. description: 资金账户ID
  11668. type: integer
  11669. type: object
  11670. models.RoleMenu:
  11671. properties:
  11672. hasright:
  11673. description: 是否有权限 0-没有权限 1-有权限
  11674. type: integer
  11675. iconame:
  11676. description: 菜单图标
  11677. type: string
  11678. menutype:
  11679. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  11680. type: integer
  11681. parentcode:
  11682. description: 上级资源代码
  11683. type: string
  11684. remark:
  11685. description: 菜单备注
  11686. type: string
  11687. resourcecode:
  11688. description: 菜单代码
  11689. type: string
  11690. resourcelevel:
  11691. description: 级别
  11692. type: integer
  11693. resourcename:
  11694. description: 菜单名称
  11695. type: string
  11696. roleid:
  11697. description: 角色id
  11698. type: integer
  11699. sort:
  11700. description: 排序
  11701. type: integer
  11702. subMenu:
  11703. description: 子级菜单(结构同上层一样, swag解析不出来)
  11704. items:
  11705. $ref: '#/definitions/models.RoleMenu'
  11706. type: array
  11707. url:
  11708. description: URL
  11709. type: string
  11710. userid:
  11711. description: 用户id
  11712. type: integer
  11713. type: object
  11714. models.SearchGoods:
  11715. properties:
  11716. goodscode:
  11717. description: 商品代码(内部)
  11718. type: string
  11719. goodsid:
  11720. description: 商品ID(自增ID SEQ_GOODS)
  11721. type: integer
  11722. goodsname:
  11723. description: 商品名称
  11724. type: string
  11725. marketid:
  11726. description: 所属市场ID
  11727. type: integer
  11728. marketname:
  11729. description: 市场名称
  11730. type: string
  11731. trademode:
  11732. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  11733. 21:竞拍-大宗式 22:受托竞价
  11734. type: integer
  11735. required:
  11736. - goodscode
  11737. - goodsid
  11738. - goodsname
  11739. - marketid
  11740. - trademode
  11741. type: object
  11742. models.SellOrder:
  11743. properties:
  11744. accountid:
  11745. description: 资金账号
  11746. type: integer
  11747. applyid:
  11748. description: 申请单ID
  11749. type: integer
  11750. attachment1:
  11751. description: 附件1
  11752. type: string
  11753. attachment2:
  11754. description: 附件2
  11755. type: string
  11756. buyorsell:
  11757. description: 买卖 - 0:买 1:卖
  11758. type: integer
  11759. canbargain:
  11760. description: 是否可议价 - 0:不可 1:可
  11761. type: integer
  11762. cancelqty:
  11763. description: 撤销数量
  11764. type: integer
  11765. canceltime:
  11766. description: 撤销时间
  11767. type: string
  11768. chargealgorithm:
  11769. description: 手续费收取方式 1:比率 2:固定
  11770. type: integer
  11771. chargealgorithmvalue:
  11772. description: 手续费设置值(交易所部分)
  11773. type: number
  11774. chargealgorithmvalue2:
  11775. description: 手续费设置值(会员部分)
  11776. type: number
  11777. clientordertime:
  11778. description: 客户端委托时间
  11779. type: string
  11780. exchangerate:
  11781. description: 汇率[67]
  11782. type: number
  11783. firstratio:
  11784. description: 首付比率 - [挂牌时指定,摘牌时使用]
  11785. type: number
  11786. fixedprice:
  11787. description: 固定价格 - [挂牌]
  11788. type: number
  11789. freezecharge:
  11790. description: 冻结手续费
  11791. type: number
  11792. freezefirstamount:
  11793. description: 冻结首付金额 - [摘牌]
  11794. type: number
  11795. freezemargin:
  11796. description: 冻结保证金
  11797. type: number
  11798. goodsno:
  11799. description: 商品编号
  11800. type: string
  11801. isQueryDiamond:
  11802. description: 是否钻石查询
  11803. type: boolean
  11804. isspecified:
  11805. description: 是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  11806. type: integer
  11807. marginalgorithm:
  11808. description: 保证金方式 - 1:比率 2:固定
  11809. type: integer
  11810. marginvalue:
  11811. description: 保证金设置值
  11812. type: number
  11813. marketid:
  11814. description: 市场ID
  11815. type: integer
  11816. orderamount:
  11817. description: 挂牌金额[账户] [67]= OrderQty * FixedPrice * ExchangeRate /100
  11818. type: number
  11819. orderqty:
  11820. description: 委托数量
  11821. type: integer
  11822. ordertime:
  11823. description: 委托时间
  11824. type: string
  11825. performancetemplateid:
  11826. description: 履约计划模板ID
  11827. type: integer
  11828. pricefactor:
  11829. description: 价格系数(浮动价时填写) - [挂牌]
  11830. type: number
  11831. pricemove:
  11832. description: 升贴水(浮动价时填写) - [挂牌]
  11833. type: number
  11834. relatedwrtradeorderid:
  11835. description: 关联委托单号(摘牌委托关联挂牌委托单ID)
  11836. type: integer
  11837. retcode:
  11838. description: 错误代码
  11839. type: integer
  11840. sellusername:
  11841. description: 卖方(查询字段-模糊查询)
  11842. type: string
  11843. tradedate:
  11844. description: 交易日(yyyyMMdd)
  11845. type: string
  11846. tradeprice:
  11847. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)*
  11848. 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  11849. type: number
  11850. tradeqty:
  11851. description: 成交数量
  11852. type: integer
  11853. unfreezecharge:
  11854. description: 解冻手续费
  11855. type: number
  11856. unfreezefirstamount:
  11857. description: 解冻首付金额 - [摘牌]
  11858. type: number
  11859. unfreezemargin:
  11860. description: 解冻保证金
  11861. type: number
  11862. userid:
  11863. description: 用户ID
  11864. type: integer
  11865. uuid:
  11866. description: 发起端唯一id
  11867. type: string
  11868. validtime:
  11869. description: 有效期限
  11870. type: string
  11871. validtype:
  11872. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  11873. type: integer
  11874. wrbargainid:
  11875. description: 议价申请单ID
  11876. type: integer
  11877. wrfactortypeid:
  11878. description: 仓单要素类型ID/商品ID(77)
  11879. type: integer
  11880. wrpricetype:
  11881. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  11882. type: integer
  11883. wrstandardid:
  11884. description: 现货商品ID
  11885. type: integer
  11886. wrtradeorderid:
  11887. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  11888. type: integer
  11889. wrtradeorderstatus:
  11890. 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:撤单解冻贷款失败
  11891. type: integer
  11892. wrtradetype:
  11893. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  11894. type: integer
  11895. wrtransferuserid:
  11896. description: 仓单受让用户 - [摘牌]
  11897. type: integer
  11898. zscategory:
  11899. description: 钻石分类 - 枚举”ZSCategory“
  11900. type: integer
  11901. zscurrencytype:
  11902. description: 货币类型 - 枚举“ZSCurrencyType”
  11903. type: integer
  11904. type: object
  11905. models.SellOrderQueryReq:
  11906. properties:
  11907. origin:
  11908. description: 原产地
  11909. type: string
  11910. page:
  11911. description: 页码
  11912. type: integer
  11913. pagesize:
  11914. description: 每页大小
  11915. type: integer
  11916. total:
  11917. description: 总条数
  11918. type: integer
  11919. warehouseid:
  11920. description: 仓库ID
  11921. type: integer
  11922. weight1:
  11923. description: 总重量(克拉重量)-从
  11924. type: number
  11925. weight2:
  11926. description: 总重量(克拉重量)-至
  11927. type: number
  11928. weightavg1:
  11929. description: 平均单颗重量-从
  11930. type: number
  11931. weightavg2:
  11932. description: 平均单颗重量-至
  11933. type: number
  11934. zscategory:
  11935. description: 钻石分类 - 枚举”ZSCategory“
  11936. type: integer
  11937. zscerttype:
  11938. description: 证书类型
  11939. items:
  11940. type: string
  11941. type: array
  11942. zsclaritytype:
  11943. description: 净度
  11944. items:
  11945. type: integer
  11946. type: array
  11947. zscolortype:
  11948. description: 颜色
  11949. items:
  11950. type: integer
  11951. type: array
  11952. zscurrencytype:
  11953. description: 货币类型 - 枚举“ZSCurrencyType”
  11954. items:
  11955. type: string
  11956. type: array
  11957. zscuttype:
  11958. description: 切工
  11959. items:
  11960. type: integer
  11961. type: array
  11962. zsczcolor1type:
  11963. description: 彩钻颜色1
  11964. items:
  11965. type: string
  11966. type: array
  11967. zsfluorescencetype:
  11968. description: 荧光
  11969. items:
  11970. type: integer
  11971. type: array
  11972. zspolishtype:
  11973. description: 抛光度
  11974. items:
  11975. type: integer
  11976. type: array
  11977. zsshapetype:
  11978. description: 形状 - 枚举”ZSShapeType“ - 类型:1,2,4,5 ;(1为多个,逗号分隔)
  11979. items:
  11980. type: string
  11981. type: array
  11982. zsstyletype:
  11983. description: 款式
  11984. items:
  11985. type: string
  11986. type: array
  11987. zssymmetrytype:
  11988. description: 对称度
  11989. items:
  11990. type: integer
  11991. type: array
  11992. required:
  11993. - zscategory
  11994. type: object
  11995. models.Systemparam:
  11996. properties:
  11997. loginid:
  11998. description: 更新用户账号,登录账号
  11999. type: string
  12000. modifyflag:
  12001. description: 修改标志0 不允许修改 1 允许修改
  12002. type: integer
  12003. paramcode:
  12004. description: 参数代码
  12005. type: string
  12006. paramname:
  12007. description: 参数名
  12008. type: string
  12009. paramtype:
  12010. description: 参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城
  12011. type: integer
  12012. paramvalue:
  12013. description: 参数值
  12014. type: string
  12015. paramvalue2:
  12016. description: 参数值(CLOB)
  12017. type: string
  12018. regexpress:
  12019. description: 正则表达式
  12020. type: string
  12021. remark:
  12022. description: 备注
  12023. type: string
  12024. serverip:
  12025. description: 限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置
  12026. type: string
  12027. showflag:
  12028. description: 是否显示0 不显示 1 显示
  12029. type: integer
  12030. updatetime:
  12031. description: 更新时间
  12032. type: string
  12033. userid:
  12034. description: 更新用户ID
  12035. type: integer
  12036. required:
  12037. - paramcode
  12038. type: object
  12039. models.Szdz3convertconfig:
  12040. properties:
  12041. canin:
  12042. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  12043. type: integer
  12044. canout:
  12045. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  12046. type: integer
  12047. converttype:
  12048. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  12049. 6:交易转花生米(不设置)
  12050. type: integer
  12051. createtime:
  12052. description: 创建时间
  12053. type: string
  12054. creatorid:
  12055. description: 创建人
  12056. type: integer
  12057. daymaxvalue:
  12058. description: 当日最大转入限制
  12059. type: number
  12060. freezedays:
  12061. description: 冻结天数 [5:花生米转交易]
  12062. type: integer
  12063. innergoodsid:
  12064. description: 内部商品ID[交易]
  12065. type: integer
  12066. inratio:
  12067. description: 目标值
  12068. type: integer
  12069. modifierid:
  12070. description: 修改人
  12071. type: integer
  12072. modifytime:
  12073. description: 修改时间
  12074. type: string
  12075. outergoodscode:
  12076. description: 外部商品代码[JD\PD]
  12077. type: string
  12078. outratio:
  12079. description: 源值
  12080. type: integer
  12081. pddecimalplace:
  12082. description: PD小数位
  12083. type: integer
  12084. timemaxvalue:
  12085. description: 单次最大转入限制
  12086. type: number
  12087. timeminvalue:
  12088. description: 单次最小转入限制
  12089. type: number
  12090. required:
  12091. - converttype
  12092. - innergoodsid
  12093. - outergoodscode
  12094. type: object
  12095. models.Szdz3searchwhitelist:
  12096. properties:
  12097. createtime:
  12098. description: 创建时间
  12099. type: string
  12100. creatorid:
  12101. description: 创建人
  12102. type: integer
  12103. modifierid:
  12104. description: 修改人
  12105. type: integer
  12106. modifytime:
  12107. description: 修改时间
  12108. type: string
  12109. userid:
  12110. description: 用户ID
  12111. type: integer
  12112. required:
  12113. - userid
  12114. type: object
  12115. models.TBGoods:
  12116. properties:
  12117. agreeunit:
  12118. description: 合约乘数
  12119. type: number
  12120. enumdicname:
  12121. description: 单位名称
  12122. type: string
  12123. goodscode:
  12124. description: 商品代码(内部)
  12125. type: string
  12126. goodsid:
  12127. description: 商品ID(自增ID SEQ_GOODS)
  12128. type: integer
  12129. goodsname:
  12130. description: 商品名称
  12131. type: string
  12132. type: object
  12133. models.TBGoodsGroup:
  12134. properties:
  12135. GDLST:
  12136. description: 商品列表
  12137. items:
  12138. $ref: '#/definitions/models.TBGoods'
  12139. type: array
  12140. convertratio:
  12141. description: 折算系数
  12142. type: number
  12143. enumdicname:
  12144. description: 单位名称
  12145. type: string
  12146. exexchangecode:
  12147. description: 交易所代码
  12148. type: string
  12149. exexchangename:
  12150. description: 交易所名称
  12151. type: string
  12152. goodsgroupid:
  12153. description: 商品组ID(自增ID)
  12154. type: integer
  12155. goodsgroupname:
  12156. description: 商品组名称
  12157. type: string
  12158. goodunitid:
  12159. description: 报价单位ID
  12160. type: integer
  12161. type: object
  12162. models.TBMiddleGoods:
  12163. properties:
  12164. GPLST:
  12165. description: 期货品种列表
  12166. items:
  12167. $ref: '#/definitions/models.TBGoodsGroup'
  12168. type: array
  12169. WDLST:
  12170. description: 商品信息列表(现货品类)
  12171. items:
  12172. $ref: '#/definitions/models.TBWrstandard'
  12173. type: array
  12174. areauserid:
  12175. description: 机构用户ID
  12176. type: integer
  12177. enumdicname:
  12178. description: 单位名称
  12179. type: string
  12180. goodsunitid:
  12181. description: 套保品种单位id
  12182. type: integer
  12183. middlegoodscode:
  12184. description: 套保品种代码
  12185. type: string
  12186. middlegoodsid:
  12187. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  12188. type: integer
  12189. middlegoodsname:
  12190. description: 套保品种名称
  12191. type: string
  12192. needarbitrageratio:
  12193. description: 套利比率
  12194. type: number
  12195. needhedgeratio:
  12196. description: 套保比率
  12197. type: number
  12198. type: object
  12199. models.TBWrstandard:
  12200. properties:
  12201. convertratio:
  12202. description: 折算系数
  12203. type: number
  12204. deliverygoodsname:
  12205. description: 品种名称
  12206. type: string
  12207. enumdicname:
  12208. description: 单位名称
  12209. type: string
  12210. vatrate:
  12211. description: 增值税率
  12212. type: number
  12213. wrstandardcode:
  12214. description: 现货商品代码
  12215. type: string
  12216. wrstandardid:
  12217. description: 现货商品ID(SEQ_WRSTANDARD)
  12218. type: integer
  12219. wrstandardname:
  12220. description: 现货商品名称
  12221. type: string
  12222. type: object
  12223. models.Taaccount:
  12224. properties:
  12225. accountflag:
  12226. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  12227. type: integer
  12228. accountid:
  12229. description: 资金账户ID
  12230. type: integer
  12231. accountname:
  12232. description: 账户名称
  12233. type: string
  12234. balance:
  12235. description: 期初余额
  12236. type: number
  12237. capitalbalance:
  12238. description: 本金余额[外部子账户实际出入金余额]
  12239. type: number
  12240. changeflag:
  12241. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  12242. type: integer
  12243. changetime:
  12244. description: 账户状态变更时间
  12245. type: string
  12246. closepl:
  12247. description: 今日平仓盈亏
  12248. type: number
  12249. creditdecrease:
  12250. description: 今日授信减少
  12251. type: number
  12252. creditincrease:
  12253. description: 今日授信增加
  12254. type: number
  12255. curamount:
  12256. description: 总市值(从持仓中统计)
  12257. type: number
  12258. currencyid:
  12259. description: 货币ID
  12260. type: integer
  12261. currentbalance:
  12262. description: 期末余额
  12263. type: number
  12264. freezecharge:
  12265. description: 手续费冻结
  12266. type: number
  12267. freezemargin:
  12268. description: 冻结保证金
  12269. type: number
  12270. fromaccountid:
  12271. description: 所属上级账户
  12272. type: integer
  12273. inamount:
  12274. description: 今日入金金额(包括三方入金)
  12275. type: number
  12276. ismain:
  12277. description: 是否母账号 0:不是母账户 1:是母账户
  12278. type: integer
  12279. ismarketaccount:
  12280. description: 是否机构接单账号 0:不是 1:是
  12281. type: integer
  12282. isreckonaccount:
  12283. description: 是否机构分润账号 0:不是 1:是
  12284. type: integer
  12285. mortgagecredit:
  12286. description: 授信金额
  12287. type: number
  12288. orifreezecharge:
  12289. description: 期初手续费冻结
  12290. type: number
  12291. orifreezemargin:
  12292. description: 期初冻结保证金
  12293. type: number
  12294. orimortgagecredit:
  12295. description: 期初授信金额
  12296. type: number
  12297. oriothercredit:
  12298. description: 期初其它授信金额
  12299. type: number
  12300. oriotherfreezemargin:
  12301. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  12302. type: number
  12303. orioutamountfreeze:
  12304. description: 期初出金冻结
  12305. type: number
  12306. oriusedmargin:
  12307. description: 期初占用保证金
  12308. type: number
  12309. othercredit:
  12310. description: 其它授信金额
  12311. type: number
  12312. othercreditdecrease:
  12313. description: 今日其它授信减少
  12314. type: number
  12315. othercreditincrease:
  12316. description: 今日其它授信增加
  12317. type: number
  12318. otherfreezemargin:
  12319. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  12320. type: number
  12321. otherincome:
  12322. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  12323. type: number
  12324. otherpay:
  12325. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  12326. type: number
  12327. outamount:
  12328. description: 今日出金金额(包括三方出金)
  12329. type: number
  12330. outamountfreeze:
  12331. description: 出金冻结
  12332. type: number
  12333. outthreshold:
  12334. description: 出金阈值
  12335. type: number
  12336. parentaccountid:
  12337. description: 所属根账号
  12338. type: integer
  12339. paycharge:
  12340. description: 今日手续费支出
  12341. type: number
  12342. relatedaccountstatus:
  12343. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  12344. type: integer
  12345. relateduserid:
  12346. description: 关联用户
  12347. type: integer
  12348. remainamount:
  12349. description: 融资额(从融资合同中统计)
  12350. type: number
  12351. serivcegroup:
  12352. description: 服务分组
  12353. type: integer
  12354. signstatus:
  12355. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  12356. type: integer
  12357. sublevelpath:
  12358. description: 账号层级路径(逗号分隔,首尾加逗号)
  12359. type: string
  12360. taaccounttype:
  12361. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  12362. type: integer
  12363. thirdinamount:
  12364. description: 今日三方入金
  12365. type: number
  12366. thirdoutamount:
  12367. description: 今日三方出金
  12368. type: number
  12369. tradestatus:
  12370. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  12371. type: integer
  12372. tradestatuschangetime:
  12373. description: 激活时间
  12374. type: string
  12375. transferamount:
  12376. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  12377. type: number
  12378. usedmargin:
  12379. description: 占用保证金
  12380. type: number
  12381. userid:
  12382. description: 用户ID
  12383. type: integer
  12384. required:
  12385. - accountid
  12386. - userid
  12387. type: object
  12388. models.Tablecolumnconfig:
  12389. properties:
  12390. aligntype:
  12391. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  12392. type: integer
  12393. autoid:
  12394. description: AutoID
  12395. type: integer
  12396. columnfield:
  12397. description: 列字段
  12398. type: string
  12399. columntitle:
  12400. description: 列Title
  12401. type: string
  12402. columnwidth:
  12403. description: 列宽
  12404. type: string
  12405. fixed:
  12406. description: 固定类型 - 空 | left | right
  12407. type: string
  12408. formatterstring:
  12409. description: 格式化字符
  12410. type: string
  12411. formattertype:
  12412. description: 格式化类型
  12413. type: string
  12414. groupname:
  12415. description: 表头分组名称
  12416. type: string
  12417. ismerge:
  12418. description: 是否合并显示 - 0:不合并 1:合并
  12419. type: integer
  12420. isshow:
  12421. description: 是否显示 - 0:不显示 1:显示
  12422. type: integer
  12423. needsummary:
  12424. description: 是否需要汇总 - 0:不需要 1:需要
  12425. type: integer
  12426. orderindex:
  12427. description: 顺序
  12428. type: integer
  12429. remark:
  12430. description: 备注
  12431. type: string
  12432. summarytype:
  12433. description: 汇总类型 - 1:加总 2:最后一个
  12434. type: integer
  12435. tablekey:
  12436. description: 列表Key
  12437. type: string
  12438. required:
  12439. - autoid
  12440. type: object
  12441. models.TjmdHolderDetailTradeInfo:
  12442. properties:
  12443. agreeunit:
  12444. description: 合约乘数
  12445. type: number
  12446. buyaccountid:
  12447. description: 买方账户
  12448. type: string
  12449. buyusername:
  12450. description: 买方
  12451. type: string
  12452. delistingdate:
  12453. description: 最后结算日
  12454. type: string
  12455. expiredate:
  12456. description: 到期结算价定价日
  12457. type: string
  12458. exprieprice:
  12459. description: 到期清算价格
  12460. type: string
  12461. goodscode:
  12462. description: 商品代码
  12463. type: string
  12464. goodsid:
  12465. description: 商品ID
  12466. type: integer
  12467. goodsname:
  12468. description: 商品名称(交易标的)
  12469. type: string
  12470. lasttradedate:
  12471. description: 最后交易日
  12472. type: string
  12473. listingdate:
  12474. description: 开始交易日
  12475. type: string
  12476. openprice:
  12477. description: 成交价
  12478. type: number
  12479. openqty:
  12480. description: 交易数量
  12481. type: integer
  12482. sellaccountid:
  12483. description: 卖方账户
  12484. type: string
  12485. sellusername:
  12486. description: 卖方
  12487. type: string
  12488. tradeamount:
  12489. description: 初始名义价值
  12490. type: number
  12491. tradedate:
  12492. description: 成交日期
  12493. type: string
  12494. tradeid:
  12495. description: 成交编号
  12496. type: string
  12497. type: object
  12498. models.TjmdMarketSection:
  12499. properties:
  12500. marketsectionid:
  12501. description: 市场版块ID(SEQ_MARKETSECTION)
  12502. type: integer
  12503. marketsectionname:
  12504. description: 市场版块名称
  12505. type: string
  12506. mlist:
  12507. description: 市场列表(板块下面有多少个市场)
  12508. items:
  12509. $ref: '#/definitions/models.TjmdMarketSectionConfig'
  12510. type: array
  12511. orderindex:
  12512. description: 排序
  12513. type: integer
  12514. pictureurl:
  12515. description: 图片url, 规格(90*90)
  12516. type: string
  12517. remark:
  12518. description: 备注
  12519. type: string
  12520. type: object
  12521. models.TjmdMarketSectionConfig:
  12522. properties:
  12523. auctionwrtype:
  12524. description: 仓单类型(现货交易) - 1:无仓单 2:有仓单 3;有无仓单均可
  12525. type: integer
  12526. canacceptquote:
  12527. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  12528. type: integer
  12529. cangoodsexercise:
  12530. description: '[期权]是否可现货行权- 0:否 1:是'
  12531. type: integer
  12532. cangoodsexercisetype:
  12533. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  12534. type: integer
  12535. canmanualquotestrike:
  12536. description: 是否可手动报行权价- 0:否 1:是 [期权]
  12537. type: integer
  12538. canmutistage:
  12539. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  12540. type: integer
  12541. canpreexercise:
  12542. description: '[期权]是否可预申报- 0:否 1:是'
  12543. type: integer
  12544. clearinterval:
  12545. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  12546. type: integer
  12547. contracttmp:
  12548. description: 合同模板[荷兰式][竞价式][仓单贸易]
  12549. type: string
  12550. exchareaid:
  12551. description: 所属交易所,可以没有
  12552. type: integer
  12553. financemarketid:
  12554. description: 融资回购市场ID [仓单贸易]
  12555. type: integer
  12556. goodstype:
  12557. description: 商品类型 - 1:交易商品 2:仓单商品
  12558. type: integer
  12559. hasrebate:
  12560. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  12561. type: integer
  12562. hastradecredit:
  12563. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  12564. type: integer
  12565. haswr:
  12566. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  12567. type: integer
  12568. isdeductmargin:
  12569. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  12570. type: integer
  12571. isrecordsource:
  12572. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  12573. type: integer
  12574. isreleasemargin:
  12575. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  12576. type: integer
  12577. isupdatereckonprice:
  12578. description: 输入结算价标识 - 0:系统生成 1:手工输入(自动) 2:手工输入(手动)
  12579. type: integer
  12580. listingmode:
  12581. description: 挂牌方式 1:一口价 2:浮动价 3:贸易圈 4:协议指定
  12582. type: integer
  12583. marginformula:
  12584. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  12585. type: integer
  12586. marginformula2:
  12587. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  12588. type: integer
  12589. marketid:
  12590. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  12591. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  12592. type: integer
  12593. marketname:
  12594. description: 市场名称
  12595. type: string
  12596. marketsectionid:
  12597. description: 市场版块ID(SEQ_MARKETSECTION)
  12598. type: integer
  12599. marketserviceid:
  12600. description: 市场服务ID
  12601. type: integer
  12602. marketstatus:
  12603. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  12604. type: integer
  12605. markettype:
  12606. description: 市场类型- 1:非交易服务 2:交易服务
  12607. type: integer
  12608. matchermode:
  12609. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手 - 作废
  12610. type: integer
  12611. nowrquotaflag:
  12612. description: 是否校验无仓单额度(仓单贸易) 0:否 1:是
  12613. type: integer
  12614. openmethod:
  12615. description: 开盘模式 - 0 自动 1手动
  12616. type: integer
  12617. orderindex:
  12618. description: 排序
  12619. type: integer
  12620. otcuserid:
  12621. description: 场外期权做市商[场外期权]
  12622. type: integer
  12623. outersynctime:
  12624. description: 外部同步时间点(h24:mi:ss)[场外期权]
  12625. type: string
  12626. paylaterflag:
  12627. description: 是否支持后付 - 0:不支持 1;支持 - [挂牌点选 所有权、预售挂牌支持]
  12628. type: integer
  12629. pendingflag:
  12630. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  12631. type: integer
  12632. pendingtime:
  12633. description: 待开市时间[通道交易-对冲](HH:mm)
  12634. type: string
  12635. performancetempid:
  12636. description: 履约计划模板ID - 作废
  12637. type: integer
  12638. premiumquotemode:
  12639. description: 权利金报价方式 - 1:自动 2:手动
  12640. type: integer
  12641. rebateratio:
  12642. description: 返利比率[竞价式]
  12643. type: number
  12644. reckonorder:
  12645. description: 结算顺序
  12646. type: integer
  12647. reckonpricealgorithm:
  12648. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  12649. 6.卖一价 7.买一卖一均价 8.外部结算价'
  12650. type: integer
  12651. reckonpriceparam:
  12652. description: 结算价参数
  12653. type: integer
  12654. reckontime:
  12655. description: 结算时间[通道交易-对冲](HH:mm)
  12656. type: string
  12657. roleprioritytype:
  12658. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  12659. type: integer
  12660. selllistingauditflag:
  12661. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  12662. type: integer
  12663. trademarkettype:
  12664. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  12665. type: integer
  12666. trademode:
  12667. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  12668. 21:竞拍-大宗式 22:受托竞价
  12669. type: integer
  12670. tradeproperty:
  12671. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  12672. 8:场外期权
  12673. type: integer
  12674. tradetype:
  12675. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  12676. type: integer
  12677. updatereckonpriceinterval:
  12678. description: 输入结算价时长(分钟) [1:手工输入(自动)]
  12679. type: integer
  12680. type: object
  12681. models.TjmdQuoteGoods:
  12682. properties:
  12683. buyqty:
  12684. description: 买量(暂不做, 无值, 保留字段)
  12685. type: number
  12686. decimalplace:
  12687. description: 报价小数位
  12688. type: integer
  12689. goodscode:
  12690. description: 合约代码
  12691. type: string
  12692. goodsgroupid:
  12693. description: 商品组ID(自增ID)
  12694. type: integer
  12695. goodsgroupname:
  12696. description: 商品组名称
  12697. type: string
  12698. goodsid:
  12699. description: 合约id
  12700. type: integer
  12701. goodsname:
  12702. description: 合约名称
  12703. type: string
  12704. refgoodscode:
  12705. description: 标的合约代码
  12706. type: string
  12707. refgoodsid:
  12708. description: 标的合约id
  12709. type: integer
  12710. refgoodsname:
  12711. description: 标的合约名称
  12712. type: string
  12713. sellqty:
  12714. description: 卖量(暂不做, 无值, 保留字段)
  12715. type: number
  12716. type: object
  12717. models.TjmdTodayAccountMargin:
  12718. properties:
  12719. accountid:
  12720. description: 账号ID
  12721. type: integer
  12722. goodsid:
  12723. description: 商品ID
  12724. type: integer
  12725. infoc:
  12726. $ref: '#/definitions/pb.GoodsMarginCfgStruct'
  12727. description: 配置参数
  12728. marketid:
  12729. description: 市场ID
  12730. type: integer
  12731. type: object
  12732. models.TjmdTradeOrderDetail:
  12733. properties:
  12734. buyorsell:
  12735. description: 买卖方向 0-买 1-卖
  12736. type: integer
  12737. goodsid:
  12738. description: 商品id
  12739. type: integer
  12740. marketmaxsub:
  12741. description: 市价最大偏移范围 [浮动价 - 点差]
  12742. type: number
  12743. orderid:
  12744. description: 委托单号
  12745. type: string
  12746. orderprice:
  12747. description: 期初均价
  12748. type: number
  12749. orderqty:
  12750. description: 委托数量
  12751. type: integer
  12752. pricemode:
  12753. description: '取价方式 - 1:市价 2: 限价 3:浮动价'
  12754. type: integer
  12755. userid:
  12756. description: 用户id
  12757. type: integer
  12758. username:
  12759. description: 用户名称(已脱敏)
  12760. type: string
  12761. type: object
  12762. models.TjmdTransferApply:
  12763. properties:
  12764. applyid:
  12765. description: 申请ID(自增ID SEQ_TRADE_HOLDTRANSFERAPPLY)
  12766. type: integer
  12767. applystatus:
  12768. description: 状态 - 0:未提交 1:待审核 2:审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销
  12769. type: integer
  12770. applytime:
  12771. description: 申请时间(时间)
  12772. type: string
  12773. auditremark:
  12774. description: 审核备注(拒绝原因?)
  12775. type: string
  12776. begindate:
  12777. description: 开始交易日(yyyymmdd)
  12778. type: string
  12779. buyorsell:
  12780. description: 买卖 - 0:买 1:卖
  12781. type: integer
  12782. enddate:
  12783. description: 结束交易日(yyyymmdd)
  12784. type: string
  12785. goodscode:
  12786. description: 商品代码
  12787. type: string
  12788. goodsid:
  12789. description: 商品ID
  12790. type: integer
  12791. goodsname:
  12792. description: 商品名称
  12793. type: string
  12794. marketid:
  12795. description: 市场ID
  12796. type: integer
  12797. qty:
  12798. description: 期初均价
  12799. type: number
  12800. tradeid:
  12801. description: 成交单号(关联持仓)
  12802. type: string
  12803. transferamount:
  12804. description: 转让总金额(金额)
  12805. type: number
  12806. transferprice:
  12807. description: 转让价格(协议价格)
  12808. type: number
  12809. type: object
  12810. models.TradeHolderDetail:
  12811. properties:
  12812. accountid:
  12813. description: 账号ID
  12814. type: integer
  12815. agreeunit:
  12816. description: 合约乘数
  12817. type: number
  12818. buyorsell:
  12819. description: 方向 - 0:买 1:卖
  12820. type: integer
  12821. currencyid:
  12822. description: 商品币种id
  12823. type: integer
  12824. currencyname:
  12825. description: 币种名称
  12826. type: string
  12827. decimalplace:
  12828. description: 商品价格小数位
  12829. type: integer
  12830. enumdicname:
  12831. description: 商品单位名称
  12832. type: string
  12833. expirecycle:
  12834. description: 行权周期(天) - 1:滚动行权时填写
  12835. type: integer
  12836. expiredate:
  12837. description: 行权日(yyyyMMdd) - 到期日
  12838. type: string
  12839. expiretype:
  12840. description: 行权日类型 - 1:滚动行权 2:固定日行权
  12841. type: integer
  12842. freezeqty:
  12843. description: 期初均价
  12844. type: number
  12845. goodscode:
  12846. description: 商品代码
  12847. type: string
  12848. goodsid:
  12849. description: 商品ID
  12850. type: integer
  12851. goodsname:
  12852. description: 商品名称
  12853. type: string
  12854. goodunitid:
  12855. description: 商品单位id
  12856. type: integer
  12857. holderamount:
  12858. description: 持仓金额
  12859. type: number
  12860. holdercredit:
  12861. description: 持仓授信金额
  12862. type: number
  12863. holderdays:
  12864. description: 剩余冻结天数
  12865. type: integer
  12866. holderprice:
  12867. description: 持仓价格
  12868. type: number
  12869. holderqty:
  12870. description: 期初均价
  12871. type: number
  12872. isconfirmexercise:
  12873. description: 是否确认行权- 0:否 1:是
  12874. type: integer
  12875. ispreexercise:
  12876. description: 是否预申报- 0:否 1:是 2:不可行权
  12877. type: integer
  12878. marketid:
  12879. description: 市场id
  12880. type: integer
  12881. marketname:
  12882. description: 市场名称
  12883. type: string
  12884. openprice:
  12885. description: 建仓价格
  12886. type: number
  12887. openqty:
  12888. description: 期初均价
  12889. type: number
  12890. optiontype:
  12891. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  12892. type: integer
  12893. preexerciseprice:
  12894. description: 预申报价格
  12895. type: number
  12896. premium:
  12897. description: 权利金
  12898. type: number
  12899. qtydecimalplace:
  12900. description: 商品成交量小数位
  12901. type: integer
  12902. refgoodscode:
  12903. description: 标的合约代码
  12904. type: string
  12905. refgoodsid:
  12906. description: 标的合约id
  12907. type: integer
  12908. releaseamount:
  12909. description: 释放持仓金额
  12910. type: number
  12911. releaseholdercredit:
  12912. description: 释放持仓授信金额
  12913. type: number
  12914. taname:
  12915. description: 资金账号名称
  12916. type: string
  12917. tradeamount:
  12918. description: 成交金额
  12919. type: number
  12920. tradedate:
  12921. description: 交易日(yyyyMMdd)
  12922. type: string
  12923. tradeid:
  12924. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12925. type: string
  12926. trademode:
  12927. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  12928. 21:竞拍-大宗式 22:受托竞价 46:掉期
  12929. type: integer
  12930. tradeproperty:
  12931. description: 交易属性
  12932. type: integer
  12933. tradetime:
  12934. description: 交易时间
  12935. type: string
  12936. userid:
  12937. description: 用户id
  12938. type: integer
  12939. username:
  12940. description: 用户名称
  12941. type: string
  12942. type: object
  12943. models.Unlinkermcphedgeplan:
  12944. properties:
  12945. accountid:
  12946. description: 期货账户ID - 作废
  12947. type: integer
  12948. accountname:
  12949. description: 交易用户
  12950. type: string
  12951. applyid:
  12952. description: 申请人
  12953. type: integer
  12954. applysrc:
  12955. description: 申请来源 - 1:管理端 2:终端
  12956. type: integer
  12957. applytime:
  12958. description: 申请时间
  12959. type: string
  12960. areauserid:
  12961. description: '[企业ID]机构ID'
  12962. type: integer
  12963. auditid:
  12964. description: 审核人
  12965. type: integer
  12966. auditremark:
  12967. description: 审核备注
  12968. type: string
  12969. auditsrc:
  12970. description: 审核来源 - 1:管理端 2:终端
  12971. type: integer
  12972. audittime:
  12973. description: 审核时间
  12974. type: string
  12975. audittradedate:
  12976. description: 审核交易日(yyyyMMdd)
  12977. type: string
  12978. biztype:
  12979. description: 业务类型 - 1:套保
  12980. type: integer
  12981. contracttype:
  12982. description: 计划类型 - 1:采购 -1:销售
  12983. type: integer
  12984. convertfactor:
  12985. description: 标仓系数 - 作废
  12986. type: number
  12987. createtime:
  12988. description: 创建时间
  12989. type: string
  12990. currencyid:
  12991. description: 结算币种ID - 作废
  12992. type: integer
  12993. deliverygoodsid:
  12994. description: 现货品种ID
  12995. type: integer
  12996. enumdicname:
  12997. description: 结算币种
  12998. type: string
  12999. hedgeplanid:
  13000. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  13001. type: string
  13002. hedgeplanno:
  13003. description: '[计划编号]套保计划编号,模糊查询'
  13004. type: string
  13005. hedgeplanstatus:
  13006. description: '[状态]套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回'
  13007. type: integer
  13008. isrelated:
  13009. description: 是否已关联计划项目 - 0:否 1:是
  13010. type: integer
  13011. planqty:
  13012. description: '[计划量]计划数量'
  13013. type: number
  13014. plantime:
  13015. description: 计划时间
  13016. type: string
  13017. producttype:
  13018. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  13019. type: integer
  13020. remark:
  13021. description: 备注
  13022. type: string
  13023. spotgoodsdesc:
  13024. description: 商品型号
  13025. type: string
  13026. tradedate:
  13027. description: 交易日(yyyyMMdd)
  13028. type: string
  13029. tradeuserid:
  13030. description: 交易用户ID
  13031. type: integer
  13032. updatetime:
  13033. description: 更新时间
  13034. type: string
  13035. wrstandardid:
  13036. description: 现货商品ID
  13037. type: integer
  13038. wrstandardname:
  13039. description: 现货商品,模糊查询
  13040. type: string
  13041. required:
  13042. - areauserid
  13043. type: object
  13044. models.Useraccount:
  13045. properties:
  13046. accountname:
  13047. description: 账户名称(机构名称)
  13048. type: string
  13049. accountstatus:
  13050. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  13051. type: integer
  13052. applysrc:
  13053. description: 申请来源 - 1:管理端 2:终端
  13054. type: integer
  13055. auditremark:
  13056. description: 审核备注
  13057. type: string
  13058. auditsrc:
  13059. description: 审核来源 - 1:管理端 2:终端
  13060. type: integer
  13061. audittime:
  13062. description: 审核时间
  13063. type: string
  13064. audituserid:
  13065. description: 审核人
  13066. type: integer
  13067. broker:
  13068. description: 所属经纪人ID
  13069. type: integer
  13070. canceltime:
  13071. description: 销户时间
  13072. type: string
  13073. canceluserid:
  13074. description: 销户人
  13075. type: integer
  13076. canrecommend:
  13077. description: 是否可推荐 - 0:不可 1;可
  13078. type: integer
  13079. createtime:
  13080. description: 创建时间
  13081. type: string
  13082. creatorid:
  13083. description: 创建人
  13084. type: integer
  13085. hasauth:
  13086. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  13087. type: integer
  13088. isanonymous:
  13089. description: 是否匿名下单 - 0:否 1:是
  13090. type: integer
  13091. maxinvestornum:
  13092. description: 最大用户数(经纪会员下投资者个数)
  13093. type: integer
  13094. memberuserid:
  13095. description: 所属会员ID
  13096. type: integer
  13097. modifierid:
  13098. description: 修改人
  13099. type: integer
  13100. modifyremark:
  13101. description: 变更备注
  13102. type: string
  13103. modifystatus:
  13104. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  13105. type: integer
  13106. modifytime:
  13107. description: 修改时间
  13108. type: string
  13109. parenttopuser:
  13110. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  13111. type: string
  13112. parentuserid:
  13113. description: 所属机构ID
  13114. type: integer
  13115. reckonaccountid:
  13116. description: 默认结算资金账号ID(机构分润使用) 作废
  13117. type: integer
  13118. refercount:
  13119. description: 推荐总人数
  13120. type: integer
  13121. refereeuserid:
  13122. description: 推荐人ID
  13123. type: integer
  13124. refernum:
  13125. description: 推荐码
  13126. type: string
  13127. rootuserid:
  13128. description: 根用户ID
  13129. type: integer
  13130. subaccountlevel:
  13131. description: 子账户层数
  13132. type: integer
  13133. subarealevelpath:
  13134. description: 子机构层级路径(逗号分隔,首尾加逗号)
  13135. type: string
  13136. userid:
  13137. description: 用户ID
  13138. type: integer
  13139. usertype:
  13140. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  13141. type: integer
  13142. required:
  13143. - userid
  13144. type: object
  13145. models.Userfavoritegoods:
  13146. properties:
  13147. goodsid:
  13148. description: 商品ID
  13149. type: integer
  13150. required:
  13151. - goodsid
  13152. type: object
  13153. models.Userinfo:
  13154. properties:
  13155. address:
  13156. description: 地址
  13157. type: string
  13158. attachment1:
  13159. description: 附件1
  13160. type: string
  13161. attachment2:
  13162. description: 附件2
  13163. type: string
  13164. bankaccount:
  13165. description: 银行帐号 (加密存储)
  13166. type: string
  13167. bankaccountname:
  13168. description: 收款人名称
  13169. type: string
  13170. bankcardfrontphotourl:
  13171. description: 银行卡正面照地址
  13172. type: string
  13173. bankid:
  13174. description: 银行编码
  13175. type: string
  13176. bankname:
  13177. description: 银行名称
  13178. type: string
  13179. biznature:
  13180. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  13181. type: integer
  13182. bizscope:
  13183. description: 企业经营范围(企业)
  13184. type: string
  13185. cardbackphotourl:
  13186. description: 证件背面图片地址
  13187. type: string
  13188. cardfrontphotourl:
  13189. description: 证件正面图片地址
  13190. type: string
  13191. cardnum:
  13192. description: 证件号码(加密存储)
  13193. type: string
  13194. cardtypeid:
  13195. description: 证件类型ID
  13196. type: integer
  13197. cityid:
  13198. description: 市
  13199. type: integer
  13200. company:
  13201. description: 公司(个人)
  13202. type: string
  13203. contactname:
  13204. description: 联系人
  13205. type: string
  13206. countryid:
  13207. description: 国家
  13208. type: integer
  13209. createtime:
  13210. description: 创建时间
  13211. type: string
  13212. creatorid:
  13213. description: 创建人
  13214. type: integer
  13215. customername:
  13216. description: 客户名称(企业名称)
  13217. type: string
  13218. districtid:
  13219. description: 地区
  13220. type: integer
  13221. email:
  13222. description: 邮件(加密存储)
  13223. type: string
  13224. fax:
  13225. description: 传真(加密存储)
  13226. type: string
  13227. halfbodyphotourl:
  13228. description: 半身照地址
  13229. type: string
  13230. hasencrypt:
  13231. description: 数据是否已加密 - 0:未加密 1:已加密
  13232. type: integer
  13233. headurl:
  13234. description: 头像地址
  13235. type: string
  13236. legalcardbackphotourl:
  13237. description: 法人身份证背面照地址
  13238. type: string
  13239. legalcardfrontphotourl:
  13240. description: 法人身份证正面照地址
  13241. type: string
  13242. legalpersonname:
  13243. description: 法人姓名(企业)
  13244. type: string
  13245. mobile:
  13246. description: 手机号码(加密存储)
  13247. type: string
  13248. mobile2:
  13249. description: 手机号码[明文-尚志]
  13250. type: string
  13251. modifierid:
  13252. description: 修改人
  13253. type: integer
  13254. modifiertime:
  13255. description: 修改时间
  13256. type: string
  13257. needinvoice:
  13258. description: 是否需要发票 - 0:不需要 1:需要
  13259. type: integer
  13260. nickname:
  13261. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  13262. type: string
  13263. openmode:
  13264. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  13265. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  13266. type: integer
  13267. otherurl:
  13268. description: 其它图片地址[使用分号分隔]
  13269. type: string
  13270. postalcode:
  13271. description: 邮政编码
  13272. type: string
  13273. provinceid:
  13274. description: 省
  13275. type: integer
  13276. qq:
  13277. description: QQ(加密存储
  13278. type: string
  13279. remark:
  13280. description: 备注
  13281. type: string
  13282. sex:
  13283. description: '用户性别 0: 女 1: 男'
  13284. type: integer
  13285. signpdfurl:
  13286. description: 签约pdf文件
  13287. type: string
  13288. telphone:
  13289. description: 联系电话(加密存储)
  13290. type: string
  13291. userid:
  13292. description: 用户ID
  13293. type: integer
  13294. userinfotype:
  13295. description: 用户信息类型 - 1:个人 2:企业
  13296. type: integer
  13297. userstatus:
  13298. description: 用户状态 - 1:正常 2:注销
  13299. type: integer
  13300. usertype:
  13301. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  13302. type: integer
  13303. wechat:
  13304. description: 微信(加密存储)
  13305. type: string
  13306. wskhinfo:
  13307. description: 开户申请信息(JSON)
  13308. type: string
  13309. required:
  13310. - userid
  13311. type: object
  13312. models.WRSConverTDetail:
  13313. properties:
  13314. convertratio:
  13315. description: 套保系数
  13316. type: number
  13317. deliverygoodscode:
  13318. description: 现货商品代码
  13319. type: string
  13320. deliverygoodsid:
  13321. description: 现货品种ID
  13322. type: integer
  13323. deliverygoodsname:
  13324. description: 现货商品名称
  13325. type: string
  13326. enumdicname:
  13327. description: 单位名称
  13328. type: string
  13329. goodsunitid:
  13330. description: 套保品种单位id
  13331. type: integer
  13332. middlegoodscode:
  13333. description: 套保品种代码
  13334. type: string
  13335. middlegoodsid:
  13336. description: 套保品种ID
  13337. type: integer
  13338. middlegoodsname:
  13339. description: 套保品种名称
  13340. type: string
  13341. modifytime:
  13342. description: 修改时间
  13343. type: string
  13344. wrstandardid:
  13345. description: 品类ID
  13346. type: integer
  13347. type: object
  13348. models.WRStandardInfo:
  13349. properties:
  13350. areauserid:
  13351. description: 所属机构
  13352. type: integer
  13353. convertfactor:
  13354. description: 标仓系数
  13355. type: number
  13356. createtime:
  13357. description: 创建时间
  13358. type: string
  13359. creatorid:
  13360. description: 创建人
  13361. type: integer
  13362. deliverygoodsid:
  13363. description: 品种ID
  13364. type: integer
  13365. deliverygoodsname:
  13366. description: 交割商品名称
  13367. type: string
  13368. factoryitemjson:
  13369. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  13370. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  13371. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  13372. 逗号分隔'
  13373. type: string
  13374. isvalid:
  13375. description: 是否有效 - 0:无效 1:有效
  13376. type: integer
  13377. minivalue:
  13378. description: 最小变动值
  13379. type: integer
  13380. minivaluedp:
  13381. description: 最小变动值小数位
  13382. type: integer
  13383. realminivalue:
  13384. description: 实际最小变动值
  13385. type: integer
  13386. realminivaluedp:
  13387. description: 实际最小变动值小数位
  13388. type: integer
  13389. remark:
  13390. description: 备注
  13391. type: string
  13392. unitid:
  13393. description: 单位ID
  13394. type: integer
  13395. unitname:
  13396. description: 单位
  13397. type: string
  13398. updatetime:
  13399. description: 更新时间
  13400. type: string
  13401. updatorid:
  13402. description: 更新人
  13403. type: integer
  13404. wrsstatus:
  13405. description: 状态 - 作废 - 0:未激活 1:正常
  13406. type: integer
  13407. wrstandardcode:
  13408. description: 现货品类代码
  13409. type: string
  13410. wrstandardid:
  13411. description: 现货品类ID(SEQ_WRSTANDARD)
  13412. type: integer
  13413. wrstandardname:
  13414. description: 现货品类名称
  13415. type: string
  13416. required:
  13417. - wrstandardid
  13418. type: object
  13419. models.WRTradeBargainApply:
  13420. properties:
  13421. accountid:
  13422. description: 摘牌资金账号
  13423. type: integer
  13424. applyprice:
  13425. description: 申请价格(议价价格)
  13426. type: string
  13427. applyqty:
  13428. description: 摘牌数量(议价数量)
  13429. type: number
  13430. applyremark:
  13431. description: 申请备注
  13432. type: string
  13433. applystatus:
  13434. description: 申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  13435. type: integer
  13436. applytime:
  13437. description: 申请时间(议价时间)
  13438. type: string
  13439. begindate:
  13440. description: 开始交易日(yyyymmdd)
  13441. type: string
  13442. buyorsell:
  13443. description: 买卖(挂牌类型) - 0:买 1:卖
  13444. type: integer
  13445. confirmremark:
  13446. description: 确认备注
  13447. type: string
  13448. confirmtime:
  13449. description: 确认时间
  13450. type: string
  13451. confirmuserid:
  13452. description: 确认人
  13453. type: integer
  13454. deliverygoodscode:
  13455. description: 品种代码
  13456. type: string
  13457. deliverygoodsid:
  13458. description: 品种ID
  13459. type: integer
  13460. deliverygoodsname:
  13461. description: 品种名称
  13462. type: string
  13463. deliverymonth:
  13464. description: 交收月
  13465. type: string
  13466. enddate:
  13467. description: 结束交易日(yyyymmdd)
  13468. type: string
  13469. enumdicname:
  13470. description: 单位名称
  13471. type: string
  13472. fixedprice:
  13473. description: 期初均价
  13474. type: number
  13475. handlestatus:
  13476. description: 处理状态
  13477. type: integer
  13478. marginvalue:
  13479. description: 期初均价
  13480. type: number
  13481. marketid:
  13482. description: 市场ID
  13483. type: integer
  13484. matchaccountid:
  13485. description: 挂牌方资金账号
  13486. type: integer
  13487. matchuserid:
  13488. description: 挂牌方用户id
  13489. type: integer
  13490. matchusername:
  13491. description: 挂牌方用户名称(已脱敏)
  13492. type: string
  13493. minivalue:
  13494. description: 现货商品最小变动值
  13495. type: integer
  13496. optioncompare:
  13497. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  13498. type: string
  13499. orderqty:
  13500. description: 挂牌数量
  13501. type: integer
  13502. refprice:
  13503. description: 参考价格
  13504. type: string
  13505. retcode:
  13506. description: 委托返回代码
  13507. type: integer
  13508. templatename:
  13509. description: 履约方式(履约模板名称)
  13510. type: string
  13511. tradedate:
  13512. description: 交易日(yyyyMMdd)
  13513. type: string
  13514. userid:
  13515. description: 摘牌人用户ID(议价人ID)
  13516. type: integer
  13517. username:
  13518. description: 议价人名字(已脱敏)
  13519. type: string
  13520. validtime:
  13521. description: 有效期限
  13522. type: string
  13523. warehouseid:
  13524. description: 仓库ID
  13525. type: integer
  13526. warehousename:
  13527. description: 仓库名称
  13528. type: string
  13529. wrbargainid:
  13530. description: 议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)
  13531. type: string
  13532. wrfactortypeid:
  13533. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  13534. type: string
  13535. wrfactortypename:
  13536. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  13537. type: string
  13538. wrstandardcode:
  13539. description: 现货商品代码
  13540. type: string
  13541. wrstandardid:
  13542. description: 现货商品ID
  13543. type: integer
  13544. wrstandardname:
  13545. description: 商品名称
  13546. type: string
  13547. wrtradeorderid:
  13548. description: 关联委托单ID
  13549. type: string
  13550. wrtypename:
  13551. description: 商品
  13552. type: string
  13553. type: object
  13554. models.Warehouseinfo:
  13555. properties:
  13556. address:
  13557. description: 详细地址
  13558. type: string
  13559. areauserid:
  13560. description: 所属机构
  13561. type: integer
  13562. autoid:
  13563. description: 自增ID
  13564. type: integer
  13565. cityid:
  13566. description: 市
  13567. type: integer
  13568. contactname:
  13569. description: 联系人
  13570. type: string
  13571. contactnum:
  13572. description: 联系电话
  13573. type: string
  13574. countryid:
  13575. description: 国家
  13576. type: integer
  13577. createtime:
  13578. description: 创建时间
  13579. type: string
  13580. districtid:
  13581. description: 区
  13582. type: integer
  13583. hasvideo:
  13584. description: 是否有视频 - 0:无 1:有
  13585. type: integer
  13586. provinceid:
  13587. description: 省
  13588. type: integer
  13589. remark:
  13590. description: 审核备注
  13591. type: string
  13592. videourl:
  13593. description: 视频地址
  13594. type: string
  13595. warehousecode:
  13596. description: 仓库代码
  13597. type: string
  13598. warehousename:
  13599. description: 仓库名称
  13600. type: string
  13601. warehousestatus:
  13602. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  13603. type: integer
  13604. warehousetype:
  13605. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  13606. type: integer
  13607. required:
  13608. - autoid
  13609. - warehousecode
  13610. type: object
  13611. models.WrAverageTradePrice:
  13612. properties:
  13613. averageprice:
  13614. description: 期初均价
  13615. type: number
  13616. tradedate:
  13617. description: 交易日yyyymm
  13618. type: string
  13619. type: object
  13620. models.WrBrandAndYears:
  13621. properties:
  13622. brandlst:
  13623. description: 品牌列表
  13624. items:
  13625. $ref: '#/definitions/models.DgFactoryItem'
  13626. type: array
  13627. yearslst:
  13628. description: 年份列表
  13629. items:
  13630. $ref: '#/definitions/models.DgFactoryItem'
  13631. type: array
  13632. type: object
  13633. models.WrBsGoodsInfo:
  13634. properties:
  13635. buyorsell:
  13636. description: 买卖方向 0-买 1-卖
  13637. type: integer
  13638. goodsid:
  13639. description: 交易合约ID
  13640. type: integer
  13641. lstitem:
  13642. description: 商品信息项
  13643. items:
  13644. $ref: '#/definitions/models.WrTypeItem'
  13645. type: array
  13646. lststep:
  13647. description: 履约规则
  13648. items:
  13649. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  13650. type: array
  13651. type: object
  13652. models.WrBuybackDetail:
  13653. properties:
  13654. buybackamount:
  13655. description: 回购金额
  13656. type: number
  13657. buybackqty:
  13658. description: 回购数量
  13659. type: number
  13660. buybackreleasemargin:
  13661. description: 回购释放保证金
  13662. type: number
  13663. buybacktime:
  13664. description: 回购时间
  13665. type: string
  13666. errordesc:
  13667. description: 错误描述
  13668. type: string
  13669. handlestatus:
  13670. description: 处理 - 1:待处理 2:处理成功 3:处理失败
  13671. type: integer
  13672. relatedwrid:
  13673. description: 关联仓单ID
  13674. type: integer
  13675. scfcontractid:
  13676. description: SCF合同ID
  13677. type: string
  13678. scfwrbuybackid:
  13679. description: SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)
  13680. type: integer
  13681. tradedate:
  13682. description: 交易日(yyyyMMdd)
  13683. type: string
  13684. type: object
  13685. models.WrClientAdSpaceConfig:
  13686. properties:
  13687. adspaceid:
  13688. description: 广告位ID
  13689. type: integer
  13690. adspacename:
  13691. description: 广告位名称
  13692. type: string
  13693. adspacetype:
  13694. description: 广告位类型 - 1:固定广告位
  13695. type: integer
  13696. areauserid:
  13697. description: 所属机构ID
  13698. type: integer
  13699. createdate:
  13700. description: 创建时间
  13701. type: string
  13702. imagepath:
  13703. description: 图片
  13704. type: string
  13705. modifierid:
  13706. description: 操作人
  13707. type: integer
  13708. recsize:
  13709. description: 推荐尺寸
  13710. type: string
  13711. title:
  13712. description: 标题
  13713. type: string
  13714. updatedate:
  13715. description: 更新时间
  13716. type: string
  13717. urlcontent:
  13718. description: 链接(地址\商品ID\功能菜单Key\appid)
  13719. type: string
  13720. urltype:
  13721. description: 链接类型 - 0:无 1:直接地址 2:商品ID 3:图片详情 4:App功能 5:微信小程序
  13722. type: integer
  13723. type: object
  13724. models.WrDeliveryAvalidHoldLB:
  13725. properties:
  13726. accountid:
  13727. description: 资金账号
  13728. type: integer
  13729. avalidqty:
  13730. description: 数量(可点选数量)
  13731. type: number
  13732. deliverygoodsid:
  13733. description: 品种id
  13734. type: integer
  13735. enumdicname:
  13736. description: 单位名称
  13737. type: string
  13738. goodsid:
  13739. description: x合约商品id
  13740. type: integer
  13741. ladingbillid:
  13742. description: 提单id
  13743. type: string
  13744. pgoodscode:
  13745. description: p商品代码(点价合约)
  13746. type: string
  13747. pgoodsid:
  13748. description: p商品id(点价合约)
  13749. type: integer
  13750. pgoodsname:
  13751. description: p商品名称(点价合约)
  13752. type: string
  13753. pricemove:
  13754. description: 升贴水
  13755. type: number
  13756. subnum:
  13757. description: 提单子id
  13758. type: integer
  13759. userid:
  13760. description: 用户id
  13761. type: integer
  13762. username:
  13763. description: 仓单持有人
  13764. type: string
  13765. warehousecode:
  13766. description: 仓库代码
  13767. type: string
  13768. warehouseid:
  13769. description: 仓库id
  13770. type: integer
  13771. warehousename:
  13772. description: 仓库名称
  13773. type: string
  13774. wrfactortypeid:
  13775. description: 仓单要素id
  13776. type: string
  13777. wrstandardcode:
  13778. description: 品代码
  13779. type: string
  13780. wrstandardid:
  13781. description: 品类d
  13782. type: integer
  13783. wrstandardname:
  13784. description: 品类名称
  13785. type: string
  13786. wrtypename:
  13787. description: 商品
  13788. type: string
  13789. xgoodscode:
  13790. description: x合约代码
  13791. type: string
  13792. xgoodsname:
  13793. description: x合约名称
  13794. type: string
  13795. type: object
  13796. models.WrDeliveryDetail:
  13797. properties:
  13798. accountid:
  13799. description: 账号ID
  13800. type: integer
  13801. averageprice:
  13802. description: 期初均价
  13803. type: number
  13804. begindate:
  13805. description: 开始交易日(yyyymmdd)
  13806. type: string
  13807. buyorsell:
  13808. description: 方向 - 0:买 1:卖
  13809. type: integer
  13810. deliveryamount:
  13811. description: 货款金额(X总货款+P总货款)
  13812. type: number
  13813. deliveryid:
  13814. description: 交割单号(121+Unix秒时间戳(10位)+xxxxxx)
  13815. type: string
  13816. deliveryorderid:
  13817. description: 申报单号
  13818. type: string
  13819. deliverypricemove:
  13820. description: 升贴水(升贴水总额)
  13821. type: number
  13822. deliveryqty:
  13823. description: 交收数量(点选数量)
  13824. type: number
  13825. deliverystatus:
  13826. description: 状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成
  13827. type: integer
  13828. deliverytime:
  13829. description: 交割时间
  13830. type: string
  13831. deliverytotalamount:
  13832. description: 交收金额
  13833. type: number
  13834. enddate:
  13835. description: 结束交易日(yyyymmdd)
  13836. type: string
  13837. enumdicname:
  13838. description: 单位名称
  13839. type: string
  13840. matchaccountid:
  13841. description: 对手账号ID
  13842. type: integer
  13843. matchusername:
  13844. description: 对手方名称(仓单持有人)
  13845. type: string
  13846. p1goodsremainamount:
  13847. description: 点价货款 ps:当PPRICEMODE=2时, 界面需显示"-"
  13848. type: number
  13849. pdeliverycloseqty:
  13850. description: p合约平仓数量
  13851. type: number
  13852. pdeliveryprice:
  13853. description: 点价价格 ps:当PPRICEMODE=2时, 界面需显示"-"
  13854. type: number
  13855. pgoodscode:
  13856. description: 商品代码
  13857. type: string
  13858. pgoodsid:
  13859. description: p点选合约id
  13860. type: integer
  13861. pgoodsname:
  13862. description: 商品名称
  13863. type: string
  13864. ppricemode:
  13865. description: 点价价格方式 - 1:商品价 2:固定值
  13866. type: integer
  13867. tradedate:
  13868. description: 交易日(yyyymmdd)
  13869. type: string
  13870. userid:
  13871. description: 用户id
  13872. type: integer
  13873. username:
  13874. description: 用户名称
  13875. type: string
  13876. warehousename:
  13877. description: 仓库名称
  13878. type: string
  13879. wrfactortypeid:
  13880. description: 仓单要素类型ID
  13881. type: string
  13882. wrtypename:
  13883. description: 商品
  13884. type: string
  13885. xdeliverycloseqty:
  13886. description: 合约数量
  13887. type: number
  13888. xgoodsamount:
  13889. description: 期初均价
  13890. type: number
  13891. xgoodscode:
  13892. description: 商品代码
  13893. type: string
  13894. xgoodsid:
  13895. description: x交易合约ID
  13896. type: integer
  13897. xgoodsname:
  13898. description: 商品名称
  13899. type: string
  13900. type: object
  13901. models.WrDeliveryGoodsSection:
  13902. properties:
  13903. dglst:
  13904. description: 板块商品列表
  13905. items:
  13906. $ref: '#/definitions/models.WrDeliveryGoodsSectionConfig'
  13907. type: array
  13908. imagepath:
  13909. description: 图片地址
  13910. type: string
  13911. orderindex:
  13912. description: 排序
  13913. type: integer
  13914. sectionid:
  13915. description: 版块ID (SEQ_DELIVERYGOODSSECTION) - 自增100开始, 前面ID预留给SectionType
  13916. = 1的版块1 - 云融指数
  13917. type: integer
  13918. sectionname:
  13919. description: 版块名称
  13920. type: string
  13921. sectiontype:
  13922. description: 版块类型 - 1:指数版块 2:普通版块
  13923. type: integer
  13924. type: object
  13925. models.WrDeliveryGoodsSectionConfig:
  13926. properties:
  13927. deliverygoodscode:
  13928. description: 现货商品代码
  13929. type: string
  13930. deliverygoodsid:
  13931. description: 现货品种ID(SEQ_DELIVERYGOODS)
  13932. type: integer
  13933. deliverygoodsname:
  13934. description: 现货商品名称
  13935. type: string
  13936. orderindex:
  13937. description: 排序
  13938. type: integer
  13939. type: object
  13940. models.WrDraftUserInfo:
  13941. properties:
  13942. address:
  13943. description: 地址
  13944. type: string
  13945. attachment1:
  13946. description: 附件1
  13947. type: string
  13948. attachment2:
  13949. description: 附件2
  13950. type: string
  13951. attachment3:
  13952. description: 附件3
  13953. type: string
  13954. attachment4:
  13955. description: 附件4
  13956. type: string
  13957. attachment5:
  13958. description: 附件5
  13959. type: string
  13960. bankaccount:
  13961. description: 银行帐号 (加密存储)
  13962. type: string
  13963. bankaccountname:
  13964. description: 收款人名称
  13965. type: string
  13966. bankcardfrontphotourl:
  13967. description: 银行卡正面照地址
  13968. type: string
  13969. bankid:
  13970. description: 银行编码
  13971. type: string
  13972. bankname:
  13973. description: 银行名称
  13974. type: string
  13975. birthday:
  13976. description: 生日(个人:年月日)
  13977. type: string
  13978. biznature:
  13979. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  13980. type: integer
  13981. bizscope:
  13982. description: 企业经营范围(企业)
  13983. type: string
  13984. biztype:
  13985. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  13986. type: integer
  13987. cardbackphotourl:
  13988. description: 证件背面图片地址
  13989. type: string
  13990. cardfrontphotourl:
  13991. description: 证件正面图片地址
  13992. type: string
  13993. cardnum:
  13994. description: 证件号码(加密存储)
  13995. type: string
  13996. cardtypeid:
  13997. description: 证件类型ID
  13998. type: integer
  13999. cityid:
  14000. description: 市
  14001. type: integer
  14002. company:
  14003. description: 公司(个人)
  14004. type: string
  14005. contactcardbackphotourl:
  14006. description: 联系人证件背面图片地址
  14007. type: string
  14008. contactcardfrontphotourl:
  14009. description: 联系人证件正面图片地址
  14010. type: string
  14011. contactname:
  14012. description: 联系人
  14013. type: string
  14014. countryid:
  14015. description: 国家
  14016. type: integer
  14017. createtime:
  14018. description: 创建时间
  14019. type: string
  14020. creatorid:
  14021. description: 创建人
  14022. type: integer
  14023. creditquota:
  14024. description: 授信额度(金瑞)
  14025. type: number
  14026. customername:
  14027. description: 客户名称(企业名称)
  14028. type: string
  14029. districtid:
  14030. description: 地区
  14031. type: integer
  14032. email:
  14033. description: 邮件(加密存储)
  14034. type: string
  14035. fax:
  14036. description: 传真(加密存储)
  14037. type: string
  14038. halfbodyphotourl:
  14039. description: 半身照地址
  14040. type: string
  14041. hasencrypt:
  14042. description: 数据是否已加密 - 0:未加密 1:已加密
  14043. type: integer
  14044. headurl:
  14045. description: 头像地址
  14046. type: string
  14047. legalcardbackphotourl:
  14048. description: 法人身份证背面照地址
  14049. type: string
  14050. legalcardfrontphotourl:
  14051. description: 法人身份证正面照地址
  14052. type: string
  14053. legalpersonname:
  14054. description: 法人姓名(企业)
  14055. type: string
  14056. mobile:
  14057. description: 手机号码(加密存储)
  14058. type: string
  14059. mobile2:
  14060. description: 手机号码[明文-尚志]
  14061. type: string
  14062. modifierid:
  14063. description: 修改人
  14064. type: integer
  14065. modifiertime:
  14066. description: 修改时间
  14067. type: string
  14068. needinvoice:
  14069. description: 是否需要发票 - 0:不需要 1:需要
  14070. type: integer
  14071. nickname:
  14072. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  14073. type: string
  14074. openmode:
  14075. description: "开户方式 - 1:管理端开户 2\t:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  14076. 6:苹果手机端注册 7:PC交易端注册"
  14077. type: integer
  14078. otherurl:
  14079. description: 其它图片地址[使用分号分隔]
  14080. type: string
  14081. postalcode:
  14082. description: 邮政编码
  14083. type: string
  14084. provinceid:
  14085. description: 省
  14086. type: integer
  14087. proxystatementurl:
  14088. description: 授权委托书
  14089. type: string
  14090. qq:
  14091. description: QQ(加密存储
  14092. type: string
  14093. remark:
  14094. description: 备注
  14095. type: string
  14096. sex:
  14097. description: '用户性别 0: 女 1: 男'
  14098. type: integer
  14099. signpdfurl:
  14100. description: 签约pdf文件
  14101. type: string
  14102. taxpayernum:
  14103. description: 纳税人识别号
  14104. type: string
  14105. telphone:
  14106. description: 联系电话(加密存储)
  14107. type: string
  14108. userid:
  14109. description: 用户ID
  14110. type: integer
  14111. userinfotype:
  14112. description: 用户信息类型 - 1:个人 2:企业
  14113. type: integer
  14114. userstatus:
  14115. description: 用户状态 - 1:正常 2:注销
  14116. type: integer
  14117. usertype:
  14118. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者
  14119. type: integer
  14120. wechat:
  14121. description: 微信(加密存储)
  14122. type: string
  14123. wskhinfo:
  14124. description: 开户申请信息(JSON)
  14125. type: string
  14126. type: object
  14127. models.WrFAProductDetail:
  14128. properties:
  14129. accountid:
  14130. description: 资金账号
  14131. type: integer
  14132. areauserid:
  14133. description: 金融机构ID
  14134. type: integer
  14135. financingdays:
  14136. description: 天数(天)
  14137. type: integer
  14138. interestminlen:
  14139. description: 最小起息天数
  14140. type: integer
  14141. interestrate:
  14142. description: 利率
  14143. type: number
  14144. interestratemode:
  14145. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  14146. type: integer
  14147. interestsettlemode:
  14148. description: 结息方式 - 1:按日结息 3:按月结息
  14149. type: integer
  14150. interestsettlevalue:
  14151. description: 结息方式值
  14152. type: integer
  14153. isautoloan:
  14154. description: 是否自动放款 0-手动 1-自动 (当为自动放款时,显示"放款快")
  14155. type: integer
  14156. loantag:
  14157. description: '放款标识: "放款快" 或者为空'
  14158. type: string
  14159. marginratio:
  14160. description: 保证金比率质押率 - [仓单质押]
  14161. type: number
  14162. productdetailid:
  14163. description: 产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)
  14164. type: integer
  14165. productid:
  14166. description: 金融产品ID
  14167. type: integer
  14168. productname:
  14169. description: 产品名称
  14170. type: string
  14171. updatetime:
  14172. description: 更新时间
  14173. type: string
  14174. username:
  14175. description: 融出方
  14176. type: string
  14177. type: object
  14178. models.WrFactorTypeInfo:
  14179. properties:
  14180. deliverygoodscode:
  14181. description: 品种代码
  14182. type: string
  14183. deliverygoodsname:
  14184. description: 品种名称
  14185. type: string
  14186. dgfactoryitemid:
  14187. description: 选择项id
  14188. type: integer
  14189. dgfactoryitemtypeid:
  14190. description: 要素选择项ID (1-仓库 2-品牌)
  14191. type: integer
  14192. dgfactoryitemvalue:
  14193. description: 要素项值
  14194. type: string
  14195. itemtypename:
  14196. description: 要素项名称
  14197. type: string
  14198. optioncompare:
  14199. description: 选择比较串
  14200. type: string
  14201. warehouseid:
  14202. description: 仓库id
  14203. type: integer
  14204. wrfactortypeid:
  14205. description: 仓单要素ID
  14206. type: string
  14207. wrfactortypename:
  14208. description: 要素名称
  14209. type: string
  14210. wrfactortypename2:
  14211. description: 要素名称(不含仓库)
  14212. type: string
  14213. wrstandardcode:
  14214. description: 品类代码
  14215. type: string
  14216. wrstandardid:
  14217. description: 品类id
  14218. type: integer
  14219. wrstandardname:
  14220. description: 品类名称
  14221. type: string
  14222. type: object
  14223. models.WrFilterItem:
  14224. properties:
  14225. itemcode:
  14226. description: 代码
  14227. type: string
  14228. itemid:
  14229. description: 项id
  14230. type: integer
  14231. itemname:
  14232. description: 名称
  14233. type: string
  14234. itemtype:
  14235. description: 类型 1-品种 2-品类(商品) 3-仓库
  14236. type: integer
  14237. type: object
  14238. models.WrFinanceBuyApply:
  14239. properties:
  14240. applydate:
  14241. description: 申请时间
  14242. type: string
  14243. applystatus:
  14244. description: 申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败
  14245. type: integer
  14246. applyuserid:
  14247. description: 申请人
  14248. type: integer
  14249. auditdate:
  14250. description: 审核时间
  14251. type: string
  14252. auditremark:
  14253. description: 审核备注
  14254. type: string
  14255. audituserid:
  14256. description: 审核人
  14257. type: integer
  14258. buyaccountid:
  14259. description: 买方资金账号
  14260. type: integer
  14261. buyorsell:
  14262. description: 买卖 - 0:买 1:卖
  14263. type: integer
  14264. buyuserid:
  14265. description: 买方用户ID
  14266. type: integer
  14267. buyusername:
  14268. description: 买方名称
  14269. type: string
  14270. buywrtradeorderid:
  14271. description: 融资方买委托单ID
  14272. type: string
  14273. deliverygoodscode:
  14274. description: 品种代码
  14275. type: string
  14276. deliverygoodsid:
  14277. description: 品种ID
  14278. type: integer
  14279. deliverygoodsname:
  14280. description: 品种名称
  14281. type: string
  14282. deliverymonth:
  14283. description: 交收月(yyyy-MM) [无仓单HasWR =0]
  14284. type: string
  14285. enumdicname:
  14286. description: 单位名称
  14287. type: string
  14288. financeaccountid:
  14289. description: 融资方资金帐户ID
  14290. type: integer
  14291. financeapplyid:
  14292. description: 融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)
  14293. type: string
  14294. financeareauserid:
  14295. description: 融资方用户ID
  14296. type: string
  14297. financename:
  14298. description: 融出方名称
  14299. type: string
  14300. financetype:
  14301. description: 融资类型 1-融资回购
  14302. type: integer
  14303. financingdays:
  14304. description: 天数(天)
  14305. type: integer
  14306. freezebuymargin:
  14307. description: 冻结融资保证金(买方)
  14308. type: number
  14309. handleremark:
  14310. description: 处理备注
  14311. type: string
  14312. handlestatus:
  14313. description: 处理状态
  14314. type: integer
  14315. interestminlen:
  14316. description: 最小起息天数
  14317. type: integer
  14318. interestrate:
  14319. description: 利率
  14320. type: number
  14321. interestratemode:
  14322. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  14323. type: integer
  14324. interestsettlemode:
  14325. description: 结息方式 - 1:按日结息 3:按月结息
  14326. type: integer
  14327. interestsettlevalue:
  14328. description: 结息方式值
  14329. type: integer
  14330. isautoloan:
  14331. description: 是否自动放款 - 0:手动 1:自动
  14332. type: integer
  14333. marginratio:
  14334. description: 保证金比率质押率 - [仓单质押]
  14335. type: number
  14336. marketid:
  14337. description: 市场ID
  14338. type: integer
  14339. minivalue:
  14340. description: 现货商品最小变动值
  14341. type: integer
  14342. optioncompare:
  14343. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14344. type: string
  14345. orderqty:
  14346. description: 委托数量(商品数量)
  14347. type: number
  14348. productdetailid:
  14349. description: 产品组合ID
  14350. type: integer
  14351. productid:
  14352. description: 金融产品ID
  14353. type: integer
  14354. productname:
  14355. description: 产品名称
  14356. type: string
  14357. remark:
  14358. description: 备注
  14359. type: string
  14360. scfcontractid:
  14361. description: 仓单回购合同ID
  14362. type: string
  14363. sellaccountid:
  14364. description: 卖方资金账号
  14365. type: integer
  14366. selluserid:
  14367. description: 卖方用户ID
  14368. type: integer
  14369. sellwrtradeorderid:
  14370. description: 卖方委托单ID
  14371. type: string
  14372. tradeamount:
  14373. description: 成交金额(借款金额)
  14374. type: number
  14375. tradedate:
  14376. description: 交易日(yyyyMMdd)
  14377. type: string
  14378. tradeprice:
  14379. description: 成交价格
  14380. type: number
  14381. warehouseid:
  14382. description: 仓库ID
  14383. type: integer
  14384. warehousename:
  14385. description: 仓库名称
  14386. type: string
  14387. wrfactortypeid:
  14388. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  14389. type: string
  14390. wrfactortypename:
  14391. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14392. type: string
  14393. wrpricetype:
  14394. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌单]
  14395. type: integer
  14396. wrstandardcode:
  14397. description: 现货商品代码
  14398. type: string
  14399. wrstandardid:
  14400. description: 现货商品ID
  14401. type: integer
  14402. wrstandardname:
  14403. description: 商品名称
  14404. type: string
  14405. wrtypename:
  14406. description: 商品
  14407. type: string
  14408. type: object
  14409. models.WrFriendApply:
  14410. properties:
  14411. applicantid:
  14412. description: 申请人
  14413. type: integer
  14414. applyname:
  14415. description: 申请人名称
  14416. type: string
  14417. applysrc:
  14418. description: 申请来源 - 1:管理端 2:终端
  14419. type: integer
  14420. applystatus:
  14421. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  14422. type: integer
  14423. applytime:
  14424. description: 申请时间
  14425. type: string
  14426. auditname:
  14427. description: 审核人名称
  14428. type: string
  14429. auditorid:
  14430. description: 审核人
  14431. type: integer
  14432. auditremark:
  14433. description: 审核备注
  14434. type: string
  14435. auditsrc:
  14436. description: 审核来源 - 1:管理端 2:终端
  14437. type: integer
  14438. audittime:
  14439. description: 审核时间
  14440. type: string
  14441. friendapplyid:
  14442. description: 申请ID(SEQ_FRIENDAPPLY)
  14443. type: string
  14444. friendname:
  14445. description: 好友名字(已脱敏)
  14446. type: string
  14447. frienduserid:
  14448. description: 好友用户ID
  14449. type: string
  14450. remark:
  14451. description: 备注
  14452. type: string
  14453. userid:
  14454. description: 申请人用户ID
  14455. type: integer
  14456. type: object
  14457. models.WrFtDeliveryGoods:
  14458. properties:
  14459. deliverygoodscode:
  14460. description: 品种代码
  14461. type: string
  14462. deliverygoodsid:
  14463. description: 品种ID
  14464. type: integer
  14465. deliverygoodsname:
  14466. description: 品种名称
  14467. type: string
  14468. wdlst:
  14469. description: 商品列表
  14470. items:
  14471. $ref: '#/definitions/models.WrFtWrstandard'
  14472. type: array
  14473. type: object
  14474. models.WrFtWrstandard:
  14475. properties:
  14476. enumdicname:
  14477. description: 单位名称
  14478. type: string
  14479. minivalue:
  14480. description: 最小变动值
  14481. type: integer
  14482. wrstandardcode:
  14483. description: 现货商品代码
  14484. type: string
  14485. wrstandardid:
  14486. description: 现货商品ID
  14487. type: integer
  14488. wrstandardname:
  14489. description: 商品名称
  14490. type: string
  14491. type: object
  14492. models.WrGoodsInfo:
  14493. properties:
  14494. haswr:
  14495. description: 0:仓单预售 1:仓单贸易
  14496. type: integer
  14497. lstitem:
  14498. description: 商品信息项
  14499. items:
  14500. $ref: '#/definitions/models.WrTypeItem'
  14501. type: array
  14502. lststep:
  14503. description: 履约规则
  14504. items:
  14505. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  14506. type: array
  14507. marketid:
  14508. description: 市场id
  14509. type: integer
  14510. type: object
  14511. models.WrGoodsPerformanceStep:
  14512. properties:
  14513. autoid:
  14514. description: AutoID
  14515. type: integer
  14516. isauto:
  14517. description: 是否自动 - 0:不自动 1:自动
  14518. type: integer
  14519. remark:
  14520. description: 备注
  14521. type: string
  14522. stepdate:
  14523. description: 天数信息(T+N)
  14524. type: string
  14525. stepdays:
  14526. description: 距离上一步天数
  14527. type: integer
  14528. stepindex:
  14529. description: 步骤序号
  14530. type: integer
  14531. stepinfo:
  14532. description: 步骤信息(步骤名称+步骤值)
  14533. type: string
  14534. steptypeid:
  14535. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  14536. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  14537. type: integer
  14538. steptypename:
  14539. description: 步骤名称
  14540. type: string
  14541. stepvalue:
  14542. description: 期初均价
  14543. type: number
  14544. templateid:
  14545. description: 履约计划模板ID
  14546. type: integer
  14547. type: object
  14548. models.WrHoldLB:
  14549. properties:
  14550. accountid:
  14551. description: 持有人帐户ID
  14552. type: integer
  14553. bannerpicurl:
  14554. description: Banner图
  14555. type: string
  14556. createtime:
  14557. description: 创建时间(过户时间)
  14558. type: string
  14559. deliverygoodscode:
  14560. description: 品种代码
  14561. type: string
  14562. deliverygoodsid:
  14563. description: 品种ID
  14564. type: integer
  14565. deliverygoodsname:
  14566. description: 品种名称
  14567. type: string
  14568. enableqty:
  14569. description: 可用数量
  14570. type: number
  14571. enumdicname:
  14572. description: 单位名称
  14573. type: string
  14574. freezerqty:
  14575. description: 冻结数量
  14576. type: number
  14577. ladingbillid:
  14578. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  14579. type: string
  14580. minivalue:
  14581. description: 现货商品最小变动值
  14582. type: integer
  14583. optioncompare:
  14584. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14585. type: string
  14586. parentsubnum:
  14587. description: 拆分父子单号
  14588. type: integer
  14589. pledgeqty:
  14590. description: 质押数量
  14591. type: number
  14592. qty:
  14593. description: 数量
  14594. type: number
  14595. subnum:
  14596. description: 提单子单号
  14597. type: integer
  14598. thumurls:
  14599. description: 缩略图
  14600. type: string
  14601. tradedate:
  14602. description: 交易日(yyyyMMdd)
  14603. type: string
  14604. userid:
  14605. description: 持有人ID
  14606. type: integer
  14607. warehouseid:
  14608. description: 仓库ID
  14609. type: integer
  14610. warehousename:
  14611. description: 仓库名称
  14612. type: string
  14613. wrfactortypeid:
  14614. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  14615. type: string
  14616. wrfactortypename:
  14617. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14618. type: string
  14619. wrholdeno:
  14620. description: 仓单编号
  14621. type: string
  14622. wrid:
  14623. description: 仓单变更ID
  14624. type: string
  14625. wrstandardcode:
  14626. description: 现货商品代码
  14627. type: string
  14628. wrstandardid:
  14629. description: 现货商品ID
  14630. type: integer
  14631. wrstandardname:
  14632. description: 商品名称
  14633. type: string
  14634. wrtypename:
  14635. description: 商品
  14636. type: string
  14637. type: object
  14638. models.WrMarketTradeConfig:
  14639. properties:
  14640. basisdownratio:
  14641. description: 浮动价基差下限比例(仓单贸易)
  14642. type: number
  14643. basisupratio:
  14644. description: 浮动价基差上限比例(仓单贸易)
  14645. type: number
  14646. buychargealgorithm:
  14647. description: 买方手续费收取方式 1:比率 2:固定
  14648. type: integer
  14649. buychargealgorithm2:
  14650. description: 回购买方手续费收取方式 1:比率 2:固定 --77:现货商城
  14651. type: integer
  14652. buychargealgorithmvalue:
  14653. description: 买方手续费设置值(交易所部分)
  14654. type: number
  14655. buychargealgorithmvalue2:
  14656. description: 买方手续费设置值(会员部分)
  14657. type: number
  14658. buychargealgorithmvalue3:
  14659. description: 回购买方手续费设置值(交易所部分) --77:现货商城
  14660. type: number
  14661. buychargealgorithmvalue4:
  14662. description: 回购买方手续费设置值(会员部分) --77:现货商城
  14663. type: number
  14664. buyfirstmarginalgorithm:
  14665. description: 买方出价保证金方式 - 1:比率 2:固定 - [竞拍]
  14666. type: integer
  14667. buyfirstmarginvalue:
  14668. description: 买方出价保证金设置值 - [竞拍]
  14669. type: number
  14670. buymarginalgorithm:
  14671. description: 买方保证金方式 - 1:比率 2:固定
  14672. type: integer
  14673. buymarginvalue:
  14674. description: 买方保证金设置值
  14675. type: number
  14676. buyreleaseratio:
  14677. description: 买方释放比率[2:分步履约]
  14678. type: number
  14679. executemode:
  14680. description: 执行方式[2:分步履约] - 1:顺序执行 2:交叉执行
  14681. type: integer
  14682. executeside:
  14683. description: 执行方[2:分步履约] - 1:买方 2:卖方
  14684. type: integer
  14685. failedchargealgorithm:
  14686. description: 流拍手续费收取方式 1:比率 2:固定
  14687. type: integer
  14688. failedchargevalue:
  14689. description: 流拍手续费设置值
  14690. type: number
  14691. failedchargevalue2:
  14692. description: 流拍卖方手续费设置值
  14693. type: number
  14694. holddays:
  14695. description: 合同期限[2:分步履约]
  14696. type: integer
  14697. listingmode:
  14698. description: 挂牌方式 - 1:一口价 2:浮动价 3:贸易圈 4:协议指定
  14699. type: integer
  14700. marketid:
  14701. description: 市场ID-仓单贸易、竞拍、预售
  14702. type: integer
  14703. minqty:
  14704. description: 最小执行量[2:分步履约]
  14705. type: number
  14706. modifierid:
  14707. description: 修改人
  14708. type: integer
  14709. nowrquotaflag:
  14710. description: 是否校验无仓单额度(仓单贸易) - 0:否 1:是
  14711. type: integer
  14712. performancetempid:
  14713. description: 履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  14714. 立即执行(-1)
  14715. type: integer
  14716. performancetempid2:
  14717. description: 履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  14718. 立即执行
  14719. type: integer
  14720. performancetempid2s:
  14721. description: 履约计划模板IDs(无仓单) - 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货
  14722. - 履约方式: 立即执行
  14723. type: string
  14724. performancetempids:
  14725. description: 履约计划模板IDs(有仓单)- 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货
  14726. - 履约方式: 立即执行(-1)
  14727. type: string
  14728. performanceway:
  14729. description: 交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]
  14730. type: integer
  14731. sellchargealgorithm:
  14732. description: 卖方手续费收取方式 1:比率 2:固定
  14733. type: integer
  14734. sellchargealgorithm2:
  14735. description: 回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城
  14736. type: integer
  14737. sellchargealgorithmvalue:
  14738. description: 卖方手续费设置值(交易所部分)
  14739. type: number
  14740. sellchargealgorithmvalue2:
  14741. description: 卖方手续费设置值(会员部分)
  14742. type: number
  14743. sellchargealgorithmvalue3:
  14744. description: 回购卖方手续费设置值(交易所部分) --77:现货商城
  14745. type: number
  14746. sellchargealgorithmvalue4:
  14747. description: 回购卖方手续费设置值(会员部分) --77:现货商城
  14748. type: number
  14749. sellmarginalgorithm:
  14750. description: 卖方保证金方式 - 1:比率 2:固定
  14751. type: integer
  14752. sellmarginvalue:
  14753. description: 卖方保证金设置值
  14754. type: number
  14755. sellmarginvalue2:
  14756. description: 卖方保证金设置值(无仓单)
  14757. type: number
  14758. sellreleaseratio:
  14759. description: 卖方释放比率[2:分步履约]
  14760. type: number
  14761. updatetime:
  14762. description: 更新时间
  14763. type: string
  14764. type: object
  14765. models.WrOrderDetail:
  14766. properties:
  14767. accountid:
  14768. description: 交易账号(资金账号)
  14769. type: integer
  14770. allfriendsflag:
  14771. description: 是否全好友可见 - 0:否 1:是
  14772. type: integer
  14773. amount:
  14774. description: 期初均价
  14775. type: number
  14776. bannerpicurl:
  14777. description: Banner图
  14778. type: string
  14779. begindate:
  14780. description: 开始交易日(yyyymmdd)
  14781. type: string
  14782. buyorsell:
  14783. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  14784. type: integer
  14785. canbargain:
  14786. description: 是否可议价 - 0:不可 1:可
  14787. type: integer
  14788. cancelqty:
  14789. description: 撤销数量
  14790. type: number
  14791. canpart:
  14792. description: 是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)
  14793. type: integer
  14794. delistminqty:
  14795. description: 起摘数量
  14796. type: integer
  14797. deliverygoodscode:
  14798. description: 品种代码
  14799. type: string
  14800. deliverygoodsid:
  14801. description: 品种ID
  14802. type: integer
  14803. deliverygoodsname:
  14804. description: 品种名称
  14805. type: string
  14806. deliverymonth:
  14807. description: 交收月
  14808. type: string
  14809. enddate:
  14810. description: 结束交易日(yyyymmdd)
  14811. type: string
  14812. enumdicname:
  14813. description: 单位名称
  14814. type: string
  14815. fixedprice:
  14816. description: 固定价格 - [挂牌]
  14817. type: number
  14818. freezecharge:
  14819. description: 期初均价
  14820. type: number
  14821. freezemargin:
  14822. description: 期初均价
  14823. type: number
  14824. futupricemove:
  14825. description: 期货升贴水
  14826. type: number
  14827. futushow:
  14828. description: 期货合约/升贴水
  14829. type: string
  14830. goodscode:
  14831. description: 期货合约
  14832. type: string
  14833. goodsid:
  14834. description: 期货商品id
  14835. type: integer
  14836. goodsname:
  14837. description: 商品名称
  14838. type: string
  14839. haswr:
  14840. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  14841. type: integer
  14842. isspecified:
  14843. description: 是否指定对手 - 0:不指定 1:指定 - [挂牌]
  14844. type: integer
  14845. ladingbillid:
  14846. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  14847. type: string
  14848. marginvalue:
  14849. description: 期初均价
  14850. type: number
  14851. marketid:
  14852. description: 市场ID
  14853. type: integer
  14854. matchusername:
  14855. description: 对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)
  14856. type: string
  14857. minivalue:
  14858. description: 现货商品最小变动值
  14859. type: integer
  14860. optioncompare:
  14861. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14862. type: string
  14863. orderqty:
  14864. description: 委托数量
  14865. type: number
  14866. ordertime:
  14867. description: 委托时间(挂牌时间)
  14868. type: string
  14869. performancetemplateid:
  14870. description: 履约模板id
  14871. type: integer
  14872. pricemove:
  14873. description: 升贴水(浮动价时填写) - [挂牌]
  14874. type: number
  14875. taname:
  14876. description: 交易用户名称(资金账号名称)
  14877. type: string
  14878. thumurls:
  14879. description: 缩略图
  14880. type: string
  14881. tradedate:
  14882. description: 交易日(yyyyMMdd)
  14883. type: string
  14884. tradeprice:
  14885. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)*
  14886. 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  14887. type: number
  14888. tradeqty:
  14889. description: 成交数量
  14890. type: number
  14891. userid:
  14892. description: 用户ID
  14893. type: integer
  14894. validtime:
  14895. description: 挂牌有效期
  14896. type: string
  14897. validtype:
  14898. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  14899. type: integer
  14900. warehouseid:
  14901. description: 仓库ID
  14902. type: integer
  14903. warehousename:
  14904. description: 仓库名称
  14905. type: string
  14906. wrfactortypeid:
  14907. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  14908. type: string
  14909. wrfactortypename:
  14910. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14911. type: string
  14912. wrpricetype:
  14913. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  14914. type: integer
  14915. wrstandardcode:
  14916. description: 现货商品代码
  14917. type: string
  14918. wrstandardid:
  14919. description: 现货商品ID
  14920. type: integer
  14921. wrstandardname:
  14922. description: 商品名称
  14923. type: string
  14924. wrtradeorderid:
  14925. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  14926. type: string
  14927. wrtradeorderstatus:
  14928. 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:撤单解冻贷款失败
  14929. type: integer
  14930. wrtradetype:
  14931. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  14932. type: integer
  14933. wrtypename:
  14934. description: 商品
  14935. type: string
  14936. type: object
  14937. models.WrOrderQuote:
  14938. properties:
  14939. bannerpicurl:
  14940. description: Banner图
  14941. type: string
  14942. buyprice:
  14943. description: 买价
  14944. type: number
  14945. buypricemove:
  14946. description: 买升贴水(基差)
  14947. type: number
  14948. buyqty:
  14949. description: 买量
  14950. type: number
  14951. deliverygoodscode:
  14952. description: 品种代码
  14953. type: string
  14954. deliverygoodsid:
  14955. description: 品种id
  14956. type: integer
  14957. deliverygoodsname:
  14958. description: 品种名称
  14959. type: string
  14960. deliverymonth:
  14961. description: 交收月
  14962. type: string
  14963. enumdicname:
  14964. description: 单位名称
  14965. type: string
  14966. goodscode:
  14967. description: 商品合约(浮动价列表才有)
  14968. type: string
  14969. goodsid:
  14970. description: 商品id(浮动价列表才有)
  14971. type: integer
  14972. minivalue:
  14973. description: 现货商品最小变动值
  14974. type: integer
  14975. pictureurls:
  14976. description: 详情图片(逗号分隔)
  14977. type: string
  14978. sellprice:
  14979. description: 卖价
  14980. type: number
  14981. sellpricemove:
  14982. description: 卖升贴水(基差)
  14983. type: number
  14984. sellqty:
  14985. description: 卖量
  14986. type: number
  14987. thumurls:
  14988. description: 缩略图片(1:1)(逗号分隔)
  14989. type: string
  14990. warehousecode:
  14991. description: 仓库代码
  14992. type: string
  14993. warehouseid:
  14994. description: 仓库id
  14995. type: integer
  14996. warehousename:
  14997. description: 仓库名称
  14998. type: string
  14999. wrfactortypeid:
  15000. description: 仓单要素id
  15001. type: string
  15002. wrfactortypename:
  15003. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15004. type: string
  15005. wrgoodsname:
  15006. description: 商品(商品名称+仓库要素名称 拼接)
  15007. type: string
  15008. wrstandardcode:
  15009. description: 商品代码
  15010. type: string
  15011. wrstandardid:
  15012. description: 商品id
  15013. type: integer
  15014. wrstandardname:
  15015. description: 商品名称
  15016. type: string
  15017. type: object
  15018. models.WrOrderQuoteDetail:
  15019. properties:
  15020. buyorsell:
  15021. description: 买卖 - 0:买 1:卖
  15022. type: integer
  15023. delistminqty:
  15024. description: 期初均价
  15025. type: number
  15026. deliverymonth:
  15027. description: 交收月
  15028. type: string
  15029. enumdicname:
  15030. description: 单位名称
  15031. type: string
  15032. fixedprice:
  15033. description: 买(卖)价
  15034. type: number
  15035. marketid:
  15036. description: 市场id
  15037. type: integer
  15038. minivalue:
  15039. description: 现货商品最小变动值
  15040. type: integer
  15041. orderqty:
  15042. description: 买(卖)量(=委托量-成交量)
  15043. type: number
  15044. ordertime:
  15045. description: 委托时间
  15046. type: string
  15047. pricemove:
  15048. description: 买(卖)升贴水- 基差
  15049. type: number
  15050. userid:
  15051. description: 购买方(销售方)用户ID
  15052. type: integer
  15053. username:
  15054. description: 购买方(销售方)
  15055. type: string
  15056. wrtradeorderid:
  15057. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  15058. type: string
  15059. type: object
  15060. models.WrOutInApply:
  15061. properties:
  15062. applyid:
  15063. description: 申请单id
  15064. type: string
  15065. applystatus:
  15066. description: 申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败
  15067. 8:已撤销
  15068. type: integer
  15069. applytime:
  15070. description: 申请时间
  15071. type: string
  15072. applytype:
  15073. description: 申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销
  15074. type: integer
  15075. bannerpicurl:
  15076. description: Banner图
  15077. type: string
  15078. begindate:
  15079. description: 开始交易日(yyyymmdd)
  15080. type: string
  15081. deliverygoodscode:
  15082. description: 品种代码
  15083. type: string
  15084. deliverygoodsid:
  15085. description: 品种ID
  15086. type: integer
  15087. deliverygoodsname:
  15088. description: 品种名称
  15089. type: string
  15090. enddate:
  15091. description: 结束交易日(yyyymmdd)
  15092. type: string
  15093. enumdicname:
  15094. description: 单位名称
  15095. type: string
  15096. expresscompany:
  15097. description: 物流公司
  15098. type: string
  15099. expressnum:
  15100. description: 物流单号
  15101. type: string
  15102. minivalue:
  15103. description: 现货商品最小变动值
  15104. type: integer
  15105. optioncompare:
  15106. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15107. type: string
  15108. qty:
  15109. description: 数量
  15110. type: integer
  15111. userid:
  15112. description: 用户id
  15113. type: integer
  15114. warehouseid:
  15115. description: 仓库ID
  15116. type: integer
  15117. warehousename:
  15118. description: 仓库名称
  15119. type: string
  15120. wrfactortypeid:
  15121. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15122. type: string
  15123. wrfactortypename:
  15124. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15125. type: string
  15126. wrstandardcode:
  15127. description: 现货商品代码
  15128. type: string
  15129. wrstandardid:
  15130. description: 现货商品ID
  15131. type: integer
  15132. wrstandardname:
  15133. description: 商品名称
  15134. type: string
  15135. wrtypename:
  15136. description: 商品
  15137. type: string
  15138. type: object
  15139. models.WrPerformancePlan:
  15140. properties:
  15141. activatemonth:
  15142. description: 履约激活月 [无仓单的交易收月](yyyy-MM)
  15143. type: string
  15144. amount:
  15145. description: 履约金额(总金额)
  15146. type: number
  15147. begindate:
  15148. description: 开始交易日(yyyymmdd)
  15149. type: string
  15150. buyaccountid:
  15151. description: 买方账号
  15152. type: integer
  15153. buyerfreezeamount:
  15154. description: 履约冻结(买履约)
  15155. type: number
  15156. buyerfreezeamountremain:
  15157. description: 履约冻结剩余(买履约)
  15158. type: number
  15159. buyorsell:
  15160. description: 买卖方向 0-买 1-卖
  15161. type: integer
  15162. buypaidamount:
  15163. description: 买方已冻/已扣金额 (已付金额)
  15164. type: number
  15165. buyusername:
  15166. description: 买方名字
  15167. type: string
  15168. contractid:
  15169. description: 合同ID
  15170. type: integer
  15171. createtime:
  15172. description: 创建时间
  15173. type: string
  15174. creatorid:
  15175. description: 创建人
  15176. type: integer
  15177. curstepdeadline:
  15178. description: 当前步骤到期时间
  15179. type: string
  15180. curstepid:
  15181. description: 当前步骤ID
  15182. type: string
  15183. curstepname:
  15184. description: 当前步骤名称
  15185. type: string
  15186. deliverygoodscode:
  15187. description: 品种代码
  15188. type: string
  15189. deliverygoodsid:
  15190. description: 品种ID
  15191. type: integer
  15192. deliverygoodsname:
  15193. description: 品种名称
  15194. type: string
  15195. enddate:
  15196. description: 结束交易日(yyyymmdd)
  15197. type: string
  15198. enumdicname:
  15199. description: 单位名称
  15200. type: string
  15201. expressfee:
  15202. description: 运费
  15203. type: number
  15204. expressfeeconfirmed:
  15205. description: 是否确认运费 - 0:无 1:买方确认 2:卖方确认
  15206. type: integer
  15207. hasovershort:
  15208. description: 是否确认溢短 - 0:没有 1:买方确认 2:卖方确认
  15209. type: integer
  15210. haswr:
  15211. description: 类型 0-仓单预售 1-仓单贸易
  15212. type: integer
  15213. marketid:
  15214. description: 市场ID
  15215. type: integer
  15216. middleaccountid:
  15217. description: 中间商资金账号ID
  15218. type: integer
  15219. middleuserid:
  15220. description: 中间商用户ID
  15221. type: integer
  15222. minivalue:
  15223. description: 现货商品最小变动值
  15224. type: integer
  15225. optioncompare:
  15226. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15227. type: string
  15228. overshortamount:
  15229. description: 溢短金额
  15230. type: number
  15231. overshortqty:
  15232. description: 溢短数量
  15233. type: number
  15234. paymenttype:
  15235. description: 付款方式 - 1:冻结 2:扣款
  15236. type: integer
  15237. performanceplanid:
  15238. description: 履约计划ID(130+yyMMddHHmmss+xxxx)
  15239. type: string
  15240. performancestatus:
  15241. description: 履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败
  15242. 9:超时待处理 10:超时关闭
  15243. type: integer
  15244. performancetype:
  15245. description: 履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式
  15246. 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统
  15247. type: integer
  15248. qty:
  15249. description: 履约数量
  15250. type: number
  15251. relatedorderid:
  15252. description: 关联单号(履约类型的关联单号)
  15253. type: string
  15254. remark:
  15255. description: 备注
  15256. type: string
  15257. sellaccountid:
  15258. description: 卖方账号
  15259. type: integer
  15260. sellerfreezeamount:
  15261. description: 履约冻结(卖履约)
  15262. type: number
  15263. sellerfreezeamountremain:
  15264. description: 履约冻结剩余(卖履约)
  15265. type: number
  15266. sellreceivedamount:
  15267. description: 卖方已收金额
  15268. type: number
  15269. sellusername:
  15270. description: 卖方名字
  15271. type: string
  15272. shipremark:
  15273. description: 发货备注[物流单号]
  15274. type: string
  15275. starttime:
  15276. description: 开始时间
  15277. type: string
  15278. steptypeid:
  15279. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  15280. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  15281. type: integer
  15282. typename:
  15283. description: 履约类型 名称
  15284. type: string
  15285. unpaidamount:
  15286. description: 期初均价
  15287. type: number
  15288. userid:
  15289. description: 用户id
  15290. type: integer
  15291. warehouseid:
  15292. description: 仓库ID
  15293. type: integer
  15294. warehousename:
  15295. description: 仓库名称
  15296. type: string
  15297. wrfactortypeid:
  15298. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15299. type: string
  15300. wrfactortypename:
  15301. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15302. type: string
  15303. wrstandardcode:
  15304. description: 现货商品代码
  15305. type: string
  15306. wrstandardid:
  15307. description: 现货商品ID
  15308. type: integer
  15309. wrstandardname:
  15310. description: 商品名称
  15311. type: string
  15312. wrtransferuserid:
  15313. description: 仓单受让用户
  15314. type: integer
  15315. wrtypename:
  15316. description: 商品
  15317. type: string
  15318. required:
  15319. - userid
  15320. type: object
  15321. models.WrPerformancePlanStep:
  15322. properties:
  15323. delaydays:
  15324. description: 延期申请天数
  15325. type: integer
  15326. deliverygoodscode:
  15327. description: 品种代码
  15328. type: string
  15329. deliverygoodsid:
  15330. description: 品种ID
  15331. type: integer
  15332. deliverygoodsname:
  15333. description: 品种名称
  15334. type: string
  15335. endtime:
  15336. description: 结束日期
  15337. type: string
  15338. enumdicname:
  15339. description: 单位名称
  15340. type: string
  15341. executeside:
  15342. description: 步骤执行方 - 1:买方 2:卖方
  15343. type: integer
  15344. handlestatus:
  15345. description: 处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败
  15346. 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求
  15347. 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败
  15348. type: integer
  15349. isauto:
  15350. description: 是否自动 - 0:不自动 1:自动
  15351. type: integer
  15352. islastreceivestep:
  15353. description: 是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)
  15354. type: integer
  15355. minivalue:
  15356. description: 现货商品最小变动值
  15357. type: integer
  15358. optioncompare:
  15359. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15360. type: string
  15361. overdays:
  15362. description: 超期天数 = 当前时间(数据库时间) - 结束日期
  15363. type: integer
  15364. performancestepid:
  15365. description: 履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)
  15366. type: string
  15367. planid:
  15368. description: 所属履约计划ID
  15369. type: string
  15370. realamount:
  15371. description: 实际完成金额
  15372. type: number
  15373. relatedorderid:
  15374. description: 关联单号
  15375. type: string
  15376. remaindays:
  15377. description: 剩余天数
  15378. type: integer
  15379. remark:
  15380. description: 错误备注
  15381. type: string
  15382. starttime:
  15383. description: 开始日期
  15384. type: string
  15385. stepamount:
  15386. description: 步骤金额
  15387. type: number
  15388. stepdays:
  15389. description: 距离上一步天数(分钟)
  15390. type: integer
  15391. stepindex:
  15392. description: 步骤序号
  15393. type: integer
  15394. steplanchtype:
  15395. description: 步骤启动类型 - 1:系统自动 2:手动
  15396. type: integer
  15397. stepremark:
  15398. description: 步骤备注
  15399. type: string
  15400. stepstatus:
  15401. description: 步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭
  15402. type: integer
  15403. steptypeid:
  15404. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  15405. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  15406. type: integer
  15407. steptypename:
  15408. description: 步骤名称
  15409. type: string
  15410. stepvalue:
  15411. description: 步骤值
  15412. type: number
  15413. warehouseid:
  15414. description: 仓库ID
  15415. type: integer
  15416. warehousename:
  15417. description: 仓库名称
  15418. type: string
  15419. wrfactortypeid:
  15420. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15421. type: string
  15422. wrfactortypename:
  15423. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15424. type: string
  15425. wrstandardcode:
  15426. description: 现货商品代码
  15427. type: string
  15428. wrstandardid:
  15429. description: 现货商品ID
  15430. type: integer
  15431. wrstandardname:
  15432. description: 商品名称
  15433. type: string
  15434. wrtypename:
  15435. description: 商品
  15436. type: string
  15437. type: object
  15438. models.WrPerformanceStepType:
  15439. properties:
  15440. canauto:
  15441. description: '能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)'
  15442. type: integer
  15443. steptypeid:
  15444. description: 步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移
  15445. type: integer
  15446. steptypename:
  15447. description: 步骤类型名称
  15448. type: string
  15449. type: object
  15450. models.WrPerformanceTemplateEx:
  15451. properties:
  15452. autoid:
  15453. description: AutoID 模板id
  15454. type: integer
  15455. createtime:
  15456. description: 创建时间
  15457. type: string
  15458. creatorid:
  15459. description: 创建人
  15460. type: integer
  15461. lstStep:
  15462. description: 步骤信息列表
  15463. items:
  15464. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  15465. type: array
  15466. paymenttype:
  15467. description: 支付方式 - 1:冻结 2:扣款
  15468. type: integer
  15469. takemode:
  15470. description: 提货方式 - 1:无 2:买方自提 3:卖方发货
  15471. type: integer
  15472. templatename:
  15473. description: 模板名称
  15474. type: string
  15475. templatetype:
  15476. description: 模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  15477. (无仓单) 5:挂牌期权 6:竞拍-降价式
  15478. type: integer
  15479. userid:
  15480. description: 所属用户
  15481. type: integer
  15482. type: object
  15483. models.WrPosition:
  15484. properties:
  15485. accountid:
  15486. description: 帐户ID
  15487. type: integer
  15488. buyexcuteqty:
  15489. description: 采购履约中数量
  15490. type: number
  15491. creditcurqty:
  15492. description: 授信当前数量(预售仓单:预售当前量)
  15493. type: number
  15494. creditenableqty:
  15495. description: '授信可用数量(预售仓单: 可用数量)'
  15496. type: number
  15497. creditfreezeqty:
  15498. description: '授信冻结数量(预售仓单: 当前数量)'
  15499. type: number
  15500. credittotalqty:
  15501. description: 授信总数量(预售仓单:预售总量)
  15502. type: number
  15503. credittradeqty:
  15504. description: 授信成交数量(预售仓单:成交总量)
  15505. type: number
  15506. deliverygoodscode:
  15507. description: 品种代码
  15508. type: string
  15509. deliverygoodsid:
  15510. description: 品种ID
  15511. type: integer
  15512. deliverygoodsname:
  15513. description: 品种名称
  15514. type: string
  15515. enalbeqty:
  15516. description: 可用数量
  15517. type: number
  15518. enumdicname:
  15519. description: 单位名称
  15520. type: string
  15521. freezeqty:
  15522. description: 总冻结数量
  15523. type: number
  15524. haswr:
  15525. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  15526. type: integer
  15527. minivalue:
  15528. description: 现货商品最小变动值
  15529. type: integer
  15530. modifytime:
  15531. description: 修改时间(过户时间)
  15532. type: string
  15533. optioncompare:
  15534. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15535. type: string
  15536. pledgeqty:
  15537. description: 质押数量
  15538. type: number
  15539. querytype:
  15540. description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  15541. type: integer
  15542. sellexcuteqty:
  15543. description: 销售履约中数量
  15544. type: number
  15545. totalqty:
  15546. description: 总数量(库存数量)
  15547. type: number
  15548. warehouseid:
  15549. description: 仓库ID
  15550. type: integer
  15551. warehousename:
  15552. description: 仓库名称
  15553. type: string
  15554. wrfactortypeid:
  15555. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15556. type: string
  15557. wrfactortypename:
  15558. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15559. type: string
  15560. wrpositionid:
  15561. description: 仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)
  15562. type: string
  15563. wrpositionno:
  15564. description: 仓单编号
  15565. type: string
  15566. wrstandardcode:
  15567. description: 现货商品代码
  15568. type: string
  15569. wrstandardid:
  15570. description: 现货商品ID
  15571. type: integer
  15572. wrstandardname:
  15573. description: 商品名称
  15574. type: string
  15575. wrtypename:
  15576. description: 商品
  15577. type: string
  15578. wruserid:
  15579. description: 持有人ID
  15580. type: integer
  15581. type: object
  15582. models.WrPreSaleInfo:
  15583. properties:
  15584. bannerpicurl:
  15585. description: Banner图
  15586. type: string
  15587. baseqty:
  15588. description: 中签基数
  15589. type: number
  15590. createtime:
  15591. description: 创建时间
  15592. type: string
  15593. deliverygoodsid:
  15594. description: 现货品种ID
  15595. type: integer
  15596. enddate:
  15597. description: 预售结束日期
  15598. type: string
  15599. enumdicname:
  15600. description: 单位名称
  15601. type: string
  15602. lotteryflag:
  15603. description: 摇号标识 - 0:未摇号 1:已摇号
  15604. type: integer
  15605. lotteryqty:
  15606. description: 摇号总量
  15607. type: number
  15608. luckyqty:
  15609. description: 已中签量
  15610. type: number
  15611. marketid:
  15612. description: 市场ID
  15613. type: integer
  15614. maxbuyqty:
  15615. description: 单人最大申购量
  15616. type: number
  15617. maxluckyqty:
  15618. description: 单人最大中签量
  15619. type: number
  15620. pictureurls:
  15621. description: 详情图片(逗号分隔)
  15622. type: string
  15623. placeqty:
  15624. description: 已配售量
  15625. type: number
  15626. presaleapplyid:
  15627. description: 预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)
  15628. example: "0"
  15629. type: string
  15630. presaleqty:
  15631. description: 预售总量
  15632. type: number
  15633. presalestatus:
  15634. description: 预售状态 - 1:未开始 2:进行中 3:已结束 4:已关闭
  15635. type: integer
  15636. sellaccountid:
  15637. description: 发行方资金账户ID
  15638. type: integer
  15639. selluserid:
  15640. description: 发行方用户ID
  15641. type: integer
  15642. sellwrtradeorderid:
  15643. description: 发行方卖委托单ID
  15644. type: string
  15645. startdate:
  15646. description: 预售开始日期
  15647. type: string
  15648. takestartdate:
  15649. description: 提货开始日期
  15650. type: string
  15651. thumurls:
  15652. description: 缩略图片(1:1)(逗号分隔)
  15653. type: string
  15654. tradedate:
  15655. description: 交易日
  15656. type: string
  15657. unitid:
  15658. description: 单位ID
  15659. type: integer
  15660. unitprice:
  15661. description: 商品单价
  15662. type: number
  15663. username:
  15664. description: 发行方用户名称
  15665. type: string
  15666. warehousecode:
  15667. description: 仓库代码(仓库简称)
  15668. type: string
  15669. warehouseid:
  15670. description: 仓库ID
  15671. type: integer
  15672. warehousename:
  15673. description: 仓库名称
  15674. type: string
  15675. wrfactortypeid:
  15676. description: 仓单要素类型ID - 根据现货商品\仓库生成
  15677. example: "0"
  15678. type: string
  15679. wrstandardid:
  15680. description: 现货商品ID
  15681. type: integer
  15682. wrstandardname:
  15683. description: 现货商品名称
  15684. type: string
  15685. type: object
  15686. models.WrQuoteOrderMyq:
  15687. properties:
  15688. buyorsell:
  15689. description: 买卖 - 0:买 1:卖
  15690. type: integer
  15691. canbargain:
  15692. description: 是否可议价 - 0:不可 1:可
  15693. type: integer
  15694. canpart:
  15695. description: 是否允许部份摘牌 - 0:不允许 1:允许
  15696. type: integer
  15697. delistminqty:
  15698. description: 期初均价
  15699. type: number
  15700. deliverygoodscode:
  15701. description: 品种代码
  15702. type: string
  15703. deliverygoodsid:
  15704. description: 品种ID
  15705. type: integer
  15706. deliverygoodsname:
  15707. description: 品种名称
  15708. type: string
  15709. deliverymonth:
  15710. description: 交收月
  15711. type: string
  15712. enumdicname:
  15713. description: 单位名称
  15714. type: string
  15715. fixedprice:
  15716. description: 买(卖)价
  15717. type: number
  15718. goodscode:
  15719. description: 商品合约代码
  15720. type: string
  15721. marginflag:
  15722. description: 挂牌是否指定保证金 - 0:未指定 1:指定
  15723. type: integer
  15724. marginvalue:
  15725. description: 保证金设置值
  15726. type: number
  15727. minivalue:
  15728. description: 现货商品最小变动值
  15729. type: integer
  15730. orderqty:
  15731. description: 买(卖)量(=委托量-成交量)
  15732. type: number
  15733. ordertime:
  15734. description: 委托时间
  15735. type: string
  15736. performancetemplateid:
  15737. description: 履约模板id
  15738. type: integer
  15739. pricemove:
  15740. description: 买(卖)升贴水- 基差
  15741. type: number
  15742. templatename:
  15743. description: 履约模板名称
  15744. type: string
  15745. userid:
  15746. description: 购买方(销售方)用户ID
  15747. type: integer
  15748. username:
  15749. description: 购买方(销售方)
  15750. type: string
  15751. validtime:
  15752. description: 有效期限
  15753. type: string
  15754. validtype:
  15755. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  15756. type: integer
  15757. warehousename:
  15758. description: 仓库名称
  15759. type: string
  15760. wrfactortypeid:
  15761. description: 仓单要素id
  15762. type: string
  15763. wrstandardcode:
  15764. description: 现货商品代码
  15765. type: string
  15766. wrstandardid:
  15767. description: 现货商品ID
  15768. type: integer
  15769. wrstandardname:
  15770. description: 商品名称
  15771. type: string
  15772. wrtradeorderid:
  15773. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  15774. type: string
  15775. wrtypename:
  15776. description: 商品
  15777. type: string
  15778. type: object
  15779. models.WrReckonSpotGoodsTradeSum:
  15780. properties:
  15781. begindate:
  15782. description: 开始日期(结果含开始日期) yyyymmdd
  15783. type: string
  15784. enddate:
  15785. description: 结束日期(结果含结束日期) yyyymmdd
  15786. type: string
  15787. istoday:
  15788. description: 是否当日
  15789. type: boolean
  15790. marketid:
  15791. description: 市场ID
  15792. type: integer
  15793. price:
  15794. description: 价格 = 日成交金额 / 日成交数量
  15795. type: string
  15796. reckondate:
  15797. description: 日期 格式 yyyymmdd
  15798. type: string
  15799. tradeamount:
  15800. description: 期初均价
  15801. type: number
  15802. tradeqty:
  15803. description: 期初均价
  15804. type: number
  15805. wrstandardid:
  15806. description: 现货商品ID
  15807. type: integer
  15808. type: object
  15809. models.WrScfContract:
  15810. properties:
  15811. borroweruserid:
  15812. description: 借款用户ID
  15813. type: integer
  15814. buybackwrpositionqty:
  15815. description: 已回购仓单头寸数量 - [仓单回购\仓单质押] -> 已回购数量
  15816. type: number
  15817. closeinterest:
  15818. description: 已结利息 -> 已结费用
  15819. type: number
  15820. currisklevel:
  15821. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  15822. type: integer
  15823. deadline:
  15824. description: 截止日期(yyyyMMdd) -> 借款到期时间
  15825. type: string
  15826. deliverygoodscode:
  15827. description: 品种代码
  15828. type: string
  15829. deliverygoodsid:
  15830. description: 品种ID
  15831. type: integer
  15832. deliverygoodsname:
  15833. description: 品种名称
  15834. type: string
  15835. enumdicname:
  15836. description: 单位名称
  15837. type: string
  15838. financingdays:
  15839. description: 天数(天)
  15840. type: integer
  15841. initmargin:
  15842. description: 保证金 - [仓单回购]
  15843. type: number
  15844. interestamount:
  15845. description: 计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \ 合同剩余金额
  15846. type: number
  15847. interestdebt:
  15848. description: 利息欠款(记录负数) -> 费用欠款
  15849. type: number
  15850. interestminlen:
  15851. description: 最小起息天数
  15852. type: integer
  15853. interestrate:
  15854. description: 利率
  15855. type: number
  15856. interestratemode:
  15857. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  15858. type: integer
  15859. interestsettlemode:
  15860. description: 结息方式 - 1:按日结息 3:按月结息
  15861. type: integer
  15862. interestsettlevalue:
  15863. description: 结息方式值
  15864. type: integer
  15865. isautoloan:
  15866. description: 是否自动放款 - 0:手动 1:自动 - [仓单质押]
  15867. type: integer
  15868. lastcloseinterestday:
  15869. description: 最近结息日(yyyyMMdd)
  15870. type: string
  15871. lenderamount:
  15872. description: 贷款金额 -> 借款金额
  15873. type: number
  15874. lenderuserid:
  15875. description: 贷款方用户ID -> 融出方用户ID
  15876. type: integer
  15877. lenderusername:
  15878. description: 融出方
  15879. type: string
  15880. marginratio:
  15881. description: 保证金比率质押率 - [仓单质押]
  15882. type: number
  15883. marketid:
  15884. description: 市场ID - 拆成三个独立模式后,根据市场ID处理
  15885. type: integer
  15886. minivalue:
  15887. description: 现货商品最小变动值
  15888. type: integer
  15889. optioncompare:
  15890. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15891. type: string
  15892. pricemove:
  15893. description: 估值升贴水值
  15894. type: number
  15895. productdetailid:
  15896. description: 产品组合ID
  15897. type: integer
  15898. productid:
  15899. description: 金融产品ID
  15900. type: integer
  15901. productname:
  15902. description: 产品名称
  15903. type: string
  15904. remainamount:
  15905. description: 合同剩余金额 -> 剩余金额
  15906. type: number
  15907. remainwrpositionqty:
  15908. description: 剩余仓单头寸数量 - [仓单回购\仓单质押] -> 剩余数量(待回购数量)
  15909. type: number
  15910. remark:
  15911. description: 备注
  15912. type: string
  15913. scfcontractid:
  15914. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  15915. type: string
  15916. scfcontractstatus:
  15917. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  15918. 9:违约结束 10:已注销 11:已关闭 99:未提交
  15919. type: integer
  15920. scfcontracttype:
  15921. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购
  15922. type: integer
  15923. startinterestday:
  15924. description: 计息开始日(yyyyMMdd) -> 开始计费日期
  15925. type: string
  15926. totalinterest:
  15927. description: 已计利息 -> 已计费用
  15928. type: number
  15929. unpaidinterest:
  15930. description: 期初均价
  15931. type: number
  15932. updatetime:
  15933. description: 更新时间
  15934. type: string
  15935. warehouseid:
  15936. description: 仓库ID
  15937. type: integer
  15938. warehousename:
  15939. description: 仓库名称
  15940. type: string
  15941. wrfactortypeid:
  15942. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15943. type: string
  15944. wrfactortypename:
  15945. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15946. type: string
  15947. wrqty:
  15948. description: 仓单数量 - [仓单回购\仓单质押] -> 数量
  15949. type: number
  15950. wrstandardcode:
  15951. description: 现货商品代码
  15952. type: string
  15953. wrstandardid:
  15954. description: 现货商品ID
  15955. type: integer
  15956. wrstandardname:
  15957. description: 商品名称
  15958. type: string
  15959. wrtypename:
  15960. description: 商品
  15961. type: string
  15962. type: object
  15963. models.WrScfContractInterest:
  15964. properties:
  15965. closeinterest:
  15966. description: 已结利息
  15967. type: number
  15968. closeintereststatus:
  15969. description: 结息状态 - 1:未结 2:已结
  15970. type: integer
  15971. closetime:
  15972. description: 结息时间
  15973. type: string
  15974. closetradedate:
  15975. description: 结息交易日
  15976. type: string
  15977. creatorid:
  15978. description: 操作人ID
  15979. type: integer
  15980. dayrate:
  15981. description: 日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)
  15982. type: number
  15983. interest:
  15984. description: 利息
  15985. type: number
  15986. interestamount:
  15987. description: 计息金额
  15988. type: number
  15989. interestday:
  15990. description: 计息日(yyyyMMdd)
  15991. type: string
  15992. scfcontractid:
  15993. description: SCF合同ID
  15994. type: string
  15995. scfcontractinterestid:
  15996. description: SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)
  15997. type: integer
  15998. updatetime:
  15999. description: 更新时间
  16000. type: string
  16001. type: object
  16002. models.WrSearchUser:
  16003. properties:
  16004. userid:
  16005. description: 用户ID
  16006. type: integer
  16007. username:
  16008. description: 用户名称(已脱敏)
  16009. type: string
  16010. username2:
  16011. description: 用户名称(未脱敏)
  16012. type: string
  16013. usertype:
  16014. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  16015. type: integer
  16016. required:
  16017. - username
  16018. type: object
  16019. models.WrSiteColumnDetail:
  16020. properties:
  16021. brief:
  16022. description: 简介
  16023. type: string
  16024. context:
  16025. description: 内容
  16026. type: string
  16027. coverimage:
  16028. description: 封面图片
  16029. type: string
  16030. creaedate:
  16031. description: 创建时间
  16032. type: string
  16033. id:
  16034. description: ID(SEQ_SITE_COLUMNDETAIL)
  16035. type: integer
  16036. istop:
  16037. description: 是否置顶 - 0:不置 1:置顶
  16038. type: integer
  16039. publishdate:
  16040. description: 发布日期
  16041. type: string
  16042. title:
  16043. description: 标题
  16044. type: string
  16045. updatedate:
  16046. description: 修改时间
  16047. type: string
  16048. type: object
  16049. models.WrSpecialMatchOrder:
  16050. properties:
  16051. amount:
  16052. description: 金额 = 数量 * 价格
  16053. type: number
  16054. buyorsell:
  16055. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  16056. type: integer
  16057. cancelqty:
  16058. description: 撤销数量
  16059. type: number
  16060. deliverygoodscode:
  16061. description: 品种代码
  16062. type: string
  16063. deliverygoodsid:
  16064. description: 品种ID
  16065. type: integer
  16066. deliverygoodsname:
  16067. description: 品种名称
  16068. type: string
  16069. enumdicname:
  16070. description: 单位名称
  16071. type: string
  16072. fixedprice:
  16073. description: 固定价格(价格)
  16074. type: number
  16075. haswr:
  16076. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  16077. type: integer
  16078. isspecified:
  16079. description: 是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  16080. type: integer
  16081. marketid:
  16082. description: 市场ID
  16083. type: integer
  16084. matchuserid:
  16085. description: 指定方资金账号(字段名为userid,实际存的是accountid by:邓工)
  16086. type: integer
  16087. matchusername:
  16088. description: 指定方
  16089. type: string
  16090. minivalue:
  16091. description: 现货商品最小变动值
  16092. type: integer
  16093. optioncompare:
  16094. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16095. type: string
  16096. orderqty:
  16097. description: 委托数量
  16098. type: number
  16099. ordertime:
  16100. description: 委托时间
  16101. type: string
  16102. pricemove:
  16103. description: 升贴水(浮动价时填写) - [挂牌]
  16104. type: number
  16105. tradedate:
  16106. description: 交易日(yyyyMMdd)
  16107. type: string
  16108. tradeprice:
  16109. description: 成交价格
  16110. type: number
  16111. tradeqty:
  16112. description: 成交数量
  16113. type: number
  16114. userid:
  16115. description: 用户ID
  16116. type: integer
  16117. username:
  16118. description: 发起方
  16119. type: string
  16120. warehouseid:
  16121. description: 仓库ID
  16122. type: integer
  16123. warehousename:
  16124. description: 仓库名称
  16125. type: string
  16126. wrfactortypeid:
  16127. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16128. type: string
  16129. wrfactortypename:
  16130. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16131. type: string
  16132. wrpricetype:
  16133. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  16134. type: integer
  16135. wrstandardcode:
  16136. description: 现货商品代码
  16137. type: string
  16138. wrstandardid:
  16139. description: 现货商品ID
  16140. type: integer
  16141. wrstandardname:
  16142. description: 商品名称
  16143. type: string
  16144. wrtradeorderid:
  16145. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  16146. type: string
  16147. wrtradeorderstatus:
  16148. description: 委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝
  16149. 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤
  16150. type: integer
  16151. wrtradetype:
  16152. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  16153. type: integer
  16154. wrtypename:
  16155. description: 商品
  16156. type: string
  16157. type: object
  16158. models.WrSpotGroupTradeSum:
  16159. properties:
  16160. deliverygoodscode:
  16161. description: 现货品种代码
  16162. type: string
  16163. deliverygoodsid:
  16164. description: 现货品种ID(SEQ_DELIVERYGOODS)
  16165. type: integer
  16166. deliverygoodsname:
  16167. description: 现货品种名称
  16168. type: string
  16169. lastavgprice:
  16170. description: 上上个交易日价格(前2天价格)
  16171. type: string
  16172. lastreckondate:
  16173. description: 上上个交易日(前2天交易日)
  16174. type: string
  16175. reckondate:
  16176. description: 上个交易日(前1天交易日)
  16177. type: string
  16178. todayavgprice:
  16179. description: 上个交易日价格(前1天价格)
  16180. type: string
  16181. updown:
  16182. description: 涨跌
  16183. type: string
  16184. updownratio:
  16185. description: 涨幅(已格式化, 直接显示即可)
  16186. type: string
  16187. type: object
  16188. models.WrSpotGroupTradeSumDetail:
  16189. properties:
  16190. deliverygoodsid:
  16191. description: 现货商品id
  16192. type: integer
  16193. price:
  16194. description: 价格
  16195. type: number
  16196. reckondate:
  16197. description: 日期(yyymmdd, 如:20211031)
  16198. type: string
  16199. type: object
  16200. models.WrSpotGroupTradeSumEx:
  16201. properties:
  16202. lst:
  16203. description: 指数列表
  16204. items:
  16205. $ref: '#/definitions/models.WrSpotGroupTradeSum'
  16206. type: array
  16207. prereckondate:
  16208. description: 上上个交易日(yyymmdd)
  16209. type: string
  16210. reckondate:
  16211. description: 上个交易日(yyyymmdd)
  16212. type: string
  16213. type: object
  16214. models.WrStandardFactoryItem:
  16215. properties:
  16216. dgfactoryitemid:
  16217. description: 选择项id
  16218. type: integer
  16219. dgfactoryitemvalue:
  16220. description: 要素项值
  16221. type: string
  16222. warehouseid:
  16223. description: 仓库id
  16224. type: integer
  16225. type: object
  16226. models.WrStandardFactoryItemEx:
  16227. properties:
  16228. dgfactoryitemtypeid:
  16229. description: 要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)
  16230. type: integer
  16231. itemlst:
  16232. description: 要素项列表
  16233. items:
  16234. $ref: '#/definitions/models.WrStandardFactoryItem'
  16235. type: array
  16236. itemtypename:
  16237. description: 要素项类型名称
  16238. type: string
  16239. wrstandardid:
  16240. description: 品类
  16241. type: integer
  16242. type: object
  16243. models.WrTradeDetail:
  16244. properties:
  16245. accountid:
  16246. description: 资金账号
  16247. type: integer
  16248. bannerpicurl:
  16249. description: Banner图
  16250. type: string
  16251. begindate:
  16252. description: 开始交易日(yyyymmdd)
  16253. type: string
  16254. buyorsell:
  16255. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  16256. type: integer
  16257. chargevalue:
  16258. description: 手续费
  16259. type: number
  16260. deliverygoodscode:
  16261. description: 品种代码
  16262. type: string
  16263. deliverygoodsid:
  16264. description: 品种ID
  16265. type: integer
  16266. deliverygoodsname:
  16267. description: 品种名称
  16268. type: string
  16269. deliverymonth:
  16270. description: 交收月
  16271. type: string
  16272. enddate:
  16273. description: 结束交易日(yyyymmdd)
  16274. type: string
  16275. enumdicname:
  16276. description: 单位名称
  16277. type: string
  16278. haswr:
  16279. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  16280. type: integer
  16281. marketid:
  16282. description: 市场ID
  16283. type: integer
  16284. matchaccountid:
  16285. description: 对手账号
  16286. type: integer
  16287. matchusername:
  16288. description: 对手方
  16289. type: string
  16290. minivalue:
  16291. description: 现货商品最小变动值
  16292. type: integer
  16293. optioncompare:
  16294. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16295. type: string
  16296. thumurls:
  16297. description: 缩略图
  16298. type: string
  16299. tradedate:
  16300. description: 交易日(yyyyMMdd)
  16301. type: string
  16302. tradeprice:
  16303. description: 成交价格
  16304. type: number
  16305. tradeqty:
  16306. description: 成交数量
  16307. type: number
  16308. tradetime:
  16309. description: 成交时间
  16310. type: string
  16311. userid:
  16312. description: 用户ID
  16313. type: integer
  16314. warehouseid:
  16315. description: 仓库ID
  16316. type: integer
  16317. warehousename:
  16318. description: 仓库名称
  16319. type: string
  16320. wrfactortypeid:
  16321. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16322. type: string
  16323. wrfactortypename:
  16324. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16325. type: string
  16326. wrstandardcode:
  16327. description: 现货商品代码
  16328. type: string
  16329. wrstandardid:
  16330. description: 现货商品ID
  16331. type: integer
  16332. wrstandardname:
  16333. description: 商品名称
  16334. type: string
  16335. wrtradedetailid:
  16336. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  16337. type: string
  16338. wrtradetype:
  16339. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  16340. type: integer
  16341. wrtypename:
  16342. description: 商品
  16343. type: string
  16344. type: object
  16345. models.WrTradeOrderDetail:
  16346. properties:
  16347. buyorsell:
  16348. description: 买卖方向 0-买 1-卖
  16349. type: integer
  16350. goodsid:
  16351. description: 商品id
  16352. type: integer
  16353. orderid:
  16354. description: 委托单号
  16355. type: string
  16356. orderprice:
  16357. description: 期初均价
  16358. type: number
  16359. orderqty:
  16360. description: 委托数量
  16361. type: integer
  16362. userid:
  16363. description: 用户id
  16364. type: integer
  16365. username:
  16366. description: 用户名称(已脱敏)
  16367. type: string
  16368. type: object
  16369. models.WrTypeItem:
  16370. properties:
  16371. name:
  16372. description: 名称
  16373. type: string
  16374. value:
  16375. description: 值
  16376. type: string
  16377. type: object
  16378. models.WrUserFriend:
  16379. properties:
  16380. friendname:
  16381. description: 朋友名称(已脱敏)
  16382. type: string
  16383. frienduserid:
  16384. description: 朋友id
  16385. type: integer
  16386. isfriend:
  16387. description: 是否好友 0-不是 1-是
  16388. type: integer
  16389. userid:
  16390. description: 用户id
  16391. type: integer
  16392. type: object
  16393. models.WrUserReceiptInfo:
  16394. properties:
  16395. address:
  16396. description: 地址[发票类型:企业]
  16397. type: string
  16398. autoid:
  16399. description: AutoID
  16400. type: integer
  16401. contactinfo:
  16402. description: 联系方式
  16403. type: string
  16404. idnum:
  16405. description: 身份证号码[发票类型:个人]
  16406. type: string
  16407. isdefault:
  16408. description: 是否默认地址 - 0:否 1:是
  16409. type: integer
  16410. receiptaccount:
  16411. description: 发票帐号[发票类型:企业]
  16412. type: string
  16413. receiptbank:
  16414. description: 发票开户行[发票类型:企业]
  16415. type: string
  16416. receipttype:
  16417. description: 发票类型 - 1:个人 2:企业
  16418. type: integer
  16419. taxpayerid:
  16420. description: 纳税人识别号
  16421. type: string
  16422. userid:
  16423. description: 用户ID
  16424. type: integer
  16425. username:
  16426. description: 户名(个人姓名或企业名称)
  16427. type: string
  16428. type: object
  16429. models.Wrtradetradequote:
  16430. properties:
  16431. begindate:
  16432. description: 开始日期(结果含开始日期) yyyymmdd
  16433. type: string
  16434. buyaccountid:
  16435. description: 买方账号ID
  16436. type: integer
  16437. buyuserid:
  16438. description: 买方用户ID
  16439. type: integer
  16440. deliverygoodsid:
  16441. description: 现货品种ID
  16442. type: integer
  16443. enddate:
  16444. description: 结束日期(结果含结束日期) yyyymmdd
  16445. type: string
  16446. marketid:
  16447. description: 市场ID
  16448. type: integer
  16449. sellaccountid:
  16450. description: 卖方账号ID
  16451. type: integer
  16452. selluserid:
  16453. description: 卖方用户ID
  16454. type: integer
  16455. tradeamount:
  16456. description: 成交金额
  16457. type: number
  16458. tradedate:
  16459. description: 交易日(yyyyMMdd)
  16460. type: string
  16461. tradeprice:
  16462. description: 成交价格
  16463. type: number
  16464. tradeqty:
  16465. description: 成交数量
  16466. type: integer
  16467. tradetime:
  16468. description: 成交时间
  16469. type: string
  16470. wrfactortypeid:
  16471. description: 仓单要素类型ID
  16472. type: integer
  16473. wrstandardid:
  16474. description: 现货商品ID
  16475. type: integer
  16476. wrtradedetailid:
  16477. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  16478. type: string
  16479. type: object
  16480. models.XHBRAND:
  16481. properties:
  16482. brandid:
  16483. description: 品牌id
  16484. type: integer
  16485. brandname:
  16486. description: 品牌名称
  16487. type: string
  16488. isvalid:
  16489. description: 是否有效 0-无效 1-有效
  16490. type: integer
  16491. type: object
  16492. models.XHDeliveryGoods:
  16493. properties:
  16494. areauserid:
  16495. description: 所属机构
  16496. type: integer
  16497. bdlst:
  16498. description: 品牌列表
  16499. items:
  16500. $ref: '#/definitions/models.XHBRAND'
  16501. type: array
  16502. deliverygoodscode:
  16503. description: 现货品种代码
  16504. type: string
  16505. deliverygoodsid:
  16506. description: 现货品种ID(SEQ_DELIVERYGOODS)
  16507. type: integer
  16508. deliverygoodsname:
  16509. description: 现货品种名称
  16510. type: string
  16511. dgstatus:
  16512. description: 品种状态 - 作废 - 0:未激活 1:正常
  16513. type: integer
  16514. filterSubEmpty:
  16515. description: 过滤下级为空的
  16516. type: integer
  16517. isvalid:
  16518. description: 是否有效 - 0:无效 1:有效
  16519. type: integer
  16520. remark:
  16521. description: 备注
  16522. type: string
  16523. unitid:
  16524. description: 单位id(目前看,数据库中是空值)
  16525. type: integer
  16526. wdlst:
  16527. description: 品类(现货商品)列表
  16528. items:
  16529. $ref: '#/definitions/models.XHWrstandard'
  16530. type: array
  16531. type: object
  16532. models.XHMiddleGoods:
  16533. properties:
  16534. GPLST:
  16535. description: 期货品种列表
  16536. items:
  16537. $ref: '#/definitions/models.TBGoodsGroup'
  16538. type: array
  16539. convertratio:
  16540. description: 拆算系数
  16541. type: number
  16542. costratio:
  16543. description: 成本权重
  16544. type: number
  16545. deliverygoodsid:
  16546. description: 现货商品id
  16547. type: integer
  16548. enumdicname:
  16549. description: 单位名称
  16550. type: string
  16551. middlegoodscode:
  16552. description: 套保品种代码
  16553. type: string
  16554. middlegoodsid:
  16555. description: 套保品种id
  16556. type: integer
  16557. middlegoodsname:
  16558. description: 套保品种名称
  16559. type: string
  16560. unitid:
  16561. description: 单位id
  16562. type: integer
  16563. type: object
  16564. models.XHWrstandard:
  16565. properties:
  16566. bannerpicurl:
  16567. description: banner图
  16568. type: string
  16569. deliverygoodsid:
  16570. description: 品种ID
  16571. type: integer
  16572. enumdicname:
  16573. description: 单位名称
  16574. type: string
  16575. mglst:
  16576. description: 套保品列表
  16577. items:
  16578. $ref: '#/definitions/models.XHMiddleGoods'
  16579. type: array
  16580. pictureurls:
  16581. description: 详情图片(逗号分隔)
  16582. type: string
  16583. thumurls:
  16584. description: 缩略图片(1:1)(逗号分隔)
  16585. type: string
  16586. unitid:
  16587. description: 单位id
  16588. type: integer
  16589. vatrate:
  16590. description: 增值税率
  16591. type: number
  16592. wrstandardcode:
  16593. description: 现货商品代码
  16594. type: string
  16595. wrstandardid:
  16596. description: 现货商品ID(SEQ_WRSTANDARD)
  16597. type: integer
  16598. wrstandardname:
  16599. description: 现货商品名称
  16600. type: string
  16601. type: object
  16602. models.XhcpSellBackApplyEx:
  16603. properties:
  16604. applyremark:
  16605. description: 申请备注
  16606. type: string
  16607. expirytype:
  16608. description: 寄售有效期 - 1:3天 2:7天 3:15天 4:长期
  16609. type: integer
  16610. goodsspec:
  16611. description: 商品规格 - 1:整件 2;整提 3:单罐 4:单盒
  16612. type: integer
  16613. holeflag:
  16614. description: 是否破洞[原封] - 1:无破洞 2:破洞
  16615. type: integer
  16616. isunopened:
  16617. description: 是否原封 - 1:否 2:是
  16618. type: integer
  16619. mpflag:
  16620. description: 磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮
  16621. type: integer
  16622. openflag:
  16623. description: 是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。
  16624. 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。
  16625. type: integer
  16626. phonenum:
  16627. description: 联系电话
  16628. type: string
  16629. userid:
  16630. description: 所属用户ID
  16631. type: integer
  16632. zpflag:
  16633. description: 皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮
  16634. type: integer
  16635. required:
  16636. - userid
  16637. type: object
  16638. models.Xhcpsellbackapply:
  16639. properties:
  16640. applyid:
  16641. description: 申请人
  16642. type: integer
  16643. applyremark:
  16644. description: 申请备注
  16645. type: string
  16646. applysrc:
  16647. description: 申请来源 - 1:管理端 2:终端
  16648. type: integer
  16649. applystatus:
  16650. description: 申请状态 - 1:待确认 2:已处理
  16651. type: integer
  16652. applytime:
  16653. description: 申请时间
  16654. type: string
  16655. auditremark:
  16656. description: 审核备注
  16657. type: string
  16658. auditsrc:
  16659. description: 审核来源 - 1:管理端 2:终端
  16660. type: integer
  16661. expirytype:
  16662. description: 寄售有效期 - 1:3天 2:7天 3:15天 4:长期
  16663. type: integer
  16664. goodsspec:
  16665. description: 商品规格 - 1:整件 2;整提 3:单罐 4:单盒
  16666. type: integer
  16667. holeflag:
  16668. description: 是否破洞[原封] - 1:无破洞 2:破洞
  16669. type: integer
  16670. isunopened:
  16671. description: 是否原封 - 1:否 2:是
  16672. type: integer
  16673. mpflag:
  16674. description: 磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮
  16675. type: integer
  16676. openflag:
  16677. description: 是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。
  16678. 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。
  16679. type: integer
  16680. phonenum:
  16681. description: 联系电话
  16682. type: string
  16683. sellbackapplyid:
  16684. description: 回收申请ID - SEQ_XHCP_SELLBACKAPPLY
  16685. type: string
  16686. userid:
  16687. description: 所属用户ID
  16688. type: integer
  16689. zpflag:
  16690. description: 皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮
  16691. type: integer
  16692. required:
  16693. - userid
  16694. type: object
  16695. order.QueryHisTradeDetailRsp:
  16696. properties:
  16697. accountid:
  16698. description: 账户ID[报价币种]
  16699. type: integer
  16700. advanceratio:
  16701. description: 首付比率
  16702. type: number
  16703. buildtype:
  16704. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  16705. type: integer
  16706. buyorsell:
  16707. description: 方向 - 0:买 1:卖
  16708. type: integer
  16709. charge:
  16710. description: 手续费
  16711. type: number
  16712. closecharge:
  16713. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  16714. type: number
  16715. closeexchagechargevalue:
  16716. description: 平仓交易所手续费设置值
  16717. type: number
  16718. closefeealgorithm:
  16719. description: 平仓手续费收取方式 1:比率 2:固定
  16720. type: integer
  16721. closememberchargevalue:
  16722. description: 平仓会员手续费设置值
  16723. type: number
  16724. closepl:
  16725. description: 平仓盈亏
  16726. type: number
  16727. closepl2:
  16728. description: 平仓盈亏[逐笔]
  16729. type: number
  16730. closeqty:
  16731. description: 平仓数量(先建后平操作 需要记录)
  16732. type: number
  16733. creditamount:
  16734. description: 授信金额
  16735. type: number
  16736. decimalplace:
  16737. description: 商品报价小数位
  16738. type: integer
  16739. enumdicname:
  16740. description: 单位名称
  16741. type: string
  16742. gcaccountid:
  16743. description: 账户ID[合约币种]
  16744. type: integer
  16745. goodscode:
  16746. description: 商品代码
  16747. type: string
  16748. goodsid:
  16749. description: 商品ID
  16750. type: integer
  16751. goodsname:
  16752. description: 商品名称
  16753. type: string
  16754. goodunitid:
  16755. description: 商品单位id
  16756. type: integer
  16757. histradedate:
  16758. description: 历史交易日
  16759. type: string
  16760. intclosepl:
  16761. description: 整型盈亏(用于交易结算试算平衡-收益权)
  16762. type: integer
  16763. isconfirmexercise:
  16764. description: 是否确认行权- 0:否 1:是
  16765. type: integer
  16766. ismain:
  16767. description: 是否主单 - 0:不是 1:是
  16768. type: integer
  16769. ispreexercise:
  16770. description: 是否预申报- 0:否 1:是
  16771. type: integer
  16772. isreckoned:
  16773. description: 是否结算 - 0:未结算 1:已结算
  16774. type: integer
  16775. isvaliddata:
  16776. description: 是否有效 - 0:无效 1:有效
  16777. type: integer
  16778. listingselecttype:
  16779. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  16780. type: integer
  16781. marketid:
  16782. description: 市场ID
  16783. type: integer
  16784. marketname:
  16785. description: 市场名称
  16786. type: string
  16787. matchaccountid:
  16788. description: 对手账号id
  16789. type: integer
  16790. memberuserid:
  16791. description: 会员id 个人投资者 需要填写
  16792. type: integer
  16793. opencharge:
  16794. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  16795. type: number
  16796. openexchagechargevalue:
  16797. description: 建仓交易所手续费设置值
  16798. type: number
  16799. openfeealgorithm:
  16800. description: 建仓手续费收取方式 1:比率 2:固定
  16801. type: integer
  16802. openmemberchargevalue:
  16803. description: 建仓会员手续费设置值
  16804. type: number
  16805. openqty:
  16806. description: 开仓数量(先建后平操作 需要记录)
  16807. type: number
  16808. optiontype:
  16809. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  16810. type: integer
  16811. orderid:
  16812. description: 委托单号
  16813. type: string
  16814. payamount:
  16815. description: 支付金额(付款金额)
  16816. type: number
  16817. performanceplanid:
  16818. description: 履约计划ID[期权]
  16819. type: integer
  16820. performancestatus:
  16821. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  16822. type: integer
  16823. preexerciseprice:
  16824. description: 预申报价格
  16825. type: number
  16826. premium:
  16827. description: 权利金 - [持仓单的权利金]
  16828. type: number
  16829. qtydecimalplace:
  16830. description: 商品报价小数位
  16831. type: integer
  16832. recvamount:
  16833. description: 到账金额 = 成交金额 - 手续费
  16834. type: number
  16835. relatedouttradeid:
  16836. description: 关联外部成交单ID
  16837. type: integer
  16838. status:
  16839. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  16840. type: integer
  16841. totalamount:
  16842. description: 订单总额 = 成交金额 + 手续费
  16843. type: number
  16844. tradeamount:
  16845. description: 成交金额[账户币种,用于所有权]
  16846. type: number
  16847. tradedate:
  16848. description: 交易日(yyyyMMdd)
  16849. type: string
  16850. tradeid:
  16851. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  16852. type: string
  16853. trademode:
  16854. description: 交易模式
  16855. type: integer
  16856. tradeprice:
  16857. description: 成交价格
  16858. type: number
  16859. tradeproperty:
  16860. description: 交易属性
  16861. type: integer
  16862. tradeqty:
  16863. description: 成交数量
  16864. type: number
  16865. tradetime:
  16866. description: 成交时间
  16867. type: string
  16868. tradetype:
  16869. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  16870. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  16871. type: integer
  16872. required:
  16873. - accountid
  16874. - buyorsell
  16875. - goodsid
  16876. - histradedate
  16877. - marketid
  16878. - memberuserid
  16879. - orderid
  16880. - tradeamount
  16881. - tradedate
  16882. - tradeid
  16883. - tradeprice
  16884. - tradeqty
  16885. - tradetime
  16886. type: object
  16887. order.QueryHisTradeOrderDetailRsp:
  16888. properties:
  16889. accountid:
  16890. description: 账户ID[报价币种]
  16891. type: integer
  16892. buildtype:
  16893. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  16894. type: integer
  16895. buyorsell:
  16896. description: 买卖 - 0:买 1:卖
  16897. type: integer
  16898. cancelorderid:
  16899. description: 撤单单号(撤单时填写)
  16900. type: string
  16901. cancelqty:
  16902. description: 撤单数量
  16903. type: number
  16904. clientordertime:
  16905. description: 客户端委托时间
  16906. type: string
  16907. clientticket:
  16908. description: 客户端流水号
  16909. type: string
  16910. clienttype:
  16911. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  16912. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  16913. type: integer
  16914. closeexchagechargevalue:
  16915. description: 平仓交易所手续费设置值
  16916. type: number
  16917. closefeealgorithm:
  16918. description: 平仓手续费收取方式 1:比率 2:固定
  16919. type: integer
  16920. closefreezecharge:
  16921. description: 平仓冻结手续费(先建后平操作,需要记录)
  16922. type: number
  16923. closememberchargevalue:
  16924. description: 平仓会员手续费设置值
  16925. type: number
  16926. closeqty:
  16927. description: 平仓数量(先建后平操作 需要记录)
  16928. type: number
  16929. closetradeqty:
  16930. description: 平仓成交数量(先建后平操作,需要记录)
  16931. type: number
  16932. closeunfreezecharge:
  16933. description: 平仓解冻手续费(先建后平操作,需要记录)
  16934. type: number
  16935. decimalplace:
  16936. description: 商品报价小数位
  16937. type: integer
  16938. delistingtype:
  16939. description: 摘牌类型 - 1:价格最优 2:点选成交
  16940. type: integer
  16941. enumdicname:
  16942. description: 单位名称
  16943. type: string
  16944. freezecharge:
  16945. description: 冻结手续费
  16946. type: number
  16947. freezemargin:
  16948. description: 冻结保证金(冻结交易金额)
  16949. type: number
  16950. gcaccountid:
  16951. description: 账户ID[合约币种]
  16952. type: integer
  16953. goodscode:
  16954. description: 商品代码
  16955. type: string
  16956. goodsid:
  16957. description: 商品ID
  16958. type: integer
  16959. goodsname:
  16960. description: 商品名称
  16961. type: string
  16962. goodunitid:
  16963. description: 商品单位id
  16964. type: integer
  16965. histradedate:
  16966. description: 历史交易日
  16967. type: string
  16968. isconfirmexercise:
  16969. description: 是否确认行权- 0:否 1:是
  16970. type: integer
  16971. ispreexercise:
  16972. description: 是否预申报- 0:否 1:是
  16973. type: integer
  16974. isvaliddata:
  16975. description: 是否有效 - 0:无效 1:有效
  16976. type: integer
  16977. listingselecttype:
  16978. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  16979. type: integer
  16980. marginalgorithm:
  16981. description: 保证金收取方式 1:比率 2:固定
  16982. type: integer
  16983. marginvalue:
  16984. description: 即市保证金设置值
  16985. type: number
  16986. marketid:
  16987. description: 市场ID
  16988. type: integer
  16989. marketmaxsub:
  16990. description: 市价最大偏移范围
  16991. type: number
  16992. marketname:
  16993. description: 市场名称
  16994. type: string
  16995. memberuserid:
  16996. description: 所属会员UserID
  16997. type: integer
  16998. openexchagechargevalue:
  16999. description: 建仓交易所手续费设置值
  17000. type: number
  17001. openfeealgorithm:
  17002. description: 建仓手续费收取方式 1:比率 2:固定
  17003. type: integer
  17004. openfreezecharge:
  17005. description: 开仓冻结手续费(先建后平操作,需要记录)
  17006. type: number
  17007. openmemberchargevalue:
  17008. description: 建仓会员手续费设置值
  17009. type: number
  17010. openqty:
  17011. description: 开仓数量(先建后平操作,需要记录)
  17012. type: number
  17013. opentradeqty:
  17014. description: 开仓成交数量(先建后平操作,需要记录)
  17015. type: number
  17016. openunfreezecharge:
  17017. description: 开仓解冻手续费(先建后平操作,需要记录)
  17018. type: number
  17019. operatetype:
  17020. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  17021. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  17022. 15:管理端协议转让
  17023. type: integer
  17024. operatorid:
  17025. description: 登录账号(LoginID)
  17026. type: integer
  17027. optiontype:
  17028. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  17029. type: integer
  17030. orderid:
  17031. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17032. type: string
  17033. orderprice:
  17034. description: 委托价格
  17035. type: number
  17036. orderqty:
  17037. description: 委托数量
  17038. type: number
  17039. ordersrc:
  17040. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  17041. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  17042. type: integer
  17043. orderstatus:
  17044. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  17045. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  17046. 16:成交失败违约(荷兰式竞拍专用)
  17047. type: integer
  17048. ordertime:
  17049. description: 委托时间
  17050. type: string
  17051. preexerciseprice:
  17052. description: 预申报价格
  17053. type: number
  17054. premium:
  17055. description: 权利金
  17056. type: number
  17057. preorderid:
  17058. description: 关联预埋单号(止盈止损单时填写)
  17059. type: string
  17060. pricemode:
  17061. description: '取价方式 - 1:市价 2: 限价'
  17062. type: integer
  17063. qtydecimalplace:
  17064. description: 成交量小数位
  17065. type: integer
  17066. quoteid:
  17067. description: 报价单ID
  17068. type: integer
  17069. relatedid:
  17070. description: 关联单号(交割单)
  17071. type: string
  17072. retcode:
  17073. description: 错误代码
  17074. type: integer
  17075. sessionid:
  17076. description: 会话ID
  17077. type: integer
  17078. tradedate:
  17079. description: 交易日(yyyyMMdd)
  17080. type: string
  17081. trademode:
  17082. description: 交易模式
  17083. type: integer
  17084. tradeproperty:
  17085. description: 交易属性
  17086. type: integer
  17087. tradeqty:
  17088. description: 成交数量
  17089. type: number
  17090. unfreezecharge:
  17091. description: 解冻手续费
  17092. type: number
  17093. unfreezemargin:
  17094. description: 解冻保证金
  17095. type: number
  17096. updatetime:
  17097. description: 更新时间
  17098. type: string
  17099. uuid:
  17100. description: 发起端唯一id
  17101. type: string
  17102. validtime:
  17103. description: 有效期限
  17104. type: string
  17105. validtype:
  17106. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  17107. type: integer
  17108. volumetype:
  17109. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  17110. type: integer
  17111. required:
  17112. - accountid
  17113. - buildtype
  17114. - buyorsell
  17115. - goodsid
  17116. - histradedate
  17117. - marketid
  17118. - memberuserid
  17119. - operatetype
  17120. - orderid
  17121. - orderqty
  17122. - ordertime
  17123. - pricemode
  17124. - tradedate
  17125. - validtype
  17126. type: object
  17127. order.QueryTradeDetailRsp:
  17128. properties:
  17129. accountid:
  17130. description: 账户ID[报价币种]
  17131. type: integer
  17132. advanceratio:
  17133. description: 首付比率
  17134. type: number
  17135. buildtype:
  17136. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  17137. type: integer
  17138. buyorsell:
  17139. description: 方向 - 0:买 1:卖
  17140. type: integer
  17141. charge:
  17142. description: 手续费
  17143. type: number
  17144. closecharge:
  17145. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  17146. type: number
  17147. closeexchagechargevalue:
  17148. description: 平仓交易所手续费设置值
  17149. type: number
  17150. closefeealgorithm:
  17151. description: 平仓手续费收取方式 1:比率 2:固定
  17152. type: integer
  17153. closememberchargevalue:
  17154. description: 平仓会员手续费设置值
  17155. type: number
  17156. closepl:
  17157. description: 平仓盈亏
  17158. type: number
  17159. closepl2:
  17160. description: 平仓盈亏[逐笔]
  17161. type: number
  17162. closeqty:
  17163. description: 平仓数量(先建后平操作 需要记录)
  17164. type: number
  17165. creditamount:
  17166. description: 授信金额
  17167. type: number
  17168. decimalplace:
  17169. description: 商品报价小数位
  17170. type: integer
  17171. enumdicname:
  17172. description: 单位名称
  17173. type: string
  17174. gcaccountid:
  17175. description: 账户ID[合约币种]
  17176. type: integer
  17177. goodscode:
  17178. description: 商品代码
  17179. type: string
  17180. goodsid:
  17181. description: 商品ID
  17182. type: integer
  17183. goodsname:
  17184. description: 商品名称
  17185. type: string
  17186. goodunitid:
  17187. description: 商品单位id
  17188. type: integer
  17189. intclosepl:
  17190. description: 整型盈亏(用于交易结算试算平衡-收益权)
  17191. type: integer
  17192. isconfirmexercise:
  17193. description: 是否确认行权- 0:否 1:是
  17194. type: integer
  17195. ismain:
  17196. description: 是否主单 - 0:不是 1:是
  17197. type: integer
  17198. ispreexercise:
  17199. description: 是否预申报- 0:否 1:是
  17200. type: integer
  17201. isreckoned:
  17202. description: 是否结算 - 0:未结算 1:已结算
  17203. type: integer
  17204. listingselecttype:
  17205. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  17206. type: integer
  17207. marketid:
  17208. description: 市场ID
  17209. type: integer
  17210. marketname:
  17211. description: 市场名称
  17212. type: string
  17213. matchaccountid:
  17214. description: 对手账号id
  17215. type: integer
  17216. memberuserid:
  17217. description: 会员id 个人投资者 需要填写
  17218. type: integer
  17219. opencharge:
  17220. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  17221. type: number
  17222. openexchagechargevalue:
  17223. description: 建仓交易所手续费设置值
  17224. type: number
  17225. openfeealgorithm:
  17226. description: 建仓手续费收取方式 1:比率 2:固定
  17227. type: integer
  17228. openmemberchargevalue:
  17229. description: 建仓会员手续费设置值
  17230. type: number
  17231. openqty:
  17232. description: 开仓数量(先建后平操作 需要记录)
  17233. type: number
  17234. optiontype:
  17235. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  17236. type: integer
  17237. orderid:
  17238. description: 委托单号
  17239. type: string
  17240. payamount:
  17241. description: 支付金额(付款金额)
  17242. type: number
  17243. performanceplanid:
  17244. description: 履约计划ID[期权]
  17245. type: integer
  17246. performancestatus:
  17247. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  17248. type: integer
  17249. preexerciseprice:
  17250. description: 预申报价格
  17251. type: number
  17252. premium:
  17253. description: 权利金 - [持仓单的权利金]
  17254. type: number
  17255. qtydecimalplace:
  17256. description: 商品报价小数位
  17257. type: integer
  17258. recvamount:
  17259. description: 到账金额 = 成交金额 - 手续费
  17260. type: number
  17261. relatedouttradeid:
  17262. description: 关联外部成交单ID
  17263. type: integer
  17264. status:
  17265. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  17266. type: integer
  17267. totalamount:
  17268. description: 订单总额 = 成交金额 + 手续费
  17269. type: number
  17270. tradeamount:
  17271. description: 成交金额[账户币种,用于所有权]
  17272. type: number
  17273. tradedate:
  17274. description: 交易日(yyyyMMdd)
  17275. type: string
  17276. tradeid:
  17277. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17278. type: string
  17279. trademode:
  17280. description: 交易模式
  17281. type: integer
  17282. tradeprice:
  17283. description: 成交价格
  17284. type: number
  17285. tradeproperty:
  17286. description: 交易属性
  17287. type: integer
  17288. tradeqty:
  17289. description: 成交数量
  17290. type: number
  17291. tradetime:
  17292. description: 成交时间
  17293. type: string
  17294. tradetype:
  17295. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  17296. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  17297. type: integer
  17298. required:
  17299. - accountid
  17300. - buyorsell
  17301. - goodsid
  17302. - marketid
  17303. - memberuserid
  17304. - orderid
  17305. - tradeamount
  17306. - tradedate
  17307. - tradeid
  17308. - tradeprice
  17309. - tradeqty
  17310. - tradetime
  17311. type: object
  17312. order.QueryTradeOrderDetailRsp:
  17313. properties:
  17314. accountid:
  17315. description: 账户ID[报价币种]
  17316. type: integer
  17317. buildtype:
  17318. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  17319. type: integer
  17320. buyorsell:
  17321. description: 买卖 - 0:买 1:卖
  17322. type: integer
  17323. cancelorderid:
  17324. description: 撤单单号(撤单时填写)
  17325. type: string
  17326. cancelqty:
  17327. description: 撤单数量
  17328. type: number
  17329. clienttype:
  17330. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  17331. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  17332. type: integer
  17333. closefreezecharge:
  17334. description: 平仓冻结手续费(先建后平操作,需要记录)
  17335. type: number
  17336. closeqty:
  17337. description: 平仓数量(先建后平操作 需要记录)
  17338. type: number
  17339. closetradeqty:
  17340. description: 平仓成交数量(先建后平操作,需要记录)
  17341. type: number
  17342. closeunfreezecharge:
  17343. description: 平仓解冻手续费(先建后平操作,需要记录)
  17344. type: number
  17345. decimalplace:
  17346. description: 商品报价小数位
  17347. type: integer
  17348. delistingtype:
  17349. description: 摘牌类型 - 1:价格最优 2:点选成交
  17350. type: integer
  17351. enableqty:
  17352. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  17353. type: number
  17354. enumdicname:
  17355. description: 单位名称
  17356. type: string
  17357. freezecharge:
  17358. description: 冻结手续费
  17359. type: number
  17360. freezemargin:
  17361. description: 冻结保证金(冻结交易金额)
  17362. type: number
  17363. goodscode:
  17364. description: 商品代码
  17365. type: string
  17366. goodsid:
  17367. description: 商品ID
  17368. type: integer
  17369. goodsname:
  17370. description: 商品名称
  17371. type: string
  17372. goodunitid:
  17373. description: 商品单位id
  17374. type: integer
  17375. listingselecttype:
  17376. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  17377. type: integer
  17378. marketid:
  17379. description: 市场ID
  17380. type: integer
  17381. marketname:
  17382. description: 市场名称
  17383. type: string
  17384. openfreezecharge:
  17385. description: 开仓冻结手续费(先建后平操作,需要记录)
  17386. type: number
  17387. openqty:
  17388. description: 开仓数量(先建后平操作,需要记录)
  17389. type: number
  17390. opentradeqty:
  17391. description: 开仓成交数量(先建后平操作,需要记录)
  17392. type: number
  17393. openunfreezecharge:
  17394. description: 开仓解冻手续费(先建后平操作,需要记录)
  17395. type: number
  17396. operatetype:
  17397. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  17398. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  17399. 15:管理端协议转让
  17400. type: integer
  17401. operatorid:
  17402. description: 登录账号(LoginID)
  17403. type: integer
  17404. orderid:
  17405. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17406. type: string
  17407. orderprice:
  17408. description: 委托价格
  17409. type: number
  17410. orderqty:
  17411. description: 委托数量
  17412. type: number
  17413. ordersrc:
  17414. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  17415. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  17416. type: integer
  17417. orderstatus:
  17418. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  17419. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  17420. 16:成交失败违约(荷兰式竞拍专用)
  17421. type: integer
  17422. ordertime:
  17423. description: 委托时间
  17424. type: string
  17425. preorderid:
  17426. description: 关联预埋单号(止盈止损单时填写)
  17427. type: string
  17428. pricemode:
  17429. description: '取价方式 - 1:市价 2: 限价'
  17430. type: integer
  17431. qtydecimalplace:
  17432. description: 商品报价小数位
  17433. type: integer
  17434. relatedid:
  17435. description: 关联单号(交割单)
  17436. type: string
  17437. tradedate:
  17438. description: 交易日(yyyyMMdd)
  17439. type: string
  17440. trademode:
  17441. description: 交易模式
  17442. type: integer
  17443. tradeqty:
  17444. description: 成交数量
  17445. type: number
  17446. unfreezecharge:
  17447. description: 解冻手续费
  17448. type: number
  17449. unfreezemargin:
  17450. description: 解冻保证金
  17451. type: number
  17452. validtime:
  17453. description: 有效期限
  17454. type: string
  17455. validtype:
  17456. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  17457. type: integer
  17458. volumetype:
  17459. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  17460. type: integer
  17461. required:
  17462. - accountid
  17463. - buildtype
  17464. - buyorsell
  17465. - goodsid
  17466. - marketid
  17467. - operatetype
  17468. - orderqty
  17469. - ordertime
  17470. - pricemode
  17471. - tradedate
  17472. - validtype
  17473. type: object
  17474. order.QueryTradePositionRsp:
  17475. properties:
  17476. accountid:
  17477. description: 资金账户
  17478. type: integer
  17479. agreeunit:
  17480. description: 合约单位
  17481. type: number
  17482. averageprice:
  17483. description: 持仓均价
  17484. type: number
  17485. buyorsell:
  17486. description: 方向 - 0:买 1:卖
  17487. type: integer
  17488. closetotalqty:
  17489. description: 平仓总数量
  17490. type: number
  17491. curholderamount:
  17492. description: 当前持仓总金额[商品币种]
  17493. type: number
  17494. curpositionqty:
  17495. description: 当前持仓总数量
  17496. type: number
  17497. currencyid:
  17498. description: 报价货币ID
  17499. type: integer
  17500. curtdposition:
  17501. description: 期末今日头寸
  17502. type: number
  17503. decimalplace:
  17504. description: 报价小数位
  17505. type: integer
  17506. enableqty:
  17507. description: 可用量
  17508. type: number
  17509. fretdposition:
  17510. description: 冻结今日头寸
  17511. type: number
  17512. frozenqty:
  17513. description: 持仓冻结数量
  17514. type: number
  17515. goodscode:
  17516. description: 商品代码
  17517. type: string
  17518. goodsid:
  17519. description: 商品Id
  17520. type: integer
  17521. goodsname:
  17522. description: 商品名称
  17523. type: string
  17524. goodunit:
  17525. description: 报价单位
  17526. type: string
  17527. goodunitid:
  17528. description: 报价单位ID
  17529. type: integer
  17530. holderamount:
  17531. description: 期初持仓总金额[商品币种]
  17532. type: number
  17533. lastprice:
  17534. description: 最新价
  17535. type: number
  17536. marketamount:
  17537. description: 市值
  17538. type: number
  17539. marketid:
  17540. description: 所属市场ID
  17541. type: integer
  17542. openreqqty:
  17543. description: 开仓申请数量(用于比较最大持仓数量)
  17544. type: number
  17545. opentotalqty:
  17546. description: 开仓总数量
  17547. type: number
  17548. otherfrozenqty:
  17549. description: 持仓其他冻结数量(交割冻结)
  17550. type: number
  17551. positionpl:
  17552. description: 持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸
  17553. * 合约单位
  17554. type: number
  17555. positionplrate:
  17556. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  17557. type: number
  17558. positionqty:
  17559. description: 期初持仓数量
  17560. type: number
  17561. qtydecimalplace:
  17562. description: 成交量小数位
  17563. type: integer
  17564. refgoodscode:
  17565. description: 参考商品代码
  17566. type: string
  17567. refgoodsid:
  17568. description: 参考商品ID
  17569. type: integer
  17570. tnqty:
  17571. description: T+N冻结总量
  17572. type: number
  17573. tnusedqty:
  17574. description: T+N使用量(可以使用T+N的冻结数量)
  17575. type: number
  17576. trademode:
  17577. description: 交易模式
  17578. type: integer
  17579. tradeproperty:
  17580. description: 交易属性
  17581. type: integer
  17582. usedmargin:
  17583. description: 占用保证金[商品币种]
  17584. type: number
  17585. required:
  17586. - goodsid
  17587. type: object
  17588. pb.GoodsMarginCfgStruct:
  17589. properties:
  17590. CustomerTypeID:
  17591. description: 投资者客户类型
  17592. type: integer
  17593. GoodsID:
  17594. description: 商品ID
  17595. type: integer
  17596. IsDefault:
  17597. description: 是否默认标志位
  17598. type: integer
  17599. LockMarginValue:
  17600. description: 锁仓保证金
  17601. type: number
  17602. MarginAlgorithm:
  17603. description: 保证金计算方式
  17604. type: integer
  17605. MarketMarginValue:
  17606. description: 即市保证金值
  17607. type: number
  17608. RealMarginAlgorithm:
  17609. description: 实付保证金计算方式
  17610. type: integer
  17611. RealMarginValue:
  17612. description: 实付比例
  17613. type: number
  17614. ReckonMarginValue:
  17615. description: 结算保证金值
  17616. type: number
  17617. type: object
  17618. quote.HistoryData:
  17619. properties:
  17620. c:
  17621. description: 收盘价
  17622. type: number
  17623. f:
  17624. description: 是否补充数据
  17625. type: boolean
  17626. h:
  17627. description: 最高价
  17628. type: number
  17629. hv:
  17630. description: 持仓量
  17631. type: integer
  17632. l:
  17633. description: 最低价
  17634. type: number
  17635. o:
  17636. description: 开盘价
  17637. type: number
  17638. s:
  17639. description: 结算价,日线周期(包括)以上才有
  17640. type: number
  17641. ts:
  17642. description: 时间
  17643. type: string
  17644. tt:
  17645. description: 总金额
  17646. type: number
  17647. tv:
  17648. description: 总量(成交量)
  17649. type: integer
  17650. type: object
  17651. quote.HistoryTikData:
  17652. properties:
  17653. AV:
  17654. description: 卖量
  17655. type: integer
  17656. Ask:
  17657. description: 卖价
  17658. type: number
  17659. BV:
  17660. description: 买量
  17661. type: integer
  17662. Bid:
  17663. description: 买价
  17664. type: number
  17665. HI:
  17666. description: 单笔持仓
  17667. type: integer
  17668. HV:
  17669. description: 持仓量
  17670. type: integer
  17671. PE:
  17672. description: 现价
  17673. type: number
  17674. TDR:
  17675. description: 交易方向,0:买 1:卖
  17676. type: integer
  17677. TK:
  17678. description: 交易类型
  17679. type: integer
  17680. TS:
  17681. description: 行情时间文本
  17682. type: string
  17683. TT:
  17684. description: 现金额
  17685. type: number
  17686. Vol:
  17687. description: 现量
  17688. type: integer
  17689. type: object
  17690. quote.QueryQuoteDayRsp:
  17691. properties:
  17692. ask:
  17693. description: 卖1
  17694. type: number
  17695. ask2:
  17696. description: 卖2
  17697. type: number
  17698. ask3:
  17699. description: 卖3
  17700. type: number
  17701. ask4:
  17702. description: 卖4
  17703. type: number
  17704. ask5:
  17705. description: 卖5
  17706. type: number
  17707. ask6:
  17708. description: 卖6
  17709. type: number
  17710. ask7:
  17711. description: 卖7
  17712. type: number
  17713. ask8:
  17714. description: 卖8
  17715. type: number
  17716. ask9:
  17717. description: 卖9
  17718. type: number
  17719. ask10:
  17720. description: 卖10
  17721. type: number
  17722. askorderid:
  17723. description: 卖单号1
  17724. type: integer
  17725. askorderid2:
  17726. description: 卖单号2
  17727. type: integer
  17728. askorderid3:
  17729. description: 卖单号3
  17730. type: integer
  17731. askorderid4:
  17732. description: 卖单号4
  17733. type: integer
  17734. askorderid5:
  17735. description: 卖单号5
  17736. type: integer
  17737. askordervolume:
  17738. description: 卖单量1
  17739. type: integer
  17740. askordervolume2:
  17741. description: 卖单量2
  17742. type: integer
  17743. askordervolume3:
  17744. description: 卖单量3
  17745. type: integer
  17746. askordervolume4:
  17747. description: 卖单量4
  17748. type: integer
  17749. askordervolume5:
  17750. description: 卖单量5
  17751. type: integer
  17752. askordervolume6:
  17753. description: 卖单量6
  17754. type: integer
  17755. askordervolume7:
  17756. description: 卖单量7
  17757. type: integer
  17758. askordervolume8:
  17759. description: 卖单量8
  17760. type: integer
  17761. askordervolume9:
  17762. description: 卖单量9
  17763. type: integer
  17764. askordervolume10:
  17765. description: 卖单量10
  17766. type: integer
  17767. askqueueinfo:
  17768. description: 大利市卖港股用
  17769. type: string
  17770. askvolume:
  17771. description: 卖量1
  17772. type: integer
  17773. askvolume2:
  17774. description: 卖量2
  17775. type: integer
  17776. askvolume3:
  17777. description: 卖量3
  17778. type: integer
  17779. askvolume4:
  17780. description: 卖量4
  17781. type: integer
  17782. askvolume5:
  17783. description: 卖量5
  17784. type: integer
  17785. askvolume6:
  17786. description: 卖量6
  17787. type: integer
  17788. askvolume7:
  17789. description: 卖量7
  17790. type: integer
  17791. askvolume8:
  17792. description: 卖量8
  17793. type: integer
  17794. askvolume9:
  17795. description: 卖量9
  17796. type: integer
  17797. askvolume10:
  17798. description: 卖量10
  17799. type: integer
  17800. averageprice:
  17801. description: 均价
  17802. type: number
  17803. bid:
  17804. description: 买1
  17805. type: number
  17806. bid2:
  17807. description: 买2
  17808. type: number
  17809. bid3:
  17810. description: 买3
  17811. type: number
  17812. bid4:
  17813. description: 买4
  17814. type: number
  17815. bid5:
  17816. description: 买5
  17817. type: number
  17818. bid6:
  17819. description: 买6
  17820. type: number
  17821. bid7:
  17822. description: 买7
  17823. type: number
  17824. bid8:
  17825. description: 买8
  17826. type: number
  17827. bid9:
  17828. description: 买9
  17829. type: number
  17830. bid10:
  17831. description: 买10
  17832. type: number
  17833. bidorderid:
  17834. description: 买单号1
  17835. type: integer
  17836. bidorderid2:
  17837. description: 买单号2
  17838. type: integer
  17839. bidorderid3:
  17840. description: 买单号3
  17841. type: integer
  17842. bidorderid4:
  17843. description: 买单号4
  17844. type: integer
  17845. bidorderid5:
  17846. description: 买单号5
  17847. type: integer
  17848. bidordervolume:
  17849. description: 买单量1
  17850. type: integer
  17851. bidordervolume2:
  17852. description: 买单量2
  17853. type: integer
  17854. bidordervolume3:
  17855. description: 买单量3
  17856. type: integer
  17857. bidordervolume4:
  17858. description: 买单量4
  17859. type: integer
  17860. bidordervolume5:
  17861. description: 买单量5
  17862. type: integer
  17863. bidordervolume6:
  17864. description: 买单量6
  17865. type: integer
  17866. bidordervolume7:
  17867. description: 买单量7
  17868. type: integer
  17869. bidordervolume8:
  17870. description: 买单量8
  17871. type: integer
  17872. bidordervolume9:
  17873. description: 买单量9
  17874. type: integer
  17875. bidordervolume10:
  17876. description: 买单量10
  17877. type: integer
  17878. bidqueueinfo:
  17879. description: 大利市买港股用
  17880. type: string
  17881. bidvolume:
  17882. description: 买量1
  17883. type: integer
  17884. bidvolume2:
  17885. description: 买量2
  17886. type: integer
  17887. bidvolume3:
  17888. description: 买量3
  17889. type: integer
  17890. bidvolume4:
  17891. description: 买量4
  17892. type: integer
  17893. bidvolume5:
  17894. description: 买量5
  17895. type: integer
  17896. bidvolume6:
  17897. description: 买量6
  17898. type: integer
  17899. bidvolume7:
  17900. description: 买量7
  17901. type: integer
  17902. bidvolume8:
  17903. description: 买量8
  17904. type: integer
  17905. bidvolume9:
  17906. description: 买量9
  17907. type: integer
  17908. bidvolume10:
  17909. description: 买量10
  17910. type: integer
  17911. calloptionpremiums:
  17912. description: 认购期权1
  17913. type: integer
  17914. calloptionpremiums2:
  17915. description: 认购期权2
  17916. type: integer
  17917. calloptionpremiums3:
  17918. description: 认购期权3
  17919. type: integer
  17920. calloptionpremiums4:
  17921. description: 认购期权4
  17922. type: integer
  17923. calloptionpremiums5:
  17924. description: 认购期权5
  17925. type: integer
  17926. cleartime:
  17927. description: 清盘时间
  17928. type: integer
  17929. exchangecode:
  17930. description: 交易所代码
  17931. type: integer
  17932. exchangedate:
  17933. description: 交易日
  17934. type: integer
  17935. goodscode:
  17936. description: 商品代码
  17937. type: string
  17938. grepmarketprice:
  17939. description: 暗盘价 港股专用
  17940. type: number
  17941. highest:
  17942. description: 最高价
  17943. type: number
  17944. holdincrement:
  17945. description: 单笔持仓
  17946. type: integer
  17947. holdvolume:
  17948. description: 持仓
  17949. type: integer
  17950. iep:
  17951. description: 平衡价 港股专用
  17952. type: number
  17953. iev:
  17954. description: 平衡量 港股专用
  17955. type: number
  17956. inventory:
  17957. description: 库存
  17958. type: integer
  17959. iscleared:
  17960. description: 是否清盘标志
  17961. type: integer
  17962. issettled:
  17963. description: 是否结算标志
  17964. type: integer
  17965. last:
  17966. description: 最新价
  17967. type: number
  17968. lastlot:
  17969. description: 最新成交手数
  17970. type: integer
  17971. lasttime:
  17972. description: 行情时间(只有现价变化行情时间才变化)
  17973. type: string
  17974. lastturnover:
  17975. description: 最新成交金额
  17976. type: number
  17977. lastvolume:
  17978. description: 最新成交量
  17979. type: integer
  17980. limitdown:
  17981. description: 跌停价
  17982. type: number
  17983. limitup:
  17984. description: 涨停价
  17985. type: number
  17986. lowest:
  17987. description: 最低价
  17988. type: number
  17989. nontotalholdervolume:
  17990. description: 非交易持仓量
  17991. type: integer
  17992. nontotallot:
  17993. description: 非交易总手数
  17994. type: integer
  17995. nontotalturnover:
  17996. description: 非交易总金额
  17997. type: integer
  17998. nontotalvolume:
  17999. description: 非交易总量
  18000. type: integer
  18001. opened:
  18002. description: 开盘价
  18003. type: number
  18004. opentime:
  18005. description: 开盘时间
  18006. type: string
  18007. orderid:
  18008. description: 序号
  18009. type: integer
  18010. preclose:
  18011. description: 昨收
  18012. type: number
  18013. preholdvolume:
  18014. description: 昨持仓
  18015. type: integer
  18016. presettle:
  18017. description: 昨结价
  18018. type: number
  18019. publictradetype:
  18020. description: 公共交易标志类型 港股专用
  18021. type: string
  18022. putoptionpremiums:
  18023. description: 认沽期权1
  18024. type: integer
  18025. putoptionpremiums2:
  18026. description: 认沽期权2
  18027. type: integer
  18028. putoptionpremiums3:
  18029. description: 认沽期权3
  18030. type: integer
  18031. putoptionpremiums4:
  18032. description: 认沽期权4
  18033. type: integer
  18034. putoptionpremiums5:
  18035. description: 认沽期权5
  18036. type: integer
  18037. settle:
  18038. description: 结算价
  18039. type: number
  18040. strikeprice:
  18041. description: 发行价
  18042. type: number
  18043. totalaskvolume:
  18044. description: 内盘
  18045. type: integer
  18046. totalbidvolume:
  18047. description: 外盘
  18048. type: integer
  18049. totallot:
  18050. description: 总手数
  18051. type: integer
  18052. totalturnover:
  18053. description: 总金额
  18054. type: number
  18055. totalvolume:
  18056. description: 总量
  18057. type: integer
  18058. utclasttime:
  18059. description: utc的行情时间
  18060. type: string
  18061. type: object
  18062. quote.QueryTSDataRsp:
  18063. properties:
  18064. Count:
  18065. description: 交易日应有数据个数
  18066. type: integer
  18067. decimalPlace:
  18068. description: 小数位
  18069. type: integer
  18070. endTime:
  18071. description: 结束时间
  18072. type: string
  18073. goodsCode:
  18074. description: 商品代码
  18075. type: string
  18076. historyDatas:
  18077. description: 历史数据
  18078. items:
  18079. $ref: '#/definitions/quote.HistoryData'
  18080. type: array
  18081. outGoodsCode:
  18082. description: 外部商品代码
  18083. type: string
  18084. preSettle:
  18085. description: 昨结价
  18086. type: number
  18087. runSteps:
  18088. description: 交易日开休市计划
  18089. items:
  18090. $ref: '#/definitions/quote.TSDataRunStep'
  18091. type: array
  18092. startTime:
  18093. description: 开始时间
  18094. type: string
  18095. tradeDate:
  18096. description: 交易日
  18097. type: string
  18098. type: object
  18099. quote.TSDataRunStep:
  18100. properties:
  18101. end:
  18102. description: 真实结束时间
  18103. type: string
  18104. endflag:
  18105. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  18106. type: integer
  18107. endtime:
  18108. description: 结束时间(HH:mm)
  18109. type: string
  18110. endweekday:
  18111. description: 结束周几
  18112. type: integer
  18113. groupid:
  18114. description: 分组ID
  18115. type: integer
  18116. runstep:
  18117. description: 运行阶段 - 2:连续交易
  18118. type: integer
  18119. sectionid:
  18120. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几,
  18121. 结束时间=结算时间 结束周几=结算周几
  18122. type: integer
  18123. start:
  18124. description: 真实开始时间
  18125. type: string
  18126. startflag:
  18127. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  18128. type: integer
  18129. starttime:
  18130. description: 起始时间(HH:mm)
  18131. type: string
  18132. startweekday:
  18133. description: 起始周几
  18134. type: integer
  18135. tradeweekday:
  18136. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  18137. type: integer
  18138. type: object
  18139. szdz.QueryConvertLogRsp:
  18140. properties:
  18141. accountid:
  18142. description: 资金账户ID
  18143. type: integer
  18144. clientticket:
  18145. description: 客户端流水号
  18146. type: string
  18147. converttype:
  18148. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  18149. type: integer
  18150. createtime:
  18151. description: 记账时间
  18152. type: string
  18153. daymaxvalue:
  18154. description: 配置当日最大转入限制
  18155. type: number
  18156. daymaxvalue2:
  18157. description: 配置当日最大转入限制(转入)
  18158. type: number
  18159. goodscode:
  18160. description: 商品代码
  18161. type: string
  18162. goodsname:
  18163. description: 商品名称
  18164. type: string
  18165. handlestatus:
  18166. description: 处理状态
  18167. type: integer
  18168. innergoodsid:
  18169. description: 内部商品ID
  18170. type: integer
  18171. inratio:
  18172. description: 配置转入比值
  18173. type: integer
  18174. invalue:
  18175. description: 目标值
  18176. type: number
  18177. logid:
  18178. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  18179. type: integer
  18180. mobile:
  18181. description: 手机号码(加密存储)
  18182. type: string
  18183. outergoodscode:
  18184. description: 外部商品代码[JD\PD]
  18185. type: string
  18186. outratio:
  18187. description: 配置转出比值
  18188. type: integer
  18189. outvalue:
  18190. description: 源值
  18191. type: number
  18192. pddecimalplace:
  18193. description: PD小数位
  18194. type: integer
  18195. qty:
  18196. description: 数量
  18197. type: string
  18198. remark:
  18199. description: 备注
  18200. type: string
  18201. sessionid:
  18202. description: 会话ID
  18203. type: integer
  18204. timemaxvalue:
  18205. description: 配置单次最大转入限制
  18206. type: number
  18207. timemaxvalue2:
  18208. description: 配置单次最大转入限制(转入)
  18209. type: number
  18210. timeminvalue:
  18211. description: 配置单次最小数量限制
  18212. type: number
  18213. timeminvalue2:
  18214. description: 配置单次最小数量限制(转入)
  18215. type: number
  18216. tradedate:
  18217. description: 交易日(yyyyMMdd)
  18218. type: string
  18219. userid:
  18220. description: 用户ID
  18221. type: integer
  18222. required:
  18223. - logid
  18224. type: object
  18225. szdz.QueryGoodsPickupRsp:
  18226. properties:
  18227. accountid:
  18228. description: 账户ID
  18229. type: integer
  18230. address:
  18231. description: 提货人详细地址
  18232. type: string
  18233. auditer:
  18234. description: 审核人
  18235. type: integer
  18236. audittime:
  18237. description: 审核时间
  18238. type: string
  18239. cardnum:
  18240. description: 提货人证件号码
  18241. type: string
  18242. cardtypeid:
  18243. description: 提货人证件类型
  18244. type: integer
  18245. checkremark:
  18246. description: 审核备注
  18247. type: string
  18248. goodscode:
  18249. description: 商品代码
  18250. type: string
  18251. goodsid:
  18252. description: 商品ID
  18253. type: integer
  18254. goodsname:
  18255. description: 商品名称
  18256. type: string
  18257. handlestatus:
  18258. description: 处理状态
  18259. type: integer
  18260. marketid:
  18261. description: 市场ID
  18262. type: integer
  18263. phonenum:
  18264. description: 提货人联系方式
  18265. type: string
  18266. qty:
  18267. description: 提货数量
  18268. type: number
  18269. recivername:
  18270. description: 提货人姓名
  18271. type: string
  18272. reqtime:
  18273. description: 更新时间
  18274. type: string
  18275. takemode:
  18276. description: 提货方式 - 2:自提 3:配送
  18277. type: integer
  18278. takeorderid:
  18279. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  18280. type: string
  18281. takeorderstatus:
  18282. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  18283. type: integer
  18284. takeremark:
  18285. description: 提货备注
  18286. type: string
  18287. tradedate:
  18288. description: 交易日(yyyyMMdd)
  18289. type: string
  18290. userid:
  18291. description: 用户ID
  18292. type: integer
  18293. required:
  18294. - takeorderid
  18295. type: object
  18296. szdz.QueryRecieptOrderRsp:
  18297. properties:
  18298. accountName:
  18299. description: 所属账号名称(已脱敏)
  18300. type: string
  18301. accountid:
  18302. description: 资金账号
  18303. type: integer
  18304. buyorsell:
  18305. description: 方向 - 0:买 1:卖
  18306. type: integer
  18307. enableqty:
  18308. description: 可摘数量
  18309. type: integer
  18310. goodscode:
  18311. description: 商品代码
  18312. type: string
  18313. goodsid:
  18314. description: 商品ID
  18315. type: integer
  18316. goodsname:
  18317. description: 商品名称
  18318. type: string
  18319. orderid:
  18320. description: 委托单号
  18321. type: string
  18322. orderprice:
  18323. description: 委托价格
  18324. type: number
  18325. ordertime:
  18326. description: 委托时间
  18327. type: string
  18328. tradedate:
  18329. description: 交易日(yyyyMMdd)
  18330. type: string
  18331. required:
  18332. - ordertime
  18333. type: object
  18334. szdz.QuerySZDZTradePositionRsp:
  18335. properties:
  18336. accountid:
  18337. description: 账号Id
  18338. type: integer
  18339. agreeunit:
  18340. description: 合约单位
  18341. type: number
  18342. averageprice:
  18343. description: 持仓均价
  18344. type: number
  18345. buyorsell:
  18346. description: 方向 - 0:买 1:卖
  18347. type: integer
  18348. closetotalqty:
  18349. description: 平仓总数量
  18350. type: integer
  18351. curholderamount:
  18352. description: 当前持仓总金额
  18353. type: number
  18354. curpositionqty:
  18355. description: 当前持仓总数量
  18356. type: integer
  18357. currencyid:
  18358. description: 报价货币ID
  18359. type: integer
  18360. curtdposition:
  18361. description: 期末今日头寸
  18362. type: integer
  18363. decimalplace:
  18364. description: 报价小数位
  18365. type: integer
  18366. enableqty:
  18367. description: 可用量
  18368. type: integer
  18369. fretdposition:
  18370. description: 冻结今日头寸
  18371. type: integer
  18372. frozenqty:
  18373. description: 持仓冻结数量
  18374. type: integer
  18375. goodscode:
  18376. description: 商品代码(内部)
  18377. type: string
  18378. goodsid:
  18379. description: 商品Id
  18380. type: integer
  18381. goodsname:
  18382. description: 商品名称
  18383. type: string
  18384. goodunit:
  18385. description: 报价单位
  18386. type: string
  18387. goodunitid:
  18388. description: 报价单位ID
  18389. type: integer
  18390. holderamount:
  18391. description: 期初持仓总金额
  18392. type: number
  18393. marketid:
  18394. description: 市场ID
  18395. type: integer
  18396. openreqqty:
  18397. description: 开仓申请数量
  18398. type: integer
  18399. opentotalqty:
  18400. description: 开仓总数量
  18401. type: integer
  18402. otherfrozenqty:
  18403. description: 持仓其他冻结数量(交割冻结)
  18404. type: integer
  18405. positionqty:
  18406. description: 期初持仓数量
  18407. type: integer
  18408. szdz3freezqty:
  18409. description: 尚志大宗转换冻结总数量
  18410. type: integer
  18411. tnqty:
  18412. description: T+N冻结总量
  18413. type: integer
  18414. tnusedqty:
  18415. description: T+N使用量
  18416. type: integer
  18417. trademode:
  18418. description: 交易模式
  18419. type: integer
  18420. usedmargin:
  18421. description: 占用保证金
  18422. type: number
  18423. type: object
  18424. taaccount.QueryAmountLogRsp:
  18425. properties:
  18426. OPERATETYPENAME:
  18427. description: 资金操作类型名称
  18428. type: string
  18429. accountid:
  18430. description: 资金账户ID
  18431. type: integer
  18432. agoodscode:
  18433. description: 竞拍商品代码
  18434. type: string
  18435. agoodsname:
  18436. description: 竞拍商品名称
  18437. type: string
  18438. amount:
  18439. description: 资金金额
  18440. type: number
  18441. amountadjusttype:
  18442. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  18443. type: integer
  18444. autoid:
  18445. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  18446. type: integer
  18447. balance:
  18448. description: 期初余额
  18449. type: number
  18450. businesscode:
  18451. description: 业务编号
  18452. type: integer
  18453. createtime:
  18454. description: 发生时间
  18455. type: string
  18456. currencyid:
  18457. description: 币种ID
  18458. type: integer
  18459. currentbalance:
  18460. description: 期末余额(变动后金额)
  18461. type: number
  18462. dgoodscode:
  18463. description: 交割商品代码
  18464. type: string
  18465. dgoodsname:
  18466. description: 交割商品名称
  18467. type: string
  18468. goodscode:
  18469. description: 商品代码
  18470. type: string
  18471. goodsid:
  18472. description: 商品ID
  18473. type: integer
  18474. goodsname:
  18475. description: 商品名称
  18476. type: string
  18477. marketid:
  18478. description: 市场ID
  18479. type: integer
  18480. marketname:
  18481. description: 市场名称
  18482. type: string
  18483. moneyticket:
  18484. description: 资金流水号:银行端流水号
  18485. type: integer
  18486. operatetype:
  18487. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  18488. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  18489. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  18490. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  18491. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  18492. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  18493. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  18494. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  18495. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  18496. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  18497. type: integer
  18498. relationorderid:
  18499. description: 关联单号
  18500. type: string
  18501. remark:
  18502. description: 备注
  18503. type: string
  18504. trademode:
  18505. description: 交易模式
  18506. type: integer
  18507. required:
  18508. - accountid
  18509. - amount
  18510. - amountadjusttype
  18511. - autoid
  18512. - balance
  18513. - createtime
  18514. - currentbalance
  18515. - operatetype
  18516. type: object
  18517. taaccount.QueryHisAmountLogRsp:
  18518. properties:
  18519. OPERATETYPENAME:
  18520. description: 资金操作类型名称
  18521. type: string
  18522. accountid:
  18523. description: 资金账户ID
  18524. type: integer
  18525. agoodscode:
  18526. description: 竞拍商品代码
  18527. type: string
  18528. agoodsname:
  18529. description: 竞拍商品名称
  18530. type: string
  18531. amount:
  18532. description: 资金金额
  18533. type: number
  18534. amountadjusttype:
  18535. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  18536. type: integer
  18537. autoid:
  18538. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  18539. type: integer
  18540. balance:
  18541. description: 期初余额
  18542. type: number
  18543. businesscode:
  18544. description: 业务编号
  18545. type: integer
  18546. createtime:
  18547. description: 发生时间
  18548. type: string
  18549. currencyid:
  18550. description: 币种ID
  18551. type: integer
  18552. currentbalance:
  18553. description: 期末余额(变动后金额)
  18554. type: number
  18555. dgoodscode:
  18556. description: 交割商品代码
  18557. type: string
  18558. dgoodsname:
  18559. description: 交割商品名称
  18560. type: string
  18561. goodscode:
  18562. description: 商品代码
  18563. type: string
  18564. goodsid:
  18565. description: 商品ID
  18566. type: integer
  18567. goodsname:
  18568. description: 商品名称
  18569. type: string
  18570. histradedate:
  18571. description: 历史交易日
  18572. type: string
  18573. isvaliddata:
  18574. description: 是否有效 - 0:无效 1:有效
  18575. type: integer
  18576. marketid:
  18577. description: 市场ID
  18578. type: integer
  18579. marketname:
  18580. description: 市场名称
  18581. type: string
  18582. moneyticket:
  18583. description: 资金流水号:银行端流水号
  18584. type: integer
  18585. operatetype:
  18586. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  18587. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  18588. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  18589. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  18590. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  18591. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  18592. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  18593. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  18594. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  18595. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  18596. type: integer
  18597. relationorderid:
  18598. description: 关联单号
  18599. type: string
  18600. remark:
  18601. description: 备注
  18602. type: string
  18603. trademode:
  18604. description: 交易模式
  18605. type: integer
  18606. required:
  18607. - accountid
  18608. - amount
  18609. - amountadjusttype
  18610. - autoid
  18611. - balance
  18612. - createtime
  18613. - currentbalance
  18614. - histradedate
  18615. - operatetype
  18616. type: object
  18617. trade.QueryRecieptOrderRsp:
  18618. properties:
  18619. accountName:
  18620. description: 所属账号名称(已脱敏)
  18621. type: string
  18622. accountid:
  18623. description: 资金账号
  18624. type: integer
  18625. buyorsell:
  18626. description: 方向 - 0:买 1:卖
  18627. type: integer
  18628. enableqty:
  18629. description: 可摘数量
  18630. type: integer
  18631. goodscode:
  18632. description: 商品代码
  18633. type: string
  18634. goodsid:
  18635. description: 商品ID
  18636. type: integer
  18637. goodsname:
  18638. description: 商品名称
  18639. type: string
  18640. orderid:
  18641. description: 委托单号
  18642. type: string
  18643. orderprice:
  18644. description: 委托价格
  18645. type: number
  18646. ordertime:
  18647. description: 委托时间
  18648. type: string
  18649. tradedate:
  18650. description: 交易日(yyyyMMdd)
  18651. type: string
  18652. required:
  18653. - ordertime
  18654. type: object
  18655. user.LoginQueryRsp:
  18656. properties:
  18657. areaRoles:
  18658. description: 所属角色信息
  18659. items:
  18660. $ref: '#/definitions/models.Arearole'
  18661. type: array
  18662. externalExchanges:
  18663. description: 外部交易所
  18664. items:
  18665. $ref: '#/definitions/models.Externalexchange'
  18666. type: array
  18667. goodsgroups:
  18668. description: 商品组
  18669. items:
  18670. $ref: '#/definitions/models.Goodsgroup'
  18671. type: array
  18672. loginAccount:
  18673. $ref: '#/definitions/models.Loginaccount'
  18674. description: 登录账号
  18675. markets:
  18676. description: 市场
  18677. items:
  18678. $ref: '#/definitions/models.Market'
  18679. type: array
  18680. systemParams:
  18681. description: 系统参数
  18682. items:
  18683. $ref: '#/definitions/models.Systemparam'
  18684. type: array
  18685. userAccount:
  18686. $ref: '#/definitions/models.Useraccount'
  18687. description: 用户账号
  18688. userInfo:
  18689. $ref: '#/definitions/models.Userinfo'
  18690. description: 用户信息
  18691. username:
  18692. description: 用户姓名
  18693. type: string
  18694. type: object
  18695. info:
  18696. contact: {}
  18697. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  18698. termsOfService: http://www.muchinfo.cn
  18699. title: MTP2.0 查询服务 API
  18700. version: "1.0"
  18701. paths:
  18702. /CPTrade/QueryCPTradeMyBidInfos:
  18703. get:
  18704. parameters:
  18705. - description: 资金账户
  18706. in: query
  18707. name: accountid
  18708. required: true
  18709. type: integer
  18710. - description: 预售市场ID
  18711. in: query
  18712. name: marketid
  18713. type: integer
  18714. - description: 预售商品ID
  18715. in: query
  18716. name: goodsid
  18717. type: integer
  18718. produces:
  18719. - application/json
  18720. responses:
  18721. "200":
  18722. description: OK
  18723. schema:
  18724. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  18725. "500":
  18726. description: Internal Server Error
  18727. schema:
  18728. $ref: '#/definitions/app.Response'
  18729. security:
  18730. - ApiKeyAuth: []
  18731. summary: 查询产能预售我的出价信息
  18732. tags:
  18733. - 产能预售
  18734. /CPTrade/QueryCPTradeOrderDetail:
  18735. get:
  18736. parameters:
  18737. - description: 预售商品ID
  18738. in: query
  18739. name: goodsid
  18740. type: integer
  18741. - description: 预售市场ID
  18742. in: query
  18743. name: marketid
  18744. type: integer
  18745. - description: 预售商品ID列表 - 格式:1,2,3
  18746. in: query
  18747. name: goodsids
  18748. type: string
  18749. produces:
  18750. - application/json
  18751. responses:
  18752. "200":
  18753. description: OK
  18754. schema:
  18755. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  18756. "500":
  18757. description: Internal Server Error
  18758. schema:
  18759. $ref: '#/definitions/app.Response'
  18760. security:
  18761. - ApiKeyAuth: []
  18762. summary: 查询产能预售委托单信息
  18763. tags:
  18764. - 产能预售
  18765. /CPTrade/QueryMyCPTradeGoods:
  18766. get:
  18767. parameters:
  18768. - description: 资金账户
  18769. in: query
  18770. name: accountid
  18771. required: true
  18772. type: integer
  18773. produces:
  18774. - application/json
  18775. responses:
  18776. "200":
  18777. description: OK
  18778. schema:
  18779. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  18780. "500":
  18781. description: Internal Server Error
  18782. schema:
  18783. $ref: '#/definitions/app.Response'
  18784. security:
  18785. - ApiKeyAuth: []
  18786. summary: 查询我的预售信息
  18787. tags:
  18788. - 产能预售
  18789. /CPTrade/QueryPositionCancel:
  18790. get:
  18791. parameters:
  18792. - description: 账户ID
  18793. in: query
  18794. name: userid
  18795. required: true
  18796. type: integer
  18797. - description: 注销ID
  18798. in: query
  18799. name: cancelid
  18800. type: integer
  18801. - description: 资金账户ID
  18802. in: query
  18803. name: accountid
  18804. type: integer
  18805. produces:
  18806. - application/json
  18807. responses:
  18808. "200":
  18809. description: OK
  18810. schema:
  18811. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  18812. "500":
  18813. description: Internal Server Error
  18814. schema:
  18815. $ref: '#/definitions/app.Response'
  18816. security:
  18817. - ApiKeyAuth: []
  18818. summary: 查询远期订单注销申请信息
  18819. tags:
  18820. - 产能预售
  18821. /CPTrade/QueryPreasleApply:
  18822. get:
  18823. parameters:
  18824. - description: 账户ID
  18825. in: query
  18826. name: userid
  18827. required: true
  18828. type: integer
  18829. - description: 申请ID
  18830. in: query
  18831. name: applyid
  18832. type: integer
  18833. - description: 资金账户ID
  18834. in: query
  18835. name: accountid
  18836. type: integer
  18837. produces:
  18838. - application/json
  18839. responses:
  18840. "200":
  18841. description: OK
  18842. schema:
  18843. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  18844. "500":
  18845. description: Internal Server Error
  18846. schema:
  18847. $ref: '#/definitions/app.Response'
  18848. security:
  18849. - ApiKeyAuth: []
  18850. summary: 查询产能预售申请信息
  18851. tags:
  18852. - 产能预售
  18853. /CPTrade/QueryPresaleGoodsEx:
  18854. get:
  18855. parameters:
  18856. - description: 预售商品ID
  18857. in: query
  18858. name: goodsid
  18859. type: integer
  18860. - description: 预售市场ID
  18861. in: query
  18862. name: marketid
  18863. type: integer
  18864. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  18865. in: query
  18866. name: presalemode
  18867. type: integer
  18868. - description: 预售商品ID列表 - 格式:1,2,3
  18869. in: query
  18870. name: goodsids
  18871. type: string
  18872. - description: 预售商品代码
  18873. in: query
  18874. name: goodscode
  18875. type: string
  18876. produces:
  18877. - application/json
  18878. responses:
  18879. "200":
  18880. description: OK
  18881. schema:
  18882. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  18883. "500":
  18884. description: Internal Server Error
  18885. schema:
  18886. $ref: '#/definitions/app.Response'
  18887. security:
  18888. - ApiKeyAuth: []
  18889. summary: 查询产能预售商品扩展信息
  18890. tags:
  18891. - 产能预售
  18892. /CPTrade/QueryUserGoodsData:
  18893. get:
  18894. parameters:
  18895. - description: 资金账户ID
  18896. in: query
  18897. name: accountid
  18898. required: true
  18899. type: integer
  18900. produces:
  18901. - application/json
  18902. responses:
  18903. "200":
  18904. description: OK
  18905. schema:
  18906. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  18907. "500":
  18908. description: Internal Server Error
  18909. schema:
  18910. $ref: '#/definitions/app.Response'
  18911. security:
  18912. - ApiKeyAuth: []
  18913. summary: 查询远期订单信息
  18914. tags:
  18915. - 产能预售
  18916. /Common/DeleteNewFuncmenu:
  18917. delete:
  18918. consumes:
  18919. - application/json
  18920. parameters:
  18921. - description: 菜单表数据,只需要resourcecode字段即可
  18922. in: body
  18923. name: data
  18924. required: true
  18925. schema:
  18926. $ref: '#/definitions/models.NewFuncmenulist'
  18927. produces:
  18928. - application/json
  18929. responses:
  18930. "200":
  18931. description: OK
  18932. schema:
  18933. $ref: '#/definitions/app.Response'
  18934. "500":
  18935. description: Internal Server Error
  18936. schema:
  18937. $ref: '#/definitions/app.Response'
  18938. security:
  18939. - ApiKeyAuth: []
  18940. summary: 删除菜单表数据
  18941. tags:
  18942. - 通用服务
  18943. /Common/FindNewFuncmenu:
  18944. get:
  18945. parameters:
  18946. - description: 资源代码
  18947. in: query
  18948. name: resourcecode
  18949. type: string
  18950. - description: 上级资源代码
  18951. in: query
  18952. name: parentcode
  18953. type: string
  18954. - description: 资源名(Title), 模糊查询
  18955. in: query
  18956. name: resourcename
  18957. type: string
  18958. - description: 菜单类型(格式:1,2,3) - 1:管理端 2:PC(C#) 3:移动(云平台) 4:终端(交易所) 5:PC(云平台)
  18959. in: query
  18960. name: menutype
  18961. type: string
  18962. produces:
  18963. - application/json
  18964. responses:
  18965. "200":
  18966. description: OK
  18967. schema:
  18968. items:
  18969. $ref: '#/definitions/models.NewFuncmenulist'
  18970. type: array
  18971. "500":
  18972. description: Internal Server Error
  18973. schema:
  18974. $ref: '#/definitions/app.Response'
  18975. security:
  18976. - ApiKeyAuth: []
  18977. summary: 获取菜单表数据
  18978. tags:
  18979. - 通用服务
  18980. /Common/GetAllEnums:
  18981. get:
  18982. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  18983. parameters:
  18984. - description: 起始自增ID
  18985. in: query
  18986. name: autoid
  18987. type: integer
  18988. produces:
  18989. - application/json
  18990. responses:
  18991. "200":
  18992. description: OK
  18993. schema:
  18994. $ref: '#/definitions/models.Enumdicitem'
  18995. "500":
  18996. description: Internal Server Error
  18997. schema:
  18998. $ref: '#/definitions/app.Response'
  18999. summary: 获取所有枚举信息
  19000. tags:
  19001. - 通用服务
  19002. /Common/GetClientMenus:
  19003. get:
  19004. parameters:
  19005. - description: 登录账号
  19006. in: query
  19007. name: loginID
  19008. required: true
  19009. type: integer
  19010. - description: 终端类型,0:PCWEB 1:Mobile,不传默认返回PC端数据
  19011. in: query
  19012. name: clientType
  19013. type: integer
  19014. - description: 分支名称,ermcp-风管云平台;pingan-平安期货;trader-交易所;不传默认返回风管云平台
  19015. in: query
  19016. name: name
  19017. type: string
  19018. produces:
  19019. - application/json
  19020. responses:
  19021. "200":
  19022. description: OK
  19023. schema:
  19024. items:
  19025. $ref: '#/definitions/common.ClientMenu'
  19026. type: array
  19027. "500":
  19028. description: Internal Server Error
  19029. schema:
  19030. $ref: '#/definitions/app.Response'
  19031. security:
  19032. - ApiKeyAuth: []
  19033. summary: 获取交易端菜单
  19034. tags:
  19035. - 通用服务
  19036. /Common/GetClientNewFuncmenu:
  19037. get:
  19038. parameters:
  19039. - description: 登录账号
  19040. in: query
  19041. name: loginid
  19042. required: true
  19043. type: integer
  19044. - description: 菜单类型 - 1:管理端 2:PC(C#) 3:移动(云平台) 4:终端(交易所) 5:PC(云平台)
  19045. in: query
  19046. name: menutype
  19047. required: true
  19048. type: integer
  19049. produces:
  19050. - application/json
  19051. responses:
  19052. "200":
  19053. description: OK
  19054. schema:
  19055. items:
  19056. $ref: '#/definitions/models.NewFuncmenulist'
  19057. type: array
  19058. "500":
  19059. description: Internal Server Error
  19060. schema:
  19061. $ref: '#/definitions/app.Response'
  19062. security:
  19063. - ApiKeyAuth: []
  19064. summary: 获取终端菜单
  19065. tags:
  19066. - 通用服务
  19067. /Common/GetDivisions:
  19068. get:
  19069. produces:
  19070. - application/json
  19071. responses:
  19072. "200":
  19073. description: OK
  19074. schema:
  19075. $ref: '#/definitions/models.Division'
  19076. "500":
  19077. description: Internal Server Error
  19078. schema:
  19079. $ref: '#/definitions/app.Response'
  19080. summary: 查询区域信息
  19081. tags:
  19082. - 通用服务
  19083. /Common/GetPCWebMenus:
  19084. get:
  19085. parameters:
  19086. - description: 登录账号
  19087. in: query
  19088. name: loginID
  19089. required: true
  19090. type: integer
  19091. - description: 分支名称,ermcp:风管云平台,不传默认返回ermcp
  19092. in: query
  19093. name: name
  19094. type: string
  19095. produces:
  19096. - application/json
  19097. responses:
  19098. "200":
  19099. description: OK
  19100. schema:
  19101. items:
  19102. $ref: '#/definitions/common.PCWebMenu'
  19103. type: array
  19104. "500":
  19105. description: Internal Server Error
  19106. schema:
  19107. $ref: '#/definitions/app.Response'
  19108. security:
  19109. - ApiKeyAuth: []
  19110. summary: 获取PCWeb交易端菜单
  19111. tags:
  19112. - 通用服务
  19113. /Common/GetServerTime:
  19114. get:
  19115. produces:
  19116. - application/json
  19117. responses:
  19118. "200":
  19119. description: OK
  19120. schema:
  19121. $ref: '#/definitions/app.Response'
  19122. "500":
  19123. description: Internal Server Error
  19124. schema:
  19125. $ref: '#/definitions/app.Response'
  19126. summary: 获取服务器时间
  19127. tags:
  19128. - 通用服务
  19129. /Common/InsertNewFuncmenu:
  19130. post:
  19131. consumes:
  19132. - application/json
  19133. parameters:
  19134. - description: 菜单表数据
  19135. in: body
  19136. name: data
  19137. required: true
  19138. schema:
  19139. $ref: '#/definitions/models.NewFuncmenulist'
  19140. produces:
  19141. - application/json
  19142. responses:
  19143. "200":
  19144. description: OK
  19145. schema:
  19146. $ref: '#/definitions/app.Response'
  19147. "500":
  19148. description: Internal Server Error
  19149. schema:
  19150. $ref: '#/definitions/app.Response'
  19151. security:
  19152. - ApiKeyAuth: []
  19153. summary: 插入菜单表数据
  19154. tags:
  19155. - 通用服务
  19156. /Common/NoticeReaded:
  19157. post:
  19158. parameters:
  19159. - description: 登录账号
  19160. in: query
  19161. name: loginID
  19162. required: true
  19163. type: integer
  19164. - description: 通知公告ID
  19165. in: query
  19166. name: noticeID
  19167. required: true
  19168. type: integer
  19169. produces:
  19170. - application/json
  19171. responses:
  19172. "200":
  19173. description: OK
  19174. schema:
  19175. $ref: '#/definitions/app.Response'
  19176. "500":
  19177. description: Internal Server Error
  19178. schema:
  19179. $ref: '#/definitions/app.Response'
  19180. security:
  19181. - ApiKeyAuth: []
  19182. summary: 通知公告设置已读请求
  19183. tags:
  19184. - 通用服务
  19185. /Common/QueryErrorInfos:
  19186. get:
  19187. description: 如果传入rowNumber,则返回此rowNumber后的数据
  19188. parameters:
  19189. - description: 起始行号前索引
  19190. in: query
  19191. name: rowNumber
  19192. type: string
  19193. produces:
  19194. - application/json
  19195. responses:
  19196. "200":
  19197. description: OK
  19198. schema:
  19199. $ref: '#/definitions/models.QueryErrorInfosRsp'
  19200. "500":
  19201. description: Internal Server Error
  19202. schema:
  19203. $ref: '#/definitions/app.Response'
  19204. summary: 获取数据库错误信息
  19205. tags:
  19206. - 通用服务
  19207. /Common/QueryImageConfigs:
  19208. get:
  19209. parameters:
  19210. - description: 用户id
  19211. in: query
  19212. name: userId
  19213. type: integer
  19214. - description: 类型 - 1:App首页轮播 2:我的 3:首页(PC) 4:首页推广(移动-新会)
  19215. in: query
  19216. name: imageType
  19217. type: integer
  19218. produces:
  19219. - application/json
  19220. responses:
  19221. "200":
  19222. description: OK
  19223. schema:
  19224. $ref: '#/definitions/common.QueryImageConfigsRsp'
  19225. "500":
  19226. description: Internal Server Error
  19227. schema:
  19228. $ref: '#/definitions/app.Response'
  19229. summary: 查询轮播图配置信息
  19230. tags:
  19231. - 通用服务
  19232. /Common/QueryNotice:
  19233. get:
  19234. parameters:
  19235. - description: 页码
  19236. in: query
  19237. name: page
  19238. type: integer
  19239. - description: 每页条数
  19240. in: query
  19241. name: pagesize
  19242. type: integer
  19243. - description: 登录账号
  19244. in: query
  19245. name: loginID
  19246. required: true
  19247. type: integer
  19248. - description: 消息类型 - 1:公告通知 2:系统消息
  19249. in: query
  19250. name: msgType
  19251. type: integer
  19252. - description: 是否只获取未读信息
  19253. in: query
  19254. name: onlyUnRead
  19255. type: boolean
  19256. - description: 自增ID,传入后会返回这个ID后面的记录
  19257. in: query
  19258. name: lastID
  19259. type: integer
  19260. produces:
  19261. - application/json
  19262. responses:
  19263. "200":
  19264. description: OK
  19265. schema:
  19266. $ref: '#/definitions/common.QueryNoticeRsp'
  19267. "500":
  19268. description: Internal Server Error
  19269. schema:
  19270. $ref: '#/definitions/app.Response'
  19271. security:
  19272. - ApiKeyAuth: []
  19273. summary: 通知公告系统消息查询
  19274. tags:
  19275. - 通用服务
  19276. /Common/QueryProvincesAndCities:
  19277. get:
  19278. parameters:
  19279. - description: 省ID
  19280. in: query
  19281. name: provinceID
  19282. type: integer
  19283. produces:
  19284. - application/json
  19285. responses:
  19286. "200":
  19287. description: OK
  19288. schema:
  19289. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  19290. "500":
  19291. description: Internal Server Error
  19292. schema:
  19293. $ref: '#/definitions/app.Response'
  19294. summary: 查询省市信息(不包括区)
  19295. tags:
  19296. - 通用服务
  19297. /Common/QueryTableDefine:
  19298. get:
  19299. parameters:
  19300. - description: 表key
  19301. in: query
  19302. name: tableKey
  19303. type: string
  19304. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  19305. in: query
  19306. name: tableType
  19307. type: integer
  19308. produces:
  19309. - application/json
  19310. responses:
  19311. "200":
  19312. description: OK
  19313. schema:
  19314. $ref: '#/definitions/common.QueryTableDefineRsp'
  19315. "500":
  19316. description: Internal Server Error
  19317. schema:
  19318. $ref: '#/definitions/app.Response'
  19319. summary: 查询交易端列表头信息
  19320. tags:
  19321. - 通用服务
  19322. /Common/QueryTraderMenu:
  19323. get:
  19324. parameters:
  19325. - description: 登录账号
  19326. in: query
  19327. name: loginid
  19328. required: true
  19329. type: integer
  19330. produces:
  19331. - application/json
  19332. responses:
  19333. "200":
  19334. description: OK
  19335. schema:
  19336. $ref: '#/definitions/common.QueryTraderMenuRsp'
  19337. "500":
  19338. description: Internal Server Error
  19339. schema:
  19340. $ref: '#/definitions/app.Response'
  19341. summary: 查询交易端菜单
  19342. tags:
  19343. - 通用服务
  19344. /Common/UpdateNewFuncmenu:
  19345. put:
  19346. consumes:
  19347. - application/json
  19348. parameters:
  19349. - description: 菜单表数据
  19350. in: body
  19351. name: data
  19352. required: true
  19353. schema:
  19354. $ref: '#/definitions/models.NewFuncmenulist'
  19355. produces:
  19356. - application/json
  19357. responses:
  19358. "200":
  19359. description: OK
  19360. schema:
  19361. $ref: '#/definitions/app.Response'
  19362. "500":
  19363. description: Internal Server Error
  19364. schema:
  19365. $ref: '#/definitions/app.Response'
  19366. security:
  19367. - ApiKeyAuth: []
  19368. summary: 更新菜单表数据
  19369. tags:
  19370. - 通用服务
  19371. /Delivery/QueryDeliveryRelation:
  19372. get:
  19373. parameters:
  19374. - description: 商品ID
  19375. in: query
  19376. name: goodsid
  19377. type: integer
  19378. - description: 品种ID
  19379. in: query
  19380. name: deliverygoodsid
  19381. type: integer
  19382. - description: 市场ID
  19383. in: query
  19384. name: marketid
  19385. type: integer
  19386. produces:
  19387. - application/json
  19388. responses:
  19389. "200":
  19390. description: OK
  19391. schema:
  19392. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  19393. "500":
  19394. description: Internal Server Error
  19395. schema:
  19396. $ref: '#/definitions/app.Response'
  19397. security:
  19398. - ApiKeyAuth: []
  19399. summary: 查询商品交割关系表
  19400. tags:
  19401. - 交割服务
  19402. /Ermcp/GetErmcpGoods:
  19403. get:
  19404. parameters:
  19405. - description: 用户id(风管云平台版本传值, 只显示用户下设置了套保关联的品种)
  19406. in: query
  19407. name: userid
  19408. type: integer
  19409. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  19410. in: query
  19411. name: lastUpdateTime
  19412. type: string
  19413. produces:
  19414. - application/json
  19415. responses:
  19416. "200":
  19417. description: OK
  19418. schema:
  19419. $ref: '#/definitions/models.ErmcpGoods'
  19420. "500":
  19421. description: Internal Server Error
  19422. schema:
  19423. $ref: '#/definitions/app.Response'
  19424. security:
  19425. - ApiKeyAuth: []
  19426. summary: 查询企业风管期货商品信息
  19427. tags:
  19428. - 企业风险管理(app)
  19429. /Ermcp/GetErmcpGoodsSortByPosition:
  19430. get:
  19431. parameters:
  19432. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  19433. in: query
  19434. name: sortIndex
  19435. type: string
  19436. produces:
  19437. - application/json
  19438. responses:
  19439. "200":
  19440. description: OK
  19441. schema:
  19442. $ref: '#/definitions/models.Goodssortbypreposition'
  19443. "500":
  19444. description: Internal Server Error
  19445. schema:
  19446. $ref: '#/definitions/app.Response'
  19447. security:
  19448. - ApiKeyAuth: []
  19449. summary: 查询企业风管期货主力、次主力商品信息
  19450. tags:
  19451. - 企业风险管理(app)
  19452. /Ermcp/GetErmcpOutAccountStatus:
  19453. get:
  19454. parameters:
  19455. - description: 登录账号
  19456. in: query
  19457. name: loginID
  19458. required: true
  19459. type: integer
  19460. produces:
  19461. - application/json
  19462. responses:
  19463. "200":
  19464. description: OK
  19465. schema:
  19466. $ref: '#/definitions/models.Hedgemarketopenlog'
  19467. "500":
  19468. description: Internal Server Error
  19469. schema:
  19470. $ref: '#/definitions/app.Response'
  19471. security:
  19472. - ApiKeyAuth: []
  19473. summary: 获取目标登录账号当前对冲账号在线状态
  19474. tags:
  19475. - 企业风险管理(app)
  19476. /Ermcp/GetErmcpRoleFuncMenuLists:
  19477. get:
  19478. parameters:
  19479. - description: 登录账号
  19480. in: query
  19481. name: loginID
  19482. required: true
  19483. type: integer
  19484. produces:
  19485. - application/json
  19486. responses:
  19487. "200":
  19488. description: OK
  19489. schema:
  19490. $ref: '#/definitions/models.Funcmenulist'
  19491. "500":
  19492. description: Internal Server Error
  19493. schema:
  19494. $ref: '#/definitions/app.Response'
  19495. security:
  19496. - ApiKeyAuth: []
  19497. summary: 获取企业风管终端权限
  19498. tags:
  19499. - 企业风险管理(app)
  19500. /Ermcp/QueryAccMgrBizGroupSet:
  19501. get:
  19502. parameters:
  19503. - description: 用户ID
  19504. in: query
  19505. name: userid
  19506. required: true
  19507. type: integer
  19508. - description: 现货商品id
  19509. in: query
  19510. name: deliverygoodsid
  19511. type: integer
  19512. produces:
  19513. - application/json
  19514. responses:
  19515. "200":
  19516. description: OK
  19517. schema:
  19518. items:
  19519. $ref: '#/definitions/models.ErmcpBizGroupEx'
  19520. type: array
  19521. "500":
  19522. description: Internal Server Error
  19523. schema:
  19524. $ref: '#/definitions/app.Response'
  19525. security:
  19526. - ApiKeyAuth: []
  19527. summary: 查询业务类型分组(账户管理/账户设置)
  19528. tags:
  19529. - 企业风险管理(app)
  19530. /Ermcp/QueryAccMgrLoginUser:
  19531. get:
  19532. parameters:
  19533. - description: 用户ID
  19534. in: query
  19535. name: userid
  19536. required: true
  19537. type: integer
  19538. - description: 用户类型 2-机构 7-企业成员
  19539. in: query
  19540. name: usertype
  19541. type: integer
  19542. - description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  19543. in: query
  19544. name: querytype
  19545. required: true
  19546. type: integer
  19547. produces:
  19548. - application/json
  19549. responses:
  19550. "200":
  19551. description: OK
  19552. schema:
  19553. items:
  19554. $ref: '#/definitions/models.ErmcpLoginUserEx'
  19555. type: array
  19556. "500":
  19557. description: Internal Server Error
  19558. schema:
  19559. $ref: '#/definitions/app.Response'
  19560. security:
  19561. - ApiKeyAuth: []
  19562. summary: 查询账户管理登录账号(账户管理/登录账号)
  19563. tags:
  19564. - 企业风险管理(app)
  19565. /Ermcp/QueryAccMgrMainAccountInfo:
  19566. get:
  19567. parameters:
  19568. - description: 用户ID
  19569. in: query
  19570. name: userid
  19571. type: integer
  19572. - description: 主账号id
  19573. in: query
  19574. name: accountid
  19575. type: integer
  19576. produces:
  19577. - application/json
  19578. responses:
  19579. "200":
  19580. description: OK
  19581. schema:
  19582. items:
  19583. $ref: '#/definitions/models.MainAccountInfo'
  19584. type: array
  19585. "500":
  19586. description: Internal Server Error
  19587. schema:
  19588. $ref: '#/definitions/app.Response'
  19589. security:
  19590. - ApiKeyAuth: []
  19591. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  19592. tags:
  19593. - 企业风险管理(app)
  19594. /Ermcp/QueryAccMgrRole:
  19595. get:
  19596. parameters:
  19597. - description: 用户ID
  19598. in: query
  19599. name: userid
  19600. required: true
  19601. type: integer
  19602. produces:
  19603. - application/json
  19604. responses:
  19605. "200":
  19606. description: OK
  19607. schema:
  19608. items:
  19609. $ref: '#/definitions/models.ErmcpRole'
  19610. type: array
  19611. "500":
  19612. description: Internal Server Error
  19613. schema:
  19614. $ref: '#/definitions/app.Response'
  19615. security:
  19616. - ApiKeyAuth: []
  19617. summary: 查询账户管理角色设置(账户管理/角色设置)
  19618. tags:
  19619. - 企业风险管理(app)
  19620. /Ermcp/QueryAccMgrRoleMenu:
  19621. get:
  19622. parameters:
  19623. - description: 用户ID
  19624. in: query
  19625. name: userid
  19626. required: true
  19627. type: integer
  19628. - description: 角色id(可多个,逗号隔开)
  19629. in: query
  19630. name: roleid
  19631. type: string
  19632. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易 ps:新加的参数,为了兼容以前,不传则默认查3
  19633. in: query
  19634. name: menutype
  19635. type: integer
  19636. produces:
  19637. - application/json
  19638. responses:
  19639. "200":
  19640. description: OK
  19641. schema:
  19642. items:
  19643. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  19644. type: array
  19645. "500":
  19646. description: Internal Server Error
  19647. schema:
  19648. $ref: '#/definitions/app.Response'
  19649. security:
  19650. - ApiKeyAuth: []
  19651. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  19652. tags:
  19653. - 企业风险管理(app)
  19654. /Ermcp/QueryAccMgrTaAccountInfo:
  19655. get:
  19656. parameters:
  19657. - description: 用户ID
  19658. in: query
  19659. name: userid
  19660. required: true
  19661. type: integer
  19662. - description: 账号id
  19663. in: query
  19664. name: accountid
  19665. type: integer
  19666. produces:
  19667. - application/json
  19668. responses:
  19669. "200":
  19670. description: OK
  19671. schema:
  19672. items:
  19673. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  19674. type: array
  19675. "500":
  19676. description: Internal Server Error
  19677. schema:
  19678. $ref: '#/definitions/app.Response'
  19679. security:
  19680. - ApiKeyAuth: []
  19681. summary: 查询账户管理授信(账户管理/账户设置/授信)
  19682. tags:
  19683. - 企业风险管理(app)
  19684. /Ermcp/QueryAccMgrTaaccount:
  19685. get:
  19686. parameters:
  19687. - description: 用户ID
  19688. in: query
  19689. name: userid
  19690. required: true
  19691. type: integer
  19692. produces:
  19693. - application/json
  19694. responses:
  19695. "200":
  19696. description: OK
  19697. schema:
  19698. items:
  19699. $ref: '#/definitions/models.ErmcpTaAccountEx'
  19700. type: array
  19701. "500":
  19702. description: Internal Server Error
  19703. schema:
  19704. $ref: '#/definitions/app.Response'
  19705. security:
  19706. - ApiKeyAuth: []
  19707. summary: 查询账户管理期货账号(账户管理/期货账号)
  19708. tags:
  19709. - 企业风险管理(app)
  19710. /Ermcp/QueryAvaildGoodsGroup:
  19711. get:
  19712. parameters:
  19713. - description: 所属机构ID
  19714. in: query
  19715. name: userid
  19716. required: true
  19717. type: integer
  19718. produces:
  19719. - application/json
  19720. responses:
  19721. "200":
  19722. description: OK
  19723. schema:
  19724. items:
  19725. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  19726. type: array
  19727. "500":
  19728. description: Internal Server Error
  19729. schema:
  19730. $ref: '#/definitions/app.Response'
  19731. security:
  19732. - ApiKeyAuth: []
  19733. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  19734. tags:
  19735. - 企业风险管理(app)
  19736. /Ermcp/QueryBusinessDj:
  19737. get:
  19738. parameters:
  19739. - description: 用户ID
  19740. in: query
  19741. name: UserId
  19742. required: true
  19743. type: integer
  19744. - description: 用户类型 2-机构 7-企业成员
  19745. in: query
  19746. name: usertype
  19747. type: integer
  19748. - description: 现货合同ID, 不填则查所有
  19749. in: query
  19750. name: relatedid
  19751. type: string
  19752. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  19753. in: query
  19754. name: applystatus
  19755. type: string
  19756. produces:
  19757. - application/json
  19758. responses:
  19759. "200":
  19760. description: OK
  19761. schema:
  19762. items:
  19763. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  19764. type: array
  19765. "500":
  19766. description: Internal Server Error
  19767. schema:
  19768. $ref: '#/definitions/app.Response'
  19769. security:
  19770. - ApiKeyAuth: []
  19771. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  19772. tags:
  19773. - 企业风险管理(app)
  19774. /Ermcp/QueryBusinessFp:
  19775. get:
  19776. parameters:
  19777. - description: 用户ID
  19778. in: query
  19779. name: UserId
  19780. required: true
  19781. type: integer
  19782. - description: 用户类型 2-机构 7-企业成员
  19783. in: query
  19784. name: usertype
  19785. type: integer
  19786. - description: 现货合同ID, 不填则查所有
  19787. in: query
  19788. name: relatedid
  19789. type: string
  19790. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  19791. in: query
  19792. name: applystatus
  19793. type: string
  19794. produces:
  19795. - application/json
  19796. responses:
  19797. "200":
  19798. description: OK
  19799. schema:
  19800. items:
  19801. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  19802. type: array
  19803. "500":
  19804. description: Internal Server Error
  19805. schema:
  19806. $ref: '#/definitions/app.Response'
  19807. security:
  19808. - ApiKeyAuth: []
  19809. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  19810. tags:
  19811. - 企业风险管理(app)
  19812. /Ermcp/QueryBusinessJs:
  19813. get:
  19814. parameters:
  19815. - description: 用户ID
  19816. in: query
  19817. name: UserId
  19818. required: true
  19819. type: integer
  19820. - description: 用户类型 2-机构 7-企业成员
  19821. in: query
  19822. name: usertype
  19823. type: integer
  19824. - description: 现货合同ID, 不填则查所有
  19825. in: query
  19826. name: relatedid
  19827. type: string
  19828. - description: 操作申请id
  19829. in: query
  19830. name: operateapplyid
  19831. type: string
  19832. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  19833. in: query
  19834. name: applystatus
  19835. type: string
  19836. produces:
  19837. - application/json
  19838. responses:
  19839. "200":
  19840. description: OK
  19841. schema:
  19842. items:
  19843. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  19844. type: array
  19845. "500":
  19846. description: Internal Server Error
  19847. schema:
  19848. $ref: '#/definitions/app.Response'
  19849. security:
  19850. - ApiKeyAuth: []
  19851. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  19852. tags:
  19853. - 企业风险管理(app)
  19854. /Ermcp/QueryBusinessJsEx:
  19855. get:
  19856. parameters:
  19857. - description: 用户ID
  19858. in: query
  19859. name: UserId
  19860. required: true
  19861. type: integer
  19862. - description: 用户类型 2-机构 7-企业成员
  19863. in: query
  19864. name: usertype
  19865. type: integer
  19866. - description: 现货合同ID, 不填则查所有
  19867. in: query
  19868. name: relatedid
  19869. type: string
  19870. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  19871. in: query
  19872. name: applystatus
  19873. type: string
  19874. produces:
  19875. - application/json
  19876. responses:
  19877. "200":
  19878. description: OK
  19879. schema:
  19880. items:
  19881. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  19882. type: array
  19883. "500":
  19884. description: Internal Server Error
  19885. schema:
  19886. $ref: '#/definitions/app.Response'
  19887. security:
  19888. - ApiKeyAuth: []
  19889. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  19890. tags:
  19891. - 企业风险管理(app)
  19892. /Ermcp/QueryBusinessKx:
  19893. get:
  19894. parameters:
  19895. - description: 用户ID
  19896. in: query
  19897. name: UserId
  19898. required: true
  19899. type: integer
  19900. - description: 用户类型 2-机构 7-企业成员
  19901. in: query
  19902. name: usertype
  19903. type: integer
  19904. - description: 现货合同ID, 不填则查所有
  19905. in: query
  19906. name: relatedid
  19907. type: string
  19908. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  19909. in: query
  19910. name: applystatus
  19911. type: string
  19912. produces:
  19913. - application/json
  19914. responses:
  19915. "200":
  19916. description: OK
  19917. schema:
  19918. items:
  19919. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  19920. type: array
  19921. "500":
  19922. description: Internal Server Error
  19923. schema:
  19924. $ref: '#/definitions/app.Response'
  19925. security:
  19926. - ApiKeyAuth: []
  19927. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  19928. tags:
  19929. - 企业风险管理(app)
  19930. /Ermcp/QueryChangeLog:
  19931. get:
  19932. parameters:
  19933. - description: 合同ID
  19934. in: query
  19935. name: RelatedId
  19936. required: true
  19937. type: string
  19938. produces:
  19939. - application/json
  19940. responses:
  19941. "200":
  19942. description: OK
  19943. schema:
  19944. items:
  19945. $ref: '#/definitions/ermcp.QryOPLogRsp'
  19946. type: array
  19947. "500":
  19948. description: Internal Server Error
  19949. schema:
  19950. $ref: '#/definitions/app.Response'
  19951. security:
  19952. - ApiKeyAuth: []
  19953. summary: 查询变更记录
  19954. tags:
  19955. - 企业风险管理(app)
  19956. /Ermcp/QueryErmcpHisOrderDetails:
  19957. get:
  19958. parameters:
  19959. - description: 资金账户ID
  19960. in: query
  19961. name: accountID
  19962. required: true
  19963. type: integer
  19964. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  19965. in: query
  19966. name: startDate
  19967. type: string
  19968. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  19969. in: query
  19970. name: endDate
  19971. type: string
  19972. produces:
  19973. - application/json
  19974. responses:
  19975. "200":
  19976. description: OK
  19977. schema:
  19978. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  19979. "500":
  19980. description: Internal Server Error
  19981. schema:
  19982. $ref: '#/definitions/app.Response'
  19983. security:
  19984. - ApiKeyAuth: []
  19985. summary: 获取企业风管期货历史委托单信息
  19986. tags:
  19987. - 企业风险管理(app)
  19988. /Ermcp/QueryErmcpHisTradeDetails:
  19989. get:
  19990. parameters:
  19991. - description: 资金账户ID
  19992. in: query
  19993. name: accountID
  19994. required: true
  19995. type: integer
  19996. - description: 商品ID
  19997. in: query
  19998. name: goodsID
  19999. type: integer
  20000. - description: 买卖方向,0:买 1:卖
  20001. in: query
  20002. name: buyOrSell
  20003. type: integer
  20004. - description: 关联委托单号
  20005. in: query
  20006. name: orderID
  20007. type: integer
  20008. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  20009. in: query
  20010. name: startDate
  20011. type: string
  20012. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  20013. in: query
  20014. name: endDate
  20015. type: string
  20016. produces:
  20017. - application/json
  20018. responses:
  20019. "200":
  20020. description: OK
  20021. schema:
  20022. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  20023. "500":
  20024. description: Internal Server Error
  20025. schema:
  20026. $ref: '#/definitions/app.Response'
  20027. security:
  20028. - ApiKeyAuth: []
  20029. summary: 获取企业风管期货历史成交单信息
  20030. tags:
  20031. - 企业风险管理(app)
  20032. /Ermcp/QueryErmcpInnerHolderDetails:
  20033. get:
  20034. parameters:
  20035. - description: 资金账户ID
  20036. in: query
  20037. name: accountID
  20038. required: true
  20039. type: integer
  20040. - description: 商品ID
  20041. in: query
  20042. name: goodsID
  20043. type: integer
  20044. - description: 买卖方向,0:买 1:卖
  20045. in: query
  20046. name: buyOrSell
  20047. type: integer
  20048. produces:
  20049. - application/json
  20050. responses:
  20051. "200":
  20052. description: OK
  20053. schema:
  20054. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  20055. "500":
  20056. description: Internal Server Error
  20057. schema:
  20058. $ref: '#/definitions/app.Response'
  20059. security:
  20060. - ApiKeyAuth: []
  20061. summary: 获取企业风管期货内部持仓单信息
  20062. tags:
  20063. - 企业风险管理(app)
  20064. /Ermcp/QueryErmcpOrderDetails:
  20065. get:
  20066. parameters:
  20067. - description: 资金账户ID
  20068. in: query
  20069. name: accountID
  20070. required: true
  20071. type: integer
  20072. produces:
  20073. - application/json
  20074. responses:
  20075. "200":
  20076. description: OK
  20077. schema:
  20078. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  20079. "500":
  20080. description: Internal Server Error
  20081. schema:
  20082. $ref: '#/definitions/app.Response'
  20083. security:
  20084. - ApiKeyAuth: []
  20085. summary: 获取企业风管期货委托单信息
  20086. tags:
  20087. - 企业风险管理(app)
  20088. /Ermcp/QueryErmcpTradeDetails:
  20089. get:
  20090. parameters:
  20091. - description: 资金账户ID
  20092. in: query
  20093. name: accountID
  20094. required: true
  20095. type: integer
  20096. - description: 商品ID
  20097. in: query
  20098. name: goodsID
  20099. type: integer
  20100. - description: 买卖方向,0:买 1:卖
  20101. in: query
  20102. name: buyOrSell
  20103. type: integer
  20104. - description: 关联委托单号
  20105. in: query
  20106. name: orderID
  20107. type: integer
  20108. produces:
  20109. - application/json
  20110. responses:
  20111. "200":
  20112. description: OK
  20113. schema:
  20114. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  20115. "500":
  20116. description: Internal Server Error
  20117. schema:
  20118. $ref: '#/definitions/app.Response'
  20119. security:
  20120. - ApiKeyAuth: []
  20121. summary: 获取企业风管期货成交单信息
  20122. tags:
  20123. - 企业风险管理(app)
  20124. /Ermcp/QueryErmcpTradePosition:
  20125. get:
  20126. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  20127. parameters:
  20128. - description: 资金账户ID
  20129. in: query
  20130. name: accountID
  20131. required: true
  20132. type: integer
  20133. - description: 所属市场ID
  20134. in: query
  20135. name: marketID
  20136. type: integer
  20137. produces:
  20138. - application/json
  20139. responses:
  20140. "200":
  20141. description: OK
  20142. schema:
  20143. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  20144. "500":
  20145. description: Internal Server Error
  20146. schema:
  20147. $ref: '#/definitions/app.Response'
  20148. security:
  20149. - ApiKeyAuth: []
  20150. summary: 获取企业风管期货持仓头寸信息
  20151. tags:
  20152. - 企业风险管理(app)
  20153. /Ermcp/QueryExposureDetail:
  20154. get:
  20155. parameters:
  20156. - description: 所属机构ID
  20157. in: query
  20158. name: areaUserId
  20159. required: true
  20160. type: integer
  20161. - description: 套保商品
  20162. in: query
  20163. name: middleGoodsId
  20164. required: true
  20165. type: integer
  20166. produces:
  20167. - application/json
  20168. responses:
  20169. "200":
  20170. description: OK
  20171. schema:
  20172. items:
  20173. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  20174. type: array
  20175. "500":
  20176. description: Internal Server Error
  20177. schema:
  20178. $ref: '#/definitions/app.Response'
  20179. security:
  20180. - ApiKeyAuth: []
  20181. summary: 查询敞口现货明细
  20182. tags:
  20183. - 企业风险管理(app)
  20184. /Ermcp/QueryExposureGoods:
  20185. get:
  20186. parameters:
  20187. - description: 套保商品id
  20188. in: query
  20189. name: middlegoodsid
  20190. required: true
  20191. type: integer
  20192. produces:
  20193. - application/json
  20194. responses:
  20195. "200":
  20196. description: OK
  20197. schema:
  20198. items:
  20199. $ref: '#/definitions/models.ErmcpMiddlegoodsRelateGoods'
  20200. type: array
  20201. "500":
  20202. description: Internal Server Error
  20203. schema:
  20204. $ref: '#/definitions/app.Response'
  20205. security:
  20206. - ApiKeyAuth: []
  20207. summary: 查询敞口主力合约
  20208. tags:
  20209. - 企业风险管理(app)
  20210. /Ermcp/QueryExposureHedgePosition:
  20211. get:
  20212. parameters:
  20213. - description: 用户id
  20214. in: query
  20215. name: userid
  20216. required: true
  20217. type: integer
  20218. produces:
  20219. - application/json
  20220. responses:
  20221. "200":
  20222. description: OK
  20223. schema:
  20224. items:
  20225. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  20226. type: array
  20227. "500":
  20228. description: Internal Server Error
  20229. schema:
  20230. $ref: '#/definitions/app.Response'
  20231. security:
  20232. - ApiKeyAuth: []
  20233. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  20234. tags:
  20235. - 企业风险管理(app)
  20236. /Ermcp/QueryExposureHedgePositionDetail:
  20237. get:
  20238. parameters:
  20239. - description: 所属机构ID
  20240. in: query
  20241. name: userid
  20242. required: true
  20243. type: integer
  20244. - description: 商品id
  20245. in: query
  20246. name: goodsId
  20247. required: true
  20248. type: integer
  20249. produces:
  20250. - application/json
  20251. responses:
  20252. "200":
  20253. description: OK
  20254. schema:
  20255. items:
  20256. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  20257. type: array
  20258. "500":
  20259. description: Internal Server Error
  20260. schema:
  20261. $ref: '#/definitions/app.Response'
  20262. security:
  20263. - ApiKeyAuth: []
  20264. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  20265. tags:
  20266. - 企业风险管理(app)
  20267. /Ermcp/QueryExposureSpot:
  20268. get:
  20269. parameters:
  20270. - description: 所属机构ID
  20271. in: query
  20272. name: areaUserId
  20273. required: true
  20274. type: integer
  20275. produces:
  20276. - application/json
  20277. responses:
  20278. "200":
  20279. description: OK
  20280. schema:
  20281. items:
  20282. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  20283. type: array
  20284. "500":
  20285. description: Internal Server Error
  20286. schema:
  20287. $ref: '#/definitions/app.Response'
  20288. security:
  20289. - ApiKeyAuth: []
  20290. summary: 查询敞口现货头寸(敞口/现货头寸)
  20291. tags:
  20292. - 企业风险管理(app)
  20293. /Ermcp/QueryExposureSpotDetail:
  20294. get:
  20295. parameters:
  20296. - description: 所属机构ID
  20297. in: query
  20298. name: areaUserId
  20299. required: true
  20300. type: integer
  20301. - description: 现货品种ID
  20302. in: query
  20303. name: wrstandardId
  20304. required: true
  20305. type: integer
  20306. produces:
  20307. - application/json
  20308. responses:
  20309. "200":
  20310. description: OK
  20311. schema:
  20312. items:
  20313. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  20314. type: array
  20315. "500":
  20316. description: Internal Server Error
  20317. schema:
  20318. $ref: '#/definitions/app.Response'
  20319. security:
  20320. - ApiKeyAuth: []
  20321. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  20322. tags:
  20323. - 企业风险管理(app)
  20324. /Ermcp/QueryFuturesCompany:
  20325. get:
  20326. produces:
  20327. - application/json
  20328. responses:
  20329. "200":
  20330. description: OK
  20331. schema:
  20332. items:
  20333. $ref: '#/definitions/models.ErmcpFuturesCompany'
  20334. type: array
  20335. "500":
  20336. description: Internal Server Error
  20337. schema:
  20338. $ref: '#/definitions/app.Response'
  20339. security:
  20340. - ApiKeyAuth: []
  20341. summary: 查询期货公司
  20342. tags:
  20343. - 企业风险管理(app)
  20344. /Ermcp/QueryGGConvertConfig:
  20345. get:
  20346. parameters:
  20347. - description: 品种id(不填则查所有)
  20348. in: query
  20349. name: goodsgroupid
  20350. type: integer
  20351. produces:
  20352. - application/json
  20353. responses:
  20354. "200":
  20355. description: OK
  20356. schema:
  20357. items:
  20358. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  20359. type: array
  20360. "500":
  20361. description: Internal Server Error
  20362. schema:
  20363. $ref: '#/definitions/app.Response'
  20364. security:
  20365. - ApiKeyAuth: []
  20366. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  20367. tags:
  20368. - 企业风险管理(app)
  20369. /Ermcp/QueryGoodsBrand:
  20370. get:
  20371. parameters:
  20372. - description: 用户ID
  20373. in: query
  20374. name: userid
  20375. required: true
  20376. type: integer
  20377. - description: 现货商品ID
  20378. in: query
  20379. name: wrstandardid
  20380. type: integer
  20381. produces:
  20382. - application/json
  20383. responses:
  20384. "200":
  20385. description: OK
  20386. schema:
  20387. items:
  20388. $ref: '#/definitions/models.ErmcpGoodsBrand'
  20389. type: array
  20390. "500":
  20391. description: Internal Server Error
  20392. schema:
  20393. $ref: '#/definitions/app.Response'
  20394. security:
  20395. - ApiKeyAuth: []
  20396. summary: 查询商品品牌
  20397. tags:
  20398. - 企业风险管理(app)
  20399. /Ermcp/QueryGoodsModel:
  20400. get:
  20401. parameters:
  20402. - description: 用户ID
  20403. in: query
  20404. name: userid
  20405. required: true
  20406. type: integer
  20407. produces:
  20408. - application/json
  20409. responses:
  20410. "200":
  20411. description: OK
  20412. schema:
  20413. items:
  20414. $ref: '#/definitions/models.ErmcpGoodsModel'
  20415. type: array
  20416. "500":
  20417. description: Internal Server Error
  20418. schema:
  20419. $ref: '#/definitions/app.Response'
  20420. security:
  20421. - ApiKeyAuth: []
  20422. summary: 查询商品型号
  20423. tags:
  20424. - 企业风险管理(app)
  20425. /Ermcp/QueryHisExposure:
  20426. get:
  20427. parameters:
  20428. - description: 用户id
  20429. in: query
  20430. name: userid
  20431. required: true
  20432. type: integer
  20433. - description: 每个品种记录数
  20434. in: query
  20435. name: lastNum
  20436. required: true
  20437. type: integer
  20438. produces:
  20439. - application/json
  20440. responses:
  20441. "200":
  20442. description: OK
  20443. schema:
  20444. items:
  20445. $ref: '#/definitions/ermcp.HisExposureRsp'
  20446. type: array
  20447. "500":
  20448. description: Internal Server Error
  20449. schema:
  20450. $ref: '#/definitions/app.Response'
  20451. security:
  20452. - ApiKeyAuth: []
  20453. summary: 查询历史敞口(菜单:敞口/历史敞口)
  20454. tags:
  20455. - 企业风险管理(app)
  20456. /Ermcp/QueryMiddleGoods:
  20457. get:
  20458. parameters:
  20459. - description: 所属机构ID
  20460. in: query
  20461. name: userid
  20462. required: true
  20463. type: integer
  20464. - description: 状态 0-停用 1-正常
  20465. in: query
  20466. name: status
  20467. required: true
  20468. type: integer
  20469. produces:
  20470. - application/json
  20471. responses:
  20472. "200":
  20473. description: OK
  20474. schema:
  20475. items:
  20476. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  20477. type: array
  20478. "500":
  20479. description: Internal Server Error
  20480. schema:
  20481. $ref: '#/definitions/app.Response'
  20482. security:
  20483. - ApiKeyAuth: []
  20484. summary: 查询套保品种(菜单:套保品种)
  20485. tags:
  20486. - 企业风险管理(app)
  20487. /Ermcp/QueryMiddleGoodsChangeLog:
  20488. get:
  20489. parameters:
  20490. - description: 所属机构ID
  20491. in: query
  20492. name: userid
  20493. required: true
  20494. type: integer
  20495. - description: 套保品种id
  20496. in: query
  20497. name: middlegoodsid
  20498. required: true
  20499. type: integer
  20500. produces:
  20501. - application/json
  20502. responses:
  20503. "200":
  20504. description: OK
  20505. schema:
  20506. items:
  20507. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  20508. type: array
  20509. "500":
  20510. description: Internal Server Error
  20511. schema:
  20512. $ref: '#/definitions/app.Response'
  20513. security:
  20514. - ApiKeyAuth: []
  20515. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  20516. tags:
  20517. - 企业风险管理(app)
  20518. /Ermcp/QueryMiddleGoodsDetail:
  20519. get:
  20520. parameters:
  20521. - description: 所属机构ID
  20522. in: query
  20523. name: userid
  20524. required: true
  20525. type: integer
  20526. - description: 套保品种id
  20527. in: query
  20528. name: middlegoodsid
  20529. type: integer
  20530. produces:
  20531. - application/json
  20532. responses:
  20533. "200":
  20534. description: OK
  20535. schema:
  20536. items:
  20537. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  20538. type: array
  20539. "500":
  20540. description: Internal Server Error
  20541. schema:
  20542. $ref: '#/definitions/app.Response'
  20543. security:
  20544. - ApiKeyAuth: []
  20545. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  20546. tags:
  20547. - 企业风险管理(app)
  20548. /Ermcp/QueryPendingAuditInfo:
  20549. get:
  20550. parameters:
  20551. - description: 用户ID
  20552. in: query
  20553. name: UserId
  20554. required: true
  20555. type: integer
  20556. produces:
  20557. - application/json
  20558. responses:
  20559. "200":
  20560. description: OK
  20561. schema:
  20562. items:
  20563. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  20564. type: array
  20565. "500":
  20566. description: Internal Server Error
  20567. schema:
  20568. $ref: '#/definitions/app.Response'
  20569. security:
  20570. - ApiKeyAuth: []
  20571. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  20572. tags:
  20573. - 企业风险管理(app)
  20574. /Ermcp/QueryRealtimeExposure:
  20575. get:
  20576. parameters:
  20577. - description: 所属机构ID
  20578. in: query
  20579. name: userid
  20580. required: true
  20581. type: integer
  20582. produces:
  20583. - application/json
  20584. responses:
  20585. "200":
  20586. description: OK
  20587. schema:
  20588. items:
  20589. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  20590. type: array
  20591. "500":
  20592. description: Internal Server Error
  20593. schema:
  20594. $ref: '#/definitions/app.Response'
  20595. security:
  20596. - ApiKeyAuth: []
  20597. summary: 查询实时敞口
  20598. tags:
  20599. - 企业风险管理(app)
  20600. /Ermcp/QueryRealtimeExposurePosition:
  20601. get:
  20602. parameters:
  20603. - description: 用户id
  20604. in: query
  20605. name: userid
  20606. required: true
  20607. type: integer
  20608. - description: 套保商品ID
  20609. in: query
  20610. name: middleGoodsId
  20611. required: true
  20612. type: integer
  20613. produces:
  20614. - application/json
  20615. responses:
  20616. "200":
  20617. description: OK
  20618. schema:
  20619. items:
  20620. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  20621. type: array
  20622. "500":
  20623. description: Internal Server Error
  20624. schema:
  20625. $ref: '#/definitions/app.Response'
  20626. security:
  20627. - ApiKeyAuth: []
  20628. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  20629. tags:
  20630. - 企业风险管理(app)
  20631. /Ermcp/QueryRoleMenu:
  20632. get:
  20633. parameters:
  20634. - description: 登录ID
  20635. in: query
  20636. name: loginid
  20637. required: true
  20638. type: integer
  20639. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易
  20640. in: query
  20641. name: menutype
  20642. type: integer
  20643. produces:
  20644. - application/json
  20645. responses:
  20646. "200":
  20647. description: OK
  20648. schema:
  20649. items:
  20650. $ref: '#/definitions/models.RoleMenu'
  20651. type: array
  20652. "500":
  20653. description: Internal Server Error
  20654. schema:
  20655. $ref: '#/definitions/app.Response'
  20656. security:
  20657. - ApiKeyAuth: []
  20658. summary: 查询角色菜单和权限
  20659. tags:
  20660. - 企业风险管理(app)
  20661. /Ermcp/QueryTradeConfigTMP:
  20662. get:
  20663. parameters:
  20664. - description: 所属机构id
  20665. in: query
  20666. name: areauserid
  20667. type: integer
  20668. produces:
  20669. - application/json
  20670. responses:
  20671. "200":
  20672. description: OK
  20673. schema:
  20674. items:
  20675. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  20676. type: array
  20677. "500":
  20678. description: Internal Server Error
  20679. schema:
  20680. $ref: '#/definitions/app.Response'
  20681. security:
  20682. - ApiKeyAuth: []
  20683. summary: 查询交易模板配置
  20684. tags:
  20685. - 企业风险管理(app)
  20686. /Ermcp/QueryUserInfo:
  20687. get:
  20688. parameters:
  20689. - description: 所属机构用户ID
  20690. in: query
  20691. name: MemberUserID
  20692. required: true
  20693. type: integer
  20694. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  20695. in: query
  20696. name: queryType
  20697. required: true
  20698. type: integer
  20699. produces:
  20700. - application/json
  20701. responses:
  20702. "200":
  20703. description: OK
  20704. schema:
  20705. items:
  20706. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  20707. type: array
  20708. "500":
  20709. description: Internal Server Error
  20710. schema:
  20711. $ref: '#/definitions/app.Response'
  20712. security:
  20713. - ApiKeyAuth: []
  20714. summary: 查询客户资料
  20715. tags:
  20716. - 企业风险管理(app)
  20717. /Ermcp/QueryWarehouseInfo:
  20718. get:
  20719. parameters:
  20720. - description: 用户ID
  20721. in: query
  20722. name: userid
  20723. required: true
  20724. type: integer
  20725. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  20726. in: query
  20727. name: status
  20728. type: string
  20729. produces:
  20730. - application/json
  20731. responses:
  20732. "200":
  20733. description: OK
  20734. schema:
  20735. items:
  20736. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  20737. type: array
  20738. "500":
  20739. description: Internal Server Error
  20740. schema:
  20741. $ref: '#/definitions/app.Response'
  20742. security:
  20743. - ApiKeyAuth: []
  20744. summary: 查询仓库信息
  20745. tags:
  20746. - 企业风险管理(app)
  20747. /Ermcp3/QryAreaExpourseContractDetail:
  20748. get:
  20749. parameters:
  20750. - description: 用户ID
  20751. in: query
  20752. name: userid
  20753. required: true
  20754. type: integer
  20755. - description: 套保商品id
  20756. in: query
  20757. name: middlegoodsid
  20758. required: true
  20759. type: integer
  20760. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  20761. in: query
  20762. name: cycletype
  20763. required: true
  20764. type: integer
  20765. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  20766. 全(0)【原值】
  20767. in: query
  20768. name: cycletime
  20769. required: true
  20770. type: string
  20771. produces:
  20772. - application/json
  20773. responses:
  20774. "200":
  20775. description: OK
  20776. schema:
  20777. items:
  20778. $ref: '#/definitions/models.Ermcp3ExposureContractDetail'
  20779. type: array
  20780. "500":
  20781. description: Internal Server Error
  20782. schema:
  20783. $ref: '#/definitions/app.Response'
  20784. security:
  20785. - ApiKeyAuth: []
  20786. summary: 查询敞口合同明细(敞口报表/现货合同明细)
  20787. tags:
  20788. - 企业风险管理v3(app)
  20789. /Ermcp3/QryAreaExpourseFutuDetail:
  20790. get:
  20791. parameters:
  20792. - description: 用户ID
  20793. in: query
  20794. name: userid
  20795. required: true
  20796. type: integer
  20797. - description: 套保商品id
  20798. in: query
  20799. name: middlegoodsid
  20800. required: true
  20801. type: integer
  20802. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  20803. in: query
  20804. name: cycletype
  20805. required: true
  20806. type: integer
  20807. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  20808. 全(0)【原值】
  20809. in: query
  20810. name: cycletime
  20811. required: true
  20812. type: string
  20813. produces:
  20814. - application/json
  20815. responses:
  20816. "200":
  20817. description: OK
  20818. schema:
  20819. items:
  20820. $ref: '#/definitions/models.Ermcp3ExposureFutuDetail'
  20821. type: array
  20822. "500":
  20823. description: Internal Server Error
  20824. schema:
  20825. $ref: '#/definitions/app.Response'
  20826. security:
  20827. - ApiKeyAuth: []
  20828. summary: 查询敞口期货明细(敞口报表/期货明细)
  20829. tags:
  20830. - 企业风险管理v3(app)
  20831. /Ermcp3/QryAreaExpourseHedgeplanDetail:
  20832. get:
  20833. parameters:
  20834. - description: 用户ID
  20835. in: query
  20836. name: userid
  20837. required: true
  20838. type: integer
  20839. - description: 套保商品id
  20840. in: query
  20841. name: middlegoodsid
  20842. required: true
  20843. type: integer
  20844. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  20845. in: query
  20846. name: cycletype
  20847. required: true
  20848. type: integer
  20849. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  20850. 全(0)【原值】
  20851. in: query
  20852. name: cycletime
  20853. required: true
  20854. type: string
  20855. produces:
  20856. - application/json
  20857. responses:
  20858. "200":
  20859. description: OK
  20860. schema:
  20861. items:
  20862. $ref: '#/definitions/models.Ermcp3ExposureHedgeplanDetail'
  20863. type: array
  20864. "500":
  20865. description: Internal Server Error
  20866. schema:
  20867. $ref: '#/definitions/app.Response'
  20868. security:
  20869. - ApiKeyAuth: []
  20870. summary: 查询敞口套保计划明细(敞口报表/套保计划明细)
  20871. tags:
  20872. - 企业风险管理v3(app)
  20873. /Ermcp3/QryAreaExpourseParamChLogDetail:
  20874. get:
  20875. parameters:
  20876. - description: 用户ID
  20877. in: query
  20878. name: userid
  20879. required: true
  20880. type: integer
  20881. - description: 套保商品id
  20882. in: query
  20883. name: middlegoodsid
  20884. required: true
  20885. type: integer
  20886. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  20887. in: query
  20888. name: cycletype
  20889. required: true
  20890. type: integer
  20891. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  20892. 全(0)【原值】
  20893. in: query
  20894. name: cycletime
  20895. required: true
  20896. type: string
  20897. produces:
  20898. - application/json
  20899. responses:
  20900. "200":
  20901. description: OK
  20902. schema:
  20903. items:
  20904. $ref: '#/definitions/models.Ermcp3ExposureParamChLog'
  20905. type: array
  20906. "500":
  20907. description: Internal Server Error
  20908. schema:
  20909. $ref: '#/definitions/app.Response'
  20910. security:
  20911. - ApiKeyAuth: []
  20912. summary: 查询敞口参数调整明细(敞口报表/参数调整明细)
  20913. tags:
  20914. - 企业风险管理v3(app)
  20915. /Ermcp3/QryAreaExpourseReport:
  20916. get:
  20917. parameters:
  20918. - description: 用户ID
  20919. in: query
  20920. name: userid
  20921. required: true
  20922. type: integer
  20923. - description: 查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口
  20924. in: query
  20925. name: querytype
  20926. required: true
  20927. type: integer
  20928. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  20929. in: query
  20930. name: cycletype
  20931. required: true
  20932. type: integer
  20933. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  20934. 全(0)【原值】
  20935. in: query
  20936. name: cycletime
  20937. required: true
  20938. type: string
  20939. produces:
  20940. - application/json
  20941. responses:
  20942. "200":
  20943. description: OK
  20944. schema:
  20945. items:
  20946. $ref: '#/definitions/models.Ermcp3ExpourseReport'
  20947. type: array
  20948. "500":
  20949. description: Internal Server Error
  20950. schema:
  20951. $ref: '#/definitions/app.Response'
  20952. security:
  20953. - ApiKeyAuth: []
  20954. summary: 查询敞口报表
  20955. tags:
  20956. - 企业风险管理v3(app)
  20957. /Ermcp3/QryAreaSpotplReport:
  20958. get:
  20959. description: 目前pcweb的日/周/月报表与手机端的汇总维度不同, 所以增加了可选参数sumflag参数, pcweb请填1
  20960. parameters:
  20961. - description: 用户ID
  20962. in: query
  20963. name: userid
  20964. required: true
  20965. type: integer
  20966. - description: 查询类型 1-报表 2-报表明细
  20967. in: query
  20968. name: querytype
  20969. required: true
  20970. type: integer
  20971. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  20972. in: query
  20973. name: cycletype
  20974. required: true
  20975. type: integer
  20976. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  20977. 全(0)【原值】
  20978. in: query
  20979. name: cycletime
  20980. required: true
  20981. type: string
  20982. - description: 现货品种id(明细必填)
  20983. in: query
  20984. name: deliverygoodsid
  20985. type: integer
  20986. - description: 币种id(明细必填)
  20987. in: query
  20988. name: currencyid
  20989. type: integer
  20990. - description: 日/周/月报表汇总维度 1:品种+品类
  20991. in: query
  20992. name: sumflag
  20993. type: integer
  20994. produces:
  20995. - application/json
  20996. responses:
  20997. "200":
  20998. description: OK
  20999. schema:
  21000. items:
  21001. $ref: '#/definitions/models.Ermcp3AreaSpotPLReport'
  21002. type: array
  21003. "500":
  21004. description: Internal Server Error
  21005. schema:
  21006. $ref: '#/definitions/app.Response'
  21007. security:
  21008. - ApiKeyAuth: []
  21009. summary: 查询现货报表
  21010. tags:
  21011. - 企业风险管理v3(app)
  21012. /Ermcp3/QryAreaStockReport:
  21013. get:
  21014. parameters:
  21015. - description: 用户ID
  21016. in: query
  21017. name: userid
  21018. required: true
  21019. type: integer
  21020. - description: 查询类型 1-报表 2-报表明细
  21021. in: query
  21022. name: querytype
  21023. required: true
  21024. type: integer
  21025. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21026. in: query
  21027. name: cycletype
  21028. required: true
  21029. type: integer
  21030. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21031. 全(0)【原值】
  21032. in: query
  21033. name: cycletime
  21034. required: true
  21035. type: string
  21036. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库
  21037. in: query
  21038. name: sumfields
  21039. type: string
  21040. - description: 品种ID
  21041. in: query
  21042. name: deliverygoodsid
  21043. type: integer
  21044. - description: 品类ID
  21045. in: query
  21046. name: wrstandardid
  21047. type: integer
  21048. - description: 品牌ID
  21049. in: query
  21050. name: spotgoodsbrandid
  21051. type: integer
  21052. - description: 仓库ID
  21053. in: query
  21054. name: warehouseinfoid
  21055. type: integer
  21056. produces:
  21057. - application/json
  21058. responses:
  21059. "200":
  21060. description: OK
  21061. schema:
  21062. items:
  21063. $ref: '#/definitions/models.Ermcp3AreaStockReportEx'
  21064. type: array
  21065. "500":
  21066. description: Internal Server Error
  21067. schema:
  21068. $ref: '#/definitions/app.Response'
  21069. security:
  21070. - ApiKeyAuth: []
  21071. summary: 查询库存报表
  21072. tags:
  21073. - 企业风险管理v3(app)
  21074. /Ermcp3/QryAreaSumPL:
  21075. get:
  21076. parameters:
  21077. - description: 用户ID
  21078. in: query
  21079. name: userid
  21080. required: true
  21081. type: integer
  21082. - description: 查询类型 1-报表 2-报表明细
  21083. in: query
  21084. name: querytype
  21085. required: true
  21086. type: integer
  21087. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21088. in: query
  21089. name: cycletype
  21090. required: true
  21091. type: integer
  21092. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21093. 全(0)【原值】
  21094. in: query
  21095. name: cycletime
  21096. required: true
  21097. type: string
  21098. - description: 币种id(明细必填)
  21099. in: query
  21100. name: currencyid
  21101. type: integer
  21102. - description: 套保品种ID, 查询类型为2时起效
  21103. in: query
  21104. name: middlegoodsid
  21105. type: integer
  21106. produces:
  21107. - application/json
  21108. responses:
  21109. "200":
  21110. description: OK
  21111. schema:
  21112. items:
  21113. $ref: '#/definitions/models.Ermcp3ArealSumPL'
  21114. type: array
  21115. "500":
  21116. description: Internal Server Error
  21117. schema:
  21118. $ref: '#/definitions/app.Response'
  21119. security:
  21120. - ApiKeyAuth: []
  21121. summary: 查询汇总损益表
  21122. tags:
  21123. - 企业风险管理v3(app)
  21124. /Ermcp3/QryFinanceReport:
  21125. get:
  21126. parameters:
  21127. - description: 用户ID
  21128. in: query
  21129. name: userid
  21130. required: true
  21131. type: integer
  21132. - description: 查询类型 1-报表 2-报表明细
  21133. in: query
  21134. name: querytype
  21135. required: true
  21136. type: integer
  21137. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21138. in: query
  21139. name: cycletype
  21140. required: true
  21141. type: integer
  21142. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21143. 全(0)【原值】
  21144. in: query
  21145. name: cycletime
  21146. required: true
  21147. type: string
  21148. - description: 币种id(报表明细必填)
  21149. in: query
  21150. name: currencyid
  21151. type: integer
  21152. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌
  21153. in: query
  21154. name: sumfields
  21155. type: string
  21156. produces:
  21157. - application/json
  21158. responses:
  21159. "200":
  21160. description: OK
  21161. schema:
  21162. items:
  21163. $ref: '#/definitions/models.Ermcp3FinanceReport'
  21164. type: array
  21165. "500":
  21166. description: Internal Server Error
  21167. schema:
  21168. $ref: '#/definitions/app.Response'
  21169. security:
  21170. - ApiKeyAuth: []
  21171. summary: 查询财务报表
  21172. tags:
  21173. - 企业风险管理v3(app)
  21174. /Ermcp3/QrySCMiddleGoodsReport:
  21175. get:
  21176. parameters:
  21177. - description: 用户ID
  21178. in: query
  21179. name: userid
  21180. required: true
  21181. type: integer
  21182. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21183. in: query
  21184. name: cycletype
  21185. required: true
  21186. type: integer
  21187. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21188. 全(0)【原值】
  21189. in: query
  21190. name: cycletime
  21191. required: true
  21192. type: string
  21193. - description: 合同id
  21194. in: query
  21195. name: spotcontractid
  21196. type: integer
  21197. - description: 套保品种id
  21198. in: query
  21199. name: middlegoodsid
  21200. type: integer
  21201. - description: 现货品种id
  21202. in: query
  21203. name: deliverygoodsid
  21204. type: integer
  21205. - description: 现货商品id
  21206. in: query
  21207. name: wrstandardid
  21208. type: integer
  21209. - description: 合同编号(模糊匹配)
  21210. in: query
  21211. name: contractno
  21212. type: string
  21213. produces:
  21214. - application/json
  21215. responses:
  21216. "200":
  21217. description: OK
  21218. schema:
  21219. items:
  21220. $ref: '#/definitions/models.Ermcp3SCMiddleGoodsReport'
  21221. type: array
  21222. "500":
  21223. description: Internal Server Error
  21224. schema:
  21225. $ref: '#/definitions/app.Response'
  21226. security:
  21227. - ApiKeyAuth: []
  21228. summary: 查询定价报表
  21229. tags:
  21230. - 企业风险管理v3(app)
  21231. /Ermcp3/QryTaFutureDataReport:
  21232. get:
  21233. parameters:
  21234. - description: 用户ID
  21235. in: query
  21236. name: userid
  21237. required: true
  21238. type: integer
  21239. - description: 查询类型 1-报表 2-报表明细
  21240. in: query
  21241. name: querytype
  21242. required: true
  21243. type: integer
  21244. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21245. in: query
  21246. name: cycletype
  21247. required: true
  21248. type: integer
  21249. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21250. 全(0)【原值】
  21251. in: query
  21252. name: cycletime
  21253. required: true
  21254. type: string
  21255. - description: 币种id(查明细必填)
  21256. in: query
  21257. name: currencyid
  21258. type: integer
  21259. - description: 品种id(查明细必填)
  21260. in: query
  21261. name: goodsgroupid
  21262. type: integer
  21263. - description: 商品id(查明细必填)
  21264. in: query
  21265. name: goodsid
  21266. type: integer
  21267. - description: 买卖方向(查明细必填)
  21268. in: query
  21269. name: buyorsell
  21270. type: integer
  21271. produces:
  21272. - application/json
  21273. responses:
  21274. "200":
  21275. description: OK
  21276. schema:
  21277. items:
  21278. $ref: '#/definitions/models.Ermcp3TaFutuReDataReport'
  21279. type: array
  21280. "500":
  21281. description: Internal Server Error
  21282. schema:
  21283. $ref: '#/definitions/app.Response'
  21284. security:
  21285. - ApiKeyAuth: []
  21286. summary: 查询期货报表
  21287. tags:
  21288. - 企业风险管理v3(app)
  21289. /Ermcp3/QueryAreaStock:
  21290. get:
  21291. parameters:
  21292. - description: 用户ID
  21293. in: query
  21294. name: userid
  21295. required: true
  21296. type: integer
  21297. produces:
  21298. - application/json
  21299. responses:
  21300. "200":
  21301. description: OK
  21302. schema:
  21303. items:
  21304. $ref: '#/definitions/models.Ermcp3AreaStock'
  21305. type: array
  21306. "500":
  21307. description: Internal Server Error
  21308. schema:
  21309. $ref: '#/definitions/app.Response'
  21310. security:
  21311. - ApiKeyAuth: []
  21312. summary: 查询机构库存(库存管理/当前库存)
  21313. tags:
  21314. - 企业风险管理v3(app)
  21315. /Ermcp3/QueryAreaStockApply:
  21316. get:
  21317. parameters:
  21318. - description: 用户ID
  21319. in: query
  21320. name: userid
  21321. required: true
  21322. type: integer
  21323. - description: 用户类型 2-机构 7-企业成员
  21324. in: query
  21325. name: usertype
  21326. type: integer
  21327. - description: 现货商品ID
  21328. in: query
  21329. name: deliverygoodsid
  21330. type: integer
  21331. - description: 出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  21332. in: query
  21333. name: inouttype
  21334. type: string
  21335. - description: 合同ID
  21336. in: query
  21337. name: spotcontractid
  21338. type: integer
  21339. - description: 品类ID
  21340. in: query
  21341. name: wrstandardid
  21342. type: integer
  21343. - description: 品牌ID
  21344. in: query
  21345. name: spotgoodsbrandid
  21346. type: integer
  21347. - description: 仓库ID
  21348. in: query
  21349. name: warehouseinfoid
  21350. type: integer
  21351. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  21352. in: query
  21353. name: applystatus
  21354. type: string
  21355. produces:
  21356. - application/json
  21357. responses:
  21358. "200":
  21359. description: OK
  21360. schema:
  21361. items:
  21362. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  21363. type: array
  21364. "500":
  21365. description: Internal Server Error
  21366. schema:
  21367. $ref: '#/definitions/app.Response'
  21368. security:
  21369. - ApiKeyAuth: []
  21370. summary: 查询库存申请(出入库记录|库存审核)
  21371. tags:
  21372. - 企业风险管理v3(app)
  21373. /Ermcp3/QueryAreaStockApplySum:
  21374. get:
  21375. parameters:
  21376. - description: 合同ID
  21377. in: query
  21378. name: spotcontractid
  21379. required: true
  21380. type: integer
  21381. produces:
  21382. - application/json
  21383. responses:
  21384. "200":
  21385. description: OK
  21386. schema:
  21387. items:
  21388. $ref: '#/definitions/models.Ermcp3AreaStockApplySum'
  21389. type: array
  21390. "500":
  21391. description: Internal Server Error
  21392. schema:
  21393. $ref: '#/definitions/app.Response'
  21394. security:
  21395. - ApiKeyAuth: []
  21396. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  21397. tags:
  21398. - 企业风险管理v3(app)
  21399. /Ermcp3/QueryDGFactoryItem:
  21400. get:
  21401. parameters:
  21402. - description: 用户id
  21403. in: query
  21404. name: userid
  21405. type: integer
  21406. - description: 用户类型 2-机构 7-企业成员
  21407. in: query
  21408. name: usertype
  21409. type: integer
  21410. - description: 选择项ID(SEQ_DGFACTORYITEM)
  21411. in: query
  21412. name: dgfactoryitemid
  21413. type: integer
  21414. - description: 现货品种ID
  21415. in: query
  21416. name: deliverygoodsid
  21417. type: integer
  21418. - description: 要素项类型
  21419. in: query
  21420. name: dgfactoryitemtypeid
  21421. type: integer
  21422. - description: 顺序
  21423. in: query
  21424. name: orderindex
  21425. type: integer
  21426. produces:
  21427. - application/json
  21428. responses:
  21429. "200":
  21430. description: OK
  21431. schema:
  21432. items:
  21433. $ref: '#/definitions/models.ErmcpDGFactoryItem'
  21434. type: array
  21435. "500":
  21436. description: Internal Server Error
  21437. schema:
  21438. $ref: '#/definitions/app.Response'
  21439. security:
  21440. - ApiKeyAuth: []
  21441. summary: 查询品种要素定义项
  21442. tags:
  21443. - 企业风险管理v3(app)
  21444. /Ermcp3/QueryDeliveryGoods:
  21445. get:
  21446. parameters:
  21447. - description: 用户id
  21448. in: query
  21449. name: userid
  21450. required: true
  21451. type: integer
  21452. - description: 用户类型 2-机构 7-企业成员
  21453. in: query
  21454. name: usertype
  21455. type: integer
  21456. - description: 排除已配置的业务类型商品 1-套保 2-套利
  21457. in: query
  21458. name: excludecfg
  21459. type: integer
  21460. produces:
  21461. - application/json
  21462. responses:
  21463. "200":
  21464. description: OK
  21465. schema:
  21466. items:
  21467. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  21468. type: array
  21469. "500":
  21470. description: Internal Server Error
  21471. schema:
  21472. $ref: '#/definitions/app.Response'
  21473. security:
  21474. - ApiKeyAuth: []
  21475. summary: 查询现货商品
  21476. tags:
  21477. - 企业风险管理v3(app)
  21478. /Ermcp3/QueryDeliveryGoodsDetail:
  21479. get:
  21480. parameters:
  21481. - description: 用户id
  21482. in: query
  21483. name: userid
  21484. required: true
  21485. type: integer
  21486. - description: 用户类型 2-机构 7-企业成员
  21487. in: query
  21488. name: usertype
  21489. type: integer
  21490. - description: 现货商品id
  21491. in: query
  21492. name: deliverygoodsid
  21493. type: integer
  21494. - description: 过滤下级为空, 1-过滤. 比如 品种大豆的下级品类列表为空, 则大豆不显示; 比如品类的下级套保品列表为空, 则该品类不显示
  21495. in: query
  21496. name: filtersubempty
  21497. type: integer
  21498. produces:
  21499. - application/json
  21500. responses:
  21501. "200":
  21502. description: OK
  21503. schema:
  21504. items:
  21505. $ref: '#/definitions/models.XHDeliveryGoods'
  21506. type: array
  21507. "500":
  21508. description: Internal Server Error
  21509. schema:
  21510. $ref: '#/definitions/app.Response'
  21511. security:
  21512. - ApiKeyAuth: []
  21513. summary: 查询现货商品详情
  21514. tags:
  21515. - 企业风险管理v3(app)
  21516. /Ermcp3/QueryErmcp3ContractMiddleGoodsCfg:
  21517. get:
  21518. parameters:
  21519. - description: 合同id
  21520. in: query
  21521. name: spotcontractid
  21522. required: true
  21523. type: string
  21524. produces:
  21525. - application/json
  21526. responses:
  21527. "200":
  21528. description: OK
  21529. schema:
  21530. items:
  21531. $ref: '#/definitions/models.Ermcp3ContractMiddleGoodsCfg'
  21532. type: array
  21533. "500":
  21534. description: Internal Server Error
  21535. schema:
  21536. $ref: '#/definitions/app.Response'
  21537. security:
  21538. - ApiKeyAuth: []
  21539. summary: 查询现货合同期现配置信息
  21540. tags:
  21541. - 企业风险管理v3(app)
  21542. /Ermcp3/QueryExposureDetail:
  21543. get:
  21544. parameters:
  21545. - description: 用户id
  21546. in: query
  21547. name: userid
  21548. required: true
  21549. type: integer
  21550. - description: 用户类型 2-机构 7-企业成员
  21551. in: query
  21552. name: usertype
  21553. type: integer
  21554. - description: 套保商品
  21555. in: query
  21556. name: middlegoodsid
  21557. required: true
  21558. type: integer
  21559. produces:
  21560. - application/json
  21561. responses:
  21562. "200":
  21563. description: OK
  21564. schema:
  21565. items:
  21566. $ref: '#/definitions/models.Ermcp3ExposureDetail'
  21567. type: array
  21568. "500":
  21569. description: Internal Server Error
  21570. schema:
  21571. $ref: '#/definitions/app.Response'
  21572. security:
  21573. - ApiKeyAuth: []
  21574. summary: 查询敞口现货明细
  21575. tags:
  21576. - 企业风险管理v3(app)
  21577. /Ermcp3/QueryExposureSpot:
  21578. get:
  21579. parameters:
  21580. - description: 用户id
  21581. in: query
  21582. name: userid
  21583. required: true
  21584. type: integer
  21585. - description: 用户类型 2-机构 7-企业成员
  21586. in: query
  21587. name: usertype
  21588. type: integer
  21589. produces:
  21590. - application/json
  21591. responses:
  21592. "200":
  21593. description: OK
  21594. schema:
  21595. items:
  21596. $ref: '#/definitions/models.Ermcp3AreaSpot'
  21597. type: array
  21598. "500":
  21599. description: Internal Server Error
  21600. schema:
  21601. $ref: '#/definitions/app.Response'
  21602. security:
  21603. - ApiKeyAuth: []
  21604. summary: 查询敞口现货头寸(敞口/现货头寸)
  21605. tags:
  21606. - 企业风险管理v3(app)
  21607. /Ermcp3/QueryExposureSpotDetail:
  21608. get:
  21609. parameters:
  21610. - description: 用户id
  21611. in: query
  21612. name: userid
  21613. required: true
  21614. type: integer
  21615. - description: 用户类型 2-机构 7-企业成员
  21616. in: query
  21617. name: usertype
  21618. type: integer
  21619. - description: 现货商品ID
  21620. in: query
  21621. name: wrstandardid
  21622. required: true
  21623. type: integer
  21624. produces:
  21625. - application/json
  21626. responses:
  21627. "200":
  21628. description: OK
  21629. schema:
  21630. items:
  21631. $ref: '#/definitions/models.Ermcp3AreaSpotDetail'
  21632. type: array
  21633. "500":
  21634. description: Internal Server Error
  21635. schema:
  21636. $ref: '#/definitions/app.Response'
  21637. security:
  21638. - ApiKeyAuth: []
  21639. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  21640. tags:
  21641. - 企业风险管理v3(app)
  21642. /Ermcp3/QueryGoodsGroup:
  21643. get:
  21644. parameters:
  21645. - description: 用户id
  21646. in: query
  21647. name: userid
  21648. required: true
  21649. type: integer
  21650. - description: 用户类型 2-机构 7-企业成员
  21651. in: query
  21652. name: usertype
  21653. type: integer
  21654. - description: 排除套保品中已关联的商品组 1-排除
  21655. in: query
  21656. name: excludecfg
  21657. type: integer
  21658. produces:
  21659. - application/json
  21660. responses:
  21661. "200":
  21662. description: OK
  21663. schema:
  21664. items:
  21665. $ref: '#/definitions/models.Ermcp3GoodsGroup'
  21666. type: array
  21667. "500":
  21668. description: Internal Server Error
  21669. schema:
  21670. $ref: '#/definitions/app.Response'
  21671. security:
  21672. - ApiKeyAuth: []
  21673. summary: 查询期货商品组
  21674. tags:
  21675. - 企业风险管理v3(app)
  21676. /Ermcp3/QueryGoodsWrstandard:
  21677. get:
  21678. parameters:
  21679. - description: 用户id
  21680. in: query
  21681. name: userid
  21682. required: true
  21683. type: integer
  21684. - description: 用户类型 2-机构 7-企业成员
  21685. in: query
  21686. name: usertype
  21687. type: integer
  21688. - description: 现货商品id
  21689. in: query
  21690. name: deliverygoodsid
  21691. type: integer
  21692. produces:
  21693. - application/json
  21694. responses:
  21695. "200":
  21696. description: OK
  21697. schema:
  21698. items:
  21699. $ref: '#/definitions/models.Ermcp3Wrstandard'
  21700. type: array
  21701. "500":
  21702. description: Internal Server Error
  21703. schema:
  21704. $ref: '#/definitions/app.Response'
  21705. security:
  21706. - ApiKeyAuth: []
  21707. summary: 查询商品品类
  21708. tags:
  21709. - 企业风险管理v3(app)
  21710. /Ermcp3/QueryGoodsbrand:
  21711. get:
  21712. parameters:
  21713. - description: 用户id
  21714. in: query
  21715. name: userid
  21716. required: true
  21717. type: integer
  21718. - description: 用户类型 2-机构 7-企业成员
  21719. in: query
  21720. name: usertype
  21721. type: integer
  21722. produces:
  21723. - application/json
  21724. responses:
  21725. "200":
  21726. description: OK
  21727. schema:
  21728. items:
  21729. $ref: '#/definitions/models.Ermcp3Brand'
  21730. type: array
  21731. "500":
  21732. description: Internal Server Error
  21733. schema:
  21734. $ref: '#/definitions/app.Response'
  21735. security:
  21736. - ApiKeyAuth: []
  21737. summary: 查询商品品牌
  21738. tags:
  21739. - 企业风险管理v3(app)
  21740. /Ermcp3/QueryHPMiddleGoods:
  21741. get:
  21742. parameters:
  21743. - description: 用户ID(填登录用户的userid)
  21744. in: query
  21745. name: userid
  21746. required: true
  21747. type: integer
  21748. - description: 买卖方向 0-买 1-卖
  21749. in: query
  21750. name: buyorsell
  21751. required: true
  21752. type: integer
  21753. - description: 商品组id
  21754. in: query
  21755. name: goodsgroupid
  21756. required: true
  21757. type: integer
  21758. - description: 套保计划编号(模糊匹配)
  21759. in: query
  21760. name: hedgeplanno
  21761. type: string
  21762. - description: 现货商品名称(模糊匹配)
  21763. in: query
  21764. name: wrstandardname
  21765. type: string
  21766. produces:
  21767. - application/json
  21768. responses:
  21769. "200":
  21770. description: OK
  21771. schema:
  21772. items:
  21773. $ref: '#/definitions/models.Ermcp3HPMiddleGoods'
  21774. type: array
  21775. "500":
  21776. description: Internal Server Error
  21777. schema:
  21778. $ref: '#/definitions/app.Response'
  21779. security:
  21780. - ApiKeyAuth: []
  21781. summary: 查询可关联套保计划
  21782. tags:
  21783. - 企业风险管理v3(app)
  21784. /Ermcp3/QueryHedgePlan:
  21785. get:
  21786. parameters:
  21787. - description: 用户ID
  21788. in: query
  21789. name: userid
  21790. required: true
  21791. type: integer
  21792. - description: 用户类型 2-机构 7-企业成员
  21793. in: query
  21794. name: usertype
  21795. type: integer
  21796. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  21797. in: query
  21798. name: hedgeplanstatus
  21799. required: true
  21800. type: string
  21801. produces:
  21802. - application/json
  21803. responses:
  21804. "200":
  21805. description: OK
  21806. schema:
  21807. items:
  21808. $ref: '#/definitions/models.Ermcp3HedgePlan'
  21809. type: array
  21810. "500":
  21811. description: Internal Server Error
  21812. schema:
  21813. $ref: '#/definitions/app.Response'
  21814. security:
  21815. - ApiKeyAuth: []
  21816. summary: 查询套保计划
  21817. tags:
  21818. - 企业风险管理v3(app)
  21819. /Ermcp3/QueryInnerTradeLink:
  21820. get:
  21821. description: 页面 app 现货->期现关联->外部成交单关联->点"解除关联"按钮->解除外部关联的页面信息
  21822. parameters:
  21823. - description: 外部成交单号
  21824. in: query
  21825. name: outtradeid
  21826. required: true
  21827. type: integer
  21828. produces:
  21829. - application/json
  21830. responses:
  21831. "200":
  21832. description: OK
  21833. schema:
  21834. items:
  21835. $ref: '#/definitions/models.Ermcp3InnerTradeLink'
  21836. type: array
  21837. "500":
  21838. description: Internal Server Error
  21839. schema:
  21840. $ref: '#/definitions/app.Response'
  21841. security:
  21842. - ApiKeyAuth: []
  21843. summary: 查询外部成交单关联的内部单信息(在解除外部关联页面使用)
  21844. tags:
  21845. - 企业风险管理v3(app)
  21846. /Ermcp3/QueryMiddleGoodsDetail:
  21847. get:
  21848. parameters:
  21849. - description: 用户id
  21850. in: query
  21851. name: userid
  21852. required: true
  21853. type: integer
  21854. - description: 用户类型 2-机构 7-企业成员
  21855. in: query
  21856. name: usertype
  21857. type: integer
  21858. - description: 套保品种id
  21859. in: query
  21860. name: middlegoodsid
  21861. type: integer
  21862. produces:
  21863. - application/json
  21864. responses:
  21865. "200":
  21866. description: OK
  21867. schema:
  21868. items:
  21869. $ref: '#/definitions/models.TBMiddleGoods'
  21870. type: array
  21871. "500":
  21872. description: Internal Server Error
  21873. schema:
  21874. $ref: '#/definitions/app.Response'
  21875. security:
  21876. - ApiKeyAuth: []
  21877. summary: 查询套保品种详情(套保品种/商品详情)
  21878. tags:
  21879. - 企业风险管理v3(app)
  21880. /Ermcp3/QueryOutTradeLink:
  21881. get:
  21882. description: 页面 app 现货->期现关联->外部成交单关联
  21883. parameters:
  21884. - description: 用户ID(填登录用户的userid)
  21885. in: query
  21886. name: userid
  21887. required: true
  21888. type: integer
  21889. - description: 外部订单号(模糊匹配)
  21890. in: query
  21891. name: outtradeid
  21892. type: string
  21893. - description: 合约名称/代码(模糊匹配)
  21894. in: query
  21895. name: goodsname
  21896. type: string
  21897. - description: 关联状态 0-未关联 1-已关联
  21898. in: query
  21899. name: hasinnerorder
  21900. type: integer
  21901. produces:
  21902. - application/json
  21903. responses:
  21904. "200":
  21905. description: OK
  21906. schema:
  21907. items:
  21908. $ref: '#/definitions/models.Ermcp3OutTradeLink'
  21909. type: array
  21910. "500":
  21911. description: Internal Server Error
  21912. schema:
  21913. $ref: '#/definitions/app.Response'
  21914. security:
  21915. - ApiKeyAuth: []
  21916. summary: 查询外部成交单关联
  21917. tags:
  21918. - 企业风险管理v3(app)
  21919. /Ermcp3/QueryPaAreaAuditCfg:
  21920. get:
  21921. parameters:
  21922. - description: 用户id
  21923. in: query
  21924. name: userid
  21925. required: true
  21926. type: integer
  21927. produces:
  21928. - application/json
  21929. responses:
  21930. "200":
  21931. description: OK
  21932. schema:
  21933. items:
  21934. $ref: '#/definitions/models.Ermcp3PaAreaAuditCfg'
  21935. type: array
  21936. "500":
  21937. description: Internal Server Error
  21938. schema:
  21939. $ref: '#/definitions/app.Response'
  21940. security:
  21941. - ApiKeyAuth: []
  21942. summary: 查询审核设置
  21943. tags:
  21944. - 企业风险管理v3(app)
  21945. /Ermcp3/QueryPaAreaSubject:
  21946. get:
  21947. parameters:
  21948. - description: 用户id
  21949. in: query
  21950. name: userid
  21951. required: true
  21952. type: integer
  21953. - description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  21954. in: query
  21955. name: subjectid
  21956. type: integer
  21957. - description: 主体类型 - 1:交易主体 2:业务部门
  21958. in: query
  21959. name: subjecttype
  21960. type: integer
  21961. - description: '主体状态 - 1:正常 2: 停用'
  21962. in: query
  21963. name: subjectstatus
  21964. type: integer
  21965. produces:
  21966. - application/json
  21967. responses:
  21968. "200":
  21969. description: OK
  21970. schema:
  21971. items:
  21972. $ref: '#/definitions/models.Ermcp3PaAreaSubject'
  21973. type: array
  21974. "500":
  21975. description: Internal Server Error
  21976. schema:
  21977. $ref: '#/definitions/app.Response'
  21978. security:
  21979. - ApiKeyAuth: []
  21980. summary: 查询交易主体
  21981. tags:
  21982. - 企业风险管理v3(app)
  21983. /Ermcp3/QueryPaTradeLink:
  21984. get:
  21985. description: 页面 app 现货->期现关联->期现单据关联
  21986. parameters:
  21987. - description: 用户ID
  21988. in: query
  21989. name: userid
  21990. required: true
  21991. type: integer
  21992. produces:
  21993. - application/json
  21994. responses:
  21995. "200":
  21996. description: OK
  21997. schema:
  21998. items:
  21999. $ref: '#/definitions/models.Ermcp3PaTradeLink'
  22000. type: array
  22001. "500":
  22002. description: Internal Server Error
  22003. schema:
  22004. $ref: '#/definitions/app.Response'
  22005. security:
  22006. - ApiKeyAuth: []
  22007. summary: 查询期现单据关联
  22008. tags:
  22009. - 企业风险管理v3(app)
  22010. /Ermcp3/QueryPaTradeLinkDetail:
  22011. get:
  22012. description: 页面 app 现货->期现关联->关联记录
  22013. parameters:
  22014. - description: 用户ID(填登录用户的userid)
  22015. in: query
  22016. name: userid
  22017. required: true
  22018. type: integer
  22019. - description: 关联状态 1:成功 2:失败 3:解绑
  22020. in: query
  22021. name: linkstatus
  22022. type: integer
  22023. - description: 期货订单号(模糊匹配)
  22024. in: query
  22025. name: tradeid
  22026. type: string
  22027. - description: 现货编号(模糊匹配)
  22028. in: query
  22029. name: contractno
  22030. type: string
  22031. - description: 期货账户(模糊匹配)
  22032. in: query
  22033. name: taname
  22034. type: string
  22035. produces:
  22036. - application/json
  22037. responses:
  22038. "200":
  22039. description: OK
  22040. schema:
  22041. items:
  22042. $ref: '#/definitions/models.Ermcp3TradeLinkDetail'
  22043. type: array
  22044. "500":
  22045. description: Internal Server Error
  22046. schema:
  22047. $ref: '#/definitions/app.Response'
  22048. security:
  22049. - ApiKeyAuth: []
  22050. summary: 查询期现关联记录
  22051. tags:
  22052. - 企业风险管理v3(app)
  22053. /Ermcp3/QueryParamChangeApp:
  22054. get:
  22055. description: |-
  22056. 原型页面:
  22057. 1.商品信息->商品参数修改流水-> 增值税税率 | 折算系数 | 成本权重; 流水页面查申请状态为“审核通过”的记录
  22058. 2.风管审核->套保比例审核 | 折算系数审核 | 增值税税率审核 | 成本权重审核
  22059. parameters:
  22060. - description: 用户ID
  22061. in: query
  22062. name: userid
  22063. required: true
  22064. type: integer
  22065. - description: 现货品种id
  22066. in: query
  22067. name: deliverygoodsid
  22068. type: integer
  22069. - description: 现货商品id
  22070. in: query
  22071. name: wrstandardid
  22072. type: integer
  22073. - description: 套保商品id
  22074. in: query
  22075. name: middlegoodsid
  22076. type: integer
  22077. - description: 操作类型 1:新增 2:修改
  22078. in: query
  22079. name: operatetype
  22080. type: integer
  22081. - description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  22082. in: query
  22083. name: paramchangetype
  22084. type: integer
  22085. - description: 申请状态(逗号隔开,如1,2,3) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  22086. in: query
  22087. name: ftstatus
  22088. type: string
  22089. produces:
  22090. - application/json
  22091. responses:
  22092. "200":
  22093. description: OK
  22094. schema:
  22095. items:
  22096. $ref: '#/definitions/models.Ermcp3ParamChangeApp'
  22097. type: array
  22098. "500":
  22099. description: Internal Server Error
  22100. schema:
  22101. $ref: '#/definitions/app.Response'
  22102. security:
  22103. - ApiKeyAuth: []
  22104. summary: 查询现货商品参数变更申请(流水)
  22105. tags:
  22106. - 企业风险管理v3(app)
  22107. /Ermcp3/QueryRootUserAccount:
  22108. get:
  22109. parameters:
  22110. - description: 用户ID
  22111. in: query
  22112. name: userid
  22113. required: true
  22114. type: integer
  22115. produces:
  22116. - application/json
  22117. responses:
  22118. "200":
  22119. description: OK
  22120. schema:
  22121. items:
  22122. $ref: '#/definitions/models.Ermcp3RootUserAccount'
  22123. type: array
  22124. "500":
  22125. description: Internal Server Error
  22126. schema:
  22127. $ref: '#/definitions/app.Response'
  22128. security:
  22129. - ApiKeyAuth: []
  22130. summary: 查询顶级用户信息
  22131. tags:
  22132. - 企业风险管理v3(app)
  22133. /Ermcp3/QuerySCMiddleGoods:
  22134. get:
  22135. description: |-
  22136. 页面 app 现货->期现关联->期现单据关联->点"关联"按钮->弹出界面 : 现货订单
  22137. 现货编号 即 合同编号
  22138. parameters:
  22139. - description: 用户ID(填登录用户的userid)
  22140. in: query
  22141. name: userid
  22142. required: true
  22143. type: integer
  22144. - description: 买卖方向 0-买 1-卖
  22145. in: query
  22146. name: buyorsell
  22147. required: true
  22148. type: integer
  22149. - description: 商品组id
  22150. in: query
  22151. name: goodsgroupid
  22152. required: true
  22153. type: integer
  22154. - description: 业务类型 1:套保 2:套利
  22155. in: query
  22156. name: biztype
  22157. type: integer
  22158. - description: 现货编号(模糊匹配)
  22159. in: query
  22160. name: contractno
  22161. type: string
  22162. - description: 对手方(模糊匹配)
  22163. in: query
  22164. name: customername
  22165. type: string
  22166. - description: 现货商品名称(模糊匹配)
  22167. in: query
  22168. name: wrstandardname
  22169. type: string
  22170. produces:
  22171. - application/json
  22172. responses:
  22173. "200":
  22174. description: OK
  22175. schema:
  22176. items:
  22177. $ref: '#/definitions/models.Ermcp3SCMiddleGoods'
  22178. type: array
  22179. "500":
  22180. description: Internal Server Error
  22181. schema:
  22182. $ref: '#/definitions/app.Response'
  22183. security:
  22184. - ApiKeyAuth: []
  22185. summary: 查询现货订单
  22186. tags:
  22187. - 企业风险管理v3(app)
  22188. /Ermcp3/QuerySpotContract:
  22189. get:
  22190. parameters:
  22191. - description: 用户id(当指定contractid, userid可不填)
  22192. in: query
  22193. name: userid
  22194. required: true
  22195. type: integer
  22196. - description: 用户类型 2-机构 7-企业成员
  22197. in: query
  22198. name: usertype
  22199. type: integer
  22200. - description: 合同类型 1-采购, -1-销售
  22201. in: query
  22202. name: contracttype
  22203. type: integer
  22204. - description: 查询类型(逗号隔开, 如1,2,3) 1-未提交 2-待审核 3-履约中 4-已完成
  22205. in: query
  22206. name: querytype
  22207. type: string
  22208. - description: 合同ID(SpotContractId)
  22209. in: query
  22210. name: contractid
  22211. type: string
  22212. - description: 合同编号(模糊匹配)
  22213. in: query
  22214. name: contractno
  22215. type: string
  22216. - description: 商品名称(模糊匹配)
  22217. in: query
  22218. name: wrstandardname
  22219. type: string
  22220. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中
  22221. 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  22222. in: query
  22223. name: status
  22224. type: string
  22225. - description: 是否只查今日的合同 1-查今日合同
  22226. in: query
  22227. name: istoday
  22228. type: integer
  22229. produces:
  22230. - application/json
  22231. responses:
  22232. "200":
  22233. description: OK
  22234. schema:
  22235. items:
  22236. $ref: '#/definitions/models.Ermcp3Contract'
  22237. type: array
  22238. "500":
  22239. description: Internal Server Error
  22240. schema:
  22241. $ref: '#/definitions/app.Response'
  22242. security:
  22243. - ApiKeyAuth: []
  22244. summary: 查询现货合同
  22245. tags:
  22246. - 企业风险管理v3(app)
  22247. /Ermcp3/QuerySpotContractBS:
  22248. get:
  22249. parameters:
  22250. - description: 用户id
  22251. in: query
  22252. name: userid
  22253. required: true
  22254. type: integer
  22255. - description: 用户类型 2-机构 7-企业成员
  22256. in: query
  22257. name: usertype
  22258. type: integer
  22259. - description: 合同类型 1-采购, -1-销售
  22260. in: query
  22261. name: contracttype
  22262. required: true
  22263. type: integer
  22264. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  22265. in: query
  22266. name: querytype
  22267. type: integer
  22268. - description: 合同ID(SpotContractId)
  22269. in: query
  22270. name: contractid
  22271. type: string
  22272. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中
  22273. 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  22274. in: query
  22275. name: status
  22276. type: string
  22277. - description: 是否只查今日的合同 1-查今日合同
  22278. in: query
  22279. name: istoday
  22280. type: integer
  22281. produces:
  22282. - application/json
  22283. responses:
  22284. "200":
  22285. description: OK
  22286. schema:
  22287. items:
  22288. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  22289. type: array
  22290. "500":
  22291. description: Internal Server Error
  22292. schema:
  22293. $ref: '#/definitions/app.Response'
  22294. security:
  22295. - ApiKeyAuth: []
  22296. summary: 查询合同(采购/销售)
  22297. tags:
  22298. - 企业风险管理v3(app)
  22299. /Ermcp3/QuerySpotGoodsPrice:
  22300. get:
  22301. parameters:
  22302. - description: 用户ID
  22303. in: query
  22304. name: userid
  22305. required: true
  22306. type: integer
  22307. produces:
  22308. - application/json
  22309. responses:
  22310. "200":
  22311. description: OK
  22312. schema:
  22313. items:
  22314. $ref: '#/definitions/models.Ermcp3SpotGoodsPrice'
  22315. type: array
  22316. "500":
  22317. description: Internal Server Error
  22318. schema:
  22319. $ref: '#/definitions/app.Response'
  22320. security:
  22321. - ApiKeyAuth: []
  22322. summary: 查询现货市价(现货市价)
  22323. tags:
  22324. - 企业风险管理v3(app)
  22325. /Ermcp3/QuerySpotGoodsPriceLog:
  22326. get:
  22327. parameters:
  22328. - description: 用户ID
  22329. in: query
  22330. name: userid
  22331. required: true
  22332. type: integer
  22333. - description: 现货商品ID
  22334. in: query
  22335. name: deliverygoodsid
  22336. required: true
  22337. type: integer
  22338. - description: 品牌ID
  22339. in: query
  22340. name: brandid
  22341. type: integer
  22342. - description: 品类ID
  22343. in: query
  22344. name: wrstandardid
  22345. type: integer
  22346. produces:
  22347. - application/json
  22348. responses:
  22349. "200":
  22350. description: OK
  22351. schema:
  22352. items:
  22353. $ref: '#/definitions/models.Ermcp3SpotGoodsPriceLog'
  22354. type: array
  22355. "500":
  22356. description: Internal Server Error
  22357. schema:
  22358. $ref: '#/definitions/app.Response'
  22359. security:
  22360. - ApiKeyAuth: []
  22361. summary: 查询现货市价详情(现货市价/详情)
  22362. tags:
  22363. - 企业风险管理v3(app)
  22364. /Ermcp3/QuerySubTaaccount:
  22365. get:
  22366. description: 页面 app 现货->期现关联->外部成交单关联->点"关联"按钮->选择期货子账户
  22367. parameters:
  22368. - description: 母账号id
  22369. in: query
  22370. name: parentaccountid
  22371. type: integer
  22372. - description: 母账号代码
  22373. in: query
  22374. name: parentaccountcode
  22375. type: string
  22376. produces:
  22377. - application/json
  22378. responses:
  22379. "200":
  22380. description: OK
  22381. schema:
  22382. items:
  22383. $ref: '#/definitions/models.Ermcp3SubTaaccount'
  22384. type: array
  22385. "500":
  22386. description: Internal Server Error
  22387. schema:
  22388. $ref: '#/definitions/app.Response'
  22389. security:
  22390. - ApiKeyAuth: []
  22391. summary: 查询期货子账户
  22392. tags:
  22393. - 企业风险管理v3(app)
  22394. /Ermcp8/QueryERMCP2HedgedItemSpotDetail:
  22395. get:
  22396. parameters:
  22397. - description: 套期项目ID
  22398. in: query
  22399. name: hedgeditemid
  22400. required: true
  22401. type: integer
  22402. produces:
  22403. - application/json
  22404. responses:
  22405. "200":
  22406. description: OK
  22407. schema:
  22408. items:
  22409. $ref: '#/definitions/models.Ermcp2hedgeditemspotDetail'
  22410. type: array
  22411. "500":
  22412. description: Internal Server Error
  22413. schema:
  22414. $ref: '#/definitions/app.Response'
  22415. security:
  22416. - ApiKeyAuth: []
  22417. summary: 现货成交明细查询
  22418. tags:
  22419. - 企业风险管理v8
  22420. /Ermcp8/QueryERMCP2HedgedItemspot:
  22421. get:
  22422. parameters:
  22423. - description: 套期项目ID
  22424. in: query
  22425. name: hedgeditemid
  22426. required: true
  22427. type: integer
  22428. produces:
  22429. - application/json
  22430. responses:
  22431. "200":
  22432. description: OK
  22433. schema:
  22434. items:
  22435. $ref: '#/definitions/models.Ermcp2hedgeditemspot'
  22436. type: array
  22437. "500":
  22438. description: Internal Server Error
  22439. schema:
  22440. $ref: '#/definitions/app.Response'
  22441. security:
  22442. - ApiKeyAuth: []
  22443. summary: 套期计划明细查询
  22444. tags:
  22445. - 企业风险管理v8
  22446. /Ermcp8/QueryERMCPJRLinkPos:
  22447. get:
  22448. parameters:
  22449. - description: 套期项目ID
  22450. in: query
  22451. name: hedgeditemid
  22452. required: true
  22453. type: integer
  22454. produces:
  22455. - application/json
  22456. responses:
  22457. "200":
  22458. description: OK
  22459. schema:
  22460. items:
  22461. $ref: '#/definitions/models.Ermcpjrlinkpos'
  22462. type: array
  22463. "500":
  22464. description: Internal Server Error
  22465. schema:
  22466. $ref: '#/definitions/app.Response'
  22467. security:
  22468. - ApiKeyAuth: []
  22469. summary: 期货持仓明细查询
  22470. tags:
  22471. - 企业风险管理v8
  22472. /Ermcp8/QueryERMCPPatradeLinkDetail:
  22473. get:
  22474. parameters:
  22475. - description: 套期项目ID
  22476. in: query
  22477. name: hedgeditemid
  22478. required: true
  22479. type: integer
  22480. produces:
  22481. - application/json
  22482. responses:
  22483. "200":
  22484. description: OK
  22485. schema:
  22486. items:
  22487. $ref: '#/definitions/models.Ermcppatradelinkdetail'
  22488. type: array
  22489. "500":
  22490. description: Internal Server Error
  22491. schema:
  22492. $ref: '#/definitions/app.Response'
  22493. security:
  22494. - ApiKeyAuth: []
  22495. summary: 期货成交单明细查询
  22496. tags:
  22497. - 企业风险管理v8
  22498. /Ermcp8/QueryErmcp2AreaExposure:
  22499. get:
  22500. parameters:
  22501. - description: 用户ID
  22502. in: query
  22503. name: userid
  22504. required: true
  22505. type: string
  22506. produces:
  22507. - application/json
  22508. responses:
  22509. "200":
  22510. description: OK
  22511. schema:
  22512. items:
  22513. $ref: '#/definitions/models.Ermcp2AreaExposure'
  22514. type: array
  22515. "500":
  22516. description: Internal Server Error
  22517. schema:
  22518. $ref: '#/definitions/app.Response'
  22519. security:
  22520. - ApiKeyAuth: []
  22521. summary: 企业敞口查询
  22522. tags:
  22523. - 企业风险管理v8
  22524. /Ermcp8/QueryErmcp2HedgedItem:
  22525. get:
  22526. description: 已完成项目查询 -> 项目状态 = 3:正常完结 or 5:异常完结
  22527. parameters:
  22528. - description: 用户ID
  22529. in: query
  22530. name: userid
  22531. required: true
  22532. type: string
  22533. - description: 套期类型 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  22534. in: query
  22535. name: hedgedtype
  22536. type: integer
  22537. - description: 项目状态 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  22538. in: query
  22539. name: hedgeditemstatus
  22540. type: integer
  22541. produces:
  22542. - application/json
  22543. responses:
  22544. "200":
  22545. description: OK
  22546. schema:
  22547. items:
  22548. $ref: '#/definitions/models.Ermcp2hedgeditem'
  22549. type: array
  22550. "500":
  22551. description: Internal Server Error
  22552. schema:
  22553. $ref: '#/definitions/app.Response'
  22554. security:
  22555. - ApiKeyAuth: []
  22556. summary: 查询被套期项目信息
  22557. tags:
  22558. - 企业风险管理v8
  22559. /Ermcp8/QueryErmcp2HedgedItemLink:
  22560. get:
  22561. parameters:
  22562. - description: 现货合同ID
  22563. in: query
  22564. name: spotcontractid
  22565. required: true
  22566. type: integer
  22567. produces:
  22568. - application/json
  22569. responses:
  22570. "200":
  22571. description: OK
  22572. schema:
  22573. items:
  22574. $ref: '#/definitions/models.Ermcp2hedgeditemlink'
  22575. type: array
  22576. "500":
  22577. description: Internal Server Error
  22578. schema:
  22579. $ref: '#/definitions/app.Response'
  22580. security:
  22581. - ApiKeyAuth: []
  22582. summary: 现货合同关联被套期项目查询
  22583. tags:
  22584. - 企业风险管理v8
  22585. /Ermcp8/QueryErmcp2HedgedItemsDetail:
  22586. get:
  22587. parameters:
  22588. - description: 用户ID
  22589. in: query
  22590. name: userid
  22591. required: true
  22592. type: integer
  22593. - description: 套保品种ID
  22594. in: query
  22595. name: middlegoodsid
  22596. required: true
  22597. type: integer
  22598. produces:
  22599. - application/json
  22600. responses:
  22601. "200":
  22602. description: OK
  22603. schema:
  22604. items:
  22605. $ref: '#/definitions/models.Ermcp2hedgeditemsDetail'
  22606. type: array
  22607. "500":
  22608. description: Internal Server Error
  22609. schema:
  22610. $ref: '#/definitions/app.Response'
  22611. security:
  22612. - ApiKeyAuth: []
  22613. summary: 敞口明细 - 计划变动明细
  22614. tags:
  22615. - 企业风险管理v8
  22616. /Ermcp8/QueryErmcp2StockSpotChangeLog:
  22617. get:
  22618. parameters:
  22619. - description: 用户ID
  22620. in: query
  22621. name: userid
  22622. required: true
  22623. type: integer
  22624. - description: 套保品种ID
  22625. in: query
  22626. name: middlegoodsid
  22627. required: true
  22628. type: integer
  22629. produces:
  22630. - application/json
  22631. responses:
  22632. "200":
  22633. description: OK
  22634. schema:
  22635. items:
  22636. $ref: '#/definitions/models.Ermcp2stockspotchangelog'
  22637. type: array
  22638. "500":
  22639. description: Internal Server Error
  22640. schema:
  22641. $ref: '#/definitions/app.Response'
  22642. security:
  22643. - ApiKeyAuth: []
  22644. summary: 敞口明细 - 现货变动明细查询
  22645. tags:
  22646. - 企业风险管理v8
  22647. /Ermcp8/QueryErmcp8EnableHedgeditem:
  22648. get:
  22649. parameters:
  22650. - description: 用户ID
  22651. in: query
  22652. name: userid
  22653. required: true
  22654. type: integer
  22655. - description: 现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  22656. in: query
  22657. name: spottype
  22658. required: true
  22659. type: integer
  22660. - description: 现货商品ID
  22661. in: query
  22662. name: wrstandardid
  22663. type: integer
  22664. produces:
  22665. - application/json
  22666. responses:
  22667. "200":
  22668. description: OK
  22669. schema:
  22670. items:
  22671. $ref: '#/definitions/models.Ermcp8EnableHedgeditem'
  22672. type: array
  22673. "500":
  22674. description: Internal Server Error
  22675. schema:
  22676. $ref: '#/definitions/app.Response'
  22677. security:
  22678. - ApiKeyAuth: []
  22679. summary: 可关联项目查询
  22680. tags:
  22681. - 企业风险管理v8
  22682. /Ermcp8/QueryErmcp8HedgeditemReport:
  22683. get:
  22684. parameters:
  22685. - description: 用户ID
  22686. in: query
  22687. name: userid
  22688. required: true
  22689. type: integer
  22690. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  22691. in: query
  22692. name: cycletype
  22693. type: integer
  22694. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  22695. 全(0)【原值】
  22696. in: query
  22697. name: cycletime
  22698. required: true
  22699. type: string
  22700. - description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  22701. in: query
  22702. name: hedgedtype
  22703. type: integer
  22704. - description: 项目状态 - 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  22705. in: query
  22706. name: hedgeditemstatus
  22707. type: integer
  22708. - description: 项目编号,模糊查询
  22709. in: query
  22710. name: hedgeditemnum
  22711. type: string
  22712. - description: 现货商品ID
  22713. in: query
  22714. name: wrstandardid
  22715. type: integer
  22716. produces:
  22717. - application/json
  22718. responses:
  22719. "200":
  22720. description: OK
  22721. schema:
  22722. items:
  22723. $ref: '#/definitions/models.Ermcp8HedgeditemReport'
  22724. type: array
  22725. "500":
  22726. description: Internal Server Error
  22727. schema:
  22728. $ref: '#/definitions/app.Response'
  22729. security:
  22730. - ApiKeyAuth: []
  22731. summary: 套期项目报表查询
  22732. tags:
  22733. - 企业风险管理v8
  22734. /Ermcp8/QueryErmcp8RunningHedgeditem:
  22735. get:
  22736. parameters:
  22737. - description: 用户ID
  22738. in: query
  22739. name: userid
  22740. required: true
  22741. type: string
  22742. produces:
  22743. - application/json
  22744. responses:
  22745. "200":
  22746. description: OK
  22747. schema:
  22748. items:
  22749. $ref: '#/definitions/models.Ermcp8RunningHedgeditem'
  22750. type: array
  22751. "500":
  22752. description: Internal Server Error
  22753. schema:
  22754. $ref: '#/definitions/app.Response'
  22755. security:
  22756. - ApiKeyAuth: []
  22757. summary: 查询执行中项目查询信息
  22758. tags:
  22759. - 企业风险管理v8
  22760. /Ermcp8/QueryInternalEnableTradeDetail:
  22761. get:
  22762. parameters:
  22763. - description: 企业ID
  22764. in: query
  22765. name: areauserid
  22766. required: true
  22767. type: integer
  22768. - description: 期货合约ID
  22769. in: query
  22770. name: goodsid
  22771. required: true
  22772. type: integer
  22773. - description: 交易用户ID
  22774. in: query
  22775. name: tradeuserid
  22776. required: true
  22777. type: integer
  22778. produces:
  22779. - application/json
  22780. responses:
  22781. "200":
  22782. description: OK
  22783. schema:
  22784. items:
  22785. $ref: '#/definitions/models.InternalEnableTradeDetail'
  22786. type: array
  22787. "500":
  22788. description: Internal Server Error
  22789. schema:
  22790. $ref: '#/definitions/app.Response'
  22791. security:
  22792. - ApiKeyAuth: []
  22793. summary: 内部成交单可关联项目查询
  22794. tags:
  22795. - 企业风险管理v8
  22796. /Ermcp8/QueryInternalUncorrelatedTradeDetail:
  22797. get:
  22798. parameters:
  22799. - description: 用户编号
  22800. in: query
  22801. name: userid
  22802. required: true
  22803. type: integer
  22804. - description: 起始日期(格式yyyymmdd)
  22805. in: query
  22806. name: begindate
  22807. type: string
  22808. - description: 终止日期(格式yyyymmdd)
  22809. in: query
  22810. name: enddate
  22811. type: string
  22812. - description: 合约代码
  22813. in: query
  22814. name: goodscode
  22815. type: string
  22816. - description: 合约名称
  22817. in: query
  22818. name: goodsname
  22819. type: string
  22820. - description: 成交单号
  22821. in: query
  22822. name: tradeid
  22823. type: integer
  22824. - description: 方向 - 0:买 1:卖
  22825. in: query
  22826. name: buyorsell
  22827. type: integer
  22828. - description: 套期主体
  22829. in: query
  22830. name: accountname
  22831. type: string
  22832. produces:
  22833. - application/json
  22834. responses:
  22835. "200":
  22836. description: OK
  22837. schema:
  22838. items:
  22839. $ref: '#/definitions/models.InternalUncorrelatedTradeDetail'
  22840. type: array
  22841. "500":
  22842. description: Internal Server Error
  22843. schema:
  22844. $ref: '#/definitions/app.Response'
  22845. security:
  22846. - ApiKeyAuth: []
  22847. summary: 内部未关联成交单查询
  22848. tags:
  22849. - 企业风险管理v8
  22850. /Ermcp8/QueryMarketCalendar:
  22851. get:
  22852. parameters:
  22853. - description: 市场ID
  22854. in: query
  22855. name: marketid
  22856. type: integer
  22857. produces:
  22858. - application/json
  22859. responses:
  22860. "200":
  22861. description: OK
  22862. schema:
  22863. items:
  22864. $ref: '#/definitions/models.Marketcalendar'
  22865. type: array
  22866. "500":
  22867. description: Internal Server Error
  22868. schema:
  22869. $ref: '#/definitions/app.Response'
  22870. security:
  22871. - ApiKeyAuth: []
  22872. summary: 市场节假日查询
  22873. tags:
  22874. - 企业风险管理v8
  22875. /Ermcp8/QueryPatradeLinkDetail:
  22876. get:
  22877. parameters:
  22878. - description: 用户ID
  22879. in: query
  22880. name: userid
  22881. required: true
  22882. type: integer
  22883. - description: 套保品种ID
  22884. in: query
  22885. name: middlegoodsid
  22886. required: true
  22887. type: integer
  22888. produces:
  22889. - application/json
  22890. responses:
  22891. "200":
  22892. description: OK
  22893. schema:
  22894. items:
  22895. $ref: '#/definitions/models.Patradelinkdetail'
  22896. type: array
  22897. "500":
  22898. description: Internal Server Error
  22899. schema:
  22900. $ref: '#/definitions/app.Response'
  22901. security:
  22902. - ApiKeyAuth: []
  22903. summary: 敞口明细 - 期货变动明细
  22904. tags:
  22905. - 企业风险管理v8
  22906. /Ermcp8/QueryUnLinkErmcpHedgePlan:
  22907. get:
  22908. parameters:
  22909. - description: 企业ID
  22910. in: query
  22911. name: areauserid
  22912. required: true
  22913. type: integer
  22914. - description: 计划类型 - 1:采购 -1:销售
  22915. in: query
  22916. name: contracttype
  22917. type: integer
  22918. - description: 计划编号,模糊查询
  22919. in: query
  22920. name: hedgeplanno
  22921. type: string
  22922. - description: 现货商品,模糊查询
  22923. in: query
  22924. name: wrstandardname
  22925. type: string
  22926. produces:
  22927. - application/json
  22928. responses:
  22929. "200":
  22930. description: OK
  22931. schema:
  22932. items:
  22933. $ref: '#/definitions/models.Unlinkermcphedgeplan'
  22934. type: array
  22935. "500":
  22936. description: Internal Server Error
  22937. schema:
  22938. $ref: '#/definitions/app.Response'
  22939. security:
  22940. - ApiKeyAuth: []
  22941. summary: 未关联购销计划
  22942. tags:
  22943. - 企业风险管理v8
  22944. /Ermcp8/QueryUnLinkSpotContract:
  22945. get:
  22946. parameters:
  22947. - description: 用户ID
  22948. in: query
  22949. name: userid
  22950. required: true
  22951. type: integer
  22952. - description: 定价类型 - 1:一口价 2:点价 3:暂定价
  22953. in: query
  22954. name: pricetype
  22955. type: integer
  22956. - description: 合同编号, 模拟查询
  22957. in: query
  22958. name: contractno
  22959. type: string
  22960. - description: 对手方, 模拟查询
  22961. in: query
  22962. name: customername
  22963. type: string
  22964. - description: 项合同类型 - 1:采购 -1:销售
  22965. in: query
  22966. name: contracttype
  22967. type: integer
  22968. produces:
  22969. - application/json
  22970. responses:
  22971. "200":
  22972. description: OK
  22973. schema:
  22974. items:
  22975. $ref: '#/definitions/models.ErmcpSpotContractModelEx'
  22976. type: array
  22977. "500":
  22978. description: Internal Server Error
  22979. schema:
  22980. $ref: '#/definitions/app.Response'
  22981. security:
  22982. - ApiKeyAuth: []
  22983. summary: 未关联合同查询
  22984. tags:
  22985. - 企业风险管理v8
  22986. /Erms2/QueryArbitrageStrategy:
  22987. get:
  22988. parameters:
  22989. - description: 账户ID
  22990. in: query
  22991. name: userid
  22992. required: true
  22993. type: integer
  22994. - description: 商品组ID(品种ID)
  22995. in: query
  22996. name: goodsgroupid
  22997. type: string
  22998. produces:
  22999. - application/json
  23000. responses:
  23001. "200":
  23002. description: OK
  23003. schema:
  23004. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  23005. "500":
  23006. description: Internal Server Error
  23007. schema:
  23008. $ref: '#/definitions/app.Response'
  23009. security:
  23010. - ApiKeyAuth: []
  23011. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  23012. tags:
  23013. - 风险管理
  23014. /Erms2/QueryInnerTradeDetail:
  23015. get:
  23016. parameters:
  23017. - description: 资金账户
  23018. in: query
  23019. name: accountid
  23020. required: true
  23021. type: integer
  23022. produces:
  23023. - application/json
  23024. responses:
  23025. "200":
  23026. description: OK
  23027. schema:
  23028. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  23029. "500":
  23030. description: Internal Server Error
  23031. schema:
  23032. $ref: '#/definitions/app.Response'
  23033. security:
  23034. - ApiKeyAuth: []
  23035. summary: 查询内部成交单信息
  23036. tags:
  23037. - 风险管理
  23038. /Erms2/QuerySpotContract:
  23039. get:
  23040. parameters:
  23041. - description: 策略申请ID
  23042. in: query
  23043. name: asapplyid
  23044. required: true
  23045. type: integer
  23046. - description: 现货合同ID
  23047. in: query
  23048. name: spotcontractid
  23049. type: integer
  23050. produces:
  23051. - application/json
  23052. responses:
  23053. "200":
  23054. description: OK
  23055. schema:
  23056. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  23057. "500":
  23058. description: Internal Server Error
  23059. schema:
  23060. $ref: '#/definitions/app.Response'
  23061. security:
  23062. - ApiKeyAuth: []
  23063. summary: 查询现货合同表信息(指定策略ID、未结束的)
  23064. tags:
  23065. - 风险管理
  23066. /Erms3/AddErms2ASApply:
  23067. post:
  23068. parameters:
  23069. - description: 申请参数
  23070. in: body
  23071. name: jsonBody
  23072. required: true
  23073. schema:
  23074. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  23075. produces:
  23076. - application/json
  23077. responses:
  23078. "200":
  23079. description: OK
  23080. schema:
  23081. $ref: '#/definitions/app.Response'
  23082. "500":
  23083. description: Internal Server Error
  23084. schema:
  23085. $ref: '#/definitions/app.Response'
  23086. security:
  23087. - ApiKeyAuth: []
  23088. summary: 新增期现套利业务申请
  23089. tags:
  23090. - 风险管理v3
  23091. /Erms3/AddErms2SpotTradeApply:
  23092. post:
  23093. parameters:
  23094. - description: 申请参数
  23095. in: body
  23096. name: jsonBody
  23097. required: true
  23098. schema:
  23099. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  23100. produces:
  23101. - application/json
  23102. responses:
  23103. "200":
  23104. description: OK
  23105. schema:
  23106. $ref: '#/definitions/app.Response'
  23107. "500":
  23108. description: Internal Server Error
  23109. schema:
  23110. $ref: '#/definitions/app.Response'
  23111. security:
  23112. - ApiKeyAuth: []
  23113. summary: 新增现货贸易业务申请
  23114. tags:
  23115. - 风险管理v3
  23116. /Erms3/AddSpotContractApply:
  23117. post:
  23118. parameters:
  23119. - description: 申请参数
  23120. in: body
  23121. name: jsonBody
  23122. required: true
  23123. schema:
  23124. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  23125. produces:
  23126. - application/json
  23127. responses:
  23128. "200":
  23129. description: OK
  23130. schema:
  23131. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  23132. "500":
  23133. description: Internal Server Error
  23134. schema:
  23135. $ref: '#/definitions/app.Response'
  23136. security:
  23137. - ApiKeyAuth: []
  23138. summary: 新增现货合同申请
  23139. tags:
  23140. - 风险管理v3
  23141. /Erms3/AddUserInfoApply:
  23142. post:
  23143. parameters:
  23144. - description: 用户信息
  23145. in: body
  23146. name: jsonBody
  23147. required: true
  23148. schema:
  23149. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  23150. produces:
  23151. - application/json
  23152. responses:
  23153. "200":
  23154. description: OK
  23155. schema:
  23156. $ref: '#/definitions/app.Response'
  23157. "500":
  23158. description: Internal Server Error
  23159. schema:
  23160. $ref: '#/definitions/app.Response'
  23161. security:
  23162. - ApiKeyAuth: []
  23163. summary: 新增客户申请
  23164. tags:
  23165. - 风险管理v3
  23166. /Erms3/DeleteUserInfoApply:
  23167. get:
  23168. description: 只可删除 UserState = 1 (未提交)状态的申请信息
  23169. parameters:
  23170. - description: 用户ID
  23171. in: query
  23172. name: userID
  23173. required: true
  23174. type: integer
  23175. produces:
  23176. - application/json
  23177. responses:
  23178. "200":
  23179. description: OK
  23180. schema:
  23181. $ref: '#/definitions/app.Response'
  23182. "500":
  23183. description: Internal Server Error
  23184. schema:
  23185. $ref: '#/definitions/app.Response'
  23186. security:
  23187. - ApiKeyAuth: []
  23188. summary: 删除客户申请
  23189. tags:
  23190. - 风险管理v3
  23191. /Erms3/ModifyUserInfoApply:
  23192. post:
  23193. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid":
  23194. int, "userstate": 2 }'
  23195. parameters:
  23196. - description: 用户信息
  23197. in: body
  23198. name: jsonBody
  23199. required: true
  23200. schema:
  23201. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  23202. produces:
  23203. - application/json
  23204. responses:
  23205. "200":
  23206. description: OK
  23207. schema:
  23208. $ref: '#/definitions/app.Response'
  23209. "500":
  23210. description: Internal Server Error
  23211. schema:
  23212. $ref: '#/definitions/app.Response'
  23213. security:
  23214. - ApiKeyAuth: []
  23215. summary: 修改客户申请
  23216. tags:
  23217. - 风险管理v3
  23218. /Erms3/QueryBusinessInfo:
  23219. get:
  23220. parameters:
  23221. - description: 资金账号ID列表,用逗号分隔
  23222. in: query
  23223. name: accountids
  23224. required: true
  23225. type: string
  23226. - description: 状态,0为未结束 1为已结束
  23227. in: query
  23228. name: status
  23229. required: true
  23230. type: integer
  23231. produces:
  23232. - application/json
  23233. responses:
  23234. "200":
  23235. description: OK
  23236. schema:
  23237. items:
  23238. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  23239. type: array
  23240. "500":
  23241. description: Internal Server Error
  23242. schema:
  23243. $ref: '#/definitions/app.Response'
  23244. security:
  23245. - ApiKeyAuth: []
  23246. summary: 查询业务表单数据
  23247. tags:
  23248. - 风险管理v3
  23249. /Erms3/QueryPendingAuditContract:
  23250. get:
  23251. parameters:
  23252. - description: 资金账号ID列表,逗号隔开
  23253. in: query
  23254. name: accountids
  23255. required: true
  23256. type: string
  23257. - description: 合同类型 1-采购 -1-销售
  23258. in: query
  23259. name: contracttype
  23260. required: true
  23261. type: integer
  23262. - description: 合同模式 1-普通 2-回购
  23263. in: query
  23264. name: contractmode
  23265. required: true
  23266. type: integer
  23267. produces:
  23268. - application/json
  23269. responses:
  23270. "200":
  23271. description: OK
  23272. schema:
  23273. items:
  23274. $ref: '#/definitions/erms3.QryAuditContractRsp'
  23275. type: array
  23276. "500":
  23277. description: Internal Server Error
  23278. schema:
  23279. $ref: '#/definitions/app.Response'
  23280. security:
  23281. - ApiKeyAuth: []
  23282. summary: 查询待审核合同
  23283. tags:
  23284. - 风险管理v3
  23285. /Erms3/QueryPendingBusiness:
  23286. get:
  23287. parameters:
  23288. - description: 资金账号ID列表,逗号隔开
  23289. in: query
  23290. name: accountids
  23291. required: true
  23292. type: string
  23293. produces:
  23294. - application/json
  23295. responses:
  23296. "200":
  23297. description: OK
  23298. schema:
  23299. items:
  23300. $ref: '#/definitions/erms3.QryPendingBizRsp'
  23301. type: array
  23302. "500":
  23303. description: Internal Server Error
  23304. schema:
  23305. $ref: '#/definitions/app.Response'
  23306. security:
  23307. - ApiKeyAuth: []
  23308. summary: 查询待审核基差贸易业务
  23309. tags:
  23310. - 风险管理v3
  23311. /Erms3/QuerySpotContractAppleForm:
  23312. get:
  23313. parameters:
  23314. - description: 登录账号
  23315. in: query
  23316. name: loginID
  23317. required: true
  23318. type: integer
  23319. produces:
  23320. - application/json
  23321. responses:
  23322. "200":
  23323. description: OK
  23324. schema:
  23325. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  23326. "500":
  23327. description: Internal Server Error
  23328. schema:
  23329. $ref: '#/definitions/app.Response'
  23330. security:
  23331. - ApiKeyAuth: []
  23332. summary: 查询合同申请表单数据
  23333. tags:
  23334. - 风险管理v3
  23335. /Erms3/QuerySpotContractDetail:
  23336. get:
  23337. parameters:
  23338. - description: 资金账号ID列表,用逗号分隔
  23339. in: query
  23340. name: accountids
  23341. required: true
  23342. type: string
  23343. - description: 合同类型,1为采购合同 -1为销售合同
  23344. in: query
  23345. name: contracttype
  23346. required: true
  23347. type: integer
  23348. - description: 合同模式,1为普通合同 2为回购销售合同
  23349. in: query
  23350. name: contractmode
  23351. required: true
  23352. type: integer
  23353. - description: 状态,0为履约中 1为已完成
  23354. in: query
  23355. name: status
  23356. required: true
  23357. type: integer
  23358. produces:
  23359. - application/json
  23360. responses:
  23361. "200":
  23362. description: OK
  23363. schema:
  23364. items:
  23365. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  23366. type: array
  23367. "500":
  23368. description: Internal Server Error
  23369. schema:
  23370. $ref: '#/definitions/app.Response'
  23371. security:
  23372. - ApiKeyAuth: []
  23373. summary: 查询合同详细信息
  23374. tags:
  23375. - 风险管理v3
  23376. /Erms3/QueryUserInfoApplies:
  23377. get:
  23378. parameters:
  23379. - description: 页码
  23380. in: query
  23381. name: page
  23382. type: integer
  23383. - description: 每页条数
  23384. in: query
  23385. name: pagesize
  23386. type: integer
  23387. - description: 客户名称,支持模糊查询
  23388. in: query
  23389. name: userName
  23390. type: string
  23391. produces:
  23392. - application/json
  23393. responses:
  23394. "200":
  23395. description: OK
  23396. schema:
  23397. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  23398. "500":
  23399. description: Internal Server Error
  23400. schema:
  23401. $ref: '#/definitions/app.Response'
  23402. security:
  23403. - ApiKeyAuth: []
  23404. summary: 客户申请信息查询
  23405. tags:
  23406. - 风险管理v3
  23407. /Erms3/QueryUserInfos:
  23408. get:
  23409. parameters:
  23410. - description: 页码
  23411. in: query
  23412. name: page
  23413. type: integer
  23414. - description: 每页条数
  23415. in: query
  23416. name: pagesize
  23417. type: integer
  23418. - description: 客户名称,支持模糊查询
  23419. in: query
  23420. name: userName
  23421. type: string
  23422. produces:
  23423. - application/json
  23424. responses:
  23425. "200":
  23426. description: OK
  23427. schema:
  23428. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  23429. "500":
  23430. description: Internal Server Error
  23431. schema:
  23432. $ref: '#/definitions/app.Response'
  23433. security:
  23434. - ApiKeyAuth: []
  23435. summary: 客户信息查询
  23436. tags:
  23437. - 风险管理v3
  23438. /Guangzuan/QueryBuyOrder:
  23439. get:
  23440. parameters:
  23441. - description: 页码
  23442. in: query
  23443. name: page
  23444. type: integer
  23445. - description: 每页条数
  23446. in: query
  23447. name: pagesize
  23448. type: integer
  23449. - description: 商品(查询字段-模糊查询)
  23450. in: query
  23451. name: zsallproperties
  23452. type: string
  23453. - description: 钻石分类枚举ID
  23454. in: query
  23455. name: zscategory
  23456. type: integer
  23457. - description: 委托单号
  23458. in: query
  23459. name: wrtradeorderid
  23460. type: integer
  23461. - description: 买方(查询字段-模糊查询)
  23462. in: query
  23463. name: buyusername
  23464. type: string
  23465. produces:
  23466. - application/json
  23467. responses:
  23468. "200":
  23469. description: OK
  23470. schema:
  23471. items:
  23472. $ref: '#/definitions/models.BuyOrder'
  23473. type: array
  23474. "500":
  23475. description: Internal Server Error
  23476. schema:
  23477. $ref: '#/definitions/app.Response'
  23478. security:
  23479. - ApiKeyAuth: []
  23480. - LoginID: []
  23481. - Group: []
  23482. summary: 查询求购大厅委托单
  23483. tags:
  23484. - 广钻
  23485. /Guangzuan/QueryDiamond:
  23486. post:
  23487. parameters:
  23488. - description: 钻石搜索入参
  23489. in: body
  23490. name: data
  23491. required: true
  23492. schema:
  23493. $ref: '#/definitions/models.SellOrderQueryReq'
  23494. produces:
  23495. - application/json
  23496. responses:
  23497. "200":
  23498. description: OK
  23499. schema:
  23500. items:
  23501. $ref: '#/definitions/models.SellOrder'
  23502. type: array
  23503. "500":
  23504. description: Internal Server Error
  23505. schema:
  23506. $ref: '#/definitions/app.Response'
  23507. security:
  23508. - ApiKeyAuth: []
  23509. - LoginID: []
  23510. - Group: []
  23511. summary: 钻石搜索
  23512. tags:
  23513. - 广钻
  23514. /Guangzuan/QueryMyBargainApply:
  23515. get:
  23516. parameters:
  23517. - description: 用户ID
  23518. in: query
  23519. name: userid
  23520. required: true
  23521. type: integer
  23522. - description: 页码
  23523. in: query
  23524. name: page
  23525. type: integer
  23526. - description: 每页条数
  23527. in: query
  23528. name: pagesize
  23529. type: integer
  23530. - description: 申请状态(不传查全部) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  23531. in: query
  23532. name: applystatus
  23533. type: integer
  23534. produces:
  23535. - application/json
  23536. responses:
  23537. "200":
  23538. description: OK
  23539. schema:
  23540. items:
  23541. $ref: '#/definitions/models.MyBargainApply'
  23542. type: array
  23543. "500":
  23544. description: Internal Server Error
  23545. schema:
  23546. $ref: '#/definitions/app.Response'
  23547. security:
  23548. - ApiKeyAuth: []
  23549. - LoginID: []
  23550. - Group: []
  23551. summary: 查询我的询价-求购
  23552. tags:
  23553. - 广钻
  23554. /Guangzuan/QueryMyBuyOrder:
  23555. get:
  23556. parameters:
  23557. - description: 用户ID
  23558. in: query
  23559. name: userid
  23560. required: true
  23561. type: integer
  23562. - description: 页码
  23563. in: query
  23564. name: page
  23565. type: integer
  23566. - description: 每页条数
  23567. in: query
  23568. name: pagesize
  23569. type: integer
  23570. - description: 商品(查询字段-模糊查询)
  23571. in: query
  23572. name: zsallproperties
  23573. type: string
  23574. - description: 钻石分类枚举ID
  23575. in: query
  23576. name: zscategory
  23577. type: integer
  23578. - description: 委托单号
  23579. in: query
  23580. name: wrtradeorderid
  23581. type: integer
  23582. - description: 是否历史查询
  23583. in: query
  23584. name: ishis
  23585. type: boolean
  23586. produces:
  23587. - application/json
  23588. responses:
  23589. "200":
  23590. description: OK
  23591. schema:
  23592. items:
  23593. $ref: '#/definitions/models.MyBuyOrder'
  23594. type: array
  23595. "500":
  23596. description: Internal Server Error
  23597. schema:
  23598. $ref: '#/definitions/app.Response'
  23599. security:
  23600. - ApiKeyAuth: []
  23601. - LoginID: []
  23602. - Group: []
  23603. summary: 查询我的求购
  23604. tags:
  23605. - 广钻
  23606. /Guangzuan/QueryMyDeListing:
  23607. get:
  23608. parameters:
  23609. - description: 用户ID
  23610. in: query
  23611. name: userid
  23612. required: true
  23613. type: integer
  23614. - description: 页码
  23615. in: query
  23616. name: page
  23617. type: integer
  23618. - description: 每页条数
  23619. in: query
  23620. name: pagesize
  23621. type: integer
  23622. - description: 商品(查询字段-模糊查询)
  23623. in: query
  23624. name: zsallproperties
  23625. type: string
  23626. - description: 钻石分类枚举ID
  23627. in: query
  23628. name: zscategory
  23629. type: integer
  23630. - description: 成交单号
  23631. in: query
  23632. name: wrtradedetailid
  23633. type: integer
  23634. - description: 方向,0-全部(可不传) 1-购买 2-出售
  23635. in: query
  23636. name: buyorsell
  23637. type: integer
  23638. - description: 开始交易日(yyyymmdd)
  23639. in: query
  23640. name: begindate
  23641. type: string
  23642. - description: 结束交易日(yyyymmdd)
  23643. in: query
  23644. name: enddate
  23645. type: string
  23646. produces:
  23647. - application/json
  23648. responses:
  23649. "200":
  23650. description: OK
  23651. schema:
  23652. items:
  23653. $ref: '#/definitions/models.MyDeListing'
  23654. type: array
  23655. "500":
  23656. description: Internal Server Error
  23657. schema:
  23658. $ref: '#/definitions/app.Response'
  23659. security:
  23660. - ApiKeyAuth: []
  23661. - LoginID: []
  23662. - Group: []
  23663. summary: 查询我的摘牌
  23664. tags:
  23665. - 广钻
  23666. /Guangzuan/QueryMyDelistingApply:
  23667. get:
  23668. parameters:
  23669. - description: 用户ID
  23670. in: query
  23671. name: userid
  23672. required: true
  23673. type: integer
  23674. - description: 页码
  23675. in: query
  23676. name: page
  23677. type: integer
  23678. - description: 每页条数
  23679. in: query
  23680. name: pagesize
  23681. type: integer
  23682. - description: 申请状态(不传查全部) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  23683. in: query
  23684. name: applystatus
  23685. type: integer
  23686. produces:
  23687. - application/json
  23688. responses:
  23689. "200":
  23690. description: OK
  23691. schema:
  23692. items:
  23693. $ref: '#/definitions/models.MyDelistingApply'
  23694. type: array
  23695. "500":
  23696. description: Internal Server Error
  23697. schema:
  23698. $ref: '#/definitions/app.Response'
  23699. security:
  23700. - ApiKeyAuth: []
  23701. - LoginID: []
  23702. - Group: []
  23703. summary: 查询我的询价-出售
  23704. tags:
  23705. - 广钻
  23706. /Guangzuan/QueryMySellOrder:
  23707. get:
  23708. parameters:
  23709. - description: 用户ID
  23710. in: query
  23711. name: userid
  23712. required: true
  23713. type: integer
  23714. - description: 页码
  23715. in: query
  23716. name: page
  23717. type: integer
  23718. - description: 每页条数
  23719. in: query
  23720. name: pagesize
  23721. type: integer
  23722. - description: 商品(查询字段-模糊查询)
  23723. in: query
  23724. name: zsallproperties
  23725. type: string
  23726. - description: 钻石分类枚举ID
  23727. in: query
  23728. name: zscategory
  23729. type: integer
  23730. - description: 委托单号
  23731. in: query
  23732. name: wrtradeorderid
  23733. type: integer
  23734. - description: 是否历史查询
  23735. in: query
  23736. name: ishis
  23737. type: boolean
  23738. produces:
  23739. - application/json
  23740. responses:
  23741. "200":
  23742. description: OK
  23743. schema:
  23744. items:
  23745. $ref: '#/definitions/models.MySellOrder'
  23746. type: array
  23747. "500":
  23748. description: Internal Server Error
  23749. schema:
  23750. $ref: '#/definitions/app.Response'
  23751. security:
  23752. - ApiKeyAuth: []
  23753. - LoginID: []
  23754. - Group: []
  23755. summary: 查询我的出售
  23756. tags:
  23757. - 广钻
  23758. /Guangzuan/QueryMyWRPosition:
  23759. get:
  23760. parameters:
  23761. - description: 页码
  23762. in: query
  23763. name: page
  23764. type: integer
  23765. - description: 每页条数
  23766. in: query
  23767. name: pagesize
  23768. type: integer
  23769. - description: 登录用户ID
  23770. in: query
  23771. name: wruserid
  23772. required: true
  23773. type: integer
  23774. - description: 商品(查询字段-模糊查询)
  23775. in: query
  23776. name: zsallproperties
  23777. type: string
  23778. - description: 钻石分类枚举ID
  23779. in: query
  23780. name: zscategory
  23781. type: integer
  23782. - description: 仓库ID
  23783. in: query
  23784. name: warehouseid
  23785. type: integer
  23786. produces:
  23787. - application/json
  23788. responses:
  23789. "200":
  23790. description: OK
  23791. schema:
  23792. items:
  23793. $ref: '#/definitions/models.MyWRPosition'
  23794. type: array
  23795. "500":
  23796. description: Internal Server Error
  23797. schema:
  23798. $ref: '#/definitions/app.Response'
  23799. security:
  23800. - ApiKeyAuth: []
  23801. - LoginID: []
  23802. - Group: []
  23803. summary: 查询我的库存
  23804. tags:
  23805. - 广钻
  23806. /Guangzuan/QuerySellOrder:
  23807. get:
  23808. parameters:
  23809. - description: 页码
  23810. in: query
  23811. name: page
  23812. type: integer
  23813. - description: 每页条数
  23814. in: query
  23815. name: pagesize
  23816. type: integer
  23817. - description: 商品(查询字段-模糊查询)
  23818. in: query
  23819. name: zsallproperties
  23820. type: string
  23821. - description: 钻石分类枚举ID
  23822. in: query
  23823. name: zscategory
  23824. type: integer
  23825. - description: 委托单号
  23826. in: query
  23827. name: wrtradeorderid
  23828. type: integer
  23829. - description: 卖方(查询字段-模糊查询)
  23830. in: query
  23831. name: buyusername
  23832. type: string
  23833. produces:
  23834. - application/json
  23835. responses:
  23836. "200":
  23837. description: OK
  23838. schema:
  23839. items:
  23840. $ref: '#/definitions/models.SellOrder'
  23841. type: array
  23842. "500":
  23843. description: Internal Server Error
  23844. schema:
  23845. $ref: '#/definitions/app.Response'
  23846. security:
  23847. - ApiKeyAuth: []
  23848. - LoginID: []
  23849. - Group: []
  23850. summary: 查询出售大厅委托单
  23851. tags:
  23852. - 广钻
  23853. /Guangzuan/QueryWarehouseInfo:
  23854. get:
  23855. parameters:
  23856. - description: 页码
  23857. in: query
  23858. name: page
  23859. type: integer
  23860. - description: 每页条数
  23861. in: query
  23862. name: pagesize
  23863. type: integer
  23864. - description: 用户ID
  23865. in: query
  23866. name: userid
  23867. required: true
  23868. type: integer
  23869. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  23870. in: query
  23871. name: status
  23872. type: string
  23873. - description: 是返回交易所仓库
  23874. in: query
  23875. name: isincludeexchange
  23876. type: boolean
  23877. produces:
  23878. - application/json
  23879. responses:
  23880. "200":
  23881. description: OK
  23882. schema:
  23883. items:
  23884. $ref: '#/definitions/models.GZWarehouseinfo'
  23885. type: array
  23886. "500":
  23887. description: Internal Server Error
  23888. schema:
  23889. $ref: '#/definitions/app.Response'
  23890. security:
  23891. - ApiKeyAuth: []
  23892. - LoginID: []
  23893. - Group: []
  23894. summary: 查询仓库信息
  23895. tags:
  23896. - 广钻
  23897. /Market/GetAllExExchanges:
  23898. get:
  23899. produces:
  23900. - application/json
  23901. responses:
  23902. "200":
  23903. description: OK
  23904. schema:
  23905. $ref: '#/definitions/models.Goods'
  23906. "500":
  23907. description: Internal Server Error
  23908. schema:
  23909. $ref: '#/definitions/app.Response'
  23910. security:
  23911. - ApiKeyAuth: []
  23912. summary: 获取所有外部交易所信息
  23913. tags:
  23914. - 通用市场
  23915. /Market/QueryGoodsesByLoginID:
  23916. get:
  23917. parameters:
  23918. - description: 登录账号
  23919. in: query
  23920. name: loginID
  23921. required: true
  23922. type: integer
  23923. - description: 市场ID列表,格式:1,2,3
  23924. in: query
  23925. name: marketIDs
  23926. type: string
  23927. produces:
  23928. - application/json
  23929. responses:
  23930. "200":
  23931. description: OK
  23932. schema:
  23933. $ref: '#/definitions/models.Goods'
  23934. "500":
  23935. description: Internal Server Error
  23936. schema:
  23937. $ref: '#/definitions/app.Response'
  23938. security:
  23939. - ApiKeyAuth: []
  23940. summary: 获取登录账号有权限的商品信息
  23941. tags:
  23942. - 通用市场
  23943. /Market/QueryMarketRun:
  23944. get:
  23945. parameters:
  23946. - description: 市场ID,不传返回所有
  23947. in: query
  23948. name: marketID
  23949. type: integer
  23950. produces:
  23951. - application/json
  23952. responses:
  23953. "200":
  23954. description: OK
  23955. schema:
  23956. $ref: '#/definitions/models.Marketrun'
  23957. "500":
  23958. description: Internal Server Error
  23959. schema:
  23960. $ref: '#/definitions/app.Response'
  23961. security:
  23962. - ApiKeyAuth: []
  23963. summary: 查询市场运行信息
  23964. tags:
  23965. - 通用市场
  23966. /Market/QueryMarketsByLoginID:
  23967. get:
  23968. parameters:
  23969. - description: 登录账号
  23970. in: query
  23971. name: loginID
  23972. required: true
  23973. type: integer
  23974. produces:
  23975. - application/json
  23976. responses:
  23977. "200":
  23978. description: OK
  23979. schema:
  23980. $ref: '#/definitions/models.Market'
  23981. "500":
  23982. description: Internal Server Error
  23983. schema:
  23984. $ref: '#/definitions/app.Response'
  23985. security:
  23986. - ApiKeyAuth: []
  23987. summary: 获取登录账号有权限的市场信息
  23988. tags:
  23989. - 通用市场
  23990. /Order/QueryHisTradeDetail:
  23991. get:
  23992. parameters:
  23993. - description: 资金账户 - 格式:1,2,3
  23994. in: query
  23995. name: accountID
  23996. required: true
  23997. type: string
  23998. - description: 成交单号
  23999. in: query
  24000. name: tradeID
  24001. type: integer
  24002. - description: 委托单号
  24003. in: query
  24004. name: orderID
  24005. type: integer
  24006. - description: 商品ID
  24007. in: query
  24008. name: goodsID
  24009. type: integer
  24010. - description: 交易模式 - 格式:1,2,3
  24011. in: query
  24012. name: tradeMode
  24013. type: string
  24014. - description: 委托单据类型
  24015. in: query
  24016. name: buildType
  24017. type: integer
  24018. - description: 成交类别 - 格式:1,2,3
  24019. in: query
  24020. name: tradeType
  24021. type: string
  24022. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  24023. in: query
  24024. name: startDate
  24025. type: string
  24026. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  24027. in: query
  24028. name: endDate
  24029. type: string
  24030. produces:
  24031. - application/json
  24032. responses:
  24033. "200":
  24034. description: OK
  24035. schema:
  24036. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  24037. "500":
  24038. description: Internal Server Error
  24039. schema:
  24040. $ref: '#/definitions/app.Response'
  24041. security:
  24042. - ApiKeyAuth: []
  24043. summary: 历史成交单查询(合约市场)
  24044. tags:
  24045. - 通用单据
  24046. /Order/QueryHisTradeOrderDetail:
  24047. get:
  24048. parameters:
  24049. - description: 资金账户 - 格式:1,2,3
  24050. in: query
  24051. name: accountID
  24052. required: true
  24053. type: string
  24054. - description: 交易模式 - 格式:1,2,3
  24055. in: query
  24056. name: tradeMode
  24057. type: string
  24058. - description: 委托状态 - 格式:1,2,3
  24059. in: query
  24060. name: orderStatus
  24061. type: string
  24062. - description: 委托单号
  24063. in: query
  24064. name: orderID
  24065. type: integer
  24066. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  24067. in: query
  24068. name: startDate
  24069. type: string
  24070. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  24071. in: query
  24072. name: endDate
  24073. type: string
  24074. produces:
  24075. - application/json
  24076. responses:
  24077. "200":
  24078. description: OK
  24079. schema:
  24080. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  24081. "500":
  24082. description: Internal Server Error
  24083. schema:
  24084. $ref: '#/definitions/app.Response'
  24085. security:
  24086. - ApiKeyAuth: []
  24087. summary: 历史委托单查询请求(合约市场)
  24088. tags:
  24089. - 通用单据
  24090. /Order/QueryTradeDetail:
  24091. get:
  24092. parameters:
  24093. - description: 资金账户 - 格式:1,2,3
  24094. in: query
  24095. name: accountID
  24096. required: true
  24097. type: string
  24098. - description: 成交单号
  24099. in: query
  24100. name: tradeID
  24101. type: integer
  24102. - description: 委托单号
  24103. in: query
  24104. name: orderID
  24105. type: integer
  24106. - description: 交易模式 - 格式:1,2,3
  24107. in: query
  24108. name: tradeMode
  24109. type: string
  24110. - description: 委托单据类型
  24111. in: query
  24112. name: buildType
  24113. type: integer
  24114. - description: 成交类别 - 格式:1,2,3
  24115. in: query
  24116. name: tradeType
  24117. type: string
  24118. - description: 商品ID
  24119. in: query
  24120. name: goodsID
  24121. type: integer
  24122. produces:
  24123. - application/json
  24124. responses:
  24125. "200":
  24126. description: OK
  24127. schema:
  24128. $ref: '#/definitions/order.QueryTradeDetailRsp'
  24129. "500":
  24130. description: Internal Server Error
  24131. schema:
  24132. $ref: '#/definitions/app.Response'
  24133. security:
  24134. - ApiKeyAuth: []
  24135. summary: 成交单查询(合约市场)
  24136. tags:
  24137. - 通用单据
  24138. /Order/QueryTradeHolderDetail:
  24139. get:
  24140. parameters:
  24141. - description: 用户id
  24142. in: query
  24143. name: userid
  24144. type: integer
  24145. - description: 资金账号, 格式 1,2,3
  24146. in: query
  24147. name: accids
  24148. type: string
  24149. - description: 交易模式, 格式 1,2,3
  24150. in: query
  24151. name: trademodes
  24152. type: string
  24153. - description: 市场id, 格式 1,2,3
  24154. in: query
  24155. name: marketids
  24156. type: string
  24157. - description: 商品id
  24158. in: query
  24159. name: goodsid
  24160. type: integer
  24161. - description: 买卖方向 0-买 1-卖
  24162. in: query
  24163. name: buyorsell
  24164. type: integer
  24165. produces:
  24166. - application/json
  24167. responses:
  24168. "200":
  24169. description: OK
  24170. schema:
  24171. items:
  24172. $ref: '#/definitions/models.TradeHolderDetail'
  24173. type: array
  24174. "500":
  24175. description: Internal Server Error
  24176. schema:
  24177. $ref: '#/definitions/app.Response'
  24178. security:
  24179. - ApiKeyAuth: []
  24180. summary: 查询持仓明细
  24181. tags:
  24182. - 通用单据
  24183. /Order/QueryTradeOrderDetail:
  24184. get:
  24185. parameters:
  24186. - description: 资金账户 - 格式:1,2,3
  24187. in: query
  24188. name: accountID
  24189. required: true
  24190. type: string
  24191. - description: 交易模式 - 格式:1,2,3
  24192. in: query
  24193. name: tradeMode
  24194. type: string
  24195. - description: 委托状态 - 格式:1,2,3
  24196. in: query
  24197. name: orderStatus
  24198. type: string
  24199. - description: 委托单号
  24200. in: query
  24201. name: orderID
  24202. type: integer
  24203. produces:
  24204. - application/json
  24205. responses:
  24206. "200":
  24207. description: OK
  24208. schema:
  24209. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  24210. "500":
  24211. description: Internal Server Error
  24212. schema:
  24213. $ref: '#/definitions/app.Response'
  24214. security:
  24215. - ApiKeyAuth: []
  24216. summary: 委托单查询请求(合约市场)
  24217. tags:
  24218. - 通用单据
  24219. /Order/QueryTradePosition:
  24220. get:
  24221. parameters:
  24222. - description: 资金账户 - 格式:1,2,3
  24223. in: query
  24224. name: accountID
  24225. required: true
  24226. type: string
  24227. - description: 交易模式 - 格式:1,2,3
  24228. in: query
  24229. name: tradeMode
  24230. type: string
  24231. produces:
  24232. - application/json
  24233. responses:
  24234. "200":
  24235. description: OK
  24236. schema:
  24237. $ref: '#/definitions/order.QueryTradePositionRsp'
  24238. "500":
  24239. description: Internal Server Error
  24240. schema:
  24241. $ref: '#/definitions/app.Response'
  24242. security:
  24243. - ApiKeyAuth: []
  24244. summary: 持仓汇总查询(合约市场)
  24245. tags:
  24246. - 通用单据
  24247. /Quote/QueryHistoryDatas:
  24248. get:
  24249. parameters:
  24250. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  24251. 日线 12:周线 13:月线 14:年线'
  24252. in: query
  24253. name: cycleType
  24254. required: true
  24255. type: integer
  24256. - description: 商品代码
  24257. in: query
  24258. name: goodsCode
  24259. required: true
  24260. type: string
  24261. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  24262. in: query
  24263. name: startTime
  24264. type: string
  24265. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  24266. in: query
  24267. name: endTime
  24268. type: string
  24269. - description: 条数
  24270. in: query
  24271. name: count
  24272. type: integer
  24273. - description: 是否按时间顺序排序(默认为时间倒序排序)
  24274. in: query
  24275. name: isAsc
  24276. type: boolean
  24277. produces:
  24278. - application/json
  24279. responses:
  24280. "200":
  24281. description: OK
  24282. schema:
  24283. $ref: '#/definitions/quote.HistoryData'
  24284. "500":
  24285. description: Internal Server Error
  24286. schema:
  24287. $ref: '#/definitions/app.Response'
  24288. security:
  24289. - ApiKeyAuth: []
  24290. summary: 查询行情历史数据
  24291. tags:
  24292. - 行情服务
  24293. /Quote/QueryHistoryTikDatas:
  24294. get:
  24295. parameters:
  24296. - description: 商品代码
  24297. in: query
  24298. name: goodsCode
  24299. required: true
  24300. type: string
  24301. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  24302. in: query
  24303. name: startTime
  24304. type: string
  24305. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  24306. in: query
  24307. name: endTime
  24308. type: string
  24309. - description: 条数
  24310. in: query
  24311. name: count
  24312. type: integer
  24313. - description: 是否按时间顺序排序(默认为时间倒序排序)
  24314. in: query
  24315. name: isAsc
  24316. type: boolean
  24317. produces:
  24318. - application/json
  24319. responses:
  24320. "200":
  24321. description: OK
  24322. schema:
  24323. $ref: '#/definitions/quote.HistoryTikData'
  24324. "500":
  24325. description: Internal Server Error
  24326. schema:
  24327. $ref: '#/definitions/app.Response'
  24328. security:
  24329. - ApiKeyAuth: []
  24330. summary: 查询行情Tik数据
  24331. tags:
  24332. - 行情服务
  24333. /Quote/QueryQuoteDay:
  24334. get:
  24335. parameters:
  24336. - description: 此参数不填则查所有;商品代码列表,格式:CU2102,CU2103,AL2107
  24337. in: query
  24338. name: goodsCodes
  24339. type: string
  24340. produces:
  24341. - application/json
  24342. responses:
  24343. "200":
  24344. description: OK
  24345. schema:
  24346. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  24347. "500":
  24348. description: Internal Server Error
  24349. schema:
  24350. $ref: '#/definitions/app.Response'
  24351. security:
  24352. - ApiKeyAuth: []
  24353. summary: 获取商品盘面信息
  24354. tags:
  24355. - 行情服务
  24356. /Quote/QueryTSData:
  24357. get:
  24358. parameters:
  24359. - description: 商品代码
  24360. in: query
  24361. name: goodsCode
  24362. required: true
  24363. type: string
  24364. produces:
  24365. - application/json
  24366. responses:
  24367. "200":
  24368. description: OK
  24369. schema:
  24370. $ref: '#/definitions/quote.QueryTSDataRsp'
  24371. "500":
  24372. description: Internal Server Error
  24373. schema:
  24374. $ref: '#/definitions/app.Response'
  24375. security:
  24376. - ApiKeyAuth: []
  24377. summary: 分时图数据查询
  24378. tags:
  24379. - 行情服务
  24380. /SZDZ/QueryConvertConfig:
  24381. get:
  24382. parameters:
  24383. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  24384. 6:交易转花生米(不设置)
  24385. in: query
  24386. name: convertType
  24387. type: integer
  24388. - description: 外部商品代码[JD\PD]
  24389. in: query
  24390. name: outerGoodsCode
  24391. type: string
  24392. - description: 内部商品ID列表[交易],格式:1,2,3
  24393. in: query
  24394. name: innerGoodsIDs
  24395. type: string
  24396. produces:
  24397. - application/json
  24398. responses:
  24399. "200":
  24400. description: OK
  24401. schema:
  24402. $ref: '#/definitions/models.Szdz3convertconfig'
  24403. "500":
  24404. description: Internal Server Error
  24405. schema:
  24406. $ref: '#/definitions/app.Response'
  24407. security:
  24408. - ApiKeyAuth: []
  24409. summary: 查询交易系统转换设置
  24410. tags:
  24411. - 定制【尚志大宗】
  24412. /SZDZ/QueryConvertLog:
  24413. get:
  24414. parameters:
  24415. - description: 资金账户 - 格式:1,2,3
  24416. in: query
  24417. name: accountID
  24418. required: true
  24419. type: string
  24420. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  24421. in: query
  24422. name: startDate
  24423. type: string
  24424. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  24425. in: query
  24426. name: endDate
  24427. type: string
  24428. produces:
  24429. - application/json
  24430. responses:
  24431. "200":
  24432. description: OK
  24433. schema:
  24434. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  24435. "500":
  24436. description: Internal Server Error
  24437. schema:
  24438. $ref: '#/definitions/app.Response'
  24439. security:
  24440. - ApiKeyAuth: []
  24441. summary: 交易系统转换流水查询
  24442. tags:
  24443. - 定制【尚志大宗】
  24444. /SZDZ/QueryGoodsPickup:
  24445. get:
  24446. parameters:
  24447. - description: 资金账户 - 格式:1,2,3
  24448. in: query
  24449. name: accountID
  24450. required: true
  24451. type: string
  24452. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  24453. in: query
  24454. name: takeOrderStatus
  24455. type: integer
  24456. produces:
  24457. - application/json
  24458. responses:
  24459. "200":
  24460. description: OK
  24461. schema:
  24462. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  24463. "500":
  24464. description: Internal Server Error
  24465. schema:
  24466. $ref: '#/definitions/app.Response'
  24467. security:
  24468. - ApiKeyAuth: []
  24469. summary: 商品提货单查询
  24470. tags:
  24471. - 定制【尚志大宗】
  24472. /SZDZ/QueryRecieptOrder:
  24473. get:
  24474. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  24475. parameters:
  24476. - description: 页码
  24477. in: query
  24478. name: page
  24479. type: integer
  24480. - description: 每页条数
  24481. in: query
  24482. name: pagesize
  24483. type: integer
  24484. - description: 商品ID
  24485. in: query
  24486. name: goodsID
  24487. required: true
  24488. type: integer
  24489. - description: 所属账户名称
  24490. in: query
  24491. name: accountName
  24492. type: string
  24493. - description: 市场ID
  24494. in: query
  24495. name: marketID
  24496. type: integer
  24497. - description: 方向 - 0:买 1:卖
  24498. in: query
  24499. name: buyorsell
  24500. required: true
  24501. type: integer
  24502. produces:
  24503. - application/json
  24504. responses:
  24505. "200":
  24506. description: OK
  24507. schema:
  24508. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  24509. "500":
  24510. description: Internal Server Error
  24511. schema:
  24512. $ref: '#/definitions/app.Response'
  24513. security:
  24514. - ApiKeyAuth: []
  24515. summary: 点选挂牌委托单据查询(摘牌大厅)
  24516. tags:
  24517. - 定制【尚志大宗】
  24518. /SZDZ/QuerySZDZTradePosition:
  24519. get:
  24520. parameters:
  24521. - description: 资金账户
  24522. in: query
  24523. name: accountID
  24524. required: true
  24525. type: integer
  24526. produces:
  24527. - application/json
  24528. responses:
  24529. "200":
  24530. description: OK
  24531. schema:
  24532. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  24533. "500":
  24534. description: Internal Server Error
  24535. schema:
  24536. $ref: '#/definitions/app.Response'
  24537. security:
  24538. - ApiKeyAuth: []
  24539. summary: 持仓汇总查询(尚志大宗)
  24540. tags:
  24541. - 定制【尚志大宗】
  24542. /SZDZ/SearchWhite:
  24543. get:
  24544. parameters:
  24545. - description: 用户ID
  24546. in: query
  24547. name: userID
  24548. required: true
  24549. type: integer
  24550. produces:
  24551. - application/json
  24552. responses:
  24553. "200":
  24554. description: OK
  24555. schema:
  24556. $ref: '#/definitions/models.Szdz3searchwhitelist'
  24557. "500":
  24558. description: Internal Server Error
  24559. schema:
  24560. $ref: '#/definitions/app.Response'
  24561. security:
  24562. - ApiKeyAuth: []
  24563. summary: 搜索白名单
  24564. tags:
  24565. - 定制【尚志大宗】
  24566. /Search/SearchGoodses:
  24567. get:
  24568. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  24569. parameters:
  24570. - description: 检索内容
  24571. in: query
  24572. name: content
  24573. required: true
  24574. type: string
  24575. - description: 交易模式,格式:1,2,3
  24576. in: query
  24577. name: tradeModes
  24578. type: string
  24579. produces:
  24580. - application/json
  24581. responses:
  24582. "200":
  24583. description: OK
  24584. schema:
  24585. $ref: '#/definitions/models.SearchGoods'
  24586. "500":
  24587. description: Internal Server Error
  24588. schema:
  24589. $ref: '#/definitions/app.Response'
  24590. summary: 检索商品信息
  24591. tags:
  24592. - 检索服务
  24593. /TaAccount/GetTaAccounts:
  24594. get:
  24595. parameters:
  24596. - description: 登录账户
  24597. in: query
  24598. name: loginID
  24599. required: true
  24600. type: integer
  24601. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  24602. in: query
  24603. name: taAccountType
  24604. type: integer
  24605. produces:
  24606. - application/json
  24607. responses:
  24608. "200":
  24609. description: OK
  24610. schema:
  24611. $ref: '#/definitions/models.Taaccount'
  24612. "500":
  24613. description: Internal Server Error
  24614. schema:
  24615. $ref: '#/definitions/app.Response'
  24616. security:
  24617. - ApiKeyAuth: []
  24618. summary: 获取资金账户信息
  24619. tags:
  24620. - 资金账户
  24621. /TaAccount/QueryAmountLog:
  24622. get:
  24623. parameters:
  24624. - description: 页码
  24625. in: query
  24626. name: page
  24627. type: integer
  24628. - description: 每页条数
  24629. in: query
  24630. name: pagesize
  24631. type: integer
  24632. - description: 资金账户 - 格式:1,2,3
  24633. in: query
  24634. name: accountID
  24635. required: true
  24636. type: string
  24637. - description: 资金操作类型 - 格式:1,2,3
  24638. in: query
  24639. name: OperateType
  24640. type: string
  24641. produces:
  24642. - application/json
  24643. responses:
  24644. "200":
  24645. description: OK
  24646. schema:
  24647. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  24648. "500":
  24649. description: Internal Server Error
  24650. schema:
  24651. $ref: '#/definitions/app.Response'
  24652. security:
  24653. - ApiKeyAuth: []
  24654. summary: 资金流水查询(当前)
  24655. tags:
  24656. - 资金账户
  24657. /TaAccount/QueryHisAmountLog:
  24658. get:
  24659. parameters:
  24660. - description: 页码
  24661. in: query
  24662. name: page
  24663. type: integer
  24664. - description: 每页条数
  24665. in: query
  24666. name: pagesize
  24667. type: integer
  24668. - description: 资金账户 - 格式:1,2,3
  24669. in: query
  24670. name: accountID
  24671. required: true
  24672. type: string
  24673. - description: 资金操作类型 - 格式:1,2,3
  24674. in: query
  24675. name: OperateType
  24676. type: string
  24677. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  24678. in: query
  24679. name: startDate
  24680. type: string
  24681. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  24682. in: query
  24683. name: endDate
  24684. type: string
  24685. produces:
  24686. - application/json
  24687. responses:
  24688. "200":
  24689. description: OK
  24690. schema:
  24691. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  24692. "500":
  24693. description: Internal Server Error
  24694. schema:
  24695. $ref: '#/definitions/app.Response'
  24696. security:
  24697. - ApiKeyAuth: []
  24698. summary: 资金流水查询(历史)
  24699. tags:
  24700. - 资金账户
  24701. /TaAccount/QueryRelatedTaAccount:
  24702. get:
  24703. parameters:
  24704. - description: 关联UserID
  24705. in: query
  24706. name: relateduserid
  24707. required: true
  24708. type: integer
  24709. produces:
  24710. - application/json
  24711. responses:
  24712. "200":
  24713. description: OK
  24714. schema:
  24715. items:
  24716. $ref: '#/definitions/models.RelatedTaAccount'
  24717. type: array
  24718. "500":
  24719. description: Internal Server Error
  24720. schema:
  24721. $ref: '#/definitions/app.Response'
  24722. security:
  24723. - ApiKeyAuth: []
  24724. summary: 查询关联资金账户信息
  24725. tags:
  24726. - 资金账户
  24727. /Tjmd/QueryQuoteGoodsList:
  24728. get:
  24729. description: 用户类型必传, 查掉期报价列表 marketids=掉期市场id
  24730. parameters:
  24731. - description: 用户类型
  24732. in: query
  24733. name: usertype
  24734. required: true
  24735. type: integer
  24736. - description: 市场id, 格式 1,2,3
  24737. in: query
  24738. name: marketids
  24739. type: string
  24740. - description: 商品组id
  24741. in: query
  24742. name: goodsgroupid
  24743. type: integer
  24744. - description: 商品id
  24745. in: query
  24746. name: goodsid
  24747. type: integer
  24748. produces:
  24749. - application/json
  24750. responses:
  24751. "200":
  24752. description: OK
  24753. schema:
  24754. items:
  24755. $ref: '#/definitions/models.TjmdQuoteGoods'
  24756. type: array
  24757. "500":
  24758. description: Internal Server Error
  24759. schema:
  24760. $ref: '#/definitions/app.Response'
  24761. security:
  24762. - ApiKeyAuth: []
  24763. summary: 查询掉期报价列表
  24764. tags:
  24765. - 天津麦顿
  24766. /Tjmd/QueryTjmdHolderDetailTradeInfo:
  24767. get:
  24768. parameters:
  24769. - description: 成交单号
  24770. in: query
  24771. name: tradeid
  24772. required: true
  24773. type: string
  24774. produces:
  24775. - application/json
  24776. responses:
  24777. "200":
  24778. description: OK
  24779. schema:
  24780. items:
  24781. $ref: '#/definitions/models.TjmdHolderDetailTradeInfo'
  24782. type: array
  24783. "500":
  24784. description: Internal Server Error
  24785. schema:
  24786. $ref: '#/definitions/app.Response'
  24787. security:
  24788. - ApiKeyAuth: []
  24789. summary: 掉期商品订单详情(交易确认书)
  24790. tags:
  24791. - 天津麦顿
  24792. /Tjmd/QueryTjmdMarketSection:
  24793. get:
  24794. produces:
  24795. - application/json
  24796. responses:
  24797. "200":
  24798. description: OK
  24799. schema:
  24800. items:
  24801. $ref: '#/definitions/models.TjmdMarketSection'
  24802. type: array
  24803. "500":
  24804. description: Internal Server Error
  24805. schema:
  24806. $ref: '#/definitions/app.Response'
  24807. security:
  24808. - ApiKeyAuth: []
  24809. summary: 查询市场板块
  24810. tags:
  24811. - 天津麦顿
  24812. /Tjmd/QueryTjmdTodayAccountMargin:
  24813. get:
  24814. parameters:
  24815. - description: 市场id
  24816. in: query
  24817. name: marketid
  24818. type: string
  24819. - description: 商品id
  24820. in: query
  24821. name: goodsid
  24822. type: string
  24823. - description: 资金账号
  24824. in: query
  24825. name: accountid
  24826. type: string
  24827. produces:
  24828. - application/json
  24829. responses:
  24830. "200":
  24831. description: OK
  24832. schema:
  24833. items:
  24834. $ref: '#/definitions/models.TjmdTodayAccountMargin'
  24835. type: array
  24836. "500":
  24837. description: Internal Server Error
  24838. schema:
  24839. $ref: '#/definitions/app.Response'
  24840. security:
  24841. - ApiKeyAuth: []
  24842. summary: 查询今日账户保证金配置
  24843. tags:
  24844. - 天津麦顿
  24845. /Tjmd/QueryTjmdTradeOrderDetail:
  24846. get:
  24847. description: 用户类型必传, 投资者只能看到自营会员的单, 反之亦然
  24848. parameters:
  24849. - description: 页码
  24850. in: query
  24851. name: page
  24852. type: integer
  24853. - description: 每页条数
  24854. in: query
  24855. name: pagesize
  24856. type: integer
  24857. - description: 用户id
  24858. in: query
  24859. name: userid
  24860. required: true
  24861. type: integer
  24862. - description: 用户类型
  24863. in: query
  24864. name: usertype
  24865. required: true
  24866. type: integer
  24867. - description: 市场id, 格式 1,2,3
  24868. in: query
  24869. name: marketids
  24870. type: string
  24871. - description: 商品id
  24872. in: query
  24873. name: goodsid
  24874. required: true
  24875. type: integer
  24876. - description: 买卖方向 0-买 1-卖
  24877. in: query
  24878. name: buyorsell
  24879. required: true
  24880. type: integer
  24881. produces:
  24882. - application/json
  24883. responses:
  24884. "200":
  24885. description: OK
  24886. schema:
  24887. items:
  24888. $ref: '#/definitions/models.TjmdTradeOrderDetail'
  24889. type: array
  24890. "500":
  24891. description: Internal Server Error
  24892. schema:
  24893. $ref: '#/definitions/app.Response'
  24894. security:
  24895. - ApiKeyAuth: []
  24896. summary: 查询掉期买卖大厅
  24897. tags:
  24898. - 天津麦顿
  24899. /Tjmd/QueryTjmdTransferApply:
  24900. get:
  24901. parameters:
  24902. - description: 类型 1-我的申请 2-对方申请
  24903. in: query
  24904. name: applytype
  24905. required: true
  24906. type: integer
  24907. - description: 市场id, 格式 1,2,3
  24908. in: query
  24909. name: marketids
  24910. type: string
  24911. - description: 资金账号, 格式 25000000001,25000000003
  24912. in: query
  24913. name: accountids
  24914. type: string
  24915. - description: 开始交易日(yyyymmdd)
  24916. in: query
  24917. name: begindate
  24918. type: string
  24919. - description: 结束交易日(yyyymmdd)
  24920. in: query
  24921. name: enddate
  24922. type: string
  24923. produces:
  24924. - application/json
  24925. responses:
  24926. "200":
  24927. description: OK
  24928. schema:
  24929. items:
  24930. $ref: '#/definitions/models.TjmdTransferApply'
  24931. type: array
  24932. "500":
  24933. description: Internal Server Error
  24934. schema:
  24935. $ref: '#/definitions/app.Response'
  24936. security:
  24937. - ApiKeyAuth: []
  24938. summary: 查询掉期协议单
  24939. tags:
  24940. - 天津麦顿
  24941. /Trade/QueryRecieptOrder:
  24942. get:
  24943. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  24944. parameters:
  24945. - description: 页码
  24946. in: query
  24947. name: page
  24948. type: integer
  24949. - description: 每页条数
  24950. in: query
  24951. name: pagesize
  24952. type: integer
  24953. - description: 商品ID
  24954. in: query
  24955. name: goodsID
  24956. required: true
  24957. type: integer
  24958. - description: 所属账户名称
  24959. in: query
  24960. name: accountName
  24961. type: string
  24962. - description: 市场ID
  24963. in: query
  24964. name: marketID
  24965. type: integer
  24966. - description: 方向 - 0:买 1:卖
  24967. in: query
  24968. name: buyorsell
  24969. required: true
  24970. type: integer
  24971. produces:
  24972. - application/json
  24973. responses:
  24974. "200":
  24975. description: OK
  24976. schema:
  24977. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  24978. "500":
  24979. description: Internal Server Error
  24980. schema:
  24981. $ref: '#/definitions/app.Response'
  24982. security:
  24983. - ApiKeyAuth: []
  24984. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  24985. tags:
  24986. - 通用交易
  24987. /User/AddMessageBoard:
  24988. post:
  24989. parameters:
  24990. - description: 用户ID
  24991. in: query
  24992. name: userID
  24993. required: true
  24994. type: integer
  24995. - description: 留言信息
  24996. in: query
  24997. name: message
  24998. required: true
  24999. type: string
  25000. - description: 联系电话
  25001. in: query
  25002. name: contactNum
  25003. required: true
  25004. type: string
  25005. produces:
  25006. - application/json
  25007. responses:
  25008. "200":
  25009. description: OK
  25010. schema:
  25011. $ref: '#/definitions/app.Response'
  25012. "500":
  25013. description: Internal Server Error
  25014. schema:
  25015. $ref: '#/definitions/app.Response'
  25016. security:
  25017. - ApiKeyAuth: []
  25018. summary: 添加用户留言板信息
  25019. tags:
  25020. - 用户信息
  25021. /User/AddUserFavoriteGoods:
  25022. post:
  25023. parameters:
  25024. - description: 用户ID
  25025. in: query
  25026. name: userID
  25027. required: true
  25028. type: integer
  25029. - description: 商品ID
  25030. in: query
  25031. name: goodsID
  25032. required: true
  25033. type: integer
  25034. produces:
  25035. - application/json
  25036. responses:
  25037. "200":
  25038. description: OK
  25039. schema:
  25040. $ref: '#/definitions/app.Response'
  25041. "500":
  25042. description: Internal Server Error
  25043. schema:
  25044. $ref: '#/definitions/app.Response'
  25045. security:
  25046. - ApiKeyAuth: []
  25047. summary: 添加用户商品收藏信息
  25048. tags:
  25049. - 用户信息
  25050. /User/GetLoginID:
  25051. get:
  25052. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  25053. parameters:
  25054. - description: 登录代码
  25055. in: query
  25056. name: username
  25057. required: true
  25058. type: string
  25059. produces:
  25060. - application/json
  25061. responses:
  25062. "200":
  25063. description: OK
  25064. schema:
  25065. $ref: '#/definitions/app.Response'
  25066. "500":
  25067. description: Internal Server Error
  25068. schema:
  25069. $ref: '#/definitions/app.Response'
  25070. summary: 获取登录ID
  25071. tags:
  25072. - 用户信息
  25073. /User/GetUserAccount:
  25074. get:
  25075. parameters:
  25076. - description: 用户ID
  25077. in: query
  25078. name: userID
  25079. required: true
  25080. type: integer
  25081. produces:
  25082. - application/json
  25083. responses:
  25084. "200":
  25085. description: OK
  25086. schema:
  25087. $ref: '#/definitions/models.Useraccount'
  25088. "500":
  25089. description: Internal Server Error
  25090. schema:
  25091. $ref: '#/definitions/app.Response'
  25092. security:
  25093. - ApiKeyAuth: []
  25094. summary: 获取用户账号信息
  25095. tags:
  25096. - 用户信息
  25097. /User/GetUserAuthStatus:
  25098. get:
  25099. parameters:
  25100. - description: 用户ID
  25101. in: query
  25102. name: userID
  25103. required: true
  25104. type: integer
  25105. produces:
  25106. - application/json
  25107. responses:
  25108. "200":
  25109. description: OK
  25110. schema:
  25111. $ref: '#/definitions/app.Response'
  25112. "500":
  25113. description: Internal Server Error
  25114. schema:
  25115. $ref: '#/definitions/app.Response'
  25116. security:
  25117. - ApiKeyAuth: []
  25118. summary: 获取用户实名认证状态
  25119. tags:
  25120. - 用户信息
  25121. /User/LoginQuery:
  25122. get:
  25123. parameters:
  25124. - description: 登录账号
  25125. in: query
  25126. name: loginID
  25127. required: true
  25128. type: integer
  25129. produces:
  25130. - application/json
  25131. responses:
  25132. "200":
  25133. description: OK
  25134. schema:
  25135. $ref: '#/definitions/user.LoginQueryRsp'
  25136. "500":
  25137. description: Internal Server Error
  25138. schema:
  25139. $ref: '#/definitions/app.Response'
  25140. security:
  25141. - ApiKeyAuth: []
  25142. summary: 账户登录后信息查询
  25143. tags:
  25144. - 用户信息
  25145. /User/QueryMessageBoard:
  25146. get:
  25147. parameters:
  25148. - description: 用户ID
  25149. in: query
  25150. name: userID
  25151. required: true
  25152. type: integer
  25153. produces:
  25154. - application/json
  25155. responses:
  25156. "200":
  25157. description: OK
  25158. schema:
  25159. $ref: '#/definitions/models.Messageboard'
  25160. "500":
  25161. description: Internal Server Error
  25162. schema:
  25163. $ref: '#/definitions/app.Response'
  25164. security:
  25165. - ApiKeyAuth: []
  25166. summary: 获取用户留言板信息
  25167. tags:
  25168. - 用户信息
  25169. /User/QueryUserFavoriteGoodses:
  25170. get:
  25171. parameters:
  25172. - description: 用户ID
  25173. in: query
  25174. name: userID
  25175. required: true
  25176. type: integer
  25177. produces:
  25178. - application/json
  25179. responses:
  25180. "200":
  25181. description: OK
  25182. schema:
  25183. $ref: '#/definitions/models.Userfavoritegoods'
  25184. "500":
  25185. description: Internal Server Error
  25186. schema:
  25187. $ref: '#/definitions/app.Response'
  25188. security:
  25189. - ApiKeyAuth: []
  25190. summary: 获取用户商品收藏信息
  25191. tags:
  25192. - 用户信息
  25193. /User/QueryUserInfo:
  25194. get:
  25195. parameters:
  25196. - description: 用户ID
  25197. in: query
  25198. name: userID
  25199. required: true
  25200. type: integer
  25201. - description: 是否解密
  25202. in: query
  25203. name: isDecrypt
  25204. type: boolean
  25205. produces:
  25206. - application/json
  25207. responses:
  25208. "200":
  25209. description: OK
  25210. schema:
  25211. $ref: '#/definitions/models.Userinfo'
  25212. "500":
  25213. description: Internal Server Error
  25214. schema:
  25215. $ref: '#/definitions/app.Response'
  25216. security:
  25217. - ApiKeyAuth: []
  25218. summary: 获取用户信息
  25219. tags:
  25220. - 用户信息
  25221. /User/QueryUserReferNum:
  25222. get:
  25223. parameters:
  25224. - description: 用户ID
  25225. in: query
  25226. name: userID
  25227. required: true
  25228. type: integer
  25229. produces:
  25230. - application/json
  25231. responses:
  25232. "200":
  25233. description: OK
  25234. schema:
  25235. $ref: '#/definitions/app.Response'
  25236. "500":
  25237. description: Internal Server Error
  25238. schema:
  25239. $ref: '#/definitions/app.Response'
  25240. summary: 获取用户邀请码
  25241. tags:
  25242. - 用户信息
  25243. /User/RemoveUserFavoriteGoods:
  25244. post:
  25245. parameters:
  25246. - description: 用户ID
  25247. in: query
  25248. name: userID
  25249. required: true
  25250. type: integer
  25251. - description: 商品ID
  25252. in: query
  25253. name: goodsID
  25254. required: true
  25255. type: integer
  25256. produces:
  25257. - application/json
  25258. responses:
  25259. "200":
  25260. description: OK
  25261. schema:
  25262. $ref: '#/definitions/app.Response'
  25263. "500":
  25264. description: Internal Server Error
  25265. schema:
  25266. $ref: '#/definitions/app.Response'
  25267. security:
  25268. - ApiKeyAuth: []
  25269. summary: 移除用户商品收藏信息
  25270. tags:
  25271. - 用户信息
  25272. /User/UpdateUserAccountStatus:
  25273. post:
  25274. parameters:
  25275. - description: 用户ID
  25276. in: query
  25277. name: userID
  25278. required: true
  25279. type: integer
  25280. - description: 账户状态 - 4:正常 6:注销(停用)
  25281. in: query
  25282. name: accountStatus
  25283. required: true
  25284. type: integer
  25285. produces:
  25286. - application/json
  25287. responses:
  25288. "200":
  25289. description: OK
  25290. schema:
  25291. $ref: '#/definitions/app.Response'
  25292. "500":
  25293. description: Internal Server Error
  25294. schema:
  25295. $ref: '#/definitions/app.Response'
  25296. security:
  25297. - ApiKeyAuth: []
  25298. summary: 更新用户状态
  25299. tags:
  25300. - 用户信息
  25301. /WRTrade/GetAllDeliveryGoods:
  25302. get:
  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. - 仓单贸易
  25320. /WrTrade2/InsertXhcpSellBackApply:
  25321. post:
  25322. parameters:
  25323. - description: 回收申请
  25324. in: body
  25325. name: jsonBody
  25326. required: true
  25327. schema:
  25328. $ref: '#/definitions/models.XhcpSellBackApplyEx'
  25329. produces:
  25330. - application/json
  25331. responses:
  25332. "200":
  25333. description: OK
  25334. schema:
  25335. $ref: '#/definitions/app.Response'
  25336. "500":
  25337. description: Internal Server Error
  25338. schema:
  25339. $ref: '#/definitions/app.Response'
  25340. security:
  25341. - ApiKeyAuth: []
  25342. summary: 新增回收申请(新会陈皮)
  25343. tags:
  25344. - 仓单贸易v2
  25345. /WrTrade2/QueryDeliveryGoodsSection:
  25346. get:
  25347. produces:
  25348. - application/json
  25349. responses:
  25350. "200":
  25351. description: OK
  25352. schema:
  25353. items:
  25354. $ref: '#/definitions/models.WrDeliveryGoodsSection'
  25355. type: array
  25356. "500":
  25357. description: Internal Server Error
  25358. schema:
  25359. $ref: '#/definitions/app.Response'
  25360. security:
  25361. - ApiKeyAuth: []
  25362. summary: 查询板块(分类)
  25363. tags:
  25364. - 仓单贸易v2
  25365. /WrTrade2/QueryFaProductDetail:
  25366. get:
  25367. description: 页面 买卖大厅 -> 选择融资方案
  25368. parameters:
  25369. - description: 仓单要素id
  25370. in: query
  25371. name: wrfactortypeid
  25372. required: true
  25373. type: integer
  25374. produces:
  25375. - application/json
  25376. responses:
  25377. "200":
  25378. description: OK
  25379. schema:
  25380. items:
  25381. $ref: '#/definitions/models.WrFAProductDetail'
  25382. type: array
  25383. "500":
  25384. description: Internal Server Error
  25385. schema:
  25386. $ref: '#/definitions/app.Response'
  25387. security:
  25388. - ApiKeyAuth: []
  25389. summary: 查询融资产品列表
  25390. tags:
  25391. - 仓单贸易v2
  25392. /WrTrade2/QueryFilterItem:
  25393. get:
  25394. parameters:
  25395. - description: 类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库
  25396. in: query
  25397. name: itype
  25398. required: true
  25399. type: string
  25400. produces:
  25401. - application/json
  25402. responses:
  25403. "200":
  25404. description: OK
  25405. schema:
  25406. items:
  25407. $ref: '#/definitions/models.WrFilterItem'
  25408. type: array
  25409. "500":
  25410. description: Internal Server Error
  25411. schema:
  25412. $ref: '#/definitions/app.Response'
  25413. security:
  25414. - ApiKeyAuth: []
  25415. summary: 查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)
  25416. tags:
  25417. - 仓单贸易v2
  25418. /WrTrade2/QueryFtDeliveryGoods:
  25419. get:
  25420. produces:
  25421. - application/json
  25422. responses:
  25423. "200":
  25424. description: OK
  25425. schema:
  25426. items:
  25427. $ref: '#/definitions/models.WrFtDeliveryGoods'
  25428. type: array
  25429. "500":
  25430. description: Internal Server Error
  25431. schema:
  25432. $ref: '#/definitions/app.Response'
  25433. security:
  25434. - ApiKeyAuth: []
  25435. summary: 查询品种品类筛选框列表
  25436. tags:
  25437. - 仓单贸易v2
  25438. /WrTrade2/QueryHoldLB:
  25439. get:
  25440. description: 页面 现货仓单->现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。
  25441. parameters:
  25442. - description: 资金账号
  25443. in: query
  25444. name: accountid
  25445. required: true
  25446. type: integer
  25447. - description: 仓库id
  25448. in: query
  25449. name: warehouseid
  25450. type: integer
  25451. - description: 品种id
  25452. in: query
  25453. name: deliverygoodsid
  25454. type: integer
  25455. - description: 品类id
  25456. in: query
  25457. name: wrstandardid
  25458. type: integer
  25459. - description: 仓单要素id
  25460. in: query
  25461. name: wrfactortypeid
  25462. type: integer
  25463. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  25464. in: query
  25465. name: dgitemname
  25466. type: string
  25467. produces:
  25468. - application/json
  25469. responses:
  25470. "200":
  25471. description: OK
  25472. schema:
  25473. items:
  25474. $ref: '#/definitions/models.WrHoldLB'
  25475. type: array
  25476. "500":
  25477. description: Internal Server Error
  25478. schema:
  25479. $ref: '#/definitions/app.Response'
  25480. security:
  25481. - ApiKeyAuth: []
  25482. summary: 查询仓单持有记录
  25483. tags:
  25484. - 仓单贸易v2
  25485. /WrTrade2/QueryOrderQuote:
  25486. get:
  25487. description: 仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth
  25488. 唯一确定1条记录
  25489. parameters:
  25490. - description: 页码
  25491. in: query
  25492. name: page
  25493. type: integer
  25494. - description: 每页条数
  25495. in: query
  25496. name: pagesize
  25497. type: integer
  25498. - description: 仓单贸易市场id
  25499. in: query
  25500. name: marketid
  25501. type: integer
  25502. - description: 价格方式 - 1:固定价 2-浮动价
  25503. in: query
  25504. name: wrpricetype
  25505. required: true
  25506. type: integer
  25507. - description: 0:仓单预售 1:仓单贸易
  25508. in: query
  25509. name: haswr
  25510. type: integer
  25511. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  25512. in: query
  25513. name: dgitemname
  25514. type: string
  25515. - description: 仓库id(筛选条件)
  25516. in: query
  25517. name: warehouseid
  25518. type: integer
  25519. - description: 品种id
  25520. in: query
  25521. name: deliverygoodsid
  25522. type: integer
  25523. - description: 品类id
  25524. in: query
  25525. name: wrstandardid
  25526. type: integer
  25527. - description: 品牌id(dgfactoryitemid)
  25528. in: query
  25529. name: brandid
  25530. type: integer
  25531. - description: 年份id(dgfactoryitemid)
  25532. in: query
  25533. name: yearsid
  25534. type: integer
  25535. - description: 仓单要素id
  25536. in: query
  25537. name: wrfactortypeid
  25538. type: integer
  25539. - description: 交收月(yyyy-mm) 仓单预售填写
  25540. in: query
  25541. name: deliverymonth
  25542. type: string
  25543. produces:
  25544. - application/json
  25545. responses:
  25546. "200":
  25547. description: OK
  25548. schema:
  25549. items:
  25550. $ref: '#/definitions/models.WrOrderQuote'
  25551. type: array
  25552. "500":
  25553. description: Internal Server Error
  25554. schema:
  25555. $ref: '#/definitions/app.Response'
  25556. security:
  25557. - ApiKeyAuth: []
  25558. summary: 查询大厅行情列表
  25559. tags:
  25560. - 仓单贸易v2
  25561. /WrTrade2/QueryOrderQuoteDetail:
  25562. get:
  25563. parameters:
  25564. - description: 页码
  25565. in: query
  25566. name: page
  25567. type: integer
  25568. - description: 每页条数
  25569. in: query
  25570. name: pagesize
  25571. type: integer
  25572. - description: 仓单贸易市场id
  25573. in: query
  25574. name: marketid
  25575. type: integer
  25576. - description: 价格方式 - 1:固定价 2-浮动价
  25577. in: query
  25578. name: wrpricetype
  25579. required: true
  25580. type: integer
  25581. - description: 0:仓单预售 1:仓单贸易
  25582. in: query
  25583. name: haswr
  25584. type: integer
  25585. - description: 仓单要素id
  25586. in: query
  25587. name: wrfactortypeid
  25588. required: true
  25589. type: integer
  25590. - description: 期货商品id(浮动价方式时填)
  25591. in: query
  25592. name: goodsid
  25593. type: integer
  25594. - description: 买卖方向 0-买 1-卖
  25595. in: query
  25596. name: buyorsell
  25597. required: true
  25598. type: integer
  25599. - description: 交收月(yyyy-mm) 查仓单预售的买卖大厅时填写
  25600. in: query
  25601. name: deliverymonth
  25602. type: string
  25603. produces:
  25604. - application/json
  25605. responses:
  25606. "200":
  25607. description: OK
  25608. schema:
  25609. items:
  25610. $ref: '#/definitions/models.WrOrderQuoteDetail'
  25611. type: array
  25612. "500":
  25613. description: Internal Server Error
  25614. schema:
  25615. $ref: '#/definitions/app.Response'
  25616. security:
  25617. - ApiKeyAuth: []
  25618. summary: 查询买卖大厅
  25619. tags:
  25620. - 仓单贸易v2
  25621. /WrTrade2/QueryOrderQuoteMyq:
  25622. get:
  25623. parameters:
  25624. - description: 页码
  25625. in: query
  25626. name: page
  25627. type: integer
  25628. - description: 每页条数
  25629. in: query
  25630. name: pagesize
  25631. type: integer
  25632. - description: 用户id
  25633. in: query
  25634. name: userid
  25635. required: true
  25636. type: integer
  25637. - description: 仓单贸易市场id
  25638. in: query
  25639. name: marketid
  25640. type: integer
  25641. - description: 0:仓单预售 1:仓单贸易
  25642. in: query
  25643. name: haswr
  25644. type: integer
  25645. - description: 买卖方向 0-买 1-卖
  25646. in: query
  25647. name: buyorsell
  25648. required: true
  25649. type: integer
  25650. - description: 品种id
  25651. in: query
  25652. name: deliverygoodsid
  25653. type: integer
  25654. - description: 品类id
  25655. in: query
  25656. name: wrstandardid
  25657. type: integer
  25658. - description: 交收月(yyyy-mm) 仓单预售填写
  25659. in: query
  25660. name: deliverymonth
  25661. type: string
  25662. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  25663. in: query
  25664. name: dgitemname
  25665. type: string
  25666. produces:
  25667. - application/json
  25668. responses:
  25669. "200":
  25670. description: OK
  25671. schema:
  25672. items:
  25673. $ref: '#/definitions/models.WrQuoteOrderMyq'
  25674. type: array
  25675. "500":
  25676. description: Internal Server Error
  25677. schema:
  25678. $ref: '#/definitions/app.Response'
  25679. security:
  25680. - ApiKeyAuth: []
  25681. summary: 查询贸易圈挂牌大厅
  25682. tags:
  25683. - 仓单贸易v2
  25684. /WrTrade2/QueryPerformancePlan:
  25685. get:
  25686. parameters:
  25687. - description: 用户id
  25688. in: query
  25689. name: userid
  25690. required: true
  25691. type: integer
  25692. - description: 买卖方向 0-买 1-卖
  25693. in: query
  25694. name: buyorsell
  25695. required: true
  25696. type: integer
  25697. - description: 履约状态(可多个,逗号隔开) 1:待激活 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成
  25698. 8:释放冻结失败 9:超时待处理 10:超时关闭
  25699. in: query
  25700. name: status
  25701. type: string
  25702. - description: 开始交易日(yyyymmdd)
  25703. in: query
  25704. name: begindate
  25705. type: string
  25706. - description: 结束交易日(yyyymmdd)
  25707. in: query
  25708. name: enddate
  25709. type: string
  25710. produces:
  25711. - application/json
  25712. responses:
  25713. "200":
  25714. description: OK
  25715. schema:
  25716. items:
  25717. $ref: '#/definitions/models.WrPerformancePlan'
  25718. type: array
  25719. "500":
  25720. description: Internal Server Error
  25721. schema:
  25722. $ref: '#/definitions/app.Response'
  25723. security:
  25724. - ApiKeyAuth: []
  25725. summary: 查询履约信息
  25726. tags:
  25727. - 仓单贸易v2
  25728. /WrTrade2/QueryPermancePlanTmp:
  25729. get:
  25730. description: |-
  25731. 返回指定用户的模板和公共模板(用户id为空)
  25732. 注意:天津麦顿客户 填写marketid参数,其它参数不用填;其它客户不用填marketid字段
  25733. parameters:
  25734. - description: 用户id
  25735. in: query
  25736. name: userid
  25737. type: integer
  25738. - description: 模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  25739. (无仓单) 5:挂牌期权 6:竞拍-降价式
  25740. in: query
  25741. name: tmptype
  25742. type: string
  25743. - description: 是否包含公共模板(用户id为空的) 1-包含
  25744. in: query
  25745. name: includepub
  25746. type: integer
  25747. - description: 市场id(天津麦顿指定此参数,其它不用)
  25748. in: query
  25749. name: marketid
  25750. type: integer
  25751. produces:
  25752. - application/json
  25753. responses:
  25754. "200":
  25755. description: OK
  25756. schema:
  25757. items:
  25758. $ref: '#/definitions/models.WrPerformanceTemplateEx'
  25759. type: array
  25760. "500":
  25761. description: Internal Server Error
  25762. schema:
  25763. $ref: '#/definitions/app.Response'
  25764. security:
  25765. - ApiKeyAuth: []
  25766. summary: 查询履约模板
  25767. tags:
  25768. - 仓单贸易v2
  25769. /WrTrade2/QuerySiteColumnDetail:
  25770. get:
  25771. parameters:
  25772. - description: 页码
  25773. in: query
  25774. name: page
  25775. type: integer
  25776. - description: 每页条数
  25777. in: query
  25778. name: pagesize
  25779. type: integer
  25780. - description: 所属栏目id
  25781. in: query
  25782. name: columnid
  25783. type: integer
  25784. produces:
  25785. - application/json
  25786. responses:
  25787. "200":
  25788. description: OK
  25789. schema:
  25790. items:
  25791. $ref: '#/definitions/models.WrSiteColumnDetail'
  25792. type: array
  25793. "500":
  25794. description: Internal Server Error
  25795. schema:
  25796. $ref: '#/definitions/app.Response'
  25797. security:
  25798. - ApiKeyAuth: []
  25799. summary: 查询资讯
  25800. tags:
  25801. - 仓单贸易v2
  25802. /WrTrade2/QuerySpotGroupTradeSum:
  25803. get:
  25804. produces:
  25805. - application/json
  25806. responses:
  25807. "200":
  25808. description: OK
  25809. schema:
  25810. items:
  25811. $ref: '#/definitions/models.WrSpotGroupTradeSumEx'
  25812. type: array
  25813. "500":
  25814. description: Internal Server Error
  25815. schema:
  25816. $ref: '#/definitions/app.Response'
  25817. security:
  25818. - ApiKeyAuth: []
  25819. summary: 查询指数
  25820. tags:
  25821. - 仓单贸易v2
  25822. /WrTrade2/QuerySpotGroupTradeSumDetail:
  25823. get:
  25824. description: 查询的结果将会按日期 从小到大 排序
  25825. parameters:
  25826. - description: 现货商品id
  25827. in: query
  25828. name: deliverygoodsid
  25829. required: true
  25830. type: integer
  25831. - description: 查询最新多少条记录(如不填写此项, 默认查30条)
  25832. in: query
  25833. name: lastnum
  25834. type: integer
  25835. produces:
  25836. - application/json
  25837. responses:
  25838. "200":
  25839. description: OK
  25840. schema:
  25841. items:
  25842. $ref: '#/definitions/models.WrSpotGroupTradeSumDetail'
  25843. type: array
  25844. "500":
  25845. description: Internal Server Error
  25846. schema:
  25847. $ref: '#/definitions/app.Response'
  25848. security:
  25849. - ApiKeyAuth: []
  25850. summary: 查询指数详细(价格走势图)
  25851. tags:
  25852. - 仓单贸易v2
  25853. /WrTrade2/QueryWrAverageTradePrice:
  25854. get:
  25855. parameters:
  25856. - description: 页码
  25857. in: query
  25858. name: page
  25859. type: integer
  25860. - description: 每页条数
  25861. in: query
  25862. name: pagesize
  25863. type: integer
  25864. - description: 0:仓单预售 1:仓单贸易
  25865. in: query
  25866. name: haswr
  25867. required: true
  25868. type: integer
  25869. - description: 仓单要素id
  25870. in: query
  25871. name: wrfactortypeid
  25872. required: true
  25873. type: integer
  25874. produces:
  25875. - application/json
  25876. responses:
  25877. "200":
  25878. description: OK
  25879. schema:
  25880. items:
  25881. $ref: '#/definitions/models.WrAverageTradePrice'
  25882. type: array
  25883. "500":
  25884. description: Internal Server Error
  25885. schema:
  25886. $ref: '#/definitions/app.Response'
  25887. security:
  25888. - ApiKeyAuth: []
  25889. summary: 查询成交价(历史走势)
  25890. tags:
  25891. - 仓单贸易v2
  25892. /WrTrade2/QueryWrBrandAndYears:
  25893. get:
  25894. produces:
  25895. - application/json
  25896. responses:
  25897. "200":
  25898. description: OK
  25899. schema:
  25900. items:
  25901. $ref: '#/definitions/models.WrBrandAndYears'
  25902. type: array
  25903. "500":
  25904. description: Internal Server Error
  25905. schema:
  25906. $ref: '#/definitions/app.Response'
  25907. security:
  25908. - ApiKeyAuth: []
  25909. summary: 查询品牌和年份
  25910. tags:
  25911. - 仓单贸易v2
  25912. /WrTrade2/QueryWrBsGoodsInfo:
  25913. get:
  25914. description: 合约交易/买卖大厅/详情
  25915. parameters:
  25916. - description: 商品id
  25917. in: query
  25918. name: goodsid
  25919. required: true
  25920. type: integer
  25921. produces:
  25922. - application/json
  25923. responses:
  25924. "200":
  25925. description: OK
  25926. schema:
  25927. items:
  25928. $ref: '#/definitions/models.WrBsGoodsInfo'
  25929. type: array
  25930. "500":
  25931. description: Internal Server Error
  25932. schema:
  25933. $ref: '#/definitions/app.Response'
  25934. security:
  25935. - ApiKeyAuth: []
  25936. summary: 查询合约交易买卖大厅详情
  25937. tags:
  25938. - 仓单贸易v2
  25939. /WrTrade2/QueryWrBuybackDetail:
  25940. get:
  25941. parameters:
  25942. - description: 融资合同id
  25943. in: query
  25944. name: scfcontractid
  25945. type: integer
  25946. produces:
  25947. - application/json
  25948. responses:
  25949. "200":
  25950. description: OK
  25951. schema:
  25952. items:
  25953. $ref: '#/definitions/models.WrBuybackDetail'
  25954. type: array
  25955. "500":
  25956. description: Internal Server Error
  25957. schema:
  25958. $ref: '#/definitions/app.Response'
  25959. security:
  25960. - ApiKeyAuth: []
  25961. summary: 查询仓单回购明细
  25962. tags:
  25963. - 仓单贸易v2
  25964. /WrTrade2/QueryWrClientAdSpaceConfig:
  25965. get:
  25966. produces:
  25967. - application/json
  25968. responses:
  25969. "200":
  25970. description: OK
  25971. schema:
  25972. items:
  25973. $ref: '#/definitions/models.WrClientAdSpaceConfig'
  25974. type: array
  25975. "500":
  25976. description: Internal Server Error
  25977. schema:
  25978. $ref: '#/definitions/app.Response'
  25979. security:
  25980. - ApiKeyAuth: []
  25981. summary: 查询固定广告配置
  25982. tags:
  25983. - 仓单贸易v2
  25984. /WrTrade2/QueryWrDeliveryAvalidHoldLB:
  25985. get:
  25986. parameters:
  25987. - description: 资金账号
  25988. in: query
  25989. name: accountid
  25990. required: true
  25991. type: integer
  25992. - description: 商品id
  25993. in: query
  25994. name: goodsid
  25995. required: true
  25996. type: integer
  25997. produces:
  25998. - application/json
  25999. responses:
  26000. "200":
  26001. description: OK
  26002. schema:
  26003. items:
  26004. $ref: '#/definitions/models.WrDeliveryAvalidHoldLB'
  26005. type: array
  26006. "500":
  26007. description: Internal Server Error
  26008. schema:
  26009. $ref: '#/definitions/app.Response'
  26010. security:
  26011. - ApiKeyAuth: []
  26012. summary: 查询合约交收可点选仓单
  26013. tags:
  26014. - 仓单贸易v2
  26015. /WrTrade2/QueryWrDeliveryDetail:
  26016. get:
  26017. parameters:
  26018. - description: 用户id
  26019. in: query
  26020. name: userid
  26021. required: true
  26022. type: integer
  26023. - description: 资金账号id
  26024. in: query
  26025. name: accountid
  26026. type: integer
  26027. - description: 开始交易日(yyyymmdd)
  26028. in: query
  26029. name: begindate
  26030. type: string
  26031. - description: 结束交易日(yyyymmdd)
  26032. in: query
  26033. name: enddate
  26034. type: string
  26035. produces:
  26036. - application/json
  26037. responses:
  26038. "200":
  26039. description: OK
  26040. schema:
  26041. items:
  26042. $ref: '#/definitions/models.WrDeliveryDetail'
  26043. type: array
  26044. "500":
  26045. description: Internal Server Error
  26046. schema:
  26047. $ref: '#/definitions/app.Response'
  26048. security:
  26049. - ApiKeyAuth: []
  26050. summary: 查询交收
  26051. tags:
  26052. - 仓单贸易v2
  26053. /WrTrade2/QueryWrDraftUserInfo:
  26054. get:
  26055. parameters:
  26056. - description: 用户ID
  26057. in: query
  26058. name: userid
  26059. required: true
  26060. type: integer
  26061. - description: 用户状态 1:正常 2:注销
  26062. in: query
  26063. name: userstatus
  26064. type: integer
  26065. produces:
  26066. - application/json
  26067. responses:
  26068. "200":
  26069. description: OK
  26070. schema:
  26071. items:
  26072. $ref: '#/definitions/models.WrDraftUserInfo'
  26073. type: array
  26074. "500":
  26075. description: Internal Server Error
  26076. schema:
  26077. $ref: '#/definitions/app.Response'
  26078. security:
  26079. - ApiKeyAuth: []
  26080. summary: 查询实名认证信息
  26081. tags:
  26082. - 仓单贸易v2
  26083. /WrTrade2/QueryWrFactorTypeInfo:
  26084. get:
  26085. parameters:
  26086. - description: 仓单要素id
  26087. in: query
  26088. name: wrfactortypeid
  26089. required: true
  26090. type: integer
  26091. produces:
  26092. - application/json
  26093. responses:
  26094. "200":
  26095. description: OK
  26096. schema:
  26097. items:
  26098. $ref: '#/definitions/models.WrFactorTypeInfo'
  26099. type: array
  26100. "500":
  26101. description: Internal Server Error
  26102. schema:
  26103. $ref: '#/definitions/app.Response'
  26104. security:
  26105. - ApiKeyAuth: []
  26106. summary: 查询仓单要素详细信息
  26107. tags:
  26108. - 仓单贸易v2
  26109. /WrTrade2/QueryWrFactorTypeInfoEx:
  26110. get:
  26111. parameters:
  26112. - description: 仓单要素id
  26113. in: query
  26114. name: wrfactortypeid
  26115. required: true
  26116. type: integer
  26117. produces:
  26118. - application/json
  26119. responses:
  26120. "200":
  26121. description: OK
  26122. schema:
  26123. items:
  26124. $ref: '#/definitions/models.WrTypeItem'
  26125. type: array
  26126. "500":
  26127. description: Internal Server Error
  26128. schema:
  26129. $ref: '#/definitions/app.Response'
  26130. security:
  26131. - ApiKeyAuth: []
  26132. summary: 查询仓单要素详细信息列表项
  26133. tags:
  26134. - 仓单贸易v2
  26135. /WrTrade2/QueryWrFinanceBuyApply:
  26136. get:
  26137. description: 页面 融资信息+ / 申请单
  26138. parameters:
  26139. - description: 用户id
  26140. in: query
  26141. name: userid
  26142. required: true
  26143. type: integer
  26144. produces:
  26145. - application/json
  26146. responses:
  26147. "200":
  26148. description: OK
  26149. schema:
  26150. items:
  26151. $ref: '#/definitions/models.WrFinanceBuyApply'
  26152. type: array
  26153. "500":
  26154. description: Internal Server Error
  26155. schema:
  26156. $ref: '#/definitions/app.Response'
  26157. security:
  26158. - ApiKeyAuth: []
  26159. summary: 查询融资购买申请
  26160. tags:
  26161. - 仓单贸易v2
  26162. /WrTrade2/QueryWrFriendApply:
  26163. get:
  26164. parameters:
  26165. - description: 用户id
  26166. in: query
  26167. name: userid
  26168. required: true
  26169. type: integer
  26170. produces:
  26171. - application/json
  26172. responses:
  26173. "200":
  26174. description: OK
  26175. schema:
  26176. items:
  26177. $ref: '#/definitions/models.WrFriendApply'
  26178. type: array
  26179. "500":
  26180. description: Internal Server Error
  26181. schema:
  26182. $ref: '#/definitions/app.Response'
  26183. security:
  26184. - ApiKeyAuth: []
  26185. summary: 查询好友申请记录
  26186. tags:
  26187. - 仓单贸易v2
  26188. /WrTrade2/QueryWrGoodsInfo:
  26189. get:
  26190. parameters:
  26191. - description: 仓单贸易市场id
  26192. in: query
  26193. name: marketid
  26194. type: integer
  26195. - description: 0:仓单预售 1:仓单贸易
  26196. in: query
  26197. name: haswr
  26198. required: true
  26199. type: integer
  26200. - description: 仓单要素id
  26201. in: query
  26202. name: wrfactortypeid
  26203. required: true
  26204. type: integer
  26205. - description: 履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)
  26206. in: query
  26207. name: tmplateid
  26208. type: integer
  26209. produces:
  26210. - application/json
  26211. responses:
  26212. "200":
  26213. description: OK
  26214. schema:
  26215. items:
  26216. $ref: '#/definitions/models.WrGoodsInfo'
  26217. type: array
  26218. "500":
  26219. description: Internal Server Error
  26220. schema:
  26221. $ref: '#/definitions/app.Response'
  26222. security:
  26223. - ApiKeyAuth: []
  26224. summary: 查询仓单商品信息
  26225. tags:
  26226. - 仓单贸易v2
  26227. /WrTrade2/QueryWrMarketTradeConfig:
  26228. get:
  26229. parameters:
  26230. - description: 市场id
  26231. in: query
  26232. name: marketid
  26233. type: integer
  26234. produces:
  26235. - application/json
  26236. responses:
  26237. "200":
  26238. description: OK
  26239. schema:
  26240. items:
  26241. $ref: '#/definitions/models.WrMarketTradeConfig'
  26242. type: array
  26243. "500":
  26244. description: Internal Server Error
  26245. schema:
  26246. $ref: '#/definitions/app.Response'
  26247. security:
  26248. - ApiKeyAuth: []
  26249. summary: 查询市场交易参数配置
  26250. tags:
  26251. - 仓单贸易v2
  26252. /WrTrade2/QueryWrOrderDetail:
  26253. get:
  26254. description: 页面 现货仓单 | 预售仓单 -> 委托单
  26255. parameters:
  26256. - description: 页码
  26257. in: query
  26258. name: page
  26259. type: integer
  26260. - description: 每页条数
  26261. in: query
  26262. name: pagesize
  26263. type: integer
  26264. - description: 用户id
  26265. in: query
  26266. name: userid
  26267. required: true
  26268. type: integer
  26269. - description: 仓单贸易市场id
  26270. in: query
  26271. name: marketid
  26272. type: integer
  26273. - description: 0:仓单预售 1:仓单贸易
  26274. in: query
  26275. name: haswr
  26276. required: true
  26277. type: integer
  26278. - description: 是否仅查可撤单据 1:可撤 注:此参数仅对当前记录有效, 且不含47模式市场
  26279. in: query
  26280. name: bcancel
  26281. type: integer
  26282. - description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  26283. in: query
  26284. name: wrtradetype
  26285. type: integer
  26286. - description: 开始交易日(yyyymmdd)
  26287. in: query
  26288. name: begindate
  26289. type: string
  26290. - description: 结束交易日(yyyymmdd)
  26291. in: query
  26292. name: enddate
  26293. type: string
  26294. produces:
  26295. - application/json
  26296. responses:
  26297. "200":
  26298. description: OK
  26299. schema:
  26300. items:
  26301. $ref: '#/definitions/models.WrOrderDetail'
  26302. type: array
  26303. "500":
  26304. description: Internal Server Error
  26305. schema:
  26306. $ref: '#/definitions/app.Response'
  26307. security:
  26308. - ApiKeyAuth: []
  26309. summary: 查询仓单委托单
  26310. tags:
  26311. - 仓单贸易v2
  26312. /WrTrade2/QueryWrOutInApply:
  26313. get:
  26314. parameters:
  26315. - description: 页码
  26316. in: query
  26317. name: page
  26318. type: integer
  26319. - description: 每页条数
  26320. in: query
  26321. name: pagesize
  26322. type: integer
  26323. - description: 用户id
  26324. in: query
  26325. name: userid
  26326. required: true
  26327. type: integer
  26328. - description: 开始交易日(yyyymmdd)
  26329. in: query
  26330. name: begindate
  26331. type: string
  26332. - description: 结束交易日(yyyymmdd)
  26333. in: query
  26334. name: enddate
  26335. type: string
  26336. produces:
  26337. - application/json
  26338. responses:
  26339. "200":
  26340. description: OK
  26341. schema:
  26342. items:
  26343. $ref: '#/definitions/models.WrOutInApply'
  26344. type: array
  26345. "500":
  26346. description: Internal Server Error
  26347. schema:
  26348. $ref: '#/definitions/app.Response'
  26349. security:
  26350. - ApiKeyAuth: []
  26351. summary: 查询提货申请
  26352. tags:
  26353. - 仓单贸易v2
  26354. /WrTrade2/QueryWrPerformancePlanStep:
  26355. get:
  26356. parameters:
  26357. - description: 履约计划id(performanceplanid)
  26358. in: query
  26359. name: planid
  26360. required: true
  26361. type: integer
  26362. - description: 当前步骤id
  26363. in: query
  26364. name: curstepid
  26365. type: integer
  26366. produces:
  26367. - application/json
  26368. responses:
  26369. "200":
  26370. description: OK
  26371. schema:
  26372. items:
  26373. $ref: '#/definitions/models.WrPerformancePlanStep'
  26374. type: array
  26375. "500":
  26376. description: Internal Server Error
  26377. schema:
  26378. $ref: '#/definitions/app.Response'
  26379. security:
  26380. - ApiKeyAuth: []
  26381. summary: 查询履约信息详情
  26382. tags:
  26383. - 仓单贸易v2
  26384. /WrTrade2/QueryWrPerformanceStepType:
  26385. get:
  26386. produces:
  26387. - application/json
  26388. responses:
  26389. "200":
  26390. description: OK
  26391. schema:
  26392. items:
  26393. $ref: '#/definitions/models.WrPerformanceStepType'
  26394. type: array
  26395. "500":
  26396. description: Internal Server Error
  26397. schema:
  26398. $ref: '#/definitions/app.Response'
  26399. security:
  26400. - ApiKeyAuth: []
  26401. summary: 查询履约步骤枚举
  26402. tags:
  26403. - 仓单贸易v2
  26404. /WrTrade2/QueryWrPosition:
  26405. get:
  26406. description: 页面 现货仓单->现货汇总/库存汇总; 预售仓单->订单汇总
  26407. parameters:
  26408. - description: 用户id
  26409. in: query
  26410. name: userid
  26411. required: true
  26412. type: integer
  26413. - description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  26414. in: query
  26415. name: querytype
  26416. required: true
  26417. type: integer
  26418. - description: 0:仓单预售 1:仓单贸易
  26419. in: query
  26420. name: haswr
  26421. required: true
  26422. type: integer
  26423. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  26424. in: query
  26425. name: dgitemname
  26426. type: string
  26427. - description: 仓库id(筛选条件)
  26428. in: query
  26429. name: warehouseid
  26430. type: integer
  26431. - description: 品种id
  26432. in: query
  26433. name: deliverygoodsid
  26434. type: integer
  26435. - description: 品类id
  26436. in: query
  26437. name: wrstandardid
  26438. type: integer
  26439. produces:
  26440. - application/json
  26441. responses:
  26442. "200":
  26443. description: OK
  26444. schema:
  26445. items:
  26446. $ref: '#/definitions/models.WrPosition'
  26447. type: array
  26448. "500":
  26449. description: Internal Server Error
  26450. schema:
  26451. $ref: '#/definitions/app.Response'
  26452. security:
  26453. - ApiKeyAuth: []
  26454. summary: 查询现货(预售)仓单持仓
  26455. tags:
  26456. - 仓单贸易v2
  26457. /WrTrade2/QueryWrPreSaleInfo:
  26458. get:
  26459. parameters:
  26460. - description: 市场id
  26461. in: query
  26462. name: marketid
  26463. type: integer
  26464. - description: 预售状态(逗号隔开,如1,2,3) 1:未开始 2:进行中 3:已结束 4:已关闭
  26465. in: query
  26466. name: presalestatus
  26467. type: string
  26468. - description: 摇号标识 - 0:未摇号 1:已摇号
  26469. in: query
  26470. name: lotteryflag
  26471. type: integer
  26472. - description: 最近多少条记录(按创建时间倒序)
  26473. in: query
  26474. name: lastnum
  26475. type: integer
  26476. produces:
  26477. - application/json
  26478. responses:
  26479. "200":
  26480. description: OK
  26481. schema:
  26482. items:
  26483. $ref: '#/definitions/models.WrPreSaleInfo'
  26484. type: array
  26485. "500":
  26486. description: Internal Server Error
  26487. schema:
  26488. $ref: '#/definitions/app.Response'
  26489. security:
  26490. - ApiKeyAuth: []
  26491. summary: 查询新品发布
  26492. tags:
  26493. - 仓单贸易v2
  26494. /WrTrade2/QueryWrReckonSpotGoodsTradeSum:
  26495. get:
  26496. parameters:
  26497. - description: 市场id
  26498. in: query
  26499. name: marketid
  26500. required: true
  26501. type: integer
  26502. - description: 现货商品id
  26503. in: query
  26504. name: wrstandardid
  26505. required: true
  26506. type: integer
  26507. - description: 开始交易日(yyyymmdd)
  26508. in: query
  26509. name: begindate
  26510. type: string
  26511. - description: 结束交易日(yyyymmdd)
  26512. in: query
  26513. name: enddate
  26514. type: string
  26515. - description: 最近多少条记录(按交易日倒序)
  26516. in: query
  26517. name: lastnum
  26518. type: integer
  26519. - description: 是否今日
  26520. in: query
  26521. name: istoday
  26522. type: boolean
  26523. produces:
  26524. - application/json
  26525. responses:
  26526. "200":
  26527. description: OK
  26528. schema:
  26529. items:
  26530. $ref: '#/definitions/models.WrReckonSpotGoodsTradeSum'
  26531. type: array
  26532. "500":
  26533. description: Internal Server Error
  26534. schema:
  26535. $ref: '#/definitions/app.Response'
  26536. security:
  26537. - ApiKeyAuth: []
  26538. summary: 查询价格走势
  26539. tags:
  26540. - 仓单贸易v2
  26541. /WrTrade2/QueryWrScfContract:
  26542. get:
  26543. parameters:
  26544. - description: 用户id
  26545. in: query
  26546. name: userid
  26547. required: true
  26548. type: integer
  26549. - description: 融资合同id
  26550. in: query
  26551. name: scfcontractid
  26552. type: integer
  26553. produces:
  26554. - application/json
  26555. responses:
  26556. "200":
  26557. description: OK
  26558. schema:
  26559. items:
  26560. $ref: '#/definitions/models.WrScfContract'
  26561. type: array
  26562. "500":
  26563. description: Internal Server Error
  26564. schema:
  26565. $ref: '#/definitions/app.Response'
  26566. security:
  26567. - ApiKeyAuth: []
  26568. summary: 查询仓单贸易融资合同
  26569. tags:
  26570. - 仓单贸易v2
  26571. /WrTrade2/QueryWrScfContractInterest:
  26572. get:
  26573. parameters:
  26574. - description: 融资合同id
  26575. in: query
  26576. name: scfcontractid
  26577. type: integer
  26578. produces:
  26579. - application/json
  26580. responses:
  26581. "200":
  26582. description: OK
  26583. schema:
  26584. items:
  26585. $ref: '#/definitions/models.WrScfContractInterest'
  26586. type: array
  26587. "500":
  26588. description: Internal Server Error
  26589. schema:
  26590. $ref: '#/definitions/app.Response'
  26591. security:
  26592. - ApiKeyAuth: []
  26593. summary: 查询融资合同费用明细
  26594. tags:
  26595. - 仓单贸易v2
  26596. /WrTrade2/QueryWrSearchUser:
  26597. get:
  26598. parameters:
  26599. - description: 用户名称(模糊匹配)
  26600. in: query
  26601. name: username
  26602. required: true
  26603. type: string
  26604. produces:
  26605. - application/json
  26606. responses:
  26607. "200":
  26608. description: OK
  26609. schema:
  26610. items:
  26611. $ref: '#/definitions/models.WrSearchUser'
  26612. type: array
  26613. "500":
  26614. description: Internal Server Error
  26615. schema:
  26616. $ref: '#/definitions/app.Response'
  26617. security:
  26618. - ApiKeyAuth: []
  26619. summary: 查询用户
  26620. tags:
  26621. - 仓单贸易v2
  26622. /WrTrade2/QueryWrSpecialMatchOrder:
  26623. get:
  26624. description: 页面 现货仓单 | 预售仓单 -> 指定成交
  26625. parameters:
  26626. - description: 页码
  26627. in: query
  26628. name: page
  26629. type: integer
  26630. - description: 每页条数
  26631. in: query
  26632. name: pagesize
  26633. type: integer
  26634. - description: 用户id
  26635. in: query
  26636. name: userid
  26637. required: true
  26638. type: integer
  26639. - description: 仓单贸易市场id
  26640. in: query
  26641. name: marketid
  26642. type: integer
  26643. - description: 0:仓单预售 1:仓单贸易
  26644. in: query
  26645. name: haswr
  26646. required: true
  26647. type: integer
  26648. - description: 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  26649. in: query
  26650. name: isspecified
  26651. type: integer
  26652. produces:
  26653. - application/json
  26654. responses:
  26655. "200":
  26656. description: OK
  26657. schema:
  26658. items:
  26659. $ref: '#/definitions/models.WrSpecialMatchOrder'
  26660. type: array
  26661. "500":
  26662. description: Internal Server Error
  26663. schema:
  26664. $ref: '#/definitions/app.Response'
  26665. security:
  26666. - ApiKeyAuth: []
  26667. summary: 查询指定成交
  26668. tags:
  26669. - 仓单贸易v2
  26670. /WrTrade2/QueryWrStandardFactoryItem:
  26671. get:
  26672. parameters:
  26673. - description: 品类id
  26674. in: query
  26675. name: wrstandardid
  26676. required: true
  26677. type: integer
  26678. produces:
  26679. - application/json
  26680. responses:
  26681. "200":
  26682. description: OK
  26683. schema:
  26684. items:
  26685. $ref: '#/definitions/models.WrStandardFactoryItemEx'
  26686. type: array
  26687. "500":
  26688. description: Internal Server Error
  26689. schema:
  26690. $ref: '#/definitions/app.Response'
  26691. security:
  26692. - ApiKeyAuth: []
  26693. summary: 查询品类要素定义项
  26694. tags:
  26695. - 仓单贸易v2
  26696. /WrTrade2/QueryWrTradeBargainApply:
  26697. get:
  26698. description: 1.页面 挂单/议价单, 只需传单号就行 <br>2.页面 议价->我的议价 参数 userid=登录userid <br>3.页面
  26699. 议价->对方议价 填写matchuserid=登录用户id
  26700. parameters:
  26701. - description: 议价人id(摘牌方)
  26702. in: query
  26703. name: userid
  26704. type: integer
  26705. - description: 挂牌方id(查对方议价时,填写此项)
  26706. in: query
  26707. name: matchuserid
  26708. type: integer
  26709. - description: 关联委托单id
  26710. in: query
  26711. name: wrtradeorderid
  26712. type: integer
  26713. - description: 0:仓单预售 1:仓单贸易
  26714. in: query
  26715. name: haswr
  26716. required: true
  26717. type: integer
  26718. - description: 开始交易日(yyyymmdd)
  26719. in: query
  26720. name: begindate
  26721. type: string
  26722. - description: 结束交易日(yyyymmdd)
  26723. in: query
  26724. name: enddate
  26725. type: string
  26726. produces:
  26727. - application/json
  26728. responses:
  26729. "200":
  26730. description: OK
  26731. schema:
  26732. items:
  26733. $ref: '#/definitions/models.WRTradeBargainApply'
  26734. type: array
  26735. "500":
  26736. description: Internal Server Error
  26737. schema:
  26738. $ref: '#/definitions/app.Response'
  26739. security:
  26740. - ApiKeyAuth: []
  26741. summary: 查询议价单
  26742. tags:
  26743. - 仓单贸易v2
  26744. /WrTrade2/QueryWrTradeDetail:
  26745. get:
  26746. parameters:
  26747. - description: 页码
  26748. in: query
  26749. name: page
  26750. type: integer
  26751. - description: 每页条数
  26752. in: query
  26753. name: pagesize
  26754. type: integer
  26755. - description: 用户id
  26756. in: query
  26757. name: userid
  26758. required: true
  26759. type: integer
  26760. - description: 仓单贸易市场id
  26761. in: query
  26762. name: marketid
  26763. type: integer
  26764. - description: 0:仓单预售 1:仓单贸易
  26765. in: query
  26766. name: haswr
  26767. required: true
  26768. type: integer
  26769. - description: 开始交易日(yyyymmdd)
  26770. in: query
  26771. name: begindate
  26772. type: string
  26773. - description: 结束交易日(yyyymmdd)
  26774. in: query
  26775. name: enddate
  26776. type: string
  26777. produces:
  26778. - application/json
  26779. responses:
  26780. "200":
  26781. description: OK
  26782. schema:
  26783. items:
  26784. $ref: '#/definitions/models.WrTradeDetail'
  26785. type: array
  26786. "500":
  26787. description: Internal Server Error
  26788. schema:
  26789. $ref: '#/definitions/app.Response'
  26790. security:
  26791. - ApiKeyAuth: []
  26792. summary: 查询仓单成交明细
  26793. tags:
  26794. - 仓单贸易v2
  26795. /WrTrade2/QueryWrTradeOrderDetail:
  26796. get:
  26797. parameters:
  26798. - description: 页码
  26799. in: query
  26800. name: page
  26801. type: integer
  26802. - description: 每页条数
  26803. in: query
  26804. name: pagesize
  26805. type: integer
  26806. - description: 商品id
  26807. in: query
  26808. name: goodsid
  26809. required: true
  26810. type: integer
  26811. - description: 买卖方向 0-买 1-卖
  26812. in: query
  26813. name: buyorsell
  26814. required: true
  26815. type: integer
  26816. produces:
  26817. - application/json
  26818. responses:
  26819. "200":
  26820. description: OK
  26821. schema:
  26822. items:
  26823. $ref: '#/definitions/models.WrTradeOrderDetail'
  26824. type: array
  26825. "500":
  26826. description: Internal Server Error
  26827. schema:
  26828. $ref: '#/definitions/app.Response'
  26829. security:
  26830. - ApiKeyAuth: []
  26831. summary: 查询合约交易买卖大厅
  26832. tags:
  26833. - 仓单贸易v2
  26834. /WrTrade2/QueryWrTradeQuote:
  26835. get:
  26836. parameters:
  26837. - description: 现货商品id
  26838. in: query
  26839. name: wrstandardid
  26840. required: true
  26841. type: integer
  26842. - description: 开始日期(yyyymmdd)
  26843. in: query
  26844. name: begindate
  26845. required: true
  26846. type: string
  26847. - description: 结束日期(yyyymmdd)
  26848. in: query
  26849. name: enddate
  26850. required: true
  26851. type: string
  26852. - description: 市场id
  26853. in: query
  26854. name: marketid
  26855. type: integer
  26856. produces:
  26857. - application/json
  26858. responses:
  26859. "200":
  26860. description: OK
  26861. schema:
  26862. items:
  26863. $ref: '#/definitions/models.Wrtradetradequote'
  26864. type: array
  26865. "500":
  26866. description: Internal Server Error
  26867. schema:
  26868. $ref: '#/definitions/app.Response'
  26869. security:
  26870. - ApiKeyAuth: []
  26871. summary: 查询仓单贸易成交行情
  26872. tags:
  26873. - 仓单贸易v2
  26874. /WrTrade2/QueryWrUserFriend:
  26875. get:
  26876. parameters:
  26877. - description: 用户id
  26878. in: query
  26879. name: userid
  26880. required: true
  26881. type: integer
  26882. - description: 新朋友userid, 如果填写了此项则查找新朋友
  26883. in: query
  26884. name: newuserid
  26885. type: integer
  26886. produces:
  26887. - application/json
  26888. responses:
  26889. "200":
  26890. description: OK
  26891. schema:
  26892. items:
  26893. $ref: '#/definitions/models.WrUserFriend'
  26894. type: array
  26895. "500":
  26896. description: Internal Server Error
  26897. schema:
  26898. $ref: '#/definitions/app.Response'
  26899. security:
  26900. - ApiKeyAuth: []
  26901. summary: 查询我的朋友
  26902. tags:
  26903. - 仓单贸易v2
  26904. /WrTrade2/QueryWrUserReceiptInfo:
  26905. get:
  26906. parameters:
  26907. - description: 用户id
  26908. in: query
  26909. name: userid
  26910. type: integer
  26911. - description: 发票类型 - 1:个人 2:企业
  26912. in: query
  26913. name: receipttype
  26914. type: integer
  26915. produces:
  26916. - application/json
  26917. responses:
  26918. "200":
  26919. description: OK
  26920. schema:
  26921. items:
  26922. $ref: '#/definitions/models.WrUserReceiptInfo'
  26923. type: array
  26924. "500":
  26925. description: Internal Server Error
  26926. schema:
  26927. $ref: '#/definitions/app.Response'
  26928. security:
  26929. - ApiKeyAuth: []
  26930. summary: 查询发票信息
  26931. tags:
  26932. - 仓单贸易v2
  26933. /WrTrade2/QueryXhcpSellBackApply:
  26934. get:
  26935. parameters:
  26936. - description: 用户ID
  26937. in: query
  26938. name: userid
  26939. required: true
  26940. type: integer
  26941. produces:
  26942. - application/json
  26943. responses:
  26944. "200":
  26945. description: OK
  26946. schema:
  26947. items:
  26948. $ref: '#/definitions/models.Xhcpsellbackapply'
  26949. type: array
  26950. "500":
  26951. description: Internal Server Error
  26952. schema:
  26953. $ref: '#/definitions/app.Response'
  26954. security:
  26955. - ApiKeyAuth: []
  26956. summary: 查询我的回收申请(新会陈皮)
  26957. tags:
  26958. - 仓单贸易v2
  26959. /ZJ/GetBankTip:
  26960. get:
  26961. produces:
  26962. - application/json
  26963. responses:
  26964. "200":
  26965. description: OK
  26966. schema:
  26967. type: string
  26968. "500":
  26969. description: Internal Server Error
  26970. schema:
  26971. $ref: '#/definitions/app.Response'
  26972. summary: 获取中江网银端出入金提示信息
  26973. tags:
  26974. - 中江
  26975. /ZJ/GetCusBankChannels:
  26976. get:
  26977. produces:
  26978. - application/json
  26979. responses:
  26980. "200":
  26981. description: OK
  26982. schema:
  26983. items:
  26984. type: string
  26985. type: array
  26986. "500":
  26987. description: Internal Server Error
  26988. schema:
  26989. $ref: '#/definitions/app.Response'
  26990. summary: 获取中江出入金渠道显示列表
  26991. tags:
  26992. - 中江
  26993. securityDefinitions:
  26994. ApiKeyAuth:
  26995. in: header
  26996. name: Authorization
  26997. type: apiKey
  26998. Group:
  26999. in: header
  27000. name: Group
  27001. type: apiKey
  27002. LoginID:
  27003. in: header
  27004. name: LoginID
  27005. type: apiKey
  27006. swagger: "2.0"