swagger.yaml 778 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758187591876018761187621876318764187651876618767187681876918770187711877218773187741877518776187771877818779187801878118782187831878418785187861878718788187891879018791187921879318794187951879618797187981879918800188011880218803188041880518806188071880818809188101881118812188131881418815188161881718818188191882018821188221882318824188251882618827188281882918830188311883218833188341883518836188371883818839188401884118842188431884418845188461884718848188491885018851188521885318854188551885618857188581885918860188611886218863188641886518866188671886818869188701887118872188731887418875188761887718878188791888018881188821888318884188851888618887188881888918890188911889218893188941889518896188971889818899189001890118902189031890418905189061890718908189091891018911189121891318914189151891618917189181891918920189211892218923189241892518926189271892818929189301893118932189331893418935189361893718938189391894018941189421894318944189451894618947189481894918950189511895218953189541895518956189571895818959189601896118962189631896418965189661896718968189691897018971189721897318974189751897618977189781897918980189811898218983189841898518986189871898818989189901899118992189931899418995189961899718998189991900019001190021900319004190051900619007190081900919010190111901219013190141901519016190171901819019190201902119022190231902419025190261902719028190291903019031190321903319034190351903619037190381903919040190411904219043190441904519046190471904819049190501905119052190531905419055190561905719058190591906019061190621906319064190651906619067190681906919070190711907219073190741907519076190771907819079190801908119082190831908419085190861908719088190891909019091190921909319094190951909619097190981909919100191011910219103191041910519106191071910819109191101911119112191131911419115191161911719118191191912019121191221912319124191251912619127191281912919130191311913219133191341913519136191371913819139191401914119142191431914419145191461914719148191491915019151191521915319154191551915619157191581915919160191611916219163191641916519166191671916819169191701917119172191731917419175191761917719178191791918019181191821918319184191851918619187191881918919190191911919219193191941919519196191971919819199192001920119202192031920419205192061920719208192091921019211192121921319214192151921619217192181921919220192211922219223192241922519226192271922819229192301923119232192331923419235192361923719238192391924019241192421924319244192451924619247192481924919250192511925219253192541925519256192571925819259192601926119262192631926419265192661926719268192691927019271192721927319274192751927619277192781927919280192811928219283192841928519286192871928819289192901929119292192931929419295192961929719298192991930019301193021930319304193051930619307193081930919310193111931219313193141931519316193171931819319193201932119322193231932419325193261932719328193291933019331193321933319334193351933619337193381933919340193411934219343193441934519346193471934819349193501935119352193531935419355193561935719358193591936019361193621936319364193651936619367193681936919370193711937219373193741937519376193771937819379193801938119382193831938419385193861938719388193891939019391193921939319394193951939619397193981939919400194011940219403194041940519406194071940819409194101941119412194131941419415194161941719418194191942019421194221942319424194251942619427194281942919430194311943219433194341943519436194371943819439194401944119442194431944419445194461944719448194491945019451194521945319454194551945619457194581945919460194611946219463194641946519466194671946819469194701947119472194731947419475194761947719478194791948019481194821948319484194851948619487194881948919490194911949219493194941949519496194971949819499195001950119502195031950419505195061950719508195091951019511195121951319514195151951619517195181951919520195211952219523195241952519526195271952819529195301953119532195331953419535195361953719538195391954019541195421954319544195451954619547195481954919550195511955219553195541955519556195571955819559195601956119562195631956419565195661956719568195691957019571195721957319574195751957619577195781957919580195811958219583195841958519586195871958819589195901959119592195931959419595195961959719598195991960019601196021960319604196051960619607196081960919610196111961219613196141961519616196171961819619196201962119622196231962419625196261962719628196291963019631196321963319634196351963619637196381963919640196411964219643196441964519646196471964819649196501965119652196531965419655196561965719658196591966019661196621966319664196651966619667196681966919670196711967219673196741967519676196771967819679196801968119682196831968419685196861968719688196891969019691196921969319694196951969619697196981969919700197011970219703197041970519706197071970819709197101971119712197131971419715197161971719718197191972019721197221972319724197251972619727197281972919730197311973219733197341973519736197371973819739197401974119742197431974419745197461974719748197491975019751197521975319754197551975619757197581975919760197611976219763197641976519766197671976819769197701977119772197731977419775197761977719778197791978019781197821978319784197851978619787197881978919790197911979219793197941979519796197971979819799198001980119802198031980419805198061980719808198091981019811198121981319814198151981619817198181981919820198211982219823198241982519826198271982819829198301983119832198331983419835198361983719838198391984019841198421984319844198451984619847198481984919850198511985219853198541985519856198571985819859198601986119862198631986419865198661986719868198691987019871198721987319874198751987619877198781987919880198811988219883198841988519886198871988819889198901989119892198931989419895198961989719898198991990019901199021990319904199051990619907199081990919910199111991219913199141991519916199171991819919199201992119922199231992419925199261992719928199291993019931199321993319934199351993619937199381993919940199411994219943199441994519946199471994819949199501995119952199531995419955199561995719958199591996019961199621996319964199651996619967199681996919970199711997219973199741997519976199771997819979199801998119982199831998419985199861998719988199891999019991199921999319994199951999619997199981999920000200012000220003200042000520006200072000820009200102001120012200132001420015200162001720018200192002020021200222002320024200252002620027200282002920030200312003220033200342003520036200372003820039200402004120042200432004420045200462004720048200492005020051200522005320054200552005620057200582005920060200612006220063200642006520066200672006820069200702007120072200732007420075200762007720078200792008020081200822008320084200852008620087200882008920090200912009220093200942009520096200972009820099201002010120102201032010420105201062010720108201092011020111201122011320114201152011620117201182011920120201212012220123201242012520126201272012820129201302013120132201332013420135201362013720138201392014020141201422014320144201452014620147201482014920150201512015220153201542015520156201572015820159201602016120162201632016420165201662016720168201692017020171201722017320174201752017620177201782017920180201812018220183201842018520186201872018820189201902019120192201932019420195201962019720198201992020020201202022020320204202052020620207202082020920210202112021220213202142021520216202172021820219202202022120222202232022420225202262022720228202292023020231202322023320234202352023620237202382023920240202412024220243202442024520246202472024820249202502025120252202532025420255202562025720258202592026020261202622026320264202652026620267202682026920270202712027220273202742027520276202772027820279202802028120282202832028420285202862028720288202892029020291202922029320294202952029620297202982029920300203012030220303203042030520306203072030820309203102031120312203132031420315203162031720318203192032020321203222032320324203252032620327203282032920330203312033220333203342033520336203372033820339203402034120342203432034420345203462034720348203492035020351203522035320354203552035620357203582035920360203612036220363203642036520366203672036820369203702037120372203732037420375203762037720378203792038020381203822038320384203852038620387203882038920390203912039220393203942039520396203972039820399204002040120402204032040420405204062040720408204092041020411204122041320414204152041620417204182041920420204212042220423204242042520426204272042820429204302043120432204332043420435204362043720438204392044020441204422044320444204452044620447204482044920450204512045220453204542045520456204572045820459204602046120462204632046420465204662046720468204692047020471204722047320474204752047620477204782047920480204812048220483204842048520486204872048820489204902049120492204932049420495204962049720498204992050020501205022050320504205052050620507205082050920510205112051220513205142051520516205172051820519205202052120522205232052420525205262052720528205292053020531205322053320534205352053620537205382053920540205412054220543205442054520546205472054820549205502055120552205532055420555205562055720558205592056020561205622056320564205652056620567205682056920570205712057220573205742057520576205772057820579205802058120582205832058420585205862058720588205892059020591205922059320594205952059620597205982059920600206012060220603206042060520606206072060820609206102061120612206132061420615206162061720618206192062020621206222062320624206252062620627206282062920630206312063220633206342063520636206372063820639206402064120642206432064420645206462064720648206492065020651206522065320654206552065620657206582065920660206612066220663206642066520666206672066820669206702067120672206732067420675206762067720678206792068020681206822068320684206852068620687206882068920690206912069220693206942069520696206972069820699207002070120702207032070420705207062070720708207092071020711207122071320714207152071620717207182071920720207212072220723207242072520726207272072820729207302073120732207332073420735207362073720738207392074020741207422074320744207452074620747207482074920750207512075220753207542075520756207572075820759207602076120762207632076420765207662076720768207692077020771207722077320774207752077620777207782077920780207812078220783207842078520786207872078820789207902079120792207932079420795207962079720798207992080020801208022080320804208052080620807208082080920810208112081220813208142081520816208172081820819208202082120822208232082420825208262082720828208292083020831208322083320834208352083620837208382083920840208412084220843208442084520846208472084820849208502085120852208532085420855208562085720858208592086020861208622086320864208652086620867208682086920870208712087220873208742087520876208772087820879208802088120882208832088420885208862088720888208892089020891208922089320894208952089620897208982089920900209012090220903209042090520906209072090820909209102091120912209132091420915209162091720918209192092020921209222092320924209252092620927209282092920930209312093220933209342093520936209372093820939209402094120942209432094420945209462094720948209492095020951209522095320954209552095620957209582095920960209612096220963209642096520966209672096820969209702097120972209732097420975209762097720978209792098020981209822098320984209852098620987209882098920990209912099220993209942099520996209972099820999210002100121002210032100421005210062100721008210092101021011210122101321014210152101621017210182101921020210212102221023210242102521026210272102821029210302103121032210332103421035210362103721038210392104021041210422104321044210452104621047210482104921050210512105221053210542105521056210572105821059210602106121062210632106421065210662106721068210692107021071210722107321074210752107621077210782107921080210812108221083210842108521086210872108821089210902109121092210932109421095210962109721098210992110021101211022110321104211052110621107211082110921110211112111221113211142111521116211172111821119211202112121122211232112421125211262112721128211292113021131211322113321134211352113621137211382113921140211412114221143211442114521146211472114821149211502115121152211532115421155211562115721158211592116021161211622116321164211652116621167211682116921170211712117221173211742117521176211772117821179211802118121182211832118421185211862118721188211892119021191211922119321194211952119621197211982119921200212012120221203212042120521206212072120821209212102121121212212132121421215212162121721218212192122021221212222122321224212252122621227212282122921230212312123221233212342123521236212372123821239212402124121242212432124421245212462124721248212492125021251212522125321254212552125621257212582125921260212612126221263212642126521266212672126821269212702127121272212732127421275212762127721278212792128021281212822128321284212852128621287212882128921290212912129221293212942129521296212972129821299213002130121302213032130421305213062130721308213092131021311213122131321314213152131621317213182131921320213212132221323213242132521326213272132821329213302133121332213332133421335213362133721338213392134021341213422134321344213452134621347213482134921350213512135221353213542135521356213572135821359213602136121362213632136421365213662136721368213692137021371213722137321374213752137621377213782137921380213812138221383213842138521386213872138821389213902139121392213932139421395213962139721398213992140021401214022140321404214052140621407214082140921410214112141221413214142141521416214172141821419214202142121422214232142421425214262142721428214292143021431214322143321434214352143621437214382143921440214412144221443214442144521446214472144821449214502145121452214532145421455214562145721458214592146021461214622146321464214652146621467214682146921470214712147221473214742147521476214772147821479214802148121482214832148421485214862148721488214892149021491214922149321494214952149621497214982149921500215012150221503215042150521506215072150821509215102151121512215132151421515215162151721518215192152021521215222152321524215252152621527215282152921530215312153221533215342153521536215372153821539215402154121542215432154421545215462154721548215492155021551215522155321554215552155621557215582155921560215612156221563215642156521566215672156821569215702157121572215732157421575215762157721578215792158021581215822158321584215852158621587215882158921590215912159221593215942159521596215972159821599216002160121602216032160421605216062160721608216092161021611216122161321614216152161621617216182161921620216212162221623216242162521626216272162821629216302163121632216332163421635216362163721638216392164021641216422164321644216452164621647216482164921650216512165221653216542165521656216572165821659216602166121662216632166421665216662166721668216692167021671216722167321674216752167621677216782167921680216812168221683216842168521686216872168821689216902169121692216932169421695216962169721698216992170021701217022170321704217052170621707217082170921710217112171221713217142171521716217172171821719217202172121722217232172421725217262172721728217292173021731217322173321734217352173621737217382173921740217412174221743217442174521746217472174821749217502175121752217532175421755217562175721758217592176021761217622176321764217652176621767217682176921770217712177221773217742177521776217772177821779217802178121782217832178421785217862178721788217892179021791217922179321794217952179621797217982179921800218012180221803218042180521806218072180821809218102181121812218132181421815218162181721818218192182021821218222182321824218252182621827218282182921830218312183221833218342183521836218372183821839218402184121842218432184421845218462184721848218492185021851218522185321854218552185621857218582185921860218612186221863218642186521866218672186821869218702187121872218732187421875218762187721878218792188021881218822188321884218852188621887218882188921890218912189221893218942189521896218972189821899219002190121902219032190421905219062190721908219092191021911219122191321914219152191621917219182191921920219212192221923219242192521926219272192821929219302193121932219332193421935219362193721938219392194021941219422194321944219452194621947219482194921950219512195221953219542195521956219572195821959219602196121962219632196421965219662196721968219692197021971219722197321974219752197621977219782197921980219812198221983219842198521986219872198821989219902199121992219932199421995219962199721998219992200022001220022200322004220052200622007220082200922010220112201222013220142201522016220172201822019220202202122022220232202422025220262202722028220292203022031220322203322034220352203622037220382203922040220412204222043220442204522046220472204822049220502205122052220532205422055220562205722058220592206022061220622206322064220652206622067220682206922070220712207222073220742207522076220772207822079220802208122082220832208422085220862208722088220892209022091220922209322094220952209622097220982209922100221012210222103221042210522106221072210822109221102211122112221132211422115221162211722118221192212022121221222212322124221252212622127221282212922130221312213222133221342213522136221372213822139221402214122142221432214422145221462214722148221492215022151221522215322154221552215622157221582215922160221612216222163221642216522166221672216822169221702217122172221732217422175221762217722178221792218022181221822218322184221852218622187221882218922190221912219222193221942219522196221972219822199222002220122202222032220422205222062220722208222092221022211222122221322214222152221622217222182221922220222212222222223222242222522226222272222822229222302223122232222332223422235222362223722238222392224022241222422224322244222452224622247222482224922250222512225222253222542225522256222572225822259222602226122262222632226422265222662226722268222692227022271222722227322274222752227622277222782227922280222812228222283222842228522286222872228822289222902229122292222932229422295222962229722298222992230022301223022230322304223052230622307223082230922310223112231222313223142231522316223172231822319223202232122322223232232422325223262232722328223292233022331223322233322334223352233622337223382233922340223412234222343223442234522346223472234822349223502235122352223532235422355223562235722358223592236022361223622236322364223652236622367223682236922370223712237222373223742237522376223772237822379223802238122382223832238422385223862238722388223892239022391223922239322394223952239622397223982239922400224012240222403224042240522406224072240822409224102241122412224132241422415224162241722418224192242022421224222242322424224252242622427224282242922430224312243222433224342243522436224372243822439224402244122442224432244422445224462244722448224492245022451224522245322454224552245622457224582245922460224612246222463224642246522466224672246822469224702247122472224732247422475224762247722478224792248022481224822248322484224852248622487224882248922490224912249222493224942249522496224972249822499225002250122502225032250422505225062250722508225092251022511225122251322514225152251622517225182251922520225212252222523225242252522526225272252822529225302253122532225332253422535225362253722538225392254022541225422254322544225452254622547225482254922550225512255222553225542255522556225572255822559225602256122562225632256422565225662256722568225692257022571225722257322574225752257622577225782257922580225812258222583225842258522586225872258822589225902259122592225932259422595225962259722598225992260022601226022260322604226052260622607226082260922610226112261222613226142261522616226172261822619226202262122622226232262422625226262262722628226292263022631226322263322634226352263622637226382263922640226412264222643226442264522646226472264822649226502265122652226532265422655226562265722658226592266022661226622266322664226652266622667226682266922670226712267222673226742267522676226772267822679226802268122682226832268422685226862268722688226892269022691226922269322694226952269622697226982269922700227012270222703227042270522706227072270822709227102271122712227132271422715227162271722718227192272022721227222272322724227252272622727227282272922730227312273222733227342273522736227372273822739227402274122742227432274422745227462274722748227492275022751227522275322754227552275622757227582275922760227612276222763227642276522766227672276822769227702277122772227732277422775227762277722778227792278022781227822278322784227852278622787227882278922790227912279222793227942279522796227972279822799228002280122802228032280422805228062280722808228092281022811228122281322814228152281622817228182281922820228212282222823228242282522826228272282822829228302283122832228332283422835228362283722838228392284022841228422284322844228452284622847228482284922850228512285222853228542285522856228572285822859228602286122862228632286422865228662286722868228692287022871228722287322874228752287622877228782287922880228812288222883228842288522886228872288822889228902289122892228932289422895228962289722898228992290022901229022290322904229052290622907229082290922910229112291222913229142291522916229172291822919229202292122922229232292422925229262292722928229292293022931229322293322934229352293622937229382293922940229412294222943229442294522946229472294822949229502295122952229532295422955229562295722958229592296022961229622296322964229652296622967229682296922970229712297222973229742297522976229772297822979229802298122982229832298422985229862298722988229892299022991229922299322994229952299622997229982299923000230012300223003230042300523006230072300823009230102301123012230132301423015230162301723018230192302023021230222302323024230252302623027230282302923030230312303223033230342303523036230372303823039230402304123042230432304423045230462304723048230492305023051230522305323054230552305623057230582305923060230612306223063230642306523066230672306823069230702307123072230732307423075230762307723078230792308023081230822308323084230852308623087230882308923090230912309223093230942309523096230972309823099231002310123102231032310423105231062310723108231092311023111231122311323114231152311623117231182311923120231212312223123231242312523126231272312823129231302313123132231332313423135231362313723138231392314023141231422314323144231452314623147231482314923150231512315223153231542315523156231572315823159231602316123162231632316423165231662316723168231692317023171231722317323174231752317623177231782317923180231812318223183231842318523186231872318823189231902319123192231932319423195231962319723198231992320023201232022320323204232052320623207232082320923210232112321223213232142321523216232172321823219232202322123222232232322423225232262322723228232292323023231232322323323234232352323623237232382323923240232412324223243232442324523246232472324823249232502325123252232532325423255232562325723258232592326023261232622326323264232652326623267232682326923270232712327223273232742327523276232772327823279232802328123282232832328423285232862328723288232892329023291232922329323294232952329623297232982329923300233012330223303233042330523306233072330823309233102331123312233132331423315233162331723318233192332023321233222332323324233252332623327233282332923330233312333223333233342333523336233372333823339233402334123342233432334423345233462334723348233492335023351233522335323354233552335623357233582335923360233612336223363233642336523366233672336823369233702337123372233732337423375233762337723378233792338023381233822338323384233852338623387233882338923390233912339223393233942339523396233972339823399234002340123402234032340423405234062340723408234092341023411234122341323414234152341623417234182341923420234212342223423234242342523426234272342823429234302343123432234332343423435234362343723438234392344023441234422344323444234452344623447234482344923450234512345223453234542345523456234572345823459234602346123462234632346423465234662346723468234692347023471234722347323474234752347623477234782347923480234812348223483234842348523486234872348823489234902349123492234932349423495234962349723498234992350023501235022350323504235052350623507235082350923510235112351223513235142351523516235172351823519235202352123522235232352423525235262352723528235292353023531235322353323534235352353623537235382353923540235412354223543235442354523546235472354823549235502355123552235532355423555235562355723558235592356023561235622356323564235652356623567235682356923570235712357223573235742357523576235772357823579235802358123582235832358423585235862358723588235892359023591235922359323594235952359623597235982359923600236012360223603236042360523606236072360823609236102361123612236132361423615236162361723618236192362023621236222362323624236252362623627236282362923630236312363223633236342363523636236372363823639236402364123642236432364423645236462364723648236492365023651236522365323654236552365623657236582365923660236612366223663236642366523666236672366823669236702367123672236732367423675236762367723678236792368023681236822368323684236852368623687236882368923690236912369223693236942369523696236972369823699237002370123702237032370423705237062370723708237092371023711237122371323714237152371623717237182371923720237212372223723237242372523726237272372823729237302373123732237332373423735237362373723738237392374023741237422374323744237452374623747237482374923750237512375223753237542375523756237572375823759237602376123762237632376423765237662376723768237692377023771237722377323774237752377623777237782377923780237812378223783237842378523786237872378823789237902379123792237932379423795237962379723798237992380023801238022380323804238052380623807238082380923810238112381223813238142381523816238172381823819238202382123822238232382423825238262382723828238292383023831238322383323834238352383623837238382383923840238412384223843238442384523846238472384823849238502385123852238532385423855238562385723858238592386023861238622386323864238652386623867238682386923870238712387223873238742387523876238772387823879238802388123882238832388423885238862388723888238892389023891238922389323894238952389623897238982389923900239012390223903239042390523906239072390823909239102391123912239132391423915239162391723918239192392023921239222392323924239252392623927239282392923930239312393223933239342393523936239372393823939239402394123942239432394423945239462394723948239492395023951239522395323954239552395623957239582395923960239612396223963239642396523966239672396823969239702397123972239732397423975239762397723978239792398023981239822398323984239852398623987239882398923990239912399223993239942399523996239972399823999240002400124002240032400424005240062400724008240092401024011240122401324014240152401624017240182401924020240212402224023240242402524026240272402824029240302403124032240332403424035240362403724038240392404024041240422404324044240452404624047240482404924050240512405224053240542405524056240572405824059240602406124062240632406424065240662406724068240692407024071240722407324074240752407624077240782407924080240812408224083240842408524086240872408824089240902409124092240932409424095240962409724098240992410024101241022410324104241052410624107241082410924110241112411224113241142411524116241172411824119241202412124122241232412424125241262412724128241292413024131241322413324134241352413624137241382413924140241412414224143241442414524146241472414824149241502415124152241532415424155241562415724158241592416024161241622416324164241652416624167241682416924170241712417224173241742417524176241772417824179241802418124182241832418424185241862418724188241892419024191241922419324194241952419624197241982419924200242012420224203242042420524206242072420824209242102421124212242132421424215242162421724218242192422024221242222422324224242252422624227242282422924230242312423224233242342423524236242372423824239242402424124242242432424424245242462424724248242492425024251242522425324254242552425624257242582425924260242612426224263242642426524266242672426824269242702427124272242732427424275242762427724278242792428024281242822428324284242852428624287242882428924290242912429224293242942429524296242972429824299243002430124302243032430424305243062430724308243092431024311243122431324314243152431624317243182431924320243212432224323243242432524326243272432824329243302433124332243332433424335243362433724338243392434024341243422434324344243452434624347243482434924350243512435224353243542435524356243572435824359243602436124362243632436424365243662436724368243692437024371243722437324374243752437624377243782437924380243812438224383243842438524386243872438824389243902439124392243932439424395243962439724398243992440024401244022440324404244052440624407244082440924410244112441224413244142441524416244172441824419244202442124422244232442424425244262442724428244292443024431244322443324434244352443624437244382443924440244412444224443244442444524446244472444824449244502445124452244532445424455244562445724458244592446024461244622446324464244652446624467244682446924470244712447224473244742447524476244772447824479244802448124482244832448424485244862448724488244892449024491244922449324494244952449624497244982449924500245012450224503245042450524506245072450824509245102451124512245132451424515245162451724518245192452024521245222452324524245252452624527245282452924530245312453224533245342453524536245372453824539245402454124542245432454424545245462454724548245492455024551245522455324554245552455624557245582455924560245612456224563245642456524566245672456824569245702457124572245732457424575245762457724578245792458024581245822458324584245852458624587245882458924590245912459224593245942459524596245972459824599246002460124602246032460424605246062460724608246092461024611246122461324614246152461624617246182461924620246212462224623246242462524626246272462824629246302463124632246332463424635246362463724638246392464024641246422464324644246452464624647246482464924650246512465224653246542465524656246572465824659246602466124662246632466424665246662466724668246692467024671246722467324674246752467624677246782467924680246812468224683246842468524686246872468824689246902469124692246932469424695246962469724698246992470024701247022470324704247052470624707247082470924710247112471224713247142471524716247172471824719247202472124722247232472424725247262472724728247292473024731247322473324734247352473624737247382473924740247412474224743247442474524746247472474824749247502475124752247532475424755247562475724758247592476024761247622476324764247652476624767247682476924770247712477224773247742477524776247772477824779247802478124782247832478424785247862478724788247892479024791247922479324794247952479624797247982479924800248012480224803248042480524806248072480824809248102481124812248132481424815248162481724818248192482024821248222482324824248252482624827248282482924830248312483224833248342483524836248372483824839248402484124842248432484424845248462484724848248492485024851248522485324854248552485624857248582485924860248612486224863248642486524866248672486824869248702487124872248732487424875248762487724878248792488024881248822488324884248852488624887248882488924890248912489224893248942489524896248972489824899249002490124902249032490424905249062490724908249092491024911249122491324914249152491624917249182491924920249212492224923249242492524926249272492824929249302493124932249332493424935249362493724938249392494024941249422494324944249452494624947249482494924950249512495224953249542495524956249572495824959249602496124962249632496424965249662496724968249692497024971249722497324974249752497624977249782497924980249812498224983249842498524986249872498824989249902499124992249932499424995249962499724998249992500025001250022500325004250052500625007250082500925010250112501225013250142501525016250172501825019250202502125022250232502425025250262502725028250292503025031250322503325034250352503625037250382503925040250412504225043250442504525046250472504825049250502505125052250532505425055250562505725058250592506025061250622506325064250652506625067250682506925070250712507225073250742507525076250772507825079250802508125082250832508425085250862508725088250892509025091250922509325094250952509625097250982509925100251012510225103251042510525106251072510825109251102511125112251132511425115251162511725118251192512025121251222512325124251252512625127251282512925130251312513225133251342513525136251372513825139251402514125142251432514425145251462514725148251492515025151251522515325154251552515625157251582515925160251612516225163251642516525166251672516825169251702517125172251732517425175251762517725178251792518025181251822518325184251852518625187251882518925190251912519225193251942519525196251972519825199252002520125202252032520425205252062520725208252092521025211252122521325214252152521625217252182521925220252212522225223252242522525226252272522825229252302523125232252332523425235252362523725238252392524025241252422524325244252452524625247252482524925250252512525225253252542525525256252572525825259252602526125262252632526425265252662526725268252692527025271252722527325274252752527625277252782527925280252812528225283252842528525286252872528825289252902529125292252932529425295252962529725298252992530025301253022530325304253052530625307253082530925310253112531225313253142531525316253172531825319253202532125322253232532425325253262532725328253292533025331253322533325334253352533625337253382533925340253412534225343253442534525346253472534825349253502535125352253532535425355253562535725358253592536025361253622536325364253652536625367253682536925370253712537225373253742537525376253772537825379253802538125382253832538425385253862538725388253892539025391253922539325394253952539625397253982539925400254012540225403254042540525406254072540825409254102541125412254132541425415254162541725418254192542025421254222542325424254252542625427254282542925430254312543225433254342543525436254372543825439254402544125442254432544425445254462544725448254492545025451254522545325454254552545625457254582545925460254612546225463254642546525466254672546825469254702547125472254732547425475254762547725478254792548025481254822548325484254852548625487254882548925490254912549225493254942549525496254972549825499255002550125502255032550425505255062550725508255092551025511255122551325514255152551625517255182551925520255212552225523255242552525526255272552825529255302553125532255332553425535255362553725538255392554025541255422554325544255452554625547255482554925550255512555225553255542555525556255572555825559255602556125562255632556425565255662556725568255692557025571255722557325574255752557625577255782557925580255812558225583255842558525586255872558825589255902559125592255932559425595255962559725598255992560025601256022560325604256052560625607256082560925610256112561225613256142561525616256172561825619256202562125622256232562425625256262562725628256292563025631256322563325634256352563625637256382563925640256412564225643256442564525646256472564825649256502565125652256532565425655256562565725658256592566025661256622566325664256652566625667256682566925670256712567225673256742567525676256772567825679256802568125682256832568425685256862568725688256892569025691256922569325694256952569625697256982569925700257012570225703257042570525706257072570825709257102571125712257132571425715257162571725718257192572025721257222572325724257252572625727257282572925730257312573225733257342573525736257372573825739257402574125742257432574425745257462574725748257492575025751257522575325754257552575625757257582575925760257612576225763257642576525766257672576825769257702577125772257732577425775257762577725778257792578025781257822578325784257852578625787257882578925790257912579225793257942579525796257972579825799258002580125802258032580425805258062580725808258092581025811258122581325814258152581625817258182581925820258212582225823258242582525826258272582825829258302583125832258332583425835258362583725838258392584025841258422584325844258452584625847258482584925850258512585225853258542585525856258572585825859258602586125862258632586425865258662586725868258692587025871258722587325874258752587625877258782587925880258812588225883258842588525886258872588825889258902589125892258932589425895258962589725898258992590025901259022590325904259052590625907259082590925910259112591225913259142591525916259172591825919259202592125922259232592425925259262592725928259292593025931259322593325934259352593625937259382593925940259412594225943259442594525946259472594825949259502595125952259532595425955259562595725958259592596025961259622596325964259652596625967259682596925970259712597225973259742597525976259772597825979259802598125982259832598425985259862598725988259892599025991259922599325994259952599625997259982599926000260012600226003260042600526006260072600826009260102601126012260132601426015260162601726018260192602026021260222602326024260252602626027260282602926030260312603226033260342603526036260372603826039260402604126042260432604426045260462604726048260492605026051260522605326054260552605626057260582605926060260612606226063260642606526066260672606826069260702607126072260732607426075260762607726078260792608026081260822608326084260852608626087260882608926090260912609226093260942609526096260972609826099261002610126102261032610426105261062610726108261092611026111261122611326114261152611626117261182611926120261212612226123261242612526126261272612826129261302613126132261332613426135261362613726138261392614026141261422614326144261452614626147261482614926150261512615226153261542615526156261572615826159261602616126162261632616426165261662616726168261692617026171261722617326174261752617626177261782617926180261812618226183261842618526186261872618826189261902619126192261932619426195261962619726198261992620026201262022620326204262052620626207262082620926210262112621226213262142621526216262172621826219262202622126222262232622426225262262622726228262292623026231262322623326234262352623626237262382623926240262412624226243262442624526246262472624826249262502625126252262532625426255262562625726258262592626026261262622626326264262652626626267262682626926270262712627226273262742627526276262772627826279262802628126282262832628426285262862628726288262892629026291262922629326294262952629626297262982629926300263012630226303263042630526306263072630826309263102631126312263132631426315263162631726318263192632026321263222632326324263252632626327263282632926330263312633226333263342633526336263372633826339263402634126342263432634426345263462634726348263492635026351263522635326354263552635626357263582635926360263612636226363263642636526366263672636826369263702637126372263732637426375263762637726378263792638026381263822638326384263852638626387263882638926390263912639226393263942639526396263972639826399264002640126402264032640426405264062640726408264092641026411264122641326414264152641626417264182641926420264212642226423264242642526426264272642826429264302643126432264332643426435264362643726438264392644026441264422644326444264452644626447264482644926450264512645226453264542645526456264572645826459264602646126462264632646426465264662646726468264692647026471264722647326474264752647626477264782647926480264812648226483264842648526486264872648826489264902649126492264932649426495264962649726498264992650026501265022650326504265052650626507265082650926510265112651226513265142651526516265172651826519265202652126522265232652426525265262652726528265292653026531265322653326534265352653626537265382653926540265412654226543265442654526546265472654826549265502655126552265532655426555265562655726558265592656026561265622656326564265652656626567265682656926570265712657226573265742657526576265772657826579265802658126582265832658426585265862658726588265892659026591265922659326594265952659626597265982659926600266012660226603266042660526606266072660826609266102661126612266132661426615266162661726618266192662026621266222662326624266252662626627266282662926630266312663226633266342663526636266372663826639266402664126642266432664426645266462664726648266492665026651266522665326654266552665626657266582665926660266612666226663266642666526666266672666826669266702667126672266732667426675266762667726678266792668026681266822668326684266852668626687266882668926690266912669226693266942669526696266972669826699267002670126702267032670426705267062670726708267092671026711267122671326714267152671626717267182671926720267212672226723267242672526726267272672826729267302673126732267332673426735267362673726738267392674026741267422674326744267452674626747267482674926750267512675226753267542675526756267572675826759267602676126762267632676426765267662676726768267692677026771267722677326774267752677626777267782677926780267812678226783267842678526786267872678826789267902679126792267932679426795267962679726798267992680026801268022680326804268052680626807268082680926810268112681226813268142681526816268172681826819268202682126822268232682426825268262682726828268292683026831268322683326834268352683626837268382683926840268412684226843268442684526846268472684826849268502685126852268532685426855268562685726858268592686026861268622686326864268652686626867268682686926870268712687226873268742687526876268772687826879268802688126882268832688426885268862688726888268892689026891268922689326894268952689626897268982689926900269012690226903269042690526906269072690826909269102691126912269132691426915269162691726918269192692026921269222692326924269252692626927269282692926930269312693226933269342693526936269372693826939269402694126942269432694426945269462694726948269492695026951269522695326954269552695626957269582695926960269612696226963269642696526966269672696826969269702697126972269732697426975269762697726978269792698026981269822698326984269852698626987269882698926990269912699226993269942699526996269972699826999270002700127002270032700427005270062700727008270092701027011270122701327014270152701627017270182701927020270212702227023270242702527026270272702827029270302703127032270332703427035270362703727038270392704027041270422704327044270452704627047270482704927050270512705227053270542705527056270572705827059270602706127062270632706427065270662706727068270692707027071270722707327074270752707627077270782707927080270812708227083270842708527086270872708827089270902709127092270932709427095270962709727098270992710027101271022710327104271052710627107271082710927110271112711227113271142711527116271172711827119271202712127122271232712427125271262712727128271292713027131271322713327134271352713627137271382713927140271412714227143271442714527146271472714827149271502715127152271532715427155271562715727158271592716027161271622716327164271652716627167271682716927170271712717227173271742717527176271772717827179271802718127182271832718427185271862718727188271892719027191271922719327194271952719627197271982719927200272012720227203272042720527206272072720827209272102721127212272132721427215272162721727218272192722027221272222722327224272252722627227272282722927230272312723227233272342723527236272372723827239272402724127242272432724427245272462724727248272492725027251272522725327254272552725627257272582725927260272612726227263272642726527266272672726827269272702727127272272732727427275272762727727278272792728027281272822728327284272852728627287272882728927290272912729227293272942729527296272972729827299273002730127302273032730427305273062730727308273092731027311273122731327314273152731627317273182731927320273212732227323273242732527326273272732827329273302733127332273332733427335273362733727338273392734027341273422734327344273452734627347273482734927350273512735227353273542735527356273572735827359273602736127362273632736427365273662736727368273692737027371273722737327374273752737627377273782737927380273812738227383273842738527386273872738827389273902739127392273932739427395273962739727398273992740027401274022740327404274052740627407274082740927410274112741227413274142741527416274172741827419274202742127422274232742427425274262742727428274292743027431274322743327434274352743627437274382743927440274412744227443274442744527446274472744827449274502745127452274532745427455274562745727458274592746027461274622746327464274652746627467274682746927470274712747227473274742747527476274772747827479274802748127482274832748427485274862748727488274892749027491274922749327494274952749627497274982749927500275012750227503275042750527506275072750827509275102751127512275132751427515275162751727518275192752027521275222752327524275252752627527275282752927530275312753227533275342753527536275372753827539275402754127542275432754427545275462754727548275492755027551275522755327554275552755627557275582755927560275612756227563275642756527566275672756827569275702757127572275732757427575275762757727578275792758027581275822758327584275852758627587275882758927590275912759227593275942759527596275972759827599276002760127602276032760427605276062760727608276092761027611276122761327614276152761627617276182761927620276212762227623276242762527626276272762827629276302763127632276332763427635276362763727638276392764027641276422764327644276452764627647276482764927650276512765227653276542765527656276572765827659276602766127662276632766427665276662766727668276692767027671276722767327674276752767627677276782767927680276812768227683276842768527686276872768827689276902769127692276932769427695276962769727698276992770027701277022770327704277052770627707277082770927710277112771227713277142771527716277172771827719277202772127722277232772427725277262772727728277292773027731277322773327734277352773627737277382773927740277412774227743277442774527746277472774827749277502775127752277532775427755277562775727758277592776027761277622776327764277652776627767277682776927770277712777227773277742777527776277772777827779277802778127782277832778427785277862778727788277892779027791277922779327794277952779627797277982779927800278012780227803278042780527806278072780827809278102781127812278132781427815278162781727818278192782027821278222782327824278252782627827278282782927830278312783227833278342783527836278372783827839278402784127842278432784427845278462784727848278492785027851278522785327854278552785627857278582785927860278612786227863278642786527866278672786827869278702787127872278732787427875278762787727878278792788027881278822788327884278852788627887278882788927890278912789227893278942789527896278972789827899279002790127902279032790427905279062790727908279092791027911279122791327914279152791627917279182791927920279212792227923279242792527926279272792827929279302793127932279332793427935
  1. definitions:
  2. app.Response:
  3. properties:
  4. code:
  5. type: integer
  6. data: {}
  7. msg:
  8. type: string
  9. page:
  10. description: 页码
  11. type: integer
  12. pagesize:
  13. description: 每页条数
  14. type: integer
  15. total:
  16. description: 总条数
  17. type: integer
  18. type: object
  19. common.ClientMenu:
  20. properties:
  21. children:
  22. description: 子菜单列表
  23. items:
  24. $ref: '#/definitions/common.ClientMenu'
  25. type: array
  26. code:
  27. description: ID
  28. type: string
  29. isshow:
  30. description: 是否显示
  31. type: boolean
  32. remark:
  33. description: 备注
  34. type: string
  35. rulekey:
  36. description: 对应权限主键,对应FUNCMENULIST表RESOURCECODE
  37. type: string
  38. sort:
  39. description: 排序
  40. type: integer
  41. title:
  42. description: 标题
  43. type: string
  44. type:
  45. description: 类型,1:菜单 2:按钮
  46. type: integer
  47. url:
  48. description: URL
  49. type: string
  50. type: object
  51. common.PCWebMenu:
  52. properties:
  53. auth:
  54. description: 页面权限列表
  55. items:
  56. $ref: '#/definitions/common.PCWebMenuAuth'
  57. type: array
  58. children:
  59. description: 子菜单列表
  60. items:
  61. $ref: '#/definitions/common.PCWebMenu'
  62. type: array
  63. code:
  64. description: ID,新版本中权限KEY也是这个字段
  65. type: string
  66. component:
  67. description: 路由组件
  68. type: string
  69. isshow:
  70. description: 是否显示
  71. type: boolean
  72. path:
  73. description: 路由路径
  74. type: string
  75. remark:
  76. description: 备注
  77. type: string
  78. rulekey:
  79. description: 权限主键,非空表示需要判断控制,非空值不可重复
  80. type: string
  81. sort:
  82. description: 排序
  83. type: integer
  84. title:
  85. description: 标题
  86. type: string
  87. url:
  88. description: URL
  89. type: string
  90. type: object
  91. common.PCWebMenuAuth:
  92. properties:
  93. code:
  94. description: ID,新版本中权限KEY也是这个字段
  95. type: string
  96. isshow:
  97. description: 是否显示
  98. type: boolean
  99. label:
  100. description: 标题
  101. type: string
  102. remark:
  103. description: 备注
  104. type: string
  105. rulekey:
  106. description: 权限主键,非空表示需要判断控制,非空值不可重复
  107. type: string
  108. type: object
  109. common.QueryImageConfigsRsp:
  110. properties:
  111. areauserid:
  112. description: 所属机构ID
  113. type: integer
  114. configid:
  115. description: 配置ID(SEQ_SZDZ2_IMAGECONFIG)
  116. type: integer
  117. createdate:
  118. description: 创建时间
  119. type: string
  120. creatorid:
  121. description: 创建人
  122. type: integer
  123. imagedetailpath:
  124. description: 详情图片 [UrlType = 3时 有且必填,其它类型不需要]
  125. type: string
  126. imagepath:
  127. description: 图片
  128. type: string
  129. imagetype:
  130. description: 类型 - 1:首页轮播(移动) 2:我的(移动)
  131. type: integer
  132. isshow:
  133. description: 是否展示 - 0:不展示 1:展示
  134. type: integer
  135. marketid:
  136. description: 市场ID
  137. type: integer
  138. modifierid:
  139. description: 操作人
  140. type: integer
  141. sort:
  142. description: 排序
  143. type: integer
  144. title:
  145. description: 标题
  146. type: string
  147. trademode:
  148. description: 交易模式
  149. type: integer
  150. updatedate:
  151. description: 修改时间
  152. type: string
  153. url:
  154. description: 链接(地址或商品ID)
  155. type: string
  156. urltype:
  157. description: 链接类型 - 1:直接地址 2:商品ID
  158. type: integer
  159. required:
  160. - configid
  161. type: object
  162. common.QueryNoticeRsp:
  163. properties:
  164. auditoruserid:
  165. description: 审核人
  166. type: integer
  167. auditremark:
  168. description: 审核备注
  169. type: string
  170. audittime:
  171. description: 审核日期
  172. type: string
  173. autoid:
  174. description: 自增ID
  175. type: integer
  176. content:
  177. description: 内容
  178. type: string
  179. createtime:
  180. description: 创建时间
  181. type: string
  182. creatorid:
  183. description: 建仓人
  184. type: integer
  185. endtime:
  186. description: 结束时间
  187. type: string
  188. istop:
  189. description: 是否置顶 - 0:不置顶 1:置顶
  190. type: integer
  191. msgiconurl:
  192. description: 消息图标Url
  193. type: string
  194. msgtype:
  195. description: 消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知
  196. type: integer
  197. publisher:
  198. description: 消息发布者
  199. type: string
  200. readed:
  201. description: 是否已读
  202. type: boolean
  203. scheduletime:
  204. description: 计划发送时间
  205. type: string
  206. sendtype:
  207. description: 推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)
  208. type: integer
  209. sentstatus:
  210. description: 推送状态 - 0:未推送 1:已推送 2:审核拒绝
  211. type: integer
  212. title:
  213. description: 标题
  214. type: string
  215. userid:
  216. description: 会员/投资者ID推送方式 为 个人时,填写投资者ID
  217. type: integer
  218. required:
  219. - autoid
  220. type: object
  221. common.QueryProvincesAndCitiesRsp:
  222. properties:
  223. cities:
  224. description: 市
  225. items:
  226. $ref: '#/definitions/models.Division'
  227. type: array
  228. province:
  229. $ref: '#/definitions/models.Division'
  230. description: 省
  231. type: object
  232. common.QueryTableDefineRsp:
  233. properties:
  234. columns:
  235. description: 列头信息数组
  236. items:
  237. $ref: '#/definitions/models.Tablecolumnconfig'
  238. type: array
  239. remark:
  240. description: Remark
  241. type: string
  242. tabelmenu:
  243. description: 列表菜单
  244. type: string
  245. tablekey:
  246. description: 列表Key
  247. type: string
  248. tablename:
  249. description: 列表名称
  250. type: string
  251. tabletype:
  252. description: 列表类型 - 1:管理端 2:终端
  253. type: integer
  254. required:
  255. - tablekey
  256. type: object
  257. common.QueryTraderMenuRsp:
  258. properties:
  259. OperationMenu:
  260. description: 功能菜单
  261. items:
  262. $ref: '#/definitions/models.OperationPrimaryMenu'
  263. type: array
  264. QuoteMenu:
  265. description: 报价牌分类菜单
  266. items:
  267. $ref: '#/definitions/models.QuotePrimaryMenu'
  268. type: array
  269. type: object
  270. cptrade.Cptradepositioncancel:
  271. properties:
  272. accountid:
  273. description: 申请人账户ID
  274. type: integer
  275. applystatus:
  276. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  277. type: integer
  278. applytime:
  279. description: 申请时间
  280. type: string
  281. cancelid:
  282. description: 注销ID(SEQ_CPTRADE_POSITIONCANCEL)
  283. type: integer
  284. cancelqty:
  285. description: 注销数量
  286. type: integer
  287. createtime:
  288. description: 创建时间
  289. type: string
  290. creatorid:
  291. description: 创建人ID
  292. type: integer
  293. creatorname:
  294. description: 创建人
  295. type: string
  296. goodscode:
  297. description: 订单商品代码
  298. type: string
  299. goodsid:
  300. description: 商品ID
  301. type: integer
  302. goodsname:
  303. description: 订单商品名称
  304. type: string
  305. goodunit:
  306. description: 报价单位
  307. type: string
  308. handlestatus:
  309. description: 处理状态
  310. type: integer
  311. marketid:
  312. description: 市场ID
  313. type: integer
  314. marketname:
  315. description: 市场名称
  316. type: string
  317. tradedate:
  318. description: 交易日(yyyyMMdd)
  319. type: string
  320. userid:
  321. description: 申请人ID
  322. type: integer
  323. required:
  324. - cancelid
  325. type: object
  326. cptrade.Cptradepresaleapply:
  327. properties:
  328. accountid:
  329. description: 申请人账户ID
  330. type: integer
  331. applyid:
  332. description: 申请ID(181+Unix秒时间戳(10位)+xxxxxx)
  333. type: integer
  334. applyremark:
  335. description: 申请备注
  336. type: string
  337. applystatus:
  338. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  339. type: integer
  340. applytime:
  341. description: 申请时间
  342. type: string
  343. attachmenturl:
  344. description: 附件地址
  345. type: string
  346. endtime:
  347. description: 预售结束时间
  348. type: string
  349. goodscode:
  350. description: 商品代码
  351. type: string
  352. goodsid:
  353. description: 商品ID
  354. type: integer
  355. goodsname:
  356. description: 商品名称
  357. type: string
  358. goodunit:
  359. description: 报价单位
  360. type: string
  361. handlestatus:
  362. description: 处理状态
  363. type: integer
  364. marketid:
  365. description: 预售市场ID
  366. type: integer
  367. marketname:
  368. description: 预售市场名称
  369. type: string
  370. presaleqty:
  371. description: 预售数量
  372. type: integer
  373. relatedgoodscode:
  374. description: 关联交易合约代码
  375. type: string
  376. relatedgoodsid:
  377. description: 关联交易合约ID
  378. type: integer
  379. relatedgoodsname:
  380. description: 关联交易合约名称
  381. type: string
  382. starttime:
  383. description: 预售开始时间
  384. type: string
  385. tradedate:
  386. description: 交易日(yyyyMMdd)
  387. type: string
  388. trademode:
  389. description: 交易模式 - 16:挂牌点选 21:大宗竞拍
  390. type: integer
  391. userid:
  392. description: 申请人ID
  393. type: integer
  394. required:
  395. - applyid
  396. type: object
  397. cptrade.Cptradeusergoodsdata:
  398. properties:
  399. EnabledQty:
  400. description: 可用量
  401. type: integer
  402. GoodsCode:
  403. description: 订单商品代码
  404. type: string
  405. GoodsName:
  406. description: 订单商品名称
  407. type: string
  408. WRStandardCode:
  409. description: 仓单标准代码
  410. type: string
  411. WRStandardName:
  412. description: 仓单标准名称
  413. type: string
  414. accountid:
  415. description: 账户ID
  416. type: integer
  417. cancelqty:
  418. description: 注销量
  419. type: integer
  420. curpresaleqty:
  421. description: 当前预售量
  422. type: integer
  423. deliveryqty:
  424. description: 交割量
  425. type: integer
  426. freezeamount:
  427. description: 冻结金额
  428. type: number
  429. goodsid:
  430. description: 商品ID
  431. type: integer
  432. goodunit:
  433. description: 报价单位
  434. type: string
  435. hasspotfreeze:
  436. description: 是否有现货冻结 - 0:否 1:有
  437. type: integer
  438. inqty:
  439. description: 转入量(总数量)
  440. type: integer
  441. marketid:
  442. description: 市场ID
  443. type: integer
  444. presaledamount:
  445. description: 已预售总金额
  446. type: integer
  447. presaledqty:
  448. description: 已预售量
  449. type: integer
  450. userid:
  451. description: 用户ID
  452. type: integer
  453. wrstandardid:
  454. description: 仓单标准ID
  455. type: integer
  456. required:
  457. - accountid
  458. - goodsid
  459. type: object
  460. cptrade.QueryCPTradeMyBidRsp:
  461. properties:
  462. accountid:
  463. description: 账户ID[报价币种]
  464. type: integer
  465. goodsid:
  466. description: 商品ID
  467. type: integer
  468. goodunit:
  469. description: 报价单位
  470. type: string
  471. marketid:
  472. description: 市场ID
  473. type: integer
  474. orderid:
  475. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  476. type: integer
  477. orderprice:
  478. description: 委托价格
  479. type: number
  480. orderqty:
  481. description: 委托数量
  482. type: integer
  483. ordertime:
  484. description: 委托时间
  485. type: string
  486. ordertotalprice:
  487. description: 货款金额(委托总价格=委托价格*委托数量*合约单位)
  488. type: number
  489. ordertotalweight:
  490. description: 竞拍总重量(委托总重量=委托数量*合约单位)
  491. type: integer
  492. totaltotalprice:
  493. description: 成交货款金额(成交总价格=成交价格*成交数量*合约单位)
  494. type: number
  495. tradeprice:
  496. description: 成交价格
  497. type: number
  498. tradeqty:
  499. description: 成交数量
  500. type: integer
  501. required:
  502. - accountid
  503. - goodsid
  504. - marketid
  505. - orderid
  506. - orderqty
  507. - ordertime
  508. - tradeprice
  509. - tradeqty
  510. type: object
  511. cptrade.QueryCPTradeOrderDetailRsq:
  512. properties:
  513. accountid:
  514. description: 账户ID[报价币种]
  515. type: integer
  516. buildtype:
  517. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  518. type: integer
  519. buyorsell:
  520. description: 买卖 - 0:买 1:卖
  521. type: integer
  522. cancelorderid:
  523. description: 撤单单号(撤单时填写)
  524. type: integer
  525. cancelqty:
  526. description: 撤单数量
  527. type: integer
  528. clientordertime:
  529. description: 客户端委托时间
  530. type: string
  531. clientticket:
  532. description: 客户端流水号
  533. type: string
  534. clienttype:
  535. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  536. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  537. type: integer
  538. closeexchagechargevalue:
  539. description: 平仓交易所手续费设置值
  540. type: number
  541. closefeealgorithm:
  542. description: 平仓手续费收取方式 1:比率 2:固定
  543. type: integer
  544. closefreezecharge:
  545. description: 平仓冻结手续费(先建后平操作,需要记录)
  546. type: number
  547. closememberchargevalue:
  548. description: 平仓会员手续费设置值
  549. type: number
  550. closeqty:
  551. description: 平仓数量(先建后平操作 需要记录)
  552. type: integer
  553. closetradeqty:
  554. description: 平仓成交数量(先建后平操作,需要记录)
  555. type: integer
  556. closeunfreezecharge:
  557. description: 平仓解冻手续费(先建后平操作,需要记录)
  558. type: number
  559. delistingtype:
  560. description: 摘牌类型 - 1:价格最优 2:点选成交
  561. type: integer
  562. freezecharge:
  563. description: 冻结手续费
  564. type: number
  565. freezemargin:
  566. description: 冻结保证金(冻结交易金额)
  567. type: number
  568. gcaccountid:
  569. description: 账户ID[合约币种]
  570. type: integer
  571. goodsid:
  572. description: 商品ID
  573. type: integer
  574. isconfirmexercise:
  575. description: 是否确认行权- 0:否 1:是
  576. type: integer
  577. ispreexercise:
  578. description: 是否预申报- 0:否 1:是
  579. type: integer
  580. listingselecttype:
  581. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  582. type: integer
  583. marginalgorithm:
  584. description: 保证金收取方式 1:比率 2:固定
  585. type: integer
  586. marginvalue:
  587. description: 即市保证金设置值
  588. type: number
  589. marketid:
  590. description: 市场ID
  591. type: integer
  592. marketmaxsub:
  593. description: 市价最大偏移范围
  594. type: number
  595. memberuserid:
  596. description: 所属会员UserID
  597. type: integer
  598. openexchagechargevalue:
  599. description: 建仓交易所手续费设置值
  600. type: number
  601. openfeealgorithm:
  602. description: 建仓手续费收取方式 1:比率 2:固定
  603. type: integer
  604. openfreezecharge:
  605. description: 开仓冻结手续费(先建后平操作,需要记录)
  606. type: number
  607. openmemberchargevalue:
  608. description: 建仓会员手续费设置值
  609. type: number
  610. openqty:
  611. description: 开仓数量(先建后平操作,需要记录)
  612. type: integer
  613. opentradeqty:
  614. description: 开仓成交数量(先建后平操作,需要记录)
  615. type: integer
  616. openunfreezecharge:
  617. description: 开仓解冻手续费(先建后平操作,需要记录)
  618. type: number
  619. operatetype:
  620. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  621. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  622. 15:管理端协议转让
  623. type: integer
  624. operatorid:
  625. description: 登录账号(LoginID)
  626. type: integer
  627. optiontype:
  628. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  629. type: integer
  630. orderprice:
  631. description: 委托价格
  632. type: number
  633. orderqty:
  634. description: 委托数量
  635. type: integer
  636. ordersrc:
  637. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  638. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  639. type: integer
  640. orderstatus:
  641. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  642. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  643. 16:成交失败违约(荷兰式竞拍专用)
  644. type: integer
  645. ordertime:
  646. description: 委托时间
  647. type: string
  648. preexerciseprice:
  649. description: 预申报价格
  650. type: number
  651. premium:
  652. description: 权利金
  653. type: number
  654. preorderid:
  655. description: 关联预埋单号(止盈止损单时填写)
  656. type: integer
  657. pricemode:
  658. description: '取价方式 - 1:市价 2: 限价'
  659. type: integer
  660. quoteid:
  661. description: 报价单ID
  662. type: integer
  663. relatedid:
  664. description: 关联单号(交割单)
  665. type: integer
  666. retcode:
  667. description: 错误代码
  668. type: integer
  669. sessionid:
  670. description: 会话ID
  671. type: integer
  672. strorderid:
  673. description: 委托单号
  674. type: string
  675. tradedate:
  676. description: 交易日(yyyyMMdd)
  677. type: string
  678. tradeproperty:
  679. description: 交易属性
  680. type: integer
  681. tradeqty:
  682. description: 成交数量
  683. type: integer
  684. unfreezecharge:
  685. description: 解冻手续费
  686. type: number
  687. unfreezemargin:
  688. description: 解冻保证金
  689. type: number
  690. updatetime:
  691. description: 更新时间
  692. type: string
  693. uuid:
  694. description: 发起端唯一id
  695. type: string
  696. validtime:
  697. description: 有效期限
  698. type: string
  699. validtype:
  700. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  701. type: integer
  702. volumetype:
  703. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  704. type: integer
  705. required:
  706. - accountid
  707. - buildtype
  708. - buyorsell
  709. - goodsid
  710. - marketid
  711. - memberuserid
  712. - operatetype
  713. - orderqty
  714. - ordertime
  715. - pricemode
  716. - strorderid
  717. - tradedate
  718. - validtype
  719. type: object
  720. cptrade.QueryMyCPTradeGoodsRsp:
  721. properties:
  722. accountid:
  723. description: 卖方账户ID
  724. type: integer
  725. agreeunit:
  726. description: 合约单位
  727. type: number
  728. applyid:
  729. description: 关联申请ID
  730. type: integer
  731. attachmenturl:
  732. description: 附件地址
  733. type: string
  734. createtime:
  735. description: 创建时间
  736. type: string
  737. currencyid:
  738. description: 报价货币ID
  739. type: integer
  740. decimalplace:
  741. description: 报价小数位
  742. type: integer
  743. endtime:
  744. description: 预售结束时间
  745. type: string
  746. floorprice:
  747. description: 底价[大宗式竞拍]
  748. type: number
  749. goodscode:
  750. description: 商品代码(预售)
  751. type: string
  752. goodsdetail:
  753. description: 详情[大宗]
  754. type: string
  755. goodsid:
  756. description: 商品ID(自增ID SEQ_GOODS)
  757. type: integer
  758. goodsname:
  759. description: 商品名称(预售)
  760. type: string
  761. goodunit:
  762. description: 报价单位
  763. type: string
  764. goodunitid:
  765. description: 报价单位ID
  766. type: integer
  767. marketid:
  768. description: 所属市场ID
  769. type: integer
  770. marketname:
  771. description: 预售市场名称
  772. type: string
  773. presaledamount:
  774. description: 已预售总金额(预售结束时更新)
  775. type: number
  776. presaledqty:
  777. description: 已预售量(预售结束时更新)
  778. type: integer
  779. presalemode:
  780. description: 预售模式 - 1:一口价 2:大宗式竞拍
  781. type: integer
  782. presaleqty:
  783. description: 预售数量
  784. type: integer
  785. refprice:
  786. description: 参考价格[一口价]
  787. type: number
  788. relatedgoodscode:
  789. description: 商品代码(订单)
  790. type: string
  791. relatedgoodsid:
  792. description: 关联交易合约ID
  793. type: integer
  794. relatedgoodsname:
  795. description: 商品名称(订单)
  796. type: string
  797. relatedmarketid:
  798. description: 关联交易合约市场ID
  799. type: integer
  800. sellstatus:
  801. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  802. type: integer
  803. startprice:
  804. description: 起拍价[大宗式竞拍]
  805. type: number
  806. starttime:
  807. description: 预售开始时间
  808. type: string
  809. tradedate:
  810. description: 交易日(yyyyMMdd)
  811. type: string
  812. tradeprice:
  813. description: 成交价[大宗]
  814. type: number
  815. userid:
  816. description: 卖方用户ID
  817. type: integer
  818. required:
  819. - goodscode
  820. - goodsid
  821. - goodsname
  822. - marketid
  823. - relatedgoodscode
  824. - relatedgoodsname
  825. type: object
  826. cptrade.QueryPresaleGoodsExRsp:
  827. properties:
  828. attachmenturl:
  829. description: 附件地址
  830. type: string
  831. createtime:
  832. description: 创建时间
  833. type: string
  834. endtime:
  835. description: 预售结束时间
  836. type: string
  837. floorprice:
  838. description: 底价[大宗式竞拍]
  839. type: number
  840. goodsdetail:
  841. description: 详情[大宗]
  842. type: string
  843. goodsid:
  844. description: 商品ID(预售)
  845. type: integer
  846. goodunit:
  847. description: 报价单位
  848. type: string
  849. marketid:
  850. description: 预售市场ID - 根据预售模式选择市场
  851. type: integer
  852. presaledamount:
  853. description: 已预售总金额(预售结束时更新)
  854. type: number
  855. presaledqty:
  856. description: 已预售量(预售结束时更新)
  857. type: integer
  858. presalemode:
  859. description: 预售模式 - 1:一口价 2:大宗式竞拍
  860. type: integer
  861. presaleqty:
  862. description: 预售数量
  863. type: integer
  864. refprice:
  865. description: 参考价格[一口价]
  866. type: number
  867. relatedgoodsid:
  868. description: 关联交易合约ID
  869. type: integer
  870. relatedmarketid:
  871. description: 关联交易合约市场ID
  872. type: integer
  873. sellstatus:
  874. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  875. type: integer
  876. startprice:
  877. description: 起拍价[大宗式竞拍]
  878. type: number
  879. starttime:
  880. description: 预售开始时间
  881. type: string
  882. tradedate:
  883. description: 交易日(yyyyMMdd)
  884. type: string
  885. tradeprice:
  886. description: 成交价[大宗]
  887. type: number
  888. required:
  889. - goodsid
  890. type: object
  891. delivery.QueryDeliveryRelationRsp:
  892. properties:
  893. begindate:
  894. description: 起始日期(yyyyMMdd)
  895. type: string
  896. buytemplateid:
  897. description: 买履约计划模板ID
  898. type: integer
  899. deliverygoodscode:
  900. description: 品种代码
  901. type: string
  902. deliverygoodsid:
  903. description: 交割商品
  904. type: integer
  905. deliverygoodsname:
  906. description: 品种名称
  907. type: string
  908. deliverymode:
  909. description: 交割方式 - 1:点选式 2:申报式
  910. type: integer
  911. deliverypricerule:
  912. description: 交割价规则- 1:行情价 2:建仓价
  913. type: integer
  914. deliverytype:
  915. description: 交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割
  916. type: integer
  917. enddate:
  918. description: 结束日期(yyyyMMdd)
  919. type: string
  920. enumdicname:
  921. description: 品类单位名称
  922. type: string
  923. goodscode:
  924. description: 商品代码
  925. type: string
  926. goodsid:
  927. description: 交易合约ID
  928. type: integer
  929. goodsname:
  930. description: 商品名称
  931. type: string
  932. marketid:
  933. description: 市场ID
  934. type: integer
  935. mindeliveryqty:
  936. description: 最小交割系数(K)
  937. type: integer
  938. p2deliveryprice:
  939. description: P2合约价格(商品价时填写0,固定值时填写固定值)
  940. type: number
  941. p2deliveryratio:
  942. description: P2合约系数(p)
  943. type: integer
  944. p2goodsid:
  945. description: P2合约ID
  946. type: integer
  947. p2pricemode:
  948. description: P2合约价格方式 - 1:商品价 2:固定值
  949. type: integer
  950. pdeliveryprice:
  951. description: P合约价格(商品价时填写0,固定值时填写固定值)
  952. type: number
  953. pdeliveryratio:
  954. description: P合约系数(n)
  955. type: integer
  956. pgoodscode:
  957. description: p合约代码
  958. type: string
  959. pgoodsid:
  960. description: P合约ID
  961. type: integer
  962. ppricemode:
  963. description: P合约价格方式 - 1:商品价 2:固定值
  964. type: integer
  965. rratio:
  966. description: 兑换系数(R)
  967. type: integer
  968. rratio1:
  969. description: 兑换系数(交易合约)(R1)
  970. type: integer
  971. rratio2:
  972. description: 兑换系数(仓单标准)(R2)
  973. type: integer
  974. selltemplateid:
  975. description: 卖履约计划模板ID
  976. type: integer
  977. wrstandardid:
  978. description: 仓单标准ID
  979. type: integer
  980. xdeliveryratio:
  981. description: 交易合约系数(m)
  982. type: integer
  983. required:
  984. - begindate
  985. - enddate
  986. - goodsid
  987. - mindeliveryqty
  988. - xdeliveryratio
  989. type: object
  990. ermcp.ExposureDetailRsp:
  991. properties:
  992. areauserid:
  993. description: 机构ID
  994. type: integer
  995. changeQty:
  996. description: 套保变动量
  997. type: number
  998. contracttype:
  999. description: 现货合同类型 - 1:采购 -1:销售
  1000. type: integer
  1001. convertfactor:
  1002. description: 标仓系数
  1003. type: number
  1004. convertratio:
  1005. description: 套保系数
  1006. type: number
  1007. createtime:
  1008. description: 时间
  1009. type: string
  1010. enumdicname:
  1011. description: 现货商品单位名称
  1012. type: string
  1013. logtype:
  1014. description: 类型 - 1:套保计划 2:现货合同
  1015. type: integer
  1016. middlegoodsId:
  1017. description: 套保商品id
  1018. type: integer
  1019. middlegoodscode:
  1020. description: 套保商品代码
  1021. type: string
  1022. middlegoodsname:
  1023. description: 套保商品名称
  1024. type: string
  1025. qty:
  1026. description: 数量
  1027. type: number
  1028. relateNo:
  1029. description: 现货合同/套保计划编号
  1030. type: string
  1031. wrstandardcode:
  1032. description: 现货商品代码
  1033. type: string
  1034. wrstandardid:
  1035. description: 现货商品ID
  1036. type: integer
  1037. wrstandardname:
  1038. description: 现货商品名称
  1039. type: string
  1040. type: object
  1041. ermcp.ExposureHedgePosDetailRsp:
  1042. properties:
  1043. buyorsell:
  1044. description: 买卖方向 0-买 1-卖
  1045. type: integer
  1046. channelbuildtype:
  1047. description: 开平方向 1-建仓 2-平仓
  1048. type: integer
  1049. goodscode:
  1050. description: 商品代码
  1051. type: string
  1052. goodsname:
  1053. description: 商品名称
  1054. type: string
  1055. hedgegoodsid:
  1056. description: 商品id
  1057. type: integer
  1058. tradeqty:
  1059. description: 数量(成交数量)
  1060. type: integer
  1061. tradetime:
  1062. description: 时间(成交时间)
  1063. type: string
  1064. type: object
  1065. ermcp.ExposureHedgePositionRsp:
  1066. properties:
  1067. accountid:
  1068. description: 资金账号[外部母账户]
  1069. type: integer
  1070. curbuyposition:
  1071. description: 期末买头寸
  1072. type: integer
  1073. cursellposition:
  1074. description: 期末卖头寸
  1075. type: integer
  1076. curtdbuyposition:
  1077. description: 期末今日买头寸
  1078. type: integer
  1079. curtdsellposition:
  1080. description: 期末今日卖头寸
  1081. type: integer
  1082. curydbuyposition:
  1083. description: 期末上日买头寸
  1084. type: integer
  1085. curydsellposition:
  1086. description: 期末上日卖头寸
  1087. type: integer
  1088. decreaseqty:
  1089. description: 减少数量 = (期末卖头寸 - 期初卖头寸)*-1
  1090. type: integer
  1091. fretdbuyposition:
  1092. description: 冻结今日买头寸
  1093. type: integer
  1094. fretdsellposition:
  1095. description: 冻结今日卖头寸
  1096. type: integer
  1097. freydbuyposition:
  1098. description: 冻结上日买头寸
  1099. type: integer
  1100. freydsellposition:
  1101. description: 冻结上日卖头寸
  1102. type: integer
  1103. goodscode:
  1104. description: 商品代码
  1105. type: string
  1106. goodsid:
  1107. description: 商品id
  1108. type: integer
  1109. goodsname:
  1110. description: 商品名称
  1111. type: string
  1112. hedgeaccountcode:
  1113. description: 对冲账号
  1114. type: string
  1115. hedgegoodsid:
  1116. description: 对冲合约ID
  1117. type: integer
  1118. increaseqty:
  1119. description: 增加数量 = 期末买头寸 - 期初买头寸
  1120. type: integer
  1121. marketid:
  1122. description: 市场ID
  1123. type: integer
  1124. relateduserid:
  1125. description: 关联用户id
  1126. type: integer
  1127. totalcurqty:
  1128. description: 当前数量(净头寸) = 期末买头寸 - 期末卖头寸
  1129. type: integer
  1130. totalydqty:
  1131. description: 昨日数量(净头寸) = 期初买头寸 - 期初卖头寸
  1132. type: integer
  1133. tradedate:
  1134. description: 交易日(yyyyMMdd)
  1135. type: string
  1136. ydbuyposition:
  1137. description: 期初买头寸
  1138. type: integer
  1139. ydsellposition:
  1140. description: 期初卖头寸
  1141. type: integer
  1142. type: object
  1143. ermcp.ExposureSpotDetailRsp:
  1144. properties:
  1145. contracttype:
  1146. description: 合同类型 1-采购 -1-销售
  1147. type: integer
  1148. createtime:
  1149. description: 创建时间
  1150. type: string
  1151. enumdicname:
  1152. description: 现货商品单位名称
  1153. type: string
  1154. logtype:
  1155. description: 记录类型 1-套保 2-现货合同
  1156. type: integer
  1157. qty:
  1158. description: 数量
  1159. type: number
  1160. recordname:
  1161. description: 类型名称
  1162. type: string
  1163. relatedid:
  1164. description: 套保计划ID/现货合同ID
  1165. type: string
  1166. relatedno:
  1167. description: 编号
  1168. type: string
  1169. strtime:
  1170. description: 时间
  1171. type: string
  1172. wrstandardcode:
  1173. description: 现货商品代码
  1174. type: string
  1175. wrstandardname:
  1176. description: 现货商品名称
  1177. type: string
  1178. type: object
  1179. ermcp.ExposureSpotRsp:
  1180. properties:
  1181. areauserid:
  1182. description: 所属机构
  1183. type: integer
  1184. decreaseqty:
  1185. description: 减少数量=-(销售已定价数量+采购计划数量)
  1186. type: number
  1187. increaseqty:
  1188. description: 增加数量=销售计划数量+采购已定价数量
  1189. type: number
  1190. oritoalspotqty:
  1191. description: 昨日数量
  1192. type: number
  1193. totalspotqty:
  1194. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  1195. type: number
  1196. updatetime:
  1197. description: 更新时间
  1198. type: string
  1199. wrstandardcode:
  1200. description: 现货品种代码
  1201. type: string
  1202. wrstandardid:
  1203. description: 现货商品ID
  1204. type: integer
  1205. wrstandardname:
  1206. description: 现货品种
  1207. type: string
  1208. type: object
  1209. ermcp.HisExposureRsp:
  1210. properties:
  1211. data:
  1212. description: 历史敞口
  1213. items:
  1214. $ref: '#/definitions/models.ErmcpHisExposure'
  1215. type: array
  1216. enumdicname:
  1217. description: 单位名称
  1218. type: string
  1219. middlegoodscode:
  1220. description: 套保品种代码
  1221. type: string
  1222. middlegoodsid:
  1223. description: 套保品种ID
  1224. type: integer
  1225. middlegoodsname:
  1226. description: 套保品种名称
  1227. type: string
  1228. type: object
  1229. ermcp.PendingAuditCntRsp:
  1230. properties:
  1231. areastockqty:
  1232. description: '待审核数量: 库存申请'
  1233. type: integer
  1234. businessdjqty:
  1235. description: '待审核数量: 点价'
  1236. type: integer
  1237. businessfpqty:
  1238. description: '待审核数量: 发票'
  1239. type: integer
  1240. businessjsqty:
  1241. description: '待审核数量: 结算'
  1242. type: integer
  1243. businesskxqty:
  1244. description: '待审核数量: 款项'
  1245. type: integer
  1246. hedgeplanqty:
  1247. description: '待审核数量: 套保计划'
  1248. type: integer
  1249. spotcontractqty:
  1250. description: '待审核数量: 现货合同'
  1251. type: integer
  1252. userqty:
  1253. description: '待审核数量: 用户'
  1254. type: integer
  1255. type: object
  1256. ermcp.QryAvalidGPRsp:
  1257. properties:
  1258. goodsgroupid:
  1259. description: 期货品种id
  1260. type: integer
  1261. goodsgroupname:
  1262. description: 期货品种名称
  1263. type: string
  1264. goodunitid:
  1265. description: 品种单位id
  1266. type: integer
  1267. goodunitname:
  1268. description: 品种单位名称
  1269. type: string
  1270. outergroupcode:
  1271. description: 期货品种代码
  1272. type: string
  1273. type: object
  1274. ermcp.QryBusinessDjRsp:
  1275. properties:
  1276. amount:
  1277. description: 期初均价
  1278. type: number
  1279. applyid:
  1280. description: 申请人
  1281. type: string
  1282. applyname:
  1283. description: 申请人名称
  1284. type: string
  1285. applystatus:
  1286. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1287. type: integer
  1288. applytime:
  1289. description: 申请时间
  1290. type: string
  1291. attachurl:
  1292. description: 附件
  1293. type: string
  1294. auditid:
  1295. description: 审核人ID
  1296. type: string
  1297. auditname:
  1298. description: 审核人名称
  1299. type: string
  1300. auditremark:
  1301. description: 审核备注
  1302. type: string
  1303. audittime:
  1304. description: 审核时间
  1305. type: string
  1306. buyusername:
  1307. description: 采购方名称
  1308. type: string
  1309. contractno:
  1310. description: 合同编号
  1311. type: string
  1312. contractstatus:
  1313. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1314. type: integer
  1315. contracttype:
  1316. description: 现货合同类型 - 1:采购 -1:销售
  1317. type: integer
  1318. deliverygoodscode:
  1319. description: 现货品种代码
  1320. type: string
  1321. deliverygoodsid:
  1322. description: 现货商品ID
  1323. type: integer
  1324. deliverygoodsname:
  1325. description: 现货品种名称
  1326. type: string
  1327. enumdicname:
  1328. description: 单位名称
  1329. type: string
  1330. goodscode:
  1331. description: 点价合约
  1332. type: string
  1333. goodsname:
  1334. description: 商品名称
  1335. type: string
  1336. operateapplyid:
  1337. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1338. type: string
  1339. operateapplytype:
  1340. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1341. type: integer
  1342. pricedPrice:
  1343. description: 点价价格(非必填)
  1344. type: number
  1345. pricedQty:
  1346. description: 点价数量(非必填)
  1347. type: number
  1348. pricemove:
  1349. description: 升贴水
  1350. type: number
  1351. pricetype:
  1352. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1353. type: integer
  1354. relatedid:
  1355. description: 现货合同ID
  1356. type: string
  1357. sellusername:
  1358. description: 销售方名字
  1359. type: string
  1360. userid:
  1361. description: 用户ID
  1362. type: integer
  1363. wrstandardcode:
  1364. description: 品类代码
  1365. type: string
  1366. wrstandardid:
  1367. description: 品类id
  1368. type: integer
  1369. wrstandardname:
  1370. description: 品类名称
  1371. type: string
  1372. type: object
  1373. ermcp.QryBussinessFpRsp:
  1374. properties:
  1375. applyid:
  1376. description: 申请人
  1377. type: string
  1378. applyname:
  1379. description: 申请人名称
  1380. type: string
  1381. applystatus:
  1382. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1383. type: integer
  1384. applytime:
  1385. description: 申请时间
  1386. type: string
  1387. attachurl:
  1388. description: 附件
  1389. type: string
  1390. auditid:
  1391. description: 审核人ID
  1392. type: string
  1393. auditname:
  1394. description: 审核人名称
  1395. type: string
  1396. auditremark:
  1397. description: 审核备注
  1398. type: string
  1399. audittime:
  1400. description: 审核时间
  1401. type: string
  1402. buyusername:
  1403. description: 采购方名称
  1404. type: string
  1405. contractno:
  1406. description: 合同编号
  1407. type: string
  1408. contractstatus:
  1409. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1410. type: integer
  1411. contracttype:
  1412. description: 现货合同类型 - 1:采购 -1:销售
  1413. type: integer
  1414. deliverygoodscode:
  1415. description: 现货品种代码
  1416. type: string
  1417. deliverygoodsid:
  1418. description: 现货商品ID
  1419. type: integer
  1420. deliverygoodsname:
  1421. description: 现货品种名称
  1422. type: string
  1423. enumdicname:
  1424. description: 单位名称
  1425. type: string
  1426. goodscode:
  1427. description: 点价合约
  1428. type: string
  1429. goodsname:
  1430. description: 商品名称
  1431. type: string
  1432. invoiceamount:
  1433. description: 已开收票金额(销售为开票,采购为收票)
  1434. type: number
  1435. operateapplyid:
  1436. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1437. type: string
  1438. operateapplytype:
  1439. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1440. type: integer
  1441. pricemove:
  1442. description: 升贴水
  1443. type: number
  1444. pricetype:
  1445. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1446. type: integer
  1447. relatedid:
  1448. description: 现货合同ID
  1449. type: string
  1450. sellusername:
  1451. description: 销售方名字
  1452. type: string
  1453. userid:
  1454. description: 用户ID
  1455. type: integer
  1456. wrstandardcode:
  1457. description: 品类代码
  1458. type: string
  1459. wrstandardid:
  1460. description: 品类id
  1461. type: integer
  1462. wrstandardname:
  1463. description: 品类名称
  1464. type: string
  1465. type: object
  1466. ermcp.QryBussinessJsExRsp:
  1467. properties:
  1468. applyid:
  1469. description: 申请人
  1470. type: string
  1471. applyname:
  1472. description: 申请人名称
  1473. type: string
  1474. applystatus:
  1475. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1476. type: integer
  1477. applytime:
  1478. description: 申请时间
  1479. type: string
  1480. attachurl:
  1481. description: 附件
  1482. type: string
  1483. auditid:
  1484. description: 审核人ID
  1485. type: string
  1486. auditname:
  1487. description: 审核人名称
  1488. type: string
  1489. auditremark:
  1490. description: 审核备注
  1491. type: string
  1492. audittime:
  1493. description: 审核时间
  1494. type: string
  1495. buyusername:
  1496. description: 采购方名称
  1497. type: string
  1498. contractno:
  1499. description: 合同编号
  1500. type: string
  1501. contractstatus:
  1502. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1503. type: integer
  1504. contracttype:
  1505. description: 现货合同类型 - 1:采购 -1:销售
  1506. type: integer
  1507. deliverygoodscode:
  1508. description: 现货品种代码
  1509. type: string
  1510. deliverygoodsid:
  1511. description: 现货商品ID
  1512. type: integer
  1513. deliverygoodsname:
  1514. description: 现货品种名称
  1515. type: string
  1516. enumdicname:
  1517. description: 单位名称
  1518. type: string
  1519. goodscode:
  1520. description: 点价合约
  1521. type: string
  1522. goodsname:
  1523. description: 商品名称
  1524. type: string
  1525. operateapplyid:
  1526. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1527. type: string
  1528. operateapplytype:
  1529. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1530. type: integer
  1531. pricemove:
  1532. description: 升贴水
  1533. type: number
  1534. pricetype:
  1535. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1536. type: integer
  1537. reckontype:
  1538. description: 结算类型
  1539. type: string
  1540. reckonvalue:
  1541. description: 值
  1542. type: number
  1543. relatedid:
  1544. description: 现货合同ID
  1545. type: string
  1546. sellusername:
  1547. description: 销售方名字
  1548. type: string
  1549. userid:
  1550. description: 用户ID
  1551. type: integer
  1552. wrstandardcode:
  1553. description: 品类代码
  1554. type: string
  1555. wrstandardid:
  1556. description: 品类id
  1557. type: integer
  1558. wrstandardname:
  1559. description: 品类名称
  1560. type: string
  1561. type: object
  1562. ermcp.QryBussinessJsRsp:
  1563. properties:
  1564. addmargin:
  1565. description: 追加保证金(非必填)
  1566. type: number
  1567. applyid:
  1568. description: 申请人
  1569. type: string
  1570. applyname:
  1571. description: 申请人名称
  1572. type: string
  1573. applystatus:
  1574. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1575. type: integer
  1576. applytime:
  1577. description: 申请时间
  1578. type: string
  1579. attachurl:
  1580. description: 附件
  1581. type: string
  1582. auditid:
  1583. description: 审核人ID
  1584. type: string
  1585. auditname:
  1586. description: 审核人名称
  1587. type: string
  1588. auditremark:
  1589. description: 审核备注
  1590. type: string
  1591. audittime:
  1592. description: 审核时间
  1593. type: string
  1594. buyusername:
  1595. description: 采购方名称
  1596. type: string
  1597. contractno:
  1598. description: 合同编号
  1599. type: string
  1600. contractstatus:
  1601. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1602. type: integer
  1603. contracttype:
  1604. description: 现货合同类型 - 1:采购 -1:销售
  1605. type: integer
  1606. decmargin:
  1607. description: 减少保证金(非必填)
  1608. type: number
  1609. deliverygoodscode:
  1610. description: 现货品种代码
  1611. type: string
  1612. deliverygoodsid:
  1613. description: 现货商品ID
  1614. type: integer
  1615. deliverygoodsname:
  1616. description: 现货品种名称
  1617. type: string
  1618. enumdicname:
  1619. description: 单位名称
  1620. type: string
  1621. goodscode:
  1622. description: 点价合约
  1623. type: string
  1624. goodsname:
  1625. description: 商品名称
  1626. type: string
  1627. operateapplyid:
  1628. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1629. type: string
  1630. operateapplytype:
  1631. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1632. type: integer
  1633. pricemove:
  1634. description: 升贴水
  1635. type: number
  1636. pricetype:
  1637. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1638. type: integer
  1639. reckonadjustamount:
  1640. description: 结算调整金额(非必填)
  1641. type: number
  1642. reckonosamount:
  1643. description: 结算溢短金额(非必填)
  1644. type: number
  1645. reckonotheramount:
  1646. description: 结算其他费用(非必填)
  1647. type: number
  1648. reckonrealqty:
  1649. description: 结算实际数量(非必填)
  1650. type: number
  1651. relatedid:
  1652. description: 现货合同ID
  1653. type: string
  1654. sellusername:
  1655. description: 销售方名字
  1656. type: string
  1657. userid:
  1658. description: 用户ID
  1659. type: integer
  1660. wrstandardcode:
  1661. description: 品类代码
  1662. type: string
  1663. wrstandardid:
  1664. description: 品类id
  1665. type: integer
  1666. wrstandardname:
  1667. description: 品类名称
  1668. type: string
  1669. type: object
  1670. ermcp.QryBussinessKxRsp:
  1671. properties:
  1672. applyid:
  1673. description: 申请人
  1674. type: string
  1675. applyname:
  1676. description: 申请人名称
  1677. type: string
  1678. applystatus:
  1679. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1680. type: integer
  1681. applytime:
  1682. description: 申请时间
  1683. type: string
  1684. attachurl:
  1685. description: 附件
  1686. type: string
  1687. auditid:
  1688. description: 审核人ID
  1689. type: string
  1690. auditname:
  1691. description: 审核人名称
  1692. type: string
  1693. auditremark:
  1694. description: 审核备注
  1695. type: string
  1696. audittime:
  1697. description: 审核时间
  1698. type: string
  1699. buyusername:
  1700. description: 采购方名称
  1701. type: string
  1702. contractno:
  1703. description: 合同编号
  1704. type: string
  1705. contractstatus:
  1706. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1707. type: integer
  1708. contracttype:
  1709. description: 现货合同类型 - 1:采购 -1:销售
  1710. type: integer
  1711. deductamount:
  1712. description: 期初均价
  1713. type: number
  1714. deliverygoodscode:
  1715. description: 现货品种代码
  1716. type: string
  1717. deliverygoodsid:
  1718. description: 现货商品ID
  1719. type: integer
  1720. deliverygoodsname:
  1721. description: 现货品种名称
  1722. type: string
  1723. enumdicname:
  1724. description: 单位名称
  1725. type: string
  1726. goodscode:
  1727. description: 点价合约
  1728. type: string
  1729. goodsname:
  1730. description: 商品名称
  1731. type: string
  1732. kxtype:
  1733. description: 款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)
  1734. type: integer
  1735. operateapplyid:
  1736. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1737. type: string
  1738. operateapplytype:
  1739. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1740. type: integer
  1741. payamount:
  1742. description: 期初均价
  1743. type: number
  1744. pricemove:
  1745. description: 升贴水
  1746. type: number
  1747. pricetype:
  1748. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1749. type: integer
  1750. relatedid:
  1751. description: 现货合同ID
  1752. type: string
  1753. sellusername:
  1754. description: 销售方名字
  1755. type: string
  1756. userid:
  1757. description: 用户ID
  1758. type: integer
  1759. wrstandardcode:
  1760. description: 品类代码
  1761. type: string
  1762. wrstandardid:
  1763. description: 品类id
  1764. type: integer
  1765. wrstandardname:
  1766. description: 品类名称
  1767. type: string
  1768. type: object
  1769. ermcp.QryGGCovertCfgRsp:
  1770. properties:
  1771. convertratio:
  1772. description: 折算系数
  1773. type: number
  1774. destgoodsgroupid:
  1775. description: 目标品种ID
  1776. type: integer
  1777. dstcode:
  1778. description: 目录品种代码
  1779. type: string
  1780. dstexchangecode:
  1781. description: 目标期货交易所
  1782. type: string
  1783. dstname:
  1784. description: 目标品种名称
  1785. type: string
  1786. dstunitid:
  1787. description: 目标品种单位ID
  1788. type: integer
  1789. dstunitidname:
  1790. description: 目标品种单位名称
  1791. type: string
  1792. modifytime:
  1793. description: 修改时间
  1794. type: string
  1795. srccode:
  1796. description: 源品种代码
  1797. type: string
  1798. srcexchangecode:
  1799. description: 源期货交易所
  1800. type: string
  1801. srcgoodsgroupid:
  1802. description: 源品种ID
  1803. type: integer
  1804. srcname:
  1805. description: 源品种名称
  1806. type: string
  1807. srcunitid:
  1808. description: 源品种单位ID
  1809. type: integer
  1810. srcunitidname:
  1811. description: 源品种单位名称
  1812. type: string
  1813. type: object
  1814. ermcp.QryMGChangeLogRsp:
  1815. properties:
  1816. aftervalue:
  1817. description: 变更后
  1818. type: number
  1819. applyid:
  1820. description: 操作人
  1821. type: integer
  1822. applyname:
  1823. description: 操作人名称
  1824. type: string
  1825. applysrc:
  1826. description: 操作来源 - 1:管理端 2:终端
  1827. type: integer
  1828. beforevalue:
  1829. description: 变更前
  1830. type: number
  1831. changelogtype:
  1832. description: 变更流水类型 - 1:套保比率变更
  1833. type: integer
  1834. handlestatus:
  1835. description: 处理状态
  1836. type: integer
  1837. logdatetime:
  1838. description: 流水日期
  1839. type: string
  1840. logid:
  1841. description: 流水ID
  1842. type: integer
  1843. logremark:
  1844. description: 流水备注
  1845. type: string
  1846. middlegoodsid:
  1847. description: 套保品种ID
  1848. type: integer
  1849. tradedate:
  1850. description: 交易日(yyyyMMdd)
  1851. type: string
  1852. updatetime:
  1853. description: 更新时间
  1854. type: string
  1855. type: object
  1856. ermcp.QryMiddleGoodsDetailRsp:
  1857. properties:
  1858. cvList:
  1859. description: 期货品种折算列表
  1860. items:
  1861. $ref: '#/definitions/models.ErmcpGGConvertCfg'
  1862. type: array
  1863. mg:
  1864. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  1865. description: 套保品种基本信息
  1866. wrcList:
  1867. description: 现货品种列表(现货商品折算配置)
  1868. items:
  1869. $ref: '#/definitions/models.WRSConverTDetail'
  1870. type: array
  1871. type: object
  1872. ermcp.QryMiddleGoodsRsp:
  1873. properties:
  1874. areauserid:
  1875. description: 机构用户ID
  1876. type: integer
  1877. createtime:
  1878. description: 修改时间
  1879. type: string
  1880. enumdicname:
  1881. description: 单位名称
  1882. type: string
  1883. evaluateratio:
  1884. description: 估价系数
  1885. type: number
  1886. goodsgroupid:
  1887. description: 关联期货品种ID
  1888. type: integer
  1889. goodsunitid:
  1890. description: 单位ID
  1891. type: integer
  1892. isvalid:
  1893. description: 状态 0-无效(停用) 1-有效(正常)
  1894. type: integer
  1895. middlegoodscode:
  1896. description: 套保品种代码
  1897. type: string
  1898. middlegoodsid:
  1899. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  1900. type: integer
  1901. middlegoodsname:
  1902. description: 套保品种名称
  1903. type: string
  1904. modifytime:
  1905. description: 修改时间
  1906. type: string
  1907. needarbitrageratio:
  1908. description: 套利比例
  1909. type: number
  1910. needhedgeratio:
  1911. description: 套保比率
  1912. type: number
  1913. qtydecimalplace:
  1914. description: 数量小数位
  1915. type: integer
  1916. relatedgoodsid:
  1917. description: 关联交易商品ID
  1918. type: integer
  1919. relatedgoodstype:
  1920. description: 关联商品类型 - 1:期货合约 2:现货品种
  1921. type: integer
  1922. remark:
  1923. description: 备注
  1924. type: string
  1925. type: object
  1926. ermcp.QryOPLogRsp:
  1927. properties:
  1928. aftervalue:
  1929. description: 变更后
  1930. type: number
  1931. applyid:
  1932. description: 操作人ID
  1933. type: string
  1934. applyname:
  1935. description: 操作人名称
  1936. type: string
  1937. beforevalue:
  1938. description: 变更前
  1939. type: number
  1940. biztype:
  1941. description: 业务类型 - 1:套保计划 2:现货合同
  1942. type: integer
  1943. contracttype:
  1944. description: 现货合同类型 - 1:采购 -1:销售
  1945. type: integer
  1946. logvalue:
  1947. description: 数值
  1948. type: number
  1949. operatelogtype:
  1950. description: 操作流水类型
  1951. type: integer
  1952. operatelogtypedesc:
  1953. description: 操作流水类型名称
  1954. type: string
  1955. relatedid:
  1956. description: 现货合同ID\套保计划
  1957. type: string
  1958. updatetime:
  1959. description: 更新时间
  1960. type: string
  1961. type: object
  1962. ermcp.QryUserInfoRsp:
  1963. properties:
  1964. address:
  1965. description: 通讯地址
  1966. type: string
  1967. attachment1:
  1968. description: 附件1
  1969. type: string
  1970. audittime:
  1971. description: 审核时间
  1972. type: string
  1973. cardbackphotourl:
  1974. description: 证件反面图片地址
  1975. type: string
  1976. cardfrontphotourl:
  1977. description: 证件正面图片地址
  1978. type: string
  1979. cardnum:
  1980. description: 证件号码
  1981. type: string
  1982. cardtype:
  1983. description: 证件类型
  1984. type: integer
  1985. cardtypename:
  1986. description: 证件类型名称
  1987. type: string
  1988. cityid:
  1989. description: 市
  1990. type: integer
  1991. contactname:
  1992. description: 联系人
  1993. type: string
  1994. countryid:
  1995. description: 国家
  1996. type: integer
  1997. createtime:
  1998. description: 创建时间
  1999. type: string
  2000. customername:
  2001. description: 企业名称
  2002. type: string
  2003. districtid:
  2004. description: 区域
  2005. type: integer
  2006. email:
  2007. description: 邮件
  2008. type: string
  2009. legalpersonname:
  2010. description: 法人姓名(企业)
  2011. type: string
  2012. memberuserid:
  2013. description: 所属机构ID
  2014. type: integer
  2015. mobile:
  2016. description: 手机号码
  2017. type: string
  2018. modifytime:
  2019. description: 修改时间
  2020. type: string
  2021. nickname:
  2022. description: 昵称
  2023. type: string
  2024. provinceid:
  2025. description: 省
  2026. type: integer
  2027. remark:
  2028. description: 备注
  2029. type: string
  2030. status:
  2031. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  2032. type: integer
  2033. statusdesc:
  2034. description: 账户状态中文描述
  2035. type: string
  2036. taxpayernum:
  2037. description: 纳税人识别号
  2038. type: string
  2039. telphone:
  2040. description: 联系电话
  2041. type: string
  2042. userid:
  2043. description: 用户ID
  2044. type: integer
  2045. userinfotype:
  2046. description: 客户类型
  2047. type: string
  2048. type: object
  2049. ermcp.QryWarehouseRsp:
  2050. properties:
  2051. address:
  2052. description: 详细地址
  2053. type: string
  2054. areauserid:
  2055. description: 所属机构
  2056. type: integer
  2057. autoid:
  2058. description: 自增ID(仓库ID)
  2059. type: integer
  2060. cityid:
  2061. description: 市
  2062. type: integer
  2063. contactname:
  2064. description: 联系人
  2065. type: string
  2066. contactnum:
  2067. description: 联系电话
  2068. type: string
  2069. countryid:
  2070. description: 国家
  2071. type: integer
  2072. createtime:
  2073. description: 创建时间
  2074. type: string
  2075. districtid:
  2076. description: 区
  2077. type: integer
  2078. hasvideo:
  2079. description: 是否有视频 - 0:无 1:有
  2080. type: integer
  2081. provinceid:
  2082. description: 省
  2083. type: integer
  2084. remark:
  2085. description: 审核备注
  2086. type: string
  2087. videourl:
  2088. description: 视频地址
  2089. type: string
  2090. warehousecode:
  2091. description: 仓库代码
  2092. type: string
  2093. warehousename:
  2094. description: 仓库名称
  2095. type: string
  2096. warehousestatus:
  2097. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  2098. type: integer
  2099. warehousetype:
  2100. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  2101. type: integer
  2102. type: object
  2103. ermcp.QueryErmcpTradePositionRsp:
  2104. properties:
  2105. agreeunit:
  2106. description: 合约单位
  2107. type: number
  2108. buyorsell:
  2109. description: 方向 - 0:买 1:卖
  2110. type: integer
  2111. curpositionqty:
  2112. description: 持仓(总仓数量, 期末头寸)
  2113. type: integer
  2114. curtdposition:
  2115. description: 今仓数量(期末今日头寸)
  2116. type: integer
  2117. curtdpositionenabled:
  2118. description: 今仓可用
  2119. type: integer
  2120. decimalplace:
  2121. description: 报价小数位
  2122. type: integer
  2123. enableqty:
  2124. description: 可用(总仓可用)
  2125. type: integer
  2126. exexchangename:
  2127. description: 外部交易所名称
  2128. type: string
  2129. exexehangecode:
  2130. description: 外部交易所代码
  2131. type: string
  2132. exexehangeid:
  2133. description: 外部交易所id
  2134. type: integer
  2135. goodscode:
  2136. description: 商品代码(内部)
  2137. type: string
  2138. goodsid:
  2139. description: 商品ID(自增ID SEQ_GOODS)
  2140. type: integer
  2141. goodsname:
  2142. description: 商品名称
  2143. type: string
  2144. last:
  2145. description: 现价
  2146. type: number
  2147. marketid:
  2148. description: 所属市场ID
  2149. type: integer
  2150. openaverageprice:
  2151. description: 开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位
  2152. type: number
  2153. opencost:
  2154. description: 开仓成本
  2155. type: number
  2156. openpl:
  2157. description: 逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向
  2158. = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位
  2159. type: number
  2160. outgoodscode:
  2161. description: 商品代码(外部)
  2162. type: string
  2163. positionaverageprice:
  2164. description: 持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位
  2165. type: number
  2166. positioncost:
  2167. description: 持仓成本
  2168. type: number
  2169. positionpl:
  2170. description: 盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向
  2171. = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位
  2172. type: number
  2173. positionplrate:
  2174. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  2175. type: number
  2176. usedmargin:
  2177. description: 占用保证金
  2178. type: number
  2179. type: object
  2180. ermcp.RealtimeExposurePositionRsp:
  2181. properties:
  2182. agreeunit:
  2183. description: 合约单位
  2184. type: string
  2185. areauserid:
  2186. description: 所属机构id
  2187. type: integer
  2188. convertratio:
  2189. description: 期货品种系数(折算系数)
  2190. type: number
  2191. curhedgeqty:
  2192. description: 期货套期量 = 当前持仓*期货合约单位*期货品种系数
  2193. type: number
  2194. curqty:
  2195. description: 当前持仓
  2196. type: integer
  2197. diffhedgeqty:
  2198. description: 套保品种变动量=持仓变动量*期货合约单位*期货品种系数
  2199. type: number
  2200. diffqty:
  2201. description: 持仓变动量=当前持仓-昨日持仓
  2202. type: integer
  2203. goodscode:
  2204. description: 商品代码
  2205. type: string
  2206. goodsid:
  2207. description: 商品id
  2208. type: integer
  2209. goodsname:
  2210. description: 商品名称
  2211. type: string
  2212. hedgeaccountcode:
  2213. description: 对冲账号(只有外部账号才有值)
  2214. type: string
  2215. middlegoodscode:
  2216. description: 套保商品代码
  2217. type: string
  2218. middlegoodsid:
  2219. description: 套保商品id
  2220. type: integer
  2221. middlegoodsname:
  2222. description: 套保商品名称
  2223. type: string
  2224. ydqty:
  2225. description: 昨日持仓
  2226. type: integer
  2227. type: object
  2228. ermcp.RealtimeExposureRsp:
  2229. properties:
  2230. AreaUserID:
  2231. description: 所属机构
  2232. type: integer
  2233. BuyFutureQty:
  2234. description: 买入期货数量
  2235. type: number
  2236. BuyPlanQty:
  2237. description: 采购计划数量
  2238. type: number
  2239. BuyPricedQty:
  2240. description: 采购合同已定价数量
  2241. type: number
  2242. MiddleGoodsCode:
  2243. description: 套保品种代码
  2244. type: string
  2245. MiddleGoodsHedgeRatio:
  2246. description: 套保比例
  2247. type: number
  2248. MiddleGoodsID:
  2249. description: 套保品种
  2250. type: integer
  2251. MiddleGoodsName:
  2252. description: 套保品种名称
  2253. type: string
  2254. NeedHedgeExposoure:
  2255. description: 应套保敞口(套保敞口)
  2256. type: number
  2257. NeedHedgeRatio:
  2258. description: 应套保敞口比例
  2259. type: number
  2260. OriBuyFutureQty:
  2261. description: 期初买入期货数量
  2262. type: number
  2263. OriBuyPlanQty:
  2264. description: 期初采购计划数量
  2265. type: number
  2266. OriBuyPricedQty:
  2267. description: 期初采购合同已定价数量
  2268. type: number
  2269. OriSellFutureQty:
  2270. description: 期初卖出期货数量
  2271. type: number
  2272. OriSellPlanQty:
  2273. description: 期初销售计划数量
  2274. type: number
  2275. OriSellPricedQty:
  2276. description: 期初销售合同已定价数量
  2277. type: number
  2278. OriTotalSpotQty:
  2279. description: 期初现货总量
  2280. type: number
  2281. SellFutureQty:
  2282. description: 卖出期货数量
  2283. type: number
  2284. SellPlanQty:
  2285. description: 销售计划数量
  2286. type: number
  2287. SellPricedQty:
  2288. description: 销售合同已定价数量
  2289. type: number
  2290. TotalExposure:
  2291. description: 总敞口 平安:净敞口
  2292. type: number
  2293. TotalFutureQty:
  2294. description: 期货总量 平安:保值净持仓量
  2295. type: number
  2296. TotalHedgeRatio:
  2297. description: 敞口比例
  2298. type: number
  2299. TotalNeedHedgeQty:
  2300. description: 应套保总量(现货应套保总量)
  2301. type: number
  2302. TotalSpotQty:
  2303. description: 现货总量 平安:采销定价净值
  2304. type: number
  2305. arbitrageqty:
  2306. description: 套利量
  2307. type: number
  2308. diffArbitrageQty:
  2309. description: 期初均价
  2310. type: number
  2311. diffExposoureQty:
  2312. description: 期初均价
  2313. type: number
  2314. diffFutuQty:
  2315. description: 期初均价
  2316. type: number
  2317. diffHedgeQty:
  2318. description: 期初均价
  2319. type: number
  2320. diffQty:
  2321. description: 期初均价
  2322. type: number
  2323. diffSpotHedgeQty:
  2324. description: 期初均价
  2325. type: number
  2326. diffSpotQty:
  2327. description: 期初均价
  2328. type: number
  2329. enumdicname:
  2330. description: 单位名称
  2331. type: string
  2332. hedgeqty:
  2333. description: 套保量
  2334. type: number
  2335. needarbitrageqty:
  2336. description: 应套利量
  2337. type: number
  2338. needarbitrageratio:
  2339. description: 套利比例
  2340. type: number
  2341. needhedgeqty:
  2342. description: 应套保量
  2343. type: number
  2344. oriarbitrageqty:
  2345. description: 期初套利量
  2346. type: number
  2347. orihedgeqty:
  2348. description: 期初套保量
  2349. type: number
  2350. orineedhedgeexposoure:
  2351. description: 期初套保敞口
  2352. type: number
  2353. oritotalexposure:
  2354. description: 期初总敞口
  2355. type: number
  2356. oritotalfutureqty:
  2357. description: 期初期货总量
  2358. type: number
  2359. oritotalneedhedgeqty:
  2360. description: 期初现货应套保量
  2361. type: number
  2362. type: object
  2363. erms2.QueryArbitrageStrategyRsp:
  2364. properties:
  2365. applybasis:
  2366. description: 申请基差
  2367. type: number
  2368. asapplyid:
  2369. description: 策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)
  2370. type: string
  2371. asname:
  2372. description: 策略名称
  2373. type: string
  2374. asno:
  2375. description: 策略编号
  2376. type: string
  2377. basischangepl:
  2378. description: 基差变动损益[结算更新]
  2379. type: number
  2380. biztype:
  2381. description: 业务类型 - 1:正向套利 -1:反向套利
  2382. type: integer
  2383. closetradedate:
  2384. description: 完结交易日(yyyyMMdd)
  2385. type: string
  2386. curbasis:
  2387. description: 当前基差[结算更新]
  2388. type: number
  2389. deliverygoodsid:
  2390. description: 现货品种ID
  2391. type: integer
  2392. futureavgprice:
  2393. description: 期货建仓均价
  2394. type: number
  2395. futurecloseamount:
  2396. description: 期货平仓金额
  2397. type: number
  2398. futurecloseqty:
  2399. description: 期货平仓数量
  2400. type: number
  2401. futureopenamount:
  2402. description: 期货开仓金额
  2403. type: number
  2404. futureopenqty:
  2405. description: 期货开仓数量
  2406. type: number
  2407. futurepl:
  2408. description: 期货总盈亏[结算更新]
  2409. type: number
  2410. futureqty:
  2411. description: 期货持仓数量
  2412. type: number
  2413. futurequote:
  2414. description: 期货额度
  2415. type: number
  2416. goodsgroupid:
  2417. description: 期货品种ID
  2418. type: integer
  2419. marketid:
  2420. description: 市场ID
  2421. type: integer
  2422. netexposure:
  2423. description: 单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量
  2424. type: number
  2425. netexposurepl:
  2426. description: 净敞口损益 = TotalPL - BasisChangePL[结算更新]
  2427. type: number
  2428. netexposurerate:
  2429. description: 净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0
  2430. type: number
  2431. openbasis:
  2432. description: 建仓基差
  2433. type: number
  2434. pricedspotqty:
  2435. description: 已定价现货数量
  2436. type: number
  2437. pricedspotqtynotax:
  2438. description: 已定价现货不含税数量
  2439. type: number
  2440. remark:
  2441. description: 备注
  2442. type: string
  2443. spotavgprice:
  2444. description: 现货均价
  2445. type: number
  2446. spotbuyamount:
  2447. description: 现货采购金额
  2448. type: number
  2449. spotbuyqty:
  2450. description: 现货采购数量
  2451. type: number
  2452. spotpl:
  2453. description: 现货总盈亏[结算更新]
  2454. type: number
  2455. spotquota:
  2456. description: 现货额度
  2457. type: number
  2458. spotsellamount:
  2459. description: 现货销售金额
  2460. type: number
  2461. spotsellqty:
  2462. description: 现货销售数量
  2463. type: number
  2464. spotusedquota:
  2465. description: 现货占用资金
  2466. type: number
  2467. strategystatus:
  2468. description: 策略状态 - 0:未结束 1:已结束
  2469. type: integer
  2470. totalpl:
  2471. description: 业务合计损益 = FuturePL + SpotPL [结算更新]
  2472. type: number
  2473. tradedate:
  2474. description: 交易日(yyyyMMdd)
  2475. type: string
  2476. updatetime:
  2477. description: 更新时间
  2478. type: string
  2479. usedquota:
  2480. description: 已占用资金
  2481. type: number
  2482. userid:
  2483. description: 所属机构
  2484. type: integer
  2485. required:
  2486. - asapplyid
  2487. type: object
  2488. erms2.QueryInnerTradeDetailRsp:
  2489. properties:
  2490. accountid:
  2491. description: 账号ID
  2492. type: integer
  2493. agreeunit:
  2494. description: 合约单位
  2495. type: number
  2496. asapplyid:
  2497. description: 策略申请ID
  2498. type: integer
  2499. asname:
  2500. description: 策略名称
  2501. type: string
  2502. asno:
  2503. description: 策略编号
  2504. type: string
  2505. buyorsell:
  2506. description: 方向 - 0:买 1:卖
  2507. type: integer
  2508. channelbuildtype:
  2509. description: 委托单据类型 0:无 1:建仓 2:平仓
  2510. type: integer
  2511. closetype:
  2512. description: 平仓方式 - 0:无 1:平今 2:平昨
  2513. type: integer
  2514. decimalplace:
  2515. description: 报价小数位
  2516. type: integer
  2517. detailtype:
  2518. description: 明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整
  2519. type: integer
  2520. exexchangecode:
  2521. description: 外部交易所代码
  2522. type: string
  2523. exexchangename:
  2524. description: 外部交易所名称
  2525. type: string
  2526. goodscode:
  2527. description: 商品代码(合约)
  2528. type: string
  2529. goodsgroupid:
  2530. description: 商品组ID(品种ID)
  2531. type: integer
  2532. goodsgroupname:
  2533. description: 商品组名称(品种)
  2534. type: string
  2535. goodsid:
  2536. description: 商品ID
  2537. type: integer
  2538. goodsname:
  2539. description: 商品名称(合约)
  2540. type: string
  2541. goodunit:
  2542. description: 报价单位
  2543. type: string
  2544. marketid:
  2545. description: 市场ID
  2546. type: integer
  2547. orderid:
  2548. description: 委托单号
  2549. type: string
  2550. outgoodscode:
  2551. description: 商品代码(外部)
  2552. type: string
  2553. relatedouttradeid:
  2554. description: 关联外部成交单ID
  2555. type: string
  2556. remark:
  2557. description: 备注
  2558. type: string
  2559. spotcontractid:
  2560. description: 现货合同ID [1:套利对冲 为合同ID,2:期货换月\3:期货仓位调整时为0]
  2561. type: integer
  2562. spotcontractno:
  2563. description: 现货合同编号
  2564. type: string
  2565. tradeid:
  2566. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  2567. type: string
  2568. tradeprice:
  2569. description: 成交价格
  2570. type: number
  2571. tradeqty:
  2572. description: 成交数量
  2573. type: integer
  2574. tradetime:
  2575. description: 成交时间
  2576. type: string
  2577. updatetime:
  2578. description: 更新时间
  2579. type: string
  2580. required:
  2581. - asapplyid
  2582. - buyorsell
  2583. - goodscode
  2584. - goodsgroupid
  2585. - goodsgroupname
  2586. - goodsname
  2587. - tradeid
  2588. type: object
  2589. erms2.QuerySpotContractRsp:
  2590. properties:
  2591. accountid:
  2592. description: 资金账户ID
  2593. type: integer
  2594. areauserid:
  2595. description: 所属机构
  2596. type: integer
  2597. closedate:
  2598. description: 终止日期
  2599. type: string
  2600. closeremark:
  2601. description: 结束备注
  2602. type: string
  2603. closetradedate:
  2604. description: 完结交易日(yyyyMMdd)
  2605. type: string
  2606. closetype:
  2607. description: 终止类型 - 1:违约 2:提前终止
  2608. type: integer
  2609. contractamount:
  2610. description: 合同金额
  2611. type: number
  2612. contractattachment:
  2613. description: 合同附件
  2614. type: string
  2615. contractno:
  2616. description: 现货合同编号
  2617. type: string
  2618. contractqty:
  2619. description: 合同数量(数值) (用于计算)
  2620. type: number
  2621. contractqtychar:
  2622. description: 合同数量\已订价数量 (用于显示)
  2623. type: string
  2624. contractstatus:
  2625. description: 合同状态 - 0:未结束 1:已结束
  2626. type: integer
  2627. contracttype:
  2628. description: 现货合同类型 - 1:采购合同 -1:销售合同
  2629. type: integer
  2630. customeraccountid:
  2631. description: 客户资金账户ID
  2632. type: integer
  2633. customeruserid:
  2634. description: 客户ID
  2635. type: integer
  2636. deliverygoodsdesc:
  2637. description: 品种说明
  2638. type: string
  2639. deliverygoodsid:
  2640. description: 现货品种ID
  2641. type: integer
  2642. handlestatus:
  2643. description: 处理状态
  2644. type: integer
  2645. invoiceatt:
  2646. description: 发票附件
  2647. type: string
  2648. invoicedatetime:
  2649. description: 开收票更新时间
  2650. type: string
  2651. invoiceopentime:
  2652. description: 开票时间
  2653. type: string
  2654. invoiceremark:
  2655. description: 发票备注
  2656. type: string
  2657. invoicestatus:
  2658. description: 开收票状态 - 0:未开票 1:已开票
  2659. type: integer
  2660. lastdate:
  2661. description: 交货时间
  2662. type: string
  2663. marketid:
  2664. description: 市场ID
  2665. type: integer
  2666. paydatetime:
  2667. description: 收付款更新时间
  2668. type: string
  2669. payremark:
  2670. description: 收付款备注
  2671. type: string
  2672. paystatus:
  2673. description: 收付款状态 - 0:未支付 1:已收款 2:已付款
  2674. type: integer
  2675. positionqty:
  2676. description: 头寸数量 - 合同数量去小数部分
  2677. type: integer
  2678. producttype:
  2679. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  2680. type: integer
  2681. relatedqty:
  2682. description: 已关联数量
  2683. type: number
  2684. relatedstatus:
  2685. description: 关联完结状态 - 0:未结束 1:已结束
  2686. type: integer
  2687. remark:
  2688. description: 备注
  2689. type: string
  2690. signdate:
  2691. description: 签订日期
  2692. type: string
  2693. spotcontractid:
  2694. description: 现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)
  2695. type: string
  2696. spotdatetime:
  2697. description: 收发货更新时间
  2698. type: string
  2699. spotprice:
  2700. description: 价格
  2701. type: number
  2702. spotremark:
  2703. description: 收发货备注
  2704. type: string
  2705. spotstatus:
  2706. description: 收发货状态 - 0:未交收 1:已发货 2:已发货
  2707. type: integer
  2708. tradedate:
  2709. description: 交易日(yyyyMMdd)
  2710. type: string
  2711. userid:
  2712. description: 业务员用户ID
  2713. type: integer
  2714. warehouseid:
  2715. description: 仓库ID
  2716. type: integer
  2717. wrfactortypeid:
  2718. description: 仓单要素类型ID
  2719. type: integer
  2720. wrstandardid:
  2721. description: 仓单标准ID(SEQ_WRSTANDARD)
  2722. type: integer
  2723. required:
  2724. - spotcontractid
  2725. type: object
  2726. erms3.AddErms2ASApplyReq:
  2727. properties:
  2728. applybasis:
  2729. description: 申请基差
  2730. type: number
  2731. applystatus:
  2732. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2733. type: integer
  2734. asapplyid:
  2735. description: 策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)
  2736. type: integer
  2737. asname:
  2738. description: 策略名称
  2739. type: string
  2740. asno:
  2741. description: 策略编号
  2742. type: string
  2743. auditid:
  2744. description: 审核人
  2745. type: integer
  2746. auditremark:
  2747. description: 审核备注
  2748. type: string
  2749. audittime:
  2750. description: 审核时间
  2751. type: string
  2752. biztype:
  2753. description: 业务类型 - 1:正向套利 2:反向套利
  2754. type: integer
  2755. createtime:
  2756. description: 创建时间
  2757. type: string
  2758. creatorid:
  2759. description: 创建人
  2760. type: integer
  2761. deliverygoodsid:
  2762. description: 现货品种ID
  2763. type: integer
  2764. futurequote:
  2765. description: 期货额度
  2766. type: number
  2767. goodsgroupid:
  2768. description: 期货品种ID
  2769. type: integer
  2770. marketid:
  2771. description: 市场ID
  2772. type: integer
  2773. remark:
  2774. description: 备注
  2775. type: string
  2776. spotquota:
  2777. description: 现货额度
  2778. type: number
  2779. tradedate:
  2780. description: 交易日(yyyyMMdd)
  2781. type: string
  2782. userid:
  2783. description: 所属机构
  2784. type: integer
  2785. required:
  2786. - asapplyid
  2787. type: object
  2788. erms3.AddErms2SpotTradeApplyReq:
  2789. properties:
  2790. applyjsondetail:
  2791. description: 申请明细(JSON)
  2792. type: string
  2793. applystatus:
  2794. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2795. type: integer
  2796. areauserid:
  2797. description: 所属机构
  2798. type: integer
  2799. auditid:
  2800. description: 审核人
  2801. type: integer
  2802. auditremark:
  2803. description: 审核备注
  2804. type: string
  2805. audittime:
  2806. description: 审核时间
  2807. type: string
  2808. createtime:
  2809. description: 创建时间
  2810. type: string
  2811. creatorid:
  2812. description: 创建人
  2813. type: integer
  2814. deliverygoodsid:
  2815. description: 现货品种ID
  2816. type: integer
  2817. futureaccountid:
  2818. description: 期货资金账户
  2819. type: integer
  2820. goodsgroupid:
  2821. description: 期货品种
  2822. type: integer
  2823. marketid:
  2824. description: 市场ID
  2825. type: integer
  2826. remark:
  2827. description: 备注
  2828. type: string
  2829. spotaccountid:
  2830. description: 现货资金账户
  2831. type: integer
  2832. spottradeid:
  2833. description: 业务ID(341+Unix秒时间戳(10位)+xxxxxx)
  2834. type: integer
  2835. spottradename:
  2836. description: 业务名称
  2837. type: string
  2838. spottradeno:
  2839. description: 业务编号
  2840. type: string
  2841. tradedate:
  2842. description: 交易日(yyyyMMdd)
  2843. type: string
  2844. wrstandardid:
  2845. description: 仓单标准ID
  2846. type: integer
  2847. required:
  2848. - spottradeid
  2849. type: object
  2850. erms3.AddSpotContractApplyReq:
  2851. properties:
  2852. accountid:
  2853. description: 资金账户ID
  2854. type: integer
  2855. areauserid:
  2856. description: 所属机构
  2857. type: integer
  2858. contractattachment:
  2859. description: 合同附件
  2860. type: string
  2861. contractno:
  2862. description: 现货合同编号
  2863. type: string
  2864. contracttype:
  2865. description: 现货合同类型 - 1:采购 -1:销售
  2866. type: integer
  2867. creatorid:
  2868. description: 申请人
  2869. type: integer
  2870. customeraccountid:
  2871. description: 客户资金账户ID
  2872. type: integer
  2873. customeruserid:
  2874. description: 客户ID
  2875. type: integer
  2876. details:
  2877. description: 明细
  2878. items:
  2879. $ref: '#/definitions/erms3.SoptContractDetail'
  2880. type: array
  2881. orimargin:
  2882. description: 初始保证金
  2883. type: number
  2884. remark:
  2885. description: 备注
  2886. type: string
  2887. signdate:
  2888. description: 签订日期
  2889. type: string
  2890. required:
  2891. - accountid
  2892. - areauserid
  2893. - contractno
  2894. - contracttype
  2895. - customeraccountid
  2896. - customeruserid
  2897. - details
  2898. - orimargin
  2899. - signdate
  2900. type: object
  2901. erms3.AddSpotContractApplyRsp:
  2902. properties:
  2903. contractno:
  2904. description: 现货合同编号
  2905. type: string
  2906. spotcontractid:
  2907. description: 现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)
  2908. type: integer
  2909. required:
  2910. - contractno
  2911. type: object
  2912. erms3.AddUserInfoApplyReq:
  2913. properties:
  2914. accountid:
  2915. description: 交易系统帐号Id (加密存储)
  2916. type: integer
  2917. areacode:
  2918. description: 机构代码
  2919. type: string
  2920. areaid:
  2921. description: 机构Id
  2922. type: integer
  2923. attachment1:
  2924. description: 附件1
  2925. type: string
  2926. attachment2:
  2927. description: 附件2
  2928. type: string
  2929. attachment3:
  2930. description: 附件3
  2931. type: string
  2932. attachment4:
  2933. description: 附件4
  2934. type: string
  2935. attachment5:
  2936. description: 附件5
  2937. type: string
  2938. auditedby:
  2939. description: 审核人
  2940. type: string
  2941. auditime:
  2942. description: 审核时间
  2943. type: string
  2944. auditsrc:
  2945. description: 审核来源 - 1:管理端 2:终端
  2946. type: integer
  2947. bankaccount:
  2948. description: 银行帐号 (加密存储)
  2949. type: string
  2950. bankaccountname:
  2951. description: 收款人名称
  2952. type: string
  2953. bankcardbackphotourl:
  2954. description: 银行卡背面照地址
  2955. type: string
  2956. bankcardfrontphotourl:
  2957. description: 银行卡正面照地址
  2958. type: string
  2959. bankid:
  2960. description: 银行编码
  2961. type: string
  2962. bankname:
  2963. description: 银行名称
  2964. type: string
  2965. bankpictureurl:
  2966. description: 银行卡正面地址
  2967. type: string
  2968. biznature:
  2969. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2970. type: integer
  2971. bizscope:
  2972. description: 企业经营范围(企业)
  2973. type: string
  2974. biztype:
  2975. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  2976. type: integer
  2977. brokerid:
  2978. description: 经纪人ID(加密存储)
  2979. type: string
  2980. cardaddress:
  2981. description: 证件地址 (加密存储)
  2982. type: string
  2983. cardbackphotourl:
  2984. description: 背面证件照地址
  2985. type: string
  2986. cardfrontphotourl:
  2987. description: 正面证件照地址
  2988. type: string
  2989. cardnum:
  2990. description: 证件号码 (加密存储)
  2991. type: string
  2992. cardtype:
  2993. description: 证件类型
  2994. type: integer
  2995. cityid:
  2996. description: 市
  2997. type: integer
  2998. company:
  2999. description: 公司(个人)
  3000. type: string
  3001. contactcardbackphotourl:
  3002. description: 联系人证件背面图片地址
  3003. type: string
  3004. contactcardfrontphotourl:
  3005. description: 联系人证件正面图片地址
  3006. type: string
  3007. contactname:
  3008. description: 联系人
  3009. type: string
  3010. countryid:
  3011. description: 国家
  3012. type: integer
  3013. createtime:
  3014. description: 开户申请时间
  3015. type: string
  3016. cusbankid:
  3017. description: 签约类型
  3018. type: string
  3019. cusbankname:
  3020. description: 签约类型名称
  3021. type: string
  3022. customername:
  3023. description: 客户名称(企业名称)
  3024. type: string
  3025. districtid:
  3026. description: 地区
  3027. type: integer
  3028. email:
  3029. description: Email地址(加密存储)
  3030. type: string
  3031. halfbodyphotourl:
  3032. description: 半身照地址
  3033. type: string
  3034. headurl:
  3035. description: 头像地址
  3036. type: string
  3037. ipaddress:
  3038. description: IP地址
  3039. type: string
  3040. isvalidate:
  3041. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  3042. type: string
  3043. legalcardbackphotourl:
  3044. description: 法人身份证背面照地址
  3045. type: string
  3046. legalcardfrontphotourl:
  3047. description: 法人身份证正面照地址
  3048. type: string
  3049. legalpersonname:
  3050. description: 法人姓名(企业)
  3051. type: string
  3052. logincode:
  3053. description: 登录帐号 (加密存储)
  3054. type: string
  3055. memberareaid:
  3056. description: 所属会员ID
  3057. type: integer
  3058. mobile2:
  3059. description: 手机号码[明文-尚志]
  3060. type: string
  3061. mobilephone:
  3062. description: 手机号码 (加密存储)
  3063. type: string
  3064. modifiedby:
  3065. description: 修改人帐号
  3066. type: integer
  3067. modifiedtime:
  3068. description: 修改时间
  3069. type: string
  3070. nickname:
  3071. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  3072. type: string
  3073. openmode:
  3074. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  3075. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  3076. type: integer
  3077. otherurl:
  3078. description: 其它图片地址[使用分号分隔]
  3079. type: string
  3080. postalcode:
  3081. description: 邮政编码
  3082. type: string
  3083. provinceid:
  3084. description: 省
  3085. type: integer
  3086. proxystatementurl:
  3087. description: 授权委托书
  3088. type: string
  3089. qq:
  3090. description: QQ(加密存储
  3091. type: string
  3092. referral:
  3093. description: 推荐人编码
  3094. type: string
  3095. remark:
  3096. description: 备注
  3097. type: string
  3098. removebeforestatus:
  3099. description: REMOVEBEFORESTATUS
  3100. type: integer
  3101. sex:
  3102. description: 性别 - 0:女 1:男
  3103. type: integer
  3104. signedstatus:
  3105. description: 账户一号签签约状态
  3106. type: integer
  3107. signpdfurl:
  3108. description: 签约pdf文件
  3109. type: string
  3110. subbranch:
  3111. description: 开户支行
  3112. type: string
  3113. taxpayernum:
  3114. description: 纳税人识别号
  3115. type: string
  3116. telphone:
  3117. description: 联系电话(加密存储)
  3118. type: string
  3119. userid:
  3120. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  3121. type: integer
  3122. userinfotype:
  3123. description: 用户信息类型 - 1:个人 2:企业
  3124. type: integer
  3125. username:
  3126. description: 用户姓名
  3127. type: string
  3128. userstate:
  3129. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3130. type: integer
  3131. usertype:
  3132. description: 用户类型 - 1:投资者 2:机构
  3133. type: integer
  3134. videourl:
  3135. description: 视频地址
  3136. type: string
  3137. wechat:
  3138. description: 微信号 (加密存储)
  3139. type: string
  3140. required:
  3141. - userid
  3142. type: object
  3143. erms3.CustomerInfo:
  3144. properties:
  3145. accountids:
  3146. description: 资金账户ID列表
  3147. items:
  3148. type: integer
  3149. type: array
  3150. customername:
  3151. description: 名称(企业名称)
  3152. type: string
  3153. mobile:
  3154. description: 手机号码
  3155. type: string
  3156. userid:
  3157. description: 用户ID
  3158. type: integer
  3159. required:
  3160. - userid
  3161. type: object
  3162. erms3.ModifyUserInfoApplyReq:
  3163. properties:
  3164. accountid:
  3165. description: 交易系统帐号Id (加密存储)
  3166. type: integer
  3167. areacode:
  3168. description: 机构代码
  3169. type: string
  3170. areaid:
  3171. description: 机构Id
  3172. type: integer
  3173. attachment1:
  3174. description: 附件1
  3175. type: string
  3176. attachment2:
  3177. description: 附件2
  3178. type: string
  3179. attachment3:
  3180. description: 附件3
  3181. type: string
  3182. attachment4:
  3183. description: 附件4
  3184. type: string
  3185. attachment5:
  3186. description: 附件5
  3187. type: string
  3188. auditedby:
  3189. description: 审核人
  3190. type: string
  3191. auditime:
  3192. description: 审核时间
  3193. type: string
  3194. auditsrc:
  3195. description: 审核来源 - 1:管理端 2:终端
  3196. type: integer
  3197. bankaccount:
  3198. description: 银行帐号 (加密存储)
  3199. type: string
  3200. bankaccountname:
  3201. description: 收款人名称
  3202. type: string
  3203. bankcardbackphotourl:
  3204. description: 银行卡背面照地址
  3205. type: string
  3206. bankcardfrontphotourl:
  3207. description: 银行卡正面照地址
  3208. type: string
  3209. bankid:
  3210. description: 银行编码
  3211. type: string
  3212. bankname:
  3213. description: 银行名称
  3214. type: string
  3215. bankpictureurl:
  3216. description: 银行卡正面地址
  3217. type: string
  3218. biznature:
  3219. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3220. type: integer
  3221. bizscope:
  3222. description: 企业经营范围(企业)
  3223. type: string
  3224. biztype:
  3225. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  3226. type: integer
  3227. brokerid:
  3228. description: 经纪人ID(加密存储)
  3229. type: string
  3230. cardaddress:
  3231. description: 证件地址 (加密存储)
  3232. type: string
  3233. cardbackphotourl:
  3234. description: 背面证件照地址
  3235. type: string
  3236. cardfrontphotourl:
  3237. description: 正面证件照地址
  3238. type: string
  3239. cardnum:
  3240. description: 证件号码 (加密存储)
  3241. type: string
  3242. cardtype:
  3243. description: 证件类型
  3244. type: integer
  3245. cityid:
  3246. description: 市
  3247. type: integer
  3248. company:
  3249. description: 公司(个人)
  3250. type: string
  3251. contactcardbackphotourl:
  3252. description: 联系人证件背面图片地址
  3253. type: string
  3254. contactcardfrontphotourl:
  3255. description: 联系人证件正面图片地址
  3256. type: string
  3257. contactname:
  3258. description: 联系人
  3259. type: string
  3260. countryid:
  3261. description: 国家
  3262. type: integer
  3263. createtime:
  3264. description: 开户申请时间
  3265. type: string
  3266. cusbankid:
  3267. description: 签约类型
  3268. type: string
  3269. cusbankname:
  3270. description: 签约类型名称
  3271. type: string
  3272. customername:
  3273. description: 客户名称(企业名称)
  3274. type: string
  3275. districtid:
  3276. description: 地区
  3277. type: integer
  3278. email:
  3279. description: Email地址(加密存储)
  3280. type: string
  3281. halfbodyphotourl:
  3282. description: 半身照地址
  3283. type: string
  3284. headurl:
  3285. description: 头像地址
  3286. type: string
  3287. ipaddress:
  3288. description: IP地址
  3289. type: string
  3290. isvalidate:
  3291. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  3292. type: string
  3293. legalcardbackphotourl:
  3294. description: 法人身份证背面照地址
  3295. type: string
  3296. legalcardfrontphotourl:
  3297. description: 法人身份证正面照地址
  3298. type: string
  3299. legalpersonname:
  3300. description: 法人姓名(企业)
  3301. type: string
  3302. logincode:
  3303. description: 登录帐号 (加密存储)
  3304. type: string
  3305. memberareaid:
  3306. description: 所属会员ID
  3307. type: integer
  3308. mobile2:
  3309. description: 手机号码[明文-尚志]
  3310. type: string
  3311. mobilephone:
  3312. description: 手机号码 (加密存储)
  3313. type: string
  3314. modifiedby:
  3315. description: 修改人帐号
  3316. type: integer
  3317. modifiedtime:
  3318. description: 修改时间
  3319. type: string
  3320. nickname:
  3321. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  3322. type: string
  3323. openmode:
  3324. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  3325. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  3326. type: integer
  3327. otherurl:
  3328. description: 其它图片地址[使用分号分隔]
  3329. type: string
  3330. postalcode:
  3331. description: 邮政编码
  3332. type: string
  3333. provinceid:
  3334. description: 省
  3335. type: integer
  3336. proxystatementurl:
  3337. description: 授权委托书
  3338. type: string
  3339. qq:
  3340. description: QQ(加密存储
  3341. type: string
  3342. referral:
  3343. description: 推荐人编码
  3344. type: string
  3345. remark:
  3346. description: 备注
  3347. type: string
  3348. removebeforestatus:
  3349. description: REMOVEBEFORESTATUS
  3350. type: integer
  3351. sex:
  3352. description: 性别 - 0:女 1:男
  3353. type: integer
  3354. signedstatus:
  3355. description: 账户一号签签约状态
  3356. type: integer
  3357. signpdfurl:
  3358. description: 签约pdf文件
  3359. type: string
  3360. subbranch:
  3361. description: 开户支行
  3362. type: string
  3363. taxpayernum:
  3364. description: 纳税人识别号
  3365. type: string
  3366. telphone:
  3367. description: 联系电话(加密存储)
  3368. type: string
  3369. userid:
  3370. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  3371. type: integer
  3372. userinfotype:
  3373. description: 用户信息类型 - 1:个人 2:企业
  3374. type: integer
  3375. username:
  3376. description: 用户姓名
  3377. type: string
  3378. userstate:
  3379. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3380. type: integer
  3381. usertype:
  3382. description: 用户类型 - 1:投资者 2:机构
  3383. type: integer
  3384. videourl:
  3385. description: 视频地址
  3386. type: string
  3387. wechat:
  3388. description: 微信号 (加密存储)
  3389. type: string
  3390. required:
  3391. - userid
  3392. type: object
  3393. erms3.QryAuditContractRsp:
  3394. properties:
  3395. accountid:
  3396. description: 交易员ID
  3397. type: string
  3398. applystatus:
  3399. description: 申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3400. type: integer
  3401. curdeliveryqty:
  3402. description: 未交收量
  3403. type: integer
  3404. customername:
  3405. description: 采购方ID
  3406. type: string
  3407. deliverygoodsid:
  3408. description: 品种ID
  3409. type: string
  3410. deliveryqty:
  3411. description: 交收量
  3412. type: integer
  3413. enumdicname:
  3414. description: 单位名称
  3415. type: string
  3416. matchaccountid:
  3417. description: 业务员ID
  3418. type: string
  3419. matchcustomername:
  3420. description: 销售方ID
  3421. type: string
  3422. pricedqty:
  3423. description: 定价量
  3424. type: number
  3425. signdate:
  3426. description: 签订日期
  3427. type: string
  3428. spotcontractid:
  3429. description: 合同ID
  3430. type: string
  3431. totaldqty:
  3432. description: 合同量
  3433. type: number
  3434. unpricedqty:
  3435. description: 未定价量
  3436. type: number
  3437. wrstandardname:
  3438. description: 商品名称
  3439. type: string
  3440. required:
  3441. - matchcustomername
  3442. - spotcontractid
  3443. type: object
  3444. erms3.QryPendingBizRsp:
  3445. properties:
  3446. accountid:
  3447. description: 现货账户
  3448. type: string
  3449. areaname:
  3450. description: 所属部门
  3451. type: string
  3452. bizid:
  3453. description: 业务ID
  3454. type: string
  3455. bizname:
  3456. description: 业务名称
  3457. type: string
  3458. status:
  3459. description: 状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3460. type: integer
  3461. type:
  3462. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易
  3463. type: integer
  3464. type: object
  3465. erms3.QueryBusinessInfoRsp:
  3466. properties:
  3467. businessid:
  3468. description: 业务ID.
  3469. type: integer
  3470. buyamount:
  3471. description: 采购额.
  3472. type: number
  3473. buyqty:
  3474. description: 采购量.
  3475. type: string
  3476. futurepl:
  3477. description: 期货盈亏.
  3478. type: number
  3479. futureqty:
  3480. description: 期货敞口.
  3481. type: string
  3482. goodsid:
  3483. description: 商品名称/商品代码.
  3484. type: string
  3485. hedgingqty:
  3486. description: 套保量.
  3487. type: string
  3488. sellamount:
  3489. description: 销售额.
  3490. type: number
  3491. sellqty:
  3492. description: 销售量.
  3493. type: string
  3494. spotmarketvalue:
  3495. description: 现货市值.
  3496. type: number
  3497. spotpl:
  3498. description: 浮动权益.
  3499. type: number
  3500. spotqty:
  3501. description: 现货量.
  3502. type: string
  3503. statu:
  3504. description: 状态,0-未结束 1-已结束.
  3505. type: integer
  3506. totalpl:
  3507. description: 总盈亏.
  3508. type: number
  3509. totalqty:
  3510. description: 总敞口.
  3511. type: string
  3512. type:
  3513. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易.
  3514. type: integer
  3515. type: object
  3516. erms3.QuerySpotContractAppleFormRsp:
  3517. properties:
  3518. goodses:
  3519. description: 合约列表
  3520. items:
  3521. $ref: '#/definitions/models.GoodsIDAndName'
  3522. type: array
  3523. oppositeusers:
  3524. description: 对方账号列表
  3525. items:
  3526. $ref: '#/definitions/erms3.CustomerInfo'
  3527. type: array
  3528. ouruser:
  3529. $ref: '#/definitions/erms3.CustomerInfo'
  3530. description: 我方账号
  3531. warehouseinfos:
  3532. description: 仓库信息列表
  3533. items:
  3534. $ref: '#/definitions/models.Warehouseinfo'
  3535. type: array
  3536. wrstandards:
  3537. description: 仓单标准列表
  3538. items:
  3539. $ref: '#/definitions/models.WRStandardInfo'
  3540. type: array
  3541. type: object
  3542. erms3.QuerySpotContractInfoRsp:
  3543. properties:
  3544. accountid:
  3545. description: 表示交易员ID.
  3546. type: integer
  3547. curdeliveryqty:
  3548. description: 表示未交收量.
  3549. type: number
  3550. customername:
  3551. description: 若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.
  3552. type: string
  3553. deliverygoodsid:
  3554. description: 表示品种ID.
  3555. type: string
  3556. deliveryqty:
  3557. description: 表示交收量.
  3558. type: number
  3559. matchaccountid:
  3560. description: 表示业务员ID.
  3561. type: integer
  3562. matchcustomername:
  3563. description: 若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.
  3564. type: string
  3565. priceqty:
  3566. description: 表示定价量.
  3567. type: number
  3568. relatedbizid:
  3569. description: 表示业务ID.
  3570. type: string
  3571. signdate:
  3572. description: 表示签订日期.
  3573. type: string
  3574. spotcontractid:
  3575. description: 合同ID
  3576. type: string
  3577. status:
  3578. description: 表示状态,0-履约中 1-已完成.
  3579. type: integer
  3580. totalqty:
  3581. description: 表示合同量.
  3582. type: number
  3583. unpricedqty:
  3584. description: 表示未定价量.
  3585. type: number
  3586. wrstandardname:
  3587. description: 表示商品ID.
  3588. type: string
  3589. type: object
  3590. erms3.QueryUserInfoAppliesRsp:
  3591. properties:
  3592. biznature:
  3593. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3594. type: integer
  3595. contactname:
  3596. description: 联系人
  3597. type: string
  3598. createtime:
  3599. description: 开户申请时间
  3600. type: string
  3601. userid:
  3602. description: 用户ID(自增ID)
  3603. type: integer
  3604. userinfotype:
  3605. description: 用户信息类型 - 1:个人 2:企业
  3606. type: integer
  3607. username:
  3608. description: 用户姓名
  3609. type: string
  3610. userstate:
  3611. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3612. type: integer
  3613. required:
  3614. - userid
  3615. type: object
  3616. erms3.QueryUserInfosRsp:
  3617. properties:
  3618. biznature:
  3619. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3620. type: integer
  3621. contactname:
  3622. description: 联系人
  3623. type: string
  3624. customername:
  3625. description: 客户名称(企业名称)
  3626. type: string
  3627. userid:
  3628. description: 用户ID
  3629. type: integer
  3630. userinfotype:
  3631. description: 用户信息类型 - 1:个人 2:企业
  3632. type: integer
  3633. userstatus:
  3634. description: 用户状态 - 1:正常 2:注销
  3635. type: integer
  3636. required:
  3637. - userid
  3638. type: object
  3639. erms3.SoptContractDetail:
  3640. properties:
  3641. deliverygoodsdesc:
  3642. description: 现货品种说明
  3643. type: string
  3644. deliverygoodsid:
  3645. description: 现货品种ID
  3646. type: integer
  3647. deliverygoodsname:
  3648. description: 现货品种名称
  3649. type: string
  3650. pointdesc:
  3651. description: 点价描述
  3652. type: string
  3653. producttype:
  3654. description: 产品类型 1:标准仓单 2:等标 3:非标
  3655. type: integer
  3656. producttypename:
  3657. description: 产品类型名称
  3658. type: string
  3659. spotPointOrderVoList:
  3660. description: 点价列表
  3661. items:
  3662. $ref: '#/definitions/erms3.SpotPointOrder'
  3663. type: array
  3664. spotPriceOrderList:
  3665. description: 定价列表
  3666. items:
  3667. $ref: '#/definitions/erms3.SpotPriceOrder'
  3668. type: array
  3669. unitname:
  3670. description: 单位名称
  3671. type: string
  3672. warehouseid:
  3673. description: 仓库ID
  3674. type: integer
  3675. warehousename:
  3676. description: 仓库名称
  3677. type: string
  3678. wrstandardid:
  3679. description: 交易标的ID
  3680. type: integer
  3681. wrstandardname:
  3682. description: 交易标的名称
  3683. type: string
  3684. required:
  3685. - deliverygoodsid
  3686. - producttype
  3687. - unitname
  3688. - warehouseid
  3689. - wrstandardid
  3690. - wrstandardname
  3691. type: object
  3692. erms3.SpotPointOrder:
  3693. properties:
  3694. basic:
  3695. description: 基差
  3696. type: number
  3697. deliveryenddate:
  3698. description: 交收结束日期
  3699. type: string
  3700. deliverystartdate:
  3701. description: 交收开始日期
  3702. type: string
  3703. enddate:
  3704. description: 点价结束日期
  3705. type: string
  3706. goodsid:
  3707. description: 商品ID
  3708. type: integer
  3709. goodsname:
  3710. description: 商品名称
  3711. type: string
  3712. qty:
  3713. description: 数量
  3714. type: number
  3715. startdate:
  3716. description: 点价开始日期
  3717. type: string
  3718. required:
  3719. - basic
  3720. - goodsid
  3721. - qty
  3722. type: object
  3723. erms3.SpotPriceOrder:
  3724. properties:
  3725. amount:
  3726. description: 金额
  3727. type: number
  3728. deliveryenddate:
  3729. description: 交收结束日期
  3730. type: string
  3731. deliverystartdate:
  3732. description: 交收开始日期
  3733. type: string
  3734. price:
  3735. description: 价格
  3736. type: number
  3737. qty:
  3738. description: 数量
  3739. type: number
  3740. required:
  3741. - amount
  3742. - price
  3743. - qty
  3744. type: object
  3745. models.Arearole:
  3746. properties:
  3747. createtime:
  3748. description: 创建时间
  3749. type: string
  3750. creatorid:
  3751. description: 创建人ID
  3752. type: integer
  3753. fromuserid:
  3754. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  3755. type: integer
  3756. isreturnscore:
  3757. description: 是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还
  3758. type: integer
  3759. modifierid:
  3760. description: 修改人ID
  3761. type: integer
  3762. modifytime:
  3763. description: 修改时间
  3764. type: string
  3765. orgtype:
  3766. description: 组织机构类型 1:机构\分支节点 2:交易员\叶子节点 3:部门\分支节点
  3767. type: integer
  3768. outuserid:
  3769. description: 外部账户[场外期权做市商]
  3770. type: string
  3771. parentuserid:
  3772. description: 上级组织机构(组织机构)
  3773. type: integer
  3774. roletype:
  3775. description: 角色类型 - 1:交易所 2:运营机构 3:营销中心 4:仓库机构 5:三方服务机构 6:自营会员 7:经纪会员 8:做市会员
  3776. 9:产业会员 10:金融机构 11:商城店铺 12:子机构 13:报价商 14:积分服务商 15:供货商 16:圈内会员 17:物流机构 18:报价配置机构
  3777. 19:场外期权做市商 20:组织机构 21:顶级机构 22:业务员 23:跟单员 24:交易员 25:客户 98:代理 99:门店
  3778. type: integer
  3779. rootuserid:
  3780. description: 顶级组织机构用户ID(组织机构)
  3781. type: integer
  3782. shoppassword:
  3783. description: 商城店铺登陆密码(商城店铺角色使用)
  3784. type: string
  3785. sublevelpath:
  3786. description: 组织机构层级路径(逗号分隔,首尾加逗号)
  3787. type: string
  3788. suborgtype:
  3789. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  3790. type: integer
  3791. tradeaccountid:
  3792. description: 默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount
  3793. type: integer
  3794. transurl:
  3795. description: 物流地址(物流机构)
  3796. type: string
  3797. userid:
  3798. description: 机构用户ID其他做市关系,都设置为 1
  3799. type: integer
  3800. required:
  3801. - roletype
  3802. - userid
  3803. type: object
  3804. models.BuyOrder:
  3805. properties:
  3806. accountid:
  3807. description: 资金账户ID
  3808. type: integer
  3809. buyusername:
  3810. description: 买方
  3811. type: string
  3812. marketid:
  3813. description: 市场ID
  3814. type: integer
  3815. ordertime:
  3816. description: 委托时间
  3817. type: string
  3818. origin:
  3819. description: 原产地
  3820. type: string
  3821. remark:
  3822. description: 备注
  3823. type: string
  3824. userid:
  3825. description: 用户ID
  3826. type: integer
  3827. validtime:
  3828. description: 有效期限
  3829. type: string
  3830. warehouseids:
  3831. description: 仓库ID - 多个, 逗号分隔
  3832. type: string
  3833. warehouseinfosdisplay:
  3834. type: string
  3835. wrtradeorderid:
  3836. description: '[委托单号]买委托单ID(320+Unix秒时间戳(10位)+xxxxxx)'
  3837. type: string
  3838. wrtradeorderstatus:
  3839. description: 委托状态 - 参考枚举'WRTradeOrderStatus' - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:部成 8:已成 9:部成部撤 10:成交失败 11:委托拒绝 12:经过摘牌(先摘后挂专用) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用) 17:冻结PD成功 18:冻结PD失败 19:冻结能量成功 20:冻结能量失败 21:预约已报价 22:过期未付 23:优惠券处理中 24:仓单生成失败 25:首付扣款失败 26:履约失败 27:撤单解冻贷款失败WRTrade_OrderDetail、
  3840. type: integer
  3841. zscategory:
  3842. description: 钻石分类 - 枚举”ZSCategory“
  3843. type: integer
  3844. zscategorydisplay:
  3845. type: string
  3846. zsclaritytype:
  3847. description: 净度 - 两个, 逗号分隔
  3848. type: string
  3849. zsclaritytypedisplay:
  3850. type: string
  3851. zscolortype:
  3852. description: 颜色 - 两个, 逗号分隔
  3853. type: string
  3854. zscolortypedisplay:
  3855. type: string
  3856. zscrystaltype:
  3857. description: 晶型 - 多个,逗号分隔
  3858. type: string
  3859. zscrystaltypedisplay:
  3860. type: string
  3861. zscurrencytype:
  3862. description: 货币类型 - 多个, 逗号分隔
  3863. type: string
  3864. zscurrencytypedisplay:
  3865. type: string
  3866. zscuttype:
  3867. description: 切工 - 两个, 逗号分隔
  3868. type: string
  3869. zscuttypedisplay:
  3870. type: string
  3871. zsczcolor1type:
  3872. description: 彩钻颜色1, 逗号分隔
  3873. type: string
  3874. zsczcolor1typedisplay:
  3875. type: string
  3876. zsczcolor2type:
  3877. description: 彩钻颜色2, 逗号分隔
  3878. type: string
  3879. zsczcolor2typedisplay:
  3880. type: string
  3881. zsczcolor3type:
  3882. description: 彩钻颜色3, 逗号分隔
  3883. type: string
  3884. zsczcolor3typedisplay:
  3885. type: string
  3886. zsfluorescencetype:
  3887. description: 荧光 - 多个, 逗号分隔
  3888. type: string
  3889. zsfluorescencetypedisplay:
  3890. type: string
  3891. zspolishtype:
  3892. description: 抛光度 - 两个, 逗号分隔
  3893. type: string
  3894. zspolishtypedisplay:
  3895. type: string
  3896. zsshapetype:
  3897. description: 形状 - 多个, 逗号分隔
  3898. type: string
  3899. zsshapetypedisplay:
  3900. type: string
  3901. zssize:
  3902. description: 尺寸 - 两个小数, 逗号分隔
  3903. type: string
  3904. zsstyletype:
  3905. description: 款式 - 多个, 逗号分隔
  3906. type: string
  3907. zsstyletypedisplay:
  3908. type: string
  3909. zssymmetrytype:
  3910. description: 对称度 - 两个, 逗号分隔
  3911. type: string
  3912. zssymmetrytypedisplay:
  3913. type: string
  3914. zstabledisplay:
  3915. description: 求购信息
  3916. type: string
  3917. type: object
  3918. models.DgFactoryItem:
  3919. properties:
  3920. dgfactoryitemid:
  3921. description: 选择项ID(SEQ_DGFACTORYITEM)
  3922. type: integer
  3923. dgfactoryitemtypeid:
  3924. description: 要素项类型
  3925. type: integer
  3926. dgfactoryitemvalue:
  3927. description: 要素项值(类型为仓库时填写仓库名称)
  3928. type: string
  3929. orderindex:
  3930. description: 顺序
  3931. type: integer
  3932. type: object
  3933. models.Division:
  3934. properties:
  3935. autoid:
  3936. description: 自增ID
  3937. type: integer
  3938. divisioncode:
  3939. description: 行政代码
  3940. type: string
  3941. divisionlevel:
  3942. description: 行政级别
  3943. type: string
  3944. divisionname:
  3945. description: 行政名称
  3946. type: string
  3947. modifierid:
  3948. description: 修改人
  3949. type: integer
  3950. modifytime:
  3951. description: 修改时间
  3952. type: string
  3953. parentcode:
  3954. description: 上级行政代码
  3955. type: string
  3956. pathname:
  3957. description: 路径名称
  3958. type: string
  3959. postcode:
  3960. description: 邮政编码
  3961. type: string
  3962. separablename:
  3963. description: 可拆分的全称
  3964. type: string
  3965. shortcode:
  3966. description: 地区简码
  3967. type: string
  3968. required:
  3969. - autoid
  3970. - divisioncode
  3971. type: object
  3972. models.Enumdicitem:
  3973. properties:
  3974. autoid:
  3975. description: 自增ID
  3976. type: integer
  3977. bankmappedvalue:
  3978. description: 银行服务对应值
  3979. type: string
  3980. enumdiccode:
  3981. description: 所属枚举代码
  3982. type: string
  3983. enumdicid:
  3984. description: 所属枚举ID
  3985. type: integer
  3986. enumdicname:
  3987. description: 枚举项名称
  3988. type: string
  3989. enumitemname:
  3990. description: 枚举项值
  3991. type: integer
  3992. enumitemstatus:
  3993. description: 枚举项状态 - 1.启用 2.不启用
  3994. type: integer
  3995. enumitemvalue:
  3996. description: 通用值 - [币种通用简写]
  3997. type: string
  3998. param1:
  3999. description: 参数1[币种:币种小数位]
  4000. type: string
  4001. param2:
  4002. description: 参数1[币种:币种显示单位]
  4003. type: string
  4004. remark:
  4005. description: 备注
  4006. type: string
  4007. required:
  4008. - autoid
  4009. - enumdiccode
  4010. - enumdicid
  4011. - enumitemname
  4012. type: object
  4013. models.Ermcp2AreaExposure:
  4014. properties:
  4015. areauserid:
  4016. description: 所属机构
  4017. type: integer
  4018. enumdicname:
  4019. description: 单位
  4020. type: string
  4021. futureqty:
  4022. description: 期货套期量
  4023. type: number
  4024. futureqtychange:
  4025. description: 期货变动量 = FutureQty - OriFutureQty
  4026. type: number
  4027. goodsunitid:
  4028. description: 单位ID
  4029. type: integer
  4030. hedgedspotexposure:
  4031. description: 被套期现货敞口量
  4032. type: number
  4033. hedgedspratio:
  4034. description: 套期期现比例 = 期货套期量/被套期现货敞口量
  4035. type: number
  4036. hedgedtotalexposourechange:
  4037. description: 被套期敞口变动量 = HedgedTotalExposure - OriHedgedTotalExposure
  4038. type: number
  4039. hedgedtotalexposure:
  4040. description: 套期敞口量 = 被套期现货敞口量+期货套期量
  4041. type: number
  4042. hedgeplanqty:
  4043. description: 套期计划量
  4044. type: number
  4045. hedgeplanqtychange:
  4046. description: 计划变动量 = HedgePlanQty - OriHedgePlanQty
  4047. type: number
  4048. hedgespotqty:
  4049. description: 被套期现货量
  4050. type: number
  4051. middlegoodsid:
  4052. description: 套保品种
  4053. type: integer
  4054. middlegoodsname:
  4055. description: 套保品种名称
  4056. type: string
  4057. orifutureqty:
  4058. description: 期初期货套期量
  4059. type: number
  4060. orihedgedspotexposure:
  4061. description: 期初被套期现货敞口量
  4062. type: number
  4063. orihedgedtotalexposure:
  4064. description: 期初套期敞口量
  4065. type: number
  4066. orihedgeplanqty:
  4067. description: 期初套期计划量
  4068. type: number
  4069. orihedgespotqty:
  4070. description: 期初被套期现货量
  4071. type: number
  4072. orispotexposure:
  4073. description: 期初现货敞口量
  4074. type: number
  4075. orispotqty:
  4076. description: 期初现货总量
  4077. type: number
  4078. oritotalexposure:
  4079. description: 期初总敞口量
  4080. type: number
  4081. spotexposure:
  4082. description: 现货敞口量
  4083. type: number
  4084. spotqty:
  4085. description: 现货总量
  4086. type: number
  4087. spotqtychange:
  4088. description: 现货变动量 = SpotQty - OriSpotQty
  4089. type: number
  4090. spratio:
  4091. description: 总期现比例 = 期货套期量/现货敞口量
  4092. type: number
  4093. totalexposure:
  4094. description: 总敞口量 = 现货敞口量 + 期货套期量
  4095. type: number
  4096. totalexposurechange:
  4097. description: 总敞口变动量 = TotalExposure - OriTotalExposure
  4098. type: number
  4099. updatetime:
  4100. description: 更新时间 --DATE
  4101. type: string
  4102. type: object
  4103. models.Ermcp2hedgeditem:
  4104. properties:
  4105. accountname:
  4106. description: 套期主体
  4107. type: string
  4108. applyid:
  4109. description: 申请人
  4110. type: integer
  4111. applysrc:
  4112. description: 申请来源 - 1:管理端 2:终端
  4113. type: integer
  4114. areauserid:
  4115. description: 企业ID
  4116. type: integer
  4117. auditid:
  4118. description: 审核人
  4119. type: integer
  4120. auditremark:
  4121. description: 审核备注
  4122. type: string
  4123. auditsrc:
  4124. description: 审核来源 - 1:管理端 2:终端
  4125. type: integer
  4126. audittime:
  4127. description: 审核时间
  4128. type: string
  4129. audittradedate:
  4130. description: 审核交易日(yyyyMMdd)
  4131. type: string
  4132. createtime:
  4133. description: 申请时间
  4134. type: string
  4135. curprice:
  4136. description: 当前市场价
  4137. type: number
  4138. curstock:
  4139. description: 期末库存量 = 采购总量 - 销售总量
  4140. type: number
  4141. deliverygoodsid:
  4142. description: 现货品种ID
  4143. type: integer
  4144. enddate:
  4145. description: 完成日期
  4146. type: string
  4147. endtradedate:
  4148. description: 完成交易日
  4149. type: string
  4150. enumdicname:
  4151. description: 单位
  4152. type: string
  4153. exeamount:
  4154. description: 执行市价总额
  4155. type: number
  4156. exeavgprice:
  4157. description: 执行市场均价= 执行市价总额 / 执行现货量
  4158. type: number
  4159. execontractamount:
  4160. description: 执行定价总额
  4161. type: number
  4162. exeqty:
  4163. description: 执行现货量
  4164. type: number
  4165. exerestamount:
  4166. description: 执行剩余市价总额【现货贸易】
  4167. type: number
  4168. futurefloatpl:
  4169. description: 期货浮动损益
  4170. type: number
  4171. futurehedgepl:
  4172. description: 期货实际损益
  4173. type: number
  4174. futurehedgeplchange:
  4175. description: 期货实际损益变动
  4176. type: number
  4177. futurepl:
  4178. description: 期货套期损益
  4179. type: number
  4180. futureplchange:
  4181. description: 期货套期损益变动
  4182. type: number
  4183. hedgeamount:
  4184. description: 套期市价总额
  4185. type: number
  4186. hedgecontractamount:
  4187. description: 套期定价总额 【定价采购合同】【现货贸易】
  4188. type: number
  4189. hedgeditemid:
  4190. description: 被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)
  4191. type: string
  4192. hedgeditemname:
  4193. description: 项目名称
  4194. type: string
  4195. hedgeditemnum:
  4196. description: 项目编号
  4197. type: string
  4198. hedgeditemstatus:
  4199. description: 项目状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4200. type: integer
  4201. hedgedtype:
  4202. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4203. type: integer
  4204. hedgeqty:
  4205. description: 套期现货量
  4206. type: number
  4207. hedgerate:
  4208. description: 套保比率
  4209. type: number
  4210. hedgerestamount:
  4211. description: 套期剩余市价总额【现货贸易】
  4212. type: number
  4213. hedgesumpl:
  4214. description: 套期汇总损益 = 期货汇总损益 + 现货汇总损益
  4215. type: number
  4216. middlegoodslist:
  4217. description: 套期商品列表
  4218. items:
  4219. $ref: '#/definitions/models.Ermcp2himiddlegoods'
  4220. type: array
  4221. oriavgprice:
  4222. description: 期初市场均价 = 套期市价总额 / 套期现货量
  4223. type: number
  4224. orifuturehedgepl:
  4225. description: 期初期货实际损益
  4226. type: number
  4227. orifuturepl:
  4228. description: 期初期货套期损益
  4229. type: number
  4230. orispothedgepl:
  4231. description: 期初现货实际损益
  4232. type: number
  4233. orispotpl:
  4234. description: 期初现货套期损益
  4235. type: number
  4236. planenddate:
  4237. description: 计划结束日期
  4238. type: string
  4239. planstartdate:
  4240. description: 计划开始日期
  4241. type: string
  4242. remark:
  4243. description: 备注
  4244. type: string
  4245. spotbookamount:
  4246. description: 现货账面总额
  4247. type: number
  4248. spotfloatpl:
  4249. description: 现货浮动损益 =(当前市场价 - 期初市场价)*未执行现货量 * 方向(销售计划 为 -1, 其它为1)
  4250. type: number
  4251. spothedgepl:
  4252. description: 现货套期损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)
  4253. type: number
  4254. spothedgeplchange:
  4255. description: 现货实际损益变动
  4256. type: number
  4257. spotpl:
  4258. description: 现货套期损益 = 现货实际损益 + 现货浮动损益
  4259. type: number
  4260. spotplchange:
  4261. description: 现货套期损益变动
  4262. type: number
  4263. spottradepl:
  4264. description: 现货贸易损益【现货贸易】= 执行合同定价总额 - 套期合同定价总额
  4265. type: number
  4266. sumobspl:
  4267. description: 汇总绝对损益【现货贸易】=现货贸易损益+增值税损益+期货套期损益
  4268. type: number
  4269. tradeuserid:
  4270. description: 交易用户ID
  4271. type: integer
  4272. unexeqty:
  4273. description: 未执行现货量 = 套期现货量 - 执行现货量
  4274. type: number
  4275. updatetime:
  4276. description: 更新时间
  4277. type: string
  4278. vatpl:
  4279. description: 增值税损益【现货贸易】= 现货贸易损益 * (增值税率 /(1+增值税率))
  4280. type: number
  4281. vatrate:
  4282. description: 增值税
  4283. type: number
  4284. wrstandardid:
  4285. description: 现货商品ID
  4286. type: integer
  4287. wrstandardname:
  4288. description: 商品名称
  4289. type: string
  4290. type: object
  4291. models.Ermcp2hedgeditemlink:
  4292. properties:
  4293. areauserid:
  4294. description: 企业ID
  4295. type: integer
  4296. createtime:
  4297. description: '[关联时间]创建时间'
  4298. type: string
  4299. customeruserid:
  4300. description: 对手方 【3:采购合同 4:销售合同】
  4301. type: integer
  4302. deliverygoodsid:
  4303. description: 现货品种ID
  4304. type: integer
  4305. enumdicname:
  4306. description: 单位
  4307. type: string
  4308. hedgeditemid:
  4309. description: 被套期项目ID
  4310. type: integer
  4311. hedgeditemlinkid:
  4312. description: 现货关联表ID(626+Unix秒时间戳(10位)+xxxxxx)
  4313. type: integer
  4314. hedgeditemnum:
  4315. description: 项目编号
  4316. type: string
  4317. hedgedtype:
  4318. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4319. type: integer
  4320. relatedamount:
  4321. description: 市价总额 = 关联数量 * 期初市场价
  4322. type: number
  4323. relatedhedgeplanid:
  4324. description: 关联计划ID 【1:采购计划 2:销售计划】
  4325. type: integer
  4326. relatedqty:
  4327. description: 关联数量
  4328. type: number
  4329. relatedspotcontractid:
  4330. description: 关联合同ID 【3:采购合同 4:销售合同】
  4331. type: integer
  4332. relatedtype:
  4333. description: 关联类型 - 1:套期关联 2:执行关联
  4334. type: integer
  4335. spotgoodsbrandid:
  4336. description: 现货品牌ID
  4337. type: integer
  4338. spotpricedamount:
  4339. description: '[关联定价总额]定价总额'
  4340. type: number
  4341. spotpricedavgprice:
  4342. description: '[关联现货均价]现货均价 = 定价总额 / 关联数量'
  4343. type: number
  4344. spottype:
  4345. description: 现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  4346. type: integer
  4347. tradeuserid:
  4348. description: 交易用户ID
  4349. type: integer
  4350. unexeqty:
  4351. description: 未执行现货量【项目关联时值】
  4352. type: number
  4353. wrstandardid:
  4354. description: 现货商品ID
  4355. type: integer
  4356. wrstandardname:
  4357. description: 现货商品
  4358. type: string
  4359. required:
  4360. - relatedspotcontractid
  4361. type: object
  4362. models.Ermcp2hedgeditemsDetail:
  4363. properties:
  4364. accountname:
  4365. description: 套期主体
  4366. type: string
  4367. areauserid:
  4368. description: 企业ID
  4369. type: integer
  4370. createtime:
  4371. description: '[日期时间]创建时间'
  4372. type: string
  4373. customeruserid:
  4374. description: 对手方 【3:采购合同 4:销售合同】
  4375. type: integer
  4376. deliverygoodsid:
  4377. description: 现货品种ID
  4378. type: integer
  4379. enumdicname:
  4380. description: 单位
  4381. type: string
  4382. hedgeditemid:
  4383. description: 被套期项目ID
  4384. type: string
  4385. hedgeditemspotid:
  4386. description: 现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)
  4387. type: string
  4388. hedgedtype:
  4389. description: 套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4390. type: integer
  4391. hedgeplanno:
  4392. description: 计划编号
  4393. type: string
  4394. middlegoodschange:
  4395. description: 套期商品变化量 = RELATEDQTY * 折算系数 * (1/(1+增值税))
  4396. type: number
  4397. oriavgprice:
  4398. description: 期初市场价[当初市场价]
  4399. type: number
  4400. relatedamount:
  4401. description: 市价总额 = 关联数量 * 期初市场价
  4402. type: number
  4403. relatedhedgeplanid:
  4404. description: 关联计划ID 【1:采购计划 2:销售计划】
  4405. type: integer
  4406. relatedqty:
  4407. description: '[期间变化量]关联数量'
  4408. type: number
  4409. relatedspotcontractid:
  4410. description: 关联合同ID 【3:采购合同 4:销售合同】
  4411. type: integer
  4412. relatedtype:
  4413. description: 关联类型 - 1:套期关联 2:执行关联
  4414. type: integer
  4415. spotgoodsbrandid:
  4416. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID" = 2
  4417. type: integer
  4418. spotpricedamount:
  4419. description: 定价总额
  4420. type: number
  4421. spotpricedavgprice:
  4422. description: 现货均价 = 定价总额 / 关联数量
  4423. type: number
  4424. spottype:
  4425. description: 现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  4426. type: integer
  4427. tradeuserid:
  4428. description: 交易用户ID
  4429. type: integer
  4430. unexeqty:
  4431. description: 未执行现货量 = 套期现货量 - 执行现货量
  4432. type: number
  4433. wrstandardid:
  4434. description: 现货商品ID
  4435. type: integer
  4436. wrstandardname:
  4437. description: 现货商品
  4438. type: string
  4439. type: object
  4440. models.Ermcp2hedgeditemspot:
  4441. properties:
  4442. areauserid:
  4443. description: 企业ID
  4444. type: integer
  4445. createtime:
  4446. description: 创建时间
  4447. type: string
  4448. customeruserid:
  4449. description: 对手方 【3:采购合同 4:销售合同】
  4450. type: integer
  4451. deliverygoodsid:
  4452. description: 现货品种ID
  4453. type: integer
  4454. enumdicname:
  4455. description: 单位
  4456. type: string
  4457. hedgeditemid:
  4458. description: 被套期项目ID
  4459. type: string
  4460. hedgeditemspotid:
  4461. description: 现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)
  4462. type: string
  4463. hedgedtype:
  4464. description: 套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4465. type: integer
  4466. hedgeplanno:
  4467. description: 计划编号
  4468. type: string
  4469. oriavgprice:
  4470. description: 期初市场价[当初市场价]
  4471. type: number
  4472. relatedamount:
  4473. description: 市价总额 = 关联数量 * 期初市场价
  4474. type: number
  4475. relatedhedgeplanid:
  4476. description: 关联计划ID 【1:采购计划 2:销售计划】
  4477. type: integer
  4478. relatedqty:
  4479. description: 关联数量[数量]
  4480. type: number
  4481. relatedspotcontractid:
  4482. description: 关联合同ID 【3:采购合同 4:销售合同】
  4483. type: integer
  4484. relatedtype:
  4485. description: 关联类型 - 1:套期关联 2:执行关联
  4486. type: integer
  4487. spotgoodsbrandid:
  4488. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID" = 2
  4489. type: integer
  4490. spotpricedamount:
  4491. description: 定价总额
  4492. type: number
  4493. spotpricedavgprice:
  4494. description: 现货均价 = 定价总额 / 关联数量
  4495. type: number
  4496. spottype:
  4497. description: 现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  4498. type: integer
  4499. tradeuserid:
  4500. description: 交易用户ID
  4501. type: integer
  4502. wrstandardid:
  4503. description: 现货商品ID
  4504. type: integer
  4505. wrstandardname:
  4506. description: 现货商品
  4507. type: string
  4508. required:
  4509. - hedgeditemid
  4510. type: object
  4511. models.Ermcp2hedgeditemspotDetail:
  4512. properties:
  4513. accountname:
  4514. description: 对手方
  4515. type: string
  4516. areauserid:
  4517. description: 企业ID
  4518. type: integer
  4519. brandname:
  4520. description: 品牌
  4521. type: string
  4522. contractno:
  4523. description: 合同编号
  4524. type: string
  4525. createtime:
  4526. description: 创建时间
  4527. type: string
  4528. customeruserid:
  4529. description: 对手方 【3:采购合同 4:销售合同】
  4530. type: integer
  4531. deliverygoodsid:
  4532. description: 现货品种ID
  4533. type: integer
  4534. enumdicname:
  4535. description: 单位
  4536. type: string
  4537. hedgeditemid:
  4538. description: 被套期项目ID
  4539. type: string
  4540. hedgeditemspotid:
  4541. description: 现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)
  4542. type: string
  4543. hedgedtype:
  4544. description: 套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4545. type: integer
  4546. oriavgprice:
  4547. description: 期初市场价[当初市场价]
  4548. type: number
  4549. relatedamount:
  4550. description: 市价总额 = 关联数量 * 期初市场价
  4551. type: number
  4552. relatedhedgeplanid:
  4553. description: 关联计划ID 【1:采购计划 2:销售计划】
  4554. type: integer
  4555. relatedqty:
  4556. description: 关联数量[数量]
  4557. type: number
  4558. relatedspotcontractid:
  4559. description: 关联合同ID 【3:采购合同 4:销售合同】
  4560. type: integer
  4561. relatedtype:
  4562. description: 关联类型 - 1:套期关联 2:执行关联
  4563. type: integer
  4564. spotgoodsbrandid:
  4565. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID" = 2
  4566. type: integer
  4567. spotpricedamount:
  4568. description: 定价总额[金额]
  4569. type: number
  4570. spotpricedavgprice:
  4571. description: 现货均价 = 定价总额 / 关联数量
  4572. type: number
  4573. spottype:
  4574. description: 现货类型[合同类型] - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  4575. type: integer
  4576. tradeuserid:
  4577. description: 交易用户ID
  4578. type: integer
  4579. wrstandardid:
  4580. description: 现货商品ID
  4581. type: integer
  4582. wrstandardname:
  4583. description: 现货商品
  4584. type: string
  4585. required:
  4586. - hedgeditemid
  4587. type: object
  4588. models.Ermcp2himiddlegoods:
  4589. properties:
  4590. futurehedgeqty:
  4591. description: 期货持仓套期量
  4592. type: number
  4593. hedgeditemid:
  4594. description: 被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)
  4595. type: integer
  4596. hiexpsoure:
  4597. description: 期现敞口量 = 未执行套期量 + 期货持仓套期量
  4598. type: number
  4599. middlegoodscode:
  4600. description: 套保商品代码
  4601. type: string
  4602. middlegoodsid:
  4603. description: 套保品种ID
  4604. type: integer
  4605. middlegoodsname:
  4606. description: 套保商品名称
  4607. type: string
  4608. unexehedgeqty:
  4609. description: 未执行套期量 = 未执行现货量*折算系数* (1/(1+增值税)) * 套期比例(项目上)
  4610. type: number
  4611. required:
  4612. - hedgeditemid
  4613. - middlegoodsid
  4614. type: object
  4615. models.Ermcp2stockspotchangelog:
  4616. properties:
  4617. accountname:
  4618. description: 套期主体
  4619. type: string
  4620. aftervalue:
  4621. description: 现货量
  4622. type: number
  4623. beforevalue:
  4624. description: 变更前现货量
  4625. type: number
  4626. contractno:
  4627. description: '[编号]现货合同编号'
  4628. type: string
  4629. contracttype:
  4630. description: 现货合同类型 - 1:采购 -1:销售
  4631. type: integer
  4632. createtime:
  4633. description: 创建时间
  4634. type: string
  4635. customerusername:
  4636. description: 对手方
  4637. type: string
  4638. deliverygoodsid:
  4639. description: 现货品种ID
  4640. type: integer
  4641. exetype:
  4642. description: 执行类型 - 1:采购合同 2:销售合同 3:生产入库 4:生产出库
  4643. type: integer
  4644. logid:
  4645. description: 流水ID(604+Unix秒时间戳(10位)+xxxxxx)
  4646. type: string
  4647. logvalue:
  4648. description: '[期间变化量]现货量变更值'
  4649. type: number
  4650. middlegoodschange:
  4651. description: 套期商品变化量 = LogValue * 折算系数 * (1/(1+增值税))
  4652. type: number
  4653. operatelogtype:
  4654. description: 操作流水类型 - 2:点价数量 21:正常完结(合同) 22:异常终止(合同) 24:采购入库 25:销售出库 26:生产入库
  4655. 27:生产出库
  4656. type: integer
  4657. relatedid:
  4658. description: 现货合同ID
  4659. type: integer
  4660. spotgoodsbrandid:
  4661. description: 现货品牌ID
  4662. type: integer
  4663. tradedate:
  4664. description: 交易日(yyyyMMdd)
  4665. type: string
  4666. userid:
  4667. description: 机构ID
  4668. type: integer
  4669. warehouseinfoid:
  4670. description: 仓库ID
  4671. type: integer
  4672. wrfactortypeid:
  4673. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  4674. type: integer
  4675. wrstandardid:
  4676. description: 现货商品ID
  4677. type: integer
  4678. wrstandardname:
  4679. description: 商品名称
  4680. type: string
  4681. type: object
  4682. models.Ermcp3AreaSpot:
  4683. properties:
  4684. areauserid:
  4685. description: 所属机构
  4686. type: integer
  4687. convertratio:
  4688. description: 套保系数
  4689. type: number
  4690. decreaseqty:
  4691. description: 减少数量=-(销售已定价数量+采购计划数量)
  4692. type: number
  4693. enumdicname:
  4694. description: 单位名称
  4695. type: string
  4696. increaseqty:
  4697. description: 增加数量=销售计划数量+采购已定价数量
  4698. type: number
  4699. oritoalspotqty:
  4700. description: 昨日数量
  4701. type: number
  4702. totalspotqty:
  4703. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  4704. type: number
  4705. unitid:
  4706. description: 现货商品单位id
  4707. type: integer
  4708. updatetime:
  4709. description: 更新时间
  4710. type: string
  4711. wrstandardcode:
  4712. description: 现货商品代码
  4713. type: string
  4714. wrstandardid:
  4715. description: 现货商品ID(SEQ_WRSTANDARD)
  4716. type: integer
  4717. wrstandardname:
  4718. description: 现货商品名称
  4719. type: string
  4720. type: object
  4721. models.Ermcp3AreaSpotDetail:
  4722. properties:
  4723. contracttype:
  4724. description: 合同类型 1-采购 -1-销售
  4725. type: integer
  4726. createtime:
  4727. description: 创建时间
  4728. type: string
  4729. enumdicname:
  4730. description: 现货商品单位名称
  4731. type: string
  4732. logtype:
  4733. description: 记录类型 1-套保 2-现货合同
  4734. type: integer
  4735. qty:
  4736. description: 数量
  4737. type: number
  4738. recordname:
  4739. description: 类型名称
  4740. type: string
  4741. relatedid:
  4742. description: 套保计划ID/现货合同ID
  4743. type: string
  4744. relatedno:
  4745. description: 编号
  4746. type: string
  4747. strtime:
  4748. description: 时间
  4749. type: string
  4750. wrstandardcode:
  4751. description: 现货商品代码
  4752. type: string
  4753. wrstandardid:
  4754. description: 现货商品ID(SEQ_WRSTANDARD)
  4755. type: integer
  4756. wrstandardname:
  4757. description: 现货商品名称
  4758. type: string
  4759. type: object
  4760. models.Ermcp3AreaSpotPLReport:
  4761. properties:
  4762. accountid:
  4763. description: 期货账户ID (作废, 默认为0)
  4764. type: integer
  4765. accountname:
  4766. description: 机构名称
  4767. type: string
  4768. actualpl:
  4769. description: 现货损益
  4770. type: number
  4771. areauserid:
  4772. description: 所属机构\交易用户ID
  4773. type: integer
  4774. begindate:
  4775. description: 开始交易日
  4776. type: string
  4777. biztype:
  4778. description: 业务类型 - 1:套保 2:套利
  4779. type: integer
  4780. brandname:
  4781. description: 品牌名称
  4782. type: string
  4783. curamount:
  4784. description: 期末额
  4785. type: number
  4786. curaverageprice:
  4787. description: 期初均价
  4788. type: number
  4789. curbuyamount:
  4790. description: 期末采购总额
  4791. type: number
  4792. curbuyqty:
  4793. description: 期末采购总量
  4794. type: number
  4795. curmarketvalue:
  4796. description: 期初均价
  4797. type: number
  4798. curqty:
  4799. description: 期末量
  4800. type: number
  4801. currencyid:
  4802. description: 结算币种ID【原值】
  4803. type: integer
  4804. currencyname:
  4805. description: 币种名称
  4806. type: string
  4807. cursellamount:
  4808. description: 期末销售总额
  4809. type: number
  4810. cursellqty:
  4811. description: 期末销售总量
  4812. type: number
  4813. curspotprice:
  4814. description: 期初均价
  4815. type: number
  4816. cycletime:
  4817. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4818. type: string
  4819. cycletype:
  4820. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4821. type: integer
  4822. deliverygoodscode:
  4823. description: 现货品种代码
  4824. type: string
  4825. deliverygoodsid:
  4826. description: 现货品种ID
  4827. type: integer
  4828. deliverygoodsname:
  4829. description: 现货品种名称
  4830. type: string
  4831. enddate:
  4832. description: 结束交易日
  4833. type: string
  4834. enumdicname:
  4835. description: 现货品种单位名称(作废)
  4836. type: string
  4837. floatpl:
  4838. description: 期初均价
  4839. type: number
  4840. goodsunitid:
  4841. description: 现货品种单位id(作废)
  4842. type: integer
  4843. oriamount:
  4844. description: 期初额
  4845. type: number
  4846. oriaverageprice:
  4847. description: 期初均价
  4848. type: number
  4849. oribuyamount:
  4850. description: 期初采购总额
  4851. type: number
  4852. oribuyqty:
  4853. description: 期初采购总量
  4854. type: number
  4855. oriqty:
  4856. description: 期初量
  4857. type: number
  4858. orisellamount:
  4859. description: 期初销售总额
  4860. type: number
  4861. orisellqty:
  4862. description: 期初销售总量
  4863. type: number
  4864. reckondate:
  4865. description: 日照时期(yyyyMMdd)
  4866. type: string
  4867. spotgoodsbrandid:
  4868. description: 现货品牌ID
  4869. type: integer
  4870. todaybuyamount:
  4871. description: 今日采购额(今采购额)
  4872. type: number
  4873. todaybuyaverageprice:
  4874. description: 期初均价
  4875. type: number
  4876. todaybuyqty:
  4877. description: 今日采购量(今采购量)
  4878. type: number
  4879. todayinqty:
  4880. description: 今日入库量(今入库量)
  4881. type: number
  4882. todayoutqty:
  4883. description: 今日出库量(今出库量)
  4884. type: number
  4885. todaysellamount:
  4886. description: 今日销售额(今销售额)
  4887. type: number
  4888. todaysellaverageprice:
  4889. description: 期初均价
  4890. type: number
  4891. todaysellqty:
  4892. description: 今日销售量(今销售量)
  4893. type: number
  4894. unitid:
  4895. description: 品类单位id
  4896. type: integer
  4897. unitidname:
  4898. description: 品类单位名称
  4899. type: string
  4900. updatetime:
  4901. description: 更新时间
  4902. type: string
  4903. wrfactortypeid:
  4904. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  4905. type: integer
  4906. wrstandardcode:
  4907. description: 现货商品(品类)代码
  4908. type: string
  4909. wrstandardid:
  4910. description: 现货品类ID
  4911. type: integer
  4912. wrstandardname:
  4913. description: 现货商品(品类)名称
  4914. type: string
  4915. type: object
  4916. models.Ermcp3AreaStock:
  4917. properties:
  4918. brandname:
  4919. description: 品牌名称
  4920. type: string
  4921. curstock:
  4922. description: 期末库存量(今日量)
  4923. type: number
  4924. deliverygoodscode:
  4925. description: 现货品种代码
  4926. type: string
  4927. deliverygoodsid:
  4928. description: 现货品种id
  4929. type: integer
  4930. deliverygoodsname:
  4931. description: 现货品种名称
  4932. type: string
  4933. enumdicname:
  4934. description: 单位名称
  4935. type: string
  4936. goodsunitid:
  4937. description: 现货商品单位id
  4938. type: integer
  4939. oristock:
  4940. description: 期初库存量(昨日量)
  4941. type: number
  4942. spotgoodsbrandid:
  4943. description: 现货品牌ID
  4944. type: integer
  4945. todaybuyinqty:
  4946. description: 今日采购入库量
  4947. type: number
  4948. todayproduceinqty:
  4949. description: 今日生产入库量
  4950. type: number
  4951. todayproduceoutqty:
  4952. description: 今日生产出库量
  4953. type: number
  4954. todayselloutqty:
  4955. description: 今日销售出库量
  4956. type: number
  4957. unitid:
  4958. description: 单位id
  4959. type: integer
  4960. updatetime:
  4961. description: 更新时间
  4962. type: string
  4963. userid:
  4964. description: 机构ID
  4965. type: integer
  4966. username:
  4967. description: 机构名称
  4968. type: string
  4969. warehousecode:
  4970. description: 仓库代码
  4971. type: string
  4972. warehouseinfoid:
  4973. description: 仓库ID
  4974. type: string
  4975. warehousename:
  4976. description: 仓库名称
  4977. type: string
  4978. warehousetype:
  4979. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4980. type: integer
  4981. wrstandardcode:
  4982. description: 品类代码
  4983. type: string
  4984. wrstandardid:
  4985. description: 品类ID
  4986. type: string
  4987. wrstandardname:
  4988. description: 品类名称
  4989. type: string
  4990. required:
  4991. - userid
  4992. type: object
  4993. models.Ermcp3AreaStockApply:
  4994. properties:
  4995. applyid:
  4996. description: 申请人
  4997. type: integer
  4998. applyname:
  4999. description: 申请人名称
  5000. type: string
  5001. applyremark:
  5002. description: 申请备注
  5003. type: string
  5004. applysrc:
  5005. description: 申请来源 - 1:管理端 2:终端
  5006. type: integer
  5007. applystatus:
  5008. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  5009. type: integer
  5010. applytime:
  5011. description: 申请时间
  5012. type: string
  5013. auditid:
  5014. description: 审核人
  5015. type: integer
  5016. auditname:
  5017. description: 审核人名称
  5018. type: string
  5019. auditremark:
  5020. description: 审核备注
  5021. type: string
  5022. auditsrc:
  5023. description: 审核来源 - 1:管理端 2:终端
  5024. type: integer
  5025. audittime:
  5026. description: 审核时间
  5027. type: string
  5028. audittradedate:
  5029. description: 审核交易日(yyyyMMdd)
  5030. type: string
  5031. brandname:
  5032. description: 品牌名称
  5033. type: string
  5034. buynickname:
  5035. description: 采购方昵称
  5036. type: string
  5037. buyuserid:
  5038. description: 采购方userid
  5039. type: integer
  5040. buyusername:
  5041. description: 采购方名称
  5042. type: string
  5043. contractno:
  5044. description: 合同编号
  5045. type: string
  5046. contractqty:
  5047. description: 合同量
  5048. type: number
  5049. contracttype:
  5050. description: 现货合同类型 - 1:采购 -1:销售
  5051. type: integer
  5052. deliverygoodscode:
  5053. description: 现货品种代码
  5054. type: string
  5055. deliverygoodsid:
  5056. description: 现货品种id
  5057. type: integer
  5058. deliverygoodsname:
  5059. description: 现货品种名称
  5060. type: string
  5061. detailjson:
  5062. description: 明细数据
  5063. type: string
  5064. enumdicname:
  5065. description: 现货商品单位名称
  5066. type: string
  5067. inoutapplyid:
  5068. description: 申请ID(607+Unix秒时间戳(10位)+xxxxxx)
  5069. type: string
  5070. inouttype:
  5071. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  5072. type: integer
  5073. pricetype:
  5074. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  5075. type: integer
  5076. qty:
  5077. description: 数量
  5078. type: number
  5079. sellnickname:
  5080. description: 销售方昵称
  5081. type: string
  5082. selluserid:
  5083. description: 销售方userid
  5084. type: integer
  5085. sellusername:
  5086. description: 销售方名称
  5087. type: string
  5088. spotcontractid:
  5089. description: 关联现货合同ID
  5090. type: string
  5091. spotgoodsbrandid:
  5092. description: 现货品牌ID
  5093. type: integer
  5094. unitid:
  5095. description: 单位id
  5096. type: integer
  5097. userid:
  5098. description: 机构ID
  5099. type: integer
  5100. warehousecode:
  5101. description: 仓库代码
  5102. type: string
  5103. warehouseinfoid:
  5104. description: 现货仓库ID
  5105. type: string
  5106. warehousename:
  5107. description: 仓库名称
  5108. type: string
  5109. warehousetype:
  5110. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  5111. type: integer
  5112. wrstandardcode:
  5113. description: 品类代码
  5114. type: string
  5115. wrstandardid:
  5116. description: 品类ID
  5117. type: integer
  5118. wrstandardname:
  5119. description: 品类名称
  5120. type: string
  5121. type: object
  5122. models.Ermcp3AreaStockApplySum:
  5123. properties:
  5124. brandname:
  5125. description: 品牌名称
  5126. type: string
  5127. inouttype:
  5128. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  5129. type: integer
  5130. spotcontractid:
  5131. description: 关联现货合同ID
  5132. type: string
  5133. spotgoodsbrandid:
  5134. description: 品牌id
  5135. type: integer
  5136. totalqty:
  5137. description: 总数量
  5138. type: number
  5139. wrstandardid:
  5140. description: 品类id
  5141. type: integer
  5142. wrstandardname:
  5143. description: 品类名称
  5144. type: string
  5145. type: object
  5146. models.Ermcp3AreaStockReportEx:
  5147. properties:
  5148. begindate:
  5149. description: 开始交易日
  5150. type: string
  5151. brandname:
  5152. description: 品牌名称
  5153. type: string
  5154. curstock:
  5155. description: 期末库存量
  5156. type: number
  5157. cycletime:
  5158. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5159. type: string
  5160. cycletype:
  5161. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5162. type: integer
  5163. deliverygoodscode:
  5164. description: 现货品种代码
  5165. type: string
  5166. deliverygoodsid:
  5167. description: 现货品种id
  5168. type: integer
  5169. deliverygoodsname:
  5170. description: 现货品种名称
  5171. type: string
  5172. diffqty:
  5173. description: 库存变化量 = 期末 - 期初
  5174. type: number
  5175. enddate:
  5176. description: 结束交易日
  5177. type: string
  5178. enumdicname:
  5179. description: 单位名称
  5180. type: string
  5181. goodsunitid:
  5182. description: 现货单位id
  5183. type: integer
  5184. oristock:
  5185. description: 期初库存量
  5186. type: number
  5187. reckondate:
  5188. description: 日照时期(yyyyMMdd)
  5189. type: string
  5190. spotgoodsbrandid:
  5191. description: 现货品牌ID
  5192. type: integer
  5193. todaybuyinqty:
  5194. description: 今采购入库量
  5195. type: number
  5196. todayproduceinqty:
  5197. description: 今内部入库量
  5198. type: number
  5199. todayproduceoutqty:
  5200. description: 今内部出库量
  5201. type: number
  5202. todayselloutqty:
  5203. description: 今销售出库量
  5204. type: number
  5205. unbuyinqty:
  5206. description: 采购未入库量(数据库未找到相关字段?)
  5207. type: number
  5208. unitid:
  5209. description: 品类单位id
  5210. type: integer
  5211. unselloutqty:
  5212. description: 销售未出库量(数据库未找到相关字段?)
  5213. type: number
  5214. updatetime:
  5215. description: 更新时间
  5216. type: string
  5217. userid:
  5218. description: 机构ID
  5219. type: integer
  5220. username:
  5221. description: 机构名称
  5222. type: string
  5223. warehousecode:
  5224. description: 仓库代码
  5225. type: string
  5226. warehouseinfoid:
  5227. description: 仓库ID
  5228. type: string
  5229. warehousename:
  5230. description: 仓库名称
  5231. type: string
  5232. warehousetype:
  5233. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  5234. type: integer
  5235. wrstandardcode:
  5236. description: 品类代码
  5237. type: string
  5238. wrstandardid:
  5239. description: 品类ID
  5240. type: integer
  5241. wrstandardname:
  5242. description: 品类名称
  5243. type: string
  5244. type: object
  5245. models.Ermcp3ArealSumPL:
  5246. properties:
  5247. accountname:
  5248. description: 机构名称
  5249. type: string
  5250. areauserid:
  5251. description: 所属机构\交易用户ID
  5252. type: integer
  5253. begindate:
  5254. description: 开始交易日
  5255. type: string
  5256. currencyid:
  5257. description: 结算币种ID
  5258. type: integer
  5259. currencyname:
  5260. description: 币种名称
  5261. type: string
  5262. cycletime:
  5263. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5264. type: string
  5265. cycletype:
  5266. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5267. type: integer
  5268. enddate:
  5269. description: 结束交易日
  5270. type: string
  5271. enumdicname:
  5272. description: 单位名称(套保品种)
  5273. type: string
  5274. futureactualpl:
  5275. description: 期货损益
  5276. type: number
  5277. futurefloatpl:
  5278. description: 期货浮动损益
  5279. type: number
  5280. futurespotratio:
  5281. description: 期现比例 = 期货头寸总量 / 现货头寸总量
  5282. type: number
  5283. goodsunitid:
  5284. description: 套保品种单位id
  5285. type: integer
  5286. hedgeexposurepl:
  5287. description: 套保敞口损益
  5288. type: number
  5289. middlegoodscode:
  5290. description: 套保品种代码
  5291. type: string
  5292. middlegoodsid:
  5293. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  5294. type: integer
  5295. middlegoodsname:
  5296. description: 套保品种名称
  5297. type: string
  5298. reckondate:
  5299. description: 日照时期(yyyyMMdd)
  5300. type: string
  5301. spotactualpl:
  5302. description: 现货损益
  5303. type: number
  5304. spotfloatpl:
  5305. description: 现货浮动损益
  5306. type: number
  5307. sumactualpl:
  5308. description: 实际损益 = (ActualPL + FutureActualPL)
  5309. type: number
  5310. sumpl:
  5311. description: 总敞口损益 | 汇总损益
  5312. type: number
  5313. totalfutureqty:
  5314. description: 期货头寸总量
  5315. type: number
  5316. totalneedhedgeqty:
  5317. description: 应套保总量
  5318. type: number
  5319. totalspotqty:
  5320. description: 现货头寸总量
  5321. type: number
  5322. updatetime:
  5323. description: 更新时间
  5324. type: string
  5325. type: object
  5326. models.Ermcp3Brand:
  5327. properties:
  5328. areauserid:
  5329. description: 用户id
  5330. type: integer
  5331. brandid:
  5332. description: 品牌id
  5333. type: integer
  5334. brandname:
  5335. description: 品牌名称
  5336. type: string
  5337. deliverygoodsid:
  5338. description: 品种ID
  5339. type: integer
  5340. isvalid:
  5341. description: 是否有效
  5342. type: integer
  5343. type: object
  5344. models.Ermcp3Contract:
  5345. properties:
  5346. accountid:
  5347. description: 期货账户id
  5348. type: string
  5349. amount:
  5350. description: 金额 [1:一口价、3:暂定价]
  5351. type: number
  5352. attachment:
  5353. description: 附件
  5354. type: string
  5355. auditremark:
  5356. description: 审核意见
  5357. type: string
  5358. audittime:
  5359. description: 审核时间
  5360. type: string
  5361. biztype:
  5362. description: 业务类型 1-套保 2-套利
  5363. type: integer
  5364. brandname:
  5365. description: 品牌名称
  5366. type: string
  5367. buynickname:
  5368. description: 销售方昵称
  5369. type: string
  5370. buyuserid:
  5371. description: 采购方ID
  5372. type: integer
  5373. buyusername:
  5374. description: 采购方名称
  5375. type: string
  5376. contracctstatus:
  5377. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5378. type: integer
  5379. contractmargin:
  5380. description: 合同保证金
  5381. type: number
  5382. contractno:
  5383. description: 现货合同编号
  5384. type: string
  5385. contracttype:
  5386. description: 现货合同类型 - 1:采购 -1:销售
  5387. type: integer
  5388. convertfactor:
  5389. description: 标仓系数(品类)
  5390. type: number
  5391. createtime:
  5392. description: 创建时间
  5393. type: string
  5394. currencyid:
  5395. description: 币种id
  5396. type: integer
  5397. currencyname:
  5398. description: 币种名称
  5399. type: string
  5400. deliveryenddate:
  5401. description: 交收期(结束)
  5402. type: string
  5403. deliverygoodscode:
  5404. description: 现货品种代码
  5405. type: string
  5406. deliverygoodsid:
  5407. description: 现货品种ID
  5408. type: integer
  5409. deliverygoodsname:
  5410. description: 现货品种名称
  5411. type: string
  5412. deliverystartdate:
  5413. description: 交收期(开始)
  5414. type: string
  5415. enddate:
  5416. description: 点价结束日期 [2:点价 3:暂定价]
  5417. type: string
  5418. enumdicname:
  5419. description: 单位名称
  5420. type: string
  5421. goodscode:
  5422. description: 点价合约代码
  5423. type: string
  5424. goodsid:
  5425. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  5426. type: integer
  5427. goodsname:
  5428. description: 点价商品名称
  5429. type: string
  5430. margin:
  5431. description: 当前保证金
  5432. type: number
  5433. meruserid:
  5434. description: 跟单员id
  5435. type: integer
  5436. meruserlogincode:
  5437. description: 跟单员登录代码
  5438. type: string
  5439. merusername:
  5440. description: 跟单员名称
  5441. type: string
  5442. pointdesc:
  5443. description: 点价备注
  5444. type: string
  5445. price:
  5446. description: 价格\暂定价 [1:一口价、3:暂定价]
  5447. type: number
  5448. pricemove:
  5449. description: 升贴水 [2:点价 3:暂定价]
  5450. type: number
  5451. pricetype:
  5452. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  5453. type: integer
  5454. producttype:
  5455. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  5456. type: integer
  5457. qty:
  5458. description: 数量
  5459. type: number
  5460. remark:
  5461. description: 备注
  5462. type: string
  5463. saleuserid:
  5464. description: 业务员id
  5465. type: integer
  5466. saleuserlogincode:
  5467. description: 业务员登录代码
  5468. type: string
  5469. saleusername:
  5470. description: 业务员名称
  5471. type: string
  5472. sellnickname:
  5473. description: 采购方昵称
  5474. type: string
  5475. selluserid:
  5476. description: 销售方ID
  5477. type: integer
  5478. sellusername:
  5479. description: 销售方名称
  5480. type: string
  5481. spotcontractid:
  5482. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  5483. type: string
  5484. spotgoodsbrandid:
  5485. description: 现货品牌ID(DGFactoryItem表的ID)
  5486. type: integer
  5487. spotgoodsdesc:
  5488. description: 商品型号
  5489. type: string
  5490. startdate:
  5491. description: 点价开始日期 [2:点价 3:暂定价]
  5492. type: string
  5493. subjectid:
  5494. description: 交易主体ID
  5495. type: integer
  5496. subjectname:
  5497. description: 交易主体名称
  5498. type: string
  5499. tradeuserid:
  5500. description: 交易员id
  5501. type: integer
  5502. tradeuserlogincode:
  5503. description: 交易员登录代码
  5504. type: string
  5505. tradeusername:
  5506. description: 交易员名称
  5507. type: string
  5508. unitid:
  5509. description: 单位id(取品类上的单位id)
  5510. type: integer
  5511. updatetime:
  5512. description: 更新时间
  5513. type: string
  5514. userid:
  5515. description: 所属机构ID
  5516. type: integer
  5517. vatrate:
  5518. description: 增值税率
  5519. type: number
  5520. wrstandardcode:
  5521. description: 品类代码
  5522. type: string
  5523. wrstandardid:
  5524. description: 品类ID
  5525. type: integer
  5526. wrstandardname:
  5527. description: 品类名称
  5528. type: string
  5529. type: object
  5530. models.Ermcp3ContractMiddleGoodsCfg:
  5531. properties:
  5532. agreeunit:
  5533. description: 合约乘数
  5534. type: number
  5535. convertratio:
  5536. description: 期货品种系数
  5537. type: number
  5538. covertqty:
  5539. description: 折算手数 =【待点价量 / (合约乘数*期货品种系数) 】
  5540. type: integer
  5541. middlegoodsid:
  5542. description: 套保品种ID
  5543. type: integer
  5544. middlegoodspricedqty3:
  5545. description: 已定价量(套保品种应套保量) = MiddleGoodsPricedQty2 * 套保比率
  5546. example: "0"
  5547. type: string
  5548. pendingpricedqty:
  5549. description: 待点价量
  5550. example: "0"
  5551. type: string
  5552. relatedmiddlegoodsqty:
  5553. description: 已关联量(套保品种-期货)
  5554. example: "0"
  5555. type: string
  5556. spotcontractid:
  5557. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  5558. type: string
  5559. type: object
  5560. models.Ermcp3ExposureContractDetail:
  5561. properties:
  5562. biztype:
  5563. description: 业务类型 1-套保 2-套利
  5564. type: integer
  5565. brandname:
  5566. description: 品牌名称
  5567. type: string
  5568. buyuserid:
  5569. description: 采购方id
  5570. type: integer
  5571. buyusername:
  5572. description: 采购方名称
  5573. type: string
  5574. contractno:
  5575. description: 合同编号
  5576. type: string
  5577. contracttype:
  5578. description: 现货合同类型 - 1:采购 -1:销售
  5579. type: integer
  5580. convertfactor:
  5581. description: 标仓系数
  5582. type: number
  5583. convertratio:
  5584. description: 折算系数(套保品种)
  5585. type: number
  5586. curqty:
  5587. description: 今定价量
  5588. type: number
  5589. deliverygoodscode:
  5590. description: 现货品种代码
  5591. type: string
  5592. deliverygoodsid:
  5593. description: 现货品种id
  5594. type: integer
  5595. deliverygoodsname:
  5596. description: 现货品种名称
  5597. type: string
  5598. diffhedgeqty:
  5599. description: 套保变动量
  5600. type: number
  5601. diffneedhedgeqty:
  5602. description: 应套保变动量
  5603. type: number
  5604. diffqty:
  5605. description: 套保品种今变动量
  5606. type: number
  5607. enumdicname:
  5608. description: 单位名称
  5609. type: string
  5610. mgunitname:
  5611. description: 套保品种单位名称
  5612. type: string
  5613. middlegoodscode:
  5614. description: 套保品种代码
  5615. type: string
  5616. middlegoodsid:
  5617. description: 套保品种id
  5618. type: integer
  5619. middlegoodsname:
  5620. description: 套保品种名称
  5621. type: string
  5622. needarbitrageratio:
  5623. description: 应套利比例
  5624. type: number
  5625. needhedgeratio:
  5626. description: 应套保比例
  5627. type: number
  5628. pricedqty:
  5629. description: 已定价量
  5630. type: number
  5631. qty:
  5632. description: 合同量
  5633. type: number
  5634. reckondate:
  5635. description: 交易日(reckondate)
  5636. type: string
  5637. selluserid:
  5638. description: 销售方id
  5639. type: integer
  5640. sellusername:
  5641. description: 销售方名称
  5642. type: string
  5643. spotcontractid:
  5644. description: 合同id
  5645. type: string
  5646. todaypricedqty:
  5647. description: 今定价量
  5648. type: number
  5649. tradedate:
  5650. description: 交易日
  5651. type: string
  5652. unitid:
  5653. description: 品类单位id
  5654. type: integer
  5655. userid:
  5656. description: 机构id
  5657. type: integer
  5658. username:
  5659. description: 交易用户
  5660. type: string
  5661. wrstandardcode:
  5662. description: 现货商品代码
  5663. type: string
  5664. wrstandardid:
  5665. description: 现货商品id
  5666. type: integer
  5667. wrstandardname:
  5668. description: 现货商品名称
  5669. type: string
  5670. type: object
  5671. models.Ermcp3ExposureDetail:
  5672. properties:
  5673. areauserid:
  5674. description: 机构ID
  5675. type: integer
  5676. changeQty:
  5677. description: 套保变动量
  5678. type: number
  5679. contracttype:
  5680. description: 现货合同类型 - 1:采购 -1:销售
  5681. type: integer
  5682. convertfactor:
  5683. description: 标仓系数
  5684. type: number
  5685. convertratio:
  5686. description: 折算系数
  5687. type: number
  5688. createtime:
  5689. description: 时间
  5690. type: string
  5691. enumdicname:
  5692. description: 现货商品单位名称
  5693. type: string
  5694. logtype:
  5695. description: 类型 - 1:套保计划 2:现货合同
  5696. type: integer
  5697. mgunitid:
  5698. description: 套保品种单位id
  5699. type: integer
  5700. mgunitidname:
  5701. description: 套保品种单位名称
  5702. type: string
  5703. middlegoodsId:
  5704. description: 套保商品id
  5705. type: integer
  5706. middlegoodscode:
  5707. description: 套保商品代码
  5708. type: string
  5709. middlegoodsname:
  5710. description: 套保商品名称
  5711. type: string
  5712. qty:
  5713. description: 数量
  5714. type: number
  5715. relateNo:
  5716. description: 现货合同/套保计划编号
  5717. type: string
  5718. unitid:
  5719. description: 现货商品单位id
  5720. type: integer
  5721. wrstandardcode:
  5722. description: 现货商品代码
  5723. type: string
  5724. wrstandardid:
  5725. description: 现货商品ID(SEQ_WRSTANDARD)
  5726. type: integer
  5727. wrstandardname:
  5728. description: 现货商品名称
  5729. type: string
  5730. type: object
  5731. models.Ermcp3ExposureFutuDetail:
  5732. properties:
  5733. accountid:
  5734. description: 交易账户id
  5735. type: integer
  5736. accountname:
  5737. description: 交易账户
  5738. type: string
  5739. begindate:
  5740. description: 开始交易日
  5741. type: string
  5742. buyorsell:
  5743. description: 方向 0-买 1-卖
  5744. type: integer
  5745. diffmgqty:
  5746. description: 套保品种今变化量
  5747. type: number
  5748. diffneedqty:
  5749. description: 应套保总量变化量
  5750. type: number
  5751. difftradeqty:
  5752. description: 交易品种今变化量
  5753. type: number
  5754. enddate:
  5755. description: 结束交易日
  5756. type: string
  5757. enumdicname:
  5758. description: 单位名称
  5759. type: string
  5760. goodscode:
  5761. description: 商品代码
  5762. type: string
  5763. goodsid:
  5764. description: 商品id
  5765. type: integer
  5766. goodsname:
  5767. description: 商品名称
  5768. type: string
  5769. holdqty:
  5770. description: 期末持仓量
  5771. type: number
  5772. middlegoodscode:
  5773. description: 套保商品代码
  5774. type: string
  5775. middlegoodsid:
  5776. description: 套保商品id
  5777. type: integer
  5778. middlegoodsname:
  5779. description: 套保商品名称
  5780. type: string
  5781. oriholdqty:
  5782. description: 期初持仓量
  5783. type: number
  5784. reckondate:
  5785. description: 交易日(RECKONDATE)
  5786. type: string
  5787. todaycloseqty:
  5788. description: 今平仓量
  5789. type: number
  5790. todayopenqty:
  5791. description: 今开仓量
  5792. type: number
  5793. tradedate:
  5794. description: 交易日(RECKONDATE)
  5795. type: string
  5796. username:
  5797. description: 用户名称(交易用户)
  5798. type: string
  5799. type: object
  5800. models.Ermcp3ExposureHedgeplanDetail:
  5801. properties:
  5802. biztype:
  5803. description: 业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利
  5804. type: integer
  5805. changqty:
  5806. description: 应套保总量变化量
  5807. type: number
  5808. contracttype:
  5809. description: 计划类型 - 1:采购 -1:销售
  5810. type: integer
  5811. convertratio:
  5812. description: 折算系数(套保品种)
  5813. type: number
  5814. deliverygoodscode:
  5815. description: 现货商品代码
  5816. type: string
  5817. deliverygoodsid:
  5818. description: 现货商品id
  5819. type: integer
  5820. deliverygoodsname:
  5821. description: 现货商吕名称
  5822. type: string
  5823. dgunitid:
  5824. description: 现货商品单位id
  5825. type: integer
  5826. dgunitidname:
  5827. description: 单位名称(现货商品)
  5828. type: string
  5829. diffqty:
  5830. description: 套保品种今变动量
  5831. type: number
  5832. enumdicname:
  5833. description: 单位名称(品类)
  5834. type: string
  5835. hedgeplanid:
  5836. description: 套保计划id
  5837. type: string
  5838. hedgeplanno:
  5839. description: 套保计划名称
  5840. type: string
  5841. hedgeplanstatus:
  5842. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5843. type: integer
  5844. mgunitidname:
  5845. description: 单位名称(套保商品)
  5846. type: string
  5847. middlegoodscode:
  5848. description: 套保品种代码
  5849. type: string
  5850. middlegoodsid:
  5851. description: 套保品种id
  5852. type: integer
  5853. middlegoodsname:
  5854. description: 套保品种名称
  5855. type: string
  5856. needarbitrageratio:
  5857. description: 应套利比例
  5858. type: number
  5859. needhedgeratio:
  5860. description: 应套保比例
  5861. type: number
  5862. pricedqty:
  5863. description: 已定价量
  5864. type: number
  5865. qty:
  5866. description: 合同量
  5867. type: number
  5868. reckondate:
  5869. description: 交易日(reckondate)
  5870. type: string
  5871. tradedate:
  5872. description: 交易日(登记日)
  5873. type: string
  5874. unitid:
  5875. description: 品类单位id
  5876. type: integer
  5877. userid:
  5878. description: 机构id
  5879. type: integer
  5880. wrstandardcode:
  5881. description: 品类代码
  5882. type: string
  5883. wrstandardid:
  5884. description: 品类id
  5885. type: integer
  5886. wrstandardname:
  5887. description: 品类名称
  5888. type: string
  5889. type: object
  5890. models.Ermcp3ExposureParamChLog:
  5891. properties:
  5892. accountid:
  5893. description: 期货账户ID (作废, 默认为0)
  5894. type: integer
  5895. aftervalue:
  5896. description: 应套保\套利量变更后(调整后应套保总量)
  5897. type: number
  5898. areauserid:
  5899. description: 所属机构\交易用户ID
  5900. type: integer
  5901. beforevalue:
  5902. description: 应套保\套利量变更前(调整前应套保总量)
  5903. type: number
  5904. begindate:
  5905. description: 开始交易日
  5906. type: string
  5907. changelogtype:
  5908. description: 变更流水类型 - 1:套保比率变更 2:套利比率变更
  5909. type: integer
  5910. curvalue:
  5911. description: 当前套保\套利量(套保总量|套利总量)
  5912. type: number
  5913. diffvalue:
  5914. description: 应套保总量变化量
  5915. type: number
  5916. enddate:
  5917. description: 结束交易日
  5918. type: string
  5919. logdatetime:
  5920. description: 流水日期
  5921. type: string
  5922. logid:
  5923. description: 流水ID(609+Unix秒时间戳(10位)+xxxxxx)
  5924. type: string
  5925. middlegoodscode:
  5926. description: 套保品种代码
  5927. type: string
  5928. middlegoodsid:
  5929. description: 套保品种
  5930. type: integer
  5931. middlegoodsname:
  5932. description: 套保品种名称
  5933. type: string
  5934. paramaftervalue:
  5935. description: 参数变更后(调整后参数值)
  5936. type: number
  5937. parambeforevalue:
  5938. description: 参数变更前(调整前参数值)
  5939. type: number
  5940. reckondate:
  5941. description: 交易日(reckondate)
  5942. type: string
  5943. tradedate:
  5944. description: 交易日(yyyyMMdd)
  5945. type: string
  5946. type: object
  5947. models.Ermcp3ExpourseReport:
  5948. properties:
  5949. accountid:
  5950. description: 期货账户ID (作废, 默认为0)
  5951. type: integer
  5952. accountname:
  5953. description: 机构名称
  5954. type: string
  5955. arbitrageqty:
  5956. description: 套利量
  5957. type: number
  5958. areauserid:
  5959. description: 所属机构\交易用户ID
  5960. type: integer
  5961. begindate:
  5962. description: 开始交易日
  5963. type: string
  5964. buyfutureqty:
  5965. description: 买入期货数量
  5966. type: number
  5967. buyplanqty:
  5968. description: 采购计划数量
  5969. type: number
  5970. buypricedqty:
  5971. description: 采购合同已定价数量
  5972. type: number
  5973. cycletime:
  5974. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5975. type: string
  5976. cycletype:
  5977. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5978. type: integer
  5979. diffexposure:
  5980. description: 变动量(套保敞口)
  5981. type: number
  5982. difffutuqty:
  5983. description: 变动量(期货)
  5984. type: number
  5985. diffhedgeqty:
  5986. description: 变动量(现货应套保总量)
  5987. type: number
  5988. diffmgqtya:
  5989. description: 套保变动量
  5990. type: number
  5991. diffmgqtyb:
  5992. description: 套利变动量
  5993. type: number
  5994. diffneedqty:
  5995. description: 应套变动量 = 应套保量 - 期初应套保量 + 应套利量 - 期初应套利量
  5996. type: number
  5997. diffqty:
  5998. description: 变动量(总敞口)
  5999. type: number
  6000. diffspotqty:
  6001. description: 变动量(现货) | 除税变动量
  6002. type: number
  6003. enddate:
  6004. description: 结束交易日
  6005. type: string
  6006. enumdicname:
  6007. description: 单位名称
  6008. type: string
  6009. hedgeqty:
  6010. description: 套保量
  6011. type: number
  6012. mgneedhedgeratio:
  6013. description: 套保比例(套保品的)
  6014. type: number
  6015. middlegoodsid:
  6016. description: 套保品种ID
  6017. type: integer
  6018. middlegoodsname:
  6019. description: 套保商品名称
  6020. type: string
  6021. middlgoodscode:
  6022. description: 套保商品代码
  6023. type: string
  6024. needarbitrageqty:
  6025. description: 应套利量
  6026. type: number
  6027. needarbitrageratio:
  6028. description: 套利比例(套保品的)
  6029. type: number
  6030. needhedgeexposoure:
  6031. description: 应套保敞口(套保敞口)
  6032. type: number
  6033. needhedgeqty:
  6034. description: 应套保量
  6035. type: number
  6036. needhedgeratio:
  6037. description: 应套保敞口比例
  6038. type: number
  6039. needqty:
  6040. description: 应套总量 = 应套保量 + 应套利量
  6041. type: number
  6042. oriarbitrageqty:
  6043. description: 期初套利量
  6044. type: number
  6045. oribuyfutureqty:
  6046. description: 期初买入期货数量
  6047. type: number
  6048. oribuyplanqty:
  6049. description: 期初采购计划数量
  6050. type: number
  6051. oribuypricedqty:
  6052. description: 期初采购合同已定价数量
  6053. type: number
  6054. orihedgeqty:
  6055. description: 期初套保量
  6056. type: number
  6057. orineedarbitrageqty:
  6058. description: 期初应套利量
  6059. type: number
  6060. orineedhedgeexposoure:
  6061. description: 期初应套保敞口
  6062. type: number
  6063. orineedhedgeqty:
  6064. description: 期初应套保量
  6065. type: number
  6066. orisellfutureqty:
  6067. description: 期初卖出期货数量
  6068. type: number
  6069. orisellplanqty:
  6070. description: 期初销售计划数量
  6071. type: number
  6072. orisellpricedqty:
  6073. description: 期初销售合同已定价数量
  6074. type: number
  6075. oritotalexposure:
  6076. description: 期初实时总敞口
  6077. type: number
  6078. oritotalfutureqty:
  6079. description: 期初期货头寸总量
  6080. type: number
  6081. oritotalneedhedgeqty:
  6082. description: 期初应套保总量
  6083. type: number
  6084. oritotalspotqty:
  6085. description: 期初现货头寸总量
  6086. type: number
  6087. reckondate:
  6088. description: 日照时期(yyyyMMdd)
  6089. type: string
  6090. sellfutureqty:
  6091. description: 卖出期货数量
  6092. type: number
  6093. sellplanqty:
  6094. description: 销售计划数量
  6095. type: number
  6096. sellpricedqty:
  6097. description: 销售合同已定价数量
  6098. type: number
  6099. totalexposure:
  6100. description: 实时总敞口(总敞口)
  6101. type: number
  6102. totalfutureqty:
  6103. description: 期货头寸总量(期货总量)
  6104. type: number
  6105. totalhedgeratio:
  6106. description: 敞口比例
  6107. type: number
  6108. totalneedhedgeqty:
  6109. description: 应套保总量(现货应套保总量)
  6110. type: number
  6111. totalspotqty:
  6112. description: 现货头寸总量 | 除税总量
  6113. type: number
  6114. unitid:
  6115. description: 单位id
  6116. type: integer
  6117. updatetime:
  6118. description: 更新时间
  6119. type: string
  6120. type: object
  6121. models.Ermcp3FinanceReport:
  6122. properties:
  6123. accountname:
  6124. description: 机构名称
  6125. type: string
  6126. areauserid:
  6127. description: 所属机构\交易用户ID
  6128. type: integer
  6129. begindate:
  6130. description: 开始交易日
  6131. type: string
  6132. biztype:
  6133. description: 业务类型 - 1:套保 2:套利
  6134. type: integer
  6135. brandname:
  6136. description: 品牌名称
  6137. type: string
  6138. buypreinvoicedamount:
  6139. description: 采购预收票额(预收票额)
  6140. type: number
  6141. buyprepaidamount:
  6142. description: 采购预付款额(预付货款额)
  6143. type: number
  6144. buytodayinvoiceamount:
  6145. description: 采购今收票额(今收票额)
  6146. type: number
  6147. buytodayrefundamount:
  6148. description: 采购今收退款额(今收退款额)
  6149. type: number
  6150. buytodaysettleamount:
  6151. description: 采购今付款额(今付货款额)
  6152. type: number
  6153. buyuninvoicedamount:
  6154. description: 采购应收票额(应收票额)
  6155. type: number
  6156. buyunpaidamount:
  6157. description: 采购应付款额(应付货款额)
  6158. type: number
  6159. currencyid:
  6160. description: 结算币种ID
  6161. type: integer
  6162. currencyname:
  6163. description: 币种名称
  6164. type: string
  6165. cycletime:
  6166. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  6167. type: string
  6168. cycletype:
  6169. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  6170. type: integer
  6171. deliverygoodscode:
  6172. description: 现货品种代码
  6173. type: string
  6174. deliverygoodsid:
  6175. description: 现货品种ID
  6176. type: integer
  6177. deliverygoodsname:
  6178. description: 现货品种名称
  6179. type: string
  6180. enddate:
  6181. description: 结束交易日
  6182. type: string
  6183. reckondate:
  6184. description: 日照时期(yyyyMMdd)
  6185. type: string
  6186. sellpreinvoicedamount:
  6187. description: 销售预开票额(预开票额)
  6188. type: number
  6189. sellprepaidamount:
  6190. description: 销售预收款额(预收货款额)
  6191. type: number
  6192. selltodayinvoiceamount:
  6193. description: 销售今开票额(今开票额)
  6194. type: number
  6195. selltodayrefundamount:
  6196. description: 销售今付退款额(今付退款额)
  6197. type: number
  6198. selltodaysettleamount:
  6199. description: 销售今收款额(今收货款额)
  6200. type: number
  6201. selluninvoicedamount:
  6202. description: 销售应开票额(应开票额)
  6203. type: number
  6204. sellunpaidamount:
  6205. description: 销售应收款额(应收货款额)
  6206. type: number
  6207. spotgoodsbrandid:
  6208. description: 现货品牌ID
  6209. type: integer
  6210. todaypaysum:
  6211. description: 今付款合计
  6212. type: number
  6213. todayreceivesum:
  6214. description: 今收款合计
  6215. type: number
  6216. updatetime:
  6217. description: 更新时间
  6218. type: string
  6219. wrfactortypeid:
  6220. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  6221. type: integer
  6222. wrstandardcode:
  6223. description: 品类代码
  6224. type: string
  6225. wrstandardid:
  6226. description: 现货商品ID
  6227. type: integer
  6228. wrstandardname:
  6229. description: 品类名称
  6230. type: string
  6231. type: object
  6232. models.Ermcp3GoodsGroup:
  6233. properties:
  6234. agreeunit:
  6235. description: 合约单位
  6236. type: number
  6237. areauserid:
  6238. description: 所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)
  6239. type: integer
  6240. canshort:
  6241. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  6242. type: integer
  6243. closepricemode:
  6244. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  6245. type: integer
  6246. createtime:
  6247. description: 创建时间
  6248. type: string
  6249. creatorid:
  6250. description: 创建人
  6251. type: integer
  6252. currencyid:
  6253. description: 报价货币ID
  6254. type: integer
  6255. decimalplace:
  6256. description: 报价小数位
  6257. type: integer
  6258. enumdicname:
  6259. description: 单位名称
  6260. type: string
  6261. exchangefullname:
  6262. description: 交易所全称
  6263. type: string
  6264. excludecfg:
  6265. description: 排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除
  6266. type: integer
  6267. exexchangecode:
  6268. description: 交易所代码
  6269. type: string
  6270. exexchangeid:
  6271. description: 外部交易所ID[通道交易]
  6272. type: integer
  6273. exexchangename:
  6274. description: 交易所名称
  6275. type: string
  6276. goodsgroupid:
  6277. description: 商品组ID(自增ID)
  6278. type: integer
  6279. goodsgroupname:
  6280. description: 商品组名称
  6281. type: string
  6282. goodsgroupstatus:
  6283. description: 商品组状态 - 1:正常 2:注销
  6284. type: integer
  6285. goodunitid:
  6286. description: 报价单位ID
  6287. type: integer
  6288. groupcategroyid:
  6289. description: 品种分类ID
  6290. type: integer
  6291. innerdealmode:
  6292. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  6293. type: integer
  6294. marketid:
  6295. description: 所属市场ID
  6296. type: integer
  6297. modifierid:
  6298. description: 修改人
  6299. type: integer
  6300. modifytime:
  6301. description: 修改时间
  6302. type: string
  6303. outerdealmode:
  6304. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  6305. type: integer
  6306. outergroupcode:
  6307. description: 外部商品组代码[通道交易]
  6308. type: string
  6309. quoteminunit:
  6310. description: 行情最小变动单位 [整数,报价小数位一起使用]
  6311. type: integer
  6312. quotesourcegroupid:
  6313. description: 所属行情源分组ID[参考行情市场用\通道交易]
  6314. type: integer
  6315. syncgoodsqty:
  6316. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  6317. type: integer
  6318. required:
  6319. - areauserid
  6320. type: object
  6321. models.Ermcp3HPMiddleGoods:
  6322. properties:
  6323. biztype:
  6324. description: 业务类型 1:套保 2:套利
  6325. type: integer
  6326. contracttype:
  6327. description: 合同类型 1:采购 -1:销售
  6328. type: integer
  6329. convertratio:
  6330. description: 折算系数
  6331. type: number
  6332. customername:
  6333. description: 对手手名称
  6334. type: string
  6335. customeruserid:
  6336. description: 对手id
  6337. type: integer
  6338. enumdicname:
  6339. description: 现货单位名称
  6340. type: string
  6341. hedgeplanid:
  6342. description: 计划id
  6343. type: string
  6344. hedgeplanno:
  6345. description: 计划编号
  6346. type: string
  6347. middlegoodsid:
  6348. description: 套保品种ID
  6349. type: integer
  6350. middlegoodsplanqty3:
  6351. description: 应套保计划量
  6352. type: number
  6353. needhedgeratio:
  6354. description: 套保比例
  6355. type: number
  6356. pricedqty:
  6357. description: 已定价量
  6358. type: number
  6359. relatedmiddlegoodsqty:
  6360. description: 已关联量(套保品种)(期货)
  6361. type: number
  6362. unitid:
  6363. description: 现货单位id
  6364. type: integer
  6365. userid:
  6366. description: 用户id
  6367. type: integer
  6368. vatrate:
  6369. description: 增值税率
  6370. type: number
  6371. wrstandardcode:
  6372. description: 现货商品代码
  6373. type: string
  6374. wrstandardid:
  6375. description: 现货商品id
  6376. type: integer
  6377. wrstandardname:
  6378. description: 现货商品名称
  6379. type: string
  6380. type: object
  6381. models.Ermcp3HedgePlan:
  6382. properties:
  6383. accountid:
  6384. description: 资金账号
  6385. type: integer
  6386. areauserid:
  6387. description: 用户ID
  6388. type: integer
  6389. auditid:
  6390. description: 审核id
  6391. type: integer
  6392. auditname:
  6393. description: 审核人名称
  6394. type: string
  6395. auditremark:
  6396. description: 审核备注
  6397. type: string
  6398. auditsrc:
  6399. description: 审核来源 1-管理端 2-终端
  6400. type: integer
  6401. audittime:
  6402. description: 审核时间
  6403. type: string
  6404. contracttype:
  6405. description: 计划类型 - 1:采购 -1:销售
  6406. type: integer
  6407. convertfactor:
  6408. description: 标仓系数
  6409. type: number
  6410. createtime:
  6411. description: 创建时间
  6412. type: string
  6413. currencyid:
  6414. description: 币种id
  6415. type: integer
  6416. currencyname:
  6417. description: 币种名称
  6418. type: string
  6419. deliverygoodscode:
  6420. description: 现货品种代码
  6421. type: string
  6422. deliverygoodsid:
  6423. description: 现货品种ID
  6424. type: integer
  6425. deliverygoodsname:
  6426. description: 现货品种名称
  6427. type: string
  6428. enumdicname:
  6429. description: 单位名称(现货商品)
  6430. type: string
  6431. hedgeplanid:
  6432. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  6433. type: string
  6434. hedgeplanno:
  6435. description: 套保计划编号(名称)
  6436. type: string
  6437. hedgeplanstatus:
  6438. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  6439. type: integer
  6440. planqty:
  6441. description: 计划数量
  6442. type: number
  6443. plantime:
  6444. description: 计划时间
  6445. type: string
  6446. producttype:
  6447. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  6448. type: integer
  6449. remark:
  6450. description: 备注
  6451. type: string
  6452. spotgoodsdesc:
  6453. description: 商品型号
  6454. type: string
  6455. taaccountname:
  6456. description: 资金账号名称
  6457. type: string
  6458. tradeuserid:
  6459. description: 交易用户id
  6460. type: integer
  6461. tradeusername:
  6462. description: 交易用户名称
  6463. type: string
  6464. unitid:
  6465. description: 单位id(现货商品)
  6466. type: integer
  6467. updatetime:
  6468. description: 更新时间
  6469. type: string
  6470. vatrate:
  6471. description: 增值税率
  6472. type: number
  6473. wrstandardcode:
  6474. description: 品类代码
  6475. type: string
  6476. wrstandardid:
  6477. description: 品类id
  6478. type: integer
  6479. wrstandardname:
  6480. description: 品类名称
  6481. type: string
  6482. wrunitid:
  6483. description: 品类单位id
  6484. type: integer
  6485. wrunitidame:
  6486. description: 品类单位名称
  6487. type: string
  6488. type: object
  6489. models.Ermcp3InnerTradeLink:
  6490. properties:
  6491. accountid:
  6492. description: 期货账号代码 | 资金账号ID
  6493. type: integer
  6494. buyorsell:
  6495. description: 方向 - 0:买 1:卖
  6496. type: integer
  6497. channelbuildtype:
  6498. description: 委托单据类型 0:无 1:建仓 2:平仓
  6499. type: integer
  6500. currencyid:
  6501. description: 币种id
  6502. type: integer
  6503. currencyname:
  6504. description: 结算币种 名称
  6505. type: string
  6506. goodscode:
  6507. description: 商品代码
  6508. type: string
  6509. goodsid:
  6510. description: 商品ID
  6511. type: integer
  6512. goodsname:
  6513. description: 商品名称
  6514. type: string
  6515. outtradeid:
  6516. description: 外部成交单号
  6517. type: string
  6518. taname:
  6519. description: 期货账户名称
  6520. type: string
  6521. tradeid:
  6522. description: 期货单号 | 内部成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6523. type: string
  6524. tradeprice:
  6525. description: 成交价格
  6526. type: number
  6527. tradeqty:
  6528. description: 期货成交数量
  6529. type: integer
  6530. tradetime:
  6531. description: 关联时间 | 成交时间 ps:因为数据库表里没有关联时间, 所以取外部成交单的成交时间
  6532. type: string
  6533. username:
  6534. description: 用户名称
  6535. type: string
  6536. type: object
  6537. models.Ermcp3OutTradeLink:
  6538. properties:
  6539. buyorsell:
  6540. description: 买卖方向 - 0:买 1:卖
  6541. type: integer
  6542. channelbuildtype:
  6543. description: 开平标志- 0:无 1:建仓 2:平仓
  6544. type: integer
  6545. currencyname:
  6546. description: 币种名称
  6547. type: string
  6548. exexchangecode:
  6549. description: 交易所代码
  6550. type: string
  6551. exexchangename:
  6552. description: 交易所名称
  6553. type: string
  6554. goodscode:
  6555. description: 合约代码
  6556. type: string
  6557. goodsid:
  6558. description: 合约id
  6559. type: integer
  6560. goodsname:
  6561. description: 合约名称
  6562. type: string
  6563. hasinnerorder:
  6564. description: 是否有内部单关联 - 0:无 1:有
  6565. type: integer
  6566. hedgeaccountcode:
  6567. description: 外部账号 | 对冲账号
  6568. type: string
  6569. outtradeid:
  6570. description: 外部订单号 | 外部成交单ID(114+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6571. type: string
  6572. tradeprice:
  6573. description: 成交价格
  6574. type: number
  6575. tradeqty:
  6576. description: 成交数量
  6577. type: integer
  6578. tradetime:
  6579. description: 成交时间
  6580. type: string
  6581. type: object
  6582. models.Ermcp3PaAreaAuditCfg:
  6583. properties:
  6584. areauserid:
  6585. description: 用户ID
  6586. type: integer
  6587. buyinauditflag:
  6588. description: 采购入库是否需要审核 - 0:不需审核 1:需要审核
  6589. type: integer
  6590. costratioauditflag:
  6591. description: 现货商品成本权重修改是否需要审核 - 0:不需审核 1:需要审核
  6592. type: integer
  6593. customerauditflag:
  6594. description: 客户资料是否需要审核 - 0:不需审核 1:需要审核
  6595. type: integer
  6596. deliveryauditflag:
  6597. description: 交收是否需要审核 - 0:不需审核 1:需要审核
  6598. type: integer
  6599. invoiceauditflag:
  6600. description: 发票是否需要审核 - 0:不需审核 1:需要审核
  6601. type: integer
  6602. mgneedhedgeratioauditflag:
  6603. description: 套保品种套保比例修改是否需要审 - 0:不需审核 1:需要审核
  6604. type: integer
  6605. moneyauditflag:
  6606. description: 款项是否需要审核 - 0:不需审核 1:需要审核
  6607. type: integer
  6608. operatorid:
  6609. description: 操作人
  6610. type: integer
  6611. operatorsrc:
  6612. description: 操作来源 - 1:管理端 2:终端
  6613. type: integer
  6614. pointpriceauditflag:
  6615. description: 点价是否需要审核 - 0:不需审核 1:需要审核
  6616. type: integer
  6617. produceinauditflag:
  6618. description: 生产入库是否需要审核 - 0:不需审核 1:需要审核
  6619. type: integer
  6620. produceoutauditflag:
  6621. description: 生产出库是否需要审核 - 0:不需审核 1:需要审核
  6622. type: integer
  6623. selloutauditflag:
  6624. description: 销售出库是否需要审核 - 0:不需审核 1:需要审核
  6625. type: integer
  6626. sgconvertratioauditflag:
  6627. description: 现货商品折算系数修改是否需要审核 - 0:不需审核 1:需要审核
  6628. type: integer
  6629. sgvtaratioauditflag:
  6630. description: 现货商品增值税税率修改是否需要审核 - 0:不需审核 1:需要审核
  6631. type: integer
  6632. spotcontractauditflag:
  6633. description: 现货合同是否需要审核 - 0:不需审核 1:需要审核
  6634. type: integer
  6635. updatetime:
  6636. description: 更新时间
  6637. type: string
  6638. type: object
  6639. models.Ermcp3PaAreaSubject:
  6640. properties:
  6641. areauserid:
  6642. description: 所属机构
  6643. type: integer
  6644. canmodify:
  6645. description: 是否可修改 - 0:否 1:是
  6646. type: integer
  6647. createtime:
  6648. description: 创建时间
  6649. type: string
  6650. creatorid:
  6651. description: 创建人ID
  6652. type: string
  6653. creatorsrc:
  6654. description: 创建人来源 - 1:管理端 2:终端 3:交易
  6655. type: integer
  6656. modifierid:
  6657. description: 修改人
  6658. type: string
  6659. modifiersrc:
  6660. description: 修改人来源 - 1:管理端 2:终端
  6661. type: integer
  6662. modifytime:
  6663. description: 修改时间
  6664. type: string
  6665. parentsubjectid:
  6666. description: 上级主体ID
  6667. type: string
  6668. remark:
  6669. description: 备注
  6670. type: string
  6671. subjectid:
  6672. description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  6673. type: integer
  6674. subjectname:
  6675. description: 主体名称
  6676. type: string
  6677. subjectstatus:
  6678. description: '主体状态 - 1:正常 2: 停用'
  6679. type: integer
  6680. subjecttype:
  6681. description: 主体类型 - 1:交易主体 2:业务部门
  6682. type: integer
  6683. type: object
  6684. models.Ermcp3PaTradeLink:
  6685. properties:
  6686. accountid:
  6687. description: 期货账户代码 | 账号ID
  6688. type: integer
  6689. agreeunit:
  6690. description: 合约乘数
  6691. type: number
  6692. buyorsell:
  6693. description: 方向 - 0:买 1:卖
  6694. type: integer
  6695. channelbuildtype:
  6696. description: 委托单据类型 0:无 1:建仓 2:平仓
  6697. type: integer
  6698. charge:
  6699. description: 手续费
  6700. type: number
  6701. closepl:
  6702. description: 平仓盈亏
  6703. type: number
  6704. closetype:
  6705. description: 平仓方式 - 0:无 1:平今 2:平昨
  6706. type: integer
  6707. convertratio:
  6708. description: 折算系数
  6709. type: number
  6710. enumdicname:
  6711. description: 单位名称
  6712. type: string
  6713. executeprice:
  6714. description: 执行价 [期权]
  6715. type: integer
  6716. goodscode:
  6717. description: 合约代码
  6718. type: string
  6719. goodsgroupid:
  6720. description: 对冲品种ID[期货合约商品组ID]
  6721. type: integer
  6722. goodsid:
  6723. description: 商品ID
  6724. type: integer
  6725. goodsname:
  6726. description: 合约名称
  6727. type: string
  6728. goodunitid:
  6729. description: 单位id
  6730. type: integer
  6731. hedgeflag:
  6732. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  6733. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)
  6734. type: integer
  6735. marketid:
  6736. description: 市场ID
  6737. type: integer
  6738. middlegoodsid:
  6739. description: 套保品种ID
  6740. type: integer
  6741. middlegoodsqty:
  6742. description: 套保品种数量 = TradeQty * AgreeUnit * ConvertRatio
  6743. type: number
  6744. optioncode:
  6745. description: 期权代码 [期权]
  6746. type: string
  6747. ordertype:
  6748. description: 单据类型 - 1:期货单 2:看涨期权单 3:看跌期权单
  6749. type: integer
  6750. ordertypename:
  6751. description: 订单类型
  6752. type: string
  6753. parentaccountid:
  6754. description: 所属母账户
  6755. type: integer
  6756. premium:
  6757. description: 权利金 [期权]
  6758. type: number
  6759. relatedlot:
  6760. description: 已关联数量(已关联数量手) | db:关联手数
  6761. type: number
  6762. relatedouttradeid:
  6763. description: 关联外部成交单ID
  6764. type: string
  6765. relatedqty:
  6766. description: 关联数量
  6767. type: number
  6768. spotcontractid:
  6769. description: 现货合同ID [4:套期保值\10\11]
  6770. type: string
  6771. taname:
  6772. description: 期货账户名称
  6773. type: string
  6774. tradeamount:
  6775. description: 成交金额(账户)
  6776. type: number
  6777. tradedate:
  6778. description: 交易日(yyyyMMdd)
  6779. type: string
  6780. tradeid:
  6781. description: 期货单号 | db:成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6782. type: string
  6783. tradelot:
  6784. description: 成交数量(期货数量) ps:这是手数,转换为具体多少吨要乘以AGREEUNIT | db:成交手数
  6785. type: integer
  6786. tradeprice:
  6787. description: 成交价格
  6788. type: number
  6789. tradetime:
  6790. description: 时间 | db:成交时间
  6791. type: string
  6792. tradetype:
  6793. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  6794. type: integer
  6795. userid:
  6796. description: 所属机构 - 所属母账户的UserID
  6797. type: string
  6798. username:
  6799. description: 用户名称
  6800. type: string
  6801. type: object
  6802. models.Ermcp3ParamChangeApp:
  6803. properties:
  6804. aftervalue:
  6805. description: 变更后
  6806. type: number
  6807. applicationid:
  6808. description: 申请ID(619+Unix秒时间戳(10位)+xxxxxx)
  6809. type: string
  6810. applyid:
  6811. description: 申请人
  6812. type: string
  6813. applyname:
  6814. description: 申请人名称(代码)
  6815. type: string
  6816. applyremark:
  6817. description: 申请备注
  6818. type: string
  6819. applysrc:
  6820. description: 申请来源 - 1:管理端 2:终端
  6821. type: integer
  6822. applystatus:
  6823. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  6824. type: integer
  6825. applytime:
  6826. description: 申请时间
  6827. type: string
  6828. areauserid:
  6829. description: 所属机构用户ID
  6830. type: integer
  6831. auditid:
  6832. description: 审核人
  6833. type: string
  6834. auditname:
  6835. description: 审核人名称(代码)
  6836. type: string
  6837. auditremark:
  6838. description: 审核备注
  6839. type: string
  6840. auditsrc:
  6841. description: 审核来源 - 1:管理端 2:终端
  6842. type: integer
  6843. audittime:
  6844. description: 审核时间
  6845. type: string
  6846. audittradedate:
  6847. description: 审核交易日(yyyyMMdd)
  6848. type: string
  6849. beforevalue:
  6850. description: 变更前
  6851. type: number
  6852. deliverygoodscode:
  6853. description: 品种代码
  6854. type: string
  6855. deliverygoodsid:
  6856. description: 品种id
  6857. type: integer
  6858. deliverygoodsname:
  6859. description: 品种名称
  6860. type: string
  6861. middlegoodscode:
  6862. description: 套保品种代码
  6863. type: string
  6864. middlegoodsid:
  6865. description: 套保品种ID [ParamChangeType = 2,3,4]
  6866. type: integer
  6867. middlegoodsname:
  6868. description: 套保品种名称
  6869. type: string
  6870. operatetype:
  6871. description: 操作类型 - 1:新增 2:修改
  6872. type: integer
  6873. paramchangetype:
  6874. description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  6875. type: integer
  6876. wrstandardcode:
  6877. description: 现货商品代码
  6878. type: string
  6879. wrstandardid:
  6880. description: 现货商品ID [ParamChangeType = 1,2,3]
  6881. type: integer
  6882. wrstandardname:
  6883. description: 现货商品名称
  6884. type: string
  6885. type: object
  6886. models.Ermcp3RootUserAccount:
  6887. properties:
  6888. accountname:
  6889. description: 账户名称(机构名称)
  6890. type: string
  6891. accountstatus:
  6892. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  6893. type: integer
  6894. applysrc:
  6895. description: 申请来源 - 1:管理端 2:终端
  6896. type: integer
  6897. auditremark:
  6898. description: 审核备注
  6899. type: string
  6900. auditsrc:
  6901. description: 审核来源 - 1:管理端 2:终端
  6902. type: integer
  6903. audittime:
  6904. description: 审核时间
  6905. type: string
  6906. audituserid:
  6907. description: 审核人
  6908. type: integer
  6909. broker:
  6910. description: 所属经纪人ID
  6911. type: integer
  6912. canceltime:
  6913. description: 销户时间
  6914. type: string
  6915. canceluserid:
  6916. description: 销户人
  6917. type: integer
  6918. canrecommend:
  6919. description: 是否可推荐 - 0:不可 1;可
  6920. type: integer
  6921. createtime:
  6922. description: 创建时间
  6923. type: string
  6924. creatorid:
  6925. description: 创建人
  6926. type: integer
  6927. hasauth:
  6928. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  6929. type: integer
  6930. isanonymous:
  6931. description: 是否匿名下单 - 0:否 1:是
  6932. type: integer
  6933. maxinvestornum:
  6934. description: 最大用户数(经纪会员下投资者个数)
  6935. type: integer
  6936. memberuserid:
  6937. description: 所属会员ID
  6938. type: integer
  6939. modifierid:
  6940. description: 修改人
  6941. type: integer
  6942. modifyremark:
  6943. description: 变更备注
  6944. type: string
  6945. modifystatus:
  6946. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  6947. type: integer
  6948. modifytime:
  6949. description: 修改时间
  6950. type: string
  6951. nickname:
  6952. description: 昵称
  6953. type: string
  6954. parenttopuser:
  6955. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  6956. type: string
  6957. parentuserid:
  6958. description: 所属机构ID
  6959. type: integer
  6960. reckonaccountid:
  6961. description: 默认结算资金账号ID(机构分润使用) 作废
  6962. type: integer
  6963. refercount:
  6964. description: 推荐总人数
  6965. type: integer
  6966. refereeuserid:
  6967. description: 推荐人ID
  6968. type: integer
  6969. refernum:
  6970. description: 推荐码
  6971. type: string
  6972. rootuserid:
  6973. description: 根用户ID
  6974. type: integer
  6975. subaccountlevel:
  6976. description: 子账户层数
  6977. type: integer
  6978. subarealevelpath:
  6979. description: 子机构层级路径(逗号分隔,首尾加逗号)
  6980. type: string
  6981. userid:
  6982. description: 用户ID
  6983. type: integer
  6984. usertype:
  6985. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  6986. type: integer
  6987. type: object
  6988. models.Ermcp3SCMiddleGoods:
  6989. properties:
  6990. biztype:
  6991. description: 业务类型 1:套保 2:套利
  6992. type: integer
  6993. contractno:
  6994. description: 合同编号
  6995. type: string
  6996. contracttype:
  6997. description: 合同类型 1:采购 -1:销售
  6998. type: integer
  6999. convertratio:
  7000. description: 折算系数
  7001. type: number
  7002. customername:
  7003. description: 对手手名称
  7004. type: string
  7005. customeruserid:
  7006. description: 对手id
  7007. type: integer
  7008. deliverygoodscode:
  7009. description: 现货品种代码
  7010. type: string
  7011. deliverygoodsid:
  7012. description: 现货品种ID
  7013. type: integer
  7014. deliverygoodsname:
  7015. description: 现货品种名称
  7016. type: string
  7017. enumdicname:
  7018. description: 现货单位名称
  7019. type: string
  7020. middlegoodsid:
  7021. description: 套保品种ID
  7022. type: integer
  7023. middlegoodspricedqty3:
  7024. description: 应套保数量 = MiddleGoodsPricedQty2 * 套保比率
  7025. type: number
  7026. needhedgeratio:
  7027. description: 套保比例
  7028. type: number
  7029. pricedqty:
  7030. description: 已定价量
  7031. type: number
  7032. relatedmiddlegoodsqty:
  7033. description: 已关联量(套保品种)(期货)
  7034. type: number
  7035. spotcontractid:
  7036. description: 合同编号
  7037. type: string
  7038. unitid:
  7039. description: 现货单位id
  7040. type: integer
  7041. userid:
  7042. description: 用户id
  7043. type: integer
  7044. vatrate:
  7045. description: 增值税率
  7046. type: number
  7047. wrstandardcode:
  7048. description: 现货商品代码
  7049. type: string
  7050. wrstandardid:
  7051. description: 现货商品id
  7052. type: integer
  7053. wrstandardname:
  7054. description: 现货商品名称
  7055. type: string
  7056. type: object
  7057. models.Ermcp3SCMiddleGoodsReport:
  7058. properties:
  7059. begindate:
  7060. description: 开始交易日
  7061. type: string
  7062. contractno:
  7063. description: 合同编号
  7064. type: string
  7065. contracttype:
  7066. description: 合同类型 1:采购 -1:销售
  7067. type: integer
  7068. convertratio:
  7069. description: 期初均价
  7070. type: number
  7071. cycletime:
  7072. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  7073. type: string
  7074. cycletype:
  7075. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  7076. type: integer
  7077. deliverygoodscode:
  7078. description: 品种代码
  7079. type: string
  7080. deliverygoodsid:
  7081. description: 现货品种ID
  7082. type: integer
  7083. deliverygoodsname:
  7084. description: 品种名称
  7085. type: string
  7086. diffprice:
  7087. description: 期初均价
  7088. type: number
  7089. diffqty:
  7090. description: 期初均价
  7091. type: number
  7092. enddate:
  7093. description: 结束交易日
  7094. type: string
  7095. hedgeplanqty:
  7096. description: 期初均价
  7097. type: number
  7098. matchname:
  7099. description: 交易对手方(个人:用户名称 企业:简称)
  7100. type: string
  7101. matchnickname:
  7102. description: 交易对手方昵称
  7103. type: string
  7104. middlegoodscode:
  7105. description: 套保品种代码
  7106. type: string
  7107. middlegoodsid:
  7108. description: 套保品种ID
  7109. type: integer
  7110. middlegoodsname:
  7111. description: 套保品种名称
  7112. type: string
  7113. middlegoodspricedqty:
  7114. description: 期初均价
  7115. type: number
  7116. middlegoodspricedqty2:
  7117. description: 期初均价
  7118. type: number
  7119. middlegoodspricedqty3:
  7120. description: 期初均价
  7121. type: number
  7122. needhedgeratio:
  7123. description: 期初均价
  7124. type: number
  7125. pricedamount:
  7126. description: 期初均价
  7127. type: number
  7128. pricedamount2:
  7129. description: 期初均价
  7130. type: number
  7131. pricedqty:
  7132. description: 期初均价
  7133. type: number
  7134. reckondate:
  7135. description: 日照时期(yyyyMMdd)
  7136. type: string
  7137. relatedmiddlegoodsamount:
  7138. description: 期初均价
  7139. type: number
  7140. relatedmiddlegoodsqty:
  7141. description: 期初均价
  7142. type: number
  7143. spotcontractid:
  7144. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  7145. type: string
  7146. todayavgfutuprice:
  7147. description: 期初均价
  7148. type: number
  7149. todayavgprice:
  7150. description: 期初均价
  7151. type: number
  7152. todayavgprice2:
  7153. description: 期初均价
  7154. type: number
  7155. todaypricedamount:
  7156. description: 期初均价
  7157. type: number
  7158. todaypricedamount2:
  7159. description: 期初均价
  7160. type: number
  7161. todaypricedqty:
  7162. description: 期初均价
  7163. type: number
  7164. todayrelatedfutureqty:
  7165. description: 期初均价
  7166. type: number
  7167. todayrelatedmiddlegoodsamount:
  7168. description: 期初均价
  7169. type: number
  7170. todayrelatedmiddlegoodsqty:
  7171. description: 期初均价
  7172. type: number
  7173. updatetime:
  7174. description: 更新时间
  7175. type: string
  7176. userid:
  7177. description: 合同所属用户id
  7178. type: integer
  7179. vatrate:
  7180. description: 期初均价
  7181. type: number
  7182. wrstandardcode:
  7183. description: 商品(品类) 代码
  7184. type: string
  7185. wrstandardid:
  7186. description: 现货商品ID
  7187. type: integer
  7188. wrstandardname:
  7189. description: 商品(品类) 名称
  7190. type: string
  7191. type: object
  7192. models.Ermcp3SellBuyContract:
  7193. properties:
  7194. accountid:
  7195. description: 期货账户id
  7196. type: string
  7197. accountname:
  7198. description: 账户名称
  7199. type: string
  7200. attachment:
  7201. description: 附件
  7202. type: string
  7203. audittime:
  7204. description: 审核时间
  7205. type: string
  7206. bizsubjectid:
  7207. description: 归属业务部门ID - SubjectID
  7208. type: integer
  7209. biztype:
  7210. description: 业务类型 1-套保 2-套利
  7211. type: integer
  7212. brandname:
  7213. description: 品牌名称
  7214. type: string
  7215. contracctstatus:
  7216. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  7217. type: integer
  7218. contractmargin:
  7219. description: 合同保证金
  7220. type: number
  7221. contractno:
  7222. description: 合同编号
  7223. type: string
  7224. contracttype:
  7225. description: 合同类型 1-采购, -1-销售
  7226. type: integer
  7227. convertfactor:
  7228. description: 标仓系数(品类)
  7229. type: number
  7230. createtime:
  7231. description: 创建时间
  7232. type: string
  7233. currencyid:
  7234. description: 币种id
  7235. type: integer
  7236. currencyname:
  7237. description: 币种名称
  7238. type: string
  7239. daikaiamount:
  7240. description: 应收(开)票额 | 未收票额
  7241. type: number
  7242. deliveryenddate:
  7243. description: 交割结束日
  7244. type: string
  7245. deliverygoodscode:
  7246. description: 现货品种代码
  7247. type: string
  7248. deliverygoodsid:
  7249. description: 现货商品ID
  7250. type: integer
  7251. deliverygoodsname:
  7252. description: 现货品种名称
  7253. type: string
  7254. deliverystartdate:
  7255. description: 交割开始日
  7256. type: string
  7257. enddate:
  7258. description: 点价结束日
  7259. type: string
  7260. enumdicname:
  7261. description: 单位名称
  7262. type: string
  7263. goodscode:
  7264. description: 点价商品代码
  7265. type: string
  7266. goodsgroupid:
  7267. description: 点价商品组id
  7268. type: integer
  7269. goodsid:
  7270. description: 点价商品ID
  7271. type: integer
  7272. goodsname:
  7273. description: 点价商品名称
  7274. type: string
  7275. invoiceamount:
  7276. description: 已开票额
  7277. type: number
  7278. loanamount:
  7279. description: 贷款总额=已定价额+调整金额
  7280. type: number
  7281. margin:
  7282. description: 保证金
  7283. type: number
  7284. meruserid:
  7285. description: 跟单员id
  7286. type: integer
  7287. meruserlogincode:
  7288. description: 跟单员登录代码
  7289. type: string
  7290. merusername:
  7291. description: 跟单员名称
  7292. type: string
  7293. nickname:
  7294. description: 账户昵称
  7295. type: string
  7296. orireckonrealqty:
  7297. description: 应交收量
  7298. type: number
  7299. payamount:
  7300. description: 已收付额(收款或付款)
  7301. type: number
  7302. preinvoiceamount:
  7303. description: 预收(开)票额
  7304. type: number
  7305. prepayamount:
  7306. description: 预收付额
  7307. type: number
  7308. price:
  7309. description: 价格
  7310. type: number
  7311. pricedamount:
  7312. description: 已定价额
  7313. type: number
  7314. pricedavg:
  7315. description: 已点均价
  7316. type: number
  7317. pricedqty:
  7318. description: 已定价量
  7319. type: number
  7320. pricemove:
  7321. description: 升贴水
  7322. type: number
  7323. pricetype:
  7324. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  7325. type: integer
  7326. producttype:
  7327. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  7328. type: integer
  7329. qty:
  7330. description: 合同量
  7331. type: number
  7332. reckonadjustamount:
  7333. description: 调整金额
  7334. type: number
  7335. reckonedamount:
  7336. description: 实际已收付额(已确定额,已收付总额-已退款总额)
  7337. type: number
  7338. reckonotheramount:
  7339. description: 其它费用
  7340. type: number
  7341. reckonrealqty:
  7342. description: 已交收量
  7343. type: number
  7344. remark:
  7345. description: 备注
  7346. type: string
  7347. saleuserid:
  7348. description: 业务员id
  7349. type: integer
  7350. saleuserlogincode:
  7351. description: 业务员登录代码
  7352. type: string
  7353. saleusername:
  7354. description: 业务员名称
  7355. type: string
  7356. spotcontractid:
  7357. description: 合同ID
  7358. type: string
  7359. spotgoodsbrandid:
  7360. description: 现货品牌ID(DGFactoryItem表的ID)
  7361. type: integer
  7362. spotgoodsdesc:
  7363. description: 商品型号(商品规格)
  7364. type: string
  7365. startdate:
  7366. description: 点价开始日
  7367. type: string
  7368. subjectid:
  7369. description: 交易主体ID
  7370. type: integer
  7371. subjectname:
  7372. description: 交易主体名称
  7373. type: string
  7374. totalamount:
  7375. description: 合计总额
  7376. type: number
  7377. tradeuserid:
  7378. description: 交易员id
  7379. type: integer
  7380. tradeuserlogincode:
  7381. description: 交易员登录代码
  7382. type: string
  7383. tradeusername:
  7384. description: 交易员名称
  7385. type: string
  7386. unpayamount:
  7387. description: 应收付款额(应支付或应收款) | 未付款额
  7388. type: number
  7389. unpricedqty:
  7390. description: 未定价量
  7391. type: number
  7392. unsureqty:
  7393. description: 未确定量 | 未交收量
  7394. type: number
  7395. userid:
  7396. description: 机构ID
  7397. type: integer
  7398. vatrate:
  7399. description: 增值税率
  7400. type: number
  7401. wrstandardcode:
  7402. description: 品类代码
  7403. type: string
  7404. wrstandardid:
  7405. description: 品类ID
  7406. type: integer
  7407. wrstandardname:
  7408. description: 品类名称
  7409. type: string
  7410. type: object
  7411. models.Ermcp3SpotGoodsPrice:
  7412. properties:
  7413. areauserid:
  7414. description: 所属机构id
  7415. type: integer
  7416. brandname:
  7417. description: 品牌名称
  7418. type: string
  7419. currencyid:
  7420. description: 报价货币ID
  7421. type: integer
  7422. currencyname:
  7423. description: 币种名称
  7424. type: string
  7425. deliverygoodscode:
  7426. description: 现货商品代码
  7427. type: string
  7428. deliverygoodsid:
  7429. description: 现货商品id
  7430. type: integer
  7431. deliverygoodsname:
  7432. description: 现货商品名称
  7433. type: string
  7434. enumdicname:
  7435. description: 现货商品单位名称
  7436. type: string
  7437. gbenumdicname:
  7438. description: 品类单位名称
  7439. type: string
  7440. gmunitid:
  7441. description: 品类单位id
  7442. type: integer
  7443. isvalid:
  7444. description: 是否有效 - 0:无效 1:有效
  7445. type: integer
  7446. operateid:
  7447. description: 最后操作人
  7448. type: integer
  7449. operatesrc:
  7450. description: 最后操作来源 - 1:管理端 2:终端
  7451. type: integer
  7452. operatetime:
  7453. description: 最后操作时间
  7454. type: string
  7455. operatorname:
  7456. description: 操作人名称
  7457. type: string
  7458. spotgoodsbrandid:
  7459. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  7460. type: integer
  7461. spotgoodsprice:
  7462. description: 现货价格
  7463. type: number
  7464. tradedate:
  7465. description: 交易日(yyyyMMdd)
  7466. type: string
  7467. unitid:
  7468. description: 现货商品单位id
  7469. type: integer
  7470. wrstandardcode:
  7471. description: 品类代码
  7472. type: string
  7473. wrstandardid:
  7474. description: 现货品类ID(通用则为0)
  7475. type: integer
  7476. wrstandardname:
  7477. description: 品类名称
  7478. type: string
  7479. type: object
  7480. models.Ermcp3SpotGoodsPriceLog:
  7481. properties:
  7482. areauserid:
  7483. description: 所属机构id
  7484. type: integer
  7485. brandname:
  7486. description: 品牌名称
  7487. type: string
  7488. currencyid:
  7489. description: 报价货币ID
  7490. type: integer
  7491. deliverygoodscode:
  7492. description: 现货商品代码
  7493. type: string
  7494. deliverygoodsid:
  7495. description: 现货商品id
  7496. type: integer
  7497. deliverygoodsname:
  7498. description: 现货商品名称
  7499. type: string
  7500. enumdicname:
  7501. description: 现货商品单位名称
  7502. type: string
  7503. gbenumdicname:
  7504. description: 品类单位名称
  7505. type: string
  7506. gmunitid:
  7507. description: 品类单位id
  7508. type: integer
  7509. logid:
  7510. description: 日志id
  7511. type: integer
  7512. operateid:
  7513. description: 最后操作人
  7514. type: integer
  7515. operatesrc:
  7516. description: 最后操作来源 - 1:管理端 2:终端
  7517. type: integer
  7518. operatetime:
  7519. description: 最后操作时间
  7520. type: string
  7521. operatorname:
  7522. description: 操作人名称
  7523. type: string
  7524. spotgoodsbrandid:
  7525. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  7526. type: integer
  7527. spotgoodsprice:
  7528. description: 现货价格
  7529. type: number
  7530. tradedate:
  7531. description: 交易日(yyyyMMdd)
  7532. type: string
  7533. unitid:
  7534. description: 现货商品单位id
  7535. type: integer
  7536. wrstandardcode:
  7537. description: 品类代码
  7538. type: string
  7539. wrstandardid:
  7540. description: 现货品类ID(通用则为0)
  7541. type: integer
  7542. wrstandardname:
  7543. description: 品类名称
  7544. type: string
  7545. type: object
  7546. models.Ermcp3SubTaaccount:
  7547. properties:
  7548. accountid:
  7549. description: 资金账户ID
  7550. type: integer
  7551. parentaccountcode:
  7552. description: 所属根账号代码(母账号代码)
  7553. type: string
  7554. parentaccountid:
  7555. description: 所属根账号(母账号)
  7556. type: integer
  7557. taname:
  7558. description: 资金账号名称
  7559. type: string
  7560. tradestatus:
  7561. description: 交易状态 - 1:正常 2:受限 3:冻结(停用) 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已删除(注销)
  7562. type: integer
  7563. username:
  7564. description: 交易用户
  7565. type: string
  7566. type: object
  7567. models.Ermcp3TaFutuReDataReport:
  7568. properties:
  7569. accountid:
  7570. description: 交易账户
  7571. type: integer
  7572. accountname:
  7573. description: 交易账号名称
  7574. type: string
  7575. agreeunit:
  7576. description: 商品合约单位
  7577. type: number
  7578. begindate:
  7579. description: 开始交易日
  7580. type: string
  7581. buyorsell:
  7582. description: 持仓方向
  7583. type: integer
  7584. charge:
  7585. description: 手续费
  7586. type: number
  7587. closeavgprice:
  7588. description: 期初均价
  7589. type: number
  7590. closepl:
  7591. description: 平仓损益
  7592. type: number
  7593. currencyid:
  7594. description: 结算币种ID
  7595. type: integer
  7596. currencyname:
  7597. description: 币种名称
  7598. type: string
  7599. cycletime:
  7600. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  7601. type: string
  7602. cycletype:
  7603. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  7604. type: integer
  7605. enddate:
  7606. description: 结束交易日
  7607. type: string
  7608. enumdicname:
  7609. description: 单位名称
  7610. type: string
  7611. floatpl:
  7612. description: 浮动损益
  7613. type: number
  7614. goodscode:
  7615. description: 交易合约代码
  7616. type: string
  7617. goodsgroupid:
  7618. description: 交易品种
  7619. type: integer
  7620. goodsgroupname:
  7621. description: 交易品种名称
  7622. type: string
  7623. goodsgroupspotqty:
  7624. description: 交易品种期末量 (= 期末持仓量 * 合约乘数)
  7625. type: number
  7626. goodsid:
  7627. description: 交易合约
  7628. type: integer
  7629. goodsname:
  7630. description: 交易合约名称
  7631. type: string
  7632. goodunitid:
  7633. description: 交易合约单位id
  7634. type: integer
  7635. holdamount:
  7636. description: 期末持仓额
  7637. type: number
  7638. holdqty:
  7639. description: 期初均价
  7640. type: number
  7641. lastholdamount:
  7642. description: 当前持仓额
  7643. type: number
  7644. lastprice:
  7645. description: 最新价
  7646. type: number
  7647. middlegoodsid:
  7648. description: 套保品种id
  7649. type: integer
  7650. middlegoodsname:
  7651. description: 套保商品名称
  7652. type: string
  7653. middlegoodsqty:
  7654. description: 套保品种期末量 (=交易品种期末量 * 期货品种折算系数)
  7655. type: number
  7656. middlgoodscode:
  7657. description: 套保商品代码
  7658. type: string
  7659. openamount:
  7660. description: 期末开仓额
  7661. type: number
  7662. openavgprice:
  7663. description: 期初均价
  7664. type: number
  7665. oriholdamount:
  7666. description: 期初持仓额
  7667. type: number
  7668. oriholdqty:
  7669. description: 期初均价
  7670. type: number
  7671. oriopenamount:
  7672. description: 期初开仓额
  7673. type: number
  7674. outergroupcode:
  7675. description: 交易品种代码
  7676. type: string
  7677. qtydecimalplace:
  7678. description: 成交量小数位
  7679. type: integer
  7680. reckondate:
  7681. description: 日照时期(yyyyMMdd)
  7682. type: string
  7683. reckonholdamount:
  7684. description: 结算持仓额
  7685. type: number
  7686. reckonpl:
  7687. description: 结算损益
  7688. type: number
  7689. reckonpl2:
  7690. description: 结算逐笔盈亏
  7691. type: number
  7692. reckonprice:
  7693. description: 结算价
  7694. type: number
  7695. relateduserid:
  7696. description: 账户关联用户ID
  7697. type: integer
  7698. todaycloseamount:
  7699. description: 今平仓额
  7700. type: number
  7701. todaycloseqty:
  7702. description: 期初均价
  7703. type: number
  7704. todaygoodsgroupspotqty:
  7705. description: 交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)
  7706. type: number
  7707. todaymiddlegoodsqty:
  7708. description: 套保品种变化量 (= 交易品种变化量*期货品种折算系数)
  7709. type: number
  7710. todayopenamount:
  7711. description: 今开仓额
  7712. type: number
  7713. todayopenqty:
  7714. description: 期初均价
  7715. type: number
  7716. userid:
  7717. description: 账户所属用户ID
  7718. type: integer
  7719. type: object
  7720. models.Ermcp3TradeLinkDetail:
  7721. properties:
  7722. accountid:
  7723. description: 资金账号
  7724. type: integer
  7725. agreeunit:
  7726. description: 合约乘数
  7727. type: number
  7728. areauserid:
  7729. description: 所属机构
  7730. type: string
  7731. bizsubjectid:
  7732. description: 归属业务部门ID - SubjectID
  7733. type: string
  7734. buyorsell:
  7735. description: 方向 - 0:买 1:卖
  7736. type: integer
  7737. channelbuildtype:
  7738. description: 委托单据类型 0:无 1:建仓 2:平仓
  7739. type: integer
  7740. contractno:
  7741. description: 现货编号 (合同编号)
  7742. type: string
  7743. convertratio:
  7744. description: 折算系数
  7745. type: number
  7746. createtime:
  7747. description: 关联时间 | 创建时间
  7748. type: string
  7749. creatorid:
  7750. description: 创建人ID
  7751. type: string
  7752. creatorsrc:
  7753. description: 创建人来源 - 1:管理端 2:终端 3:交易
  7754. type: integer
  7755. enumdicname:
  7756. description: 单位名称
  7757. type: string
  7758. goodscode:
  7759. description: 合约代码
  7760. type: string
  7761. goodsgroupid:
  7762. description: 对冲品种ID[期货合约商品组ID]
  7763. type: integer
  7764. goodsid:
  7765. description: 商品ID
  7766. type: integer
  7767. goodsname:
  7768. description: 合约名称
  7769. type: string
  7770. hedgeflag:
  7771. description: 业务类型 | 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安)
  7772. 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)
  7773. type: integer
  7774. linkdetailid:
  7775. description: 关联ID(614+Unix秒时间戳(10位)+xxxxxx)
  7776. type: string
  7777. linkstatus:
  7778. description: 关联状态 - 1:成功 2:失败 3:解绑
  7779. type: integer
  7780. middlegoodscode:
  7781. description: 套保品种代码
  7782. type: string
  7783. middlegoodsid:
  7784. description: 套保品种ID
  7785. type: integer
  7786. middlegoodsname:
  7787. description: 套保品种名称
  7788. type: string
  7789. relatedlot:
  7790. description: 关联手数
  7791. type: number
  7792. relatedmode:
  7793. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  7794. type: integer
  7795. relatedqty:
  7796. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  7797. type: number
  7798. retcode:
  7799. description: 返回码
  7800. type: integer
  7801. saleuserid:
  7802. description: 业务员ID
  7803. type: string
  7804. spotcontractid:
  7805. description: 现货合同\套保计划ID [4,10,11 - 现货合同ID] [9:套期保值(计划) - 套保计划ID]
  7806. type: string
  7807. taname:
  7808. description: 期货账户
  7809. type: string
  7810. tradedate:
  7811. description: 关联交易日(yyyyMMdd)
  7812. type: string
  7813. tradeid:
  7814. description: 期货订单号 | 内部成交单ID
  7815. type: string
  7816. tradelot:
  7817. description: 成交数量 | 成交手数
  7818. type: integer
  7819. tradeprice:
  7820. description: 成交价格
  7821. type: number
  7822. tradetime:
  7823. description: 期货成交时间
  7824. type: string
  7825. tradetradedate:
  7826. description: 成交交易日(yyyyMMdd)
  7827. type: string
  7828. username:
  7829. description: 用户名称
  7830. type: string
  7831. type: object
  7832. models.Ermcp3Wrstandard:
  7833. properties:
  7834. areauserid:
  7835. description: 所属机构
  7836. type: integer
  7837. cantrade:
  7838. description: 是否允许交易 - 0:不允许 1:允许 -1:未配置(数据库里没有记录)
  7839. type: integer
  7840. convertfactor:
  7841. description: 标仓系数
  7842. type: number
  7843. createtime:
  7844. description: 创建时间
  7845. type: string
  7846. creatorid:
  7847. description: 创建人
  7848. type: integer
  7849. deliverygoodsid:
  7850. description: 现货品种ID
  7851. type: integer
  7852. enumdicname:
  7853. description: 品类单位名称
  7854. type: string
  7855. isvalid:
  7856. description: 是否有效 0-无效(停用) 1-有效(正常)
  7857. type: integer
  7858. minivalue:
  7859. description: 最小变动值
  7860. type: integer
  7861. minivaluedp:
  7862. description: 最小变动值小数位
  7863. type: integer
  7864. realminivalue:
  7865. description: 实际最小变动值
  7866. type: integer
  7867. realminivaluedp:
  7868. description: 实际最小变动值小数位
  7869. type: integer
  7870. remark:
  7871. description: 备注
  7872. type: string
  7873. unitid:
  7874. description: 品类单位ID
  7875. type: integer
  7876. updatetime:
  7877. description: 更新时间
  7878. type: string
  7879. wrstandardcode:
  7880. description: 品类代码
  7881. type: string
  7882. wrstandardid:
  7883. description: 品类ID(SEQ_WRSTANDARD)
  7884. type: integer
  7885. wrstandardname:
  7886. description: 品类名称
  7887. type: string
  7888. type: object
  7889. models.Ermcp8EnableHedgeditem:
  7890. properties:
  7891. accountname:
  7892. description: 套期主体
  7893. type: string
  7894. hedgeditemid:
  7895. description: 被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)
  7896. type: string
  7897. hedgeditemname:
  7898. description: 项目名称
  7899. type: string
  7900. hedgeditemnum:
  7901. description: 项目编号
  7902. type: string
  7903. hedgedtype:
  7904. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  7905. type: integer
  7906. planenddate:
  7907. description: 计划结束日期
  7908. type: string
  7909. planstartdate:
  7910. description: 计划开始日期
  7911. type: string
  7912. wrstandardid:
  7913. description: 现货商品ID
  7914. type: integer
  7915. wrstandardname:
  7916. description: 现货商品
  7917. type: string
  7918. type: object
  7919. models.Ermcp8HedgeditemReport:
  7920. properties:
  7921. accountname:
  7922. description: 套期主体
  7923. type: string
  7924. areauserid:
  7925. description: 企业ID
  7926. type: integer
  7927. curprice:
  7928. description: '[当日现货市场价]当前市场价'
  7929. type: number
  7930. enumdicname:
  7931. description: 单位
  7932. type: string
  7933. exeamount:
  7934. description: '[执行现货金额]执行市价总额'
  7935. type: number
  7936. exeavgprice:
  7937. description: '[执行价]执行市场均价= 执行市价总额 / 执行现货量'
  7938. type: number
  7939. exeqty:
  7940. description: '[执行数量]执行现货量'
  7941. type: number
  7942. futurehedgepl:
  7943. description: 期货实际损益
  7944. type: number
  7945. futurehedgeplchange:
  7946. description: 期货实际变动 = 期货实际损益 - 期初期货实际损益
  7947. type: number
  7948. futurepl:
  7949. description: 期货套期损益
  7950. type: number
  7951. futureplchange:
  7952. description: 期货套期变动 = 期货套期损益 - 期初期货套期损益
  7953. type: number
  7954. hedgeamount:
  7955. description: '[套期现货金额]套期市价总额'
  7956. type: number
  7957. hedgeditemnum:
  7958. description: 项目编号,模糊查询
  7959. type: string
  7960. hedgeditemstatus:
  7961. description: 项目状态 - 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  7962. type: integer
  7963. hedgedtype:
  7964. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  7965. type: integer
  7966. hedgeqty:
  7967. description: '[套期数量]套期现货量'
  7968. type: number
  7969. oriavgprice:
  7970. description: '[期初价]期初市场均价 = 套期市价总额 / 套期现货量'
  7971. type: number
  7972. orifuturehedgepl:
  7973. description: 期初期货实际损益
  7974. type: number
  7975. orifuturepl:
  7976. description: 期初期货套期损益
  7977. type: number
  7978. orispothedgepl:
  7979. description: 期初现货实际损益
  7980. type: number
  7981. orispotpl:
  7982. description: 期初现货套期损益
  7983. type: number
  7984. planenddate:
  7985. description: 计划结束日期
  7986. type: string
  7987. planstartdate:
  7988. description: 计划开始日期
  7989. type: string
  7990. spothedgepl:
  7991. description: 现货实际损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)
  7992. type: number
  7993. spothedgeplchange:
  7994. description: 现货实际变动 = 现货实际损益 - 期初现货实际损益
  7995. type: number
  7996. spotpl:
  7997. description: 现货套期损益 = 现货实际损益 + 现货浮动损益
  7998. type: number
  7999. spotplchange:
  8000. description: 现货套期变动 = 现货套期损益 - 期初现货套期损益
  8001. type: number
  8002. tradeuserid:
  8003. description: 交易用户ID
  8004. type: integer
  8005. unexeqty:
  8006. description: 未执行现货量 = 套期现货量 - 执行现货量
  8007. type: number
  8008. wrstandardcode:
  8009. description: 现货品类代码
  8010. type: string
  8011. wrstandardid:
  8012. description: 现货商品ID
  8013. type: integer
  8014. wrstandardname:
  8015. description: '[现货商品]现货品类名称'
  8016. type: string
  8017. type: object
  8018. models.Ermcp8RunningHedgeditem:
  8019. properties:
  8020. accountname:
  8021. description: 套期主体
  8022. type: string
  8023. applyid:
  8024. description: 申请人
  8025. type: integer
  8026. applysrc:
  8027. description: 申请来源 - 1:管理端 2:终端
  8028. type: integer
  8029. areauserid:
  8030. description: 企业ID
  8031. type: integer
  8032. auditid:
  8033. description: 审核人
  8034. type: integer
  8035. auditremark:
  8036. description: 审核备注
  8037. type: string
  8038. auditsrc:
  8039. description: 审核来源 - 1:管理端 2:终端
  8040. type: integer
  8041. audittime:
  8042. description: 审核时间
  8043. type: string
  8044. audittradedate:
  8045. description: 审核交易日(yyyyMMdd)
  8046. type: string
  8047. createtime:
  8048. description: 申请时间
  8049. type: string
  8050. curprice:
  8051. description: 当前市场价
  8052. type: number
  8053. curstock:
  8054. description: 期末库存量 = 采购总量 - 销售总量
  8055. type: number
  8056. deliverygoodsid:
  8057. description: 现货品种ID
  8058. type: integer
  8059. enddate:
  8060. description: 完成日期
  8061. type: string
  8062. endtradedate:
  8063. description: 完成交易日
  8064. type: string
  8065. enumdicname:
  8066. description: 单位
  8067. type: string
  8068. exeamount:
  8069. description: 执行市价总额
  8070. type: number
  8071. exeavgprice:
  8072. description: 执行市场均价= 执行市价总额 / 执行现货量
  8073. type: number
  8074. execontractamount:
  8075. description: 执行定价总额
  8076. type: number
  8077. exeqty:
  8078. description: 执行现货量
  8079. type: number
  8080. exerestamount:
  8081. description: 执行剩余市价总额【现货贸易】
  8082. type: number
  8083. futurefloatpl:
  8084. description: 期货浮动损益
  8085. type: number
  8086. futurehedgepl:
  8087. description: 期货实际损益
  8088. type: number
  8089. futurehedgeplchange:
  8090. description: 期货实际损益变动
  8091. type: number
  8092. futurepl:
  8093. description: 期货套期损益
  8094. type: number
  8095. futureplchange:
  8096. description: 期货套期损益变动
  8097. type: number
  8098. hedgeamount:
  8099. description: 套期市价总额
  8100. type: number
  8101. hedgecontractamount:
  8102. description: 套期定价总额 【定价采购合同】【现货贸易】
  8103. type: number
  8104. hedgeditemid:
  8105. description: 被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)
  8106. type: string
  8107. hedgeditemname:
  8108. description: 项目名称
  8109. type: string
  8110. hedgeditemnum:
  8111. description: 项目编号
  8112. type: string
  8113. hedgeditemstatus:
  8114. description: 项目状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  8115. type: integer
  8116. hedgedtype:
  8117. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  8118. type: integer
  8119. hedgeqty:
  8120. description: 套期现货量
  8121. type: number
  8122. hedgerate:
  8123. description: 套保比率
  8124. type: number
  8125. hedgerestamount:
  8126. description: 套期剩余市价总额【现货贸易】
  8127. type: number
  8128. hedgesumpl:
  8129. description: 套期汇总损益 = 期货汇总损益 + 现货汇总损益
  8130. type: number
  8131. middlegoodslist:
  8132. description: 套期商品列表
  8133. items:
  8134. $ref: '#/definitions/models.Ermcp2himiddlegoods'
  8135. type: array
  8136. oriavgprice:
  8137. description: 期初市场均价 = 套期市价总额 / 套期现货量
  8138. type: number
  8139. orifuturehedgepl:
  8140. description: 期初期货实际损益
  8141. type: number
  8142. orifuturepl:
  8143. description: 期初期货套期损益
  8144. type: number
  8145. orispothedgepl:
  8146. description: 期初现货实际损益
  8147. type: number
  8148. orispotpl:
  8149. description: 期初现货套期损益
  8150. type: number
  8151. planenddate:
  8152. description: 计划结束日期
  8153. type: string
  8154. planstartdate:
  8155. description: 计划开始日期
  8156. type: string
  8157. remark:
  8158. description: 备注
  8159. type: string
  8160. spotbookamount:
  8161. description: 现货账面总额
  8162. type: number
  8163. spotfloatpl:
  8164. description: 现货浮动损益 =(当前市场价 - 期初市场价)*未执行现货量 * 方向(销售计划 为 -1, 其它为1)
  8165. type: number
  8166. spothedgepl:
  8167. description: 现货套期损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)
  8168. type: number
  8169. spothedgeplchange:
  8170. description: 现货实际损益变动
  8171. type: number
  8172. spotpl:
  8173. description: 现货套期损益 = 现货实际损益 + 现货浮动损益
  8174. type: number
  8175. spotplchange:
  8176. description: 现货套期损益变动
  8177. type: number
  8178. spottradepl:
  8179. description: 现货贸易损益【现货贸易】= 执行合同定价总额 - 套期合同定价总额
  8180. type: number
  8181. sumobspl:
  8182. description: 汇总绝对损益【现货贸易】=现货贸易损益+增值税损益+期货套期损益
  8183. type: number
  8184. tradeuserid:
  8185. description: 交易用户ID
  8186. type: integer
  8187. unexeqty:
  8188. description: 未执行现货量 = 套期现货量 - 执行现货量
  8189. type: number
  8190. updatetime:
  8191. description: 更新时间
  8192. type: string
  8193. vatpl:
  8194. description: 增值税损益【现货贸易】= 现货贸易损益 * (增值税率 /(1+增值税率))
  8195. type: number
  8196. vatrate:
  8197. description: 增值税
  8198. type: number
  8199. wrstandardid:
  8200. description: 现货商品ID
  8201. type: integer
  8202. wrstandardname:
  8203. description: 商品名称
  8204. type: string
  8205. type: object
  8206. models.ErmcpBizGroupEx:
  8207. properties:
  8208. acclist:
  8209. description: 账号列表
  8210. items:
  8211. $ref: '#/definitions/models.ErmcpBizGroupTaAccount'
  8212. type: array
  8213. bizgroupid:
  8214. description: 业务分组id
  8215. type: integer
  8216. biztype:
  8217. description: 业务类型 1-套保 2-套利
  8218. type: integer
  8219. wrlist:
  8220. description: 现货商品表
  8221. items:
  8222. $ref: '#/definitions/models.ErmcpBizGroupSpotGoods'
  8223. type: array
  8224. type: object
  8225. models.ErmcpBizGroupSpotGoods:
  8226. properties:
  8227. areauserid:
  8228. description: 所属机构id
  8229. type: integer
  8230. bizgroupid:
  8231. description: 分组id
  8232. type: integer
  8233. biztype:
  8234. description: 业务类型 1-套保 2-套利
  8235. type: integer
  8236. deliverygoodscode:
  8237. description: 现货商品代码
  8238. type: string
  8239. deliverygoodsid:
  8240. description: 现货商品id
  8241. type: integer
  8242. deliverygoodsname:
  8243. description: 现货商品名称
  8244. type: string
  8245. unitid:
  8246. description: 现货商品单位id
  8247. type: integer
  8248. type: object
  8249. models.ErmcpBizGroupTaAccount:
  8250. properties:
  8251. accountid:
  8252. description: 账号id
  8253. type: integer
  8254. accountname:
  8255. description: 账号名称
  8256. type: string
  8257. areauserid:
  8258. description: 所属机构id
  8259. type: integer
  8260. bizgroupid:
  8261. description: 业务分组id
  8262. type: integer
  8263. ismain:
  8264. description: 是否主账号 1-是 0-否
  8265. type: integer
  8266. type: object
  8267. models.ErmcpDGFactoryItem:
  8268. properties:
  8269. areauserid:
  8270. description: 用户id
  8271. type: integer
  8272. deliverygoodsid:
  8273. description: 现货品种ID
  8274. type: integer
  8275. dgfactoryitemid:
  8276. description: 选择项ID(SEQ_DGFACTORYITEM)
  8277. type: integer
  8278. dgfactoryitemtypeid:
  8279. description: 要素项类型
  8280. type: integer
  8281. dgfactoryitemvalue:
  8282. description: 要素项值(类型为仓库时填写仓库名称)
  8283. type: string
  8284. isvalid:
  8285. description: 是否有效 - 0:无效 1:有效
  8286. type: integer
  8287. orderindex:
  8288. description: 顺序
  8289. type: integer
  8290. warehouseid:
  8291. description: 仓库ID(类型为仓库时填写)
  8292. type: integer
  8293. type: object
  8294. models.ErmcpDeliveryGoods:
  8295. properties:
  8296. agreeunit:
  8297. description: 合约单位[散货时默认为1, 整装时默认为标准数量]
  8298. type: integer
  8299. areauserid:
  8300. description: 所属机构
  8301. type: integer
  8302. auditflag:
  8303. description: 交割是否需要审核 - 0:不需要 1:需要审核 默认为0
  8304. type: integer
  8305. categoryid:
  8306. description: 类别ID(SEQ_WRCATEGORY)
  8307. type: integer
  8308. deliverygoodscode:
  8309. description: 现货品种代码
  8310. type: string
  8311. deliverygoodsid:
  8312. description: 现货品种ID(SEQ_DELIVERYGOODS)
  8313. type: integer
  8314. deliverygoodsname:
  8315. description: 现货品种名称
  8316. type: string
  8317. deliverygoodstype:
  8318. description: '现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细'
  8319. type: integer
  8320. dgstatus:
  8321. description: 品种状态 - 作废 - 0:未激活 1:正常
  8322. type: integer
  8323. enumdicname:
  8324. description: 现货品种单位名称
  8325. type: string
  8326. goodsunitid:
  8327. description: 现货品种单位ID
  8328. type: integer
  8329. isvalid:
  8330. description: 是否有效 - 0:无效 1:有效
  8331. type: integer
  8332. qtydecimalplace:
  8333. description: 成交量小数位
  8334. type: integer
  8335. remark:
  8336. description: 备注
  8337. type: string
  8338. standardqty:
  8339. description: 标准数量(库位数量) [标准品特有]
  8340. type: integer
  8341. standardqtyrange:
  8342. description: 标准数量偏差范围 [标准品特有]
  8343. type: integer
  8344. type: object
  8345. models.ErmcpFuturesCompany:
  8346. properties:
  8347. brokerid:
  8348. description: 经纪公司代码
  8349. type: string
  8350. channeladdress:
  8351. description: 对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001
  8352. type: string
  8353. channelid:
  8354. description: 对冲渠道ID
  8355. type: string
  8356. createtime:
  8357. description: 创建时间
  8358. type: string
  8359. creatorid:
  8360. description: 创建人
  8361. type: string
  8362. fcid:
  8363. description: 期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)
  8364. type: integer
  8365. fcname:
  8366. description: 期货公司名称
  8367. type: string
  8368. isvalid:
  8369. description: 是否有效 - 0:无效 1:有效
  8370. type: integer
  8371. mhpaddress:
  8372. description: MHP服务地址(IP:Port)
  8373. type: string
  8374. riskrulegroupid:
  8375. description: 风控规则组ID
  8376. type: string
  8377. tradefeetmpid:
  8378. description: 手续费模板ID[TradeConfigTmpType为2]
  8379. type: string
  8380. trademargintmpid:
  8381. description: 保证金模板ID [TradeConfigTmpType为1]
  8382. type: string
  8383. traderatetmpid:
  8384. description: 汇率模板ID[TradeConfigTmpType为3]
  8385. type: string
  8386. updatetime:
  8387. description: 更新时间
  8388. type: string
  8389. updatorid:
  8390. description: 更新人
  8391. type: string
  8392. type: object
  8393. models.ErmcpGGConvertCfg:
  8394. properties:
  8395. convertratio:
  8396. description: 折算系数
  8397. type: number
  8398. destgoodsgroupid:
  8399. description: 目标品种ID
  8400. type: integer
  8401. dstcode:
  8402. description: 目录品种代码
  8403. type: string
  8404. dstexchangecode:
  8405. description: 目标期货交易所
  8406. type: string
  8407. dstname:
  8408. description: 目标品种名称
  8409. type: string
  8410. dstunitid:
  8411. description: 目标品种单位ID
  8412. type: integer
  8413. dstunitidname:
  8414. description: 目标品种单位名称
  8415. type: string
  8416. modifytime:
  8417. description: 修改时间
  8418. type: string
  8419. srccode:
  8420. description: 源品种代码
  8421. type: string
  8422. srcexchangecode:
  8423. description: 源期货交易所
  8424. type: string
  8425. srcgoodsgroupid:
  8426. description: 源品种ID
  8427. type: integer
  8428. srcname:
  8429. description: 源品种名称
  8430. type: string
  8431. srcunitid:
  8432. description: 源品种单位ID
  8433. type: integer
  8434. srcunitidname:
  8435. description: 源品种单位名称
  8436. type: string
  8437. type: object
  8438. models.ErmcpGoods:
  8439. properties:
  8440. agreeunit:
  8441. description: 合约单位
  8442. type: number
  8443. areauserid:
  8444. description: 所属机构
  8445. type: integer
  8446. auditaccountid:
  8447. description: 审核操作员账号
  8448. type: integer
  8449. audittime:
  8450. description: 审核时间
  8451. type: string
  8452. cancelaccountid:
  8453. description: 注销操作员账号
  8454. type: integer
  8455. canceltime:
  8456. description: 注销时间
  8457. type: string
  8458. closepricemode:
  8459. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  8460. type: integer
  8461. closepriceparam:
  8462. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  8463. type: number
  8464. createtime:
  8465. description: 创建时间
  8466. type: string
  8467. creatorid:
  8468. description: 创建人
  8469. type: integer
  8470. currencyid:
  8471. description: 报价货币ID
  8472. type: integer
  8473. cutmode:
  8474. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  8475. type: integer
  8476. decimalplace:
  8477. description: 报价小数位
  8478. type: integer
  8479. delistingdate:
  8480. description: 商品退市时间(状态:退市) -- 已作废
  8481. type: string
  8482. delistingmode:
  8483. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  8484. type: integer
  8485. deliveryflag:
  8486. description: 交割标志 - 0:不可交割 1:可交割
  8487. type: integer
  8488. enumdicname:
  8489. description: 单位名称
  8490. type: string
  8491. forceclosemode:
  8492. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  8493. type: integer
  8494. forceclosevalue:
  8495. description: 定期强平参数 [收益权]
  8496. type: integer
  8497. goodscode:
  8498. description: 商品代码(内部)
  8499. type: string
  8500. goodscurrencyid:
  8501. description: 合约货币ID
  8502. type: integer
  8503. goodsgroupid:
  8504. description: 所属商品组ID
  8505. type: integer
  8506. goodsid:
  8507. description: 商品ID(自增ID SEQ_GOODS)
  8508. type: integer
  8509. goodsname:
  8510. description: 商品名称
  8511. type: string
  8512. goodsquotetype:
  8513. description: '合约报价类型: 1-直接报价 2-间接报价'
  8514. type: integer
  8515. goodsstatus:
  8516. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  8517. type: integer
  8518. goodstradetype:
  8519. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  8520. type: integer
  8521. goodunitid:
  8522. description: 报价单位ID
  8523. type: integer
  8524. hasquoter:
  8525. description: 是否有报价商 - 0:无报价商 1:有报价商
  8526. type: integer
  8527. hqprotecttime:
  8528. description: 行情保护时间(秒)
  8529. type: integer
  8530. innerdealmode:
  8531. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  8532. type: integer
  8533. isbuylimited:
  8534. description: 是否限制建仓量 - 0:不限制 1:限制
  8535. type: integer
  8536. isvisible:
  8537. description: 游客是否可见 - 0:不可见 1:可见
  8538. type: integer
  8539. lasttradedate:
  8540. description: 最后交易日期(状态:待退市)
  8541. type: string
  8542. listingdate:
  8543. description: 交易开始日期
  8544. type: string
  8545. marketid:
  8546. description: 所属市场ID
  8547. type: integer
  8548. modifierid:
  8549. description: 修改人
  8550. type: integer
  8551. modifystatus:
  8552. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  8553. type: integer
  8554. modifytime:
  8555. description: 修改时间
  8556. type: string
  8557. outerdealmode:
  8558. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  8559. type: integer
  8560. outgoodscode:
  8561. description: 商品代码(外部)
  8562. type: string
  8563. pictureurl:
  8564. description: 商品图片
  8565. type: string
  8566. qtydecimalplace:
  8567. description: 成交量小数位
  8568. type: integer
  8569. quotegear:
  8570. description: 行情档位(1-10)
  8571. type: integer
  8572. quoteminunit:
  8573. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8574. type: integer
  8575. quoteshowtype:
  8576. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  8577. type: integer
  8578. quoteshowtypeinterval:
  8579. description: 行情报价间隔时间(秒)(成交价时为0)
  8580. type: integer
  8581. relatedgoodsid:
  8582. description: 关联参考商品ID
  8583. type: integer
  8584. remark:
  8585. description: 备注
  8586. type: string
  8587. trademode:
  8588. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8589. 21:竞拍-大宗式 22:受托竞价
  8590. type: integer
  8591. required:
  8592. - goodscode
  8593. - goodsid
  8594. - goodsname
  8595. - marketid
  8596. type: object
  8597. models.ErmcpGoodsBrand:
  8598. properties:
  8599. areauserid:
  8600. description: 所属机构
  8601. type: integer
  8602. brandid:
  8603. description: BrandID(SEQ_SPOTGOODSBRAND)
  8604. type: integer
  8605. brandname:
  8606. description: 品牌名称
  8607. type: string
  8608. createtime:
  8609. description: 创建时间
  8610. type: string
  8611. creatorid:
  8612. description: 创建人
  8613. type: integer
  8614. creatorsrc:
  8615. description: 创建人来源 - 1:管理端 2:终端
  8616. type: integer
  8617. deliverygoodsid:
  8618. description: 现货品种ID
  8619. type: integer
  8620. isvalid:
  8621. description: 是否有效 - 0:无效 1:有效
  8622. type: integer
  8623. updatetime:
  8624. description: 更新时间
  8625. type: string
  8626. updatorid:
  8627. description: 更新人
  8628. type: integer
  8629. updatorsrc:
  8630. description: 更新人来源 - 1:管理端 2:终端
  8631. type: integer
  8632. wrstandardid:
  8633. description: 现货商品ID
  8634. type: integer
  8635. type: object
  8636. models.ErmcpGoodsModel:
  8637. properties:
  8638. areauserid:
  8639. description: 所属机构
  8640. type: integer
  8641. convertfactor:
  8642. description: 标仓系数
  8643. type: number
  8644. createtime:
  8645. description: 创建时间
  8646. type: string
  8647. creatorid:
  8648. description: 创建人
  8649. type: integer
  8650. creatorsrc:
  8651. description: 创建人来源 - 1:管理端 2:终端
  8652. type: integer
  8653. deliverygoodsid:
  8654. description: 现货品种ID
  8655. type: integer
  8656. isvalid:
  8657. description: 是否有效 - 0:无效 1:有效
  8658. type: integer
  8659. modelid:
  8660. description: ModelID(SEQ_SPOTGOODSMODEL)
  8661. type: integer
  8662. modelname:
  8663. description: 型号名称
  8664. type: string
  8665. updatetime:
  8666. description: 更新时间
  8667. type: string
  8668. updatorid:
  8669. description: 更新人
  8670. type: integer
  8671. updatorsrc:
  8672. description: 更新人来源 - 1:管理端 2:终端
  8673. type: integer
  8674. wrstandardid:
  8675. description: 现货商品ID
  8676. type: integer
  8677. type: object
  8678. models.ErmcpHisExposure:
  8679. properties:
  8680. needhedgeexposoure:
  8681. description: 应套保敞口
  8682. type: number
  8683. reckondate:
  8684. description: 日照时期(yyyyMMdd)
  8685. type: string
  8686. totalexposure:
  8687. description: 总敞口
  8688. type: number
  8689. type: object
  8690. models.ErmcpLoginTaAccount:
  8691. properties:
  8692. accountid:
  8693. description: 账号id
  8694. type: integer
  8695. accountname:
  8696. description: 账号名称
  8697. type: string
  8698. type: object
  8699. models.ErmcpLoginUser:
  8700. properties:
  8701. acclist:
  8702. description: 关联资金账号
  8703. items:
  8704. $ref: '#/definitions/models.ErmcpLoginTaAccount'
  8705. type: array
  8706. accountname:
  8707. description: 用户名称
  8708. type: string
  8709. clientroleid:
  8710. description: 角色id(usertype=2)
  8711. type: integer
  8712. createtime:
  8713. description: 创建时间
  8714. type: string
  8715. logincode:
  8716. description: 登录代码
  8717. type: string
  8718. loginid:
  8719. description: 登录id(LOGINID)
  8720. type: integer
  8721. loginname:
  8722. description: 登录名称(loginaccount表中的accountname字段)
  8723. type: string
  8724. loginstatus:
  8725. description: 登录账户状态 - 1:正常 2:冻结 3:无效
  8726. type: integer
  8727. memberuserid:
  8728. description: 所属会员id
  8729. type: integer
  8730. mobile:
  8731. description: 手机号
  8732. type: string
  8733. modifytime:
  8734. description: 修改时间
  8735. type: string
  8736. password:
  8737. description: 密码(不可解密)
  8738. type: string
  8739. rolename:
  8740. description: 角色名称
  8741. type: string
  8742. rolestatus:
  8743. description: 角色状态 1-启用 2-停用
  8744. type: integer
  8745. roletype:
  8746. description: 角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员
  8747. type: string
  8748. userid:
  8749. description: 用户id
  8750. type: integer
  8751. usertype:
  8752. description: 用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  8753. type: integer
  8754. type: object
  8755. models.ErmcpLoginUserEx:
  8756. properties:
  8757. accountstatus:
  8758. description: 账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  8759. type: integer
  8760. mobile:
  8761. description: 手机号
  8762. type: string
  8763. querytype:
  8764. description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  8765. type: integer
  8766. roleid:
  8767. description: 角色id(交易账户->用户id)
  8768. type: integer
  8769. rolename:
  8770. description: 角色名称(交易账户->用户名称)
  8771. type: string
  8772. userlist:
  8773. description: 用户列表
  8774. items:
  8775. $ref: '#/definitions/models.ErmcpLoginUser'
  8776. type: array
  8777. usertype:
  8778. description: 用户类型 2-机构 7-企业成员(云平台)
  8779. type: integer
  8780. type: object
  8781. models.ErmcpMiddleGoodsModel:
  8782. properties:
  8783. areauserid:
  8784. description: 机构用户ID
  8785. type: integer
  8786. createtime:
  8787. description: 修改时间
  8788. type: string
  8789. enumdicname:
  8790. description: 单位名称
  8791. type: string
  8792. evaluateratio:
  8793. description: 估价系数
  8794. type: number
  8795. goodsgroupid:
  8796. description: 关联期货品种ID
  8797. type: integer
  8798. goodsunitid:
  8799. description: 单位ID
  8800. type: integer
  8801. isvalid:
  8802. description: 状态 0-无效(停用) 1-有效(正常)
  8803. type: integer
  8804. middlegoodscode:
  8805. description: 套保品种代码
  8806. type: string
  8807. middlegoodsid:
  8808. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  8809. type: integer
  8810. middlegoodsname:
  8811. description: 套保品种名称
  8812. type: string
  8813. modifytime:
  8814. description: 修改时间
  8815. type: string
  8816. needarbitrageratio:
  8817. description: 套利比例
  8818. type: number
  8819. needhedgeratio:
  8820. description: 套保比率
  8821. type: number
  8822. qtydecimalplace:
  8823. description: 数量小数位
  8824. type: integer
  8825. relatedgoodsid:
  8826. description: 关联交易商品ID
  8827. type: integer
  8828. relatedgoodstype:
  8829. description: 关联商品类型 - 1:期货合约 2:现货品种
  8830. type: integer
  8831. remark:
  8832. description: 备注
  8833. type: string
  8834. type: object
  8835. models.ErmcpMiddlegoodsRelateGoods:
  8836. properties:
  8837. agreeunit:
  8838. description: 合约乘数
  8839. type: number
  8840. convertratio:
  8841. description: 折算系数
  8842. type: number
  8843. enumdicname:
  8844. description: 单位名称(交易商品)
  8845. type: string
  8846. goodscode:
  8847. description: 交易商品代码
  8848. type: string
  8849. goodsgroupid:
  8850. description: 交易品种id
  8851. type: integer
  8852. goodsid:
  8853. description: 商品Id
  8854. type: integer
  8855. goodsname:
  8856. description: 交易商品名称
  8857. type: string
  8858. goodunitid:
  8859. description: 交易商品单位id
  8860. type: integer
  8861. middlegoodsid:
  8862. description: 套保商品id
  8863. type: integer
  8864. middlegoodsname:
  8865. description: 套保商品名称
  8866. type: string
  8867. middlegoodsswcode:
  8868. description: 套保商品代码
  8869. type: string
  8870. needarbitrageratio:
  8871. description: 应套利比例
  8872. type: number
  8873. needhedgeratio:
  8874. description: 应套保比例
  8875. type: number
  8876. type: object
  8877. models.ErmcpRole:
  8878. properties:
  8879. areauserid:
  8880. description: 所属机构
  8881. type: integer
  8882. autoid:
  8883. description: 角色ID(自增ID)
  8884. type: integer
  8885. modifierid:
  8886. description: 修改人(创建人)
  8887. type: integer
  8888. modifiername:
  8889. description: 修改人名称
  8890. type: string
  8891. modifytime:
  8892. description: 修改时间(创建时间)
  8893. type: string
  8894. rolename:
  8895. description: 角色名称
  8896. type: string
  8897. rolestatus:
  8898. description: 角色状态 - 1:启用 2:停用
  8899. type: integer
  8900. roletype:
  8901. description: 角色类型 - 1- 管理端 2- 交易端
  8902. type: integer
  8903. type: object
  8904. models.ErmcpRoleMenu:
  8905. properties:
  8906. iconame:
  8907. description: 菜单图标
  8908. type: string
  8909. ishadrole:
  8910. description: 是否有权限
  8911. type: boolean
  8912. menutype:
  8913. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 5:PCWEB(v6)
  8914. type: integer
  8915. parentcode:
  8916. description: 上级资源代码
  8917. type: string
  8918. remark:
  8919. description: 菜单备注
  8920. type: string
  8921. resourcecode:
  8922. description: 菜单代码
  8923. type: string
  8924. resourcelevel:
  8925. description: 级别
  8926. type: integer
  8927. resourcename:
  8928. description: 菜单名称
  8929. type: string
  8930. roleid:
  8931. description: 角色id
  8932. type: integer
  8933. sort:
  8934. description: 排序
  8935. type: integer
  8936. url:
  8937. description: URL
  8938. type: string
  8939. userid:
  8940. description: 用户id
  8941. type: integer
  8942. type: object
  8943. models.ErmcpRoleMenuEx:
  8944. properties:
  8945. menu:
  8946. $ref: '#/definitions/models.ErmcpRoleMenu'
  8947. description: 父级菜单
  8948. subMenu:
  8949. description: 子级菜单
  8950. items:
  8951. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  8952. type: array
  8953. type: object
  8954. models.ErmcpSpotContractModelEx:
  8955. properties:
  8956. accountname:
  8957. description: 套期主体
  8958. type: string
  8959. amount:
  8960. description: 金额 [1:一口价、3:暂定价]
  8961. type: number
  8962. attachment:
  8963. description: 附件
  8964. type: string
  8965. auditremark:
  8966. description: 审核意见
  8967. type: string
  8968. audittime:
  8969. description: 审核时间
  8970. type: string
  8971. avgprice:
  8972. description: 定价均价 = 已定价金额 / 已定价量
  8973. type: number
  8974. brandname:
  8975. description: 品牌名称
  8976. type: string
  8977. buyuserid:
  8978. description: 采购方ID
  8979. type: integer
  8980. buyusername:
  8981. description: 采购方名称
  8982. type: string
  8983. contracctstatus:
  8984. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  8985. type: integer
  8986. contractmargin:
  8987. description: 合同保证金
  8988. type: number
  8989. contractno:
  8990. description: '[合同编号]现货合同编号'
  8991. type: string
  8992. contracttype:
  8993. description: '[合同类型]现货合同类型 - 1:采购 -1:销售'
  8994. type: integer
  8995. convertfactor:
  8996. description: 标仓系数
  8997. type: number
  8998. createtime:
  8999. description: 创建时间
  9000. type: string
  9001. customername:
  9002. description: 对手方
  9003. type: string
  9004. customeruserid:
  9005. description: 客户ID
  9006. type: integer
  9007. deliveryenddate:
  9008. description: 交收期(结束)
  9009. type: string
  9010. deliverygoodscode:
  9011. description: 现货品种代码
  9012. type: string
  9013. deliverygoodsid:
  9014. description: 现货品种ID
  9015. type: integer
  9016. deliverygoodsname:
  9017. description: 现货品种名称
  9018. type: string
  9019. deliverystartdate:
  9020. description: 交收期(开始)
  9021. type: string
  9022. enddate:
  9023. description: 点价结束日期 [2:点价 3:暂定价]
  9024. type: string
  9025. enumdicname:
  9026. description: 单位名称
  9027. type: string
  9028. goodscode:
  9029. description: 点价合约代码
  9030. type: string
  9031. goodsid:
  9032. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  9033. type: integer
  9034. goodsname:
  9035. description: 点价商品名称
  9036. type: string
  9037. isrelated:
  9038. description: 是否已关联计划项目 - 0:否 1:是
  9039. type: integer
  9040. isrelated2:
  9041. description: 是否已关联现货项目 - 0:否 1:是
  9042. type: integer
  9043. margin:
  9044. description: 当前保证金
  9045. type: number
  9046. modelname:
  9047. description: 型号名称
  9048. type: string
  9049. price:
  9050. description: 价格\暂定价 [1:一口价、3:暂定价]
  9051. type: number
  9052. pricedamount:
  9053. description: 已定价金额 = (点价价格+升贴水) * 数量
  9054. type: number
  9055. pricedqty:
  9056. description: 已定价量
  9057. type: number
  9058. pricemove:
  9059. description: 升贴水 [2:点价 3:暂定价]
  9060. type: number
  9061. pricetype:
  9062. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  9063. type: integer
  9064. producttype:
  9065. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  9066. type: integer
  9067. qty:
  9068. description: '[合同数量]数量'
  9069. type: number
  9070. remark:
  9071. description: 备注
  9072. type: string
  9073. selluserid:
  9074. description: 销售方ID
  9075. type: integer
  9076. sellusername:
  9077. description: 销售方名称
  9078. type: string
  9079. spotamount:
  9080. description: 合同现货金额 [不含升贴水]
  9081. type: number
  9082. spotavgprice:
  9083. description: 现货均价 = 合同现货金额 / 已定价量
  9084. type: number
  9085. spotcontractid:
  9086. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  9087. type: string
  9088. spotgoodsbrandid:
  9089. description: 现货品牌ID
  9090. type: integer
  9091. spotgoodsdesc:
  9092. description: 商品型号
  9093. type: string
  9094. spotgoodsmodelid:
  9095. description: 现货型号ID
  9096. type: integer
  9097. startdate:
  9098. description: 点价开始日期 [2:点价 3:暂定价]
  9099. type: string
  9100. tradeuserid:
  9101. description: 交易用户ID
  9102. type: integer
  9103. unpricedqty:
  9104. description: 未定价量 = 合同数量 - 已定价量
  9105. type: number
  9106. updatetime:
  9107. description: 更新时间
  9108. type: string
  9109. userid:
  9110. description: 机构ID
  9111. type: integer
  9112. wrstandardcode:
  9113. description: 现货商品代码
  9114. type: string
  9115. wrstandardid:
  9116. description: 现货商品ID
  9117. type: integer
  9118. wrstandardname:
  9119. description: '[现货商品]现货商品名称'
  9120. type: string
  9121. type: object
  9122. models.ErmcpTaAccount:
  9123. properties:
  9124. accountid:
  9125. description: 账户id
  9126. type: integer
  9127. accountname:
  9128. description: 账户名称
  9129. type: string
  9130. currencyid:
  9131. description: 币种id
  9132. type: integer
  9133. hedgeaccountcode:
  9134. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  9135. type: string
  9136. ismain:
  9137. description: 是否主账户 0-否 1-是
  9138. type: integer
  9139. parentaccountid:
  9140. description: 父账户id
  9141. type: integer
  9142. relateduserid:
  9143. description: 关联userid
  9144. type: integer
  9145. tradefeetmpid:
  9146. description: 手续费模板id
  9147. type: integer
  9148. tradefeetmpname:
  9149. description: 手续费模板名称
  9150. type: string
  9151. trademargintmpid:
  9152. description: 保证金模板id
  9153. type: integer
  9154. trademargintmpname:
  9155. description: 保证金模板名称
  9156. type: string
  9157. traderatetmpid:
  9158. description: 汇率模板id
  9159. type: integer
  9160. traderatetmpname:
  9161. description: 汇率模板名称
  9162. type: string
  9163. tradestatus:
  9164. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  9165. type: integer
  9166. userid:
  9167. description: 用户id
  9168. type: integer
  9169. type: object
  9170. models.ErmcpTaAccountEx:
  9171. properties:
  9172. mainAcc:
  9173. $ref: '#/definitions/models.ErmcpTaAccountM'
  9174. description: 主账号
  9175. subacclist:
  9176. description: 子账号列表
  9177. items:
  9178. $ref: '#/definitions/models.ErmcpTaAccount'
  9179. type: array
  9180. type: object
  9181. models.ErmcpTaAccountInfo:
  9182. properties:
  9183. accountid:
  9184. description: 资金账户ID
  9185. type: integer
  9186. accountname:
  9187. description: 账户名称
  9188. type: string
  9189. balance:
  9190. description: 期初余额
  9191. type: number
  9192. capitalbalance:
  9193. description: 本金余额[外部子账户实际出入金余额]
  9194. type: number
  9195. closepl:
  9196. description: 今日平仓盈亏
  9197. type: number
  9198. creditdecrease:
  9199. description: 今日授信减少
  9200. type: number
  9201. creditincrease:
  9202. description: 今日授信增加
  9203. type: number
  9204. curdebt:
  9205. description: 期末欠款
  9206. type: number
  9207. currencyid:
  9208. description: 货币ID
  9209. type: integer
  9210. currentbalance:
  9211. description: 期末余额
  9212. type: number
  9213. freezecharge:
  9214. description: 手续费冻结
  9215. type: number
  9216. freezemargin:
  9217. description: 冻结保证金
  9218. type: number
  9219. fromaccountid:
  9220. description: 所属上级账户
  9221. type: integer
  9222. inamount:
  9223. description: 今日入金金额(包括三方入金)
  9224. type: number
  9225. ismain:
  9226. description: 是否母账号 0:不是母账户 1:是母账户
  9227. type: integer
  9228. mortgagecredit:
  9229. description: 授信金额
  9230. type: number
  9231. oridebt:
  9232. description: 期初欠款
  9233. type: number
  9234. orifreezecharge:
  9235. description: 期初手续费冻结
  9236. type: number
  9237. orifreezemargin:
  9238. description: 期初冻结保证金
  9239. type: number
  9240. orimortgagecredit:
  9241. description: 期初授信金额
  9242. type: number
  9243. oriothercredit:
  9244. description: 期初其它授信金额
  9245. type: number
  9246. oriotherfreezemargin:
  9247. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  9248. type: number
  9249. orioutamountfreeze:
  9250. description: 期初出金冻结
  9251. type: number
  9252. oriusedmargin:
  9253. description: 期初占用保证金
  9254. type: number
  9255. othercredit:
  9256. description: 其它授信金额
  9257. type: number
  9258. othercreditdecrease:
  9259. description: 今日其它授信减少
  9260. type: number
  9261. othercreditincrease:
  9262. description: 今日其它授信增加
  9263. type: number
  9264. otherfreezemargin:
  9265. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  9266. type: number
  9267. outamount:
  9268. description: 今日出金金额(包括三方出金)
  9269. type: number
  9270. outamountfreeze:
  9271. description: 出金冻结
  9272. type: number
  9273. outthreshold:
  9274. description: 出金阈值
  9275. type: number
  9276. parentaccountid:
  9277. description: 所属根账号
  9278. type: integer
  9279. paycharge:
  9280. description: 今日手续费支出
  9281. type: number
  9282. relateduserid:
  9283. description: 关联用户
  9284. type: integer
  9285. signstatus:
  9286. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  9287. type: integer
  9288. sublevelpath:
  9289. description: 账号层级路径(逗号分隔,首尾加逗号)
  9290. type: string
  9291. taaccounttype:
  9292. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  9293. type: integer
  9294. thirdinamount:
  9295. description: 今日三方入金
  9296. type: number
  9297. thirdoutamount:
  9298. description: 今日三方出金
  9299. type: number
  9300. tradestatus:
  9301. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  9302. type: integer
  9303. transferamount:
  9304. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  9305. type: number
  9306. usedmargin:
  9307. description: 占用保证金
  9308. type: number
  9309. userid:
  9310. description: 用户ID
  9311. type: integer
  9312. type: object
  9313. models.ErmcpTaAccountM:
  9314. properties:
  9315. accountid:
  9316. description: 账户id
  9317. type: integer
  9318. accountname:
  9319. description: 账户名称
  9320. type: string
  9321. currencyid:
  9322. description: 币种id
  9323. type: integer
  9324. fcid:
  9325. description: 期货公司id
  9326. type: integer
  9327. fcname:
  9328. description: 期货公司代码
  9329. type: string
  9330. hedgeaccountcode:
  9331. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  9332. type: string
  9333. ismain:
  9334. description: 是否主账户 0-否 1-是
  9335. type: integer
  9336. parentaccountid:
  9337. description: 父账户id
  9338. type: integer
  9339. relateduserid:
  9340. description: 关联userid
  9341. type: integer
  9342. tradefeetmpid:
  9343. description: 手续费模板id
  9344. type: integer
  9345. tradefeetmpname:
  9346. description: 手续费模板名称
  9347. type: string
  9348. trademargintmpid:
  9349. description: 保证金模板id
  9350. type: integer
  9351. trademargintmpname:
  9352. description: 保证金模板名称
  9353. type: string
  9354. traderatetmpid:
  9355. description: 汇率模板id
  9356. type: integer
  9357. traderatetmpname:
  9358. description: 汇率模板名称
  9359. type: string
  9360. tradestatus:
  9361. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  9362. type: integer
  9363. userid:
  9364. description: 用户id
  9365. type: integer
  9366. type: object
  9367. models.ErmcpTradeConfigTMP:
  9368. properties:
  9369. areauserid:
  9370. description: 所属机构
  9371. type: integer
  9372. basiccurrencyid:
  9373. description: 基本币种ID[汇率] - 目标币种
  9374. type: integer
  9375. mainaccountid:
  9376. description: 主账户ID
  9377. type: integer
  9378. modifierid:
  9379. description: 修改人
  9380. type: integer
  9381. remark:
  9382. description: 备注
  9383. type: string
  9384. tradeconfigtmpid:
  9385. description: 交易配置模板ID(SEQ_TRADECONFIGTMP)
  9386. type: integer
  9387. tradeconfigtmpname:
  9388. description: 交易配置模板名称
  9389. type: string
  9390. tradeconfigtmptype:
  9391. description: 交易配置模板类型 - 1:保证金 2:手续费 3:汇率
  9392. type: integer
  9393. updatetime:
  9394. description: 更新时间
  9395. type: string
  9396. type: object
  9397. models.Ermcpjrlinkpos:
  9398. properties:
  9399. areauserid:
  9400. description: 所属企业
  9401. type: integer
  9402. averageprice:
  9403. description: 持仓均价 (TotalBuyHoldAmount - TotalSellHoldAmount) / NetQty
  9404. type: number
  9405. closepl:
  9406. description: 总平仓盈亏 [期货损益]
  9407. type: number
  9408. executeprice:
  9409. description: 执行价 - 1:期货单 为 0
  9410. type: integer
  9411. futurehedgeqty:
  9412. description: 期货套期量
  9413. type: number
  9414. goodsid:
  9415. description: 期货合约
  9416. type: integer
  9417. middlegoodscode:
  9418. description: 套保商品代码
  9419. type: string
  9420. middlegoodsname:
  9421. description: 套保商品名称
  9422. type: string
  9423. netqty:
  9424. description: 净头寸
  9425. type: number
  9426. optioncode:
  9427. description: 期权代码
  9428. type: string
  9429. ordertype:
  9430. description: 单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单
  9431. type: integer
  9432. reckonpl:
  9433. description: 总盈亏(平仓盈亏 + 结算盈亏 - 手续费)
  9434. type: number
  9435. spotcontractid:
  9436. description: 现货ID [套期项目ID - 金瑞:合同\虚拟合同ID
  9437. type: string
  9438. todayfutureclosepl:
  9439. description: 今日平仓盈亏
  9440. type: number
  9441. totalbuyamount:
  9442. description: 买金额 [期货]
  9443. type: number
  9444. totalbuyholdamount:
  9445. description: 买持仓总金额[期货]
  9446. type: number
  9447. totalbuyqty:
  9448. description: 买数量
  9449. type: number
  9450. totalcharge:
  9451. description: 手续费
  9452. type: number
  9453. totalpremium:
  9454. description: 权利金 [期权]
  9455. type: number
  9456. totalsellamount:
  9457. description: 卖金额 [期货]
  9458. type: number
  9459. totalsellholdamount:
  9460. description: 卖持仓总金额[期货]
  9461. type: number
  9462. totalsellqty:
  9463. description: 卖数量
  9464. type: number
  9465. updatetime:
  9466. description: 更新时间
  9467. type: string
  9468. required:
  9469. - spotcontractid
  9470. type: object
  9471. models.Ermcppatradelinkdetail:
  9472. properties:
  9473. agreeunit:
  9474. description: 合约乘数
  9475. type: number
  9476. amount:
  9477. description: 金额 = RelatedLot * TradePrice * AgreeUnit
  9478. type: number
  9479. areauserid:
  9480. description: 所属机构
  9481. type: integer
  9482. bizsubjectid:
  9483. description: 归属业务部门ID - SubjectID
  9484. type: integer
  9485. buyorsell:
  9486. description: 方向 - 0:买 1:卖
  9487. type: integer
  9488. convertratio:
  9489. description: 品种系数
  9490. type: number
  9491. createtime:
  9492. description: 创建时间
  9493. type: string
  9494. creatorid:
  9495. description: 创建人ID
  9496. type: integer
  9497. creatorsrc:
  9498. description: 创建人来源 - 1:管理端 2:终端 3:交易
  9499. type: integer
  9500. goodsgroupid:
  9501. description: 对冲品种ID[期货合约商品组ID]
  9502. type: integer
  9503. goodsid:
  9504. description: 商品ID
  9505. type: integer
  9506. hedgeditemid:
  9507. description: 现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]
  9508. type: integer
  9509. hedgeflag:
  9510. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  9511. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目
  9512. type: integer
  9513. linkdetailid:
  9514. description: 期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)
  9515. type: string
  9516. linkstatus:
  9517. description: 关联状态 - 1:成功 2:失败 3:解绑
  9518. type: integer
  9519. middlegoodsid:
  9520. description: 套保品种ID
  9521. type: integer
  9522. name:
  9523. description: 账户名/子账户
  9524. type: string
  9525. optioncode:
  9526. description: '[期货合约]期权代码 [期权]'
  9527. type: string
  9528. ordertype:
  9529. description: 单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单
  9530. type: integer
  9531. relatedlot:
  9532. description: '[数量]关联手数'
  9533. type: number
  9534. relatedmode:
  9535. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  9536. type: integer
  9537. relatedqty:
  9538. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  9539. type: number
  9540. retcode:
  9541. description: 返回码
  9542. type: integer
  9543. saleuserid:
  9544. description: 业务员ID
  9545. type: integer
  9546. tradedate:
  9547. description: 关联交易日(yyyyMMdd)
  9548. type: string
  9549. tradeid:
  9550. description: '[成交单号]内部成交单ID'
  9551. type: string
  9552. tradelot:
  9553. description: 成交手数
  9554. type: integer
  9555. tradeprice:
  9556. description: '[价格]成交价格'
  9557. type: number
  9558. tradetime:
  9559. description: 日期时间
  9560. type: string
  9561. tradetradedate:
  9562. description: 成交交易日(yyyyMMdd)
  9563. type: string
  9564. required:
  9565. - hedgeditemid
  9566. type: object
  9567. models.Exchangerateconfig:
  9568. properties:
  9569. descurrencyid:
  9570. description: 目标币种ID
  9571. type: integer
  9572. exchangerate:
  9573. description: 汇率
  9574. type: number
  9575. oricurrencyid:
  9576. description: 源币种ID
  9577. type: integer
  9578. remark:
  9579. description: 备注
  9580. type: string
  9581. type: object
  9582. models.Externalexchange:
  9583. properties:
  9584. autoid:
  9585. description: AutoID - SEQ_EXTERNALEXCHANGE
  9586. type: integer
  9587. exchangefullname:
  9588. description: 外部交易所全称
  9589. type: string
  9590. exexchangecode:
  9591. description: 外部交易所代码
  9592. type: string
  9593. exexchangename:
  9594. description: 外部交易所名称(简称)
  9595. type: string
  9596. ismarketprice:
  9597. description: 是否支持市价 - 0:不支持 1:支持
  9598. type: integer
  9599. quotegear:
  9600. description: 行情档位(1-10)
  9601. type: integer
  9602. showbrokerflag:
  9603. description: 是否显示买卖经纪盘 - 0:不显示 1:显示
  9604. type: integer
  9605. updatetime:
  9606. description: 更新时间
  9607. type: string
  9608. required:
  9609. - autoid
  9610. type: object
  9611. models.Funcmenulist:
  9612. properties:
  9613. iconame:
  9614. description: 菜单图标
  9615. type: string
  9616. menutype:
  9617. description: 菜单类型 1-管理端 2-交易端 3-终端权限
  9618. type: integer
  9619. parentcode:
  9620. description: 上级资源代码
  9621. type: string
  9622. remark:
  9623. description: 备注
  9624. type: string
  9625. resourcecode:
  9626. description: 资源代码
  9627. type: string
  9628. resourcelevel:
  9629. description: 级别 1-一级 2-二级 3-三级 4-四级
  9630. type: integer
  9631. resourcename:
  9632. description: 资源名
  9633. type: string
  9634. sort:
  9635. description: 排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序
  9636. type: integer
  9637. url:
  9638. description: URL
  9639. type: string
  9640. required:
  9641. - resourcecode
  9642. type: object
  9643. models.GZGoods:
  9644. properties:
  9645. cerno:
  9646. description: 证书编号 - 类型:2,4,5
  9647. type: string
  9648. cpcertno:
  9649. description: 金伯利证书编号 - 类型:3
  9650. type: string
  9651. goodsno:
  9652. description: 商品编号
  9653. type: string
  9654. imagepath:
  9655. description: 商品照片(相对地址)
  9656. type: string
  9657. isvalid:
  9658. description: 是否有效 - 0:无效 1:有效
  9659. type: integer
  9660. kppath:
  9661. description: 金伯利证书图片(相对地址) - 类型:3
  9662. type: string
  9663. kpweight:
  9664. description: 金伯利证书重量 - 类型:3
  9665. type: string
  9666. marketprice:
  9667. description: 市场价
  9668. type: string
  9669. mobile:
  9670. description: 手机号码
  9671. type: string
  9672. origin:
  9673. description: 原产地 - 类型:3
  9674. type: string
  9675. price:
  9676. description: 总价(价格) - 类型:1,2,3,4,5
  9677. type: number
  9678. priceper:
  9679. description: 克拉单价 - 类型:1,2,3,5
  9680. type: string
  9681. remark:
  9682. description: 备注
  9683. type: string
  9684. sellusername:
  9685. description: 账户名称(机构名称)
  9686. type: string
  9687. settingmaterial:
  9688. description: 镶嵌材料 - 类型:4
  9689. type: string
  9690. size1:
  9691. description: 尺寸1 - 类型:2,4,5
  9692. type: string
  9693. size2:
  9694. description: 尺寸2 - 类型:2,4,5
  9695. type: string
  9696. size3:
  9697. description: 尺寸3 - 类型:2,4,5
  9698. type: string
  9699. stonedesc:
  9700. description: 配石描述 - 类型:4
  9701. type: string
  9702. userid:
  9703. description: 用户ID
  9704. type: integer
  9705. warehouseid:
  9706. description: 仓库ID
  9707. type: integer
  9708. warehousenamedisplay:
  9709. type: string
  9710. weight:
  9711. description: 总重量(克拉重量) - 类型:1,2,3,4,5
  9712. type: number
  9713. weightavg:
  9714. description: 平均单颗重量 - 类型:1,3
  9715. type: number
  9716. wrpath:
  9717. description: 仓单扫描件(相对地址)
  9718. type: string
  9719. wrstandardid:
  9720. description: 现货商品ID
  9721. type: integer
  9722. wrtradeorderid:
  9723. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  9724. type: string
  9725. zscategory:
  9726. description: 钻石分类 - 枚举”ZSCategory“
  9727. type: integer
  9728. zscategorydisplay:
  9729. type: string
  9730. zscerttype:
  9731. description: 证书类型 - 枚举”ZSCertType“ - 类型:2,4,5
  9732. type: integer
  9733. zscerttypedisplay:
  9734. type: string
  9735. zsclaritytype1:
  9736. description: 净度1 - 枚举”ZSClarityType“ - 类型:1,2,3,4,5
  9737. type: integer
  9738. zsclaritytype1display:
  9739. type: string
  9740. zsclaritytype2:
  9741. description: 净度2 - 枚举”ZSClarityType“ - 类型:1,3
  9742. type: integer
  9743. zsclaritytype2display:
  9744. type: string
  9745. zscolortype1:
  9746. description: 颜色1 - 枚举”ZSColorType“ - 类型:1,2,3,4
  9747. type: integer
  9748. zscolortype1display:
  9749. type: string
  9750. zscolortype2:
  9751. description: 颜色2 - 枚举”ZSColorType“ - 类型:1,3
  9752. type: integer
  9753. zscolortype2display:
  9754. type: string
  9755. zscrystaltype:
  9756. description: 晶型范围 - 枚举“ZSCrystalType“ - 类型:3, 多个,逗号分隔
  9757. type: string
  9758. zscrystaltypedisplay:
  9759. type: string
  9760. zscurrencytype:
  9761. description: 货币类型 - 枚举“ZSCurrencyType”
  9762. type: integer
  9763. zscurrencytypedisplay:
  9764. type: string
  9765. zscurrencytypedisplayunit:
  9766. type: string
  9767. zscuttype1:
  9768. description: 切工1 - 枚举”ZSCutType“ - 类型:1,2,4,5
  9769. type: integer
  9770. zscuttype1display:
  9771. type: string
  9772. zscuttype2:
  9773. description: 切工2 - 枚举”ZSCutType“ - 类型:1
  9774. type: integer
  9775. zscuttype2display:
  9776. type: string
  9777. zsczcolor1type:
  9778. description: 彩钻颜色1 - 枚举”ZSCZColor1Type“ - 类型:5
  9779. type: integer
  9780. zsczcolor1typedisplay:
  9781. type: string
  9782. zsczcolor2type:
  9783. description: 彩钻颜色2 - 枚举”ZSCZColor2Type“ - 类型:5
  9784. type: integer
  9785. zsczcolor2typedisplay:
  9786. type: string
  9787. zsczcolor3type:
  9788. description: 彩钻颜色3 - 枚举”ZSCZColor3Type“ - 类型:5
  9789. type: integer
  9790. zsczcolor3typedisplay:
  9791. type: string
  9792. zsfluorescencetype1:
  9793. description: 荧光1 - 枚举”ZSFluorescenceType“ - 类型:1,2,3,4,5
  9794. type: integer
  9795. zsfluorescencetype1display:
  9796. type: string
  9797. zsfluorescencetype2:
  9798. description: 荧光2 - 枚举”ZSFluorescenceType” - 类型:1,3
  9799. type: integer
  9800. zsfluorescencetype2display:
  9801. type: string
  9802. zspolishtype1:
  9803. description: 抛光度1 - 枚举”ZSPolishType“ - 类型:1,2,4,5
  9804. type: integer
  9805. zspolishtype1display:
  9806. type: string
  9807. zspolishtype2:
  9808. description: 抛光度2 - 枚举”ZSPolishType“ - 类型:1
  9809. type: integer
  9810. zspolishtype2display:
  9811. type: string
  9812. zsshapetype:
  9813. description: 形状 - 枚举”ZSShapeType“ - 类型:1,2,4,5 ;(1为多个,逗号分隔)
  9814. type: string
  9815. zsshapetypedisplay:
  9816. type: string
  9817. zsstyletype:
  9818. description: 款式 - 类型:4
  9819. type: integer
  9820. zsstyletypedisplay:
  9821. type: string
  9822. zssymmetrytype1:
  9823. description: 对称度1 - 枚举”ZSSymmetryType“ - 类型:1,2,4,5
  9824. type: integer
  9825. zssymmetrytype1display:
  9826. type: string
  9827. zssymmetrytype2:
  9828. description: 对称度2 - 枚举”ZSSymmetryType“ - 类型:1
  9829. type: integer
  9830. zssymmetrytype2display:
  9831. type: string
  9832. required:
  9833. - goodsno
  9834. type: object
  9835. models.GZWarehouseinfo:
  9836. properties:
  9837. address:
  9838. description: 详细地址
  9839. type: string
  9840. areauserid:
  9841. description: 所属机构
  9842. type: integer
  9843. autoid:
  9844. description: 自增ID
  9845. type: integer
  9846. cityid:
  9847. description: 市
  9848. type: integer
  9849. contactname:
  9850. description: 联系人
  9851. type: string
  9852. contactnum:
  9853. description: 联系电话
  9854. type: string
  9855. countryid:
  9856. description: 国家
  9857. type: integer
  9858. createtime:
  9859. description: 创建时间
  9860. type: string
  9861. districtid:
  9862. description: 区
  9863. type: integer
  9864. hasvideo:
  9865. description: 是否有视频 - 0:无 1:有
  9866. type: integer
  9867. provinceid:
  9868. description: 省
  9869. type: integer
  9870. remark:
  9871. description: 审核备注
  9872. type: string
  9873. videourl:
  9874. description: 视频地址
  9875. type: string
  9876. warehousecode:
  9877. description: 仓库代码
  9878. type: string
  9879. warehousename:
  9880. description: 仓库名称
  9881. type: string
  9882. warehousestatus:
  9883. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  9884. type: integer
  9885. warehousetype:
  9886. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  9887. type: integer
  9888. type: object
  9889. models.Goods:
  9890. properties:
  9891. agreeunit:
  9892. description: 合约单位
  9893. type: number
  9894. areauserid:
  9895. description: 所属机构
  9896. type: integer
  9897. auditaccountid:
  9898. description: 审核操作员账号
  9899. type: integer
  9900. audittime:
  9901. description: 审核时间
  9902. type: string
  9903. cancelaccountid:
  9904. description: 注销操作员账号
  9905. type: integer
  9906. canceltime:
  9907. description: 注销时间
  9908. type: string
  9909. closepricemode:
  9910. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  9911. type: integer
  9912. closepriceparam:
  9913. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  9914. type: number
  9915. createtime:
  9916. description: 创建时间
  9917. type: string
  9918. creatorid:
  9919. description: 创建人
  9920. type: integer
  9921. currencyid:
  9922. description: 报价货币ID
  9923. type: integer
  9924. cutmode:
  9925. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  9926. type: integer
  9927. decimalplace:
  9928. description: 报价小数位
  9929. type: integer
  9930. delistingdate:
  9931. description: 商品退市时间(状态:退市) -- 已作废
  9932. type: string
  9933. delistingmode:
  9934. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  9935. type: integer
  9936. deliveryflag:
  9937. description: 交割标志 - 0:不可交割 1:可交割
  9938. type: integer
  9939. forceclosemode:
  9940. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  9941. type: integer
  9942. forceclosevalue:
  9943. description: 定期强平参数 [收益权]
  9944. type: integer
  9945. goodscode:
  9946. description: 商品代码(内部)
  9947. type: string
  9948. goodscurrencyid:
  9949. description: 合约货币ID
  9950. type: integer
  9951. goodsgroupid:
  9952. description: 所属商品组ID
  9953. type: integer
  9954. goodsid:
  9955. description: 商品ID(自增ID SEQ_GOODS)
  9956. type: integer
  9957. goodsname:
  9958. description: 商品名称
  9959. type: string
  9960. goodsquotetype:
  9961. description: '合约报价类型: 1-直接报价 2-间接报价'
  9962. type: integer
  9963. goodsstatus:
  9964. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  9965. type: integer
  9966. goodstradetype:
  9967. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  9968. type: integer
  9969. goodunitid:
  9970. description: 报价单位ID
  9971. type: integer
  9972. hasquoter:
  9973. description: 是否有报价商 - 0:无报价商 1:有报价商
  9974. type: integer
  9975. hqprotecttime:
  9976. description: 行情保护时间(秒)
  9977. type: integer
  9978. innerdealmode:
  9979. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  9980. type: integer
  9981. isbuylimited:
  9982. description: 是否限制建仓量 - 0:不限制 1:限制
  9983. type: integer
  9984. isvisible:
  9985. description: 游客是否可见 - 0:不可见 1:可见
  9986. type: integer
  9987. lasttradedate:
  9988. description: 最后交易日期(状态:待退市)
  9989. type: string
  9990. listingdate:
  9991. description: 交易开始日期
  9992. type: string
  9993. marketid:
  9994. description: 所属市场ID
  9995. type: integer
  9996. modifierid:
  9997. description: 修改人
  9998. type: integer
  9999. modifystatus:
  10000. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  10001. type: integer
  10002. modifytime:
  10003. description: 修改时间
  10004. type: string
  10005. outerdealmode:
  10006. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  10007. type: integer
  10008. outgoodscode:
  10009. description: 商品代码(外部)
  10010. type: string
  10011. pictureurl:
  10012. description: 商品图片
  10013. type: string
  10014. qtydecimalplace:
  10015. description: 成交量小数位
  10016. type: integer
  10017. quotegear:
  10018. description: 行情档位(1-10)
  10019. type: integer
  10020. quoteminunit:
  10021. description: 行情最小变动单位 [整数,报价小数位一起使用]
  10022. type: integer
  10023. quoteshowtype:
  10024. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  10025. type: integer
  10026. quoteshowtypeinterval:
  10027. description: 行情报价间隔时间(秒)(成交价时为0)
  10028. type: integer
  10029. remark:
  10030. description: 备注
  10031. type: string
  10032. required:
  10033. - goodscode
  10034. - goodsid
  10035. - goodsname
  10036. - marketid
  10037. type: object
  10038. models.GoodsIDAndName:
  10039. properties:
  10040. goodscode:
  10041. description: 商品代码(内部)
  10042. type: string
  10043. goodsid:
  10044. description: 商品ID(自增ID SEQ_GOODS)
  10045. type: integer
  10046. goodsname:
  10047. description: 商品名称
  10048. type: string
  10049. marketid:
  10050. description: 所属市场ID
  10051. type: integer
  10052. required:
  10053. - goodscode
  10054. - goodsid
  10055. - goodsname
  10056. - marketid
  10057. type: object
  10058. models.Goodsgroup:
  10059. properties:
  10060. agreeunit:
  10061. description: 合约单位
  10062. type: number
  10063. canshort:
  10064. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  10065. type: integer
  10066. closepricemode:
  10067. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  10068. type: integer
  10069. closepriceparam:
  10070. description: 强平最新价浮动比例 - 方式为2时使用
  10071. type: number
  10072. createtime:
  10073. description: 创建时间
  10074. type: string
  10075. creatorid:
  10076. description: 创建人
  10077. type: integer
  10078. currencyid:
  10079. description: 报价货币ID
  10080. type: integer
  10081. decimalplace:
  10082. description: 报价小数位
  10083. type: integer
  10084. exercisetype:
  10085. description: 行权类型[场外期权]-1:欧式期权 2:美式期权
  10086. type: integer
  10087. exexchangeid:
  10088. description: 外部交易所ID[通道交易]
  10089. type: integer
  10090. goodsgroupid:
  10091. description: 商品组ID(自增ID)
  10092. type: integer
  10093. goodsgroupname:
  10094. description: 商品组名称
  10095. type: string
  10096. goodsgroupstatus:
  10097. description: 商品组状态 - 1:正常 2:注销
  10098. type: integer
  10099. goodunitid:
  10100. description: 报价单位ID
  10101. type: integer
  10102. innerdealmode:
  10103. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  10104. type: integer
  10105. isbuylimited:
  10106. description: 是否限制建仓量 - 0:不限制 1:限制
  10107. type: integer
  10108. marketid:
  10109. description: 所属市场ID
  10110. type: integer
  10111. modifierid:
  10112. description: 修改人
  10113. type: integer
  10114. modifytime:
  10115. description: 修改时间
  10116. type: string
  10117. outerdealmode:
  10118. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  10119. type: integer
  10120. outergroupcode:
  10121. description: 外部商品组代码[通道交易]
  10122. type: string
  10123. premiumdecimalplace:
  10124. description: 权利金小数位[场外期权]
  10125. type: integer
  10126. premiumspreadalgorithm:
  10127. description: 权利金点差方式[场外期权] 1:比率 2:固定
  10128. type: integer
  10129. premiumspreadvalue:
  10130. description: 权利金点差值[场外期权]
  10131. type: number
  10132. qtydecimalplace:
  10133. description: 成交量小数位
  10134. type: integer
  10135. quotegear:
  10136. description: 行情档位(1-10)
  10137. type: integer
  10138. quoteminunit:
  10139. description: 行情最小变动单位 [整数,报价小数位一起使用]
  10140. type: integer
  10141. quoterid:
  10142. description: 报价商ID[场外期权]
  10143. type: integer
  10144. quotesourcegroupid:
  10145. description: 所属行情源分组ID[参考行情市场用\通道交易]
  10146. type: integer
  10147. syncgoodsqty:
  10148. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  10149. type: integer
  10150. required:
  10151. - goodsgroupid
  10152. - goodsgroupname
  10153. - goodsgroupstatus
  10154. - marketid
  10155. type: object
  10156. models.Goodssortbypreposition:
  10157. properties:
  10158. goodscode:
  10159. description: 合约代码 - 易盛接口:合约代码=品种代码+合约代码
  10160. type: string
  10161. goodsgroupcode:
  10162. description: 品种代码
  10163. type: string
  10164. prepositionqty:
  10165. description: 昨持仓量
  10166. type: integer
  10167. sortindex:
  10168. description: 排序
  10169. type: integer
  10170. tradedate:
  10171. description: 交易日
  10172. type: string
  10173. updatetime:
  10174. description: 更新时间
  10175. type: string
  10176. required:
  10177. - goodscode
  10178. - tradedate
  10179. type: object
  10180. models.Hedgeinnerholderdetail:
  10181. properties:
  10182. accountid:
  10183. description: 账号ID
  10184. type: integer
  10185. buyorsell:
  10186. description: 方向 - 0:买 1:卖
  10187. type: integer
  10188. freezeqty:
  10189. description: 冻结数量 - 按单平使用
  10190. type: integer
  10191. goodsid:
  10192. description: 商品ID
  10193. type: integer
  10194. holderamount:
  10195. description: 持仓金额 [商品币种]
  10196. type: number
  10197. holderdays:
  10198. description: 剩余冻结天数
  10199. type: integer
  10200. holderprice:
  10201. description: 持仓价格
  10202. type: number
  10203. holderqty:
  10204. description: 持仓数量
  10205. type: integer
  10206. marketid:
  10207. description: 市场ID
  10208. type: integer
  10209. openprice:
  10210. description: 建仓价格
  10211. type: number
  10212. openqty:
  10213. description: 建仓数量
  10214. type: integer
  10215. parentaccountid:
  10216. description: 所属母账户
  10217. type: integer
  10218. releaseamount:
  10219. description: 释放持仓金额[商品币种]
  10220. type: number
  10221. tradeamount:
  10222. description: 成交金额[账户]
  10223. type: number
  10224. tradedate:
  10225. description: 交易日(yyyyMMdd)
  10226. type: string
  10227. tradeid:
  10228. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10229. type: string
  10230. tradetime:
  10231. description: 交易时间
  10232. type: string
  10233. required:
  10234. - buyorsell
  10235. - tradeid
  10236. type: object
  10237. models.Hedgemarketopenlog:
  10238. properties:
  10239. accountid:
  10240. description: 资金账号[外部母账户]
  10241. type: integer
  10242. fcname:
  10243. description: 期货公司名称
  10244. type: string
  10245. handlestatus:
  10246. description: 处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp
  10247. type: integer
  10248. marketid:
  10249. description: 市场ID
  10250. type: integer
  10251. status:
  10252. description: 状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败
  10253. type: integer
  10254. tradedate:
  10255. description: 交易日(yyyyMMdd)
  10256. type: string
  10257. updatetime:
  10258. description: 更新时间
  10259. type: string
  10260. required:
  10261. - accountid
  10262. type: object
  10263. models.InternalEnableTradeDetail:
  10264. properties:
  10265. agreeunit:
  10266. description: 合约乘数
  10267. type: number
  10268. areauserid:
  10269. description: 企业ID
  10270. type: integer
  10271. convertratio:
  10272. description: 品种系数
  10273. type: number
  10274. deliverygoodscode:
  10275. description: 现货品种代码
  10276. type: string
  10277. deliverygoodsid:
  10278. description: 现货品种ID(SEQ_DELIVERYGOODS)
  10279. type: integer
  10280. deliverygoodsname:
  10281. description: 现货品种名称
  10282. type: string
  10283. futurehedgeqty:
  10284. description: '[已关联数量]期货持仓套期量'
  10285. type: number
  10286. goodsid:
  10287. description: 期货合约ID
  10288. type: integer
  10289. hedgeditemid:
  10290. description: 被套期项目ID
  10291. type: string
  10292. hedgeditemnum:
  10293. description: 项目编号
  10294. type: string
  10295. tradeuserid:
  10296. description: 交易用户ID
  10297. type: integer
  10298. unexehedgeqty:
  10299. description: 未执行套期量 = 未执行现货量*折算系数* (1/(1+增值税)) * 套期比例(项目上)
  10300. type: number
  10301. unexespotqty:
  10302. description: 未执行现货量
  10303. type: number
  10304. wrstandardcode:
  10305. description: 现货品类代码
  10306. type: string
  10307. wrstandardid:
  10308. description: 现货品类ID(SEQ_WRSTANDARD)
  10309. type: integer
  10310. wrstandardname:
  10311. description: 现货品类名称
  10312. type: string
  10313. required:
  10314. - areauserid
  10315. - goodsid
  10316. - tradeuserid
  10317. type: object
  10318. models.InternalUncorrelatedTradeDetail:
  10319. properties:
  10320. accountid:
  10321. description: 账号ID
  10322. type: integer
  10323. accountname:
  10324. description: 套期主体
  10325. type: string
  10326. agreeunit:
  10327. description: 合约乘数
  10328. type: number
  10329. areauserid:
  10330. description: 所属机构
  10331. type: integer
  10332. bizsubjectid:
  10333. description: 归属业务部门ID - SubjectID
  10334. type: integer
  10335. buyorsell:
  10336. description: 方向 - 0:买 1:卖
  10337. type: integer
  10338. channelbuildtype:
  10339. description: 委托单据类型 0:无 1:建仓 2:平仓
  10340. type: integer
  10341. convertratio:
  10342. description: 品种系数
  10343. type: number
  10344. createtime:
  10345. description: 创建时间
  10346. type: string
  10347. creatorid:
  10348. description: 创建人ID
  10349. type: integer
  10350. creatorsrc:
  10351. description: 创建人来源 - 1:管理端 2:终端 3:交易
  10352. type: integer
  10353. enableqty:
  10354. description: 项目可关联数量 = 套保品种数量 - 关联数量
  10355. type: number
  10356. enumdicname:
  10357. description: 单位
  10358. type: string
  10359. goodscode:
  10360. description: 合约代码
  10361. type: string
  10362. goodsgroupid:
  10363. description: 对冲品种ID[期货合约商品组ID]
  10364. type: integer
  10365. goodsid:
  10366. description: 商品ID
  10367. type: integer
  10368. goodsname:
  10369. description: 合约名称
  10370. type: string
  10371. hedgeditemid:
  10372. description: 现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]
  10373. type: integer
  10374. hedgeflag:
  10375. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  10376. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目
  10377. type: integer
  10378. linkdetailid:
  10379. description: 期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)
  10380. type: string
  10381. linkstatus:
  10382. description: 关联状态 - 1:成功 2:失败 3:解绑
  10383. type: integer
  10384. middlegoodsid:
  10385. description: 套保品种ID
  10386. type: integer
  10387. middlegoodsqty:
  10388. description: '[套期商品数量]套保品种数量 = TradeQty * AgreeUnit * ConvertRatio'
  10389. type: number
  10390. relatedlot:
  10391. description: '[数量]关联手数'
  10392. type: number
  10393. relatedmode:
  10394. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  10395. type: integer
  10396. relatedqty:
  10397. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  10398. type: number
  10399. retcode:
  10400. description: 返回码
  10401. type: integer
  10402. saleuserid:
  10403. description: 业务员ID
  10404. type: integer
  10405. tradedate:
  10406. description: 关联交易日(yyyyMMdd)
  10407. type: string
  10408. tradeid:
  10409. description: 成交单号
  10410. type: string
  10411. tradelot:
  10412. description: 成交手数
  10413. type: integer
  10414. tradeprice:
  10415. description: 成交价
  10416. type: number
  10417. tradetime:
  10418. description: 成交时间
  10419. type: string
  10420. tradetradedate:
  10421. description: 成交交易日(yyyyMMdd)
  10422. type: string
  10423. tradeuserid:
  10424. description: 交易用户ID
  10425. type: integer
  10426. type: object
  10427. models.Loginaccount:
  10428. properties:
  10429. accountname:
  10430. description: 账户名称
  10431. type: string
  10432. canoutin:
  10433. description: 是否可出入金 - 0:不可 1:可
  10434. type: integer
  10435. clientroleid:
  10436. description: 终端角色ID
  10437. type: integer
  10438. haslogined:
  10439. description: 是否已登录 - 0:未登录 1:已登录
  10440. type: integer
  10441. hasupdatedpwd:
  10442. description: 是否已更改密码 - 0:未修改 1:已修改
  10443. type: integer
  10444. lastloginip:
  10445. description: 最新登录地址
  10446. type: string
  10447. lastloginmode:
  10448. description: 最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端
  10449. 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  10450. type: integer
  10451. lastloginremark:
  10452. description: 最新登录描述
  10453. type: string
  10454. lastlogintime:
  10455. description: 最新登录时间
  10456. type: string
  10457. logincode:
  10458. description: 登录代码
  10459. type: string
  10460. loginfailnum:
  10461. description: 连续登录失败次数(登录成功时清零)
  10462. type: integer
  10463. loginid:
  10464. description: 登陆账号
  10465. type: integer
  10466. loginport:
  10467. description: 最新登录端口
  10468. type: integer
  10469. loginstatus:
  10470. description: 登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)
  10471. type: integer
  10472. loginusertype:
  10473. description: 登录账号类型 - 1:投资者 2:机构交易员
  10474. type: integer
  10475. mobile:
  10476. description: 手机号码(加密存储)
  10477. type: string
  10478. modifierid:
  10479. description: 修改人
  10480. type: integer
  10481. modifysrc:
  10482. description: 审核来源 - 1:管理端 2:终端
  10483. type: integer
  10484. modifytime:
  10485. description: 修改时间
  10486. type: string
  10487. password:
  10488. description: 登陆密码
  10489. type: string
  10490. pwdwrongcount:
  10491. description: 密码错误次数
  10492. type: integer
  10493. relateduserid:
  10494. description: 关联用户ID(机构)
  10495. type: integer
  10496. taaccountrighttype:
  10497. description: 资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限
  10498. type: integer
  10499. unfreezetime:
  10500. description: 账户解冻时间
  10501. type: string
  10502. userid:
  10503. description: 用户ID
  10504. type: integer
  10505. required:
  10506. - loginid
  10507. type: object
  10508. models.MainAccountInfo:
  10509. properties:
  10510. accountid:
  10511. description: 账号id
  10512. type: integer
  10513. accountname:
  10514. description: 账号名称(taaccount表中的名称)
  10515. type: string
  10516. appid:
  10517. description: AppID
  10518. type: string
  10519. authcode:
  10520. description: 授权码
  10521. type: string
  10522. brokerid:
  10523. description: 经纪商id
  10524. type: string
  10525. fcid:
  10526. description: 期货公司id
  10527. type: integer
  10528. fcname:
  10529. description: 期货公司代码
  10530. type: string
  10531. hedgeaccountcode:
  10532. description: 外部账号代码(主账号登录代码)
  10533. type: string
  10534. hedgeaccountpwd:
  10535. description: 密码
  10536. type: string
  10537. ismain:
  10538. description: 是否主账号
  10539. type: integer
  10540. relateduserid:
  10541. description: 关联用户id
  10542. type: integer
  10543. userid:
  10544. description: 关联用户id
  10545. type: integer
  10546. type: object
  10547. models.Market:
  10548. properties:
  10549. auctionwrtype:
  10550. description: 竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可
  10551. type: integer
  10552. canacceptquote:
  10553. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  10554. type: integer
  10555. cangoodsexercise:
  10556. description: '[期权]是否可现货行权- 0:否 1:是'
  10557. type: integer
  10558. cangoodsexercisetype:
  10559. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  10560. type: integer
  10561. canmanualquotestrike:
  10562. description: 是否可手动报行权价- 0:否 1:是 [期权]
  10563. type: integer
  10564. canmutistage:
  10565. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  10566. type: integer
  10567. canpreexercise:
  10568. description: '[期权]是否可预申报- 0:否 1:是'
  10569. type: integer
  10570. clearinterval:
  10571. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  10572. type: integer
  10573. contracttmp:
  10574. description: 合同模板[荷兰式][竞价式][仓单贸易]
  10575. type: string
  10576. exchareaid:
  10577. description: 所属交易所,可以没有
  10578. type: integer
  10579. goodstype:
  10580. description: 商品类型 - 1:交易商品 2:仓单商品
  10581. type: integer
  10582. hasrebate:
  10583. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  10584. type: integer
  10585. hastradecredit:
  10586. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  10587. type: integer
  10588. haswr:
  10589. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  10590. type: integer
  10591. isdeductmargin:
  10592. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  10593. type: integer
  10594. isrecordsource:
  10595. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  10596. type: integer
  10597. isreleasemargin:
  10598. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  10599. type: integer
  10600. marginformula:
  10601. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  10602. type: integer
  10603. marginformula2:
  10604. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  10605. type: integer
  10606. marketid:
  10607. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  10608. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  10609. type: integer
  10610. marketname:
  10611. description: 市场名称
  10612. type: string
  10613. marketserviceid:
  10614. description: 市场服务ID
  10615. type: integer
  10616. marketstatus:
  10617. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  10618. type: integer
  10619. markettype:
  10620. description: 市场类型- 1:非交易服务 2:交易服务
  10621. type: integer
  10622. matchermode:
  10623. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手
  10624. type: integer
  10625. openmethod:
  10626. description: 开盘模式 - 0 自动 1手动
  10627. type: integer
  10628. otcuserid:
  10629. description: 场外期权做市商[场外期权]
  10630. type: integer
  10631. outersynctime:
  10632. description: 外部同步时间点(h24:mi:ss)[场外期权]
  10633. type: string
  10634. pendingflag:
  10635. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  10636. type: integer
  10637. pendingtime:
  10638. description: 待开市时间[通道交易-对冲](HH:mm)
  10639. type: string
  10640. performancetempid:
  10641. description: 履约计划模板ID - 作废
  10642. type: integer
  10643. premiumquotemode:
  10644. description: 权利金报价方式 - 1:自动 2:手动
  10645. type: integer
  10646. rebateratio:
  10647. description: 返利比率[竞价式]
  10648. type: number
  10649. reckonorder:
  10650. description: 结算顺序
  10651. type: integer
  10652. reckonpricealgorithm:
  10653. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  10654. 6.卖一价 7.买一卖一均价 8.外部结算价'
  10655. type: integer
  10656. reckonpriceparam:
  10657. description: 结算价参数
  10658. type: integer
  10659. reckontime:
  10660. description: 结算时间[通道交易-对冲](HH:mm)
  10661. type: string
  10662. roleprioritytype:
  10663. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  10664. type: integer
  10665. selllistingauditflag:
  10666. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  10667. type: integer
  10668. trademarkettype:
  10669. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  10670. type: integer
  10671. trademode:
  10672. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10673. 21:竞拍-大宗式 22:受托竞价
  10674. type: integer
  10675. tradeproperty:
  10676. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  10677. 8:场外期权
  10678. type: integer
  10679. tradetype:
  10680. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  10681. type: integer
  10682. required:
  10683. - marketid
  10684. - marketstatus
  10685. - openmethod
  10686. - reckonpricealgorithm
  10687. - trademode
  10688. - tradeproperty
  10689. type: object
  10690. models.Marketcalendar:
  10691. properties:
  10692. holidaydate:
  10693. description: 节假日期(yyyy-MM-dd)
  10694. type: string
  10695. marketid:
  10696. description: 市场ID
  10697. type: integer
  10698. type: object
  10699. models.Marketrun:
  10700. properties:
  10701. afternexttradedate:
  10702. description: 下下交易日
  10703. type: string
  10704. clearquoteflag:
  10705. description: 行情清盘标志- 1:未发送 2:已发送 3:已回复
  10706. type: integer
  10707. lastreckondate:
  10708. description: 最新交易日(结算成功)
  10709. type: string
  10710. machinedate:
  10711. description: 机器时间
  10712. type: string
  10713. manualflag:
  10714. description: 手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)
  10715. type: integer
  10716. marketid:
  10717. description: 市场ID
  10718. type: integer
  10719. nexttradedate:
  10720. description: 下一交易日
  10721. type: string
  10722. pretradedate:
  10723. description: 上一交易日
  10724. type: string
  10725. reckonflag:
  10726. description: '结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)'
  10727. type: integer
  10728. runstatus:
  10729. description: 运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始
  10730. 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败
  10731. 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内)
  10732. 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功
  10733. 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始
  10734. 62.今日免清算
  10735. type: integer
  10736. sectionid:
  10737. description: 时间段号[多时段时用]
  10738. type: integer
  10739. tradedate:
  10740. description: 当前交易日(服务) 资金结算完成即变更,供交易服务使用
  10741. type: string
  10742. tradedate2:
  10743. description: 当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  10744. type: string
  10745. updatetime:
  10746. description: 更新时间
  10747. type: string
  10748. required:
  10749. - marketid
  10750. - nexttradedate
  10751. - reckonflag
  10752. - runstatus
  10753. - tradedate
  10754. - tradedate2
  10755. type: object
  10756. models.Messageboard:
  10757. properties:
  10758. contactnum:
  10759. description: 联系电话
  10760. type: string
  10761. createtime:
  10762. description: 创建时间
  10763. type: string
  10764. message:
  10765. description: 留言信息
  10766. type: string
  10767. messageboardid:
  10768. description: 留言簿ID(SEQ_MessageBoard)
  10769. type: integer
  10770. userid:
  10771. description: 用户ID
  10772. type: integer
  10773. required:
  10774. - messageboardid
  10775. type: object
  10776. models.MyBargainApply:
  10777. properties:
  10778. accountid:
  10779. description: 摘牌资金账号
  10780. type: integer
  10781. applyprice:
  10782. description: 申请价格
  10783. type: string
  10784. applyremark:
  10785. description: 申请备注
  10786. type: string
  10787. applystatus:
  10788. description: 申请状态 - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  10789. type: integer
  10790. applytime:
  10791. description: 申请时间
  10792. type: string
  10793. buyorsell:
  10794. description: 买卖 - 0:买 1:卖
  10795. type: integer
  10796. confirmprice:
  10797. description: 可接受价格(拒绝时填写)-作废
  10798. type: number
  10799. confirmqty:
  10800. description: 可接受数量(拒绝时填写)-作废
  10801. type: integer
  10802. confirmremark:
  10803. description: 确认备注
  10804. type: string
  10805. confirmtime:
  10806. description: 确认时间
  10807. type: string
  10808. confirmuserid:
  10809. description: 确认人
  10810. type: integer
  10811. handlestatus:
  10812. description: 处理状态
  10813. type: integer
  10814. ladingbillid:
  10815. description: 摘牌方提单ID [卖]
  10816. type: integer
  10817. marketid:
  10818. description: 市场ID
  10819. type: integer
  10820. matchaccountid:
  10821. description: 挂牌方资金账号
  10822. type: integer
  10823. matchuserid:
  10824. description: 挂牌方用户ID
  10825. type: integer
  10826. price:
  10827. description: 价格
  10828. type: number
  10829. priceper:
  10830. description: 克拉单价 - 类型:1,2,3,5
  10831. type: string
  10832. qty:
  10833. description: 申请数量
  10834. type: number
  10835. refprice:
  10836. description: 参考价格
  10837. type: string
  10838. retcode:
  10839. description: 委托返回代码
  10840. type: integer
  10841. sellusername:
  10842. description: 卖方
  10843. type: string
  10844. sizedisplay:
  10845. description: 尺寸
  10846. type: string
  10847. subnum:
  10848. description: 摘牌方提单子单号 [卖]
  10849. type: integer
  10850. tradedate:
  10851. description: 交易日(yyyyMMdd)
  10852. type: string
  10853. userid:
  10854. description: 摘牌人用户ID
  10855. type: integer
  10856. warehousenamedisplay:
  10857. type: string
  10858. wrbargainid:
  10859. description: '[询价单号]议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)'
  10860. type: string
  10861. wrtradeorderid:
  10862. description: 关联委托单ID
  10863. type: integer
  10864. zscerttypedisplay:
  10865. type: string
  10866. zsclaritytype1display:
  10867. type: string
  10868. zsclaritytype2display:
  10869. type: string
  10870. zscolortype1display:
  10871. type: string
  10872. zscolortype2display:
  10873. type: string
  10874. zscrystaltypedisplay:
  10875. type: string
  10876. zscurrencytypedisplay:
  10877. type: string
  10878. zscurrencytypedisplayunit:
  10879. type: string
  10880. zscuttype1display:
  10881. type: string
  10882. zscuttype2display:
  10883. type: string
  10884. zsczcolor1typedisplay:
  10885. type: string
  10886. zsczcolor2typedisplay:
  10887. type: string
  10888. zsczcolor3typedisplay:
  10889. type: string
  10890. zsfluorescencetype1display:
  10891. type: string
  10892. zsfluorescencetype2display:
  10893. type: string
  10894. zspolishtype1display:
  10895. type: string
  10896. zspolishtype2display:
  10897. type: string
  10898. zsshapetypedisplay:
  10899. type: string
  10900. zsstyletypedisplay:
  10901. type: string
  10902. zssymmetrytype1display:
  10903. type: string
  10904. zssymmetrytype2display:
  10905. type: string
  10906. required:
  10907. - userid
  10908. type: object
  10909. models.MyBuyOrder:
  10910. properties:
  10911. accountid:
  10912. description: 资金账户ID
  10913. type: integer
  10914. marketid:
  10915. description: 市场ID
  10916. type: integer
  10917. ordertime:
  10918. description: 委托时间
  10919. type: string
  10920. origin:
  10921. description: 原产地
  10922. type: string
  10923. remark:
  10924. description: 备注
  10925. type: string
  10926. userid:
  10927. description: 用户ID
  10928. type: integer
  10929. validtime:
  10930. description: 有效期限
  10931. type: string
  10932. warehouseids:
  10933. description: 仓库ID - 多个, 逗号分隔
  10934. type: string
  10935. warehouseinfosdisplay:
  10936. type: string
  10937. wrtradeorderid:
  10938. description: '[委托单号]买委托单ID(320+Unix秒时间戳(10位)+xxxxxx)'
  10939. type: string
  10940. wrtradeorderstatus:
  10941. description: 委托状态 - 参考枚举'WRTradeOrderStatus' - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:部成 8:已成 9:部成部撤 10:成交失败 11:委托拒绝 12:经过摘牌(先摘后挂专用) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用) 17:冻结PD成功 18:冻结PD失败 19:冻结能量成功 20:冻结能量失败 21:预约已报价 22:过期未付 23:优惠券处理中 24:仓单生成失败 25:首付扣款失败 26:履约失败 27:撤单解冻贷款失败WRTrade_OrderDetail、
  10942. type: integer
  10943. zscategory:
  10944. description: 钻石分类 - 枚举”ZSCategory“
  10945. type: integer
  10946. zscategorydisplay:
  10947. type: string
  10948. zsclaritytype:
  10949. description: 净度 - 两个, 逗号分隔
  10950. type: string
  10951. zsclaritytypedisplay:
  10952. type: string
  10953. zscolortype:
  10954. description: 颜色 - 两个, 逗号分隔
  10955. type: string
  10956. zscolortypedisplay:
  10957. type: string
  10958. zscrystaltype:
  10959. description: 晶型 - 多个,逗号分隔
  10960. type: string
  10961. zscrystaltypedisplay:
  10962. type: string
  10963. zscurrencytype:
  10964. description: 货币类型 - 多个, 逗号分隔
  10965. type: string
  10966. zscurrencytypedisplay:
  10967. type: string
  10968. zscuttype:
  10969. description: 切工 - 两个, 逗号分隔
  10970. type: string
  10971. zscuttypedisplay:
  10972. type: string
  10973. zsczcolor1type:
  10974. description: 彩钻颜色1, 逗号分隔
  10975. type: string
  10976. zsczcolor1typedisplay:
  10977. type: string
  10978. zsczcolor2type:
  10979. description: 彩钻颜色2, 逗号分隔
  10980. type: string
  10981. zsczcolor2typedisplay:
  10982. type: string
  10983. zsczcolor3type:
  10984. description: 彩钻颜色3, 逗号分隔
  10985. type: string
  10986. zsczcolor3typedisplay:
  10987. type: string
  10988. zsfluorescencetype:
  10989. description: 荧光 - 多个, 逗号分隔
  10990. type: string
  10991. zsfluorescencetypedisplay:
  10992. type: string
  10993. zspolishtype:
  10994. description: 抛光度 - 两个, 逗号分隔
  10995. type: string
  10996. zspolishtypedisplay:
  10997. type: string
  10998. zsshapetype:
  10999. description: 形状 - 多个, 逗号分隔
  11000. type: string
  11001. zsshapetypedisplay:
  11002. type: string
  11003. zssize:
  11004. description: 尺寸 - 两个小数, 逗号分隔
  11005. type: string
  11006. zsstyletype:
  11007. description: 款式 - 多个, 逗号分隔
  11008. type: string
  11009. zsstyletypedisplay:
  11010. type: string
  11011. zssymmetrytype:
  11012. description: 对称度 - 两个, 逗号分隔
  11013. type: string
  11014. zssymmetrytypedisplay:
  11015. type: string
  11016. zstabledisplay:
  11017. description: 求购信息
  11018. type: string
  11019. required:
  11020. - userid
  11021. type: object
  11022. models.MyDeListing:
  11023. properties:
  11024. buyaccountid:
  11025. description: 买方账号ID
  11026. type: integer
  11027. buychargevalue:
  11028. description: 买方手续费
  11029. type: number
  11030. buyorsell:
  11031. description: 方向 - 0:买 1:卖
  11032. type: integer
  11033. buyuserid:
  11034. description: 买方用户ID
  11035. type: integer
  11036. deliverygoodsid:
  11037. description: 现货品种ID
  11038. type: integer
  11039. exchangerate:
  11040. description: 汇率
  11041. type: number
  11042. goodsno:
  11043. description: 商品编号
  11044. type: string
  11045. marketid:
  11046. description: 市场ID
  11047. type: integer
  11048. matchusername:
  11049. description: 对手方
  11050. type: string
  11051. oritradeamount:
  11052. description: 成交金额[商品币种]
  11053. type: number
  11054. performanceplanid:
  11055. description: 履约计划ID/合同ID
  11056. type: integer
  11057. price:
  11058. description: 价格
  11059. type: number
  11060. qty:
  11061. description: 成交重量
  11062. type: number
  11063. sellaccountid:
  11064. description: 卖方账号ID
  11065. type: integer
  11066. sellchargevalue:
  11067. description: 卖方手续费
  11068. type: number
  11069. selluserid:
  11070. description: 卖方用户ID
  11071. type: integer
  11072. sizedisplay:
  11073. description: 尺寸
  11074. type: string
  11075. tradeamount:
  11076. description: 成交金额
  11077. type: number
  11078. tradedate:
  11079. description: 交易日(yyyyMMdd)
  11080. type: string
  11081. tradeprice:
  11082. description: 成交价格
  11083. type: number
  11084. tradetime:
  11085. description: 成交时间
  11086. type: string
  11087. userid:
  11088. description: 用户ID
  11089. type: integer
  11090. warehousenamedisplay:
  11091. type: string
  11092. wrfactortypeid:
  11093. description: 仓单要素类型ID
  11094. type: integer
  11095. wrstandardid:
  11096. description: 现货商品ID
  11097. type: integer
  11098. wrtradedetailid:
  11099. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  11100. type: string
  11101. zscategory:
  11102. description: 钻石分类 - 枚举”ZSCategory“
  11103. type: integer
  11104. zscategorydisplay:
  11105. type: string
  11106. zscerttypedisplay:
  11107. type: string
  11108. zsclaritytype1display:
  11109. type: string
  11110. zsclaritytype2display:
  11111. type: string
  11112. zscolortype1display:
  11113. type: string
  11114. zscolortype2display:
  11115. type: string
  11116. zscrystaltypedisplay:
  11117. type: string
  11118. zscurrencytype:
  11119. description: 货币类型 - 枚举“ZSCurrencyType”
  11120. type: integer
  11121. zscurrencytypedisplay:
  11122. type: string
  11123. zscurrencytypedisplayunit:
  11124. type: string
  11125. zscuttype1display:
  11126. type: string
  11127. zscuttype2display:
  11128. type: string
  11129. zsczcolor1typedisplay:
  11130. type: string
  11131. zsczcolor2typedisplay:
  11132. type: string
  11133. zsczcolor3typedisplay:
  11134. type: string
  11135. zsfluorescencetype1display:
  11136. type: string
  11137. zsfluorescencetype2display:
  11138. type: string
  11139. zspolishtype1display:
  11140. type: string
  11141. zspolishtype2display:
  11142. type: string
  11143. zsshapetypedisplay:
  11144. type: string
  11145. zsstyletypedisplay:
  11146. type: string
  11147. zssymmetrytype1display:
  11148. type: string
  11149. zssymmetrytype2display:
  11150. type: string
  11151. required:
  11152. - userid
  11153. type: object
  11154. models.MyDelistingApply:
  11155. properties:
  11156. applyprice:
  11157. description: 申请价格
  11158. type: number
  11159. applyqty:
  11160. description: 申请数量
  11161. type: number
  11162. applyremark:
  11163. description: 申请备注
  11164. type: string
  11165. applystatus:
  11166. description: 申请状态 - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  11167. type: integer
  11168. applytime:
  11169. description: 申请时间
  11170. type: string
  11171. auditremark:
  11172. description: 确认备注
  11173. type: string
  11174. audittime:
  11175. description: 确认时间
  11176. type: string
  11177. buyuserid:
  11178. description: 买方用户ID
  11179. type: integer
  11180. buyusername:
  11181. type: string
  11182. buywrtradeorderid:
  11183. description: 买委托单ID
  11184. type: string
  11185. goodsno:
  11186. description: -- view_GZ_WRStandard_Ex_Query --
  11187. type: string
  11188. ladingbillid:
  11189. description: 卖方提单ID
  11190. type: string
  11191. marketid:
  11192. description: 市场ID
  11193. type: integer
  11194. price:
  11195. description: 价格
  11196. type: number
  11197. sellaccountid:
  11198. description: 卖方账户ID
  11199. type: integer
  11200. selldelistingapplyid:
  11201. description: '[询价单号]卖摘牌申请ID(916+Unix秒时间戳(10位)+xxxxxx)'
  11202. type: string
  11203. selltradeorderid:
  11204. description: 卖方委托ID(买方确认成交后更新)
  11205. type: string
  11206. selluserid:
  11207. description: 卖方用户ID
  11208. type: integer
  11209. subnum:
  11210. description: 卖方提单子单号
  11211. type: integer
  11212. warehouseinfosdisplay:
  11213. type: string
  11214. weight:
  11215. description: 克拉重量
  11216. type: number
  11217. wrfactortypeid:
  11218. description: 仓单要素类型ID
  11219. type: string
  11220. wrstandardid:
  11221. description: 现货商品ID
  11222. type: integer
  11223. zsallproperties:
  11224. description: -- VIEW_GZ_BUYORDERDETAIL_QUERY
  11225. type: string
  11226. zscategorydisplay:
  11227. type: string
  11228. zsclaritytypedisplay:
  11229. type: string
  11230. zscolortypedisplay:
  11231. type: string
  11232. zscrystaltypedisplay:
  11233. type: string
  11234. zscurrencytypedisplay:
  11235. type: string
  11236. zscuttypedisplay:
  11237. type: string
  11238. zsczcolor1typedisplay:
  11239. type: string
  11240. zsczcolor2typedisplay:
  11241. type: string
  11242. zsczcolor3typedisplay:
  11243. type: string
  11244. zsfluorescencetypedisplay:
  11245. type: string
  11246. zspolishtypedisplay:
  11247. type: string
  11248. zsshapetypedisplay:
  11249. type: string
  11250. zssizedisplay:
  11251. type: string
  11252. zsstyletypedisplay:
  11253. type: string
  11254. zssymmetrytypedisplay:
  11255. type: string
  11256. zstabledisplay:
  11257. type: string
  11258. required:
  11259. - selluserid
  11260. type: object
  11261. models.MyFavorite:
  11262. properties:
  11263. buyorsell:
  11264. description: 买卖 - 0:买 1:卖
  11265. type: integer
  11266. favoritestatus:
  11267. description: 收藏状态 - 1:正常 2:失效
  11268. type: integer
  11269. marketid:
  11270. description: 市场ID
  11271. type: integer
  11272. price:
  11273. description: 价格
  11274. type: number
  11275. priceper:
  11276. description: 克拉单价
  11277. type: string
  11278. sizedisplay:
  11279. description: 尺寸
  11280. type: string
  11281. userid:
  11282. description: 用户ID
  11283. type: integer
  11284. warehousenamedisplay:
  11285. type: string
  11286. wrfactortypeid:
  11287. description: 仓单要素类型ID/商品ID(77)
  11288. type: string
  11289. wrstandardid:
  11290. description: 现货商品ID(自增 SEQ_GOODS 确保不重复)
  11291. type: integer
  11292. wrtradeorderid:
  11293. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  11294. type: string
  11295. zscategorydisplay:
  11296. type: string
  11297. zscerttypedisplay:
  11298. type: string
  11299. zsclaritytype1display:
  11300. type: string
  11301. zsclaritytype2display:
  11302. type: string
  11303. zscolortype1display:
  11304. type: string
  11305. zscolortype2display:
  11306. type: string
  11307. zscrystaltypedisplay:
  11308. type: string
  11309. zscurrencytypedisplay:
  11310. type: string
  11311. zscurrencytypedisplayunit:
  11312. type: string
  11313. zscuttype1display:
  11314. type: string
  11315. zscuttype2display:
  11316. type: string
  11317. zsczcolor1typedisplay:
  11318. type: string
  11319. zsczcolor2typedisplay:
  11320. type: string
  11321. zsczcolor3typedisplay:
  11322. type: string
  11323. zsfluorescencetype1display:
  11324. type: string
  11325. zsfluorescencetype2display:
  11326. type: string
  11327. zspolishtype1display:
  11328. type: string
  11329. zspolishtype2display:
  11330. type: string
  11331. zsshapetypedisplay:
  11332. type: string
  11333. zsstyletypedisplay:
  11334. type: string
  11335. zssymmetrytype1display:
  11336. type: string
  11337. zssymmetrytype2display:
  11338. type: string
  11339. required:
  11340. - userid
  11341. type: object
  11342. models.MyPerformanc:
  11343. properties:
  11344. accountname:
  11345. description: useraccount
  11346. type: string
  11347. amount:
  11348. description: 履约金额
  11349. type: number
  11350. buyerfreezeamount:
  11351. description: 买方履约前冻结资金
  11352. type: number
  11353. buyerfreezeamountremain:
  11354. description: 买方履约前冻结资金剩余
  11355. type: number
  11356. buyerinfo:
  11357. description: '买方联系信息 - 存JSON字符串, 根据枚举‘BuyerContactInfo'',显示\隐藏字段,若数据不为JSON,则直接显示{ "ContactInfo":
  11358. "xxxxxxxx", "ReceiveInfo": "xxxxxxxxx", "ReceiptInfo": "xxxxxxxxxxxx"}'
  11359. type: string
  11360. buyorsell:
  11361. description: 方向 - 0:买 1:卖
  11362. type: integer
  11363. buypaidamount:
  11364. description: 买方已冻/已扣金额
  11365. type: number
  11366. curstepid:
  11367. description: 当前步骤ID
  11368. type: string
  11369. overshortamount:
  11370. description: 溢短金额
  11371. type: number
  11372. paymenttype:
  11373. description: 买方支付方式 - 1:冻结 2:扣款
  11374. type: integer
  11375. performanceplanid:
  11376. description: PerformancePlan
  11377. type: string
  11378. performancestatus:
  11379. description: 履约状态 - 1:待激活 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败
  11380. 9:超时待处理 10:超时关闭
  11381. type: integer
  11382. price:
  11383. description: 价格
  11384. type: number
  11385. priceper:
  11386. description: 克拉单价
  11387. type: string
  11388. relatedorderid:
  11389. description: 关联单号(履约类型的关联单号)
  11390. type: string
  11391. sellerfreezeamount:
  11392. description: 卖方履约前冻结资金
  11393. type: number
  11394. sellerfreezeamountremain:
  11395. description: 卖方履约前冻结资金剩余
  11396. type: number
  11397. sellerinfo:
  11398. description: '卖方联系信息 - 存JSON字符串, 根据枚举‘SellerContactInfo'',显示\隐藏字段,若数据不为JSON,则直接显示{ "ContactInfo":
  11399. "xxxxxxxx"}'
  11400. type: string
  11401. sellreceivedamount:
  11402. description: 卖方已收金额
  11403. type: number
  11404. sizedisplay:
  11405. description: 尺寸
  11406. type: string
  11407. steptypeid:
  11408. description: PerformanceStep
  11409. type: integer
  11410. warehousenamedisplay:
  11411. type: string
  11412. zscategorydisplay:
  11413. type: string
  11414. zscerttypedisplay:
  11415. type: string
  11416. zsclaritytype1display:
  11417. type: string
  11418. zsclaritytype2display:
  11419. type: string
  11420. zscolortype1display:
  11421. type: string
  11422. zscolortype2display:
  11423. type: string
  11424. zscrystaltypedisplay:
  11425. type: string
  11426. zscurrencytypedisplay:
  11427. type: string
  11428. zscurrencytypedisplayunit:
  11429. type: string
  11430. zscuttype1display:
  11431. type: string
  11432. zscuttype2display:
  11433. type: string
  11434. zsczcolor1typedisplay:
  11435. type: string
  11436. zsczcolor2typedisplay:
  11437. type: string
  11438. zsczcolor3typedisplay:
  11439. type: string
  11440. zsfluorescencetype1display:
  11441. type: string
  11442. zsfluorescencetype2display:
  11443. type: string
  11444. zspolishtype1display:
  11445. type: string
  11446. zspolishtype2display:
  11447. type: string
  11448. zsshapetypedisplay:
  11449. type: string
  11450. zsstyletypedisplay:
  11451. type: string
  11452. zssymmetrytype1display:
  11453. type: string
  11454. zssymmetrytype2display:
  11455. type: string
  11456. type: object
  11457. models.MySellOrder:
  11458. properties:
  11459. accountid:
  11460. description: 资金账号
  11461. type: integer
  11462. applyid:
  11463. description: 申请单ID
  11464. type: integer
  11465. attachment1:
  11466. description: 附件1
  11467. type: string
  11468. attachment2:
  11469. description: 附件2
  11470. type: string
  11471. buyorsell:
  11472. description: 买卖 - 0:买 1:卖
  11473. type: integer
  11474. canbargain:
  11475. description: 是否可议价 - 0:不可 1:可
  11476. type: integer
  11477. cancelqty:
  11478. description: 撤销数量
  11479. type: integer
  11480. canceltime:
  11481. description: 撤销时间
  11482. type: string
  11483. cerno:
  11484. type: string
  11485. chargealgorithm:
  11486. description: 手续费收取方式 1:比率 2:固定
  11487. type: integer
  11488. chargealgorithmvalue:
  11489. description: 手续费设置值(交易所部分)
  11490. type: number
  11491. chargealgorithmvalue2:
  11492. description: 手续费设置值(会员部分)
  11493. type: number
  11494. clientordertime:
  11495. description: 客户端委托时间
  11496. type: string
  11497. cpcertno:
  11498. type: string
  11499. exchangerate:
  11500. description: 汇率[67]
  11501. type: number
  11502. firstratio:
  11503. description: 首付比率 - [挂牌时指定,摘牌时使用]
  11504. type: number
  11505. fixedprice:
  11506. description: '[克拉单价]固定价格 - [挂牌]'
  11507. type: number
  11508. freezecharge:
  11509. description: 冻结手续费
  11510. type: number
  11511. freezefirstamount:
  11512. description: 冻结首付金额 - [摘牌]
  11513. type: number
  11514. freezemargin:
  11515. description: 冻结保证金
  11516. type: number
  11517. goodsno:
  11518. description: 商品编号
  11519. type: string
  11520. imagepath:
  11521. type: string
  11522. isspecified:
  11523. description: 是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  11524. type: integer
  11525. kppath:
  11526. type: string
  11527. kpweight:
  11528. type: string
  11529. marginalgorithm:
  11530. description: 保证金方式 - 1:比率 2:固定
  11531. type: integer
  11532. marginvalue:
  11533. description: 保证金设置值
  11534. type: number
  11535. marketid:
  11536. description: 市场ID
  11537. type: integer
  11538. marketprice:
  11539. type: string
  11540. orderamount:
  11541. description: 挂牌金额[账户] [67]= OrderQty * FixedPrice * ExchangeRate /100
  11542. type: number
  11543. ordertime:
  11544. description: 委托时间
  11545. type: string
  11546. performancetemplateid:
  11547. description: 履约计划模板ID
  11548. type: integer
  11549. price:
  11550. description: 价格
  11551. type: number
  11552. pricefactor:
  11553. description: 价格系数(浮动价时填写) - [挂牌]
  11554. type: number
  11555. pricemove:
  11556. description: 升贴水(浮动价时填写) - [挂牌]
  11557. type: number
  11558. priceper:
  11559. type: string
  11560. relatedwrtradeorderid:
  11561. description: 关联委托单号(摘牌委托关联挂牌委托单ID)
  11562. type: integer
  11563. remark:
  11564. type: string
  11565. retcode:
  11566. description: 错误代码
  11567. type: integer
  11568. selledqty:
  11569. description: 成交重量
  11570. type: number
  11571. settingmaterial:
  11572. type: string
  11573. size1:
  11574. type: string
  11575. size2:
  11576. type: string
  11577. size3:
  11578. type: string
  11579. stonedesc:
  11580. type: string
  11581. totalqty:
  11582. description: 总重量
  11583. type: number
  11584. tradedate:
  11585. description: 交易日(yyyyMMdd)
  11586. type: string
  11587. tradeprice:
  11588. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)*
  11589. 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  11590. type: number
  11591. unfreezecharge:
  11592. description: 解冻手续费
  11593. type: number
  11594. unfreezefirstamount:
  11595. description: 解冻首付金额 - [摘牌]
  11596. type: number
  11597. unfreezemargin:
  11598. description: 解冻保证金
  11599. type: number
  11600. userid:
  11601. description: 用户ID
  11602. type: integer
  11603. uuid:
  11604. description: 发起端唯一id
  11605. type: string
  11606. validtime:
  11607. description: 有效期限
  11608. type: string
  11609. validtype:
  11610. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  11611. type: integer
  11612. warehousenamedisplay:
  11613. type: string
  11614. wrbargainid:
  11615. description: 议价申请单ID
  11616. type: integer
  11617. wrfactortypeid:
  11618. description: 仓单要素类型ID/商品ID(77)
  11619. type: integer
  11620. wrpath:
  11621. type: string
  11622. wrpricetype:
  11623. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  11624. type: integer
  11625. wrstandardid:
  11626. description: 现货商品ID
  11627. type: integer
  11628. wrtradeorderid:
  11629. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  11630. type: string
  11631. wrtradeorderstatus:
  11632. 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:撤单解冻贷款失败
  11633. type: integer
  11634. wrtradetype:
  11635. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  11636. type: integer
  11637. wrtransferuserid:
  11638. description: 仓单受让用户 - [摘牌]
  11639. type: integer
  11640. zscategory:
  11641. description: 钻石分类 - 枚举”ZSCategory“
  11642. type: integer
  11643. zscategorydisplay:
  11644. description: 钻石分类 - 描述
  11645. type: string
  11646. zscerttypedisplay:
  11647. type: string
  11648. zsclaritytype1display:
  11649. type: string
  11650. zsclaritytype2display:
  11651. type: string
  11652. zscolortype1display:
  11653. type: string
  11654. zscolortype2display:
  11655. type: string
  11656. zscrystaltype:
  11657. type: string
  11658. zscrystaltypedisplay:
  11659. type: string
  11660. zscurrencytype:
  11661. description: 货币类型 - 枚举“ZSCurrencyType”
  11662. type: integer
  11663. zscurrencytypedisplay:
  11664. type: string
  11665. zscurrencytypedisplayunit:
  11666. type: string
  11667. zscuttype1display:
  11668. type: string
  11669. zscuttype2display:
  11670. type: string
  11671. zsczcolor1typedisplay:
  11672. type: string
  11673. zsczcolor2typedisplay:
  11674. type: string
  11675. zsczcolor3typedisplay:
  11676. type: string
  11677. zsfluorescencetype1display:
  11678. type: string
  11679. zsfluorescencetype2display:
  11680. type: string
  11681. zspolishtype1display:
  11682. type: string
  11683. zspolishtype2display:
  11684. type: string
  11685. zsshapetypedisplay:
  11686. type: string
  11687. zsstyletypedisplay:
  11688. type: string
  11689. zssymmetrytype1display:
  11690. type: string
  11691. zssymmetrytype2display:
  11692. type: string
  11693. required:
  11694. - userid
  11695. type: object
  11696. models.MyWRPosition:
  11697. properties:
  11698. cerno:
  11699. description: 证书编号 - 类型:2,4,5
  11700. type: string
  11701. cpcertno:
  11702. description: 金伯利证书编号 - 类型:3
  11703. type: string
  11704. ffreezeqty:
  11705. description: 冻结数量:WRPosition表:FREEZEQTY/100 , 保留两位小数
  11706. type: number
  11707. ftotalqty:
  11708. description: 库存数量:WRPosition表:TOTALQTY /100 , 保留两位小数
  11709. type: number
  11710. goodsno:
  11711. description: 商品编号
  11712. type: string
  11713. imagepath:
  11714. description: 商品照片(相对地址)
  11715. type: string
  11716. isvalid:
  11717. description: 是否有效 - 0:无效 1:有效
  11718. type: integer
  11719. kppath:
  11720. description: 金伯利证书图片(相对地址) - 类型:3
  11721. type: string
  11722. kpweight:
  11723. description: 金伯利证书重量 - 类型:3
  11724. type: string
  11725. ladingbillid:
  11726. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  11727. type: string
  11728. marketflag:
  11729. description: 是否上架,0-全部 1-是 2-否
  11730. type: integer
  11731. marketprice:
  11732. description: 市场价
  11733. type: string
  11734. origin:
  11735. description: 原产地 - 类型:3
  11736. type: string
  11737. price:
  11738. description: 总价(价格) - 类型:1,2,3,4,5
  11739. type: number
  11740. priceper:
  11741. description: 克拉单价 - 类型:1,2,3,5
  11742. type: string
  11743. remark:
  11744. description: 备注
  11745. type: string
  11746. sellmobile:
  11747. description: 手机号码(加密存储)
  11748. type: string
  11749. sellusername:
  11750. description: 账户名称(机构名称)
  11751. type: string
  11752. settingmaterial:
  11753. description: 镶嵌材料 - 类型:4
  11754. type: string
  11755. size1:
  11756. description: 尺寸1 - 类型:2,4,5
  11757. type: string
  11758. size2:
  11759. description: 尺寸2 - 类型:2,4,5
  11760. type: string
  11761. size3:
  11762. description: 尺寸3 - 类型:2,4,5
  11763. type: string
  11764. stonedesc:
  11765. description: 配石描述 - 类型:4
  11766. type: string
  11767. subnum:
  11768. description: 提单子单号
  11769. type: integer
  11770. userid:
  11771. description: 用户ID
  11772. type: integer
  11773. warehouseid:
  11774. description: 仓库ID
  11775. type: integer
  11776. warehousenamedisplay:
  11777. type: string
  11778. weight:
  11779. description: 总重量(克拉重量) - 类型:1,2,3,4,5
  11780. type: number
  11781. weightavg:
  11782. description: 平均单颗重量 - 类型:1,3
  11783. type: number
  11784. wrpath:
  11785. description: 仓单扫描件(相对地址)
  11786. type: string
  11787. wrstandardid:
  11788. description: 现货商品ID
  11789. type: integer
  11790. wrtradeorderid:
  11791. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  11792. type: string
  11793. wruserid:
  11794. description: 登录用户ID
  11795. type: integer
  11796. zscategory:
  11797. description: 钻石分类 - 枚举”ZSCategory“
  11798. type: integer
  11799. zscategorydisplay:
  11800. type: string
  11801. zscerttype:
  11802. description: 证书类型 - 枚举”ZSCertType“ - 类型:2,4,5
  11803. type: integer
  11804. zscerttypedisplay:
  11805. type: string
  11806. zsclaritytype1:
  11807. description: 净度1 - 枚举”ZSClarityType“ - 类型:1,2,3,4,5
  11808. type: integer
  11809. zsclaritytype1display:
  11810. type: string
  11811. zsclaritytype2:
  11812. description: 净度2 - 枚举”ZSClarityType“ - 类型:1,3
  11813. type: integer
  11814. zsclaritytype2display:
  11815. type: string
  11816. zscolortype1:
  11817. description: 颜色1 - 枚举”ZSColorType“ - 类型:1,2,3,4
  11818. type: integer
  11819. zscolortype1display:
  11820. type: string
  11821. zscolortype2:
  11822. description: 颜色2 - 枚举”ZSColorType“ - 类型:1,3
  11823. type: integer
  11824. zscolortype2display:
  11825. type: string
  11826. zscrystaltype:
  11827. description: 晶型范围 - 枚举“ZSCrystalType“ - 类型:3, 多个,逗号分隔
  11828. type: string
  11829. zscrystaltypedisplay:
  11830. type: string
  11831. zscurrencytype:
  11832. description: 货币类型 - 枚举“ZSCurrencyType”
  11833. type: integer
  11834. zscurrencytypedisplay:
  11835. type: string
  11836. zscurrencytypedisplayunit:
  11837. type: string
  11838. zscuttype1:
  11839. description: 切工1 - 枚举”ZSCutType“ - 类型:1,2,4,5
  11840. type: integer
  11841. zscuttype1display:
  11842. type: string
  11843. zscuttype2:
  11844. description: 切工2 - 枚举”ZSCutType“ - 类型:1
  11845. type: integer
  11846. zscuttype2display:
  11847. type: string
  11848. zsczcolor1type:
  11849. description: 彩钻颜色1 - 枚举”ZSCZColor1Type“ - 类型:5
  11850. type: integer
  11851. zsczcolor1typedisplay:
  11852. type: string
  11853. zsczcolor2type:
  11854. description: 彩钻颜色2 - 枚举”ZSCZColor2Type“ - 类型:5
  11855. type: integer
  11856. zsczcolor2typedisplay:
  11857. type: string
  11858. zsczcolor3type:
  11859. description: 彩钻颜色3 - 枚举”ZSCZColor3Type“ - 类型:5
  11860. type: integer
  11861. zsczcolor3typedisplay:
  11862. type: string
  11863. zsfluorescencetype1:
  11864. description: 荧光1 - 枚举”ZSFluorescenceType“ - 类型:1,2,3,4,5
  11865. type: integer
  11866. zsfluorescencetype1display:
  11867. type: string
  11868. zsfluorescencetype2:
  11869. description: 荧光2 - 枚举”ZSFluorescenceType” - 类型:1,3
  11870. type: integer
  11871. zsfluorescencetype2display:
  11872. type: string
  11873. zspolishtype1:
  11874. description: 抛光度1 - 枚举”ZSPolishType“ - 类型:1,2,4,5
  11875. type: integer
  11876. zspolishtype1display:
  11877. type: string
  11878. zspolishtype2:
  11879. description: 抛光度2 - 枚举”ZSPolishType“ - 类型:1
  11880. type: integer
  11881. zspolishtype2display:
  11882. type: string
  11883. zsshapetype:
  11884. description: 形状 - 枚举”ZSShapeType“ - 类型:1,2,4,5 ;(1为多个,逗号分隔)
  11885. type: string
  11886. zsshapetypedisplay:
  11887. type: string
  11888. zsstyletype:
  11889. description: 款式 - 类型:4
  11890. type: integer
  11891. zsstyletypedisplay:
  11892. type: string
  11893. zssymmetrytype1:
  11894. description: 对称度1 - 枚举”ZSSymmetryType“ - 类型:1,2,4,5
  11895. type: integer
  11896. zssymmetrytype1display:
  11897. type: string
  11898. zssymmetrytype2:
  11899. description: 对称度2 - 枚举”ZSSymmetryType“ - 类型:1
  11900. type: integer
  11901. zssymmetrytype2display:
  11902. type: string
  11903. required:
  11904. - wruserid
  11905. type: object
  11906. models.NewFuncmenulist:
  11907. properties:
  11908. authtype:
  11909. description: 权限类型 - 1:菜单 2:组件 3:按钮
  11910. type: integer
  11911. buttonname:
  11912. description: 按钮名称
  11913. type: string
  11914. buttontype:
  11915. description: 按钮类型 - 存按钮样式
  11916. type: string
  11917. component:
  11918. description: 组件名或组件地址
  11919. type: string
  11920. hidden:
  11921. description: 是否隐藏 - 0:显示 1:隐藏
  11922. type: integer
  11923. iconame:
  11924. description: 菜单图标
  11925. type: string
  11926. menutype:
  11927. description: 菜单类型 - 1:管理端 2:PC(C#) 3:移动(云平台) 4:终端(交易所) 5:PC(云平台)
  11928. type: integer
  11929. parentcode:
  11930. description: 上级资源代码
  11931. type: string
  11932. remark:
  11933. description: Remark
  11934. type: string
  11935. resourcecode:
  11936. description: 资源代码
  11937. type: string
  11938. resourcelevel:
  11939. description: 级别1-一级 2-二级 3-三级4-四级
  11940. type: integer
  11941. resourcename:
  11942. description: 资源名(Title)
  11943. type: string
  11944. sort:
  11945. description: 排序
  11946. type: integer
  11947. url:
  11948. description: Url
  11949. type: string
  11950. urltype:
  11951. description: 地址类型 - 1:路由 2:外链 3:内联框架
  11952. type: integer
  11953. required:
  11954. - resourcecode
  11955. type: object
  11956. models.OperationPrimaryMenu:
  11957. properties:
  11958. Children:
  11959. description: 二级功能菜单
  11960. items:
  11961. $ref: '#/definitions/models.OperationSecondaryMenu'
  11962. type: array
  11963. Key:
  11964. description: 菜单KEY
  11965. type: string
  11966. Label:
  11967. description: 菜单标题
  11968. type: string
  11969. type: object
  11970. models.OperationSecondaryMenu:
  11971. properties:
  11972. Key:
  11973. description: 菜单KEY
  11974. type: string
  11975. Label:
  11976. description: 菜单标题
  11977. type: string
  11978. TabList:
  11979. description: 三级功能菜单
  11980. items:
  11981. $ref: '#/definitions/models.OperationTabMenu'
  11982. type: array
  11983. type: object
  11984. models.OperationTabMenu:
  11985. properties:
  11986. Key:
  11987. description: 菜单KEY
  11988. type: string
  11989. Label:
  11990. description: 菜单标题
  11991. type: string
  11992. type: object
  11993. models.Patradelinkdetail:
  11994. properties:
  11995. accountname:
  11996. description: 套期主体
  11997. type: string
  11998. agreeunit:
  11999. description: 合约乘数
  12000. type: number
  12001. amount:
  12002. description: 金额 = RelatedLot * TradePrice * AgreeUnit
  12003. type: number
  12004. areauserid:
  12005. description: 所属机构
  12006. type: integer
  12007. bizsubjectid:
  12008. description: 归属业务部门ID - SubjectID
  12009. type: integer
  12010. buyorsell:
  12011. description: 方向 - 0:买 1:卖
  12012. type: integer
  12013. convertratio:
  12014. description: 品种系数
  12015. type: number
  12016. convertratiochange:
  12017. description: 套期商品变化量 = RelatedLot * AgreeUnit * ConvertRatio
  12018. type: number
  12019. createtime:
  12020. description: '[日期时间]创建时间'
  12021. type: string
  12022. creatorid:
  12023. description: 创建人ID
  12024. type: integer
  12025. creatorsrc:
  12026. description: 创建人来源 - 1:管理端 2:终端 3:交易
  12027. type: integer
  12028. goodscode:
  12029. description: 商品代码(内部)
  12030. type: string
  12031. goodsgroupid:
  12032. description: 对冲品种ID[期货合约商品组ID]
  12033. type: integer
  12034. goodsid:
  12035. description: 商品ID
  12036. type: integer
  12037. hedgeditemid:
  12038. description: 现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]
  12039. type: integer
  12040. hedgeflag:
  12041. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  12042. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目
  12043. type: integer
  12044. linkdetailid:
  12045. description: 期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)
  12046. type: string
  12047. linkstatus:
  12048. description: 关联状态 - 1:成功 2:失败 3:解绑
  12049. type: integer
  12050. middlegoodsid:
  12051. description: 套保品种ID
  12052. type: integer
  12053. name:
  12054. description: 账户名/子账户
  12055. type: string
  12056. optioncode:
  12057. description: '[期货合约]期权代码 [期权]'
  12058. type: string
  12059. ordertype:
  12060. description: 单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单
  12061. type: integer
  12062. relatedlot:
  12063. description: '[数量]关联手数'
  12064. type: number
  12065. relatedmode:
  12066. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  12067. type: integer
  12068. relatedqty:
  12069. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  12070. type: number
  12071. retcode:
  12072. description: 返回码
  12073. type: integer
  12074. saleuserid:
  12075. description: 业务员ID
  12076. type: integer
  12077. tradedate:
  12078. description: 关联交易日(yyyyMMdd)
  12079. type: string
  12080. tradeid:
  12081. description: '[成交单号]内部成交单ID'
  12082. type: string
  12083. tradelot:
  12084. description: 成交手数
  12085. type: integer
  12086. tradeprice:
  12087. description: '[价格]成交价格'
  12088. type: number
  12089. tradetradedate:
  12090. description: 成交交易日(yyyyMMdd)
  12091. type: string
  12092. type: object
  12093. models.QueryErrorInfosRsp:
  12094. properties:
  12095. description:
  12096. description: 异常描述
  12097. type: string
  12098. errorcode:
  12099. description: 异常代码
  12100. type: string
  12101. errorid:
  12102. description: 异常ID
  12103. type: integer
  12104. modulecode:
  12105. description: 所属模块
  12106. type: string
  12107. operatecode:
  12108. description: 所属操作
  12109. type: string
  12110. rownumber:
  12111. description: 行号
  12112. type: string
  12113. required:
  12114. - errorid
  12115. type: object
  12116. models.QueryHedgeOrderDetailRsp:
  12117. properties:
  12118. accountid:
  12119. description: 账户ID
  12120. type: integer
  12121. buyorsell:
  12122. description: 买卖 - 0:买 1:卖
  12123. type: integer
  12124. cancellogincode:
  12125. description: 撤单人
  12126. type: string
  12127. channelbuildtype:
  12128. description: 开平标志 - 0:无 1:建仓 2:平仓
  12129. type: integer
  12130. channelinnerorderstatus:
  12131. description: 委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:部分成交 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败
  12132. 9:全部成交
  12133. type: integer
  12134. channeloperatetype:
  12135. description: 操作类型 - 1:正常委托 2:斩仓委托 3:强平委托
  12136. type: integer
  12137. closetype:
  12138. description: 平仓方式 - 0:无 1:平今 2:平昨
  12139. type: integer
  12140. curexchangerate:
  12141. description: 当前汇率
  12142. type: number
  12143. decimalplace:
  12144. description: 商品报价小数位
  12145. type: integer
  12146. exchangefullname:
  12147. description: 外部交易所全称
  12148. type: string
  12149. goodscode:
  12150. description: 商品代码(内部)
  12151. type: string
  12152. goodsid:
  12153. description: 商品ID
  12154. type: integer
  12155. goodsname:
  12156. description: 商品名称
  12157. type: string
  12158. marketid:
  12159. description: 市场ID
  12160. type: integer
  12161. openfreezemargin:
  12162. description: 冻结保证金(冻结交易金额)
  12163. type: number
  12164. orderid:
  12165. description: 委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12166. type: string
  12167. orderlogincode:
  12168. description: 委托人
  12169. type: string
  12170. orderprice:
  12171. description: 委托价格(账户)
  12172. type: number
  12173. orderqty:
  12174. description: 委托数量
  12175. type: integer
  12176. ordertime:
  12177. description: 委托时间
  12178. type: string
  12179. pricemode:
  12180. description: '取价方式 - 1:市价 2: 限价'
  12181. type: integer
  12182. tradedate:
  12183. description: 交易日(yyyyMMdd)
  12184. type: string
  12185. tradeqty:
  12186. description: 成交数量
  12187. type: integer
  12188. type: object
  12189. models.QueryHedgeTradeDetailRsp:
  12190. properties:
  12191. accountid:
  12192. description: 账号ID
  12193. type: integer
  12194. buyorsell:
  12195. description: 方向 - 0:买 1:卖
  12196. type: integer
  12197. channelbuildtype:
  12198. description: 委托单据类型 0:无 1:建仓 2:平仓
  12199. type: integer
  12200. closecharge:
  12201. description: 平仓手续费(账户)
  12202. type: number
  12203. closecharge2:
  12204. description: 平仓手续费(商品)
  12205. type: number
  12206. closepl:
  12207. description: 平仓盈亏(账户)
  12208. type: number
  12209. closepl2:
  12210. description: 平仓盈亏(商品)
  12211. type: number
  12212. closepl3:
  12213. description: 平仓盈亏(账户)(逐笔)
  12214. type: number
  12215. closepl4:
  12216. description: 平仓盈亏(商品)(逐笔)
  12217. type: number
  12218. closetype:
  12219. description: 平仓方式 - 0:无 1:平今 2:平昨
  12220. type: integer
  12221. curexchangerate:
  12222. description: 当前汇率
  12223. type: number
  12224. decimalplace:
  12225. description: 商品报价小数位
  12226. type: integer
  12227. exchangefullname:
  12228. description: 外部交易所全称
  12229. type: string
  12230. goodscode:
  12231. description: 商品代码(内部)
  12232. type: string
  12233. goodsid:
  12234. description: 商品ID
  12235. type: integer
  12236. goodsname:
  12237. description: 商品名称
  12238. type: string
  12239. marketid:
  12240. description: 市场ID
  12241. type: integer
  12242. opencharge:
  12243. description: 建仓手续费(账户)
  12244. type: number
  12245. opencharge2:
  12246. description: 建仓手续费(商品)
  12247. type: number
  12248. orderid:
  12249. description: 委托单号
  12250. type: string
  12251. orderlogincode:
  12252. description: 委托人
  12253. type: string
  12254. tradeamount:
  12255. description: 成交金额(账户)
  12256. type: number
  12257. tradedate:
  12258. description: 交易日(yyyyMMdd)
  12259. type: string
  12260. tradeid:
  12261. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12262. type: string
  12263. tradeprice:
  12264. description: 成交价格
  12265. type: number
  12266. tradeqty:
  12267. description: 成交数量
  12268. type: integer
  12269. tradetime:
  12270. description: 成交时间
  12271. type: string
  12272. tradetype:
  12273. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  12274. type: integer
  12275. type: object
  12276. models.QuotePrimaryMenu:
  12277. properties:
  12278. Index:
  12279. description: 序号
  12280. type: integer
  12281. Key:
  12282. description: 键名
  12283. type: string
  12284. Name:
  12285. description: 菜单名称
  12286. type: string
  12287. SubMenus:
  12288. description: 子菜单
  12289. items:
  12290. $ref: '#/definitions/models.QuoteSecondaryMenu'
  12291. type: array
  12292. SubTitleType:
  12293. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  12294. type: integer
  12295. TradeModes:
  12296. description: 包含市场交易类型
  12297. type: string
  12298. type: object
  12299. models.QuoteSecondaryMenu:
  12300. properties:
  12301. ExExchangeCode:
  12302. description: 外部交易所代码
  12303. type: string
  12304. ExExchangeID:
  12305. description: 外部交易所ID
  12306. type: integer
  12307. GoodsGroupIDs:
  12308. description: 商品组ID列表
  12309. items:
  12310. type: integer
  12311. type: array
  12312. Index:
  12313. description: 序号
  12314. type: integer
  12315. MarketID:
  12316. description: 市场ID
  12317. type: integer
  12318. MenuTitle:
  12319. description: 菜单标题(市场名称或外部交易所名称)
  12320. type: string
  12321. TradeMode:
  12322. description: 交易模式
  12323. type: integer
  12324. type: object
  12325. models.RelatedTaAccount:
  12326. properties:
  12327. accountid:
  12328. description: 资金账户ID
  12329. type: integer
  12330. type: object
  12331. models.RoleMenu:
  12332. properties:
  12333. hasright:
  12334. description: 是否有权限 0-没有权限 1-有权限
  12335. type: integer
  12336. iconame:
  12337. description: 菜单图标
  12338. type: string
  12339. menutype:
  12340. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  12341. type: integer
  12342. parentcode:
  12343. description: 上级资源代码
  12344. type: string
  12345. remark:
  12346. description: 菜单备注
  12347. type: string
  12348. resourcecode:
  12349. description: 菜单代码
  12350. type: string
  12351. resourcelevel:
  12352. description: 级别
  12353. type: integer
  12354. resourcename:
  12355. description: 菜单名称
  12356. type: string
  12357. roleid:
  12358. description: 角色id
  12359. type: integer
  12360. sort:
  12361. description: 排序
  12362. type: integer
  12363. subMenu:
  12364. description: 子级菜单(结构同上层一样, swag解析不出来)
  12365. items:
  12366. $ref: '#/definitions/models.RoleMenu'
  12367. type: array
  12368. url:
  12369. description: URL
  12370. type: string
  12371. userid:
  12372. description: 用户id
  12373. type: integer
  12374. type: object
  12375. models.SearchGoods:
  12376. properties:
  12377. goodscode:
  12378. description: 商品代码(内部)
  12379. type: string
  12380. goodsid:
  12381. description: 商品ID(自增ID SEQ_GOODS)
  12382. type: integer
  12383. goodsname:
  12384. description: 商品名称
  12385. type: string
  12386. marketid:
  12387. description: 所属市场ID
  12388. type: integer
  12389. marketname:
  12390. description: 市场名称
  12391. type: string
  12392. trademode:
  12393. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  12394. 21:竞拍-大宗式 22:受托竞价
  12395. type: integer
  12396. required:
  12397. - goodscode
  12398. - goodsid
  12399. - goodsname
  12400. - marketid
  12401. - trademode
  12402. type: object
  12403. models.SellOrder:
  12404. properties:
  12405. accountid:
  12406. description: 资金账号
  12407. type: integer
  12408. applyid:
  12409. description: 申请单ID
  12410. type: integer
  12411. attachment1:
  12412. description: 附件1
  12413. type: string
  12414. attachment2:
  12415. description: 附件2
  12416. type: string
  12417. buyorsell:
  12418. description: 买卖 - 0:买 1:卖
  12419. type: integer
  12420. canbargain:
  12421. description: 是否可议价 - 0:不可 1:可
  12422. type: integer
  12423. cancelqty:
  12424. description: 撤销数量
  12425. type: integer
  12426. canceltime:
  12427. description: 撤销时间
  12428. type: string
  12429. cerno:
  12430. type: string
  12431. chargealgorithm:
  12432. description: 手续费收取方式 1:比率 2:固定
  12433. type: integer
  12434. chargealgorithmvalue:
  12435. description: 手续费设置值(交易所部分)
  12436. type: number
  12437. chargealgorithmvalue2:
  12438. description: 手续费设置值(会员部分)
  12439. type: number
  12440. clientordertime:
  12441. description: 客户端委托时间
  12442. type: string
  12443. cpcertno:
  12444. type: string
  12445. exchangerate:
  12446. description: 汇率[67]
  12447. type: number
  12448. firstratio:
  12449. description: 首付比率 - [挂牌时指定,摘牌时使用]
  12450. type: number
  12451. fixedprice:
  12452. description: '[克拉单价]固定价格 - [挂牌]'
  12453. type: number
  12454. freezecharge:
  12455. description: 冻结手续费
  12456. type: number
  12457. freezefirstamount:
  12458. description: 冻结首付金额 - [摘牌]
  12459. type: number
  12460. freezemargin:
  12461. description: 冻结保证金
  12462. type: number
  12463. goodsno:
  12464. description: 商品编号
  12465. type: string
  12466. imagepath:
  12467. type: string
  12468. isQueryDiamond:
  12469. description: 是否钻石查询
  12470. type: boolean
  12471. isspecified:
  12472. description: 是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  12473. type: integer
  12474. kppath:
  12475. type: string
  12476. kpweight:
  12477. type: string
  12478. marginalgorithm:
  12479. description: 保证金方式 - 1:比率 2:固定
  12480. type: integer
  12481. marginvalue:
  12482. description: 保证金设置值
  12483. type: number
  12484. marketid:
  12485. description: 市场ID
  12486. type: integer
  12487. marketprice:
  12488. type: string
  12489. orderamount:
  12490. description: 挂牌金额[账户] [67]= OrderQty * FixedPrice * ExchangeRate /100
  12491. type: number
  12492. ordertime:
  12493. description: 委托时间
  12494. type: string
  12495. performancetemplateid:
  12496. description: 履约计划模板ID
  12497. type: integer
  12498. price:
  12499. description: 价格
  12500. type: number
  12501. pricefactor:
  12502. description: 价格系数(浮动价时填写) - [挂牌]
  12503. type: number
  12504. pricemove:
  12505. description: 升贴水(浮动价时填写) - [挂牌]
  12506. type: number
  12507. priceper:
  12508. type: string
  12509. relatedwrtradeorderid:
  12510. description: 关联委托单号(摘牌委托关联挂牌委托单ID)
  12511. type: integer
  12512. remainqty:
  12513. description: 剩余重量
  12514. type: number
  12515. remark:
  12516. type: string
  12517. retcode:
  12518. description: 错误代码
  12519. type: integer
  12520. sellusername:
  12521. description: 卖方(查询字段-模糊查询)
  12522. type: string
  12523. settingmaterial:
  12524. type: string
  12525. size1:
  12526. type: string
  12527. size2:
  12528. type: string
  12529. size3:
  12530. type: string
  12531. sizedisplay:
  12532. description: 尺寸
  12533. type: string
  12534. stonedesc:
  12535. type: string
  12536. totalqty:
  12537. description: 总重量
  12538. type: number
  12539. tradedate:
  12540. description: 交易日(yyyyMMdd)
  12541. type: string
  12542. tradeprice:
  12543. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)*
  12544. 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  12545. type: number
  12546. unfreezecharge:
  12547. description: 解冻手续费
  12548. type: number
  12549. unfreezefirstamount:
  12550. description: 解冻首付金额 - [摘牌]
  12551. type: number
  12552. unfreezemargin:
  12553. description: 解冻保证金
  12554. type: number
  12555. userid:
  12556. description: 用户ID
  12557. type: integer
  12558. uuid:
  12559. description: 发起端唯一id
  12560. type: string
  12561. validtime:
  12562. description: 有效期限
  12563. type: string
  12564. validtype:
  12565. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  12566. type: integer
  12567. warehousenamedisplay:
  12568. type: string
  12569. wrbargainid:
  12570. description: 议价申请单ID
  12571. type: integer
  12572. wrfactortypeid:
  12573. description: 仓单要素类型ID/商品ID(77)
  12574. type: integer
  12575. wrpath:
  12576. type: string
  12577. wrpricetype:
  12578. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  12579. type: integer
  12580. wrstandardid:
  12581. description: 现货商品ID
  12582. type: integer
  12583. wrtradeorderid:
  12584. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  12585. type: string
  12586. wrtradeorderstatus:
  12587. 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:撤单解冻贷款失败
  12588. type: integer
  12589. wrtradetype:
  12590. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  12591. type: integer
  12592. wrtransferuserid:
  12593. description: 仓单受让用户 - [摘牌]
  12594. type: integer
  12595. zscategory:
  12596. description: 钻石分类 - 枚举”ZSCategory“
  12597. type: integer
  12598. zscategorydisplay:
  12599. description: 钻石分类 - 描述
  12600. type: string
  12601. zscerttypedisplay:
  12602. type: string
  12603. zsclaritytype1display:
  12604. type: string
  12605. zsclaritytype2display:
  12606. type: string
  12607. zscolortype1display:
  12608. type: string
  12609. zscolortype2display:
  12610. type: string
  12611. zscrystaltype:
  12612. type: string
  12613. zscrystaltypedisplay:
  12614. type: string
  12615. zscurrencytype:
  12616. description: 货币类型 - 枚举“ZSCurrencyType”
  12617. type: integer
  12618. zscurrencytypedisplay:
  12619. type: string
  12620. zscurrencytypedisplayunit:
  12621. type: string
  12622. zscuttype1display:
  12623. type: string
  12624. zscuttype2display:
  12625. type: string
  12626. zsczcolor1typedisplay:
  12627. type: string
  12628. zsczcolor2typedisplay:
  12629. type: string
  12630. zsczcolor3typedisplay:
  12631. type: string
  12632. zsfluorescencetype1display:
  12633. type: string
  12634. zsfluorescencetype2display:
  12635. type: string
  12636. zspolishtype1display:
  12637. type: string
  12638. zspolishtype2display:
  12639. type: string
  12640. zsshapetypedisplay:
  12641. type: string
  12642. zsstyletypedisplay:
  12643. type: string
  12644. zssymmetrytype1display:
  12645. type: string
  12646. zssymmetrytype2display:
  12647. type: string
  12648. type: object
  12649. models.SellOrderQueryReq:
  12650. properties:
  12651. origin:
  12652. description: 原产地
  12653. type: string
  12654. page:
  12655. description: 页码
  12656. type: integer
  12657. pagesize:
  12658. description: 每页大小
  12659. type: integer
  12660. total:
  12661. description: 总条数
  12662. type: integer
  12663. warehouseid:
  12664. description: 仓库ID
  12665. type: integer
  12666. weight1:
  12667. description: 总重量(克拉重量)-从
  12668. type: number
  12669. weight2:
  12670. description: 总重量(克拉重量)-至
  12671. type: number
  12672. weightavg1:
  12673. description: 平均单颗重量-从
  12674. type: number
  12675. weightavg2:
  12676. description: 平均单颗重量-至
  12677. type: number
  12678. zscategory:
  12679. description: 钻石分类 - 枚举”ZSCategory“
  12680. type: integer
  12681. zscerttype:
  12682. description: 证书类型
  12683. items:
  12684. type: string
  12685. type: array
  12686. zsclaritytype:
  12687. description: 净度
  12688. items:
  12689. type: integer
  12690. type: array
  12691. zscolortype:
  12692. description: 颜色
  12693. items:
  12694. type: integer
  12695. type: array
  12696. zscurrencytype:
  12697. description: 货币类型 - 枚举“ZSCurrencyType”
  12698. items:
  12699. type: string
  12700. type: array
  12701. zscuttype:
  12702. description: 切工
  12703. items:
  12704. type: integer
  12705. type: array
  12706. zsczcolor1type:
  12707. description: 彩钻颜色1
  12708. items:
  12709. type: string
  12710. type: array
  12711. zsfluorescencetype:
  12712. description: 荧光
  12713. items:
  12714. type: integer
  12715. type: array
  12716. zspolishtype:
  12717. description: 抛光度
  12718. items:
  12719. type: integer
  12720. type: array
  12721. zsshapetype:
  12722. description: 形状 - 枚举”ZSShapeType“ - 类型:1,2,4,5 ;(1为多个,逗号分隔)
  12723. items:
  12724. type: string
  12725. type: array
  12726. zsstyletype:
  12727. description: 款式
  12728. items:
  12729. type: string
  12730. type: array
  12731. zssymmetrytype:
  12732. description: 对称度
  12733. items:
  12734. type: integer
  12735. type: array
  12736. required:
  12737. - zscategory
  12738. type: object
  12739. models.Systemparam:
  12740. properties:
  12741. loginid:
  12742. description: 更新用户账号,登录账号
  12743. type: string
  12744. modifyflag:
  12745. description: 修改标志0 不允许修改 1 允许修改
  12746. type: integer
  12747. paramcode:
  12748. description: 参数代码
  12749. type: string
  12750. paramname:
  12751. description: 参数名
  12752. type: string
  12753. paramtype:
  12754. description: 参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城
  12755. type: integer
  12756. paramvalue:
  12757. description: 参数值
  12758. type: string
  12759. paramvalue2:
  12760. description: 参数值(CLOB)
  12761. type: string
  12762. regexpress:
  12763. description: 正则表达式
  12764. type: string
  12765. remark:
  12766. description: 备注
  12767. type: string
  12768. serverip:
  12769. description: 限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置
  12770. type: string
  12771. showflag:
  12772. description: 是否显示0 不显示 1 显示
  12773. type: integer
  12774. updatetime:
  12775. description: 更新时间
  12776. type: string
  12777. userid:
  12778. description: 更新用户ID
  12779. type: integer
  12780. required:
  12781. - paramcode
  12782. type: object
  12783. models.Szdz3convertconfig:
  12784. properties:
  12785. canin:
  12786. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  12787. type: integer
  12788. canout:
  12789. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  12790. type: integer
  12791. converttype:
  12792. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  12793. 6:交易转花生米(不设置)
  12794. type: integer
  12795. createtime:
  12796. description: 创建时间
  12797. type: string
  12798. creatorid:
  12799. description: 创建人
  12800. type: integer
  12801. daymaxvalue:
  12802. description: 当日最大转入限制
  12803. type: number
  12804. freezedays:
  12805. description: 冻结天数 [5:花生米转交易]
  12806. type: integer
  12807. innergoodsid:
  12808. description: 内部商品ID[交易]
  12809. type: integer
  12810. inratio:
  12811. description: 目标值
  12812. type: integer
  12813. modifierid:
  12814. description: 修改人
  12815. type: integer
  12816. modifytime:
  12817. description: 修改时间
  12818. type: string
  12819. outergoodscode:
  12820. description: 外部商品代码[JD\PD]
  12821. type: string
  12822. outratio:
  12823. description: 源值
  12824. type: integer
  12825. pddecimalplace:
  12826. description: PD小数位
  12827. type: integer
  12828. timemaxvalue:
  12829. description: 单次最大转入限制
  12830. type: number
  12831. timeminvalue:
  12832. description: 单次最小转入限制
  12833. type: number
  12834. required:
  12835. - converttype
  12836. - innergoodsid
  12837. - outergoodscode
  12838. type: object
  12839. models.Szdz3searchwhitelist:
  12840. properties:
  12841. createtime:
  12842. description: 创建时间
  12843. type: string
  12844. creatorid:
  12845. description: 创建人
  12846. type: integer
  12847. modifierid:
  12848. description: 修改人
  12849. type: integer
  12850. modifytime:
  12851. description: 修改时间
  12852. type: string
  12853. userid:
  12854. description: 用户ID
  12855. type: integer
  12856. required:
  12857. - userid
  12858. type: object
  12859. models.TBGoods:
  12860. properties:
  12861. agreeunit:
  12862. description: 合约乘数
  12863. type: number
  12864. enumdicname:
  12865. description: 单位名称
  12866. type: string
  12867. goodscode:
  12868. description: 商品代码(内部)
  12869. type: string
  12870. goodsid:
  12871. description: 商品ID(自增ID SEQ_GOODS)
  12872. type: integer
  12873. goodsname:
  12874. description: 商品名称
  12875. type: string
  12876. type: object
  12877. models.TBGoodsGroup:
  12878. properties:
  12879. GDLST:
  12880. description: 商品列表
  12881. items:
  12882. $ref: '#/definitions/models.TBGoods'
  12883. type: array
  12884. convertratio:
  12885. description: 折算系数
  12886. type: number
  12887. enumdicname:
  12888. description: 单位名称
  12889. type: string
  12890. exexchangecode:
  12891. description: 交易所代码
  12892. type: string
  12893. exexchangename:
  12894. description: 交易所名称
  12895. type: string
  12896. goodsgroupid:
  12897. description: 商品组ID(自增ID)
  12898. type: integer
  12899. goodsgroupname:
  12900. description: 商品组名称
  12901. type: string
  12902. goodunitid:
  12903. description: 报价单位ID
  12904. type: integer
  12905. type: object
  12906. models.TBMiddleGoods:
  12907. properties:
  12908. GPLST:
  12909. description: 期货品种列表
  12910. items:
  12911. $ref: '#/definitions/models.TBGoodsGroup'
  12912. type: array
  12913. WDLST:
  12914. description: 商品信息列表(现货品类)
  12915. items:
  12916. $ref: '#/definitions/models.TBWrstandard'
  12917. type: array
  12918. areauserid:
  12919. description: 机构用户ID
  12920. type: integer
  12921. enumdicname:
  12922. description: 单位名称
  12923. type: string
  12924. goodsunitid:
  12925. description: 套保品种单位id
  12926. type: integer
  12927. middlegoodscode:
  12928. description: 套保品种代码
  12929. type: string
  12930. middlegoodsid:
  12931. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  12932. type: integer
  12933. middlegoodsname:
  12934. description: 套保品种名称
  12935. type: string
  12936. needarbitrageratio:
  12937. description: 套利比率
  12938. type: number
  12939. needhedgeratio:
  12940. description: 套保比率
  12941. type: number
  12942. type: object
  12943. models.TBWrstandard:
  12944. properties:
  12945. convertratio:
  12946. description: 折算系数
  12947. type: number
  12948. deliverygoodsname:
  12949. description: 品种名称
  12950. type: string
  12951. enumdicname:
  12952. description: 单位名称
  12953. type: string
  12954. vatrate:
  12955. description: 增值税率
  12956. type: number
  12957. wrstandardcode:
  12958. description: 现货商品代码
  12959. type: string
  12960. wrstandardid:
  12961. description: 现货商品ID(SEQ_WRSTANDARD)
  12962. type: integer
  12963. wrstandardname:
  12964. description: 现货商品名称
  12965. type: string
  12966. type: object
  12967. models.Taaccount:
  12968. properties:
  12969. accountflag:
  12970. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  12971. type: integer
  12972. accountid:
  12973. description: 资金账户ID
  12974. type: integer
  12975. accountname:
  12976. description: 账户名称
  12977. type: string
  12978. balance:
  12979. description: 期初余额
  12980. type: number
  12981. capitalbalance:
  12982. description: 本金余额[外部子账户实际出入金余额]
  12983. type: number
  12984. changeflag:
  12985. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  12986. type: integer
  12987. changetime:
  12988. description: 账户状态变更时间
  12989. type: string
  12990. closepl:
  12991. description: 今日平仓盈亏
  12992. type: number
  12993. creditdecrease:
  12994. description: 今日授信减少
  12995. type: number
  12996. creditincrease:
  12997. description: 今日授信增加
  12998. type: number
  12999. curamount:
  13000. description: 总市值(从持仓中统计)
  13001. type: number
  13002. currencyid:
  13003. description: 货币ID
  13004. type: integer
  13005. currentbalance:
  13006. description: 期末余额
  13007. type: number
  13008. freezecharge:
  13009. description: 手续费冻结
  13010. type: number
  13011. freezemargin:
  13012. description: 冻结保证金
  13013. type: number
  13014. fromaccountid:
  13015. description: 所属上级账户
  13016. type: integer
  13017. inamount:
  13018. description: 今日入金金额(包括三方入金)
  13019. type: number
  13020. ismain:
  13021. description: 是否母账号 0:不是母账户 1:是母账户
  13022. type: integer
  13023. ismarketaccount:
  13024. description: 是否机构接单账号 0:不是 1:是
  13025. type: integer
  13026. isreckonaccount:
  13027. description: 是否机构分润账号 0:不是 1:是
  13028. type: integer
  13029. mortgagecredit:
  13030. description: 授信金额
  13031. type: number
  13032. orifreezecharge:
  13033. description: 期初手续费冻结
  13034. type: number
  13035. orifreezemargin:
  13036. description: 期初冻结保证金
  13037. type: number
  13038. orimortgagecredit:
  13039. description: 期初授信金额
  13040. type: number
  13041. oriothercredit:
  13042. description: 期初其它授信金额
  13043. type: number
  13044. oriotherfreezemargin:
  13045. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  13046. type: number
  13047. orioutamountfreeze:
  13048. description: 期初出金冻结
  13049. type: number
  13050. oriusedmargin:
  13051. description: 期初占用保证金
  13052. type: number
  13053. othercredit:
  13054. description: 其它授信金额
  13055. type: number
  13056. othercreditdecrease:
  13057. description: 今日其它授信减少
  13058. type: number
  13059. othercreditincrease:
  13060. description: 今日其它授信增加
  13061. type: number
  13062. otherfreezemargin:
  13063. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  13064. type: number
  13065. otherincome:
  13066. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  13067. type: number
  13068. otherpay:
  13069. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  13070. type: number
  13071. outamount:
  13072. description: 今日出金金额(包括三方出金)
  13073. type: number
  13074. outamountfreeze:
  13075. description: 出金冻结
  13076. type: number
  13077. outthreshold:
  13078. description: 出金阈值
  13079. type: number
  13080. parentaccountid:
  13081. description: 所属根账号
  13082. type: integer
  13083. paycharge:
  13084. description: 今日手续费支出
  13085. type: number
  13086. relatedaccountstatus:
  13087. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  13088. type: integer
  13089. relateduserid:
  13090. description: 关联用户
  13091. type: integer
  13092. remainamount:
  13093. description: 融资额(从融资合同中统计)
  13094. type: number
  13095. serivcegroup:
  13096. description: 服务分组
  13097. type: integer
  13098. signstatus:
  13099. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  13100. type: integer
  13101. sublevelpath:
  13102. description: 账号层级路径(逗号分隔,首尾加逗号)
  13103. type: string
  13104. taaccounttype:
  13105. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  13106. type: integer
  13107. thirdinamount:
  13108. description: 今日三方入金
  13109. type: number
  13110. thirdoutamount:
  13111. description: 今日三方出金
  13112. type: number
  13113. tradestatus:
  13114. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  13115. type: integer
  13116. tradestatuschangetime:
  13117. description: 激活时间
  13118. type: string
  13119. transferamount:
  13120. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  13121. type: number
  13122. usedmargin:
  13123. description: 占用保证金
  13124. type: number
  13125. userid:
  13126. description: 用户ID
  13127. type: integer
  13128. required:
  13129. - accountid
  13130. - userid
  13131. type: object
  13132. models.Tablecolumnconfig:
  13133. properties:
  13134. aligntype:
  13135. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  13136. type: integer
  13137. autoid:
  13138. description: AutoID
  13139. type: integer
  13140. columnfield:
  13141. description: 列字段
  13142. type: string
  13143. columntitle:
  13144. description: 列Title
  13145. type: string
  13146. columnwidth:
  13147. description: 列宽
  13148. type: string
  13149. fixed:
  13150. description: 固定类型 - 空 | left | right
  13151. type: string
  13152. formatterstring:
  13153. description: 格式化字符
  13154. type: string
  13155. formattertype:
  13156. description: 格式化类型
  13157. type: string
  13158. groupname:
  13159. description: 表头分组名称
  13160. type: string
  13161. ismerge:
  13162. description: 是否合并显示 - 0:不合并 1:合并
  13163. type: integer
  13164. isshow:
  13165. description: 是否显示 - 0:不显示 1:显示
  13166. type: integer
  13167. needsummary:
  13168. description: 是否需要汇总 - 0:不需要 1:需要
  13169. type: integer
  13170. orderindex:
  13171. description: 顺序
  13172. type: integer
  13173. remark:
  13174. description: 备注
  13175. type: string
  13176. summarytype:
  13177. description: 汇总类型 - 1:加总 2:最后一个
  13178. type: integer
  13179. tablekey:
  13180. description: 列表Key
  13181. type: string
  13182. required:
  13183. - autoid
  13184. type: object
  13185. models.TjmdHolderDetailTradeInfo:
  13186. properties:
  13187. agreeunit:
  13188. description: 合约乘数
  13189. type: number
  13190. buyaccountid:
  13191. description: 买方账户
  13192. type: string
  13193. buyusername:
  13194. description: 买方
  13195. type: string
  13196. delistingdate:
  13197. description: 最后结算日
  13198. type: string
  13199. expiredate:
  13200. description: 到期结算价定价日
  13201. type: string
  13202. exprieprice:
  13203. description: 到期清算价格
  13204. type: string
  13205. goodscode:
  13206. description: 商品代码
  13207. type: string
  13208. goodsid:
  13209. description: 商品ID
  13210. type: integer
  13211. goodsname:
  13212. description: 商品名称(交易标的)
  13213. type: string
  13214. lasttradedate:
  13215. description: 最后交易日
  13216. type: string
  13217. listingdate:
  13218. description: 开始交易日
  13219. type: string
  13220. openprice:
  13221. description: 成交价
  13222. type: number
  13223. openqty:
  13224. description: 交易数量
  13225. type: integer
  13226. sellaccountid:
  13227. description: 卖方账户
  13228. type: string
  13229. sellusername:
  13230. description: 卖方
  13231. type: string
  13232. tradeamount:
  13233. description: 初始名义价值
  13234. type: number
  13235. tradedate:
  13236. description: 成交日期
  13237. type: string
  13238. tradeid:
  13239. description: 成交编号
  13240. type: string
  13241. type: object
  13242. models.TjmdMarketSection:
  13243. properties:
  13244. marketsectionid:
  13245. description: 市场版块ID(SEQ_MARKETSECTION)
  13246. type: integer
  13247. marketsectionname:
  13248. description: 市场版块名称
  13249. type: string
  13250. mlist:
  13251. description: 市场列表(板块下面有多少个市场)
  13252. items:
  13253. $ref: '#/definitions/models.TjmdMarketSectionConfig'
  13254. type: array
  13255. orderindex:
  13256. description: 排序
  13257. type: integer
  13258. pictureurl:
  13259. description: 图片url, 规格(90*90)
  13260. type: string
  13261. remark:
  13262. description: 备注
  13263. type: string
  13264. type: object
  13265. models.TjmdMarketSectionConfig:
  13266. properties:
  13267. auctionwrtype:
  13268. description: 仓单类型(现货交易) - 1:无仓单 2:有仓单 3;有无仓单均可
  13269. type: integer
  13270. canacceptquote:
  13271. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  13272. type: integer
  13273. cangoodsexercise:
  13274. description: '[期权]是否可现货行权- 0:否 1:是'
  13275. type: integer
  13276. cangoodsexercisetype:
  13277. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  13278. type: integer
  13279. canmanualquotestrike:
  13280. description: 是否可手动报行权价- 0:否 1:是 [期权]
  13281. type: integer
  13282. canmutistage:
  13283. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  13284. type: integer
  13285. canpreexercise:
  13286. description: '[期权]是否可预申报- 0:否 1:是'
  13287. type: integer
  13288. clearinterval:
  13289. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  13290. type: integer
  13291. contracttmp:
  13292. description: 合同模板[荷兰式][竞价式][仓单贸易]
  13293. type: string
  13294. exchareaid:
  13295. description: 所属交易所,可以没有
  13296. type: integer
  13297. financemarketid:
  13298. description: 融资回购市场ID [仓单贸易]
  13299. type: integer
  13300. goodstype:
  13301. description: 商品类型 - 1:交易商品 2:仓单商品
  13302. type: integer
  13303. hasrebate:
  13304. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  13305. type: integer
  13306. hastradecredit:
  13307. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  13308. type: integer
  13309. haswr:
  13310. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  13311. type: integer
  13312. isdeductmargin:
  13313. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  13314. type: integer
  13315. isrecordsource:
  13316. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  13317. type: integer
  13318. isreleasemargin:
  13319. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  13320. type: integer
  13321. isupdatereckonprice:
  13322. description: 输入结算价标识 - 0:系统生成 1:手工输入(自动) 2:手工输入(手动)
  13323. type: integer
  13324. listingmode:
  13325. description: 挂牌方式 1:一口价 2:浮动价 3:贸易圈 4:协议指定
  13326. type: integer
  13327. marginformula:
  13328. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  13329. type: integer
  13330. marginformula2:
  13331. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  13332. type: integer
  13333. marketid:
  13334. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  13335. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  13336. type: integer
  13337. marketname:
  13338. description: 市场名称
  13339. type: string
  13340. marketsectionid:
  13341. description: 市场版块ID(SEQ_MARKETSECTION)
  13342. type: integer
  13343. marketserviceid:
  13344. description: 市场服务ID
  13345. type: integer
  13346. marketstatus:
  13347. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  13348. type: integer
  13349. markettype:
  13350. description: 市场类型- 1:非交易服务 2:交易服务
  13351. type: integer
  13352. matchermode:
  13353. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手 - 作废
  13354. type: integer
  13355. nowrquotaflag:
  13356. description: 是否校验无仓单额度(仓单贸易) 0:否 1:是
  13357. type: integer
  13358. openmethod:
  13359. description: 开盘模式 - 0 自动 1手动
  13360. type: integer
  13361. orderindex:
  13362. description: 排序
  13363. type: integer
  13364. otcuserid:
  13365. description: 场外期权做市商[场外期权]
  13366. type: integer
  13367. outersynctime:
  13368. description: 外部同步时间点(h24:mi:ss)[场外期权]
  13369. type: string
  13370. paylaterflag:
  13371. description: 是否支持后付 - 0:不支持 1;支持 - [挂牌点选 所有权、预售挂牌支持]
  13372. type: integer
  13373. pendingflag:
  13374. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  13375. type: integer
  13376. pendingtime:
  13377. description: 待开市时间[通道交易-对冲](HH:mm)
  13378. type: string
  13379. performancetempid:
  13380. description: 履约计划模板ID - 作废
  13381. type: integer
  13382. premiumquotemode:
  13383. description: 权利金报价方式 - 1:自动 2:手动
  13384. type: integer
  13385. rebateratio:
  13386. description: 返利比率[竞价式]
  13387. type: number
  13388. reckonorder:
  13389. description: 结算顺序
  13390. type: integer
  13391. reckonpricealgorithm:
  13392. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  13393. 6.卖一价 7.买一卖一均价 8.外部结算价'
  13394. type: integer
  13395. reckonpriceparam:
  13396. description: 结算价参数
  13397. type: integer
  13398. reckontime:
  13399. description: 结算时间[通道交易-对冲](HH:mm)
  13400. type: string
  13401. roleprioritytype:
  13402. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  13403. type: integer
  13404. selllistingauditflag:
  13405. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  13406. type: integer
  13407. trademarkettype:
  13408. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  13409. type: integer
  13410. trademode:
  13411. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  13412. 21:竞拍-大宗式 22:受托竞价
  13413. type: integer
  13414. tradeproperty:
  13415. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  13416. 8:场外期权
  13417. type: integer
  13418. tradetype:
  13419. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  13420. type: integer
  13421. updatereckonpriceinterval:
  13422. description: 输入结算价时长(分钟) [1:手工输入(自动)]
  13423. type: integer
  13424. type: object
  13425. models.TjmdQuoteGoods:
  13426. properties:
  13427. buyqty:
  13428. description: 买量(暂不做, 无值, 保留字段)
  13429. type: number
  13430. decimalplace:
  13431. description: 报价小数位
  13432. type: integer
  13433. goodscode:
  13434. description: 合约代码
  13435. type: string
  13436. goodsgroupid:
  13437. description: 商品组ID(自增ID)
  13438. type: integer
  13439. goodsgroupname:
  13440. description: 商品组名称
  13441. type: string
  13442. goodsid:
  13443. description: 合约id
  13444. type: integer
  13445. goodsname:
  13446. description: 合约名称
  13447. type: string
  13448. refgoodscode:
  13449. description: 标的合约代码
  13450. type: string
  13451. refgoodsid:
  13452. description: 标的合约id
  13453. type: integer
  13454. refgoodsname:
  13455. description: 标的合约名称
  13456. type: string
  13457. sellqty:
  13458. description: 卖量(暂不做, 无值, 保留字段)
  13459. type: number
  13460. type: object
  13461. models.TjmdTodayAccountMargin:
  13462. properties:
  13463. accountid:
  13464. description: 账号ID
  13465. type: integer
  13466. goodsid:
  13467. description: 商品ID
  13468. type: integer
  13469. infoc:
  13470. $ref: '#/definitions/pb.GoodsMarginCfgStruct'
  13471. description: 配置参数
  13472. marketid:
  13473. description: 市场ID
  13474. type: integer
  13475. type: object
  13476. models.TjmdTradeOrderDetail:
  13477. properties:
  13478. buyorsell:
  13479. description: 买卖方向 0-买 1-卖
  13480. type: integer
  13481. goodsid:
  13482. description: 商品id
  13483. type: integer
  13484. marketmaxsub:
  13485. description: 市价最大偏移范围 [浮动价 - 点差]
  13486. type: number
  13487. orderid:
  13488. description: 委托单号
  13489. type: string
  13490. orderprice:
  13491. description: 期初均价
  13492. type: number
  13493. orderqty:
  13494. description: 委托数量
  13495. type: integer
  13496. pricemode:
  13497. description: '取价方式 - 1:市价 2: 限价 3:浮动价'
  13498. type: integer
  13499. userid:
  13500. description: 用户id
  13501. type: integer
  13502. username:
  13503. description: 用户名称(已脱敏)
  13504. type: string
  13505. type: object
  13506. models.TjmdTransferApply:
  13507. properties:
  13508. applyid:
  13509. description: 申请ID(自增ID SEQ_TRADE_HOLDTRANSFERAPPLY)
  13510. type: integer
  13511. applystatus:
  13512. description: 状态 - 0:未提交 1:待审核 2:审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销
  13513. type: integer
  13514. applytime:
  13515. description: 申请时间(时间)
  13516. type: string
  13517. auditremark:
  13518. description: 审核备注(拒绝原因?)
  13519. type: string
  13520. begindate:
  13521. description: 开始交易日(yyyymmdd)
  13522. type: string
  13523. buyorsell:
  13524. description: 买卖 - 0:买 1:卖
  13525. type: integer
  13526. enddate:
  13527. description: 结束交易日(yyyymmdd)
  13528. type: string
  13529. goodscode:
  13530. description: 商品代码
  13531. type: string
  13532. goodsid:
  13533. description: 商品ID
  13534. type: integer
  13535. goodsname:
  13536. description: 商品名称
  13537. type: string
  13538. marketid:
  13539. description: 市场ID
  13540. type: integer
  13541. qty:
  13542. description: 期初均价
  13543. type: number
  13544. tradeid:
  13545. description: 成交单号(关联持仓)
  13546. type: string
  13547. transferamount:
  13548. description: 转让总金额(金额)
  13549. type: number
  13550. transferprice:
  13551. description: 转让价格(协议价格)
  13552. type: number
  13553. type: object
  13554. models.TradeHolderDetail:
  13555. properties:
  13556. accountid:
  13557. description: 账号ID
  13558. type: integer
  13559. agreeunit:
  13560. description: 合约乘数
  13561. type: number
  13562. buyorsell:
  13563. description: 方向 - 0:买 1:卖
  13564. type: integer
  13565. currencyid:
  13566. description: 商品币种id
  13567. type: integer
  13568. currencyname:
  13569. description: 币种名称
  13570. type: string
  13571. decimalplace:
  13572. description: 商品价格小数位
  13573. type: integer
  13574. enumdicname:
  13575. description: 商品单位名称
  13576. type: string
  13577. expirecycle:
  13578. description: 行权周期(天) - 1:滚动行权时填写
  13579. type: integer
  13580. expiredate:
  13581. description: 行权日(yyyyMMdd) - 到期日
  13582. type: string
  13583. expiretype:
  13584. description: 行权日类型 - 1:滚动行权 2:固定日行权
  13585. type: integer
  13586. freezeqty:
  13587. description: 期初均价
  13588. type: number
  13589. goodscode:
  13590. description: 商品代码
  13591. type: string
  13592. goodsid:
  13593. description: 商品ID
  13594. type: integer
  13595. goodsname:
  13596. description: 商品名称
  13597. type: string
  13598. goodunitid:
  13599. description: 商品单位id
  13600. type: integer
  13601. holderamount:
  13602. description: 持仓金额
  13603. type: number
  13604. holdercredit:
  13605. description: 持仓授信金额
  13606. type: number
  13607. holderdays:
  13608. description: 剩余冻结天数
  13609. type: integer
  13610. holderprice:
  13611. description: 持仓价格
  13612. type: number
  13613. holderqty:
  13614. description: 期初均价
  13615. type: number
  13616. isconfirmexercise:
  13617. description: 是否确认行权- 0:否 1:是
  13618. type: integer
  13619. ispreexercise:
  13620. description: 是否预申报- 0:否 1:是 2:不可行权
  13621. type: integer
  13622. marketid:
  13623. description: 市场id
  13624. type: integer
  13625. marketname:
  13626. description: 市场名称
  13627. type: string
  13628. openprice:
  13629. description: 建仓价格
  13630. type: number
  13631. openqty:
  13632. description: 期初均价
  13633. type: number
  13634. optiontype:
  13635. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  13636. type: integer
  13637. preexerciseprice:
  13638. description: 预申报价格
  13639. type: number
  13640. premium:
  13641. description: 权利金
  13642. type: number
  13643. qtydecimalplace:
  13644. description: 商品成交量小数位
  13645. type: integer
  13646. refgoodscode:
  13647. description: 标的合约代码
  13648. type: string
  13649. refgoodsid:
  13650. description: 标的合约id
  13651. type: integer
  13652. releaseamount:
  13653. description: 释放持仓金额
  13654. type: number
  13655. releaseholdercredit:
  13656. description: 释放持仓授信金额
  13657. type: number
  13658. taname:
  13659. description: 资金账号名称
  13660. type: string
  13661. tradeamount:
  13662. description: 成交金额
  13663. type: number
  13664. tradedate:
  13665. description: 交易日(yyyyMMdd)
  13666. type: string
  13667. tradeid:
  13668. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13669. type: string
  13670. trademode:
  13671. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  13672. 21:竞拍-大宗式 22:受托竞价 46:掉期
  13673. type: integer
  13674. tradeproperty:
  13675. description: 交易属性
  13676. type: integer
  13677. tradetime:
  13678. description: 交易时间
  13679. type: string
  13680. userid:
  13681. description: 用户id
  13682. type: integer
  13683. username:
  13684. description: 用户名称
  13685. type: string
  13686. type: object
  13687. models.Unlinkermcphedgeplan:
  13688. properties:
  13689. accountid:
  13690. description: 期货账户ID - 作废
  13691. type: integer
  13692. accountname:
  13693. description: 交易用户
  13694. type: string
  13695. applyid:
  13696. description: 申请人
  13697. type: integer
  13698. applysrc:
  13699. description: 申请来源 - 1:管理端 2:终端
  13700. type: integer
  13701. applytime:
  13702. description: 申请时间
  13703. type: string
  13704. areauserid:
  13705. description: '[企业ID]机构ID'
  13706. type: integer
  13707. auditid:
  13708. description: 审核人
  13709. type: integer
  13710. auditremark:
  13711. description: 审核备注
  13712. type: string
  13713. auditsrc:
  13714. description: 审核来源 - 1:管理端 2:终端
  13715. type: integer
  13716. audittime:
  13717. description: 审核时间
  13718. type: string
  13719. audittradedate:
  13720. description: 审核交易日(yyyyMMdd)
  13721. type: string
  13722. biztype:
  13723. description: 业务类型 - 1:套保
  13724. type: integer
  13725. contracttype:
  13726. description: 计划类型 - 1:采购 -1:销售
  13727. type: integer
  13728. convertfactor:
  13729. description: 标仓系数 - 作废
  13730. type: number
  13731. createtime:
  13732. description: 创建时间
  13733. type: string
  13734. currencyid:
  13735. description: 结算币种ID - 作废
  13736. type: integer
  13737. deliverygoodsid:
  13738. description: 现货品种ID
  13739. type: integer
  13740. enumdicname:
  13741. description: 结算币种
  13742. type: string
  13743. hedgeplanid:
  13744. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  13745. type: string
  13746. hedgeplanno:
  13747. description: '[计划编号]套保计划编号,模糊查询'
  13748. type: string
  13749. hedgeplanstatus:
  13750. description: '[状态]套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回'
  13751. type: integer
  13752. isrelated:
  13753. description: 是否已关联计划项目 - 0:否 1:是
  13754. type: integer
  13755. planqty:
  13756. description: '[计划量]计划数量'
  13757. type: number
  13758. plantime:
  13759. description: 计划时间
  13760. type: string
  13761. producttype:
  13762. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  13763. type: integer
  13764. remark:
  13765. description: 备注
  13766. type: string
  13767. spotgoodsdesc:
  13768. description: 商品型号
  13769. type: string
  13770. tradedate:
  13771. description: 交易日(yyyyMMdd)
  13772. type: string
  13773. tradeuserid:
  13774. description: 交易用户ID
  13775. type: integer
  13776. updatetime:
  13777. description: 更新时间
  13778. type: string
  13779. wrstandardid:
  13780. description: 现货商品ID
  13781. type: integer
  13782. wrstandardname:
  13783. description: 现货商品,模糊查询
  13784. type: string
  13785. required:
  13786. - areauserid
  13787. type: object
  13788. models.Useraccount:
  13789. properties:
  13790. accountname:
  13791. description: 账户名称(机构名称)
  13792. type: string
  13793. accountstatus:
  13794. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  13795. type: integer
  13796. applysrc:
  13797. description: 申请来源 - 1:管理端 2:终端
  13798. type: integer
  13799. auditremark:
  13800. description: 审核备注
  13801. type: string
  13802. auditsrc:
  13803. description: 审核来源 - 1:管理端 2:终端
  13804. type: integer
  13805. audittime:
  13806. description: 审核时间
  13807. type: string
  13808. audituserid:
  13809. description: 审核人
  13810. type: integer
  13811. broker:
  13812. description: 所属经纪人ID
  13813. type: integer
  13814. canceltime:
  13815. description: 销户时间
  13816. type: string
  13817. canceluserid:
  13818. description: 销户人
  13819. type: integer
  13820. canrecommend:
  13821. description: 是否可推荐 - 0:不可 1;可
  13822. type: integer
  13823. createtime:
  13824. description: 创建时间
  13825. type: string
  13826. creatorid:
  13827. description: 创建人
  13828. type: integer
  13829. hasauth:
  13830. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  13831. type: integer
  13832. isanonymous:
  13833. description: 是否匿名下单 - 0:否 1:是
  13834. type: integer
  13835. maxinvestornum:
  13836. description: 最大用户数(经纪会员下投资者个数)
  13837. type: integer
  13838. memberuserid:
  13839. description: 所属会员ID
  13840. type: integer
  13841. modifierid:
  13842. description: 修改人
  13843. type: integer
  13844. modifyremark:
  13845. description: 变更备注
  13846. type: string
  13847. modifystatus:
  13848. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  13849. type: integer
  13850. modifytime:
  13851. description: 修改时间
  13852. type: string
  13853. parenttopuser:
  13854. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  13855. type: string
  13856. parentuserid:
  13857. description: 所属机构ID
  13858. type: integer
  13859. reckonaccountid:
  13860. description: 默认结算资金账号ID(机构分润使用) 作废
  13861. type: integer
  13862. refercount:
  13863. description: 推荐总人数
  13864. type: integer
  13865. refereeuserid:
  13866. description: 推荐人ID
  13867. type: integer
  13868. refernum:
  13869. description: 推荐码
  13870. type: string
  13871. rootuserid:
  13872. description: 根用户ID
  13873. type: integer
  13874. subaccountlevel:
  13875. description: 子账户层数
  13876. type: integer
  13877. subarealevelpath:
  13878. description: 子机构层级路径(逗号分隔,首尾加逗号)
  13879. type: string
  13880. userid:
  13881. description: 用户ID
  13882. type: integer
  13883. usertype:
  13884. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  13885. type: integer
  13886. required:
  13887. - userid
  13888. type: object
  13889. models.Userfavoritegoods:
  13890. properties:
  13891. goodsid:
  13892. description: 商品ID
  13893. type: integer
  13894. required:
  13895. - goodsid
  13896. type: object
  13897. models.Userinfo:
  13898. properties:
  13899. address:
  13900. description: 地址
  13901. type: string
  13902. attachment1:
  13903. description: 附件1
  13904. type: string
  13905. attachment2:
  13906. description: 附件2
  13907. type: string
  13908. bankaccount:
  13909. description: 银行帐号 (加密存储)
  13910. type: string
  13911. bankaccountname:
  13912. description: 收款人名称
  13913. type: string
  13914. bankcardfrontphotourl:
  13915. description: 银行卡正面照地址
  13916. type: string
  13917. bankid:
  13918. description: 银行编码
  13919. type: string
  13920. bankname:
  13921. description: 银行名称
  13922. type: string
  13923. biznature:
  13924. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  13925. type: integer
  13926. bizscope:
  13927. description: 企业经营范围(企业)
  13928. type: string
  13929. cardbackphotourl:
  13930. description: 证件背面图片地址
  13931. type: string
  13932. cardfrontphotourl:
  13933. description: 证件正面图片地址
  13934. type: string
  13935. cardnum:
  13936. description: 证件号码(加密存储)
  13937. type: string
  13938. cardtypeid:
  13939. description: 证件类型ID
  13940. type: integer
  13941. cityid:
  13942. description: 市
  13943. type: integer
  13944. company:
  13945. description: 公司(个人)
  13946. type: string
  13947. contactname:
  13948. description: 联系人
  13949. type: string
  13950. countryid:
  13951. description: 国家
  13952. type: integer
  13953. createtime:
  13954. description: 创建时间
  13955. type: string
  13956. creatorid:
  13957. description: 创建人
  13958. type: integer
  13959. customername:
  13960. description: 客户名称(企业名称)
  13961. type: string
  13962. districtid:
  13963. description: 地区
  13964. type: integer
  13965. email:
  13966. description: 邮件(加密存储)
  13967. type: string
  13968. fax:
  13969. description: 传真(加密存储)
  13970. type: string
  13971. halfbodyphotourl:
  13972. description: 半身照地址
  13973. type: string
  13974. hasencrypt:
  13975. description: 数据是否已加密 - 0:未加密 1:已加密
  13976. type: integer
  13977. headurl:
  13978. description: 头像地址
  13979. type: string
  13980. legalcardbackphotourl:
  13981. description: 法人身份证背面照地址
  13982. type: string
  13983. legalcardfrontphotourl:
  13984. description: 法人身份证正面照地址
  13985. type: string
  13986. legalpersonname:
  13987. description: 法人姓名(企业)
  13988. type: string
  13989. mobile:
  13990. description: 手机号码(加密存储)
  13991. type: string
  13992. mobile2:
  13993. description: 手机号码[明文-尚志]
  13994. type: string
  13995. modifierid:
  13996. description: 修改人
  13997. type: integer
  13998. modifiertime:
  13999. description: 修改时间
  14000. type: string
  14001. needinvoice:
  14002. description: 是否需要发票 - 0:不需要 1:需要
  14003. type: integer
  14004. nickname:
  14005. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  14006. type: string
  14007. openmode:
  14008. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  14009. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  14010. type: integer
  14011. otherurl:
  14012. description: 其它图片地址[使用分号分隔]
  14013. type: string
  14014. postalcode:
  14015. description: 邮政编码
  14016. type: string
  14017. provinceid:
  14018. description: 省
  14019. type: integer
  14020. qq:
  14021. description: QQ(加密存储
  14022. type: string
  14023. remark:
  14024. description: 备注
  14025. type: string
  14026. sex:
  14027. description: '用户性别 0: 女 1: 男'
  14028. type: integer
  14029. signpdfurl:
  14030. description: 签约pdf文件
  14031. type: string
  14032. telphone:
  14033. description: 联系电话(加密存储)
  14034. type: string
  14035. userid:
  14036. description: 用户ID
  14037. type: integer
  14038. userinfotype:
  14039. description: 用户信息类型 - 1:个人 2:企业
  14040. type: integer
  14041. userstatus:
  14042. description: 用户状态 - 1:正常 2:注销
  14043. type: integer
  14044. usertype:
  14045. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  14046. type: integer
  14047. wechat:
  14048. description: 微信(加密存储)
  14049. type: string
  14050. wskhinfo:
  14051. description: 开户申请信息(JSON)
  14052. type: string
  14053. required:
  14054. - userid
  14055. type: object
  14056. models.WRSConverTDetail:
  14057. properties:
  14058. convertratio:
  14059. description: 套保系数
  14060. type: number
  14061. deliverygoodscode:
  14062. description: 现货商品代码
  14063. type: string
  14064. deliverygoodsid:
  14065. description: 现货品种ID
  14066. type: integer
  14067. deliverygoodsname:
  14068. description: 现货商品名称
  14069. type: string
  14070. enumdicname:
  14071. description: 单位名称
  14072. type: string
  14073. goodsunitid:
  14074. description: 套保品种单位id
  14075. type: integer
  14076. middlegoodscode:
  14077. description: 套保品种代码
  14078. type: string
  14079. middlegoodsid:
  14080. description: 套保品种ID
  14081. type: integer
  14082. middlegoodsname:
  14083. description: 套保品种名称
  14084. type: string
  14085. modifytime:
  14086. description: 修改时间
  14087. type: string
  14088. wrstandardid:
  14089. description: 品类ID
  14090. type: integer
  14091. type: object
  14092. models.WRStandardInfo:
  14093. properties:
  14094. areauserid:
  14095. description: 所属机构
  14096. type: integer
  14097. convertfactor:
  14098. description: 标仓系数
  14099. type: number
  14100. createtime:
  14101. description: 创建时间
  14102. type: string
  14103. creatorid:
  14104. description: 创建人
  14105. type: integer
  14106. deliverygoodsid:
  14107. description: 品种ID
  14108. type: integer
  14109. deliverygoodsname:
  14110. description: 交割商品名称
  14111. type: string
  14112. factoryitemjson:
  14113. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  14114. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  14115. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  14116. 逗号分隔'
  14117. type: string
  14118. isvalid:
  14119. description: 是否有效 - 0:无效 1:有效
  14120. type: integer
  14121. minivalue:
  14122. description: 最小变动值
  14123. type: integer
  14124. minivaluedp:
  14125. description: 最小变动值小数位
  14126. type: integer
  14127. realminivalue:
  14128. description: 实际最小变动值
  14129. type: integer
  14130. realminivaluedp:
  14131. description: 实际最小变动值小数位
  14132. type: integer
  14133. remark:
  14134. description: 备注
  14135. type: string
  14136. unitid:
  14137. description: 单位ID
  14138. type: integer
  14139. unitname:
  14140. description: 单位
  14141. type: string
  14142. updatetime:
  14143. description: 更新时间
  14144. type: string
  14145. updatorid:
  14146. description: 更新人
  14147. type: integer
  14148. wrsstatus:
  14149. description: 状态 - 作废 - 0:未激活 1:正常
  14150. type: integer
  14151. wrstandardcode:
  14152. description: 现货品类代码
  14153. type: string
  14154. wrstandardid:
  14155. description: 现货品类ID(SEQ_WRSTANDARD)
  14156. type: integer
  14157. wrstandardname:
  14158. description: 现货品类名称
  14159. type: string
  14160. required:
  14161. - wrstandardid
  14162. type: object
  14163. models.WRTradeBargainApply:
  14164. properties:
  14165. accountid:
  14166. description: 摘牌资金账号
  14167. type: integer
  14168. applyprice:
  14169. description: 申请价格(议价价格)
  14170. type: string
  14171. applyqty:
  14172. description: 摘牌数量(议价数量)
  14173. type: number
  14174. applyremark:
  14175. description: 申请备注
  14176. type: string
  14177. applystatus:
  14178. description: 申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  14179. type: integer
  14180. applytime:
  14181. description: 申请时间(议价时间)
  14182. type: string
  14183. begindate:
  14184. description: 开始交易日(yyyymmdd)
  14185. type: string
  14186. buyorsell:
  14187. description: 买卖(挂牌类型) - 0:买 1:卖
  14188. type: integer
  14189. confirmremark:
  14190. description: 确认备注
  14191. type: string
  14192. confirmtime:
  14193. description: 确认时间
  14194. type: string
  14195. confirmuserid:
  14196. description: 确认人
  14197. type: integer
  14198. deliverygoodscode:
  14199. description: 品种代码
  14200. type: string
  14201. deliverygoodsid:
  14202. description: 品种ID
  14203. type: integer
  14204. deliverygoodsname:
  14205. description: 品种名称
  14206. type: string
  14207. deliverymonth:
  14208. description: 交收月
  14209. type: string
  14210. enddate:
  14211. description: 结束交易日(yyyymmdd)
  14212. type: string
  14213. enumdicname:
  14214. description: 单位名称
  14215. type: string
  14216. fixedprice:
  14217. description: 期初均价
  14218. type: number
  14219. handlestatus:
  14220. description: 处理状态
  14221. type: integer
  14222. marginvalue:
  14223. description: 期初均价
  14224. type: number
  14225. marketid:
  14226. description: 市场ID
  14227. type: integer
  14228. matchaccountid:
  14229. description: 挂牌方资金账号
  14230. type: integer
  14231. matchuserid:
  14232. description: 挂牌方用户id
  14233. type: integer
  14234. matchusername:
  14235. description: 挂牌方用户名称(已脱敏)
  14236. type: string
  14237. minivalue:
  14238. description: 现货商品最小变动值
  14239. type: integer
  14240. optioncompare:
  14241. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14242. type: string
  14243. orderqty:
  14244. description: 挂牌数量
  14245. type: integer
  14246. refprice:
  14247. description: 参考价格
  14248. type: string
  14249. retcode:
  14250. description: 委托返回代码
  14251. type: integer
  14252. templatename:
  14253. description: 履约方式(履约模板名称)
  14254. type: string
  14255. tradedate:
  14256. description: 交易日(yyyyMMdd)
  14257. type: string
  14258. userid:
  14259. description: 摘牌人用户ID(议价人ID)
  14260. type: integer
  14261. username:
  14262. description: 议价人名字(已脱敏)
  14263. type: string
  14264. validtime:
  14265. description: 有效期限
  14266. type: string
  14267. warehouseid:
  14268. description: 仓库ID
  14269. type: integer
  14270. warehousename:
  14271. description: 仓库名称
  14272. type: string
  14273. wrbargainid:
  14274. description: 议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)
  14275. type: string
  14276. wrfactortypeid:
  14277. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  14278. type: string
  14279. wrfactortypename:
  14280. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14281. type: string
  14282. wrstandardcode:
  14283. description: 现货商品代码
  14284. type: string
  14285. wrstandardid:
  14286. description: 现货商品ID
  14287. type: integer
  14288. wrstandardname:
  14289. description: 商品名称
  14290. type: string
  14291. wrtradeorderid:
  14292. description: 关联委托单ID
  14293. type: string
  14294. wrtypename:
  14295. description: 商品
  14296. type: string
  14297. type: object
  14298. models.Warehouseinfo:
  14299. properties:
  14300. address:
  14301. description: 详细地址
  14302. type: string
  14303. areauserid:
  14304. description: 所属机构
  14305. type: integer
  14306. autoid:
  14307. description: 自增ID
  14308. type: integer
  14309. cityid:
  14310. description: 市
  14311. type: integer
  14312. contactname:
  14313. description: 联系人
  14314. type: string
  14315. contactnum:
  14316. description: 联系电话
  14317. type: string
  14318. countryid:
  14319. description: 国家
  14320. type: integer
  14321. createtime:
  14322. description: 创建时间
  14323. type: string
  14324. districtid:
  14325. description: 区
  14326. type: integer
  14327. hasvideo:
  14328. description: 是否有视频 - 0:无 1:有
  14329. type: integer
  14330. provinceid:
  14331. description: 省
  14332. type: integer
  14333. remark:
  14334. description: 审核备注
  14335. type: string
  14336. videourl:
  14337. description: 视频地址
  14338. type: string
  14339. warehousecode:
  14340. description: 仓库代码
  14341. type: string
  14342. warehousename:
  14343. description: 仓库名称
  14344. type: string
  14345. warehousestatus:
  14346. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  14347. type: integer
  14348. warehousetype:
  14349. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  14350. type: integer
  14351. required:
  14352. - autoid
  14353. - warehousecode
  14354. type: object
  14355. models.WrAverageTradePrice:
  14356. properties:
  14357. averageprice:
  14358. description: 期初均价
  14359. type: number
  14360. tradedate:
  14361. description: 交易日yyyymm
  14362. type: string
  14363. type: object
  14364. models.WrBrandAndYears:
  14365. properties:
  14366. brandlst:
  14367. description: 品牌列表
  14368. items:
  14369. $ref: '#/definitions/models.DgFactoryItem'
  14370. type: array
  14371. yearslst:
  14372. description: 年份列表
  14373. items:
  14374. $ref: '#/definitions/models.DgFactoryItem'
  14375. type: array
  14376. type: object
  14377. models.WrBsGoodsInfo:
  14378. properties:
  14379. buyorsell:
  14380. description: 买卖方向 0-买 1-卖
  14381. type: integer
  14382. goodsid:
  14383. description: 交易合约ID
  14384. type: integer
  14385. lstitem:
  14386. description: 商品信息项
  14387. items:
  14388. $ref: '#/definitions/models.WrTypeItem'
  14389. type: array
  14390. lststep:
  14391. description: 履约规则
  14392. items:
  14393. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  14394. type: array
  14395. type: object
  14396. models.WrBuybackDetail:
  14397. properties:
  14398. buybackamount:
  14399. description: 回购金额
  14400. type: number
  14401. buybackqty:
  14402. description: 回购数量
  14403. type: number
  14404. buybackreleasemargin:
  14405. description: 回购释放保证金
  14406. type: number
  14407. buybacktime:
  14408. description: 回购时间
  14409. type: string
  14410. errordesc:
  14411. description: 错误描述
  14412. type: string
  14413. handlestatus:
  14414. description: 处理 - 1:待处理 2:处理成功 3:处理失败
  14415. type: integer
  14416. relatedwrid:
  14417. description: 关联仓单ID
  14418. type: integer
  14419. scfcontractid:
  14420. description: SCF合同ID
  14421. type: string
  14422. scfwrbuybackid:
  14423. description: SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)
  14424. type: integer
  14425. tradedate:
  14426. description: 交易日(yyyyMMdd)
  14427. type: string
  14428. type: object
  14429. models.WrClientAdSpaceConfig:
  14430. properties:
  14431. adspaceid:
  14432. description: 广告位ID
  14433. type: integer
  14434. adspacename:
  14435. description: 广告位名称
  14436. type: string
  14437. adspacetype:
  14438. description: 广告位类型 - 1:固定广告位
  14439. type: integer
  14440. areauserid:
  14441. description: 所属机构ID
  14442. type: integer
  14443. createdate:
  14444. description: 创建时间
  14445. type: string
  14446. imagepath:
  14447. description: 图片
  14448. type: string
  14449. modifierid:
  14450. description: 操作人
  14451. type: integer
  14452. recsize:
  14453. description: 推荐尺寸
  14454. type: string
  14455. title:
  14456. description: 标题
  14457. type: string
  14458. updatedate:
  14459. description: 更新时间
  14460. type: string
  14461. urlcontent:
  14462. description: 链接(地址\商品ID\功能菜单Key\appid)
  14463. type: string
  14464. urltype:
  14465. description: 链接类型 - 0:无 1:直接地址 2:商品ID 3:图片详情 4:App功能 5:微信小程序
  14466. type: integer
  14467. type: object
  14468. models.WrDeliveryAvalidHoldLB:
  14469. properties:
  14470. accountid:
  14471. description: 资金账号
  14472. type: integer
  14473. avalidqty:
  14474. description: 数量(可点选数量)
  14475. type: number
  14476. deliverygoodsid:
  14477. description: 品种id
  14478. type: integer
  14479. enumdicname:
  14480. description: 单位名称
  14481. type: string
  14482. goodsid:
  14483. description: x合约商品id
  14484. type: integer
  14485. ladingbillid:
  14486. description: 提单id
  14487. type: string
  14488. pgoodscode:
  14489. description: p商品代码(点价合约)
  14490. type: string
  14491. pgoodsid:
  14492. description: p商品id(点价合约)
  14493. type: integer
  14494. pgoodsname:
  14495. description: p商品名称(点价合约)
  14496. type: string
  14497. pricemove:
  14498. description: 升贴水
  14499. type: number
  14500. subnum:
  14501. description: 提单子id
  14502. type: integer
  14503. userid:
  14504. description: 用户id
  14505. type: integer
  14506. username:
  14507. description: 仓单持有人
  14508. type: string
  14509. warehousecode:
  14510. description: 仓库代码
  14511. type: string
  14512. warehouseid:
  14513. description: 仓库id
  14514. type: integer
  14515. warehousename:
  14516. description: 仓库名称
  14517. type: string
  14518. wrfactortypeid:
  14519. description: 仓单要素id
  14520. type: string
  14521. wrstandardcode:
  14522. description: 品代码
  14523. type: string
  14524. wrstandardid:
  14525. description: 品类d
  14526. type: integer
  14527. wrstandardname:
  14528. description: 品类名称
  14529. type: string
  14530. wrtypename:
  14531. description: 商品
  14532. type: string
  14533. xgoodscode:
  14534. description: x合约代码
  14535. type: string
  14536. xgoodsname:
  14537. description: x合约名称
  14538. type: string
  14539. type: object
  14540. models.WrDeliveryDetail:
  14541. properties:
  14542. accountid:
  14543. description: 账号ID
  14544. type: integer
  14545. averageprice:
  14546. description: 期初均价
  14547. type: number
  14548. begindate:
  14549. description: 开始交易日(yyyymmdd)
  14550. type: string
  14551. buyorsell:
  14552. description: 方向 - 0:买 1:卖
  14553. type: integer
  14554. deliveryamount:
  14555. description: 货款金额(X总货款+P总货款)
  14556. type: number
  14557. deliveryid:
  14558. description: 交割单号(121+Unix秒时间戳(10位)+xxxxxx)
  14559. type: string
  14560. deliveryorderid:
  14561. description: 申报单号
  14562. type: string
  14563. deliverypricemove:
  14564. description: 升贴水(升贴水总额)
  14565. type: number
  14566. deliveryqty:
  14567. description: 交收数量(点选数量)
  14568. type: number
  14569. deliverystatus:
  14570. description: 状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成
  14571. type: integer
  14572. deliverytime:
  14573. description: 交割时间
  14574. type: string
  14575. deliverytotalamount:
  14576. description: 交收金额
  14577. type: number
  14578. enddate:
  14579. description: 结束交易日(yyyymmdd)
  14580. type: string
  14581. enumdicname:
  14582. description: 单位名称
  14583. type: string
  14584. matchaccountid:
  14585. description: 对手账号ID
  14586. type: integer
  14587. matchusername:
  14588. description: 对手方名称(仓单持有人)
  14589. type: string
  14590. p1goodsremainamount:
  14591. description: 点价货款 ps:当PPRICEMODE=2时, 界面需显示"-"
  14592. type: number
  14593. pdeliverycloseqty:
  14594. description: p合约平仓数量
  14595. type: number
  14596. pdeliveryprice:
  14597. description: 点价价格 ps:当PPRICEMODE=2时, 界面需显示"-"
  14598. type: number
  14599. pgoodscode:
  14600. description: 商品代码
  14601. type: string
  14602. pgoodsid:
  14603. description: p点选合约id
  14604. type: integer
  14605. pgoodsname:
  14606. description: 商品名称
  14607. type: string
  14608. ppricemode:
  14609. description: 点价价格方式 - 1:商品价 2:固定值
  14610. type: integer
  14611. tradedate:
  14612. description: 交易日(yyyymmdd)
  14613. type: string
  14614. userid:
  14615. description: 用户id
  14616. type: integer
  14617. username:
  14618. description: 用户名称
  14619. type: string
  14620. warehousename:
  14621. description: 仓库名称
  14622. type: string
  14623. wrfactortypeid:
  14624. description: 仓单要素类型ID
  14625. type: string
  14626. wrtypename:
  14627. description: 商品
  14628. type: string
  14629. xdeliverycloseqty:
  14630. description: 合约数量
  14631. type: number
  14632. xgoodsamount:
  14633. description: 期初均价
  14634. type: number
  14635. xgoodscode:
  14636. description: 商品代码
  14637. type: string
  14638. xgoodsid:
  14639. description: x交易合约ID
  14640. type: integer
  14641. xgoodsname:
  14642. description: 商品名称
  14643. type: string
  14644. type: object
  14645. models.WrDeliveryGoodsSection:
  14646. properties:
  14647. dglst:
  14648. description: 板块商品列表
  14649. items:
  14650. $ref: '#/definitions/models.WrDeliveryGoodsSectionConfig'
  14651. type: array
  14652. imagepath:
  14653. description: 图片地址
  14654. type: string
  14655. orderindex:
  14656. description: 排序
  14657. type: integer
  14658. sectionid:
  14659. description: 版块ID (SEQ_DELIVERYGOODSSECTION) - 自增100开始, 前面ID预留给SectionType
  14660. = 1的版块1 - 云融指数
  14661. type: integer
  14662. sectionname:
  14663. description: 版块名称
  14664. type: string
  14665. sectiontype:
  14666. description: 版块类型 - 1:指数版块 2:普通版块
  14667. type: integer
  14668. type: object
  14669. models.WrDeliveryGoodsSectionConfig:
  14670. properties:
  14671. deliverygoodscode:
  14672. description: 现货商品代码
  14673. type: string
  14674. deliverygoodsid:
  14675. description: 现货品种ID(SEQ_DELIVERYGOODS)
  14676. type: integer
  14677. deliverygoodsname:
  14678. description: 现货商品名称
  14679. type: string
  14680. orderindex:
  14681. description: 排序
  14682. type: integer
  14683. type: object
  14684. models.WrDraftUserInfo:
  14685. properties:
  14686. address:
  14687. description: 地址
  14688. type: string
  14689. attachment1:
  14690. description: 附件1
  14691. type: string
  14692. attachment2:
  14693. description: 附件2
  14694. type: string
  14695. attachment3:
  14696. description: 附件3
  14697. type: string
  14698. attachment4:
  14699. description: 附件4
  14700. type: string
  14701. attachment5:
  14702. description: 附件5
  14703. type: string
  14704. bankaccount:
  14705. description: 银行帐号 (加密存储)
  14706. type: string
  14707. bankaccountname:
  14708. description: 收款人名称
  14709. type: string
  14710. bankcardfrontphotourl:
  14711. description: 银行卡正面照地址
  14712. type: string
  14713. bankid:
  14714. description: 银行编码
  14715. type: string
  14716. bankname:
  14717. description: 银行名称
  14718. type: string
  14719. birthday:
  14720. description: 生日(个人:年月日)
  14721. type: string
  14722. biznature:
  14723. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  14724. type: integer
  14725. bizscope:
  14726. description: 企业经营范围(企业)
  14727. type: string
  14728. biztype:
  14729. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  14730. type: integer
  14731. cardbackphotourl:
  14732. description: 证件背面图片地址
  14733. type: string
  14734. cardfrontphotourl:
  14735. description: 证件正面图片地址
  14736. type: string
  14737. cardnum:
  14738. description: 证件号码(加密存储)
  14739. type: string
  14740. cardtypeid:
  14741. description: 证件类型ID
  14742. type: integer
  14743. cityid:
  14744. description: 市
  14745. type: integer
  14746. company:
  14747. description: 公司(个人)
  14748. type: string
  14749. contactcardbackphotourl:
  14750. description: 联系人证件背面图片地址
  14751. type: string
  14752. contactcardfrontphotourl:
  14753. description: 联系人证件正面图片地址
  14754. type: string
  14755. contactname:
  14756. description: 联系人
  14757. type: string
  14758. countryid:
  14759. description: 国家
  14760. type: integer
  14761. createtime:
  14762. description: 创建时间
  14763. type: string
  14764. creatorid:
  14765. description: 创建人
  14766. type: integer
  14767. creditquota:
  14768. description: 授信额度(金瑞)
  14769. type: number
  14770. customername:
  14771. description: 客户名称(企业名称)
  14772. type: string
  14773. districtid:
  14774. description: 地区
  14775. type: integer
  14776. email:
  14777. description: 邮件(加密存储)
  14778. type: string
  14779. fax:
  14780. description: 传真(加密存储)
  14781. type: string
  14782. halfbodyphotourl:
  14783. description: 半身照地址
  14784. type: string
  14785. hasencrypt:
  14786. description: 数据是否已加密 - 0:未加密 1:已加密
  14787. type: integer
  14788. headurl:
  14789. description: 头像地址
  14790. type: string
  14791. legalcardbackphotourl:
  14792. description: 法人身份证背面照地址
  14793. type: string
  14794. legalcardfrontphotourl:
  14795. description: 法人身份证正面照地址
  14796. type: string
  14797. legalpersonname:
  14798. description: 法人姓名(企业)
  14799. type: string
  14800. mobile:
  14801. description: 手机号码(加密存储)
  14802. type: string
  14803. mobile2:
  14804. description: 手机号码[明文-尚志]
  14805. type: string
  14806. modifierid:
  14807. description: 修改人
  14808. type: integer
  14809. modifiertime:
  14810. description: 修改时间
  14811. type: string
  14812. needinvoice:
  14813. description: 是否需要发票 - 0:不需要 1:需要
  14814. type: integer
  14815. nickname:
  14816. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  14817. type: string
  14818. openmode:
  14819. description: "开户方式 - 1:管理端开户 2\t:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  14820. 6:苹果手机端注册 7:PC交易端注册"
  14821. type: integer
  14822. otherurl:
  14823. description: 其它图片地址[使用分号分隔]
  14824. type: string
  14825. postalcode:
  14826. description: 邮政编码
  14827. type: string
  14828. provinceid:
  14829. description: 省
  14830. type: integer
  14831. proxystatementurl:
  14832. description: 授权委托书
  14833. type: string
  14834. qq:
  14835. description: QQ(加密存储
  14836. type: string
  14837. remark:
  14838. description: 备注
  14839. type: string
  14840. sex:
  14841. description: '用户性别 0: 女 1: 男'
  14842. type: integer
  14843. signpdfurl:
  14844. description: 签约pdf文件
  14845. type: string
  14846. taxpayernum:
  14847. description: 纳税人识别号
  14848. type: string
  14849. telphone:
  14850. description: 联系电话(加密存储)
  14851. type: string
  14852. userid:
  14853. description: 用户ID
  14854. type: integer
  14855. userinfotype:
  14856. description: 用户信息类型 - 1:个人 2:企业
  14857. type: integer
  14858. userstatus:
  14859. description: 用户状态 - 1:正常 2:注销
  14860. type: integer
  14861. usertype:
  14862. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者
  14863. type: integer
  14864. wechat:
  14865. description: 微信(加密存储)
  14866. type: string
  14867. wskhinfo:
  14868. description: 开户申请信息(JSON)
  14869. type: string
  14870. type: object
  14871. models.WrFAProductDetail:
  14872. properties:
  14873. accountid:
  14874. description: 资金账号
  14875. type: integer
  14876. areauserid:
  14877. description: 金融机构ID
  14878. type: integer
  14879. financingdays:
  14880. description: 天数(天)
  14881. type: integer
  14882. interestminlen:
  14883. description: 最小起息天数
  14884. type: integer
  14885. interestrate:
  14886. description: 利率
  14887. type: number
  14888. interestratemode:
  14889. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  14890. type: integer
  14891. interestsettlemode:
  14892. description: 结息方式 - 1:按日结息 3:按月结息
  14893. type: integer
  14894. interestsettlevalue:
  14895. description: 结息方式值
  14896. type: integer
  14897. isautoloan:
  14898. description: 是否自动放款 0-手动 1-自动 (当为自动放款时,显示"放款快")
  14899. type: integer
  14900. loantag:
  14901. description: '放款标识: "放款快" 或者为空'
  14902. type: string
  14903. marginratio:
  14904. description: 保证金比率质押率 - [仓单质押]
  14905. type: number
  14906. productdetailid:
  14907. description: 产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)
  14908. type: integer
  14909. productid:
  14910. description: 金融产品ID
  14911. type: integer
  14912. productname:
  14913. description: 产品名称
  14914. type: string
  14915. updatetime:
  14916. description: 更新时间
  14917. type: string
  14918. username:
  14919. description: 融出方
  14920. type: string
  14921. type: object
  14922. models.WrFactorTypeInfo:
  14923. properties:
  14924. deliverygoodscode:
  14925. description: 品种代码
  14926. type: string
  14927. deliverygoodsname:
  14928. description: 品种名称
  14929. type: string
  14930. dgfactoryitemid:
  14931. description: 选择项id
  14932. type: integer
  14933. dgfactoryitemtypeid:
  14934. description: 要素选择项ID (1-仓库 2-品牌)
  14935. type: integer
  14936. dgfactoryitemvalue:
  14937. description: 要素项值
  14938. type: string
  14939. itemtypename:
  14940. description: 要素项名称
  14941. type: string
  14942. optioncompare:
  14943. description: 选择比较串
  14944. type: string
  14945. warehouseid:
  14946. description: 仓库id
  14947. type: integer
  14948. wrfactortypeid:
  14949. description: 仓单要素ID
  14950. type: string
  14951. wrfactortypename:
  14952. description: 要素名称
  14953. type: string
  14954. wrfactortypename2:
  14955. description: 要素名称(不含仓库)
  14956. type: string
  14957. wrstandardcode:
  14958. description: 品类代码
  14959. type: string
  14960. wrstandardid:
  14961. description: 品类id
  14962. type: integer
  14963. wrstandardname:
  14964. description: 品类名称
  14965. type: string
  14966. type: object
  14967. models.WrFilterItem:
  14968. properties:
  14969. itemcode:
  14970. description: 代码
  14971. type: string
  14972. itemid:
  14973. description: 项id
  14974. type: integer
  14975. itemname:
  14976. description: 名称
  14977. type: string
  14978. itemtype:
  14979. description: 类型 1-品种 2-品类(商品) 3-仓库
  14980. type: integer
  14981. type: object
  14982. models.WrFinanceBuyApply:
  14983. properties:
  14984. applydate:
  14985. description: 申请时间
  14986. type: string
  14987. applystatus:
  14988. description: 申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败
  14989. type: integer
  14990. applyuserid:
  14991. description: 申请人
  14992. type: integer
  14993. auditdate:
  14994. description: 审核时间
  14995. type: string
  14996. auditremark:
  14997. description: 审核备注
  14998. type: string
  14999. audituserid:
  15000. description: 审核人
  15001. type: integer
  15002. buyaccountid:
  15003. description: 买方资金账号
  15004. type: integer
  15005. buyorsell:
  15006. description: 买卖 - 0:买 1:卖
  15007. type: integer
  15008. buyuserid:
  15009. description: 买方用户ID
  15010. type: integer
  15011. buyusername:
  15012. description: 买方名称
  15013. type: string
  15014. buywrtradeorderid:
  15015. description: 融资方买委托单ID
  15016. type: string
  15017. deliverygoodscode:
  15018. description: 品种代码
  15019. type: string
  15020. deliverygoodsid:
  15021. description: 品种ID
  15022. type: integer
  15023. deliverygoodsname:
  15024. description: 品种名称
  15025. type: string
  15026. deliverymonth:
  15027. description: 交收月(yyyy-MM) [无仓单HasWR =0]
  15028. type: string
  15029. enumdicname:
  15030. description: 单位名称
  15031. type: string
  15032. financeaccountid:
  15033. description: 融资方资金帐户ID
  15034. type: integer
  15035. financeapplyid:
  15036. description: 融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)
  15037. type: string
  15038. financeareauserid:
  15039. description: 融资方用户ID
  15040. type: string
  15041. financename:
  15042. description: 融出方名称
  15043. type: string
  15044. financetype:
  15045. description: 融资类型 1-融资回购
  15046. type: integer
  15047. financingdays:
  15048. description: 天数(天)
  15049. type: integer
  15050. freezebuymargin:
  15051. description: 冻结融资保证金(买方)
  15052. type: number
  15053. handleremark:
  15054. description: 处理备注
  15055. type: string
  15056. handlestatus:
  15057. description: 处理状态
  15058. type: integer
  15059. interestminlen:
  15060. description: 最小起息天数
  15061. type: integer
  15062. interestrate:
  15063. description: 利率
  15064. type: number
  15065. interestratemode:
  15066. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  15067. type: integer
  15068. interestsettlemode:
  15069. description: 结息方式 - 1:按日结息 3:按月结息
  15070. type: integer
  15071. interestsettlevalue:
  15072. description: 结息方式值
  15073. type: integer
  15074. isautoloan:
  15075. description: 是否自动放款 - 0:手动 1:自动
  15076. type: integer
  15077. marginratio:
  15078. description: 保证金比率质押率 - [仓单质押]
  15079. type: number
  15080. marketid:
  15081. description: 市场ID
  15082. type: integer
  15083. minivalue:
  15084. description: 现货商品最小变动值
  15085. type: integer
  15086. optioncompare:
  15087. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15088. type: string
  15089. orderqty:
  15090. description: 委托数量(商品数量)
  15091. type: number
  15092. productdetailid:
  15093. description: 产品组合ID
  15094. type: integer
  15095. productid:
  15096. description: 金融产品ID
  15097. type: integer
  15098. productname:
  15099. description: 产品名称
  15100. type: string
  15101. remark:
  15102. description: 备注
  15103. type: string
  15104. scfcontractid:
  15105. description: 仓单回购合同ID
  15106. type: string
  15107. sellaccountid:
  15108. description: 卖方资金账号
  15109. type: integer
  15110. selluserid:
  15111. description: 卖方用户ID
  15112. type: integer
  15113. sellwrtradeorderid:
  15114. description: 卖方委托单ID
  15115. type: string
  15116. tradeamount:
  15117. description: 成交金额(借款金额)
  15118. type: number
  15119. tradedate:
  15120. description: 交易日(yyyyMMdd)
  15121. type: string
  15122. tradeprice:
  15123. description: 成交价格
  15124. type: number
  15125. warehouseid:
  15126. description: 仓库ID
  15127. type: integer
  15128. warehousename:
  15129. description: 仓库名称
  15130. type: string
  15131. wrfactortypeid:
  15132. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15133. type: string
  15134. wrfactortypename:
  15135. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15136. type: string
  15137. wrpricetype:
  15138. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌单]
  15139. type: integer
  15140. wrstandardcode:
  15141. description: 现货商品代码
  15142. type: string
  15143. wrstandardid:
  15144. description: 现货商品ID
  15145. type: integer
  15146. wrstandardname:
  15147. description: 商品名称
  15148. type: string
  15149. wrtypename:
  15150. description: 商品
  15151. type: string
  15152. type: object
  15153. models.WrFriendApply:
  15154. properties:
  15155. applicantid:
  15156. description: 申请人
  15157. type: integer
  15158. applyname:
  15159. description: 申请人名称
  15160. type: string
  15161. applysrc:
  15162. description: 申请来源 - 1:管理端 2:终端
  15163. type: integer
  15164. applystatus:
  15165. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  15166. type: integer
  15167. applytime:
  15168. description: 申请时间
  15169. type: string
  15170. auditname:
  15171. description: 审核人名称
  15172. type: string
  15173. auditorid:
  15174. description: 审核人
  15175. type: integer
  15176. auditremark:
  15177. description: 审核备注
  15178. type: string
  15179. auditsrc:
  15180. description: 审核来源 - 1:管理端 2:终端
  15181. type: integer
  15182. audittime:
  15183. description: 审核时间
  15184. type: string
  15185. friendapplyid:
  15186. description: 申请ID(SEQ_FRIENDAPPLY)
  15187. type: string
  15188. friendname:
  15189. description: 好友名字(已脱敏)
  15190. type: string
  15191. frienduserid:
  15192. description: 好友用户ID
  15193. type: string
  15194. remark:
  15195. description: 备注
  15196. type: string
  15197. userid:
  15198. description: 申请人用户ID
  15199. type: integer
  15200. type: object
  15201. models.WrFtDeliveryGoods:
  15202. properties:
  15203. deliverygoodscode:
  15204. description: 品种代码
  15205. type: string
  15206. deliverygoodsid:
  15207. description: 品种ID
  15208. type: integer
  15209. deliverygoodsname:
  15210. description: 品种名称
  15211. type: string
  15212. wdlst:
  15213. description: 商品列表
  15214. items:
  15215. $ref: '#/definitions/models.WrFtWrstandard'
  15216. type: array
  15217. type: object
  15218. models.WrFtWrstandard:
  15219. properties:
  15220. enumdicname:
  15221. description: 单位名称
  15222. type: string
  15223. minivalue:
  15224. description: 最小变动值
  15225. type: integer
  15226. wrstandardcode:
  15227. description: 现货商品代码
  15228. type: string
  15229. wrstandardid:
  15230. description: 现货商品ID
  15231. type: integer
  15232. wrstandardname:
  15233. description: 商品名称
  15234. type: string
  15235. type: object
  15236. models.WrGoodsInfo:
  15237. properties:
  15238. haswr:
  15239. description: 0:仓单预售 1:仓单贸易
  15240. type: integer
  15241. lstitem:
  15242. description: 商品信息项
  15243. items:
  15244. $ref: '#/definitions/models.WrTypeItem'
  15245. type: array
  15246. lststep:
  15247. description: 履约规则
  15248. items:
  15249. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  15250. type: array
  15251. marketid:
  15252. description: 市场id
  15253. type: integer
  15254. type: object
  15255. models.WrGoodsPerformanceStep:
  15256. properties:
  15257. autoid:
  15258. description: AutoID
  15259. type: integer
  15260. isauto:
  15261. description: 是否自动 - 0:不自动 1:自动
  15262. type: integer
  15263. remark:
  15264. description: 备注
  15265. type: string
  15266. stepdate:
  15267. description: 天数信息(T+N)
  15268. type: string
  15269. stepdays:
  15270. description: 距离上一步天数
  15271. type: integer
  15272. stepindex:
  15273. description: 步骤序号
  15274. type: integer
  15275. stepinfo:
  15276. description: 步骤信息(步骤名称+步骤值)
  15277. type: string
  15278. steptypeid:
  15279. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  15280. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  15281. type: integer
  15282. steptypename:
  15283. description: 步骤名称
  15284. type: string
  15285. stepvalue:
  15286. description: 期初均价
  15287. type: number
  15288. templateid:
  15289. description: 履约计划模板ID
  15290. type: integer
  15291. type: object
  15292. models.WrHoldLB:
  15293. properties:
  15294. accountid:
  15295. description: 持有人帐户ID
  15296. type: integer
  15297. bannerpicurl:
  15298. description: Banner图
  15299. type: string
  15300. createtime:
  15301. description: 创建时间(过户时间)
  15302. type: string
  15303. deliverygoodscode:
  15304. description: 品种代码
  15305. type: string
  15306. deliverygoodsid:
  15307. description: 品种ID
  15308. type: integer
  15309. deliverygoodsname:
  15310. description: 品种名称
  15311. type: string
  15312. enableqty:
  15313. description: 可用数量
  15314. type: number
  15315. enumdicname:
  15316. description: 单位名称
  15317. type: string
  15318. freezerqty:
  15319. description: 冻结数量
  15320. type: number
  15321. ladingbillid:
  15322. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  15323. type: string
  15324. minivalue:
  15325. description: 现货商品最小变动值
  15326. type: integer
  15327. optioncompare:
  15328. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15329. type: string
  15330. parentsubnum:
  15331. description: 拆分父子单号
  15332. type: integer
  15333. pledgeqty:
  15334. description: 质押数量
  15335. type: number
  15336. qty:
  15337. description: 数量
  15338. type: number
  15339. subnum:
  15340. description: 提单子单号
  15341. type: integer
  15342. thumurls:
  15343. description: 缩略图
  15344. type: string
  15345. tradedate:
  15346. description: 交易日(yyyyMMdd)
  15347. type: string
  15348. userid:
  15349. description: 持有人ID
  15350. type: integer
  15351. warehouseid:
  15352. description: 仓库ID
  15353. type: integer
  15354. warehousename:
  15355. description: 仓库名称
  15356. type: string
  15357. wrfactortypeid:
  15358. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15359. type: string
  15360. wrfactortypename:
  15361. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15362. type: string
  15363. wrholdeno:
  15364. description: 仓单编号
  15365. type: string
  15366. wrid:
  15367. description: 仓单变更ID
  15368. type: string
  15369. wrstandardcode:
  15370. description: 现货商品代码
  15371. type: string
  15372. wrstandardid:
  15373. description: 现货商品ID
  15374. type: integer
  15375. wrstandardname:
  15376. description: 商品名称
  15377. type: string
  15378. wrtypename:
  15379. description: 商品
  15380. type: string
  15381. type: object
  15382. models.WrMarketTradeConfig:
  15383. properties:
  15384. basisdownratio:
  15385. description: 浮动价基差下限比例(仓单贸易)
  15386. type: number
  15387. basisupratio:
  15388. description: 浮动价基差上限比例(仓单贸易)
  15389. type: number
  15390. buychargealgorithm:
  15391. description: 买方手续费收取方式 1:比率 2:固定
  15392. type: integer
  15393. buychargealgorithm2:
  15394. description: 回购买方手续费收取方式 1:比率 2:固定 --77:现货商城
  15395. type: integer
  15396. buychargealgorithmvalue:
  15397. description: 买方手续费设置值(交易所部分)
  15398. type: number
  15399. buychargealgorithmvalue2:
  15400. description: 买方手续费设置值(会员部分)
  15401. type: number
  15402. buychargealgorithmvalue3:
  15403. description: 回购买方手续费设置值(交易所部分) --77:现货商城
  15404. type: number
  15405. buychargealgorithmvalue4:
  15406. description: 回购买方手续费设置值(会员部分) --77:现货商城
  15407. type: number
  15408. buyfirstmarginalgorithm:
  15409. description: 买方出价保证金方式 - 1:比率 2:固定 - [竞拍]
  15410. type: integer
  15411. buyfirstmarginvalue:
  15412. description: 买方出价保证金设置值 - [竞拍]
  15413. type: number
  15414. buymarginalgorithm:
  15415. description: 买方保证金方式 - 1:比率 2:固定
  15416. type: integer
  15417. buymarginvalue:
  15418. description: 买方保证金设置值
  15419. type: number
  15420. buyreleaseratio:
  15421. description: 买方释放比率[2:分步履约]
  15422. type: number
  15423. executemode:
  15424. description: 执行方式[2:分步履约] - 1:顺序执行 2:交叉执行
  15425. type: integer
  15426. executeside:
  15427. description: 执行方[2:分步履约] - 1:买方 2:卖方
  15428. type: integer
  15429. failedchargealgorithm:
  15430. description: 流拍手续费收取方式 1:比率 2:固定
  15431. type: integer
  15432. failedchargevalue:
  15433. description: 流拍手续费设置值
  15434. type: number
  15435. failedchargevalue2:
  15436. description: 流拍卖方手续费设置值
  15437. type: number
  15438. holddays:
  15439. description: 合同期限[2:分步履约]
  15440. type: integer
  15441. listingmode:
  15442. description: 挂牌方式 - 1:一口价 2:浮动价 3:贸易圈 4:协议指定
  15443. type: integer
  15444. marketid:
  15445. description: 市场ID-仓单贸易、竞拍、预售
  15446. type: integer
  15447. minqty:
  15448. description: 最小执行量[2:分步履约]
  15449. type: number
  15450. modifierid:
  15451. description: 修改人
  15452. type: integer
  15453. nowrquotaflag:
  15454. description: 是否校验无仓单额度(仓单贸易) - 0:否 1:是
  15455. type: integer
  15456. performancetempid:
  15457. description: 履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  15458. 立即执行(-1)
  15459. type: integer
  15460. performancetempid2:
  15461. description: 履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  15462. 立即执行
  15463. type: integer
  15464. performancetempid2s:
  15465. description: 履约计划模板IDs(无仓单) - 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货
  15466. - 履约方式: 立即执行
  15467. type: string
  15468. performancetempids:
  15469. description: 履约计划模板IDs(有仓单)- 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货
  15470. - 履约方式: 立即执行(-1)
  15471. type: string
  15472. performanceway:
  15473. description: 交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]
  15474. type: integer
  15475. sellchargealgorithm:
  15476. description: 卖方手续费收取方式 1:比率 2:固定
  15477. type: integer
  15478. sellchargealgorithm2:
  15479. description: 回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城
  15480. type: integer
  15481. sellchargealgorithmvalue:
  15482. description: 卖方手续费设置值(交易所部分)
  15483. type: number
  15484. sellchargealgorithmvalue2:
  15485. description: 卖方手续费设置值(会员部分)
  15486. type: number
  15487. sellchargealgorithmvalue3:
  15488. description: 回购卖方手续费设置值(交易所部分) --77:现货商城
  15489. type: number
  15490. sellchargealgorithmvalue4:
  15491. description: 回购卖方手续费设置值(会员部分) --77:现货商城
  15492. type: number
  15493. sellmarginalgorithm:
  15494. description: 卖方保证金方式 - 1:比率 2:固定
  15495. type: integer
  15496. sellmarginvalue:
  15497. description: 卖方保证金设置值
  15498. type: number
  15499. sellmarginvalue2:
  15500. description: 卖方保证金设置值(无仓单)
  15501. type: number
  15502. sellreleaseratio:
  15503. description: 卖方释放比率[2:分步履约]
  15504. type: number
  15505. updatetime:
  15506. description: 更新时间
  15507. type: string
  15508. type: object
  15509. models.WrOrderDetail:
  15510. properties:
  15511. accountid:
  15512. description: 交易账号(资金账号)
  15513. type: integer
  15514. allfriendsflag:
  15515. description: 是否全好友可见 - 0:否 1:是
  15516. type: integer
  15517. amount:
  15518. description: 期初均价
  15519. type: number
  15520. bannerpicurl:
  15521. description: Banner图
  15522. type: string
  15523. begindate:
  15524. description: 开始交易日(yyyymmdd)
  15525. type: string
  15526. buyorsell:
  15527. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  15528. type: integer
  15529. canbargain:
  15530. description: 是否可议价 - 0:不可 1:可
  15531. type: integer
  15532. cancelqty:
  15533. description: 撤销数量
  15534. type: number
  15535. canpart:
  15536. description: 是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)
  15537. type: integer
  15538. delistminqty:
  15539. description: 起摘数量
  15540. type: integer
  15541. deliverygoodscode:
  15542. description: 品种代码
  15543. type: string
  15544. deliverygoodsid:
  15545. description: 品种ID
  15546. type: integer
  15547. deliverygoodsname:
  15548. description: 品种名称
  15549. type: string
  15550. deliverymonth:
  15551. description: 交收月
  15552. type: string
  15553. enddate:
  15554. description: 结束交易日(yyyymmdd)
  15555. type: string
  15556. enumdicname:
  15557. description: 单位名称
  15558. type: string
  15559. fixedprice:
  15560. description: 固定价格 - [挂牌]
  15561. type: number
  15562. freezecharge:
  15563. description: 期初均价
  15564. type: number
  15565. freezemargin:
  15566. description: 期初均价
  15567. type: number
  15568. futupricemove:
  15569. description: 期货升贴水
  15570. type: number
  15571. futushow:
  15572. description: 期货合约/升贴水
  15573. type: string
  15574. goodscode:
  15575. description: 期货合约
  15576. type: string
  15577. goodsid:
  15578. description: 期货商品id
  15579. type: integer
  15580. goodsname:
  15581. description: 商品名称
  15582. type: string
  15583. haswr:
  15584. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  15585. type: integer
  15586. isspecified:
  15587. description: 是否指定对手 - 0:不指定 1:指定 - [挂牌]
  15588. type: integer
  15589. ladingbillid:
  15590. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  15591. type: string
  15592. marginvalue:
  15593. description: 期初均价
  15594. type: number
  15595. marketid:
  15596. description: 市场ID
  15597. type: integer
  15598. matchusername:
  15599. description: 对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)
  15600. type: string
  15601. minivalue:
  15602. description: 现货商品最小变动值
  15603. type: integer
  15604. optioncompare:
  15605. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15606. type: string
  15607. orderqty:
  15608. description: 委托数量
  15609. type: number
  15610. ordertime:
  15611. description: 委托时间(挂牌时间)
  15612. type: string
  15613. performancetemplateid:
  15614. description: 履约模板id
  15615. type: integer
  15616. pricemove:
  15617. description: 升贴水(浮动价时填写) - [挂牌]
  15618. type: number
  15619. taname:
  15620. description: 交易用户名称(资金账号名称)
  15621. type: string
  15622. thumurls:
  15623. description: 缩略图
  15624. type: string
  15625. tradedate:
  15626. description: 交易日(yyyyMMdd)
  15627. type: string
  15628. tradeprice:
  15629. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)*
  15630. 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  15631. type: number
  15632. tradeqty:
  15633. description: 成交数量
  15634. type: number
  15635. userid:
  15636. description: 用户ID
  15637. type: integer
  15638. validtime:
  15639. description: 挂牌有效期
  15640. type: string
  15641. validtype:
  15642. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  15643. type: integer
  15644. warehouseid:
  15645. description: 仓库ID
  15646. type: integer
  15647. warehousename:
  15648. description: 仓库名称
  15649. type: string
  15650. wrfactortypeid:
  15651. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15652. type: string
  15653. wrfactortypename:
  15654. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15655. type: string
  15656. wrpricetype:
  15657. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  15658. type: integer
  15659. wrstandardcode:
  15660. description: 现货商品代码
  15661. type: string
  15662. wrstandardid:
  15663. description: 现货商品ID
  15664. type: integer
  15665. wrstandardname:
  15666. description: 商品名称
  15667. type: string
  15668. wrtradeorderid:
  15669. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  15670. type: string
  15671. wrtradeorderstatus:
  15672. 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:撤单解冻贷款失败
  15673. type: integer
  15674. wrtradetype:
  15675. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  15676. type: integer
  15677. wrtypename:
  15678. description: 商品
  15679. type: string
  15680. type: object
  15681. models.WrOrderQuote:
  15682. properties:
  15683. bannerpicurl:
  15684. description: Banner图
  15685. type: string
  15686. buyprice:
  15687. description: 买价
  15688. type: number
  15689. buypricemove:
  15690. description: 买升贴水(基差)
  15691. type: number
  15692. buyqty:
  15693. description: 买量
  15694. type: number
  15695. deliverygoodscode:
  15696. description: 品种代码
  15697. type: string
  15698. deliverygoodsid:
  15699. description: 品种id
  15700. type: integer
  15701. deliverygoodsname:
  15702. description: 品种名称
  15703. type: string
  15704. deliverymonth:
  15705. description: 交收月
  15706. type: string
  15707. enumdicname:
  15708. description: 单位名称
  15709. type: string
  15710. goodscode:
  15711. description: 商品合约(浮动价列表才有)
  15712. type: string
  15713. goodsid:
  15714. description: 商品id(浮动价列表才有)
  15715. type: integer
  15716. minivalue:
  15717. description: 现货商品最小变动值
  15718. type: integer
  15719. pictureurls:
  15720. description: 详情图片(逗号分隔)
  15721. type: string
  15722. sellprice:
  15723. description: 卖价
  15724. type: number
  15725. sellpricemove:
  15726. description: 卖升贴水(基差)
  15727. type: number
  15728. sellqty:
  15729. description: 卖量
  15730. type: number
  15731. thumurls:
  15732. description: 缩略图片(1:1)(逗号分隔)
  15733. type: string
  15734. warehousecode:
  15735. description: 仓库代码
  15736. type: string
  15737. warehouseid:
  15738. description: 仓库id
  15739. type: integer
  15740. warehousename:
  15741. description: 仓库名称
  15742. type: string
  15743. wrfactortypeid:
  15744. description: 仓单要素id
  15745. type: string
  15746. wrfactortypename:
  15747. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15748. type: string
  15749. wrgoodsname:
  15750. description: 商品(商品名称+仓库要素名称 拼接)
  15751. type: string
  15752. wrstandardcode:
  15753. description: 商品代码
  15754. type: string
  15755. wrstandardid:
  15756. description: 商品id
  15757. type: integer
  15758. wrstandardname:
  15759. description: 商品名称
  15760. type: string
  15761. type: object
  15762. models.WrOrderQuoteDetail:
  15763. properties:
  15764. buyorsell:
  15765. description: 买卖 - 0:买 1:卖
  15766. type: integer
  15767. delistminqty:
  15768. description: 期初均价
  15769. type: number
  15770. deliverymonth:
  15771. description: 交收月
  15772. type: string
  15773. enumdicname:
  15774. description: 单位名称
  15775. type: string
  15776. fixedprice:
  15777. description: 买(卖)价
  15778. type: number
  15779. marketid:
  15780. description: 市场id
  15781. type: integer
  15782. minivalue:
  15783. description: 现货商品最小变动值
  15784. type: integer
  15785. orderqty:
  15786. description: 买(卖)量(=委托量-成交量)
  15787. type: number
  15788. ordertime:
  15789. description: 委托时间
  15790. type: string
  15791. pricemove:
  15792. description: 买(卖)升贴水- 基差
  15793. type: number
  15794. userid:
  15795. description: 购买方(销售方)用户ID
  15796. type: integer
  15797. username:
  15798. description: 购买方(销售方)
  15799. type: string
  15800. wrtradeorderid:
  15801. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  15802. type: string
  15803. type: object
  15804. models.WrOutInApply:
  15805. properties:
  15806. applyid:
  15807. description: 申请单id
  15808. type: string
  15809. applystatus:
  15810. description: 申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败
  15811. 8:已撤销
  15812. type: integer
  15813. applytime:
  15814. description: 申请时间
  15815. type: string
  15816. applytype:
  15817. description: 申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销
  15818. type: integer
  15819. bannerpicurl:
  15820. description: Banner图
  15821. type: string
  15822. begindate:
  15823. description: 开始交易日(yyyymmdd)
  15824. type: string
  15825. deliverygoodscode:
  15826. description: 品种代码
  15827. type: string
  15828. deliverygoodsid:
  15829. description: 品种ID
  15830. type: integer
  15831. deliverygoodsname:
  15832. description: 品种名称
  15833. type: string
  15834. enddate:
  15835. description: 结束交易日(yyyymmdd)
  15836. type: string
  15837. enumdicname:
  15838. description: 单位名称
  15839. type: string
  15840. expresscompany:
  15841. description: 物流公司
  15842. type: string
  15843. expressnum:
  15844. description: 物流单号
  15845. type: string
  15846. minivalue:
  15847. description: 现货商品最小变动值
  15848. type: integer
  15849. optioncompare:
  15850. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15851. type: string
  15852. qty:
  15853. description: 数量
  15854. type: integer
  15855. userid:
  15856. description: 用户id
  15857. type: integer
  15858. warehouseid:
  15859. description: 仓库ID
  15860. type: integer
  15861. warehousename:
  15862. description: 仓库名称
  15863. type: string
  15864. wrfactortypeid:
  15865. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15866. type: string
  15867. wrfactortypename:
  15868. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15869. type: string
  15870. wrstandardcode:
  15871. description: 现货商品代码
  15872. type: string
  15873. wrstandardid:
  15874. description: 现货商品ID
  15875. type: integer
  15876. wrstandardname:
  15877. description: 商品名称
  15878. type: string
  15879. wrtypename:
  15880. description: 商品
  15881. type: string
  15882. type: object
  15883. models.WrPerformancePlan:
  15884. properties:
  15885. activatemonth:
  15886. description: 履约激活月 [无仓单的交易收月](yyyy-MM)
  15887. type: string
  15888. amount:
  15889. description: 履约金额(总金额)
  15890. type: number
  15891. begindate:
  15892. description: 开始交易日(yyyymmdd)
  15893. type: string
  15894. buyaccountid:
  15895. description: 买方账号
  15896. type: integer
  15897. buyerfreezeamount:
  15898. description: 履约冻结(买履约)
  15899. type: number
  15900. buyerfreezeamountremain:
  15901. description: 履约冻结剩余(买履约)
  15902. type: number
  15903. buyorsell:
  15904. description: 买卖方向 0-买 1-卖
  15905. type: integer
  15906. buypaidamount:
  15907. description: 买方已冻/已扣金额 (已付金额)
  15908. type: number
  15909. buyusername:
  15910. description: 买方名字
  15911. type: string
  15912. contractid:
  15913. description: 合同ID
  15914. type: integer
  15915. createtime:
  15916. description: 创建时间
  15917. type: string
  15918. creatorid:
  15919. description: 创建人
  15920. type: integer
  15921. curstepdeadline:
  15922. description: 当前步骤到期时间
  15923. type: string
  15924. curstepid:
  15925. description: 当前步骤ID
  15926. type: string
  15927. curstepname:
  15928. description: 当前步骤名称
  15929. type: string
  15930. deliverygoodscode:
  15931. description: 品种代码
  15932. type: string
  15933. deliverygoodsid:
  15934. description: 品种ID
  15935. type: integer
  15936. deliverygoodsname:
  15937. description: 品种名称
  15938. type: string
  15939. enddate:
  15940. description: 结束交易日(yyyymmdd)
  15941. type: string
  15942. enumdicname:
  15943. description: 单位名称
  15944. type: string
  15945. expressfee:
  15946. description: 运费
  15947. type: number
  15948. expressfeeconfirmed:
  15949. description: 是否确认运费 - 0:无 1:买方确认 2:卖方确认
  15950. type: integer
  15951. hasovershort:
  15952. description: 是否确认溢短 - 0:没有 1:买方确认 2:卖方确认
  15953. type: integer
  15954. haswr:
  15955. description: 类型 0-仓单预售 1-仓单贸易
  15956. type: integer
  15957. marketid:
  15958. description: 市场ID
  15959. type: integer
  15960. middleaccountid:
  15961. description: 中间商资金账号ID
  15962. type: integer
  15963. middleuserid:
  15964. description: 中间商用户ID
  15965. type: integer
  15966. minivalue:
  15967. description: 现货商品最小变动值
  15968. type: integer
  15969. optioncompare:
  15970. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15971. type: string
  15972. overshortamount:
  15973. description: 溢短金额
  15974. type: number
  15975. overshortqty:
  15976. description: 溢短数量
  15977. type: number
  15978. paymenttype:
  15979. description: 付款方式 - 1:冻结 2:扣款
  15980. type: integer
  15981. performanceplanid:
  15982. description: 履约计划ID(130+yyMMddHHmmss+xxxx)
  15983. type: string
  15984. performancestatus:
  15985. description: 履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败
  15986. 9:超时待处理 10:超时关闭
  15987. type: integer
  15988. performancetype:
  15989. description: 履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式
  15990. 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统
  15991. type: integer
  15992. qty:
  15993. description: 履约数量
  15994. type: number
  15995. relatedorderid:
  15996. description: 关联单号(履约类型的关联单号)
  15997. type: string
  15998. remark:
  15999. description: 备注
  16000. type: string
  16001. sellaccountid:
  16002. description: 卖方账号
  16003. type: integer
  16004. sellerfreezeamount:
  16005. description: 履约冻结(卖履约)
  16006. type: number
  16007. sellerfreezeamountremain:
  16008. description: 履约冻结剩余(卖履约)
  16009. type: number
  16010. sellreceivedamount:
  16011. description: 卖方已收金额
  16012. type: number
  16013. sellusername:
  16014. description: 卖方名字
  16015. type: string
  16016. shipremark:
  16017. description: 发货备注[物流单号]
  16018. type: string
  16019. starttime:
  16020. description: 开始时间
  16021. type: string
  16022. steptypeid:
  16023. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  16024. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  16025. type: integer
  16026. typename:
  16027. description: 履约类型 名称
  16028. type: string
  16029. unpaidamount:
  16030. description: 期初均价
  16031. type: number
  16032. userid:
  16033. description: 用户id
  16034. type: integer
  16035. warehouseid:
  16036. description: 仓库ID
  16037. type: integer
  16038. warehousename:
  16039. description: 仓库名称
  16040. type: string
  16041. wrfactortypeid:
  16042. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16043. type: string
  16044. wrfactortypename:
  16045. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16046. type: string
  16047. wrstandardcode:
  16048. description: 现货商品代码
  16049. type: string
  16050. wrstandardid:
  16051. description: 现货商品ID
  16052. type: integer
  16053. wrstandardname:
  16054. description: 商品名称
  16055. type: string
  16056. wrtransferuserid:
  16057. description: 仓单受让用户
  16058. type: integer
  16059. wrtypename:
  16060. description: 商品
  16061. type: string
  16062. required:
  16063. - userid
  16064. type: object
  16065. models.WrPerformancePlanStep:
  16066. properties:
  16067. delaydays:
  16068. description: 延期申请天数
  16069. type: integer
  16070. deliverygoodscode:
  16071. description: 品种代码
  16072. type: string
  16073. deliverygoodsid:
  16074. description: 品种ID
  16075. type: integer
  16076. deliverygoodsname:
  16077. description: 品种名称
  16078. type: string
  16079. endtime:
  16080. description: 结束日期
  16081. type: string
  16082. enumdicname:
  16083. description: 单位名称
  16084. type: string
  16085. executeside:
  16086. description: 步骤执行方 - 1:买方 2:卖方
  16087. type: integer
  16088. handlestatus:
  16089. description: 处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败
  16090. 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求
  16091. 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败
  16092. type: integer
  16093. isauto:
  16094. description: 是否自动 - 0:不自动 1:自动
  16095. type: integer
  16096. islastreceivestep:
  16097. description: 是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)
  16098. type: integer
  16099. minivalue:
  16100. description: 现货商品最小变动值
  16101. type: integer
  16102. optioncompare:
  16103. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16104. type: string
  16105. overdays:
  16106. description: 超期天数 = 当前时间(数据库时间) - 结束日期
  16107. type: integer
  16108. performancestepid:
  16109. description: 履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)
  16110. type: string
  16111. planid:
  16112. description: 所属履约计划ID
  16113. type: string
  16114. realamount:
  16115. description: 实际完成金额
  16116. type: number
  16117. relatedorderid:
  16118. description: 关联单号
  16119. type: string
  16120. remaindays:
  16121. description: 剩余天数
  16122. type: integer
  16123. remark:
  16124. description: 错误备注
  16125. type: string
  16126. starttime:
  16127. description: 开始日期
  16128. type: string
  16129. stepamount:
  16130. description: 步骤金额
  16131. type: number
  16132. stepdays:
  16133. description: 距离上一步天数(分钟)
  16134. type: integer
  16135. stepindex:
  16136. description: 步骤序号
  16137. type: integer
  16138. steplanchtype:
  16139. description: 步骤启动类型 - 1:系统自动 2:手动
  16140. type: integer
  16141. stepremark:
  16142. description: 步骤备注
  16143. type: string
  16144. stepstatus:
  16145. description: 步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭
  16146. type: integer
  16147. steptypeid:
  16148. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  16149. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  16150. type: integer
  16151. steptypename:
  16152. description: 步骤名称
  16153. type: string
  16154. stepvalue:
  16155. description: 步骤值
  16156. type: number
  16157. warehouseid:
  16158. description: 仓库ID
  16159. type: integer
  16160. warehousename:
  16161. description: 仓库名称
  16162. type: string
  16163. wrfactortypeid:
  16164. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16165. type: string
  16166. wrfactortypename:
  16167. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16168. type: string
  16169. wrstandardcode:
  16170. description: 现货商品代码
  16171. type: string
  16172. wrstandardid:
  16173. description: 现货商品ID
  16174. type: integer
  16175. wrstandardname:
  16176. description: 商品名称
  16177. type: string
  16178. wrtypename:
  16179. description: 商品
  16180. type: string
  16181. type: object
  16182. models.WrPerformanceStepType:
  16183. properties:
  16184. canauto:
  16185. description: '能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)'
  16186. type: integer
  16187. steptypeid:
  16188. description: 步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移
  16189. type: integer
  16190. steptypename:
  16191. description: 步骤类型名称
  16192. type: string
  16193. type: object
  16194. models.WrPerformanceTemplateEx:
  16195. properties:
  16196. autoid:
  16197. description: AutoID 模板id
  16198. type: integer
  16199. createtime:
  16200. description: 创建时间
  16201. type: string
  16202. creatorid:
  16203. description: 创建人
  16204. type: integer
  16205. lstStep:
  16206. description: 步骤信息列表
  16207. items:
  16208. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  16209. type: array
  16210. paymenttype:
  16211. description: 支付方式 - 1:冻结 2:扣款
  16212. type: integer
  16213. takemode:
  16214. description: 提货方式 - 1:无 2:买方自提 3:卖方发货
  16215. type: integer
  16216. templatename:
  16217. description: 模板名称
  16218. type: string
  16219. templatetype:
  16220. description: 模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  16221. (无仓单) 5:挂牌期权 6:竞拍-降价式
  16222. type: integer
  16223. userid:
  16224. description: 所属用户
  16225. type: integer
  16226. type: object
  16227. models.WrPosition:
  16228. properties:
  16229. accountid:
  16230. description: 帐户ID
  16231. type: integer
  16232. buyexcuteqty:
  16233. description: 采购履约中数量
  16234. type: number
  16235. creditcurqty:
  16236. description: 授信当前数量(预售仓单:预售当前量)
  16237. type: number
  16238. creditenableqty:
  16239. description: '授信可用数量(预售仓单: 可用数量)'
  16240. type: number
  16241. creditfreezeqty:
  16242. description: '授信冻结数量(预售仓单: 当前数量)'
  16243. type: number
  16244. credittotalqty:
  16245. description: 授信总数量(预售仓单:预售总量)
  16246. type: number
  16247. credittradeqty:
  16248. description: 授信成交数量(预售仓单:成交总量)
  16249. type: number
  16250. deliverygoodscode:
  16251. description: 品种代码
  16252. type: string
  16253. deliverygoodsid:
  16254. description: 品种ID
  16255. type: integer
  16256. deliverygoodsname:
  16257. description: 品种名称
  16258. type: string
  16259. enalbeqty:
  16260. description: 可用数量
  16261. type: number
  16262. enumdicname:
  16263. description: 单位名称
  16264. type: string
  16265. freezeqty:
  16266. description: 总冻结数量
  16267. type: number
  16268. haswr:
  16269. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  16270. type: integer
  16271. minivalue:
  16272. description: 现货商品最小变动值
  16273. type: integer
  16274. modifytime:
  16275. description: 修改时间(过户时间)
  16276. type: string
  16277. optioncompare:
  16278. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16279. type: string
  16280. pledgeqty:
  16281. description: 质押数量
  16282. type: number
  16283. querytype:
  16284. description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  16285. type: integer
  16286. sellexcuteqty:
  16287. description: 销售履约中数量
  16288. type: number
  16289. totalqty:
  16290. description: 总数量(库存数量)
  16291. type: number
  16292. warehouseid:
  16293. description: 仓库ID
  16294. type: integer
  16295. warehousename:
  16296. description: 仓库名称
  16297. type: string
  16298. wrfactortypeid:
  16299. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16300. type: string
  16301. wrfactortypename:
  16302. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16303. type: string
  16304. wrpositionid:
  16305. description: 仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)
  16306. type: string
  16307. wrpositionno:
  16308. description: 仓单编号
  16309. type: string
  16310. wrstandardcode:
  16311. description: 现货商品代码
  16312. type: string
  16313. wrstandardid:
  16314. description: 现货商品ID
  16315. type: integer
  16316. wrstandardname:
  16317. description: 商品名称
  16318. type: string
  16319. wrtypename:
  16320. description: 商品
  16321. type: string
  16322. wruserid:
  16323. description: 持有人ID
  16324. type: integer
  16325. type: object
  16326. models.WrPreSaleInfo:
  16327. properties:
  16328. bannerpicurl:
  16329. description: Banner图
  16330. type: string
  16331. baseqty:
  16332. description: 中签基数
  16333. type: number
  16334. createtime:
  16335. description: 创建时间
  16336. type: string
  16337. deliverygoodsid:
  16338. description: 现货品种ID
  16339. type: integer
  16340. enddate:
  16341. description: 预售结束日期
  16342. type: string
  16343. enumdicname:
  16344. description: 单位名称
  16345. type: string
  16346. lotteryflag:
  16347. description: 摇号标识 - 0:未摇号 1:已摇号
  16348. type: integer
  16349. lotteryqty:
  16350. description: 摇号总量
  16351. type: number
  16352. luckyqty:
  16353. description: 已中签量
  16354. type: number
  16355. marketid:
  16356. description: 市场ID
  16357. type: integer
  16358. maxbuyqty:
  16359. description: 单人最大申购量
  16360. type: number
  16361. maxluckyqty:
  16362. description: 单人最大中签量
  16363. type: number
  16364. pictureurls:
  16365. description: 详情图片(逗号分隔)
  16366. type: string
  16367. placeqty:
  16368. description: 已配售量
  16369. type: number
  16370. presaleapplyid:
  16371. description: 预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)
  16372. example: "0"
  16373. type: string
  16374. presaleqty:
  16375. description: 预售总量
  16376. type: number
  16377. presalestatus:
  16378. description: 预售状态 - 1:未开始 2:进行中 3:已结束 4:已关闭
  16379. type: integer
  16380. sellaccountid:
  16381. description: 发行方资金账户ID
  16382. type: integer
  16383. selluserid:
  16384. description: 发行方用户ID
  16385. type: integer
  16386. sellwrtradeorderid:
  16387. description: 发行方卖委托单ID
  16388. type: string
  16389. startdate:
  16390. description: 预售开始日期
  16391. type: string
  16392. takestartdate:
  16393. description: 提货开始日期
  16394. type: string
  16395. thumurls:
  16396. description: 缩略图片(1:1)(逗号分隔)
  16397. type: string
  16398. tradedate:
  16399. description: 交易日
  16400. type: string
  16401. unitid:
  16402. description: 单位ID
  16403. type: integer
  16404. unitprice:
  16405. description: 商品单价
  16406. type: number
  16407. username:
  16408. description: 发行方用户名称
  16409. type: string
  16410. warehousecode:
  16411. description: 仓库代码(仓库简称)
  16412. type: string
  16413. warehouseid:
  16414. description: 仓库ID
  16415. type: integer
  16416. warehousename:
  16417. description: 仓库名称
  16418. type: string
  16419. wrfactortypeid:
  16420. description: 仓单要素类型ID - 根据现货商品\仓库生成
  16421. example: "0"
  16422. type: string
  16423. wrstandardid:
  16424. description: 现货商品ID
  16425. type: integer
  16426. wrstandardname:
  16427. description: 现货商品名称
  16428. type: string
  16429. type: object
  16430. models.WrQuoteOrderMyq:
  16431. properties:
  16432. buyorsell:
  16433. description: 买卖 - 0:买 1:卖
  16434. type: integer
  16435. canbargain:
  16436. description: 是否可议价 - 0:不可 1:可
  16437. type: integer
  16438. canpart:
  16439. description: 是否允许部份摘牌 - 0:不允许 1:允许
  16440. type: integer
  16441. delistminqty:
  16442. description: 期初均价
  16443. type: number
  16444. deliverygoodscode:
  16445. description: 品种代码
  16446. type: string
  16447. deliverygoodsid:
  16448. description: 品种ID
  16449. type: integer
  16450. deliverygoodsname:
  16451. description: 品种名称
  16452. type: string
  16453. deliverymonth:
  16454. description: 交收月
  16455. type: string
  16456. enumdicname:
  16457. description: 单位名称
  16458. type: string
  16459. fixedprice:
  16460. description: 买(卖)价
  16461. type: number
  16462. goodscode:
  16463. description: 商品合约代码
  16464. type: string
  16465. marginflag:
  16466. description: 挂牌是否指定保证金 - 0:未指定 1:指定
  16467. type: integer
  16468. marginvalue:
  16469. description: 保证金设置值
  16470. type: number
  16471. minivalue:
  16472. description: 现货商品最小变动值
  16473. type: integer
  16474. orderqty:
  16475. description: 买(卖)量(=委托量-成交量)
  16476. type: number
  16477. ordertime:
  16478. description: 委托时间
  16479. type: string
  16480. performancetemplateid:
  16481. description: 履约模板id
  16482. type: integer
  16483. pricemove:
  16484. description: 买(卖)升贴水- 基差
  16485. type: number
  16486. templatename:
  16487. description: 履约模板名称
  16488. type: string
  16489. userid:
  16490. description: 购买方(销售方)用户ID
  16491. type: integer
  16492. username:
  16493. description: 购买方(销售方)
  16494. type: string
  16495. validtime:
  16496. description: 有效期限
  16497. type: string
  16498. validtype:
  16499. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  16500. type: integer
  16501. warehousename:
  16502. description: 仓库名称
  16503. type: string
  16504. wrfactortypeid:
  16505. description: 仓单要素id
  16506. type: string
  16507. wrstandardcode:
  16508. description: 现货商品代码
  16509. type: string
  16510. wrstandardid:
  16511. description: 现货商品ID
  16512. type: integer
  16513. wrstandardname:
  16514. description: 商品名称
  16515. type: string
  16516. wrtradeorderid:
  16517. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  16518. type: string
  16519. wrtypename:
  16520. description: 商品
  16521. type: string
  16522. type: object
  16523. models.WrReckonSpotGoodsTradeSum:
  16524. properties:
  16525. begindate:
  16526. description: 开始日期(结果含开始日期) yyyymmdd
  16527. type: string
  16528. enddate:
  16529. description: 结束日期(结果含结束日期) yyyymmdd
  16530. type: string
  16531. istoday:
  16532. description: 是否当日
  16533. type: boolean
  16534. marketid:
  16535. description: 市场ID
  16536. type: integer
  16537. price:
  16538. description: 价格 = 日成交金额 / 日成交数量
  16539. type: string
  16540. reckondate:
  16541. description: 日期 格式 yyyymmdd
  16542. type: string
  16543. tradeamount:
  16544. description: 期初均价
  16545. type: number
  16546. tradeqty:
  16547. description: 期初均价
  16548. type: number
  16549. wrstandardid:
  16550. description: 现货商品ID
  16551. type: integer
  16552. type: object
  16553. models.WrScfContract:
  16554. properties:
  16555. borroweruserid:
  16556. description: 借款用户ID
  16557. type: integer
  16558. buybackwrpositionqty:
  16559. description: 已回购仓单头寸数量 - [仓单回购\仓单质押] -> 已回购数量
  16560. type: number
  16561. closeinterest:
  16562. description: 已结利息 -> 已结费用
  16563. type: number
  16564. currisklevel:
  16565. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  16566. type: integer
  16567. deadline:
  16568. description: 截止日期(yyyyMMdd) -> 借款到期时间
  16569. type: string
  16570. deliverygoodscode:
  16571. description: 品种代码
  16572. type: string
  16573. deliverygoodsid:
  16574. description: 品种ID
  16575. type: integer
  16576. deliverygoodsname:
  16577. description: 品种名称
  16578. type: string
  16579. enumdicname:
  16580. description: 单位名称
  16581. type: string
  16582. financingdays:
  16583. description: 天数(天)
  16584. type: integer
  16585. initmargin:
  16586. description: 保证金 - [仓单回购]
  16587. type: number
  16588. interestamount:
  16589. description: 计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \ 合同剩余金额
  16590. type: number
  16591. interestdebt:
  16592. description: 利息欠款(记录负数) -> 费用欠款
  16593. type: number
  16594. interestminlen:
  16595. description: 最小起息天数
  16596. type: integer
  16597. interestrate:
  16598. description: 利率
  16599. type: number
  16600. interestratemode:
  16601. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  16602. type: integer
  16603. interestsettlemode:
  16604. description: 结息方式 - 1:按日结息 3:按月结息
  16605. type: integer
  16606. interestsettlevalue:
  16607. description: 结息方式值
  16608. type: integer
  16609. isautoloan:
  16610. description: 是否自动放款 - 0:手动 1:自动 - [仓单质押]
  16611. type: integer
  16612. lastcloseinterestday:
  16613. description: 最近结息日(yyyyMMdd)
  16614. type: string
  16615. lenderamount:
  16616. description: 贷款金额 -> 借款金额
  16617. type: number
  16618. lenderuserid:
  16619. description: 贷款方用户ID -> 融出方用户ID
  16620. type: integer
  16621. lenderusername:
  16622. description: 融出方
  16623. type: string
  16624. marginratio:
  16625. description: 保证金比率质押率 - [仓单质押]
  16626. type: number
  16627. marketid:
  16628. description: 市场ID - 拆成三个独立模式后,根据市场ID处理
  16629. type: integer
  16630. minivalue:
  16631. description: 现货商品最小变动值
  16632. type: integer
  16633. optioncompare:
  16634. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16635. type: string
  16636. pricemove:
  16637. description: 估值升贴水值
  16638. type: number
  16639. productdetailid:
  16640. description: 产品组合ID
  16641. type: integer
  16642. productid:
  16643. description: 金融产品ID
  16644. type: integer
  16645. productname:
  16646. description: 产品名称
  16647. type: string
  16648. remainamount:
  16649. description: 合同剩余金额 -> 剩余金额
  16650. type: number
  16651. remainwrpositionqty:
  16652. description: 剩余仓单头寸数量 - [仓单回购\仓单质押] -> 剩余数量(待回购数量)
  16653. type: number
  16654. remark:
  16655. description: 备注
  16656. type: string
  16657. scfcontractid:
  16658. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  16659. type: string
  16660. scfcontractstatus:
  16661. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  16662. 9:违约结束 10:已注销 11:已关闭 99:未提交
  16663. type: integer
  16664. scfcontracttype:
  16665. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购
  16666. type: integer
  16667. startinterestday:
  16668. description: 计息开始日(yyyyMMdd) -> 开始计费日期
  16669. type: string
  16670. totalinterest:
  16671. description: 已计利息 -> 已计费用
  16672. type: number
  16673. unpaidinterest:
  16674. description: 期初均价
  16675. type: number
  16676. updatetime:
  16677. description: 更新时间
  16678. type: string
  16679. warehouseid:
  16680. description: 仓库ID
  16681. type: integer
  16682. warehousename:
  16683. description: 仓库名称
  16684. type: string
  16685. wrfactortypeid:
  16686. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16687. type: string
  16688. wrfactortypename:
  16689. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16690. type: string
  16691. wrqty:
  16692. description: 仓单数量 - [仓单回购\仓单质押] -> 数量
  16693. type: number
  16694. wrstandardcode:
  16695. description: 现货商品代码
  16696. type: string
  16697. wrstandardid:
  16698. description: 现货商品ID
  16699. type: integer
  16700. wrstandardname:
  16701. description: 商品名称
  16702. type: string
  16703. wrtypename:
  16704. description: 商品
  16705. type: string
  16706. type: object
  16707. models.WrScfContractInterest:
  16708. properties:
  16709. closeinterest:
  16710. description: 已结利息
  16711. type: number
  16712. closeintereststatus:
  16713. description: 结息状态 - 1:未结 2:已结
  16714. type: integer
  16715. closetime:
  16716. description: 结息时间
  16717. type: string
  16718. closetradedate:
  16719. description: 结息交易日
  16720. type: string
  16721. creatorid:
  16722. description: 操作人ID
  16723. type: integer
  16724. dayrate:
  16725. description: 日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)
  16726. type: number
  16727. interest:
  16728. description: 利息
  16729. type: number
  16730. interestamount:
  16731. description: 计息金额
  16732. type: number
  16733. interestday:
  16734. description: 计息日(yyyyMMdd)
  16735. type: string
  16736. scfcontractid:
  16737. description: SCF合同ID
  16738. type: string
  16739. scfcontractinterestid:
  16740. description: SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)
  16741. type: integer
  16742. updatetime:
  16743. description: 更新时间
  16744. type: string
  16745. type: object
  16746. models.WrSearchUser:
  16747. properties:
  16748. userid:
  16749. description: 用户ID
  16750. type: integer
  16751. username:
  16752. description: 用户名称(已脱敏)
  16753. type: string
  16754. username2:
  16755. description: 用户名称(未脱敏)
  16756. type: string
  16757. usertype:
  16758. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  16759. type: integer
  16760. required:
  16761. - username
  16762. type: object
  16763. models.WrSiteColumnDetail:
  16764. properties:
  16765. brief:
  16766. description: 简介
  16767. type: string
  16768. context:
  16769. description: 内容
  16770. type: string
  16771. coverimage:
  16772. description: 封面图片
  16773. type: string
  16774. creaedate:
  16775. description: 创建时间
  16776. type: string
  16777. id:
  16778. description: ID(SEQ_SITE_COLUMNDETAIL)
  16779. type: integer
  16780. istop:
  16781. description: 是否置顶 - 0:不置 1:置顶
  16782. type: integer
  16783. publishdate:
  16784. description: 发布日期
  16785. type: string
  16786. title:
  16787. description: 标题
  16788. type: string
  16789. updatedate:
  16790. description: 修改时间
  16791. type: string
  16792. type: object
  16793. models.WrSpecialMatchOrder:
  16794. properties:
  16795. amount:
  16796. description: 金额 = 数量 * 价格
  16797. type: number
  16798. buyorsell:
  16799. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  16800. type: integer
  16801. cancelqty:
  16802. description: 撤销数量
  16803. type: number
  16804. deliverygoodscode:
  16805. description: 品种代码
  16806. type: string
  16807. deliverygoodsid:
  16808. description: 品种ID
  16809. type: integer
  16810. deliverygoodsname:
  16811. description: 品种名称
  16812. type: string
  16813. enumdicname:
  16814. description: 单位名称
  16815. type: string
  16816. fixedprice:
  16817. description: 固定价格(价格)
  16818. type: number
  16819. haswr:
  16820. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  16821. type: integer
  16822. isspecified:
  16823. description: 是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  16824. type: integer
  16825. marketid:
  16826. description: 市场ID
  16827. type: integer
  16828. matchuserid:
  16829. description: 指定方资金账号(字段名为userid,实际存的是accountid by:邓工)
  16830. type: integer
  16831. matchusername:
  16832. description: 指定方
  16833. type: string
  16834. minivalue:
  16835. description: 现货商品最小变动值
  16836. type: integer
  16837. optioncompare:
  16838. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16839. type: string
  16840. orderqty:
  16841. description: 委托数量
  16842. type: number
  16843. ordertime:
  16844. description: 委托时间
  16845. type: string
  16846. pricemove:
  16847. description: 升贴水(浮动价时填写) - [挂牌]
  16848. type: number
  16849. tradedate:
  16850. description: 交易日(yyyyMMdd)
  16851. type: string
  16852. tradeprice:
  16853. description: 成交价格
  16854. type: number
  16855. tradeqty:
  16856. description: 成交数量
  16857. type: number
  16858. userid:
  16859. description: 用户ID
  16860. type: integer
  16861. username:
  16862. description: 发起方
  16863. type: string
  16864. warehouseid:
  16865. description: 仓库ID
  16866. type: integer
  16867. warehousename:
  16868. description: 仓库名称
  16869. type: string
  16870. wrfactortypeid:
  16871. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16872. type: string
  16873. wrfactortypename:
  16874. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16875. type: string
  16876. wrpricetype:
  16877. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  16878. type: integer
  16879. wrstandardcode:
  16880. description: 现货商品代码
  16881. type: string
  16882. wrstandardid:
  16883. description: 现货商品ID
  16884. type: integer
  16885. wrstandardname:
  16886. description: 商品名称
  16887. type: string
  16888. wrtradeorderid:
  16889. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  16890. type: string
  16891. wrtradeorderstatus:
  16892. description: 委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝
  16893. 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤
  16894. type: integer
  16895. wrtradetype:
  16896. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  16897. type: integer
  16898. wrtypename:
  16899. description: 商品
  16900. type: string
  16901. type: object
  16902. models.WrSpotGroupTradeSum:
  16903. properties:
  16904. deliverygoodscode:
  16905. description: 现货品种代码
  16906. type: string
  16907. deliverygoodsid:
  16908. description: 现货品种ID(SEQ_DELIVERYGOODS)
  16909. type: integer
  16910. deliverygoodsname:
  16911. description: 现货品种名称
  16912. type: string
  16913. lastavgprice:
  16914. description: 上上个交易日价格(前2天价格)
  16915. type: string
  16916. lastreckondate:
  16917. description: 上上个交易日(前2天交易日)
  16918. type: string
  16919. reckondate:
  16920. description: 上个交易日(前1天交易日)
  16921. type: string
  16922. todayavgprice:
  16923. description: 上个交易日价格(前1天价格)
  16924. type: string
  16925. updown:
  16926. description: 涨跌
  16927. type: string
  16928. updownratio:
  16929. description: 涨幅(已格式化, 直接显示即可)
  16930. type: string
  16931. type: object
  16932. models.WrSpotGroupTradeSumDetail:
  16933. properties:
  16934. deliverygoodsid:
  16935. description: 现货商品id
  16936. type: integer
  16937. price:
  16938. description: 价格
  16939. type: number
  16940. reckondate:
  16941. description: 日期(yyymmdd, 如:20211031)
  16942. type: string
  16943. type: object
  16944. models.WrSpotGroupTradeSumEx:
  16945. properties:
  16946. lst:
  16947. description: 指数列表
  16948. items:
  16949. $ref: '#/definitions/models.WrSpotGroupTradeSum'
  16950. type: array
  16951. prereckondate:
  16952. description: 上上个交易日(yyymmdd)
  16953. type: string
  16954. reckondate:
  16955. description: 上个交易日(yyyymmdd)
  16956. type: string
  16957. type: object
  16958. models.WrStandardFactoryItem:
  16959. properties:
  16960. dgfactoryitemid:
  16961. description: 选择项id
  16962. type: integer
  16963. dgfactoryitemvalue:
  16964. description: 要素项值
  16965. type: string
  16966. warehouseid:
  16967. description: 仓库id
  16968. type: integer
  16969. type: object
  16970. models.WrStandardFactoryItemEx:
  16971. properties:
  16972. dgfactoryitemtypeid:
  16973. description: 要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)
  16974. type: integer
  16975. itemlst:
  16976. description: 要素项列表
  16977. items:
  16978. $ref: '#/definitions/models.WrStandardFactoryItem'
  16979. type: array
  16980. itemtypename:
  16981. description: 要素项类型名称
  16982. type: string
  16983. wrstandardid:
  16984. description: 品类
  16985. type: integer
  16986. type: object
  16987. models.WrTradeDetail:
  16988. properties:
  16989. accountid:
  16990. description: 资金账号
  16991. type: integer
  16992. bannerpicurl:
  16993. description: Banner图
  16994. type: string
  16995. begindate:
  16996. description: 开始交易日(yyyymmdd)
  16997. type: string
  16998. buyorsell:
  16999. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  17000. type: integer
  17001. chargevalue:
  17002. description: 手续费
  17003. type: number
  17004. deliverygoodscode:
  17005. description: 品种代码
  17006. type: string
  17007. deliverygoodsid:
  17008. description: 品种ID
  17009. type: integer
  17010. deliverygoodsname:
  17011. description: 品种名称
  17012. type: string
  17013. deliverymonth:
  17014. description: 交收月
  17015. type: string
  17016. enddate:
  17017. description: 结束交易日(yyyymmdd)
  17018. type: string
  17019. enumdicname:
  17020. description: 单位名称
  17021. type: string
  17022. haswr:
  17023. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  17024. type: integer
  17025. marketid:
  17026. description: 市场ID
  17027. type: integer
  17028. matchaccountid:
  17029. description: 对手账号
  17030. type: integer
  17031. matchusername:
  17032. description: 对手方
  17033. type: string
  17034. minivalue:
  17035. description: 现货商品最小变动值
  17036. type: integer
  17037. optioncompare:
  17038. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  17039. type: string
  17040. thumurls:
  17041. description: 缩略图
  17042. type: string
  17043. tradedate:
  17044. description: 交易日(yyyyMMdd)
  17045. type: string
  17046. tradeprice:
  17047. description: 成交价格
  17048. type: number
  17049. tradeqty:
  17050. description: 成交数量
  17051. type: number
  17052. tradetime:
  17053. description: 成交时间
  17054. type: string
  17055. userid:
  17056. description: 用户ID
  17057. type: integer
  17058. warehouseid:
  17059. description: 仓库ID
  17060. type: integer
  17061. warehousename:
  17062. description: 仓库名称
  17063. type: string
  17064. wrfactortypeid:
  17065. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  17066. type: string
  17067. wrfactortypename:
  17068. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  17069. type: string
  17070. wrstandardcode:
  17071. description: 现货商品代码
  17072. type: string
  17073. wrstandardid:
  17074. description: 现货商品ID
  17075. type: integer
  17076. wrstandardname:
  17077. description: 商品名称
  17078. type: string
  17079. wrtradedetailid:
  17080. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  17081. type: string
  17082. wrtradetype:
  17083. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  17084. type: integer
  17085. wrtypename:
  17086. description: 商品
  17087. type: string
  17088. type: object
  17089. models.WrTradeOrderDetail:
  17090. properties:
  17091. buyorsell:
  17092. description: 买卖方向 0-买 1-卖
  17093. type: integer
  17094. goodsid:
  17095. description: 商品id
  17096. type: integer
  17097. orderid:
  17098. description: 委托单号
  17099. type: string
  17100. orderprice:
  17101. description: 期初均价
  17102. type: number
  17103. orderqty:
  17104. description: 委托数量
  17105. type: integer
  17106. userid:
  17107. description: 用户id
  17108. type: integer
  17109. username:
  17110. description: 用户名称(已脱敏)
  17111. type: string
  17112. type: object
  17113. models.WrTypeItem:
  17114. properties:
  17115. name:
  17116. description: 名称
  17117. type: string
  17118. value:
  17119. description: 值
  17120. type: string
  17121. type: object
  17122. models.WrUserFriend:
  17123. properties:
  17124. friendname:
  17125. description: 朋友名称(已脱敏)
  17126. type: string
  17127. frienduserid:
  17128. description: 朋友id
  17129. type: integer
  17130. isfriend:
  17131. description: 是否好友 0-不是 1-是
  17132. type: integer
  17133. userid:
  17134. description: 用户id
  17135. type: integer
  17136. type: object
  17137. models.WrUserReceiptInfo:
  17138. properties:
  17139. address:
  17140. description: 地址[发票类型:企业]
  17141. type: string
  17142. autoid:
  17143. description: AutoID
  17144. type: integer
  17145. contactinfo:
  17146. description: 联系方式
  17147. type: string
  17148. idnum:
  17149. description: 身份证号码[发票类型:个人]
  17150. type: string
  17151. isdefault:
  17152. description: 是否默认地址 - 0:否 1:是
  17153. type: integer
  17154. receiptaccount:
  17155. description: 发票帐号[发票类型:企业]
  17156. type: string
  17157. receiptbank:
  17158. description: 发票开户行[发票类型:企业]
  17159. type: string
  17160. receipttype:
  17161. description: 发票类型 - 1:个人 2:企业
  17162. type: integer
  17163. taxpayerid:
  17164. description: 纳税人识别号
  17165. type: string
  17166. userid:
  17167. description: 用户ID
  17168. type: integer
  17169. username:
  17170. description: 户名(个人姓名或企业名称)
  17171. type: string
  17172. type: object
  17173. models.Wrtradetradequote:
  17174. properties:
  17175. begindate:
  17176. description: 开始日期(结果含开始日期) yyyymmdd
  17177. type: string
  17178. buyaccountid:
  17179. description: 买方账号ID
  17180. type: integer
  17181. buyuserid:
  17182. description: 买方用户ID
  17183. type: integer
  17184. deliverygoodsid:
  17185. description: 现货品种ID
  17186. type: integer
  17187. enddate:
  17188. description: 结束日期(结果含结束日期) yyyymmdd
  17189. type: string
  17190. marketid:
  17191. description: 市场ID
  17192. type: integer
  17193. sellaccountid:
  17194. description: 卖方账号ID
  17195. type: integer
  17196. selluserid:
  17197. description: 卖方用户ID
  17198. type: integer
  17199. tradeamount:
  17200. description: 成交金额
  17201. type: number
  17202. tradedate:
  17203. description: 交易日(yyyyMMdd)
  17204. type: string
  17205. tradeprice:
  17206. description: 成交价格
  17207. type: number
  17208. tradeqty:
  17209. description: 成交数量
  17210. type: integer
  17211. tradetime:
  17212. description: 成交时间
  17213. type: string
  17214. wrfactortypeid:
  17215. description: 仓单要素类型ID
  17216. type: integer
  17217. wrstandardid:
  17218. description: 现货商品ID
  17219. type: integer
  17220. wrtradedetailid:
  17221. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  17222. type: string
  17223. type: object
  17224. models.XHBRAND:
  17225. properties:
  17226. brandid:
  17227. description: 品牌id
  17228. type: integer
  17229. brandname:
  17230. description: 品牌名称
  17231. type: string
  17232. isvalid:
  17233. description: 是否有效 0-无效 1-有效
  17234. type: integer
  17235. type: object
  17236. models.XHDeliveryGoods:
  17237. properties:
  17238. areauserid:
  17239. description: 所属机构
  17240. type: integer
  17241. bdlst:
  17242. description: 品牌列表
  17243. items:
  17244. $ref: '#/definitions/models.XHBRAND'
  17245. type: array
  17246. deliverygoodscode:
  17247. description: 现货品种代码
  17248. type: string
  17249. deliverygoodsid:
  17250. description: 现货品种ID(SEQ_DELIVERYGOODS)
  17251. type: integer
  17252. deliverygoodsname:
  17253. description: 现货品种名称
  17254. type: string
  17255. dgstatus:
  17256. description: 品种状态 - 作废 - 0:未激活 1:正常
  17257. type: integer
  17258. filterSubEmpty:
  17259. description: 过滤下级为空的
  17260. type: integer
  17261. isvalid:
  17262. description: 是否有效 - 0:无效 1:有效
  17263. type: integer
  17264. remark:
  17265. description: 备注
  17266. type: string
  17267. unitid:
  17268. description: 单位id(目前看,数据库中是空值)
  17269. type: integer
  17270. wdlst:
  17271. description: 品类(现货商品)列表
  17272. items:
  17273. $ref: '#/definitions/models.XHWrstandard'
  17274. type: array
  17275. type: object
  17276. models.XHMiddleGoods:
  17277. properties:
  17278. GPLST:
  17279. description: 期货品种列表
  17280. items:
  17281. $ref: '#/definitions/models.TBGoodsGroup'
  17282. type: array
  17283. convertratio:
  17284. description: 拆算系数
  17285. type: number
  17286. costratio:
  17287. description: 成本权重
  17288. type: number
  17289. deliverygoodsid:
  17290. description: 现货商品id
  17291. type: integer
  17292. enumdicname:
  17293. description: 单位名称
  17294. type: string
  17295. middlegoodscode:
  17296. description: 套保品种代码
  17297. type: string
  17298. middlegoodsid:
  17299. description: 套保品种id
  17300. type: integer
  17301. middlegoodsname:
  17302. description: 套保品种名称
  17303. type: string
  17304. unitid:
  17305. description: 单位id
  17306. type: integer
  17307. type: object
  17308. models.XHWrstandard:
  17309. properties:
  17310. bannerpicurl:
  17311. description: banner图
  17312. type: string
  17313. deliverygoodsid:
  17314. description: 品种ID
  17315. type: integer
  17316. enumdicname:
  17317. description: 单位名称
  17318. type: string
  17319. mglst:
  17320. description: 套保品列表
  17321. items:
  17322. $ref: '#/definitions/models.XHMiddleGoods'
  17323. type: array
  17324. pictureurls:
  17325. description: 详情图片(逗号分隔)
  17326. type: string
  17327. thumurls:
  17328. description: 缩略图片(1:1)(逗号分隔)
  17329. type: string
  17330. unitid:
  17331. description: 单位id
  17332. type: integer
  17333. vatrate:
  17334. description: 增值税率
  17335. type: number
  17336. wrstandardcode:
  17337. description: 现货商品代码
  17338. type: string
  17339. wrstandardid:
  17340. description: 现货商品ID(SEQ_WRSTANDARD)
  17341. type: integer
  17342. wrstandardname:
  17343. description: 现货商品名称
  17344. type: string
  17345. type: object
  17346. models.XhcpSellBackApplyEx:
  17347. properties:
  17348. applyremark:
  17349. description: 申请备注
  17350. type: string
  17351. expirytype:
  17352. description: 寄售有效期 - 1:3天 2:7天 3:15天 4:长期
  17353. type: integer
  17354. goodsspec:
  17355. description: 商品规格 - 1:整件 2;整提 3:单罐 4:单盒
  17356. type: integer
  17357. holeflag:
  17358. description: 是否破洞[原封] - 1:无破洞 2:破洞
  17359. type: integer
  17360. isunopened:
  17361. description: 是否原封 - 1:否 2:是
  17362. type: integer
  17363. mpflag:
  17364. description: 磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮
  17365. type: integer
  17366. openflag:
  17367. description: 是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。
  17368. 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。
  17369. type: integer
  17370. phonenum:
  17371. description: 联系电话
  17372. type: string
  17373. userid:
  17374. description: 所属用户ID
  17375. type: integer
  17376. zpflag:
  17377. description: 皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮
  17378. type: integer
  17379. required:
  17380. - userid
  17381. type: object
  17382. models.Xhcpsellbackapply:
  17383. properties:
  17384. applyid:
  17385. description: 申请人
  17386. type: integer
  17387. applyremark:
  17388. description: 申请备注
  17389. type: string
  17390. applysrc:
  17391. description: 申请来源 - 1:管理端 2:终端
  17392. type: integer
  17393. applystatus:
  17394. description: 申请状态 - 1:待确认 2:已处理
  17395. type: integer
  17396. applytime:
  17397. description: 申请时间
  17398. type: string
  17399. auditremark:
  17400. description: 审核备注
  17401. type: string
  17402. auditsrc:
  17403. description: 审核来源 - 1:管理端 2:终端
  17404. type: integer
  17405. expirytype:
  17406. description: 寄售有效期 - 1:3天 2:7天 3:15天 4:长期
  17407. type: integer
  17408. goodsspec:
  17409. description: 商品规格 - 1:整件 2;整提 3:单罐 4:单盒
  17410. type: integer
  17411. holeflag:
  17412. description: 是否破洞[原封] - 1:无破洞 2:破洞
  17413. type: integer
  17414. isunopened:
  17415. description: 是否原封 - 1:否 2:是
  17416. type: integer
  17417. mpflag:
  17418. description: 磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮
  17419. type: integer
  17420. openflag:
  17421. description: 是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。
  17422. 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。
  17423. type: integer
  17424. phonenum:
  17425. description: 联系电话
  17426. type: string
  17427. sellbackapplyid:
  17428. description: 回收申请ID - SEQ_XHCP_SELLBACKAPPLY
  17429. type: string
  17430. userid:
  17431. description: 所属用户ID
  17432. type: integer
  17433. zpflag:
  17434. description: 皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮
  17435. type: integer
  17436. required:
  17437. - userid
  17438. type: object
  17439. order.QueryHisTradeDetailRsp:
  17440. properties:
  17441. accountid:
  17442. description: 账户ID[报价币种]
  17443. type: integer
  17444. advanceratio:
  17445. description: 首付比率
  17446. type: number
  17447. buildtype:
  17448. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  17449. type: integer
  17450. buyorsell:
  17451. description: 方向 - 0:买 1:卖
  17452. type: integer
  17453. charge:
  17454. description: 手续费
  17455. type: number
  17456. closecharge:
  17457. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  17458. type: number
  17459. closeexchagechargevalue:
  17460. description: 平仓交易所手续费设置值
  17461. type: number
  17462. closefeealgorithm:
  17463. description: 平仓手续费收取方式 1:比率 2:固定
  17464. type: integer
  17465. closememberchargevalue:
  17466. description: 平仓会员手续费设置值
  17467. type: number
  17468. closepl:
  17469. description: 平仓盈亏
  17470. type: number
  17471. closepl2:
  17472. description: 平仓盈亏[逐笔]
  17473. type: number
  17474. closeqty:
  17475. description: 平仓数量(先建后平操作 需要记录)
  17476. type: number
  17477. creditamount:
  17478. description: 授信金额
  17479. type: number
  17480. decimalplace:
  17481. description: 商品报价小数位
  17482. type: integer
  17483. enumdicname:
  17484. description: 单位名称
  17485. type: string
  17486. gcaccountid:
  17487. description: 账户ID[合约币种]
  17488. type: integer
  17489. goodscode:
  17490. description: 商品代码
  17491. type: string
  17492. goodsid:
  17493. description: 商品ID
  17494. type: integer
  17495. goodsname:
  17496. description: 商品名称
  17497. type: string
  17498. goodunitid:
  17499. description: 商品单位id
  17500. type: integer
  17501. histradedate:
  17502. description: 历史交易日
  17503. type: string
  17504. intclosepl:
  17505. description: 整型盈亏(用于交易结算试算平衡-收益权)
  17506. type: integer
  17507. isconfirmexercise:
  17508. description: 是否确认行权- 0:否 1:是
  17509. type: integer
  17510. ismain:
  17511. description: 是否主单 - 0:不是 1:是
  17512. type: integer
  17513. ispreexercise:
  17514. description: 是否预申报- 0:否 1:是
  17515. type: integer
  17516. isreckoned:
  17517. description: 是否结算 - 0:未结算 1:已结算
  17518. type: integer
  17519. isvaliddata:
  17520. description: 是否有效 - 0:无效 1:有效
  17521. type: integer
  17522. listingselecttype:
  17523. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  17524. type: integer
  17525. marketid:
  17526. description: 市场ID
  17527. type: integer
  17528. marketname:
  17529. description: 市场名称
  17530. type: string
  17531. matchaccountid:
  17532. description: 对手账号id
  17533. type: integer
  17534. memberuserid:
  17535. description: 会员id 个人投资者 需要填写
  17536. type: integer
  17537. opencharge:
  17538. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  17539. type: number
  17540. openexchagechargevalue:
  17541. description: 建仓交易所手续费设置值
  17542. type: number
  17543. openfeealgorithm:
  17544. description: 建仓手续费收取方式 1:比率 2:固定
  17545. type: integer
  17546. openmemberchargevalue:
  17547. description: 建仓会员手续费设置值
  17548. type: number
  17549. openqty:
  17550. description: 开仓数量(先建后平操作 需要记录)
  17551. type: number
  17552. optiontype:
  17553. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  17554. type: integer
  17555. orderid:
  17556. description: 委托单号
  17557. type: string
  17558. payamount:
  17559. description: 支付金额(付款金额)
  17560. type: number
  17561. performanceplanid:
  17562. description: 履约计划ID[期权]
  17563. type: integer
  17564. performancestatus:
  17565. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  17566. type: integer
  17567. preexerciseprice:
  17568. description: 预申报价格
  17569. type: number
  17570. premium:
  17571. description: 权利金 - [持仓单的权利金]
  17572. type: number
  17573. qtydecimalplace:
  17574. description: 商品报价小数位
  17575. type: integer
  17576. recvamount:
  17577. description: 到账金额 = 成交金额 - 手续费
  17578. type: number
  17579. relatedouttradeid:
  17580. description: 关联外部成交单ID
  17581. type: integer
  17582. status:
  17583. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  17584. type: integer
  17585. totalamount:
  17586. description: 订单总额 = 成交金额 + 手续费
  17587. type: number
  17588. tradeamount:
  17589. description: 成交金额[账户币种,用于所有权]
  17590. type: number
  17591. tradedate:
  17592. description: 交易日(yyyyMMdd)
  17593. type: string
  17594. tradeid:
  17595. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17596. type: string
  17597. trademode:
  17598. description: 交易模式
  17599. type: integer
  17600. tradeprice:
  17601. description: 成交价格
  17602. type: number
  17603. tradeproperty:
  17604. description: 交易属性
  17605. type: integer
  17606. tradeqty:
  17607. description: 成交数量
  17608. type: number
  17609. tradetime:
  17610. description: 成交时间
  17611. type: string
  17612. tradetype:
  17613. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  17614. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  17615. type: integer
  17616. required:
  17617. - accountid
  17618. - buyorsell
  17619. - goodsid
  17620. - histradedate
  17621. - marketid
  17622. - memberuserid
  17623. - orderid
  17624. - tradeamount
  17625. - tradedate
  17626. - tradeid
  17627. - tradeprice
  17628. - tradeqty
  17629. - tradetime
  17630. type: object
  17631. order.QueryHisTradeOrderDetailRsp:
  17632. properties:
  17633. accountid:
  17634. description: 账户ID[报价币种]
  17635. type: integer
  17636. buildtype:
  17637. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  17638. type: integer
  17639. buyorsell:
  17640. description: 买卖 - 0:买 1:卖
  17641. type: integer
  17642. cancelorderid:
  17643. description: 撤单单号(撤单时填写)
  17644. type: string
  17645. cancelqty:
  17646. description: 撤单数量
  17647. type: number
  17648. clientordertime:
  17649. description: 客户端委托时间
  17650. type: string
  17651. clientticket:
  17652. description: 客户端流水号
  17653. type: string
  17654. clienttype:
  17655. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  17656. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  17657. type: integer
  17658. closeexchagechargevalue:
  17659. description: 平仓交易所手续费设置值
  17660. type: number
  17661. closefeealgorithm:
  17662. description: 平仓手续费收取方式 1:比率 2:固定
  17663. type: integer
  17664. closefreezecharge:
  17665. description: 平仓冻结手续费(先建后平操作,需要记录)
  17666. type: number
  17667. closememberchargevalue:
  17668. description: 平仓会员手续费设置值
  17669. type: number
  17670. closeqty:
  17671. description: 平仓数量(先建后平操作 需要记录)
  17672. type: number
  17673. closetradeqty:
  17674. description: 平仓成交数量(先建后平操作,需要记录)
  17675. type: number
  17676. closeunfreezecharge:
  17677. description: 平仓解冻手续费(先建后平操作,需要记录)
  17678. type: number
  17679. decimalplace:
  17680. description: 商品报价小数位
  17681. type: integer
  17682. delistingtype:
  17683. description: 摘牌类型 - 1:价格最优 2:点选成交
  17684. type: integer
  17685. enumdicname:
  17686. description: 单位名称
  17687. type: string
  17688. freezecharge:
  17689. description: 冻结手续费
  17690. type: number
  17691. freezemargin:
  17692. description: 冻结保证金(冻结交易金额)
  17693. type: number
  17694. gcaccountid:
  17695. description: 账户ID[合约币种]
  17696. type: integer
  17697. goodscode:
  17698. description: 商品代码
  17699. type: string
  17700. goodsid:
  17701. description: 商品ID
  17702. type: integer
  17703. goodsname:
  17704. description: 商品名称
  17705. type: string
  17706. goodunitid:
  17707. description: 商品单位id
  17708. type: integer
  17709. histradedate:
  17710. description: 历史交易日
  17711. type: string
  17712. isconfirmexercise:
  17713. description: 是否确认行权- 0:否 1:是
  17714. type: integer
  17715. ispreexercise:
  17716. description: 是否预申报- 0:否 1:是
  17717. type: integer
  17718. isvaliddata:
  17719. description: 是否有效 - 0:无效 1:有效
  17720. type: integer
  17721. listingselecttype:
  17722. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  17723. type: integer
  17724. marginalgorithm:
  17725. description: 保证金收取方式 1:比率 2:固定
  17726. type: integer
  17727. marginvalue:
  17728. description: 即市保证金设置值
  17729. type: number
  17730. marketid:
  17731. description: 市场ID
  17732. type: integer
  17733. marketmaxsub:
  17734. description: 市价最大偏移范围
  17735. type: number
  17736. marketname:
  17737. description: 市场名称
  17738. type: string
  17739. memberuserid:
  17740. description: 所属会员UserID
  17741. type: integer
  17742. openexchagechargevalue:
  17743. description: 建仓交易所手续费设置值
  17744. type: number
  17745. openfeealgorithm:
  17746. description: 建仓手续费收取方式 1:比率 2:固定
  17747. type: integer
  17748. openfreezecharge:
  17749. description: 开仓冻结手续费(先建后平操作,需要记录)
  17750. type: number
  17751. openmemberchargevalue:
  17752. description: 建仓会员手续费设置值
  17753. type: number
  17754. openqty:
  17755. description: 开仓数量(先建后平操作,需要记录)
  17756. type: number
  17757. opentradeqty:
  17758. description: 开仓成交数量(先建后平操作,需要记录)
  17759. type: number
  17760. openunfreezecharge:
  17761. description: 开仓解冻手续费(先建后平操作,需要记录)
  17762. type: number
  17763. operatetype:
  17764. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  17765. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  17766. 15:管理端协议转让
  17767. type: integer
  17768. operatorid:
  17769. description: 登录账号(LoginID)
  17770. type: integer
  17771. optiontype:
  17772. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  17773. type: integer
  17774. orderid:
  17775. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17776. type: string
  17777. orderprice:
  17778. description: 委托价格
  17779. type: number
  17780. orderqty:
  17781. description: 委托数量
  17782. type: number
  17783. ordersrc:
  17784. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  17785. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  17786. type: integer
  17787. orderstatus:
  17788. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  17789. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  17790. 16:成交失败违约(荷兰式竞拍专用)
  17791. type: integer
  17792. ordertime:
  17793. description: 委托时间
  17794. type: string
  17795. preexerciseprice:
  17796. description: 预申报价格
  17797. type: number
  17798. premium:
  17799. description: 权利金
  17800. type: number
  17801. preorderid:
  17802. description: 关联预埋单号(止盈止损单时填写)
  17803. type: string
  17804. pricemode:
  17805. description: '取价方式 - 1:市价 2: 限价'
  17806. type: integer
  17807. qtydecimalplace:
  17808. description: 成交量小数位
  17809. type: integer
  17810. quoteid:
  17811. description: 报价单ID
  17812. type: integer
  17813. relatedid:
  17814. description: 关联单号(交割单)
  17815. type: string
  17816. retcode:
  17817. description: 错误代码
  17818. type: integer
  17819. sessionid:
  17820. description: 会话ID
  17821. type: integer
  17822. tradedate:
  17823. description: 交易日(yyyyMMdd)
  17824. type: string
  17825. trademode:
  17826. description: 交易模式
  17827. type: integer
  17828. tradeproperty:
  17829. description: 交易属性
  17830. type: integer
  17831. tradeqty:
  17832. description: 成交数量
  17833. type: number
  17834. unfreezecharge:
  17835. description: 解冻手续费
  17836. type: number
  17837. unfreezemargin:
  17838. description: 解冻保证金
  17839. type: number
  17840. updatetime:
  17841. description: 更新时间
  17842. type: string
  17843. uuid:
  17844. description: 发起端唯一id
  17845. type: string
  17846. validtime:
  17847. description: 有效期限
  17848. type: string
  17849. validtype:
  17850. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  17851. type: integer
  17852. volumetype:
  17853. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  17854. type: integer
  17855. required:
  17856. - accountid
  17857. - buildtype
  17858. - buyorsell
  17859. - goodsid
  17860. - histradedate
  17861. - marketid
  17862. - memberuserid
  17863. - operatetype
  17864. - orderid
  17865. - orderqty
  17866. - ordertime
  17867. - pricemode
  17868. - tradedate
  17869. - validtype
  17870. type: object
  17871. order.QueryTradeDetailRsp:
  17872. properties:
  17873. accountid:
  17874. description: 账户ID[报价币种]
  17875. type: integer
  17876. advanceratio:
  17877. description: 首付比率
  17878. type: number
  17879. buildtype:
  17880. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  17881. type: integer
  17882. buyorsell:
  17883. description: 方向 - 0:买 1:卖
  17884. type: integer
  17885. charge:
  17886. description: 手续费
  17887. type: number
  17888. closecharge:
  17889. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  17890. type: number
  17891. closeexchagechargevalue:
  17892. description: 平仓交易所手续费设置值
  17893. type: number
  17894. closefeealgorithm:
  17895. description: 平仓手续费收取方式 1:比率 2:固定
  17896. type: integer
  17897. closememberchargevalue:
  17898. description: 平仓会员手续费设置值
  17899. type: number
  17900. closepl:
  17901. description: 平仓盈亏
  17902. type: number
  17903. closepl2:
  17904. description: 平仓盈亏[逐笔]
  17905. type: number
  17906. closeqty:
  17907. description: 平仓数量(先建后平操作 需要记录)
  17908. type: number
  17909. creditamount:
  17910. description: 授信金额
  17911. type: number
  17912. decimalplace:
  17913. description: 商品报价小数位
  17914. type: integer
  17915. enumdicname:
  17916. description: 单位名称
  17917. type: string
  17918. gcaccountid:
  17919. description: 账户ID[合约币种]
  17920. type: integer
  17921. goodscode:
  17922. description: 商品代码
  17923. type: string
  17924. goodsid:
  17925. description: 商品ID
  17926. type: integer
  17927. goodsname:
  17928. description: 商品名称
  17929. type: string
  17930. goodunitid:
  17931. description: 商品单位id
  17932. type: integer
  17933. intclosepl:
  17934. description: 整型盈亏(用于交易结算试算平衡-收益权)
  17935. type: integer
  17936. isconfirmexercise:
  17937. description: 是否确认行权- 0:否 1:是
  17938. type: integer
  17939. ismain:
  17940. description: 是否主单 - 0:不是 1:是
  17941. type: integer
  17942. ispreexercise:
  17943. description: 是否预申报- 0:否 1:是
  17944. type: integer
  17945. isreckoned:
  17946. description: 是否结算 - 0:未结算 1:已结算
  17947. type: integer
  17948. listingselecttype:
  17949. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  17950. type: integer
  17951. marketid:
  17952. description: 市场ID
  17953. type: integer
  17954. marketname:
  17955. description: 市场名称
  17956. type: string
  17957. matchaccountid:
  17958. description: 对手账号id
  17959. type: integer
  17960. memberuserid:
  17961. description: 会员id 个人投资者 需要填写
  17962. type: integer
  17963. opencharge:
  17964. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  17965. type: number
  17966. openexchagechargevalue:
  17967. description: 建仓交易所手续费设置值
  17968. type: number
  17969. openfeealgorithm:
  17970. description: 建仓手续费收取方式 1:比率 2:固定
  17971. type: integer
  17972. openmemberchargevalue:
  17973. description: 建仓会员手续费设置值
  17974. type: number
  17975. openqty:
  17976. description: 开仓数量(先建后平操作 需要记录)
  17977. type: number
  17978. optiontype:
  17979. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  17980. type: integer
  17981. orderid:
  17982. description: 委托单号
  17983. type: string
  17984. payamount:
  17985. description: 支付金额(付款金额)
  17986. type: number
  17987. performanceplanid:
  17988. description: 履约计划ID[期权]
  17989. type: integer
  17990. performancestatus:
  17991. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  17992. type: integer
  17993. preexerciseprice:
  17994. description: 预申报价格
  17995. type: number
  17996. premium:
  17997. description: 权利金 - [持仓单的权利金]
  17998. type: number
  17999. qtydecimalplace:
  18000. description: 商品报价小数位
  18001. type: integer
  18002. recvamount:
  18003. description: 到账金额 = 成交金额 - 手续费
  18004. type: number
  18005. relatedouttradeid:
  18006. description: 关联外部成交单ID
  18007. type: integer
  18008. status:
  18009. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  18010. type: integer
  18011. totalamount:
  18012. description: 订单总额 = 成交金额 + 手续费
  18013. type: number
  18014. tradeamount:
  18015. description: 成交金额[账户币种,用于所有权]
  18016. type: number
  18017. tradedate:
  18018. description: 交易日(yyyyMMdd)
  18019. type: string
  18020. tradeid:
  18021. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  18022. type: string
  18023. trademode:
  18024. description: 交易模式
  18025. type: integer
  18026. tradeprice:
  18027. description: 成交价格
  18028. type: number
  18029. tradeproperty:
  18030. description: 交易属性
  18031. type: integer
  18032. tradeqty:
  18033. description: 成交数量
  18034. type: number
  18035. tradetime:
  18036. description: 成交时间
  18037. type: string
  18038. tradetype:
  18039. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  18040. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  18041. type: integer
  18042. required:
  18043. - accountid
  18044. - buyorsell
  18045. - goodsid
  18046. - marketid
  18047. - memberuserid
  18048. - orderid
  18049. - tradeamount
  18050. - tradedate
  18051. - tradeid
  18052. - tradeprice
  18053. - tradeqty
  18054. - tradetime
  18055. type: object
  18056. order.QueryTradeOrderDetailRsp:
  18057. properties:
  18058. accountid:
  18059. description: 账户ID[报价币种]
  18060. type: integer
  18061. buildtype:
  18062. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  18063. type: integer
  18064. buyorsell:
  18065. description: 买卖 - 0:买 1:卖
  18066. type: integer
  18067. cancelorderid:
  18068. description: 撤单单号(撤单时填写)
  18069. type: string
  18070. cancelqty:
  18071. description: 撤单数量
  18072. type: number
  18073. clienttype:
  18074. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  18075. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  18076. type: integer
  18077. closefreezecharge:
  18078. description: 平仓冻结手续费(先建后平操作,需要记录)
  18079. type: number
  18080. closeqty:
  18081. description: 平仓数量(先建后平操作 需要记录)
  18082. type: number
  18083. closetradeqty:
  18084. description: 平仓成交数量(先建后平操作,需要记录)
  18085. type: number
  18086. closeunfreezecharge:
  18087. description: 平仓解冻手续费(先建后平操作,需要记录)
  18088. type: number
  18089. decimalplace:
  18090. description: 商品报价小数位
  18091. type: integer
  18092. delistingtype:
  18093. description: 摘牌类型 - 1:价格最优 2:点选成交
  18094. type: integer
  18095. enableqty:
  18096. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  18097. type: number
  18098. enumdicname:
  18099. description: 单位名称
  18100. type: string
  18101. freezecharge:
  18102. description: 冻结手续费
  18103. type: number
  18104. freezemargin:
  18105. description: 冻结保证金(冻结交易金额)
  18106. type: number
  18107. goodscode:
  18108. description: 商品代码
  18109. type: string
  18110. goodsid:
  18111. description: 商品ID
  18112. type: integer
  18113. goodsname:
  18114. description: 商品名称
  18115. type: string
  18116. goodunitid:
  18117. description: 商品单位id
  18118. type: integer
  18119. listingselecttype:
  18120. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  18121. type: integer
  18122. marketid:
  18123. description: 市场ID
  18124. type: integer
  18125. marketname:
  18126. description: 市场名称
  18127. type: string
  18128. openfreezecharge:
  18129. description: 开仓冻结手续费(先建后平操作,需要记录)
  18130. type: number
  18131. openqty:
  18132. description: 开仓数量(先建后平操作,需要记录)
  18133. type: number
  18134. opentradeqty:
  18135. description: 开仓成交数量(先建后平操作,需要记录)
  18136. type: number
  18137. openunfreezecharge:
  18138. description: 开仓解冻手续费(先建后平操作,需要记录)
  18139. type: number
  18140. operatetype:
  18141. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  18142. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  18143. 15:管理端协议转让
  18144. type: integer
  18145. operatorid:
  18146. description: 登录账号(LoginID)
  18147. type: integer
  18148. orderid:
  18149. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  18150. type: string
  18151. orderprice:
  18152. description: 委托价格
  18153. type: number
  18154. orderqty:
  18155. description: 委托数量
  18156. type: number
  18157. ordersrc:
  18158. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  18159. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  18160. type: integer
  18161. orderstatus:
  18162. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  18163. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  18164. 16:成交失败违约(荷兰式竞拍专用)
  18165. type: integer
  18166. ordertime:
  18167. description: 委托时间
  18168. type: string
  18169. preorderid:
  18170. description: 关联预埋单号(止盈止损单时填写)
  18171. type: string
  18172. pricemode:
  18173. description: '取价方式 - 1:市价 2: 限价'
  18174. type: integer
  18175. qtydecimalplace:
  18176. description: 商品报价小数位
  18177. type: integer
  18178. relatedid:
  18179. description: 关联单号(交割单)
  18180. type: string
  18181. tradedate:
  18182. description: 交易日(yyyyMMdd)
  18183. type: string
  18184. trademode:
  18185. description: 交易模式
  18186. type: integer
  18187. tradeqty:
  18188. description: 成交数量
  18189. type: number
  18190. unfreezecharge:
  18191. description: 解冻手续费
  18192. type: number
  18193. unfreezemargin:
  18194. description: 解冻保证金
  18195. type: number
  18196. validtime:
  18197. description: 有效期限
  18198. type: string
  18199. validtype:
  18200. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  18201. type: integer
  18202. volumetype:
  18203. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  18204. type: integer
  18205. required:
  18206. - accountid
  18207. - buildtype
  18208. - buyorsell
  18209. - goodsid
  18210. - marketid
  18211. - operatetype
  18212. - orderqty
  18213. - ordertime
  18214. - pricemode
  18215. - tradedate
  18216. - validtype
  18217. type: object
  18218. order.QueryTradePositionRsp:
  18219. properties:
  18220. accountid:
  18221. description: 资金账户
  18222. type: integer
  18223. agreeunit:
  18224. description: 合约单位
  18225. type: number
  18226. averageprice:
  18227. description: 持仓均价
  18228. type: number
  18229. buyorsell:
  18230. description: 方向 - 0:买 1:卖
  18231. type: integer
  18232. closetotalqty:
  18233. description: 平仓总数量
  18234. type: number
  18235. curholderamount:
  18236. description: 当前持仓总金额[商品币种]
  18237. type: number
  18238. curpositionqty:
  18239. description: 当前持仓总数量
  18240. type: number
  18241. currencyid:
  18242. description: 报价货币ID
  18243. type: integer
  18244. curtdposition:
  18245. description: 期末今日头寸
  18246. type: number
  18247. decimalplace:
  18248. description: 报价小数位
  18249. type: integer
  18250. enableqty:
  18251. description: 可用量
  18252. type: number
  18253. fretdposition:
  18254. description: 冻结今日头寸
  18255. type: number
  18256. frozenqty:
  18257. description: 持仓冻结数量
  18258. type: number
  18259. goodscode:
  18260. description: 商品代码
  18261. type: string
  18262. goodsid:
  18263. description: 商品Id
  18264. type: integer
  18265. goodsname:
  18266. description: 商品名称
  18267. type: string
  18268. goodunit:
  18269. description: 报价单位
  18270. type: string
  18271. goodunitid:
  18272. description: 报价单位ID
  18273. type: integer
  18274. holderamount:
  18275. description: 期初持仓总金额[商品币种]
  18276. type: number
  18277. lastprice:
  18278. description: 最新价
  18279. type: number
  18280. marketamount:
  18281. description: 市值
  18282. type: number
  18283. marketid:
  18284. description: 所属市场ID
  18285. type: integer
  18286. openreqqty:
  18287. description: 开仓申请数量(用于比较最大持仓数量)
  18288. type: number
  18289. opentotalqty:
  18290. description: 开仓总数量
  18291. type: number
  18292. otherfrozenqty:
  18293. description: 持仓其他冻结数量(交割冻结)
  18294. type: number
  18295. positionpl:
  18296. description: 持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸
  18297. * 合约单位
  18298. type: number
  18299. positionplrate:
  18300. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  18301. type: number
  18302. positionqty:
  18303. description: 期初持仓数量
  18304. type: number
  18305. qtydecimalplace:
  18306. description: 成交量小数位
  18307. type: integer
  18308. refgoodscode:
  18309. description: 参考商品代码
  18310. type: string
  18311. refgoodsid:
  18312. description: 参考商品ID
  18313. type: integer
  18314. tnqty:
  18315. description: T+N冻结总量
  18316. type: number
  18317. tnusedqty:
  18318. description: T+N使用量(可以使用T+N的冻结数量)
  18319. type: number
  18320. trademode:
  18321. description: 交易模式
  18322. type: integer
  18323. tradeproperty:
  18324. description: 交易属性
  18325. type: integer
  18326. usedmargin:
  18327. description: 占用保证金[商品币种]
  18328. type: number
  18329. required:
  18330. - goodsid
  18331. type: object
  18332. pb.GoodsMarginCfgStruct:
  18333. properties:
  18334. CustomerTypeID:
  18335. description: 投资者客户类型
  18336. type: integer
  18337. GoodsID:
  18338. description: 商品ID
  18339. type: integer
  18340. IsDefault:
  18341. description: 是否默认标志位
  18342. type: integer
  18343. LockMarginValue:
  18344. description: 锁仓保证金
  18345. type: number
  18346. MarginAlgorithm:
  18347. description: 保证金计算方式
  18348. type: integer
  18349. MarketMarginValue:
  18350. description: 即市保证金值
  18351. type: number
  18352. RealMarginAlgorithm:
  18353. description: 实付保证金计算方式
  18354. type: integer
  18355. RealMarginValue:
  18356. description: 实付比例
  18357. type: number
  18358. ReckonMarginValue:
  18359. description: 结算保证金值
  18360. type: number
  18361. type: object
  18362. quote.HistoryData:
  18363. properties:
  18364. c:
  18365. description: 收盘价
  18366. type: number
  18367. f:
  18368. description: 是否补充数据
  18369. type: boolean
  18370. h:
  18371. description: 最高价
  18372. type: number
  18373. hv:
  18374. description: 持仓量
  18375. type: integer
  18376. l:
  18377. description: 最低价
  18378. type: number
  18379. o:
  18380. description: 开盘价
  18381. type: number
  18382. s:
  18383. description: 结算价,日线周期(包括)以上才有
  18384. type: number
  18385. ts:
  18386. description: 时间
  18387. type: string
  18388. tt:
  18389. description: 总金额
  18390. type: number
  18391. tv:
  18392. description: 总量(成交量)
  18393. type: integer
  18394. type: object
  18395. quote.HistoryTikData:
  18396. properties:
  18397. AV:
  18398. description: 卖量
  18399. type: integer
  18400. Ask:
  18401. description: 卖价
  18402. type: number
  18403. BV:
  18404. description: 买量
  18405. type: integer
  18406. Bid:
  18407. description: 买价
  18408. type: number
  18409. HI:
  18410. description: 单笔持仓
  18411. type: integer
  18412. HV:
  18413. description: 持仓量
  18414. type: integer
  18415. PE:
  18416. description: 现价
  18417. type: number
  18418. TDR:
  18419. description: 交易方向,0:买 1:卖
  18420. type: integer
  18421. TK:
  18422. description: 交易类型
  18423. type: integer
  18424. TS:
  18425. description: 行情时间文本
  18426. type: string
  18427. TT:
  18428. description: 现金额
  18429. type: number
  18430. Vol:
  18431. description: 现量
  18432. type: integer
  18433. type: object
  18434. quote.QueryQuoteDayRsp:
  18435. properties:
  18436. ask:
  18437. description: 卖1
  18438. type: number
  18439. ask2:
  18440. description: 卖2
  18441. type: number
  18442. ask3:
  18443. description: 卖3
  18444. type: number
  18445. ask4:
  18446. description: 卖4
  18447. type: number
  18448. ask5:
  18449. description: 卖5
  18450. type: number
  18451. ask6:
  18452. description: 卖6
  18453. type: number
  18454. ask7:
  18455. description: 卖7
  18456. type: number
  18457. ask8:
  18458. description: 卖8
  18459. type: number
  18460. ask9:
  18461. description: 卖9
  18462. type: number
  18463. ask10:
  18464. description: 卖10
  18465. type: number
  18466. askorderid:
  18467. description: 卖单号1
  18468. type: integer
  18469. askorderid2:
  18470. description: 卖单号2
  18471. type: integer
  18472. askorderid3:
  18473. description: 卖单号3
  18474. type: integer
  18475. askorderid4:
  18476. description: 卖单号4
  18477. type: integer
  18478. askorderid5:
  18479. description: 卖单号5
  18480. type: integer
  18481. askordervolume:
  18482. description: 卖单量1
  18483. type: integer
  18484. askordervolume2:
  18485. description: 卖单量2
  18486. type: integer
  18487. askordervolume3:
  18488. description: 卖单量3
  18489. type: integer
  18490. askordervolume4:
  18491. description: 卖单量4
  18492. type: integer
  18493. askordervolume5:
  18494. description: 卖单量5
  18495. type: integer
  18496. askordervolume6:
  18497. description: 卖单量6
  18498. type: integer
  18499. askordervolume7:
  18500. description: 卖单量7
  18501. type: integer
  18502. askordervolume8:
  18503. description: 卖单量8
  18504. type: integer
  18505. askordervolume9:
  18506. description: 卖单量9
  18507. type: integer
  18508. askordervolume10:
  18509. description: 卖单量10
  18510. type: integer
  18511. askqueueinfo:
  18512. description: 大利市卖港股用
  18513. type: string
  18514. askvolume:
  18515. description: 卖量1
  18516. type: integer
  18517. askvolume2:
  18518. description: 卖量2
  18519. type: integer
  18520. askvolume3:
  18521. description: 卖量3
  18522. type: integer
  18523. askvolume4:
  18524. description: 卖量4
  18525. type: integer
  18526. askvolume5:
  18527. description: 卖量5
  18528. type: integer
  18529. askvolume6:
  18530. description: 卖量6
  18531. type: integer
  18532. askvolume7:
  18533. description: 卖量7
  18534. type: integer
  18535. askvolume8:
  18536. description: 卖量8
  18537. type: integer
  18538. askvolume9:
  18539. description: 卖量9
  18540. type: integer
  18541. askvolume10:
  18542. description: 卖量10
  18543. type: integer
  18544. averageprice:
  18545. description: 均价
  18546. type: number
  18547. bid:
  18548. description: 买1
  18549. type: number
  18550. bid2:
  18551. description: 买2
  18552. type: number
  18553. bid3:
  18554. description: 买3
  18555. type: number
  18556. bid4:
  18557. description: 买4
  18558. type: number
  18559. bid5:
  18560. description: 买5
  18561. type: number
  18562. bid6:
  18563. description: 买6
  18564. type: number
  18565. bid7:
  18566. description: 买7
  18567. type: number
  18568. bid8:
  18569. description: 买8
  18570. type: number
  18571. bid9:
  18572. description: 买9
  18573. type: number
  18574. bid10:
  18575. description: 买10
  18576. type: number
  18577. bidorderid:
  18578. description: 买单号1
  18579. type: integer
  18580. bidorderid2:
  18581. description: 买单号2
  18582. type: integer
  18583. bidorderid3:
  18584. description: 买单号3
  18585. type: integer
  18586. bidorderid4:
  18587. description: 买单号4
  18588. type: integer
  18589. bidorderid5:
  18590. description: 买单号5
  18591. type: integer
  18592. bidordervolume:
  18593. description: 买单量1
  18594. type: integer
  18595. bidordervolume2:
  18596. description: 买单量2
  18597. type: integer
  18598. bidordervolume3:
  18599. description: 买单量3
  18600. type: integer
  18601. bidordervolume4:
  18602. description: 买单量4
  18603. type: integer
  18604. bidordervolume5:
  18605. description: 买单量5
  18606. type: integer
  18607. bidordervolume6:
  18608. description: 买单量6
  18609. type: integer
  18610. bidordervolume7:
  18611. description: 买单量7
  18612. type: integer
  18613. bidordervolume8:
  18614. description: 买单量8
  18615. type: integer
  18616. bidordervolume9:
  18617. description: 买单量9
  18618. type: integer
  18619. bidordervolume10:
  18620. description: 买单量10
  18621. type: integer
  18622. bidqueueinfo:
  18623. description: 大利市买港股用
  18624. type: string
  18625. bidvolume:
  18626. description: 买量1
  18627. type: integer
  18628. bidvolume2:
  18629. description: 买量2
  18630. type: integer
  18631. bidvolume3:
  18632. description: 买量3
  18633. type: integer
  18634. bidvolume4:
  18635. description: 买量4
  18636. type: integer
  18637. bidvolume5:
  18638. description: 买量5
  18639. type: integer
  18640. bidvolume6:
  18641. description: 买量6
  18642. type: integer
  18643. bidvolume7:
  18644. description: 买量7
  18645. type: integer
  18646. bidvolume8:
  18647. description: 买量8
  18648. type: integer
  18649. bidvolume9:
  18650. description: 买量9
  18651. type: integer
  18652. bidvolume10:
  18653. description: 买量10
  18654. type: integer
  18655. calloptionpremiums:
  18656. description: 认购期权1
  18657. type: integer
  18658. calloptionpremiums2:
  18659. description: 认购期权2
  18660. type: integer
  18661. calloptionpremiums3:
  18662. description: 认购期权3
  18663. type: integer
  18664. calloptionpremiums4:
  18665. description: 认购期权4
  18666. type: integer
  18667. calloptionpremiums5:
  18668. description: 认购期权5
  18669. type: integer
  18670. cleartime:
  18671. description: 清盘时间
  18672. type: integer
  18673. exchangecode:
  18674. description: 交易所代码
  18675. type: integer
  18676. exchangedate:
  18677. description: 交易日
  18678. type: integer
  18679. goodscode:
  18680. description: 商品代码
  18681. type: string
  18682. grepmarketprice:
  18683. description: 暗盘价 港股专用
  18684. type: number
  18685. highest:
  18686. description: 最高价
  18687. type: number
  18688. holdincrement:
  18689. description: 单笔持仓
  18690. type: integer
  18691. holdvolume:
  18692. description: 持仓
  18693. type: integer
  18694. iep:
  18695. description: 平衡价 港股专用
  18696. type: number
  18697. iev:
  18698. description: 平衡量 港股专用
  18699. type: number
  18700. inventory:
  18701. description: 库存
  18702. type: integer
  18703. iscleared:
  18704. description: 是否清盘标志
  18705. type: integer
  18706. issettled:
  18707. description: 是否结算标志
  18708. type: integer
  18709. last:
  18710. description: 最新价
  18711. type: number
  18712. lastlot:
  18713. description: 最新成交手数
  18714. type: integer
  18715. lasttime:
  18716. description: 行情时间(只有现价变化行情时间才变化)
  18717. type: string
  18718. lastturnover:
  18719. description: 最新成交金额
  18720. type: number
  18721. lastvolume:
  18722. description: 最新成交量
  18723. type: integer
  18724. limitdown:
  18725. description: 跌停价
  18726. type: number
  18727. limitup:
  18728. description: 涨停价
  18729. type: number
  18730. lowest:
  18731. description: 最低价
  18732. type: number
  18733. nontotalholdervolume:
  18734. description: 非交易持仓量
  18735. type: integer
  18736. nontotallot:
  18737. description: 非交易总手数
  18738. type: integer
  18739. nontotalturnover:
  18740. description: 非交易总金额
  18741. type: integer
  18742. nontotalvolume:
  18743. description: 非交易总量
  18744. type: integer
  18745. opened:
  18746. description: 开盘价
  18747. type: number
  18748. opentime:
  18749. description: 开盘时间
  18750. type: string
  18751. orderid:
  18752. description: 序号
  18753. type: integer
  18754. preclose:
  18755. description: 昨收
  18756. type: number
  18757. preholdvolume:
  18758. description: 昨持仓
  18759. type: integer
  18760. presettle:
  18761. description: 昨结价
  18762. type: number
  18763. publictradetype:
  18764. description: 公共交易标志类型 港股专用
  18765. type: string
  18766. putoptionpremiums:
  18767. description: 认沽期权1
  18768. type: integer
  18769. putoptionpremiums2:
  18770. description: 认沽期权2
  18771. type: integer
  18772. putoptionpremiums3:
  18773. description: 认沽期权3
  18774. type: integer
  18775. putoptionpremiums4:
  18776. description: 认沽期权4
  18777. type: integer
  18778. putoptionpremiums5:
  18779. description: 认沽期权5
  18780. type: integer
  18781. settle:
  18782. description: 结算价
  18783. type: number
  18784. strikeprice:
  18785. description: 发行价
  18786. type: number
  18787. totalaskvolume:
  18788. description: 内盘
  18789. type: integer
  18790. totalbidvolume:
  18791. description: 外盘
  18792. type: integer
  18793. totallot:
  18794. description: 总手数
  18795. type: integer
  18796. totalturnover:
  18797. description: 总金额
  18798. type: number
  18799. totalvolume:
  18800. description: 总量
  18801. type: integer
  18802. utclasttime:
  18803. description: utc的行情时间
  18804. type: string
  18805. type: object
  18806. quote.QueryTSDataRsp:
  18807. properties:
  18808. Count:
  18809. description: 交易日应有数据个数
  18810. type: integer
  18811. decimalPlace:
  18812. description: 小数位
  18813. type: integer
  18814. endTime:
  18815. description: 结束时间
  18816. type: string
  18817. goodsCode:
  18818. description: 商品代码
  18819. type: string
  18820. historyDatas:
  18821. description: 历史数据
  18822. items:
  18823. $ref: '#/definitions/quote.HistoryData'
  18824. type: array
  18825. outGoodsCode:
  18826. description: 外部商品代码
  18827. type: string
  18828. preSettle:
  18829. description: 昨结价
  18830. type: number
  18831. runSteps:
  18832. description: 交易日开休市计划
  18833. items:
  18834. $ref: '#/definitions/quote.TSDataRunStep'
  18835. type: array
  18836. startTime:
  18837. description: 开始时间
  18838. type: string
  18839. tradeDate:
  18840. description: 交易日
  18841. type: string
  18842. type: object
  18843. quote.TSDataRunStep:
  18844. properties:
  18845. end:
  18846. description: 真实结束时间
  18847. type: string
  18848. endflag:
  18849. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  18850. type: integer
  18851. endtime:
  18852. description: 结束时间(HH:mm)
  18853. type: string
  18854. endweekday:
  18855. description: 结束周几
  18856. type: integer
  18857. groupid:
  18858. description: 分组ID
  18859. type: integer
  18860. runstep:
  18861. description: 运行阶段 - 2:连续交易
  18862. type: integer
  18863. sectionid:
  18864. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几,
  18865. 结束时间=结算时间 结束周几=结算周几
  18866. type: integer
  18867. start:
  18868. description: 真实开始时间
  18869. type: string
  18870. startflag:
  18871. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  18872. type: integer
  18873. starttime:
  18874. description: 起始时间(HH:mm)
  18875. type: string
  18876. startweekday:
  18877. description: 起始周几
  18878. type: integer
  18879. tradeweekday:
  18880. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  18881. type: integer
  18882. type: object
  18883. szdz.QueryConvertLogRsp:
  18884. properties:
  18885. accountid:
  18886. description: 资金账户ID
  18887. type: integer
  18888. clientticket:
  18889. description: 客户端流水号
  18890. type: string
  18891. converttype:
  18892. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  18893. type: integer
  18894. createtime:
  18895. description: 记账时间
  18896. type: string
  18897. daymaxvalue:
  18898. description: 配置当日最大转入限制
  18899. type: number
  18900. daymaxvalue2:
  18901. description: 配置当日最大转入限制(转入)
  18902. type: number
  18903. goodscode:
  18904. description: 商品代码
  18905. type: string
  18906. goodsname:
  18907. description: 商品名称
  18908. type: string
  18909. handlestatus:
  18910. description: 处理状态
  18911. type: integer
  18912. innergoodsid:
  18913. description: 内部商品ID
  18914. type: integer
  18915. inratio:
  18916. description: 配置转入比值
  18917. type: integer
  18918. invalue:
  18919. description: 目标值
  18920. type: number
  18921. logid:
  18922. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  18923. type: integer
  18924. mobile:
  18925. description: 手机号码(加密存储)
  18926. type: string
  18927. outergoodscode:
  18928. description: 外部商品代码[JD\PD]
  18929. type: string
  18930. outratio:
  18931. description: 配置转出比值
  18932. type: integer
  18933. outvalue:
  18934. description: 源值
  18935. type: number
  18936. pddecimalplace:
  18937. description: PD小数位
  18938. type: integer
  18939. qty:
  18940. description: 数量
  18941. type: string
  18942. remark:
  18943. description: 备注
  18944. type: string
  18945. sessionid:
  18946. description: 会话ID
  18947. type: integer
  18948. timemaxvalue:
  18949. description: 配置单次最大转入限制
  18950. type: number
  18951. timemaxvalue2:
  18952. description: 配置单次最大转入限制(转入)
  18953. type: number
  18954. timeminvalue:
  18955. description: 配置单次最小数量限制
  18956. type: number
  18957. timeminvalue2:
  18958. description: 配置单次最小数量限制(转入)
  18959. type: number
  18960. tradedate:
  18961. description: 交易日(yyyyMMdd)
  18962. type: string
  18963. userid:
  18964. description: 用户ID
  18965. type: integer
  18966. required:
  18967. - logid
  18968. type: object
  18969. szdz.QueryGoodsPickupRsp:
  18970. properties:
  18971. accountid:
  18972. description: 账户ID
  18973. type: integer
  18974. address:
  18975. description: 提货人详细地址
  18976. type: string
  18977. auditer:
  18978. description: 审核人
  18979. type: integer
  18980. audittime:
  18981. description: 审核时间
  18982. type: string
  18983. cardnum:
  18984. description: 提货人证件号码
  18985. type: string
  18986. cardtypeid:
  18987. description: 提货人证件类型
  18988. type: integer
  18989. checkremark:
  18990. description: 审核备注
  18991. type: string
  18992. goodscode:
  18993. description: 商品代码
  18994. type: string
  18995. goodsid:
  18996. description: 商品ID
  18997. type: integer
  18998. goodsname:
  18999. description: 商品名称
  19000. type: string
  19001. handlestatus:
  19002. description: 处理状态
  19003. type: integer
  19004. marketid:
  19005. description: 市场ID
  19006. type: integer
  19007. phonenum:
  19008. description: 提货人联系方式
  19009. type: string
  19010. qty:
  19011. description: 提货数量
  19012. type: number
  19013. recivername:
  19014. description: 提货人姓名
  19015. type: string
  19016. reqtime:
  19017. description: 更新时间
  19018. type: string
  19019. takemode:
  19020. description: 提货方式 - 2:自提 3:配送
  19021. type: integer
  19022. takeorderid:
  19023. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  19024. type: string
  19025. takeorderstatus:
  19026. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  19027. type: integer
  19028. takeremark:
  19029. description: 提货备注
  19030. type: string
  19031. tradedate:
  19032. description: 交易日(yyyyMMdd)
  19033. type: string
  19034. userid:
  19035. description: 用户ID
  19036. type: integer
  19037. required:
  19038. - takeorderid
  19039. type: object
  19040. szdz.QueryRecieptOrderRsp:
  19041. properties:
  19042. accountName:
  19043. description: 所属账号名称(已脱敏)
  19044. type: string
  19045. accountid:
  19046. description: 资金账号
  19047. type: integer
  19048. buyorsell:
  19049. description: 方向 - 0:买 1:卖
  19050. type: integer
  19051. enableqty:
  19052. description: 可摘数量
  19053. type: integer
  19054. goodscode:
  19055. description: 商品代码
  19056. type: string
  19057. goodsid:
  19058. description: 商品ID
  19059. type: integer
  19060. goodsname:
  19061. description: 商品名称
  19062. type: string
  19063. orderid:
  19064. description: 委托单号
  19065. type: string
  19066. orderprice:
  19067. description: 委托价格
  19068. type: number
  19069. ordertime:
  19070. description: 委托时间
  19071. type: string
  19072. tradedate:
  19073. description: 交易日(yyyyMMdd)
  19074. type: string
  19075. required:
  19076. - ordertime
  19077. type: object
  19078. szdz.QuerySZDZTradePositionRsp:
  19079. properties:
  19080. accountid:
  19081. description: 账号Id
  19082. type: integer
  19083. agreeunit:
  19084. description: 合约单位
  19085. type: number
  19086. averageprice:
  19087. description: 持仓均价
  19088. type: number
  19089. buyorsell:
  19090. description: 方向 - 0:买 1:卖
  19091. type: integer
  19092. closetotalqty:
  19093. description: 平仓总数量
  19094. type: integer
  19095. curholderamount:
  19096. description: 当前持仓总金额
  19097. type: number
  19098. curpositionqty:
  19099. description: 当前持仓总数量
  19100. type: integer
  19101. currencyid:
  19102. description: 报价货币ID
  19103. type: integer
  19104. curtdposition:
  19105. description: 期末今日头寸
  19106. type: integer
  19107. decimalplace:
  19108. description: 报价小数位
  19109. type: integer
  19110. enableqty:
  19111. description: 可用量
  19112. type: integer
  19113. fretdposition:
  19114. description: 冻结今日头寸
  19115. type: integer
  19116. frozenqty:
  19117. description: 持仓冻结数量
  19118. type: integer
  19119. goodscode:
  19120. description: 商品代码(内部)
  19121. type: string
  19122. goodsid:
  19123. description: 商品Id
  19124. type: integer
  19125. goodsname:
  19126. description: 商品名称
  19127. type: string
  19128. goodunit:
  19129. description: 报价单位
  19130. type: string
  19131. goodunitid:
  19132. description: 报价单位ID
  19133. type: integer
  19134. holderamount:
  19135. description: 期初持仓总金额
  19136. type: number
  19137. marketid:
  19138. description: 市场ID
  19139. type: integer
  19140. openreqqty:
  19141. description: 开仓申请数量
  19142. type: integer
  19143. opentotalqty:
  19144. description: 开仓总数量
  19145. type: integer
  19146. otherfrozenqty:
  19147. description: 持仓其他冻结数量(交割冻结)
  19148. type: integer
  19149. positionqty:
  19150. description: 期初持仓数量
  19151. type: integer
  19152. szdz3freezqty:
  19153. description: 尚志大宗转换冻结总数量
  19154. type: integer
  19155. tnqty:
  19156. description: T+N冻结总量
  19157. type: integer
  19158. tnusedqty:
  19159. description: T+N使用量
  19160. type: integer
  19161. trademode:
  19162. description: 交易模式
  19163. type: integer
  19164. usedmargin:
  19165. description: 占用保证金
  19166. type: number
  19167. type: object
  19168. taaccount.QueryAmountLogRsp:
  19169. properties:
  19170. OPERATETYPENAME:
  19171. description: 资金操作类型名称
  19172. type: string
  19173. accountid:
  19174. description: 资金账户ID
  19175. type: integer
  19176. agoodscode:
  19177. description: 竞拍商品代码
  19178. type: string
  19179. agoodsname:
  19180. description: 竞拍商品名称
  19181. type: string
  19182. amount:
  19183. description: 资金金额
  19184. type: number
  19185. amountadjusttype:
  19186. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  19187. type: integer
  19188. autoid:
  19189. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  19190. type: integer
  19191. balance:
  19192. description: 期初余额
  19193. type: number
  19194. businesscode:
  19195. description: 业务编号
  19196. type: integer
  19197. createtime:
  19198. description: 发生时间
  19199. type: string
  19200. currencyid:
  19201. description: 币种ID
  19202. type: integer
  19203. currentbalance:
  19204. description: 期末余额(变动后金额)
  19205. type: number
  19206. dgoodscode:
  19207. description: 交割商品代码
  19208. type: string
  19209. dgoodsname:
  19210. description: 交割商品名称
  19211. type: string
  19212. goodscode:
  19213. description: 商品代码
  19214. type: string
  19215. goodsid:
  19216. description: 商品ID
  19217. type: integer
  19218. goodsname:
  19219. description: 商品名称
  19220. type: string
  19221. marketid:
  19222. description: 市场ID
  19223. type: integer
  19224. marketname:
  19225. description: 市场名称
  19226. type: string
  19227. moneyticket:
  19228. description: 资金流水号:银行端流水号
  19229. type: integer
  19230. operatetype:
  19231. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  19232. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  19233. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  19234. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  19235. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  19236. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  19237. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  19238. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  19239. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  19240. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  19241. type: integer
  19242. relationorderid:
  19243. description: 关联单号
  19244. type: string
  19245. remark:
  19246. description: 备注
  19247. type: string
  19248. trademode:
  19249. description: 交易模式
  19250. type: integer
  19251. required:
  19252. - accountid
  19253. - amount
  19254. - amountadjusttype
  19255. - autoid
  19256. - balance
  19257. - createtime
  19258. - currentbalance
  19259. - operatetype
  19260. type: object
  19261. taaccount.QueryHisAmountLogRsp:
  19262. properties:
  19263. OPERATETYPENAME:
  19264. description: 资金操作类型名称
  19265. type: string
  19266. accountid:
  19267. description: 资金账户ID
  19268. type: integer
  19269. agoodscode:
  19270. description: 竞拍商品代码
  19271. type: string
  19272. agoodsname:
  19273. description: 竞拍商品名称
  19274. type: string
  19275. amount:
  19276. description: 资金金额
  19277. type: number
  19278. amountadjusttype:
  19279. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  19280. type: integer
  19281. autoid:
  19282. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  19283. type: integer
  19284. balance:
  19285. description: 期初余额
  19286. type: number
  19287. businesscode:
  19288. description: 业务编号
  19289. type: integer
  19290. createtime:
  19291. description: 发生时间
  19292. type: string
  19293. currencyid:
  19294. description: 币种ID
  19295. type: integer
  19296. currentbalance:
  19297. description: 期末余额(变动后金额)
  19298. type: number
  19299. dgoodscode:
  19300. description: 交割商品代码
  19301. type: string
  19302. dgoodsname:
  19303. description: 交割商品名称
  19304. type: string
  19305. goodscode:
  19306. description: 商品代码
  19307. type: string
  19308. goodsid:
  19309. description: 商品ID
  19310. type: integer
  19311. goodsname:
  19312. description: 商品名称
  19313. type: string
  19314. histradedate:
  19315. description: 历史交易日
  19316. type: string
  19317. isvaliddata:
  19318. description: 是否有效 - 0:无效 1:有效
  19319. type: integer
  19320. marketid:
  19321. description: 市场ID
  19322. type: integer
  19323. marketname:
  19324. description: 市场名称
  19325. type: string
  19326. moneyticket:
  19327. description: 资金流水号:银行端流水号
  19328. type: integer
  19329. operatetype:
  19330. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  19331. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  19332. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  19333. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  19334. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  19335. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  19336. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  19337. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  19338. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  19339. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  19340. type: integer
  19341. relationorderid:
  19342. description: 关联单号
  19343. type: string
  19344. remark:
  19345. description: 备注
  19346. type: string
  19347. trademode:
  19348. description: 交易模式
  19349. type: integer
  19350. required:
  19351. - accountid
  19352. - amount
  19353. - amountadjusttype
  19354. - autoid
  19355. - balance
  19356. - createtime
  19357. - currentbalance
  19358. - histradedate
  19359. - operatetype
  19360. type: object
  19361. trade.QueryRecieptOrderRsp:
  19362. properties:
  19363. accountName:
  19364. description: 所属账号名称(已脱敏)
  19365. type: string
  19366. accountid:
  19367. description: 资金账号
  19368. type: integer
  19369. buyorsell:
  19370. description: 方向 - 0:买 1:卖
  19371. type: integer
  19372. enableqty:
  19373. description: 可摘数量
  19374. type: integer
  19375. goodscode:
  19376. description: 商品代码
  19377. type: string
  19378. goodsid:
  19379. description: 商品ID
  19380. type: integer
  19381. goodsname:
  19382. description: 商品名称
  19383. type: string
  19384. orderid:
  19385. description: 委托单号
  19386. type: string
  19387. orderprice:
  19388. description: 委托价格
  19389. type: number
  19390. ordertime:
  19391. description: 委托时间
  19392. type: string
  19393. tradedate:
  19394. description: 交易日(yyyyMMdd)
  19395. type: string
  19396. required:
  19397. - ordertime
  19398. type: object
  19399. user.LoginQueryRsp:
  19400. properties:
  19401. areaRoles:
  19402. description: 所属角色信息
  19403. items:
  19404. $ref: '#/definitions/models.Arearole'
  19405. type: array
  19406. externalExchanges:
  19407. description: 外部交易所
  19408. items:
  19409. $ref: '#/definitions/models.Externalexchange'
  19410. type: array
  19411. goodsgroups:
  19412. description: 商品组
  19413. items:
  19414. $ref: '#/definitions/models.Goodsgroup'
  19415. type: array
  19416. loginAccount:
  19417. $ref: '#/definitions/models.Loginaccount'
  19418. description: 登录账号
  19419. markets:
  19420. description: 市场
  19421. items:
  19422. $ref: '#/definitions/models.Market'
  19423. type: array
  19424. systemParams:
  19425. description: 系统参数
  19426. items:
  19427. $ref: '#/definitions/models.Systemparam'
  19428. type: array
  19429. userAccount:
  19430. $ref: '#/definitions/models.Useraccount'
  19431. description: 用户账号
  19432. userInfo:
  19433. $ref: '#/definitions/models.Userinfo'
  19434. description: 用户信息
  19435. username:
  19436. description: 用户姓名
  19437. type: string
  19438. type: object
  19439. info:
  19440. contact: {}
  19441. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  19442. termsOfService: http://www.muchinfo.cn
  19443. title: MTP2.0 查询服务 API
  19444. version: "1.0"
  19445. paths:
  19446. /CPTrade/QueryCPTradeMyBidInfos:
  19447. get:
  19448. parameters:
  19449. - description: 资金账户
  19450. in: query
  19451. name: accountid
  19452. required: true
  19453. type: integer
  19454. - description: 预售市场ID
  19455. in: query
  19456. name: marketid
  19457. type: integer
  19458. - description: 预售商品ID
  19459. in: query
  19460. name: goodsid
  19461. type: integer
  19462. produces:
  19463. - application/json
  19464. responses:
  19465. "200":
  19466. description: OK
  19467. schema:
  19468. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  19469. "500":
  19470. description: Internal Server Error
  19471. schema:
  19472. $ref: '#/definitions/app.Response'
  19473. security:
  19474. - ApiKeyAuth: []
  19475. summary: 查询产能预售我的出价信息
  19476. tags:
  19477. - 产能预售
  19478. /CPTrade/QueryCPTradeOrderDetail:
  19479. get:
  19480. parameters:
  19481. - description: 预售商品ID
  19482. in: query
  19483. name: goodsid
  19484. type: integer
  19485. - description: 预售市场ID
  19486. in: query
  19487. name: marketid
  19488. type: integer
  19489. - description: 预售商品ID列表 - 格式:1,2,3
  19490. in: query
  19491. name: goodsids
  19492. type: string
  19493. produces:
  19494. - application/json
  19495. responses:
  19496. "200":
  19497. description: OK
  19498. schema:
  19499. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  19500. "500":
  19501. description: Internal Server Error
  19502. schema:
  19503. $ref: '#/definitions/app.Response'
  19504. security:
  19505. - ApiKeyAuth: []
  19506. summary: 查询产能预售委托单信息
  19507. tags:
  19508. - 产能预售
  19509. /CPTrade/QueryMyCPTradeGoods:
  19510. get:
  19511. parameters:
  19512. - description: 资金账户
  19513. in: query
  19514. name: accountid
  19515. required: true
  19516. type: integer
  19517. produces:
  19518. - application/json
  19519. responses:
  19520. "200":
  19521. description: OK
  19522. schema:
  19523. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  19524. "500":
  19525. description: Internal Server Error
  19526. schema:
  19527. $ref: '#/definitions/app.Response'
  19528. security:
  19529. - ApiKeyAuth: []
  19530. summary: 查询我的预售信息
  19531. tags:
  19532. - 产能预售
  19533. /CPTrade/QueryPositionCancel:
  19534. get:
  19535. parameters:
  19536. - description: 账户ID
  19537. in: query
  19538. name: userid
  19539. required: true
  19540. type: integer
  19541. - description: 注销ID
  19542. in: query
  19543. name: cancelid
  19544. type: integer
  19545. - description: 资金账户ID
  19546. in: query
  19547. name: accountid
  19548. type: integer
  19549. produces:
  19550. - application/json
  19551. responses:
  19552. "200":
  19553. description: OK
  19554. schema:
  19555. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  19556. "500":
  19557. description: Internal Server Error
  19558. schema:
  19559. $ref: '#/definitions/app.Response'
  19560. security:
  19561. - ApiKeyAuth: []
  19562. summary: 查询远期订单注销申请信息
  19563. tags:
  19564. - 产能预售
  19565. /CPTrade/QueryPreasleApply:
  19566. get:
  19567. parameters:
  19568. - description: 账户ID
  19569. in: query
  19570. name: userid
  19571. required: true
  19572. type: integer
  19573. - description: 申请ID
  19574. in: query
  19575. name: applyid
  19576. type: integer
  19577. - description: 资金账户ID
  19578. in: query
  19579. name: accountid
  19580. type: integer
  19581. produces:
  19582. - application/json
  19583. responses:
  19584. "200":
  19585. description: OK
  19586. schema:
  19587. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  19588. "500":
  19589. description: Internal Server Error
  19590. schema:
  19591. $ref: '#/definitions/app.Response'
  19592. security:
  19593. - ApiKeyAuth: []
  19594. summary: 查询产能预售申请信息
  19595. tags:
  19596. - 产能预售
  19597. /CPTrade/QueryPresaleGoodsEx:
  19598. get:
  19599. parameters:
  19600. - description: 预售商品ID
  19601. in: query
  19602. name: goodsid
  19603. type: integer
  19604. - description: 预售市场ID
  19605. in: query
  19606. name: marketid
  19607. type: integer
  19608. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  19609. in: query
  19610. name: presalemode
  19611. type: integer
  19612. - description: 预售商品ID列表 - 格式:1,2,3
  19613. in: query
  19614. name: goodsids
  19615. type: string
  19616. - description: 预售商品代码
  19617. in: query
  19618. name: goodscode
  19619. type: string
  19620. produces:
  19621. - application/json
  19622. responses:
  19623. "200":
  19624. description: OK
  19625. schema:
  19626. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  19627. "500":
  19628. description: Internal Server Error
  19629. schema:
  19630. $ref: '#/definitions/app.Response'
  19631. security:
  19632. - ApiKeyAuth: []
  19633. summary: 查询产能预售商品扩展信息
  19634. tags:
  19635. - 产能预售
  19636. /CPTrade/QueryUserGoodsData:
  19637. get:
  19638. parameters:
  19639. - description: 资金账户ID
  19640. in: query
  19641. name: accountid
  19642. required: true
  19643. type: integer
  19644. produces:
  19645. - application/json
  19646. responses:
  19647. "200":
  19648. description: OK
  19649. schema:
  19650. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  19651. "500":
  19652. description: Internal Server Error
  19653. schema:
  19654. $ref: '#/definitions/app.Response'
  19655. security:
  19656. - ApiKeyAuth: []
  19657. summary: 查询远期订单信息
  19658. tags:
  19659. - 产能预售
  19660. /Common/DeleteNewFuncmenu:
  19661. delete:
  19662. consumes:
  19663. - application/json
  19664. parameters:
  19665. - description: 菜单表数据,只需要resourcecode字段即可
  19666. in: body
  19667. name: data
  19668. required: true
  19669. schema:
  19670. $ref: '#/definitions/models.NewFuncmenulist'
  19671. produces:
  19672. - application/json
  19673. responses:
  19674. "200":
  19675. description: OK
  19676. schema:
  19677. $ref: '#/definitions/app.Response'
  19678. "500":
  19679. description: Internal Server Error
  19680. schema:
  19681. $ref: '#/definitions/app.Response'
  19682. security:
  19683. - ApiKeyAuth: []
  19684. summary: 删除菜单表数据
  19685. tags:
  19686. - 通用服务
  19687. /Common/FindNewFuncmenu:
  19688. get:
  19689. parameters:
  19690. - description: 资源代码
  19691. in: query
  19692. name: resourcecode
  19693. type: string
  19694. - description: 上级资源代码
  19695. in: query
  19696. name: parentcode
  19697. type: string
  19698. - description: 资源名(Title), 模糊查询
  19699. in: query
  19700. name: resourcename
  19701. type: string
  19702. - description: 菜单类型(格式:1,2,3) - 1:管理端 2:PC(C#) 3:移动(云平台) 4:终端(交易所) 5:PC(云平台)
  19703. in: query
  19704. name: menutype
  19705. type: string
  19706. produces:
  19707. - application/json
  19708. responses:
  19709. "200":
  19710. description: OK
  19711. schema:
  19712. items:
  19713. $ref: '#/definitions/models.NewFuncmenulist'
  19714. type: array
  19715. "500":
  19716. description: Internal Server Error
  19717. schema:
  19718. $ref: '#/definitions/app.Response'
  19719. security:
  19720. - ApiKeyAuth: []
  19721. summary: 获取菜单表数据
  19722. tags:
  19723. - 通用服务
  19724. /Common/GetAllEnums:
  19725. get:
  19726. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  19727. parameters:
  19728. - description: 起始自增ID
  19729. in: query
  19730. name: autoid
  19731. type: integer
  19732. produces:
  19733. - application/json
  19734. responses:
  19735. "200":
  19736. description: OK
  19737. schema:
  19738. $ref: '#/definitions/models.Enumdicitem'
  19739. "500":
  19740. description: Internal Server Error
  19741. schema:
  19742. $ref: '#/definitions/app.Response'
  19743. summary: 获取所有枚举信息
  19744. tags:
  19745. - 通用服务
  19746. /Common/GetClientMenus:
  19747. get:
  19748. parameters:
  19749. - description: 登录账号
  19750. in: query
  19751. name: loginID
  19752. required: true
  19753. type: integer
  19754. - description: 终端类型,0:PCWEB 1:Mobile,不传默认返回PC端数据
  19755. in: query
  19756. name: clientType
  19757. type: integer
  19758. - description: 分支名称,ermcp-风管云平台;pingan-平安期货;trader-交易所;不传默认返回风管云平台
  19759. in: query
  19760. name: name
  19761. type: string
  19762. produces:
  19763. - application/json
  19764. responses:
  19765. "200":
  19766. description: OK
  19767. schema:
  19768. items:
  19769. $ref: '#/definitions/common.ClientMenu'
  19770. type: array
  19771. "500":
  19772. description: Internal Server Error
  19773. schema:
  19774. $ref: '#/definitions/app.Response'
  19775. security:
  19776. - ApiKeyAuth: []
  19777. summary: 获取交易端菜单
  19778. tags:
  19779. - 通用服务
  19780. /Common/GetClientNewFuncmenu:
  19781. get:
  19782. parameters:
  19783. - description: 登录账号
  19784. in: query
  19785. name: loginid
  19786. required: true
  19787. type: integer
  19788. - description: 菜单类型 - 1:管理端 2:PC(C#) 3:移动(云平台) 4:终端(交易所) 5:PC(云平台)
  19789. in: query
  19790. name: menutype
  19791. required: true
  19792. type: integer
  19793. produces:
  19794. - application/json
  19795. responses:
  19796. "200":
  19797. description: OK
  19798. schema:
  19799. items:
  19800. $ref: '#/definitions/models.NewFuncmenulist'
  19801. type: array
  19802. "500":
  19803. description: Internal Server Error
  19804. schema:
  19805. $ref: '#/definitions/app.Response'
  19806. security:
  19807. - ApiKeyAuth: []
  19808. summary: 获取终端菜单
  19809. tags:
  19810. - 通用服务
  19811. /Common/GetDivisions:
  19812. get:
  19813. produces:
  19814. - application/json
  19815. responses:
  19816. "200":
  19817. description: OK
  19818. schema:
  19819. $ref: '#/definitions/models.Division'
  19820. "500":
  19821. description: Internal Server Error
  19822. schema:
  19823. $ref: '#/definitions/app.Response'
  19824. summary: 查询区域信息
  19825. tags:
  19826. - 通用服务
  19827. /Common/GetPCWebMenus:
  19828. get:
  19829. parameters:
  19830. - description: 登录账号
  19831. in: query
  19832. name: loginID
  19833. required: true
  19834. type: integer
  19835. - description: 分支名称,ermcp:风管云平台,不传默认返回ermcp
  19836. in: query
  19837. name: name
  19838. type: string
  19839. produces:
  19840. - application/json
  19841. responses:
  19842. "200":
  19843. description: OK
  19844. schema:
  19845. items:
  19846. $ref: '#/definitions/common.PCWebMenu'
  19847. type: array
  19848. "500":
  19849. description: Internal Server Error
  19850. schema:
  19851. $ref: '#/definitions/app.Response'
  19852. security:
  19853. - ApiKeyAuth: []
  19854. summary: 获取PCWeb交易端菜单
  19855. tags:
  19856. - 通用服务
  19857. /Common/GetServerTime:
  19858. get:
  19859. produces:
  19860. - application/json
  19861. responses:
  19862. "200":
  19863. description: OK
  19864. schema:
  19865. $ref: '#/definitions/app.Response'
  19866. "500":
  19867. description: Internal Server Error
  19868. schema:
  19869. $ref: '#/definitions/app.Response'
  19870. summary: 获取服务器时间
  19871. tags:
  19872. - 通用服务
  19873. /Common/InsertNewFuncmenu:
  19874. post:
  19875. consumes:
  19876. - application/json
  19877. parameters:
  19878. - description: 菜单表数据
  19879. in: body
  19880. name: data
  19881. required: true
  19882. schema:
  19883. $ref: '#/definitions/models.NewFuncmenulist'
  19884. produces:
  19885. - application/json
  19886. responses:
  19887. "200":
  19888. description: OK
  19889. schema:
  19890. $ref: '#/definitions/app.Response'
  19891. "500":
  19892. description: Internal Server Error
  19893. schema:
  19894. $ref: '#/definitions/app.Response'
  19895. security:
  19896. - ApiKeyAuth: []
  19897. summary: 插入菜单表数据
  19898. tags:
  19899. - 通用服务
  19900. /Common/NoticeReaded:
  19901. post:
  19902. parameters:
  19903. - description: 登录账号
  19904. in: query
  19905. name: loginID
  19906. required: true
  19907. type: integer
  19908. - description: 通知公告ID
  19909. in: query
  19910. name: noticeID
  19911. required: true
  19912. type: integer
  19913. produces:
  19914. - application/json
  19915. responses:
  19916. "200":
  19917. description: OK
  19918. schema:
  19919. $ref: '#/definitions/app.Response'
  19920. "500":
  19921. description: Internal Server Error
  19922. schema:
  19923. $ref: '#/definitions/app.Response'
  19924. security:
  19925. - ApiKeyAuth: []
  19926. summary: 通知公告设置已读请求
  19927. tags:
  19928. - 通用服务
  19929. /Common/QueryErrorInfos:
  19930. get:
  19931. description: 如果传入rowNumber,则返回此rowNumber后的数据
  19932. parameters:
  19933. - description: 起始行号前索引
  19934. in: query
  19935. name: rowNumber
  19936. type: string
  19937. produces:
  19938. - application/json
  19939. responses:
  19940. "200":
  19941. description: OK
  19942. schema:
  19943. $ref: '#/definitions/models.QueryErrorInfosRsp'
  19944. "500":
  19945. description: Internal Server Error
  19946. schema:
  19947. $ref: '#/definitions/app.Response'
  19948. summary: 获取数据库错误信息
  19949. tags:
  19950. - 通用服务
  19951. /Common/QueryImageConfigs:
  19952. get:
  19953. parameters:
  19954. - description: 用户id
  19955. in: query
  19956. name: userId
  19957. type: integer
  19958. - description: 类型 - 1:App首页轮播 2:我的 3:首页(PC) 4:首页推广(移动-新会)
  19959. in: query
  19960. name: imageType
  19961. type: integer
  19962. produces:
  19963. - application/json
  19964. responses:
  19965. "200":
  19966. description: OK
  19967. schema:
  19968. $ref: '#/definitions/common.QueryImageConfigsRsp'
  19969. "500":
  19970. description: Internal Server Error
  19971. schema:
  19972. $ref: '#/definitions/app.Response'
  19973. summary: 查询轮播图配置信息
  19974. tags:
  19975. - 通用服务
  19976. /Common/QueryNotice:
  19977. get:
  19978. parameters:
  19979. - description: 页码
  19980. in: query
  19981. name: page
  19982. type: integer
  19983. - description: 每页条数
  19984. in: query
  19985. name: pagesize
  19986. type: integer
  19987. - description: 登录账号
  19988. in: query
  19989. name: loginID
  19990. required: true
  19991. type: integer
  19992. - description: 消息类型 - 1:公告通知 2:系统消息
  19993. in: query
  19994. name: msgType
  19995. type: integer
  19996. - description: 是否只获取未读信息
  19997. in: query
  19998. name: onlyUnRead
  19999. type: boolean
  20000. - description: 自增ID,传入后会返回这个ID后面的记录
  20001. in: query
  20002. name: lastID
  20003. type: integer
  20004. produces:
  20005. - application/json
  20006. responses:
  20007. "200":
  20008. description: OK
  20009. schema:
  20010. $ref: '#/definitions/common.QueryNoticeRsp'
  20011. "500":
  20012. description: Internal Server Error
  20013. schema:
  20014. $ref: '#/definitions/app.Response'
  20015. security:
  20016. - ApiKeyAuth: []
  20017. summary: 通知公告系统消息查询
  20018. tags:
  20019. - 通用服务
  20020. /Common/QueryProvincesAndCities:
  20021. get:
  20022. parameters:
  20023. - description: 省ID
  20024. in: query
  20025. name: provinceID
  20026. type: integer
  20027. produces:
  20028. - application/json
  20029. responses:
  20030. "200":
  20031. description: OK
  20032. schema:
  20033. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  20034. "500":
  20035. description: Internal Server Error
  20036. schema:
  20037. $ref: '#/definitions/app.Response'
  20038. summary: 查询省市信息(不包括区)
  20039. tags:
  20040. - 通用服务
  20041. /Common/QueryRates:
  20042. get:
  20043. parameters:
  20044. - description: 页码
  20045. in: query
  20046. name: page
  20047. type: integer
  20048. - description: 每页条数
  20049. in: query
  20050. name: pagesize
  20051. type: integer
  20052. - description: 源币种ID
  20053. in: query
  20054. name: oricurrencyid
  20055. type: integer
  20056. - description: 目标币种ID
  20057. in: query
  20058. name: descurrencyid
  20059. type: integer
  20060. produces:
  20061. - application/json
  20062. responses:
  20063. "200":
  20064. description: OK
  20065. schema:
  20066. items:
  20067. $ref: '#/definitions/models.Exchangerateconfig'
  20068. type: array
  20069. "500":
  20070. description: Internal Server Error
  20071. schema:
  20072. $ref: '#/definitions/app.Response'
  20073. security:
  20074. - ApiKeyAuth: []
  20075. - LoginID: []
  20076. - Group: []
  20077. summary: 查询汇率信息
  20078. tags:
  20079. - 通用服务
  20080. /Common/QueryTableDefine:
  20081. get:
  20082. parameters:
  20083. - description: 表key
  20084. in: query
  20085. name: tableKey
  20086. type: string
  20087. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  20088. in: query
  20089. name: tableType
  20090. type: integer
  20091. produces:
  20092. - application/json
  20093. responses:
  20094. "200":
  20095. description: OK
  20096. schema:
  20097. $ref: '#/definitions/common.QueryTableDefineRsp'
  20098. "500":
  20099. description: Internal Server Error
  20100. schema:
  20101. $ref: '#/definitions/app.Response'
  20102. summary: 查询交易端列表头信息
  20103. tags:
  20104. - 通用服务
  20105. /Common/QueryTraderMenu:
  20106. get:
  20107. parameters:
  20108. - description: 登录账号
  20109. in: query
  20110. name: loginid
  20111. required: true
  20112. type: integer
  20113. produces:
  20114. - application/json
  20115. responses:
  20116. "200":
  20117. description: OK
  20118. schema:
  20119. $ref: '#/definitions/common.QueryTraderMenuRsp'
  20120. "500":
  20121. description: Internal Server Error
  20122. schema:
  20123. $ref: '#/definitions/app.Response'
  20124. summary: 查询交易端菜单
  20125. tags:
  20126. - 通用服务
  20127. /Common/UpdateNewFuncmenu:
  20128. put:
  20129. consumes:
  20130. - application/json
  20131. parameters:
  20132. - description: 菜单表数据
  20133. in: body
  20134. name: data
  20135. required: true
  20136. schema:
  20137. $ref: '#/definitions/models.NewFuncmenulist'
  20138. produces:
  20139. - application/json
  20140. responses:
  20141. "200":
  20142. description: OK
  20143. schema:
  20144. $ref: '#/definitions/app.Response'
  20145. "500":
  20146. description: Internal Server Error
  20147. schema:
  20148. $ref: '#/definitions/app.Response'
  20149. security:
  20150. - ApiKeyAuth: []
  20151. summary: 更新菜单表数据
  20152. tags:
  20153. - 通用服务
  20154. /Delivery/QueryDeliveryRelation:
  20155. get:
  20156. parameters:
  20157. - description: 商品ID
  20158. in: query
  20159. name: goodsid
  20160. type: integer
  20161. - description: 品种ID
  20162. in: query
  20163. name: deliverygoodsid
  20164. type: integer
  20165. - description: 市场ID
  20166. in: query
  20167. name: marketid
  20168. type: integer
  20169. produces:
  20170. - application/json
  20171. responses:
  20172. "200":
  20173. description: OK
  20174. schema:
  20175. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  20176. "500":
  20177. description: Internal Server Error
  20178. schema:
  20179. $ref: '#/definitions/app.Response'
  20180. security:
  20181. - ApiKeyAuth: []
  20182. summary: 查询商品交割关系表
  20183. tags:
  20184. - 交割服务
  20185. /Ermcp/GetErmcpGoods:
  20186. get:
  20187. parameters:
  20188. - description: 用户id(风管云平台版本传值, 只显示用户下设置了套保关联的品种)
  20189. in: query
  20190. name: userid
  20191. type: integer
  20192. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  20193. in: query
  20194. name: lastUpdateTime
  20195. type: string
  20196. produces:
  20197. - application/json
  20198. responses:
  20199. "200":
  20200. description: OK
  20201. schema:
  20202. $ref: '#/definitions/models.ErmcpGoods'
  20203. "500":
  20204. description: Internal Server Error
  20205. schema:
  20206. $ref: '#/definitions/app.Response'
  20207. security:
  20208. - ApiKeyAuth: []
  20209. summary: 查询企业风管期货商品信息
  20210. tags:
  20211. - 企业风险管理(app)
  20212. /Ermcp/GetErmcpGoodsSortByPosition:
  20213. get:
  20214. parameters:
  20215. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  20216. in: query
  20217. name: sortIndex
  20218. type: string
  20219. produces:
  20220. - application/json
  20221. responses:
  20222. "200":
  20223. description: OK
  20224. schema:
  20225. $ref: '#/definitions/models.Goodssortbypreposition'
  20226. "500":
  20227. description: Internal Server Error
  20228. schema:
  20229. $ref: '#/definitions/app.Response'
  20230. security:
  20231. - ApiKeyAuth: []
  20232. summary: 查询企业风管期货主力、次主力商品信息
  20233. tags:
  20234. - 企业风险管理(app)
  20235. /Ermcp/GetErmcpOutAccountStatus:
  20236. get:
  20237. parameters:
  20238. - description: 登录账号
  20239. in: query
  20240. name: loginID
  20241. required: true
  20242. type: integer
  20243. produces:
  20244. - application/json
  20245. responses:
  20246. "200":
  20247. description: OK
  20248. schema:
  20249. $ref: '#/definitions/models.Hedgemarketopenlog'
  20250. "500":
  20251. description: Internal Server Error
  20252. schema:
  20253. $ref: '#/definitions/app.Response'
  20254. security:
  20255. - ApiKeyAuth: []
  20256. summary: 获取目标登录账号当前对冲账号在线状态
  20257. tags:
  20258. - 企业风险管理(app)
  20259. /Ermcp/GetErmcpRoleFuncMenuLists:
  20260. get:
  20261. parameters:
  20262. - description: 登录账号
  20263. in: query
  20264. name: loginID
  20265. required: true
  20266. type: integer
  20267. produces:
  20268. - application/json
  20269. responses:
  20270. "200":
  20271. description: OK
  20272. schema:
  20273. $ref: '#/definitions/models.Funcmenulist'
  20274. "500":
  20275. description: Internal Server Error
  20276. schema:
  20277. $ref: '#/definitions/app.Response'
  20278. security:
  20279. - ApiKeyAuth: []
  20280. summary: 获取企业风管终端权限
  20281. tags:
  20282. - 企业风险管理(app)
  20283. /Ermcp/QueryAccMgrBizGroupSet:
  20284. get:
  20285. parameters:
  20286. - description: 用户ID
  20287. in: query
  20288. name: userid
  20289. required: true
  20290. type: integer
  20291. - description: 现货商品id
  20292. in: query
  20293. name: deliverygoodsid
  20294. type: integer
  20295. produces:
  20296. - application/json
  20297. responses:
  20298. "200":
  20299. description: OK
  20300. schema:
  20301. items:
  20302. $ref: '#/definitions/models.ErmcpBizGroupEx'
  20303. type: array
  20304. "500":
  20305. description: Internal Server Error
  20306. schema:
  20307. $ref: '#/definitions/app.Response'
  20308. security:
  20309. - ApiKeyAuth: []
  20310. summary: 查询业务类型分组(账户管理/账户设置)
  20311. tags:
  20312. - 企业风险管理(app)
  20313. /Ermcp/QueryAccMgrLoginUser:
  20314. get:
  20315. parameters:
  20316. - description: 用户ID
  20317. in: query
  20318. name: userid
  20319. required: true
  20320. type: integer
  20321. - description: 用户类型 2-机构 7-企业成员
  20322. in: query
  20323. name: usertype
  20324. type: integer
  20325. - description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  20326. in: query
  20327. name: querytype
  20328. required: true
  20329. type: integer
  20330. produces:
  20331. - application/json
  20332. responses:
  20333. "200":
  20334. description: OK
  20335. schema:
  20336. items:
  20337. $ref: '#/definitions/models.ErmcpLoginUserEx'
  20338. type: array
  20339. "500":
  20340. description: Internal Server Error
  20341. schema:
  20342. $ref: '#/definitions/app.Response'
  20343. security:
  20344. - ApiKeyAuth: []
  20345. summary: 查询账户管理登录账号(账户管理/登录账号)
  20346. tags:
  20347. - 企业风险管理(app)
  20348. /Ermcp/QueryAccMgrMainAccountInfo:
  20349. get:
  20350. parameters:
  20351. - description: 用户ID
  20352. in: query
  20353. name: userid
  20354. type: integer
  20355. - description: 主账号id
  20356. in: query
  20357. name: accountid
  20358. type: integer
  20359. produces:
  20360. - application/json
  20361. responses:
  20362. "200":
  20363. description: OK
  20364. schema:
  20365. items:
  20366. $ref: '#/definitions/models.MainAccountInfo'
  20367. type: array
  20368. "500":
  20369. description: Internal Server Error
  20370. schema:
  20371. $ref: '#/definitions/app.Response'
  20372. security:
  20373. - ApiKeyAuth: []
  20374. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  20375. tags:
  20376. - 企业风险管理(app)
  20377. /Ermcp/QueryAccMgrRole:
  20378. get:
  20379. parameters:
  20380. - description: 用户ID
  20381. in: query
  20382. name: userid
  20383. required: true
  20384. type: integer
  20385. produces:
  20386. - application/json
  20387. responses:
  20388. "200":
  20389. description: OK
  20390. schema:
  20391. items:
  20392. $ref: '#/definitions/models.ErmcpRole'
  20393. type: array
  20394. "500":
  20395. description: Internal Server Error
  20396. schema:
  20397. $ref: '#/definitions/app.Response'
  20398. security:
  20399. - ApiKeyAuth: []
  20400. summary: 查询账户管理角色设置(账户管理/角色设置)
  20401. tags:
  20402. - 企业风险管理(app)
  20403. /Ermcp/QueryAccMgrRoleMenu:
  20404. get:
  20405. parameters:
  20406. - description: 用户ID
  20407. in: query
  20408. name: userid
  20409. required: true
  20410. type: integer
  20411. - description: 角色id(可多个,逗号隔开)
  20412. in: query
  20413. name: roleid
  20414. type: string
  20415. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易 ps:新加的参数,为了兼容以前,不传则默认查3
  20416. in: query
  20417. name: menutype
  20418. type: integer
  20419. produces:
  20420. - application/json
  20421. responses:
  20422. "200":
  20423. description: OK
  20424. schema:
  20425. items:
  20426. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  20427. type: array
  20428. "500":
  20429. description: Internal Server Error
  20430. schema:
  20431. $ref: '#/definitions/app.Response'
  20432. security:
  20433. - ApiKeyAuth: []
  20434. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  20435. tags:
  20436. - 企业风险管理(app)
  20437. /Ermcp/QueryAccMgrTaAccountInfo:
  20438. get:
  20439. parameters:
  20440. - description: 用户ID
  20441. in: query
  20442. name: userid
  20443. required: true
  20444. type: integer
  20445. - description: 账号id
  20446. in: query
  20447. name: accountid
  20448. type: integer
  20449. produces:
  20450. - application/json
  20451. responses:
  20452. "200":
  20453. description: OK
  20454. schema:
  20455. items:
  20456. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  20457. type: array
  20458. "500":
  20459. description: Internal Server Error
  20460. schema:
  20461. $ref: '#/definitions/app.Response'
  20462. security:
  20463. - ApiKeyAuth: []
  20464. summary: 查询账户管理授信(账户管理/账户设置/授信)
  20465. tags:
  20466. - 企业风险管理(app)
  20467. /Ermcp/QueryAccMgrTaaccount:
  20468. get:
  20469. parameters:
  20470. - description: 用户ID
  20471. in: query
  20472. name: userid
  20473. required: true
  20474. type: integer
  20475. produces:
  20476. - application/json
  20477. responses:
  20478. "200":
  20479. description: OK
  20480. schema:
  20481. items:
  20482. $ref: '#/definitions/models.ErmcpTaAccountEx'
  20483. type: array
  20484. "500":
  20485. description: Internal Server Error
  20486. schema:
  20487. $ref: '#/definitions/app.Response'
  20488. security:
  20489. - ApiKeyAuth: []
  20490. summary: 查询账户管理期货账号(账户管理/期货账号)
  20491. tags:
  20492. - 企业风险管理(app)
  20493. /Ermcp/QueryAvaildGoodsGroup:
  20494. get:
  20495. parameters:
  20496. - description: 所属机构ID
  20497. in: query
  20498. name: userid
  20499. required: true
  20500. type: integer
  20501. produces:
  20502. - application/json
  20503. responses:
  20504. "200":
  20505. description: OK
  20506. schema:
  20507. items:
  20508. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  20509. type: array
  20510. "500":
  20511. description: Internal Server Error
  20512. schema:
  20513. $ref: '#/definitions/app.Response'
  20514. security:
  20515. - ApiKeyAuth: []
  20516. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  20517. tags:
  20518. - 企业风险管理(app)
  20519. /Ermcp/QueryBusinessDj:
  20520. get:
  20521. parameters:
  20522. - description: 用户ID
  20523. in: query
  20524. name: UserId
  20525. required: true
  20526. type: integer
  20527. - description: 用户类型 2-机构 7-企业成员
  20528. in: query
  20529. name: usertype
  20530. type: integer
  20531. - description: 现货合同ID, 不填则查所有
  20532. in: query
  20533. name: relatedid
  20534. type: string
  20535. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20536. in: query
  20537. name: applystatus
  20538. type: string
  20539. produces:
  20540. - application/json
  20541. responses:
  20542. "200":
  20543. description: OK
  20544. schema:
  20545. items:
  20546. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  20547. type: array
  20548. "500":
  20549. description: Internal Server Error
  20550. schema:
  20551. $ref: '#/definitions/app.Response'
  20552. security:
  20553. - ApiKeyAuth: []
  20554. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  20555. tags:
  20556. - 企业风险管理(app)
  20557. /Ermcp/QueryBusinessFp:
  20558. get:
  20559. parameters:
  20560. - description: 用户ID
  20561. in: query
  20562. name: UserId
  20563. required: true
  20564. type: integer
  20565. - description: 用户类型 2-机构 7-企业成员
  20566. in: query
  20567. name: usertype
  20568. type: integer
  20569. - description: 现货合同ID, 不填则查所有
  20570. in: query
  20571. name: relatedid
  20572. type: string
  20573. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20574. in: query
  20575. name: applystatus
  20576. type: string
  20577. produces:
  20578. - application/json
  20579. responses:
  20580. "200":
  20581. description: OK
  20582. schema:
  20583. items:
  20584. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  20585. type: array
  20586. "500":
  20587. description: Internal Server Error
  20588. schema:
  20589. $ref: '#/definitions/app.Response'
  20590. security:
  20591. - ApiKeyAuth: []
  20592. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  20593. tags:
  20594. - 企业风险管理(app)
  20595. /Ermcp/QueryBusinessJs:
  20596. get:
  20597. parameters:
  20598. - description: 用户ID
  20599. in: query
  20600. name: UserId
  20601. required: true
  20602. type: integer
  20603. - description: 用户类型 2-机构 7-企业成员
  20604. in: query
  20605. name: usertype
  20606. type: integer
  20607. - description: 现货合同ID, 不填则查所有
  20608. in: query
  20609. name: relatedid
  20610. type: string
  20611. - description: 操作申请id
  20612. in: query
  20613. name: operateapplyid
  20614. type: string
  20615. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20616. in: query
  20617. name: applystatus
  20618. type: string
  20619. produces:
  20620. - application/json
  20621. responses:
  20622. "200":
  20623. description: OK
  20624. schema:
  20625. items:
  20626. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  20627. type: array
  20628. "500":
  20629. description: Internal Server Error
  20630. schema:
  20631. $ref: '#/definitions/app.Response'
  20632. security:
  20633. - ApiKeyAuth: []
  20634. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  20635. tags:
  20636. - 企业风险管理(app)
  20637. /Ermcp/QueryBusinessJsEx:
  20638. get:
  20639. parameters:
  20640. - description: 用户ID
  20641. in: query
  20642. name: UserId
  20643. required: true
  20644. type: integer
  20645. - description: 用户类型 2-机构 7-企业成员
  20646. in: query
  20647. name: usertype
  20648. type: integer
  20649. - description: 现货合同ID, 不填则查所有
  20650. in: query
  20651. name: relatedid
  20652. type: string
  20653. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20654. in: query
  20655. name: applystatus
  20656. type: string
  20657. produces:
  20658. - application/json
  20659. responses:
  20660. "200":
  20661. description: OK
  20662. schema:
  20663. items:
  20664. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  20665. type: array
  20666. "500":
  20667. description: Internal Server Error
  20668. schema:
  20669. $ref: '#/definitions/app.Response'
  20670. security:
  20671. - ApiKeyAuth: []
  20672. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  20673. tags:
  20674. - 企业风险管理(app)
  20675. /Ermcp/QueryBusinessKx:
  20676. get:
  20677. parameters:
  20678. - description: 用户ID
  20679. in: query
  20680. name: UserId
  20681. required: true
  20682. type: integer
  20683. - description: 用户类型 2-机构 7-企业成员
  20684. in: query
  20685. name: usertype
  20686. type: integer
  20687. - description: 现货合同ID, 不填则查所有
  20688. in: query
  20689. name: relatedid
  20690. type: string
  20691. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20692. in: query
  20693. name: applystatus
  20694. type: string
  20695. produces:
  20696. - application/json
  20697. responses:
  20698. "200":
  20699. description: OK
  20700. schema:
  20701. items:
  20702. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  20703. type: array
  20704. "500":
  20705. description: Internal Server Error
  20706. schema:
  20707. $ref: '#/definitions/app.Response'
  20708. security:
  20709. - ApiKeyAuth: []
  20710. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  20711. tags:
  20712. - 企业风险管理(app)
  20713. /Ermcp/QueryChangeLog:
  20714. get:
  20715. parameters:
  20716. - description: 合同ID
  20717. in: query
  20718. name: RelatedId
  20719. required: true
  20720. type: string
  20721. produces:
  20722. - application/json
  20723. responses:
  20724. "200":
  20725. description: OK
  20726. schema:
  20727. items:
  20728. $ref: '#/definitions/ermcp.QryOPLogRsp'
  20729. type: array
  20730. "500":
  20731. description: Internal Server Error
  20732. schema:
  20733. $ref: '#/definitions/app.Response'
  20734. security:
  20735. - ApiKeyAuth: []
  20736. summary: 查询变更记录
  20737. tags:
  20738. - 企业风险管理(app)
  20739. /Ermcp/QueryErmcpHisOrderDetails:
  20740. get:
  20741. parameters:
  20742. - description: 资金账户ID
  20743. in: query
  20744. name: accountID
  20745. required: true
  20746. type: integer
  20747. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  20748. in: query
  20749. name: startDate
  20750. type: string
  20751. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  20752. in: query
  20753. name: endDate
  20754. type: string
  20755. produces:
  20756. - application/json
  20757. responses:
  20758. "200":
  20759. description: OK
  20760. schema:
  20761. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  20762. "500":
  20763. description: Internal Server Error
  20764. schema:
  20765. $ref: '#/definitions/app.Response'
  20766. security:
  20767. - ApiKeyAuth: []
  20768. summary: 获取企业风管期货历史委托单信息
  20769. tags:
  20770. - 企业风险管理(app)
  20771. /Ermcp/QueryErmcpHisTradeDetails:
  20772. get:
  20773. parameters:
  20774. - description: 资金账户ID
  20775. in: query
  20776. name: accountID
  20777. required: true
  20778. type: integer
  20779. - description: 商品ID
  20780. in: query
  20781. name: goodsID
  20782. type: integer
  20783. - description: 买卖方向,0:买 1:卖
  20784. in: query
  20785. name: buyOrSell
  20786. type: integer
  20787. - description: 关联委托单号
  20788. in: query
  20789. name: orderID
  20790. type: integer
  20791. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  20792. in: query
  20793. name: startDate
  20794. type: string
  20795. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  20796. in: query
  20797. name: endDate
  20798. type: string
  20799. produces:
  20800. - application/json
  20801. responses:
  20802. "200":
  20803. description: OK
  20804. schema:
  20805. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  20806. "500":
  20807. description: Internal Server Error
  20808. schema:
  20809. $ref: '#/definitions/app.Response'
  20810. security:
  20811. - ApiKeyAuth: []
  20812. summary: 获取企业风管期货历史成交单信息
  20813. tags:
  20814. - 企业风险管理(app)
  20815. /Ermcp/QueryErmcpInnerHolderDetails:
  20816. get:
  20817. parameters:
  20818. - description: 资金账户ID
  20819. in: query
  20820. name: accountID
  20821. required: true
  20822. type: integer
  20823. - description: 商品ID
  20824. in: query
  20825. name: goodsID
  20826. type: integer
  20827. - description: 买卖方向,0:买 1:卖
  20828. in: query
  20829. name: buyOrSell
  20830. type: integer
  20831. produces:
  20832. - application/json
  20833. responses:
  20834. "200":
  20835. description: OK
  20836. schema:
  20837. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  20838. "500":
  20839. description: Internal Server Error
  20840. schema:
  20841. $ref: '#/definitions/app.Response'
  20842. security:
  20843. - ApiKeyAuth: []
  20844. summary: 获取企业风管期货内部持仓单信息
  20845. tags:
  20846. - 企业风险管理(app)
  20847. /Ermcp/QueryErmcpOrderDetails:
  20848. get:
  20849. parameters:
  20850. - description: 资金账户ID
  20851. in: query
  20852. name: accountID
  20853. required: true
  20854. type: integer
  20855. produces:
  20856. - application/json
  20857. responses:
  20858. "200":
  20859. description: OK
  20860. schema:
  20861. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  20862. "500":
  20863. description: Internal Server Error
  20864. schema:
  20865. $ref: '#/definitions/app.Response'
  20866. security:
  20867. - ApiKeyAuth: []
  20868. summary: 获取企业风管期货委托单信息
  20869. tags:
  20870. - 企业风险管理(app)
  20871. /Ermcp/QueryErmcpTradeDetails:
  20872. get:
  20873. parameters:
  20874. - description: 资金账户ID
  20875. in: query
  20876. name: accountID
  20877. required: true
  20878. type: integer
  20879. - description: 商品ID
  20880. in: query
  20881. name: goodsID
  20882. type: integer
  20883. - description: 买卖方向,0:买 1:卖
  20884. in: query
  20885. name: buyOrSell
  20886. type: integer
  20887. - description: 关联委托单号
  20888. in: query
  20889. name: orderID
  20890. type: integer
  20891. produces:
  20892. - application/json
  20893. responses:
  20894. "200":
  20895. description: OK
  20896. schema:
  20897. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  20898. "500":
  20899. description: Internal Server Error
  20900. schema:
  20901. $ref: '#/definitions/app.Response'
  20902. security:
  20903. - ApiKeyAuth: []
  20904. summary: 获取企业风管期货成交单信息
  20905. tags:
  20906. - 企业风险管理(app)
  20907. /Ermcp/QueryErmcpTradePosition:
  20908. get:
  20909. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  20910. parameters:
  20911. - description: 资金账户ID
  20912. in: query
  20913. name: accountID
  20914. required: true
  20915. type: integer
  20916. - description: 所属市场ID
  20917. in: query
  20918. name: marketID
  20919. type: integer
  20920. produces:
  20921. - application/json
  20922. responses:
  20923. "200":
  20924. description: OK
  20925. schema:
  20926. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  20927. "500":
  20928. description: Internal Server Error
  20929. schema:
  20930. $ref: '#/definitions/app.Response'
  20931. security:
  20932. - ApiKeyAuth: []
  20933. summary: 获取企业风管期货持仓头寸信息
  20934. tags:
  20935. - 企业风险管理(app)
  20936. /Ermcp/QueryExposureDetail:
  20937. get:
  20938. parameters:
  20939. - description: 所属机构ID
  20940. in: query
  20941. name: areaUserId
  20942. required: true
  20943. type: integer
  20944. - description: 套保商品
  20945. in: query
  20946. name: middleGoodsId
  20947. required: true
  20948. type: integer
  20949. produces:
  20950. - application/json
  20951. responses:
  20952. "200":
  20953. description: OK
  20954. schema:
  20955. items:
  20956. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  20957. type: array
  20958. "500":
  20959. description: Internal Server Error
  20960. schema:
  20961. $ref: '#/definitions/app.Response'
  20962. security:
  20963. - ApiKeyAuth: []
  20964. summary: 查询敞口现货明细
  20965. tags:
  20966. - 企业风险管理(app)
  20967. /Ermcp/QueryExposureGoods:
  20968. get:
  20969. parameters:
  20970. - description: 套保商品id
  20971. in: query
  20972. name: middlegoodsid
  20973. required: true
  20974. type: integer
  20975. produces:
  20976. - application/json
  20977. responses:
  20978. "200":
  20979. description: OK
  20980. schema:
  20981. items:
  20982. $ref: '#/definitions/models.ErmcpMiddlegoodsRelateGoods'
  20983. type: array
  20984. "500":
  20985. description: Internal Server Error
  20986. schema:
  20987. $ref: '#/definitions/app.Response'
  20988. security:
  20989. - ApiKeyAuth: []
  20990. summary: 查询敞口主力合约
  20991. tags:
  20992. - 企业风险管理(app)
  20993. /Ermcp/QueryExposureHedgePosition:
  20994. get:
  20995. parameters:
  20996. - description: 用户id
  20997. in: query
  20998. name: userid
  20999. required: true
  21000. type: integer
  21001. produces:
  21002. - application/json
  21003. responses:
  21004. "200":
  21005. description: OK
  21006. schema:
  21007. items:
  21008. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  21009. type: array
  21010. "500":
  21011. description: Internal Server Error
  21012. schema:
  21013. $ref: '#/definitions/app.Response'
  21014. security:
  21015. - ApiKeyAuth: []
  21016. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  21017. tags:
  21018. - 企业风险管理(app)
  21019. /Ermcp/QueryExposureHedgePositionDetail:
  21020. get:
  21021. parameters:
  21022. - description: 所属机构ID
  21023. in: query
  21024. name: userid
  21025. required: true
  21026. type: integer
  21027. - description: 商品id
  21028. in: query
  21029. name: goodsId
  21030. required: true
  21031. type: integer
  21032. produces:
  21033. - application/json
  21034. responses:
  21035. "200":
  21036. description: OK
  21037. schema:
  21038. items:
  21039. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  21040. type: array
  21041. "500":
  21042. description: Internal Server Error
  21043. schema:
  21044. $ref: '#/definitions/app.Response'
  21045. security:
  21046. - ApiKeyAuth: []
  21047. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  21048. tags:
  21049. - 企业风险管理(app)
  21050. /Ermcp/QueryExposureSpot:
  21051. get:
  21052. parameters:
  21053. - description: 所属机构ID
  21054. in: query
  21055. name: areaUserId
  21056. required: true
  21057. type: integer
  21058. produces:
  21059. - application/json
  21060. responses:
  21061. "200":
  21062. description: OK
  21063. schema:
  21064. items:
  21065. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  21066. type: array
  21067. "500":
  21068. description: Internal Server Error
  21069. schema:
  21070. $ref: '#/definitions/app.Response'
  21071. security:
  21072. - ApiKeyAuth: []
  21073. summary: 查询敞口现货头寸(敞口/现货头寸)
  21074. tags:
  21075. - 企业风险管理(app)
  21076. /Ermcp/QueryExposureSpotDetail:
  21077. get:
  21078. parameters:
  21079. - description: 所属机构ID
  21080. in: query
  21081. name: areaUserId
  21082. required: true
  21083. type: integer
  21084. - description: 现货品种ID
  21085. in: query
  21086. name: wrstandardId
  21087. required: true
  21088. type: integer
  21089. produces:
  21090. - application/json
  21091. responses:
  21092. "200":
  21093. description: OK
  21094. schema:
  21095. items:
  21096. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  21097. type: array
  21098. "500":
  21099. description: Internal Server Error
  21100. schema:
  21101. $ref: '#/definitions/app.Response'
  21102. security:
  21103. - ApiKeyAuth: []
  21104. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  21105. tags:
  21106. - 企业风险管理(app)
  21107. /Ermcp/QueryFuturesCompany:
  21108. get:
  21109. produces:
  21110. - application/json
  21111. responses:
  21112. "200":
  21113. description: OK
  21114. schema:
  21115. items:
  21116. $ref: '#/definitions/models.ErmcpFuturesCompany'
  21117. type: array
  21118. "500":
  21119. description: Internal Server Error
  21120. schema:
  21121. $ref: '#/definitions/app.Response'
  21122. security:
  21123. - ApiKeyAuth: []
  21124. summary: 查询期货公司
  21125. tags:
  21126. - 企业风险管理(app)
  21127. /Ermcp/QueryGGConvertConfig:
  21128. get:
  21129. parameters:
  21130. - description: 品种id(不填则查所有)
  21131. in: query
  21132. name: goodsgroupid
  21133. type: integer
  21134. produces:
  21135. - application/json
  21136. responses:
  21137. "200":
  21138. description: OK
  21139. schema:
  21140. items:
  21141. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  21142. type: array
  21143. "500":
  21144. description: Internal Server Error
  21145. schema:
  21146. $ref: '#/definitions/app.Response'
  21147. security:
  21148. - ApiKeyAuth: []
  21149. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  21150. tags:
  21151. - 企业风险管理(app)
  21152. /Ermcp/QueryGoodsBrand:
  21153. get:
  21154. parameters:
  21155. - description: 用户ID
  21156. in: query
  21157. name: userid
  21158. required: true
  21159. type: integer
  21160. - description: 现货商品ID
  21161. in: query
  21162. name: wrstandardid
  21163. type: integer
  21164. produces:
  21165. - application/json
  21166. responses:
  21167. "200":
  21168. description: OK
  21169. schema:
  21170. items:
  21171. $ref: '#/definitions/models.ErmcpGoodsBrand'
  21172. type: array
  21173. "500":
  21174. description: Internal Server Error
  21175. schema:
  21176. $ref: '#/definitions/app.Response'
  21177. security:
  21178. - ApiKeyAuth: []
  21179. summary: 查询商品品牌
  21180. tags:
  21181. - 企业风险管理(app)
  21182. /Ermcp/QueryGoodsModel:
  21183. get:
  21184. parameters:
  21185. - description: 用户ID
  21186. in: query
  21187. name: userid
  21188. required: true
  21189. type: integer
  21190. produces:
  21191. - application/json
  21192. responses:
  21193. "200":
  21194. description: OK
  21195. schema:
  21196. items:
  21197. $ref: '#/definitions/models.ErmcpGoodsModel'
  21198. type: array
  21199. "500":
  21200. description: Internal Server Error
  21201. schema:
  21202. $ref: '#/definitions/app.Response'
  21203. security:
  21204. - ApiKeyAuth: []
  21205. summary: 查询商品型号
  21206. tags:
  21207. - 企业风险管理(app)
  21208. /Ermcp/QueryHisExposure:
  21209. get:
  21210. parameters:
  21211. - description: 用户id
  21212. in: query
  21213. name: userid
  21214. required: true
  21215. type: integer
  21216. - description: 每个品种记录数
  21217. in: query
  21218. name: lastNum
  21219. required: true
  21220. type: integer
  21221. produces:
  21222. - application/json
  21223. responses:
  21224. "200":
  21225. description: OK
  21226. schema:
  21227. items:
  21228. $ref: '#/definitions/ermcp.HisExposureRsp'
  21229. type: array
  21230. "500":
  21231. description: Internal Server Error
  21232. schema:
  21233. $ref: '#/definitions/app.Response'
  21234. security:
  21235. - ApiKeyAuth: []
  21236. summary: 查询历史敞口(菜单:敞口/历史敞口)
  21237. tags:
  21238. - 企业风险管理(app)
  21239. /Ermcp/QueryMiddleGoods:
  21240. get:
  21241. parameters:
  21242. - description: 所属机构ID
  21243. in: query
  21244. name: userid
  21245. required: true
  21246. type: integer
  21247. - description: 状态 0-停用 1-正常
  21248. in: query
  21249. name: status
  21250. required: true
  21251. type: integer
  21252. produces:
  21253. - application/json
  21254. responses:
  21255. "200":
  21256. description: OK
  21257. schema:
  21258. items:
  21259. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  21260. type: array
  21261. "500":
  21262. description: Internal Server Error
  21263. schema:
  21264. $ref: '#/definitions/app.Response'
  21265. security:
  21266. - ApiKeyAuth: []
  21267. summary: 查询套保品种(菜单:套保品种)
  21268. tags:
  21269. - 企业风险管理(app)
  21270. /Ermcp/QueryMiddleGoodsChangeLog:
  21271. get:
  21272. parameters:
  21273. - description: 所属机构ID
  21274. in: query
  21275. name: userid
  21276. required: true
  21277. type: integer
  21278. - description: 套保品种id
  21279. in: query
  21280. name: middlegoodsid
  21281. required: true
  21282. type: integer
  21283. produces:
  21284. - application/json
  21285. responses:
  21286. "200":
  21287. description: OK
  21288. schema:
  21289. items:
  21290. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  21291. type: array
  21292. "500":
  21293. description: Internal Server Error
  21294. schema:
  21295. $ref: '#/definitions/app.Response'
  21296. security:
  21297. - ApiKeyAuth: []
  21298. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  21299. tags:
  21300. - 企业风险管理(app)
  21301. /Ermcp/QueryMiddleGoodsDetail:
  21302. get:
  21303. parameters:
  21304. - description: 所属机构ID
  21305. in: query
  21306. name: userid
  21307. required: true
  21308. type: integer
  21309. - description: 套保品种id
  21310. in: query
  21311. name: middlegoodsid
  21312. type: integer
  21313. produces:
  21314. - application/json
  21315. responses:
  21316. "200":
  21317. description: OK
  21318. schema:
  21319. items:
  21320. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  21321. type: array
  21322. "500":
  21323. description: Internal Server Error
  21324. schema:
  21325. $ref: '#/definitions/app.Response'
  21326. security:
  21327. - ApiKeyAuth: []
  21328. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  21329. tags:
  21330. - 企业风险管理(app)
  21331. /Ermcp/QueryPendingAuditInfo:
  21332. get:
  21333. parameters:
  21334. - description: 用户ID
  21335. in: query
  21336. name: UserId
  21337. required: true
  21338. type: integer
  21339. produces:
  21340. - application/json
  21341. responses:
  21342. "200":
  21343. description: OK
  21344. schema:
  21345. items:
  21346. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  21347. type: array
  21348. "500":
  21349. description: Internal Server Error
  21350. schema:
  21351. $ref: '#/definitions/app.Response'
  21352. security:
  21353. - ApiKeyAuth: []
  21354. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  21355. tags:
  21356. - 企业风险管理(app)
  21357. /Ermcp/QueryRealtimeExposure:
  21358. get:
  21359. parameters:
  21360. - description: 所属机构ID
  21361. in: query
  21362. name: userid
  21363. required: true
  21364. type: integer
  21365. produces:
  21366. - application/json
  21367. responses:
  21368. "200":
  21369. description: OK
  21370. schema:
  21371. items:
  21372. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  21373. type: array
  21374. "500":
  21375. description: Internal Server Error
  21376. schema:
  21377. $ref: '#/definitions/app.Response'
  21378. security:
  21379. - ApiKeyAuth: []
  21380. summary: 查询实时敞口
  21381. tags:
  21382. - 企业风险管理(app)
  21383. /Ermcp/QueryRealtimeExposurePosition:
  21384. get:
  21385. parameters:
  21386. - description: 用户id
  21387. in: query
  21388. name: userid
  21389. required: true
  21390. type: integer
  21391. - description: 套保商品ID
  21392. in: query
  21393. name: middleGoodsId
  21394. required: true
  21395. type: integer
  21396. produces:
  21397. - application/json
  21398. responses:
  21399. "200":
  21400. description: OK
  21401. schema:
  21402. items:
  21403. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  21404. type: array
  21405. "500":
  21406. description: Internal Server Error
  21407. schema:
  21408. $ref: '#/definitions/app.Response'
  21409. security:
  21410. - ApiKeyAuth: []
  21411. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  21412. tags:
  21413. - 企业风险管理(app)
  21414. /Ermcp/QueryRoleMenu:
  21415. get:
  21416. parameters:
  21417. - description: 登录ID
  21418. in: query
  21419. name: loginid
  21420. required: true
  21421. type: integer
  21422. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易
  21423. in: query
  21424. name: menutype
  21425. type: integer
  21426. produces:
  21427. - application/json
  21428. responses:
  21429. "200":
  21430. description: OK
  21431. schema:
  21432. items:
  21433. $ref: '#/definitions/models.RoleMenu'
  21434. type: array
  21435. "500":
  21436. description: Internal Server Error
  21437. schema:
  21438. $ref: '#/definitions/app.Response'
  21439. security:
  21440. - ApiKeyAuth: []
  21441. summary: 查询角色菜单和权限
  21442. tags:
  21443. - 企业风险管理(app)
  21444. /Ermcp/QueryTradeConfigTMP:
  21445. get:
  21446. parameters:
  21447. - description: 所属机构id
  21448. in: query
  21449. name: areauserid
  21450. type: integer
  21451. produces:
  21452. - application/json
  21453. responses:
  21454. "200":
  21455. description: OK
  21456. schema:
  21457. items:
  21458. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  21459. type: array
  21460. "500":
  21461. description: Internal Server Error
  21462. schema:
  21463. $ref: '#/definitions/app.Response'
  21464. security:
  21465. - ApiKeyAuth: []
  21466. summary: 查询交易模板配置
  21467. tags:
  21468. - 企业风险管理(app)
  21469. /Ermcp/QueryUserInfo:
  21470. get:
  21471. parameters:
  21472. - description: 所属机构用户ID
  21473. in: query
  21474. name: MemberUserID
  21475. required: true
  21476. type: integer
  21477. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  21478. in: query
  21479. name: queryType
  21480. required: true
  21481. type: integer
  21482. produces:
  21483. - application/json
  21484. responses:
  21485. "200":
  21486. description: OK
  21487. schema:
  21488. items:
  21489. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  21490. type: array
  21491. "500":
  21492. description: Internal Server Error
  21493. schema:
  21494. $ref: '#/definitions/app.Response'
  21495. security:
  21496. - ApiKeyAuth: []
  21497. summary: 查询客户资料
  21498. tags:
  21499. - 企业风险管理(app)
  21500. /Ermcp/QueryWarehouseInfo:
  21501. get:
  21502. parameters:
  21503. - description: 用户ID
  21504. in: query
  21505. name: userid
  21506. required: true
  21507. type: integer
  21508. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  21509. in: query
  21510. name: status
  21511. type: string
  21512. produces:
  21513. - application/json
  21514. responses:
  21515. "200":
  21516. description: OK
  21517. schema:
  21518. items:
  21519. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  21520. type: array
  21521. "500":
  21522. description: Internal Server Error
  21523. schema:
  21524. $ref: '#/definitions/app.Response'
  21525. security:
  21526. - ApiKeyAuth: []
  21527. summary: 查询仓库信息
  21528. tags:
  21529. - 企业风险管理(app)
  21530. /Ermcp3/QryAreaExpourseContractDetail:
  21531. get:
  21532. parameters:
  21533. - description: 用户ID
  21534. in: query
  21535. name: userid
  21536. required: true
  21537. type: integer
  21538. - description: 套保商品id
  21539. in: query
  21540. name: middlegoodsid
  21541. required: true
  21542. type: integer
  21543. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21544. in: query
  21545. name: cycletype
  21546. required: true
  21547. type: integer
  21548. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21549. 全(0)【原值】
  21550. in: query
  21551. name: cycletime
  21552. required: true
  21553. type: string
  21554. produces:
  21555. - application/json
  21556. responses:
  21557. "200":
  21558. description: OK
  21559. schema:
  21560. items:
  21561. $ref: '#/definitions/models.Ermcp3ExposureContractDetail'
  21562. type: array
  21563. "500":
  21564. description: Internal Server Error
  21565. schema:
  21566. $ref: '#/definitions/app.Response'
  21567. security:
  21568. - ApiKeyAuth: []
  21569. summary: 查询敞口合同明细(敞口报表/现货合同明细)
  21570. tags:
  21571. - 企业风险管理v3(app)
  21572. /Ermcp3/QryAreaExpourseFutuDetail:
  21573. get:
  21574. parameters:
  21575. - description: 用户ID
  21576. in: query
  21577. name: userid
  21578. required: true
  21579. type: integer
  21580. - description: 套保商品id
  21581. in: query
  21582. name: middlegoodsid
  21583. required: true
  21584. type: integer
  21585. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21586. in: query
  21587. name: cycletype
  21588. required: true
  21589. type: integer
  21590. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21591. 全(0)【原值】
  21592. in: query
  21593. name: cycletime
  21594. required: true
  21595. type: string
  21596. produces:
  21597. - application/json
  21598. responses:
  21599. "200":
  21600. description: OK
  21601. schema:
  21602. items:
  21603. $ref: '#/definitions/models.Ermcp3ExposureFutuDetail'
  21604. type: array
  21605. "500":
  21606. description: Internal Server Error
  21607. schema:
  21608. $ref: '#/definitions/app.Response'
  21609. security:
  21610. - ApiKeyAuth: []
  21611. summary: 查询敞口期货明细(敞口报表/期货明细)
  21612. tags:
  21613. - 企业风险管理v3(app)
  21614. /Ermcp3/QryAreaExpourseHedgeplanDetail:
  21615. get:
  21616. parameters:
  21617. - description: 用户ID
  21618. in: query
  21619. name: userid
  21620. required: true
  21621. type: integer
  21622. - description: 套保商品id
  21623. in: query
  21624. name: middlegoodsid
  21625. required: true
  21626. type: integer
  21627. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21628. in: query
  21629. name: cycletype
  21630. required: true
  21631. type: integer
  21632. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21633. 全(0)【原值】
  21634. in: query
  21635. name: cycletime
  21636. required: true
  21637. type: string
  21638. produces:
  21639. - application/json
  21640. responses:
  21641. "200":
  21642. description: OK
  21643. schema:
  21644. items:
  21645. $ref: '#/definitions/models.Ermcp3ExposureHedgeplanDetail'
  21646. type: array
  21647. "500":
  21648. description: Internal Server Error
  21649. schema:
  21650. $ref: '#/definitions/app.Response'
  21651. security:
  21652. - ApiKeyAuth: []
  21653. summary: 查询敞口套保计划明细(敞口报表/套保计划明细)
  21654. tags:
  21655. - 企业风险管理v3(app)
  21656. /Ermcp3/QryAreaExpourseParamChLogDetail:
  21657. get:
  21658. parameters:
  21659. - description: 用户ID
  21660. in: query
  21661. name: userid
  21662. required: true
  21663. type: integer
  21664. - description: 套保商品id
  21665. in: query
  21666. name: middlegoodsid
  21667. required: true
  21668. type: integer
  21669. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21670. in: query
  21671. name: cycletype
  21672. required: true
  21673. type: integer
  21674. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21675. 全(0)【原值】
  21676. in: query
  21677. name: cycletime
  21678. required: true
  21679. type: string
  21680. produces:
  21681. - application/json
  21682. responses:
  21683. "200":
  21684. description: OK
  21685. schema:
  21686. items:
  21687. $ref: '#/definitions/models.Ermcp3ExposureParamChLog'
  21688. type: array
  21689. "500":
  21690. description: Internal Server Error
  21691. schema:
  21692. $ref: '#/definitions/app.Response'
  21693. security:
  21694. - ApiKeyAuth: []
  21695. summary: 查询敞口参数调整明细(敞口报表/参数调整明细)
  21696. tags:
  21697. - 企业风险管理v3(app)
  21698. /Ermcp3/QryAreaExpourseReport:
  21699. get:
  21700. parameters:
  21701. - description: 用户ID
  21702. in: query
  21703. name: userid
  21704. required: true
  21705. type: integer
  21706. - description: 查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口
  21707. in: query
  21708. name: querytype
  21709. required: true
  21710. type: integer
  21711. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21712. in: query
  21713. name: cycletype
  21714. required: true
  21715. type: integer
  21716. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21717. 全(0)【原值】
  21718. in: query
  21719. name: cycletime
  21720. required: true
  21721. type: string
  21722. produces:
  21723. - application/json
  21724. responses:
  21725. "200":
  21726. description: OK
  21727. schema:
  21728. items:
  21729. $ref: '#/definitions/models.Ermcp3ExpourseReport'
  21730. type: array
  21731. "500":
  21732. description: Internal Server Error
  21733. schema:
  21734. $ref: '#/definitions/app.Response'
  21735. security:
  21736. - ApiKeyAuth: []
  21737. summary: 查询敞口报表
  21738. tags:
  21739. - 企业风险管理v3(app)
  21740. /Ermcp3/QryAreaSpotplReport:
  21741. get:
  21742. description: 目前pcweb的日/周/月报表与手机端的汇总维度不同, 所以增加了可选参数sumflag参数, pcweb请填1
  21743. parameters:
  21744. - description: 用户ID
  21745. in: query
  21746. name: userid
  21747. required: true
  21748. type: integer
  21749. - description: 查询类型 1-报表 2-报表明细
  21750. in: query
  21751. name: querytype
  21752. required: true
  21753. type: integer
  21754. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21755. in: query
  21756. name: cycletype
  21757. required: true
  21758. type: integer
  21759. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21760. 全(0)【原值】
  21761. in: query
  21762. name: cycletime
  21763. required: true
  21764. type: string
  21765. - description: 现货品种id(明细必填)
  21766. in: query
  21767. name: deliverygoodsid
  21768. type: integer
  21769. - description: 币种id(明细必填)
  21770. in: query
  21771. name: currencyid
  21772. type: integer
  21773. - description: 日/周/月报表汇总维度 1:品种+品类
  21774. in: query
  21775. name: sumflag
  21776. type: integer
  21777. produces:
  21778. - application/json
  21779. responses:
  21780. "200":
  21781. description: OK
  21782. schema:
  21783. items:
  21784. $ref: '#/definitions/models.Ermcp3AreaSpotPLReport'
  21785. type: array
  21786. "500":
  21787. description: Internal Server Error
  21788. schema:
  21789. $ref: '#/definitions/app.Response'
  21790. security:
  21791. - ApiKeyAuth: []
  21792. summary: 查询现货报表
  21793. tags:
  21794. - 企业风险管理v3(app)
  21795. /Ermcp3/QryAreaStockReport:
  21796. get:
  21797. parameters:
  21798. - description: 用户ID
  21799. in: query
  21800. name: userid
  21801. required: true
  21802. type: integer
  21803. - description: 查询类型 1-报表 2-报表明细
  21804. in: query
  21805. name: querytype
  21806. required: true
  21807. type: integer
  21808. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21809. in: query
  21810. name: cycletype
  21811. required: true
  21812. type: integer
  21813. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21814. 全(0)【原值】
  21815. in: query
  21816. name: cycletime
  21817. required: true
  21818. type: string
  21819. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库
  21820. in: query
  21821. name: sumfields
  21822. type: string
  21823. - description: 品种ID
  21824. in: query
  21825. name: deliverygoodsid
  21826. type: integer
  21827. - description: 品类ID
  21828. in: query
  21829. name: wrstandardid
  21830. type: integer
  21831. - description: 品牌ID
  21832. in: query
  21833. name: spotgoodsbrandid
  21834. type: integer
  21835. - description: 仓库ID
  21836. in: query
  21837. name: warehouseinfoid
  21838. type: integer
  21839. produces:
  21840. - application/json
  21841. responses:
  21842. "200":
  21843. description: OK
  21844. schema:
  21845. items:
  21846. $ref: '#/definitions/models.Ermcp3AreaStockReportEx'
  21847. type: array
  21848. "500":
  21849. description: Internal Server Error
  21850. schema:
  21851. $ref: '#/definitions/app.Response'
  21852. security:
  21853. - ApiKeyAuth: []
  21854. summary: 查询库存报表
  21855. tags:
  21856. - 企业风险管理v3(app)
  21857. /Ermcp3/QryAreaSumPL:
  21858. get:
  21859. parameters:
  21860. - description: 用户ID
  21861. in: query
  21862. name: userid
  21863. required: true
  21864. type: integer
  21865. - description: 查询类型 1-报表 2-报表明细
  21866. in: query
  21867. name: querytype
  21868. required: true
  21869. type: integer
  21870. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21871. in: query
  21872. name: cycletype
  21873. required: true
  21874. type: integer
  21875. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21876. 全(0)【原值】
  21877. in: query
  21878. name: cycletime
  21879. required: true
  21880. type: string
  21881. - description: 币种id(明细必填)
  21882. in: query
  21883. name: currencyid
  21884. type: integer
  21885. - description: 套保品种ID, 查询类型为2时起效
  21886. in: query
  21887. name: middlegoodsid
  21888. type: integer
  21889. produces:
  21890. - application/json
  21891. responses:
  21892. "200":
  21893. description: OK
  21894. schema:
  21895. items:
  21896. $ref: '#/definitions/models.Ermcp3ArealSumPL'
  21897. type: array
  21898. "500":
  21899. description: Internal Server Error
  21900. schema:
  21901. $ref: '#/definitions/app.Response'
  21902. security:
  21903. - ApiKeyAuth: []
  21904. summary: 查询汇总损益表
  21905. tags:
  21906. - 企业风险管理v3(app)
  21907. /Ermcp3/QryFinanceReport:
  21908. get:
  21909. parameters:
  21910. - description: 用户ID
  21911. in: query
  21912. name: userid
  21913. required: true
  21914. type: integer
  21915. - description: 查询类型 1-报表 2-报表明细
  21916. in: query
  21917. name: querytype
  21918. required: true
  21919. type: integer
  21920. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21921. in: query
  21922. name: cycletype
  21923. required: true
  21924. type: integer
  21925. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21926. 全(0)【原值】
  21927. in: query
  21928. name: cycletime
  21929. required: true
  21930. type: string
  21931. - description: 币种id(报表明细必填)
  21932. in: query
  21933. name: currencyid
  21934. type: integer
  21935. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌
  21936. in: query
  21937. name: sumfields
  21938. type: string
  21939. produces:
  21940. - application/json
  21941. responses:
  21942. "200":
  21943. description: OK
  21944. schema:
  21945. items:
  21946. $ref: '#/definitions/models.Ermcp3FinanceReport'
  21947. type: array
  21948. "500":
  21949. description: Internal Server Error
  21950. schema:
  21951. $ref: '#/definitions/app.Response'
  21952. security:
  21953. - ApiKeyAuth: []
  21954. summary: 查询财务报表
  21955. tags:
  21956. - 企业风险管理v3(app)
  21957. /Ermcp3/QrySCMiddleGoodsReport:
  21958. get:
  21959. parameters:
  21960. - description: 用户ID
  21961. in: query
  21962. name: userid
  21963. required: true
  21964. type: integer
  21965. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21966. in: query
  21967. name: cycletype
  21968. required: true
  21969. type: integer
  21970. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21971. 全(0)【原值】
  21972. in: query
  21973. name: cycletime
  21974. required: true
  21975. type: string
  21976. - description: 合同id
  21977. in: query
  21978. name: spotcontractid
  21979. type: integer
  21980. - description: 套保品种id
  21981. in: query
  21982. name: middlegoodsid
  21983. type: integer
  21984. - description: 现货品种id
  21985. in: query
  21986. name: deliverygoodsid
  21987. type: integer
  21988. - description: 现货商品id
  21989. in: query
  21990. name: wrstandardid
  21991. type: integer
  21992. - description: 合同编号(模糊匹配)
  21993. in: query
  21994. name: contractno
  21995. type: string
  21996. produces:
  21997. - application/json
  21998. responses:
  21999. "200":
  22000. description: OK
  22001. schema:
  22002. items:
  22003. $ref: '#/definitions/models.Ermcp3SCMiddleGoodsReport'
  22004. type: array
  22005. "500":
  22006. description: Internal Server Error
  22007. schema:
  22008. $ref: '#/definitions/app.Response'
  22009. security:
  22010. - ApiKeyAuth: []
  22011. summary: 查询定价报表
  22012. tags:
  22013. - 企业风险管理v3(app)
  22014. /Ermcp3/QryTaFutureDataReport:
  22015. get:
  22016. parameters:
  22017. - description: 用户ID
  22018. in: query
  22019. name: userid
  22020. required: true
  22021. type: integer
  22022. - description: 查询类型 1-报表 2-报表明细
  22023. in: query
  22024. name: querytype
  22025. required: true
  22026. type: integer
  22027. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  22028. in: query
  22029. name: cycletype
  22030. required: true
  22031. type: integer
  22032. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  22033. 全(0)【原值】
  22034. in: query
  22035. name: cycletime
  22036. required: true
  22037. type: string
  22038. - description: 币种id(查明细必填)
  22039. in: query
  22040. name: currencyid
  22041. type: integer
  22042. - description: 品种id(查明细必填)
  22043. in: query
  22044. name: goodsgroupid
  22045. type: integer
  22046. - description: 商品id(查明细必填)
  22047. in: query
  22048. name: goodsid
  22049. type: integer
  22050. - description: 买卖方向(查明细必填)
  22051. in: query
  22052. name: buyorsell
  22053. type: integer
  22054. produces:
  22055. - application/json
  22056. responses:
  22057. "200":
  22058. description: OK
  22059. schema:
  22060. items:
  22061. $ref: '#/definitions/models.Ermcp3TaFutuReDataReport'
  22062. type: array
  22063. "500":
  22064. description: Internal Server Error
  22065. schema:
  22066. $ref: '#/definitions/app.Response'
  22067. security:
  22068. - ApiKeyAuth: []
  22069. summary: 查询期货报表
  22070. tags:
  22071. - 企业风险管理v3(app)
  22072. /Ermcp3/QueryAreaStock:
  22073. get:
  22074. parameters:
  22075. - description: 用户ID
  22076. in: query
  22077. name: userid
  22078. required: true
  22079. type: integer
  22080. produces:
  22081. - application/json
  22082. responses:
  22083. "200":
  22084. description: OK
  22085. schema:
  22086. items:
  22087. $ref: '#/definitions/models.Ermcp3AreaStock'
  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/QueryAreaStockApply:
  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: 现货商品ID
  22111. in: query
  22112. name: deliverygoodsid
  22113. type: integer
  22114. - description: 出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  22115. in: query
  22116. name: inouttype
  22117. type: string
  22118. - description: 合同ID
  22119. in: query
  22120. name: spotcontractid
  22121. type: integer
  22122. - description: 品类ID
  22123. in: query
  22124. name: wrstandardid
  22125. type: integer
  22126. - description: 品牌ID
  22127. in: query
  22128. name: spotgoodsbrandid
  22129. type: integer
  22130. - description: 仓库ID
  22131. in: query
  22132. name: warehouseinfoid
  22133. type: integer
  22134. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  22135. in: query
  22136. name: applystatus
  22137. type: string
  22138. produces:
  22139. - application/json
  22140. responses:
  22141. "200":
  22142. description: OK
  22143. schema:
  22144. items:
  22145. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  22146. type: array
  22147. "500":
  22148. description: Internal Server Error
  22149. schema:
  22150. $ref: '#/definitions/app.Response'
  22151. security:
  22152. - ApiKeyAuth: []
  22153. summary: 查询库存申请(出入库记录|库存审核)
  22154. tags:
  22155. - 企业风险管理v3(app)
  22156. /Ermcp3/QueryAreaStockApplySum:
  22157. get:
  22158. parameters:
  22159. - description: 合同ID
  22160. in: query
  22161. name: spotcontractid
  22162. required: true
  22163. type: integer
  22164. produces:
  22165. - application/json
  22166. responses:
  22167. "200":
  22168. description: OK
  22169. schema:
  22170. items:
  22171. $ref: '#/definitions/models.Ermcp3AreaStockApplySum'
  22172. type: array
  22173. "500":
  22174. description: Internal Server Error
  22175. schema:
  22176. $ref: '#/definitions/app.Response'
  22177. security:
  22178. - ApiKeyAuth: []
  22179. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  22180. tags:
  22181. - 企业风险管理v3(app)
  22182. /Ermcp3/QueryDGFactoryItem:
  22183. get:
  22184. parameters:
  22185. - description: 用户id
  22186. in: query
  22187. name: userid
  22188. type: integer
  22189. - description: 用户类型 2-机构 7-企业成员
  22190. in: query
  22191. name: usertype
  22192. type: integer
  22193. - description: 选择项ID(SEQ_DGFACTORYITEM)
  22194. in: query
  22195. name: dgfactoryitemid
  22196. type: integer
  22197. - description: 现货品种ID
  22198. in: query
  22199. name: deliverygoodsid
  22200. type: integer
  22201. - description: 要素项类型
  22202. in: query
  22203. name: dgfactoryitemtypeid
  22204. type: integer
  22205. - description: 顺序
  22206. in: query
  22207. name: orderindex
  22208. type: integer
  22209. produces:
  22210. - application/json
  22211. responses:
  22212. "200":
  22213. description: OK
  22214. schema:
  22215. items:
  22216. $ref: '#/definitions/models.ErmcpDGFactoryItem'
  22217. type: array
  22218. "500":
  22219. description: Internal Server Error
  22220. schema:
  22221. $ref: '#/definitions/app.Response'
  22222. security:
  22223. - ApiKeyAuth: []
  22224. summary: 查询品种要素定义项
  22225. tags:
  22226. - 企业风险管理v3(app)
  22227. /Ermcp3/QueryDeliveryGoods:
  22228. get:
  22229. parameters:
  22230. - description: 用户id
  22231. in: query
  22232. name: userid
  22233. required: true
  22234. type: integer
  22235. - description: 用户类型 2-机构 7-企业成员
  22236. in: query
  22237. name: usertype
  22238. type: integer
  22239. - description: 排除已配置的业务类型商品 1-套保 2-套利
  22240. in: query
  22241. name: excludecfg
  22242. type: integer
  22243. produces:
  22244. - application/json
  22245. responses:
  22246. "200":
  22247. description: OK
  22248. schema:
  22249. items:
  22250. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  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/QueryDeliveryGoodsDetail:
  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: deliverygoodsid
  22276. type: integer
  22277. - description: 过滤下级为空, 1-过滤. 比如 品种大豆的下级品类列表为空, 则大豆不显示; 比如品类的下级套保品列表为空, 则该品类不显示
  22278. in: query
  22279. name: filtersubempty
  22280. type: integer
  22281. produces:
  22282. - application/json
  22283. responses:
  22284. "200":
  22285. description: OK
  22286. schema:
  22287. items:
  22288. $ref: '#/definitions/models.XHDeliveryGoods'
  22289. type: array
  22290. "500":
  22291. description: Internal Server Error
  22292. schema:
  22293. $ref: '#/definitions/app.Response'
  22294. security:
  22295. - ApiKeyAuth: []
  22296. summary: 查询现货商品详情
  22297. tags:
  22298. - 企业风险管理v3(app)
  22299. /Ermcp3/QueryErmcp3ContractMiddleGoodsCfg:
  22300. get:
  22301. parameters:
  22302. - description: 合同id
  22303. in: query
  22304. name: spotcontractid
  22305. required: true
  22306. type: string
  22307. produces:
  22308. - application/json
  22309. responses:
  22310. "200":
  22311. description: OK
  22312. schema:
  22313. items:
  22314. $ref: '#/definitions/models.Ermcp3ContractMiddleGoodsCfg'
  22315. type: array
  22316. "500":
  22317. description: Internal Server Error
  22318. schema:
  22319. $ref: '#/definitions/app.Response'
  22320. security:
  22321. - ApiKeyAuth: []
  22322. summary: 查询现货合同期现配置信息
  22323. tags:
  22324. - 企业风险管理v3(app)
  22325. /Ermcp3/QueryExposureDetail:
  22326. get:
  22327. parameters:
  22328. - description: 用户id
  22329. in: query
  22330. name: userid
  22331. required: true
  22332. type: integer
  22333. - description: 用户类型 2-机构 7-企业成员
  22334. in: query
  22335. name: usertype
  22336. type: integer
  22337. - description: 套保商品
  22338. in: query
  22339. name: middlegoodsid
  22340. required: true
  22341. type: integer
  22342. produces:
  22343. - application/json
  22344. responses:
  22345. "200":
  22346. description: OK
  22347. schema:
  22348. items:
  22349. $ref: '#/definitions/models.Ermcp3ExposureDetail'
  22350. type: array
  22351. "500":
  22352. description: Internal Server Error
  22353. schema:
  22354. $ref: '#/definitions/app.Response'
  22355. security:
  22356. - ApiKeyAuth: []
  22357. summary: 查询敞口现货明细
  22358. tags:
  22359. - 企业风险管理v3(app)
  22360. /Ermcp3/QueryExposureSpot:
  22361. get:
  22362. parameters:
  22363. - description: 用户id
  22364. in: query
  22365. name: userid
  22366. required: true
  22367. type: integer
  22368. - description: 用户类型 2-机构 7-企业成员
  22369. in: query
  22370. name: usertype
  22371. type: integer
  22372. produces:
  22373. - application/json
  22374. responses:
  22375. "200":
  22376. description: OK
  22377. schema:
  22378. items:
  22379. $ref: '#/definitions/models.Ermcp3AreaSpot'
  22380. type: array
  22381. "500":
  22382. description: Internal Server Error
  22383. schema:
  22384. $ref: '#/definitions/app.Response'
  22385. security:
  22386. - ApiKeyAuth: []
  22387. summary: 查询敞口现货头寸(敞口/现货头寸)
  22388. tags:
  22389. - 企业风险管理v3(app)
  22390. /Ermcp3/QueryExposureSpotDetail:
  22391. get:
  22392. parameters:
  22393. - description: 用户id
  22394. in: query
  22395. name: userid
  22396. required: true
  22397. type: integer
  22398. - description: 用户类型 2-机构 7-企业成员
  22399. in: query
  22400. name: usertype
  22401. type: integer
  22402. - description: 现货商品ID
  22403. in: query
  22404. name: wrstandardid
  22405. required: true
  22406. type: integer
  22407. produces:
  22408. - application/json
  22409. responses:
  22410. "200":
  22411. description: OK
  22412. schema:
  22413. items:
  22414. $ref: '#/definitions/models.Ermcp3AreaSpotDetail'
  22415. type: array
  22416. "500":
  22417. description: Internal Server Error
  22418. schema:
  22419. $ref: '#/definitions/app.Response'
  22420. security:
  22421. - ApiKeyAuth: []
  22422. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  22423. tags:
  22424. - 企业风险管理v3(app)
  22425. /Ermcp3/QueryGoodsGroup:
  22426. get:
  22427. parameters:
  22428. - description: 用户id
  22429. in: query
  22430. name: userid
  22431. required: true
  22432. type: integer
  22433. - description: 用户类型 2-机构 7-企业成员
  22434. in: query
  22435. name: usertype
  22436. type: integer
  22437. - description: 排除套保品中已关联的商品组 1-排除
  22438. in: query
  22439. name: excludecfg
  22440. type: integer
  22441. produces:
  22442. - application/json
  22443. responses:
  22444. "200":
  22445. description: OK
  22446. schema:
  22447. items:
  22448. $ref: '#/definitions/models.Ermcp3GoodsGroup'
  22449. type: array
  22450. "500":
  22451. description: Internal Server Error
  22452. schema:
  22453. $ref: '#/definitions/app.Response'
  22454. security:
  22455. - ApiKeyAuth: []
  22456. summary: 查询期货商品组
  22457. tags:
  22458. - 企业风险管理v3(app)
  22459. /Ermcp3/QueryGoodsWrstandard:
  22460. get:
  22461. parameters:
  22462. - description: 用户id
  22463. in: query
  22464. name: userid
  22465. required: true
  22466. type: integer
  22467. - description: 用户类型 2-机构 7-企业成员
  22468. in: query
  22469. name: usertype
  22470. type: integer
  22471. - description: 现货商品id
  22472. in: query
  22473. name: deliverygoodsid
  22474. type: integer
  22475. produces:
  22476. - application/json
  22477. responses:
  22478. "200":
  22479. description: OK
  22480. schema:
  22481. items:
  22482. $ref: '#/definitions/models.Ermcp3Wrstandard'
  22483. type: array
  22484. "500":
  22485. description: Internal Server Error
  22486. schema:
  22487. $ref: '#/definitions/app.Response'
  22488. security:
  22489. - ApiKeyAuth: []
  22490. summary: 查询商品品类
  22491. tags:
  22492. - 企业风险管理v3(app)
  22493. /Ermcp3/QueryGoodsbrand:
  22494. get:
  22495. parameters:
  22496. - description: 用户id
  22497. in: query
  22498. name: userid
  22499. required: true
  22500. type: integer
  22501. - description: 用户类型 2-机构 7-企业成员
  22502. in: query
  22503. name: usertype
  22504. type: integer
  22505. produces:
  22506. - application/json
  22507. responses:
  22508. "200":
  22509. description: OK
  22510. schema:
  22511. items:
  22512. $ref: '#/definitions/models.Ermcp3Brand'
  22513. type: array
  22514. "500":
  22515. description: Internal Server Error
  22516. schema:
  22517. $ref: '#/definitions/app.Response'
  22518. security:
  22519. - ApiKeyAuth: []
  22520. summary: 查询商品品牌
  22521. tags:
  22522. - 企业风险管理v3(app)
  22523. /Ermcp3/QueryHPMiddleGoods:
  22524. get:
  22525. parameters:
  22526. - description: 用户ID(填登录用户的userid)
  22527. in: query
  22528. name: userid
  22529. required: true
  22530. type: integer
  22531. - description: 买卖方向 0-买 1-卖
  22532. in: query
  22533. name: buyorsell
  22534. required: true
  22535. type: integer
  22536. - description: 商品组id
  22537. in: query
  22538. name: goodsgroupid
  22539. required: true
  22540. type: integer
  22541. - description: 套保计划编号(模糊匹配)
  22542. in: query
  22543. name: hedgeplanno
  22544. type: string
  22545. - description: 现货商品名称(模糊匹配)
  22546. in: query
  22547. name: wrstandardname
  22548. type: string
  22549. produces:
  22550. - application/json
  22551. responses:
  22552. "200":
  22553. description: OK
  22554. schema:
  22555. items:
  22556. $ref: '#/definitions/models.Ermcp3HPMiddleGoods'
  22557. type: array
  22558. "500":
  22559. description: Internal Server Error
  22560. schema:
  22561. $ref: '#/definitions/app.Response'
  22562. security:
  22563. - ApiKeyAuth: []
  22564. summary: 查询可关联套保计划
  22565. tags:
  22566. - 企业风险管理v3(app)
  22567. /Ermcp3/QueryHedgePlan:
  22568. get:
  22569. parameters:
  22570. - description: 用户ID
  22571. in: query
  22572. name: userid
  22573. required: true
  22574. type: integer
  22575. - description: 用户类型 2-机构 7-企业成员
  22576. in: query
  22577. name: usertype
  22578. type: integer
  22579. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  22580. in: query
  22581. name: hedgeplanstatus
  22582. required: true
  22583. type: string
  22584. produces:
  22585. - application/json
  22586. responses:
  22587. "200":
  22588. description: OK
  22589. schema:
  22590. items:
  22591. $ref: '#/definitions/models.Ermcp3HedgePlan'
  22592. type: array
  22593. "500":
  22594. description: Internal Server Error
  22595. schema:
  22596. $ref: '#/definitions/app.Response'
  22597. security:
  22598. - ApiKeyAuth: []
  22599. summary: 查询套保计划
  22600. tags:
  22601. - 企业风险管理v3(app)
  22602. /Ermcp3/QueryInnerTradeLink:
  22603. get:
  22604. description: 页面 app 现货->期现关联->外部成交单关联->点"解除关联"按钮->解除外部关联的页面信息
  22605. parameters:
  22606. - description: 外部成交单号
  22607. in: query
  22608. name: outtradeid
  22609. required: true
  22610. type: integer
  22611. produces:
  22612. - application/json
  22613. responses:
  22614. "200":
  22615. description: OK
  22616. schema:
  22617. items:
  22618. $ref: '#/definitions/models.Ermcp3InnerTradeLink'
  22619. type: array
  22620. "500":
  22621. description: Internal Server Error
  22622. schema:
  22623. $ref: '#/definitions/app.Response'
  22624. security:
  22625. - ApiKeyAuth: []
  22626. summary: 查询外部成交单关联的内部单信息(在解除外部关联页面使用)
  22627. tags:
  22628. - 企业风险管理v3(app)
  22629. /Ermcp3/QueryMiddleGoodsDetail:
  22630. get:
  22631. parameters:
  22632. - description: 用户id
  22633. in: query
  22634. name: userid
  22635. required: true
  22636. type: integer
  22637. - description: 用户类型 2-机构 7-企业成员
  22638. in: query
  22639. name: usertype
  22640. type: integer
  22641. - description: 套保品种id
  22642. in: query
  22643. name: middlegoodsid
  22644. type: integer
  22645. produces:
  22646. - application/json
  22647. responses:
  22648. "200":
  22649. description: OK
  22650. schema:
  22651. items:
  22652. $ref: '#/definitions/models.TBMiddleGoods'
  22653. type: array
  22654. "500":
  22655. description: Internal Server Error
  22656. schema:
  22657. $ref: '#/definitions/app.Response'
  22658. security:
  22659. - ApiKeyAuth: []
  22660. summary: 查询套保品种详情(套保品种/商品详情)
  22661. tags:
  22662. - 企业风险管理v3(app)
  22663. /Ermcp3/QueryOutTradeLink:
  22664. get:
  22665. description: 页面 app 现货->期现关联->外部成交单关联
  22666. parameters:
  22667. - description: 用户ID(填登录用户的userid)
  22668. in: query
  22669. name: userid
  22670. required: true
  22671. type: integer
  22672. - description: 外部订单号(模糊匹配)
  22673. in: query
  22674. name: outtradeid
  22675. type: string
  22676. - description: 合约名称/代码(模糊匹配)
  22677. in: query
  22678. name: goodsname
  22679. type: string
  22680. - description: 关联状态 0-未关联 1-已关联
  22681. in: query
  22682. name: hasinnerorder
  22683. type: integer
  22684. produces:
  22685. - application/json
  22686. responses:
  22687. "200":
  22688. description: OK
  22689. schema:
  22690. items:
  22691. $ref: '#/definitions/models.Ermcp3OutTradeLink'
  22692. type: array
  22693. "500":
  22694. description: Internal Server Error
  22695. schema:
  22696. $ref: '#/definitions/app.Response'
  22697. security:
  22698. - ApiKeyAuth: []
  22699. summary: 查询外部成交单关联
  22700. tags:
  22701. - 企业风险管理v3(app)
  22702. /Ermcp3/QueryPaAreaAuditCfg:
  22703. get:
  22704. parameters:
  22705. - description: 用户id
  22706. in: query
  22707. name: userid
  22708. required: true
  22709. type: integer
  22710. produces:
  22711. - application/json
  22712. responses:
  22713. "200":
  22714. description: OK
  22715. schema:
  22716. items:
  22717. $ref: '#/definitions/models.Ermcp3PaAreaAuditCfg'
  22718. type: array
  22719. "500":
  22720. description: Internal Server Error
  22721. schema:
  22722. $ref: '#/definitions/app.Response'
  22723. security:
  22724. - ApiKeyAuth: []
  22725. summary: 查询审核设置
  22726. tags:
  22727. - 企业风险管理v3(app)
  22728. /Ermcp3/QueryPaAreaSubject:
  22729. get:
  22730. parameters:
  22731. - description: 用户id
  22732. in: query
  22733. name: userid
  22734. required: true
  22735. type: integer
  22736. - description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  22737. in: query
  22738. name: subjectid
  22739. type: integer
  22740. - description: 主体类型 - 1:交易主体 2:业务部门
  22741. in: query
  22742. name: subjecttype
  22743. type: integer
  22744. - description: '主体状态 - 1:正常 2: 停用'
  22745. in: query
  22746. name: subjectstatus
  22747. type: integer
  22748. produces:
  22749. - application/json
  22750. responses:
  22751. "200":
  22752. description: OK
  22753. schema:
  22754. items:
  22755. $ref: '#/definitions/models.Ermcp3PaAreaSubject'
  22756. type: array
  22757. "500":
  22758. description: Internal Server Error
  22759. schema:
  22760. $ref: '#/definitions/app.Response'
  22761. security:
  22762. - ApiKeyAuth: []
  22763. summary: 查询交易主体
  22764. tags:
  22765. - 企业风险管理v3(app)
  22766. /Ermcp3/QueryPaTradeLink:
  22767. get:
  22768. description: 页面 app 现货->期现关联->期现单据关联
  22769. parameters:
  22770. - description: 用户ID
  22771. in: query
  22772. name: userid
  22773. required: true
  22774. type: integer
  22775. produces:
  22776. - application/json
  22777. responses:
  22778. "200":
  22779. description: OK
  22780. schema:
  22781. items:
  22782. $ref: '#/definitions/models.Ermcp3PaTradeLink'
  22783. type: array
  22784. "500":
  22785. description: Internal Server Error
  22786. schema:
  22787. $ref: '#/definitions/app.Response'
  22788. security:
  22789. - ApiKeyAuth: []
  22790. summary: 查询期现单据关联
  22791. tags:
  22792. - 企业风险管理v3(app)
  22793. /Ermcp3/QueryPaTradeLinkDetail:
  22794. get:
  22795. description: 页面 app 现货->期现关联->关联记录
  22796. parameters:
  22797. - description: 用户ID(填登录用户的userid)
  22798. in: query
  22799. name: userid
  22800. required: true
  22801. type: integer
  22802. - description: 关联状态 1:成功 2:失败 3:解绑
  22803. in: query
  22804. name: linkstatus
  22805. type: integer
  22806. - description: 期货订单号(模糊匹配)
  22807. in: query
  22808. name: tradeid
  22809. type: string
  22810. - description: 现货编号(模糊匹配)
  22811. in: query
  22812. name: contractno
  22813. type: string
  22814. - description: 期货账户(模糊匹配)
  22815. in: query
  22816. name: taname
  22817. type: string
  22818. produces:
  22819. - application/json
  22820. responses:
  22821. "200":
  22822. description: OK
  22823. schema:
  22824. items:
  22825. $ref: '#/definitions/models.Ermcp3TradeLinkDetail'
  22826. type: array
  22827. "500":
  22828. description: Internal Server Error
  22829. schema:
  22830. $ref: '#/definitions/app.Response'
  22831. security:
  22832. - ApiKeyAuth: []
  22833. summary: 查询期现关联记录
  22834. tags:
  22835. - 企业风险管理v3(app)
  22836. /Ermcp3/QueryParamChangeApp:
  22837. get:
  22838. description: |-
  22839. 原型页面:
  22840. 1.商品信息->商品参数修改流水-> 增值税税率 | 折算系数 | 成本权重; 流水页面查申请状态为“审核通过”的记录
  22841. 2.风管审核->套保比例审核 | 折算系数审核 | 增值税税率审核 | 成本权重审核
  22842. parameters:
  22843. - description: 用户ID
  22844. in: query
  22845. name: userid
  22846. required: true
  22847. type: integer
  22848. - description: 现货品种id
  22849. in: query
  22850. name: deliverygoodsid
  22851. type: integer
  22852. - description: 现货商品id
  22853. in: query
  22854. name: wrstandardid
  22855. type: integer
  22856. - description: 套保商品id
  22857. in: query
  22858. name: middlegoodsid
  22859. type: integer
  22860. - description: 操作类型 1:新增 2:修改
  22861. in: query
  22862. name: operatetype
  22863. type: integer
  22864. - description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  22865. in: query
  22866. name: paramchangetype
  22867. type: integer
  22868. - description: 申请状态(逗号隔开,如1,2,3) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  22869. in: query
  22870. name: ftstatus
  22871. type: string
  22872. produces:
  22873. - application/json
  22874. responses:
  22875. "200":
  22876. description: OK
  22877. schema:
  22878. items:
  22879. $ref: '#/definitions/models.Ermcp3ParamChangeApp'
  22880. type: array
  22881. "500":
  22882. description: Internal Server Error
  22883. schema:
  22884. $ref: '#/definitions/app.Response'
  22885. security:
  22886. - ApiKeyAuth: []
  22887. summary: 查询现货商品参数变更申请(流水)
  22888. tags:
  22889. - 企业风险管理v3(app)
  22890. /Ermcp3/QueryRootUserAccount:
  22891. get:
  22892. parameters:
  22893. - description: 用户ID
  22894. in: query
  22895. name: userid
  22896. required: true
  22897. type: integer
  22898. produces:
  22899. - application/json
  22900. responses:
  22901. "200":
  22902. description: OK
  22903. schema:
  22904. items:
  22905. $ref: '#/definitions/models.Ermcp3RootUserAccount'
  22906. type: array
  22907. "500":
  22908. description: Internal Server Error
  22909. schema:
  22910. $ref: '#/definitions/app.Response'
  22911. security:
  22912. - ApiKeyAuth: []
  22913. summary: 查询顶级用户信息
  22914. tags:
  22915. - 企业风险管理v3(app)
  22916. /Ermcp3/QuerySCMiddleGoods:
  22917. get:
  22918. description: |-
  22919. 页面 app 现货->期现关联->期现单据关联->点"关联"按钮->弹出界面 : 现货订单
  22920. 现货编号 即 合同编号
  22921. parameters:
  22922. - description: 用户ID(填登录用户的userid)
  22923. in: query
  22924. name: userid
  22925. required: true
  22926. type: integer
  22927. - description: 买卖方向 0-买 1-卖
  22928. in: query
  22929. name: buyorsell
  22930. required: true
  22931. type: integer
  22932. - description: 商品组id
  22933. in: query
  22934. name: goodsgroupid
  22935. required: true
  22936. type: integer
  22937. - description: 业务类型 1:套保 2:套利
  22938. in: query
  22939. name: biztype
  22940. type: integer
  22941. - description: 现货编号(模糊匹配)
  22942. in: query
  22943. name: contractno
  22944. type: string
  22945. - description: 对手方(模糊匹配)
  22946. in: query
  22947. name: customername
  22948. type: string
  22949. - description: 现货商品名称(模糊匹配)
  22950. in: query
  22951. name: wrstandardname
  22952. type: string
  22953. produces:
  22954. - application/json
  22955. responses:
  22956. "200":
  22957. description: OK
  22958. schema:
  22959. items:
  22960. $ref: '#/definitions/models.Ermcp3SCMiddleGoods'
  22961. type: array
  22962. "500":
  22963. description: Internal Server Error
  22964. schema:
  22965. $ref: '#/definitions/app.Response'
  22966. security:
  22967. - ApiKeyAuth: []
  22968. summary: 查询现货订单
  22969. tags:
  22970. - 企业风险管理v3(app)
  22971. /Ermcp3/QuerySpotContract:
  22972. get:
  22973. parameters:
  22974. - description: 用户id(当指定contractid, userid可不填)
  22975. in: query
  22976. name: userid
  22977. required: true
  22978. type: integer
  22979. - description: 用户类型 2-机构 7-企业成员
  22980. in: query
  22981. name: usertype
  22982. type: integer
  22983. - description: 合同类型 1-采购, -1-销售
  22984. in: query
  22985. name: contracttype
  22986. type: integer
  22987. - description: 查询类型(逗号隔开, 如1,2,3) 1-未提交 2-待审核 3-履约中 4-已完成
  22988. in: query
  22989. name: querytype
  22990. type: string
  22991. - description: 合同ID(SpotContractId)
  22992. in: query
  22993. name: contractid
  22994. type: string
  22995. - description: 合同编号(模糊匹配)
  22996. in: query
  22997. name: contractno
  22998. type: string
  22999. - description: 商品名称(模糊匹配)
  23000. in: query
  23001. name: wrstandardname
  23002. type: string
  23003. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中
  23004. 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  23005. in: query
  23006. name: status
  23007. type: string
  23008. - description: 是否只查今日的合同 1-查今日合同
  23009. in: query
  23010. name: istoday
  23011. type: integer
  23012. produces:
  23013. - application/json
  23014. responses:
  23015. "200":
  23016. description: OK
  23017. schema:
  23018. items:
  23019. $ref: '#/definitions/models.Ermcp3Contract'
  23020. type: array
  23021. "500":
  23022. description: Internal Server Error
  23023. schema:
  23024. $ref: '#/definitions/app.Response'
  23025. security:
  23026. - ApiKeyAuth: []
  23027. summary: 查询现货合同
  23028. tags:
  23029. - 企业风险管理v3(app)
  23030. /Ermcp3/QuerySpotContractBS:
  23031. get:
  23032. parameters:
  23033. - description: 用户id
  23034. in: query
  23035. name: userid
  23036. required: true
  23037. type: integer
  23038. - description: 用户类型 2-机构 7-企业成员
  23039. in: query
  23040. name: usertype
  23041. type: integer
  23042. - description: 合同类型 1-采购, -1-销售
  23043. in: query
  23044. name: contracttype
  23045. required: true
  23046. type: integer
  23047. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  23048. in: query
  23049. name: querytype
  23050. type: integer
  23051. - description: 合同ID(SpotContractId)
  23052. in: query
  23053. name: contractid
  23054. type: string
  23055. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中
  23056. 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  23057. in: query
  23058. name: status
  23059. type: string
  23060. - description: 是否只查今日的合同 1-查今日合同
  23061. in: query
  23062. name: istoday
  23063. type: integer
  23064. produces:
  23065. - application/json
  23066. responses:
  23067. "200":
  23068. description: OK
  23069. schema:
  23070. items:
  23071. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  23072. type: array
  23073. "500":
  23074. description: Internal Server Error
  23075. schema:
  23076. $ref: '#/definitions/app.Response'
  23077. security:
  23078. - ApiKeyAuth: []
  23079. summary: 查询合同(采购/销售)
  23080. tags:
  23081. - 企业风险管理v3(app)
  23082. /Ermcp3/QuerySpotGoodsPrice:
  23083. get:
  23084. parameters:
  23085. - description: 用户ID
  23086. in: query
  23087. name: userid
  23088. required: true
  23089. type: integer
  23090. produces:
  23091. - application/json
  23092. responses:
  23093. "200":
  23094. description: OK
  23095. schema:
  23096. items:
  23097. $ref: '#/definitions/models.Ermcp3SpotGoodsPrice'
  23098. type: array
  23099. "500":
  23100. description: Internal Server Error
  23101. schema:
  23102. $ref: '#/definitions/app.Response'
  23103. security:
  23104. - ApiKeyAuth: []
  23105. summary: 查询现货市价(现货市价)
  23106. tags:
  23107. - 企业风险管理v3(app)
  23108. /Ermcp3/QuerySpotGoodsPriceLog:
  23109. get:
  23110. parameters:
  23111. - description: 用户ID
  23112. in: query
  23113. name: userid
  23114. required: true
  23115. type: integer
  23116. - description: 现货商品ID
  23117. in: query
  23118. name: deliverygoodsid
  23119. required: true
  23120. type: integer
  23121. - description: 品牌ID
  23122. in: query
  23123. name: brandid
  23124. type: integer
  23125. - description: 品类ID
  23126. in: query
  23127. name: wrstandardid
  23128. type: integer
  23129. produces:
  23130. - application/json
  23131. responses:
  23132. "200":
  23133. description: OK
  23134. schema:
  23135. items:
  23136. $ref: '#/definitions/models.Ermcp3SpotGoodsPriceLog'
  23137. type: array
  23138. "500":
  23139. description: Internal Server Error
  23140. schema:
  23141. $ref: '#/definitions/app.Response'
  23142. security:
  23143. - ApiKeyAuth: []
  23144. summary: 查询现货市价详情(现货市价/详情)
  23145. tags:
  23146. - 企业风险管理v3(app)
  23147. /Ermcp3/QuerySubTaaccount:
  23148. get:
  23149. description: 页面 app 现货->期现关联->外部成交单关联->点"关联"按钮->选择期货子账户
  23150. parameters:
  23151. - description: 母账号id
  23152. in: query
  23153. name: parentaccountid
  23154. type: integer
  23155. - description: 母账号代码
  23156. in: query
  23157. name: parentaccountcode
  23158. type: string
  23159. produces:
  23160. - application/json
  23161. responses:
  23162. "200":
  23163. description: OK
  23164. schema:
  23165. items:
  23166. $ref: '#/definitions/models.Ermcp3SubTaaccount'
  23167. type: array
  23168. "500":
  23169. description: Internal Server Error
  23170. schema:
  23171. $ref: '#/definitions/app.Response'
  23172. security:
  23173. - ApiKeyAuth: []
  23174. summary: 查询期货子账户
  23175. tags:
  23176. - 企业风险管理v3(app)
  23177. /Ermcp8/QueryERMCP2HedgedItemSpotDetail:
  23178. get:
  23179. parameters:
  23180. - description: 套期项目ID
  23181. in: query
  23182. name: hedgeditemid
  23183. required: true
  23184. type: integer
  23185. produces:
  23186. - application/json
  23187. responses:
  23188. "200":
  23189. description: OK
  23190. schema:
  23191. items:
  23192. $ref: '#/definitions/models.Ermcp2hedgeditemspotDetail'
  23193. type: array
  23194. "500":
  23195. description: Internal Server Error
  23196. schema:
  23197. $ref: '#/definitions/app.Response'
  23198. security:
  23199. - ApiKeyAuth: []
  23200. summary: 现货成交明细查询
  23201. tags:
  23202. - 企业风险管理v8
  23203. /Ermcp8/QueryERMCP2HedgedItemspot:
  23204. get:
  23205. parameters:
  23206. - description: 套期项目ID
  23207. in: query
  23208. name: hedgeditemid
  23209. required: true
  23210. type: integer
  23211. produces:
  23212. - application/json
  23213. responses:
  23214. "200":
  23215. description: OK
  23216. schema:
  23217. items:
  23218. $ref: '#/definitions/models.Ermcp2hedgeditemspot'
  23219. type: array
  23220. "500":
  23221. description: Internal Server Error
  23222. schema:
  23223. $ref: '#/definitions/app.Response'
  23224. security:
  23225. - ApiKeyAuth: []
  23226. summary: 套期计划明细查询
  23227. tags:
  23228. - 企业风险管理v8
  23229. /Ermcp8/QueryERMCPJRLinkPos:
  23230. get:
  23231. parameters:
  23232. - description: 套期项目ID
  23233. in: query
  23234. name: hedgeditemid
  23235. required: true
  23236. type: integer
  23237. produces:
  23238. - application/json
  23239. responses:
  23240. "200":
  23241. description: OK
  23242. schema:
  23243. items:
  23244. $ref: '#/definitions/models.Ermcpjrlinkpos'
  23245. type: array
  23246. "500":
  23247. description: Internal Server Error
  23248. schema:
  23249. $ref: '#/definitions/app.Response'
  23250. security:
  23251. - ApiKeyAuth: []
  23252. summary: 期货持仓明细查询
  23253. tags:
  23254. - 企业风险管理v8
  23255. /Ermcp8/QueryERMCPPatradeLinkDetail:
  23256. get:
  23257. parameters:
  23258. - description: 套期项目ID
  23259. in: query
  23260. name: hedgeditemid
  23261. required: true
  23262. type: integer
  23263. produces:
  23264. - application/json
  23265. responses:
  23266. "200":
  23267. description: OK
  23268. schema:
  23269. items:
  23270. $ref: '#/definitions/models.Ermcppatradelinkdetail'
  23271. type: array
  23272. "500":
  23273. description: Internal Server Error
  23274. schema:
  23275. $ref: '#/definitions/app.Response'
  23276. security:
  23277. - ApiKeyAuth: []
  23278. summary: 期货成交单明细查询
  23279. tags:
  23280. - 企业风险管理v8
  23281. /Ermcp8/QueryErmcp2AreaExposure:
  23282. get:
  23283. parameters:
  23284. - description: 用户ID
  23285. in: query
  23286. name: userid
  23287. required: true
  23288. type: string
  23289. produces:
  23290. - application/json
  23291. responses:
  23292. "200":
  23293. description: OK
  23294. schema:
  23295. items:
  23296. $ref: '#/definitions/models.Ermcp2AreaExposure'
  23297. type: array
  23298. "500":
  23299. description: Internal Server Error
  23300. schema:
  23301. $ref: '#/definitions/app.Response'
  23302. security:
  23303. - ApiKeyAuth: []
  23304. summary: 企业敞口查询
  23305. tags:
  23306. - 企业风险管理v8
  23307. /Ermcp8/QueryErmcp2HedgedItem:
  23308. get:
  23309. description: 已完成项目查询 -> 项目状态 = 3:正常完结 or 5:异常完结
  23310. parameters:
  23311. - description: 用户ID
  23312. in: query
  23313. name: userid
  23314. required: true
  23315. type: string
  23316. - description: 套期类型 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  23317. in: query
  23318. name: hedgedtype
  23319. type: integer
  23320. - description: 项目状态 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  23321. in: query
  23322. name: hedgeditemstatus
  23323. type: integer
  23324. produces:
  23325. - application/json
  23326. responses:
  23327. "200":
  23328. description: OK
  23329. schema:
  23330. items:
  23331. $ref: '#/definitions/models.Ermcp2hedgeditem'
  23332. type: array
  23333. "500":
  23334. description: Internal Server Error
  23335. schema:
  23336. $ref: '#/definitions/app.Response'
  23337. security:
  23338. - ApiKeyAuth: []
  23339. summary: 查询被套期项目信息
  23340. tags:
  23341. - 企业风险管理v8
  23342. /Ermcp8/QueryErmcp2HedgedItemLink:
  23343. get:
  23344. parameters:
  23345. - description: 现货合同ID
  23346. in: query
  23347. name: spotcontractid
  23348. required: true
  23349. type: integer
  23350. produces:
  23351. - application/json
  23352. responses:
  23353. "200":
  23354. description: OK
  23355. schema:
  23356. items:
  23357. $ref: '#/definitions/models.Ermcp2hedgeditemlink'
  23358. type: array
  23359. "500":
  23360. description: Internal Server Error
  23361. schema:
  23362. $ref: '#/definitions/app.Response'
  23363. security:
  23364. - ApiKeyAuth: []
  23365. summary: 现货合同关联被套期项目查询
  23366. tags:
  23367. - 企业风险管理v8
  23368. /Ermcp8/QueryErmcp2HedgedItemsDetail:
  23369. get:
  23370. parameters:
  23371. - description: 用户ID
  23372. in: query
  23373. name: userid
  23374. required: true
  23375. type: integer
  23376. - description: 套保品种ID
  23377. in: query
  23378. name: middlegoodsid
  23379. required: true
  23380. type: integer
  23381. produces:
  23382. - application/json
  23383. responses:
  23384. "200":
  23385. description: OK
  23386. schema:
  23387. items:
  23388. $ref: '#/definitions/models.Ermcp2hedgeditemsDetail'
  23389. type: array
  23390. "500":
  23391. description: Internal Server Error
  23392. schema:
  23393. $ref: '#/definitions/app.Response'
  23394. security:
  23395. - ApiKeyAuth: []
  23396. summary: 敞口明细 - 计划变动明细
  23397. tags:
  23398. - 企业风险管理v8
  23399. /Ermcp8/QueryErmcp2StockSpotChangeLog:
  23400. get:
  23401. parameters:
  23402. - description: 用户ID
  23403. in: query
  23404. name: userid
  23405. required: true
  23406. type: integer
  23407. - description: 套保品种ID
  23408. in: query
  23409. name: middlegoodsid
  23410. required: true
  23411. type: integer
  23412. produces:
  23413. - application/json
  23414. responses:
  23415. "200":
  23416. description: OK
  23417. schema:
  23418. items:
  23419. $ref: '#/definitions/models.Ermcp2stockspotchangelog'
  23420. type: array
  23421. "500":
  23422. description: Internal Server Error
  23423. schema:
  23424. $ref: '#/definitions/app.Response'
  23425. security:
  23426. - ApiKeyAuth: []
  23427. summary: 敞口明细 - 现货变动明细查询
  23428. tags:
  23429. - 企业风险管理v8
  23430. /Ermcp8/QueryErmcp8EnableHedgeditem:
  23431. get:
  23432. parameters:
  23433. - description: 用户ID
  23434. in: query
  23435. name: userid
  23436. required: true
  23437. type: integer
  23438. - description: 现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  23439. in: query
  23440. name: spottype
  23441. required: true
  23442. type: integer
  23443. - description: 现货商品ID
  23444. in: query
  23445. name: wrstandardid
  23446. type: integer
  23447. produces:
  23448. - application/json
  23449. responses:
  23450. "200":
  23451. description: OK
  23452. schema:
  23453. items:
  23454. $ref: '#/definitions/models.Ermcp8EnableHedgeditem'
  23455. type: array
  23456. "500":
  23457. description: Internal Server Error
  23458. schema:
  23459. $ref: '#/definitions/app.Response'
  23460. security:
  23461. - ApiKeyAuth: []
  23462. summary: 可关联项目查询
  23463. tags:
  23464. - 企业风险管理v8
  23465. /Ermcp8/QueryErmcp8HedgeditemReport:
  23466. get:
  23467. parameters:
  23468. - description: 用户ID
  23469. in: query
  23470. name: userid
  23471. required: true
  23472. type: integer
  23473. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  23474. in: query
  23475. name: cycletype
  23476. type: integer
  23477. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  23478. 全(0)【原值】
  23479. in: query
  23480. name: cycletime
  23481. required: true
  23482. type: string
  23483. - description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  23484. in: query
  23485. name: hedgedtype
  23486. type: integer
  23487. - description: 项目状态 - 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  23488. in: query
  23489. name: hedgeditemstatus
  23490. type: integer
  23491. - description: 项目编号,模糊查询
  23492. in: query
  23493. name: hedgeditemnum
  23494. type: string
  23495. - description: 现货商品ID
  23496. in: query
  23497. name: wrstandardid
  23498. type: integer
  23499. produces:
  23500. - application/json
  23501. responses:
  23502. "200":
  23503. description: OK
  23504. schema:
  23505. items:
  23506. $ref: '#/definitions/models.Ermcp8HedgeditemReport'
  23507. type: array
  23508. "500":
  23509. description: Internal Server Error
  23510. schema:
  23511. $ref: '#/definitions/app.Response'
  23512. security:
  23513. - ApiKeyAuth: []
  23514. summary: 套期项目报表查询
  23515. tags:
  23516. - 企业风险管理v8
  23517. /Ermcp8/QueryErmcp8RunningHedgeditem:
  23518. get:
  23519. parameters:
  23520. - description: 用户ID
  23521. in: query
  23522. name: userid
  23523. required: true
  23524. type: string
  23525. produces:
  23526. - application/json
  23527. responses:
  23528. "200":
  23529. description: OK
  23530. schema:
  23531. items:
  23532. $ref: '#/definitions/models.Ermcp8RunningHedgeditem'
  23533. type: array
  23534. "500":
  23535. description: Internal Server Error
  23536. schema:
  23537. $ref: '#/definitions/app.Response'
  23538. security:
  23539. - ApiKeyAuth: []
  23540. summary: 查询执行中项目查询信息
  23541. tags:
  23542. - 企业风险管理v8
  23543. /Ermcp8/QueryInternalEnableTradeDetail:
  23544. get:
  23545. parameters:
  23546. - description: 企业ID
  23547. in: query
  23548. name: areauserid
  23549. required: true
  23550. type: integer
  23551. - description: 期货合约ID
  23552. in: query
  23553. name: goodsid
  23554. required: true
  23555. type: integer
  23556. - description: 交易用户ID
  23557. in: query
  23558. name: tradeuserid
  23559. required: true
  23560. type: integer
  23561. produces:
  23562. - application/json
  23563. responses:
  23564. "200":
  23565. description: OK
  23566. schema:
  23567. items:
  23568. $ref: '#/definitions/models.InternalEnableTradeDetail'
  23569. type: array
  23570. "500":
  23571. description: Internal Server Error
  23572. schema:
  23573. $ref: '#/definitions/app.Response'
  23574. security:
  23575. - ApiKeyAuth: []
  23576. summary: 内部成交单可关联项目查询
  23577. tags:
  23578. - 企业风险管理v8
  23579. /Ermcp8/QueryInternalUncorrelatedTradeDetail:
  23580. get:
  23581. parameters:
  23582. - description: 用户编号
  23583. in: query
  23584. name: userid
  23585. required: true
  23586. type: integer
  23587. - description: 起始日期(格式yyyymmdd)
  23588. in: query
  23589. name: begindate
  23590. type: string
  23591. - description: 终止日期(格式yyyymmdd)
  23592. in: query
  23593. name: enddate
  23594. type: string
  23595. - description: 合约代码
  23596. in: query
  23597. name: goodscode
  23598. type: string
  23599. - description: 合约名称
  23600. in: query
  23601. name: goodsname
  23602. type: string
  23603. - description: 成交单号
  23604. in: query
  23605. name: tradeid
  23606. type: integer
  23607. - description: 方向 - 0:买 1:卖
  23608. in: query
  23609. name: buyorsell
  23610. type: integer
  23611. - description: 套期主体
  23612. in: query
  23613. name: accountname
  23614. type: string
  23615. produces:
  23616. - application/json
  23617. responses:
  23618. "200":
  23619. description: OK
  23620. schema:
  23621. items:
  23622. $ref: '#/definitions/models.InternalUncorrelatedTradeDetail'
  23623. type: array
  23624. "500":
  23625. description: Internal Server Error
  23626. schema:
  23627. $ref: '#/definitions/app.Response'
  23628. security:
  23629. - ApiKeyAuth: []
  23630. summary: 内部未关联成交单查询
  23631. tags:
  23632. - 企业风险管理v8
  23633. /Ermcp8/QueryMarketCalendar:
  23634. get:
  23635. parameters:
  23636. - description: 市场ID
  23637. in: query
  23638. name: marketid
  23639. type: integer
  23640. produces:
  23641. - application/json
  23642. responses:
  23643. "200":
  23644. description: OK
  23645. schema:
  23646. items:
  23647. $ref: '#/definitions/models.Marketcalendar'
  23648. type: array
  23649. "500":
  23650. description: Internal Server Error
  23651. schema:
  23652. $ref: '#/definitions/app.Response'
  23653. security:
  23654. - ApiKeyAuth: []
  23655. summary: 市场节假日查询
  23656. tags:
  23657. - 企业风险管理v8
  23658. /Ermcp8/QueryPatradeLinkDetail:
  23659. get:
  23660. parameters:
  23661. - description: 用户ID
  23662. in: query
  23663. name: userid
  23664. required: true
  23665. type: integer
  23666. - description: 套保品种ID
  23667. in: query
  23668. name: middlegoodsid
  23669. required: true
  23670. type: integer
  23671. produces:
  23672. - application/json
  23673. responses:
  23674. "200":
  23675. description: OK
  23676. schema:
  23677. items:
  23678. $ref: '#/definitions/models.Patradelinkdetail'
  23679. type: array
  23680. "500":
  23681. description: Internal Server Error
  23682. schema:
  23683. $ref: '#/definitions/app.Response'
  23684. security:
  23685. - ApiKeyAuth: []
  23686. summary: 敞口明细 - 期货变动明细
  23687. tags:
  23688. - 企业风险管理v8
  23689. /Ermcp8/QueryUnLinkErmcpHedgePlan:
  23690. get:
  23691. parameters:
  23692. - description: 企业ID
  23693. in: query
  23694. name: areauserid
  23695. required: true
  23696. type: integer
  23697. - description: 计划类型 - 1:采购 -1:销售
  23698. in: query
  23699. name: contracttype
  23700. type: integer
  23701. - description: 计划编号,模糊查询
  23702. in: query
  23703. name: hedgeplanno
  23704. type: string
  23705. - description: 现货商品,模糊查询
  23706. in: query
  23707. name: wrstandardname
  23708. type: string
  23709. produces:
  23710. - application/json
  23711. responses:
  23712. "200":
  23713. description: OK
  23714. schema:
  23715. items:
  23716. $ref: '#/definitions/models.Unlinkermcphedgeplan'
  23717. type: array
  23718. "500":
  23719. description: Internal Server Error
  23720. schema:
  23721. $ref: '#/definitions/app.Response'
  23722. security:
  23723. - ApiKeyAuth: []
  23724. summary: 未关联购销计划
  23725. tags:
  23726. - 企业风险管理v8
  23727. /Ermcp8/QueryUnLinkSpotContract:
  23728. get:
  23729. parameters:
  23730. - description: 用户ID
  23731. in: query
  23732. name: userid
  23733. required: true
  23734. type: integer
  23735. - description: 定价类型 - 1:一口价 2:点价 3:暂定价
  23736. in: query
  23737. name: pricetype
  23738. type: integer
  23739. - description: 合同编号, 模拟查询
  23740. in: query
  23741. name: contractno
  23742. type: string
  23743. - description: 对手方, 模拟查询
  23744. in: query
  23745. name: customername
  23746. type: string
  23747. - description: 项合同类型 - 1:采购 -1:销售
  23748. in: query
  23749. name: contracttype
  23750. type: integer
  23751. produces:
  23752. - application/json
  23753. responses:
  23754. "200":
  23755. description: OK
  23756. schema:
  23757. items:
  23758. $ref: '#/definitions/models.ErmcpSpotContractModelEx'
  23759. type: array
  23760. "500":
  23761. description: Internal Server Error
  23762. schema:
  23763. $ref: '#/definitions/app.Response'
  23764. security:
  23765. - ApiKeyAuth: []
  23766. summary: 未关联合同查询
  23767. tags:
  23768. - 企业风险管理v8
  23769. /Erms2/QueryArbitrageStrategy:
  23770. get:
  23771. parameters:
  23772. - description: 账户ID
  23773. in: query
  23774. name: userid
  23775. required: true
  23776. type: integer
  23777. - description: 商品组ID(品种ID)
  23778. in: query
  23779. name: goodsgroupid
  23780. type: string
  23781. produces:
  23782. - application/json
  23783. responses:
  23784. "200":
  23785. description: OK
  23786. schema:
  23787. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  23788. "500":
  23789. description: Internal Server Error
  23790. schema:
  23791. $ref: '#/definitions/app.Response'
  23792. security:
  23793. - ApiKeyAuth: []
  23794. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  23795. tags:
  23796. - 风险管理
  23797. /Erms2/QueryInnerTradeDetail:
  23798. get:
  23799. parameters:
  23800. - description: 资金账户
  23801. in: query
  23802. name: accountid
  23803. required: true
  23804. type: integer
  23805. produces:
  23806. - application/json
  23807. responses:
  23808. "200":
  23809. description: OK
  23810. schema:
  23811. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  23812. "500":
  23813. description: Internal Server Error
  23814. schema:
  23815. $ref: '#/definitions/app.Response'
  23816. security:
  23817. - ApiKeyAuth: []
  23818. summary: 查询内部成交单信息
  23819. tags:
  23820. - 风险管理
  23821. /Erms2/QuerySpotContract:
  23822. get:
  23823. parameters:
  23824. - description: 策略申请ID
  23825. in: query
  23826. name: asapplyid
  23827. required: true
  23828. type: integer
  23829. - description: 现货合同ID
  23830. in: query
  23831. name: spotcontractid
  23832. type: integer
  23833. produces:
  23834. - application/json
  23835. responses:
  23836. "200":
  23837. description: OK
  23838. schema:
  23839. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  23840. "500":
  23841. description: Internal Server Error
  23842. schema:
  23843. $ref: '#/definitions/app.Response'
  23844. security:
  23845. - ApiKeyAuth: []
  23846. summary: 查询现货合同表信息(指定策略ID、未结束的)
  23847. tags:
  23848. - 风险管理
  23849. /Erms3/AddErms2ASApply:
  23850. post:
  23851. parameters:
  23852. - description: 申请参数
  23853. in: body
  23854. name: jsonBody
  23855. required: true
  23856. schema:
  23857. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  23858. produces:
  23859. - application/json
  23860. responses:
  23861. "200":
  23862. description: OK
  23863. schema:
  23864. $ref: '#/definitions/app.Response'
  23865. "500":
  23866. description: Internal Server Error
  23867. schema:
  23868. $ref: '#/definitions/app.Response'
  23869. security:
  23870. - ApiKeyAuth: []
  23871. summary: 新增期现套利业务申请
  23872. tags:
  23873. - 风险管理v3
  23874. /Erms3/AddErms2SpotTradeApply:
  23875. post:
  23876. parameters:
  23877. - description: 申请参数
  23878. in: body
  23879. name: jsonBody
  23880. required: true
  23881. schema:
  23882. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  23883. produces:
  23884. - application/json
  23885. responses:
  23886. "200":
  23887. description: OK
  23888. schema:
  23889. $ref: '#/definitions/app.Response'
  23890. "500":
  23891. description: Internal Server Error
  23892. schema:
  23893. $ref: '#/definitions/app.Response'
  23894. security:
  23895. - ApiKeyAuth: []
  23896. summary: 新增现货贸易业务申请
  23897. tags:
  23898. - 风险管理v3
  23899. /Erms3/AddSpotContractApply:
  23900. post:
  23901. parameters:
  23902. - description: 申请参数
  23903. in: body
  23904. name: jsonBody
  23905. required: true
  23906. schema:
  23907. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  23908. produces:
  23909. - application/json
  23910. responses:
  23911. "200":
  23912. description: OK
  23913. schema:
  23914. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  23915. "500":
  23916. description: Internal Server Error
  23917. schema:
  23918. $ref: '#/definitions/app.Response'
  23919. security:
  23920. - ApiKeyAuth: []
  23921. summary: 新增现货合同申请
  23922. tags:
  23923. - 风险管理v3
  23924. /Erms3/AddUserInfoApply:
  23925. post:
  23926. parameters:
  23927. - description: 用户信息
  23928. in: body
  23929. name: jsonBody
  23930. required: true
  23931. schema:
  23932. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  23933. produces:
  23934. - application/json
  23935. responses:
  23936. "200":
  23937. description: OK
  23938. schema:
  23939. $ref: '#/definitions/app.Response'
  23940. "500":
  23941. description: Internal Server Error
  23942. schema:
  23943. $ref: '#/definitions/app.Response'
  23944. security:
  23945. - ApiKeyAuth: []
  23946. summary: 新增客户申请
  23947. tags:
  23948. - 风险管理v3
  23949. /Erms3/DeleteUserInfoApply:
  23950. get:
  23951. description: 只可删除 UserState = 1 (未提交)状态的申请信息
  23952. parameters:
  23953. - description: 用户ID
  23954. in: query
  23955. name: userID
  23956. required: true
  23957. type: integer
  23958. produces:
  23959. - application/json
  23960. responses:
  23961. "200":
  23962. description: OK
  23963. schema:
  23964. $ref: '#/definitions/app.Response'
  23965. "500":
  23966. description: Internal Server Error
  23967. schema:
  23968. $ref: '#/definitions/app.Response'
  23969. security:
  23970. - ApiKeyAuth: []
  23971. summary: 删除客户申请
  23972. tags:
  23973. - 风险管理v3
  23974. /Erms3/ModifyUserInfoApply:
  23975. post:
  23976. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid":
  23977. int, "userstate": 2 }'
  23978. parameters:
  23979. - description: 用户信息
  23980. in: body
  23981. name: jsonBody
  23982. required: true
  23983. schema:
  23984. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  23985. produces:
  23986. - application/json
  23987. responses:
  23988. "200":
  23989. description: OK
  23990. schema:
  23991. $ref: '#/definitions/app.Response'
  23992. "500":
  23993. description: Internal Server Error
  23994. schema:
  23995. $ref: '#/definitions/app.Response'
  23996. security:
  23997. - ApiKeyAuth: []
  23998. summary: 修改客户申请
  23999. tags:
  24000. - 风险管理v3
  24001. /Erms3/QueryBusinessInfo:
  24002. get:
  24003. parameters:
  24004. - description: 资金账号ID列表,用逗号分隔
  24005. in: query
  24006. name: accountids
  24007. required: true
  24008. type: string
  24009. - description: 状态,0为未结束 1为已结束
  24010. in: query
  24011. name: status
  24012. required: true
  24013. type: integer
  24014. produces:
  24015. - application/json
  24016. responses:
  24017. "200":
  24018. description: OK
  24019. schema:
  24020. items:
  24021. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  24022. type: array
  24023. "500":
  24024. description: Internal Server Error
  24025. schema:
  24026. $ref: '#/definitions/app.Response'
  24027. security:
  24028. - ApiKeyAuth: []
  24029. summary: 查询业务表单数据
  24030. tags:
  24031. - 风险管理v3
  24032. /Erms3/QueryPendingAuditContract:
  24033. get:
  24034. parameters:
  24035. - description: 资金账号ID列表,逗号隔开
  24036. in: query
  24037. name: accountids
  24038. required: true
  24039. type: string
  24040. - description: 合同类型 1-采购 -1-销售
  24041. in: query
  24042. name: contracttype
  24043. required: true
  24044. type: integer
  24045. - description: 合同模式 1-普通 2-回购
  24046. in: query
  24047. name: contractmode
  24048. required: true
  24049. type: integer
  24050. produces:
  24051. - application/json
  24052. responses:
  24053. "200":
  24054. description: OK
  24055. schema:
  24056. items:
  24057. $ref: '#/definitions/erms3.QryAuditContractRsp'
  24058. type: array
  24059. "500":
  24060. description: Internal Server Error
  24061. schema:
  24062. $ref: '#/definitions/app.Response'
  24063. security:
  24064. - ApiKeyAuth: []
  24065. summary: 查询待审核合同
  24066. tags:
  24067. - 风险管理v3
  24068. /Erms3/QueryPendingBusiness:
  24069. get:
  24070. parameters:
  24071. - description: 资金账号ID列表,逗号隔开
  24072. in: query
  24073. name: accountids
  24074. required: true
  24075. type: string
  24076. produces:
  24077. - application/json
  24078. responses:
  24079. "200":
  24080. description: OK
  24081. schema:
  24082. items:
  24083. $ref: '#/definitions/erms3.QryPendingBizRsp'
  24084. type: array
  24085. "500":
  24086. description: Internal Server Error
  24087. schema:
  24088. $ref: '#/definitions/app.Response'
  24089. security:
  24090. - ApiKeyAuth: []
  24091. summary: 查询待审核基差贸易业务
  24092. tags:
  24093. - 风险管理v3
  24094. /Erms3/QuerySpotContractAppleForm:
  24095. get:
  24096. parameters:
  24097. - description: 登录账号
  24098. in: query
  24099. name: loginID
  24100. required: true
  24101. type: integer
  24102. produces:
  24103. - application/json
  24104. responses:
  24105. "200":
  24106. description: OK
  24107. schema:
  24108. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  24109. "500":
  24110. description: Internal Server Error
  24111. schema:
  24112. $ref: '#/definitions/app.Response'
  24113. security:
  24114. - ApiKeyAuth: []
  24115. summary: 查询合同申请表单数据
  24116. tags:
  24117. - 风险管理v3
  24118. /Erms3/QuerySpotContractDetail:
  24119. get:
  24120. parameters:
  24121. - description: 资金账号ID列表,用逗号分隔
  24122. in: query
  24123. name: accountids
  24124. required: true
  24125. type: string
  24126. - description: 合同类型,1为采购合同 -1为销售合同
  24127. in: query
  24128. name: contracttype
  24129. required: true
  24130. type: integer
  24131. - description: 合同模式,1为普通合同 2为回购销售合同
  24132. in: query
  24133. name: contractmode
  24134. required: true
  24135. type: integer
  24136. - description: 状态,0为履约中 1为已完成
  24137. in: query
  24138. name: status
  24139. required: true
  24140. type: integer
  24141. produces:
  24142. - application/json
  24143. responses:
  24144. "200":
  24145. description: OK
  24146. schema:
  24147. items:
  24148. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  24149. type: array
  24150. "500":
  24151. description: Internal Server Error
  24152. schema:
  24153. $ref: '#/definitions/app.Response'
  24154. security:
  24155. - ApiKeyAuth: []
  24156. summary: 查询合同详细信息
  24157. tags:
  24158. - 风险管理v3
  24159. /Erms3/QueryUserInfoApplies:
  24160. get:
  24161. parameters:
  24162. - description: 页码
  24163. in: query
  24164. name: page
  24165. type: integer
  24166. - description: 每页条数
  24167. in: query
  24168. name: pagesize
  24169. type: integer
  24170. - description: 客户名称,支持模糊查询
  24171. in: query
  24172. name: userName
  24173. type: string
  24174. produces:
  24175. - application/json
  24176. responses:
  24177. "200":
  24178. description: OK
  24179. schema:
  24180. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  24181. "500":
  24182. description: Internal Server Error
  24183. schema:
  24184. $ref: '#/definitions/app.Response'
  24185. security:
  24186. - ApiKeyAuth: []
  24187. summary: 客户申请信息查询
  24188. tags:
  24189. - 风险管理v3
  24190. /Erms3/QueryUserInfos:
  24191. get:
  24192. parameters:
  24193. - description: 页码
  24194. in: query
  24195. name: page
  24196. type: integer
  24197. - description: 每页条数
  24198. in: query
  24199. name: pagesize
  24200. type: integer
  24201. - description: 客户名称,支持模糊查询
  24202. in: query
  24203. name: userName
  24204. type: string
  24205. produces:
  24206. - application/json
  24207. responses:
  24208. "200":
  24209. description: OK
  24210. schema:
  24211. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  24212. "500":
  24213. description: Internal Server Error
  24214. schema:
  24215. $ref: '#/definitions/app.Response'
  24216. security:
  24217. - ApiKeyAuth: []
  24218. summary: 客户信息查询
  24219. tags:
  24220. - 风险管理v3
  24221. /Guangzuan/GetGoods:
  24222. get:
  24223. parameters:
  24224. - description: 商品编号
  24225. in: query
  24226. name: goodsno
  24227. required: true
  24228. type: string
  24229. produces:
  24230. - application/json
  24231. responses:
  24232. "200":
  24233. description: OK
  24234. schema:
  24235. $ref: '#/definitions/models.GZGoods'
  24236. "500":
  24237. description: Internal Server Error
  24238. schema:
  24239. $ref: '#/definitions/app.Response'
  24240. security:
  24241. - ApiKeyAuth: []
  24242. - LoginID: []
  24243. - Group: []
  24244. summary: 获取钻石详情
  24245. tags:
  24246. - 广钻
  24247. /Guangzuan/QueryBuyOrder:
  24248. get:
  24249. parameters:
  24250. - description: 页码
  24251. in: query
  24252. name: page
  24253. type: integer
  24254. - description: 每页条数
  24255. in: query
  24256. name: pagesize
  24257. type: integer
  24258. - description: 商品(查询字段-模糊查询)
  24259. in: query
  24260. name: zsallproperties
  24261. type: string
  24262. - description: 钻石分类, 格式:1,2,3
  24263. in: query
  24264. name: zscategorys
  24265. type: string
  24266. - description: 委托单号
  24267. in: query
  24268. name: wrtradeorderid
  24269. type: integer
  24270. - description: 买方(查询字段-模糊查询)
  24271. in: query
  24272. name: buyusername
  24273. type: string
  24274. produces:
  24275. - application/json
  24276. responses:
  24277. "200":
  24278. description: OK
  24279. schema:
  24280. items:
  24281. $ref: '#/definitions/models.BuyOrder'
  24282. type: array
  24283. "500":
  24284. description: Internal Server Error
  24285. schema:
  24286. $ref: '#/definitions/app.Response'
  24287. security:
  24288. - ApiKeyAuth: []
  24289. - LoginID: []
  24290. - Group: []
  24291. summary: 查询求购大厅委托单
  24292. tags:
  24293. - 广钻
  24294. /Guangzuan/QueryDiamond:
  24295. post:
  24296. parameters:
  24297. - description: 钻石搜索入参
  24298. in: body
  24299. name: data
  24300. required: true
  24301. schema:
  24302. $ref: '#/definitions/models.SellOrderQueryReq'
  24303. produces:
  24304. - application/json
  24305. responses:
  24306. "200":
  24307. description: OK
  24308. schema:
  24309. items:
  24310. $ref: '#/definitions/models.SellOrder'
  24311. type: array
  24312. "500":
  24313. description: Internal Server Error
  24314. schema:
  24315. $ref: '#/definitions/app.Response'
  24316. security:
  24317. - ApiKeyAuth: []
  24318. - LoginID: []
  24319. - Group: []
  24320. summary: 钻石搜索
  24321. tags:
  24322. - 广钻
  24323. /Guangzuan/QueryMyBargainApply:
  24324. get:
  24325. parameters:
  24326. - description: 用户ID
  24327. in: query
  24328. name: userid
  24329. required: true
  24330. type: integer
  24331. - description: 页码
  24332. in: query
  24333. name: page
  24334. type: integer
  24335. - description: 每页条数
  24336. in: query
  24337. name: pagesize
  24338. type: integer
  24339. - description: 申请状态(不传查全部) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  24340. in: query
  24341. name: applystatus
  24342. type: integer
  24343. produces:
  24344. - application/json
  24345. responses:
  24346. "200":
  24347. description: OK
  24348. schema:
  24349. items:
  24350. $ref: '#/definitions/models.MyBargainApply'
  24351. type: array
  24352. "500":
  24353. description: Internal Server Error
  24354. schema:
  24355. $ref: '#/definitions/app.Response'
  24356. security:
  24357. - ApiKeyAuth: []
  24358. - LoginID: []
  24359. - Group: []
  24360. summary: 查询我的询价-求购
  24361. tags:
  24362. - 广钻
  24363. /Guangzuan/QueryMyBuyOrder:
  24364. get:
  24365. parameters:
  24366. - description: 用户ID
  24367. in: query
  24368. name: userid
  24369. required: true
  24370. type: integer
  24371. - description: 页码
  24372. in: query
  24373. name: page
  24374. type: integer
  24375. - description: 每页条数
  24376. in: query
  24377. name: pagesize
  24378. type: integer
  24379. - description: 商品(查询字段-模糊查询)
  24380. in: query
  24381. name: zsallproperties
  24382. type: string
  24383. - description: 钻石分类, 格式:1,2,3
  24384. in: query
  24385. name: zscategorys
  24386. type: string
  24387. - description: 委托单号
  24388. in: query
  24389. name: wrtradeorderid
  24390. type: integer
  24391. - description: 是否历史查询
  24392. in: query
  24393. name: ishis
  24394. type: boolean
  24395. - description: 开始交易日(yyyymmdd)
  24396. in: query
  24397. name: begindate
  24398. type: string
  24399. - description: 结束交易日(yyyymmdd)
  24400. in: query
  24401. name: enddate
  24402. type: string
  24403. produces:
  24404. - application/json
  24405. responses:
  24406. "200":
  24407. description: OK
  24408. schema:
  24409. items:
  24410. $ref: '#/definitions/models.MyBuyOrder'
  24411. type: array
  24412. "500":
  24413. description: Internal Server Error
  24414. schema:
  24415. $ref: '#/definitions/app.Response'
  24416. security:
  24417. - ApiKeyAuth: []
  24418. - LoginID: []
  24419. - Group: []
  24420. summary: 查询我的求购
  24421. tags:
  24422. - 广钻
  24423. /Guangzuan/QueryMyDeListing:
  24424. get:
  24425. parameters:
  24426. - description: 用户ID
  24427. in: query
  24428. name: userid
  24429. required: true
  24430. type: integer
  24431. - description: 页码
  24432. in: query
  24433. name: page
  24434. type: integer
  24435. - description: 每页条数
  24436. in: query
  24437. name: pagesize
  24438. type: integer
  24439. - description: 商品(查询字段-模糊查询)
  24440. in: query
  24441. name: zsallproperties
  24442. type: string
  24443. - description: 钻石分类, 格式:1,2,3
  24444. in: query
  24445. name: zscategorys
  24446. type: string
  24447. - description: 成交单号
  24448. in: query
  24449. name: wrtradedetailid
  24450. type: integer
  24451. - description: 方向,0-购买 1-出售
  24452. in: query
  24453. name: buyorsell
  24454. type: integer
  24455. - description: 对手方(模糊匹配)
  24456. in: query
  24457. name: matchusername
  24458. type: string
  24459. - description: 开始交易日(yyyymmdd)
  24460. in: query
  24461. name: begindate
  24462. type: string
  24463. - description: 结束交易日(yyyymmdd)
  24464. in: query
  24465. name: enddate
  24466. type: string
  24467. produces:
  24468. - application/json
  24469. responses:
  24470. "200":
  24471. description: OK
  24472. schema:
  24473. items:
  24474. $ref: '#/definitions/models.MyDeListing'
  24475. type: array
  24476. "500":
  24477. description: Internal Server Error
  24478. schema:
  24479. $ref: '#/definitions/app.Response'
  24480. security:
  24481. - ApiKeyAuth: []
  24482. - LoginID: []
  24483. - Group: []
  24484. summary: 查询我的摘牌
  24485. tags:
  24486. - 广钻
  24487. /Guangzuan/QueryMyDelistingApply:
  24488. get:
  24489. parameters:
  24490. - description: 用户ID
  24491. in: query
  24492. name: userid
  24493. required: true
  24494. type: integer
  24495. - description: 页码
  24496. in: query
  24497. name: page
  24498. type: integer
  24499. - description: 每页条数
  24500. in: query
  24501. name: pagesize
  24502. type: integer
  24503. - description: 申请状态(不传查全部) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  24504. in: query
  24505. name: applystatus
  24506. type: integer
  24507. produces:
  24508. - application/json
  24509. responses:
  24510. "200":
  24511. description: OK
  24512. schema:
  24513. items:
  24514. $ref: '#/definitions/models.MyDelistingApply'
  24515. type: array
  24516. "500":
  24517. description: Internal Server Error
  24518. schema:
  24519. $ref: '#/definitions/app.Response'
  24520. security:
  24521. - ApiKeyAuth: []
  24522. - LoginID: []
  24523. - Group: []
  24524. summary: 查询我的询价-出售
  24525. tags:
  24526. - 广钻
  24527. /Guangzuan/QueryMyFavorite:
  24528. get:
  24529. parameters:
  24530. - description: 用户ID
  24531. in: query
  24532. name: userid
  24533. required: true
  24534. type: integer
  24535. - description: 页码
  24536. in: query
  24537. name: page
  24538. type: integer
  24539. - description: 每页条数
  24540. in: query
  24541. name: pagesize
  24542. type: integer
  24543. - description: 钻石分类, 格式:1,2,3
  24544. in: query
  24545. name: zscategorys
  24546. type: string
  24547. produces:
  24548. - application/json
  24549. responses:
  24550. "200":
  24551. description: OK
  24552. schema:
  24553. items:
  24554. $ref: '#/definitions/models.MyFavorite'
  24555. type: array
  24556. "500":
  24557. description: Internal Server Error
  24558. schema:
  24559. $ref: '#/definitions/app.Response'
  24560. security:
  24561. - ApiKeyAuth: []
  24562. - LoginID: []
  24563. - Group: []
  24564. summary: 查询我的收藏
  24565. tags:
  24566. - 广钻
  24567. /Guangzuan/QueryMyPerformanc:
  24568. get:
  24569. parameters:
  24570. - description: 用户ID
  24571. in: query
  24572. name: userid
  24573. required: true
  24574. type: integer
  24575. - description: 页码
  24576. in: query
  24577. name: page
  24578. type: integer
  24579. - description: 每页条数
  24580. in: query
  24581. name: pagesize
  24582. type: integer
  24583. - description: 商品(查询字段-模糊查询)
  24584. in: query
  24585. name: zsallproperties
  24586. type: string
  24587. - description: 方向,0-买 1-卖
  24588. in: query
  24589. name: buyorsell
  24590. type: integer
  24591. - description: 是否历史查询
  24592. in: query
  24593. name: ishis
  24594. type: boolean
  24595. - description: 开始交易日(yyyymmdd)
  24596. in: query
  24597. name: begindate
  24598. type: string
  24599. - description: 结束交易日(yyyymmdd)
  24600. in: query
  24601. name: enddate
  24602. type: string
  24603. produces:
  24604. - application/json
  24605. responses:
  24606. "200":
  24607. description: OK
  24608. schema:
  24609. items:
  24610. $ref: '#/definitions/models.MyPerformanc'
  24611. type: array
  24612. "500":
  24613. description: Internal Server Error
  24614. schema:
  24615. $ref: '#/definitions/app.Response'
  24616. security:
  24617. - ApiKeyAuth: []
  24618. - LoginID: []
  24619. - Group: []
  24620. summary: 查询我的履约
  24621. tags:
  24622. - 广钻
  24623. /Guangzuan/QueryMySellOrder:
  24624. get:
  24625. parameters:
  24626. - description: 用户ID
  24627. in: query
  24628. name: userid
  24629. required: true
  24630. type: integer
  24631. - description: 页码
  24632. in: query
  24633. name: page
  24634. type: integer
  24635. - description: 每页条数
  24636. in: query
  24637. name: pagesize
  24638. type: integer
  24639. - description: 商品(查询字段-模糊查询)
  24640. in: query
  24641. name: zsallproperties
  24642. type: string
  24643. - description: 钻石分类, 格式:1,2,3
  24644. in: query
  24645. name: zscategorys
  24646. type: string
  24647. - description: 委托单号
  24648. in: query
  24649. name: wrtradeorderid
  24650. type: integer
  24651. - description: 是否历史查询
  24652. in: query
  24653. name: ishis
  24654. type: boolean
  24655. - description: 开始交易日(yyyymmdd)
  24656. in: query
  24657. name: begindate
  24658. type: string
  24659. - description: 结束交易日(yyyymmdd)
  24660. in: query
  24661. name: enddate
  24662. type: string
  24663. produces:
  24664. - application/json
  24665. responses:
  24666. "200":
  24667. description: OK
  24668. schema:
  24669. items:
  24670. $ref: '#/definitions/models.MySellOrder'
  24671. type: array
  24672. "500":
  24673. description: Internal Server Error
  24674. schema:
  24675. $ref: '#/definitions/app.Response'
  24676. security:
  24677. - ApiKeyAuth: []
  24678. - LoginID: []
  24679. - Group: []
  24680. summary: 查询我的出售
  24681. tags:
  24682. - 广钻
  24683. /Guangzuan/QueryMyWRPosition:
  24684. get:
  24685. parameters:
  24686. - description: 页码
  24687. in: query
  24688. name: page
  24689. type: integer
  24690. - description: 每页条数
  24691. in: query
  24692. name: pagesize
  24693. type: integer
  24694. - description: 登录用户ID
  24695. in: query
  24696. name: wruserid
  24697. required: true
  24698. type: integer
  24699. - description: 商品(查询字段-模糊查询)
  24700. in: query
  24701. name: zsallproperties
  24702. type: string
  24703. - description: 钻石分类, 格式:1,2,3
  24704. in: query
  24705. name: zscategorys
  24706. type: string
  24707. - description: 仓库ID
  24708. in: query
  24709. name: warehouseid
  24710. type: integer
  24711. - description: 是否上架,0-全部 1-是 2-否
  24712. in: query
  24713. name: marketflag
  24714. type: integer
  24715. produces:
  24716. - application/json
  24717. responses:
  24718. "200":
  24719. description: OK
  24720. schema:
  24721. items:
  24722. $ref: '#/definitions/models.MyWRPosition'
  24723. type: array
  24724. "500":
  24725. description: Internal Server Error
  24726. schema:
  24727. $ref: '#/definitions/app.Response'
  24728. security:
  24729. - ApiKeyAuth: []
  24730. - LoginID: []
  24731. - Group: []
  24732. summary: 查询我的库存
  24733. tags:
  24734. - 广钻
  24735. /Guangzuan/QuerySellOrder:
  24736. get:
  24737. parameters:
  24738. - description: 页码
  24739. in: query
  24740. name: page
  24741. type: integer
  24742. - description: 每页条数
  24743. in: query
  24744. name: pagesize
  24745. type: integer
  24746. - description: 商品(查询字段-模糊查询)
  24747. in: query
  24748. name: zsallproperties
  24749. type: string
  24750. - description: 钻石分类, 格式:1,2,3
  24751. in: query
  24752. name: zscategorys
  24753. type: string
  24754. - description: 委托单号
  24755. in: query
  24756. name: wrtradeorderid
  24757. type: integer
  24758. - description: 卖方(查询字段-模糊查询)
  24759. in: query
  24760. name: buyusername
  24761. type: string
  24762. produces:
  24763. - application/json
  24764. responses:
  24765. "200":
  24766. description: OK
  24767. schema:
  24768. items:
  24769. $ref: '#/definitions/models.SellOrder'
  24770. type: array
  24771. "500":
  24772. description: Internal Server Error
  24773. schema:
  24774. $ref: '#/definitions/app.Response'
  24775. security:
  24776. - ApiKeyAuth: []
  24777. - LoginID: []
  24778. - Group: []
  24779. summary: 查询出售大厅委托单
  24780. tags:
  24781. - 广钻
  24782. /Guangzuan/QueryWarehouseInfo:
  24783. get:
  24784. parameters:
  24785. - description: 页码
  24786. in: query
  24787. name: page
  24788. type: integer
  24789. - description: 每页条数
  24790. in: query
  24791. name: pagesize
  24792. type: integer
  24793. - description: 用户ID
  24794. in: query
  24795. name: userid
  24796. required: true
  24797. type: integer
  24798. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  24799. in: query
  24800. name: status
  24801. type: string
  24802. - description: 是返回交易所仓库
  24803. in: query
  24804. name: isincludeexchange
  24805. type: boolean
  24806. produces:
  24807. - application/json
  24808. responses:
  24809. "200":
  24810. description: OK
  24811. schema:
  24812. items:
  24813. $ref: '#/definitions/models.GZWarehouseinfo'
  24814. type: array
  24815. "500":
  24816. description: Internal Server Error
  24817. schema:
  24818. $ref: '#/definitions/app.Response'
  24819. security:
  24820. - ApiKeyAuth: []
  24821. - LoginID: []
  24822. - Group: []
  24823. summary: 查询仓库信息
  24824. tags:
  24825. - 广钻
  24826. /Market/GetAllExExchanges:
  24827. get:
  24828. produces:
  24829. - application/json
  24830. responses:
  24831. "200":
  24832. description: OK
  24833. schema:
  24834. $ref: '#/definitions/models.Goods'
  24835. "500":
  24836. description: Internal Server Error
  24837. schema:
  24838. $ref: '#/definitions/app.Response'
  24839. security:
  24840. - ApiKeyAuth: []
  24841. summary: 获取所有外部交易所信息
  24842. tags:
  24843. - 通用市场
  24844. /Market/QueryGoodsesByLoginID:
  24845. get:
  24846. parameters:
  24847. - description: 登录账号
  24848. in: query
  24849. name: loginID
  24850. required: true
  24851. type: integer
  24852. - description: 市场ID列表,格式:1,2,3
  24853. in: query
  24854. name: marketIDs
  24855. type: string
  24856. produces:
  24857. - application/json
  24858. responses:
  24859. "200":
  24860. description: OK
  24861. schema:
  24862. $ref: '#/definitions/models.Goods'
  24863. "500":
  24864. description: Internal Server Error
  24865. schema:
  24866. $ref: '#/definitions/app.Response'
  24867. security:
  24868. - ApiKeyAuth: []
  24869. summary: 获取登录账号有权限的商品信息
  24870. tags:
  24871. - 通用市场
  24872. /Market/QueryMarketRun:
  24873. get:
  24874. parameters:
  24875. - description: 市场ID,不传返回所有
  24876. in: query
  24877. name: marketID
  24878. type: integer
  24879. produces:
  24880. - application/json
  24881. responses:
  24882. "200":
  24883. description: OK
  24884. schema:
  24885. $ref: '#/definitions/models.Marketrun'
  24886. "500":
  24887. description: Internal Server Error
  24888. schema:
  24889. $ref: '#/definitions/app.Response'
  24890. security:
  24891. - ApiKeyAuth: []
  24892. summary: 查询市场运行信息
  24893. tags:
  24894. - 通用市场
  24895. /Market/QueryMarketsByLoginID:
  24896. get:
  24897. parameters:
  24898. - description: 登录账号
  24899. in: query
  24900. name: loginID
  24901. required: true
  24902. type: integer
  24903. produces:
  24904. - application/json
  24905. responses:
  24906. "200":
  24907. description: OK
  24908. schema:
  24909. $ref: '#/definitions/models.Market'
  24910. "500":
  24911. description: Internal Server Error
  24912. schema:
  24913. $ref: '#/definitions/app.Response'
  24914. security:
  24915. - ApiKeyAuth: []
  24916. summary: 获取登录账号有权限的市场信息
  24917. tags:
  24918. - 通用市场
  24919. /Order/QueryHisTradeDetail:
  24920. get:
  24921. parameters:
  24922. - description: 资金账户 - 格式:1,2,3
  24923. in: query
  24924. name: accountID
  24925. required: true
  24926. type: string
  24927. - description: 成交单号
  24928. in: query
  24929. name: tradeID
  24930. type: integer
  24931. - description: 委托单号
  24932. in: query
  24933. name: orderID
  24934. type: integer
  24935. - description: 商品ID
  24936. in: query
  24937. name: goodsID
  24938. type: integer
  24939. - description: 交易模式 - 格式:1,2,3
  24940. in: query
  24941. name: tradeMode
  24942. type: string
  24943. - description: 委托单据类型
  24944. in: query
  24945. name: buildType
  24946. type: integer
  24947. - description: 成交类别 - 格式:1,2,3
  24948. in: query
  24949. name: tradeType
  24950. type: string
  24951. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  24952. in: query
  24953. name: startDate
  24954. type: string
  24955. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  24956. in: query
  24957. name: endDate
  24958. type: string
  24959. produces:
  24960. - application/json
  24961. responses:
  24962. "200":
  24963. description: OK
  24964. schema:
  24965. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  24966. "500":
  24967. description: Internal Server Error
  24968. schema:
  24969. $ref: '#/definitions/app.Response'
  24970. security:
  24971. - ApiKeyAuth: []
  24972. summary: 历史成交单查询(合约市场)
  24973. tags:
  24974. - 通用单据
  24975. /Order/QueryHisTradeOrderDetail:
  24976. get:
  24977. parameters:
  24978. - description: 资金账户 - 格式:1,2,3
  24979. in: query
  24980. name: accountID
  24981. required: true
  24982. type: string
  24983. - description: 交易模式 - 格式:1,2,3
  24984. in: query
  24985. name: tradeMode
  24986. type: string
  24987. - description: 委托状态 - 格式:1,2,3
  24988. in: query
  24989. name: orderStatus
  24990. type: string
  24991. - description: 委托单号
  24992. in: query
  24993. name: orderID
  24994. type: integer
  24995. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  24996. in: query
  24997. name: startDate
  24998. type: string
  24999. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  25000. in: query
  25001. name: endDate
  25002. type: string
  25003. produces:
  25004. - application/json
  25005. responses:
  25006. "200":
  25007. description: OK
  25008. schema:
  25009. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  25010. "500":
  25011. description: Internal Server Error
  25012. schema:
  25013. $ref: '#/definitions/app.Response'
  25014. security:
  25015. - ApiKeyAuth: []
  25016. summary: 历史委托单查询请求(合约市场)
  25017. tags:
  25018. - 通用单据
  25019. /Order/QueryTradeDetail:
  25020. get:
  25021. parameters:
  25022. - description: 资金账户 - 格式:1,2,3
  25023. in: query
  25024. name: accountID
  25025. required: true
  25026. type: string
  25027. - description: 成交单号
  25028. in: query
  25029. name: tradeID
  25030. type: integer
  25031. - description: 委托单号
  25032. in: query
  25033. name: orderID
  25034. type: integer
  25035. - description: 交易模式 - 格式:1,2,3
  25036. in: query
  25037. name: tradeMode
  25038. type: string
  25039. - description: 委托单据类型
  25040. in: query
  25041. name: buildType
  25042. type: integer
  25043. - description: 成交类别 - 格式:1,2,3
  25044. in: query
  25045. name: tradeType
  25046. type: string
  25047. - description: 商品ID
  25048. in: query
  25049. name: goodsID
  25050. type: integer
  25051. produces:
  25052. - application/json
  25053. responses:
  25054. "200":
  25055. description: OK
  25056. schema:
  25057. $ref: '#/definitions/order.QueryTradeDetailRsp'
  25058. "500":
  25059. description: Internal Server Error
  25060. schema:
  25061. $ref: '#/definitions/app.Response'
  25062. security:
  25063. - ApiKeyAuth: []
  25064. summary: 成交单查询(合约市场)
  25065. tags:
  25066. - 通用单据
  25067. /Order/QueryTradeHolderDetail:
  25068. get:
  25069. parameters:
  25070. - description: 用户id
  25071. in: query
  25072. name: userid
  25073. type: integer
  25074. - description: 资金账号, 格式 1,2,3
  25075. in: query
  25076. name: accids
  25077. type: string
  25078. - description: 交易模式, 格式 1,2,3
  25079. in: query
  25080. name: trademodes
  25081. type: string
  25082. - description: 市场id, 格式 1,2,3
  25083. in: query
  25084. name: marketids
  25085. type: string
  25086. - description: 商品id
  25087. in: query
  25088. name: goodsid
  25089. type: integer
  25090. - description: 买卖方向 0-买 1-卖
  25091. in: query
  25092. name: buyorsell
  25093. type: integer
  25094. produces:
  25095. - application/json
  25096. responses:
  25097. "200":
  25098. description: OK
  25099. schema:
  25100. items:
  25101. $ref: '#/definitions/models.TradeHolderDetail'
  25102. type: array
  25103. "500":
  25104. description: Internal Server Error
  25105. schema:
  25106. $ref: '#/definitions/app.Response'
  25107. security:
  25108. - ApiKeyAuth: []
  25109. summary: 查询持仓明细
  25110. tags:
  25111. - 通用单据
  25112. /Order/QueryTradeOrderDetail:
  25113. get:
  25114. parameters:
  25115. - description: 资金账户 - 格式:1,2,3
  25116. in: query
  25117. name: accountID
  25118. required: true
  25119. type: string
  25120. - description: 交易模式 - 格式:1,2,3
  25121. in: query
  25122. name: tradeMode
  25123. type: string
  25124. - description: 委托状态 - 格式:1,2,3
  25125. in: query
  25126. name: orderStatus
  25127. type: string
  25128. - description: 委托单号
  25129. in: query
  25130. name: orderID
  25131. type: integer
  25132. produces:
  25133. - application/json
  25134. responses:
  25135. "200":
  25136. description: OK
  25137. schema:
  25138. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  25139. "500":
  25140. description: Internal Server Error
  25141. schema:
  25142. $ref: '#/definitions/app.Response'
  25143. security:
  25144. - ApiKeyAuth: []
  25145. summary: 委托单查询请求(合约市场)
  25146. tags:
  25147. - 通用单据
  25148. /Order/QueryTradePosition:
  25149. get:
  25150. parameters:
  25151. - description: 资金账户 - 格式:1,2,3
  25152. in: query
  25153. name: accountID
  25154. required: true
  25155. type: string
  25156. - description: 交易模式 - 格式:1,2,3
  25157. in: query
  25158. name: tradeMode
  25159. type: string
  25160. produces:
  25161. - application/json
  25162. responses:
  25163. "200":
  25164. description: OK
  25165. schema:
  25166. $ref: '#/definitions/order.QueryTradePositionRsp'
  25167. "500":
  25168. description: Internal Server Error
  25169. schema:
  25170. $ref: '#/definitions/app.Response'
  25171. security:
  25172. - ApiKeyAuth: []
  25173. summary: 持仓汇总查询(合约市场)
  25174. tags:
  25175. - 通用单据
  25176. /Quote/QueryHistoryDatas:
  25177. get:
  25178. parameters:
  25179. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  25180. 日线 12:周线 13:月线 14:年线'
  25181. in: query
  25182. name: cycleType
  25183. required: true
  25184. type: integer
  25185. - description: 商品代码
  25186. in: query
  25187. name: goodsCode
  25188. required: true
  25189. type: string
  25190. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  25191. in: query
  25192. name: startTime
  25193. type: string
  25194. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  25195. in: query
  25196. name: endTime
  25197. type: string
  25198. - description: 条数
  25199. in: query
  25200. name: count
  25201. type: integer
  25202. - description: 是否按时间顺序排序(默认为时间倒序排序)
  25203. in: query
  25204. name: isAsc
  25205. type: boolean
  25206. produces:
  25207. - application/json
  25208. responses:
  25209. "200":
  25210. description: OK
  25211. schema:
  25212. $ref: '#/definitions/quote.HistoryData'
  25213. "500":
  25214. description: Internal Server Error
  25215. schema:
  25216. $ref: '#/definitions/app.Response'
  25217. security:
  25218. - ApiKeyAuth: []
  25219. summary: 查询行情历史数据
  25220. tags:
  25221. - 行情服务
  25222. /Quote/QueryHistoryTikDatas:
  25223. get:
  25224. parameters:
  25225. - description: 商品代码
  25226. in: query
  25227. name: goodsCode
  25228. required: true
  25229. type: string
  25230. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  25231. in: query
  25232. name: startTime
  25233. type: string
  25234. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  25235. in: query
  25236. name: endTime
  25237. type: string
  25238. - description: 条数
  25239. in: query
  25240. name: count
  25241. type: integer
  25242. - description: 是否按时间顺序排序(默认为时间倒序排序)
  25243. in: query
  25244. name: isAsc
  25245. type: boolean
  25246. produces:
  25247. - application/json
  25248. responses:
  25249. "200":
  25250. description: OK
  25251. schema:
  25252. $ref: '#/definitions/quote.HistoryTikData'
  25253. "500":
  25254. description: Internal Server Error
  25255. schema:
  25256. $ref: '#/definitions/app.Response'
  25257. security:
  25258. - ApiKeyAuth: []
  25259. summary: 查询行情Tik数据
  25260. tags:
  25261. - 行情服务
  25262. /Quote/QueryQuoteDay:
  25263. get:
  25264. parameters:
  25265. - description: 此参数不填则查所有;商品代码列表,格式:CU2102,CU2103,AL2107
  25266. in: query
  25267. name: goodsCodes
  25268. type: string
  25269. produces:
  25270. - application/json
  25271. responses:
  25272. "200":
  25273. description: OK
  25274. schema:
  25275. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  25276. "500":
  25277. description: Internal Server Error
  25278. schema:
  25279. $ref: '#/definitions/app.Response'
  25280. security:
  25281. - ApiKeyAuth: []
  25282. summary: 获取商品盘面信息
  25283. tags:
  25284. - 行情服务
  25285. /Quote/QueryTSData:
  25286. get:
  25287. parameters:
  25288. - description: 商品代码
  25289. in: query
  25290. name: goodsCode
  25291. required: true
  25292. type: string
  25293. produces:
  25294. - application/json
  25295. responses:
  25296. "200":
  25297. description: OK
  25298. schema:
  25299. $ref: '#/definitions/quote.QueryTSDataRsp'
  25300. "500":
  25301. description: Internal Server Error
  25302. schema:
  25303. $ref: '#/definitions/app.Response'
  25304. security:
  25305. - ApiKeyAuth: []
  25306. summary: 分时图数据查询
  25307. tags:
  25308. - 行情服务
  25309. /SZDZ/QueryConvertConfig:
  25310. get:
  25311. parameters:
  25312. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  25313. 6:交易转花生米(不设置)
  25314. in: query
  25315. name: convertType
  25316. type: integer
  25317. - description: 外部商品代码[JD\PD]
  25318. in: query
  25319. name: outerGoodsCode
  25320. type: string
  25321. - description: 内部商品ID列表[交易],格式:1,2,3
  25322. in: query
  25323. name: innerGoodsIDs
  25324. type: string
  25325. produces:
  25326. - application/json
  25327. responses:
  25328. "200":
  25329. description: OK
  25330. schema:
  25331. $ref: '#/definitions/models.Szdz3convertconfig'
  25332. "500":
  25333. description: Internal Server Error
  25334. schema:
  25335. $ref: '#/definitions/app.Response'
  25336. security:
  25337. - ApiKeyAuth: []
  25338. summary: 查询交易系统转换设置
  25339. tags:
  25340. - 定制【尚志大宗】
  25341. /SZDZ/QueryConvertLog:
  25342. get:
  25343. parameters:
  25344. - description: 资金账户 - 格式:1,2,3
  25345. in: query
  25346. name: accountID
  25347. required: true
  25348. type: string
  25349. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  25350. in: query
  25351. name: startDate
  25352. type: string
  25353. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  25354. in: query
  25355. name: endDate
  25356. type: string
  25357. produces:
  25358. - application/json
  25359. responses:
  25360. "200":
  25361. description: OK
  25362. schema:
  25363. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  25364. "500":
  25365. description: Internal Server Error
  25366. schema:
  25367. $ref: '#/definitions/app.Response'
  25368. security:
  25369. - ApiKeyAuth: []
  25370. summary: 交易系统转换流水查询
  25371. tags:
  25372. - 定制【尚志大宗】
  25373. /SZDZ/QueryGoodsPickup:
  25374. get:
  25375. parameters:
  25376. - description: 资金账户 - 格式:1,2,3
  25377. in: query
  25378. name: accountID
  25379. required: true
  25380. type: string
  25381. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  25382. in: query
  25383. name: takeOrderStatus
  25384. type: integer
  25385. produces:
  25386. - application/json
  25387. responses:
  25388. "200":
  25389. description: OK
  25390. schema:
  25391. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  25392. "500":
  25393. description: Internal Server Error
  25394. schema:
  25395. $ref: '#/definitions/app.Response'
  25396. security:
  25397. - ApiKeyAuth: []
  25398. summary: 商品提货单查询
  25399. tags:
  25400. - 定制【尚志大宗】
  25401. /SZDZ/QueryRecieptOrder:
  25402. get:
  25403. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  25404. parameters:
  25405. - description: 页码
  25406. in: query
  25407. name: page
  25408. type: integer
  25409. - description: 每页条数
  25410. in: query
  25411. name: pagesize
  25412. type: integer
  25413. - description: 商品ID
  25414. in: query
  25415. name: goodsID
  25416. required: true
  25417. type: integer
  25418. - description: 所属账户名称
  25419. in: query
  25420. name: accountName
  25421. type: string
  25422. - description: 市场ID
  25423. in: query
  25424. name: marketID
  25425. type: integer
  25426. - description: 方向 - 0:买 1:卖
  25427. in: query
  25428. name: buyorsell
  25429. required: true
  25430. type: integer
  25431. produces:
  25432. - application/json
  25433. responses:
  25434. "200":
  25435. description: OK
  25436. schema:
  25437. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  25438. "500":
  25439. description: Internal Server Error
  25440. schema:
  25441. $ref: '#/definitions/app.Response'
  25442. security:
  25443. - ApiKeyAuth: []
  25444. summary: 点选挂牌委托单据查询(摘牌大厅)
  25445. tags:
  25446. - 定制【尚志大宗】
  25447. /SZDZ/QuerySZDZTradePosition:
  25448. get:
  25449. parameters:
  25450. - description: 资金账户
  25451. in: query
  25452. name: accountID
  25453. required: true
  25454. type: integer
  25455. produces:
  25456. - application/json
  25457. responses:
  25458. "200":
  25459. description: OK
  25460. schema:
  25461. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  25462. "500":
  25463. description: Internal Server Error
  25464. schema:
  25465. $ref: '#/definitions/app.Response'
  25466. security:
  25467. - ApiKeyAuth: []
  25468. summary: 持仓汇总查询(尚志大宗)
  25469. tags:
  25470. - 定制【尚志大宗】
  25471. /SZDZ/SearchWhite:
  25472. get:
  25473. parameters:
  25474. - description: 用户ID
  25475. in: query
  25476. name: userID
  25477. required: true
  25478. type: integer
  25479. produces:
  25480. - application/json
  25481. responses:
  25482. "200":
  25483. description: OK
  25484. schema:
  25485. $ref: '#/definitions/models.Szdz3searchwhitelist'
  25486. "500":
  25487. description: Internal Server Error
  25488. schema:
  25489. $ref: '#/definitions/app.Response'
  25490. security:
  25491. - ApiKeyAuth: []
  25492. summary: 搜索白名单
  25493. tags:
  25494. - 定制【尚志大宗】
  25495. /Search/SearchGoodses:
  25496. get:
  25497. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  25498. parameters:
  25499. - description: 检索内容
  25500. in: query
  25501. name: content
  25502. required: true
  25503. type: string
  25504. - description: 交易模式,格式:1,2,3
  25505. in: query
  25506. name: tradeModes
  25507. type: string
  25508. produces:
  25509. - application/json
  25510. responses:
  25511. "200":
  25512. description: OK
  25513. schema:
  25514. $ref: '#/definitions/models.SearchGoods'
  25515. "500":
  25516. description: Internal Server Error
  25517. schema:
  25518. $ref: '#/definitions/app.Response'
  25519. summary: 检索商品信息
  25520. tags:
  25521. - 检索服务
  25522. /TaAccount/GetTaAccounts:
  25523. get:
  25524. parameters:
  25525. - description: 登录账户
  25526. in: query
  25527. name: loginID
  25528. required: true
  25529. type: integer
  25530. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  25531. in: query
  25532. name: taAccountType
  25533. type: integer
  25534. produces:
  25535. - application/json
  25536. responses:
  25537. "200":
  25538. description: OK
  25539. schema:
  25540. $ref: '#/definitions/models.Taaccount'
  25541. "500":
  25542. description: Internal Server Error
  25543. schema:
  25544. $ref: '#/definitions/app.Response'
  25545. security:
  25546. - ApiKeyAuth: []
  25547. summary: 获取资金账户信息
  25548. tags:
  25549. - 资金账户
  25550. /TaAccount/QueryAmountLog:
  25551. get:
  25552. parameters:
  25553. - description: 页码
  25554. in: query
  25555. name: page
  25556. type: integer
  25557. - description: 每页条数
  25558. in: query
  25559. name: pagesize
  25560. type: integer
  25561. - description: 资金账户 - 格式:1,2,3
  25562. in: query
  25563. name: accountID
  25564. required: true
  25565. type: string
  25566. - description: 资金操作类型 - 格式:1,2,3
  25567. in: query
  25568. name: OperateType
  25569. type: string
  25570. produces:
  25571. - application/json
  25572. responses:
  25573. "200":
  25574. description: OK
  25575. schema:
  25576. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  25577. "500":
  25578. description: Internal Server Error
  25579. schema:
  25580. $ref: '#/definitions/app.Response'
  25581. security:
  25582. - ApiKeyAuth: []
  25583. summary: 资金流水查询(当前)
  25584. tags:
  25585. - 资金账户
  25586. /TaAccount/QueryHisAmountLog:
  25587. get:
  25588. parameters:
  25589. - description: 页码
  25590. in: query
  25591. name: page
  25592. type: integer
  25593. - description: 每页条数
  25594. in: query
  25595. name: pagesize
  25596. type: integer
  25597. - description: 资金账户 - 格式:1,2,3
  25598. in: query
  25599. name: accountID
  25600. required: true
  25601. type: string
  25602. - description: 资金操作类型 - 格式:1,2,3
  25603. in: query
  25604. name: OperateType
  25605. type: string
  25606. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  25607. in: query
  25608. name: startDate
  25609. type: string
  25610. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  25611. in: query
  25612. name: endDate
  25613. type: string
  25614. produces:
  25615. - application/json
  25616. responses:
  25617. "200":
  25618. description: OK
  25619. schema:
  25620. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  25621. "500":
  25622. description: Internal Server Error
  25623. schema:
  25624. $ref: '#/definitions/app.Response'
  25625. security:
  25626. - ApiKeyAuth: []
  25627. summary: 资金流水查询(历史)
  25628. tags:
  25629. - 资金账户
  25630. /TaAccount/QueryRelatedTaAccount:
  25631. get:
  25632. parameters:
  25633. - description: 关联UserID
  25634. in: query
  25635. name: relateduserid
  25636. required: true
  25637. type: integer
  25638. produces:
  25639. - application/json
  25640. responses:
  25641. "200":
  25642. description: OK
  25643. schema:
  25644. items:
  25645. $ref: '#/definitions/models.RelatedTaAccount'
  25646. type: array
  25647. "500":
  25648. description: Internal Server Error
  25649. schema:
  25650. $ref: '#/definitions/app.Response'
  25651. security:
  25652. - ApiKeyAuth: []
  25653. summary: 查询关联资金账户信息
  25654. tags:
  25655. - 资金账户
  25656. /Tjmd/QueryQuoteGoodsList:
  25657. get:
  25658. description: 用户类型必传, 查掉期报价列表 marketids=掉期市场id
  25659. parameters:
  25660. - description: 用户类型
  25661. in: query
  25662. name: usertype
  25663. required: true
  25664. type: integer
  25665. - description: 市场id, 格式 1,2,3
  25666. in: query
  25667. name: marketids
  25668. type: string
  25669. - description: 商品组id
  25670. in: query
  25671. name: goodsgroupid
  25672. type: integer
  25673. - description: 商品id
  25674. in: query
  25675. name: goodsid
  25676. type: integer
  25677. produces:
  25678. - application/json
  25679. responses:
  25680. "200":
  25681. description: OK
  25682. schema:
  25683. items:
  25684. $ref: '#/definitions/models.TjmdQuoteGoods'
  25685. type: array
  25686. "500":
  25687. description: Internal Server Error
  25688. schema:
  25689. $ref: '#/definitions/app.Response'
  25690. security:
  25691. - ApiKeyAuth: []
  25692. summary: 查询掉期报价列表
  25693. tags:
  25694. - 天津麦顿
  25695. /Tjmd/QueryTjmdHolderDetailTradeInfo:
  25696. get:
  25697. parameters:
  25698. - description: 成交单号
  25699. in: query
  25700. name: tradeid
  25701. required: true
  25702. type: string
  25703. produces:
  25704. - application/json
  25705. responses:
  25706. "200":
  25707. description: OK
  25708. schema:
  25709. items:
  25710. $ref: '#/definitions/models.TjmdHolderDetailTradeInfo'
  25711. type: array
  25712. "500":
  25713. description: Internal Server Error
  25714. schema:
  25715. $ref: '#/definitions/app.Response'
  25716. security:
  25717. - ApiKeyAuth: []
  25718. summary: 掉期商品订单详情(交易确认书)
  25719. tags:
  25720. - 天津麦顿
  25721. /Tjmd/QueryTjmdMarketSection:
  25722. get:
  25723. produces:
  25724. - application/json
  25725. responses:
  25726. "200":
  25727. description: OK
  25728. schema:
  25729. items:
  25730. $ref: '#/definitions/models.TjmdMarketSection'
  25731. type: array
  25732. "500":
  25733. description: Internal Server Error
  25734. schema:
  25735. $ref: '#/definitions/app.Response'
  25736. security:
  25737. - ApiKeyAuth: []
  25738. summary: 查询市场板块
  25739. tags:
  25740. - 天津麦顿
  25741. /Tjmd/QueryTjmdTodayAccountMargin:
  25742. get:
  25743. parameters:
  25744. - description: 市场id
  25745. in: query
  25746. name: marketid
  25747. type: string
  25748. - description: 商品id
  25749. in: query
  25750. name: goodsid
  25751. type: string
  25752. - description: 资金账号
  25753. in: query
  25754. name: accountid
  25755. type: string
  25756. produces:
  25757. - application/json
  25758. responses:
  25759. "200":
  25760. description: OK
  25761. schema:
  25762. items:
  25763. $ref: '#/definitions/models.TjmdTodayAccountMargin'
  25764. type: array
  25765. "500":
  25766. description: Internal Server Error
  25767. schema:
  25768. $ref: '#/definitions/app.Response'
  25769. security:
  25770. - ApiKeyAuth: []
  25771. summary: 查询今日账户保证金配置
  25772. tags:
  25773. - 天津麦顿
  25774. /Tjmd/QueryTjmdTradeOrderDetail:
  25775. get:
  25776. description: 用户类型必传, 投资者只能看到自营会员的单, 反之亦然
  25777. parameters:
  25778. - description: 页码
  25779. in: query
  25780. name: page
  25781. type: integer
  25782. - description: 每页条数
  25783. in: query
  25784. name: pagesize
  25785. type: integer
  25786. - description: 用户id
  25787. in: query
  25788. name: userid
  25789. required: true
  25790. type: integer
  25791. - description: 用户类型
  25792. in: query
  25793. name: usertype
  25794. required: true
  25795. type: integer
  25796. - description: 市场id, 格式 1,2,3
  25797. in: query
  25798. name: marketids
  25799. type: string
  25800. - description: 商品id
  25801. in: query
  25802. name: goodsid
  25803. required: true
  25804. type: integer
  25805. - description: 买卖方向 0-买 1-卖
  25806. in: query
  25807. name: buyorsell
  25808. required: true
  25809. type: integer
  25810. produces:
  25811. - application/json
  25812. responses:
  25813. "200":
  25814. description: OK
  25815. schema:
  25816. items:
  25817. $ref: '#/definitions/models.TjmdTradeOrderDetail'
  25818. type: array
  25819. "500":
  25820. description: Internal Server Error
  25821. schema:
  25822. $ref: '#/definitions/app.Response'
  25823. security:
  25824. - ApiKeyAuth: []
  25825. summary: 查询掉期买卖大厅
  25826. tags:
  25827. - 天津麦顿
  25828. /Tjmd/QueryTjmdTransferApply:
  25829. get:
  25830. parameters:
  25831. - description: 类型 1-我的申请 2-对方申请
  25832. in: query
  25833. name: applytype
  25834. required: true
  25835. type: integer
  25836. - description: 市场id, 格式 1,2,3
  25837. in: query
  25838. name: marketids
  25839. type: string
  25840. - description: 资金账号, 格式 25000000001,25000000003
  25841. in: query
  25842. name: accountids
  25843. type: string
  25844. - description: 开始交易日(yyyymmdd)
  25845. in: query
  25846. name: begindate
  25847. type: string
  25848. - description: 结束交易日(yyyymmdd)
  25849. in: query
  25850. name: enddate
  25851. type: string
  25852. produces:
  25853. - application/json
  25854. responses:
  25855. "200":
  25856. description: OK
  25857. schema:
  25858. items:
  25859. $ref: '#/definitions/models.TjmdTransferApply'
  25860. type: array
  25861. "500":
  25862. description: Internal Server Error
  25863. schema:
  25864. $ref: '#/definitions/app.Response'
  25865. security:
  25866. - ApiKeyAuth: []
  25867. summary: 查询掉期协议单
  25868. tags:
  25869. - 天津麦顿
  25870. /Trade/QueryRecieptOrder:
  25871. get:
  25872. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  25873. parameters:
  25874. - description: 页码
  25875. in: query
  25876. name: page
  25877. type: integer
  25878. - description: 每页条数
  25879. in: query
  25880. name: pagesize
  25881. type: integer
  25882. - description: 商品ID
  25883. in: query
  25884. name: goodsID
  25885. required: true
  25886. type: integer
  25887. - description: 所属账户名称
  25888. in: query
  25889. name: accountName
  25890. type: string
  25891. - description: 市场ID
  25892. in: query
  25893. name: marketID
  25894. type: integer
  25895. - description: 方向 - 0:买 1:卖
  25896. in: query
  25897. name: buyorsell
  25898. required: true
  25899. type: integer
  25900. produces:
  25901. - application/json
  25902. responses:
  25903. "200":
  25904. description: OK
  25905. schema:
  25906. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  25907. "500":
  25908. description: Internal Server Error
  25909. schema:
  25910. $ref: '#/definitions/app.Response'
  25911. security:
  25912. - ApiKeyAuth: []
  25913. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  25914. tags:
  25915. - 通用交易
  25916. /User/AddMessageBoard:
  25917. post:
  25918. parameters:
  25919. - description: 用户ID
  25920. in: query
  25921. name: userID
  25922. required: true
  25923. type: integer
  25924. - description: 留言信息
  25925. in: query
  25926. name: message
  25927. required: true
  25928. type: string
  25929. - description: 联系电话
  25930. in: query
  25931. name: contactNum
  25932. required: true
  25933. type: string
  25934. produces:
  25935. - application/json
  25936. responses:
  25937. "200":
  25938. description: OK
  25939. schema:
  25940. $ref: '#/definitions/app.Response'
  25941. "500":
  25942. description: Internal Server Error
  25943. schema:
  25944. $ref: '#/definitions/app.Response'
  25945. security:
  25946. - ApiKeyAuth: []
  25947. summary: 添加用户留言板信息
  25948. tags:
  25949. - 用户信息
  25950. /User/AddUserFavoriteGoods:
  25951. post:
  25952. parameters:
  25953. - description: 用户ID
  25954. in: query
  25955. name: userID
  25956. required: true
  25957. type: integer
  25958. - description: 商品ID
  25959. in: query
  25960. name: goodsID
  25961. required: true
  25962. type: integer
  25963. produces:
  25964. - application/json
  25965. responses:
  25966. "200":
  25967. description: OK
  25968. schema:
  25969. $ref: '#/definitions/app.Response'
  25970. "500":
  25971. description: Internal Server Error
  25972. schema:
  25973. $ref: '#/definitions/app.Response'
  25974. security:
  25975. - ApiKeyAuth: []
  25976. summary: 添加用户商品收藏信息
  25977. tags:
  25978. - 用户信息
  25979. /User/GetLoginID:
  25980. get:
  25981. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  25982. parameters:
  25983. - description: 登录代码
  25984. in: query
  25985. name: username
  25986. required: true
  25987. type: string
  25988. produces:
  25989. - application/json
  25990. responses:
  25991. "200":
  25992. description: OK
  25993. schema:
  25994. $ref: '#/definitions/app.Response'
  25995. "500":
  25996. description: Internal Server Error
  25997. schema:
  25998. $ref: '#/definitions/app.Response'
  25999. summary: 获取登录ID
  26000. tags:
  26001. - 用户信息
  26002. /User/GetUserAccount:
  26003. get:
  26004. parameters:
  26005. - description: 用户ID
  26006. in: query
  26007. name: userID
  26008. required: true
  26009. type: integer
  26010. produces:
  26011. - application/json
  26012. responses:
  26013. "200":
  26014. description: OK
  26015. schema:
  26016. $ref: '#/definitions/models.Useraccount'
  26017. "500":
  26018. description: Internal Server Error
  26019. schema:
  26020. $ref: '#/definitions/app.Response'
  26021. security:
  26022. - ApiKeyAuth: []
  26023. summary: 获取用户账号信息
  26024. tags:
  26025. - 用户信息
  26026. /User/GetUserAuthStatus:
  26027. get:
  26028. parameters:
  26029. - description: 用户ID
  26030. in: query
  26031. name: userID
  26032. required: true
  26033. type: integer
  26034. produces:
  26035. - application/json
  26036. responses:
  26037. "200":
  26038. description: OK
  26039. schema:
  26040. $ref: '#/definitions/app.Response'
  26041. "500":
  26042. description: Internal Server Error
  26043. schema:
  26044. $ref: '#/definitions/app.Response'
  26045. security:
  26046. - ApiKeyAuth: []
  26047. summary: 获取用户实名认证状态
  26048. tags:
  26049. - 用户信息
  26050. /User/LoginQuery:
  26051. get:
  26052. parameters:
  26053. - description: 登录账号
  26054. in: query
  26055. name: loginID
  26056. required: true
  26057. type: integer
  26058. produces:
  26059. - application/json
  26060. responses:
  26061. "200":
  26062. description: OK
  26063. schema:
  26064. $ref: '#/definitions/user.LoginQueryRsp'
  26065. "500":
  26066. description: Internal Server Error
  26067. schema:
  26068. $ref: '#/definitions/app.Response'
  26069. security:
  26070. - ApiKeyAuth: []
  26071. summary: 账户登录后信息查询
  26072. tags:
  26073. - 用户信息
  26074. /User/QueryMessageBoard:
  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.Messageboard'
  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/QueryUserFavoriteGoodses:
  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/models.Userfavoritegoods'
  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/QueryUserInfo:
  26123. get:
  26124. parameters:
  26125. - description: 用户ID
  26126. in: query
  26127. name: userID
  26128. required: true
  26129. type: integer
  26130. - description: 是否解密
  26131. in: query
  26132. name: isDecrypt
  26133. type: boolean
  26134. produces:
  26135. - application/json
  26136. responses:
  26137. "200":
  26138. description: OK
  26139. schema:
  26140. $ref: '#/definitions/models.Userinfo'
  26141. "500":
  26142. description: Internal Server Error
  26143. schema:
  26144. $ref: '#/definitions/app.Response'
  26145. security:
  26146. - ApiKeyAuth: []
  26147. summary: 获取用户信息
  26148. tags:
  26149. - 用户信息
  26150. /User/QueryUserReferNum:
  26151. get:
  26152. parameters:
  26153. - description: 用户ID
  26154. in: query
  26155. name: userID
  26156. required: true
  26157. type: integer
  26158. produces:
  26159. - application/json
  26160. responses:
  26161. "200":
  26162. description: OK
  26163. schema:
  26164. $ref: '#/definitions/app.Response'
  26165. "500":
  26166. description: Internal Server Error
  26167. schema:
  26168. $ref: '#/definitions/app.Response'
  26169. summary: 获取用户邀请码
  26170. tags:
  26171. - 用户信息
  26172. /User/RemoveUserFavoriteGoods:
  26173. post:
  26174. parameters:
  26175. - description: 用户ID
  26176. in: query
  26177. name: userID
  26178. required: true
  26179. type: integer
  26180. - description: 商品ID
  26181. in: query
  26182. name: goodsID
  26183. required: true
  26184. type: integer
  26185. produces:
  26186. - application/json
  26187. responses:
  26188. "200":
  26189. description: OK
  26190. schema:
  26191. $ref: '#/definitions/app.Response'
  26192. "500":
  26193. description: Internal Server Error
  26194. schema:
  26195. $ref: '#/definitions/app.Response'
  26196. security:
  26197. - ApiKeyAuth: []
  26198. summary: 移除用户商品收藏信息
  26199. tags:
  26200. - 用户信息
  26201. /User/UpdateUserAccountStatus:
  26202. post:
  26203. parameters:
  26204. - description: 用户ID
  26205. in: query
  26206. name: userID
  26207. required: true
  26208. type: integer
  26209. - description: 账户状态 - 4:正常 6:注销(停用)
  26210. in: query
  26211. name: accountStatus
  26212. required: true
  26213. type: integer
  26214. produces:
  26215. - application/json
  26216. responses:
  26217. "200":
  26218. description: OK
  26219. schema:
  26220. $ref: '#/definitions/app.Response'
  26221. "500":
  26222. description: Internal Server Error
  26223. schema:
  26224. $ref: '#/definitions/app.Response'
  26225. security:
  26226. - ApiKeyAuth: []
  26227. summary: 更新用户状态
  26228. tags:
  26229. - 用户信息
  26230. /WRTrade/GetAllDeliveryGoods:
  26231. get:
  26232. produces:
  26233. - application/json
  26234. responses:
  26235. "200":
  26236. description: OK
  26237. schema:
  26238. $ref: '#/definitions/app.Response'
  26239. "500":
  26240. description: Internal Server Error
  26241. schema:
  26242. $ref: '#/definitions/app.Response'
  26243. security:
  26244. - ApiKeyAuth: []
  26245. summary: 获取带仓单分类的种类信息
  26246. tags:
  26247. - 仓单贸易
  26248. - 仓单贸易
  26249. /WrTrade2/InsertXhcpSellBackApply:
  26250. post:
  26251. parameters:
  26252. - description: 回收申请
  26253. in: body
  26254. name: jsonBody
  26255. required: true
  26256. schema:
  26257. $ref: '#/definitions/models.XhcpSellBackApplyEx'
  26258. produces:
  26259. - application/json
  26260. responses:
  26261. "200":
  26262. description: OK
  26263. schema:
  26264. $ref: '#/definitions/app.Response'
  26265. "500":
  26266. description: Internal Server Error
  26267. schema:
  26268. $ref: '#/definitions/app.Response'
  26269. security:
  26270. - ApiKeyAuth: []
  26271. summary: 新增回收申请(新会陈皮)
  26272. tags:
  26273. - 仓单贸易v2
  26274. /WrTrade2/QueryDeliveryGoodsSection:
  26275. get:
  26276. produces:
  26277. - application/json
  26278. responses:
  26279. "200":
  26280. description: OK
  26281. schema:
  26282. items:
  26283. $ref: '#/definitions/models.WrDeliveryGoodsSection'
  26284. type: array
  26285. "500":
  26286. description: Internal Server Error
  26287. schema:
  26288. $ref: '#/definitions/app.Response'
  26289. security:
  26290. - ApiKeyAuth: []
  26291. summary: 查询板块(分类)
  26292. tags:
  26293. - 仓单贸易v2
  26294. /WrTrade2/QueryFaProductDetail:
  26295. get:
  26296. description: 页面 买卖大厅 -> 选择融资方案
  26297. parameters:
  26298. - description: 仓单要素id
  26299. in: query
  26300. name: wrfactortypeid
  26301. required: true
  26302. type: integer
  26303. produces:
  26304. - application/json
  26305. responses:
  26306. "200":
  26307. description: OK
  26308. schema:
  26309. items:
  26310. $ref: '#/definitions/models.WrFAProductDetail'
  26311. type: array
  26312. "500":
  26313. description: Internal Server Error
  26314. schema:
  26315. $ref: '#/definitions/app.Response'
  26316. security:
  26317. - ApiKeyAuth: []
  26318. summary: 查询融资产品列表
  26319. tags:
  26320. - 仓单贸易v2
  26321. /WrTrade2/QueryFilterItem:
  26322. get:
  26323. parameters:
  26324. - description: 类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库
  26325. in: query
  26326. name: itype
  26327. required: true
  26328. type: string
  26329. produces:
  26330. - application/json
  26331. responses:
  26332. "200":
  26333. description: OK
  26334. schema:
  26335. items:
  26336. $ref: '#/definitions/models.WrFilterItem'
  26337. type: array
  26338. "500":
  26339. description: Internal Server Error
  26340. schema:
  26341. $ref: '#/definitions/app.Response'
  26342. security:
  26343. - ApiKeyAuth: []
  26344. summary: 查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)
  26345. tags:
  26346. - 仓单贸易v2
  26347. /WrTrade2/QueryFtDeliveryGoods:
  26348. get:
  26349. produces:
  26350. - application/json
  26351. responses:
  26352. "200":
  26353. description: OK
  26354. schema:
  26355. items:
  26356. $ref: '#/definitions/models.WrFtDeliveryGoods'
  26357. type: array
  26358. "500":
  26359. description: Internal Server Error
  26360. schema:
  26361. $ref: '#/definitions/app.Response'
  26362. security:
  26363. - ApiKeyAuth: []
  26364. summary: 查询品种品类筛选框列表
  26365. tags:
  26366. - 仓单贸易v2
  26367. /WrTrade2/QueryHoldLB:
  26368. get:
  26369. description: 页面 现货仓单->现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。
  26370. parameters:
  26371. - description: 资金账号
  26372. in: query
  26373. name: accountid
  26374. required: true
  26375. type: integer
  26376. - description: 仓库id
  26377. in: query
  26378. name: warehouseid
  26379. type: integer
  26380. - description: 品种id
  26381. in: query
  26382. name: deliverygoodsid
  26383. type: integer
  26384. - description: 品类id
  26385. in: query
  26386. name: wrstandardid
  26387. type: integer
  26388. - description: 仓单要素id
  26389. in: query
  26390. name: wrfactortypeid
  26391. type: integer
  26392. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  26393. in: query
  26394. name: dgitemname
  26395. type: string
  26396. produces:
  26397. - application/json
  26398. responses:
  26399. "200":
  26400. description: OK
  26401. schema:
  26402. items:
  26403. $ref: '#/definitions/models.WrHoldLB'
  26404. type: array
  26405. "500":
  26406. description: Internal Server Error
  26407. schema:
  26408. $ref: '#/definitions/app.Response'
  26409. security:
  26410. - ApiKeyAuth: []
  26411. summary: 查询仓单持有记录
  26412. tags:
  26413. - 仓单贸易v2
  26414. /WrTrade2/QueryOrderQuote:
  26415. get:
  26416. description: 仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth
  26417. 唯一确定1条记录
  26418. parameters:
  26419. - description: 页码
  26420. in: query
  26421. name: page
  26422. type: integer
  26423. - description: 每页条数
  26424. in: query
  26425. name: pagesize
  26426. type: integer
  26427. - description: 仓单贸易市场id
  26428. in: query
  26429. name: marketid
  26430. type: integer
  26431. - description: 价格方式 - 1:固定价 2-浮动价
  26432. in: query
  26433. name: wrpricetype
  26434. required: true
  26435. type: integer
  26436. - description: 0:仓单预售 1:仓单贸易
  26437. in: query
  26438. name: haswr
  26439. type: integer
  26440. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  26441. in: query
  26442. name: dgitemname
  26443. type: string
  26444. - description: 仓库id(筛选条件)
  26445. in: query
  26446. name: warehouseid
  26447. type: integer
  26448. - description: 品种id
  26449. in: query
  26450. name: deliverygoodsid
  26451. type: integer
  26452. - description: 品类id
  26453. in: query
  26454. name: wrstandardid
  26455. type: integer
  26456. - description: 品牌id(dgfactoryitemid)
  26457. in: query
  26458. name: brandid
  26459. type: integer
  26460. - description: 年份id(dgfactoryitemid)
  26461. in: query
  26462. name: yearsid
  26463. type: integer
  26464. - description: 仓单要素id
  26465. in: query
  26466. name: wrfactortypeid
  26467. type: integer
  26468. - description: 交收月(yyyy-mm) 仓单预售填写
  26469. in: query
  26470. name: deliverymonth
  26471. type: string
  26472. produces:
  26473. - application/json
  26474. responses:
  26475. "200":
  26476. description: OK
  26477. schema:
  26478. items:
  26479. $ref: '#/definitions/models.WrOrderQuote'
  26480. type: array
  26481. "500":
  26482. description: Internal Server Error
  26483. schema:
  26484. $ref: '#/definitions/app.Response'
  26485. security:
  26486. - ApiKeyAuth: []
  26487. summary: 查询大厅行情列表
  26488. tags:
  26489. - 仓单贸易v2
  26490. /WrTrade2/QueryOrderQuoteDetail:
  26491. get:
  26492. parameters:
  26493. - description: 页码
  26494. in: query
  26495. name: page
  26496. type: integer
  26497. - description: 每页条数
  26498. in: query
  26499. name: pagesize
  26500. type: integer
  26501. - description: 仓单贸易市场id
  26502. in: query
  26503. name: marketid
  26504. type: integer
  26505. - description: 价格方式 - 1:固定价 2-浮动价
  26506. in: query
  26507. name: wrpricetype
  26508. required: true
  26509. type: integer
  26510. - description: 0:仓单预售 1:仓单贸易
  26511. in: query
  26512. name: haswr
  26513. type: integer
  26514. - description: 仓单要素id
  26515. in: query
  26516. name: wrfactortypeid
  26517. required: true
  26518. type: integer
  26519. - description: 期货商品id(浮动价方式时填)
  26520. in: query
  26521. name: goodsid
  26522. type: integer
  26523. - description: 买卖方向 0-买 1-卖
  26524. in: query
  26525. name: buyorsell
  26526. required: true
  26527. type: integer
  26528. - description: 交收月(yyyy-mm) 查仓单预售的买卖大厅时填写
  26529. in: query
  26530. name: deliverymonth
  26531. type: string
  26532. produces:
  26533. - application/json
  26534. responses:
  26535. "200":
  26536. description: OK
  26537. schema:
  26538. items:
  26539. $ref: '#/definitions/models.WrOrderQuoteDetail'
  26540. type: array
  26541. "500":
  26542. description: Internal Server Error
  26543. schema:
  26544. $ref: '#/definitions/app.Response'
  26545. security:
  26546. - ApiKeyAuth: []
  26547. summary: 查询买卖大厅
  26548. tags:
  26549. - 仓单贸易v2
  26550. /WrTrade2/QueryOrderQuoteMyq:
  26551. get:
  26552. parameters:
  26553. - description: 页码
  26554. in: query
  26555. name: page
  26556. type: integer
  26557. - description: 每页条数
  26558. in: query
  26559. name: pagesize
  26560. type: integer
  26561. - description: 用户id
  26562. in: query
  26563. name: userid
  26564. required: true
  26565. type: integer
  26566. - description: 仓单贸易市场id
  26567. in: query
  26568. name: marketid
  26569. type: integer
  26570. - description: 0:仓单预售 1:仓单贸易
  26571. in: query
  26572. name: haswr
  26573. type: integer
  26574. - description: 买卖方向 0-买 1-卖
  26575. in: query
  26576. name: buyorsell
  26577. required: true
  26578. type: integer
  26579. - description: 品种id
  26580. in: query
  26581. name: deliverygoodsid
  26582. type: integer
  26583. - description: 品类id
  26584. in: query
  26585. name: wrstandardid
  26586. type: integer
  26587. - description: 交收月(yyyy-mm) 仓单预售填写
  26588. in: query
  26589. name: deliverymonth
  26590. type: string
  26591. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  26592. in: query
  26593. name: dgitemname
  26594. type: string
  26595. produces:
  26596. - application/json
  26597. responses:
  26598. "200":
  26599. description: OK
  26600. schema:
  26601. items:
  26602. $ref: '#/definitions/models.WrQuoteOrderMyq'
  26603. type: array
  26604. "500":
  26605. description: Internal Server Error
  26606. schema:
  26607. $ref: '#/definitions/app.Response'
  26608. security:
  26609. - ApiKeyAuth: []
  26610. summary: 查询贸易圈挂牌大厅
  26611. tags:
  26612. - 仓单贸易v2
  26613. /WrTrade2/QueryPerformancePlan:
  26614. get:
  26615. parameters:
  26616. - description: 用户id
  26617. in: query
  26618. name: userid
  26619. required: true
  26620. type: integer
  26621. - description: 买卖方向 0-买 1-卖
  26622. in: query
  26623. name: buyorsell
  26624. required: true
  26625. type: integer
  26626. - description: 履约状态(可多个,逗号隔开) 1:待激活 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成
  26627. 8:释放冻结失败 9:超时待处理 10:超时关闭
  26628. in: query
  26629. name: status
  26630. type: string
  26631. - description: 开始交易日(yyyymmdd)
  26632. in: query
  26633. name: begindate
  26634. type: string
  26635. - description: 结束交易日(yyyymmdd)
  26636. in: query
  26637. name: enddate
  26638. type: string
  26639. produces:
  26640. - application/json
  26641. responses:
  26642. "200":
  26643. description: OK
  26644. schema:
  26645. items:
  26646. $ref: '#/definitions/models.WrPerformancePlan'
  26647. type: array
  26648. "500":
  26649. description: Internal Server Error
  26650. schema:
  26651. $ref: '#/definitions/app.Response'
  26652. security:
  26653. - ApiKeyAuth: []
  26654. summary: 查询履约信息
  26655. tags:
  26656. - 仓单贸易v2
  26657. /WrTrade2/QueryPermancePlanTmp:
  26658. get:
  26659. description: |-
  26660. 返回指定用户的模板和公共模板(用户id为空)
  26661. 注意:天津麦顿客户 填写marketid参数,其它参数不用填;其它客户不用填marketid字段
  26662. parameters:
  26663. - description: 用户id
  26664. in: query
  26665. name: userid
  26666. type: integer
  26667. - description: 模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  26668. (无仓单) 5:挂牌期权 6:竞拍-降价式
  26669. in: query
  26670. name: tmptype
  26671. type: string
  26672. - description: 是否包含公共模板(用户id为空的) 1-包含
  26673. in: query
  26674. name: includepub
  26675. type: integer
  26676. - description: 市场id(天津麦顿指定此参数,其它不用)
  26677. in: query
  26678. name: marketid
  26679. type: integer
  26680. produces:
  26681. - application/json
  26682. responses:
  26683. "200":
  26684. description: OK
  26685. schema:
  26686. items:
  26687. $ref: '#/definitions/models.WrPerformanceTemplateEx'
  26688. type: array
  26689. "500":
  26690. description: Internal Server Error
  26691. schema:
  26692. $ref: '#/definitions/app.Response'
  26693. security:
  26694. - ApiKeyAuth: []
  26695. summary: 查询履约模板
  26696. tags:
  26697. - 仓单贸易v2
  26698. /WrTrade2/QuerySiteColumnDetail:
  26699. get:
  26700. parameters:
  26701. - description: 页码
  26702. in: query
  26703. name: page
  26704. type: integer
  26705. - description: 每页条数
  26706. in: query
  26707. name: pagesize
  26708. type: integer
  26709. - description: 所属栏目id
  26710. in: query
  26711. name: columnid
  26712. type: integer
  26713. produces:
  26714. - application/json
  26715. responses:
  26716. "200":
  26717. description: OK
  26718. schema:
  26719. items:
  26720. $ref: '#/definitions/models.WrSiteColumnDetail'
  26721. type: array
  26722. "500":
  26723. description: Internal Server Error
  26724. schema:
  26725. $ref: '#/definitions/app.Response'
  26726. security:
  26727. - ApiKeyAuth: []
  26728. summary: 查询资讯
  26729. tags:
  26730. - 仓单贸易v2
  26731. /WrTrade2/QuerySpotGroupTradeSum:
  26732. get:
  26733. produces:
  26734. - application/json
  26735. responses:
  26736. "200":
  26737. description: OK
  26738. schema:
  26739. items:
  26740. $ref: '#/definitions/models.WrSpotGroupTradeSumEx'
  26741. type: array
  26742. "500":
  26743. description: Internal Server Error
  26744. schema:
  26745. $ref: '#/definitions/app.Response'
  26746. security:
  26747. - ApiKeyAuth: []
  26748. summary: 查询指数
  26749. tags:
  26750. - 仓单贸易v2
  26751. /WrTrade2/QuerySpotGroupTradeSumDetail:
  26752. get:
  26753. description: 查询的结果将会按日期 从小到大 排序
  26754. parameters:
  26755. - description: 现货商品id
  26756. in: query
  26757. name: deliverygoodsid
  26758. required: true
  26759. type: integer
  26760. - description: 查询最新多少条记录(如不填写此项, 默认查30条)
  26761. in: query
  26762. name: lastnum
  26763. type: integer
  26764. produces:
  26765. - application/json
  26766. responses:
  26767. "200":
  26768. description: OK
  26769. schema:
  26770. items:
  26771. $ref: '#/definitions/models.WrSpotGroupTradeSumDetail'
  26772. type: array
  26773. "500":
  26774. description: Internal Server Error
  26775. schema:
  26776. $ref: '#/definitions/app.Response'
  26777. security:
  26778. - ApiKeyAuth: []
  26779. summary: 查询指数详细(价格走势图)
  26780. tags:
  26781. - 仓单贸易v2
  26782. /WrTrade2/QueryWrAverageTradePrice:
  26783. get:
  26784. parameters:
  26785. - description: 页码
  26786. in: query
  26787. name: page
  26788. type: integer
  26789. - description: 每页条数
  26790. in: query
  26791. name: pagesize
  26792. type: integer
  26793. - description: 0:仓单预售 1:仓单贸易
  26794. in: query
  26795. name: haswr
  26796. required: true
  26797. type: integer
  26798. - description: 仓单要素id
  26799. in: query
  26800. name: wrfactortypeid
  26801. required: true
  26802. type: integer
  26803. produces:
  26804. - application/json
  26805. responses:
  26806. "200":
  26807. description: OK
  26808. schema:
  26809. items:
  26810. $ref: '#/definitions/models.WrAverageTradePrice'
  26811. type: array
  26812. "500":
  26813. description: Internal Server Error
  26814. schema:
  26815. $ref: '#/definitions/app.Response'
  26816. security:
  26817. - ApiKeyAuth: []
  26818. summary: 查询成交价(历史走势)
  26819. tags:
  26820. - 仓单贸易v2
  26821. /WrTrade2/QueryWrBrandAndYears:
  26822. get:
  26823. produces:
  26824. - application/json
  26825. responses:
  26826. "200":
  26827. description: OK
  26828. schema:
  26829. items:
  26830. $ref: '#/definitions/models.WrBrandAndYears'
  26831. type: array
  26832. "500":
  26833. description: Internal Server Error
  26834. schema:
  26835. $ref: '#/definitions/app.Response'
  26836. security:
  26837. - ApiKeyAuth: []
  26838. summary: 查询品牌和年份
  26839. tags:
  26840. - 仓单贸易v2
  26841. /WrTrade2/QueryWrBsGoodsInfo:
  26842. get:
  26843. description: 合约交易/买卖大厅/详情
  26844. parameters:
  26845. - description: 商品id
  26846. in: query
  26847. name: goodsid
  26848. required: true
  26849. type: integer
  26850. produces:
  26851. - application/json
  26852. responses:
  26853. "200":
  26854. description: OK
  26855. schema:
  26856. items:
  26857. $ref: '#/definitions/models.WrBsGoodsInfo'
  26858. type: array
  26859. "500":
  26860. description: Internal Server Error
  26861. schema:
  26862. $ref: '#/definitions/app.Response'
  26863. security:
  26864. - ApiKeyAuth: []
  26865. summary: 查询合约交易买卖大厅详情
  26866. tags:
  26867. - 仓单贸易v2
  26868. /WrTrade2/QueryWrBuybackDetail:
  26869. get:
  26870. parameters:
  26871. - description: 融资合同id
  26872. in: query
  26873. name: scfcontractid
  26874. type: integer
  26875. produces:
  26876. - application/json
  26877. responses:
  26878. "200":
  26879. description: OK
  26880. schema:
  26881. items:
  26882. $ref: '#/definitions/models.WrBuybackDetail'
  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/QueryWrClientAdSpaceConfig:
  26894. get:
  26895. produces:
  26896. - application/json
  26897. responses:
  26898. "200":
  26899. description: OK
  26900. schema:
  26901. items:
  26902. $ref: '#/definitions/models.WrClientAdSpaceConfig'
  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/QueryWrDeliveryAvalidHoldLB:
  26914. get:
  26915. parameters:
  26916. - description: 资金账号
  26917. in: query
  26918. name: accountid
  26919. required: true
  26920. type: integer
  26921. - description: 商品id
  26922. in: query
  26923. name: goodsid
  26924. required: true
  26925. type: integer
  26926. produces:
  26927. - application/json
  26928. responses:
  26929. "200":
  26930. description: OK
  26931. schema:
  26932. items:
  26933. $ref: '#/definitions/models.WrDeliveryAvalidHoldLB'
  26934. type: array
  26935. "500":
  26936. description: Internal Server Error
  26937. schema:
  26938. $ref: '#/definitions/app.Response'
  26939. security:
  26940. - ApiKeyAuth: []
  26941. summary: 查询合约交收可点选仓单
  26942. tags:
  26943. - 仓单贸易v2
  26944. /WrTrade2/QueryWrDeliveryDetail:
  26945. get:
  26946. parameters:
  26947. - description: 用户id
  26948. in: query
  26949. name: userid
  26950. required: true
  26951. type: integer
  26952. - description: 资金账号id
  26953. in: query
  26954. name: accountid
  26955. type: integer
  26956. - description: 开始交易日(yyyymmdd)
  26957. in: query
  26958. name: begindate
  26959. type: string
  26960. - description: 结束交易日(yyyymmdd)
  26961. in: query
  26962. name: enddate
  26963. type: string
  26964. produces:
  26965. - application/json
  26966. responses:
  26967. "200":
  26968. description: OK
  26969. schema:
  26970. items:
  26971. $ref: '#/definitions/models.WrDeliveryDetail'
  26972. type: array
  26973. "500":
  26974. description: Internal Server Error
  26975. schema:
  26976. $ref: '#/definitions/app.Response'
  26977. security:
  26978. - ApiKeyAuth: []
  26979. summary: 查询交收
  26980. tags:
  26981. - 仓单贸易v2
  26982. /WrTrade2/QueryWrDraftUserInfo:
  26983. get:
  26984. parameters:
  26985. - description: 用户ID
  26986. in: query
  26987. name: userid
  26988. required: true
  26989. type: integer
  26990. - description: 用户状态 1:正常 2:注销
  26991. in: query
  26992. name: userstatus
  26993. type: integer
  26994. produces:
  26995. - application/json
  26996. responses:
  26997. "200":
  26998. description: OK
  26999. schema:
  27000. items:
  27001. $ref: '#/definitions/models.WrDraftUserInfo'
  27002. type: array
  27003. "500":
  27004. description: Internal Server Error
  27005. schema:
  27006. $ref: '#/definitions/app.Response'
  27007. security:
  27008. - ApiKeyAuth: []
  27009. summary: 查询实名认证信息
  27010. tags:
  27011. - 仓单贸易v2
  27012. /WrTrade2/QueryWrFactorTypeInfo:
  27013. get:
  27014. parameters:
  27015. - description: 仓单要素id
  27016. in: query
  27017. name: wrfactortypeid
  27018. required: true
  27019. type: integer
  27020. produces:
  27021. - application/json
  27022. responses:
  27023. "200":
  27024. description: OK
  27025. schema:
  27026. items:
  27027. $ref: '#/definitions/models.WrFactorTypeInfo'
  27028. type: array
  27029. "500":
  27030. description: Internal Server Error
  27031. schema:
  27032. $ref: '#/definitions/app.Response'
  27033. security:
  27034. - ApiKeyAuth: []
  27035. summary: 查询仓单要素详细信息
  27036. tags:
  27037. - 仓单贸易v2
  27038. /WrTrade2/QueryWrFactorTypeInfoEx:
  27039. get:
  27040. parameters:
  27041. - description: 仓单要素id
  27042. in: query
  27043. name: wrfactortypeid
  27044. required: true
  27045. type: integer
  27046. produces:
  27047. - application/json
  27048. responses:
  27049. "200":
  27050. description: OK
  27051. schema:
  27052. items:
  27053. $ref: '#/definitions/models.WrTypeItem'
  27054. type: array
  27055. "500":
  27056. description: Internal Server Error
  27057. schema:
  27058. $ref: '#/definitions/app.Response'
  27059. security:
  27060. - ApiKeyAuth: []
  27061. summary: 查询仓单要素详细信息列表项
  27062. tags:
  27063. - 仓单贸易v2
  27064. /WrTrade2/QueryWrFinanceBuyApply:
  27065. get:
  27066. description: 页面 融资信息+ / 申请单
  27067. parameters:
  27068. - description: 用户id
  27069. in: query
  27070. name: userid
  27071. required: true
  27072. type: integer
  27073. produces:
  27074. - application/json
  27075. responses:
  27076. "200":
  27077. description: OK
  27078. schema:
  27079. items:
  27080. $ref: '#/definitions/models.WrFinanceBuyApply'
  27081. type: array
  27082. "500":
  27083. description: Internal Server Error
  27084. schema:
  27085. $ref: '#/definitions/app.Response'
  27086. security:
  27087. - ApiKeyAuth: []
  27088. summary: 查询融资购买申请
  27089. tags:
  27090. - 仓单贸易v2
  27091. /WrTrade2/QueryWrFriendApply:
  27092. get:
  27093. parameters:
  27094. - description: 用户id
  27095. in: query
  27096. name: userid
  27097. required: true
  27098. type: integer
  27099. produces:
  27100. - application/json
  27101. responses:
  27102. "200":
  27103. description: OK
  27104. schema:
  27105. items:
  27106. $ref: '#/definitions/models.WrFriendApply'
  27107. type: array
  27108. "500":
  27109. description: Internal Server Error
  27110. schema:
  27111. $ref: '#/definitions/app.Response'
  27112. security:
  27113. - ApiKeyAuth: []
  27114. summary: 查询好友申请记录
  27115. tags:
  27116. - 仓单贸易v2
  27117. /WrTrade2/QueryWrGoodsInfo:
  27118. get:
  27119. parameters:
  27120. - description: 仓单贸易市场id
  27121. in: query
  27122. name: marketid
  27123. type: integer
  27124. - description: 0:仓单预售 1:仓单贸易
  27125. in: query
  27126. name: haswr
  27127. required: true
  27128. type: integer
  27129. - description: 仓单要素id
  27130. in: query
  27131. name: wrfactortypeid
  27132. required: true
  27133. type: integer
  27134. - description: 履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)
  27135. in: query
  27136. name: tmplateid
  27137. type: integer
  27138. produces:
  27139. - application/json
  27140. responses:
  27141. "200":
  27142. description: OK
  27143. schema:
  27144. items:
  27145. $ref: '#/definitions/models.WrGoodsInfo'
  27146. type: array
  27147. "500":
  27148. description: Internal Server Error
  27149. schema:
  27150. $ref: '#/definitions/app.Response'
  27151. security:
  27152. - ApiKeyAuth: []
  27153. summary: 查询仓单商品信息
  27154. tags:
  27155. - 仓单贸易v2
  27156. /WrTrade2/QueryWrMarketTradeConfig:
  27157. get:
  27158. parameters:
  27159. - description: 市场id
  27160. in: query
  27161. name: marketid
  27162. type: integer
  27163. produces:
  27164. - application/json
  27165. responses:
  27166. "200":
  27167. description: OK
  27168. schema:
  27169. items:
  27170. $ref: '#/definitions/models.WrMarketTradeConfig'
  27171. type: array
  27172. "500":
  27173. description: Internal Server Error
  27174. schema:
  27175. $ref: '#/definitions/app.Response'
  27176. security:
  27177. - ApiKeyAuth: []
  27178. summary: 查询市场交易参数配置
  27179. tags:
  27180. - 仓单贸易v2
  27181. /WrTrade2/QueryWrOrderDetail:
  27182. get:
  27183. description: 页面 现货仓单 | 预售仓单 -> 委托单
  27184. parameters:
  27185. - description: 页码
  27186. in: query
  27187. name: page
  27188. type: integer
  27189. - description: 每页条数
  27190. in: query
  27191. name: pagesize
  27192. type: integer
  27193. - description: 用户id
  27194. in: query
  27195. name: userid
  27196. required: true
  27197. type: integer
  27198. - description: 仓单贸易市场id
  27199. in: query
  27200. name: marketid
  27201. type: integer
  27202. - description: 0:仓单预售 1:仓单贸易
  27203. in: query
  27204. name: haswr
  27205. required: true
  27206. type: integer
  27207. - description: 是否仅查可撤单据 1:可撤 注:此参数仅对当前记录有效, 且不含47模式市场
  27208. in: query
  27209. name: bcancel
  27210. type: integer
  27211. - description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  27212. in: query
  27213. name: wrtradetype
  27214. type: integer
  27215. - description: 开始交易日(yyyymmdd)
  27216. in: query
  27217. name: begindate
  27218. type: string
  27219. - description: 结束交易日(yyyymmdd)
  27220. in: query
  27221. name: enddate
  27222. type: string
  27223. produces:
  27224. - application/json
  27225. responses:
  27226. "200":
  27227. description: OK
  27228. schema:
  27229. items:
  27230. $ref: '#/definitions/models.WrOrderDetail'
  27231. type: array
  27232. "500":
  27233. description: Internal Server Error
  27234. schema:
  27235. $ref: '#/definitions/app.Response'
  27236. security:
  27237. - ApiKeyAuth: []
  27238. summary: 查询仓单委托单
  27239. tags:
  27240. - 仓单贸易v2
  27241. /WrTrade2/QueryWrOutInApply:
  27242. get:
  27243. parameters:
  27244. - description: 页码
  27245. in: query
  27246. name: page
  27247. type: integer
  27248. - description: 每页条数
  27249. in: query
  27250. name: pagesize
  27251. type: integer
  27252. - description: 用户id
  27253. in: query
  27254. name: userid
  27255. required: true
  27256. type: integer
  27257. - description: 开始交易日(yyyymmdd)
  27258. in: query
  27259. name: begindate
  27260. type: string
  27261. - description: 结束交易日(yyyymmdd)
  27262. in: query
  27263. name: enddate
  27264. type: string
  27265. produces:
  27266. - application/json
  27267. responses:
  27268. "200":
  27269. description: OK
  27270. schema:
  27271. items:
  27272. $ref: '#/definitions/models.WrOutInApply'
  27273. type: array
  27274. "500":
  27275. description: Internal Server Error
  27276. schema:
  27277. $ref: '#/definitions/app.Response'
  27278. security:
  27279. - ApiKeyAuth: []
  27280. summary: 查询提货申请
  27281. tags:
  27282. - 仓单贸易v2
  27283. /WrTrade2/QueryWrPerformancePlanStep:
  27284. get:
  27285. parameters:
  27286. - description: 履约计划id(performanceplanid)
  27287. in: query
  27288. name: planid
  27289. required: true
  27290. type: integer
  27291. - description: 当前步骤id
  27292. in: query
  27293. name: curstepid
  27294. type: integer
  27295. produces:
  27296. - application/json
  27297. responses:
  27298. "200":
  27299. description: OK
  27300. schema:
  27301. items:
  27302. $ref: '#/definitions/models.WrPerformancePlanStep'
  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/QueryWrPerformanceStepType:
  27314. get:
  27315. produces:
  27316. - application/json
  27317. responses:
  27318. "200":
  27319. description: OK
  27320. schema:
  27321. items:
  27322. $ref: '#/definitions/models.WrPerformanceStepType'
  27323. type: array
  27324. "500":
  27325. description: Internal Server Error
  27326. schema:
  27327. $ref: '#/definitions/app.Response'
  27328. security:
  27329. - ApiKeyAuth: []
  27330. summary: 查询履约步骤枚举
  27331. tags:
  27332. - 仓单贸易v2
  27333. /WrTrade2/QueryWrPosition:
  27334. get:
  27335. description: 页面 现货仓单->现货汇总/库存汇总; 预售仓单->订单汇总
  27336. parameters:
  27337. - description: 用户id
  27338. in: query
  27339. name: userid
  27340. required: true
  27341. type: integer
  27342. - description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  27343. in: query
  27344. name: querytype
  27345. required: true
  27346. type: integer
  27347. - description: 0:仓单预售 1:仓单贸易
  27348. in: query
  27349. name: haswr
  27350. required: true
  27351. type: integer
  27352. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  27353. in: query
  27354. name: dgitemname
  27355. type: string
  27356. - description: 仓库id(筛选条件)
  27357. in: query
  27358. name: warehouseid
  27359. type: integer
  27360. - description: 品种id
  27361. in: query
  27362. name: deliverygoodsid
  27363. type: integer
  27364. - description: 品类id
  27365. in: query
  27366. name: wrstandardid
  27367. type: integer
  27368. produces:
  27369. - application/json
  27370. responses:
  27371. "200":
  27372. description: OK
  27373. schema:
  27374. items:
  27375. $ref: '#/definitions/models.WrPosition'
  27376. type: array
  27377. "500":
  27378. description: Internal Server Error
  27379. schema:
  27380. $ref: '#/definitions/app.Response'
  27381. security:
  27382. - ApiKeyAuth: []
  27383. summary: 查询现货(预售)仓单持仓
  27384. tags:
  27385. - 仓单贸易v2
  27386. /WrTrade2/QueryWrPreSaleInfo:
  27387. get:
  27388. parameters:
  27389. - description: 市场id
  27390. in: query
  27391. name: marketid
  27392. type: integer
  27393. - description: 预售状态(逗号隔开,如1,2,3) 1:未开始 2:进行中 3:已结束 4:已关闭
  27394. in: query
  27395. name: presalestatus
  27396. type: string
  27397. - description: 摇号标识 - 0:未摇号 1:已摇号
  27398. in: query
  27399. name: lotteryflag
  27400. type: integer
  27401. - description: 最近多少条记录(按创建时间倒序)
  27402. in: query
  27403. name: lastnum
  27404. type: integer
  27405. produces:
  27406. - application/json
  27407. responses:
  27408. "200":
  27409. description: OK
  27410. schema:
  27411. items:
  27412. $ref: '#/definitions/models.WrPreSaleInfo'
  27413. type: array
  27414. "500":
  27415. description: Internal Server Error
  27416. schema:
  27417. $ref: '#/definitions/app.Response'
  27418. security:
  27419. - ApiKeyAuth: []
  27420. summary: 查询新品发布
  27421. tags:
  27422. - 仓单贸易v2
  27423. /WrTrade2/QueryWrReckonSpotGoodsTradeSum:
  27424. get:
  27425. parameters:
  27426. - description: 市场id
  27427. in: query
  27428. name: marketid
  27429. required: true
  27430. type: integer
  27431. - description: 现货商品id
  27432. in: query
  27433. name: wrstandardid
  27434. required: true
  27435. type: integer
  27436. - description: 开始交易日(yyyymmdd)
  27437. in: query
  27438. name: begindate
  27439. type: string
  27440. - description: 结束交易日(yyyymmdd)
  27441. in: query
  27442. name: enddate
  27443. type: string
  27444. - description: 最近多少条记录(按交易日倒序)
  27445. in: query
  27446. name: lastnum
  27447. type: integer
  27448. - description: 是否今日
  27449. in: query
  27450. name: istoday
  27451. type: boolean
  27452. produces:
  27453. - application/json
  27454. responses:
  27455. "200":
  27456. description: OK
  27457. schema:
  27458. items:
  27459. $ref: '#/definitions/models.WrReckonSpotGoodsTradeSum'
  27460. type: array
  27461. "500":
  27462. description: Internal Server Error
  27463. schema:
  27464. $ref: '#/definitions/app.Response'
  27465. security:
  27466. - ApiKeyAuth: []
  27467. summary: 查询价格走势
  27468. tags:
  27469. - 仓单贸易v2
  27470. /WrTrade2/QueryWrScfContract:
  27471. get:
  27472. parameters:
  27473. - description: 用户id
  27474. in: query
  27475. name: userid
  27476. required: true
  27477. type: integer
  27478. - description: 融资合同id
  27479. in: query
  27480. name: scfcontractid
  27481. type: integer
  27482. produces:
  27483. - application/json
  27484. responses:
  27485. "200":
  27486. description: OK
  27487. schema:
  27488. items:
  27489. $ref: '#/definitions/models.WrScfContract'
  27490. type: array
  27491. "500":
  27492. description: Internal Server Error
  27493. schema:
  27494. $ref: '#/definitions/app.Response'
  27495. security:
  27496. - ApiKeyAuth: []
  27497. summary: 查询仓单贸易融资合同
  27498. tags:
  27499. - 仓单贸易v2
  27500. /WrTrade2/QueryWrScfContractInterest:
  27501. get:
  27502. parameters:
  27503. - description: 融资合同id
  27504. in: query
  27505. name: scfcontractid
  27506. type: integer
  27507. produces:
  27508. - application/json
  27509. responses:
  27510. "200":
  27511. description: OK
  27512. schema:
  27513. items:
  27514. $ref: '#/definitions/models.WrScfContractInterest'
  27515. type: array
  27516. "500":
  27517. description: Internal Server Error
  27518. schema:
  27519. $ref: '#/definitions/app.Response'
  27520. security:
  27521. - ApiKeyAuth: []
  27522. summary: 查询融资合同费用明细
  27523. tags:
  27524. - 仓单贸易v2
  27525. /WrTrade2/QueryWrSearchUser:
  27526. get:
  27527. parameters:
  27528. - description: 用户名称(模糊匹配)
  27529. in: query
  27530. name: username
  27531. required: true
  27532. type: string
  27533. produces:
  27534. - application/json
  27535. responses:
  27536. "200":
  27537. description: OK
  27538. schema:
  27539. items:
  27540. $ref: '#/definitions/models.WrSearchUser'
  27541. type: array
  27542. "500":
  27543. description: Internal Server Error
  27544. schema:
  27545. $ref: '#/definitions/app.Response'
  27546. security:
  27547. - ApiKeyAuth: []
  27548. summary: 查询用户
  27549. tags:
  27550. - 仓单贸易v2
  27551. /WrTrade2/QueryWrSpecialMatchOrder:
  27552. get:
  27553. description: 页面 现货仓单 | 预售仓单 -> 指定成交
  27554. parameters:
  27555. - description: 页码
  27556. in: query
  27557. name: page
  27558. type: integer
  27559. - description: 每页条数
  27560. in: query
  27561. name: pagesize
  27562. type: integer
  27563. - description: 用户id
  27564. in: query
  27565. name: userid
  27566. required: true
  27567. type: integer
  27568. - description: 仓单贸易市场id
  27569. in: query
  27570. name: marketid
  27571. type: integer
  27572. - description: 0:仓单预售 1:仓单贸易
  27573. in: query
  27574. name: haswr
  27575. required: true
  27576. type: integer
  27577. - description: 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  27578. in: query
  27579. name: isspecified
  27580. type: integer
  27581. produces:
  27582. - application/json
  27583. responses:
  27584. "200":
  27585. description: OK
  27586. schema:
  27587. items:
  27588. $ref: '#/definitions/models.WrSpecialMatchOrder'
  27589. type: array
  27590. "500":
  27591. description: Internal Server Error
  27592. schema:
  27593. $ref: '#/definitions/app.Response'
  27594. security:
  27595. - ApiKeyAuth: []
  27596. summary: 查询指定成交
  27597. tags:
  27598. - 仓单贸易v2
  27599. /WrTrade2/QueryWrStandardFactoryItem:
  27600. get:
  27601. parameters:
  27602. - description: 品类id
  27603. in: query
  27604. name: wrstandardid
  27605. required: true
  27606. type: integer
  27607. produces:
  27608. - application/json
  27609. responses:
  27610. "200":
  27611. description: OK
  27612. schema:
  27613. items:
  27614. $ref: '#/definitions/models.WrStandardFactoryItemEx'
  27615. type: array
  27616. "500":
  27617. description: Internal Server Error
  27618. schema:
  27619. $ref: '#/definitions/app.Response'
  27620. security:
  27621. - ApiKeyAuth: []
  27622. summary: 查询品类要素定义项
  27623. tags:
  27624. - 仓单贸易v2
  27625. /WrTrade2/QueryWrTradeBargainApply:
  27626. get:
  27627. description: 1.页面 挂单/议价单, 只需传单号就行 <br>2.页面 议价->我的议价 参数 userid=登录userid <br>3.页面
  27628. 议价->对方议价 填写matchuserid=登录用户id
  27629. parameters:
  27630. - description: 议价人id(摘牌方)
  27631. in: query
  27632. name: userid
  27633. type: integer
  27634. - description: 挂牌方id(查对方议价时,填写此项)
  27635. in: query
  27636. name: matchuserid
  27637. type: integer
  27638. - description: 关联委托单id
  27639. in: query
  27640. name: wrtradeorderid
  27641. type: integer
  27642. - description: 0:仓单预售 1:仓单贸易
  27643. in: query
  27644. name: haswr
  27645. required: true
  27646. type: integer
  27647. - description: 开始交易日(yyyymmdd)
  27648. in: query
  27649. name: begindate
  27650. type: string
  27651. - description: 结束交易日(yyyymmdd)
  27652. in: query
  27653. name: enddate
  27654. type: string
  27655. produces:
  27656. - application/json
  27657. responses:
  27658. "200":
  27659. description: OK
  27660. schema:
  27661. items:
  27662. $ref: '#/definitions/models.WRTradeBargainApply'
  27663. type: array
  27664. "500":
  27665. description: Internal Server Error
  27666. schema:
  27667. $ref: '#/definitions/app.Response'
  27668. security:
  27669. - ApiKeyAuth: []
  27670. summary: 查询议价单
  27671. tags:
  27672. - 仓单贸易v2
  27673. /WrTrade2/QueryWrTradeDetail:
  27674. get:
  27675. parameters:
  27676. - description: 页码
  27677. in: query
  27678. name: page
  27679. type: integer
  27680. - description: 每页条数
  27681. in: query
  27682. name: pagesize
  27683. type: integer
  27684. - description: 用户id
  27685. in: query
  27686. name: userid
  27687. required: true
  27688. type: integer
  27689. - description: 仓单贸易市场id
  27690. in: query
  27691. name: marketid
  27692. type: integer
  27693. - description: 0:仓单预售 1:仓单贸易
  27694. in: query
  27695. name: haswr
  27696. required: true
  27697. type: integer
  27698. - description: 开始交易日(yyyymmdd)
  27699. in: query
  27700. name: begindate
  27701. type: string
  27702. - description: 结束交易日(yyyymmdd)
  27703. in: query
  27704. name: enddate
  27705. type: string
  27706. produces:
  27707. - application/json
  27708. responses:
  27709. "200":
  27710. description: OK
  27711. schema:
  27712. items:
  27713. $ref: '#/definitions/models.WrTradeDetail'
  27714. type: array
  27715. "500":
  27716. description: Internal Server Error
  27717. schema:
  27718. $ref: '#/definitions/app.Response'
  27719. security:
  27720. - ApiKeyAuth: []
  27721. summary: 查询仓单成交明细
  27722. tags:
  27723. - 仓单贸易v2
  27724. /WrTrade2/QueryWrTradeOrderDetail:
  27725. get:
  27726. parameters:
  27727. - description: 页码
  27728. in: query
  27729. name: page
  27730. type: integer
  27731. - description: 每页条数
  27732. in: query
  27733. name: pagesize
  27734. type: integer
  27735. - description: 商品id
  27736. in: query
  27737. name: goodsid
  27738. required: true
  27739. type: integer
  27740. - description: 买卖方向 0-买 1-卖
  27741. in: query
  27742. name: buyorsell
  27743. required: true
  27744. type: integer
  27745. produces:
  27746. - application/json
  27747. responses:
  27748. "200":
  27749. description: OK
  27750. schema:
  27751. items:
  27752. $ref: '#/definitions/models.WrTradeOrderDetail'
  27753. type: array
  27754. "500":
  27755. description: Internal Server Error
  27756. schema:
  27757. $ref: '#/definitions/app.Response'
  27758. security:
  27759. - ApiKeyAuth: []
  27760. summary: 查询合约交易买卖大厅
  27761. tags:
  27762. - 仓单贸易v2
  27763. /WrTrade2/QueryWrTradeQuote:
  27764. get:
  27765. parameters:
  27766. - description: 现货商品id
  27767. in: query
  27768. name: wrstandardid
  27769. required: true
  27770. type: integer
  27771. - description: 开始日期(yyyymmdd)
  27772. in: query
  27773. name: begindate
  27774. required: true
  27775. type: string
  27776. - description: 结束日期(yyyymmdd)
  27777. in: query
  27778. name: enddate
  27779. required: true
  27780. type: string
  27781. - description: 市场id
  27782. in: query
  27783. name: marketid
  27784. type: integer
  27785. produces:
  27786. - application/json
  27787. responses:
  27788. "200":
  27789. description: OK
  27790. schema:
  27791. items:
  27792. $ref: '#/definitions/models.Wrtradetradequote'
  27793. type: array
  27794. "500":
  27795. description: Internal Server Error
  27796. schema:
  27797. $ref: '#/definitions/app.Response'
  27798. security:
  27799. - ApiKeyAuth: []
  27800. summary: 查询仓单贸易成交行情
  27801. tags:
  27802. - 仓单贸易v2
  27803. /WrTrade2/QueryWrUserFriend:
  27804. get:
  27805. parameters:
  27806. - description: 用户id
  27807. in: query
  27808. name: userid
  27809. required: true
  27810. type: integer
  27811. - description: 新朋友userid, 如果填写了此项则查找新朋友
  27812. in: query
  27813. name: newuserid
  27814. type: integer
  27815. produces:
  27816. - application/json
  27817. responses:
  27818. "200":
  27819. description: OK
  27820. schema:
  27821. items:
  27822. $ref: '#/definitions/models.WrUserFriend'
  27823. type: array
  27824. "500":
  27825. description: Internal Server Error
  27826. schema:
  27827. $ref: '#/definitions/app.Response'
  27828. security:
  27829. - ApiKeyAuth: []
  27830. summary: 查询我的朋友
  27831. tags:
  27832. - 仓单贸易v2
  27833. /WrTrade2/QueryWrUserReceiptInfo:
  27834. get:
  27835. parameters:
  27836. - description: 用户id
  27837. in: query
  27838. name: userid
  27839. type: integer
  27840. - description: 发票类型 - 1:个人 2:企业
  27841. in: query
  27842. name: receipttype
  27843. type: integer
  27844. produces:
  27845. - application/json
  27846. responses:
  27847. "200":
  27848. description: OK
  27849. schema:
  27850. items:
  27851. $ref: '#/definitions/models.WrUserReceiptInfo'
  27852. type: array
  27853. "500":
  27854. description: Internal Server Error
  27855. schema:
  27856. $ref: '#/definitions/app.Response'
  27857. security:
  27858. - ApiKeyAuth: []
  27859. summary: 查询发票信息
  27860. tags:
  27861. - 仓单贸易v2
  27862. /WrTrade2/QueryXhcpSellBackApply:
  27863. get:
  27864. parameters:
  27865. - description: 用户ID
  27866. in: query
  27867. name: userid
  27868. required: true
  27869. type: integer
  27870. produces:
  27871. - application/json
  27872. responses:
  27873. "200":
  27874. description: OK
  27875. schema:
  27876. items:
  27877. $ref: '#/definitions/models.Xhcpsellbackapply'
  27878. type: array
  27879. "500":
  27880. description: Internal Server Error
  27881. schema:
  27882. $ref: '#/definitions/app.Response'
  27883. security:
  27884. - ApiKeyAuth: []
  27885. summary: 查询我的回收申请(新会陈皮)
  27886. tags:
  27887. - 仓单贸易v2
  27888. /ZJ/GetBankTip:
  27889. get:
  27890. produces:
  27891. - application/json
  27892. responses:
  27893. "200":
  27894. description: OK
  27895. schema:
  27896. type: string
  27897. "500":
  27898. description: Internal Server Error
  27899. schema:
  27900. $ref: '#/definitions/app.Response'
  27901. summary: 获取中江网银端出入金提示信息
  27902. tags:
  27903. - 中江
  27904. /ZJ/GetCusBankChannels:
  27905. get:
  27906. produces:
  27907. - application/json
  27908. responses:
  27909. "200":
  27910. description: OK
  27911. schema:
  27912. items:
  27913. type: string
  27914. type: array
  27915. "500":
  27916. description: Internal Server Error
  27917. schema:
  27918. $ref: '#/definitions/app.Response'
  27919. summary: 获取中江出入金渠道显示列表
  27920. tags:
  27921. - 中江
  27922. securityDefinitions:
  27923. ApiKeyAuth:
  27924. in: header
  27925. name: Authorization
  27926. type: apiKey
  27927. Group:
  27928. in: header
  27929. name: Group
  27930. type: apiKey
  27931. LoginID:
  27932. in: header
  27933. name: LoginID
  27934. type: apiKey
  27935. swagger: "2.0"