swagger.yaml 781 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758187591876018761187621876318764187651876618767187681876918770187711877218773187741877518776187771877818779187801878118782187831878418785187861878718788187891879018791187921879318794187951879618797187981879918800188011880218803188041880518806188071880818809188101881118812188131881418815188161881718818188191882018821188221882318824188251882618827188281882918830188311883218833188341883518836188371883818839188401884118842188431884418845188461884718848188491885018851188521885318854188551885618857188581885918860188611886218863188641886518866188671886818869188701887118872188731887418875188761887718878188791888018881188821888318884188851888618887188881888918890188911889218893188941889518896188971889818899189001890118902189031890418905189061890718908189091891018911189121891318914189151891618917189181891918920189211892218923189241892518926189271892818929189301893118932189331893418935189361893718938189391894018941189421894318944189451894618947189481894918950189511895218953189541895518956189571895818959189601896118962189631896418965189661896718968189691897018971189721897318974189751897618977189781897918980189811898218983189841898518986189871898818989189901899118992189931899418995189961899718998189991900019001190021900319004190051900619007190081900919010190111901219013190141901519016190171901819019190201902119022190231902419025190261902719028190291903019031190321903319034190351903619037190381903919040190411904219043190441904519046190471904819049190501905119052190531905419055190561905719058190591906019061190621906319064190651906619067190681906919070190711907219073190741907519076190771907819079190801908119082190831908419085190861908719088190891909019091190921909319094190951909619097190981909919100191011910219103191041910519106191071910819109191101911119112191131911419115191161911719118191191912019121191221912319124191251912619127191281912919130191311913219133191341913519136191371913819139191401914119142191431914419145191461914719148191491915019151191521915319154191551915619157191581915919160191611916219163191641916519166191671916819169191701917119172191731917419175191761917719178191791918019181191821918319184191851918619187191881918919190191911919219193191941919519196191971919819199192001920119202192031920419205192061920719208192091921019211192121921319214192151921619217192181921919220192211922219223192241922519226192271922819229192301923119232192331923419235192361923719238192391924019241192421924319244192451924619247192481924919250192511925219253192541925519256192571925819259192601926119262192631926419265192661926719268192691927019271192721927319274192751927619277192781927919280192811928219283192841928519286192871928819289192901929119292192931929419295192961929719298192991930019301193021930319304193051930619307193081930919310193111931219313193141931519316193171931819319193201932119322193231932419325193261932719328193291933019331193321933319334193351933619337193381933919340193411934219343193441934519346193471934819349193501935119352193531935419355193561935719358193591936019361193621936319364193651936619367193681936919370193711937219373193741937519376193771937819379193801938119382193831938419385193861938719388193891939019391193921939319394193951939619397193981939919400194011940219403194041940519406194071940819409194101941119412194131941419415194161941719418194191942019421194221942319424194251942619427194281942919430194311943219433194341943519436194371943819439194401944119442194431944419445194461944719448194491945019451194521945319454194551945619457194581945919460194611946219463194641946519466194671946819469194701947119472194731947419475194761947719478194791948019481194821948319484194851948619487194881948919490194911949219493194941949519496194971949819499195001950119502195031950419505195061950719508195091951019511195121951319514195151951619517195181951919520195211952219523195241952519526195271952819529195301953119532195331953419535195361953719538195391954019541195421954319544195451954619547195481954919550195511955219553195541955519556195571955819559195601956119562195631956419565195661956719568195691957019571195721957319574195751957619577195781957919580195811958219583195841958519586195871958819589195901959119592195931959419595195961959719598195991960019601196021960319604196051960619607196081960919610196111961219613196141961519616196171961819619196201962119622196231962419625196261962719628196291963019631196321963319634196351963619637196381963919640196411964219643196441964519646196471964819649196501965119652196531965419655196561965719658196591966019661196621966319664196651966619667196681966919670196711967219673196741967519676196771967819679196801968119682196831968419685196861968719688196891969019691196921969319694196951969619697196981969919700197011970219703197041970519706197071970819709197101971119712197131971419715197161971719718197191972019721197221972319724197251972619727197281972919730197311973219733197341973519736197371973819739197401974119742197431974419745197461974719748197491975019751197521975319754197551975619757197581975919760197611976219763197641976519766197671976819769197701977119772197731977419775197761977719778197791978019781197821978319784197851978619787197881978919790197911979219793197941979519796197971979819799198001980119802198031980419805198061980719808198091981019811198121981319814198151981619817198181981919820198211982219823198241982519826198271982819829198301983119832198331983419835198361983719838198391984019841198421984319844198451984619847198481984919850198511985219853198541985519856198571985819859198601986119862198631986419865198661986719868198691987019871198721987319874198751987619877198781987919880198811988219883198841988519886198871988819889198901989119892198931989419895198961989719898198991990019901199021990319904199051990619907199081990919910199111991219913199141991519916199171991819919199201992119922199231992419925199261992719928199291993019931199321993319934199351993619937199381993919940199411994219943199441994519946199471994819949199501995119952199531995419955199561995719958199591996019961199621996319964199651996619967199681996919970199711997219973199741997519976199771997819979199801998119982199831998419985199861998719988199891999019991199921999319994199951999619997199981999920000200012000220003200042000520006200072000820009200102001120012200132001420015200162001720018200192002020021200222002320024200252002620027200282002920030200312003220033200342003520036200372003820039200402004120042200432004420045200462004720048200492005020051200522005320054200552005620057200582005920060200612006220063200642006520066200672006820069200702007120072200732007420075200762007720078200792008020081200822008320084200852008620087200882008920090200912009220093200942009520096200972009820099201002010120102201032010420105201062010720108201092011020111201122011320114201152011620117201182011920120201212012220123201242012520126201272012820129201302013120132201332013420135201362013720138201392014020141201422014320144201452014620147201482014920150201512015220153201542015520156201572015820159201602016120162201632016420165201662016720168201692017020171201722017320174201752017620177201782017920180201812018220183201842018520186201872018820189201902019120192201932019420195201962019720198201992020020201202022020320204202052020620207202082020920210202112021220213202142021520216202172021820219202202022120222202232022420225202262022720228202292023020231202322023320234202352023620237202382023920240202412024220243202442024520246202472024820249202502025120252202532025420255202562025720258202592026020261202622026320264202652026620267202682026920270202712027220273202742027520276202772027820279202802028120282202832028420285202862028720288202892029020291202922029320294202952029620297202982029920300203012030220303203042030520306203072030820309203102031120312203132031420315203162031720318203192032020321203222032320324203252032620327203282032920330203312033220333203342033520336203372033820339203402034120342203432034420345203462034720348203492035020351203522035320354203552035620357203582035920360203612036220363203642036520366203672036820369203702037120372203732037420375203762037720378203792038020381203822038320384203852038620387203882038920390203912039220393203942039520396203972039820399204002040120402204032040420405204062040720408204092041020411204122041320414204152041620417204182041920420204212042220423204242042520426204272042820429204302043120432204332043420435204362043720438204392044020441204422044320444204452044620447204482044920450204512045220453204542045520456204572045820459204602046120462204632046420465204662046720468204692047020471204722047320474204752047620477204782047920480204812048220483204842048520486204872048820489204902049120492204932049420495204962049720498204992050020501205022050320504205052050620507205082050920510205112051220513205142051520516205172051820519205202052120522205232052420525205262052720528205292053020531205322053320534205352053620537205382053920540205412054220543205442054520546205472054820549205502055120552205532055420555205562055720558205592056020561205622056320564205652056620567205682056920570205712057220573205742057520576205772057820579205802058120582205832058420585205862058720588205892059020591205922059320594205952059620597205982059920600206012060220603206042060520606206072060820609206102061120612206132061420615206162061720618206192062020621206222062320624206252062620627206282062920630206312063220633206342063520636206372063820639206402064120642206432064420645206462064720648206492065020651206522065320654206552065620657206582065920660206612066220663206642066520666206672066820669206702067120672206732067420675206762067720678206792068020681206822068320684206852068620687206882068920690206912069220693206942069520696206972069820699207002070120702207032070420705207062070720708207092071020711207122071320714207152071620717207182071920720207212072220723207242072520726207272072820729207302073120732207332073420735207362073720738207392074020741207422074320744207452074620747207482074920750207512075220753207542075520756207572075820759207602076120762207632076420765207662076720768207692077020771207722077320774207752077620777207782077920780207812078220783207842078520786207872078820789207902079120792207932079420795207962079720798207992080020801208022080320804208052080620807208082080920810208112081220813208142081520816208172081820819208202082120822208232082420825208262082720828208292083020831208322083320834208352083620837208382083920840208412084220843208442084520846208472084820849208502085120852208532085420855208562085720858208592086020861208622086320864208652086620867208682086920870208712087220873208742087520876208772087820879208802088120882208832088420885208862088720888208892089020891208922089320894208952089620897208982089920900209012090220903209042090520906209072090820909209102091120912209132091420915209162091720918209192092020921209222092320924209252092620927209282092920930209312093220933209342093520936209372093820939209402094120942209432094420945209462094720948209492095020951209522095320954209552095620957209582095920960209612096220963209642096520966209672096820969209702097120972209732097420975209762097720978209792098020981209822098320984209852098620987209882098920990209912099220993209942099520996209972099820999210002100121002210032100421005210062100721008210092101021011210122101321014210152101621017210182101921020210212102221023210242102521026210272102821029210302103121032210332103421035210362103721038210392104021041210422104321044210452104621047210482104921050210512105221053210542105521056210572105821059210602106121062210632106421065210662106721068210692107021071210722107321074210752107621077210782107921080210812108221083210842108521086210872108821089210902109121092210932109421095210962109721098210992110021101211022110321104211052110621107211082110921110211112111221113211142111521116211172111821119211202112121122211232112421125211262112721128211292113021131211322113321134211352113621137211382113921140211412114221143211442114521146211472114821149211502115121152211532115421155211562115721158211592116021161211622116321164211652116621167211682116921170211712117221173211742117521176211772117821179211802118121182211832118421185211862118721188211892119021191211922119321194211952119621197211982119921200212012120221203212042120521206212072120821209212102121121212212132121421215212162121721218212192122021221212222122321224212252122621227212282122921230212312123221233212342123521236212372123821239212402124121242212432124421245212462124721248212492125021251212522125321254212552125621257212582125921260212612126221263212642126521266212672126821269212702127121272212732127421275212762127721278212792128021281212822128321284212852128621287212882128921290212912129221293212942129521296212972129821299213002130121302213032130421305213062130721308213092131021311213122131321314213152131621317213182131921320213212132221323213242132521326213272132821329213302133121332213332133421335213362133721338213392134021341213422134321344213452134621347213482134921350213512135221353213542135521356213572135821359213602136121362213632136421365213662136721368213692137021371213722137321374213752137621377213782137921380213812138221383213842138521386213872138821389213902139121392213932139421395213962139721398213992140021401214022140321404214052140621407214082140921410214112141221413214142141521416214172141821419214202142121422214232142421425214262142721428214292143021431214322143321434214352143621437214382143921440214412144221443214442144521446214472144821449214502145121452214532145421455214562145721458214592146021461214622146321464214652146621467214682146921470214712147221473214742147521476214772147821479214802148121482214832148421485214862148721488214892149021491214922149321494214952149621497214982149921500215012150221503215042150521506215072150821509215102151121512215132151421515215162151721518215192152021521215222152321524215252152621527215282152921530215312153221533215342153521536215372153821539215402154121542215432154421545215462154721548215492155021551215522155321554215552155621557215582155921560215612156221563215642156521566215672156821569215702157121572215732157421575215762157721578215792158021581215822158321584215852158621587215882158921590215912159221593215942159521596215972159821599216002160121602216032160421605216062160721608216092161021611216122161321614216152161621617216182161921620216212162221623216242162521626216272162821629216302163121632216332163421635216362163721638216392164021641216422164321644216452164621647216482164921650216512165221653216542165521656216572165821659216602166121662216632166421665216662166721668216692167021671216722167321674216752167621677216782167921680216812168221683216842168521686216872168821689216902169121692216932169421695216962169721698216992170021701217022170321704217052170621707217082170921710217112171221713217142171521716217172171821719217202172121722217232172421725217262172721728217292173021731217322173321734217352173621737217382173921740217412174221743217442174521746217472174821749217502175121752217532175421755217562175721758217592176021761217622176321764217652176621767217682176921770217712177221773217742177521776217772177821779217802178121782217832178421785217862178721788217892179021791217922179321794217952179621797217982179921800218012180221803218042180521806218072180821809218102181121812218132181421815218162181721818218192182021821218222182321824218252182621827218282182921830218312183221833218342183521836218372183821839218402184121842218432184421845218462184721848218492185021851218522185321854218552185621857218582185921860218612186221863218642186521866218672186821869218702187121872218732187421875218762187721878218792188021881218822188321884218852188621887218882188921890218912189221893218942189521896218972189821899219002190121902219032190421905219062190721908219092191021911219122191321914219152191621917219182191921920219212192221923219242192521926219272192821929219302193121932219332193421935219362193721938219392194021941219422194321944219452194621947219482194921950219512195221953219542195521956219572195821959219602196121962219632196421965219662196721968219692197021971219722197321974219752197621977219782197921980219812198221983219842198521986219872198821989219902199121992219932199421995219962199721998219992200022001220022200322004220052200622007220082200922010220112201222013220142201522016220172201822019220202202122022220232202422025220262202722028220292203022031220322203322034220352203622037220382203922040220412204222043220442204522046220472204822049220502205122052220532205422055220562205722058220592206022061220622206322064220652206622067220682206922070220712207222073220742207522076220772207822079220802208122082220832208422085220862208722088220892209022091220922209322094220952209622097220982209922100221012210222103221042210522106221072210822109221102211122112221132211422115221162211722118221192212022121221222212322124221252212622127221282212922130221312213222133221342213522136221372213822139221402214122142221432214422145221462214722148221492215022151221522215322154221552215622157221582215922160221612216222163221642216522166221672216822169221702217122172221732217422175221762217722178221792218022181221822218322184221852218622187221882218922190221912219222193221942219522196221972219822199222002220122202222032220422205222062220722208222092221022211222122221322214222152221622217222182221922220222212222222223222242222522226222272222822229222302223122232222332223422235222362223722238222392224022241222422224322244222452224622247222482224922250222512225222253222542225522256222572225822259222602226122262222632226422265222662226722268222692227022271222722227322274222752227622277222782227922280222812228222283222842228522286222872228822289222902229122292222932229422295222962229722298222992230022301223022230322304223052230622307223082230922310223112231222313223142231522316223172231822319223202232122322223232232422325223262232722328223292233022331223322233322334223352233622337223382233922340223412234222343223442234522346223472234822349223502235122352223532235422355223562235722358223592236022361223622236322364223652236622367223682236922370223712237222373223742237522376223772237822379223802238122382223832238422385223862238722388223892239022391223922239322394223952239622397223982239922400224012240222403224042240522406224072240822409224102241122412224132241422415224162241722418224192242022421224222242322424224252242622427224282242922430224312243222433224342243522436224372243822439224402244122442224432244422445224462244722448224492245022451224522245322454224552245622457224582245922460224612246222463224642246522466224672246822469224702247122472224732247422475224762247722478224792248022481224822248322484224852248622487224882248922490224912249222493224942249522496224972249822499225002250122502225032250422505225062250722508225092251022511225122251322514225152251622517225182251922520225212252222523225242252522526225272252822529225302253122532225332253422535225362253722538225392254022541225422254322544225452254622547225482254922550225512255222553225542255522556225572255822559225602256122562225632256422565225662256722568225692257022571225722257322574225752257622577225782257922580225812258222583225842258522586225872258822589225902259122592225932259422595225962259722598225992260022601226022260322604226052260622607226082260922610226112261222613226142261522616226172261822619226202262122622226232262422625226262262722628226292263022631226322263322634226352263622637226382263922640226412264222643226442264522646226472264822649226502265122652226532265422655226562265722658226592266022661226622266322664226652266622667226682266922670226712267222673226742267522676226772267822679226802268122682226832268422685226862268722688226892269022691226922269322694226952269622697226982269922700227012270222703227042270522706227072270822709227102271122712227132271422715227162271722718227192272022721227222272322724227252272622727227282272922730227312273222733227342273522736227372273822739227402274122742227432274422745227462274722748227492275022751227522275322754227552275622757227582275922760227612276222763227642276522766227672276822769227702277122772227732277422775227762277722778227792278022781227822278322784227852278622787227882278922790227912279222793227942279522796227972279822799228002280122802228032280422805228062280722808228092281022811228122281322814228152281622817228182281922820228212282222823228242282522826228272282822829228302283122832228332283422835228362283722838228392284022841228422284322844228452284622847228482284922850228512285222853228542285522856228572285822859228602286122862228632286422865228662286722868228692287022871228722287322874228752287622877228782287922880228812288222883228842288522886228872288822889228902289122892228932289422895228962289722898228992290022901229022290322904229052290622907229082290922910229112291222913229142291522916229172291822919229202292122922229232292422925229262292722928229292293022931229322293322934229352293622937229382293922940229412294222943229442294522946229472294822949229502295122952229532295422955229562295722958229592296022961229622296322964229652296622967229682296922970229712297222973229742297522976229772297822979229802298122982229832298422985229862298722988229892299022991229922299322994229952299622997229982299923000230012300223003230042300523006230072300823009230102301123012230132301423015230162301723018230192302023021230222302323024230252302623027230282302923030230312303223033230342303523036230372303823039230402304123042230432304423045230462304723048230492305023051230522305323054230552305623057230582305923060230612306223063230642306523066230672306823069230702307123072230732307423075230762307723078230792308023081230822308323084230852308623087230882308923090230912309223093230942309523096230972309823099231002310123102231032310423105231062310723108231092311023111231122311323114231152311623117231182311923120231212312223123231242312523126231272312823129231302313123132231332313423135231362313723138231392314023141231422314323144231452314623147231482314923150231512315223153231542315523156231572315823159231602316123162231632316423165231662316723168231692317023171231722317323174231752317623177231782317923180231812318223183231842318523186231872318823189231902319123192231932319423195231962319723198231992320023201232022320323204232052320623207232082320923210232112321223213232142321523216232172321823219232202322123222232232322423225232262322723228232292323023231232322323323234232352323623237232382323923240232412324223243232442324523246232472324823249232502325123252232532325423255232562325723258232592326023261232622326323264232652326623267232682326923270232712327223273232742327523276232772327823279232802328123282232832328423285232862328723288232892329023291232922329323294232952329623297232982329923300233012330223303233042330523306233072330823309233102331123312233132331423315233162331723318233192332023321233222332323324233252332623327233282332923330233312333223333233342333523336233372333823339233402334123342233432334423345233462334723348233492335023351233522335323354233552335623357233582335923360233612336223363233642336523366233672336823369233702337123372233732337423375233762337723378233792338023381233822338323384233852338623387233882338923390233912339223393233942339523396233972339823399234002340123402234032340423405234062340723408234092341023411234122341323414234152341623417234182341923420234212342223423234242342523426234272342823429234302343123432234332343423435234362343723438234392344023441234422344323444234452344623447234482344923450234512345223453234542345523456234572345823459234602346123462234632346423465234662346723468234692347023471234722347323474234752347623477234782347923480234812348223483234842348523486234872348823489234902349123492234932349423495234962349723498234992350023501235022350323504235052350623507235082350923510235112351223513235142351523516235172351823519235202352123522235232352423525235262352723528235292353023531235322353323534235352353623537235382353923540235412354223543235442354523546235472354823549235502355123552235532355423555235562355723558235592356023561235622356323564235652356623567235682356923570235712357223573235742357523576235772357823579235802358123582235832358423585235862358723588235892359023591235922359323594235952359623597235982359923600236012360223603236042360523606236072360823609236102361123612236132361423615236162361723618236192362023621236222362323624236252362623627236282362923630236312363223633236342363523636236372363823639236402364123642236432364423645236462364723648236492365023651236522365323654236552365623657236582365923660236612366223663236642366523666236672366823669236702367123672236732367423675236762367723678236792368023681236822368323684236852368623687236882368923690236912369223693236942369523696236972369823699237002370123702237032370423705237062370723708237092371023711237122371323714237152371623717237182371923720237212372223723237242372523726237272372823729237302373123732237332373423735237362373723738237392374023741237422374323744237452374623747237482374923750237512375223753237542375523756237572375823759237602376123762237632376423765237662376723768237692377023771237722377323774237752377623777237782377923780237812378223783237842378523786237872378823789237902379123792237932379423795237962379723798237992380023801238022380323804238052380623807238082380923810238112381223813238142381523816238172381823819238202382123822238232382423825238262382723828238292383023831238322383323834238352383623837238382383923840238412384223843238442384523846238472384823849238502385123852238532385423855238562385723858238592386023861238622386323864238652386623867238682386923870238712387223873238742387523876238772387823879238802388123882238832388423885238862388723888238892389023891238922389323894238952389623897238982389923900239012390223903239042390523906239072390823909239102391123912239132391423915239162391723918239192392023921239222392323924239252392623927239282392923930239312393223933239342393523936239372393823939239402394123942239432394423945239462394723948239492395023951239522395323954239552395623957239582395923960239612396223963239642396523966239672396823969239702397123972239732397423975239762397723978239792398023981239822398323984239852398623987239882398923990239912399223993239942399523996239972399823999240002400124002240032400424005240062400724008240092401024011240122401324014240152401624017240182401924020240212402224023240242402524026240272402824029240302403124032240332403424035240362403724038240392404024041240422404324044240452404624047240482404924050240512405224053240542405524056240572405824059240602406124062240632406424065240662406724068240692407024071240722407324074240752407624077240782407924080240812408224083240842408524086240872408824089240902409124092240932409424095240962409724098240992410024101241022410324104241052410624107241082410924110241112411224113241142411524116241172411824119241202412124122241232412424125241262412724128241292413024131241322413324134241352413624137241382413924140241412414224143241442414524146241472414824149241502415124152241532415424155241562415724158241592416024161241622416324164241652416624167241682416924170241712417224173241742417524176241772417824179241802418124182241832418424185241862418724188241892419024191241922419324194241952419624197241982419924200242012420224203242042420524206242072420824209242102421124212242132421424215242162421724218242192422024221242222422324224242252422624227242282422924230242312423224233242342423524236242372423824239242402424124242242432424424245242462424724248242492425024251242522425324254242552425624257242582425924260242612426224263242642426524266242672426824269242702427124272242732427424275242762427724278242792428024281242822428324284242852428624287242882428924290242912429224293242942429524296242972429824299243002430124302243032430424305243062430724308243092431024311243122431324314243152431624317243182431924320243212432224323243242432524326243272432824329243302433124332243332433424335243362433724338243392434024341243422434324344243452434624347243482434924350243512435224353243542435524356243572435824359243602436124362243632436424365243662436724368243692437024371243722437324374243752437624377243782437924380243812438224383243842438524386243872438824389243902439124392243932439424395243962439724398243992440024401244022440324404244052440624407244082440924410244112441224413244142441524416244172441824419244202442124422244232442424425244262442724428244292443024431244322443324434244352443624437244382443924440244412444224443244442444524446244472444824449244502445124452244532445424455244562445724458244592446024461244622446324464244652446624467244682446924470244712447224473244742447524476244772447824479244802448124482244832448424485244862448724488244892449024491244922449324494244952449624497244982449924500245012450224503245042450524506245072450824509245102451124512245132451424515245162451724518245192452024521245222452324524245252452624527245282452924530245312453224533245342453524536245372453824539245402454124542245432454424545245462454724548245492455024551245522455324554245552455624557245582455924560245612456224563245642456524566245672456824569245702457124572245732457424575245762457724578245792458024581245822458324584245852458624587245882458924590245912459224593245942459524596245972459824599246002460124602246032460424605246062460724608246092461024611246122461324614246152461624617246182461924620246212462224623246242462524626246272462824629246302463124632246332463424635246362463724638246392464024641246422464324644246452464624647246482464924650246512465224653246542465524656246572465824659246602466124662246632466424665246662466724668246692467024671246722467324674246752467624677246782467924680246812468224683246842468524686246872468824689246902469124692246932469424695246962469724698246992470024701247022470324704247052470624707247082470924710247112471224713247142471524716247172471824719247202472124722247232472424725247262472724728247292473024731247322473324734247352473624737247382473924740247412474224743247442474524746247472474824749247502475124752247532475424755247562475724758247592476024761247622476324764247652476624767247682476924770247712477224773247742477524776247772477824779247802478124782247832478424785247862478724788247892479024791247922479324794247952479624797247982479924800248012480224803248042480524806248072480824809248102481124812248132481424815248162481724818248192482024821248222482324824248252482624827248282482924830248312483224833248342483524836248372483824839248402484124842248432484424845248462484724848248492485024851248522485324854248552485624857248582485924860248612486224863248642486524866248672486824869248702487124872248732487424875248762487724878248792488024881248822488324884248852488624887248882488924890248912489224893248942489524896248972489824899249002490124902249032490424905249062490724908249092491024911249122491324914249152491624917249182491924920249212492224923249242492524926249272492824929249302493124932249332493424935249362493724938249392494024941249422494324944249452494624947249482494924950249512495224953249542495524956249572495824959249602496124962249632496424965249662496724968249692497024971249722497324974249752497624977249782497924980249812498224983249842498524986249872498824989249902499124992249932499424995249962499724998249992500025001250022500325004250052500625007250082500925010250112501225013250142501525016250172501825019250202502125022250232502425025250262502725028250292503025031250322503325034250352503625037250382503925040250412504225043250442504525046250472504825049250502505125052250532505425055250562505725058250592506025061250622506325064250652506625067250682506925070250712507225073250742507525076250772507825079250802508125082250832508425085250862508725088250892509025091250922509325094250952509625097250982509925100251012510225103251042510525106251072510825109251102511125112251132511425115251162511725118251192512025121251222512325124251252512625127251282512925130251312513225133251342513525136251372513825139251402514125142251432514425145251462514725148251492515025151251522515325154251552515625157251582515925160251612516225163251642516525166251672516825169251702517125172251732517425175251762517725178251792518025181251822518325184251852518625187251882518925190251912519225193251942519525196251972519825199252002520125202252032520425205252062520725208252092521025211252122521325214252152521625217252182521925220252212522225223252242522525226252272522825229252302523125232252332523425235252362523725238252392524025241252422524325244252452524625247252482524925250252512525225253252542525525256252572525825259252602526125262252632526425265252662526725268252692527025271252722527325274252752527625277252782527925280252812528225283252842528525286252872528825289252902529125292252932529425295252962529725298252992530025301253022530325304253052530625307253082530925310253112531225313253142531525316253172531825319253202532125322253232532425325253262532725328253292533025331253322533325334253352533625337253382533925340253412534225343253442534525346253472534825349253502535125352253532535425355253562535725358253592536025361253622536325364253652536625367253682536925370253712537225373253742537525376253772537825379253802538125382253832538425385253862538725388253892539025391253922539325394253952539625397253982539925400254012540225403254042540525406254072540825409254102541125412254132541425415254162541725418254192542025421254222542325424254252542625427254282542925430254312543225433254342543525436254372543825439254402544125442254432544425445254462544725448254492545025451254522545325454254552545625457254582545925460254612546225463254642546525466254672546825469254702547125472254732547425475254762547725478254792548025481254822548325484254852548625487254882548925490254912549225493254942549525496254972549825499255002550125502255032550425505255062550725508255092551025511255122551325514255152551625517255182551925520255212552225523255242552525526255272552825529255302553125532255332553425535255362553725538255392554025541255422554325544255452554625547255482554925550255512555225553255542555525556255572555825559255602556125562255632556425565255662556725568255692557025571255722557325574255752557625577255782557925580255812558225583255842558525586255872558825589255902559125592255932559425595255962559725598255992560025601256022560325604256052560625607256082560925610256112561225613256142561525616256172561825619256202562125622256232562425625256262562725628256292563025631256322563325634256352563625637256382563925640256412564225643256442564525646256472564825649256502565125652256532565425655256562565725658256592566025661256622566325664256652566625667256682566925670256712567225673256742567525676256772567825679256802568125682256832568425685256862568725688256892569025691256922569325694256952569625697256982569925700257012570225703257042570525706257072570825709257102571125712257132571425715257162571725718257192572025721257222572325724257252572625727257282572925730257312573225733257342573525736257372573825739257402574125742257432574425745257462574725748257492575025751257522575325754257552575625757257582575925760257612576225763257642576525766257672576825769257702577125772257732577425775257762577725778257792578025781257822578325784257852578625787257882578925790257912579225793257942579525796257972579825799258002580125802258032580425805258062580725808258092581025811258122581325814258152581625817258182581925820258212582225823258242582525826258272582825829258302583125832258332583425835258362583725838258392584025841258422584325844258452584625847258482584925850258512585225853258542585525856258572585825859258602586125862258632586425865258662586725868258692587025871258722587325874258752587625877258782587925880258812588225883258842588525886258872588825889258902589125892258932589425895258962589725898258992590025901259022590325904259052590625907259082590925910259112591225913259142591525916259172591825919259202592125922259232592425925259262592725928259292593025931259322593325934259352593625937259382593925940259412594225943259442594525946259472594825949259502595125952259532595425955259562595725958259592596025961259622596325964259652596625967259682596925970259712597225973259742597525976259772597825979259802598125982259832598425985259862598725988259892599025991259922599325994259952599625997259982599926000260012600226003260042600526006260072600826009260102601126012260132601426015260162601726018260192602026021260222602326024260252602626027260282602926030260312603226033260342603526036260372603826039260402604126042260432604426045260462604726048260492605026051260522605326054260552605626057260582605926060260612606226063260642606526066260672606826069260702607126072260732607426075260762607726078260792608026081260822608326084260852608626087260882608926090260912609226093260942609526096260972609826099261002610126102261032610426105261062610726108261092611026111261122611326114261152611626117261182611926120261212612226123261242612526126261272612826129261302613126132261332613426135261362613726138261392614026141261422614326144261452614626147261482614926150261512615226153261542615526156261572615826159261602616126162261632616426165261662616726168261692617026171261722617326174261752617626177261782617926180261812618226183261842618526186261872618826189261902619126192261932619426195261962619726198261992620026201262022620326204262052620626207262082620926210262112621226213262142621526216262172621826219262202622126222262232622426225262262622726228262292623026231262322623326234262352623626237262382623926240262412624226243262442624526246262472624826249262502625126252262532625426255262562625726258262592626026261262622626326264262652626626267262682626926270262712627226273262742627526276262772627826279262802628126282262832628426285262862628726288262892629026291262922629326294262952629626297262982629926300263012630226303263042630526306263072630826309263102631126312263132631426315263162631726318263192632026321263222632326324263252632626327263282632926330263312633226333263342633526336263372633826339263402634126342263432634426345263462634726348263492635026351263522635326354263552635626357263582635926360263612636226363263642636526366263672636826369263702637126372263732637426375263762637726378263792638026381263822638326384263852638626387263882638926390263912639226393263942639526396263972639826399264002640126402264032640426405264062640726408264092641026411264122641326414264152641626417264182641926420264212642226423264242642526426264272642826429264302643126432264332643426435264362643726438264392644026441264422644326444264452644626447264482644926450264512645226453264542645526456264572645826459264602646126462264632646426465264662646726468264692647026471264722647326474264752647626477264782647926480264812648226483264842648526486264872648826489264902649126492264932649426495264962649726498264992650026501265022650326504265052650626507265082650926510265112651226513265142651526516265172651826519265202652126522265232652426525265262652726528265292653026531265322653326534265352653626537265382653926540265412654226543265442654526546265472654826549265502655126552265532655426555265562655726558265592656026561265622656326564265652656626567265682656926570265712657226573265742657526576265772657826579265802658126582265832658426585265862658726588265892659026591265922659326594265952659626597265982659926600266012660226603266042660526606266072660826609266102661126612266132661426615266162661726618266192662026621266222662326624266252662626627266282662926630266312663226633266342663526636266372663826639266402664126642266432664426645266462664726648266492665026651266522665326654266552665626657266582665926660266612666226663266642666526666266672666826669266702667126672266732667426675266762667726678266792668026681266822668326684266852668626687266882668926690266912669226693266942669526696266972669826699267002670126702267032670426705267062670726708267092671026711267122671326714267152671626717267182671926720267212672226723267242672526726267272672826729267302673126732267332673426735267362673726738267392674026741267422674326744267452674626747267482674926750267512675226753267542675526756267572675826759267602676126762267632676426765267662676726768267692677026771267722677326774267752677626777267782677926780267812678226783267842678526786267872678826789267902679126792267932679426795267962679726798267992680026801268022680326804268052680626807268082680926810268112681226813268142681526816268172681826819268202682126822268232682426825268262682726828268292683026831268322683326834268352683626837268382683926840268412684226843268442684526846268472684826849268502685126852268532685426855268562685726858268592686026861268622686326864268652686626867268682686926870268712687226873268742687526876268772687826879268802688126882268832688426885268862688726888268892689026891268922689326894268952689626897268982689926900269012690226903269042690526906269072690826909269102691126912269132691426915269162691726918269192692026921269222692326924269252692626927269282692926930269312693226933269342693526936269372693826939269402694126942269432694426945269462694726948269492695026951269522695326954269552695626957269582695926960269612696226963269642696526966269672696826969269702697126972269732697426975269762697726978269792698026981269822698326984269852698626987269882698926990269912699226993269942699526996269972699826999270002700127002270032700427005270062700727008270092701027011270122701327014270152701627017270182701927020270212702227023270242702527026270272702827029270302703127032270332703427035270362703727038270392704027041270422704327044270452704627047270482704927050270512705227053270542705527056270572705827059270602706127062270632706427065270662706727068270692707027071270722707327074270752707627077270782707927080270812708227083270842708527086270872708827089270902709127092270932709427095270962709727098270992710027101271022710327104271052710627107271082710927110271112711227113271142711527116271172711827119271202712127122271232712427125271262712727128271292713027131271322713327134271352713627137271382713927140271412714227143271442714527146271472714827149271502715127152271532715427155271562715727158271592716027161271622716327164271652716627167271682716927170271712717227173271742717527176271772717827179271802718127182271832718427185271862718727188271892719027191271922719327194271952719627197271982719927200272012720227203272042720527206272072720827209272102721127212272132721427215272162721727218272192722027221272222722327224272252722627227272282722927230272312723227233272342723527236272372723827239272402724127242272432724427245272462724727248272492725027251272522725327254272552725627257272582725927260272612726227263272642726527266272672726827269272702727127272272732727427275272762727727278272792728027281272822728327284272852728627287272882728927290272912729227293272942729527296272972729827299273002730127302273032730427305273062730727308273092731027311273122731327314273152731627317273182731927320273212732227323273242732527326273272732827329273302733127332273332733427335273362733727338273392734027341273422734327344273452734627347273482734927350273512735227353273542735527356273572735827359273602736127362273632736427365273662736727368273692737027371273722737327374273752737627377273782737927380273812738227383273842738527386273872738827389273902739127392273932739427395273962739727398273992740027401274022740327404274052740627407274082740927410274112741227413274142741527416274172741827419274202742127422274232742427425274262742727428274292743027431274322743327434274352743627437274382743927440274412744227443274442744527446274472744827449274502745127452274532745427455274562745727458274592746027461274622746327464274652746627467274682746927470274712747227473274742747527476274772747827479274802748127482274832748427485274862748727488274892749027491274922749327494274952749627497274982749927500275012750227503275042750527506275072750827509275102751127512275132751427515275162751727518275192752027521275222752327524275252752627527275282752927530275312753227533275342753527536275372753827539275402754127542275432754427545275462754727548275492755027551275522755327554275552755627557275582755927560275612756227563275642756527566275672756827569275702757127572275732757427575275762757727578275792758027581275822758327584275852758627587275882758927590275912759227593275942759527596275972759827599276002760127602276032760427605276062760727608276092761027611276122761327614276152761627617276182761927620276212762227623276242762527626276272762827629276302763127632276332763427635276362763727638276392764027641276422764327644276452764627647276482764927650276512765227653276542765527656276572765827659276602766127662276632766427665276662766727668276692767027671276722767327674276752767627677276782767927680276812768227683276842768527686276872768827689276902769127692276932769427695276962769727698276992770027701277022770327704277052770627707277082770927710277112771227713277142771527716277172771827719277202772127722277232772427725277262772727728277292773027731277322773327734277352773627737277382773927740277412774227743277442774527746277472774827749277502775127752277532775427755277562775727758277592776027761277622776327764277652776627767277682776927770277712777227773277742777527776277772777827779277802778127782277832778427785277862778727788277892779027791277922779327794277952779627797277982779927800278012780227803278042780527806278072780827809278102781127812278132781427815278162781727818278192782027821278222782327824278252782627827278282782927830278312783227833278342783527836278372783827839278402784127842278432784427845278462784727848278492785027851278522785327854278552785627857278582785927860278612786227863278642786527866278672786827869278702787127872278732787427875278762787727878278792788027881278822788327884278852788627887278882788927890278912789227893278942789527896278972789827899279002790127902279032790427905279062790727908279092791027911279122791327914279152791627917279182791927920279212792227923279242792527926279272792827929279302793127932279332793427935279362793727938279392794027941279422794327944279452794627947279482794927950279512795227953279542795527956279572795827959279602796127962279632796427965279662796727968279692797027971279722797327974279752797627977279782797927980279812798227983279842798527986279872798827989279902799127992279932799427995279962799727998279992800028001280022800328004280052800628007
  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.MyBuyOrder:
  10561. properties:
  10562. accountid:
  10563. description: 资金账户ID
  10564. type: integer
  10565. marketid:
  10566. description: 市场ID
  10567. type: integer
  10568. origin:
  10569. description: 原产地
  10570. type: string
  10571. remark:
  10572. description: 备注
  10573. type: string
  10574. userid:
  10575. description: 用户ID
  10576. type: integer
  10577. warehouseids:
  10578. description: 仓库ID - 多个, 逗号分隔
  10579. type: string
  10580. warehouseinfosdisplay:
  10581. type: string
  10582. wrtradeorderid:
  10583. description: '[委托单号]买委托单ID(320+Unix秒时间戳(10位)+xxxxxx)'
  10584. type: integer
  10585. zscategory:
  10586. description: 钻石分类 - 枚举”ZSCategory“
  10587. type: integer
  10588. zscategorydisplay:
  10589. type: string
  10590. zsclaritytype:
  10591. description: 净度 - 两个, 逗号分隔
  10592. type: string
  10593. zsclaritytypedisplay:
  10594. type: string
  10595. zscolortype:
  10596. description: 颜色 - 两个, 逗号分隔
  10597. type: string
  10598. zscolortypedisplay:
  10599. type: string
  10600. zscrystaltype:
  10601. description: 晶型 - 多个,逗号分隔
  10602. type: string
  10603. zscrystaltypedisplay:
  10604. type: string
  10605. zscurrencytype:
  10606. description: 货币类型 - 多个, 逗号分隔
  10607. type: string
  10608. zscurrencytypedisplay:
  10609. type: string
  10610. zscuttype:
  10611. description: 切工 - 两个, 逗号分隔
  10612. type: string
  10613. zscuttypedisplay:
  10614. type: string
  10615. zsczcolor1type:
  10616. description: 彩钻颜色1, 逗号分隔
  10617. type: string
  10618. zsczcolor1typedisplay:
  10619. type: string
  10620. zsczcolor2type:
  10621. description: 彩钻颜色2, 逗号分隔
  10622. type: string
  10623. zsczcolor2typedisplay:
  10624. type: string
  10625. zsczcolor3type:
  10626. description: 彩钻颜色3, 逗号分隔
  10627. type: string
  10628. zsczcolor3typedisplay:
  10629. type: string
  10630. zsfluorescencetype:
  10631. description: 荧光 - 多个, 逗号分隔
  10632. type: string
  10633. zsfluorescencetypedisplay:
  10634. type: string
  10635. zspolishtype:
  10636. description: 抛光度 - 两个, 逗号分隔
  10637. type: string
  10638. zspolishtypedisplay:
  10639. type: string
  10640. zsshapetype:
  10641. description: 形状 - 多个, 逗号分隔
  10642. type: string
  10643. zsshapetypedisplay:
  10644. type: string
  10645. zssize:
  10646. description: 尺寸 - 两个小数, 逗号分隔
  10647. type: string
  10648. zsstyletype:
  10649. description: 款式 - 多个, 逗号分隔
  10650. type: string
  10651. zsstyletypedisplay:
  10652. type: string
  10653. zssymmetrytype:
  10654. description: 对称度 - 两个, 逗号分隔
  10655. type: string
  10656. zssymmetrytypedisplay:
  10657. type: string
  10658. zstabledisplay:
  10659. description: 求购信息
  10660. type: string
  10661. required:
  10662. - userid
  10663. type: object
  10664. models.MySellOrder:
  10665. properties:
  10666. accountid:
  10667. description: 资金账号
  10668. type: integer
  10669. applyid:
  10670. description: 申请单ID
  10671. type: integer
  10672. attachment1:
  10673. description: 附件1
  10674. type: string
  10675. attachment2:
  10676. description: 附件2
  10677. type: string
  10678. buyorsell:
  10679. description: 买卖 - 0:买 1:卖
  10680. type: integer
  10681. canbargain:
  10682. description: 是否可议价 - 0:不可 1:可
  10683. type: integer
  10684. cancelqty:
  10685. description: 撤销数量
  10686. type: integer
  10687. canceltime:
  10688. description: 撤销时间
  10689. type: string
  10690. chargealgorithm:
  10691. description: 手续费收取方式 1:比率 2:固定
  10692. type: integer
  10693. chargealgorithmvalue:
  10694. description: 手续费设置值(交易所部分)
  10695. type: number
  10696. chargealgorithmvalue2:
  10697. description: 手续费设置值(会员部分)
  10698. type: number
  10699. clientordertime:
  10700. description: 客户端委托时间
  10701. type: string
  10702. exchangerate:
  10703. description: 汇率[67]
  10704. type: number
  10705. firstratio:
  10706. description: 首付比率 - [挂牌时指定,摘牌时使用]
  10707. type: number
  10708. fixedprice:
  10709. description: 固定价格 - [挂牌]
  10710. type: number
  10711. freezecharge:
  10712. description: 冻结手续费
  10713. type: number
  10714. freezefirstamount:
  10715. description: 冻结首付金额 - [摘牌]
  10716. type: number
  10717. freezemargin:
  10718. description: 冻结保证金
  10719. type: number
  10720. goodsno:
  10721. description: 商品编号
  10722. type: string
  10723. isspecified:
  10724. description: 是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  10725. type: integer
  10726. marginalgorithm:
  10727. description: 保证金方式 - 1:比率 2:固定
  10728. type: integer
  10729. marginvalue:
  10730. description: 保证金设置值
  10731. type: number
  10732. marketid:
  10733. description: 市场ID
  10734. type: integer
  10735. orderamount:
  10736. description: 挂牌金额[账户] [67]= OrderQty * FixedPrice * ExchangeRate /100
  10737. type: number
  10738. orderqty:
  10739. description: 委托数量
  10740. type: integer
  10741. ordertime:
  10742. description: 委托时间
  10743. type: string
  10744. performancetemplateid:
  10745. description: 履约计划模板ID
  10746. type: integer
  10747. pricefactor:
  10748. description: 价格系数(浮动价时填写) - [挂牌]
  10749. type: number
  10750. pricemove:
  10751. description: 升贴水(浮动价时填写) - [挂牌]
  10752. type: number
  10753. relatedwrtradeorderid:
  10754. description: 关联委托单号(摘牌委托关联挂牌委托单ID)
  10755. type: integer
  10756. retcode:
  10757. description: 错误代码
  10758. type: integer
  10759. tradedate:
  10760. description: 交易日(yyyyMMdd)
  10761. type: string
  10762. tradeprice:
  10763. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)*
  10764. 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  10765. type: number
  10766. tradeqty:
  10767. description: 成交数量
  10768. type: integer
  10769. unfreezecharge:
  10770. description: 解冻手续费
  10771. type: number
  10772. unfreezefirstamount:
  10773. description: 解冻首付金额 - [摘牌]
  10774. type: number
  10775. unfreezemargin:
  10776. description: 解冻保证金
  10777. type: number
  10778. userid:
  10779. description: 用户ID
  10780. type: integer
  10781. uuid:
  10782. description: 发起端唯一id
  10783. type: string
  10784. validtime:
  10785. description: 有效期限
  10786. type: string
  10787. validtype:
  10788. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  10789. type: integer
  10790. wrbargainid:
  10791. description: 议价申请单ID
  10792. type: integer
  10793. wrfactortypeid:
  10794. description: 仓单要素类型ID/商品ID(77)
  10795. type: integer
  10796. wrpricetype:
  10797. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  10798. type: integer
  10799. wrstandardid:
  10800. description: 现货商品ID
  10801. type: integer
  10802. wrtradeorderid:
  10803. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  10804. type: integer
  10805. wrtradeorderstatus:
  10806. 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:撤单解冻贷款失败
  10807. type: integer
  10808. wrtradetype:
  10809. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  10810. type: integer
  10811. wrtransferuserid:
  10812. description: 仓单受让用户 - [摘牌]
  10813. type: integer
  10814. zscategory:
  10815. description: 钻石分类 - 枚举”ZSCategory“
  10816. type: integer
  10817. zscurrencytype:
  10818. description: 货币类型 - 枚举“ZSCurrencyType”
  10819. type: integer
  10820. required:
  10821. - userid
  10822. type: object
  10823. models.MyWRPosition:
  10824. properties:
  10825. cerno:
  10826. description: 证书编号 - 类型:2,4,5
  10827. type: string
  10828. cpcertno:
  10829. description: 金伯利证书编号 - 类型:3
  10830. type: string
  10831. ffreezeqty:
  10832. description: 冻结数量:WRPosition表:FREEZEQTY/100 , 保留两位小数
  10833. type: number
  10834. ftotalqty:
  10835. description: 库存数量:WRPosition表:TOTALQTY /100 , 保留两位小数
  10836. type: number
  10837. goodsno:
  10838. description: 商品编号
  10839. type: string
  10840. imagepath:
  10841. description: 商品照片(相对地址)
  10842. type: string
  10843. isvalid:
  10844. description: 是否有效 - 0:无效 1:有效
  10845. type: integer
  10846. kppath:
  10847. description: 金伯利证书图片(相对地址) - 类型:3
  10848. type: string
  10849. kpweight:
  10850. description: 金伯利证书重量 - 类型:3
  10851. type: string
  10852. marketprice:
  10853. description: 市场价
  10854. type: string
  10855. origin:
  10856. description: 原产地 - 类型:3
  10857. type: string
  10858. price:
  10859. description: 总价(价格) - 类型:1,2,3,4,5
  10860. type: number
  10861. priceper:
  10862. description: 克拉单价 - 类型:1,2,3,5
  10863. type: string
  10864. remark:
  10865. description: 备注
  10866. type: string
  10867. sellmobile:
  10868. description: 手机号码(加密存储)
  10869. type: string
  10870. sellusername:
  10871. description: 账户名称(机构名称)
  10872. type: string
  10873. settingmaterial:
  10874. description: 镶嵌材料 - 类型:4
  10875. type: string
  10876. size1:
  10877. description: 尺寸1 - 类型:2,4,5
  10878. type: string
  10879. size2:
  10880. description: 尺寸2 - 类型:2,4,5
  10881. type: string
  10882. size3:
  10883. description: 尺寸3 - 类型:2,4,5
  10884. type: string
  10885. stonedesc:
  10886. description: 配石描述 - 类型:4
  10887. type: string
  10888. userid:
  10889. description: 用户ID
  10890. type: integer
  10891. warehouseid:
  10892. description: 仓库ID
  10893. type: integer
  10894. warehousenamedisplay:
  10895. type: string
  10896. weight:
  10897. description: 总重量(克拉重量) - 类型:1,2,3,4,5
  10898. type: number
  10899. weightavg:
  10900. description: 平均单颗重量 - 类型:1,3
  10901. type: number
  10902. wrpath:
  10903. description: 仓单扫描件(相对地址)
  10904. type: string
  10905. wrstandardid:
  10906. description: 现货商品ID
  10907. type: integer
  10908. wruserid:
  10909. description: 登录用户ID
  10910. type: integer
  10911. zscategory:
  10912. description: 钻石分类 - 枚举”ZSCategory“
  10913. type: integer
  10914. zscategorydisplay:
  10915. type: string
  10916. zscerttype:
  10917. description: 证书类型 - 枚举”ZSCertType“ - 类型:2,4,5
  10918. type: integer
  10919. zscerttypedisplay:
  10920. type: string
  10921. zsclaritytype1:
  10922. description: 净度1 - 枚举”ZSClarityType“ - 类型:1,2,3,4,5
  10923. type: integer
  10924. zsclaritytype1display:
  10925. type: string
  10926. zsclaritytype2:
  10927. description: 净度2 - 枚举”ZSClarityType“ - 类型:1,3
  10928. type: integer
  10929. zsclaritytype2display:
  10930. type: string
  10931. zscolortype1:
  10932. description: 颜色1 - 枚举”ZSColorType“ - 类型:1,2,3,4
  10933. type: integer
  10934. zscolortype1display:
  10935. type: string
  10936. zscolortype2:
  10937. description: 颜色2 - 枚举”ZSColorType“ - 类型:1,3
  10938. type: integer
  10939. zscolortype2display:
  10940. type: string
  10941. zscrystaltype:
  10942. description: 晶型范围 - 枚举“ZSCrystalType“ - 类型:3, 多个,逗号分隔
  10943. type: string
  10944. zscrystaltypedisplay:
  10945. type: string
  10946. zscurrencytype:
  10947. description: 货币类型 - 枚举“ZSCurrencyType”
  10948. type: integer
  10949. zscurrencytypedisplay:
  10950. type: string
  10951. zscurrencytypedisplayunit:
  10952. type: string
  10953. zscuttype1:
  10954. description: 切工1 - 枚举”ZSCutType“ - 类型:1,2,4,5
  10955. type: integer
  10956. zscuttype1display:
  10957. type: string
  10958. zscuttype2:
  10959. description: 切工2 - 枚举”ZSCutType“ - 类型:1
  10960. type: integer
  10961. zscuttype2display:
  10962. type: string
  10963. zsczcolor1type:
  10964. description: 彩钻颜色1 - 枚举”ZSCZColor1Type“ - 类型:5
  10965. type: integer
  10966. zsczcolor1typedisplay:
  10967. type: string
  10968. zsczcolor2type:
  10969. description: 彩钻颜色2 - 枚举”ZSCZColor2Type“ - 类型:5
  10970. type: integer
  10971. zsczcolor2typedisplay:
  10972. type: string
  10973. zsczcolor3type:
  10974. description: 彩钻颜色3 - 枚举”ZSCZColor3Type“ - 类型:5
  10975. type: integer
  10976. zsczcolor3typedisplay:
  10977. type: string
  10978. zsfluorescencetype1:
  10979. description: 荧光1 - 枚举”ZSFluorescenceType“ - 类型:1,2,3,4,5
  10980. type: integer
  10981. zsfluorescencetype1display:
  10982. type: string
  10983. zsfluorescencetype2:
  10984. description: 荧光2 - 枚举”ZSFluorescenceType” - 类型:1,3
  10985. type: integer
  10986. zsfluorescencetype2display:
  10987. type: string
  10988. zspolishtype1:
  10989. description: 抛光度1 - 枚举”ZSPolishType“ - 类型:1,2,4,5
  10990. type: integer
  10991. zspolishtype1display:
  10992. type: string
  10993. zspolishtype2:
  10994. description: 抛光度2 - 枚举”ZSPolishType“ - 类型:1
  10995. type: integer
  10996. zspolishtype2display:
  10997. type: string
  10998. zsshapetype:
  10999. description: 形状 - 枚举”ZSShapeType“ - 类型:1,2,4,5 ;(1为多个,逗号分隔)
  11000. type: string
  11001. zsshapetypedisplay:
  11002. type: string
  11003. zsstyletype:
  11004. description: 款式 - 类型:4
  11005. type: integer
  11006. zsstyletypedisplay:
  11007. type: string
  11008. zssymmetrytype1:
  11009. description: 对称度1 - 枚举”ZSSymmetryType“ - 类型:1,2,4,5
  11010. type: integer
  11011. zssymmetrytype1display:
  11012. type: string
  11013. zssymmetrytype2:
  11014. description: 对称度2 - 枚举”ZSSymmetryType“ - 类型:1
  11015. type: integer
  11016. zssymmetrytype2display:
  11017. type: string
  11018. required:
  11019. - wruserid
  11020. type: object
  11021. models.NewFuncmenulist:
  11022. properties:
  11023. authtype:
  11024. description: 权限类型 - 1:菜单 2:组件 3:按钮
  11025. type: integer
  11026. buttonname:
  11027. description: 按钮名称
  11028. type: string
  11029. buttontype:
  11030. description: 按钮类型 - 存按钮样式
  11031. type: string
  11032. component:
  11033. description: 组件名或组件地址
  11034. type: string
  11035. hidden:
  11036. description: 是否隐藏 - 0:显示 1:隐藏
  11037. type: integer
  11038. iconame:
  11039. description: 菜单图标
  11040. type: string
  11041. menutype:
  11042. description: 菜单类型 - 1:管理端 2:PC(C#) 3:移动(云平台) 4:终端(交易所) 5:PC(云平台)
  11043. type: integer
  11044. parentcode:
  11045. description: 上级资源代码
  11046. type: string
  11047. remark:
  11048. description: Remark
  11049. type: string
  11050. resourcecode:
  11051. description: 资源代码
  11052. type: string
  11053. resourcelevel:
  11054. description: 级别1-一级 2-二级 3-三级4-四级
  11055. type: integer
  11056. resourcename:
  11057. description: 资源名(Title)
  11058. type: string
  11059. sort:
  11060. description: 排序
  11061. type: integer
  11062. url:
  11063. description: Url
  11064. type: string
  11065. urltype:
  11066. description: 地址类型 - 1:路由 2:外链 3:内联框架
  11067. type: integer
  11068. required:
  11069. - resourcecode
  11070. type: object
  11071. models.OperationPrimaryMenu:
  11072. properties:
  11073. Children:
  11074. description: 二级功能菜单
  11075. items:
  11076. $ref: '#/definitions/models.OperationSecondaryMenu'
  11077. type: array
  11078. Key:
  11079. description: 菜单KEY
  11080. type: string
  11081. Label:
  11082. description: 菜单标题
  11083. type: string
  11084. type: object
  11085. models.OperationSecondaryMenu:
  11086. properties:
  11087. Key:
  11088. description: 菜单KEY
  11089. type: string
  11090. Label:
  11091. description: 菜单标题
  11092. type: string
  11093. TabList:
  11094. description: 三级功能菜单
  11095. items:
  11096. $ref: '#/definitions/models.OperationTabMenu'
  11097. type: array
  11098. type: object
  11099. models.OperationTabMenu:
  11100. properties:
  11101. Key:
  11102. description: 菜单KEY
  11103. type: string
  11104. Label:
  11105. description: 菜单标题
  11106. type: string
  11107. type: object
  11108. models.Patradelinkdetail:
  11109. properties:
  11110. accountname:
  11111. description: 套期主体
  11112. type: string
  11113. agreeunit:
  11114. description: 合约乘数
  11115. type: number
  11116. amount:
  11117. description: 金额 = RelatedLot * TradePrice * AgreeUnit
  11118. type: number
  11119. areauserid:
  11120. description: 所属机构
  11121. type: integer
  11122. bizsubjectid:
  11123. description: 归属业务部门ID - SubjectID
  11124. type: integer
  11125. buyorsell:
  11126. description: 方向 - 0:买 1:卖
  11127. type: integer
  11128. convertratio:
  11129. description: 品种系数
  11130. type: number
  11131. convertratiochange:
  11132. description: 套期商品变化量 = RelatedLot * AgreeUnit * ConvertRatio
  11133. type: number
  11134. createtime:
  11135. description: '[日期时间]创建时间'
  11136. type: string
  11137. creatorid:
  11138. description: 创建人ID
  11139. type: integer
  11140. creatorsrc:
  11141. description: 创建人来源 - 1:管理端 2:终端 3:交易
  11142. type: integer
  11143. goodscode:
  11144. description: 商品代码(内部)
  11145. type: string
  11146. goodsgroupid:
  11147. description: 对冲品种ID[期货合约商品组ID]
  11148. type: integer
  11149. goodsid:
  11150. description: 商品ID
  11151. type: integer
  11152. hedgeditemid:
  11153. description: 现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]
  11154. type: integer
  11155. hedgeflag:
  11156. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  11157. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目
  11158. type: integer
  11159. linkdetailid:
  11160. description: 期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)
  11161. type: string
  11162. linkstatus:
  11163. description: 关联状态 - 1:成功 2:失败 3:解绑
  11164. type: integer
  11165. middlegoodsid:
  11166. description: 套保品种ID
  11167. type: integer
  11168. name:
  11169. description: 账户名/子账户
  11170. type: string
  11171. optioncode:
  11172. description: '[期货合约]期权代码 [期权]'
  11173. type: string
  11174. ordertype:
  11175. description: 单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单
  11176. type: integer
  11177. relatedlot:
  11178. description: '[数量]关联手数'
  11179. type: number
  11180. relatedmode:
  11181. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  11182. type: integer
  11183. relatedqty:
  11184. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  11185. type: number
  11186. retcode:
  11187. description: 返回码
  11188. type: integer
  11189. saleuserid:
  11190. description: 业务员ID
  11191. type: integer
  11192. tradedate:
  11193. description: 关联交易日(yyyyMMdd)
  11194. type: string
  11195. tradeid:
  11196. description: '[成交单号]内部成交单ID'
  11197. type: string
  11198. tradelot:
  11199. description: 成交手数
  11200. type: integer
  11201. tradeprice:
  11202. description: '[价格]成交价格'
  11203. type: number
  11204. tradetradedate:
  11205. description: 成交交易日(yyyyMMdd)
  11206. type: string
  11207. type: object
  11208. models.QhjMgrAccountOutInApply:
  11209. properties:
  11210. accountcode:
  11211. description: 资金账号
  11212. type: string
  11213. accountname:
  11214. description: 用户名称(名称)
  11215. type: string
  11216. accountpwd:
  11217. description: 资金密码
  11218. type: string
  11219. accountticket:
  11220. description: 最新账户服务流水号
  11221. type: string
  11222. amount:
  11223. description: 金额
  11224. type: number
  11225. applyremark:
  11226. description: 申请备注
  11227. type: string
  11228. applystatus:
  11229. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  11230. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  11231. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  11232. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  11233. type: integer
  11234. auditid:
  11235. description: 审核人
  11236. type: integer
  11237. audittime:
  11238. description: 审核时间
  11239. type: string
  11240. bank_apply_ticket:
  11241. description: 银行申请流水
  11242. type: string
  11243. bankaccountname:
  11244. description: 银行账户名
  11245. type: string
  11246. bankaccountno:
  11247. description: 银行卡号
  11248. type: string
  11249. bankid:
  11250. description: 银行编号
  11251. type: string
  11252. bankname:
  11253. description: 银行名称
  11254. type: string
  11255. bankticket:
  11256. description: 银行流水
  11257. type: string
  11258. branchbankid:
  11259. description: 银行支行号
  11260. type: string
  11261. branchbankname:
  11262. description: 银行支行名称
  11263. type: string
  11264. capamountout:
  11265. description: 出金(劣后本金) - 外部子账户
  11266. type: number
  11267. certificatephotourl:
  11268. description: 凭证地址
  11269. type: string
  11270. charge:
  11271. description: 手续费
  11272. type: number
  11273. checkerrorflag:
  11274. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  11275. type: integer
  11276. currency:
  11277. description: 币种
  11278. type: string
  11279. cusbankid:
  11280. description: 托管银行编号
  11281. type: string
  11282. exchticket:
  11283. description: 银行服务流水号
  11284. type: string
  11285. executetype:
  11286. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  11287. 7:外部子账户:入金 8:外部子账户:出金'
  11288. type: integer
  11289. extendinfo:
  11290. description: 扩展信息
  11291. type: string
  11292. extoperateid:
  11293. description: 交易服务流水号
  11294. type: integer
  11295. infamount:
  11296. description: 劣后金额(自有)
  11297. type: number
  11298. logincode:
  11299. description: 登录账号(账号)
  11300. type: string
  11301. netaddr:
  11302. description: 调转网址
  11303. type: string
  11304. priamount:
  11305. description: 优先金额(授信)
  11306. type: number
  11307. reauditid:
  11308. description: 复审人
  11309. type: integer
  11310. reauditremark:
  11311. description: 复审备注
  11312. type: string
  11313. reaudittime:
  11314. description: 复审时间
  11315. type: string
  11316. relatedorderid:
  11317. description: 三方关联ID
  11318. type: string
  11319. remark:
  11320. description: 备注
  11321. type: string
  11322. remark2:
  11323. description: 备注(失败原因)
  11324. type: string
  11325. soucreamount:
  11326. description: 原始出入金金额
  11327. type: number
  11328. soucrecurrencyid:
  11329. description: 原始出入金币种
  11330. type: integer
  11331. tradedate:
  11332. description: 交易日(yyyyMMdd)
  11333. type: string
  11334. updatetime:
  11335. description: 更新时间(申请时间)
  11336. type: string
  11337. userid:
  11338. description: 用户id
  11339. type: integer
  11340. userinfotype:
  11341. description: 账户类型 1-个人 2-企业
  11342. type: integer
  11343. type: object
  11344. models.QhjMgrBrokerApply:
  11345. properties:
  11346. applicantid:
  11347. description: 申请人
  11348. type: integer
  11349. applysrc:
  11350. description: 申请来源 - 1:管理端 2:终端
  11351. type: integer
  11352. applystatus:
  11353. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  11354. type: integer
  11355. applytime:
  11356. description: 申请时间
  11357. type: string
  11358. auditorid:
  11359. description: 审核人
  11360. type: integer
  11361. auditremark:
  11362. description: 审核备注
  11363. type: string
  11364. auditsrc:
  11365. description: 审核来源 - 1:管理端 2:终端
  11366. type: integer
  11367. audittime:
  11368. description: 审核时间
  11369. type: string
  11370. audittradedate:
  11371. description: 审核交易日(yyyyMMdd)
  11372. type: string
  11373. brokerapplyid:
  11374. description: 申请ID(SEQ_BROKERAPPLY)
  11375. type: integer
  11376. cardbackphotourl:
  11377. description: 证件背面图片地址
  11378. type: string
  11379. cardfrontphotourl:
  11380. description: 证件正面图片地址
  11381. type: string
  11382. cardnum:
  11383. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  11384. type: string
  11385. customername:
  11386. description: 姓名
  11387. type: string
  11388. filterstatus:
  11389. description: 筛选条件
  11390. type: string
  11391. logincode:
  11392. description: 登录代码
  11393. type: string
  11394. mobile:
  11395. description: 手机号码
  11396. type: string
  11397. parentuserid:
  11398. description: 所属机构id
  11399. type: integer
  11400. parentusername:
  11401. description: 所属机构名称
  11402. type: string
  11403. refereeuserid:
  11404. description: 推荐人id(经纪人)
  11405. type: integer
  11406. refernum:
  11407. description: 推荐码
  11408. type: string
  11409. remark:
  11410. description: 备注
  11411. type: string
  11412. subarealevelpath:
  11413. description: 层级路径
  11414. type: string
  11415. tradedate:
  11416. description: 交易日(yyyyMMdd)
  11417. type: string
  11418. userid:
  11419. description: 申请人用户ID
  11420. type: integer
  11421. userinfotype:
  11422. description: 用户类型 1-个人 2-企业
  11423. type: integer
  11424. username:
  11425. description: 用户名称
  11426. type: string
  11427. type: object
  11428. models.QhjMgrBrokerRewardReport:
  11429. properties:
  11430. createtime:
  11431. description: 创建时间(注册时间)
  11432. type: string
  11433. cycletime:
  11434. description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  11435. type: string
  11436. cycletype:
  11437. description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  11438. type: integer
  11439. directtotalnum:
  11440. description: 直推总人数【期末】
  11441. type: integer
  11442. indirecttotalnum:
  11443. description: 间推总人数【期末】
  11444. type: integer
  11445. mobile:
  11446. description: 电话号码
  11447. type: string
  11448. refereeuserid:
  11449. description: 推荐人id(经纪人id)
  11450. type: integer
  11451. refereeusername:
  11452. description: 推荐人名称(经纪人) 上级经纪人名称
  11453. type: string
  11454. refernum:
  11455. description: 推荐码
  11456. type: string
  11457. subarealevelpath:
  11458. description: 用户层级路径
  11459. type: string
  11460. todayrewardamount:
  11461. description: 奖励总金额【汇总】
  11462. type: number
  11463. updatetime:
  11464. description: 更新时间
  11465. type: string
  11466. userid:
  11467. description: 经纪人用户ID
  11468. type: integer
  11469. userinfotype:
  11470. description: 用户类型 1-个人 2-企业
  11471. type: integer
  11472. username:
  11473. description: 用户名称
  11474. type: string
  11475. type: object
  11476. models.QhjMgrContract:
  11477. properties:
  11478. contractconfirmtime:
  11479. description: 合同确认时间(时间)
  11480. type: string
  11481. currisklevel:
  11482. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  11483. type: integer
  11484. decimalplace:
  11485. description: 商品报价小数位
  11486. type: integer
  11487. enumdicname:
  11488. description: 单位名称
  11489. type: string
  11490. goodscode:
  11491. description: 商品代码
  11492. type: string
  11493. goodsid:
  11494. description: 商品ID [5:融资单]
  11495. type: integer
  11496. goodsname:
  11497. description: 商品名称
  11498. type: string
  11499. goodunitid:
  11500. description: 商品单位id
  11501. type: integer
  11502. initmargin:
  11503. description: 初始保证金(首付款)
  11504. type: number
  11505. lenderamount:
  11506. description: 贷款金额(总额|订单总额)
  11507. type: number
  11508. logincode:
  11509. description: 账号(登录代码)
  11510. type: string
  11511. marginratio:
  11512. description: 保证金比率(首付比例)
  11513. type: number
  11514. mobile:
  11515. description: 电话号码(用户资料里的电话)
  11516. type: string
  11517. payamount:
  11518. description: 已付(已付货款)
  11519. type: number
  11520. reckonrecovermargin:
  11521. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  11522. type: number
  11523. recoveredmargin:
  11524. description: 已追缴保证金
  11525. type: number
  11526. remainamount:
  11527. description: 合同剩余金额(融资额)
  11528. type: number
  11529. scfcontractid:
  11530. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  11531. type: string
  11532. scfcontractstatus:
  11533. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  11534. 9:违约结束 10:已注销 11:已关闭 99:未提交
  11535. type: integer
  11536. scfcontracttype:
  11537. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  11538. type: integer
  11539. totalinterest:
  11540. description: 已计总利息(利息)
  11541. type: number
  11542. tradedate:
  11543. description: 交易日
  11544. type: string
  11545. tradeprice:
  11546. description: 成交价格(成本价格)
  11547. type: number
  11548. userid:
  11549. description: 用户ID
  11550. type: integer
  11551. userinfotype:
  11552. description: 用户类型 1-个人 2-企业
  11553. type: integer
  11554. username:
  11555. description: 用户名称
  11556. type: string
  11557. wrqty:
  11558. description: 仓单数量(数量)
  11559. type: number
  11560. type: object
  11561. models.QhjMgrCustomer:
  11562. properties:
  11563. address:
  11564. description: 通讯地址
  11565. type: string
  11566. attachment1:
  11567. description: 附件1
  11568. type: string
  11569. audittime:
  11570. description: 审核时间
  11571. type: string
  11572. birthday:
  11573. description: 生日
  11574. type: string
  11575. brokerid:
  11576. description: 所属客户经理id
  11577. type: integer
  11578. brokername:
  11579. description: 所属客户经理名称
  11580. type: string
  11581. cardbackphotourl:
  11582. description: 证件反面图片地址
  11583. type: string
  11584. cardfrontphotourl:
  11585. description: 证件正面图片地址
  11586. type: string
  11587. cardnum:
  11588. description: 证件号码
  11589. type: string
  11590. cardtype:
  11591. description: 证件类型
  11592. type: integer
  11593. cardtypename:
  11594. description: 证件类型名称
  11595. type: string
  11596. cityid:
  11597. description: 市
  11598. type: integer
  11599. cityname:
  11600. description: 城市名称
  11601. type: string
  11602. contactname:
  11603. description: 联系人
  11604. type: string
  11605. countryid:
  11606. description: 国家
  11607. type: integer
  11608. countryname:
  11609. description: 国家名称
  11610. type: string
  11611. createtime:
  11612. description: 创建时间
  11613. type: string
  11614. customername:
  11615. description: 客户名称
  11616. type: string
  11617. districtid:
  11618. description: 区域
  11619. type: integer
  11620. districtname:
  11621. description: 地区名称
  11622. type: string
  11623. email:
  11624. description: 邮件
  11625. type: string
  11626. legalpersonname:
  11627. description: 法人姓名(企业)
  11628. type: string
  11629. logincode:
  11630. description: 登录账号(代码)
  11631. type: string
  11632. memberuserid:
  11633. description: 所属机构ID(所属会员)
  11634. type: integer
  11635. memberusername:
  11636. description: 所属会员名称
  11637. type: string
  11638. mobile:
  11639. description: 手机号码
  11640. type: string
  11641. modifytime:
  11642. description: 修改时间
  11643. type: string
  11644. nickname:
  11645. description: 昵称
  11646. type: string
  11647. parentuserid:
  11648. description: 上级机构(所属机构)
  11649. type: integer
  11650. parentusername:
  11651. description: 所属机构名称
  11652. type: string
  11653. provinceid:
  11654. description: 省
  11655. type: integer
  11656. provincename:
  11657. description: 省名称
  11658. type: string
  11659. proxystatementurl:
  11660. description: 授权委托书
  11661. type: string
  11662. querytype:
  11663. description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  11664. type: integer
  11665. remark:
  11666. description: 备注
  11667. type: string
  11668. sex:
  11669. description: 性别 0-女 1-男
  11670. type: integer
  11671. status:
  11672. description: '开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过
  11673. ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)'
  11674. type: integer
  11675. statusdesc:
  11676. description: 账户状态中文描述
  11677. type: string
  11678. taxpayernum:
  11679. description: 纳税人识别号
  11680. type: string
  11681. telphone:
  11682. description: 联系电话
  11683. type: string
  11684. userid:
  11685. description: 用户ID
  11686. type: integer
  11687. userinfotype:
  11688. description: 客户类型 1-个人 2-企业
  11689. type: integer
  11690. username:
  11691. description: 用户名称
  11692. type: string
  11693. type: object
  11694. models.QhjMgrPickGoods:
  11695. properties:
  11696. enumdicname:
  11697. description: 单位名称(提货商品)
  11698. type: string
  11699. goodsid:
  11700. description: 商品id
  11701. type: integer
  11702. imageaddress:
  11703. description: 图片
  11704. type: string
  11705. modifierid:
  11706. description: 修改人
  11707. type: integer
  11708. modifiername:
  11709. description: 修改人名称
  11710. type: string
  11711. modifysrc:
  11712. description: 修改来源 - 1:管理端 2:终端
  11713. type: integer
  11714. pickupgoodsagreeunit:
  11715. description: 合约乘数
  11716. type: number
  11717. pickupgoodsdesc:
  11718. description: 描述
  11719. type: string
  11720. pickupgoodsid:
  11721. description: 提货商品ID
  11722. type: string
  11723. pickupgoodsname:
  11724. description: 提货商品名称
  11725. type: string
  11726. pickupgoodsstatus:
  11727. description: 状态 - 1:正常 2:停用 3:注销
  11728. type: integer
  11729. pickupgoodsunitid:
  11730. description: 单位ID
  11731. type: integer
  11732. pickupratio:
  11733. description: 提货系数
  11734. type: number
  11735. preparedays:
  11736. description: 备货期(天)
  11737. type: integer
  11738. remark:
  11739. description: 备注
  11740. type: string
  11741. updatetime:
  11742. description: 更新时间
  11743. type: string
  11744. type: object
  11745. models.QhjMgrPositionRsp:
  11746. properties:
  11747. accountid:
  11748. description: 账号Id
  11749. type: integer
  11750. accountname:
  11751. description: 用户名称
  11752. type: string
  11753. agreeunit:
  11754. description: 合约乘数
  11755. type: number
  11756. averageprice:
  11757. description: 均价
  11758. type: number
  11759. avialqty:
  11760. description: 可用数量
  11761. type: number
  11762. decimalplace:
  11763. description: 报价小数位
  11764. type: integer
  11765. enumdicname:
  11766. description: 单位名称(商品)
  11767. type: string
  11768. frozenqty:
  11769. description: 冻结数量
  11770. type: number
  11771. goodscode:
  11772. description: 商品代码(内部)
  11773. type: string
  11774. goodsid:
  11775. description: 商品Id
  11776. type: integer
  11777. goodsname:
  11778. description: 商品名称
  11779. type: string
  11780. goodunitid:
  11781. description: 报价单位ID
  11782. type: integer
  11783. holderamount:
  11784. description: 金额
  11785. type: number
  11786. holderqty:
  11787. description: 持有数量
  11788. type: number
  11789. holdertype:
  11790. description: 持仓类别 - 1:单边持仓 2:双边持仓
  11791. type: integer
  11792. logincode:
  11793. description: 登录代码(账户)
  11794. type: string
  11795. marketid:
  11796. description: 市场id
  11797. type: integer
  11798. qtydecimalplace:
  11799. description: 成交量小数位
  11800. type: integer
  11801. trademode:
  11802. description: 交易模式
  11803. type: integer
  11804. userid:
  11805. description: 用户id
  11806. type: integer
  11807. userinfotype:
  11808. description: 账户类型 1-个人 2-企业
  11809. type: integer
  11810. type: object
  11811. models.QhjMgrSubArea:
  11812. properties:
  11813. accountname:
  11814. description: 账户名称(机构名称)
  11815. type: string
  11816. memberuserid:
  11817. description: 所属会员ID
  11818. type: integer
  11819. parenttopuser:
  11820. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  11821. type: string
  11822. parentuserid:
  11823. description: 所属机构ID
  11824. type: integer
  11825. rootuserid:
  11826. description: 根用户ID
  11827. type: string
  11828. subaccountlevel:
  11829. description: 子账户层数
  11830. type: integer
  11831. subarealevelpath:
  11832. description: 子机构层级路径(逗号分隔,首尾加逗号)
  11833. type: string
  11834. userid:
  11835. description: 用户ID
  11836. type: integer
  11837. usertype:
  11838. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  11839. type: integer
  11840. type: object
  11841. models.QhjMgrTradeDetailRsp:
  11842. properties:
  11843. accountid:
  11844. description: 资金账号
  11845. type: integer
  11846. accountname:
  11847. description: 用户名称
  11848. type: string
  11849. agreeunit:
  11850. description: 合约乘数
  11851. type: number
  11852. buyorsell:
  11853. description: 成交类型(方向) 0:买 1:卖
  11854. type: integer
  11855. decimalplace:
  11856. description: 报价小数位
  11857. type: integer
  11858. enumdicname:
  11859. description: 单位名称(商品)
  11860. type: string
  11861. goodscode:
  11862. description: 商品代码(内部)
  11863. type: string
  11864. goodsid:
  11865. description: 商品id
  11866. type: integer
  11867. goodsname:
  11868. description: 商品名称
  11869. type: string
  11870. goodunitid:
  11871. description: 报价单位ID
  11872. type: integer
  11873. logincode:
  11874. description: 登录代码(账户)
  11875. type: string
  11876. marketid:
  11877. description: 市场id
  11878. type: integer
  11879. orderid:
  11880. description: 关联委托单号
  11881. type: string
  11882. qtydecimalplace:
  11883. description: 成交量小数位
  11884. type: integer
  11885. tradeamount:
  11886. description: 金额
  11887. type: number
  11888. tradedate:
  11889. description: 交易日
  11890. type: string
  11891. tradeid:
  11892. description: 成交单号
  11893. type: string
  11894. trademode:
  11895. description: 交易模式
  11896. type: integer
  11897. tradeprice:
  11898. description: 价格
  11899. type: number
  11900. tradeqty:
  11901. description: 数量
  11902. type: number
  11903. tradetime:
  11904. description: 成交时间
  11905. type: string
  11906. userid:
  11907. description: 用户id
  11908. type: integer
  11909. userinfotype:
  11910. description: 账户类型 1-个人 2-企业
  11911. type: integer
  11912. type: object
  11913. models.QhjMgrTradeOrderDetailRsp:
  11914. properties:
  11915. accountid:
  11916. description: 资金账号
  11917. type: integer
  11918. accountname:
  11919. description: 用户名称
  11920. type: string
  11921. agreeunit:
  11922. description: 合约乘数
  11923. type: number
  11924. amount:
  11925. description: 金额
  11926. type: number
  11927. decimalplace:
  11928. description: 报价小数位
  11929. type: integer
  11930. enumdicname:
  11931. description: 单位名称(商品)
  11932. type: string
  11933. goodscode:
  11934. description: 商品代码(内部)
  11935. type: string
  11936. goodsid:
  11937. description: 商品id
  11938. type: integer
  11939. goodsname:
  11940. description: 商品名称
  11941. type: string
  11942. goodunitid:
  11943. description: 报价单位ID
  11944. type: integer
  11945. logincode:
  11946. description: 登录代码(账户)
  11947. type: string
  11948. marketid:
  11949. description: 市场id
  11950. type: integer
  11951. orderid:
  11952. description: 关联委托单号
  11953. type: string
  11954. orderprice:
  11955. description: 价格
  11956. type: number
  11957. orderqty:
  11958. description: 数量
  11959. type: number
  11960. orderstatus:
  11961. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  11962. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  11963. 16:成交失败违约(荷兰式竞拍专用)
  11964. type: integer
  11965. ordertime:
  11966. description: 委托时间
  11967. type: string
  11968. qtydecimalplace:
  11969. description: 成交量小数位
  11970. type: integer
  11971. tradedate:
  11972. description: 交易日
  11973. type: string
  11974. trademode:
  11975. description: 交易模式
  11976. type: integer
  11977. userid:
  11978. description: 用户id
  11979. type: integer
  11980. userinfotype:
  11981. description: 账户类型 1-个人 2-企业
  11982. type: integer
  11983. type: object
  11984. models.QhjMgrTradePayOrder:
  11985. properties:
  11986. accountname:
  11987. description: 用户名称
  11988. type: string
  11989. advanceratio:
  11990. description: 首付比率
  11991. type: number
  11992. agreeunit:
  11993. description: 合约乘数
  11994. type: number
  11995. buyaccountid:
  11996. description: 买方账号ID[报价币种]
  11997. type: integer
  11998. buyorderid:
  11999. description: 买方委托单号(关联单号)
  12000. type: string
  12001. createtime:
  12002. description: 创建时间
  12003. type: string
  12004. decimalplace:
  12005. description: 报价小数位
  12006. type: integer
  12007. enumdicname:
  12008. description: 单位名称(商品)
  12009. type: string
  12010. goodscode:
  12011. description: 商品代码(内部)
  12012. type: string
  12013. goodsid:
  12014. description: 商品ID
  12015. type: integer
  12016. goodsname:
  12017. description: 商品名称
  12018. type: string
  12019. goodunitid:
  12020. description: 报价单位ID
  12021. type: integer
  12022. logincode:
  12023. description: 登录代码(账户)
  12024. type: string
  12025. marketid:
  12026. description: 市场id
  12027. type: integer
  12028. offamount:
  12029. description: 优惠金额
  12030. type: number
  12031. operatetype:
  12032. description: 买委托操作类型 - 1:正常下单 16:融资买入
  12033. type: integer
  12034. payamount:
  12035. description: 支付金额(金额)
  12036. type: number
  12037. payflag:
  12038. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  12039. type: integer
  12040. paylimitedtime:
  12041. description: 支付期限
  12042. type: string
  12043. paytime:
  12044. description: 付款时间
  12045. type: string
  12046. qtydecimalplace:
  12047. description: 成交量小数位
  12048. type: integer
  12049. sellaccountid:
  12050. description: 卖方账号ID[报价币种]
  12051. type: integer
  12052. sellorderid:
  12053. description: 卖方委托单号
  12054. type: string
  12055. tradeamount:
  12056. description: 成交金额(优惠后金额)
  12057. type: number
  12058. tradecharge:
  12059. description: 成交手续费(买方)
  12060. type: number
  12061. tradedate:
  12062. description: 交易日(yyyyMMdd)
  12063. type: string
  12064. tradeid:
  12065. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12066. type: string
  12067. trademode:
  12068. description: 交易模式
  12069. type: integer
  12070. tradeprice:
  12071. description: 成交价格(价格)
  12072. type: number
  12073. tradeqty:
  12074. description: 成交数量(数量)
  12075. type: number
  12076. tradetime:
  12077. description: 成交时间
  12078. type: string
  12079. userid:
  12080. description: 用户id
  12081. type: integer
  12082. userinfotype:
  12083. description: 账户类型 1-个人 2-企业
  12084. type: integer
  12085. type: object
  12086. models.QueryErrorInfosRsp:
  12087. properties:
  12088. description:
  12089. description: 异常描述
  12090. type: string
  12091. errorcode:
  12092. description: 异常代码
  12093. type: string
  12094. errorid:
  12095. description: 异常ID
  12096. type: integer
  12097. modulecode:
  12098. description: 所属模块
  12099. type: string
  12100. operatecode:
  12101. description: 所属操作
  12102. type: string
  12103. rownumber:
  12104. description: 行号
  12105. type: string
  12106. required:
  12107. - errorid
  12108. type: object
  12109. models.QueryHedgeOrderDetailRsp:
  12110. properties:
  12111. accountid:
  12112. description: 账户ID
  12113. type: integer
  12114. buyorsell:
  12115. description: 买卖 - 0:买 1:卖
  12116. type: integer
  12117. cancellogincode:
  12118. description: 撤单人
  12119. type: string
  12120. channelbuildtype:
  12121. description: 开平标志 - 0:无 1:建仓 2:平仓
  12122. type: integer
  12123. channelinnerorderstatus:
  12124. description: 委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:部分成交 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败
  12125. 9:全部成交
  12126. type: integer
  12127. channeloperatetype:
  12128. description: 操作类型 - 1:正常委托 2:斩仓委托 3:强平委托
  12129. type: integer
  12130. closetype:
  12131. description: 平仓方式 - 0:无 1:平今 2:平昨
  12132. type: integer
  12133. curexchangerate:
  12134. description: 当前汇率
  12135. type: number
  12136. decimalplace:
  12137. description: 商品报价小数位
  12138. type: integer
  12139. exchangefullname:
  12140. description: 外部交易所全称
  12141. type: string
  12142. goodscode:
  12143. description: 商品代码(内部)
  12144. type: string
  12145. goodsid:
  12146. description: 商品ID
  12147. type: integer
  12148. goodsname:
  12149. description: 商品名称
  12150. type: string
  12151. marketid:
  12152. description: 市场ID
  12153. type: integer
  12154. openfreezemargin:
  12155. description: 冻结保证金(冻结交易金额)
  12156. type: number
  12157. orderid:
  12158. description: 委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12159. type: string
  12160. orderlogincode:
  12161. description: 委托人
  12162. type: string
  12163. orderprice:
  12164. description: 委托价格(账户)
  12165. type: number
  12166. orderqty:
  12167. description: 委托数量
  12168. type: integer
  12169. ordertime:
  12170. description: 委托时间
  12171. type: string
  12172. pricemode:
  12173. description: '取价方式 - 1:市价 2: 限价'
  12174. type: integer
  12175. tradedate:
  12176. description: 交易日(yyyyMMdd)
  12177. type: string
  12178. tradeqty:
  12179. description: 成交数量
  12180. type: integer
  12181. type: object
  12182. models.QueryHedgeTradeDetailRsp:
  12183. properties:
  12184. accountid:
  12185. description: 账号ID
  12186. type: integer
  12187. buyorsell:
  12188. description: 方向 - 0:买 1:卖
  12189. type: integer
  12190. channelbuildtype:
  12191. description: 委托单据类型 0:无 1:建仓 2:平仓
  12192. type: integer
  12193. closecharge:
  12194. description: 平仓手续费(账户)
  12195. type: number
  12196. closecharge2:
  12197. description: 平仓手续费(商品)
  12198. type: number
  12199. closepl:
  12200. description: 平仓盈亏(账户)
  12201. type: number
  12202. closepl2:
  12203. description: 平仓盈亏(商品)
  12204. type: number
  12205. closepl3:
  12206. description: 平仓盈亏(账户)(逐笔)
  12207. type: number
  12208. closepl4:
  12209. description: 平仓盈亏(商品)(逐笔)
  12210. type: number
  12211. closetype:
  12212. description: 平仓方式 - 0:无 1:平今 2:平昨
  12213. type: integer
  12214. curexchangerate:
  12215. description: 当前汇率
  12216. type: number
  12217. decimalplace:
  12218. description: 商品报价小数位
  12219. type: integer
  12220. exchangefullname:
  12221. description: 外部交易所全称
  12222. type: string
  12223. goodscode:
  12224. description: 商品代码(内部)
  12225. type: string
  12226. goodsid:
  12227. description: 商品ID
  12228. type: integer
  12229. goodsname:
  12230. description: 商品名称
  12231. type: string
  12232. marketid:
  12233. description: 市场ID
  12234. type: integer
  12235. opencharge:
  12236. description: 建仓手续费(账户)
  12237. type: number
  12238. opencharge2:
  12239. description: 建仓手续费(商品)
  12240. type: number
  12241. orderid:
  12242. description: 委托单号
  12243. type: string
  12244. orderlogincode:
  12245. description: 委托人
  12246. type: string
  12247. tradeamount:
  12248. description: 成交金额(账户)
  12249. type: number
  12250. tradedate:
  12251. description: 交易日(yyyyMMdd)
  12252. type: string
  12253. tradeid:
  12254. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12255. type: string
  12256. tradeprice:
  12257. description: 成交价格
  12258. type: number
  12259. tradeqty:
  12260. description: 成交数量
  12261. type: integer
  12262. tradetime:
  12263. description: 成交时间
  12264. type: string
  12265. tradetype:
  12266. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  12267. type: integer
  12268. type: object
  12269. models.QuotePrimaryMenu:
  12270. properties:
  12271. Index:
  12272. description: 序号
  12273. type: integer
  12274. Key:
  12275. description: 键名
  12276. type: string
  12277. Name:
  12278. description: 菜单名称
  12279. type: string
  12280. SubMenus:
  12281. description: 子菜单
  12282. items:
  12283. $ref: '#/definitions/models.QuoteSecondaryMenu'
  12284. type: array
  12285. SubTitleType:
  12286. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  12287. type: integer
  12288. TradeModes:
  12289. description: 包含市场交易类型
  12290. type: string
  12291. type: object
  12292. models.QuoteSecondaryMenu:
  12293. properties:
  12294. ExExchangeCode:
  12295. description: 外部交易所代码
  12296. type: string
  12297. ExExchangeID:
  12298. description: 外部交易所ID
  12299. type: integer
  12300. GoodsGroupIDs:
  12301. description: 商品组ID列表
  12302. items:
  12303. type: integer
  12304. type: array
  12305. Index:
  12306. description: 序号
  12307. type: integer
  12308. MarketID:
  12309. description: 市场ID
  12310. type: integer
  12311. MenuTitle:
  12312. description: 菜单标题(市场名称或外部交易所名称)
  12313. type: string
  12314. TradeMode:
  12315. description: 交易模式
  12316. type: integer
  12317. type: object
  12318. models.RelatedTaAccount:
  12319. properties:
  12320. accountid:
  12321. description: 资金账户ID
  12322. type: integer
  12323. type: object
  12324. models.RoleMenu:
  12325. properties:
  12326. hasright:
  12327. description: 是否有权限 0-没有权限 1-有权限
  12328. type: integer
  12329. iconame:
  12330. description: 菜单图标
  12331. type: string
  12332. menutype:
  12333. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  12334. type: integer
  12335. parentcode:
  12336. description: 上级资源代码
  12337. type: string
  12338. remark:
  12339. description: 菜单备注
  12340. type: string
  12341. resourcecode:
  12342. description: 菜单代码
  12343. type: string
  12344. resourcelevel:
  12345. description: 级别
  12346. type: integer
  12347. resourcename:
  12348. description: 菜单名称
  12349. type: string
  12350. roleid:
  12351. description: 角色id
  12352. type: integer
  12353. sort:
  12354. description: 排序
  12355. type: integer
  12356. subMenu:
  12357. description: 子级菜单(结构同上层一样, swag解析不出来)
  12358. items:
  12359. $ref: '#/definitions/models.RoleMenu'
  12360. type: array
  12361. url:
  12362. description: URL
  12363. type: string
  12364. userid:
  12365. description: 用户id
  12366. type: integer
  12367. type: object
  12368. models.SearchGoods:
  12369. properties:
  12370. goodscode:
  12371. description: 商品代码(内部)
  12372. type: string
  12373. goodsid:
  12374. description: 商品ID(自增ID SEQ_GOODS)
  12375. type: integer
  12376. goodsname:
  12377. description: 商品名称
  12378. type: string
  12379. marketid:
  12380. description: 所属市场ID
  12381. type: integer
  12382. marketname:
  12383. description: 市场名称
  12384. type: string
  12385. trademode:
  12386. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  12387. 21:竞拍-大宗式 22:受托竞价
  12388. type: integer
  12389. required:
  12390. - goodscode
  12391. - goodsid
  12392. - goodsname
  12393. - marketid
  12394. - trademode
  12395. type: object
  12396. models.SellOrder:
  12397. properties:
  12398. accountid:
  12399. description: 资金账号
  12400. type: integer
  12401. applyid:
  12402. description: 申请单ID
  12403. type: integer
  12404. attachment1:
  12405. description: 附件1
  12406. type: string
  12407. attachment2:
  12408. description: 附件2
  12409. type: string
  12410. buyorsell:
  12411. description: 买卖 - 0:买 1:卖
  12412. type: integer
  12413. canbargain:
  12414. description: 是否可议价 - 0:不可 1:可
  12415. type: integer
  12416. cancelqty:
  12417. description: 撤销数量
  12418. type: integer
  12419. canceltime:
  12420. description: 撤销时间
  12421. type: string
  12422. chargealgorithm:
  12423. description: 手续费收取方式 1:比率 2:固定
  12424. type: integer
  12425. chargealgorithmvalue:
  12426. description: 手续费设置值(交易所部分)
  12427. type: number
  12428. chargealgorithmvalue2:
  12429. description: 手续费设置值(会员部分)
  12430. type: number
  12431. clientordertime:
  12432. description: 客户端委托时间
  12433. type: string
  12434. exchangerate:
  12435. description: 汇率[67]
  12436. type: number
  12437. firstratio:
  12438. description: 首付比率 - [挂牌时指定,摘牌时使用]
  12439. type: number
  12440. fixedprice:
  12441. description: 固定价格 - [挂牌]
  12442. type: number
  12443. freezecharge:
  12444. description: 冻结手续费
  12445. type: number
  12446. freezefirstamount:
  12447. description: 冻结首付金额 - [摘牌]
  12448. type: number
  12449. freezemargin:
  12450. description: 冻结保证金
  12451. type: number
  12452. goodsno:
  12453. description: 商品编号
  12454. type: string
  12455. isQueryDiamond:
  12456. description: 是否钻石查询
  12457. type: boolean
  12458. isspecified:
  12459. description: 是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  12460. type: integer
  12461. marginalgorithm:
  12462. description: 保证金方式 - 1:比率 2:固定
  12463. type: integer
  12464. marginvalue:
  12465. description: 保证金设置值
  12466. type: number
  12467. marketid:
  12468. description: 市场ID
  12469. type: integer
  12470. orderamount:
  12471. description: 挂牌金额[账户] [67]= OrderQty * FixedPrice * ExchangeRate /100
  12472. type: number
  12473. orderqty:
  12474. description: 委托数量
  12475. type: integer
  12476. ordertime:
  12477. description: 委托时间
  12478. type: string
  12479. performancetemplateid:
  12480. description: 履约计划模板ID
  12481. type: integer
  12482. pricefactor:
  12483. description: 价格系数(浮动价时填写) - [挂牌]
  12484. type: number
  12485. pricemove:
  12486. description: 升贴水(浮动价时填写) - [挂牌]
  12487. type: number
  12488. relatedwrtradeorderid:
  12489. description: 关联委托单号(摘牌委托关联挂牌委托单ID)
  12490. type: integer
  12491. retcode:
  12492. description: 错误代码
  12493. type: integer
  12494. sellusername:
  12495. description: 卖方(查询字段-模糊查询)
  12496. type: string
  12497. tradedate:
  12498. description: 交易日(yyyyMMdd)
  12499. type: string
  12500. tradeprice:
  12501. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)*
  12502. 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  12503. type: number
  12504. tradeqty:
  12505. description: 成交数量
  12506. type: integer
  12507. unfreezecharge:
  12508. description: 解冻手续费
  12509. type: number
  12510. unfreezefirstamount:
  12511. description: 解冻首付金额 - [摘牌]
  12512. type: number
  12513. unfreezemargin:
  12514. description: 解冻保证金
  12515. type: number
  12516. userid:
  12517. description: 用户ID
  12518. type: integer
  12519. uuid:
  12520. description: 发起端唯一id
  12521. type: string
  12522. validtime:
  12523. description: 有效期限
  12524. type: string
  12525. validtype:
  12526. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  12527. type: integer
  12528. wrbargainid:
  12529. description: 议价申请单ID
  12530. type: integer
  12531. wrfactortypeid:
  12532. description: 仓单要素类型ID/商品ID(77)
  12533. type: integer
  12534. wrpricetype:
  12535. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  12536. type: integer
  12537. wrstandardid:
  12538. description: 现货商品ID
  12539. type: integer
  12540. wrtradeorderid:
  12541. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  12542. type: integer
  12543. wrtradeorderstatus:
  12544. 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:撤单解冻贷款失败
  12545. type: integer
  12546. wrtradetype:
  12547. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  12548. type: integer
  12549. wrtransferuserid:
  12550. description: 仓单受让用户 - [摘牌]
  12551. type: integer
  12552. zscategory:
  12553. description: 钻石分类 - 枚举”ZSCategory“
  12554. type: integer
  12555. zscurrencytype:
  12556. description: 货币类型 - 枚举“ZSCurrencyType”
  12557. type: integer
  12558. type: object
  12559. models.SellOrderQueryReq:
  12560. properties:
  12561. origin:
  12562. description: 原产地
  12563. type: string
  12564. page:
  12565. description: 页码
  12566. type: integer
  12567. pagesize:
  12568. description: 每页大小
  12569. type: integer
  12570. total:
  12571. description: 总条数
  12572. type: integer
  12573. warehouseid:
  12574. description: 仓库ID
  12575. type: integer
  12576. weight1:
  12577. description: 总重量(克拉重量)-从
  12578. type: number
  12579. weight2:
  12580. description: 总重量(克拉重量)-至
  12581. type: number
  12582. weightavg1:
  12583. description: 平均单颗重量-从
  12584. type: number
  12585. weightavg2:
  12586. description: 平均单颗重量-至
  12587. type: number
  12588. zscategory:
  12589. description: 钻石分类 - 枚举”ZSCategory“
  12590. type: integer
  12591. zscerttype:
  12592. description: 证书类型
  12593. items:
  12594. type: string
  12595. type: array
  12596. zsclaritytype:
  12597. description: 净度
  12598. items:
  12599. type: integer
  12600. type: array
  12601. zscolortype:
  12602. description: 颜色
  12603. items:
  12604. type: integer
  12605. type: array
  12606. zscurrencytype:
  12607. description: 货币类型 - 枚举“ZSCurrencyType”
  12608. items:
  12609. type: string
  12610. type: array
  12611. zscuttype:
  12612. description: 切工
  12613. items:
  12614. type: integer
  12615. type: array
  12616. zsczcolor1type:
  12617. description: 彩钻颜色1
  12618. items:
  12619. type: string
  12620. type: array
  12621. zsfluorescencetype:
  12622. description: 荧光
  12623. items:
  12624. type: integer
  12625. type: array
  12626. zspolishtype:
  12627. description: 抛光度
  12628. items:
  12629. type: integer
  12630. type: array
  12631. zsshapetype:
  12632. description: 形状 - 枚举”ZSShapeType“ - 类型:1,2,4,5 ;(1为多个,逗号分隔)
  12633. items:
  12634. type: string
  12635. type: array
  12636. zsstyletype:
  12637. description: 款式
  12638. items:
  12639. type: string
  12640. type: array
  12641. zssymmetrytype:
  12642. description: 对称度
  12643. items:
  12644. type: integer
  12645. type: array
  12646. required:
  12647. - zscategory
  12648. type: object
  12649. models.Systemparam:
  12650. properties:
  12651. loginid:
  12652. description: 更新用户账号,登录账号
  12653. type: string
  12654. modifyflag:
  12655. description: 修改标志0 不允许修改 1 允许修改
  12656. type: integer
  12657. paramcode:
  12658. description: 参数代码
  12659. type: string
  12660. paramname:
  12661. description: 参数名
  12662. type: string
  12663. paramtype:
  12664. description: 参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城
  12665. type: integer
  12666. paramvalue:
  12667. description: 参数值
  12668. type: string
  12669. paramvalue2:
  12670. description: 参数值(CLOB)
  12671. type: string
  12672. regexpress:
  12673. description: 正则表达式
  12674. type: string
  12675. remark:
  12676. description: 备注
  12677. type: string
  12678. serverip:
  12679. description: 限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置
  12680. type: string
  12681. showflag:
  12682. description: 是否显示0 不显示 1 显示
  12683. type: integer
  12684. updatetime:
  12685. description: 更新时间
  12686. type: string
  12687. userid:
  12688. description: 更新用户ID
  12689. type: integer
  12690. required:
  12691. - paramcode
  12692. type: object
  12693. models.Szdz3convertconfig:
  12694. properties:
  12695. canin:
  12696. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  12697. type: integer
  12698. canout:
  12699. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  12700. type: integer
  12701. converttype:
  12702. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  12703. 6:交易转花生米(不设置)
  12704. type: integer
  12705. createtime:
  12706. description: 创建时间
  12707. type: string
  12708. creatorid:
  12709. description: 创建人
  12710. type: integer
  12711. daymaxvalue:
  12712. description: 当日最大转入限制
  12713. type: number
  12714. freezedays:
  12715. description: 冻结天数 [5:花生米转交易]
  12716. type: integer
  12717. innergoodsid:
  12718. description: 内部商品ID[交易]
  12719. type: integer
  12720. inratio:
  12721. description: 目标值
  12722. type: integer
  12723. modifierid:
  12724. description: 修改人
  12725. type: integer
  12726. modifytime:
  12727. description: 修改时间
  12728. type: string
  12729. outergoodscode:
  12730. description: 外部商品代码[JD\PD]
  12731. type: string
  12732. outratio:
  12733. description: 源值
  12734. type: integer
  12735. pddecimalplace:
  12736. description: PD小数位
  12737. type: integer
  12738. timemaxvalue:
  12739. description: 单次最大转入限制
  12740. type: number
  12741. timeminvalue:
  12742. description: 单次最小转入限制
  12743. type: number
  12744. required:
  12745. - converttype
  12746. - innergoodsid
  12747. - outergoodscode
  12748. type: object
  12749. models.Szdz3searchwhitelist:
  12750. properties:
  12751. createtime:
  12752. description: 创建时间
  12753. type: string
  12754. creatorid:
  12755. description: 创建人
  12756. type: integer
  12757. modifierid:
  12758. description: 修改人
  12759. type: integer
  12760. modifytime:
  12761. description: 修改时间
  12762. type: string
  12763. userid:
  12764. description: 用户ID
  12765. type: integer
  12766. required:
  12767. - userid
  12768. type: object
  12769. models.TBGoods:
  12770. properties:
  12771. agreeunit:
  12772. description: 合约乘数
  12773. type: number
  12774. enumdicname:
  12775. description: 单位名称
  12776. type: string
  12777. goodscode:
  12778. description: 商品代码(内部)
  12779. type: string
  12780. goodsid:
  12781. description: 商品ID(自增ID SEQ_GOODS)
  12782. type: integer
  12783. goodsname:
  12784. description: 商品名称
  12785. type: string
  12786. type: object
  12787. models.TBGoodsGroup:
  12788. properties:
  12789. GDLST:
  12790. description: 商品列表
  12791. items:
  12792. $ref: '#/definitions/models.TBGoods'
  12793. type: array
  12794. convertratio:
  12795. description: 折算系数
  12796. type: number
  12797. enumdicname:
  12798. description: 单位名称
  12799. type: string
  12800. exexchangecode:
  12801. description: 交易所代码
  12802. type: string
  12803. exexchangename:
  12804. description: 交易所名称
  12805. type: string
  12806. goodsgroupid:
  12807. description: 商品组ID(自增ID)
  12808. type: integer
  12809. goodsgroupname:
  12810. description: 商品组名称
  12811. type: string
  12812. goodunitid:
  12813. description: 报价单位ID
  12814. type: integer
  12815. type: object
  12816. models.TBMiddleGoods:
  12817. properties:
  12818. GPLST:
  12819. description: 期货品种列表
  12820. items:
  12821. $ref: '#/definitions/models.TBGoodsGroup'
  12822. type: array
  12823. WDLST:
  12824. description: 商品信息列表(现货品类)
  12825. items:
  12826. $ref: '#/definitions/models.TBWrstandard'
  12827. type: array
  12828. areauserid:
  12829. description: 机构用户ID
  12830. type: integer
  12831. enumdicname:
  12832. description: 单位名称
  12833. type: string
  12834. goodsunitid:
  12835. description: 套保品种单位id
  12836. type: integer
  12837. middlegoodscode:
  12838. description: 套保品种代码
  12839. type: string
  12840. middlegoodsid:
  12841. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  12842. type: integer
  12843. middlegoodsname:
  12844. description: 套保品种名称
  12845. type: string
  12846. needarbitrageratio:
  12847. description: 套利比率
  12848. type: number
  12849. needhedgeratio:
  12850. description: 套保比率
  12851. type: number
  12852. type: object
  12853. models.TBWrstandard:
  12854. properties:
  12855. convertratio:
  12856. description: 折算系数
  12857. type: number
  12858. deliverygoodsname:
  12859. description: 品种名称
  12860. type: string
  12861. enumdicname:
  12862. description: 单位名称
  12863. type: string
  12864. vatrate:
  12865. description: 增值税率
  12866. type: number
  12867. wrstandardcode:
  12868. description: 现货商品代码
  12869. type: string
  12870. wrstandardid:
  12871. description: 现货商品ID(SEQ_WRSTANDARD)
  12872. type: integer
  12873. wrstandardname:
  12874. description: 现货商品名称
  12875. type: string
  12876. type: object
  12877. models.Taaccount:
  12878. properties:
  12879. accountflag:
  12880. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  12881. type: integer
  12882. accountid:
  12883. description: 资金账户ID
  12884. type: integer
  12885. accountname:
  12886. description: 账户名称
  12887. type: string
  12888. balance:
  12889. description: 期初余额
  12890. type: number
  12891. capitalbalance:
  12892. description: 本金余额[外部子账户实际出入金余额]
  12893. type: number
  12894. changeflag:
  12895. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  12896. type: integer
  12897. changetime:
  12898. description: 账户状态变更时间
  12899. type: string
  12900. closepl:
  12901. description: 今日平仓盈亏
  12902. type: number
  12903. creditdecrease:
  12904. description: 今日授信减少
  12905. type: number
  12906. creditincrease:
  12907. description: 今日授信增加
  12908. type: number
  12909. curamount:
  12910. description: 总市值(从持仓中统计)
  12911. type: number
  12912. currencyid:
  12913. description: 货币ID
  12914. type: integer
  12915. currentbalance:
  12916. description: 期末余额
  12917. type: number
  12918. freezecharge:
  12919. description: 手续费冻结
  12920. type: number
  12921. freezemargin:
  12922. description: 冻结保证金
  12923. type: number
  12924. fromaccountid:
  12925. description: 所属上级账户
  12926. type: integer
  12927. inamount:
  12928. description: 今日入金金额(包括三方入金)
  12929. type: number
  12930. ismain:
  12931. description: 是否母账号 0:不是母账户 1:是母账户
  12932. type: integer
  12933. ismarketaccount:
  12934. description: 是否机构接单账号 0:不是 1:是
  12935. type: integer
  12936. isreckonaccount:
  12937. description: 是否机构分润账号 0:不是 1:是
  12938. type: integer
  12939. mortgagecredit:
  12940. description: 授信金额
  12941. type: number
  12942. orifreezecharge:
  12943. description: 期初手续费冻结
  12944. type: number
  12945. orifreezemargin:
  12946. description: 期初冻结保证金
  12947. type: number
  12948. orimortgagecredit:
  12949. description: 期初授信金额
  12950. type: number
  12951. oriothercredit:
  12952. description: 期初其它授信金额
  12953. type: number
  12954. oriotherfreezemargin:
  12955. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  12956. type: number
  12957. orioutamountfreeze:
  12958. description: 期初出金冻结
  12959. type: number
  12960. oriusedmargin:
  12961. description: 期初占用保证金
  12962. type: number
  12963. othercredit:
  12964. description: 其它授信金额
  12965. type: number
  12966. othercreditdecrease:
  12967. description: 今日其它授信减少
  12968. type: number
  12969. othercreditincrease:
  12970. description: 今日其它授信增加
  12971. type: number
  12972. otherfreezemargin:
  12973. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  12974. type: number
  12975. otherincome:
  12976. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  12977. type: number
  12978. otherpay:
  12979. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  12980. type: number
  12981. outamount:
  12982. description: 今日出金金额(包括三方出金)
  12983. type: number
  12984. outamountfreeze:
  12985. description: 出金冻结
  12986. type: number
  12987. outthreshold:
  12988. description: 出金阈值
  12989. type: number
  12990. parentaccountid:
  12991. description: 所属根账号
  12992. type: integer
  12993. paycharge:
  12994. description: 今日手续费支出
  12995. type: number
  12996. relatedaccountstatus:
  12997. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  12998. type: integer
  12999. relateduserid:
  13000. description: 关联用户
  13001. type: integer
  13002. remainamount:
  13003. description: 融资额(从融资合同中统计)
  13004. type: number
  13005. serivcegroup:
  13006. description: 服务分组
  13007. type: integer
  13008. signstatus:
  13009. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  13010. type: integer
  13011. sublevelpath:
  13012. description: 账号层级路径(逗号分隔,首尾加逗号)
  13013. type: string
  13014. taaccounttype:
  13015. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  13016. type: integer
  13017. thirdinamount:
  13018. description: 今日三方入金
  13019. type: number
  13020. thirdoutamount:
  13021. description: 今日三方出金
  13022. type: number
  13023. tradestatus:
  13024. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  13025. type: integer
  13026. tradestatuschangetime:
  13027. description: 激活时间
  13028. type: string
  13029. transferamount:
  13030. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  13031. type: number
  13032. usedmargin:
  13033. description: 占用保证金
  13034. type: number
  13035. userid:
  13036. description: 用户ID
  13037. type: integer
  13038. required:
  13039. - accountid
  13040. - userid
  13041. type: object
  13042. models.Tablecolumnconfig:
  13043. properties:
  13044. aligntype:
  13045. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  13046. type: integer
  13047. autoid:
  13048. description: AutoID
  13049. type: integer
  13050. columnfield:
  13051. description: 列字段
  13052. type: string
  13053. columntitle:
  13054. description: 列Title
  13055. type: string
  13056. columnwidth:
  13057. description: 列宽
  13058. type: string
  13059. fixed:
  13060. description: 固定类型 - 空 | left | right
  13061. type: string
  13062. formatterstring:
  13063. description: 格式化字符
  13064. type: string
  13065. formattertype:
  13066. description: 格式化类型
  13067. type: string
  13068. groupname:
  13069. description: 表头分组名称
  13070. type: string
  13071. ismerge:
  13072. description: 是否合并显示 - 0:不合并 1:合并
  13073. type: integer
  13074. isshow:
  13075. description: 是否显示 - 0:不显示 1:显示
  13076. type: integer
  13077. needsummary:
  13078. description: 是否需要汇总 - 0:不需要 1:需要
  13079. type: integer
  13080. orderindex:
  13081. description: 顺序
  13082. type: integer
  13083. remark:
  13084. description: 备注
  13085. type: string
  13086. summarytype:
  13087. description: 汇总类型 - 1:加总 2:最后一个
  13088. type: integer
  13089. tablekey:
  13090. description: 列表Key
  13091. type: string
  13092. required:
  13093. - autoid
  13094. type: object
  13095. models.TjmdHolderDetailTradeInfo:
  13096. properties:
  13097. agreeunit:
  13098. description: 合约乘数
  13099. type: number
  13100. buyaccountid:
  13101. description: 买方账户
  13102. type: string
  13103. buyusername:
  13104. description: 买方
  13105. type: string
  13106. delistingdate:
  13107. description: 最后结算日
  13108. type: string
  13109. expiredate:
  13110. description: 到期结算价定价日
  13111. type: string
  13112. exprieprice:
  13113. description: 到期清算价格
  13114. type: string
  13115. goodscode:
  13116. description: 商品代码
  13117. type: string
  13118. goodsid:
  13119. description: 商品ID
  13120. type: integer
  13121. goodsname:
  13122. description: 商品名称(交易标的)
  13123. type: string
  13124. lasttradedate:
  13125. description: 最后交易日
  13126. type: string
  13127. listingdate:
  13128. description: 开始交易日
  13129. type: string
  13130. openprice:
  13131. description: 成交价
  13132. type: number
  13133. openqty:
  13134. description: 交易数量
  13135. type: integer
  13136. sellaccountid:
  13137. description: 卖方账户
  13138. type: string
  13139. sellusername:
  13140. description: 卖方
  13141. type: string
  13142. tradeamount:
  13143. description: 初始名义价值
  13144. type: number
  13145. tradedate:
  13146. description: 成交日期
  13147. type: string
  13148. tradeid:
  13149. description: 成交编号
  13150. type: string
  13151. type: object
  13152. models.TjmdMarketSection:
  13153. properties:
  13154. marketsectionid:
  13155. description: 市场版块ID(SEQ_MARKETSECTION)
  13156. type: integer
  13157. marketsectionname:
  13158. description: 市场版块名称
  13159. type: string
  13160. mlist:
  13161. description: 市场列表(板块下面有多少个市场)
  13162. items:
  13163. $ref: '#/definitions/models.TjmdMarketSectionConfig'
  13164. type: array
  13165. orderindex:
  13166. description: 排序
  13167. type: integer
  13168. pictureurl:
  13169. description: 图片url, 规格(90*90)
  13170. type: string
  13171. remark:
  13172. description: 备注
  13173. type: string
  13174. type: object
  13175. models.TjmdMarketSectionConfig:
  13176. properties:
  13177. auctionwrtype:
  13178. description: 仓单类型(现货交易) - 1:无仓单 2:有仓单 3;有无仓单均可
  13179. type: integer
  13180. canacceptquote:
  13181. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  13182. type: integer
  13183. cangoodsexercise:
  13184. description: '[期权]是否可现货行权- 0:否 1:是'
  13185. type: integer
  13186. cangoodsexercisetype:
  13187. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  13188. type: integer
  13189. canmanualquotestrike:
  13190. description: 是否可手动报行权价- 0:否 1:是 [期权]
  13191. type: integer
  13192. canmutistage:
  13193. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  13194. type: integer
  13195. canpreexercise:
  13196. description: '[期权]是否可预申报- 0:否 1:是'
  13197. type: integer
  13198. clearinterval:
  13199. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  13200. type: integer
  13201. contracttmp:
  13202. description: 合同模板[荷兰式][竞价式][仓单贸易]
  13203. type: string
  13204. exchareaid:
  13205. description: 所属交易所,可以没有
  13206. type: integer
  13207. financemarketid:
  13208. description: 融资回购市场ID [仓单贸易]
  13209. type: integer
  13210. goodstype:
  13211. description: 商品类型 - 1:交易商品 2:仓单商品
  13212. type: integer
  13213. hasrebate:
  13214. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  13215. type: integer
  13216. hastradecredit:
  13217. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  13218. type: integer
  13219. haswr:
  13220. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  13221. type: integer
  13222. isdeductmargin:
  13223. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  13224. type: integer
  13225. isrecordsource:
  13226. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  13227. type: integer
  13228. isreleasemargin:
  13229. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  13230. type: integer
  13231. isupdatereckonprice:
  13232. description: 输入结算价标识 - 0:系统生成 1:手工输入(自动) 2:手工输入(手动)
  13233. type: integer
  13234. listingmode:
  13235. description: 挂牌方式 1:一口价 2:浮动价 3:贸易圈 4:协议指定
  13236. type: integer
  13237. marginformula:
  13238. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  13239. type: integer
  13240. marginformula2:
  13241. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  13242. type: integer
  13243. marketid:
  13244. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  13245. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  13246. type: integer
  13247. marketname:
  13248. description: 市场名称
  13249. type: string
  13250. marketsectionid:
  13251. description: 市场版块ID(SEQ_MARKETSECTION)
  13252. type: integer
  13253. marketserviceid:
  13254. description: 市场服务ID
  13255. type: integer
  13256. marketstatus:
  13257. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  13258. type: integer
  13259. markettype:
  13260. description: 市场类型- 1:非交易服务 2:交易服务
  13261. type: integer
  13262. matchermode:
  13263. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手 - 作废
  13264. type: integer
  13265. nowrquotaflag:
  13266. description: 是否校验无仓单额度(仓单贸易) 0:否 1:是
  13267. type: integer
  13268. openmethod:
  13269. description: 开盘模式 - 0 自动 1手动
  13270. type: integer
  13271. orderindex:
  13272. description: 排序
  13273. type: integer
  13274. otcuserid:
  13275. description: 场外期权做市商[场外期权]
  13276. type: integer
  13277. outersynctime:
  13278. description: 外部同步时间点(h24:mi:ss)[场外期权]
  13279. type: string
  13280. paylaterflag:
  13281. description: 是否支持后付 - 0:不支持 1;支持 - [挂牌点选 所有权、预售挂牌支持]
  13282. type: integer
  13283. pendingflag:
  13284. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  13285. type: integer
  13286. pendingtime:
  13287. description: 待开市时间[通道交易-对冲](HH:mm)
  13288. type: string
  13289. performancetempid:
  13290. description: 履约计划模板ID - 作废
  13291. type: integer
  13292. premiumquotemode:
  13293. description: 权利金报价方式 - 1:自动 2:手动
  13294. type: integer
  13295. rebateratio:
  13296. description: 返利比率[竞价式]
  13297. type: number
  13298. reckonorder:
  13299. description: 结算顺序
  13300. type: integer
  13301. reckonpricealgorithm:
  13302. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  13303. 6.卖一价 7.买一卖一均价 8.外部结算价'
  13304. type: integer
  13305. reckonpriceparam:
  13306. description: 结算价参数
  13307. type: integer
  13308. reckontime:
  13309. description: 结算时间[通道交易-对冲](HH:mm)
  13310. type: string
  13311. roleprioritytype:
  13312. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  13313. type: integer
  13314. selllistingauditflag:
  13315. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  13316. type: integer
  13317. trademarkettype:
  13318. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  13319. type: integer
  13320. trademode:
  13321. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  13322. 21:竞拍-大宗式 22:受托竞价
  13323. type: integer
  13324. tradeproperty:
  13325. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  13326. 8:场外期权
  13327. type: integer
  13328. tradetype:
  13329. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  13330. type: integer
  13331. updatereckonpriceinterval:
  13332. description: 输入结算价时长(分钟) [1:手工输入(自动)]
  13333. type: integer
  13334. type: object
  13335. models.TjmdQuoteGoods:
  13336. properties:
  13337. buyqty:
  13338. description: 买量(暂不做, 无值, 保留字段)
  13339. type: number
  13340. decimalplace:
  13341. description: 报价小数位
  13342. type: integer
  13343. goodscode:
  13344. description: 合约代码
  13345. type: string
  13346. goodsgroupid:
  13347. description: 商品组ID(自增ID)
  13348. type: integer
  13349. goodsgroupname:
  13350. description: 商品组名称
  13351. type: string
  13352. goodsid:
  13353. description: 合约id
  13354. type: integer
  13355. goodsname:
  13356. description: 合约名称
  13357. type: string
  13358. refgoodscode:
  13359. description: 标的合约代码
  13360. type: string
  13361. refgoodsid:
  13362. description: 标的合约id
  13363. type: integer
  13364. refgoodsname:
  13365. description: 标的合约名称
  13366. type: string
  13367. sellqty:
  13368. description: 卖量(暂不做, 无值, 保留字段)
  13369. type: number
  13370. type: object
  13371. models.TjmdTodayAccountMargin:
  13372. properties:
  13373. accountid:
  13374. description: 账号ID
  13375. type: integer
  13376. goodsid:
  13377. description: 商品ID
  13378. type: integer
  13379. infoc:
  13380. $ref: '#/definitions/pb.GoodsMarginCfgStruct'
  13381. description: 配置参数
  13382. marketid:
  13383. description: 市场ID
  13384. type: integer
  13385. type: object
  13386. models.TjmdTradeOrderDetail:
  13387. properties:
  13388. buyorsell:
  13389. description: 买卖方向 0-买 1-卖
  13390. type: integer
  13391. goodsid:
  13392. description: 商品id
  13393. type: integer
  13394. marketmaxsub:
  13395. description: 市价最大偏移范围 [浮动价 - 点差]
  13396. type: number
  13397. orderid:
  13398. description: 委托单号
  13399. type: string
  13400. orderprice:
  13401. description: 期初均价
  13402. type: number
  13403. orderqty:
  13404. description: 委托数量
  13405. type: integer
  13406. pricemode:
  13407. description: '取价方式 - 1:市价 2: 限价 3:浮动价'
  13408. type: integer
  13409. userid:
  13410. description: 用户id
  13411. type: integer
  13412. username:
  13413. description: 用户名称(已脱敏)
  13414. type: string
  13415. type: object
  13416. models.TjmdTransferApply:
  13417. properties:
  13418. applyid:
  13419. description: 申请ID(自增ID SEQ_TRADE_HOLDTRANSFERAPPLY)
  13420. type: integer
  13421. applystatus:
  13422. description: 状态 - 0:未提交 1:待审核 2:审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销
  13423. type: integer
  13424. applytime:
  13425. description: 申请时间(时间)
  13426. type: string
  13427. auditremark:
  13428. description: 审核备注(拒绝原因?)
  13429. type: string
  13430. begindate:
  13431. description: 开始交易日(yyyymmdd)
  13432. type: string
  13433. buyorsell:
  13434. description: 买卖 - 0:买 1:卖
  13435. type: integer
  13436. enddate:
  13437. description: 结束交易日(yyyymmdd)
  13438. type: string
  13439. goodscode:
  13440. description: 商品代码
  13441. type: string
  13442. goodsid:
  13443. description: 商品ID
  13444. type: integer
  13445. goodsname:
  13446. description: 商品名称
  13447. type: string
  13448. marketid:
  13449. description: 市场ID
  13450. type: integer
  13451. qty:
  13452. description: 期初均价
  13453. type: number
  13454. tradeid:
  13455. description: 成交单号(关联持仓)
  13456. type: string
  13457. transferamount:
  13458. description: 转让总金额(金额)
  13459. type: number
  13460. transferprice:
  13461. description: 转让价格(协议价格)
  13462. type: number
  13463. type: object
  13464. models.TradeHolderDetail:
  13465. properties:
  13466. accountid:
  13467. description: 账号ID
  13468. type: integer
  13469. agreeunit:
  13470. description: 合约乘数
  13471. type: number
  13472. buyorsell:
  13473. description: 方向 - 0:买 1:卖
  13474. type: integer
  13475. currencyid:
  13476. description: 商品币种id
  13477. type: integer
  13478. currencyname:
  13479. description: 币种名称
  13480. type: string
  13481. decimalplace:
  13482. description: 商品价格小数位
  13483. type: integer
  13484. enumdicname:
  13485. description: 商品单位名称
  13486. type: string
  13487. expirecycle:
  13488. description: 行权周期(天) - 1:滚动行权时填写
  13489. type: integer
  13490. expiredate:
  13491. description: 行权日(yyyyMMdd) - 到期日
  13492. type: string
  13493. expiretype:
  13494. description: 行权日类型 - 1:滚动行权 2:固定日行权
  13495. type: integer
  13496. freezeqty:
  13497. description: 期初均价
  13498. type: number
  13499. goodscode:
  13500. description: 商品代码
  13501. type: string
  13502. goodsid:
  13503. description: 商品ID
  13504. type: integer
  13505. goodsname:
  13506. description: 商品名称
  13507. type: string
  13508. goodunitid:
  13509. description: 商品单位id
  13510. type: integer
  13511. holderamount:
  13512. description: 持仓金额
  13513. type: number
  13514. holdercredit:
  13515. description: 持仓授信金额
  13516. type: number
  13517. holderdays:
  13518. description: 剩余冻结天数
  13519. type: integer
  13520. holderprice:
  13521. description: 持仓价格
  13522. type: number
  13523. holderqty:
  13524. description: 期初均价
  13525. type: number
  13526. isconfirmexercise:
  13527. description: 是否确认行权- 0:否 1:是
  13528. type: integer
  13529. ispreexercise:
  13530. description: 是否预申报- 0:否 1:是 2:不可行权
  13531. type: integer
  13532. marketid:
  13533. description: 市场id
  13534. type: integer
  13535. marketname:
  13536. description: 市场名称
  13537. type: string
  13538. openprice:
  13539. description: 建仓价格
  13540. type: number
  13541. openqty:
  13542. description: 期初均价
  13543. type: number
  13544. optiontype:
  13545. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  13546. type: integer
  13547. preexerciseprice:
  13548. description: 预申报价格
  13549. type: number
  13550. premium:
  13551. description: 权利金
  13552. type: number
  13553. qtydecimalplace:
  13554. description: 商品成交量小数位
  13555. type: integer
  13556. refgoodscode:
  13557. description: 标的合约代码
  13558. type: string
  13559. refgoodsid:
  13560. description: 标的合约id
  13561. type: integer
  13562. releaseamount:
  13563. description: 释放持仓金额
  13564. type: number
  13565. releaseholdercredit:
  13566. description: 释放持仓授信金额
  13567. type: number
  13568. taname:
  13569. description: 资金账号名称
  13570. type: string
  13571. tradeamount:
  13572. description: 成交金额
  13573. type: number
  13574. tradedate:
  13575. description: 交易日(yyyyMMdd)
  13576. type: string
  13577. tradeid:
  13578. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13579. type: string
  13580. trademode:
  13581. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  13582. 21:竞拍-大宗式 22:受托竞价 46:掉期
  13583. type: integer
  13584. tradeproperty:
  13585. description: 交易属性
  13586. type: integer
  13587. tradetime:
  13588. description: 交易时间
  13589. type: string
  13590. userid:
  13591. description: 用户id
  13592. type: integer
  13593. username:
  13594. description: 用户名称
  13595. type: string
  13596. type: object
  13597. models.Unlinkermcphedgeplan:
  13598. properties:
  13599. accountid:
  13600. description: 期货账户ID - 作废
  13601. type: integer
  13602. accountname:
  13603. description: 交易用户
  13604. type: string
  13605. applyid:
  13606. description: 申请人
  13607. type: integer
  13608. applysrc:
  13609. description: 申请来源 - 1:管理端 2:终端
  13610. type: integer
  13611. applytime:
  13612. description: 申请时间
  13613. type: string
  13614. areauserid:
  13615. description: '[企业ID]机构ID'
  13616. type: integer
  13617. auditid:
  13618. description: 审核人
  13619. type: integer
  13620. auditremark:
  13621. description: 审核备注
  13622. type: string
  13623. auditsrc:
  13624. description: 审核来源 - 1:管理端 2:终端
  13625. type: integer
  13626. audittime:
  13627. description: 审核时间
  13628. type: string
  13629. audittradedate:
  13630. description: 审核交易日(yyyyMMdd)
  13631. type: string
  13632. biztype:
  13633. description: 业务类型 - 1:套保
  13634. type: integer
  13635. contracttype:
  13636. description: 计划类型 - 1:采购 -1:销售
  13637. type: integer
  13638. convertfactor:
  13639. description: 标仓系数 - 作废
  13640. type: number
  13641. createtime:
  13642. description: 创建时间
  13643. type: string
  13644. currencyid:
  13645. description: 结算币种ID - 作废
  13646. type: integer
  13647. deliverygoodsid:
  13648. description: 现货品种ID
  13649. type: integer
  13650. enumdicname:
  13651. description: 结算币种
  13652. type: string
  13653. hedgeplanid:
  13654. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  13655. type: string
  13656. hedgeplanno:
  13657. description: '[计划编号]套保计划编号,模糊查询'
  13658. type: string
  13659. hedgeplanstatus:
  13660. description: '[状态]套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回'
  13661. type: integer
  13662. isrelated:
  13663. description: 是否已关联计划项目 - 0:否 1:是
  13664. type: integer
  13665. planqty:
  13666. description: '[计划量]计划数量'
  13667. type: number
  13668. plantime:
  13669. description: 计划时间
  13670. type: string
  13671. producttype:
  13672. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  13673. type: integer
  13674. remark:
  13675. description: 备注
  13676. type: string
  13677. spotgoodsdesc:
  13678. description: 商品型号
  13679. type: string
  13680. tradedate:
  13681. description: 交易日(yyyyMMdd)
  13682. type: string
  13683. tradeuserid:
  13684. description: 交易用户ID
  13685. type: integer
  13686. updatetime:
  13687. description: 更新时间
  13688. type: string
  13689. wrstandardid:
  13690. description: 现货商品ID
  13691. type: integer
  13692. wrstandardname:
  13693. description: 现货商品,模糊查询
  13694. type: string
  13695. required:
  13696. - areauserid
  13697. type: object
  13698. models.Useraccount:
  13699. properties:
  13700. accountname:
  13701. description: 账户名称(机构名称)
  13702. type: string
  13703. accountstatus:
  13704. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  13705. type: integer
  13706. applysrc:
  13707. description: 申请来源 - 1:管理端 2:终端
  13708. type: integer
  13709. auditremark:
  13710. description: 审核备注
  13711. type: string
  13712. auditsrc:
  13713. description: 审核来源 - 1:管理端 2:终端
  13714. type: integer
  13715. audittime:
  13716. description: 审核时间
  13717. type: string
  13718. audituserid:
  13719. description: 审核人
  13720. type: integer
  13721. broker:
  13722. description: 所属经纪人ID
  13723. type: integer
  13724. canceltime:
  13725. description: 销户时间
  13726. type: string
  13727. canceluserid:
  13728. description: 销户人
  13729. type: integer
  13730. canrecommend:
  13731. description: 是否可推荐 - 0:不可 1;可
  13732. type: integer
  13733. createtime:
  13734. description: 创建时间
  13735. type: string
  13736. creatorid:
  13737. description: 创建人
  13738. type: integer
  13739. hasauth:
  13740. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  13741. type: integer
  13742. isanonymous:
  13743. description: 是否匿名下单 - 0:否 1:是
  13744. type: integer
  13745. maxinvestornum:
  13746. description: 最大用户数(经纪会员下投资者个数)
  13747. type: integer
  13748. memberuserid:
  13749. description: 所属会员ID
  13750. type: integer
  13751. modifierid:
  13752. description: 修改人
  13753. type: integer
  13754. modifyremark:
  13755. description: 变更备注
  13756. type: string
  13757. modifystatus:
  13758. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  13759. type: integer
  13760. modifytime:
  13761. description: 修改时间
  13762. type: string
  13763. parenttopuser:
  13764. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  13765. type: string
  13766. parentuserid:
  13767. description: 所属机构ID
  13768. type: integer
  13769. reckonaccountid:
  13770. description: 默认结算资金账号ID(机构分润使用) 作废
  13771. type: integer
  13772. refercount:
  13773. description: 推荐总人数
  13774. type: integer
  13775. refereeuserid:
  13776. description: 推荐人ID
  13777. type: integer
  13778. refernum:
  13779. description: 推荐码
  13780. type: string
  13781. rootuserid:
  13782. description: 根用户ID
  13783. type: integer
  13784. subaccountlevel:
  13785. description: 子账户层数
  13786. type: integer
  13787. subarealevelpath:
  13788. description: 子机构层级路径(逗号分隔,首尾加逗号)
  13789. type: string
  13790. userid:
  13791. description: 用户ID
  13792. type: integer
  13793. usertype:
  13794. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  13795. type: integer
  13796. required:
  13797. - userid
  13798. type: object
  13799. models.Userfavoritegoods:
  13800. properties:
  13801. goodsid:
  13802. description: 商品ID
  13803. type: integer
  13804. required:
  13805. - goodsid
  13806. type: object
  13807. models.Userinfo:
  13808. properties:
  13809. address:
  13810. description: 地址
  13811. type: string
  13812. attachment1:
  13813. description: 附件1
  13814. type: string
  13815. attachment2:
  13816. description: 附件2
  13817. type: string
  13818. bankaccount:
  13819. description: 银行帐号 (加密存储)
  13820. type: string
  13821. bankaccountname:
  13822. description: 收款人名称
  13823. type: string
  13824. bankcardfrontphotourl:
  13825. description: 银行卡正面照地址
  13826. type: string
  13827. bankid:
  13828. description: 银行编码
  13829. type: string
  13830. bankname:
  13831. description: 银行名称
  13832. type: string
  13833. biznature:
  13834. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  13835. type: integer
  13836. bizscope:
  13837. description: 企业经营范围(企业)
  13838. type: string
  13839. cardbackphotourl:
  13840. description: 证件背面图片地址
  13841. type: string
  13842. cardfrontphotourl:
  13843. description: 证件正面图片地址
  13844. type: string
  13845. cardnum:
  13846. description: 证件号码(加密存储)
  13847. type: string
  13848. cardtypeid:
  13849. description: 证件类型ID
  13850. type: integer
  13851. cityid:
  13852. description: 市
  13853. type: integer
  13854. company:
  13855. description: 公司(个人)
  13856. type: string
  13857. contactname:
  13858. description: 联系人
  13859. type: string
  13860. countryid:
  13861. description: 国家
  13862. type: integer
  13863. createtime:
  13864. description: 创建时间
  13865. type: string
  13866. creatorid:
  13867. description: 创建人
  13868. type: integer
  13869. customername:
  13870. description: 客户名称(企业名称)
  13871. type: string
  13872. districtid:
  13873. description: 地区
  13874. type: integer
  13875. email:
  13876. description: 邮件(加密存储)
  13877. type: string
  13878. fax:
  13879. description: 传真(加密存储)
  13880. type: string
  13881. halfbodyphotourl:
  13882. description: 半身照地址
  13883. type: string
  13884. hasencrypt:
  13885. description: 数据是否已加密 - 0:未加密 1:已加密
  13886. type: integer
  13887. headurl:
  13888. description: 头像地址
  13889. type: string
  13890. legalcardbackphotourl:
  13891. description: 法人身份证背面照地址
  13892. type: string
  13893. legalcardfrontphotourl:
  13894. description: 法人身份证正面照地址
  13895. type: string
  13896. legalpersonname:
  13897. description: 法人姓名(企业)
  13898. type: string
  13899. mobile:
  13900. description: 手机号码(加密存储)
  13901. type: string
  13902. mobile2:
  13903. description: 手机号码[明文-尚志]
  13904. type: string
  13905. modifierid:
  13906. description: 修改人
  13907. type: integer
  13908. modifiertime:
  13909. description: 修改时间
  13910. type: string
  13911. needinvoice:
  13912. description: 是否需要发票 - 0:不需要 1:需要
  13913. type: integer
  13914. nickname:
  13915. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  13916. type: string
  13917. openmode:
  13918. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  13919. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  13920. type: integer
  13921. otherurl:
  13922. description: 其它图片地址[使用分号分隔]
  13923. type: string
  13924. postalcode:
  13925. description: 邮政编码
  13926. type: string
  13927. provinceid:
  13928. description: 省
  13929. type: integer
  13930. qq:
  13931. description: QQ(加密存储
  13932. type: string
  13933. remark:
  13934. description: 备注
  13935. type: string
  13936. sex:
  13937. description: '用户性别 0: 女 1: 男'
  13938. type: integer
  13939. signpdfurl:
  13940. description: 签约pdf文件
  13941. type: string
  13942. telphone:
  13943. description: 联系电话(加密存储)
  13944. type: string
  13945. userid:
  13946. description: 用户ID
  13947. type: integer
  13948. userinfotype:
  13949. description: 用户信息类型 - 1:个人 2:企业
  13950. type: integer
  13951. userstatus:
  13952. description: 用户状态 - 1:正常 2:注销
  13953. type: integer
  13954. usertype:
  13955. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  13956. type: integer
  13957. wechat:
  13958. description: 微信(加密存储)
  13959. type: string
  13960. wskhinfo:
  13961. description: 开户申请信息(JSON)
  13962. type: string
  13963. required:
  13964. - userid
  13965. type: object
  13966. models.WRSConverTDetail:
  13967. properties:
  13968. convertratio:
  13969. description: 套保系数
  13970. type: number
  13971. deliverygoodscode:
  13972. description: 现货商品代码
  13973. type: string
  13974. deliverygoodsid:
  13975. description: 现货品种ID
  13976. type: integer
  13977. deliverygoodsname:
  13978. description: 现货商品名称
  13979. type: string
  13980. enumdicname:
  13981. description: 单位名称
  13982. type: string
  13983. goodsunitid:
  13984. description: 套保品种单位id
  13985. type: integer
  13986. middlegoodscode:
  13987. description: 套保品种代码
  13988. type: string
  13989. middlegoodsid:
  13990. description: 套保品种ID
  13991. type: integer
  13992. middlegoodsname:
  13993. description: 套保品种名称
  13994. type: string
  13995. modifytime:
  13996. description: 修改时间
  13997. type: string
  13998. wrstandardid:
  13999. description: 品类ID
  14000. type: integer
  14001. type: object
  14002. models.WRStandardInfo:
  14003. properties:
  14004. areauserid:
  14005. description: 所属机构
  14006. type: integer
  14007. convertfactor:
  14008. description: 标仓系数
  14009. type: number
  14010. createtime:
  14011. description: 创建时间
  14012. type: string
  14013. creatorid:
  14014. description: 创建人
  14015. type: integer
  14016. deliverygoodsid:
  14017. description: 品种ID
  14018. type: integer
  14019. deliverygoodsname:
  14020. description: 交割商品名称
  14021. type: string
  14022. factoryitemjson:
  14023. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  14024. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  14025. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  14026. 逗号分隔'
  14027. type: string
  14028. isvalid:
  14029. description: 是否有效 - 0:无效 1:有效
  14030. type: integer
  14031. minivalue:
  14032. description: 最小变动值
  14033. type: integer
  14034. minivaluedp:
  14035. description: 最小变动值小数位
  14036. type: integer
  14037. realminivalue:
  14038. description: 实际最小变动值
  14039. type: integer
  14040. realminivaluedp:
  14041. description: 实际最小变动值小数位
  14042. type: integer
  14043. remark:
  14044. description: 备注
  14045. type: string
  14046. unitid:
  14047. description: 单位ID
  14048. type: integer
  14049. unitname:
  14050. description: 单位
  14051. type: string
  14052. updatetime:
  14053. description: 更新时间
  14054. type: string
  14055. updatorid:
  14056. description: 更新人
  14057. type: integer
  14058. wrsstatus:
  14059. description: 状态 - 作废 - 0:未激活 1:正常
  14060. type: integer
  14061. wrstandardcode:
  14062. description: 现货品类代码
  14063. type: string
  14064. wrstandardid:
  14065. description: 现货品类ID(SEQ_WRSTANDARD)
  14066. type: integer
  14067. wrstandardname:
  14068. description: 现货品类名称
  14069. type: string
  14070. required:
  14071. - wrstandardid
  14072. type: object
  14073. models.WRTradeBargainApply:
  14074. properties:
  14075. accountid:
  14076. description: 摘牌资金账号
  14077. type: integer
  14078. applyprice:
  14079. description: 申请价格(议价价格)
  14080. type: string
  14081. applyqty:
  14082. description: 摘牌数量(议价数量)
  14083. type: number
  14084. applyremark:
  14085. description: 申请备注
  14086. type: string
  14087. applystatus:
  14088. description: 申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  14089. type: integer
  14090. applytime:
  14091. description: 申请时间(议价时间)
  14092. type: string
  14093. begindate:
  14094. description: 开始交易日(yyyymmdd)
  14095. type: string
  14096. buyorsell:
  14097. description: 买卖(挂牌类型) - 0:买 1:卖
  14098. type: integer
  14099. confirmremark:
  14100. description: 确认备注
  14101. type: string
  14102. confirmtime:
  14103. description: 确认时间
  14104. type: string
  14105. confirmuserid:
  14106. description: 确认人
  14107. type: integer
  14108. deliverygoodscode:
  14109. description: 品种代码
  14110. type: string
  14111. deliverygoodsid:
  14112. description: 品种ID
  14113. type: integer
  14114. deliverygoodsname:
  14115. description: 品种名称
  14116. type: string
  14117. deliverymonth:
  14118. description: 交收月
  14119. type: string
  14120. enddate:
  14121. description: 结束交易日(yyyymmdd)
  14122. type: string
  14123. enumdicname:
  14124. description: 单位名称
  14125. type: string
  14126. fixedprice:
  14127. description: 期初均价
  14128. type: number
  14129. handlestatus:
  14130. description: 处理状态
  14131. type: integer
  14132. marginvalue:
  14133. description: 期初均价
  14134. type: number
  14135. marketid:
  14136. description: 市场ID
  14137. type: integer
  14138. matchaccountid:
  14139. description: 挂牌方资金账号
  14140. type: integer
  14141. matchuserid:
  14142. description: 挂牌方用户id
  14143. type: integer
  14144. matchusername:
  14145. description: 挂牌方用户名称(已脱敏)
  14146. type: string
  14147. minivalue:
  14148. description: 现货商品最小变动值
  14149. type: integer
  14150. optioncompare:
  14151. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14152. type: string
  14153. orderqty:
  14154. description: 挂牌数量
  14155. type: integer
  14156. refprice:
  14157. description: 参考价格
  14158. type: string
  14159. retcode:
  14160. description: 委托返回代码
  14161. type: integer
  14162. templatename:
  14163. description: 履约方式(履约模板名称)
  14164. type: string
  14165. tradedate:
  14166. description: 交易日(yyyyMMdd)
  14167. type: string
  14168. userid:
  14169. description: 摘牌人用户ID(议价人ID)
  14170. type: integer
  14171. username:
  14172. description: 议价人名字(已脱敏)
  14173. type: string
  14174. validtime:
  14175. description: 有效期限
  14176. type: string
  14177. warehouseid:
  14178. description: 仓库ID
  14179. type: integer
  14180. warehousename:
  14181. description: 仓库名称
  14182. type: string
  14183. wrbargainid:
  14184. description: 议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)
  14185. type: string
  14186. wrfactortypeid:
  14187. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  14188. type: string
  14189. wrfactortypename:
  14190. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14191. type: string
  14192. wrstandardcode:
  14193. description: 现货商品代码
  14194. type: string
  14195. wrstandardid:
  14196. description: 现货商品ID
  14197. type: integer
  14198. wrstandardname:
  14199. description: 商品名称
  14200. type: string
  14201. wrtradeorderid:
  14202. description: 关联委托单ID
  14203. type: string
  14204. wrtypename:
  14205. description: 商品
  14206. type: string
  14207. type: object
  14208. models.Warehouseinfo:
  14209. properties:
  14210. address:
  14211. description: 详细地址
  14212. type: string
  14213. areauserid:
  14214. description: 所属机构
  14215. type: integer
  14216. autoid:
  14217. description: 自增ID
  14218. type: integer
  14219. cityid:
  14220. description: 市
  14221. type: integer
  14222. contactname:
  14223. description: 联系人
  14224. type: string
  14225. contactnum:
  14226. description: 联系电话
  14227. type: string
  14228. countryid:
  14229. description: 国家
  14230. type: integer
  14231. createtime:
  14232. description: 创建时间
  14233. type: string
  14234. districtid:
  14235. description: 区
  14236. type: integer
  14237. hasvideo:
  14238. description: 是否有视频 - 0:无 1:有
  14239. type: integer
  14240. provinceid:
  14241. description: 省
  14242. type: integer
  14243. remark:
  14244. description: 审核备注
  14245. type: string
  14246. videourl:
  14247. description: 视频地址
  14248. type: string
  14249. warehousecode:
  14250. description: 仓库代码
  14251. type: string
  14252. warehousename:
  14253. description: 仓库名称
  14254. type: string
  14255. warehousestatus:
  14256. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  14257. type: integer
  14258. warehousetype:
  14259. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  14260. type: integer
  14261. required:
  14262. - autoid
  14263. - warehousecode
  14264. type: object
  14265. models.WrAverageTradePrice:
  14266. properties:
  14267. averageprice:
  14268. description: 期初均价
  14269. type: number
  14270. tradedate:
  14271. description: 交易日yyyymm
  14272. type: string
  14273. type: object
  14274. models.WrBrandAndYears:
  14275. properties:
  14276. brandlst:
  14277. description: 品牌列表
  14278. items:
  14279. $ref: '#/definitions/models.DgFactoryItem'
  14280. type: array
  14281. yearslst:
  14282. description: 年份列表
  14283. items:
  14284. $ref: '#/definitions/models.DgFactoryItem'
  14285. type: array
  14286. type: object
  14287. models.WrBsGoodsInfo:
  14288. properties:
  14289. buyorsell:
  14290. description: 买卖方向 0-买 1-卖
  14291. type: integer
  14292. goodsid:
  14293. description: 交易合约ID
  14294. type: integer
  14295. lstitem:
  14296. description: 商品信息项
  14297. items:
  14298. $ref: '#/definitions/models.WrTypeItem'
  14299. type: array
  14300. lststep:
  14301. description: 履约规则
  14302. items:
  14303. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  14304. type: array
  14305. type: object
  14306. models.WrBuybackDetail:
  14307. properties:
  14308. buybackamount:
  14309. description: 回购金额
  14310. type: number
  14311. buybackqty:
  14312. description: 回购数量
  14313. type: number
  14314. buybackreleasemargin:
  14315. description: 回购释放保证金
  14316. type: number
  14317. buybacktime:
  14318. description: 回购时间
  14319. type: string
  14320. errordesc:
  14321. description: 错误描述
  14322. type: string
  14323. handlestatus:
  14324. description: 处理 - 1:待处理 2:处理成功 3:处理失败
  14325. type: integer
  14326. relatedwrid:
  14327. description: 关联仓单ID
  14328. type: integer
  14329. scfcontractid:
  14330. description: SCF合同ID
  14331. type: string
  14332. scfwrbuybackid:
  14333. description: SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)
  14334. type: integer
  14335. tradedate:
  14336. description: 交易日(yyyyMMdd)
  14337. type: string
  14338. type: object
  14339. models.WrClientAdSpaceConfig:
  14340. properties:
  14341. adspaceid:
  14342. description: 广告位ID
  14343. type: integer
  14344. adspacename:
  14345. description: 广告位名称
  14346. type: string
  14347. adspacetype:
  14348. description: 广告位类型 - 1:固定广告位
  14349. type: integer
  14350. areauserid:
  14351. description: 所属机构ID
  14352. type: integer
  14353. createdate:
  14354. description: 创建时间
  14355. type: string
  14356. imagepath:
  14357. description: 图片
  14358. type: string
  14359. modifierid:
  14360. description: 操作人
  14361. type: integer
  14362. recsize:
  14363. description: 推荐尺寸
  14364. type: string
  14365. title:
  14366. description: 标题
  14367. type: string
  14368. updatedate:
  14369. description: 更新时间
  14370. type: string
  14371. urlcontent:
  14372. description: 链接(地址\商品ID\功能菜单Key\appid)
  14373. type: string
  14374. urltype:
  14375. description: 链接类型 - 0:无 1:直接地址 2:商品ID 3:图片详情 4:App功能 5:微信小程序
  14376. type: integer
  14377. type: object
  14378. models.WrDeliveryAvalidHoldLB:
  14379. properties:
  14380. accountid:
  14381. description: 资金账号
  14382. type: integer
  14383. avalidqty:
  14384. description: 数量(可点选数量)
  14385. type: number
  14386. deliverygoodsid:
  14387. description: 品种id
  14388. type: integer
  14389. enumdicname:
  14390. description: 单位名称
  14391. type: string
  14392. goodsid:
  14393. description: x合约商品id
  14394. type: integer
  14395. ladingbillid:
  14396. description: 提单id
  14397. type: string
  14398. pgoodscode:
  14399. description: p商品代码(点价合约)
  14400. type: string
  14401. pgoodsid:
  14402. description: p商品id(点价合约)
  14403. type: integer
  14404. pgoodsname:
  14405. description: p商品名称(点价合约)
  14406. type: string
  14407. pricemove:
  14408. description: 升贴水
  14409. type: number
  14410. subnum:
  14411. description: 提单子id
  14412. type: integer
  14413. userid:
  14414. description: 用户id
  14415. type: integer
  14416. username:
  14417. description: 仓单持有人
  14418. type: string
  14419. warehousecode:
  14420. description: 仓库代码
  14421. type: string
  14422. warehouseid:
  14423. description: 仓库id
  14424. type: integer
  14425. warehousename:
  14426. description: 仓库名称
  14427. type: string
  14428. wrfactortypeid:
  14429. description: 仓单要素id
  14430. type: string
  14431. wrstandardcode:
  14432. description: 品代码
  14433. type: string
  14434. wrstandardid:
  14435. description: 品类d
  14436. type: integer
  14437. wrstandardname:
  14438. description: 品类名称
  14439. type: string
  14440. wrtypename:
  14441. description: 商品
  14442. type: string
  14443. xgoodscode:
  14444. description: x合约代码
  14445. type: string
  14446. xgoodsname:
  14447. description: x合约名称
  14448. type: string
  14449. type: object
  14450. models.WrDeliveryDetail:
  14451. properties:
  14452. accountid:
  14453. description: 账号ID
  14454. type: integer
  14455. averageprice:
  14456. description: 期初均价
  14457. type: number
  14458. begindate:
  14459. description: 开始交易日(yyyymmdd)
  14460. type: string
  14461. buyorsell:
  14462. description: 方向 - 0:买 1:卖
  14463. type: integer
  14464. deliveryamount:
  14465. description: 货款金额(X总货款+P总货款)
  14466. type: number
  14467. deliveryid:
  14468. description: 交割单号(121+Unix秒时间戳(10位)+xxxxxx)
  14469. type: string
  14470. deliveryorderid:
  14471. description: 申报单号
  14472. type: string
  14473. deliverypricemove:
  14474. description: 升贴水(升贴水总额)
  14475. type: number
  14476. deliveryqty:
  14477. description: 交收数量(点选数量)
  14478. type: number
  14479. deliverystatus:
  14480. description: 状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成
  14481. type: integer
  14482. deliverytime:
  14483. description: 交割时间
  14484. type: string
  14485. deliverytotalamount:
  14486. description: 交收金额
  14487. type: number
  14488. enddate:
  14489. description: 结束交易日(yyyymmdd)
  14490. type: string
  14491. enumdicname:
  14492. description: 单位名称
  14493. type: string
  14494. matchaccountid:
  14495. description: 对手账号ID
  14496. type: integer
  14497. matchusername:
  14498. description: 对手方名称(仓单持有人)
  14499. type: string
  14500. p1goodsremainamount:
  14501. description: 点价货款 ps:当PPRICEMODE=2时, 界面需显示"-"
  14502. type: number
  14503. pdeliverycloseqty:
  14504. description: p合约平仓数量
  14505. type: number
  14506. pdeliveryprice:
  14507. description: 点价价格 ps:当PPRICEMODE=2时, 界面需显示"-"
  14508. type: number
  14509. pgoodscode:
  14510. description: 商品代码
  14511. type: string
  14512. pgoodsid:
  14513. description: p点选合约id
  14514. type: integer
  14515. pgoodsname:
  14516. description: 商品名称
  14517. type: string
  14518. ppricemode:
  14519. description: 点价价格方式 - 1:商品价 2:固定值
  14520. type: integer
  14521. tradedate:
  14522. description: 交易日(yyyymmdd)
  14523. type: string
  14524. userid:
  14525. description: 用户id
  14526. type: integer
  14527. username:
  14528. description: 用户名称
  14529. type: string
  14530. warehousename:
  14531. description: 仓库名称
  14532. type: string
  14533. wrfactortypeid:
  14534. description: 仓单要素类型ID
  14535. type: string
  14536. wrtypename:
  14537. description: 商品
  14538. type: string
  14539. xdeliverycloseqty:
  14540. description: 合约数量
  14541. type: number
  14542. xgoodsamount:
  14543. description: 期初均价
  14544. type: number
  14545. xgoodscode:
  14546. description: 商品代码
  14547. type: string
  14548. xgoodsid:
  14549. description: x交易合约ID
  14550. type: integer
  14551. xgoodsname:
  14552. description: 商品名称
  14553. type: string
  14554. type: object
  14555. models.WrDeliveryGoodsSection:
  14556. properties:
  14557. dglst:
  14558. description: 板块商品列表
  14559. items:
  14560. $ref: '#/definitions/models.WrDeliveryGoodsSectionConfig'
  14561. type: array
  14562. imagepath:
  14563. description: 图片地址
  14564. type: string
  14565. orderindex:
  14566. description: 排序
  14567. type: integer
  14568. sectionid:
  14569. description: 版块ID (SEQ_DELIVERYGOODSSECTION) - 自增100开始, 前面ID预留给SectionType
  14570. = 1的版块1 - 云融指数
  14571. type: integer
  14572. sectionname:
  14573. description: 版块名称
  14574. type: string
  14575. sectiontype:
  14576. description: 版块类型 - 1:指数版块 2:普通版块
  14577. type: integer
  14578. type: object
  14579. models.WrDeliveryGoodsSectionConfig:
  14580. properties:
  14581. deliverygoodscode:
  14582. description: 现货商品代码
  14583. type: string
  14584. deliverygoodsid:
  14585. description: 现货品种ID(SEQ_DELIVERYGOODS)
  14586. type: integer
  14587. deliverygoodsname:
  14588. description: 现货商品名称
  14589. type: string
  14590. orderindex:
  14591. description: 排序
  14592. type: integer
  14593. type: object
  14594. models.WrDraftUserInfo:
  14595. properties:
  14596. address:
  14597. description: 地址
  14598. type: string
  14599. attachment1:
  14600. description: 附件1
  14601. type: string
  14602. attachment2:
  14603. description: 附件2
  14604. type: string
  14605. attachment3:
  14606. description: 附件3
  14607. type: string
  14608. attachment4:
  14609. description: 附件4
  14610. type: string
  14611. attachment5:
  14612. description: 附件5
  14613. type: string
  14614. bankaccount:
  14615. description: 银行帐号 (加密存储)
  14616. type: string
  14617. bankaccountname:
  14618. description: 收款人名称
  14619. type: string
  14620. bankcardfrontphotourl:
  14621. description: 银行卡正面照地址
  14622. type: string
  14623. bankid:
  14624. description: 银行编码
  14625. type: string
  14626. bankname:
  14627. description: 银行名称
  14628. type: string
  14629. birthday:
  14630. description: 生日(个人:年月日)
  14631. type: string
  14632. biznature:
  14633. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  14634. type: integer
  14635. bizscope:
  14636. description: 企业经营范围(企业)
  14637. type: string
  14638. biztype:
  14639. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  14640. type: integer
  14641. cardbackphotourl:
  14642. description: 证件背面图片地址
  14643. type: string
  14644. cardfrontphotourl:
  14645. description: 证件正面图片地址
  14646. type: string
  14647. cardnum:
  14648. description: 证件号码(加密存储)
  14649. type: string
  14650. cardtypeid:
  14651. description: 证件类型ID
  14652. type: integer
  14653. cityid:
  14654. description: 市
  14655. type: integer
  14656. company:
  14657. description: 公司(个人)
  14658. type: string
  14659. contactcardbackphotourl:
  14660. description: 联系人证件背面图片地址
  14661. type: string
  14662. contactcardfrontphotourl:
  14663. description: 联系人证件正面图片地址
  14664. type: string
  14665. contactname:
  14666. description: 联系人
  14667. type: string
  14668. countryid:
  14669. description: 国家
  14670. type: integer
  14671. createtime:
  14672. description: 创建时间
  14673. type: string
  14674. creatorid:
  14675. description: 创建人
  14676. type: integer
  14677. creditquota:
  14678. description: 授信额度(金瑞)
  14679. type: number
  14680. customername:
  14681. description: 客户名称(企业名称)
  14682. type: string
  14683. districtid:
  14684. description: 地区
  14685. type: integer
  14686. email:
  14687. description: 邮件(加密存储)
  14688. type: string
  14689. fax:
  14690. description: 传真(加密存储)
  14691. type: string
  14692. halfbodyphotourl:
  14693. description: 半身照地址
  14694. type: string
  14695. hasencrypt:
  14696. description: 数据是否已加密 - 0:未加密 1:已加密
  14697. type: integer
  14698. headurl:
  14699. description: 头像地址
  14700. type: string
  14701. legalcardbackphotourl:
  14702. description: 法人身份证背面照地址
  14703. type: string
  14704. legalcardfrontphotourl:
  14705. description: 法人身份证正面照地址
  14706. type: string
  14707. legalpersonname:
  14708. description: 法人姓名(企业)
  14709. type: string
  14710. mobile:
  14711. description: 手机号码(加密存储)
  14712. type: string
  14713. mobile2:
  14714. description: 手机号码[明文-尚志]
  14715. type: string
  14716. modifierid:
  14717. description: 修改人
  14718. type: integer
  14719. modifiertime:
  14720. description: 修改时间
  14721. type: string
  14722. needinvoice:
  14723. description: 是否需要发票 - 0:不需要 1:需要
  14724. type: integer
  14725. nickname:
  14726. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  14727. type: string
  14728. openmode:
  14729. description: "开户方式 - 1:管理端开户 2\t:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  14730. 6:苹果手机端注册 7:PC交易端注册"
  14731. type: integer
  14732. otherurl:
  14733. description: 其它图片地址[使用分号分隔]
  14734. type: string
  14735. postalcode:
  14736. description: 邮政编码
  14737. type: string
  14738. provinceid:
  14739. description: 省
  14740. type: integer
  14741. proxystatementurl:
  14742. description: 授权委托书
  14743. type: string
  14744. qq:
  14745. description: QQ(加密存储
  14746. type: string
  14747. remark:
  14748. description: 备注
  14749. type: string
  14750. sex:
  14751. description: '用户性别 0: 女 1: 男'
  14752. type: integer
  14753. signpdfurl:
  14754. description: 签约pdf文件
  14755. type: string
  14756. taxpayernum:
  14757. description: 纳税人识别号
  14758. type: string
  14759. telphone:
  14760. description: 联系电话(加密存储)
  14761. type: string
  14762. userid:
  14763. description: 用户ID
  14764. type: integer
  14765. userinfotype:
  14766. description: 用户信息类型 - 1:个人 2:企业
  14767. type: integer
  14768. userstatus:
  14769. description: 用户状态 - 1:正常 2:注销
  14770. type: integer
  14771. usertype:
  14772. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者
  14773. type: integer
  14774. wechat:
  14775. description: 微信(加密存储)
  14776. type: string
  14777. wskhinfo:
  14778. description: 开户申请信息(JSON)
  14779. type: string
  14780. type: object
  14781. models.WrFAProductDetail:
  14782. properties:
  14783. accountid:
  14784. description: 资金账号
  14785. type: integer
  14786. areauserid:
  14787. description: 金融机构ID
  14788. type: integer
  14789. financingdays:
  14790. description: 天数(天)
  14791. type: integer
  14792. interestminlen:
  14793. description: 最小起息天数
  14794. type: integer
  14795. interestrate:
  14796. description: 利率
  14797. type: number
  14798. interestratemode:
  14799. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  14800. type: integer
  14801. interestsettlemode:
  14802. description: 结息方式 - 1:按日结息 3:按月结息
  14803. type: integer
  14804. interestsettlevalue:
  14805. description: 结息方式值
  14806. type: integer
  14807. isautoloan:
  14808. description: 是否自动放款 0-手动 1-自动 (当为自动放款时,显示"放款快")
  14809. type: integer
  14810. loantag:
  14811. description: '放款标识: "放款快" 或者为空'
  14812. type: string
  14813. marginratio:
  14814. description: 保证金比率质押率 - [仓单质押]
  14815. type: number
  14816. productdetailid:
  14817. description: 产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)
  14818. type: integer
  14819. productid:
  14820. description: 金融产品ID
  14821. type: integer
  14822. productname:
  14823. description: 产品名称
  14824. type: string
  14825. updatetime:
  14826. description: 更新时间
  14827. type: string
  14828. username:
  14829. description: 融出方
  14830. type: string
  14831. type: object
  14832. models.WrFactorTypeInfo:
  14833. properties:
  14834. deliverygoodscode:
  14835. description: 品种代码
  14836. type: string
  14837. deliverygoodsname:
  14838. description: 品种名称
  14839. type: string
  14840. dgfactoryitemid:
  14841. description: 选择项id
  14842. type: integer
  14843. dgfactoryitemtypeid:
  14844. description: 要素选择项ID (1-仓库 2-品牌)
  14845. type: integer
  14846. dgfactoryitemvalue:
  14847. description: 要素项值
  14848. type: string
  14849. itemtypename:
  14850. description: 要素项名称
  14851. type: string
  14852. optioncompare:
  14853. description: 选择比较串
  14854. type: string
  14855. warehouseid:
  14856. description: 仓库id
  14857. type: integer
  14858. wrfactortypeid:
  14859. description: 仓单要素ID
  14860. type: string
  14861. wrfactortypename:
  14862. description: 要素名称
  14863. type: string
  14864. wrfactortypename2:
  14865. description: 要素名称(不含仓库)
  14866. type: string
  14867. wrstandardcode:
  14868. description: 品类代码
  14869. type: string
  14870. wrstandardid:
  14871. description: 品类id
  14872. type: integer
  14873. wrstandardname:
  14874. description: 品类名称
  14875. type: string
  14876. type: object
  14877. models.WrFilterItem:
  14878. properties:
  14879. itemcode:
  14880. description: 代码
  14881. type: string
  14882. itemid:
  14883. description: 项id
  14884. type: integer
  14885. itemname:
  14886. description: 名称
  14887. type: string
  14888. itemtype:
  14889. description: 类型 1-品种 2-品类(商品) 3-仓库
  14890. type: integer
  14891. type: object
  14892. models.WrFinanceBuyApply:
  14893. properties:
  14894. applydate:
  14895. description: 申请时间
  14896. type: string
  14897. applystatus:
  14898. description: 申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败
  14899. type: integer
  14900. applyuserid:
  14901. description: 申请人
  14902. type: integer
  14903. auditdate:
  14904. description: 审核时间
  14905. type: string
  14906. auditremark:
  14907. description: 审核备注
  14908. type: string
  14909. audituserid:
  14910. description: 审核人
  14911. type: integer
  14912. buyaccountid:
  14913. description: 买方资金账号
  14914. type: integer
  14915. buyorsell:
  14916. description: 买卖 - 0:买 1:卖
  14917. type: integer
  14918. buyuserid:
  14919. description: 买方用户ID
  14920. type: integer
  14921. buyusername:
  14922. description: 买方名称
  14923. type: string
  14924. buywrtradeorderid:
  14925. description: 融资方买委托单ID
  14926. type: string
  14927. deliverygoodscode:
  14928. description: 品种代码
  14929. type: string
  14930. deliverygoodsid:
  14931. description: 品种ID
  14932. type: integer
  14933. deliverygoodsname:
  14934. description: 品种名称
  14935. type: string
  14936. deliverymonth:
  14937. description: 交收月(yyyy-MM) [无仓单HasWR =0]
  14938. type: string
  14939. enumdicname:
  14940. description: 单位名称
  14941. type: string
  14942. financeaccountid:
  14943. description: 融资方资金帐户ID
  14944. type: integer
  14945. financeapplyid:
  14946. description: 融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)
  14947. type: string
  14948. financeareauserid:
  14949. description: 融资方用户ID
  14950. type: string
  14951. financename:
  14952. description: 融出方名称
  14953. type: string
  14954. financetype:
  14955. description: 融资类型 1-融资回购
  14956. type: integer
  14957. financingdays:
  14958. description: 天数(天)
  14959. type: integer
  14960. freezebuymargin:
  14961. description: 冻结融资保证金(买方)
  14962. type: number
  14963. handleremark:
  14964. description: 处理备注
  14965. type: string
  14966. handlestatus:
  14967. description: 处理状态
  14968. type: integer
  14969. interestminlen:
  14970. description: 最小起息天数
  14971. type: integer
  14972. interestrate:
  14973. description: 利率
  14974. type: number
  14975. interestratemode:
  14976. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  14977. type: integer
  14978. interestsettlemode:
  14979. description: 结息方式 - 1:按日结息 3:按月结息
  14980. type: integer
  14981. interestsettlevalue:
  14982. description: 结息方式值
  14983. type: integer
  14984. isautoloan:
  14985. description: 是否自动放款 - 0:手动 1:自动
  14986. type: integer
  14987. marginratio:
  14988. description: 保证金比率质押率 - [仓单质押]
  14989. type: number
  14990. marketid:
  14991. description: 市场ID
  14992. type: integer
  14993. minivalue:
  14994. description: 现货商品最小变动值
  14995. type: integer
  14996. optioncompare:
  14997. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14998. type: string
  14999. orderqty:
  15000. description: 委托数量(商品数量)
  15001. type: number
  15002. productdetailid:
  15003. description: 产品组合ID
  15004. type: integer
  15005. productid:
  15006. description: 金融产品ID
  15007. type: integer
  15008. productname:
  15009. description: 产品名称
  15010. type: string
  15011. remark:
  15012. description: 备注
  15013. type: string
  15014. scfcontractid:
  15015. description: 仓单回购合同ID
  15016. type: string
  15017. sellaccountid:
  15018. description: 卖方资金账号
  15019. type: integer
  15020. selluserid:
  15021. description: 卖方用户ID
  15022. type: integer
  15023. sellwrtradeorderid:
  15024. description: 卖方委托单ID
  15025. type: string
  15026. tradeamount:
  15027. description: 成交金额(借款金额)
  15028. type: number
  15029. tradedate:
  15030. description: 交易日(yyyyMMdd)
  15031. type: string
  15032. tradeprice:
  15033. description: 成交价格
  15034. type: number
  15035. warehouseid:
  15036. description: 仓库ID
  15037. type: integer
  15038. warehousename:
  15039. description: 仓库名称
  15040. type: string
  15041. wrfactortypeid:
  15042. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15043. type: string
  15044. wrfactortypename:
  15045. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15046. type: string
  15047. wrpricetype:
  15048. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌单]
  15049. type: integer
  15050. wrstandardcode:
  15051. description: 现货商品代码
  15052. type: string
  15053. wrstandardid:
  15054. description: 现货商品ID
  15055. type: integer
  15056. wrstandardname:
  15057. description: 商品名称
  15058. type: string
  15059. wrtypename:
  15060. description: 商品
  15061. type: string
  15062. type: object
  15063. models.WrFriendApply:
  15064. properties:
  15065. applicantid:
  15066. description: 申请人
  15067. type: integer
  15068. applyname:
  15069. description: 申请人名称
  15070. type: string
  15071. applysrc:
  15072. description: 申请来源 - 1:管理端 2:终端
  15073. type: integer
  15074. applystatus:
  15075. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  15076. type: integer
  15077. applytime:
  15078. description: 申请时间
  15079. type: string
  15080. auditname:
  15081. description: 审核人名称
  15082. type: string
  15083. auditorid:
  15084. description: 审核人
  15085. type: integer
  15086. auditremark:
  15087. description: 审核备注
  15088. type: string
  15089. auditsrc:
  15090. description: 审核来源 - 1:管理端 2:终端
  15091. type: integer
  15092. audittime:
  15093. description: 审核时间
  15094. type: string
  15095. friendapplyid:
  15096. description: 申请ID(SEQ_FRIENDAPPLY)
  15097. type: string
  15098. friendname:
  15099. description: 好友名字(已脱敏)
  15100. type: string
  15101. frienduserid:
  15102. description: 好友用户ID
  15103. type: string
  15104. remark:
  15105. description: 备注
  15106. type: string
  15107. userid:
  15108. description: 申请人用户ID
  15109. type: integer
  15110. type: object
  15111. models.WrFtDeliveryGoods:
  15112. properties:
  15113. deliverygoodscode:
  15114. description: 品种代码
  15115. type: string
  15116. deliverygoodsid:
  15117. description: 品种ID
  15118. type: integer
  15119. deliverygoodsname:
  15120. description: 品种名称
  15121. type: string
  15122. wdlst:
  15123. description: 商品列表
  15124. items:
  15125. $ref: '#/definitions/models.WrFtWrstandard'
  15126. type: array
  15127. type: object
  15128. models.WrFtWrstandard:
  15129. properties:
  15130. enumdicname:
  15131. description: 单位名称
  15132. type: string
  15133. minivalue:
  15134. description: 最小变动值
  15135. type: integer
  15136. wrstandardcode:
  15137. description: 现货商品代码
  15138. type: string
  15139. wrstandardid:
  15140. description: 现货商品ID
  15141. type: integer
  15142. wrstandardname:
  15143. description: 商品名称
  15144. type: string
  15145. type: object
  15146. models.WrGoodsInfo:
  15147. properties:
  15148. haswr:
  15149. description: 0:仓单预售 1:仓单贸易
  15150. type: integer
  15151. lstitem:
  15152. description: 商品信息项
  15153. items:
  15154. $ref: '#/definitions/models.WrTypeItem'
  15155. type: array
  15156. lststep:
  15157. description: 履约规则
  15158. items:
  15159. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  15160. type: array
  15161. marketid:
  15162. description: 市场id
  15163. type: integer
  15164. type: object
  15165. models.WrGoodsPerformanceStep:
  15166. properties:
  15167. autoid:
  15168. description: AutoID
  15169. type: integer
  15170. isauto:
  15171. description: 是否自动 - 0:不自动 1:自动
  15172. type: integer
  15173. remark:
  15174. description: 备注
  15175. type: string
  15176. stepdate:
  15177. description: 天数信息(T+N)
  15178. type: string
  15179. stepdays:
  15180. description: 距离上一步天数
  15181. type: integer
  15182. stepindex:
  15183. description: 步骤序号
  15184. type: integer
  15185. stepinfo:
  15186. description: 步骤信息(步骤名称+步骤值)
  15187. type: string
  15188. steptypeid:
  15189. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  15190. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  15191. type: integer
  15192. steptypename:
  15193. description: 步骤名称
  15194. type: string
  15195. stepvalue:
  15196. description: 期初均价
  15197. type: number
  15198. templateid:
  15199. description: 履约计划模板ID
  15200. type: integer
  15201. type: object
  15202. models.WrHoldLB:
  15203. properties:
  15204. accountid:
  15205. description: 持有人帐户ID
  15206. type: integer
  15207. bannerpicurl:
  15208. description: Banner图
  15209. type: string
  15210. createtime:
  15211. description: 创建时间(过户时间)
  15212. type: string
  15213. deliverygoodscode:
  15214. description: 品种代码
  15215. type: string
  15216. deliverygoodsid:
  15217. description: 品种ID
  15218. type: integer
  15219. deliverygoodsname:
  15220. description: 品种名称
  15221. type: string
  15222. enableqty:
  15223. description: 可用数量
  15224. type: number
  15225. enumdicname:
  15226. description: 单位名称
  15227. type: string
  15228. freezerqty:
  15229. description: 冻结数量
  15230. type: number
  15231. ladingbillid:
  15232. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  15233. type: string
  15234. minivalue:
  15235. description: 现货商品最小变动值
  15236. type: integer
  15237. optioncompare:
  15238. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15239. type: string
  15240. parentsubnum:
  15241. description: 拆分父子单号
  15242. type: integer
  15243. pledgeqty:
  15244. description: 质押数量
  15245. type: number
  15246. qty:
  15247. description: 数量
  15248. type: number
  15249. subnum:
  15250. description: 提单子单号
  15251. type: integer
  15252. thumurls:
  15253. description: 缩略图
  15254. type: string
  15255. tradedate:
  15256. description: 交易日(yyyyMMdd)
  15257. type: string
  15258. userid:
  15259. description: 持有人ID
  15260. type: integer
  15261. warehouseid:
  15262. description: 仓库ID
  15263. type: integer
  15264. warehousename:
  15265. description: 仓库名称
  15266. type: string
  15267. wrfactortypeid:
  15268. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15269. type: string
  15270. wrfactortypename:
  15271. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15272. type: string
  15273. wrholdeno:
  15274. description: 仓单编号
  15275. type: string
  15276. wrid:
  15277. description: 仓单变更ID
  15278. type: string
  15279. wrstandardcode:
  15280. description: 现货商品代码
  15281. type: string
  15282. wrstandardid:
  15283. description: 现货商品ID
  15284. type: integer
  15285. wrstandardname:
  15286. description: 商品名称
  15287. type: string
  15288. wrtypename:
  15289. description: 商品
  15290. type: string
  15291. type: object
  15292. models.WrMarketTradeConfig:
  15293. properties:
  15294. basisdownratio:
  15295. description: 浮动价基差下限比例(仓单贸易)
  15296. type: number
  15297. basisupratio:
  15298. description: 浮动价基差上限比例(仓单贸易)
  15299. type: number
  15300. buychargealgorithm:
  15301. description: 买方手续费收取方式 1:比率 2:固定
  15302. type: integer
  15303. buychargealgorithm2:
  15304. description: 回购买方手续费收取方式 1:比率 2:固定 --77:现货商城
  15305. type: integer
  15306. buychargealgorithmvalue:
  15307. description: 买方手续费设置值(交易所部分)
  15308. type: number
  15309. buychargealgorithmvalue2:
  15310. description: 买方手续费设置值(会员部分)
  15311. type: number
  15312. buychargealgorithmvalue3:
  15313. description: 回购买方手续费设置值(交易所部分) --77:现货商城
  15314. type: number
  15315. buychargealgorithmvalue4:
  15316. description: 回购买方手续费设置值(会员部分) --77:现货商城
  15317. type: number
  15318. buyfirstmarginalgorithm:
  15319. description: 买方出价保证金方式 - 1:比率 2:固定 - [竞拍]
  15320. type: integer
  15321. buyfirstmarginvalue:
  15322. description: 买方出价保证金设置值 - [竞拍]
  15323. type: number
  15324. buymarginalgorithm:
  15325. description: 买方保证金方式 - 1:比率 2:固定
  15326. type: integer
  15327. buymarginvalue:
  15328. description: 买方保证金设置值
  15329. type: number
  15330. buyreleaseratio:
  15331. description: 买方释放比率[2:分步履约]
  15332. type: number
  15333. executemode:
  15334. description: 执行方式[2:分步履约] - 1:顺序执行 2:交叉执行
  15335. type: integer
  15336. executeside:
  15337. description: 执行方[2:分步履约] - 1:买方 2:卖方
  15338. type: integer
  15339. failedchargealgorithm:
  15340. description: 流拍手续费收取方式 1:比率 2:固定
  15341. type: integer
  15342. failedchargevalue:
  15343. description: 流拍手续费设置值
  15344. type: number
  15345. failedchargevalue2:
  15346. description: 流拍卖方手续费设置值
  15347. type: number
  15348. holddays:
  15349. description: 合同期限[2:分步履约]
  15350. type: integer
  15351. listingmode:
  15352. description: 挂牌方式 - 1:一口价 2:浮动价 3:贸易圈 4:协议指定
  15353. type: integer
  15354. marketid:
  15355. description: 市场ID-仓单贸易、竞拍、预售
  15356. type: integer
  15357. minqty:
  15358. description: 最小执行量[2:分步履约]
  15359. type: number
  15360. modifierid:
  15361. description: 修改人
  15362. type: integer
  15363. nowrquotaflag:
  15364. description: 是否校验无仓单额度(仓单贸易) - 0:否 1:是
  15365. type: integer
  15366. performancetempid:
  15367. description: 履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  15368. 立即执行(-1)
  15369. type: integer
  15370. performancetempid2:
  15371. description: 履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  15372. 立即执行
  15373. type: integer
  15374. performancetempid2s:
  15375. description: 履约计划模板IDs(无仓单) - 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货
  15376. - 履约方式: 立即执行
  15377. type: string
  15378. performancetempids:
  15379. description: 履约计划模板IDs(有仓单)- 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货
  15380. - 履约方式: 立即执行(-1)
  15381. type: string
  15382. performanceway:
  15383. description: 交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]
  15384. type: integer
  15385. sellchargealgorithm:
  15386. description: 卖方手续费收取方式 1:比率 2:固定
  15387. type: integer
  15388. sellchargealgorithm2:
  15389. description: 回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城
  15390. type: integer
  15391. sellchargealgorithmvalue:
  15392. description: 卖方手续费设置值(交易所部分)
  15393. type: number
  15394. sellchargealgorithmvalue2:
  15395. description: 卖方手续费设置值(会员部分)
  15396. type: number
  15397. sellchargealgorithmvalue3:
  15398. description: 回购卖方手续费设置值(交易所部分) --77:现货商城
  15399. type: number
  15400. sellchargealgorithmvalue4:
  15401. description: 回购卖方手续费设置值(会员部分) --77:现货商城
  15402. type: number
  15403. sellmarginalgorithm:
  15404. description: 卖方保证金方式 - 1:比率 2:固定
  15405. type: integer
  15406. sellmarginvalue:
  15407. description: 卖方保证金设置值
  15408. type: number
  15409. sellmarginvalue2:
  15410. description: 卖方保证金设置值(无仓单)
  15411. type: number
  15412. sellreleaseratio:
  15413. description: 卖方释放比率[2:分步履约]
  15414. type: number
  15415. updatetime:
  15416. description: 更新时间
  15417. type: string
  15418. type: object
  15419. models.WrOrderDetail:
  15420. properties:
  15421. accountid:
  15422. description: 交易账号(资金账号)
  15423. type: integer
  15424. allfriendsflag:
  15425. description: 是否全好友可见 - 0:否 1:是
  15426. type: integer
  15427. amount:
  15428. description: 期初均价
  15429. type: number
  15430. bannerpicurl:
  15431. description: Banner图
  15432. type: string
  15433. begindate:
  15434. description: 开始交易日(yyyymmdd)
  15435. type: string
  15436. buyorsell:
  15437. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  15438. type: integer
  15439. canbargain:
  15440. description: 是否可议价 - 0:不可 1:可
  15441. type: integer
  15442. cancelqty:
  15443. description: 撤销数量
  15444. type: number
  15445. canpart:
  15446. description: 是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)
  15447. type: integer
  15448. delistminqty:
  15449. description: 起摘数量
  15450. type: integer
  15451. deliverygoodscode:
  15452. description: 品种代码
  15453. type: string
  15454. deliverygoodsid:
  15455. description: 品种ID
  15456. type: integer
  15457. deliverygoodsname:
  15458. description: 品种名称
  15459. type: string
  15460. deliverymonth:
  15461. description: 交收月
  15462. type: string
  15463. enddate:
  15464. description: 结束交易日(yyyymmdd)
  15465. type: string
  15466. enumdicname:
  15467. description: 单位名称
  15468. type: string
  15469. fixedprice:
  15470. description: 固定价格 - [挂牌]
  15471. type: number
  15472. freezecharge:
  15473. description: 期初均价
  15474. type: number
  15475. freezemargin:
  15476. description: 期初均价
  15477. type: number
  15478. futupricemove:
  15479. description: 期货升贴水
  15480. type: number
  15481. futushow:
  15482. description: 期货合约/升贴水
  15483. type: string
  15484. goodscode:
  15485. description: 期货合约
  15486. type: string
  15487. goodsid:
  15488. description: 期货商品id
  15489. type: integer
  15490. goodsname:
  15491. description: 商品名称
  15492. type: string
  15493. haswr:
  15494. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  15495. type: integer
  15496. isspecified:
  15497. description: 是否指定对手 - 0:不指定 1:指定 - [挂牌]
  15498. type: integer
  15499. ladingbillid:
  15500. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  15501. type: string
  15502. marginvalue:
  15503. description: 期初均价
  15504. type: number
  15505. marketid:
  15506. description: 市场ID
  15507. type: integer
  15508. matchusername:
  15509. description: 对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)
  15510. type: string
  15511. minivalue:
  15512. description: 现货商品最小变动值
  15513. type: integer
  15514. optioncompare:
  15515. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15516. type: string
  15517. orderqty:
  15518. description: 委托数量
  15519. type: number
  15520. ordertime:
  15521. description: 委托时间(挂牌时间)
  15522. type: string
  15523. performancetemplateid:
  15524. description: 履约模板id
  15525. type: integer
  15526. pricemove:
  15527. description: 升贴水(浮动价时填写) - [挂牌]
  15528. type: number
  15529. taname:
  15530. description: 交易用户名称(资金账号名称)
  15531. type: string
  15532. thumurls:
  15533. description: 缩略图
  15534. type: string
  15535. tradedate:
  15536. description: 交易日(yyyyMMdd)
  15537. type: string
  15538. tradeprice:
  15539. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)*
  15540. 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  15541. type: number
  15542. tradeqty:
  15543. description: 成交数量
  15544. type: number
  15545. userid:
  15546. description: 用户ID
  15547. type: integer
  15548. validtime:
  15549. description: 挂牌有效期
  15550. type: string
  15551. validtype:
  15552. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  15553. type: integer
  15554. warehouseid:
  15555. description: 仓库ID
  15556. type: integer
  15557. warehousename:
  15558. description: 仓库名称
  15559. type: string
  15560. wrfactortypeid:
  15561. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15562. type: string
  15563. wrfactortypename:
  15564. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15565. type: string
  15566. wrpricetype:
  15567. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  15568. type: integer
  15569. wrstandardcode:
  15570. description: 现货商品代码
  15571. type: string
  15572. wrstandardid:
  15573. description: 现货商品ID
  15574. type: integer
  15575. wrstandardname:
  15576. description: 商品名称
  15577. type: string
  15578. wrtradeorderid:
  15579. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  15580. type: string
  15581. wrtradeorderstatus:
  15582. 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:撤单解冻贷款失败
  15583. type: integer
  15584. wrtradetype:
  15585. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  15586. type: integer
  15587. wrtypename:
  15588. description: 商品
  15589. type: string
  15590. type: object
  15591. models.WrOrderQuote:
  15592. properties:
  15593. bannerpicurl:
  15594. description: Banner图
  15595. type: string
  15596. buyprice:
  15597. description: 买价
  15598. type: number
  15599. buypricemove:
  15600. description: 买升贴水(基差)
  15601. type: number
  15602. buyqty:
  15603. description: 买量
  15604. type: number
  15605. deliverygoodscode:
  15606. description: 品种代码
  15607. type: string
  15608. deliverygoodsid:
  15609. description: 品种id
  15610. type: integer
  15611. deliverygoodsname:
  15612. description: 品种名称
  15613. type: string
  15614. deliverymonth:
  15615. description: 交收月
  15616. type: string
  15617. enumdicname:
  15618. description: 单位名称
  15619. type: string
  15620. goodscode:
  15621. description: 商品合约(浮动价列表才有)
  15622. type: string
  15623. goodsid:
  15624. description: 商品id(浮动价列表才有)
  15625. type: integer
  15626. minivalue:
  15627. description: 现货商品最小变动值
  15628. type: integer
  15629. pictureurls:
  15630. description: 详情图片(逗号分隔)
  15631. type: string
  15632. sellprice:
  15633. description: 卖价
  15634. type: number
  15635. sellpricemove:
  15636. description: 卖升贴水(基差)
  15637. type: number
  15638. sellqty:
  15639. description: 卖量
  15640. type: number
  15641. thumurls:
  15642. description: 缩略图片(1:1)(逗号分隔)
  15643. type: string
  15644. warehousecode:
  15645. description: 仓库代码
  15646. type: string
  15647. warehouseid:
  15648. description: 仓库id
  15649. type: integer
  15650. warehousename:
  15651. description: 仓库名称
  15652. type: string
  15653. wrfactortypeid:
  15654. description: 仓单要素id
  15655. type: string
  15656. wrfactortypename:
  15657. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15658. type: string
  15659. wrgoodsname:
  15660. description: 商品(商品名称+仓库要素名称 拼接)
  15661. type: string
  15662. wrstandardcode:
  15663. description: 商品代码
  15664. type: string
  15665. wrstandardid:
  15666. description: 商品id
  15667. type: integer
  15668. wrstandardname:
  15669. description: 商品名称
  15670. type: string
  15671. type: object
  15672. models.WrOrderQuoteDetail:
  15673. properties:
  15674. buyorsell:
  15675. description: 买卖 - 0:买 1:卖
  15676. type: integer
  15677. delistminqty:
  15678. description: 期初均价
  15679. type: number
  15680. deliverymonth:
  15681. description: 交收月
  15682. type: string
  15683. enumdicname:
  15684. description: 单位名称
  15685. type: string
  15686. fixedprice:
  15687. description: 买(卖)价
  15688. type: number
  15689. marketid:
  15690. description: 市场id
  15691. type: integer
  15692. minivalue:
  15693. description: 现货商品最小变动值
  15694. type: integer
  15695. orderqty:
  15696. description: 买(卖)量(=委托量-成交量)
  15697. type: number
  15698. ordertime:
  15699. description: 委托时间
  15700. type: string
  15701. pricemove:
  15702. description: 买(卖)升贴水- 基差
  15703. type: number
  15704. userid:
  15705. description: 购买方(销售方)用户ID
  15706. type: integer
  15707. username:
  15708. description: 购买方(销售方)
  15709. type: string
  15710. wrtradeorderid:
  15711. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  15712. type: string
  15713. type: object
  15714. models.WrOutInApply:
  15715. properties:
  15716. applyid:
  15717. description: 申请单id
  15718. type: string
  15719. applystatus:
  15720. description: 申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败
  15721. 8:已撤销
  15722. type: integer
  15723. applytime:
  15724. description: 申请时间
  15725. type: string
  15726. applytype:
  15727. description: 申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销
  15728. type: integer
  15729. bannerpicurl:
  15730. description: Banner图
  15731. type: string
  15732. begindate:
  15733. description: 开始交易日(yyyymmdd)
  15734. type: string
  15735. deliverygoodscode:
  15736. description: 品种代码
  15737. type: string
  15738. deliverygoodsid:
  15739. description: 品种ID
  15740. type: integer
  15741. deliverygoodsname:
  15742. description: 品种名称
  15743. type: string
  15744. enddate:
  15745. description: 结束交易日(yyyymmdd)
  15746. type: string
  15747. enumdicname:
  15748. description: 单位名称
  15749. type: string
  15750. expresscompany:
  15751. description: 物流公司
  15752. type: string
  15753. expressnum:
  15754. description: 物流单号
  15755. type: string
  15756. minivalue:
  15757. description: 现货商品最小变动值
  15758. type: integer
  15759. optioncompare:
  15760. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15761. type: string
  15762. qty:
  15763. description: 数量
  15764. type: integer
  15765. userid:
  15766. description: 用户id
  15767. type: integer
  15768. warehouseid:
  15769. description: 仓库ID
  15770. type: integer
  15771. warehousename:
  15772. description: 仓库名称
  15773. type: string
  15774. wrfactortypeid:
  15775. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15776. type: string
  15777. wrfactortypename:
  15778. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15779. type: string
  15780. wrstandardcode:
  15781. description: 现货商品代码
  15782. type: string
  15783. wrstandardid:
  15784. description: 现货商品ID
  15785. type: integer
  15786. wrstandardname:
  15787. description: 商品名称
  15788. type: string
  15789. wrtypename:
  15790. description: 商品
  15791. type: string
  15792. type: object
  15793. models.WrPerformancePlan:
  15794. properties:
  15795. activatemonth:
  15796. description: 履约激活月 [无仓单的交易收月](yyyy-MM)
  15797. type: string
  15798. amount:
  15799. description: 履约金额(总金额)
  15800. type: number
  15801. begindate:
  15802. description: 开始交易日(yyyymmdd)
  15803. type: string
  15804. buyaccountid:
  15805. description: 买方账号
  15806. type: integer
  15807. buyerfreezeamount:
  15808. description: 履约冻结(买履约)
  15809. type: number
  15810. buyerfreezeamountremain:
  15811. description: 履约冻结剩余(买履约)
  15812. type: number
  15813. buyorsell:
  15814. description: 买卖方向 0-买 1-卖
  15815. type: integer
  15816. buypaidamount:
  15817. description: 买方已冻/已扣金额 (已付金额)
  15818. type: number
  15819. buyusername:
  15820. description: 买方名字
  15821. type: string
  15822. contractid:
  15823. description: 合同ID
  15824. type: integer
  15825. createtime:
  15826. description: 创建时间
  15827. type: string
  15828. creatorid:
  15829. description: 创建人
  15830. type: integer
  15831. curstepdeadline:
  15832. description: 当前步骤到期时间
  15833. type: string
  15834. curstepid:
  15835. description: 当前步骤ID
  15836. type: string
  15837. curstepname:
  15838. description: 当前步骤名称
  15839. type: string
  15840. deliverygoodscode:
  15841. description: 品种代码
  15842. type: string
  15843. deliverygoodsid:
  15844. description: 品种ID
  15845. type: integer
  15846. deliverygoodsname:
  15847. description: 品种名称
  15848. type: string
  15849. enddate:
  15850. description: 结束交易日(yyyymmdd)
  15851. type: string
  15852. enumdicname:
  15853. description: 单位名称
  15854. type: string
  15855. expressfee:
  15856. description: 运费
  15857. type: number
  15858. expressfeeconfirmed:
  15859. description: 是否确认运费 - 0:无 1:买方确认 2:卖方确认
  15860. type: integer
  15861. hasovershort:
  15862. description: 是否确认溢短 - 0:没有 1:买方确认 2:卖方确认
  15863. type: integer
  15864. haswr:
  15865. description: 类型 0-仓单预售 1-仓单贸易
  15866. type: integer
  15867. marketid:
  15868. description: 市场ID
  15869. type: integer
  15870. middleaccountid:
  15871. description: 中间商资金账号ID
  15872. type: integer
  15873. middleuserid:
  15874. description: 中间商用户ID
  15875. type: integer
  15876. minivalue:
  15877. description: 现货商品最小变动值
  15878. type: integer
  15879. optioncompare:
  15880. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15881. type: string
  15882. overshortamount:
  15883. description: 溢短金额
  15884. type: number
  15885. overshortqty:
  15886. description: 溢短数量
  15887. type: number
  15888. paymenttype:
  15889. description: 付款方式 - 1:冻结 2:扣款
  15890. type: integer
  15891. performanceplanid:
  15892. description: 履约计划ID(130+yyMMddHHmmss+xxxx)
  15893. type: string
  15894. performancestatus:
  15895. description: 履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败
  15896. 9:超时待处理 10:超时关闭
  15897. type: integer
  15898. performancetype:
  15899. description: 履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式
  15900. 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统
  15901. type: integer
  15902. qty:
  15903. description: 履约数量
  15904. type: number
  15905. relatedorderid:
  15906. description: 关联单号(履约类型的关联单号)
  15907. type: string
  15908. remark:
  15909. description: 备注
  15910. type: string
  15911. sellaccountid:
  15912. description: 卖方账号
  15913. type: integer
  15914. sellerfreezeamount:
  15915. description: 履约冻结(卖履约)
  15916. type: number
  15917. sellerfreezeamountremain:
  15918. description: 履约冻结剩余(卖履约)
  15919. type: number
  15920. sellreceivedamount:
  15921. description: 卖方已收金额
  15922. type: number
  15923. sellusername:
  15924. description: 卖方名字
  15925. type: string
  15926. shipremark:
  15927. description: 发货备注[物流单号]
  15928. type: string
  15929. starttime:
  15930. description: 开始时间
  15931. type: string
  15932. steptypeid:
  15933. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  15934. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  15935. type: integer
  15936. typename:
  15937. description: 履约类型 名称
  15938. type: string
  15939. unpaidamount:
  15940. description: 期初均价
  15941. type: number
  15942. userid:
  15943. description: 用户id
  15944. type: integer
  15945. warehouseid:
  15946. description: 仓库ID
  15947. type: integer
  15948. warehousename:
  15949. description: 仓库名称
  15950. type: string
  15951. wrfactortypeid:
  15952. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15953. type: string
  15954. wrfactortypename:
  15955. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15956. type: string
  15957. wrstandardcode:
  15958. description: 现货商品代码
  15959. type: string
  15960. wrstandardid:
  15961. description: 现货商品ID
  15962. type: integer
  15963. wrstandardname:
  15964. description: 商品名称
  15965. type: string
  15966. wrtransferuserid:
  15967. description: 仓单受让用户
  15968. type: integer
  15969. wrtypename:
  15970. description: 商品
  15971. type: string
  15972. required:
  15973. - userid
  15974. type: object
  15975. models.WrPerformancePlanStep:
  15976. properties:
  15977. delaydays:
  15978. description: 延期申请天数
  15979. type: integer
  15980. deliverygoodscode:
  15981. description: 品种代码
  15982. type: string
  15983. deliverygoodsid:
  15984. description: 品种ID
  15985. type: integer
  15986. deliverygoodsname:
  15987. description: 品种名称
  15988. type: string
  15989. endtime:
  15990. description: 结束日期
  15991. type: string
  15992. enumdicname:
  15993. description: 单位名称
  15994. type: string
  15995. executeside:
  15996. description: 步骤执行方 - 1:买方 2:卖方
  15997. type: integer
  15998. handlestatus:
  15999. description: 处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败
  16000. 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求
  16001. 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败
  16002. type: integer
  16003. isauto:
  16004. description: 是否自动 - 0:不自动 1:自动
  16005. type: integer
  16006. islastreceivestep:
  16007. description: 是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)
  16008. type: integer
  16009. minivalue:
  16010. description: 现货商品最小变动值
  16011. type: integer
  16012. optioncompare:
  16013. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16014. type: string
  16015. overdays:
  16016. description: 超期天数 = 当前时间(数据库时间) - 结束日期
  16017. type: integer
  16018. performancestepid:
  16019. description: 履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)
  16020. type: string
  16021. planid:
  16022. description: 所属履约计划ID
  16023. type: string
  16024. realamount:
  16025. description: 实际完成金额
  16026. type: number
  16027. relatedorderid:
  16028. description: 关联单号
  16029. type: string
  16030. remaindays:
  16031. description: 剩余天数
  16032. type: integer
  16033. remark:
  16034. description: 错误备注
  16035. type: string
  16036. starttime:
  16037. description: 开始日期
  16038. type: string
  16039. stepamount:
  16040. description: 步骤金额
  16041. type: number
  16042. stepdays:
  16043. description: 距离上一步天数(分钟)
  16044. type: integer
  16045. stepindex:
  16046. description: 步骤序号
  16047. type: integer
  16048. steplanchtype:
  16049. description: 步骤启动类型 - 1:系统自动 2:手动
  16050. type: integer
  16051. stepremark:
  16052. description: 步骤备注
  16053. type: string
  16054. stepstatus:
  16055. description: 步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭
  16056. type: integer
  16057. steptypeid:
  16058. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  16059. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  16060. type: integer
  16061. steptypename:
  16062. description: 步骤名称
  16063. type: string
  16064. stepvalue:
  16065. description: 步骤值
  16066. type: number
  16067. warehouseid:
  16068. description: 仓库ID
  16069. type: integer
  16070. warehousename:
  16071. description: 仓库名称
  16072. type: string
  16073. wrfactortypeid:
  16074. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16075. type: string
  16076. wrfactortypename:
  16077. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16078. type: string
  16079. wrstandardcode:
  16080. description: 现货商品代码
  16081. type: string
  16082. wrstandardid:
  16083. description: 现货商品ID
  16084. type: integer
  16085. wrstandardname:
  16086. description: 商品名称
  16087. type: string
  16088. wrtypename:
  16089. description: 商品
  16090. type: string
  16091. type: object
  16092. models.WrPerformanceStepType:
  16093. properties:
  16094. canauto:
  16095. description: '能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)'
  16096. type: integer
  16097. steptypeid:
  16098. description: 步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移
  16099. type: integer
  16100. steptypename:
  16101. description: 步骤类型名称
  16102. type: string
  16103. type: object
  16104. models.WrPerformanceTemplateEx:
  16105. properties:
  16106. autoid:
  16107. description: AutoID 模板id
  16108. type: integer
  16109. createtime:
  16110. description: 创建时间
  16111. type: string
  16112. creatorid:
  16113. description: 创建人
  16114. type: integer
  16115. lstStep:
  16116. description: 步骤信息列表
  16117. items:
  16118. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  16119. type: array
  16120. paymenttype:
  16121. description: 支付方式 - 1:冻结 2:扣款
  16122. type: integer
  16123. takemode:
  16124. description: 提货方式 - 1:无 2:买方自提 3:卖方发货
  16125. type: integer
  16126. templatename:
  16127. description: 模板名称
  16128. type: string
  16129. templatetype:
  16130. description: 模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  16131. (无仓单) 5:挂牌期权 6:竞拍-降价式
  16132. type: integer
  16133. userid:
  16134. description: 所属用户
  16135. type: integer
  16136. type: object
  16137. models.WrPosition:
  16138. properties:
  16139. accountid:
  16140. description: 帐户ID
  16141. type: integer
  16142. buyexcuteqty:
  16143. description: 采购履约中数量
  16144. type: number
  16145. creditcurqty:
  16146. description: 授信当前数量(预售仓单:预售当前量)
  16147. type: number
  16148. creditenableqty:
  16149. description: '授信可用数量(预售仓单: 可用数量)'
  16150. type: number
  16151. creditfreezeqty:
  16152. description: '授信冻结数量(预售仓单: 当前数量)'
  16153. type: number
  16154. credittotalqty:
  16155. description: 授信总数量(预售仓单:预售总量)
  16156. type: number
  16157. credittradeqty:
  16158. description: 授信成交数量(预售仓单:成交总量)
  16159. type: number
  16160. deliverygoodscode:
  16161. description: 品种代码
  16162. type: string
  16163. deliverygoodsid:
  16164. description: 品种ID
  16165. type: integer
  16166. deliverygoodsname:
  16167. description: 品种名称
  16168. type: string
  16169. enalbeqty:
  16170. description: 可用数量
  16171. type: number
  16172. enumdicname:
  16173. description: 单位名称
  16174. type: string
  16175. freezeqty:
  16176. description: 总冻结数量
  16177. type: number
  16178. haswr:
  16179. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  16180. type: integer
  16181. minivalue:
  16182. description: 现货商品最小变动值
  16183. type: integer
  16184. modifytime:
  16185. description: 修改时间(过户时间)
  16186. type: string
  16187. optioncompare:
  16188. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16189. type: string
  16190. pledgeqty:
  16191. description: 质押数量
  16192. type: number
  16193. querytype:
  16194. description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  16195. type: integer
  16196. sellexcuteqty:
  16197. description: 销售履约中数量
  16198. type: number
  16199. totalqty:
  16200. description: 总数量(库存数量)
  16201. type: number
  16202. warehouseid:
  16203. description: 仓库ID
  16204. type: integer
  16205. warehousename:
  16206. description: 仓库名称
  16207. type: string
  16208. wrfactortypeid:
  16209. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16210. type: string
  16211. wrfactortypename:
  16212. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16213. type: string
  16214. wrpositionid:
  16215. description: 仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)
  16216. type: string
  16217. wrpositionno:
  16218. description: 仓单编号
  16219. type: string
  16220. wrstandardcode:
  16221. description: 现货商品代码
  16222. type: string
  16223. wrstandardid:
  16224. description: 现货商品ID
  16225. type: integer
  16226. wrstandardname:
  16227. description: 商品名称
  16228. type: string
  16229. wrtypename:
  16230. description: 商品
  16231. type: string
  16232. wruserid:
  16233. description: 持有人ID
  16234. type: integer
  16235. type: object
  16236. models.WrPreSaleInfo:
  16237. properties:
  16238. bannerpicurl:
  16239. description: Banner图
  16240. type: string
  16241. baseqty:
  16242. description: 中签基数
  16243. type: number
  16244. createtime:
  16245. description: 创建时间
  16246. type: string
  16247. deliverygoodsid:
  16248. description: 现货品种ID
  16249. type: integer
  16250. enddate:
  16251. description: 预售结束日期
  16252. type: string
  16253. enumdicname:
  16254. description: 单位名称
  16255. type: string
  16256. lotteryflag:
  16257. description: 摇号标识 - 0:未摇号 1:已摇号
  16258. type: integer
  16259. lotteryqty:
  16260. description: 摇号总量
  16261. type: number
  16262. luckyqty:
  16263. description: 已中签量
  16264. type: number
  16265. marketid:
  16266. description: 市场ID
  16267. type: integer
  16268. maxbuyqty:
  16269. description: 单人最大申购量
  16270. type: number
  16271. maxluckyqty:
  16272. description: 单人最大中签量
  16273. type: number
  16274. pictureurls:
  16275. description: 详情图片(逗号分隔)
  16276. type: string
  16277. placeqty:
  16278. description: 已配售量
  16279. type: number
  16280. presaleapplyid:
  16281. description: 预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)
  16282. example: "0"
  16283. type: string
  16284. presaleqty:
  16285. description: 预售总量
  16286. type: number
  16287. presalestatus:
  16288. description: 预售状态 - 1:未开始 2:进行中 3:已结束 4:已关闭
  16289. type: integer
  16290. sellaccountid:
  16291. description: 发行方资金账户ID
  16292. type: integer
  16293. selluserid:
  16294. description: 发行方用户ID
  16295. type: integer
  16296. sellwrtradeorderid:
  16297. description: 发行方卖委托单ID
  16298. type: string
  16299. startdate:
  16300. description: 预售开始日期
  16301. type: string
  16302. takestartdate:
  16303. description: 提货开始日期
  16304. type: string
  16305. thumurls:
  16306. description: 缩略图片(1:1)(逗号分隔)
  16307. type: string
  16308. tradedate:
  16309. description: 交易日
  16310. type: string
  16311. unitid:
  16312. description: 单位ID
  16313. type: integer
  16314. unitprice:
  16315. description: 商品单价
  16316. type: number
  16317. username:
  16318. description: 发行方用户名称
  16319. type: string
  16320. warehousecode:
  16321. description: 仓库代码(仓库简称)
  16322. type: string
  16323. warehouseid:
  16324. description: 仓库ID
  16325. type: integer
  16326. warehousename:
  16327. description: 仓库名称
  16328. type: string
  16329. wrfactortypeid:
  16330. description: 仓单要素类型ID - 根据现货商品\仓库生成
  16331. example: "0"
  16332. type: string
  16333. wrstandardid:
  16334. description: 现货商品ID
  16335. type: integer
  16336. wrstandardname:
  16337. description: 现货商品名称
  16338. type: string
  16339. type: object
  16340. models.WrQuoteOrderMyq:
  16341. properties:
  16342. buyorsell:
  16343. description: 买卖 - 0:买 1:卖
  16344. type: integer
  16345. canbargain:
  16346. description: 是否可议价 - 0:不可 1:可
  16347. type: integer
  16348. canpart:
  16349. description: 是否允许部份摘牌 - 0:不允许 1:允许
  16350. type: integer
  16351. delistminqty:
  16352. description: 期初均价
  16353. type: number
  16354. deliverygoodscode:
  16355. description: 品种代码
  16356. type: string
  16357. deliverygoodsid:
  16358. description: 品种ID
  16359. type: integer
  16360. deliverygoodsname:
  16361. description: 品种名称
  16362. type: string
  16363. deliverymonth:
  16364. description: 交收月
  16365. type: string
  16366. enumdicname:
  16367. description: 单位名称
  16368. type: string
  16369. fixedprice:
  16370. description: 买(卖)价
  16371. type: number
  16372. goodscode:
  16373. description: 商品合约代码
  16374. type: string
  16375. marginflag:
  16376. description: 挂牌是否指定保证金 - 0:未指定 1:指定
  16377. type: integer
  16378. marginvalue:
  16379. description: 保证金设置值
  16380. type: number
  16381. minivalue:
  16382. description: 现货商品最小变动值
  16383. type: integer
  16384. orderqty:
  16385. description: 买(卖)量(=委托量-成交量)
  16386. type: number
  16387. ordertime:
  16388. description: 委托时间
  16389. type: string
  16390. performancetemplateid:
  16391. description: 履约模板id
  16392. type: integer
  16393. pricemove:
  16394. description: 买(卖)升贴水- 基差
  16395. type: number
  16396. templatename:
  16397. description: 履约模板名称
  16398. type: string
  16399. userid:
  16400. description: 购买方(销售方)用户ID
  16401. type: integer
  16402. username:
  16403. description: 购买方(销售方)
  16404. type: string
  16405. validtime:
  16406. description: 有效期限
  16407. type: string
  16408. validtype:
  16409. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  16410. type: integer
  16411. warehousename:
  16412. description: 仓库名称
  16413. type: string
  16414. wrfactortypeid:
  16415. description: 仓单要素id
  16416. type: string
  16417. wrstandardcode:
  16418. description: 现货商品代码
  16419. type: string
  16420. wrstandardid:
  16421. description: 现货商品ID
  16422. type: integer
  16423. wrstandardname:
  16424. description: 商品名称
  16425. type: string
  16426. wrtradeorderid:
  16427. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  16428. type: string
  16429. wrtypename:
  16430. description: 商品
  16431. type: string
  16432. type: object
  16433. models.WrReckonSpotGoodsTradeSum:
  16434. properties:
  16435. begindate:
  16436. description: 开始日期(结果含开始日期) yyyymmdd
  16437. type: string
  16438. enddate:
  16439. description: 结束日期(结果含结束日期) yyyymmdd
  16440. type: string
  16441. istoday:
  16442. description: 是否当日
  16443. type: boolean
  16444. marketid:
  16445. description: 市场ID
  16446. type: integer
  16447. price:
  16448. description: 价格 = 日成交金额 / 日成交数量
  16449. type: string
  16450. reckondate:
  16451. description: 日期 格式 yyyymmdd
  16452. type: string
  16453. tradeamount:
  16454. description: 期初均价
  16455. type: number
  16456. tradeqty:
  16457. description: 期初均价
  16458. type: number
  16459. wrstandardid:
  16460. description: 现货商品ID
  16461. type: integer
  16462. type: object
  16463. models.WrScfContract:
  16464. properties:
  16465. borroweruserid:
  16466. description: 借款用户ID
  16467. type: integer
  16468. buybackwrpositionqty:
  16469. description: 已回购仓单头寸数量 - [仓单回购\仓单质押] -> 已回购数量
  16470. type: number
  16471. closeinterest:
  16472. description: 已结利息 -> 已结费用
  16473. type: number
  16474. currisklevel:
  16475. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  16476. type: integer
  16477. deadline:
  16478. description: 截止日期(yyyyMMdd) -> 借款到期时间
  16479. type: string
  16480. deliverygoodscode:
  16481. description: 品种代码
  16482. type: string
  16483. deliverygoodsid:
  16484. description: 品种ID
  16485. type: integer
  16486. deliverygoodsname:
  16487. description: 品种名称
  16488. type: string
  16489. enumdicname:
  16490. description: 单位名称
  16491. type: string
  16492. financingdays:
  16493. description: 天数(天)
  16494. type: integer
  16495. initmargin:
  16496. description: 保证金 - [仓单回购]
  16497. type: number
  16498. interestamount:
  16499. description: 计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \ 合同剩余金额
  16500. type: number
  16501. interestdebt:
  16502. description: 利息欠款(记录负数) -> 费用欠款
  16503. type: number
  16504. interestminlen:
  16505. description: 最小起息天数
  16506. type: integer
  16507. interestrate:
  16508. description: 利率
  16509. type: number
  16510. interestratemode:
  16511. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  16512. type: integer
  16513. interestsettlemode:
  16514. description: 结息方式 - 1:按日结息 3:按月结息
  16515. type: integer
  16516. interestsettlevalue:
  16517. description: 结息方式值
  16518. type: integer
  16519. isautoloan:
  16520. description: 是否自动放款 - 0:手动 1:自动 - [仓单质押]
  16521. type: integer
  16522. lastcloseinterestday:
  16523. description: 最近结息日(yyyyMMdd)
  16524. type: string
  16525. lenderamount:
  16526. description: 贷款金额 -> 借款金额
  16527. type: number
  16528. lenderuserid:
  16529. description: 贷款方用户ID -> 融出方用户ID
  16530. type: integer
  16531. lenderusername:
  16532. description: 融出方
  16533. type: string
  16534. marginratio:
  16535. description: 保证金比率质押率 - [仓单质押]
  16536. type: number
  16537. marketid:
  16538. description: 市场ID - 拆成三个独立模式后,根据市场ID处理
  16539. type: integer
  16540. minivalue:
  16541. description: 现货商品最小变动值
  16542. type: integer
  16543. optioncompare:
  16544. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16545. type: string
  16546. pricemove:
  16547. description: 估值升贴水值
  16548. type: number
  16549. productdetailid:
  16550. description: 产品组合ID
  16551. type: integer
  16552. productid:
  16553. description: 金融产品ID
  16554. type: integer
  16555. productname:
  16556. description: 产品名称
  16557. type: string
  16558. remainamount:
  16559. description: 合同剩余金额 -> 剩余金额
  16560. type: number
  16561. remainwrpositionqty:
  16562. description: 剩余仓单头寸数量 - [仓单回购\仓单质押] -> 剩余数量(待回购数量)
  16563. type: number
  16564. remark:
  16565. description: 备注
  16566. type: string
  16567. scfcontractid:
  16568. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  16569. type: string
  16570. scfcontractstatus:
  16571. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  16572. 9:违约结束 10:已注销 11:已关闭 99:未提交
  16573. type: integer
  16574. scfcontracttype:
  16575. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购
  16576. type: integer
  16577. startinterestday:
  16578. description: 计息开始日(yyyyMMdd) -> 开始计费日期
  16579. type: string
  16580. totalinterest:
  16581. description: 已计利息 -> 已计费用
  16582. type: number
  16583. unpaidinterest:
  16584. description: 期初均价
  16585. type: number
  16586. updatetime:
  16587. description: 更新时间
  16588. type: string
  16589. warehouseid:
  16590. description: 仓库ID
  16591. type: integer
  16592. warehousename:
  16593. description: 仓库名称
  16594. type: string
  16595. wrfactortypeid:
  16596. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16597. type: string
  16598. wrfactortypename:
  16599. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16600. type: string
  16601. wrqty:
  16602. description: 仓单数量 - [仓单回购\仓单质押] -> 数量
  16603. type: number
  16604. wrstandardcode:
  16605. description: 现货商品代码
  16606. type: string
  16607. wrstandardid:
  16608. description: 现货商品ID
  16609. type: integer
  16610. wrstandardname:
  16611. description: 商品名称
  16612. type: string
  16613. wrtypename:
  16614. description: 商品
  16615. type: string
  16616. type: object
  16617. models.WrScfContractInterest:
  16618. properties:
  16619. closeinterest:
  16620. description: 已结利息
  16621. type: number
  16622. closeintereststatus:
  16623. description: 结息状态 - 1:未结 2:已结
  16624. type: integer
  16625. closetime:
  16626. description: 结息时间
  16627. type: string
  16628. closetradedate:
  16629. description: 结息交易日
  16630. type: string
  16631. creatorid:
  16632. description: 操作人ID
  16633. type: integer
  16634. dayrate:
  16635. description: 日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)
  16636. type: number
  16637. interest:
  16638. description: 利息
  16639. type: number
  16640. interestamount:
  16641. description: 计息金额
  16642. type: number
  16643. interestday:
  16644. description: 计息日(yyyyMMdd)
  16645. type: string
  16646. scfcontractid:
  16647. description: SCF合同ID
  16648. type: string
  16649. scfcontractinterestid:
  16650. description: SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)
  16651. type: integer
  16652. updatetime:
  16653. description: 更新时间
  16654. type: string
  16655. type: object
  16656. models.WrSearchUser:
  16657. properties:
  16658. userid:
  16659. description: 用户ID
  16660. type: integer
  16661. username:
  16662. description: 用户名称(已脱敏)
  16663. type: string
  16664. username2:
  16665. description: 用户名称(未脱敏)
  16666. type: string
  16667. usertype:
  16668. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  16669. type: integer
  16670. required:
  16671. - username
  16672. type: object
  16673. models.WrSiteColumnDetail:
  16674. properties:
  16675. brief:
  16676. description: 简介
  16677. type: string
  16678. context:
  16679. description: 内容
  16680. type: string
  16681. coverimage:
  16682. description: 封面图片
  16683. type: string
  16684. creaedate:
  16685. description: 创建时间
  16686. type: string
  16687. id:
  16688. description: ID(SEQ_SITE_COLUMNDETAIL)
  16689. type: integer
  16690. istop:
  16691. description: 是否置顶 - 0:不置 1:置顶
  16692. type: integer
  16693. publishdate:
  16694. description: 发布日期
  16695. type: string
  16696. title:
  16697. description: 标题
  16698. type: string
  16699. updatedate:
  16700. description: 修改时间
  16701. type: string
  16702. type: object
  16703. models.WrSpecialMatchOrder:
  16704. properties:
  16705. amount:
  16706. description: 金额 = 数量 * 价格
  16707. type: number
  16708. buyorsell:
  16709. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  16710. type: integer
  16711. cancelqty:
  16712. description: 撤销数量
  16713. type: number
  16714. deliverygoodscode:
  16715. description: 品种代码
  16716. type: string
  16717. deliverygoodsid:
  16718. description: 品种ID
  16719. type: integer
  16720. deliverygoodsname:
  16721. description: 品种名称
  16722. type: string
  16723. enumdicname:
  16724. description: 单位名称
  16725. type: string
  16726. fixedprice:
  16727. description: 固定价格(价格)
  16728. type: number
  16729. haswr:
  16730. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  16731. type: integer
  16732. isspecified:
  16733. description: 是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  16734. type: integer
  16735. marketid:
  16736. description: 市场ID
  16737. type: integer
  16738. matchuserid:
  16739. description: 指定方资金账号(字段名为userid,实际存的是accountid by:邓工)
  16740. type: integer
  16741. matchusername:
  16742. description: 指定方
  16743. type: string
  16744. minivalue:
  16745. description: 现货商品最小变动值
  16746. type: integer
  16747. optioncompare:
  16748. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16749. type: string
  16750. orderqty:
  16751. description: 委托数量
  16752. type: number
  16753. ordertime:
  16754. description: 委托时间
  16755. type: string
  16756. pricemove:
  16757. description: 升贴水(浮动价时填写) - [挂牌]
  16758. type: number
  16759. tradedate:
  16760. description: 交易日(yyyyMMdd)
  16761. type: string
  16762. tradeprice:
  16763. description: 成交价格
  16764. type: number
  16765. tradeqty:
  16766. description: 成交数量
  16767. type: number
  16768. userid:
  16769. description: 用户ID
  16770. type: integer
  16771. username:
  16772. description: 发起方
  16773. type: string
  16774. warehouseid:
  16775. description: 仓库ID
  16776. type: integer
  16777. warehousename:
  16778. description: 仓库名称
  16779. type: string
  16780. wrfactortypeid:
  16781. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16782. type: string
  16783. wrfactortypename:
  16784. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16785. type: string
  16786. wrpricetype:
  16787. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  16788. type: integer
  16789. wrstandardcode:
  16790. description: 现货商品代码
  16791. type: string
  16792. wrstandardid:
  16793. description: 现货商品ID
  16794. type: integer
  16795. wrstandardname:
  16796. description: 商品名称
  16797. type: string
  16798. wrtradeorderid:
  16799. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  16800. type: string
  16801. wrtradeorderstatus:
  16802. description: 委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝
  16803. 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤
  16804. type: integer
  16805. wrtradetype:
  16806. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  16807. type: integer
  16808. wrtypename:
  16809. description: 商品
  16810. type: string
  16811. type: object
  16812. models.WrSpotGroupTradeSum:
  16813. properties:
  16814. deliverygoodscode:
  16815. description: 现货品种代码
  16816. type: string
  16817. deliverygoodsid:
  16818. description: 现货品种ID(SEQ_DELIVERYGOODS)
  16819. type: integer
  16820. deliverygoodsname:
  16821. description: 现货品种名称
  16822. type: string
  16823. lastavgprice:
  16824. description: 上上个交易日价格(前2天价格)
  16825. type: string
  16826. lastreckondate:
  16827. description: 上上个交易日(前2天交易日)
  16828. type: string
  16829. reckondate:
  16830. description: 上个交易日(前1天交易日)
  16831. type: string
  16832. todayavgprice:
  16833. description: 上个交易日价格(前1天价格)
  16834. type: string
  16835. updown:
  16836. description: 涨跌
  16837. type: string
  16838. updownratio:
  16839. description: 涨幅(已格式化, 直接显示即可)
  16840. type: string
  16841. type: object
  16842. models.WrSpotGroupTradeSumDetail:
  16843. properties:
  16844. deliverygoodsid:
  16845. description: 现货商品id
  16846. type: integer
  16847. price:
  16848. description: 价格
  16849. type: number
  16850. reckondate:
  16851. description: 日期(yyymmdd, 如:20211031)
  16852. type: string
  16853. type: object
  16854. models.WrSpotGroupTradeSumEx:
  16855. properties:
  16856. lst:
  16857. description: 指数列表
  16858. items:
  16859. $ref: '#/definitions/models.WrSpotGroupTradeSum'
  16860. type: array
  16861. prereckondate:
  16862. description: 上上个交易日(yyymmdd)
  16863. type: string
  16864. reckondate:
  16865. description: 上个交易日(yyyymmdd)
  16866. type: string
  16867. type: object
  16868. models.WrStandardFactoryItem:
  16869. properties:
  16870. dgfactoryitemid:
  16871. description: 选择项id
  16872. type: integer
  16873. dgfactoryitemvalue:
  16874. description: 要素项值
  16875. type: string
  16876. warehouseid:
  16877. description: 仓库id
  16878. type: integer
  16879. type: object
  16880. models.WrStandardFactoryItemEx:
  16881. properties:
  16882. dgfactoryitemtypeid:
  16883. description: 要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)
  16884. type: integer
  16885. itemlst:
  16886. description: 要素项列表
  16887. items:
  16888. $ref: '#/definitions/models.WrStandardFactoryItem'
  16889. type: array
  16890. itemtypename:
  16891. description: 要素项类型名称
  16892. type: string
  16893. wrstandardid:
  16894. description: 品类
  16895. type: integer
  16896. type: object
  16897. models.WrTradeDetail:
  16898. properties:
  16899. accountid:
  16900. description: 资金账号
  16901. type: integer
  16902. bannerpicurl:
  16903. description: Banner图
  16904. type: string
  16905. begindate:
  16906. description: 开始交易日(yyyymmdd)
  16907. type: string
  16908. buyorsell:
  16909. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  16910. type: integer
  16911. chargevalue:
  16912. description: 手续费
  16913. type: number
  16914. deliverygoodscode:
  16915. description: 品种代码
  16916. type: string
  16917. deliverygoodsid:
  16918. description: 品种ID
  16919. type: integer
  16920. deliverygoodsname:
  16921. description: 品种名称
  16922. type: string
  16923. deliverymonth:
  16924. description: 交收月
  16925. type: string
  16926. enddate:
  16927. description: 结束交易日(yyyymmdd)
  16928. type: string
  16929. enumdicname:
  16930. description: 单位名称
  16931. type: string
  16932. haswr:
  16933. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  16934. type: integer
  16935. marketid:
  16936. description: 市场ID
  16937. type: integer
  16938. matchaccountid:
  16939. description: 对手账号
  16940. type: integer
  16941. matchusername:
  16942. description: 对手方
  16943. type: string
  16944. minivalue:
  16945. description: 现货商品最小变动值
  16946. type: integer
  16947. optioncompare:
  16948. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16949. type: string
  16950. thumurls:
  16951. description: 缩略图
  16952. type: string
  16953. tradedate:
  16954. description: 交易日(yyyyMMdd)
  16955. type: string
  16956. tradeprice:
  16957. description: 成交价格
  16958. type: number
  16959. tradeqty:
  16960. description: 成交数量
  16961. type: number
  16962. tradetime:
  16963. description: 成交时间
  16964. type: string
  16965. userid:
  16966. description: 用户ID
  16967. type: integer
  16968. warehouseid:
  16969. description: 仓库ID
  16970. type: integer
  16971. warehousename:
  16972. description: 仓库名称
  16973. type: string
  16974. wrfactortypeid:
  16975. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16976. type: string
  16977. wrfactortypename:
  16978. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16979. type: string
  16980. wrstandardcode:
  16981. description: 现货商品代码
  16982. type: string
  16983. wrstandardid:
  16984. description: 现货商品ID
  16985. type: integer
  16986. wrstandardname:
  16987. description: 商品名称
  16988. type: string
  16989. wrtradedetailid:
  16990. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  16991. type: string
  16992. wrtradetype:
  16993. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  16994. type: integer
  16995. wrtypename:
  16996. description: 商品
  16997. type: string
  16998. type: object
  16999. models.WrTradeOrderDetail:
  17000. properties:
  17001. buyorsell:
  17002. description: 买卖方向 0-买 1-卖
  17003. type: integer
  17004. goodsid:
  17005. description: 商品id
  17006. type: integer
  17007. orderid:
  17008. description: 委托单号
  17009. type: string
  17010. orderprice:
  17011. description: 期初均价
  17012. type: number
  17013. orderqty:
  17014. description: 委托数量
  17015. type: integer
  17016. userid:
  17017. description: 用户id
  17018. type: integer
  17019. username:
  17020. description: 用户名称(已脱敏)
  17021. type: string
  17022. type: object
  17023. models.WrTypeItem:
  17024. properties:
  17025. name:
  17026. description: 名称
  17027. type: string
  17028. value:
  17029. description: 值
  17030. type: string
  17031. type: object
  17032. models.WrUserFriend:
  17033. properties:
  17034. friendname:
  17035. description: 朋友名称(已脱敏)
  17036. type: string
  17037. frienduserid:
  17038. description: 朋友id
  17039. type: integer
  17040. isfriend:
  17041. description: 是否好友 0-不是 1-是
  17042. type: integer
  17043. userid:
  17044. description: 用户id
  17045. type: integer
  17046. type: object
  17047. models.WrUserReceiptInfo:
  17048. properties:
  17049. address:
  17050. description: 地址[发票类型:企业]
  17051. type: string
  17052. autoid:
  17053. description: AutoID
  17054. type: integer
  17055. contactinfo:
  17056. description: 联系方式
  17057. type: string
  17058. idnum:
  17059. description: 身份证号码[发票类型:个人]
  17060. type: string
  17061. isdefault:
  17062. description: 是否默认地址 - 0:否 1:是
  17063. type: integer
  17064. receiptaccount:
  17065. description: 发票帐号[发票类型:企业]
  17066. type: string
  17067. receiptbank:
  17068. description: 发票开户行[发票类型:企业]
  17069. type: string
  17070. receipttype:
  17071. description: 发票类型 - 1:个人 2:企业
  17072. type: integer
  17073. taxpayerid:
  17074. description: 纳税人识别号
  17075. type: string
  17076. userid:
  17077. description: 用户ID
  17078. type: integer
  17079. username:
  17080. description: 户名(个人姓名或企业名称)
  17081. type: string
  17082. type: object
  17083. models.Wrtradetradequote:
  17084. properties:
  17085. begindate:
  17086. description: 开始日期(结果含开始日期) yyyymmdd
  17087. type: string
  17088. buyaccountid:
  17089. description: 买方账号ID
  17090. type: integer
  17091. buyuserid:
  17092. description: 买方用户ID
  17093. type: integer
  17094. deliverygoodsid:
  17095. description: 现货品种ID
  17096. type: integer
  17097. enddate:
  17098. description: 结束日期(结果含结束日期) yyyymmdd
  17099. type: string
  17100. marketid:
  17101. description: 市场ID
  17102. type: integer
  17103. sellaccountid:
  17104. description: 卖方账号ID
  17105. type: integer
  17106. selluserid:
  17107. description: 卖方用户ID
  17108. type: integer
  17109. tradeamount:
  17110. description: 成交金额
  17111. type: number
  17112. tradedate:
  17113. description: 交易日(yyyyMMdd)
  17114. type: string
  17115. tradeprice:
  17116. description: 成交价格
  17117. type: number
  17118. tradeqty:
  17119. description: 成交数量
  17120. type: integer
  17121. tradetime:
  17122. description: 成交时间
  17123. type: string
  17124. wrfactortypeid:
  17125. description: 仓单要素类型ID
  17126. type: integer
  17127. wrstandardid:
  17128. description: 现货商品ID
  17129. type: integer
  17130. wrtradedetailid:
  17131. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  17132. type: string
  17133. type: object
  17134. models.XHBRAND:
  17135. properties:
  17136. brandid:
  17137. description: 品牌id
  17138. type: integer
  17139. brandname:
  17140. description: 品牌名称
  17141. type: string
  17142. isvalid:
  17143. description: 是否有效 0-无效 1-有效
  17144. type: integer
  17145. type: object
  17146. models.XHDeliveryGoods:
  17147. properties:
  17148. areauserid:
  17149. description: 所属机构
  17150. type: integer
  17151. bdlst:
  17152. description: 品牌列表
  17153. items:
  17154. $ref: '#/definitions/models.XHBRAND'
  17155. type: array
  17156. deliverygoodscode:
  17157. description: 现货品种代码
  17158. type: string
  17159. deliverygoodsid:
  17160. description: 现货品种ID(SEQ_DELIVERYGOODS)
  17161. type: integer
  17162. deliverygoodsname:
  17163. description: 现货品种名称
  17164. type: string
  17165. dgstatus:
  17166. description: 品种状态 - 作废 - 0:未激活 1:正常
  17167. type: integer
  17168. filterSubEmpty:
  17169. description: 过滤下级为空的
  17170. type: integer
  17171. isvalid:
  17172. description: 是否有效 - 0:无效 1:有效
  17173. type: integer
  17174. remark:
  17175. description: 备注
  17176. type: string
  17177. unitid:
  17178. description: 单位id(目前看,数据库中是空值)
  17179. type: integer
  17180. wdlst:
  17181. description: 品类(现货商品)列表
  17182. items:
  17183. $ref: '#/definitions/models.XHWrstandard'
  17184. type: array
  17185. type: object
  17186. models.XHMiddleGoods:
  17187. properties:
  17188. GPLST:
  17189. description: 期货品种列表
  17190. items:
  17191. $ref: '#/definitions/models.TBGoodsGroup'
  17192. type: array
  17193. convertratio:
  17194. description: 拆算系数
  17195. type: number
  17196. costratio:
  17197. description: 成本权重
  17198. type: number
  17199. deliverygoodsid:
  17200. description: 现货商品id
  17201. type: integer
  17202. enumdicname:
  17203. description: 单位名称
  17204. type: string
  17205. middlegoodscode:
  17206. description: 套保品种代码
  17207. type: string
  17208. middlegoodsid:
  17209. description: 套保品种id
  17210. type: integer
  17211. middlegoodsname:
  17212. description: 套保品种名称
  17213. type: string
  17214. unitid:
  17215. description: 单位id
  17216. type: integer
  17217. type: object
  17218. models.XHWrstandard:
  17219. properties:
  17220. bannerpicurl:
  17221. description: banner图
  17222. type: string
  17223. deliverygoodsid:
  17224. description: 品种ID
  17225. type: integer
  17226. enumdicname:
  17227. description: 单位名称
  17228. type: string
  17229. mglst:
  17230. description: 套保品列表
  17231. items:
  17232. $ref: '#/definitions/models.XHMiddleGoods'
  17233. type: array
  17234. pictureurls:
  17235. description: 详情图片(逗号分隔)
  17236. type: string
  17237. thumurls:
  17238. description: 缩略图片(1:1)(逗号分隔)
  17239. type: string
  17240. unitid:
  17241. description: 单位id
  17242. type: integer
  17243. vatrate:
  17244. description: 增值税率
  17245. type: number
  17246. wrstandardcode:
  17247. description: 现货商品代码
  17248. type: string
  17249. wrstandardid:
  17250. description: 现货商品ID(SEQ_WRSTANDARD)
  17251. type: integer
  17252. wrstandardname:
  17253. description: 现货商品名称
  17254. type: string
  17255. type: object
  17256. models.XhcpSellBackApplyEx:
  17257. properties:
  17258. applyremark:
  17259. description: 申请备注
  17260. type: string
  17261. expirytype:
  17262. description: 寄售有效期 - 1:3天 2:7天 3:15天 4:长期
  17263. type: integer
  17264. goodsspec:
  17265. description: 商品规格 - 1:整件 2;整提 3:单罐 4:单盒
  17266. type: integer
  17267. holeflag:
  17268. description: 是否破洞[原封] - 1:无破洞 2:破洞
  17269. type: integer
  17270. isunopened:
  17271. description: 是否原封 - 1:否 2:是
  17272. type: integer
  17273. mpflag:
  17274. description: 磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮
  17275. type: integer
  17276. openflag:
  17277. description: 是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。
  17278. 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。
  17279. type: integer
  17280. phonenum:
  17281. description: 联系电话
  17282. type: string
  17283. userid:
  17284. description: 所属用户ID
  17285. type: integer
  17286. zpflag:
  17287. description: 皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮
  17288. type: integer
  17289. required:
  17290. - userid
  17291. type: object
  17292. models.Xhcpsellbackapply:
  17293. properties:
  17294. applyid:
  17295. description: 申请人
  17296. type: integer
  17297. applyremark:
  17298. description: 申请备注
  17299. type: string
  17300. applysrc:
  17301. description: 申请来源 - 1:管理端 2:终端
  17302. type: integer
  17303. applystatus:
  17304. description: 申请状态 - 1:待确认 2:已处理
  17305. type: integer
  17306. applytime:
  17307. description: 申请时间
  17308. type: string
  17309. auditremark:
  17310. description: 审核备注
  17311. type: string
  17312. auditsrc:
  17313. description: 审核来源 - 1:管理端 2:终端
  17314. type: integer
  17315. expirytype:
  17316. description: 寄售有效期 - 1:3天 2:7天 3:15天 4:长期
  17317. type: integer
  17318. goodsspec:
  17319. description: 商品规格 - 1:整件 2;整提 3:单罐 4:单盒
  17320. type: integer
  17321. holeflag:
  17322. description: 是否破洞[原封] - 1:无破洞 2:破洞
  17323. type: integer
  17324. isunopened:
  17325. description: 是否原封 - 1:否 2:是
  17326. type: integer
  17327. mpflag:
  17328. description: 磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮
  17329. type: integer
  17330. openflag:
  17331. description: 是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。
  17332. 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。
  17333. type: integer
  17334. phonenum:
  17335. description: 联系电话
  17336. type: string
  17337. sellbackapplyid:
  17338. description: 回收申请ID - SEQ_XHCP_SELLBACKAPPLY
  17339. type: string
  17340. userid:
  17341. description: 所属用户ID
  17342. type: integer
  17343. zpflag:
  17344. description: 皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮
  17345. type: integer
  17346. required:
  17347. - userid
  17348. type: object
  17349. order.QueryHisTradeDetailRsp:
  17350. properties:
  17351. accountid:
  17352. description: 账户ID[报价币种]
  17353. type: integer
  17354. advanceratio:
  17355. description: 首付比率
  17356. type: number
  17357. buildtype:
  17358. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  17359. type: integer
  17360. buyorsell:
  17361. description: 方向 - 0:买 1:卖
  17362. type: integer
  17363. charge:
  17364. description: 手续费
  17365. type: number
  17366. closecharge:
  17367. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  17368. type: number
  17369. closeexchagechargevalue:
  17370. description: 平仓交易所手续费设置值
  17371. type: number
  17372. closefeealgorithm:
  17373. description: 平仓手续费收取方式 1:比率 2:固定
  17374. type: integer
  17375. closememberchargevalue:
  17376. description: 平仓会员手续费设置值
  17377. type: number
  17378. closepl:
  17379. description: 平仓盈亏
  17380. type: number
  17381. closepl2:
  17382. description: 平仓盈亏[逐笔]
  17383. type: number
  17384. closeqty:
  17385. description: 平仓数量(先建后平操作 需要记录)
  17386. type: number
  17387. creditamount:
  17388. description: 授信金额
  17389. type: number
  17390. decimalplace:
  17391. description: 商品报价小数位
  17392. type: integer
  17393. enumdicname:
  17394. description: 单位名称
  17395. type: string
  17396. gcaccountid:
  17397. description: 账户ID[合约币种]
  17398. type: integer
  17399. goodscode:
  17400. description: 商品代码
  17401. type: string
  17402. goodsid:
  17403. description: 商品ID
  17404. type: integer
  17405. goodsname:
  17406. description: 商品名称
  17407. type: string
  17408. goodunitid:
  17409. description: 商品单位id
  17410. type: integer
  17411. histradedate:
  17412. description: 历史交易日
  17413. type: string
  17414. intclosepl:
  17415. description: 整型盈亏(用于交易结算试算平衡-收益权)
  17416. type: integer
  17417. isconfirmexercise:
  17418. description: 是否确认行权- 0:否 1:是
  17419. type: integer
  17420. ismain:
  17421. description: 是否主单 - 0:不是 1:是
  17422. type: integer
  17423. ispreexercise:
  17424. description: 是否预申报- 0:否 1:是
  17425. type: integer
  17426. isreckoned:
  17427. description: 是否结算 - 0:未结算 1:已结算
  17428. type: integer
  17429. isvaliddata:
  17430. description: 是否有效 - 0:无效 1:有效
  17431. type: integer
  17432. listingselecttype:
  17433. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  17434. type: integer
  17435. marketid:
  17436. description: 市场ID
  17437. type: integer
  17438. marketname:
  17439. description: 市场名称
  17440. type: string
  17441. matchaccountid:
  17442. description: 对手账号id
  17443. type: integer
  17444. memberuserid:
  17445. description: 会员id 个人投资者 需要填写
  17446. type: integer
  17447. opencharge:
  17448. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  17449. type: number
  17450. openexchagechargevalue:
  17451. description: 建仓交易所手续费设置值
  17452. type: number
  17453. openfeealgorithm:
  17454. description: 建仓手续费收取方式 1:比率 2:固定
  17455. type: integer
  17456. openmemberchargevalue:
  17457. description: 建仓会员手续费设置值
  17458. type: number
  17459. openqty:
  17460. description: 开仓数量(先建后平操作 需要记录)
  17461. type: number
  17462. optiontype:
  17463. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  17464. type: integer
  17465. orderid:
  17466. description: 委托单号
  17467. type: string
  17468. payamount:
  17469. description: 支付金额(付款金额)
  17470. type: number
  17471. performanceplanid:
  17472. description: 履约计划ID[期权]
  17473. type: integer
  17474. performancestatus:
  17475. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  17476. type: integer
  17477. preexerciseprice:
  17478. description: 预申报价格
  17479. type: number
  17480. premium:
  17481. description: 权利金 - [持仓单的权利金]
  17482. type: number
  17483. qtydecimalplace:
  17484. description: 商品报价小数位
  17485. type: integer
  17486. recvamount:
  17487. description: 到账金额 = 成交金额 - 手续费
  17488. type: number
  17489. relatedouttradeid:
  17490. description: 关联外部成交单ID
  17491. type: integer
  17492. status:
  17493. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  17494. type: integer
  17495. totalamount:
  17496. description: 订单总额 = 成交金额 + 手续费
  17497. type: number
  17498. tradeamount:
  17499. description: 成交金额[账户币种,用于所有权]
  17500. type: number
  17501. tradedate:
  17502. description: 交易日(yyyyMMdd)
  17503. type: string
  17504. tradeid:
  17505. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17506. type: string
  17507. trademode:
  17508. description: 交易模式
  17509. type: integer
  17510. tradeprice:
  17511. description: 成交价格
  17512. type: number
  17513. tradeproperty:
  17514. description: 交易属性
  17515. type: integer
  17516. tradeqty:
  17517. description: 成交数量
  17518. type: number
  17519. tradetime:
  17520. description: 成交时间
  17521. type: string
  17522. tradetype:
  17523. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  17524. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  17525. type: integer
  17526. required:
  17527. - accountid
  17528. - buyorsell
  17529. - goodsid
  17530. - histradedate
  17531. - marketid
  17532. - memberuserid
  17533. - orderid
  17534. - tradeamount
  17535. - tradedate
  17536. - tradeid
  17537. - tradeprice
  17538. - tradeqty
  17539. - tradetime
  17540. type: object
  17541. order.QueryHisTradeOrderDetailRsp:
  17542. properties:
  17543. accountid:
  17544. description: 账户ID[报价币种]
  17545. type: integer
  17546. buildtype:
  17547. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  17548. type: integer
  17549. buyorsell:
  17550. description: 买卖 - 0:买 1:卖
  17551. type: integer
  17552. cancelorderid:
  17553. description: 撤单单号(撤单时填写)
  17554. type: string
  17555. cancelqty:
  17556. description: 撤单数量
  17557. type: number
  17558. clientordertime:
  17559. description: 客户端委托时间
  17560. type: string
  17561. clientticket:
  17562. description: 客户端流水号
  17563. type: string
  17564. clienttype:
  17565. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  17566. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  17567. type: integer
  17568. closeexchagechargevalue:
  17569. description: 平仓交易所手续费设置值
  17570. type: number
  17571. closefeealgorithm:
  17572. description: 平仓手续费收取方式 1:比率 2:固定
  17573. type: integer
  17574. closefreezecharge:
  17575. description: 平仓冻结手续费(先建后平操作,需要记录)
  17576. type: number
  17577. closememberchargevalue:
  17578. description: 平仓会员手续费设置值
  17579. type: number
  17580. closeqty:
  17581. description: 平仓数量(先建后平操作 需要记录)
  17582. type: number
  17583. closetradeqty:
  17584. description: 平仓成交数量(先建后平操作,需要记录)
  17585. type: number
  17586. closeunfreezecharge:
  17587. description: 平仓解冻手续费(先建后平操作,需要记录)
  17588. type: number
  17589. decimalplace:
  17590. description: 商品报价小数位
  17591. type: integer
  17592. delistingtype:
  17593. description: 摘牌类型 - 1:价格最优 2:点选成交
  17594. type: integer
  17595. enumdicname:
  17596. description: 单位名称
  17597. type: string
  17598. freezecharge:
  17599. description: 冻结手续费
  17600. type: number
  17601. freezemargin:
  17602. description: 冻结保证金(冻结交易金额)
  17603. type: number
  17604. gcaccountid:
  17605. description: 账户ID[合约币种]
  17606. type: integer
  17607. goodscode:
  17608. description: 商品代码
  17609. type: string
  17610. goodsid:
  17611. description: 商品ID
  17612. type: integer
  17613. goodsname:
  17614. description: 商品名称
  17615. type: string
  17616. goodunitid:
  17617. description: 商品单位id
  17618. type: integer
  17619. histradedate:
  17620. description: 历史交易日
  17621. type: string
  17622. isconfirmexercise:
  17623. description: 是否确认行权- 0:否 1:是
  17624. type: integer
  17625. ispreexercise:
  17626. description: 是否预申报- 0:否 1:是
  17627. type: integer
  17628. isvaliddata:
  17629. description: 是否有效 - 0:无效 1:有效
  17630. type: integer
  17631. listingselecttype:
  17632. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  17633. type: integer
  17634. marginalgorithm:
  17635. description: 保证金收取方式 1:比率 2:固定
  17636. type: integer
  17637. marginvalue:
  17638. description: 即市保证金设置值
  17639. type: number
  17640. marketid:
  17641. description: 市场ID
  17642. type: integer
  17643. marketmaxsub:
  17644. description: 市价最大偏移范围
  17645. type: number
  17646. marketname:
  17647. description: 市场名称
  17648. type: string
  17649. memberuserid:
  17650. description: 所属会员UserID
  17651. type: integer
  17652. openexchagechargevalue:
  17653. description: 建仓交易所手续费设置值
  17654. type: number
  17655. openfeealgorithm:
  17656. description: 建仓手续费收取方式 1:比率 2:固定
  17657. type: integer
  17658. openfreezecharge:
  17659. description: 开仓冻结手续费(先建后平操作,需要记录)
  17660. type: number
  17661. openmemberchargevalue:
  17662. description: 建仓会员手续费设置值
  17663. type: number
  17664. openqty:
  17665. description: 开仓数量(先建后平操作,需要记录)
  17666. type: number
  17667. opentradeqty:
  17668. description: 开仓成交数量(先建后平操作,需要记录)
  17669. type: number
  17670. openunfreezecharge:
  17671. description: 开仓解冻手续费(先建后平操作,需要记录)
  17672. type: number
  17673. operatetype:
  17674. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  17675. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  17676. 15:管理端协议转让
  17677. type: integer
  17678. operatorid:
  17679. description: 登录账号(LoginID)
  17680. type: integer
  17681. optiontype:
  17682. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  17683. type: integer
  17684. orderid:
  17685. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17686. type: string
  17687. orderprice:
  17688. description: 委托价格
  17689. type: number
  17690. orderqty:
  17691. description: 委托数量
  17692. type: number
  17693. ordersrc:
  17694. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  17695. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  17696. type: integer
  17697. orderstatus:
  17698. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  17699. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  17700. 16:成交失败违约(荷兰式竞拍专用)
  17701. type: integer
  17702. ordertime:
  17703. description: 委托时间
  17704. type: string
  17705. preexerciseprice:
  17706. description: 预申报价格
  17707. type: number
  17708. premium:
  17709. description: 权利金
  17710. type: number
  17711. preorderid:
  17712. description: 关联预埋单号(止盈止损单时填写)
  17713. type: string
  17714. pricemode:
  17715. description: '取价方式 - 1:市价 2: 限价'
  17716. type: integer
  17717. qtydecimalplace:
  17718. description: 成交量小数位
  17719. type: integer
  17720. quoteid:
  17721. description: 报价单ID
  17722. type: integer
  17723. relatedid:
  17724. description: 关联单号(交割单)
  17725. type: string
  17726. retcode:
  17727. description: 错误代码
  17728. type: integer
  17729. sessionid:
  17730. description: 会话ID
  17731. type: integer
  17732. tradedate:
  17733. description: 交易日(yyyyMMdd)
  17734. type: string
  17735. trademode:
  17736. description: 交易模式
  17737. type: integer
  17738. tradeproperty:
  17739. description: 交易属性
  17740. type: integer
  17741. tradeqty:
  17742. description: 成交数量
  17743. type: number
  17744. unfreezecharge:
  17745. description: 解冻手续费
  17746. type: number
  17747. unfreezemargin:
  17748. description: 解冻保证金
  17749. type: number
  17750. updatetime:
  17751. description: 更新时间
  17752. type: string
  17753. uuid:
  17754. description: 发起端唯一id
  17755. type: string
  17756. validtime:
  17757. description: 有效期限
  17758. type: string
  17759. validtype:
  17760. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  17761. type: integer
  17762. volumetype:
  17763. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  17764. type: integer
  17765. required:
  17766. - accountid
  17767. - buildtype
  17768. - buyorsell
  17769. - goodsid
  17770. - histradedate
  17771. - marketid
  17772. - memberuserid
  17773. - operatetype
  17774. - orderid
  17775. - orderqty
  17776. - ordertime
  17777. - pricemode
  17778. - tradedate
  17779. - validtype
  17780. type: object
  17781. order.QueryTradeDetailRsp:
  17782. properties:
  17783. accountid:
  17784. description: 账户ID[报价币种]
  17785. type: integer
  17786. advanceratio:
  17787. description: 首付比率
  17788. type: number
  17789. buildtype:
  17790. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  17791. type: integer
  17792. buyorsell:
  17793. description: 方向 - 0:买 1:卖
  17794. type: integer
  17795. charge:
  17796. description: 手续费
  17797. type: number
  17798. closecharge:
  17799. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  17800. type: number
  17801. closeexchagechargevalue:
  17802. description: 平仓交易所手续费设置值
  17803. type: number
  17804. closefeealgorithm:
  17805. description: 平仓手续费收取方式 1:比率 2:固定
  17806. type: integer
  17807. closememberchargevalue:
  17808. description: 平仓会员手续费设置值
  17809. type: number
  17810. closepl:
  17811. description: 平仓盈亏
  17812. type: number
  17813. closepl2:
  17814. description: 平仓盈亏[逐笔]
  17815. type: number
  17816. closeqty:
  17817. description: 平仓数量(先建后平操作 需要记录)
  17818. type: number
  17819. creditamount:
  17820. description: 授信金额
  17821. type: number
  17822. decimalplace:
  17823. description: 商品报价小数位
  17824. type: integer
  17825. enumdicname:
  17826. description: 单位名称
  17827. type: string
  17828. gcaccountid:
  17829. description: 账户ID[合约币种]
  17830. type: integer
  17831. goodscode:
  17832. description: 商品代码
  17833. type: string
  17834. goodsid:
  17835. description: 商品ID
  17836. type: integer
  17837. goodsname:
  17838. description: 商品名称
  17839. type: string
  17840. goodunitid:
  17841. description: 商品单位id
  17842. type: integer
  17843. intclosepl:
  17844. description: 整型盈亏(用于交易结算试算平衡-收益权)
  17845. type: integer
  17846. isconfirmexercise:
  17847. description: 是否确认行权- 0:否 1:是
  17848. type: integer
  17849. ismain:
  17850. description: 是否主单 - 0:不是 1:是
  17851. type: integer
  17852. ispreexercise:
  17853. description: 是否预申报- 0:否 1:是
  17854. type: integer
  17855. isreckoned:
  17856. description: 是否结算 - 0:未结算 1:已结算
  17857. type: integer
  17858. listingselecttype:
  17859. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  17860. type: integer
  17861. marketid:
  17862. description: 市场ID
  17863. type: integer
  17864. marketname:
  17865. description: 市场名称
  17866. type: string
  17867. matchaccountid:
  17868. description: 对手账号id
  17869. type: integer
  17870. memberuserid:
  17871. description: 会员id 个人投资者 需要填写
  17872. type: integer
  17873. opencharge:
  17874. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  17875. type: number
  17876. openexchagechargevalue:
  17877. description: 建仓交易所手续费设置值
  17878. type: number
  17879. openfeealgorithm:
  17880. description: 建仓手续费收取方式 1:比率 2:固定
  17881. type: integer
  17882. openmemberchargevalue:
  17883. description: 建仓会员手续费设置值
  17884. type: number
  17885. openqty:
  17886. description: 开仓数量(先建后平操作 需要记录)
  17887. type: number
  17888. optiontype:
  17889. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  17890. type: integer
  17891. orderid:
  17892. description: 委托单号
  17893. type: string
  17894. payamount:
  17895. description: 支付金额(付款金额)
  17896. type: number
  17897. performanceplanid:
  17898. description: 履约计划ID[期权]
  17899. type: integer
  17900. performancestatus:
  17901. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  17902. type: integer
  17903. preexerciseprice:
  17904. description: 预申报价格
  17905. type: number
  17906. premium:
  17907. description: 权利金 - [持仓单的权利金]
  17908. type: number
  17909. qtydecimalplace:
  17910. description: 商品报价小数位
  17911. type: integer
  17912. recvamount:
  17913. description: 到账金额 = 成交金额 - 手续费
  17914. type: number
  17915. relatedouttradeid:
  17916. description: 关联外部成交单ID
  17917. type: integer
  17918. status:
  17919. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  17920. type: integer
  17921. totalamount:
  17922. description: 订单总额 = 成交金额 + 手续费
  17923. type: number
  17924. tradeamount:
  17925. description: 成交金额[账户币种,用于所有权]
  17926. type: number
  17927. tradedate:
  17928. description: 交易日(yyyyMMdd)
  17929. type: string
  17930. tradeid:
  17931. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17932. type: string
  17933. trademode:
  17934. description: 交易模式
  17935. type: integer
  17936. tradeprice:
  17937. description: 成交价格
  17938. type: number
  17939. tradeproperty:
  17940. description: 交易属性
  17941. type: integer
  17942. tradeqty:
  17943. description: 成交数量
  17944. type: number
  17945. tradetime:
  17946. description: 成交时间
  17947. type: string
  17948. tradetype:
  17949. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  17950. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  17951. type: integer
  17952. required:
  17953. - accountid
  17954. - buyorsell
  17955. - goodsid
  17956. - marketid
  17957. - memberuserid
  17958. - orderid
  17959. - tradeamount
  17960. - tradedate
  17961. - tradeid
  17962. - tradeprice
  17963. - tradeqty
  17964. - tradetime
  17965. type: object
  17966. order.QueryTradeOrderDetailRsp:
  17967. properties:
  17968. accountid:
  17969. description: 账户ID[报价币种]
  17970. type: integer
  17971. buildtype:
  17972. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  17973. type: integer
  17974. buyorsell:
  17975. description: 买卖 - 0:买 1:卖
  17976. type: integer
  17977. cancelorderid:
  17978. description: 撤单单号(撤单时填写)
  17979. type: string
  17980. cancelqty:
  17981. description: 撤单数量
  17982. type: number
  17983. clienttype:
  17984. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  17985. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  17986. type: integer
  17987. closefreezecharge:
  17988. description: 平仓冻结手续费(先建后平操作,需要记录)
  17989. type: number
  17990. closeqty:
  17991. description: 平仓数量(先建后平操作 需要记录)
  17992. type: number
  17993. closetradeqty:
  17994. description: 平仓成交数量(先建后平操作,需要记录)
  17995. type: number
  17996. closeunfreezecharge:
  17997. description: 平仓解冻手续费(先建后平操作,需要记录)
  17998. type: number
  17999. decimalplace:
  18000. description: 商品报价小数位
  18001. type: integer
  18002. delistingtype:
  18003. description: 摘牌类型 - 1:价格最优 2:点选成交
  18004. type: integer
  18005. enableqty:
  18006. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  18007. type: number
  18008. enumdicname:
  18009. description: 单位名称
  18010. type: string
  18011. freezecharge:
  18012. description: 冻结手续费
  18013. type: number
  18014. freezemargin:
  18015. description: 冻结保证金(冻结交易金额)
  18016. type: number
  18017. goodscode:
  18018. description: 商品代码
  18019. type: string
  18020. goodsid:
  18021. description: 商品ID
  18022. type: integer
  18023. goodsname:
  18024. description: 商品名称
  18025. type: string
  18026. goodunitid:
  18027. description: 商品单位id
  18028. type: integer
  18029. listingselecttype:
  18030. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  18031. type: integer
  18032. marketid:
  18033. description: 市场ID
  18034. type: integer
  18035. marketname:
  18036. description: 市场名称
  18037. type: string
  18038. openfreezecharge:
  18039. description: 开仓冻结手续费(先建后平操作,需要记录)
  18040. type: number
  18041. openqty:
  18042. description: 开仓数量(先建后平操作,需要记录)
  18043. type: number
  18044. opentradeqty:
  18045. description: 开仓成交数量(先建后平操作,需要记录)
  18046. type: number
  18047. openunfreezecharge:
  18048. description: 开仓解冻手续费(先建后平操作,需要记录)
  18049. type: number
  18050. operatetype:
  18051. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  18052. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  18053. 15:管理端协议转让
  18054. type: integer
  18055. operatorid:
  18056. description: 登录账号(LoginID)
  18057. type: integer
  18058. orderid:
  18059. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  18060. type: string
  18061. orderprice:
  18062. description: 委托价格
  18063. type: number
  18064. orderqty:
  18065. description: 委托数量
  18066. type: number
  18067. ordersrc:
  18068. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  18069. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  18070. type: integer
  18071. orderstatus:
  18072. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  18073. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  18074. 16:成交失败违约(荷兰式竞拍专用)
  18075. type: integer
  18076. ordertime:
  18077. description: 委托时间
  18078. type: string
  18079. preorderid:
  18080. description: 关联预埋单号(止盈止损单时填写)
  18081. type: string
  18082. pricemode:
  18083. description: '取价方式 - 1:市价 2: 限价'
  18084. type: integer
  18085. qtydecimalplace:
  18086. description: 商品报价小数位
  18087. type: integer
  18088. relatedid:
  18089. description: 关联单号(交割单)
  18090. type: string
  18091. tradedate:
  18092. description: 交易日(yyyyMMdd)
  18093. type: string
  18094. trademode:
  18095. description: 交易模式
  18096. type: integer
  18097. tradeqty:
  18098. description: 成交数量
  18099. type: number
  18100. unfreezecharge:
  18101. description: 解冻手续费
  18102. type: number
  18103. unfreezemargin:
  18104. description: 解冻保证金
  18105. type: number
  18106. validtime:
  18107. description: 有效期限
  18108. type: string
  18109. validtype:
  18110. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  18111. type: integer
  18112. volumetype:
  18113. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  18114. type: integer
  18115. required:
  18116. - accountid
  18117. - buildtype
  18118. - buyorsell
  18119. - goodsid
  18120. - marketid
  18121. - operatetype
  18122. - orderqty
  18123. - ordertime
  18124. - pricemode
  18125. - tradedate
  18126. - validtype
  18127. type: object
  18128. order.QueryTradePositionRsp:
  18129. properties:
  18130. accountid:
  18131. description: 资金账户
  18132. type: integer
  18133. agreeunit:
  18134. description: 合约单位
  18135. type: number
  18136. averageprice:
  18137. description: 持仓均价
  18138. type: number
  18139. buyorsell:
  18140. description: 方向 - 0:买 1:卖
  18141. type: integer
  18142. closetotalqty:
  18143. description: 平仓总数量
  18144. type: number
  18145. curholderamount:
  18146. description: 当前持仓总金额[商品币种]
  18147. type: number
  18148. curpositionqty:
  18149. description: 当前持仓总数量
  18150. type: number
  18151. currencyid:
  18152. description: 报价货币ID
  18153. type: integer
  18154. curtdposition:
  18155. description: 期末今日头寸
  18156. type: number
  18157. decimalplace:
  18158. description: 报价小数位
  18159. type: integer
  18160. enableqty:
  18161. description: 可用量
  18162. type: number
  18163. fretdposition:
  18164. description: 冻结今日头寸
  18165. type: number
  18166. frozenqty:
  18167. description: 持仓冻结数量
  18168. type: number
  18169. goodscode:
  18170. description: 商品代码
  18171. type: string
  18172. goodsid:
  18173. description: 商品Id
  18174. type: integer
  18175. goodsname:
  18176. description: 商品名称
  18177. type: string
  18178. goodunit:
  18179. description: 报价单位
  18180. type: string
  18181. goodunitid:
  18182. description: 报价单位ID
  18183. type: integer
  18184. holderamount:
  18185. description: 期初持仓总金额[商品币种]
  18186. type: number
  18187. lastprice:
  18188. description: 最新价
  18189. type: number
  18190. marketamount:
  18191. description: 市值
  18192. type: number
  18193. marketid:
  18194. description: 所属市场ID
  18195. type: integer
  18196. openreqqty:
  18197. description: 开仓申请数量(用于比较最大持仓数量)
  18198. type: number
  18199. opentotalqty:
  18200. description: 开仓总数量
  18201. type: number
  18202. otherfrozenqty:
  18203. description: 持仓其他冻结数量(交割冻结)
  18204. type: number
  18205. positionpl:
  18206. description: 持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸
  18207. * 合约单位
  18208. type: number
  18209. positionplrate:
  18210. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  18211. type: number
  18212. positionqty:
  18213. description: 期初持仓数量
  18214. type: number
  18215. qtydecimalplace:
  18216. description: 成交量小数位
  18217. type: integer
  18218. refgoodscode:
  18219. description: 参考商品代码
  18220. type: string
  18221. refgoodsid:
  18222. description: 参考商品ID
  18223. type: integer
  18224. tnqty:
  18225. description: T+N冻结总量
  18226. type: number
  18227. tnusedqty:
  18228. description: T+N使用量(可以使用T+N的冻结数量)
  18229. type: number
  18230. trademode:
  18231. description: 交易模式
  18232. type: integer
  18233. tradeproperty:
  18234. description: 交易属性
  18235. type: integer
  18236. usedmargin:
  18237. description: 占用保证金[商品币种]
  18238. type: number
  18239. required:
  18240. - goodsid
  18241. type: object
  18242. pb.GoodsMarginCfgStruct:
  18243. properties:
  18244. CustomerTypeID:
  18245. description: 投资者客户类型
  18246. type: integer
  18247. GoodsID:
  18248. description: 商品ID
  18249. type: integer
  18250. IsDefault:
  18251. description: 是否默认标志位
  18252. type: integer
  18253. LockMarginValue:
  18254. description: 锁仓保证金
  18255. type: number
  18256. MarginAlgorithm:
  18257. description: 保证金计算方式
  18258. type: integer
  18259. MarketMarginValue:
  18260. description: 即市保证金值
  18261. type: number
  18262. RealMarginAlgorithm:
  18263. description: 实付保证金计算方式
  18264. type: integer
  18265. RealMarginValue:
  18266. description: 实付比例
  18267. type: number
  18268. ReckonMarginValue:
  18269. description: 结算保证金值
  18270. type: number
  18271. type: object
  18272. quote.HistoryData:
  18273. properties:
  18274. c:
  18275. description: 收盘价
  18276. type: number
  18277. f:
  18278. description: 是否补充数据
  18279. type: boolean
  18280. h:
  18281. description: 最高价
  18282. type: number
  18283. hv:
  18284. description: 持仓量
  18285. type: integer
  18286. l:
  18287. description: 最低价
  18288. type: number
  18289. o:
  18290. description: 开盘价
  18291. type: number
  18292. s:
  18293. description: 结算价,日线周期(包括)以上才有
  18294. type: number
  18295. ts:
  18296. description: 时间
  18297. type: string
  18298. tt:
  18299. description: 总金额
  18300. type: number
  18301. tv:
  18302. description: 总量(成交量)
  18303. type: integer
  18304. type: object
  18305. quote.HistoryTikData:
  18306. properties:
  18307. AV:
  18308. description: 卖量
  18309. type: integer
  18310. Ask:
  18311. description: 卖价
  18312. type: number
  18313. BV:
  18314. description: 买量
  18315. type: integer
  18316. Bid:
  18317. description: 买价
  18318. type: number
  18319. HI:
  18320. description: 单笔持仓
  18321. type: integer
  18322. HV:
  18323. description: 持仓量
  18324. type: integer
  18325. PE:
  18326. description: 现价
  18327. type: number
  18328. TDR:
  18329. description: 交易方向,0:买 1:卖
  18330. type: integer
  18331. TK:
  18332. description: 交易类型
  18333. type: integer
  18334. TS:
  18335. description: 行情时间文本
  18336. type: string
  18337. TT:
  18338. description: 现金额
  18339. type: number
  18340. Vol:
  18341. description: 现量
  18342. type: integer
  18343. type: object
  18344. quote.QueryQuoteDayRsp:
  18345. properties:
  18346. ask:
  18347. description: 卖1
  18348. type: number
  18349. ask2:
  18350. description: 卖2
  18351. type: number
  18352. ask3:
  18353. description: 卖3
  18354. type: number
  18355. ask4:
  18356. description: 卖4
  18357. type: number
  18358. ask5:
  18359. description: 卖5
  18360. type: number
  18361. ask6:
  18362. description: 卖6
  18363. type: number
  18364. ask7:
  18365. description: 卖7
  18366. type: number
  18367. ask8:
  18368. description: 卖8
  18369. type: number
  18370. ask9:
  18371. description: 卖9
  18372. type: number
  18373. ask10:
  18374. description: 卖10
  18375. type: number
  18376. askorderid:
  18377. description: 卖单号1
  18378. type: integer
  18379. askorderid2:
  18380. description: 卖单号2
  18381. type: integer
  18382. askorderid3:
  18383. description: 卖单号3
  18384. type: integer
  18385. askorderid4:
  18386. description: 卖单号4
  18387. type: integer
  18388. askorderid5:
  18389. description: 卖单号5
  18390. type: integer
  18391. askordervolume:
  18392. description: 卖单量1
  18393. type: integer
  18394. askordervolume2:
  18395. description: 卖单量2
  18396. type: integer
  18397. askordervolume3:
  18398. description: 卖单量3
  18399. type: integer
  18400. askordervolume4:
  18401. description: 卖单量4
  18402. type: integer
  18403. askordervolume5:
  18404. description: 卖单量5
  18405. type: integer
  18406. askordervolume6:
  18407. description: 卖单量6
  18408. type: integer
  18409. askordervolume7:
  18410. description: 卖单量7
  18411. type: integer
  18412. askordervolume8:
  18413. description: 卖单量8
  18414. type: integer
  18415. askordervolume9:
  18416. description: 卖单量9
  18417. type: integer
  18418. askordervolume10:
  18419. description: 卖单量10
  18420. type: integer
  18421. askqueueinfo:
  18422. description: 大利市卖港股用
  18423. type: string
  18424. askvolume:
  18425. description: 卖量1
  18426. type: integer
  18427. askvolume2:
  18428. description: 卖量2
  18429. type: integer
  18430. askvolume3:
  18431. description: 卖量3
  18432. type: integer
  18433. askvolume4:
  18434. description: 卖量4
  18435. type: integer
  18436. askvolume5:
  18437. description: 卖量5
  18438. type: integer
  18439. askvolume6:
  18440. description: 卖量6
  18441. type: integer
  18442. askvolume7:
  18443. description: 卖量7
  18444. type: integer
  18445. askvolume8:
  18446. description: 卖量8
  18447. type: integer
  18448. askvolume9:
  18449. description: 卖量9
  18450. type: integer
  18451. askvolume10:
  18452. description: 卖量10
  18453. type: integer
  18454. averageprice:
  18455. description: 均价
  18456. type: number
  18457. bid:
  18458. description: 买1
  18459. type: number
  18460. bid2:
  18461. description: 买2
  18462. type: number
  18463. bid3:
  18464. description: 买3
  18465. type: number
  18466. bid4:
  18467. description: 买4
  18468. type: number
  18469. bid5:
  18470. description: 买5
  18471. type: number
  18472. bid6:
  18473. description: 买6
  18474. type: number
  18475. bid7:
  18476. description: 买7
  18477. type: number
  18478. bid8:
  18479. description: 买8
  18480. type: number
  18481. bid9:
  18482. description: 买9
  18483. type: number
  18484. bid10:
  18485. description: 买10
  18486. type: number
  18487. bidorderid:
  18488. description: 买单号1
  18489. type: integer
  18490. bidorderid2:
  18491. description: 买单号2
  18492. type: integer
  18493. bidorderid3:
  18494. description: 买单号3
  18495. type: integer
  18496. bidorderid4:
  18497. description: 买单号4
  18498. type: integer
  18499. bidorderid5:
  18500. description: 买单号5
  18501. type: integer
  18502. bidordervolume:
  18503. description: 买单量1
  18504. type: integer
  18505. bidordervolume2:
  18506. description: 买单量2
  18507. type: integer
  18508. bidordervolume3:
  18509. description: 买单量3
  18510. type: integer
  18511. bidordervolume4:
  18512. description: 买单量4
  18513. type: integer
  18514. bidordervolume5:
  18515. description: 买单量5
  18516. type: integer
  18517. bidordervolume6:
  18518. description: 买单量6
  18519. type: integer
  18520. bidordervolume7:
  18521. description: 买单量7
  18522. type: integer
  18523. bidordervolume8:
  18524. description: 买单量8
  18525. type: integer
  18526. bidordervolume9:
  18527. description: 买单量9
  18528. type: integer
  18529. bidordervolume10:
  18530. description: 买单量10
  18531. type: integer
  18532. bidqueueinfo:
  18533. description: 大利市买港股用
  18534. type: string
  18535. bidvolume:
  18536. description: 买量1
  18537. type: integer
  18538. bidvolume2:
  18539. description: 买量2
  18540. type: integer
  18541. bidvolume3:
  18542. description: 买量3
  18543. type: integer
  18544. bidvolume4:
  18545. description: 买量4
  18546. type: integer
  18547. bidvolume5:
  18548. description: 买量5
  18549. type: integer
  18550. bidvolume6:
  18551. description: 买量6
  18552. type: integer
  18553. bidvolume7:
  18554. description: 买量7
  18555. type: integer
  18556. bidvolume8:
  18557. description: 买量8
  18558. type: integer
  18559. bidvolume9:
  18560. description: 买量9
  18561. type: integer
  18562. bidvolume10:
  18563. description: 买量10
  18564. type: integer
  18565. calloptionpremiums:
  18566. description: 认购期权1
  18567. type: integer
  18568. calloptionpremiums2:
  18569. description: 认购期权2
  18570. type: integer
  18571. calloptionpremiums3:
  18572. description: 认购期权3
  18573. type: integer
  18574. calloptionpremiums4:
  18575. description: 认购期权4
  18576. type: integer
  18577. calloptionpremiums5:
  18578. description: 认购期权5
  18579. type: integer
  18580. cleartime:
  18581. description: 清盘时间
  18582. type: integer
  18583. exchangecode:
  18584. description: 交易所代码
  18585. type: integer
  18586. exchangedate:
  18587. description: 交易日
  18588. type: integer
  18589. goodscode:
  18590. description: 商品代码
  18591. type: string
  18592. grepmarketprice:
  18593. description: 暗盘价 港股专用
  18594. type: number
  18595. highest:
  18596. description: 最高价
  18597. type: number
  18598. holdincrement:
  18599. description: 单笔持仓
  18600. type: integer
  18601. holdvolume:
  18602. description: 持仓
  18603. type: integer
  18604. iep:
  18605. description: 平衡价 港股专用
  18606. type: number
  18607. iev:
  18608. description: 平衡量 港股专用
  18609. type: number
  18610. inventory:
  18611. description: 库存
  18612. type: integer
  18613. iscleared:
  18614. description: 是否清盘标志
  18615. type: integer
  18616. issettled:
  18617. description: 是否结算标志
  18618. type: integer
  18619. last:
  18620. description: 最新价
  18621. type: number
  18622. lastlot:
  18623. description: 最新成交手数
  18624. type: integer
  18625. lasttime:
  18626. description: 行情时间(只有现价变化行情时间才变化)
  18627. type: string
  18628. lastturnover:
  18629. description: 最新成交金额
  18630. type: number
  18631. lastvolume:
  18632. description: 最新成交量
  18633. type: integer
  18634. limitdown:
  18635. description: 跌停价
  18636. type: number
  18637. limitup:
  18638. description: 涨停价
  18639. type: number
  18640. lowest:
  18641. description: 最低价
  18642. type: number
  18643. nontotalholdervolume:
  18644. description: 非交易持仓量
  18645. type: integer
  18646. nontotallot:
  18647. description: 非交易总手数
  18648. type: integer
  18649. nontotalturnover:
  18650. description: 非交易总金额
  18651. type: integer
  18652. nontotalvolume:
  18653. description: 非交易总量
  18654. type: integer
  18655. opened:
  18656. description: 开盘价
  18657. type: number
  18658. opentime:
  18659. description: 开盘时间
  18660. type: string
  18661. orderid:
  18662. description: 序号
  18663. type: integer
  18664. preclose:
  18665. description: 昨收
  18666. type: number
  18667. preholdvolume:
  18668. description: 昨持仓
  18669. type: integer
  18670. presettle:
  18671. description: 昨结价
  18672. type: number
  18673. publictradetype:
  18674. description: 公共交易标志类型 港股专用
  18675. type: string
  18676. putoptionpremiums:
  18677. description: 认沽期权1
  18678. type: integer
  18679. putoptionpremiums2:
  18680. description: 认沽期权2
  18681. type: integer
  18682. putoptionpremiums3:
  18683. description: 认沽期权3
  18684. type: integer
  18685. putoptionpremiums4:
  18686. description: 认沽期权4
  18687. type: integer
  18688. putoptionpremiums5:
  18689. description: 认沽期权5
  18690. type: integer
  18691. settle:
  18692. description: 结算价
  18693. type: number
  18694. strikeprice:
  18695. description: 发行价
  18696. type: number
  18697. totalaskvolume:
  18698. description: 内盘
  18699. type: integer
  18700. totalbidvolume:
  18701. description: 外盘
  18702. type: integer
  18703. totallot:
  18704. description: 总手数
  18705. type: integer
  18706. totalturnover:
  18707. description: 总金额
  18708. type: number
  18709. totalvolume:
  18710. description: 总量
  18711. type: integer
  18712. utclasttime:
  18713. description: utc的行情时间
  18714. type: string
  18715. type: object
  18716. quote.QueryTSDataRsp:
  18717. properties:
  18718. Count:
  18719. description: 交易日应有数据个数
  18720. type: integer
  18721. decimalPlace:
  18722. description: 小数位
  18723. type: integer
  18724. endTime:
  18725. description: 结束时间
  18726. type: string
  18727. goodsCode:
  18728. description: 商品代码
  18729. type: string
  18730. historyDatas:
  18731. description: 历史数据
  18732. items:
  18733. $ref: '#/definitions/quote.HistoryData'
  18734. type: array
  18735. outGoodsCode:
  18736. description: 外部商品代码
  18737. type: string
  18738. preSettle:
  18739. description: 昨结价
  18740. type: number
  18741. runSteps:
  18742. description: 交易日开休市计划
  18743. items:
  18744. $ref: '#/definitions/quote.TSDataRunStep'
  18745. type: array
  18746. startTime:
  18747. description: 开始时间
  18748. type: string
  18749. tradeDate:
  18750. description: 交易日
  18751. type: string
  18752. type: object
  18753. quote.TSDataRunStep:
  18754. properties:
  18755. end:
  18756. description: 真实结束时间
  18757. type: string
  18758. endflag:
  18759. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  18760. type: integer
  18761. endtime:
  18762. description: 结束时间(HH:mm)
  18763. type: string
  18764. endweekday:
  18765. description: 结束周几
  18766. type: integer
  18767. groupid:
  18768. description: 分组ID
  18769. type: integer
  18770. runstep:
  18771. description: 运行阶段 - 2:连续交易
  18772. type: integer
  18773. sectionid:
  18774. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几,
  18775. 结束时间=结算时间 结束周几=结算周几
  18776. type: integer
  18777. start:
  18778. description: 真实开始时间
  18779. type: string
  18780. startflag:
  18781. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  18782. type: integer
  18783. starttime:
  18784. description: 起始时间(HH:mm)
  18785. type: string
  18786. startweekday:
  18787. description: 起始周几
  18788. type: integer
  18789. tradeweekday:
  18790. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  18791. type: integer
  18792. type: object
  18793. szdz.QueryConvertLogRsp:
  18794. properties:
  18795. accountid:
  18796. description: 资金账户ID
  18797. type: integer
  18798. clientticket:
  18799. description: 客户端流水号
  18800. type: string
  18801. converttype:
  18802. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  18803. type: integer
  18804. createtime:
  18805. description: 记账时间
  18806. type: string
  18807. daymaxvalue:
  18808. description: 配置当日最大转入限制
  18809. type: number
  18810. daymaxvalue2:
  18811. description: 配置当日最大转入限制(转入)
  18812. type: number
  18813. goodscode:
  18814. description: 商品代码
  18815. type: string
  18816. goodsname:
  18817. description: 商品名称
  18818. type: string
  18819. handlestatus:
  18820. description: 处理状态
  18821. type: integer
  18822. innergoodsid:
  18823. description: 内部商品ID
  18824. type: integer
  18825. inratio:
  18826. description: 配置转入比值
  18827. type: integer
  18828. invalue:
  18829. description: 目标值
  18830. type: number
  18831. logid:
  18832. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  18833. type: integer
  18834. mobile:
  18835. description: 手机号码(加密存储)
  18836. type: string
  18837. outergoodscode:
  18838. description: 外部商品代码[JD\PD]
  18839. type: string
  18840. outratio:
  18841. description: 配置转出比值
  18842. type: integer
  18843. outvalue:
  18844. description: 源值
  18845. type: number
  18846. pddecimalplace:
  18847. description: PD小数位
  18848. type: integer
  18849. qty:
  18850. description: 数量
  18851. type: string
  18852. remark:
  18853. description: 备注
  18854. type: string
  18855. sessionid:
  18856. description: 会话ID
  18857. type: integer
  18858. timemaxvalue:
  18859. description: 配置单次最大转入限制
  18860. type: number
  18861. timemaxvalue2:
  18862. description: 配置单次最大转入限制(转入)
  18863. type: number
  18864. timeminvalue:
  18865. description: 配置单次最小数量限制
  18866. type: number
  18867. timeminvalue2:
  18868. description: 配置单次最小数量限制(转入)
  18869. type: number
  18870. tradedate:
  18871. description: 交易日(yyyyMMdd)
  18872. type: string
  18873. userid:
  18874. description: 用户ID
  18875. type: integer
  18876. required:
  18877. - logid
  18878. type: object
  18879. szdz.QueryGoodsPickupRsp:
  18880. properties:
  18881. accountid:
  18882. description: 账户ID
  18883. type: integer
  18884. address:
  18885. description: 提货人详细地址
  18886. type: string
  18887. auditer:
  18888. description: 审核人
  18889. type: integer
  18890. audittime:
  18891. description: 审核时间
  18892. type: string
  18893. cardnum:
  18894. description: 提货人证件号码
  18895. type: string
  18896. cardtypeid:
  18897. description: 提货人证件类型
  18898. type: integer
  18899. checkremark:
  18900. description: 审核备注
  18901. type: string
  18902. goodscode:
  18903. description: 商品代码
  18904. type: string
  18905. goodsid:
  18906. description: 商品ID
  18907. type: integer
  18908. goodsname:
  18909. description: 商品名称
  18910. type: string
  18911. handlestatus:
  18912. description: 处理状态
  18913. type: integer
  18914. marketid:
  18915. description: 市场ID
  18916. type: integer
  18917. phonenum:
  18918. description: 提货人联系方式
  18919. type: string
  18920. qty:
  18921. description: 提货数量
  18922. type: number
  18923. recivername:
  18924. description: 提货人姓名
  18925. type: string
  18926. reqtime:
  18927. description: 更新时间
  18928. type: string
  18929. takemode:
  18930. description: 提货方式 - 2:自提 3:配送
  18931. type: integer
  18932. takeorderid:
  18933. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  18934. type: string
  18935. takeorderstatus:
  18936. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  18937. type: integer
  18938. takeremark:
  18939. description: 提货备注
  18940. type: string
  18941. tradedate:
  18942. description: 交易日(yyyyMMdd)
  18943. type: string
  18944. userid:
  18945. description: 用户ID
  18946. type: integer
  18947. required:
  18948. - takeorderid
  18949. type: object
  18950. szdz.QueryRecieptOrderRsp:
  18951. properties:
  18952. accountName:
  18953. description: 所属账号名称(已脱敏)
  18954. type: string
  18955. accountid:
  18956. description: 资金账号
  18957. type: integer
  18958. buyorsell:
  18959. description: 方向 - 0:买 1:卖
  18960. type: integer
  18961. enableqty:
  18962. description: 可摘数量
  18963. type: integer
  18964. goodscode:
  18965. description: 商品代码
  18966. type: string
  18967. goodsid:
  18968. description: 商品ID
  18969. type: integer
  18970. goodsname:
  18971. description: 商品名称
  18972. type: string
  18973. orderid:
  18974. description: 委托单号
  18975. type: string
  18976. orderprice:
  18977. description: 委托价格
  18978. type: number
  18979. ordertime:
  18980. description: 委托时间
  18981. type: string
  18982. tradedate:
  18983. description: 交易日(yyyyMMdd)
  18984. type: string
  18985. required:
  18986. - ordertime
  18987. type: object
  18988. szdz.QuerySZDZTradePositionRsp:
  18989. properties:
  18990. accountid:
  18991. description: 账号Id
  18992. type: integer
  18993. agreeunit:
  18994. description: 合约单位
  18995. type: number
  18996. averageprice:
  18997. description: 持仓均价
  18998. type: number
  18999. buyorsell:
  19000. description: 方向 - 0:买 1:卖
  19001. type: integer
  19002. closetotalqty:
  19003. description: 平仓总数量
  19004. type: integer
  19005. curholderamount:
  19006. description: 当前持仓总金额
  19007. type: number
  19008. curpositionqty:
  19009. description: 当前持仓总数量
  19010. type: integer
  19011. currencyid:
  19012. description: 报价货币ID
  19013. type: integer
  19014. curtdposition:
  19015. description: 期末今日头寸
  19016. type: integer
  19017. decimalplace:
  19018. description: 报价小数位
  19019. type: integer
  19020. enableqty:
  19021. description: 可用量
  19022. type: integer
  19023. fretdposition:
  19024. description: 冻结今日头寸
  19025. type: integer
  19026. frozenqty:
  19027. description: 持仓冻结数量
  19028. type: integer
  19029. goodscode:
  19030. description: 商品代码(内部)
  19031. type: string
  19032. goodsid:
  19033. description: 商品Id
  19034. type: integer
  19035. goodsname:
  19036. description: 商品名称
  19037. type: string
  19038. goodunit:
  19039. description: 报价单位
  19040. type: string
  19041. goodunitid:
  19042. description: 报价单位ID
  19043. type: integer
  19044. holderamount:
  19045. description: 期初持仓总金额
  19046. type: number
  19047. marketid:
  19048. description: 市场ID
  19049. type: integer
  19050. openreqqty:
  19051. description: 开仓申请数量
  19052. type: integer
  19053. opentotalqty:
  19054. description: 开仓总数量
  19055. type: integer
  19056. otherfrozenqty:
  19057. description: 持仓其他冻结数量(交割冻结)
  19058. type: integer
  19059. positionqty:
  19060. description: 期初持仓数量
  19061. type: integer
  19062. szdz3freezqty:
  19063. description: 尚志大宗转换冻结总数量
  19064. type: integer
  19065. tnqty:
  19066. description: T+N冻结总量
  19067. type: integer
  19068. tnusedqty:
  19069. description: T+N使用量
  19070. type: integer
  19071. trademode:
  19072. description: 交易模式
  19073. type: integer
  19074. usedmargin:
  19075. description: 占用保证金
  19076. type: number
  19077. type: object
  19078. taaccount.QueryAmountLogRsp:
  19079. properties:
  19080. OPERATETYPENAME:
  19081. description: 资金操作类型名称
  19082. type: string
  19083. accountid:
  19084. description: 资金账户ID
  19085. type: integer
  19086. agoodscode:
  19087. description: 竞拍商品代码
  19088. type: string
  19089. agoodsname:
  19090. description: 竞拍商品名称
  19091. type: string
  19092. amount:
  19093. description: 资金金额
  19094. type: number
  19095. amountadjusttype:
  19096. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  19097. type: integer
  19098. autoid:
  19099. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  19100. type: integer
  19101. balance:
  19102. description: 期初余额
  19103. type: number
  19104. businesscode:
  19105. description: 业务编号
  19106. type: integer
  19107. createtime:
  19108. description: 发生时间
  19109. type: string
  19110. currencyid:
  19111. description: 币种ID
  19112. type: integer
  19113. currentbalance:
  19114. description: 期末余额(变动后金额)
  19115. type: number
  19116. dgoodscode:
  19117. description: 交割商品代码
  19118. type: string
  19119. dgoodsname:
  19120. description: 交割商品名称
  19121. type: string
  19122. goodscode:
  19123. description: 商品代码
  19124. type: string
  19125. goodsid:
  19126. description: 商品ID
  19127. type: integer
  19128. goodsname:
  19129. description: 商品名称
  19130. type: string
  19131. marketid:
  19132. description: 市场ID
  19133. type: integer
  19134. marketname:
  19135. description: 市场名称
  19136. type: string
  19137. moneyticket:
  19138. description: 资金流水号:银行端流水号
  19139. type: integer
  19140. operatetype:
  19141. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  19142. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  19143. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  19144. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  19145. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  19146. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  19147. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  19148. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  19149. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  19150. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  19151. type: integer
  19152. relationorderid:
  19153. description: 关联单号
  19154. type: string
  19155. remark:
  19156. description: 备注
  19157. type: string
  19158. trademode:
  19159. description: 交易模式
  19160. type: integer
  19161. required:
  19162. - accountid
  19163. - amount
  19164. - amountadjusttype
  19165. - autoid
  19166. - balance
  19167. - createtime
  19168. - currentbalance
  19169. - operatetype
  19170. type: object
  19171. taaccount.QueryHisAmountLogRsp:
  19172. properties:
  19173. OPERATETYPENAME:
  19174. description: 资金操作类型名称
  19175. type: string
  19176. accountid:
  19177. description: 资金账户ID
  19178. type: integer
  19179. agoodscode:
  19180. description: 竞拍商品代码
  19181. type: string
  19182. agoodsname:
  19183. description: 竞拍商品名称
  19184. type: string
  19185. amount:
  19186. description: 资金金额
  19187. type: number
  19188. amountadjusttype:
  19189. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  19190. type: integer
  19191. autoid:
  19192. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  19193. type: integer
  19194. balance:
  19195. description: 期初余额
  19196. type: number
  19197. businesscode:
  19198. description: 业务编号
  19199. type: integer
  19200. createtime:
  19201. description: 发生时间
  19202. type: string
  19203. currencyid:
  19204. description: 币种ID
  19205. type: integer
  19206. currentbalance:
  19207. description: 期末余额(变动后金额)
  19208. type: number
  19209. dgoodscode:
  19210. description: 交割商品代码
  19211. type: string
  19212. dgoodsname:
  19213. description: 交割商品名称
  19214. type: string
  19215. goodscode:
  19216. description: 商品代码
  19217. type: string
  19218. goodsid:
  19219. description: 商品ID
  19220. type: integer
  19221. goodsname:
  19222. description: 商品名称
  19223. type: string
  19224. histradedate:
  19225. description: 历史交易日
  19226. type: string
  19227. isvaliddata:
  19228. description: 是否有效 - 0:无效 1:有效
  19229. type: integer
  19230. marketid:
  19231. description: 市场ID
  19232. type: integer
  19233. marketname:
  19234. description: 市场名称
  19235. type: string
  19236. moneyticket:
  19237. description: 资金流水号:银行端流水号
  19238. type: integer
  19239. operatetype:
  19240. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  19241. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  19242. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  19243. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  19244. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  19245. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  19246. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  19247. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  19248. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  19249. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  19250. type: integer
  19251. relationorderid:
  19252. description: 关联单号
  19253. type: string
  19254. remark:
  19255. description: 备注
  19256. type: string
  19257. trademode:
  19258. description: 交易模式
  19259. type: integer
  19260. required:
  19261. - accountid
  19262. - amount
  19263. - amountadjusttype
  19264. - autoid
  19265. - balance
  19266. - createtime
  19267. - currentbalance
  19268. - histradedate
  19269. - operatetype
  19270. type: object
  19271. trade.QueryRecieptOrderRsp:
  19272. properties:
  19273. accountName:
  19274. description: 所属账号名称(已脱敏)
  19275. type: string
  19276. accountid:
  19277. description: 资金账号
  19278. type: integer
  19279. buyorsell:
  19280. description: 方向 - 0:买 1:卖
  19281. type: integer
  19282. enableqty:
  19283. description: 可摘数量
  19284. type: integer
  19285. goodscode:
  19286. description: 商品代码
  19287. type: string
  19288. goodsid:
  19289. description: 商品ID
  19290. type: integer
  19291. goodsname:
  19292. description: 商品名称
  19293. type: string
  19294. orderid:
  19295. description: 委托单号
  19296. type: string
  19297. orderprice:
  19298. description: 委托价格
  19299. type: number
  19300. ordertime:
  19301. description: 委托时间
  19302. type: string
  19303. tradedate:
  19304. description: 交易日(yyyyMMdd)
  19305. type: string
  19306. required:
  19307. - ordertime
  19308. type: object
  19309. user.LoginQueryRsp:
  19310. properties:
  19311. areaRoles:
  19312. description: 所属角色信息
  19313. items:
  19314. $ref: '#/definitions/models.Arearole'
  19315. type: array
  19316. externalExchanges:
  19317. description: 外部交易所
  19318. items:
  19319. $ref: '#/definitions/models.Externalexchange'
  19320. type: array
  19321. goodsgroups:
  19322. description: 商品组
  19323. items:
  19324. $ref: '#/definitions/models.Goodsgroup'
  19325. type: array
  19326. loginAccount:
  19327. $ref: '#/definitions/models.Loginaccount'
  19328. description: 登录账号
  19329. markets:
  19330. description: 市场
  19331. items:
  19332. $ref: '#/definitions/models.Market'
  19333. type: array
  19334. systemParams:
  19335. description: 系统参数
  19336. items:
  19337. $ref: '#/definitions/models.Systemparam'
  19338. type: array
  19339. userAccount:
  19340. $ref: '#/definitions/models.Useraccount'
  19341. description: 用户账号
  19342. userInfo:
  19343. $ref: '#/definitions/models.Userinfo'
  19344. description: 用户信息
  19345. username:
  19346. description: 用户姓名
  19347. type: string
  19348. type: object
  19349. info:
  19350. contact: {}
  19351. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  19352. termsOfService: http://www.muchinfo.cn
  19353. title: MTP2.0 查询服务 API
  19354. version: "1.0"
  19355. paths:
  19356. /CPTrade/QueryCPTradeMyBidInfos:
  19357. get:
  19358. parameters:
  19359. - description: 资金账户
  19360. in: query
  19361. name: accountid
  19362. required: true
  19363. type: integer
  19364. - description: 预售市场ID
  19365. in: query
  19366. name: marketid
  19367. type: integer
  19368. - description: 预售商品ID
  19369. in: query
  19370. name: goodsid
  19371. type: integer
  19372. produces:
  19373. - application/json
  19374. responses:
  19375. "200":
  19376. description: OK
  19377. schema:
  19378. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  19379. "500":
  19380. description: Internal Server Error
  19381. schema:
  19382. $ref: '#/definitions/app.Response'
  19383. security:
  19384. - ApiKeyAuth: []
  19385. summary: 查询产能预售我的出价信息
  19386. tags:
  19387. - 产能预售
  19388. /CPTrade/QueryCPTradeOrderDetail:
  19389. get:
  19390. parameters:
  19391. - description: 预售商品ID
  19392. in: query
  19393. name: goodsid
  19394. type: integer
  19395. - description: 预售市场ID
  19396. in: query
  19397. name: marketid
  19398. type: integer
  19399. - description: 预售商品ID列表 - 格式:1,2,3
  19400. in: query
  19401. name: goodsids
  19402. type: string
  19403. produces:
  19404. - application/json
  19405. responses:
  19406. "200":
  19407. description: OK
  19408. schema:
  19409. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  19410. "500":
  19411. description: Internal Server Error
  19412. schema:
  19413. $ref: '#/definitions/app.Response'
  19414. security:
  19415. - ApiKeyAuth: []
  19416. summary: 查询产能预售委托单信息
  19417. tags:
  19418. - 产能预售
  19419. /CPTrade/QueryMyCPTradeGoods:
  19420. get:
  19421. parameters:
  19422. - description: 资金账户
  19423. in: query
  19424. name: accountid
  19425. required: true
  19426. type: integer
  19427. produces:
  19428. - application/json
  19429. responses:
  19430. "200":
  19431. description: OK
  19432. schema:
  19433. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  19434. "500":
  19435. description: Internal Server Error
  19436. schema:
  19437. $ref: '#/definitions/app.Response'
  19438. security:
  19439. - ApiKeyAuth: []
  19440. summary: 查询我的预售信息
  19441. tags:
  19442. - 产能预售
  19443. /CPTrade/QueryPositionCancel:
  19444. get:
  19445. parameters:
  19446. - description: 账户ID
  19447. in: query
  19448. name: userid
  19449. required: true
  19450. type: integer
  19451. - description: 注销ID
  19452. in: query
  19453. name: cancelid
  19454. type: integer
  19455. - description: 资金账户ID
  19456. in: query
  19457. name: accountid
  19458. type: integer
  19459. produces:
  19460. - application/json
  19461. responses:
  19462. "200":
  19463. description: OK
  19464. schema:
  19465. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  19466. "500":
  19467. description: Internal Server Error
  19468. schema:
  19469. $ref: '#/definitions/app.Response'
  19470. security:
  19471. - ApiKeyAuth: []
  19472. summary: 查询远期订单注销申请信息
  19473. tags:
  19474. - 产能预售
  19475. /CPTrade/QueryPreasleApply:
  19476. get:
  19477. parameters:
  19478. - description: 账户ID
  19479. in: query
  19480. name: userid
  19481. required: true
  19482. type: integer
  19483. - description: 申请ID
  19484. in: query
  19485. name: applyid
  19486. type: integer
  19487. - description: 资金账户ID
  19488. in: query
  19489. name: accountid
  19490. type: integer
  19491. produces:
  19492. - application/json
  19493. responses:
  19494. "200":
  19495. description: OK
  19496. schema:
  19497. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  19498. "500":
  19499. description: Internal Server Error
  19500. schema:
  19501. $ref: '#/definitions/app.Response'
  19502. security:
  19503. - ApiKeyAuth: []
  19504. summary: 查询产能预售申请信息
  19505. tags:
  19506. - 产能预售
  19507. /CPTrade/QueryPresaleGoodsEx:
  19508. get:
  19509. parameters:
  19510. - description: 预售商品ID
  19511. in: query
  19512. name: goodsid
  19513. type: integer
  19514. - description: 预售市场ID
  19515. in: query
  19516. name: marketid
  19517. type: integer
  19518. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  19519. in: query
  19520. name: presalemode
  19521. type: integer
  19522. - description: 预售商品ID列表 - 格式:1,2,3
  19523. in: query
  19524. name: goodsids
  19525. type: string
  19526. - description: 预售商品代码
  19527. in: query
  19528. name: goodscode
  19529. type: string
  19530. produces:
  19531. - application/json
  19532. responses:
  19533. "200":
  19534. description: OK
  19535. schema:
  19536. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  19537. "500":
  19538. description: Internal Server Error
  19539. schema:
  19540. $ref: '#/definitions/app.Response'
  19541. security:
  19542. - ApiKeyAuth: []
  19543. summary: 查询产能预售商品扩展信息
  19544. tags:
  19545. - 产能预售
  19546. /CPTrade/QueryUserGoodsData:
  19547. get:
  19548. parameters:
  19549. - description: 资金账户ID
  19550. in: query
  19551. name: accountid
  19552. required: true
  19553. type: integer
  19554. produces:
  19555. - application/json
  19556. responses:
  19557. "200":
  19558. description: OK
  19559. schema:
  19560. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  19561. "500":
  19562. description: Internal Server Error
  19563. schema:
  19564. $ref: '#/definitions/app.Response'
  19565. security:
  19566. - ApiKeyAuth: []
  19567. summary: 查询远期订单信息
  19568. tags:
  19569. - 产能预售
  19570. /Common/DeleteNewFuncmenu:
  19571. delete:
  19572. consumes:
  19573. - application/json
  19574. parameters:
  19575. - description: 菜单表数据,只需要resourcecode字段即可
  19576. in: body
  19577. name: data
  19578. required: true
  19579. schema:
  19580. $ref: '#/definitions/models.NewFuncmenulist'
  19581. produces:
  19582. - application/json
  19583. responses:
  19584. "200":
  19585. description: OK
  19586. schema:
  19587. $ref: '#/definitions/app.Response'
  19588. "500":
  19589. description: Internal Server Error
  19590. schema:
  19591. $ref: '#/definitions/app.Response'
  19592. security:
  19593. - ApiKeyAuth: []
  19594. summary: 删除菜单表数据
  19595. tags:
  19596. - 通用服务
  19597. /Common/FindNewFuncmenu:
  19598. get:
  19599. parameters:
  19600. - description: 资源代码
  19601. in: query
  19602. name: resourcecode
  19603. type: string
  19604. - description: 上级资源代码
  19605. in: query
  19606. name: parentcode
  19607. type: string
  19608. - description: 资源名(Title), 模糊查询
  19609. in: query
  19610. name: resourcename
  19611. type: string
  19612. - description: 菜单类型(格式:1,2,3) - 1:管理端 2:PC(C#) 3:移动(云平台) 4:终端(交易所) 5:PC(云平台)
  19613. in: query
  19614. name: menutype
  19615. type: string
  19616. produces:
  19617. - application/json
  19618. responses:
  19619. "200":
  19620. description: OK
  19621. schema:
  19622. items:
  19623. $ref: '#/definitions/models.NewFuncmenulist'
  19624. type: array
  19625. "500":
  19626. description: Internal Server Error
  19627. schema:
  19628. $ref: '#/definitions/app.Response'
  19629. security:
  19630. - ApiKeyAuth: []
  19631. summary: 获取菜单表数据
  19632. tags:
  19633. - 通用服务
  19634. /Common/GetAllEnums:
  19635. get:
  19636. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  19637. parameters:
  19638. - description: 起始自增ID
  19639. in: query
  19640. name: autoid
  19641. type: integer
  19642. produces:
  19643. - application/json
  19644. responses:
  19645. "200":
  19646. description: OK
  19647. schema:
  19648. $ref: '#/definitions/models.Enumdicitem'
  19649. "500":
  19650. description: Internal Server Error
  19651. schema:
  19652. $ref: '#/definitions/app.Response'
  19653. summary: 获取所有枚举信息
  19654. tags:
  19655. - 通用服务
  19656. /Common/GetClientMenus:
  19657. get:
  19658. parameters:
  19659. - description: 登录账号
  19660. in: query
  19661. name: loginID
  19662. required: true
  19663. type: integer
  19664. - description: 终端类型,0:PCWEB 1:Mobile,不传默认返回PC端数据
  19665. in: query
  19666. name: clientType
  19667. type: integer
  19668. - description: 分支名称,ermcp-风管云平台;pingan-平安期货;trader-交易所;不传默认返回风管云平台
  19669. in: query
  19670. name: name
  19671. type: string
  19672. produces:
  19673. - application/json
  19674. responses:
  19675. "200":
  19676. description: OK
  19677. schema:
  19678. items:
  19679. $ref: '#/definitions/common.ClientMenu'
  19680. type: array
  19681. "500":
  19682. description: Internal Server Error
  19683. schema:
  19684. $ref: '#/definitions/app.Response'
  19685. security:
  19686. - ApiKeyAuth: []
  19687. summary: 获取交易端菜单
  19688. tags:
  19689. - 通用服务
  19690. /Common/GetClientNewFuncmenu:
  19691. get:
  19692. parameters:
  19693. - description: 登录账号
  19694. in: query
  19695. name: loginid
  19696. required: true
  19697. type: integer
  19698. - description: 菜单类型 - 1:管理端 2:PC(C#) 3:移动(云平台) 4:终端(交易所) 5:PC(云平台)
  19699. in: query
  19700. name: menutype
  19701. required: true
  19702. type: integer
  19703. produces:
  19704. - application/json
  19705. responses:
  19706. "200":
  19707. description: OK
  19708. schema:
  19709. items:
  19710. $ref: '#/definitions/models.NewFuncmenulist'
  19711. type: array
  19712. "500":
  19713. description: Internal Server Error
  19714. schema:
  19715. $ref: '#/definitions/app.Response'
  19716. security:
  19717. - ApiKeyAuth: []
  19718. summary: 获取终端菜单
  19719. tags:
  19720. - 通用服务
  19721. /Common/GetDivisions:
  19722. get:
  19723. produces:
  19724. - application/json
  19725. responses:
  19726. "200":
  19727. description: OK
  19728. schema:
  19729. $ref: '#/definitions/models.Division'
  19730. "500":
  19731. description: Internal Server Error
  19732. schema:
  19733. $ref: '#/definitions/app.Response'
  19734. summary: 查询区域信息
  19735. tags:
  19736. - 通用服务
  19737. /Common/GetPCWebMenus:
  19738. get:
  19739. parameters:
  19740. - description: 登录账号
  19741. in: query
  19742. name: loginID
  19743. required: true
  19744. type: integer
  19745. - description: 分支名称,ermcp:风管云平台,不传默认返回ermcp
  19746. in: query
  19747. name: name
  19748. type: string
  19749. produces:
  19750. - application/json
  19751. responses:
  19752. "200":
  19753. description: OK
  19754. schema:
  19755. items:
  19756. $ref: '#/definitions/common.PCWebMenu'
  19757. type: array
  19758. "500":
  19759. description: Internal Server Error
  19760. schema:
  19761. $ref: '#/definitions/app.Response'
  19762. security:
  19763. - ApiKeyAuth: []
  19764. summary: 获取PCWeb交易端菜单
  19765. tags:
  19766. - 通用服务
  19767. /Common/GetServerTime:
  19768. get:
  19769. produces:
  19770. - application/json
  19771. responses:
  19772. "200":
  19773. description: OK
  19774. schema:
  19775. $ref: '#/definitions/app.Response'
  19776. "500":
  19777. description: Internal Server Error
  19778. schema:
  19779. $ref: '#/definitions/app.Response'
  19780. summary: 获取服务器时间
  19781. tags:
  19782. - 通用服务
  19783. /Common/InsertNewFuncmenu:
  19784. post:
  19785. consumes:
  19786. - application/json
  19787. parameters:
  19788. - description: 菜单表数据
  19789. in: body
  19790. name: data
  19791. required: true
  19792. schema:
  19793. $ref: '#/definitions/models.NewFuncmenulist'
  19794. produces:
  19795. - application/json
  19796. responses:
  19797. "200":
  19798. description: OK
  19799. schema:
  19800. $ref: '#/definitions/app.Response'
  19801. "500":
  19802. description: Internal Server Error
  19803. schema:
  19804. $ref: '#/definitions/app.Response'
  19805. security:
  19806. - ApiKeyAuth: []
  19807. summary: 插入菜单表数据
  19808. tags:
  19809. - 通用服务
  19810. /Common/NoticeReaded:
  19811. post:
  19812. parameters:
  19813. - description: 登录账号
  19814. in: query
  19815. name: loginID
  19816. required: true
  19817. type: integer
  19818. - description: 通知公告ID
  19819. in: query
  19820. name: noticeID
  19821. required: true
  19822. type: integer
  19823. produces:
  19824. - application/json
  19825. responses:
  19826. "200":
  19827. description: OK
  19828. schema:
  19829. $ref: '#/definitions/app.Response'
  19830. "500":
  19831. description: Internal Server Error
  19832. schema:
  19833. $ref: '#/definitions/app.Response'
  19834. security:
  19835. - ApiKeyAuth: []
  19836. summary: 通知公告设置已读请求
  19837. tags:
  19838. - 通用服务
  19839. /Common/QueryErrorInfos:
  19840. get:
  19841. description: 如果传入rowNumber,则返回此rowNumber后的数据
  19842. parameters:
  19843. - description: 起始行号前索引
  19844. in: query
  19845. name: rowNumber
  19846. type: string
  19847. produces:
  19848. - application/json
  19849. responses:
  19850. "200":
  19851. description: OK
  19852. schema:
  19853. $ref: '#/definitions/models.QueryErrorInfosRsp'
  19854. "500":
  19855. description: Internal Server Error
  19856. schema:
  19857. $ref: '#/definitions/app.Response'
  19858. summary: 获取数据库错误信息
  19859. tags:
  19860. - 通用服务
  19861. /Common/QueryImageConfigs:
  19862. get:
  19863. parameters:
  19864. - description: 用户id
  19865. in: query
  19866. name: userId
  19867. type: integer
  19868. - description: 类型 - 1:App首页轮播 2:我的 3:首页(PC) 4:首页推广(移动-新会)
  19869. in: query
  19870. name: imageType
  19871. type: integer
  19872. produces:
  19873. - application/json
  19874. responses:
  19875. "200":
  19876. description: OK
  19877. schema:
  19878. $ref: '#/definitions/common.QueryImageConfigsRsp'
  19879. "500":
  19880. description: Internal Server Error
  19881. schema:
  19882. $ref: '#/definitions/app.Response'
  19883. summary: 查询轮播图配置信息
  19884. tags:
  19885. - 通用服务
  19886. /Common/QueryNotice:
  19887. get:
  19888. parameters:
  19889. - description: 页码
  19890. in: query
  19891. name: page
  19892. type: integer
  19893. - description: 每页条数
  19894. in: query
  19895. name: pagesize
  19896. type: integer
  19897. - description: 登录账号
  19898. in: query
  19899. name: loginID
  19900. required: true
  19901. type: integer
  19902. - description: 消息类型 - 1:公告通知 2:系统消息
  19903. in: query
  19904. name: msgType
  19905. type: integer
  19906. - description: 是否只获取未读信息
  19907. in: query
  19908. name: onlyUnRead
  19909. type: boolean
  19910. - description: 自增ID,传入后会返回这个ID后面的记录
  19911. in: query
  19912. name: lastID
  19913. type: integer
  19914. produces:
  19915. - application/json
  19916. responses:
  19917. "200":
  19918. description: OK
  19919. schema:
  19920. $ref: '#/definitions/common.QueryNoticeRsp'
  19921. "500":
  19922. description: Internal Server Error
  19923. schema:
  19924. $ref: '#/definitions/app.Response'
  19925. security:
  19926. - ApiKeyAuth: []
  19927. summary: 通知公告系统消息查询
  19928. tags:
  19929. - 通用服务
  19930. /Common/QueryProvincesAndCities:
  19931. get:
  19932. parameters:
  19933. - description: 省ID
  19934. in: query
  19935. name: provinceID
  19936. type: integer
  19937. produces:
  19938. - application/json
  19939. responses:
  19940. "200":
  19941. description: OK
  19942. schema:
  19943. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  19944. "500":
  19945. description: Internal Server Error
  19946. schema:
  19947. $ref: '#/definitions/app.Response'
  19948. summary: 查询省市信息(不包括区)
  19949. tags:
  19950. - 通用服务
  19951. /Common/QueryTableDefine:
  19952. get:
  19953. parameters:
  19954. - description: 表key
  19955. in: query
  19956. name: tableKey
  19957. type: string
  19958. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  19959. in: query
  19960. name: tableType
  19961. type: integer
  19962. produces:
  19963. - application/json
  19964. responses:
  19965. "200":
  19966. description: OK
  19967. schema:
  19968. $ref: '#/definitions/common.QueryTableDefineRsp'
  19969. "500":
  19970. description: Internal Server Error
  19971. schema:
  19972. $ref: '#/definitions/app.Response'
  19973. summary: 查询交易端列表头信息
  19974. tags:
  19975. - 通用服务
  19976. /Common/QueryTraderMenu:
  19977. get:
  19978. parameters:
  19979. - description: 登录账号
  19980. in: query
  19981. name: loginid
  19982. required: true
  19983. type: integer
  19984. produces:
  19985. - application/json
  19986. responses:
  19987. "200":
  19988. description: OK
  19989. schema:
  19990. $ref: '#/definitions/common.QueryTraderMenuRsp'
  19991. "500":
  19992. description: Internal Server Error
  19993. schema:
  19994. $ref: '#/definitions/app.Response'
  19995. summary: 查询交易端菜单
  19996. tags:
  19997. - 通用服务
  19998. /Common/UpdateNewFuncmenu:
  19999. put:
  20000. consumes:
  20001. - application/json
  20002. parameters:
  20003. - description: 菜单表数据
  20004. in: body
  20005. name: data
  20006. required: true
  20007. schema:
  20008. $ref: '#/definitions/models.NewFuncmenulist'
  20009. produces:
  20010. - application/json
  20011. responses:
  20012. "200":
  20013. description: OK
  20014. schema:
  20015. $ref: '#/definitions/app.Response'
  20016. "500":
  20017. description: Internal Server Error
  20018. schema:
  20019. $ref: '#/definitions/app.Response'
  20020. security:
  20021. - ApiKeyAuth: []
  20022. summary: 更新菜单表数据
  20023. tags:
  20024. - 通用服务
  20025. /Delivery/QueryDeliveryRelation:
  20026. get:
  20027. parameters:
  20028. - description: 商品ID
  20029. in: query
  20030. name: goodsid
  20031. type: integer
  20032. - description: 品种ID
  20033. in: query
  20034. name: deliverygoodsid
  20035. type: integer
  20036. - description: 市场ID
  20037. in: query
  20038. name: marketid
  20039. type: integer
  20040. produces:
  20041. - application/json
  20042. responses:
  20043. "200":
  20044. description: OK
  20045. schema:
  20046. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  20047. "500":
  20048. description: Internal Server Error
  20049. schema:
  20050. $ref: '#/definitions/app.Response'
  20051. security:
  20052. - ApiKeyAuth: []
  20053. summary: 查询商品交割关系表
  20054. tags:
  20055. - 交割服务
  20056. /Ermcp/GetErmcpGoods:
  20057. get:
  20058. parameters:
  20059. - description: 用户id(风管云平台版本传值, 只显示用户下设置了套保关联的品种)
  20060. in: query
  20061. name: userid
  20062. type: integer
  20063. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  20064. in: query
  20065. name: lastUpdateTime
  20066. type: string
  20067. produces:
  20068. - application/json
  20069. responses:
  20070. "200":
  20071. description: OK
  20072. schema:
  20073. $ref: '#/definitions/models.ErmcpGoods'
  20074. "500":
  20075. description: Internal Server Error
  20076. schema:
  20077. $ref: '#/definitions/app.Response'
  20078. security:
  20079. - ApiKeyAuth: []
  20080. summary: 查询企业风管期货商品信息
  20081. tags:
  20082. - 企业风险管理(app)
  20083. /Ermcp/GetErmcpGoodsSortByPosition:
  20084. get:
  20085. parameters:
  20086. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  20087. in: query
  20088. name: sortIndex
  20089. type: string
  20090. produces:
  20091. - application/json
  20092. responses:
  20093. "200":
  20094. description: OK
  20095. schema:
  20096. $ref: '#/definitions/models.Goodssortbypreposition'
  20097. "500":
  20098. description: Internal Server Error
  20099. schema:
  20100. $ref: '#/definitions/app.Response'
  20101. security:
  20102. - ApiKeyAuth: []
  20103. summary: 查询企业风管期货主力、次主力商品信息
  20104. tags:
  20105. - 企业风险管理(app)
  20106. /Ermcp/GetErmcpOutAccountStatus:
  20107. get:
  20108. parameters:
  20109. - description: 登录账号
  20110. in: query
  20111. name: loginID
  20112. required: true
  20113. type: integer
  20114. produces:
  20115. - application/json
  20116. responses:
  20117. "200":
  20118. description: OK
  20119. schema:
  20120. $ref: '#/definitions/models.Hedgemarketopenlog'
  20121. "500":
  20122. description: Internal Server Error
  20123. schema:
  20124. $ref: '#/definitions/app.Response'
  20125. security:
  20126. - ApiKeyAuth: []
  20127. summary: 获取目标登录账号当前对冲账号在线状态
  20128. tags:
  20129. - 企业风险管理(app)
  20130. /Ermcp/GetErmcpRoleFuncMenuLists:
  20131. get:
  20132. parameters:
  20133. - description: 登录账号
  20134. in: query
  20135. name: loginID
  20136. required: true
  20137. type: integer
  20138. produces:
  20139. - application/json
  20140. responses:
  20141. "200":
  20142. description: OK
  20143. schema:
  20144. $ref: '#/definitions/models.Funcmenulist'
  20145. "500":
  20146. description: Internal Server Error
  20147. schema:
  20148. $ref: '#/definitions/app.Response'
  20149. security:
  20150. - ApiKeyAuth: []
  20151. summary: 获取企业风管终端权限
  20152. tags:
  20153. - 企业风险管理(app)
  20154. /Ermcp/QueryAccMgrBizGroupSet:
  20155. get:
  20156. parameters:
  20157. - description: 用户ID
  20158. in: query
  20159. name: userid
  20160. required: true
  20161. type: integer
  20162. - description: 现货商品id
  20163. in: query
  20164. name: deliverygoodsid
  20165. type: integer
  20166. produces:
  20167. - application/json
  20168. responses:
  20169. "200":
  20170. description: OK
  20171. schema:
  20172. items:
  20173. $ref: '#/definitions/models.ErmcpBizGroupEx'
  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/QueryAccMgrLoginUser:
  20185. get:
  20186. parameters:
  20187. - description: 用户ID
  20188. in: query
  20189. name: userid
  20190. required: true
  20191. type: integer
  20192. - description: 用户类型 2-机构 7-企业成员
  20193. in: query
  20194. name: usertype
  20195. type: integer
  20196. - description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  20197. in: query
  20198. name: querytype
  20199. required: true
  20200. type: integer
  20201. produces:
  20202. - application/json
  20203. responses:
  20204. "200":
  20205. description: OK
  20206. schema:
  20207. items:
  20208. $ref: '#/definitions/models.ErmcpLoginUserEx'
  20209. type: array
  20210. "500":
  20211. description: Internal Server Error
  20212. schema:
  20213. $ref: '#/definitions/app.Response'
  20214. security:
  20215. - ApiKeyAuth: []
  20216. summary: 查询账户管理登录账号(账户管理/登录账号)
  20217. tags:
  20218. - 企业风险管理(app)
  20219. /Ermcp/QueryAccMgrMainAccountInfo:
  20220. get:
  20221. parameters:
  20222. - description: 用户ID
  20223. in: query
  20224. name: userid
  20225. type: integer
  20226. - description: 主账号id
  20227. in: query
  20228. name: accountid
  20229. type: integer
  20230. produces:
  20231. - application/json
  20232. responses:
  20233. "200":
  20234. description: OK
  20235. schema:
  20236. items:
  20237. $ref: '#/definitions/models.MainAccountInfo'
  20238. type: array
  20239. "500":
  20240. description: Internal Server Error
  20241. schema:
  20242. $ref: '#/definitions/app.Response'
  20243. security:
  20244. - ApiKeyAuth: []
  20245. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  20246. tags:
  20247. - 企业风险管理(app)
  20248. /Ermcp/QueryAccMgrRole:
  20249. get:
  20250. parameters:
  20251. - description: 用户ID
  20252. in: query
  20253. name: userid
  20254. required: true
  20255. type: integer
  20256. produces:
  20257. - application/json
  20258. responses:
  20259. "200":
  20260. description: OK
  20261. schema:
  20262. items:
  20263. $ref: '#/definitions/models.ErmcpRole'
  20264. type: array
  20265. "500":
  20266. description: Internal Server Error
  20267. schema:
  20268. $ref: '#/definitions/app.Response'
  20269. security:
  20270. - ApiKeyAuth: []
  20271. summary: 查询账户管理角色设置(账户管理/角色设置)
  20272. tags:
  20273. - 企业风险管理(app)
  20274. /Ermcp/QueryAccMgrRoleMenu:
  20275. get:
  20276. parameters:
  20277. - description: 用户ID
  20278. in: query
  20279. name: userid
  20280. required: true
  20281. type: integer
  20282. - description: 角色id(可多个,逗号隔开)
  20283. in: query
  20284. name: roleid
  20285. type: string
  20286. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易 ps:新加的参数,为了兼容以前,不传则默认查3
  20287. in: query
  20288. name: menutype
  20289. type: integer
  20290. produces:
  20291. - application/json
  20292. responses:
  20293. "200":
  20294. description: OK
  20295. schema:
  20296. items:
  20297. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  20298. type: array
  20299. "500":
  20300. description: Internal Server Error
  20301. schema:
  20302. $ref: '#/definitions/app.Response'
  20303. security:
  20304. - ApiKeyAuth: []
  20305. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  20306. tags:
  20307. - 企业风险管理(app)
  20308. /Ermcp/QueryAccMgrTaAccountInfo:
  20309. get:
  20310. parameters:
  20311. - description: 用户ID
  20312. in: query
  20313. name: userid
  20314. required: true
  20315. type: integer
  20316. - description: 账号id
  20317. in: query
  20318. name: accountid
  20319. type: integer
  20320. produces:
  20321. - application/json
  20322. responses:
  20323. "200":
  20324. description: OK
  20325. schema:
  20326. items:
  20327. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  20328. type: array
  20329. "500":
  20330. description: Internal Server Error
  20331. schema:
  20332. $ref: '#/definitions/app.Response'
  20333. security:
  20334. - ApiKeyAuth: []
  20335. summary: 查询账户管理授信(账户管理/账户设置/授信)
  20336. tags:
  20337. - 企业风险管理(app)
  20338. /Ermcp/QueryAccMgrTaaccount:
  20339. get:
  20340. parameters:
  20341. - description: 用户ID
  20342. in: query
  20343. name: userid
  20344. required: true
  20345. type: integer
  20346. produces:
  20347. - application/json
  20348. responses:
  20349. "200":
  20350. description: OK
  20351. schema:
  20352. items:
  20353. $ref: '#/definitions/models.ErmcpTaAccountEx'
  20354. type: array
  20355. "500":
  20356. description: Internal Server Error
  20357. schema:
  20358. $ref: '#/definitions/app.Response'
  20359. security:
  20360. - ApiKeyAuth: []
  20361. summary: 查询账户管理期货账号(账户管理/期货账号)
  20362. tags:
  20363. - 企业风险管理(app)
  20364. /Ermcp/QueryAvaildGoodsGroup:
  20365. get:
  20366. parameters:
  20367. - description: 所属机构ID
  20368. in: query
  20369. name: userid
  20370. required: true
  20371. type: integer
  20372. produces:
  20373. - application/json
  20374. responses:
  20375. "200":
  20376. description: OK
  20377. schema:
  20378. items:
  20379. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  20380. type: array
  20381. "500":
  20382. description: Internal Server Error
  20383. schema:
  20384. $ref: '#/definitions/app.Response'
  20385. security:
  20386. - ApiKeyAuth: []
  20387. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  20388. tags:
  20389. - 企业风险管理(app)
  20390. /Ermcp/QueryBusinessDj:
  20391. get:
  20392. parameters:
  20393. - description: 用户ID
  20394. in: query
  20395. name: UserId
  20396. required: true
  20397. type: integer
  20398. - description: 用户类型 2-机构 7-企业成员
  20399. in: query
  20400. name: usertype
  20401. type: integer
  20402. - description: 现货合同ID, 不填则查所有
  20403. in: query
  20404. name: relatedid
  20405. type: string
  20406. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20407. in: query
  20408. name: applystatus
  20409. type: string
  20410. produces:
  20411. - application/json
  20412. responses:
  20413. "200":
  20414. description: OK
  20415. schema:
  20416. items:
  20417. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  20418. type: array
  20419. "500":
  20420. description: Internal Server Error
  20421. schema:
  20422. $ref: '#/definitions/app.Response'
  20423. security:
  20424. - ApiKeyAuth: []
  20425. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  20426. tags:
  20427. - 企业风险管理(app)
  20428. /Ermcp/QueryBusinessFp:
  20429. get:
  20430. parameters:
  20431. - description: 用户ID
  20432. in: query
  20433. name: UserId
  20434. required: true
  20435. type: integer
  20436. - description: 用户类型 2-机构 7-企业成员
  20437. in: query
  20438. name: usertype
  20439. type: integer
  20440. - description: 现货合同ID, 不填则查所有
  20441. in: query
  20442. name: relatedid
  20443. type: string
  20444. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20445. in: query
  20446. name: applystatus
  20447. type: string
  20448. produces:
  20449. - application/json
  20450. responses:
  20451. "200":
  20452. description: OK
  20453. schema:
  20454. items:
  20455. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  20456. type: array
  20457. "500":
  20458. description: Internal Server Error
  20459. schema:
  20460. $ref: '#/definitions/app.Response'
  20461. security:
  20462. - ApiKeyAuth: []
  20463. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  20464. tags:
  20465. - 企业风险管理(app)
  20466. /Ermcp/QueryBusinessJs:
  20467. get:
  20468. parameters:
  20469. - description: 用户ID
  20470. in: query
  20471. name: UserId
  20472. required: true
  20473. type: integer
  20474. - description: 用户类型 2-机构 7-企业成员
  20475. in: query
  20476. name: usertype
  20477. type: integer
  20478. - description: 现货合同ID, 不填则查所有
  20479. in: query
  20480. name: relatedid
  20481. type: string
  20482. - description: 操作申请id
  20483. in: query
  20484. name: operateapplyid
  20485. type: string
  20486. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20487. in: query
  20488. name: applystatus
  20489. type: string
  20490. produces:
  20491. - application/json
  20492. responses:
  20493. "200":
  20494. description: OK
  20495. schema:
  20496. items:
  20497. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  20498. type: array
  20499. "500":
  20500. description: Internal Server Error
  20501. schema:
  20502. $ref: '#/definitions/app.Response'
  20503. security:
  20504. - ApiKeyAuth: []
  20505. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  20506. tags:
  20507. - 企业风险管理(app)
  20508. /Ermcp/QueryBusinessJsEx:
  20509. get:
  20510. parameters:
  20511. - description: 用户ID
  20512. in: query
  20513. name: UserId
  20514. required: true
  20515. type: integer
  20516. - description: 用户类型 2-机构 7-企业成员
  20517. in: query
  20518. name: usertype
  20519. type: integer
  20520. - description: 现货合同ID, 不填则查所有
  20521. in: query
  20522. name: relatedid
  20523. type: string
  20524. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20525. in: query
  20526. name: applystatus
  20527. type: string
  20528. produces:
  20529. - application/json
  20530. responses:
  20531. "200":
  20532. description: OK
  20533. schema:
  20534. items:
  20535. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  20536. type: array
  20537. "500":
  20538. description: Internal Server Error
  20539. schema:
  20540. $ref: '#/definitions/app.Response'
  20541. security:
  20542. - ApiKeyAuth: []
  20543. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  20544. tags:
  20545. - 企业风险管理(app)
  20546. /Ermcp/QueryBusinessKx:
  20547. get:
  20548. parameters:
  20549. - description: 用户ID
  20550. in: query
  20551. name: UserId
  20552. required: true
  20553. type: integer
  20554. - description: 用户类型 2-机构 7-企业成员
  20555. in: query
  20556. name: usertype
  20557. type: integer
  20558. - description: 现货合同ID, 不填则查所有
  20559. in: query
  20560. name: relatedid
  20561. type: string
  20562. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20563. in: query
  20564. name: applystatus
  20565. type: string
  20566. produces:
  20567. - application/json
  20568. responses:
  20569. "200":
  20570. description: OK
  20571. schema:
  20572. items:
  20573. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  20574. type: array
  20575. "500":
  20576. description: Internal Server Error
  20577. schema:
  20578. $ref: '#/definitions/app.Response'
  20579. security:
  20580. - ApiKeyAuth: []
  20581. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  20582. tags:
  20583. - 企业风险管理(app)
  20584. /Ermcp/QueryChangeLog:
  20585. get:
  20586. parameters:
  20587. - description: 合同ID
  20588. in: query
  20589. name: RelatedId
  20590. required: true
  20591. type: string
  20592. produces:
  20593. - application/json
  20594. responses:
  20595. "200":
  20596. description: OK
  20597. schema:
  20598. items:
  20599. $ref: '#/definitions/ermcp.QryOPLogRsp'
  20600. type: array
  20601. "500":
  20602. description: Internal Server Error
  20603. schema:
  20604. $ref: '#/definitions/app.Response'
  20605. security:
  20606. - ApiKeyAuth: []
  20607. summary: 查询变更记录
  20608. tags:
  20609. - 企业风险管理(app)
  20610. /Ermcp/QueryErmcpHisOrderDetails:
  20611. get:
  20612. parameters:
  20613. - description: 资金账户ID
  20614. in: query
  20615. name: accountID
  20616. required: true
  20617. type: integer
  20618. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  20619. in: query
  20620. name: startDate
  20621. type: string
  20622. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  20623. in: query
  20624. name: endDate
  20625. type: string
  20626. produces:
  20627. - application/json
  20628. responses:
  20629. "200":
  20630. description: OK
  20631. schema:
  20632. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  20633. "500":
  20634. description: Internal Server Error
  20635. schema:
  20636. $ref: '#/definitions/app.Response'
  20637. security:
  20638. - ApiKeyAuth: []
  20639. summary: 获取企业风管期货历史委托单信息
  20640. tags:
  20641. - 企业风险管理(app)
  20642. /Ermcp/QueryErmcpHisTradeDetails:
  20643. get:
  20644. parameters:
  20645. - description: 资金账户ID
  20646. in: query
  20647. name: accountID
  20648. required: true
  20649. type: integer
  20650. - description: 商品ID
  20651. in: query
  20652. name: goodsID
  20653. type: integer
  20654. - description: 买卖方向,0:买 1:卖
  20655. in: query
  20656. name: buyOrSell
  20657. type: integer
  20658. - description: 关联委托单号
  20659. in: query
  20660. name: orderID
  20661. type: integer
  20662. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  20663. in: query
  20664. name: startDate
  20665. type: string
  20666. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  20667. in: query
  20668. name: endDate
  20669. type: string
  20670. produces:
  20671. - application/json
  20672. responses:
  20673. "200":
  20674. description: OK
  20675. schema:
  20676. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  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/QueryErmcpInnerHolderDetails:
  20687. get:
  20688. parameters:
  20689. - description: 资金账户ID
  20690. in: query
  20691. name: accountID
  20692. required: true
  20693. type: integer
  20694. - description: 商品ID
  20695. in: query
  20696. name: goodsID
  20697. type: integer
  20698. - description: 买卖方向,0:买 1:卖
  20699. in: query
  20700. name: buyOrSell
  20701. type: integer
  20702. produces:
  20703. - application/json
  20704. responses:
  20705. "200":
  20706. description: OK
  20707. schema:
  20708. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  20709. "500":
  20710. description: Internal Server Error
  20711. schema:
  20712. $ref: '#/definitions/app.Response'
  20713. security:
  20714. - ApiKeyAuth: []
  20715. summary: 获取企业风管期货内部持仓单信息
  20716. tags:
  20717. - 企业风险管理(app)
  20718. /Ermcp/QueryErmcpOrderDetails:
  20719. get:
  20720. parameters:
  20721. - description: 资金账户ID
  20722. in: query
  20723. name: accountID
  20724. required: true
  20725. type: integer
  20726. produces:
  20727. - application/json
  20728. responses:
  20729. "200":
  20730. description: OK
  20731. schema:
  20732. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  20733. "500":
  20734. description: Internal Server Error
  20735. schema:
  20736. $ref: '#/definitions/app.Response'
  20737. security:
  20738. - ApiKeyAuth: []
  20739. summary: 获取企业风管期货委托单信息
  20740. tags:
  20741. - 企业风险管理(app)
  20742. /Ermcp/QueryErmcpTradeDetails:
  20743. get:
  20744. parameters:
  20745. - description: 资金账户ID
  20746. in: query
  20747. name: accountID
  20748. required: true
  20749. type: integer
  20750. - description: 商品ID
  20751. in: query
  20752. name: goodsID
  20753. type: integer
  20754. - description: 买卖方向,0:买 1:卖
  20755. in: query
  20756. name: buyOrSell
  20757. type: integer
  20758. - description: 关联委托单号
  20759. in: query
  20760. name: orderID
  20761. type: integer
  20762. produces:
  20763. - application/json
  20764. responses:
  20765. "200":
  20766. description: OK
  20767. schema:
  20768. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  20769. "500":
  20770. description: Internal Server Error
  20771. schema:
  20772. $ref: '#/definitions/app.Response'
  20773. security:
  20774. - ApiKeyAuth: []
  20775. summary: 获取企业风管期货成交单信息
  20776. tags:
  20777. - 企业风险管理(app)
  20778. /Ermcp/QueryErmcpTradePosition:
  20779. get:
  20780. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  20781. parameters:
  20782. - description: 资金账户ID
  20783. in: query
  20784. name: accountID
  20785. required: true
  20786. type: integer
  20787. - description: 所属市场ID
  20788. in: query
  20789. name: marketID
  20790. type: integer
  20791. produces:
  20792. - application/json
  20793. responses:
  20794. "200":
  20795. description: OK
  20796. schema:
  20797. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  20798. "500":
  20799. description: Internal Server Error
  20800. schema:
  20801. $ref: '#/definitions/app.Response'
  20802. security:
  20803. - ApiKeyAuth: []
  20804. summary: 获取企业风管期货持仓头寸信息
  20805. tags:
  20806. - 企业风险管理(app)
  20807. /Ermcp/QueryExposureDetail:
  20808. get:
  20809. parameters:
  20810. - description: 所属机构ID
  20811. in: query
  20812. name: areaUserId
  20813. required: true
  20814. type: integer
  20815. - description: 套保商品
  20816. in: query
  20817. name: middleGoodsId
  20818. required: true
  20819. type: integer
  20820. produces:
  20821. - application/json
  20822. responses:
  20823. "200":
  20824. description: OK
  20825. schema:
  20826. items:
  20827. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  20828. type: array
  20829. "500":
  20830. description: Internal Server Error
  20831. schema:
  20832. $ref: '#/definitions/app.Response'
  20833. security:
  20834. - ApiKeyAuth: []
  20835. summary: 查询敞口现货明细
  20836. tags:
  20837. - 企业风险管理(app)
  20838. /Ermcp/QueryExposureGoods:
  20839. get:
  20840. parameters:
  20841. - description: 套保商品id
  20842. in: query
  20843. name: middlegoodsid
  20844. required: true
  20845. type: integer
  20846. produces:
  20847. - application/json
  20848. responses:
  20849. "200":
  20850. description: OK
  20851. schema:
  20852. items:
  20853. $ref: '#/definitions/models.ErmcpMiddlegoodsRelateGoods'
  20854. type: array
  20855. "500":
  20856. description: Internal Server Error
  20857. schema:
  20858. $ref: '#/definitions/app.Response'
  20859. security:
  20860. - ApiKeyAuth: []
  20861. summary: 查询敞口主力合约
  20862. tags:
  20863. - 企业风险管理(app)
  20864. /Ermcp/QueryExposureHedgePosition:
  20865. get:
  20866. parameters:
  20867. - description: 用户id
  20868. in: query
  20869. name: userid
  20870. required: true
  20871. type: integer
  20872. produces:
  20873. - application/json
  20874. responses:
  20875. "200":
  20876. description: OK
  20877. schema:
  20878. items:
  20879. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  20880. type: array
  20881. "500":
  20882. description: Internal Server Error
  20883. schema:
  20884. $ref: '#/definitions/app.Response'
  20885. security:
  20886. - ApiKeyAuth: []
  20887. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  20888. tags:
  20889. - 企业风险管理(app)
  20890. /Ermcp/QueryExposureHedgePositionDetail:
  20891. get:
  20892. parameters:
  20893. - description: 所属机构ID
  20894. in: query
  20895. name: userid
  20896. required: true
  20897. type: integer
  20898. - description: 商品id
  20899. in: query
  20900. name: goodsId
  20901. required: true
  20902. type: integer
  20903. produces:
  20904. - application/json
  20905. responses:
  20906. "200":
  20907. description: OK
  20908. schema:
  20909. items:
  20910. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  20911. type: array
  20912. "500":
  20913. description: Internal Server Error
  20914. schema:
  20915. $ref: '#/definitions/app.Response'
  20916. security:
  20917. - ApiKeyAuth: []
  20918. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  20919. tags:
  20920. - 企业风险管理(app)
  20921. /Ermcp/QueryExposureSpot:
  20922. get:
  20923. parameters:
  20924. - description: 所属机构ID
  20925. in: query
  20926. name: areaUserId
  20927. required: true
  20928. type: integer
  20929. produces:
  20930. - application/json
  20931. responses:
  20932. "200":
  20933. description: OK
  20934. schema:
  20935. items:
  20936. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  20937. type: array
  20938. "500":
  20939. description: Internal Server Error
  20940. schema:
  20941. $ref: '#/definitions/app.Response'
  20942. security:
  20943. - ApiKeyAuth: []
  20944. summary: 查询敞口现货头寸(敞口/现货头寸)
  20945. tags:
  20946. - 企业风险管理(app)
  20947. /Ermcp/QueryExposureSpotDetail:
  20948. get:
  20949. parameters:
  20950. - description: 所属机构ID
  20951. in: query
  20952. name: areaUserId
  20953. required: true
  20954. type: integer
  20955. - description: 现货品种ID
  20956. in: query
  20957. name: wrstandardId
  20958. required: true
  20959. type: integer
  20960. produces:
  20961. - application/json
  20962. responses:
  20963. "200":
  20964. description: OK
  20965. schema:
  20966. items:
  20967. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  20968. type: array
  20969. "500":
  20970. description: Internal Server Error
  20971. schema:
  20972. $ref: '#/definitions/app.Response'
  20973. security:
  20974. - ApiKeyAuth: []
  20975. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  20976. tags:
  20977. - 企业风险管理(app)
  20978. /Ermcp/QueryFuturesCompany:
  20979. get:
  20980. produces:
  20981. - application/json
  20982. responses:
  20983. "200":
  20984. description: OK
  20985. schema:
  20986. items:
  20987. $ref: '#/definitions/models.ErmcpFuturesCompany'
  20988. type: array
  20989. "500":
  20990. description: Internal Server Error
  20991. schema:
  20992. $ref: '#/definitions/app.Response'
  20993. security:
  20994. - ApiKeyAuth: []
  20995. summary: 查询期货公司
  20996. tags:
  20997. - 企业风险管理(app)
  20998. /Ermcp/QueryGGConvertConfig:
  20999. get:
  21000. parameters:
  21001. - description: 品种id(不填则查所有)
  21002. in: query
  21003. name: goodsgroupid
  21004. type: integer
  21005. produces:
  21006. - application/json
  21007. responses:
  21008. "200":
  21009. description: OK
  21010. schema:
  21011. items:
  21012. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  21013. type: array
  21014. "500":
  21015. description: Internal Server Error
  21016. schema:
  21017. $ref: '#/definitions/app.Response'
  21018. security:
  21019. - ApiKeyAuth: []
  21020. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  21021. tags:
  21022. - 企业风险管理(app)
  21023. /Ermcp/QueryGoodsBrand:
  21024. get:
  21025. parameters:
  21026. - description: 用户ID
  21027. in: query
  21028. name: userid
  21029. required: true
  21030. type: integer
  21031. - description: 现货商品ID
  21032. in: query
  21033. name: wrstandardid
  21034. type: integer
  21035. produces:
  21036. - application/json
  21037. responses:
  21038. "200":
  21039. description: OK
  21040. schema:
  21041. items:
  21042. $ref: '#/definitions/models.ErmcpGoodsBrand'
  21043. type: array
  21044. "500":
  21045. description: Internal Server Error
  21046. schema:
  21047. $ref: '#/definitions/app.Response'
  21048. security:
  21049. - ApiKeyAuth: []
  21050. summary: 查询商品品牌
  21051. tags:
  21052. - 企业风险管理(app)
  21053. /Ermcp/QueryGoodsModel:
  21054. get:
  21055. parameters:
  21056. - description: 用户ID
  21057. in: query
  21058. name: userid
  21059. required: true
  21060. type: integer
  21061. produces:
  21062. - application/json
  21063. responses:
  21064. "200":
  21065. description: OK
  21066. schema:
  21067. items:
  21068. $ref: '#/definitions/models.ErmcpGoodsModel'
  21069. type: array
  21070. "500":
  21071. description: Internal Server Error
  21072. schema:
  21073. $ref: '#/definitions/app.Response'
  21074. security:
  21075. - ApiKeyAuth: []
  21076. summary: 查询商品型号
  21077. tags:
  21078. - 企业风险管理(app)
  21079. /Ermcp/QueryHisExposure:
  21080. get:
  21081. parameters:
  21082. - description: 用户id
  21083. in: query
  21084. name: userid
  21085. required: true
  21086. type: integer
  21087. - description: 每个品种记录数
  21088. in: query
  21089. name: lastNum
  21090. required: true
  21091. type: integer
  21092. produces:
  21093. - application/json
  21094. responses:
  21095. "200":
  21096. description: OK
  21097. schema:
  21098. items:
  21099. $ref: '#/definitions/ermcp.HisExposureRsp'
  21100. type: array
  21101. "500":
  21102. description: Internal Server Error
  21103. schema:
  21104. $ref: '#/definitions/app.Response'
  21105. security:
  21106. - ApiKeyAuth: []
  21107. summary: 查询历史敞口(菜单:敞口/历史敞口)
  21108. tags:
  21109. - 企业风险管理(app)
  21110. /Ermcp/QueryMiddleGoods:
  21111. get:
  21112. parameters:
  21113. - description: 所属机构ID
  21114. in: query
  21115. name: userid
  21116. required: true
  21117. type: integer
  21118. - description: 状态 0-停用 1-正常
  21119. in: query
  21120. name: status
  21121. required: true
  21122. type: integer
  21123. produces:
  21124. - application/json
  21125. responses:
  21126. "200":
  21127. description: OK
  21128. schema:
  21129. items:
  21130. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  21131. type: array
  21132. "500":
  21133. description: Internal Server Error
  21134. schema:
  21135. $ref: '#/definitions/app.Response'
  21136. security:
  21137. - ApiKeyAuth: []
  21138. summary: 查询套保品种(菜单:套保品种)
  21139. tags:
  21140. - 企业风险管理(app)
  21141. /Ermcp/QueryMiddleGoodsChangeLog:
  21142. get:
  21143. parameters:
  21144. - description: 所属机构ID
  21145. in: query
  21146. name: userid
  21147. required: true
  21148. type: integer
  21149. - description: 套保品种id
  21150. in: query
  21151. name: middlegoodsid
  21152. required: true
  21153. type: integer
  21154. produces:
  21155. - application/json
  21156. responses:
  21157. "200":
  21158. description: OK
  21159. schema:
  21160. items:
  21161. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  21162. type: array
  21163. "500":
  21164. description: Internal Server Error
  21165. schema:
  21166. $ref: '#/definitions/app.Response'
  21167. security:
  21168. - ApiKeyAuth: []
  21169. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  21170. tags:
  21171. - 企业风险管理(app)
  21172. /Ermcp/QueryMiddleGoodsDetail:
  21173. get:
  21174. parameters:
  21175. - description: 所属机构ID
  21176. in: query
  21177. name: userid
  21178. required: true
  21179. type: integer
  21180. - description: 套保品种id
  21181. in: query
  21182. name: middlegoodsid
  21183. type: integer
  21184. produces:
  21185. - application/json
  21186. responses:
  21187. "200":
  21188. description: OK
  21189. schema:
  21190. items:
  21191. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  21192. type: array
  21193. "500":
  21194. description: Internal Server Error
  21195. schema:
  21196. $ref: '#/definitions/app.Response'
  21197. security:
  21198. - ApiKeyAuth: []
  21199. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  21200. tags:
  21201. - 企业风险管理(app)
  21202. /Ermcp/QueryPendingAuditInfo:
  21203. get:
  21204. parameters:
  21205. - description: 用户ID
  21206. in: query
  21207. name: UserId
  21208. required: true
  21209. type: integer
  21210. produces:
  21211. - application/json
  21212. responses:
  21213. "200":
  21214. description: OK
  21215. schema:
  21216. items:
  21217. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  21218. type: array
  21219. "500":
  21220. description: Internal Server Error
  21221. schema:
  21222. $ref: '#/definitions/app.Response'
  21223. security:
  21224. - ApiKeyAuth: []
  21225. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  21226. tags:
  21227. - 企业风险管理(app)
  21228. /Ermcp/QueryRealtimeExposure:
  21229. get:
  21230. parameters:
  21231. - description: 所属机构ID
  21232. in: query
  21233. name: userid
  21234. required: true
  21235. type: integer
  21236. produces:
  21237. - application/json
  21238. responses:
  21239. "200":
  21240. description: OK
  21241. schema:
  21242. items:
  21243. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  21244. type: array
  21245. "500":
  21246. description: Internal Server Error
  21247. schema:
  21248. $ref: '#/definitions/app.Response'
  21249. security:
  21250. - ApiKeyAuth: []
  21251. summary: 查询实时敞口
  21252. tags:
  21253. - 企业风险管理(app)
  21254. /Ermcp/QueryRealtimeExposurePosition:
  21255. get:
  21256. parameters:
  21257. - description: 用户id
  21258. in: query
  21259. name: userid
  21260. required: true
  21261. type: integer
  21262. - description: 套保商品ID
  21263. in: query
  21264. name: middleGoodsId
  21265. required: true
  21266. type: integer
  21267. produces:
  21268. - application/json
  21269. responses:
  21270. "200":
  21271. description: OK
  21272. schema:
  21273. items:
  21274. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  21275. type: array
  21276. "500":
  21277. description: Internal Server Error
  21278. schema:
  21279. $ref: '#/definitions/app.Response'
  21280. security:
  21281. - ApiKeyAuth: []
  21282. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  21283. tags:
  21284. - 企业风险管理(app)
  21285. /Ermcp/QueryRoleMenu:
  21286. get:
  21287. parameters:
  21288. - description: 登录ID
  21289. in: query
  21290. name: loginid
  21291. required: true
  21292. type: integer
  21293. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易
  21294. in: query
  21295. name: menutype
  21296. type: integer
  21297. produces:
  21298. - application/json
  21299. responses:
  21300. "200":
  21301. description: OK
  21302. schema:
  21303. items:
  21304. $ref: '#/definitions/models.RoleMenu'
  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. - 企业风险管理(app)
  21315. /Ermcp/QueryTradeConfigTMP:
  21316. get:
  21317. parameters:
  21318. - description: 所属机构id
  21319. in: query
  21320. name: areauserid
  21321. type: integer
  21322. produces:
  21323. - application/json
  21324. responses:
  21325. "200":
  21326. description: OK
  21327. schema:
  21328. items:
  21329. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  21330. type: array
  21331. "500":
  21332. description: Internal Server Error
  21333. schema:
  21334. $ref: '#/definitions/app.Response'
  21335. security:
  21336. - ApiKeyAuth: []
  21337. summary: 查询交易模板配置
  21338. tags:
  21339. - 企业风险管理(app)
  21340. /Ermcp/QueryUserInfo:
  21341. get:
  21342. parameters:
  21343. - description: 所属机构用户ID
  21344. in: query
  21345. name: MemberUserID
  21346. required: true
  21347. type: integer
  21348. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  21349. in: query
  21350. name: queryType
  21351. required: true
  21352. type: integer
  21353. produces:
  21354. - application/json
  21355. responses:
  21356. "200":
  21357. description: OK
  21358. schema:
  21359. items:
  21360. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  21361. type: array
  21362. "500":
  21363. description: Internal Server Error
  21364. schema:
  21365. $ref: '#/definitions/app.Response'
  21366. security:
  21367. - ApiKeyAuth: []
  21368. summary: 查询客户资料
  21369. tags:
  21370. - 企业风险管理(app)
  21371. /Ermcp/QueryWarehouseInfo:
  21372. get:
  21373. parameters:
  21374. - description: 用户ID
  21375. in: query
  21376. name: userid
  21377. required: true
  21378. type: integer
  21379. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  21380. in: query
  21381. name: status
  21382. type: string
  21383. produces:
  21384. - application/json
  21385. responses:
  21386. "200":
  21387. description: OK
  21388. schema:
  21389. items:
  21390. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  21391. type: array
  21392. "500":
  21393. description: Internal Server Error
  21394. schema:
  21395. $ref: '#/definitions/app.Response'
  21396. security:
  21397. - ApiKeyAuth: []
  21398. summary: 查询仓库信息
  21399. tags:
  21400. - 企业风险管理(app)
  21401. /Ermcp3/QryAreaExpourseContractDetail:
  21402. get:
  21403. parameters:
  21404. - description: 用户ID
  21405. in: query
  21406. name: userid
  21407. required: true
  21408. type: integer
  21409. - description: 套保商品id
  21410. in: query
  21411. name: middlegoodsid
  21412. required: true
  21413. type: integer
  21414. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21415. in: query
  21416. name: cycletype
  21417. required: true
  21418. type: integer
  21419. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21420. 全(0)【原值】
  21421. in: query
  21422. name: cycletime
  21423. required: true
  21424. type: string
  21425. produces:
  21426. - application/json
  21427. responses:
  21428. "200":
  21429. description: OK
  21430. schema:
  21431. items:
  21432. $ref: '#/definitions/models.Ermcp3ExposureContractDetail'
  21433. type: array
  21434. "500":
  21435. description: Internal Server Error
  21436. schema:
  21437. $ref: '#/definitions/app.Response'
  21438. security:
  21439. - ApiKeyAuth: []
  21440. summary: 查询敞口合同明细(敞口报表/现货合同明细)
  21441. tags:
  21442. - 企业风险管理v3(app)
  21443. /Ermcp3/QryAreaExpourseFutuDetail:
  21444. get:
  21445. parameters:
  21446. - description: 用户ID
  21447. in: query
  21448. name: userid
  21449. required: true
  21450. type: integer
  21451. - description: 套保商品id
  21452. in: query
  21453. name: middlegoodsid
  21454. required: true
  21455. type: integer
  21456. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21457. in: query
  21458. name: cycletype
  21459. required: true
  21460. type: integer
  21461. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21462. 全(0)【原值】
  21463. in: query
  21464. name: cycletime
  21465. required: true
  21466. type: string
  21467. produces:
  21468. - application/json
  21469. responses:
  21470. "200":
  21471. description: OK
  21472. schema:
  21473. items:
  21474. $ref: '#/definitions/models.Ermcp3ExposureFutuDetail'
  21475. type: array
  21476. "500":
  21477. description: Internal Server Error
  21478. schema:
  21479. $ref: '#/definitions/app.Response'
  21480. security:
  21481. - ApiKeyAuth: []
  21482. summary: 查询敞口期货明细(敞口报表/期货明细)
  21483. tags:
  21484. - 企业风险管理v3(app)
  21485. /Ermcp3/QryAreaExpourseHedgeplanDetail:
  21486. get:
  21487. parameters:
  21488. - description: 用户ID
  21489. in: query
  21490. name: userid
  21491. required: true
  21492. type: integer
  21493. - description: 套保商品id
  21494. in: query
  21495. name: middlegoodsid
  21496. required: true
  21497. type: integer
  21498. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21499. in: query
  21500. name: cycletype
  21501. required: true
  21502. type: integer
  21503. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21504. 全(0)【原值】
  21505. in: query
  21506. name: cycletime
  21507. required: true
  21508. type: string
  21509. produces:
  21510. - application/json
  21511. responses:
  21512. "200":
  21513. description: OK
  21514. schema:
  21515. items:
  21516. $ref: '#/definitions/models.Ermcp3ExposureHedgeplanDetail'
  21517. type: array
  21518. "500":
  21519. description: Internal Server Error
  21520. schema:
  21521. $ref: '#/definitions/app.Response'
  21522. security:
  21523. - ApiKeyAuth: []
  21524. summary: 查询敞口套保计划明细(敞口报表/套保计划明细)
  21525. tags:
  21526. - 企业风险管理v3(app)
  21527. /Ermcp3/QryAreaExpourseParamChLogDetail:
  21528. get:
  21529. parameters:
  21530. - description: 用户ID
  21531. in: query
  21532. name: userid
  21533. required: true
  21534. type: integer
  21535. - description: 套保商品id
  21536. in: query
  21537. name: middlegoodsid
  21538. required: true
  21539. type: integer
  21540. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21541. in: query
  21542. name: cycletype
  21543. required: true
  21544. type: integer
  21545. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21546. 全(0)【原值】
  21547. in: query
  21548. name: cycletime
  21549. required: true
  21550. type: string
  21551. produces:
  21552. - application/json
  21553. responses:
  21554. "200":
  21555. description: OK
  21556. schema:
  21557. items:
  21558. $ref: '#/definitions/models.Ermcp3ExposureParamChLog'
  21559. type: array
  21560. "500":
  21561. description: Internal Server Error
  21562. schema:
  21563. $ref: '#/definitions/app.Response'
  21564. security:
  21565. - ApiKeyAuth: []
  21566. summary: 查询敞口参数调整明细(敞口报表/参数调整明细)
  21567. tags:
  21568. - 企业风险管理v3(app)
  21569. /Ermcp3/QryAreaExpourseReport:
  21570. get:
  21571. parameters:
  21572. - description: 用户ID
  21573. in: query
  21574. name: userid
  21575. required: true
  21576. type: integer
  21577. - description: 查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口
  21578. in: query
  21579. name: querytype
  21580. required: true
  21581. type: integer
  21582. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21583. in: query
  21584. name: cycletype
  21585. required: true
  21586. type: integer
  21587. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21588. 全(0)【原值】
  21589. in: query
  21590. name: cycletime
  21591. required: true
  21592. type: string
  21593. produces:
  21594. - application/json
  21595. responses:
  21596. "200":
  21597. description: OK
  21598. schema:
  21599. items:
  21600. $ref: '#/definitions/models.Ermcp3ExpourseReport'
  21601. type: array
  21602. "500":
  21603. description: Internal Server Error
  21604. schema:
  21605. $ref: '#/definitions/app.Response'
  21606. security:
  21607. - ApiKeyAuth: []
  21608. summary: 查询敞口报表
  21609. tags:
  21610. - 企业风险管理v3(app)
  21611. /Ermcp3/QryAreaSpotplReport:
  21612. get:
  21613. description: 目前pcweb的日/周/月报表与手机端的汇总维度不同, 所以增加了可选参数sumflag参数, pcweb请填1
  21614. parameters:
  21615. - description: 用户ID
  21616. in: query
  21617. name: userid
  21618. required: true
  21619. type: integer
  21620. - description: 查询类型 1-报表 2-报表明细
  21621. in: query
  21622. name: querytype
  21623. required: true
  21624. type: integer
  21625. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21626. in: query
  21627. name: cycletype
  21628. required: true
  21629. type: integer
  21630. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21631. 全(0)【原值】
  21632. in: query
  21633. name: cycletime
  21634. required: true
  21635. type: string
  21636. - description: 现货品种id(明细必填)
  21637. in: query
  21638. name: deliverygoodsid
  21639. type: integer
  21640. - description: 币种id(明细必填)
  21641. in: query
  21642. name: currencyid
  21643. type: integer
  21644. - description: 日/周/月报表汇总维度 1:品种+品类
  21645. in: query
  21646. name: sumflag
  21647. type: integer
  21648. produces:
  21649. - application/json
  21650. responses:
  21651. "200":
  21652. description: OK
  21653. schema:
  21654. items:
  21655. $ref: '#/definitions/models.Ermcp3AreaSpotPLReport'
  21656. type: array
  21657. "500":
  21658. description: Internal Server Error
  21659. schema:
  21660. $ref: '#/definitions/app.Response'
  21661. security:
  21662. - ApiKeyAuth: []
  21663. summary: 查询现货报表
  21664. tags:
  21665. - 企业风险管理v3(app)
  21666. /Ermcp3/QryAreaStockReport:
  21667. get:
  21668. parameters:
  21669. - description: 用户ID
  21670. in: query
  21671. name: userid
  21672. required: true
  21673. type: integer
  21674. - description: 查询类型 1-报表 2-报表明细
  21675. in: query
  21676. name: querytype
  21677. required: true
  21678. type: integer
  21679. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21680. in: query
  21681. name: cycletype
  21682. required: true
  21683. type: integer
  21684. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21685. 全(0)【原值】
  21686. in: query
  21687. name: cycletime
  21688. required: true
  21689. type: string
  21690. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库
  21691. in: query
  21692. name: sumfields
  21693. type: string
  21694. - description: 品种ID
  21695. in: query
  21696. name: deliverygoodsid
  21697. type: integer
  21698. - description: 品类ID
  21699. in: query
  21700. name: wrstandardid
  21701. type: integer
  21702. - description: 品牌ID
  21703. in: query
  21704. name: spotgoodsbrandid
  21705. type: integer
  21706. - description: 仓库ID
  21707. in: query
  21708. name: warehouseinfoid
  21709. type: integer
  21710. produces:
  21711. - application/json
  21712. responses:
  21713. "200":
  21714. description: OK
  21715. schema:
  21716. items:
  21717. $ref: '#/definitions/models.Ermcp3AreaStockReportEx'
  21718. type: array
  21719. "500":
  21720. description: Internal Server Error
  21721. schema:
  21722. $ref: '#/definitions/app.Response'
  21723. security:
  21724. - ApiKeyAuth: []
  21725. summary: 查询库存报表
  21726. tags:
  21727. - 企业风险管理v3(app)
  21728. /Ermcp3/QryAreaSumPL:
  21729. get:
  21730. parameters:
  21731. - description: 用户ID
  21732. in: query
  21733. name: userid
  21734. required: true
  21735. type: integer
  21736. - description: 查询类型 1-报表 2-报表明细
  21737. in: query
  21738. name: querytype
  21739. required: true
  21740. type: integer
  21741. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21742. in: query
  21743. name: cycletype
  21744. required: true
  21745. type: integer
  21746. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21747. 全(0)【原值】
  21748. in: query
  21749. name: cycletime
  21750. required: true
  21751. type: string
  21752. - description: 币种id(明细必填)
  21753. in: query
  21754. name: currencyid
  21755. type: integer
  21756. - description: 套保品种ID, 查询类型为2时起效
  21757. in: query
  21758. name: middlegoodsid
  21759. type: integer
  21760. produces:
  21761. - application/json
  21762. responses:
  21763. "200":
  21764. description: OK
  21765. schema:
  21766. items:
  21767. $ref: '#/definitions/models.Ermcp3ArealSumPL'
  21768. type: array
  21769. "500":
  21770. description: Internal Server Error
  21771. schema:
  21772. $ref: '#/definitions/app.Response'
  21773. security:
  21774. - ApiKeyAuth: []
  21775. summary: 查询汇总损益表
  21776. tags:
  21777. - 企业风险管理v3(app)
  21778. /Ermcp3/QryFinanceReport:
  21779. get:
  21780. parameters:
  21781. - description: 用户ID
  21782. in: query
  21783. name: userid
  21784. required: true
  21785. type: integer
  21786. - description: 查询类型 1-报表 2-报表明细
  21787. in: query
  21788. name: querytype
  21789. required: true
  21790. type: integer
  21791. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21792. in: query
  21793. name: cycletype
  21794. required: true
  21795. type: integer
  21796. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21797. 全(0)【原值】
  21798. in: query
  21799. name: cycletime
  21800. required: true
  21801. type: string
  21802. - description: 币种id(报表明细必填)
  21803. in: query
  21804. name: currencyid
  21805. type: integer
  21806. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌
  21807. in: query
  21808. name: sumfields
  21809. type: string
  21810. produces:
  21811. - application/json
  21812. responses:
  21813. "200":
  21814. description: OK
  21815. schema:
  21816. items:
  21817. $ref: '#/definitions/models.Ermcp3FinanceReport'
  21818. type: array
  21819. "500":
  21820. description: Internal Server Error
  21821. schema:
  21822. $ref: '#/definitions/app.Response'
  21823. security:
  21824. - ApiKeyAuth: []
  21825. summary: 查询财务报表
  21826. tags:
  21827. - 企业风险管理v3(app)
  21828. /Ermcp3/QrySCMiddleGoodsReport:
  21829. get:
  21830. parameters:
  21831. - description: 用户ID
  21832. in: query
  21833. name: userid
  21834. required: true
  21835. type: integer
  21836. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21837. in: query
  21838. name: cycletype
  21839. required: true
  21840. type: integer
  21841. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21842. 全(0)【原值】
  21843. in: query
  21844. name: cycletime
  21845. required: true
  21846. type: string
  21847. - description: 合同id
  21848. in: query
  21849. name: spotcontractid
  21850. type: integer
  21851. - description: 套保品种id
  21852. in: query
  21853. name: middlegoodsid
  21854. type: integer
  21855. - description: 现货品种id
  21856. in: query
  21857. name: deliverygoodsid
  21858. type: integer
  21859. - description: 现货商品id
  21860. in: query
  21861. name: wrstandardid
  21862. type: integer
  21863. - description: 合同编号(模糊匹配)
  21864. in: query
  21865. name: contractno
  21866. type: string
  21867. produces:
  21868. - application/json
  21869. responses:
  21870. "200":
  21871. description: OK
  21872. schema:
  21873. items:
  21874. $ref: '#/definitions/models.Ermcp3SCMiddleGoodsReport'
  21875. type: array
  21876. "500":
  21877. description: Internal Server Error
  21878. schema:
  21879. $ref: '#/definitions/app.Response'
  21880. security:
  21881. - ApiKeyAuth: []
  21882. summary: 查询定价报表
  21883. tags:
  21884. - 企业风险管理v3(app)
  21885. /Ermcp3/QryTaFutureDataReport:
  21886. get:
  21887. parameters:
  21888. - description: 用户ID
  21889. in: query
  21890. name: userid
  21891. required: true
  21892. type: integer
  21893. - description: 查询类型 1-报表 2-报表明细
  21894. in: query
  21895. name: querytype
  21896. required: true
  21897. type: integer
  21898. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21899. in: query
  21900. name: cycletype
  21901. required: true
  21902. type: integer
  21903. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21904. 全(0)【原值】
  21905. in: query
  21906. name: cycletime
  21907. required: true
  21908. type: string
  21909. - description: 币种id(查明细必填)
  21910. in: query
  21911. name: currencyid
  21912. type: integer
  21913. - description: 品种id(查明细必填)
  21914. in: query
  21915. name: goodsgroupid
  21916. type: integer
  21917. - description: 商品id(查明细必填)
  21918. in: query
  21919. name: goodsid
  21920. type: integer
  21921. - description: 买卖方向(查明细必填)
  21922. in: query
  21923. name: buyorsell
  21924. type: integer
  21925. produces:
  21926. - application/json
  21927. responses:
  21928. "200":
  21929. description: OK
  21930. schema:
  21931. items:
  21932. $ref: '#/definitions/models.Ermcp3TaFutuReDataReport'
  21933. type: array
  21934. "500":
  21935. description: Internal Server Error
  21936. schema:
  21937. $ref: '#/definitions/app.Response'
  21938. security:
  21939. - ApiKeyAuth: []
  21940. summary: 查询期货报表
  21941. tags:
  21942. - 企业风险管理v3(app)
  21943. /Ermcp3/QueryAreaStock:
  21944. get:
  21945. parameters:
  21946. - description: 用户ID
  21947. in: query
  21948. name: userid
  21949. required: true
  21950. type: integer
  21951. produces:
  21952. - application/json
  21953. responses:
  21954. "200":
  21955. description: OK
  21956. schema:
  21957. items:
  21958. $ref: '#/definitions/models.Ermcp3AreaStock'
  21959. type: array
  21960. "500":
  21961. description: Internal Server Error
  21962. schema:
  21963. $ref: '#/definitions/app.Response'
  21964. security:
  21965. - ApiKeyAuth: []
  21966. summary: 查询机构库存(库存管理/当前库存)
  21967. tags:
  21968. - 企业风险管理v3(app)
  21969. /Ermcp3/QueryAreaStockApply:
  21970. get:
  21971. parameters:
  21972. - description: 用户ID
  21973. in: query
  21974. name: userid
  21975. required: true
  21976. type: integer
  21977. - description: 用户类型 2-机构 7-企业成员
  21978. in: query
  21979. name: usertype
  21980. type: integer
  21981. - description: 现货商品ID
  21982. in: query
  21983. name: deliverygoodsid
  21984. type: integer
  21985. - description: 出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  21986. in: query
  21987. name: inouttype
  21988. type: string
  21989. - description: 合同ID
  21990. in: query
  21991. name: spotcontractid
  21992. type: integer
  21993. - description: 品类ID
  21994. in: query
  21995. name: wrstandardid
  21996. type: integer
  21997. - description: 品牌ID
  21998. in: query
  21999. name: spotgoodsbrandid
  22000. type: integer
  22001. - description: 仓库ID
  22002. in: query
  22003. name: warehouseinfoid
  22004. type: integer
  22005. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  22006. in: query
  22007. name: applystatus
  22008. type: string
  22009. produces:
  22010. - application/json
  22011. responses:
  22012. "200":
  22013. description: OK
  22014. schema:
  22015. items:
  22016. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  22017. type: array
  22018. "500":
  22019. description: Internal Server Error
  22020. schema:
  22021. $ref: '#/definitions/app.Response'
  22022. security:
  22023. - ApiKeyAuth: []
  22024. summary: 查询库存申请(出入库记录|库存审核)
  22025. tags:
  22026. - 企业风险管理v3(app)
  22027. /Ermcp3/QueryAreaStockApplySum:
  22028. get:
  22029. parameters:
  22030. - description: 合同ID
  22031. in: query
  22032. name: spotcontractid
  22033. required: true
  22034. type: integer
  22035. produces:
  22036. - application/json
  22037. responses:
  22038. "200":
  22039. description: OK
  22040. schema:
  22041. items:
  22042. $ref: '#/definitions/models.Ermcp3AreaStockApplySum'
  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/QueryDGFactoryItem:
  22054. get:
  22055. parameters:
  22056. - description: 用户id
  22057. in: query
  22058. name: userid
  22059. type: integer
  22060. - description: 用户类型 2-机构 7-企业成员
  22061. in: query
  22062. name: usertype
  22063. type: integer
  22064. - description: 选择项ID(SEQ_DGFACTORYITEM)
  22065. in: query
  22066. name: dgfactoryitemid
  22067. type: integer
  22068. - description: 现货品种ID
  22069. in: query
  22070. name: deliverygoodsid
  22071. type: integer
  22072. - description: 要素项类型
  22073. in: query
  22074. name: dgfactoryitemtypeid
  22075. type: integer
  22076. - description: 顺序
  22077. in: query
  22078. name: orderindex
  22079. type: integer
  22080. produces:
  22081. - application/json
  22082. responses:
  22083. "200":
  22084. description: OK
  22085. schema:
  22086. items:
  22087. $ref: '#/definitions/models.ErmcpDGFactoryItem'
  22088. type: array
  22089. "500":
  22090. description: Internal Server Error
  22091. schema:
  22092. $ref: '#/definitions/app.Response'
  22093. security:
  22094. - ApiKeyAuth: []
  22095. summary: 查询品种要素定义项
  22096. tags:
  22097. - 企业风险管理v3(app)
  22098. /Ermcp3/QueryDeliveryGoods:
  22099. get:
  22100. parameters:
  22101. - description: 用户id
  22102. in: query
  22103. name: userid
  22104. required: true
  22105. type: integer
  22106. - description: 用户类型 2-机构 7-企业成员
  22107. in: query
  22108. name: usertype
  22109. type: integer
  22110. - description: 排除已配置的业务类型商品 1-套保 2-套利
  22111. in: query
  22112. name: excludecfg
  22113. type: integer
  22114. produces:
  22115. - application/json
  22116. responses:
  22117. "200":
  22118. description: OK
  22119. schema:
  22120. items:
  22121. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  22122. type: array
  22123. "500":
  22124. description: Internal Server Error
  22125. schema:
  22126. $ref: '#/definitions/app.Response'
  22127. security:
  22128. - ApiKeyAuth: []
  22129. summary: 查询现货商品
  22130. tags:
  22131. - 企业风险管理v3(app)
  22132. /Ermcp3/QueryDeliveryGoodsDetail:
  22133. get:
  22134. parameters:
  22135. - description: 用户id
  22136. in: query
  22137. name: userid
  22138. required: true
  22139. type: integer
  22140. - description: 用户类型 2-机构 7-企业成员
  22141. in: query
  22142. name: usertype
  22143. type: integer
  22144. - description: 现货商品id
  22145. in: query
  22146. name: deliverygoodsid
  22147. type: integer
  22148. - description: 过滤下级为空, 1-过滤. 比如 品种大豆的下级品类列表为空, 则大豆不显示; 比如品类的下级套保品列表为空, 则该品类不显示
  22149. in: query
  22150. name: filtersubempty
  22151. type: integer
  22152. produces:
  22153. - application/json
  22154. responses:
  22155. "200":
  22156. description: OK
  22157. schema:
  22158. items:
  22159. $ref: '#/definitions/models.XHDeliveryGoods'
  22160. type: array
  22161. "500":
  22162. description: Internal Server Error
  22163. schema:
  22164. $ref: '#/definitions/app.Response'
  22165. security:
  22166. - ApiKeyAuth: []
  22167. summary: 查询现货商品详情
  22168. tags:
  22169. - 企业风险管理v3(app)
  22170. /Ermcp3/QueryErmcp3ContractMiddleGoodsCfg:
  22171. get:
  22172. parameters:
  22173. - description: 合同id
  22174. in: query
  22175. name: spotcontractid
  22176. required: true
  22177. type: string
  22178. produces:
  22179. - application/json
  22180. responses:
  22181. "200":
  22182. description: OK
  22183. schema:
  22184. items:
  22185. $ref: '#/definitions/models.Ermcp3ContractMiddleGoodsCfg'
  22186. type: array
  22187. "500":
  22188. description: Internal Server Error
  22189. schema:
  22190. $ref: '#/definitions/app.Response'
  22191. security:
  22192. - ApiKeyAuth: []
  22193. summary: 查询现货合同期现配置信息
  22194. tags:
  22195. - 企业风险管理v3(app)
  22196. /Ermcp3/QueryExposureDetail:
  22197. get:
  22198. parameters:
  22199. - description: 用户id
  22200. in: query
  22201. name: userid
  22202. required: true
  22203. type: integer
  22204. - description: 用户类型 2-机构 7-企业成员
  22205. in: query
  22206. name: usertype
  22207. type: integer
  22208. - description: 套保商品
  22209. in: query
  22210. name: middlegoodsid
  22211. required: true
  22212. type: integer
  22213. produces:
  22214. - application/json
  22215. responses:
  22216. "200":
  22217. description: OK
  22218. schema:
  22219. items:
  22220. $ref: '#/definitions/models.Ermcp3ExposureDetail'
  22221. type: array
  22222. "500":
  22223. description: Internal Server Error
  22224. schema:
  22225. $ref: '#/definitions/app.Response'
  22226. security:
  22227. - ApiKeyAuth: []
  22228. summary: 查询敞口现货明细
  22229. tags:
  22230. - 企业风险管理v3(app)
  22231. /Ermcp3/QueryExposureSpot:
  22232. get:
  22233. parameters:
  22234. - description: 用户id
  22235. in: query
  22236. name: userid
  22237. required: true
  22238. type: integer
  22239. - description: 用户类型 2-机构 7-企业成员
  22240. in: query
  22241. name: usertype
  22242. type: integer
  22243. produces:
  22244. - application/json
  22245. responses:
  22246. "200":
  22247. description: OK
  22248. schema:
  22249. items:
  22250. $ref: '#/definitions/models.Ermcp3AreaSpot'
  22251. type: array
  22252. "500":
  22253. description: Internal Server Error
  22254. schema:
  22255. $ref: '#/definitions/app.Response'
  22256. security:
  22257. - ApiKeyAuth: []
  22258. summary: 查询敞口现货头寸(敞口/现货头寸)
  22259. tags:
  22260. - 企业风险管理v3(app)
  22261. /Ermcp3/QueryExposureSpotDetail:
  22262. get:
  22263. parameters:
  22264. - description: 用户id
  22265. in: query
  22266. name: userid
  22267. required: true
  22268. type: integer
  22269. - description: 用户类型 2-机构 7-企业成员
  22270. in: query
  22271. name: usertype
  22272. type: integer
  22273. - description: 现货商品ID
  22274. in: query
  22275. name: wrstandardid
  22276. required: true
  22277. type: integer
  22278. produces:
  22279. - application/json
  22280. responses:
  22281. "200":
  22282. description: OK
  22283. schema:
  22284. items:
  22285. $ref: '#/definitions/models.Ermcp3AreaSpotDetail'
  22286. type: array
  22287. "500":
  22288. description: Internal Server Error
  22289. schema:
  22290. $ref: '#/definitions/app.Response'
  22291. security:
  22292. - ApiKeyAuth: []
  22293. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  22294. tags:
  22295. - 企业风险管理v3(app)
  22296. /Ermcp3/QueryGoodsGroup:
  22297. get:
  22298. parameters:
  22299. - description: 用户id
  22300. in: query
  22301. name: userid
  22302. required: true
  22303. type: integer
  22304. - description: 用户类型 2-机构 7-企业成员
  22305. in: query
  22306. name: usertype
  22307. type: integer
  22308. - description: 排除套保品中已关联的商品组 1-排除
  22309. in: query
  22310. name: excludecfg
  22311. type: integer
  22312. produces:
  22313. - application/json
  22314. responses:
  22315. "200":
  22316. description: OK
  22317. schema:
  22318. items:
  22319. $ref: '#/definitions/models.Ermcp3GoodsGroup'
  22320. type: array
  22321. "500":
  22322. description: Internal Server Error
  22323. schema:
  22324. $ref: '#/definitions/app.Response'
  22325. security:
  22326. - ApiKeyAuth: []
  22327. summary: 查询期货商品组
  22328. tags:
  22329. - 企业风险管理v3(app)
  22330. /Ermcp3/QueryGoodsWrstandard:
  22331. get:
  22332. parameters:
  22333. - description: 用户id
  22334. in: query
  22335. name: userid
  22336. required: true
  22337. type: integer
  22338. - description: 用户类型 2-机构 7-企业成员
  22339. in: query
  22340. name: usertype
  22341. type: integer
  22342. - description: 现货商品id
  22343. in: query
  22344. name: deliverygoodsid
  22345. type: integer
  22346. produces:
  22347. - application/json
  22348. responses:
  22349. "200":
  22350. description: OK
  22351. schema:
  22352. items:
  22353. $ref: '#/definitions/models.Ermcp3Wrstandard'
  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/QueryGoodsbrand:
  22365. get:
  22366. parameters:
  22367. - description: 用户id
  22368. in: query
  22369. name: userid
  22370. required: true
  22371. type: integer
  22372. - description: 用户类型 2-机构 7-企业成员
  22373. in: query
  22374. name: usertype
  22375. type: integer
  22376. produces:
  22377. - application/json
  22378. responses:
  22379. "200":
  22380. description: OK
  22381. schema:
  22382. items:
  22383. $ref: '#/definitions/models.Ermcp3Brand'
  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. /Ermcp3/QueryHPMiddleGoods:
  22395. get:
  22396. parameters:
  22397. - description: 用户ID(填登录用户的userid)
  22398. in: query
  22399. name: userid
  22400. required: true
  22401. type: integer
  22402. - description: 买卖方向 0-买 1-卖
  22403. in: query
  22404. name: buyorsell
  22405. required: true
  22406. type: integer
  22407. - description: 商品组id
  22408. in: query
  22409. name: goodsgroupid
  22410. required: true
  22411. type: integer
  22412. - description: 套保计划编号(模糊匹配)
  22413. in: query
  22414. name: hedgeplanno
  22415. type: string
  22416. - description: 现货商品名称(模糊匹配)
  22417. in: query
  22418. name: wrstandardname
  22419. type: string
  22420. produces:
  22421. - application/json
  22422. responses:
  22423. "200":
  22424. description: OK
  22425. schema:
  22426. items:
  22427. $ref: '#/definitions/models.Ermcp3HPMiddleGoods'
  22428. type: array
  22429. "500":
  22430. description: Internal Server Error
  22431. schema:
  22432. $ref: '#/definitions/app.Response'
  22433. security:
  22434. - ApiKeyAuth: []
  22435. summary: 查询可关联套保计划
  22436. tags:
  22437. - 企业风险管理v3(app)
  22438. /Ermcp3/QueryHedgePlan:
  22439. get:
  22440. parameters:
  22441. - description: 用户ID
  22442. in: query
  22443. name: userid
  22444. required: true
  22445. type: integer
  22446. - description: 用户类型 2-机构 7-企业成员
  22447. in: query
  22448. name: usertype
  22449. type: integer
  22450. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  22451. in: query
  22452. name: hedgeplanstatus
  22453. required: true
  22454. type: string
  22455. produces:
  22456. - application/json
  22457. responses:
  22458. "200":
  22459. description: OK
  22460. schema:
  22461. items:
  22462. $ref: '#/definitions/models.Ermcp3HedgePlan'
  22463. type: array
  22464. "500":
  22465. description: Internal Server Error
  22466. schema:
  22467. $ref: '#/definitions/app.Response'
  22468. security:
  22469. - ApiKeyAuth: []
  22470. summary: 查询套保计划
  22471. tags:
  22472. - 企业风险管理v3(app)
  22473. /Ermcp3/QueryInnerTradeLink:
  22474. get:
  22475. description: 页面 app 现货->期现关联->外部成交单关联->点"解除关联"按钮->解除外部关联的页面信息
  22476. parameters:
  22477. - description: 外部成交单号
  22478. in: query
  22479. name: outtradeid
  22480. required: true
  22481. type: integer
  22482. produces:
  22483. - application/json
  22484. responses:
  22485. "200":
  22486. description: OK
  22487. schema:
  22488. items:
  22489. $ref: '#/definitions/models.Ermcp3InnerTradeLink'
  22490. type: array
  22491. "500":
  22492. description: Internal Server Error
  22493. schema:
  22494. $ref: '#/definitions/app.Response'
  22495. security:
  22496. - ApiKeyAuth: []
  22497. summary: 查询外部成交单关联的内部单信息(在解除外部关联页面使用)
  22498. tags:
  22499. - 企业风险管理v3(app)
  22500. /Ermcp3/QueryMiddleGoodsDetail:
  22501. get:
  22502. parameters:
  22503. - description: 用户id
  22504. in: query
  22505. name: userid
  22506. required: true
  22507. type: integer
  22508. - description: 用户类型 2-机构 7-企业成员
  22509. in: query
  22510. name: usertype
  22511. type: integer
  22512. - description: 套保品种id
  22513. in: query
  22514. name: middlegoodsid
  22515. type: integer
  22516. produces:
  22517. - application/json
  22518. responses:
  22519. "200":
  22520. description: OK
  22521. schema:
  22522. items:
  22523. $ref: '#/definitions/models.TBMiddleGoods'
  22524. type: array
  22525. "500":
  22526. description: Internal Server Error
  22527. schema:
  22528. $ref: '#/definitions/app.Response'
  22529. security:
  22530. - ApiKeyAuth: []
  22531. summary: 查询套保品种详情(套保品种/商品详情)
  22532. tags:
  22533. - 企业风险管理v3(app)
  22534. /Ermcp3/QueryOutTradeLink:
  22535. get:
  22536. description: 页面 app 现货->期现关联->外部成交单关联
  22537. parameters:
  22538. - description: 用户ID(填登录用户的userid)
  22539. in: query
  22540. name: userid
  22541. required: true
  22542. type: integer
  22543. - description: 外部订单号(模糊匹配)
  22544. in: query
  22545. name: outtradeid
  22546. type: string
  22547. - description: 合约名称/代码(模糊匹配)
  22548. in: query
  22549. name: goodsname
  22550. type: string
  22551. - description: 关联状态 0-未关联 1-已关联
  22552. in: query
  22553. name: hasinnerorder
  22554. type: integer
  22555. produces:
  22556. - application/json
  22557. responses:
  22558. "200":
  22559. description: OK
  22560. schema:
  22561. items:
  22562. $ref: '#/definitions/models.Ermcp3OutTradeLink'
  22563. type: array
  22564. "500":
  22565. description: Internal Server Error
  22566. schema:
  22567. $ref: '#/definitions/app.Response'
  22568. security:
  22569. - ApiKeyAuth: []
  22570. summary: 查询外部成交单关联
  22571. tags:
  22572. - 企业风险管理v3(app)
  22573. /Ermcp3/QueryPaAreaAuditCfg:
  22574. get:
  22575. parameters:
  22576. - description: 用户id
  22577. in: query
  22578. name: userid
  22579. required: true
  22580. type: integer
  22581. produces:
  22582. - application/json
  22583. responses:
  22584. "200":
  22585. description: OK
  22586. schema:
  22587. items:
  22588. $ref: '#/definitions/models.Ermcp3PaAreaAuditCfg'
  22589. type: array
  22590. "500":
  22591. description: Internal Server Error
  22592. schema:
  22593. $ref: '#/definitions/app.Response'
  22594. security:
  22595. - ApiKeyAuth: []
  22596. summary: 查询审核设置
  22597. tags:
  22598. - 企业风险管理v3(app)
  22599. /Ermcp3/QueryPaAreaSubject:
  22600. get:
  22601. parameters:
  22602. - description: 用户id
  22603. in: query
  22604. name: userid
  22605. required: true
  22606. type: integer
  22607. - description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  22608. in: query
  22609. name: subjectid
  22610. type: integer
  22611. - description: 主体类型 - 1:交易主体 2:业务部门
  22612. in: query
  22613. name: subjecttype
  22614. type: integer
  22615. - description: '主体状态 - 1:正常 2: 停用'
  22616. in: query
  22617. name: subjectstatus
  22618. type: integer
  22619. produces:
  22620. - application/json
  22621. responses:
  22622. "200":
  22623. description: OK
  22624. schema:
  22625. items:
  22626. $ref: '#/definitions/models.Ermcp3PaAreaSubject'
  22627. type: array
  22628. "500":
  22629. description: Internal Server Error
  22630. schema:
  22631. $ref: '#/definitions/app.Response'
  22632. security:
  22633. - ApiKeyAuth: []
  22634. summary: 查询交易主体
  22635. tags:
  22636. - 企业风险管理v3(app)
  22637. /Ermcp3/QueryPaTradeLink:
  22638. get:
  22639. description: 页面 app 现货->期现关联->期现单据关联
  22640. parameters:
  22641. - description: 用户ID
  22642. in: query
  22643. name: userid
  22644. required: true
  22645. type: integer
  22646. produces:
  22647. - application/json
  22648. responses:
  22649. "200":
  22650. description: OK
  22651. schema:
  22652. items:
  22653. $ref: '#/definitions/models.Ermcp3PaTradeLink'
  22654. type: array
  22655. "500":
  22656. description: Internal Server Error
  22657. schema:
  22658. $ref: '#/definitions/app.Response'
  22659. security:
  22660. - ApiKeyAuth: []
  22661. summary: 查询期现单据关联
  22662. tags:
  22663. - 企业风险管理v3(app)
  22664. /Ermcp3/QueryPaTradeLinkDetail:
  22665. get:
  22666. description: 页面 app 现货->期现关联->关联记录
  22667. parameters:
  22668. - description: 用户ID(填登录用户的userid)
  22669. in: query
  22670. name: userid
  22671. required: true
  22672. type: integer
  22673. - description: 关联状态 1:成功 2:失败 3:解绑
  22674. in: query
  22675. name: linkstatus
  22676. type: integer
  22677. - description: 期货订单号(模糊匹配)
  22678. in: query
  22679. name: tradeid
  22680. type: string
  22681. - description: 现货编号(模糊匹配)
  22682. in: query
  22683. name: contractno
  22684. type: string
  22685. - description: 期货账户(模糊匹配)
  22686. in: query
  22687. name: taname
  22688. type: string
  22689. produces:
  22690. - application/json
  22691. responses:
  22692. "200":
  22693. description: OK
  22694. schema:
  22695. items:
  22696. $ref: '#/definitions/models.Ermcp3TradeLinkDetail'
  22697. type: array
  22698. "500":
  22699. description: Internal Server Error
  22700. schema:
  22701. $ref: '#/definitions/app.Response'
  22702. security:
  22703. - ApiKeyAuth: []
  22704. summary: 查询期现关联记录
  22705. tags:
  22706. - 企业风险管理v3(app)
  22707. /Ermcp3/QueryParamChangeApp:
  22708. get:
  22709. description: |-
  22710. 原型页面:
  22711. 1.商品信息->商品参数修改流水-> 增值税税率 | 折算系数 | 成本权重; 流水页面查申请状态为“审核通过”的记录
  22712. 2.风管审核->套保比例审核 | 折算系数审核 | 增值税税率审核 | 成本权重审核
  22713. parameters:
  22714. - description: 用户ID
  22715. in: query
  22716. name: userid
  22717. required: true
  22718. type: integer
  22719. - description: 现货品种id
  22720. in: query
  22721. name: deliverygoodsid
  22722. type: integer
  22723. - description: 现货商品id
  22724. in: query
  22725. name: wrstandardid
  22726. type: integer
  22727. - description: 套保商品id
  22728. in: query
  22729. name: middlegoodsid
  22730. type: integer
  22731. - description: 操作类型 1:新增 2:修改
  22732. in: query
  22733. name: operatetype
  22734. type: integer
  22735. - description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  22736. in: query
  22737. name: paramchangetype
  22738. type: integer
  22739. - description: 申请状态(逗号隔开,如1,2,3) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  22740. in: query
  22741. name: ftstatus
  22742. type: string
  22743. produces:
  22744. - application/json
  22745. responses:
  22746. "200":
  22747. description: OK
  22748. schema:
  22749. items:
  22750. $ref: '#/definitions/models.Ermcp3ParamChangeApp'
  22751. type: array
  22752. "500":
  22753. description: Internal Server Error
  22754. schema:
  22755. $ref: '#/definitions/app.Response'
  22756. security:
  22757. - ApiKeyAuth: []
  22758. summary: 查询现货商品参数变更申请(流水)
  22759. tags:
  22760. - 企业风险管理v3(app)
  22761. /Ermcp3/QueryRootUserAccount:
  22762. get:
  22763. parameters:
  22764. - description: 用户ID
  22765. in: query
  22766. name: userid
  22767. required: true
  22768. type: integer
  22769. produces:
  22770. - application/json
  22771. responses:
  22772. "200":
  22773. description: OK
  22774. schema:
  22775. items:
  22776. $ref: '#/definitions/models.Ermcp3RootUserAccount'
  22777. type: array
  22778. "500":
  22779. description: Internal Server Error
  22780. schema:
  22781. $ref: '#/definitions/app.Response'
  22782. security:
  22783. - ApiKeyAuth: []
  22784. summary: 查询顶级用户信息
  22785. tags:
  22786. - 企业风险管理v3(app)
  22787. /Ermcp3/QuerySCMiddleGoods:
  22788. get:
  22789. description: |-
  22790. 页面 app 现货->期现关联->期现单据关联->点"关联"按钮->弹出界面 : 现货订单
  22791. 现货编号 即 合同编号
  22792. parameters:
  22793. - description: 用户ID(填登录用户的userid)
  22794. in: query
  22795. name: userid
  22796. required: true
  22797. type: integer
  22798. - description: 买卖方向 0-买 1-卖
  22799. in: query
  22800. name: buyorsell
  22801. required: true
  22802. type: integer
  22803. - description: 商品组id
  22804. in: query
  22805. name: goodsgroupid
  22806. required: true
  22807. type: integer
  22808. - description: 业务类型 1:套保 2:套利
  22809. in: query
  22810. name: biztype
  22811. type: integer
  22812. - description: 现货编号(模糊匹配)
  22813. in: query
  22814. name: contractno
  22815. type: string
  22816. - description: 对手方(模糊匹配)
  22817. in: query
  22818. name: customername
  22819. type: string
  22820. - description: 现货商品名称(模糊匹配)
  22821. in: query
  22822. name: wrstandardname
  22823. type: string
  22824. produces:
  22825. - application/json
  22826. responses:
  22827. "200":
  22828. description: OK
  22829. schema:
  22830. items:
  22831. $ref: '#/definitions/models.Ermcp3SCMiddleGoods'
  22832. type: array
  22833. "500":
  22834. description: Internal Server Error
  22835. schema:
  22836. $ref: '#/definitions/app.Response'
  22837. security:
  22838. - ApiKeyAuth: []
  22839. summary: 查询现货订单
  22840. tags:
  22841. - 企业风险管理v3(app)
  22842. /Ermcp3/QuerySpotContract:
  22843. get:
  22844. parameters:
  22845. - description: 用户id(当指定contractid, userid可不填)
  22846. in: query
  22847. name: userid
  22848. required: true
  22849. type: integer
  22850. - description: 用户类型 2-机构 7-企业成员
  22851. in: query
  22852. name: usertype
  22853. type: integer
  22854. - description: 合同类型 1-采购, -1-销售
  22855. in: query
  22856. name: contracttype
  22857. type: integer
  22858. - description: 查询类型(逗号隔开, 如1,2,3) 1-未提交 2-待审核 3-履约中 4-已完成
  22859. in: query
  22860. name: querytype
  22861. type: string
  22862. - description: 合同ID(SpotContractId)
  22863. in: query
  22864. name: contractid
  22865. type: string
  22866. - description: 合同编号(模糊匹配)
  22867. in: query
  22868. name: contractno
  22869. type: string
  22870. - description: 商品名称(模糊匹配)
  22871. in: query
  22872. name: wrstandardname
  22873. type: string
  22874. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中
  22875. 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  22876. in: query
  22877. name: status
  22878. type: string
  22879. - description: 是否只查今日的合同 1-查今日合同
  22880. in: query
  22881. name: istoday
  22882. type: integer
  22883. produces:
  22884. - application/json
  22885. responses:
  22886. "200":
  22887. description: OK
  22888. schema:
  22889. items:
  22890. $ref: '#/definitions/models.Ermcp3Contract'
  22891. type: array
  22892. "500":
  22893. description: Internal Server Error
  22894. schema:
  22895. $ref: '#/definitions/app.Response'
  22896. security:
  22897. - ApiKeyAuth: []
  22898. summary: 查询现货合同
  22899. tags:
  22900. - 企业风险管理v3(app)
  22901. /Ermcp3/QuerySpotContractBS:
  22902. get:
  22903. parameters:
  22904. - description: 用户id
  22905. in: query
  22906. name: userid
  22907. required: true
  22908. type: integer
  22909. - description: 用户类型 2-机构 7-企业成员
  22910. in: query
  22911. name: usertype
  22912. type: integer
  22913. - description: 合同类型 1-采购, -1-销售
  22914. in: query
  22915. name: contracttype
  22916. required: true
  22917. type: integer
  22918. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  22919. in: query
  22920. name: querytype
  22921. type: integer
  22922. - description: 合同ID(SpotContractId)
  22923. in: query
  22924. name: contractid
  22925. type: string
  22926. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中
  22927. 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  22928. in: query
  22929. name: status
  22930. type: string
  22931. - description: 是否只查今日的合同 1-查今日合同
  22932. in: query
  22933. name: istoday
  22934. type: integer
  22935. produces:
  22936. - application/json
  22937. responses:
  22938. "200":
  22939. description: OK
  22940. schema:
  22941. items:
  22942. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  22943. type: array
  22944. "500":
  22945. description: Internal Server Error
  22946. schema:
  22947. $ref: '#/definitions/app.Response'
  22948. security:
  22949. - ApiKeyAuth: []
  22950. summary: 查询合同(采购/销售)
  22951. tags:
  22952. - 企业风险管理v3(app)
  22953. /Ermcp3/QuerySpotGoodsPrice:
  22954. get:
  22955. parameters:
  22956. - description: 用户ID
  22957. in: query
  22958. name: userid
  22959. required: true
  22960. type: integer
  22961. produces:
  22962. - application/json
  22963. responses:
  22964. "200":
  22965. description: OK
  22966. schema:
  22967. items:
  22968. $ref: '#/definitions/models.Ermcp3SpotGoodsPrice'
  22969. type: array
  22970. "500":
  22971. description: Internal Server Error
  22972. schema:
  22973. $ref: '#/definitions/app.Response'
  22974. security:
  22975. - ApiKeyAuth: []
  22976. summary: 查询现货市价(现货市价)
  22977. tags:
  22978. - 企业风险管理v3(app)
  22979. /Ermcp3/QuerySpotGoodsPriceLog:
  22980. get:
  22981. parameters:
  22982. - description: 用户ID
  22983. in: query
  22984. name: userid
  22985. required: true
  22986. type: integer
  22987. - description: 现货商品ID
  22988. in: query
  22989. name: deliverygoodsid
  22990. required: true
  22991. type: integer
  22992. - description: 品牌ID
  22993. in: query
  22994. name: brandid
  22995. type: integer
  22996. - description: 品类ID
  22997. in: query
  22998. name: wrstandardid
  22999. type: integer
  23000. produces:
  23001. - application/json
  23002. responses:
  23003. "200":
  23004. description: OK
  23005. schema:
  23006. items:
  23007. $ref: '#/definitions/models.Ermcp3SpotGoodsPriceLog'
  23008. type: array
  23009. "500":
  23010. description: Internal Server Error
  23011. schema:
  23012. $ref: '#/definitions/app.Response'
  23013. security:
  23014. - ApiKeyAuth: []
  23015. summary: 查询现货市价详情(现货市价/详情)
  23016. tags:
  23017. - 企业风险管理v3(app)
  23018. /Ermcp3/QuerySubTaaccount:
  23019. get:
  23020. description: 页面 app 现货->期现关联->外部成交单关联->点"关联"按钮->选择期货子账户
  23021. parameters:
  23022. - description: 母账号id
  23023. in: query
  23024. name: parentaccountid
  23025. type: integer
  23026. - description: 母账号代码
  23027. in: query
  23028. name: parentaccountcode
  23029. type: string
  23030. produces:
  23031. - application/json
  23032. responses:
  23033. "200":
  23034. description: OK
  23035. schema:
  23036. items:
  23037. $ref: '#/definitions/models.Ermcp3SubTaaccount'
  23038. type: array
  23039. "500":
  23040. description: Internal Server Error
  23041. schema:
  23042. $ref: '#/definitions/app.Response'
  23043. security:
  23044. - ApiKeyAuth: []
  23045. summary: 查询期货子账户
  23046. tags:
  23047. - 企业风险管理v3(app)
  23048. /Ermcp8/QueryERMCP2HedgedItemSpotDetail:
  23049. get:
  23050. parameters:
  23051. - description: 套期项目ID
  23052. in: query
  23053. name: hedgeditemid
  23054. required: true
  23055. type: integer
  23056. produces:
  23057. - application/json
  23058. responses:
  23059. "200":
  23060. description: OK
  23061. schema:
  23062. items:
  23063. $ref: '#/definitions/models.Ermcp2hedgeditemspotDetail'
  23064. type: array
  23065. "500":
  23066. description: Internal Server Error
  23067. schema:
  23068. $ref: '#/definitions/app.Response'
  23069. security:
  23070. - ApiKeyAuth: []
  23071. summary: 现货成交明细查询
  23072. tags:
  23073. - 企业风险管理v8
  23074. /Ermcp8/QueryERMCP2HedgedItemspot:
  23075. get:
  23076. parameters:
  23077. - description: 套期项目ID
  23078. in: query
  23079. name: hedgeditemid
  23080. required: true
  23081. type: integer
  23082. produces:
  23083. - application/json
  23084. responses:
  23085. "200":
  23086. description: OK
  23087. schema:
  23088. items:
  23089. $ref: '#/definitions/models.Ermcp2hedgeditemspot'
  23090. type: array
  23091. "500":
  23092. description: Internal Server Error
  23093. schema:
  23094. $ref: '#/definitions/app.Response'
  23095. security:
  23096. - ApiKeyAuth: []
  23097. summary: 套期计划明细查询
  23098. tags:
  23099. - 企业风险管理v8
  23100. /Ermcp8/QueryERMCPJRLinkPos:
  23101. get:
  23102. parameters:
  23103. - description: 套期项目ID
  23104. in: query
  23105. name: hedgeditemid
  23106. required: true
  23107. type: integer
  23108. produces:
  23109. - application/json
  23110. responses:
  23111. "200":
  23112. description: OK
  23113. schema:
  23114. items:
  23115. $ref: '#/definitions/models.Ermcpjrlinkpos'
  23116. type: array
  23117. "500":
  23118. description: Internal Server Error
  23119. schema:
  23120. $ref: '#/definitions/app.Response'
  23121. security:
  23122. - ApiKeyAuth: []
  23123. summary: 期货持仓明细查询
  23124. tags:
  23125. - 企业风险管理v8
  23126. /Ermcp8/QueryERMCPPatradeLinkDetail:
  23127. get:
  23128. parameters:
  23129. - description: 套期项目ID
  23130. in: query
  23131. name: hedgeditemid
  23132. required: true
  23133. type: integer
  23134. produces:
  23135. - application/json
  23136. responses:
  23137. "200":
  23138. description: OK
  23139. schema:
  23140. items:
  23141. $ref: '#/definitions/models.Ermcppatradelinkdetail'
  23142. type: array
  23143. "500":
  23144. description: Internal Server Error
  23145. schema:
  23146. $ref: '#/definitions/app.Response'
  23147. security:
  23148. - ApiKeyAuth: []
  23149. summary: 期货成交单明细查询
  23150. tags:
  23151. - 企业风险管理v8
  23152. /Ermcp8/QueryErmcp2AreaExposure:
  23153. get:
  23154. parameters:
  23155. - description: 用户ID
  23156. in: query
  23157. name: userid
  23158. required: true
  23159. type: string
  23160. produces:
  23161. - application/json
  23162. responses:
  23163. "200":
  23164. description: OK
  23165. schema:
  23166. items:
  23167. $ref: '#/definitions/models.Ermcp2AreaExposure'
  23168. type: array
  23169. "500":
  23170. description: Internal Server Error
  23171. schema:
  23172. $ref: '#/definitions/app.Response'
  23173. security:
  23174. - ApiKeyAuth: []
  23175. summary: 企业敞口查询
  23176. tags:
  23177. - 企业风险管理v8
  23178. /Ermcp8/QueryErmcp2HedgedItem:
  23179. get:
  23180. description: 已完成项目查询 -> 项目状态 = 3:正常完结 or 5:异常完结
  23181. parameters:
  23182. - description: 用户ID
  23183. in: query
  23184. name: userid
  23185. required: true
  23186. type: string
  23187. - description: 套期类型 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  23188. in: query
  23189. name: hedgedtype
  23190. type: integer
  23191. - description: 项目状态 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  23192. in: query
  23193. name: hedgeditemstatus
  23194. type: integer
  23195. produces:
  23196. - application/json
  23197. responses:
  23198. "200":
  23199. description: OK
  23200. schema:
  23201. items:
  23202. $ref: '#/definitions/models.Ermcp2hedgeditem'
  23203. type: array
  23204. "500":
  23205. description: Internal Server Error
  23206. schema:
  23207. $ref: '#/definitions/app.Response'
  23208. security:
  23209. - ApiKeyAuth: []
  23210. summary: 查询被套期项目信息
  23211. tags:
  23212. - 企业风险管理v8
  23213. /Ermcp8/QueryErmcp2HedgedItemLink:
  23214. get:
  23215. parameters:
  23216. - description: 现货合同ID
  23217. in: query
  23218. name: spotcontractid
  23219. required: true
  23220. type: integer
  23221. produces:
  23222. - application/json
  23223. responses:
  23224. "200":
  23225. description: OK
  23226. schema:
  23227. items:
  23228. $ref: '#/definitions/models.Ermcp2hedgeditemlink'
  23229. type: array
  23230. "500":
  23231. description: Internal Server Error
  23232. schema:
  23233. $ref: '#/definitions/app.Response'
  23234. security:
  23235. - ApiKeyAuth: []
  23236. summary: 现货合同关联被套期项目查询
  23237. tags:
  23238. - 企业风险管理v8
  23239. /Ermcp8/QueryErmcp2HedgedItemsDetail:
  23240. get:
  23241. parameters:
  23242. - description: 用户ID
  23243. in: query
  23244. name: userid
  23245. required: true
  23246. type: integer
  23247. - description: 套保品种ID
  23248. in: query
  23249. name: middlegoodsid
  23250. required: true
  23251. type: integer
  23252. produces:
  23253. - application/json
  23254. responses:
  23255. "200":
  23256. description: OK
  23257. schema:
  23258. items:
  23259. $ref: '#/definitions/models.Ermcp2hedgeditemsDetail'
  23260. type: array
  23261. "500":
  23262. description: Internal Server Error
  23263. schema:
  23264. $ref: '#/definitions/app.Response'
  23265. security:
  23266. - ApiKeyAuth: []
  23267. summary: 敞口明细 - 计划变动明细
  23268. tags:
  23269. - 企业风险管理v8
  23270. /Ermcp8/QueryErmcp2StockSpotChangeLog:
  23271. get:
  23272. parameters:
  23273. - description: 用户ID
  23274. in: query
  23275. name: userid
  23276. required: true
  23277. type: integer
  23278. - description: 套保品种ID
  23279. in: query
  23280. name: middlegoodsid
  23281. required: true
  23282. type: integer
  23283. produces:
  23284. - application/json
  23285. responses:
  23286. "200":
  23287. description: OK
  23288. schema:
  23289. items:
  23290. $ref: '#/definitions/models.Ermcp2stockspotchangelog'
  23291. type: array
  23292. "500":
  23293. description: Internal Server Error
  23294. schema:
  23295. $ref: '#/definitions/app.Response'
  23296. security:
  23297. - ApiKeyAuth: []
  23298. summary: 敞口明细 - 现货变动明细查询
  23299. tags:
  23300. - 企业风险管理v8
  23301. /Ermcp8/QueryErmcp8EnableHedgeditem:
  23302. get:
  23303. parameters:
  23304. - description: 用户ID
  23305. in: query
  23306. name: userid
  23307. required: true
  23308. type: integer
  23309. - description: 现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  23310. in: query
  23311. name: spottype
  23312. required: true
  23313. type: integer
  23314. - description: 现货商品ID
  23315. in: query
  23316. name: wrstandardid
  23317. type: integer
  23318. produces:
  23319. - application/json
  23320. responses:
  23321. "200":
  23322. description: OK
  23323. schema:
  23324. items:
  23325. $ref: '#/definitions/models.Ermcp8EnableHedgeditem'
  23326. type: array
  23327. "500":
  23328. description: Internal Server Error
  23329. schema:
  23330. $ref: '#/definitions/app.Response'
  23331. security:
  23332. - ApiKeyAuth: []
  23333. summary: 可关联项目查询
  23334. tags:
  23335. - 企业风险管理v8
  23336. /Ermcp8/QueryErmcp8HedgeditemReport:
  23337. get:
  23338. parameters:
  23339. - description: 用户ID
  23340. in: query
  23341. name: userid
  23342. required: true
  23343. type: integer
  23344. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  23345. in: query
  23346. name: cycletype
  23347. type: integer
  23348. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  23349. 全(0)【原值】
  23350. in: query
  23351. name: cycletime
  23352. required: true
  23353. type: string
  23354. - description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  23355. in: query
  23356. name: hedgedtype
  23357. type: integer
  23358. - description: 项目状态 - 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  23359. in: query
  23360. name: hedgeditemstatus
  23361. type: integer
  23362. - description: 项目编号,模糊查询
  23363. in: query
  23364. name: hedgeditemnum
  23365. type: string
  23366. - description: 现货商品ID
  23367. in: query
  23368. name: wrstandardid
  23369. type: integer
  23370. produces:
  23371. - application/json
  23372. responses:
  23373. "200":
  23374. description: OK
  23375. schema:
  23376. items:
  23377. $ref: '#/definitions/models.Ermcp8HedgeditemReport'
  23378. type: array
  23379. "500":
  23380. description: Internal Server Error
  23381. schema:
  23382. $ref: '#/definitions/app.Response'
  23383. security:
  23384. - ApiKeyAuth: []
  23385. summary: 套期项目报表查询
  23386. tags:
  23387. - 企业风险管理v8
  23388. /Ermcp8/QueryErmcp8RunningHedgeditem:
  23389. get:
  23390. parameters:
  23391. - description: 用户ID
  23392. in: query
  23393. name: userid
  23394. required: true
  23395. type: string
  23396. produces:
  23397. - application/json
  23398. responses:
  23399. "200":
  23400. description: OK
  23401. schema:
  23402. items:
  23403. $ref: '#/definitions/models.Ermcp8RunningHedgeditem'
  23404. type: array
  23405. "500":
  23406. description: Internal Server Error
  23407. schema:
  23408. $ref: '#/definitions/app.Response'
  23409. security:
  23410. - ApiKeyAuth: []
  23411. summary: 查询执行中项目查询信息
  23412. tags:
  23413. - 企业风险管理v8
  23414. /Ermcp8/QueryInternalEnableTradeDetail:
  23415. get:
  23416. parameters:
  23417. - description: 企业ID
  23418. in: query
  23419. name: areauserid
  23420. required: true
  23421. type: integer
  23422. - description: 期货合约ID
  23423. in: query
  23424. name: goodsid
  23425. required: true
  23426. type: integer
  23427. - description: 交易用户ID
  23428. in: query
  23429. name: tradeuserid
  23430. required: true
  23431. type: integer
  23432. produces:
  23433. - application/json
  23434. responses:
  23435. "200":
  23436. description: OK
  23437. schema:
  23438. items:
  23439. $ref: '#/definitions/models.InternalEnableTradeDetail'
  23440. type: array
  23441. "500":
  23442. description: Internal Server Error
  23443. schema:
  23444. $ref: '#/definitions/app.Response'
  23445. security:
  23446. - ApiKeyAuth: []
  23447. summary: 内部成交单可关联项目查询
  23448. tags:
  23449. - 企业风险管理v8
  23450. /Ermcp8/QueryInternalUncorrelatedTradeDetail:
  23451. get:
  23452. parameters:
  23453. - description: 用户编号
  23454. in: query
  23455. name: userid
  23456. required: true
  23457. type: integer
  23458. - description: 起始日期(格式yyyymmdd)
  23459. in: query
  23460. name: begindate
  23461. type: string
  23462. - description: 终止日期(格式yyyymmdd)
  23463. in: query
  23464. name: enddate
  23465. type: string
  23466. - description: 合约代码
  23467. in: query
  23468. name: goodscode
  23469. type: string
  23470. - description: 合约名称
  23471. in: query
  23472. name: goodsname
  23473. type: string
  23474. - description: 成交单号
  23475. in: query
  23476. name: tradeid
  23477. type: integer
  23478. - description: 方向 - 0:买 1:卖
  23479. in: query
  23480. name: buyorsell
  23481. type: integer
  23482. - description: 套期主体
  23483. in: query
  23484. name: accountname
  23485. type: string
  23486. produces:
  23487. - application/json
  23488. responses:
  23489. "200":
  23490. description: OK
  23491. schema:
  23492. items:
  23493. $ref: '#/definitions/models.InternalUncorrelatedTradeDetail'
  23494. type: array
  23495. "500":
  23496. description: Internal Server Error
  23497. schema:
  23498. $ref: '#/definitions/app.Response'
  23499. security:
  23500. - ApiKeyAuth: []
  23501. summary: 内部未关联成交单查询
  23502. tags:
  23503. - 企业风险管理v8
  23504. /Ermcp8/QueryMarketCalendar:
  23505. get:
  23506. parameters:
  23507. - description: 市场ID
  23508. in: query
  23509. name: marketid
  23510. type: integer
  23511. produces:
  23512. - application/json
  23513. responses:
  23514. "200":
  23515. description: OK
  23516. schema:
  23517. items:
  23518. $ref: '#/definitions/models.Marketcalendar'
  23519. type: array
  23520. "500":
  23521. description: Internal Server Error
  23522. schema:
  23523. $ref: '#/definitions/app.Response'
  23524. security:
  23525. - ApiKeyAuth: []
  23526. summary: 市场节假日查询
  23527. tags:
  23528. - 企业风险管理v8
  23529. /Ermcp8/QueryPatradeLinkDetail:
  23530. get:
  23531. parameters:
  23532. - description: 用户ID
  23533. in: query
  23534. name: userid
  23535. required: true
  23536. type: integer
  23537. - description: 套保品种ID
  23538. in: query
  23539. name: middlegoodsid
  23540. required: true
  23541. type: integer
  23542. produces:
  23543. - application/json
  23544. responses:
  23545. "200":
  23546. description: OK
  23547. schema:
  23548. items:
  23549. $ref: '#/definitions/models.Patradelinkdetail'
  23550. type: array
  23551. "500":
  23552. description: Internal Server Error
  23553. schema:
  23554. $ref: '#/definitions/app.Response'
  23555. security:
  23556. - ApiKeyAuth: []
  23557. summary: 敞口明细 - 期货变动明细
  23558. tags:
  23559. - 企业风险管理v8
  23560. /Ermcp8/QueryUnLinkErmcpHedgePlan:
  23561. get:
  23562. parameters:
  23563. - description: 企业ID
  23564. in: query
  23565. name: areauserid
  23566. required: true
  23567. type: integer
  23568. - description: 计划类型 - 1:采购 -1:销售
  23569. in: query
  23570. name: contracttype
  23571. type: integer
  23572. - description: 计划编号,模糊查询
  23573. in: query
  23574. name: hedgeplanno
  23575. type: string
  23576. - description: 现货商品,模糊查询
  23577. in: query
  23578. name: wrstandardname
  23579. type: string
  23580. produces:
  23581. - application/json
  23582. responses:
  23583. "200":
  23584. description: OK
  23585. schema:
  23586. items:
  23587. $ref: '#/definitions/models.Unlinkermcphedgeplan'
  23588. type: array
  23589. "500":
  23590. description: Internal Server Error
  23591. schema:
  23592. $ref: '#/definitions/app.Response'
  23593. security:
  23594. - ApiKeyAuth: []
  23595. summary: 未关联购销计划
  23596. tags:
  23597. - 企业风险管理v8
  23598. /Ermcp8/QueryUnLinkSpotContract:
  23599. get:
  23600. parameters:
  23601. - description: 用户ID
  23602. in: query
  23603. name: userid
  23604. required: true
  23605. type: integer
  23606. - description: 定价类型 - 1:一口价 2:点价 3:暂定价
  23607. in: query
  23608. name: pricetype
  23609. type: integer
  23610. - description: 合同编号, 模拟查询
  23611. in: query
  23612. name: contractno
  23613. type: string
  23614. - description: 对手方, 模拟查询
  23615. in: query
  23616. name: customername
  23617. type: string
  23618. - description: 项合同类型 - 1:采购 -1:销售
  23619. in: query
  23620. name: contracttype
  23621. type: integer
  23622. produces:
  23623. - application/json
  23624. responses:
  23625. "200":
  23626. description: OK
  23627. schema:
  23628. items:
  23629. $ref: '#/definitions/models.ErmcpSpotContractModelEx'
  23630. type: array
  23631. "500":
  23632. description: Internal Server Error
  23633. schema:
  23634. $ref: '#/definitions/app.Response'
  23635. security:
  23636. - ApiKeyAuth: []
  23637. summary: 未关联合同查询
  23638. tags:
  23639. - 企业风险管理v8
  23640. /Erms2/QueryArbitrageStrategy:
  23641. get:
  23642. parameters:
  23643. - description: 账户ID
  23644. in: query
  23645. name: userid
  23646. required: true
  23647. type: integer
  23648. - description: 商品组ID(品种ID)
  23649. in: query
  23650. name: goodsgroupid
  23651. type: string
  23652. produces:
  23653. - application/json
  23654. responses:
  23655. "200":
  23656. description: OK
  23657. schema:
  23658. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  23659. "500":
  23660. description: Internal Server Error
  23661. schema:
  23662. $ref: '#/definitions/app.Response'
  23663. security:
  23664. - ApiKeyAuth: []
  23665. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  23666. tags:
  23667. - 风险管理
  23668. /Erms2/QueryInnerTradeDetail:
  23669. get:
  23670. parameters:
  23671. - description: 资金账户
  23672. in: query
  23673. name: accountid
  23674. required: true
  23675. type: integer
  23676. produces:
  23677. - application/json
  23678. responses:
  23679. "200":
  23680. description: OK
  23681. schema:
  23682. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  23683. "500":
  23684. description: Internal Server Error
  23685. schema:
  23686. $ref: '#/definitions/app.Response'
  23687. security:
  23688. - ApiKeyAuth: []
  23689. summary: 查询内部成交单信息
  23690. tags:
  23691. - 风险管理
  23692. /Erms2/QuerySpotContract:
  23693. get:
  23694. parameters:
  23695. - description: 策略申请ID
  23696. in: query
  23697. name: asapplyid
  23698. required: true
  23699. type: integer
  23700. - description: 现货合同ID
  23701. in: query
  23702. name: spotcontractid
  23703. type: integer
  23704. produces:
  23705. - application/json
  23706. responses:
  23707. "200":
  23708. description: OK
  23709. schema:
  23710. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  23711. "500":
  23712. description: Internal Server Error
  23713. schema:
  23714. $ref: '#/definitions/app.Response'
  23715. security:
  23716. - ApiKeyAuth: []
  23717. summary: 查询现货合同表信息(指定策略ID、未结束的)
  23718. tags:
  23719. - 风险管理
  23720. /Erms3/AddErms2ASApply:
  23721. post:
  23722. parameters:
  23723. - description: 申请参数
  23724. in: body
  23725. name: jsonBody
  23726. required: true
  23727. schema:
  23728. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  23729. produces:
  23730. - application/json
  23731. responses:
  23732. "200":
  23733. description: OK
  23734. schema:
  23735. $ref: '#/definitions/app.Response'
  23736. "500":
  23737. description: Internal Server Error
  23738. schema:
  23739. $ref: '#/definitions/app.Response'
  23740. security:
  23741. - ApiKeyAuth: []
  23742. summary: 新增期现套利业务申请
  23743. tags:
  23744. - 风险管理v3
  23745. /Erms3/AddErms2SpotTradeApply:
  23746. post:
  23747. parameters:
  23748. - description: 申请参数
  23749. in: body
  23750. name: jsonBody
  23751. required: true
  23752. schema:
  23753. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  23754. produces:
  23755. - application/json
  23756. responses:
  23757. "200":
  23758. description: OK
  23759. schema:
  23760. $ref: '#/definitions/app.Response'
  23761. "500":
  23762. description: Internal Server Error
  23763. schema:
  23764. $ref: '#/definitions/app.Response'
  23765. security:
  23766. - ApiKeyAuth: []
  23767. summary: 新增现货贸易业务申请
  23768. tags:
  23769. - 风险管理v3
  23770. /Erms3/AddSpotContractApply:
  23771. post:
  23772. parameters:
  23773. - description: 申请参数
  23774. in: body
  23775. name: jsonBody
  23776. required: true
  23777. schema:
  23778. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  23779. produces:
  23780. - application/json
  23781. responses:
  23782. "200":
  23783. description: OK
  23784. schema:
  23785. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  23786. "500":
  23787. description: Internal Server Error
  23788. schema:
  23789. $ref: '#/definitions/app.Response'
  23790. security:
  23791. - ApiKeyAuth: []
  23792. summary: 新增现货合同申请
  23793. tags:
  23794. - 风险管理v3
  23795. /Erms3/AddUserInfoApply:
  23796. post:
  23797. parameters:
  23798. - description: 用户信息
  23799. in: body
  23800. name: jsonBody
  23801. required: true
  23802. schema:
  23803. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  23804. produces:
  23805. - application/json
  23806. responses:
  23807. "200":
  23808. description: OK
  23809. schema:
  23810. $ref: '#/definitions/app.Response'
  23811. "500":
  23812. description: Internal Server Error
  23813. schema:
  23814. $ref: '#/definitions/app.Response'
  23815. security:
  23816. - ApiKeyAuth: []
  23817. summary: 新增客户申请
  23818. tags:
  23819. - 风险管理v3
  23820. /Erms3/DeleteUserInfoApply:
  23821. get:
  23822. description: 只可删除 UserState = 1 (未提交)状态的申请信息
  23823. parameters:
  23824. - description: 用户ID
  23825. in: query
  23826. name: userID
  23827. required: true
  23828. type: integer
  23829. produces:
  23830. - application/json
  23831. responses:
  23832. "200":
  23833. description: OK
  23834. schema:
  23835. $ref: '#/definitions/app.Response'
  23836. "500":
  23837. description: Internal Server Error
  23838. schema:
  23839. $ref: '#/definitions/app.Response'
  23840. security:
  23841. - ApiKeyAuth: []
  23842. summary: 删除客户申请
  23843. tags:
  23844. - 风险管理v3
  23845. /Erms3/ModifyUserInfoApply:
  23846. post:
  23847. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid":
  23848. int, "userstate": 2 }'
  23849. parameters:
  23850. - description: 用户信息
  23851. in: body
  23852. name: jsonBody
  23853. required: true
  23854. schema:
  23855. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  23856. produces:
  23857. - application/json
  23858. responses:
  23859. "200":
  23860. description: OK
  23861. schema:
  23862. $ref: '#/definitions/app.Response'
  23863. "500":
  23864. description: Internal Server Error
  23865. schema:
  23866. $ref: '#/definitions/app.Response'
  23867. security:
  23868. - ApiKeyAuth: []
  23869. summary: 修改客户申请
  23870. tags:
  23871. - 风险管理v3
  23872. /Erms3/QueryBusinessInfo:
  23873. get:
  23874. parameters:
  23875. - description: 资金账号ID列表,用逗号分隔
  23876. in: query
  23877. name: accountids
  23878. required: true
  23879. type: string
  23880. - description: 状态,0为未结束 1为已结束
  23881. in: query
  23882. name: status
  23883. required: true
  23884. type: integer
  23885. produces:
  23886. - application/json
  23887. responses:
  23888. "200":
  23889. description: OK
  23890. schema:
  23891. items:
  23892. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  23893. type: array
  23894. "500":
  23895. description: Internal Server Error
  23896. schema:
  23897. $ref: '#/definitions/app.Response'
  23898. security:
  23899. - ApiKeyAuth: []
  23900. summary: 查询业务表单数据
  23901. tags:
  23902. - 风险管理v3
  23903. /Erms3/QueryPendingAuditContract:
  23904. get:
  23905. parameters:
  23906. - description: 资金账号ID列表,逗号隔开
  23907. in: query
  23908. name: accountids
  23909. required: true
  23910. type: string
  23911. - description: 合同类型 1-采购 -1-销售
  23912. in: query
  23913. name: contracttype
  23914. required: true
  23915. type: integer
  23916. - description: 合同模式 1-普通 2-回购
  23917. in: query
  23918. name: contractmode
  23919. required: true
  23920. type: integer
  23921. produces:
  23922. - application/json
  23923. responses:
  23924. "200":
  23925. description: OK
  23926. schema:
  23927. items:
  23928. $ref: '#/definitions/erms3.QryAuditContractRsp'
  23929. type: array
  23930. "500":
  23931. description: Internal Server Error
  23932. schema:
  23933. $ref: '#/definitions/app.Response'
  23934. security:
  23935. - ApiKeyAuth: []
  23936. summary: 查询待审核合同
  23937. tags:
  23938. - 风险管理v3
  23939. /Erms3/QueryPendingBusiness:
  23940. get:
  23941. parameters:
  23942. - description: 资金账号ID列表,逗号隔开
  23943. in: query
  23944. name: accountids
  23945. required: true
  23946. type: string
  23947. produces:
  23948. - application/json
  23949. responses:
  23950. "200":
  23951. description: OK
  23952. schema:
  23953. items:
  23954. $ref: '#/definitions/erms3.QryPendingBizRsp'
  23955. type: array
  23956. "500":
  23957. description: Internal Server Error
  23958. schema:
  23959. $ref: '#/definitions/app.Response'
  23960. security:
  23961. - ApiKeyAuth: []
  23962. summary: 查询待审核基差贸易业务
  23963. tags:
  23964. - 风险管理v3
  23965. /Erms3/QuerySpotContractAppleForm:
  23966. get:
  23967. parameters:
  23968. - description: 登录账号
  23969. in: query
  23970. name: loginID
  23971. required: true
  23972. type: integer
  23973. produces:
  23974. - application/json
  23975. responses:
  23976. "200":
  23977. description: OK
  23978. schema:
  23979. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  23980. "500":
  23981. description: Internal Server Error
  23982. schema:
  23983. $ref: '#/definitions/app.Response'
  23984. security:
  23985. - ApiKeyAuth: []
  23986. summary: 查询合同申请表单数据
  23987. tags:
  23988. - 风险管理v3
  23989. /Erms3/QuerySpotContractDetail:
  23990. get:
  23991. parameters:
  23992. - description: 资金账号ID列表,用逗号分隔
  23993. in: query
  23994. name: accountids
  23995. required: true
  23996. type: string
  23997. - description: 合同类型,1为采购合同 -1为销售合同
  23998. in: query
  23999. name: contracttype
  24000. required: true
  24001. type: integer
  24002. - description: 合同模式,1为普通合同 2为回购销售合同
  24003. in: query
  24004. name: contractmode
  24005. required: true
  24006. type: integer
  24007. - description: 状态,0为履约中 1为已完成
  24008. in: query
  24009. name: status
  24010. required: true
  24011. type: integer
  24012. produces:
  24013. - application/json
  24014. responses:
  24015. "200":
  24016. description: OK
  24017. schema:
  24018. items:
  24019. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  24020. type: array
  24021. "500":
  24022. description: Internal Server Error
  24023. schema:
  24024. $ref: '#/definitions/app.Response'
  24025. security:
  24026. - ApiKeyAuth: []
  24027. summary: 查询合同详细信息
  24028. tags:
  24029. - 风险管理v3
  24030. /Erms3/QueryUserInfoApplies:
  24031. get:
  24032. parameters:
  24033. - description: 页码
  24034. in: query
  24035. name: page
  24036. type: integer
  24037. - description: 每页条数
  24038. in: query
  24039. name: pagesize
  24040. type: integer
  24041. - description: 客户名称,支持模糊查询
  24042. in: query
  24043. name: userName
  24044. type: string
  24045. produces:
  24046. - application/json
  24047. responses:
  24048. "200":
  24049. description: OK
  24050. schema:
  24051. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  24052. "500":
  24053. description: Internal Server Error
  24054. schema:
  24055. $ref: '#/definitions/app.Response'
  24056. security:
  24057. - ApiKeyAuth: []
  24058. summary: 客户申请信息查询
  24059. tags:
  24060. - 风险管理v3
  24061. /Erms3/QueryUserInfos:
  24062. get:
  24063. parameters:
  24064. - description: 页码
  24065. in: query
  24066. name: page
  24067. type: integer
  24068. - description: 每页条数
  24069. in: query
  24070. name: pagesize
  24071. type: integer
  24072. - description: 客户名称,支持模糊查询
  24073. in: query
  24074. name: userName
  24075. type: string
  24076. produces:
  24077. - application/json
  24078. responses:
  24079. "200":
  24080. description: OK
  24081. schema:
  24082. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  24083. "500":
  24084. description: Internal Server Error
  24085. schema:
  24086. $ref: '#/definitions/app.Response'
  24087. security:
  24088. - ApiKeyAuth: []
  24089. summary: 客户信息查询
  24090. tags:
  24091. - 风险管理v3
  24092. /Guangzuan/QueryBuyOrder:
  24093. get:
  24094. parameters:
  24095. - description: 页码
  24096. in: query
  24097. name: page
  24098. type: integer
  24099. - description: 每页条数
  24100. in: query
  24101. name: pagesize
  24102. type: integer
  24103. - description: 商品(查询字段-模糊查询)
  24104. in: query
  24105. name: zsallproperties
  24106. type: string
  24107. - description: 钻石分类枚举ID
  24108. in: query
  24109. name: zscategory
  24110. type: integer
  24111. - description: 委托单号
  24112. in: query
  24113. name: wrtradeorderid
  24114. type: integer
  24115. - description: 买方(查询字段-模糊查询)
  24116. in: query
  24117. name: buyusername
  24118. type: string
  24119. produces:
  24120. - application/json
  24121. responses:
  24122. "200":
  24123. description: OK
  24124. schema:
  24125. items:
  24126. $ref: '#/definitions/models.BuyOrder'
  24127. type: array
  24128. "500":
  24129. description: Internal Server Error
  24130. schema:
  24131. $ref: '#/definitions/app.Response'
  24132. security:
  24133. - ApiKeyAuth: []
  24134. - LoginID: []
  24135. - Group: []
  24136. summary: 查询求购大厅委托单
  24137. tags:
  24138. - 广钻
  24139. /Guangzuan/QueryDiamond:
  24140. post:
  24141. parameters:
  24142. - description: 钻石搜索入参
  24143. in: body
  24144. name: data
  24145. required: true
  24146. schema:
  24147. $ref: '#/definitions/models.SellOrderQueryReq'
  24148. produces:
  24149. - application/json
  24150. responses:
  24151. "200":
  24152. description: OK
  24153. schema:
  24154. items:
  24155. $ref: '#/definitions/models.SellOrder'
  24156. type: array
  24157. "500":
  24158. description: Internal Server Error
  24159. schema:
  24160. $ref: '#/definitions/app.Response'
  24161. security:
  24162. - ApiKeyAuth: []
  24163. - LoginID: []
  24164. - Group: []
  24165. summary: 钻石搜索
  24166. tags:
  24167. - 广钻
  24168. /Guangzuan/QueryMyBuyOrder:
  24169. get:
  24170. parameters:
  24171. - description: 用户ID
  24172. in: query
  24173. name: userid
  24174. required: true
  24175. type: integer
  24176. - description: 页码
  24177. in: query
  24178. name: page
  24179. type: integer
  24180. - description: 每页条数
  24181. in: query
  24182. name: pagesize
  24183. type: integer
  24184. - description: 商品(查询字段-模糊查询)
  24185. in: query
  24186. name: zsallproperties
  24187. type: string
  24188. - description: 钻石分类枚举ID
  24189. in: query
  24190. name: zscategory
  24191. type: integer
  24192. - description: 委托单号
  24193. in: query
  24194. name: wrtradeorderid
  24195. type: integer
  24196. - description: 是否历史查询
  24197. in: query
  24198. name: ishis
  24199. type: boolean
  24200. produces:
  24201. - application/json
  24202. responses:
  24203. "200":
  24204. description: OK
  24205. schema:
  24206. items:
  24207. $ref: '#/definitions/models.MyBuyOrder'
  24208. type: array
  24209. "500":
  24210. description: Internal Server Error
  24211. schema:
  24212. $ref: '#/definitions/app.Response'
  24213. security:
  24214. - ApiKeyAuth: []
  24215. - LoginID: []
  24216. - Group: []
  24217. summary: 查询我的求购
  24218. tags:
  24219. - 广钻
  24220. /Guangzuan/QueryMySellOrder:
  24221. get:
  24222. parameters:
  24223. - description: 用户ID
  24224. in: query
  24225. name: userid
  24226. required: true
  24227. type: integer
  24228. - description: 页码
  24229. in: query
  24230. name: page
  24231. type: integer
  24232. - description: 每页条数
  24233. in: query
  24234. name: pagesize
  24235. type: integer
  24236. - description: 商品(查询字段-模糊查询)
  24237. in: query
  24238. name: zsallproperties
  24239. type: string
  24240. - description: 钻石分类枚举ID
  24241. in: query
  24242. name: zscategory
  24243. type: integer
  24244. - description: 委托单号
  24245. in: query
  24246. name: wrtradeorderid
  24247. type: integer
  24248. - description: 是否历史查询
  24249. in: query
  24250. name: ishis
  24251. type: boolean
  24252. produces:
  24253. - application/json
  24254. responses:
  24255. "200":
  24256. description: OK
  24257. schema:
  24258. items:
  24259. $ref: '#/definitions/models.MySellOrder'
  24260. type: array
  24261. "500":
  24262. description: Internal Server Error
  24263. schema:
  24264. $ref: '#/definitions/app.Response'
  24265. security:
  24266. - ApiKeyAuth: []
  24267. - LoginID: []
  24268. - Group: []
  24269. summary: 查询我的出售
  24270. tags:
  24271. - 广钻
  24272. /Guangzuan/QueryMyWRPosition:
  24273. get:
  24274. parameters:
  24275. - description: 页码
  24276. in: query
  24277. name: page
  24278. type: integer
  24279. - description: 每页条数
  24280. in: query
  24281. name: pagesize
  24282. type: integer
  24283. - description: 登录用户ID
  24284. in: query
  24285. name: wruserid
  24286. required: true
  24287. type: integer
  24288. - description: 商品(查询字段-模糊查询)
  24289. in: query
  24290. name: zsallproperties
  24291. type: string
  24292. - description: 钻石分类枚举ID
  24293. in: query
  24294. name: zscategory
  24295. type: integer
  24296. - description: 仓库ID
  24297. in: query
  24298. name: warehouseid
  24299. type: integer
  24300. produces:
  24301. - application/json
  24302. responses:
  24303. "200":
  24304. description: OK
  24305. schema:
  24306. items:
  24307. $ref: '#/definitions/models.MyWRPosition'
  24308. type: array
  24309. "500":
  24310. description: Internal Server Error
  24311. schema:
  24312. $ref: '#/definitions/app.Response'
  24313. security:
  24314. - ApiKeyAuth: []
  24315. - LoginID: []
  24316. - Group: []
  24317. summary: 查询我的库存
  24318. tags:
  24319. - 广钻
  24320. /Guangzuan/QuerySellOrder:
  24321. get:
  24322. parameters:
  24323. - description: 页码
  24324. in: query
  24325. name: page
  24326. type: integer
  24327. - description: 每页条数
  24328. in: query
  24329. name: pagesize
  24330. type: integer
  24331. - description: 商品(查询字段-模糊查询)
  24332. in: query
  24333. name: zsallproperties
  24334. type: string
  24335. - description: 钻石分类枚举ID
  24336. in: query
  24337. name: zscategory
  24338. type: integer
  24339. - description: 委托单号
  24340. in: query
  24341. name: wrtradeorderid
  24342. type: integer
  24343. - description: 卖方(查询字段-模糊查询)
  24344. in: query
  24345. name: buyusername
  24346. type: string
  24347. produces:
  24348. - application/json
  24349. responses:
  24350. "200":
  24351. description: OK
  24352. schema:
  24353. items:
  24354. $ref: '#/definitions/models.SellOrder'
  24355. type: array
  24356. "500":
  24357. description: Internal Server Error
  24358. schema:
  24359. $ref: '#/definitions/app.Response'
  24360. security:
  24361. - ApiKeyAuth: []
  24362. - LoginID: []
  24363. - Group: []
  24364. summary: 查询出售大厅委托单
  24365. tags:
  24366. - 广钻
  24367. /Guangzuan/QueryWarehouseInfo:
  24368. get:
  24369. parameters:
  24370. - description: 页码
  24371. in: query
  24372. name: page
  24373. type: integer
  24374. - description: 每页条数
  24375. in: query
  24376. name: pagesize
  24377. type: integer
  24378. - description: 用户ID
  24379. in: query
  24380. name: userid
  24381. required: true
  24382. type: integer
  24383. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  24384. in: query
  24385. name: status
  24386. type: string
  24387. - description: 是返回交易所仓库
  24388. in: query
  24389. name: isincludeexchange
  24390. type: boolean
  24391. produces:
  24392. - application/json
  24393. responses:
  24394. "200":
  24395. description: OK
  24396. schema:
  24397. items:
  24398. $ref: '#/definitions/models.GZWarehouseinfo'
  24399. type: array
  24400. "500":
  24401. description: Internal Server Error
  24402. schema:
  24403. $ref: '#/definitions/app.Response'
  24404. security:
  24405. - ApiKeyAuth: []
  24406. - LoginID: []
  24407. - Group: []
  24408. summary: 查询仓库信息
  24409. tags:
  24410. - 广钻
  24411. /Market/GetAllExExchanges:
  24412. get:
  24413. produces:
  24414. - application/json
  24415. responses:
  24416. "200":
  24417. description: OK
  24418. schema:
  24419. $ref: '#/definitions/models.Goods'
  24420. "500":
  24421. description: Internal Server Error
  24422. schema:
  24423. $ref: '#/definitions/app.Response'
  24424. security:
  24425. - ApiKeyAuth: []
  24426. summary: 获取所有外部交易所信息
  24427. tags:
  24428. - 通用市场
  24429. /Market/QueryGoodsesByLoginID:
  24430. get:
  24431. parameters:
  24432. - description: 登录账号
  24433. in: query
  24434. name: loginID
  24435. required: true
  24436. type: integer
  24437. - description: 市场ID列表,格式:1,2,3
  24438. in: query
  24439. name: marketIDs
  24440. type: string
  24441. produces:
  24442. - application/json
  24443. responses:
  24444. "200":
  24445. description: OK
  24446. schema:
  24447. $ref: '#/definitions/models.Goods'
  24448. "500":
  24449. description: Internal Server Error
  24450. schema:
  24451. $ref: '#/definitions/app.Response'
  24452. security:
  24453. - ApiKeyAuth: []
  24454. summary: 获取登录账号有权限的商品信息
  24455. tags:
  24456. - 通用市场
  24457. /Market/QueryMarketRun:
  24458. get:
  24459. parameters:
  24460. - description: 市场ID,不传返回所有
  24461. in: query
  24462. name: marketID
  24463. type: integer
  24464. produces:
  24465. - application/json
  24466. responses:
  24467. "200":
  24468. description: OK
  24469. schema:
  24470. $ref: '#/definitions/models.Marketrun'
  24471. "500":
  24472. description: Internal Server Error
  24473. schema:
  24474. $ref: '#/definitions/app.Response'
  24475. security:
  24476. - ApiKeyAuth: []
  24477. summary: 查询市场运行信息
  24478. tags:
  24479. - 通用市场
  24480. /Market/QueryMarketsByLoginID:
  24481. get:
  24482. parameters:
  24483. - description: 登录账号
  24484. in: query
  24485. name: loginID
  24486. required: true
  24487. type: integer
  24488. produces:
  24489. - application/json
  24490. responses:
  24491. "200":
  24492. description: OK
  24493. schema:
  24494. $ref: '#/definitions/models.Market'
  24495. "500":
  24496. description: Internal Server Error
  24497. schema:
  24498. $ref: '#/definitions/app.Response'
  24499. security:
  24500. - ApiKeyAuth: []
  24501. summary: 获取登录账号有权限的市场信息
  24502. tags:
  24503. - 通用市场
  24504. /Order/QueryHisTradeDetail:
  24505. get:
  24506. parameters:
  24507. - description: 资金账户 - 格式:1,2,3
  24508. in: query
  24509. name: accountID
  24510. required: true
  24511. type: string
  24512. - description: 成交单号
  24513. in: query
  24514. name: tradeID
  24515. type: integer
  24516. - description: 委托单号
  24517. in: query
  24518. name: orderID
  24519. type: integer
  24520. - description: 商品ID
  24521. in: query
  24522. name: goodsID
  24523. type: integer
  24524. - description: 交易模式 - 格式:1,2,3
  24525. in: query
  24526. name: tradeMode
  24527. type: string
  24528. - description: 委托单据类型
  24529. in: query
  24530. name: buildType
  24531. type: integer
  24532. - description: 成交类别 - 格式:1,2,3
  24533. in: query
  24534. name: tradeType
  24535. type: string
  24536. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  24537. in: query
  24538. name: startDate
  24539. type: string
  24540. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  24541. in: query
  24542. name: endDate
  24543. type: string
  24544. produces:
  24545. - application/json
  24546. responses:
  24547. "200":
  24548. description: OK
  24549. schema:
  24550. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  24551. "500":
  24552. description: Internal Server Error
  24553. schema:
  24554. $ref: '#/definitions/app.Response'
  24555. security:
  24556. - ApiKeyAuth: []
  24557. summary: 历史成交单查询(合约市场)
  24558. tags:
  24559. - 通用单据
  24560. /Order/QueryHisTradeOrderDetail:
  24561. get:
  24562. parameters:
  24563. - description: 资金账户 - 格式:1,2,3
  24564. in: query
  24565. name: accountID
  24566. required: true
  24567. type: string
  24568. - description: 交易模式 - 格式:1,2,3
  24569. in: query
  24570. name: tradeMode
  24571. type: string
  24572. - description: 委托状态 - 格式:1,2,3
  24573. in: query
  24574. name: orderStatus
  24575. type: string
  24576. - description: 委托单号
  24577. in: query
  24578. name: orderID
  24579. type: integer
  24580. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  24581. in: query
  24582. name: startDate
  24583. type: string
  24584. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  24585. in: query
  24586. name: endDate
  24587. type: string
  24588. produces:
  24589. - application/json
  24590. responses:
  24591. "200":
  24592. description: OK
  24593. schema:
  24594. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  24595. "500":
  24596. description: Internal Server Error
  24597. schema:
  24598. $ref: '#/definitions/app.Response'
  24599. security:
  24600. - ApiKeyAuth: []
  24601. summary: 历史委托单查询请求(合约市场)
  24602. tags:
  24603. - 通用单据
  24604. /Order/QueryTradeDetail:
  24605. get:
  24606. parameters:
  24607. - description: 资金账户 - 格式:1,2,3
  24608. in: query
  24609. name: accountID
  24610. required: true
  24611. type: string
  24612. - description: 成交单号
  24613. in: query
  24614. name: tradeID
  24615. type: integer
  24616. - description: 委托单号
  24617. in: query
  24618. name: orderID
  24619. type: integer
  24620. - description: 交易模式 - 格式:1,2,3
  24621. in: query
  24622. name: tradeMode
  24623. type: string
  24624. - description: 委托单据类型
  24625. in: query
  24626. name: buildType
  24627. type: integer
  24628. - description: 成交类别 - 格式:1,2,3
  24629. in: query
  24630. name: tradeType
  24631. type: string
  24632. - description: 商品ID
  24633. in: query
  24634. name: goodsID
  24635. type: integer
  24636. produces:
  24637. - application/json
  24638. responses:
  24639. "200":
  24640. description: OK
  24641. schema:
  24642. $ref: '#/definitions/order.QueryTradeDetailRsp'
  24643. "500":
  24644. description: Internal Server Error
  24645. schema:
  24646. $ref: '#/definitions/app.Response'
  24647. security:
  24648. - ApiKeyAuth: []
  24649. summary: 成交单查询(合约市场)
  24650. tags:
  24651. - 通用单据
  24652. /Order/QueryTradeHolderDetail:
  24653. get:
  24654. parameters:
  24655. - description: 用户id
  24656. in: query
  24657. name: userid
  24658. type: integer
  24659. - description: 资金账号, 格式 1,2,3
  24660. in: query
  24661. name: accids
  24662. type: string
  24663. - description: 交易模式, 格式 1,2,3
  24664. in: query
  24665. name: trademodes
  24666. type: string
  24667. - description: 市场id, 格式 1,2,3
  24668. in: query
  24669. name: marketids
  24670. type: string
  24671. - description: 商品id
  24672. in: query
  24673. name: goodsid
  24674. type: integer
  24675. - description: 买卖方向 0-买 1-卖
  24676. in: query
  24677. name: buyorsell
  24678. type: integer
  24679. produces:
  24680. - application/json
  24681. responses:
  24682. "200":
  24683. description: OK
  24684. schema:
  24685. items:
  24686. $ref: '#/definitions/models.TradeHolderDetail'
  24687. type: array
  24688. "500":
  24689. description: Internal Server Error
  24690. schema:
  24691. $ref: '#/definitions/app.Response'
  24692. security:
  24693. - ApiKeyAuth: []
  24694. summary: 查询持仓明细
  24695. tags:
  24696. - 通用单据
  24697. /Order/QueryTradeOrderDetail:
  24698. get:
  24699. parameters:
  24700. - description: 资金账户 - 格式:1,2,3
  24701. in: query
  24702. name: accountID
  24703. required: true
  24704. type: string
  24705. - description: 交易模式 - 格式:1,2,3
  24706. in: query
  24707. name: tradeMode
  24708. type: string
  24709. - description: 委托状态 - 格式:1,2,3
  24710. in: query
  24711. name: orderStatus
  24712. type: string
  24713. - description: 委托单号
  24714. in: query
  24715. name: orderID
  24716. type: integer
  24717. produces:
  24718. - application/json
  24719. responses:
  24720. "200":
  24721. description: OK
  24722. schema:
  24723. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  24724. "500":
  24725. description: Internal Server Error
  24726. schema:
  24727. $ref: '#/definitions/app.Response'
  24728. security:
  24729. - ApiKeyAuth: []
  24730. summary: 委托单查询请求(合约市场)
  24731. tags:
  24732. - 通用单据
  24733. /Order/QueryTradePosition:
  24734. get:
  24735. parameters:
  24736. - description: 资金账户 - 格式:1,2,3
  24737. in: query
  24738. name: accountID
  24739. required: true
  24740. type: string
  24741. - description: 交易模式 - 格式:1,2,3
  24742. in: query
  24743. name: tradeMode
  24744. type: string
  24745. produces:
  24746. - application/json
  24747. responses:
  24748. "200":
  24749. description: OK
  24750. schema:
  24751. $ref: '#/definitions/order.QueryTradePositionRsp'
  24752. "500":
  24753. description: Internal Server Error
  24754. schema:
  24755. $ref: '#/definitions/app.Response'
  24756. security:
  24757. - ApiKeyAuth: []
  24758. summary: 持仓汇总查询(合约市场)
  24759. tags:
  24760. - 通用单据
  24761. /QhjMgr/QueryAccountInOutApply:
  24762. get:
  24763. parameters:
  24764. - description: 查询类型 1-提现(出金) 2-充值(出金)
  24765. in: query
  24766. name: querytype
  24767. required: true
  24768. type: integer
  24769. - description: 状态 1-待审核 2-审核通过 3-审核拒绝
  24770. in: query
  24771. name: applystatus
  24772. type: integer
  24773. - description: 申请起始日期(格式yyyymmdd)
  24774. in: query
  24775. name: begindate
  24776. type: string
  24777. - description: 申请截止日期(格式yyyymmdd)
  24778. in: query
  24779. name: enddate
  24780. type: string
  24781. - description: 模糊搜索名称
  24782. in: query
  24783. name: likename
  24784. type: string
  24785. produces:
  24786. - application/json
  24787. responses:
  24788. "200":
  24789. description: OK
  24790. schema:
  24791. items:
  24792. $ref: '#/definitions/models.QhjMgrAccountOutInApply'
  24793. type: array
  24794. "500":
  24795. description: Internal Server Error
  24796. schema:
  24797. $ref: '#/definitions/app.Response'
  24798. security:
  24799. - ApiKeyAuth: []
  24800. summary: 查询充值提现
  24801. tags:
  24802. - 大连千海金(PCWeb)
  24803. /QhjMgr/QueryBrokerApply:
  24804. get:
  24805. parameters:
  24806. - description: 所属机构ID
  24807. in: query
  24808. name: userid
  24809. type: integer
  24810. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  24811. in: query
  24812. name: filterstatus
  24813. type: string
  24814. - description: 名称(模糊匹配)
  24815. in: query
  24816. name: filtername
  24817. type: string
  24818. - description: 是否包含子级 1-包含
  24819. in: query
  24820. name: includesub
  24821. type: integer
  24822. produces:
  24823. - application/json
  24824. responses:
  24825. "200":
  24826. description: OK
  24827. schema:
  24828. items:
  24829. $ref: '#/definitions/models.QhjMgrBrokerApply'
  24830. type: array
  24831. "500":
  24832. description: Internal Server Error
  24833. schema:
  24834. $ref: '#/definitions/app.Response'
  24835. security:
  24836. - ApiKeyAuth: []
  24837. summary: 查询经纪人申请
  24838. tags:
  24839. - 大连千海金(PCWeb)
  24840. /QhjMgr/QueryBrokerRewardReport:
  24841. get:
  24842. parameters:
  24843. - description: 所属机构ID
  24844. in: query
  24845. name: userid
  24846. required: true
  24847. type: integer
  24848. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  24849. in: query
  24850. name: cycletype
  24851. required: true
  24852. type: integer
  24853. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  24854. in: query
  24855. name: cycletime
  24856. required: true
  24857. type: string
  24858. - description: 名称(模糊匹配)
  24859. in: query
  24860. name: filtername
  24861. type: string
  24862. - description: 是否包含子级 1-包含
  24863. in: query
  24864. name: includesub
  24865. type: integer
  24866. produces:
  24867. - application/json
  24868. responses:
  24869. "200":
  24870. description: OK
  24871. schema:
  24872. items:
  24873. $ref: '#/definitions/models.QhjMgrBrokerRewardReport'
  24874. type: array
  24875. "500":
  24876. description: Internal Server Error
  24877. schema:
  24878. $ref: '#/definitions/app.Response'
  24879. security:
  24880. - ApiKeyAuth: []
  24881. summary: 查询经纪人奖励报表(废弃)
  24882. tags:
  24883. - 大连千海金(PCWeb)
  24884. /QhjMgr/QueryContract:
  24885. get:
  24886. parameters:
  24887. - description: 用户ID
  24888. in: query
  24889. name: userid
  24890. type: integer
  24891. - description: 商品id
  24892. in: query
  24893. name: goodsid
  24894. type: integer
  24895. - description: 名称(模糊搜索账户)
  24896. in: query
  24897. name: filtername
  24898. type: string
  24899. - description: 风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款
  24900. in: query
  24901. name: risklevel
  24902. type: string
  24903. - description: 开始交易日(yyyymmdd)
  24904. in: query
  24905. name: begindate
  24906. type: string
  24907. - description: 结束交易日(yyyymmdd)
  24908. in: query
  24909. name: enddate
  24910. type: string
  24911. produces:
  24912. - application/json
  24913. responses:
  24914. "200":
  24915. description: OK
  24916. schema:
  24917. items:
  24918. $ref: '#/definitions/models.QhjMgrContract'
  24919. type: array
  24920. "500":
  24921. description: Internal Server Error
  24922. schema:
  24923. $ref: '#/definitions/app.Response'
  24924. security:
  24925. - ApiKeyAuth: []
  24926. summary: 查询融资信息(合同)
  24927. tags:
  24928. - 大连千海金(PCWeb)
  24929. /QhjMgr/QueryCustomerInfo:
  24930. get:
  24931. parameters:
  24932. - description: 用户ID
  24933. in: query
  24934. name: userid
  24935. required: true
  24936. type: integer
  24937. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  24938. in: query
  24939. name: querytype
  24940. required: true
  24941. type: integer
  24942. - description: 客户类型 1-个人 2-企业
  24943. in: query
  24944. name: userinfotype
  24945. type: integer
  24946. - description: 客户名称(模糊匹配)
  24947. in: query
  24948. name: customername
  24949. type: string
  24950. - description: 昵称(模糊匹配)
  24951. in: query
  24952. name: nickname
  24953. type: string
  24954. - description: 所属客户经理(模糊匹配)
  24955. in: query
  24956. name: brokername
  24957. type: string
  24958. - description: 生日查询(格式 mmdd 或 mm) 只填2位表示月份匹配(mm, 如05 - 5月), 4位表示查月日匹配(mmdd,
  24959. 如0503 -5月3日)
  24960. in: query
  24961. name: birthday
  24962. type: string
  24963. - description: 是否包含子级 1-包含
  24964. in: query
  24965. name: includesub
  24966. type: integer
  24967. produces:
  24968. - application/json
  24969. responses:
  24970. "200":
  24971. description: OK
  24972. schema:
  24973. items:
  24974. $ref: '#/definitions/models.QhjMgrCustomer'
  24975. type: array
  24976. "500":
  24977. description: Internal Server Error
  24978. schema:
  24979. $ref: '#/definitions/app.Response'
  24980. security:
  24981. - ApiKeyAuth: []
  24982. summary: 查询客户资料
  24983. tags:
  24984. - 大连千海金(PCWeb)
  24985. /QhjMgr/QueryPickGoods:
  24986. get:
  24987. parameters:
  24988. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  24989. in: query
  24990. name: status
  24991. type: string
  24992. produces:
  24993. - application/json
  24994. responses:
  24995. "200":
  24996. description: OK
  24997. schema:
  24998. items:
  24999. $ref: '#/definitions/models.QhjMgrPickGoods'
  25000. type: array
  25001. "500":
  25002. description: Internal Server Error
  25003. schema:
  25004. $ref: '#/definitions/app.Response'
  25005. security:
  25006. - ApiKeyAuth: []
  25007. summary: 查询提货商品
  25008. tags:
  25009. - 大连千海金(PCWeb)
  25010. /QhjMgr/QuerySubArea:
  25011. get:
  25012. parameters:
  25013. - description: 用户ID
  25014. in: query
  25015. name: userid
  25016. required: true
  25017. type: integer
  25018. produces:
  25019. - application/json
  25020. responses:
  25021. "200":
  25022. description: OK
  25023. schema:
  25024. items:
  25025. $ref: '#/definitions/models.QhjMgrSubArea'
  25026. type: array
  25027. "500":
  25028. description: Internal Server Error
  25029. schema:
  25030. $ref: '#/definitions/app.Response'
  25031. security:
  25032. - ApiKeyAuth: []
  25033. summary: 查询子机构列表
  25034. tags:
  25035. - 大连千海金(PCWeb)
  25036. /QhjMgr/QueryTradeDetail:
  25037. get:
  25038. parameters:
  25039. - description: 用户ID
  25040. in: query
  25041. name: userid
  25042. required: true
  25043. type: integer
  25044. - description: 用户类型 1-个人 2-企业
  25045. in: query
  25046. name: userinfotype
  25047. type: integer
  25048. - description: 交易模式
  25049. in: query
  25050. name: trademode
  25051. type: integer
  25052. - description: 商品id
  25053. in: query
  25054. name: goodsid
  25055. type: integer
  25056. - description: 名称(模糊搜索账户)
  25057. in: query
  25058. name: filtername
  25059. type: string
  25060. - description: 开始交易日(yyyymmdd)
  25061. in: query
  25062. name: begindate
  25063. type: string
  25064. - description: 结束交易日(yyyymmdd)
  25065. in: query
  25066. name: enddate
  25067. type: string
  25068. - description: 是否包含子级 1-包含
  25069. in: query
  25070. name: includesub
  25071. type: integer
  25072. produces:
  25073. - application/json
  25074. responses:
  25075. "200":
  25076. description: OK
  25077. schema:
  25078. items:
  25079. $ref: '#/definitions/models.QhjMgrTradeDetailRsp'
  25080. type: array
  25081. "500":
  25082. description: Internal Server Error
  25083. schema:
  25084. $ref: '#/definitions/app.Response'
  25085. security:
  25086. - ApiKeyAuth: []
  25087. summary: 查询成交明细
  25088. tags:
  25089. - 大连千海金(PCWeb)
  25090. /QhjMgr/QueryTradeOrderDetail:
  25091. get:
  25092. parameters:
  25093. - description: 用户ID
  25094. in: query
  25095. name: userid
  25096. required: true
  25097. type: integer
  25098. - description: 用户类型 1-个人 2-企业
  25099. in: query
  25100. name: userinfotype
  25101. type: integer
  25102. - description: 交易模式
  25103. in: query
  25104. name: trademode
  25105. type: integer
  25106. - description: 商品id
  25107. in: query
  25108. name: goodsid
  25109. type: integer
  25110. - description: 名称(模糊搜索账户)
  25111. in: query
  25112. name: filtername
  25113. type: string
  25114. - description: 开始交易日(yyyymmdd)
  25115. in: query
  25116. name: begindate
  25117. type: string
  25118. - description: 结束交易日(yyyymmdd)
  25119. in: query
  25120. name: enddate
  25121. type: string
  25122. - description: 是否包含子级 1-包含
  25123. in: query
  25124. name: includesub
  25125. type: integer
  25126. produces:
  25127. - application/json
  25128. responses:
  25129. "200":
  25130. description: OK
  25131. schema:
  25132. items:
  25133. $ref: '#/definitions/models.QhjMgrTradeOrderDetailRsp'
  25134. type: array
  25135. "500":
  25136. description: Internal Server Error
  25137. schema:
  25138. $ref: '#/definitions/app.Response'
  25139. security:
  25140. - ApiKeyAuth: []
  25141. summary: 查询委托明细
  25142. tags:
  25143. - 大连千海金(PCWeb)
  25144. /QhjMgr/QueryTradePayOrder:
  25145. get:
  25146. parameters:
  25147. - description: 用户ID
  25148. in: query
  25149. name: userid
  25150. required: true
  25151. type: integer
  25152. - description: 付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  25153. in: query
  25154. name: payflag
  25155. type: string
  25156. - description: 用户类型 1-个人 2-企业
  25157. in: query
  25158. name: userinfotype
  25159. type: integer
  25160. - description: 交易模式
  25161. in: query
  25162. name: trademode
  25163. type: integer
  25164. - description: 商品id
  25165. in: query
  25166. name: goodsid
  25167. type: integer
  25168. - description: 名称(模糊搜索账户)
  25169. in: query
  25170. name: filtername
  25171. type: string
  25172. - description: 开始交易日(yyyymmdd)
  25173. in: query
  25174. name: begindate
  25175. type: string
  25176. - description: 结束交易日(yyyymmdd)
  25177. in: query
  25178. name: enddate
  25179. type: string
  25180. - description: 是否包含子级 1-包含
  25181. in: query
  25182. name: includesub
  25183. type: integer
  25184. produces:
  25185. - application/json
  25186. responses:
  25187. "200":
  25188. description: OK
  25189. schema:
  25190. items:
  25191. $ref: '#/definitions/models.QhjMgrTradePayOrder'
  25192. type: array
  25193. "500":
  25194. description: Internal Server Error
  25195. schema:
  25196. $ref: '#/definitions/app.Response'
  25197. security:
  25198. - ApiKeyAuth: []
  25199. summary: 查询待付款单
  25200. tags:
  25201. - 大连千海金(PCWeb)
  25202. /QhjMgr/QueryTradePosition:
  25203. get:
  25204. parameters:
  25205. - description: 用户ID
  25206. in: query
  25207. name: userid
  25208. required: true
  25209. type: integer
  25210. - description: 用户类型 1-个人 2-企业
  25211. in: query
  25212. name: userinfotype
  25213. type: integer
  25214. - description: 交易模式
  25215. in: query
  25216. name: trademode
  25217. type: integer
  25218. - description: 商品id
  25219. in: query
  25220. name: goodsid
  25221. type: integer
  25222. - description: 名称(模糊搜索账户)
  25223. in: query
  25224. name: filtername
  25225. type: string
  25226. - description: 是否包含子级 1-包含
  25227. in: query
  25228. name: includesub
  25229. type: integer
  25230. produces:
  25231. - application/json
  25232. responses:
  25233. "200":
  25234. description: OK
  25235. schema:
  25236. items:
  25237. $ref: '#/definitions/models.QhjMgrPositionRsp'
  25238. type: array
  25239. "500":
  25240. description: Internal Server Error
  25241. schema:
  25242. $ref: '#/definitions/app.Response'
  25243. security:
  25244. - ApiKeyAuth: []
  25245. summary: 查询持仓汇总
  25246. tags:
  25247. - 大连千海金(PCWeb)
  25248. /Quote/QueryHistoryDatas:
  25249. get:
  25250. parameters:
  25251. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  25252. 日线 12:周线 13:月线 14:年线'
  25253. in: query
  25254. name: cycleType
  25255. required: true
  25256. type: integer
  25257. - description: 商品代码
  25258. in: query
  25259. name: goodsCode
  25260. required: true
  25261. type: string
  25262. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  25263. in: query
  25264. name: startTime
  25265. type: string
  25266. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  25267. in: query
  25268. name: endTime
  25269. type: string
  25270. - description: 条数
  25271. in: query
  25272. name: count
  25273. type: integer
  25274. - description: 是否按时间顺序排序(默认为时间倒序排序)
  25275. in: query
  25276. name: isAsc
  25277. type: boolean
  25278. produces:
  25279. - application/json
  25280. responses:
  25281. "200":
  25282. description: OK
  25283. schema:
  25284. $ref: '#/definitions/quote.HistoryData'
  25285. "500":
  25286. description: Internal Server Error
  25287. schema:
  25288. $ref: '#/definitions/app.Response'
  25289. security:
  25290. - ApiKeyAuth: []
  25291. summary: 查询行情历史数据
  25292. tags:
  25293. - 行情服务
  25294. /Quote/QueryHistoryTikDatas:
  25295. get:
  25296. parameters:
  25297. - description: 商品代码
  25298. in: query
  25299. name: goodsCode
  25300. required: true
  25301. type: string
  25302. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  25303. in: query
  25304. name: startTime
  25305. type: string
  25306. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  25307. in: query
  25308. name: endTime
  25309. type: string
  25310. - description: 条数
  25311. in: query
  25312. name: count
  25313. type: integer
  25314. - description: 是否按时间顺序排序(默认为时间倒序排序)
  25315. in: query
  25316. name: isAsc
  25317. type: boolean
  25318. produces:
  25319. - application/json
  25320. responses:
  25321. "200":
  25322. description: OK
  25323. schema:
  25324. $ref: '#/definitions/quote.HistoryTikData'
  25325. "500":
  25326. description: Internal Server Error
  25327. schema:
  25328. $ref: '#/definitions/app.Response'
  25329. security:
  25330. - ApiKeyAuth: []
  25331. summary: 查询行情Tik数据
  25332. tags:
  25333. - 行情服务
  25334. /Quote/QueryQuoteDay:
  25335. get:
  25336. parameters:
  25337. - description: 此参数不填则查所有;商品代码列表,格式:CU2102,CU2103,AL2107
  25338. in: query
  25339. name: goodsCodes
  25340. type: string
  25341. produces:
  25342. - application/json
  25343. responses:
  25344. "200":
  25345. description: OK
  25346. schema:
  25347. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  25348. "500":
  25349. description: Internal Server Error
  25350. schema:
  25351. $ref: '#/definitions/app.Response'
  25352. security:
  25353. - ApiKeyAuth: []
  25354. summary: 获取商品盘面信息
  25355. tags:
  25356. - 行情服务
  25357. /Quote/QueryTSData:
  25358. get:
  25359. parameters:
  25360. - description: 商品代码
  25361. in: query
  25362. name: goodsCode
  25363. required: true
  25364. type: string
  25365. produces:
  25366. - application/json
  25367. responses:
  25368. "200":
  25369. description: OK
  25370. schema:
  25371. $ref: '#/definitions/quote.QueryTSDataRsp'
  25372. "500":
  25373. description: Internal Server Error
  25374. schema:
  25375. $ref: '#/definitions/app.Response'
  25376. security:
  25377. - ApiKeyAuth: []
  25378. summary: 分时图数据查询
  25379. tags:
  25380. - 行情服务
  25381. /SZDZ/QueryConvertConfig:
  25382. get:
  25383. parameters:
  25384. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  25385. 6:交易转花生米(不设置)
  25386. in: query
  25387. name: convertType
  25388. type: integer
  25389. - description: 外部商品代码[JD\PD]
  25390. in: query
  25391. name: outerGoodsCode
  25392. type: string
  25393. - description: 内部商品ID列表[交易],格式:1,2,3
  25394. in: query
  25395. name: innerGoodsIDs
  25396. type: string
  25397. produces:
  25398. - application/json
  25399. responses:
  25400. "200":
  25401. description: OK
  25402. schema:
  25403. $ref: '#/definitions/models.Szdz3convertconfig'
  25404. "500":
  25405. description: Internal Server Error
  25406. schema:
  25407. $ref: '#/definitions/app.Response'
  25408. security:
  25409. - ApiKeyAuth: []
  25410. summary: 查询交易系统转换设置
  25411. tags:
  25412. - 定制【尚志大宗】
  25413. /SZDZ/QueryConvertLog:
  25414. get:
  25415. parameters:
  25416. - description: 资金账户 - 格式:1,2,3
  25417. in: query
  25418. name: accountID
  25419. required: true
  25420. type: string
  25421. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  25422. in: query
  25423. name: startDate
  25424. type: string
  25425. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  25426. in: query
  25427. name: endDate
  25428. type: string
  25429. produces:
  25430. - application/json
  25431. responses:
  25432. "200":
  25433. description: OK
  25434. schema:
  25435. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  25436. "500":
  25437. description: Internal Server Error
  25438. schema:
  25439. $ref: '#/definitions/app.Response'
  25440. security:
  25441. - ApiKeyAuth: []
  25442. summary: 交易系统转换流水查询
  25443. tags:
  25444. - 定制【尚志大宗】
  25445. /SZDZ/QueryGoodsPickup:
  25446. get:
  25447. parameters:
  25448. - description: 资金账户 - 格式:1,2,3
  25449. in: query
  25450. name: accountID
  25451. required: true
  25452. type: string
  25453. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  25454. in: query
  25455. name: takeOrderStatus
  25456. type: integer
  25457. produces:
  25458. - application/json
  25459. responses:
  25460. "200":
  25461. description: OK
  25462. schema:
  25463. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  25464. "500":
  25465. description: Internal Server Error
  25466. schema:
  25467. $ref: '#/definitions/app.Response'
  25468. security:
  25469. - ApiKeyAuth: []
  25470. summary: 商品提货单查询
  25471. tags:
  25472. - 定制【尚志大宗】
  25473. /SZDZ/QueryRecieptOrder:
  25474. get:
  25475. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  25476. parameters:
  25477. - description: 页码
  25478. in: query
  25479. name: page
  25480. type: integer
  25481. - description: 每页条数
  25482. in: query
  25483. name: pagesize
  25484. type: integer
  25485. - description: 商品ID
  25486. in: query
  25487. name: goodsID
  25488. required: true
  25489. type: integer
  25490. - description: 所属账户名称
  25491. in: query
  25492. name: accountName
  25493. type: string
  25494. - description: 市场ID
  25495. in: query
  25496. name: marketID
  25497. type: integer
  25498. - description: 方向 - 0:买 1:卖
  25499. in: query
  25500. name: buyorsell
  25501. required: true
  25502. type: integer
  25503. produces:
  25504. - application/json
  25505. responses:
  25506. "200":
  25507. description: OK
  25508. schema:
  25509. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  25510. "500":
  25511. description: Internal Server Error
  25512. schema:
  25513. $ref: '#/definitions/app.Response'
  25514. security:
  25515. - ApiKeyAuth: []
  25516. summary: 点选挂牌委托单据查询(摘牌大厅)
  25517. tags:
  25518. - 定制【尚志大宗】
  25519. /SZDZ/QuerySZDZTradePosition:
  25520. get:
  25521. parameters:
  25522. - description: 资金账户
  25523. in: query
  25524. name: accountID
  25525. required: true
  25526. type: integer
  25527. produces:
  25528. - application/json
  25529. responses:
  25530. "200":
  25531. description: OK
  25532. schema:
  25533. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  25534. "500":
  25535. description: Internal Server Error
  25536. schema:
  25537. $ref: '#/definitions/app.Response'
  25538. security:
  25539. - ApiKeyAuth: []
  25540. summary: 持仓汇总查询(尚志大宗)
  25541. tags:
  25542. - 定制【尚志大宗】
  25543. /SZDZ/SearchWhite:
  25544. get:
  25545. parameters:
  25546. - description: 用户ID
  25547. in: query
  25548. name: userID
  25549. required: true
  25550. type: integer
  25551. produces:
  25552. - application/json
  25553. responses:
  25554. "200":
  25555. description: OK
  25556. schema:
  25557. $ref: '#/definitions/models.Szdz3searchwhitelist'
  25558. "500":
  25559. description: Internal Server Error
  25560. schema:
  25561. $ref: '#/definitions/app.Response'
  25562. security:
  25563. - ApiKeyAuth: []
  25564. summary: 搜索白名单
  25565. tags:
  25566. - 定制【尚志大宗】
  25567. /Search/SearchGoodses:
  25568. get:
  25569. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  25570. parameters:
  25571. - description: 检索内容
  25572. in: query
  25573. name: content
  25574. required: true
  25575. type: string
  25576. - description: 交易模式,格式:1,2,3
  25577. in: query
  25578. name: tradeModes
  25579. type: string
  25580. produces:
  25581. - application/json
  25582. responses:
  25583. "200":
  25584. description: OK
  25585. schema:
  25586. $ref: '#/definitions/models.SearchGoods'
  25587. "500":
  25588. description: Internal Server Error
  25589. schema:
  25590. $ref: '#/definitions/app.Response'
  25591. summary: 检索商品信息
  25592. tags:
  25593. - 检索服务
  25594. /TaAccount/GetTaAccounts:
  25595. get:
  25596. parameters:
  25597. - description: 登录账户
  25598. in: query
  25599. name: loginID
  25600. required: true
  25601. type: integer
  25602. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  25603. in: query
  25604. name: taAccountType
  25605. type: integer
  25606. produces:
  25607. - application/json
  25608. responses:
  25609. "200":
  25610. description: OK
  25611. schema:
  25612. $ref: '#/definitions/models.Taaccount'
  25613. "500":
  25614. description: Internal Server Error
  25615. schema:
  25616. $ref: '#/definitions/app.Response'
  25617. security:
  25618. - ApiKeyAuth: []
  25619. summary: 获取资金账户信息
  25620. tags:
  25621. - 资金账户
  25622. /TaAccount/QueryAmountLog:
  25623. get:
  25624. parameters:
  25625. - description: 页码
  25626. in: query
  25627. name: page
  25628. type: integer
  25629. - description: 每页条数
  25630. in: query
  25631. name: pagesize
  25632. type: integer
  25633. - description: 资金账户 - 格式:1,2,3
  25634. in: query
  25635. name: accountID
  25636. required: true
  25637. type: string
  25638. - description: 资金操作类型 - 格式:1,2,3
  25639. in: query
  25640. name: OperateType
  25641. type: string
  25642. produces:
  25643. - application/json
  25644. responses:
  25645. "200":
  25646. description: OK
  25647. schema:
  25648. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  25649. "500":
  25650. description: Internal Server Error
  25651. schema:
  25652. $ref: '#/definitions/app.Response'
  25653. security:
  25654. - ApiKeyAuth: []
  25655. summary: 资金流水查询(当前)
  25656. tags:
  25657. - 资金账户
  25658. /TaAccount/QueryHisAmountLog:
  25659. get:
  25660. parameters:
  25661. - description: 页码
  25662. in: query
  25663. name: page
  25664. type: integer
  25665. - description: 每页条数
  25666. in: query
  25667. name: pagesize
  25668. type: integer
  25669. - description: 资金账户 - 格式:1,2,3
  25670. in: query
  25671. name: accountID
  25672. required: true
  25673. type: string
  25674. - description: 资金操作类型 - 格式:1,2,3
  25675. in: query
  25676. name: OperateType
  25677. type: string
  25678. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  25679. in: query
  25680. name: startDate
  25681. type: string
  25682. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  25683. in: query
  25684. name: endDate
  25685. type: string
  25686. produces:
  25687. - application/json
  25688. responses:
  25689. "200":
  25690. description: OK
  25691. schema:
  25692. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  25693. "500":
  25694. description: Internal Server Error
  25695. schema:
  25696. $ref: '#/definitions/app.Response'
  25697. security:
  25698. - ApiKeyAuth: []
  25699. summary: 资金流水查询(历史)
  25700. tags:
  25701. - 资金账户
  25702. /TaAccount/QueryRelatedTaAccount:
  25703. get:
  25704. parameters:
  25705. - description: 关联UserID
  25706. in: query
  25707. name: relateduserid
  25708. required: true
  25709. type: integer
  25710. produces:
  25711. - application/json
  25712. responses:
  25713. "200":
  25714. description: OK
  25715. schema:
  25716. items:
  25717. $ref: '#/definitions/models.RelatedTaAccount'
  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. - 资金账户
  25728. /Tjmd/QueryQuoteGoodsList:
  25729. get:
  25730. description: 用户类型必传, 查掉期报价列表 marketids=掉期市场id
  25731. parameters:
  25732. - description: 用户类型
  25733. in: query
  25734. name: usertype
  25735. required: true
  25736. type: integer
  25737. - description: 市场id, 格式 1,2,3
  25738. in: query
  25739. name: marketids
  25740. type: string
  25741. - description: 商品组id
  25742. in: query
  25743. name: goodsgroupid
  25744. type: integer
  25745. - description: 商品id
  25746. in: query
  25747. name: goodsid
  25748. type: integer
  25749. produces:
  25750. - application/json
  25751. responses:
  25752. "200":
  25753. description: OK
  25754. schema:
  25755. items:
  25756. $ref: '#/definitions/models.TjmdQuoteGoods'
  25757. type: array
  25758. "500":
  25759. description: Internal Server Error
  25760. schema:
  25761. $ref: '#/definitions/app.Response'
  25762. security:
  25763. - ApiKeyAuth: []
  25764. summary: 查询掉期报价列表
  25765. tags:
  25766. - 天津麦顿
  25767. /Tjmd/QueryTjmdHolderDetailTradeInfo:
  25768. get:
  25769. parameters:
  25770. - description: 成交单号
  25771. in: query
  25772. name: tradeid
  25773. required: true
  25774. type: string
  25775. produces:
  25776. - application/json
  25777. responses:
  25778. "200":
  25779. description: OK
  25780. schema:
  25781. items:
  25782. $ref: '#/definitions/models.TjmdHolderDetailTradeInfo'
  25783. type: array
  25784. "500":
  25785. description: Internal Server Error
  25786. schema:
  25787. $ref: '#/definitions/app.Response'
  25788. security:
  25789. - ApiKeyAuth: []
  25790. summary: 掉期商品订单详情(交易确认书)
  25791. tags:
  25792. - 天津麦顿
  25793. /Tjmd/QueryTjmdMarketSection:
  25794. get:
  25795. produces:
  25796. - application/json
  25797. responses:
  25798. "200":
  25799. description: OK
  25800. schema:
  25801. items:
  25802. $ref: '#/definitions/models.TjmdMarketSection'
  25803. type: array
  25804. "500":
  25805. description: Internal Server Error
  25806. schema:
  25807. $ref: '#/definitions/app.Response'
  25808. security:
  25809. - ApiKeyAuth: []
  25810. summary: 查询市场板块
  25811. tags:
  25812. - 天津麦顿
  25813. /Tjmd/QueryTjmdTodayAccountMargin:
  25814. get:
  25815. parameters:
  25816. - description: 市场id
  25817. in: query
  25818. name: marketid
  25819. type: string
  25820. - description: 商品id
  25821. in: query
  25822. name: goodsid
  25823. type: string
  25824. - description: 资金账号
  25825. in: query
  25826. name: accountid
  25827. type: string
  25828. produces:
  25829. - application/json
  25830. responses:
  25831. "200":
  25832. description: OK
  25833. schema:
  25834. items:
  25835. $ref: '#/definitions/models.TjmdTodayAccountMargin'
  25836. type: array
  25837. "500":
  25838. description: Internal Server Error
  25839. schema:
  25840. $ref: '#/definitions/app.Response'
  25841. security:
  25842. - ApiKeyAuth: []
  25843. summary: 查询今日账户保证金配置
  25844. tags:
  25845. - 天津麦顿
  25846. /Tjmd/QueryTjmdTradeOrderDetail:
  25847. get:
  25848. description: 用户类型必传, 投资者只能看到自营会员的单, 反之亦然
  25849. parameters:
  25850. - description: 页码
  25851. in: query
  25852. name: page
  25853. type: integer
  25854. - description: 每页条数
  25855. in: query
  25856. name: pagesize
  25857. type: integer
  25858. - description: 用户id
  25859. in: query
  25860. name: userid
  25861. required: true
  25862. type: integer
  25863. - description: 用户类型
  25864. in: query
  25865. name: usertype
  25866. required: true
  25867. type: integer
  25868. - description: 市场id, 格式 1,2,3
  25869. in: query
  25870. name: marketids
  25871. type: string
  25872. - description: 商品id
  25873. in: query
  25874. name: goodsid
  25875. required: true
  25876. type: integer
  25877. - description: 买卖方向 0-买 1-卖
  25878. in: query
  25879. name: buyorsell
  25880. required: true
  25881. type: integer
  25882. produces:
  25883. - application/json
  25884. responses:
  25885. "200":
  25886. description: OK
  25887. schema:
  25888. items:
  25889. $ref: '#/definitions/models.TjmdTradeOrderDetail'
  25890. type: array
  25891. "500":
  25892. description: Internal Server Error
  25893. schema:
  25894. $ref: '#/definitions/app.Response'
  25895. security:
  25896. - ApiKeyAuth: []
  25897. summary: 查询掉期买卖大厅
  25898. tags:
  25899. - 天津麦顿
  25900. /Tjmd/QueryTjmdTransferApply:
  25901. get:
  25902. parameters:
  25903. - description: 类型 1-我的申请 2-对方申请
  25904. in: query
  25905. name: applytype
  25906. required: true
  25907. type: integer
  25908. - description: 市场id, 格式 1,2,3
  25909. in: query
  25910. name: marketids
  25911. type: string
  25912. - description: 资金账号, 格式 25000000001,25000000003
  25913. in: query
  25914. name: accountids
  25915. type: string
  25916. - description: 开始交易日(yyyymmdd)
  25917. in: query
  25918. name: begindate
  25919. type: string
  25920. - description: 结束交易日(yyyymmdd)
  25921. in: query
  25922. name: enddate
  25923. type: string
  25924. produces:
  25925. - application/json
  25926. responses:
  25927. "200":
  25928. description: OK
  25929. schema:
  25930. items:
  25931. $ref: '#/definitions/models.TjmdTransferApply'
  25932. type: array
  25933. "500":
  25934. description: Internal Server Error
  25935. schema:
  25936. $ref: '#/definitions/app.Response'
  25937. security:
  25938. - ApiKeyAuth: []
  25939. summary: 查询掉期协议单
  25940. tags:
  25941. - 天津麦顿
  25942. /Trade/QueryRecieptOrder:
  25943. get:
  25944. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  25945. parameters:
  25946. - description: 页码
  25947. in: query
  25948. name: page
  25949. type: integer
  25950. - description: 每页条数
  25951. in: query
  25952. name: pagesize
  25953. type: integer
  25954. - description: 商品ID
  25955. in: query
  25956. name: goodsID
  25957. required: true
  25958. type: integer
  25959. - description: 所属账户名称
  25960. in: query
  25961. name: accountName
  25962. type: string
  25963. - description: 市场ID
  25964. in: query
  25965. name: marketID
  25966. type: integer
  25967. - description: 方向 - 0:买 1:卖
  25968. in: query
  25969. name: buyorsell
  25970. required: true
  25971. type: integer
  25972. produces:
  25973. - application/json
  25974. responses:
  25975. "200":
  25976. description: OK
  25977. schema:
  25978. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  25979. "500":
  25980. description: Internal Server Error
  25981. schema:
  25982. $ref: '#/definitions/app.Response'
  25983. security:
  25984. - ApiKeyAuth: []
  25985. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  25986. tags:
  25987. - 通用交易
  25988. /User/AddMessageBoard:
  25989. post:
  25990. parameters:
  25991. - description: 用户ID
  25992. in: query
  25993. name: userID
  25994. required: true
  25995. type: integer
  25996. - description: 留言信息
  25997. in: query
  25998. name: message
  25999. required: true
  26000. type: string
  26001. - description: 联系电话
  26002. in: query
  26003. name: contactNum
  26004. required: true
  26005. type: string
  26006. produces:
  26007. - application/json
  26008. responses:
  26009. "200":
  26010. description: OK
  26011. schema:
  26012. $ref: '#/definitions/app.Response'
  26013. "500":
  26014. description: Internal Server Error
  26015. schema:
  26016. $ref: '#/definitions/app.Response'
  26017. security:
  26018. - ApiKeyAuth: []
  26019. summary: 添加用户留言板信息
  26020. tags:
  26021. - 用户信息
  26022. /User/AddUserFavoriteGoods:
  26023. post:
  26024. parameters:
  26025. - description: 用户ID
  26026. in: query
  26027. name: userID
  26028. required: true
  26029. type: integer
  26030. - description: 商品ID
  26031. in: query
  26032. name: goodsID
  26033. required: true
  26034. type: integer
  26035. produces:
  26036. - application/json
  26037. responses:
  26038. "200":
  26039. description: OK
  26040. schema:
  26041. $ref: '#/definitions/app.Response'
  26042. "500":
  26043. description: Internal Server Error
  26044. schema:
  26045. $ref: '#/definitions/app.Response'
  26046. security:
  26047. - ApiKeyAuth: []
  26048. summary: 添加用户商品收藏信息
  26049. tags:
  26050. - 用户信息
  26051. /User/GetLoginID:
  26052. get:
  26053. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  26054. parameters:
  26055. - description: 登录代码
  26056. in: query
  26057. name: username
  26058. required: true
  26059. type: string
  26060. produces:
  26061. - application/json
  26062. responses:
  26063. "200":
  26064. description: OK
  26065. schema:
  26066. $ref: '#/definitions/app.Response'
  26067. "500":
  26068. description: Internal Server Error
  26069. schema:
  26070. $ref: '#/definitions/app.Response'
  26071. summary: 获取登录ID
  26072. tags:
  26073. - 用户信息
  26074. /User/GetUserAccount:
  26075. get:
  26076. parameters:
  26077. - description: 用户ID
  26078. in: query
  26079. name: userID
  26080. required: true
  26081. type: integer
  26082. produces:
  26083. - application/json
  26084. responses:
  26085. "200":
  26086. description: OK
  26087. schema:
  26088. $ref: '#/definitions/models.Useraccount'
  26089. "500":
  26090. description: Internal Server Error
  26091. schema:
  26092. $ref: '#/definitions/app.Response'
  26093. security:
  26094. - ApiKeyAuth: []
  26095. summary: 获取用户账号信息
  26096. tags:
  26097. - 用户信息
  26098. /User/GetUserAuthStatus:
  26099. get:
  26100. parameters:
  26101. - description: 用户ID
  26102. in: query
  26103. name: userID
  26104. required: true
  26105. type: integer
  26106. produces:
  26107. - application/json
  26108. responses:
  26109. "200":
  26110. description: OK
  26111. schema:
  26112. $ref: '#/definitions/app.Response'
  26113. "500":
  26114. description: Internal Server Error
  26115. schema:
  26116. $ref: '#/definitions/app.Response'
  26117. security:
  26118. - ApiKeyAuth: []
  26119. summary: 获取用户实名认证状态
  26120. tags:
  26121. - 用户信息
  26122. /User/LoginQuery:
  26123. get:
  26124. parameters:
  26125. - description: 登录账号
  26126. in: query
  26127. name: loginID
  26128. required: true
  26129. type: integer
  26130. produces:
  26131. - application/json
  26132. responses:
  26133. "200":
  26134. description: OK
  26135. schema:
  26136. $ref: '#/definitions/user.LoginQueryRsp'
  26137. "500":
  26138. description: Internal Server Error
  26139. schema:
  26140. $ref: '#/definitions/app.Response'
  26141. security:
  26142. - ApiKeyAuth: []
  26143. summary: 账户登录后信息查询
  26144. tags:
  26145. - 用户信息
  26146. /User/QueryMessageBoard:
  26147. get:
  26148. parameters:
  26149. - description: 用户ID
  26150. in: query
  26151. name: userID
  26152. required: true
  26153. type: integer
  26154. produces:
  26155. - application/json
  26156. responses:
  26157. "200":
  26158. description: OK
  26159. schema:
  26160. $ref: '#/definitions/models.Messageboard'
  26161. "500":
  26162. description: Internal Server Error
  26163. schema:
  26164. $ref: '#/definitions/app.Response'
  26165. security:
  26166. - ApiKeyAuth: []
  26167. summary: 获取用户留言板信息
  26168. tags:
  26169. - 用户信息
  26170. /User/QueryUserFavoriteGoodses:
  26171. get:
  26172. parameters:
  26173. - description: 用户ID
  26174. in: query
  26175. name: userID
  26176. required: true
  26177. type: integer
  26178. produces:
  26179. - application/json
  26180. responses:
  26181. "200":
  26182. description: OK
  26183. schema:
  26184. $ref: '#/definitions/models.Userfavoritegoods'
  26185. "500":
  26186. description: Internal Server Error
  26187. schema:
  26188. $ref: '#/definitions/app.Response'
  26189. security:
  26190. - ApiKeyAuth: []
  26191. summary: 获取用户商品收藏信息
  26192. tags:
  26193. - 用户信息
  26194. /User/QueryUserInfo:
  26195. get:
  26196. parameters:
  26197. - description: 用户ID
  26198. in: query
  26199. name: userID
  26200. required: true
  26201. type: integer
  26202. - description: 是否解密
  26203. in: query
  26204. name: isDecrypt
  26205. type: boolean
  26206. produces:
  26207. - application/json
  26208. responses:
  26209. "200":
  26210. description: OK
  26211. schema:
  26212. $ref: '#/definitions/models.Userinfo'
  26213. "500":
  26214. description: Internal Server Error
  26215. schema:
  26216. $ref: '#/definitions/app.Response'
  26217. security:
  26218. - ApiKeyAuth: []
  26219. summary: 获取用户信息
  26220. tags:
  26221. - 用户信息
  26222. /User/QueryUserReferNum:
  26223. get:
  26224. parameters:
  26225. - description: 用户ID
  26226. in: query
  26227. name: userID
  26228. required: true
  26229. type: integer
  26230. produces:
  26231. - application/json
  26232. responses:
  26233. "200":
  26234. description: OK
  26235. schema:
  26236. $ref: '#/definitions/app.Response'
  26237. "500":
  26238. description: Internal Server Error
  26239. schema:
  26240. $ref: '#/definitions/app.Response'
  26241. summary: 获取用户邀请码
  26242. tags:
  26243. - 用户信息
  26244. /User/RemoveUserFavoriteGoods:
  26245. post:
  26246. parameters:
  26247. - description: 用户ID
  26248. in: query
  26249. name: userID
  26250. required: true
  26251. type: integer
  26252. - description: 商品ID
  26253. in: query
  26254. name: goodsID
  26255. required: true
  26256. type: integer
  26257. produces:
  26258. - application/json
  26259. responses:
  26260. "200":
  26261. description: OK
  26262. schema:
  26263. $ref: '#/definitions/app.Response'
  26264. "500":
  26265. description: Internal Server Error
  26266. schema:
  26267. $ref: '#/definitions/app.Response'
  26268. security:
  26269. - ApiKeyAuth: []
  26270. summary: 移除用户商品收藏信息
  26271. tags:
  26272. - 用户信息
  26273. /User/UpdateUserAccountStatus:
  26274. post:
  26275. parameters:
  26276. - description: 用户ID
  26277. in: query
  26278. name: userID
  26279. required: true
  26280. type: integer
  26281. - description: 账户状态 - 4:正常 6:注销(停用)
  26282. in: query
  26283. name: accountStatus
  26284. required: true
  26285. type: integer
  26286. produces:
  26287. - application/json
  26288. responses:
  26289. "200":
  26290. description: OK
  26291. schema:
  26292. $ref: '#/definitions/app.Response'
  26293. "500":
  26294. description: Internal Server Error
  26295. schema:
  26296. $ref: '#/definitions/app.Response'
  26297. security:
  26298. - ApiKeyAuth: []
  26299. summary: 更新用户状态
  26300. tags:
  26301. - 用户信息
  26302. /WRTrade/GetAllDeliveryGoods:
  26303. get:
  26304. produces:
  26305. - application/json
  26306. responses:
  26307. "200":
  26308. description: OK
  26309. schema:
  26310. $ref: '#/definitions/app.Response'
  26311. "500":
  26312. description: Internal Server Error
  26313. schema:
  26314. $ref: '#/definitions/app.Response'
  26315. security:
  26316. - ApiKeyAuth: []
  26317. summary: 获取带仓单分类的种类信息
  26318. tags:
  26319. - 仓单贸易
  26320. - 仓单贸易
  26321. /WrTrade2/InsertXhcpSellBackApply:
  26322. post:
  26323. parameters:
  26324. - description: 回收申请
  26325. in: body
  26326. name: jsonBody
  26327. required: true
  26328. schema:
  26329. $ref: '#/definitions/models.XhcpSellBackApplyEx'
  26330. produces:
  26331. - application/json
  26332. responses:
  26333. "200":
  26334. description: OK
  26335. schema:
  26336. $ref: '#/definitions/app.Response'
  26337. "500":
  26338. description: Internal Server Error
  26339. schema:
  26340. $ref: '#/definitions/app.Response'
  26341. security:
  26342. - ApiKeyAuth: []
  26343. summary: 新增回收申请(新会陈皮)
  26344. tags:
  26345. - 仓单贸易v2
  26346. /WrTrade2/QueryDeliveryGoodsSection:
  26347. get:
  26348. produces:
  26349. - application/json
  26350. responses:
  26351. "200":
  26352. description: OK
  26353. schema:
  26354. items:
  26355. $ref: '#/definitions/models.WrDeliveryGoodsSection'
  26356. type: array
  26357. "500":
  26358. description: Internal Server Error
  26359. schema:
  26360. $ref: '#/definitions/app.Response'
  26361. security:
  26362. - ApiKeyAuth: []
  26363. summary: 查询板块(分类)
  26364. tags:
  26365. - 仓单贸易v2
  26366. /WrTrade2/QueryFaProductDetail:
  26367. get:
  26368. description: 页面 买卖大厅 -> 选择融资方案
  26369. parameters:
  26370. - description: 仓单要素id
  26371. in: query
  26372. name: wrfactortypeid
  26373. required: true
  26374. type: integer
  26375. produces:
  26376. - application/json
  26377. responses:
  26378. "200":
  26379. description: OK
  26380. schema:
  26381. items:
  26382. $ref: '#/definitions/models.WrFAProductDetail'
  26383. type: array
  26384. "500":
  26385. description: Internal Server Error
  26386. schema:
  26387. $ref: '#/definitions/app.Response'
  26388. security:
  26389. - ApiKeyAuth: []
  26390. summary: 查询融资产品列表
  26391. tags:
  26392. - 仓单贸易v2
  26393. /WrTrade2/QueryFilterItem:
  26394. get:
  26395. parameters:
  26396. - description: 类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库
  26397. in: query
  26398. name: itype
  26399. required: true
  26400. type: string
  26401. produces:
  26402. - application/json
  26403. responses:
  26404. "200":
  26405. description: OK
  26406. schema:
  26407. items:
  26408. $ref: '#/definitions/models.WrFilterItem'
  26409. type: array
  26410. "500":
  26411. description: Internal Server Error
  26412. schema:
  26413. $ref: '#/definitions/app.Response'
  26414. security:
  26415. - ApiKeyAuth: []
  26416. summary: 查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)
  26417. tags:
  26418. - 仓单贸易v2
  26419. /WrTrade2/QueryFtDeliveryGoods:
  26420. get:
  26421. produces:
  26422. - application/json
  26423. responses:
  26424. "200":
  26425. description: OK
  26426. schema:
  26427. items:
  26428. $ref: '#/definitions/models.WrFtDeliveryGoods'
  26429. type: array
  26430. "500":
  26431. description: Internal Server Error
  26432. schema:
  26433. $ref: '#/definitions/app.Response'
  26434. security:
  26435. - ApiKeyAuth: []
  26436. summary: 查询品种品类筛选框列表
  26437. tags:
  26438. - 仓单贸易v2
  26439. /WrTrade2/QueryHoldLB:
  26440. get:
  26441. description: 页面 现货仓单->现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。
  26442. parameters:
  26443. - description: 资金账号
  26444. in: query
  26445. name: accountid
  26446. required: true
  26447. type: integer
  26448. - description: 仓库id
  26449. in: query
  26450. name: warehouseid
  26451. type: integer
  26452. - description: 品种id
  26453. in: query
  26454. name: deliverygoodsid
  26455. type: integer
  26456. - description: 品类id
  26457. in: query
  26458. name: wrstandardid
  26459. type: integer
  26460. - description: 仓单要素id
  26461. in: query
  26462. name: wrfactortypeid
  26463. type: integer
  26464. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  26465. in: query
  26466. name: dgitemname
  26467. type: string
  26468. produces:
  26469. - application/json
  26470. responses:
  26471. "200":
  26472. description: OK
  26473. schema:
  26474. items:
  26475. $ref: '#/definitions/models.WrHoldLB'
  26476. type: array
  26477. "500":
  26478. description: Internal Server Error
  26479. schema:
  26480. $ref: '#/definitions/app.Response'
  26481. security:
  26482. - ApiKeyAuth: []
  26483. summary: 查询仓单持有记录
  26484. tags:
  26485. - 仓单贸易v2
  26486. /WrTrade2/QueryOrderQuote:
  26487. get:
  26488. description: 仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth
  26489. 唯一确定1条记录
  26490. parameters:
  26491. - description: 页码
  26492. in: query
  26493. name: page
  26494. type: integer
  26495. - description: 每页条数
  26496. in: query
  26497. name: pagesize
  26498. type: integer
  26499. - description: 仓单贸易市场id
  26500. in: query
  26501. name: marketid
  26502. type: integer
  26503. - description: 价格方式 - 1:固定价 2-浮动价
  26504. in: query
  26505. name: wrpricetype
  26506. required: true
  26507. type: integer
  26508. - description: 0:仓单预售 1:仓单贸易
  26509. in: query
  26510. name: haswr
  26511. type: integer
  26512. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  26513. in: query
  26514. name: dgitemname
  26515. type: string
  26516. - description: 仓库id(筛选条件)
  26517. in: query
  26518. name: warehouseid
  26519. type: integer
  26520. - description: 品种id
  26521. in: query
  26522. name: deliverygoodsid
  26523. type: integer
  26524. - description: 品类id
  26525. in: query
  26526. name: wrstandardid
  26527. type: integer
  26528. - description: 品牌id(dgfactoryitemid)
  26529. in: query
  26530. name: brandid
  26531. type: integer
  26532. - description: 年份id(dgfactoryitemid)
  26533. in: query
  26534. name: yearsid
  26535. type: integer
  26536. - description: 仓单要素id
  26537. in: query
  26538. name: wrfactortypeid
  26539. type: integer
  26540. - description: 交收月(yyyy-mm) 仓单预售填写
  26541. in: query
  26542. name: deliverymonth
  26543. type: string
  26544. produces:
  26545. - application/json
  26546. responses:
  26547. "200":
  26548. description: OK
  26549. schema:
  26550. items:
  26551. $ref: '#/definitions/models.WrOrderQuote'
  26552. type: array
  26553. "500":
  26554. description: Internal Server Error
  26555. schema:
  26556. $ref: '#/definitions/app.Response'
  26557. security:
  26558. - ApiKeyAuth: []
  26559. summary: 查询大厅行情列表
  26560. tags:
  26561. - 仓单贸易v2
  26562. /WrTrade2/QueryOrderQuoteDetail:
  26563. get:
  26564. parameters:
  26565. - description: 页码
  26566. in: query
  26567. name: page
  26568. type: integer
  26569. - description: 每页条数
  26570. in: query
  26571. name: pagesize
  26572. type: integer
  26573. - description: 仓单贸易市场id
  26574. in: query
  26575. name: marketid
  26576. type: integer
  26577. - description: 价格方式 - 1:固定价 2-浮动价
  26578. in: query
  26579. name: wrpricetype
  26580. required: true
  26581. type: integer
  26582. - description: 0:仓单预售 1:仓单贸易
  26583. in: query
  26584. name: haswr
  26585. type: integer
  26586. - description: 仓单要素id
  26587. in: query
  26588. name: wrfactortypeid
  26589. required: true
  26590. type: integer
  26591. - description: 期货商品id(浮动价方式时填)
  26592. in: query
  26593. name: goodsid
  26594. type: integer
  26595. - description: 买卖方向 0-买 1-卖
  26596. in: query
  26597. name: buyorsell
  26598. required: true
  26599. type: integer
  26600. - description: 交收月(yyyy-mm) 查仓单预售的买卖大厅时填写
  26601. in: query
  26602. name: deliverymonth
  26603. type: string
  26604. produces:
  26605. - application/json
  26606. responses:
  26607. "200":
  26608. description: OK
  26609. schema:
  26610. items:
  26611. $ref: '#/definitions/models.WrOrderQuoteDetail'
  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/QueryOrderQuoteMyq:
  26623. get:
  26624. parameters:
  26625. - description: 页码
  26626. in: query
  26627. name: page
  26628. type: integer
  26629. - description: 每页条数
  26630. in: query
  26631. name: pagesize
  26632. type: integer
  26633. - description: 用户id
  26634. in: query
  26635. name: userid
  26636. required: true
  26637. type: integer
  26638. - description: 仓单贸易市场id
  26639. in: query
  26640. name: marketid
  26641. type: integer
  26642. - description: 0:仓单预售 1:仓单贸易
  26643. in: query
  26644. name: haswr
  26645. type: integer
  26646. - description: 买卖方向 0-买 1-卖
  26647. in: query
  26648. name: buyorsell
  26649. required: true
  26650. type: integer
  26651. - description: 品种id
  26652. in: query
  26653. name: deliverygoodsid
  26654. type: integer
  26655. - description: 品类id
  26656. in: query
  26657. name: wrstandardid
  26658. type: integer
  26659. - description: 交收月(yyyy-mm) 仓单预售填写
  26660. in: query
  26661. name: deliverymonth
  26662. type: string
  26663. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  26664. in: query
  26665. name: dgitemname
  26666. type: string
  26667. produces:
  26668. - application/json
  26669. responses:
  26670. "200":
  26671. description: OK
  26672. schema:
  26673. items:
  26674. $ref: '#/definitions/models.WrQuoteOrderMyq'
  26675. type: array
  26676. "500":
  26677. description: Internal Server Error
  26678. schema:
  26679. $ref: '#/definitions/app.Response'
  26680. security:
  26681. - ApiKeyAuth: []
  26682. summary: 查询贸易圈挂牌大厅
  26683. tags:
  26684. - 仓单贸易v2
  26685. /WrTrade2/QueryPerformancePlan:
  26686. get:
  26687. parameters:
  26688. - description: 用户id
  26689. in: query
  26690. name: userid
  26691. required: true
  26692. type: integer
  26693. - description: 买卖方向 0-买 1-卖
  26694. in: query
  26695. name: buyorsell
  26696. required: true
  26697. type: integer
  26698. - description: 履约状态(可多个,逗号隔开) 1:待激活 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成
  26699. 8:释放冻结失败 9:超时待处理 10:超时关闭
  26700. in: query
  26701. name: status
  26702. type: string
  26703. - description: 开始交易日(yyyymmdd)
  26704. in: query
  26705. name: begindate
  26706. type: string
  26707. - description: 结束交易日(yyyymmdd)
  26708. in: query
  26709. name: enddate
  26710. type: string
  26711. produces:
  26712. - application/json
  26713. responses:
  26714. "200":
  26715. description: OK
  26716. schema:
  26717. items:
  26718. $ref: '#/definitions/models.WrPerformancePlan'
  26719. type: array
  26720. "500":
  26721. description: Internal Server Error
  26722. schema:
  26723. $ref: '#/definitions/app.Response'
  26724. security:
  26725. - ApiKeyAuth: []
  26726. summary: 查询履约信息
  26727. tags:
  26728. - 仓单贸易v2
  26729. /WrTrade2/QueryPermancePlanTmp:
  26730. get:
  26731. description: |-
  26732. 返回指定用户的模板和公共模板(用户id为空)
  26733. 注意:天津麦顿客户 填写marketid参数,其它参数不用填;其它客户不用填marketid字段
  26734. parameters:
  26735. - description: 用户id
  26736. in: query
  26737. name: userid
  26738. type: integer
  26739. - description: 模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  26740. (无仓单) 5:挂牌期权 6:竞拍-降价式
  26741. in: query
  26742. name: tmptype
  26743. type: string
  26744. - description: 是否包含公共模板(用户id为空的) 1-包含
  26745. in: query
  26746. name: includepub
  26747. type: integer
  26748. - description: 市场id(天津麦顿指定此参数,其它不用)
  26749. in: query
  26750. name: marketid
  26751. type: integer
  26752. produces:
  26753. - application/json
  26754. responses:
  26755. "200":
  26756. description: OK
  26757. schema:
  26758. items:
  26759. $ref: '#/definitions/models.WrPerformanceTemplateEx'
  26760. type: array
  26761. "500":
  26762. description: Internal Server Error
  26763. schema:
  26764. $ref: '#/definitions/app.Response'
  26765. security:
  26766. - ApiKeyAuth: []
  26767. summary: 查询履约模板
  26768. tags:
  26769. - 仓单贸易v2
  26770. /WrTrade2/QuerySiteColumnDetail:
  26771. get:
  26772. parameters:
  26773. - description: 页码
  26774. in: query
  26775. name: page
  26776. type: integer
  26777. - description: 每页条数
  26778. in: query
  26779. name: pagesize
  26780. type: integer
  26781. - description: 所属栏目id
  26782. in: query
  26783. name: columnid
  26784. type: integer
  26785. produces:
  26786. - application/json
  26787. responses:
  26788. "200":
  26789. description: OK
  26790. schema:
  26791. items:
  26792. $ref: '#/definitions/models.WrSiteColumnDetail'
  26793. type: array
  26794. "500":
  26795. description: Internal Server Error
  26796. schema:
  26797. $ref: '#/definitions/app.Response'
  26798. security:
  26799. - ApiKeyAuth: []
  26800. summary: 查询资讯
  26801. tags:
  26802. - 仓单贸易v2
  26803. /WrTrade2/QuerySpotGroupTradeSum:
  26804. get:
  26805. produces:
  26806. - application/json
  26807. responses:
  26808. "200":
  26809. description: OK
  26810. schema:
  26811. items:
  26812. $ref: '#/definitions/models.WrSpotGroupTradeSumEx'
  26813. type: array
  26814. "500":
  26815. description: Internal Server Error
  26816. schema:
  26817. $ref: '#/definitions/app.Response'
  26818. security:
  26819. - ApiKeyAuth: []
  26820. summary: 查询指数
  26821. tags:
  26822. - 仓单贸易v2
  26823. /WrTrade2/QuerySpotGroupTradeSumDetail:
  26824. get:
  26825. description: 查询的结果将会按日期 从小到大 排序
  26826. parameters:
  26827. - description: 现货商品id
  26828. in: query
  26829. name: deliverygoodsid
  26830. required: true
  26831. type: integer
  26832. - description: 查询最新多少条记录(如不填写此项, 默认查30条)
  26833. in: query
  26834. name: lastnum
  26835. type: integer
  26836. produces:
  26837. - application/json
  26838. responses:
  26839. "200":
  26840. description: OK
  26841. schema:
  26842. items:
  26843. $ref: '#/definitions/models.WrSpotGroupTradeSumDetail'
  26844. type: array
  26845. "500":
  26846. description: Internal Server Error
  26847. schema:
  26848. $ref: '#/definitions/app.Response'
  26849. security:
  26850. - ApiKeyAuth: []
  26851. summary: 查询指数详细(价格走势图)
  26852. tags:
  26853. - 仓单贸易v2
  26854. /WrTrade2/QueryWrAverageTradePrice:
  26855. get:
  26856. parameters:
  26857. - description: 页码
  26858. in: query
  26859. name: page
  26860. type: integer
  26861. - description: 每页条数
  26862. in: query
  26863. name: pagesize
  26864. type: integer
  26865. - description: 0:仓单预售 1:仓单贸易
  26866. in: query
  26867. name: haswr
  26868. required: true
  26869. type: integer
  26870. - description: 仓单要素id
  26871. in: query
  26872. name: wrfactortypeid
  26873. required: true
  26874. type: integer
  26875. produces:
  26876. - application/json
  26877. responses:
  26878. "200":
  26879. description: OK
  26880. schema:
  26881. items:
  26882. $ref: '#/definitions/models.WrAverageTradePrice'
  26883. type: array
  26884. "500":
  26885. description: Internal Server Error
  26886. schema:
  26887. $ref: '#/definitions/app.Response'
  26888. security:
  26889. - ApiKeyAuth: []
  26890. summary: 查询成交价(历史走势)
  26891. tags:
  26892. - 仓单贸易v2
  26893. /WrTrade2/QueryWrBrandAndYears:
  26894. get:
  26895. produces:
  26896. - application/json
  26897. responses:
  26898. "200":
  26899. description: OK
  26900. schema:
  26901. items:
  26902. $ref: '#/definitions/models.WrBrandAndYears'
  26903. type: array
  26904. "500":
  26905. description: Internal Server Error
  26906. schema:
  26907. $ref: '#/definitions/app.Response'
  26908. security:
  26909. - ApiKeyAuth: []
  26910. summary: 查询品牌和年份
  26911. tags:
  26912. - 仓单贸易v2
  26913. /WrTrade2/QueryWrBsGoodsInfo:
  26914. get:
  26915. description: 合约交易/买卖大厅/详情
  26916. parameters:
  26917. - description: 商品id
  26918. in: query
  26919. name: goodsid
  26920. required: true
  26921. type: integer
  26922. produces:
  26923. - application/json
  26924. responses:
  26925. "200":
  26926. description: OK
  26927. schema:
  26928. items:
  26929. $ref: '#/definitions/models.WrBsGoodsInfo'
  26930. type: array
  26931. "500":
  26932. description: Internal Server Error
  26933. schema:
  26934. $ref: '#/definitions/app.Response'
  26935. security:
  26936. - ApiKeyAuth: []
  26937. summary: 查询合约交易买卖大厅详情
  26938. tags:
  26939. - 仓单贸易v2
  26940. /WrTrade2/QueryWrBuybackDetail:
  26941. get:
  26942. parameters:
  26943. - description: 融资合同id
  26944. in: query
  26945. name: scfcontractid
  26946. type: integer
  26947. produces:
  26948. - application/json
  26949. responses:
  26950. "200":
  26951. description: OK
  26952. schema:
  26953. items:
  26954. $ref: '#/definitions/models.WrBuybackDetail'
  26955. type: array
  26956. "500":
  26957. description: Internal Server Error
  26958. schema:
  26959. $ref: '#/definitions/app.Response'
  26960. security:
  26961. - ApiKeyAuth: []
  26962. summary: 查询仓单回购明细
  26963. tags:
  26964. - 仓单贸易v2
  26965. /WrTrade2/QueryWrClientAdSpaceConfig:
  26966. get:
  26967. produces:
  26968. - application/json
  26969. responses:
  26970. "200":
  26971. description: OK
  26972. schema:
  26973. items:
  26974. $ref: '#/definitions/models.WrClientAdSpaceConfig'
  26975. type: array
  26976. "500":
  26977. description: Internal Server Error
  26978. schema:
  26979. $ref: '#/definitions/app.Response'
  26980. security:
  26981. - ApiKeyAuth: []
  26982. summary: 查询固定广告配置
  26983. tags:
  26984. - 仓单贸易v2
  26985. /WrTrade2/QueryWrDeliveryAvalidHoldLB:
  26986. get:
  26987. parameters:
  26988. - description: 资金账号
  26989. in: query
  26990. name: accountid
  26991. required: true
  26992. type: integer
  26993. - description: 商品id
  26994. in: query
  26995. name: goodsid
  26996. required: true
  26997. type: integer
  26998. produces:
  26999. - application/json
  27000. responses:
  27001. "200":
  27002. description: OK
  27003. schema:
  27004. items:
  27005. $ref: '#/definitions/models.WrDeliveryAvalidHoldLB'
  27006. type: array
  27007. "500":
  27008. description: Internal Server Error
  27009. schema:
  27010. $ref: '#/definitions/app.Response'
  27011. security:
  27012. - ApiKeyAuth: []
  27013. summary: 查询合约交收可点选仓单
  27014. tags:
  27015. - 仓单贸易v2
  27016. /WrTrade2/QueryWrDeliveryDetail:
  27017. get:
  27018. parameters:
  27019. - description: 用户id
  27020. in: query
  27021. name: userid
  27022. required: true
  27023. type: integer
  27024. - description: 资金账号id
  27025. in: query
  27026. name: accountid
  27027. type: integer
  27028. - description: 开始交易日(yyyymmdd)
  27029. in: query
  27030. name: begindate
  27031. type: string
  27032. - description: 结束交易日(yyyymmdd)
  27033. in: query
  27034. name: enddate
  27035. type: string
  27036. produces:
  27037. - application/json
  27038. responses:
  27039. "200":
  27040. description: OK
  27041. schema:
  27042. items:
  27043. $ref: '#/definitions/models.WrDeliveryDetail'
  27044. type: array
  27045. "500":
  27046. description: Internal Server Error
  27047. schema:
  27048. $ref: '#/definitions/app.Response'
  27049. security:
  27050. - ApiKeyAuth: []
  27051. summary: 查询交收
  27052. tags:
  27053. - 仓单贸易v2
  27054. /WrTrade2/QueryWrDraftUserInfo:
  27055. get:
  27056. parameters:
  27057. - description: 用户ID
  27058. in: query
  27059. name: userid
  27060. required: true
  27061. type: integer
  27062. - description: 用户状态 1:正常 2:注销
  27063. in: query
  27064. name: userstatus
  27065. type: integer
  27066. produces:
  27067. - application/json
  27068. responses:
  27069. "200":
  27070. description: OK
  27071. schema:
  27072. items:
  27073. $ref: '#/definitions/models.WrDraftUserInfo'
  27074. type: array
  27075. "500":
  27076. description: Internal Server Error
  27077. schema:
  27078. $ref: '#/definitions/app.Response'
  27079. security:
  27080. - ApiKeyAuth: []
  27081. summary: 查询实名认证信息
  27082. tags:
  27083. - 仓单贸易v2
  27084. /WrTrade2/QueryWrFactorTypeInfo:
  27085. get:
  27086. parameters:
  27087. - description: 仓单要素id
  27088. in: query
  27089. name: wrfactortypeid
  27090. required: true
  27091. type: integer
  27092. produces:
  27093. - application/json
  27094. responses:
  27095. "200":
  27096. description: OK
  27097. schema:
  27098. items:
  27099. $ref: '#/definitions/models.WrFactorTypeInfo'
  27100. type: array
  27101. "500":
  27102. description: Internal Server Error
  27103. schema:
  27104. $ref: '#/definitions/app.Response'
  27105. security:
  27106. - ApiKeyAuth: []
  27107. summary: 查询仓单要素详细信息
  27108. tags:
  27109. - 仓单贸易v2
  27110. /WrTrade2/QueryWrFactorTypeInfoEx:
  27111. get:
  27112. parameters:
  27113. - description: 仓单要素id
  27114. in: query
  27115. name: wrfactortypeid
  27116. required: true
  27117. type: integer
  27118. produces:
  27119. - application/json
  27120. responses:
  27121. "200":
  27122. description: OK
  27123. schema:
  27124. items:
  27125. $ref: '#/definitions/models.WrTypeItem'
  27126. type: array
  27127. "500":
  27128. description: Internal Server Error
  27129. schema:
  27130. $ref: '#/definitions/app.Response'
  27131. security:
  27132. - ApiKeyAuth: []
  27133. summary: 查询仓单要素详细信息列表项
  27134. tags:
  27135. - 仓单贸易v2
  27136. /WrTrade2/QueryWrFinanceBuyApply:
  27137. get:
  27138. description: 页面 融资信息+ / 申请单
  27139. parameters:
  27140. - description: 用户id
  27141. in: query
  27142. name: userid
  27143. required: true
  27144. type: integer
  27145. produces:
  27146. - application/json
  27147. responses:
  27148. "200":
  27149. description: OK
  27150. schema:
  27151. items:
  27152. $ref: '#/definitions/models.WrFinanceBuyApply'
  27153. type: array
  27154. "500":
  27155. description: Internal Server Error
  27156. schema:
  27157. $ref: '#/definitions/app.Response'
  27158. security:
  27159. - ApiKeyAuth: []
  27160. summary: 查询融资购买申请
  27161. tags:
  27162. - 仓单贸易v2
  27163. /WrTrade2/QueryWrFriendApply:
  27164. get:
  27165. parameters:
  27166. - description: 用户id
  27167. in: query
  27168. name: userid
  27169. required: true
  27170. type: integer
  27171. produces:
  27172. - application/json
  27173. responses:
  27174. "200":
  27175. description: OK
  27176. schema:
  27177. items:
  27178. $ref: '#/definitions/models.WrFriendApply'
  27179. type: array
  27180. "500":
  27181. description: Internal Server Error
  27182. schema:
  27183. $ref: '#/definitions/app.Response'
  27184. security:
  27185. - ApiKeyAuth: []
  27186. summary: 查询好友申请记录
  27187. tags:
  27188. - 仓单贸易v2
  27189. /WrTrade2/QueryWrGoodsInfo:
  27190. get:
  27191. parameters:
  27192. - description: 仓单贸易市场id
  27193. in: query
  27194. name: marketid
  27195. type: integer
  27196. - description: 0:仓单预售 1:仓单贸易
  27197. in: query
  27198. name: haswr
  27199. required: true
  27200. type: integer
  27201. - description: 仓单要素id
  27202. in: query
  27203. name: wrfactortypeid
  27204. required: true
  27205. type: integer
  27206. - description: 履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)
  27207. in: query
  27208. name: tmplateid
  27209. type: integer
  27210. produces:
  27211. - application/json
  27212. responses:
  27213. "200":
  27214. description: OK
  27215. schema:
  27216. items:
  27217. $ref: '#/definitions/models.WrGoodsInfo'
  27218. type: array
  27219. "500":
  27220. description: Internal Server Error
  27221. schema:
  27222. $ref: '#/definitions/app.Response'
  27223. security:
  27224. - ApiKeyAuth: []
  27225. summary: 查询仓单商品信息
  27226. tags:
  27227. - 仓单贸易v2
  27228. /WrTrade2/QueryWrMarketTradeConfig:
  27229. get:
  27230. parameters:
  27231. - description: 市场id
  27232. in: query
  27233. name: marketid
  27234. type: integer
  27235. produces:
  27236. - application/json
  27237. responses:
  27238. "200":
  27239. description: OK
  27240. schema:
  27241. items:
  27242. $ref: '#/definitions/models.WrMarketTradeConfig'
  27243. type: array
  27244. "500":
  27245. description: Internal Server Error
  27246. schema:
  27247. $ref: '#/definitions/app.Response'
  27248. security:
  27249. - ApiKeyAuth: []
  27250. summary: 查询市场交易参数配置
  27251. tags:
  27252. - 仓单贸易v2
  27253. /WrTrade2/QueryWrOrderDetail:
  27254. get:
  27255. description: 页面 现货仓单 | 预售仓单 -> 委托单
  27256. parameters:
  27257. - description: 页码
  27258. in: query
  27259. name: page
  27260. type: integer
  27261. - description: 每页条数
  27262. in: query
  27263. name: pagesize
  27264. type: integer
  27265. - description: 用户id
  27266. in: query
  27267. name: userid
  27268. required: true
  27269. type: integer
  27270. - description: 仓单贸易市场id
  27271. in: query
  27272. name: marketid
  27273. type: integer
  27274. - description: 0:仓单预售 1:仓单贸易
  27275. in: query
  27276. name: haswr
  27277. required: true
  27278. type: integer
  27279. - description: 是否仅查可撤单据 1:可撤 注:此参数仅对当前记录有效, 且不含47模式市场
  27280. in: query
  27281. name: bcancel
  27282. type: integer
  27283. - description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  27284. in: query
  27285. name: wrtradetype
  27286. type: integer
  27287. - description: 开始交易日(yyyymmdd)
  27288. in: query
  27289. name: begindate
  27290. type: string
  27291. - description: 结束交易日(yyyymmdd)
  27292. in: query
  27293. name: enddate
  27294. type: string
  27295. produces:
  27296. - application/json
  27297. responses:
  27298. "200":
  27299. description: OK
  27300. schema:
  27301. items:
  27302. $ref: '#/definitions/models.WrOrderDetail'
  27303. type: array
  27304. "500":
  27305. description: Internal Server Error
  27306. schema:
  27307. $ref: '#/definitions/app.Response'
  27308. security:
  27309. - ApiKeyAuth: []
  27310. summary: 查询仓单委托单
  27311. tags:
  27312. - 仓单贸易v2
  27313. /WrTrade2/QueryWrOutInApply:
  27314. get:
  27315. parameters:
  27316. - description: 页码
  27317. in: query
  27318. name: page
  27319. type: integer
  27320. - description: 每页条数
  27321. in: query
  27322. name: pagesize
  27323. type: integer
  27324. - description: 用户id
  27325. in: query
  27326. name: userid
  27327. required: true
  27328. type: integer
  27329. - description: 开始交易日(yyyymmdd)
  27330. in: query
  27331. name: begindate
  27332. type: string
  27333. - description: 结束交易日(yyyymmdd)
  27334. in: query
  27335. name: enddate
  27336. type: string
  27337. produces:
  27338. - application/json
  27339. responses:
  27340. "200":
  27341. description: OK
  27342. schema:
  27343. items:
  27344. $ref: '#/definitions/models.WrOutInApply'
  27345. type: array
  27346. "500":
  27347. description: Internal Server Error
  27348. schema:
  27349. $ref: '#/definitions/app.Response'
  27350. security:
  27351. - ApiKeyAuth: []
  27352. summary: 查询提货申请
  27353. tags:
  27354. - 仓单贸易v2
  27355. /WrTrade2/QueryWrPerformancePlanStep:
  27356. get:
  27357. parameters:
  27358. - description: 履约计划id(performanceplanid)
  27359. in: query
  27360. name: planid
  27361. required: true
  27362. type: integer
  27363. - description: 当前步骤id
  27364. in: query
  27365. name: curstepid
  27366. type: integer
  27367. produces:
  27368. - application/json
  27369. responses:
  27370. "200":
  27371. description: OK
  27372. schema:
  27373. items:
  27374. $ref: '#/definitions/models.WrPerformancePlanStep'
  27375. type: array
  27376. "500":
  27377. description: Internal Server Error
  27378. schema:
  27379. $ref: '#/definitions/app.Response'
  27380. security:
  27381. - ApiKeyAuth: []
  27382. summary: 查询履约信息详情
  27383. tags:
  27384. - 仓单贸易v2
  27385. /WrTrade2/QueryWrPerformanceStepType:
  27386. get:
  27387. produces:
  27388. - application/json
  27389. responses:
  27390. "200":
  27391. description: OK
  27392. schema:
  27393. items:
  27394. $ref: '#/definitions/models.WrPerformanceStepType'
  27395. type: array
  27396. "500":
  27397. description: Internal Server Error
  27398. schema:
  27399. $ref: '#/definitions/app.Response'
  27400. security:
  27401. - ApiKeyAuth: []
  27402. summary: 查询履约步骤枚举
  27403. tags:
  27404. - 仓单贸易v2
  27405. /WrTrade2/QueryWrPosition:
  27406. get:
  27407. description: 页面 现货仓单->现货汇总/库存汇总; 预售仓单->订单汇总
  27408. parameters:
  27409. - description: 用户id
  27410. in: query
  27411. name: userid
  27412. required: true
  27413. type: integer
  27414. - description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  27415. in: query
  27416. name: querytype
  27417. required: true
  27418. type: integer
  27419. - description: 0:仓单预售 1:仓单贸易
  27420. in: query
  27421. name: haswr
  27422. required: true
  27423. type: integer
  27424. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  27425. in: query
  27426. name: dgitemname
  27427. type: string
  27428. - description: 仓库id(筛选条件)
  27429. in: query
  27430. name: warehouseid
  27431. type: integer
  27432. - description: 品种id
  27433. in: query
  27434. name: deliverygoodsid
  27435. type: integer
  27436. - description: 品类id
  27437. in: query
  27438. name: wrstandardid
  27439. type: integer
  27440. produces:
  27441. - application/json
  27442. responses:
  27443. "200":
  27444. description: OK
  27445. schema:
  27446. items:
  27447. $ref: '#/definitions/models.WrPosition'
  27448. type: array
  27449. "500":
  27450. description: Internal Server Error
  27451. schema:
  27452. $ref: '#/definitions/app.Response'
  27453. security:
  27454. - ApiKeyAuth: []
  27455. summary: 查询现货(预售)仓单持仓
  27456. tags:
  27457. - 仓单贸易v2
  27458. /WrTrade2/QueryWrPreSaleInfo:
  27459. get:
  27460. parameters:
  27461. - description: 市场id
  27462. in: query
  27463. name: marketid
  27464. type: integer
  27465. - description: 预售状态(逗号隔开,如1,2,3) 1:未开始 2:进行中 3:已结束 4:已关闭
  27466. in: query
  27467. name: presalestatus
  27468. type: string
  27469. - description: 摇号标识 - 0:未摇号 1:已摇号
  27470. in: query
  27471. name: lotteryflag
  27472. type: integer
  27473. - description: 最近多少条记录(按创建时间倒序)
  27474. in: query
  27475. name: lastnum
  27476. type: integer
  27477. produces:
  27478. - application/json
  27479. responses:
  27480. "200":
  27481. description: OK
  27482. schema:
  27483. items:
  27484. $ref: '#/definitions/models.WrPreSaleInfo'
  27485. type: array
  27486. "500":
  27487. description: Internal Server Error
  27488. schema:
  27489. $ref: '#/definitions/app.Response'
  27490. security:
  27491. - ApiKeyAuth: []
  27492. summary: 查询新品发布
  27493. tags:
  27494. - 仓单贸易v2
  27495. /WrTrade2/QueryWrReckonSpotGoodsTradeSum:
  27496. get:
  27497. parameters:
  27498. - description: 市场id
  27499. in: query
  27500. name: marketid
  27501. required: true
  27502. type: integer
  27503. - description: 现货商品id
  27504. in: query
  27505. name: wrstandardid
  27506. required: true
  27507. type: integer
  27508. - description: 开始交易日(yyyymmdd)
  27509. in: query
  27510. name: begindate
  27511. type: string
  27512. - description: 结束交易日(yyyymmdd)
  27513. in: query
  27514. name: enddate
  27515. type: string
  27516. - description: 最近多少条记录(按交易日倒序)
  27517. in: query
  27518. name: lastnum
  27519. type: integer
  27520. - description: 是否今日
  27521. in: query
  27522. name: istoday
  27523. type: boolean
  27524. produces:
  27525. - application/json
  27526. responses:
  27527. "200":
  27528. description: OK
  27529. schema:
  27530. items:
  27531. $ref: '#/definitions/models.WrReckonSpotGoodsTradeSum'
  27532. type: array
  27533. "500":
  27534. description: Internal Server Error
  27535. schema:
  27536. $ref: '#/definitions/app.Response'
  27537. security:
  27538. - ApiKeyAuth: []
  27539. summary: 查询价格走势
  27540. tags:
  27541. - 仓单贸易v2
  27542. /WrTrade2/QueryWrScfContract:
  27543. get:
  27544. parameters:
  27545. - description: 用户id
  27546. in: query
  27547. name: userid
  27548. required: true
  27549. type: integer
  27550. - description: 融资合同id
  27551. in: query
  27552. name: scfcontractid
  27553. type: integer
  27554. produces:
  27555. - application/json
  27556. responses:
  27557. "200":
  27558. description: OK
  27559. schema:
  27560. items:
  27561. $ref: '#/definitions/models.WrScfContract'
  27562. type: array
  27563. "500":
  27564. description: Internal Server Error
  27565. schema:
  27566. $ref: '#/definitions/app.Response'
  27567. security:
  27568. - ApiKeyAuth: []
  27569. summary: 查询仓单贸易融资合同
  27570. tags:
  27571. - 仓单贸易v2
  27572. /WrTrade2/QueryWrScfContractInterest:
  27573. get:
  27574. parameters:
  27575. - description: 融资合同id
  27576. in: query
  27577. name: scfcontractid
  27578. type: integer
  27579. produces:
  27580. - application/json
  27581. responses:
  27582. "200":
  27583. description: OK
  27584. schema:
  27585. items:
  27586. $ref: '#/definitions/models.WrScfContractInterest'
  27587. type: array
  27588. "500":
  27589. description: Internal Server Error
  27590. schema:
  27591. $ref: '#/definitions/app.Response'
  27592. security:
  27593. - ApiKeyAuth: []
  27594. summary: 查询融资合同费用明细
  27595. tags:
  27596. - 仓单贸易v2
  27597. /WrTrade2/QueryWrSearchUser:
  27598. get:
  27599. parameters:
  27600. - description: 用户名称(模糊匹配)
  27601. in: query
  27602. name: username
  27603. required: true
  27604. type: string
  27605. produces:
  27606. - application/json
  27607. responses:
  27608. "200":
  27609. description: OK
  27610. schema:
  27611. items:
  27612. $ref: '#/definitions/models.WrSearchUser'
  27613. type: array
  27614. "500":
  27615. description: Internal Server Error
  27616. schema:
  27617. $ref: '#/definitions/app.Response'
  27618. security:
  27619. - ApiKeyAuth: []
  27620. summary: 查询用户
  27621. tags:
  27622. - 仓单贸易v2
  27623. /WrTrade2/QueryWrSpecialMatchOrder:
  27624. get:
  27625. description: 页面 现货仓单 | 预售仓单 -> 指定成交
  27626. parameters:
  27627. - description: 页码
  27628. in: query
  27629. name: page
  27630. type: integer
  27631. - description: 每页条数
  27632. in: query
  27633. name: pagesize
  27634. type: integer
  27635. - description: 用户id
  27636. in: query
  27637. name: userid
  27638. required: true
  27639. type: integer
  27640. - description: 仓单贸易市场id
  27641. in: query
  27642. name: marketid
  27643. type: integer
  27644. - description: 0:仓单预售 1:仓单贸易
  27645. in: query
  27646. name: haswr
  27647. required: true
  27648. type: integer
  27649. - description: 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  27650. in: query
  27651. name: isspecified
  27652. type: integer
  27653. produces:
  27654. - application/json
  27655. responses:
  27656. "200":
  27657. description: OK
  27658. schema:
  27659. items:
  27660. $ref: '#/definitions/models.WrSpecialMatchOrder'
  27661. type: array
  27662. "500":
  27663. description: Internal Server Error
  27664. schema:
  27665. $ref: '#/definitions/app.Response'
  27666. security:
  27667. - ApiKeyAuth: []
  27668. summary: 查询指定成交
  27669. tags:
  27670. - 仓单贸易v2
  27671. /WrTrade2/QueryWrStandardFactoryItem:
  27672. get:
  27673. parameters:
  27674. - description: 品类id
  27675. in: query
  27676. name: wrstandardid
  27677. required: true
  27678. type: integer
  27679. produces:
  27680. - application/json
  27681. responses:
  27682. "200":
  27683. description: OK
  27684. schema:
  27685. items:
  27686. $ref: '#/definitions/models.WrStandardFactoryItemEx'
  27687. type: array
  27688. "500":
  27689. description: Internal Server Error
  27690. schema:
  27691. $ref: '#/definitions/app.Response'
  27692. security:
  27693. - ApiKeyAuth: []
  27694. summary: 查询品类要素定义项
  27695. tags:
  27696. - 仓单贸易v2
  27697. /WrTrade2/QueryWrTradeBargainApply:
  27698. get:
  27699. description: 1.页面 挂单/议价单, 只需传单号就行 <br>2.页面 议价->我的议价 参数 userid=登录userid <br>3.页面
  27700. 议价->对方议价 填写matchuserid=登录用户id
  27701. parameters:
  27702. - description: 议价人id(摘牌方)
  27703. in: query
  27704. name: userid
  27705. type: integer
  27706. - description: 挂牌方id(查对方议价时,填写此项)
  27707. in: query
  27708. name: matchuserid
  27709. type: integer
  27710. - description: 关联委托单id
  27711. in: query
  27712. name: wrtradeorderid
  27713. type: integer
  27714. - description: 0:仓单预售 1:仓单贸易
  27715. in: query
  27716. name: haswr
  27717. required: true
  27718. type: integer
  27719. - description: 开始交易日(yyyymmdd)
  27720. in: query
  27721. name: begindate
  27722. type: string
  27723. - description: 结束交易日(yyyymmdd)
  27724. in: query
  27725. name: enddate
  27726. type: string
  27727. produces:
  27728. - application/json
  27729. responses:
  27730. "200":
  27731. description: OK
  27732. schema:
  27733. items:
  27734. $ref: '#/definitions/models.WRTradeBargainApply'
  27735. type: array
  27736. "500":
  27737. description: Internal Server Error
  27738. schema:
  27739. $ref: '#/definitions/app.Response'
  27740. security:
  27741. - ApiKeyAuth: []
  27742. summary: 查询议价单
  27743. tags:
  27744. - 仓单贸易v2
  27745. /WrTrade2/QueryWrTradeDetail:
  27746. get:
  27747. parameters:
  27748. - description: 页码
  27749. in: query
  27750. name: page
  27751. type: integer
  27752. - description: 每页条数
  27753. in: query
  27754. name: pagesize
  27755. type: integer
  27756. - description: 用户id
  27757. in: query
  27758. name: userid
  27759. required: true
  27760. type: integer
  27761. - description: 仓单贸易市场id
  27762. in: query
  27763. name: marketid
  27764. type: integer
  27765. - description: 0:仓单预售 1:仓单贸易
  27766. in: query
  27767. name: haswr
  27768. required: true
  27769. type: integer
  27770. - description: 开始交易日(yyyymmdd)
  27771. in: query
  27772. name: begindate
  27773. type: string
  27774. - description: 结束交易日(yyyymmdd)
  27775. in: query
  27776. name: enddate
  27777. type: string
  27778. produces:
  27779. - application/json
  27780. responses:
  27781. "200":
  27782. description: OK
  27783. schema:
  27784. items:
  27785. $ref: '#/definitions/models.WrTradeDetail'
  27786. type: array
  27787. "500":
  27788. description: Internal Server Error
  27789. schema:
  27790. $ref: '#/definitions/app.Response'
  27791. security:
  27792. - ApiKeyAuth: []
  27793. summary: 查询仓单成交明细
  27794. tags:
  27795. - 仓单贸易v2
  27796. /WrTrade2/QueryWrTradeOrderDetail:
  27797. get:
  27798. parameters:
  27799. - description: 页码
  27800. in: query
  27801. name: page
  27802. type: integer
  27803. - description: 每页条数
  27804. in: query
  27805. name: pagesize
  27806. type: integer
  27807. - description: 商品id
  27808. in: query
  27809. name: goodsid
  27810. required: true
  27811. type: integer
  27812. - description: 买卖方向 0-买 1-卖
  27813. in: query
  27814. name: buyorsell
  27815. required: true
  27816. type: integer
  27817. produces:
  27818. - application/json
  27819. responses:
  27820. "200":
  27821. description: OK
  27822. schema:
  27823. items:
  27824. $ref: '#/definitions/models.WrTradeOrderDetail'
  27825. type: array
  27826. "500":
  27827. description: Internal Server Error
  27828. schema:
  27829. $ref: '#/definitions/app.Response'
  27830. security:
  27831. - ApiKeyAuth: []
  27832. summary: 查询合约交易买卖大厅
  27833. tags:
  27834. - 仓单贸易v2
  27835. /WrTrade2/QueryWrTradeQuote:
  27836. get:
  27837. parameters:
  27838. - description: 现货商品id
  27839. in: query
  27840. name: wrstandardid
  27841. required: true
  27842. type: integer
  27843. - description: 开始日期(yyyymmdd)
  27844. in: query
  27845. name: begindate
  27846. required: true
  27847. type: string
  27848. - description: 结束日期(yyyymmdd)
  27849. in: query
  27850. name: enddate
  27851. required: true
  27852. type: string
  27853. - description: 市场id
  27854. in: query
  27855. name: marketid
  27856. type: integer
  27857. produces:
  27858. - application/json
  27859. responses:
  27860. "200":
  27861. description: OK
  27862. schema:
  27863. items:
  27864. $ref: '#/definitions/models.Wrtradetradequote'
  27865. type: array
  27866. "500":
  27867. description: Internal Server Error
  27868. schema:
  27869. $ref: '#/definitions/app.Response'
  27870. security:
  27871. - ApiKeyAuth: []
  27872. summary: 查询仓单贸易成交行情
  27873. tags:
  27874. - 仓单贸易v2
  27875. /WrTrade2/QueryWrUserFriend:
  27876. get:
  27877. parameters:
  27878. - description: 用户id
  27879. in: query
  27880. name: userid
  27881. required: true
  27882. type: integer
  27883. - description: 新朋友userid, 如果填写了此项则查找新朋友
  27884. in: query
  27885. name: newuserid
  27886. type: integer
  27887. produces:
  27888. - application/json
  27889. responses:
  27890. "200":
  27891. description: OK
  27892. schema:
  27893. items:
  27894. $ref: '#/definitions/models.WrUserFriend'
  27895. type: array
  27896. "500":
  27897. description: Internal Server Error
  27898. schema:
  27899. $ref: '#/definitions/app.Response'
  27900. security:
  27901. - ApiKeyAuth: []
  27902. summary: 查询我的朋友
  27903. tags:
  27904. - 仓单贸易v2
  27905. /WrTrade2/QueryWrUserReceiptInfo:
  27906. get:
  27907. parameters:
  27908. - description: 用户id
  27909. in: query
  27910. name: userid
  27911. type: integer
  27912. - description: 发票类型 - 1:个人 2:企业
  27913. in: query
  27914. name: receipttype
  27915. type: integer
  27916. produces:
  27917. - application/json
  27918. responses:
  27919. "200":
  27920. description: OK
  27921. schema:
  27922. items:
  27923. $ref: '#/definitions/models.WrUserReceiptInfo'
  27924. type: array
  27925. "500":
  27926. description: Internal Server Error
  27927. schema:
  27928. $ref: '#/definitions/app.Response'
  27929. security:
  27930. - ApiKeyAuth: []
  27931. summary: 查询发票信息
  27932. tags:
  27933. - 仓单贸易v2
  27934. /WrTrade2/QueryXhcpSellBackApply:
  27935. get:
  27936. parameters:
  27937. - description: 用户ID
  27938. in: query
  27939. name: userid
  27940. required: true
  27941. type: integer
  27942. produces:
  27943. - application/json
  27944. responses:
  27945. "200":
  27946. description: OK
  27947. schema:
  27948. items:
  27949. $ref: '#/definitions/models.Xhcpsellbackapply'
  27950. type: array
  27951. "500":
  27952. description: Internal Server Error
  27953. schema:
  27954. $ref: '#/definitions/app.Response'
  27955. security:
  27956. - ApiKeyAuth: []
  27957. summary: 查询我的回收申请(新会陈皮)
  27958. tags:
  27959. - 仓单贸易v2
  27960. /ZJ/GetBankTip:
  27961. get:
  27962. produces:
  27963. - application/json
  27964. responses:
  27965. "200":
  27966. description: OK
  27967. schema:
  27968. type: string
  27969. "500":
  27970. description: Internal Server Error
  27971. schema:
  27972. $ref: '#/definitions/app.Response'
  27973. summary: 获取中江网银端出入金提示信息
  27974. tags:
  27975. - 中江
  27976. /ZJ/GetCusBankChannels:
  27977. get:
  27978. produces:
  27979. - application/json
  27980. responses:
  27981. "200":
  27982. description: OK
  27983. schema:
  27984. items:
  27985. type: string
  27986. type: array
  27987. "500":
  27988. description: Internal Server Error
  27989. schema:
  27990. $ref: '#/definitions/app.Response'
  27991. summary: 获取中江出入金渠道显示列表
  27992. tags:
  27993. - 中江
  27994. securityDefinitions:
  27995. ApiKeyAuth:
  27996. in: header
  27997. name: Authorization
  27998. type: apiKey
  27999. Group:
  28000. in: header
  28001. name: Group
  28002. type: apiKey
  28003. LoginID:
  28004. in: header
  28005. name: LoginID
  28006. type: apiKey
  28007. swagger: "2.0"